:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:18px;color:#203e3a;background:#f6f8f5;font-synthesis:none;--accent:#0f766e}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:1px solid transparent;background:var(--accent);color:#fff;border-radius:10px;padding:11px 17px;cursor:pointer;line-height:1.35}button:hover{filter:brightness(.95)}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e1b56d;outline-offset:3px}.ghost{background:transparent;color:#42645e}.secondary{background:#e1efeb;color:#0b645c}.danger{background:#fff2ee;color:#a43d2f;border-color:#eed1c9}.active{background:#e0eeea;color:#075e57}header{display:flex;align-items:center;gap:26px;padding:25px 5%;border-bottom:1px solid #dce6e0;background:#fff}nav{display:flex;gap:8px;flex:1;justify-content:center}.brand{color:#174a43;font-weight:750;font-size:25px;white-space:nowrap;padding:0}.brand small{font-weight:400;font-size:12px;letter-spacing:2px;margin-top:4px}small{display:block;font-size:13px;color:#71827c;line-height:1.6}main{max-width:1180px;margin:auto;padding:30px 28px 60px}.context{display:flex;justify-content:space-between;font-size:14px;color:#6c8079;gap:16px}.hero{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:48px 0 30px}h1{font-size:clamp(28px,4vw,40px);font-weight:650;letter-spacing:-1px;line-height:1.35;margin:16px 0}h2{font-size:22px;margin:0 0 20px}h3{font-size:20px}h1,h2,h3,p,strong{overflow-wrap:anywhere}p{line-height:1.8}.eyebrow{color:#718177;font-size:14px;letter-spacing:2px}.hero p{color:#6b7e74}.stats{display:flex;background:#eaf1eb;border-radius:15px;padding:24px 30px;margin-bottom:30px}.stats>div{display:flex;flex-direction:column;gap:8px}.stats strong{font-size:38px;color:#0f766e;font-weight:500}.stats span{font-size:16px;color:#586e61}.panel{background:#fff;border:1px solid #e0e7e1;border-radius:16px;padding:26px;margin-bottom:22px;min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-title h2{margin:0}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:15px 0 25px}.wide{grid-column:span 2}label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#52675f;margin-bottom:18px;min-width:0}.filters label{margin:0}input,select,textarea{width:100%;min-width:0;max-width:100%;border:1px solid #cfdcd4;background:#fff;border-radius:8px;padding:11px;color:#253e37;font-size:16px}textarea{resize:vertical}.event-list{border-top:1px solid #e5ebe6}.event{display:flex;align-items:center;text-align:left;width:100%;background:#fff;color:#29483c;border-radius:0;border-bottom:1px solid #e5ebe6;padding:23px 2px;gap:24px}.date{font-variant-numeric:tabular-nums;font-size:19px;flex-shrink:0}.event-name{flex:1;min-width:0;overflow-wrap:anywhere}.event strong{font-size:20px;font-weight:600}.event b{font-size:20px;color:#0f766e;font-weight:500}.empty{text-align:center;padding:45px 16px;color:#718075;line-height:1.8}.detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:25px;align-items:start}.detail-grid>aside{min-width:0}.count{font-size:42px;color:#0f766e;margin:25px 0}.note,.advice p{white-space:pre-wrap;overflow-wrap:anywhere}.note{padding:20px;background:#f6f8f4;border-radius:10px;min-height:90px}.actions{display:flex;gap:10px;flex-wrap:wrap}.calculation{font-size:13px;color:#7a8a80;border-top:1px solid #e2e9e3;margin-top:30px;padding-top:20px}.muted{font-size:14px;color:#738276}.advice{background:#eef6f1;padding:18px;margin-top:20px;border-radius:10px;font-size:16px}.advice strong{font-size:13px;color:#0f766e}.audit{max-height:350px;overflow:auto;padding:0;list-style:none}.audit li{border-left:3px solid #c5dfd6;padding:4px 16px;margin:20px 0;font-size:16px}.audit p{margin:6px 0}.category{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;border-top:1px solid #e5ece6;overflow-wrap:anywhere}.category>div{min-width:0}.delete-box{padding:18px;background:#fff7f2;margin-top:25px;border-radius:10px;font-size:15px}.error,.warning,.success{padding:13px 18px;border-radius:9px;font-size:15px;overflow-wrap:anywhere}.error{background:#fff0ec;color:#9c3525}.warning{background:#fff5dc;color:#7c6425}.success{background:#e6f3eb;color:#24684d}footer{text-align:center;border-top:1px solid #e0e7df;padding:24px;font-size:12px;color:#77877b}.auth{max-width:540px;padding-top:65px}.auth h1{font-size:42px}.auth form{margin:30px 0}@media(max-width:760px){header{padding:18px;flex-wrap:wrap;gap:14px}.brand{flex:1;text-align:left}nav{order:3;flex-basis:100%;justify-content:space-between;gap:2px}nav button{padding:10px;font-size:15px}main{padding:23px 16px 40px}.hero{padding-top:30px;align-items:flex-start;flex-direction:column}.stats{padding:20px}.stats strong{font-size:32px}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:20px 16px}.detail-grid{grid-template-columns:minmax(0,1fr);gap:0}.event{gap:12px;flex-wrap:wrap}.date{font-size:15px}.event b{font-size:18px;margin-left:auto}.event-name{flex-basis:45%}.event strong{font-size:18px}.context{font-size:12px;flex-wrap:wrap}.count{font-size:34px}.auth{padding-top:35px}.category{align-items:flex-start}.category .actions{gap:5px}.category button{font-size:14px;padding:8px}.section-title h1{font-size:28px}}
