:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182a26;background:#f4f7f6;font-size:16px;line-height:1.45;font-synthesis:none;--green:#162c29;--lime:#d9f279;--accent:#216d55;--muted:#64756e;--line:#dce5e0;--radius:20px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #95b84b;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #96baad;outline-offset:1px}a{color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.65rem,3vw,2.3rem);line-height:1.2;letter-spacing:-.04em;font-weight:650}h2{font-size:1.2rem;letter-spacing:-.02em}h3{font-size:1.05rem}.muted,.hint{color:var(--muted)}.hint{font-size:.875rem}.kicker{font-size:.875rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:10px}.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.logo-icon{width:39px;height:39px}.brand{display:flex;align-items:center;gap:11px;font-size:1.2rem;font-weight:700;letter-spacing:-.03em}.brand small{display:block;font-size:.75rem;font-weight:400;letter-spacing:0;color:#a9bdb5}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;padding:32px 20px;background:var(--green);color:white;display:flex;flex-direction:column;z-index:10}.sidebar .brand{padding:0 10px 35px}.nav{display:flex;flex-direction:column;gap:8px}.nav button{background:transparent;color:#bed0c8;text-align:left;display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:12px;font-size:.95rem;min-height:50px}.nav button.active{background:var(--lime);color:var(--green);font-weight:650}.nav button:hover:not(.active){background:#ffffff0d}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff20;padding:20px 10px 0}.avatar{background:#315147;color:#e7f1eb;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.userline{display:flex;gap:11px;align-items:center}.userline strong{font-size:.9rem;display:block;word-break:break-word}.userline small{color:#a9bdb5;font-size:.8rem}.main{margin-left:238px;padding:28px 40px 50px;max-width:1650px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:35px;font-size:.875rem;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:12px}.status{border:1px solid var(--line);background:#fff;border-radius:30px;padding:8px 12px;font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:7px}.status.warn{background:#fff4dd;border-color:#efcf91;color:#825600}.dot{width:6px;height:6px;background:#378366;border-radius:50%}.warn .dot{background:#b4760c}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#fff;color:var(--green);border:1px solid var(--line);flex-shrink:0}.heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px}.heading p{color:var(--muted);margin-top:8px}.heading-actions{display:flex;align-items:center;gap:10px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:12px;min-height:48px;padding:12px 18px;background:var(--green);color:#fff;font-weight:550;text-decoration:none;line-height:1.2}.button.secondary{background:white;border:1px solid var(--line);color:var(--green)}.button.lime{background:var(--lime);color:var(--green)}.button.danger{color:#a73a36;background:#fff0ed}.button.small{min-height:40px;font-size:.875rem;padding:9px 13px}.button:active{transform:translateY(1px)}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.segmented{display:flex;gap:4px;flex-wrap:wrap;background:#e9efeb;border-radius:12px;padding:4px}.segmented button{background:transparent;border-radius:9px;min-height:40px;padding:8px 15px;color:#62746b;font-size:.875rem}.segmented button.active{background:#fff;color:var(--green);box-shadow:0 1px 3px #172d2910;font-weight:600}.date-control{display:flex;align-items:center;gap:8px}.date-control input{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px;max-width:170px;color:var(--green);min-height:44px}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stats{margin-bottom:25px}.stat,.panel,.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.stat{padding:22px 24px;min-width:0}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.875rem;color:var(--muted);margin-bottom:14px}.stat strong{font-size:clamp(1.5rem,2.3vw,2rem);font-weight:600;letter-spacing:-.045em;white-space:nowrap}.stat p{font-size:.8rem;color:var(--muted);margin-top:7px}.stat.featured{background:var(--green);border-color:var(--green);color:#fff}.stat.featured .stat-label,.stat.featured p{color:#b9cdc3}.stat.featured strong{color:var(--lime)}.panel{padding:24px;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 15px;gap:12px}.empty{text-align:center;padding:32px 22px;color:var(--muted)}.empty .empty-icon{width:60px;height:60px;border-radius:18px;background:#eef4ef;color:#638579;display:grid;place-items:center;margin:0 auto 17px}.empty h3{color:var(--green);margin-bottom:8px}.empty p{max-width:430px;margin:0 auto 20px;font-size:.95rem}.empty .button{margin-top:3px}.welcome{background:#e8efe6;border:1px solid #d3e0cb;border-radius:var(--radius);padding:26px 28px;display:flex;gap:25px;justify-content:space-between;margin-bottom:25px}.welcome h2{font-size:1.35rem;margin:6px 0 9px}.welcome p{color:#566b60;max-width:540px}.welcome .button{align-self:center;flex-shrink:0}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:25px}.quick{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px;display:flex;align-items:center;gap:13px;text-align:left;color:var(--green);min-height:84px}.quick .tile{width:43px;height:43px;border-radius:13px;background:#edf4ed;color:#32775b;display:grid;place-items:center;flex-shrink:0}.quick:nth-child(2) .tile{background:#f3f3e3;color:#7d7d27}.quick:nth-child(3) .tile{background:#f8ebe5;color:#b46c44}.quick strong{display:block;font-size:1rem}.quick small{display:block;color:var(--muted);font-size:.8rem;margin-top:2px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #edf0ee}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.row-title{font-weight:550;word-break:break-word}.row-meta{font-size:.875rem;color:var(--muted);margin-top:4px;word-break:break-word}.row-left{display:flex;gap:12px;align-items:center;min-width:0}.row-right{display:flex;gap:9px;align-items:center;flex-shrink:0;text-align:right}.row-right strong{font-weight:600;white-space:nowrap}.positive{color:#237a57}.negative{color:#bd5040}.badge{display:inline-block;padding:4px 9px;border-radius:7px;background:#edf4ef;color:#36735b;font-size:.75rem;white-space:nowrap}.badge.amber{background:#fff1da;color:#9a681d}.badge.gray{background:#eef1ef;color:#6f7f75}.card{padding:22px;text-align:left;color:var(--green);width:100%;transition:transform .18s,border-color .18s}.card:hover{transform:translateY(-2px);border-color:#92b1a2}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}.machine-symbol{width:53px;height:53px;border-radius:15px;background:#f0f4e7;color:#688244;display:grid;place-items:center}.machine-symbol .icon{width:30px;height:30px}.card-name{font-size:1.15rem;font-weight:600;margin-bottom:3px}.card-foot{border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;gap:10px;font-size:.875rem}.card-foot strong{font-size:1.05rem}.card .muted{font-size:.875rem}.numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.numbers small{display:block;color:var(--muted);font-size:.8rem;margin-bottom:4px}.numbers strong{font-size:.95rem;font-weight:550}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.875rem}th{text-align:left;font-weight:500;color:var(--muted);padding:12px 14px;background:#f7f9f7;white-space:nowrap}td{padding:15px 14px;border-bottom:1px solid #edf0ee;white-space:nowrap}th.num,td.num{text-align:right}td:first-child{font-weight:550}.chart{display:block;width:100%;height:auto;max-height:220px}.chart text{font-size:14px;fill:#6a7c71}.note{border-radius:12px;background:#f1f5ed;color:#586e5c;padding:14px 17px;font-size:.875rem;margin:16px 0}.note.warn{background:#fff2de;color:#866026}.end-day{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#e8efe9;border-radius:15px;padding:20px;margin-top:20px}.end-day p{color:var(--muted);font-size:.875rem;margin-top:4px}.end-day .actions{display:flex;gap:8px;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:.875rem;font-weight:500}.form-grid .field{margin-bottom:0}.field input,.field select,.field textarea{width:100%;border:1px solid #cfdbd3;border-radius:10px;background:#fff;padding:12px;color:var(--green);font-size:16px;min-height:47px}.field select,.toolbar select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364766e' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:38px}.field textarea{resize:vertical;min-height:90px}.field small{font-size:.8rem;font-weight:400;color:var(--muted)}.check{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:.95rem}.check input{width:20px;height:20px;accent-color:var(--accent)}.field .multi{max-height:180px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:4px 12px}.form-section{margin:20px 0 14px;border-top:1px solid var(--line);padding-top:16px}.form-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:22px;margin-top:4px}.error{color:#a43932;background:#fff0ec;border-radius:10px;padding:12px;font-size:.9rem;margin-bottom:15px}.error:empty{display:none}dialog{border:0;border-radius:23px;padding:0;width:min(580px,calc(100% - 28px));max-height:90dvh;color:var(--green);box-shadow:0 25px 90px #10272140}dialog::backdrop{background:#10272170;backdrop-filter:blur(3px)}.modal-head{padding:22px 25px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-body{padding:23px 25px 25px}.modal-body p{margin-bottom:15px}.mobile-brand,.mobile-nav{display:none}.login-page{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:var(--green);color:#fff;padding:60px 10%;display:flex;flex-direction:column;justify-content:space-between}.login-story h1{font-size:clamp(2.4rem,4.4vw,4.4rem);max-width:620px;font-weight:500;line-height:1.08;letter-spacing:-.055em;margin:50px 0 24px}.login-story h1 span{color:var(--lime)}.login-story p{color:#b8cec3;max-width:430px;font-size:1.05rem}.login-illustration{margin-top:40px;max-width:460px}.login-story footer{font-size:.8rem;color:#94b3a3;margin-top:35px}.login-side{display:grid;place-items:center;padding:35px}.login-box{max-width:390px;width:100%}.login-box h2{font-size:1.8rem;letter-spacing:-.04em;margin-bottom:10px}.login-box>p{color:var(--muted);margin-bottom:30px}.login-box .button{width:100%;margin-top:7px}.login-box .brand{display:none}.login-foot{margin-top:25px;font-size:.875rem;color:var(--muted);text-align:center}.boot{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:1.6rem;font-weight:600;gap:12px}.boot span{font-size:.95rem;font-weight:400;color:var(--muted)}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#203e32;color:white;padding:14px 20px;border-radius:13px;max-width:calc(100% - 30px);box-shadow:0 10px 35px #162c2925;z-index:100;transition:all .2s;font-size:.95rem}#toast.show{opacity:1;transform:translate(-50%,0)}.hidden{display:none!important}.install-tip{margin-top:25px;padding:16px 20px;border:1px dashed #b9cbc0;border-radius:15px;font-size:.875rem;color:var(--muted)}.history-tools{display:flex;align-items:center;gap:8px}.history-tools .icon-button{width:34px;height:34px;background:transparent;border:0}.history-tools .icon{width:18px;height:18px}.queue-item{padding:15px;border:1px solid var(--line);border-radius:12px;margin:10px 0}.queue-item p{font-size:.875rem;margin:6px 0}.invite-link{overflow-wrap:anywhere;border:1px solid var(--line);background:#f4f7f4;padding:15px;border-radius:12px;font-size:.875rem}.month-labels{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);margin-top:10px}.back{display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--muted);padding:0;min-height:40px;font-size:.875rem;margin-bottom:12px}.audit-detail{max-width:400px;white-space:normal;word-break:break-word}main{animation:enter .22s ease}@keyframes enter{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1450px){.main{padding-left:50px;padding-right:50px}.grid.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:205px;padding:28px 14px}.main{margin-left:205px;padding:25px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.quick{padding:15px;gap:9px}.quick small{display:none}.welcome{padding:23px}.stat strong{font-size:1.8rem}}
@media(max-width:800px){.sidebar{display:none}.main{margin:0;padding:20px 18px 110px}.topbar{margin-bottom:25px}.topbar>.muted{display:none}.mobile-brand{display:flex}.mobile-brand .brand{font-size:1.1rem}.mobile-brand .logo-icon{width:33px;height:33px}.brand small{display:none}.topbar-right{gap:7px}.status{font-size:.75rem;padding:7px 9px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#ffffffed;border-top:1px solid var(--line);padding:8px 4px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(15px);justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;background:transparent;color:#738279;min-height:50px;padding:4px 2px;font-size:.75rem;max-width:90px;border-radius:12px}.mobile-nav button.active{color:var(--accent);background:#ebf3e9;font-weight:650}.mobile-nav .icon{width:22px;height:22px}.heading{align-items:flex-start;margin-bottom:20px}.heading p{font-size:.875rem}.heading-actions{flex-shrink:0}.heading-actions .button{padding:11px 13px;font-size:.875rem}.heading-actions .button .icon{width:18px}.toolbar{gap:12px}.segmented{width:100%;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.segmented button{flex:1;padding:8px 11px;min-width:max-content}.date-control{flex-wrap:wrap}.date-control input{max-width:155px}.grid.two{grid-template-columns:minmax(0,1fr)}.grid.three{grid-template-columns:minmax(0,1fr)}.grid.four{gap:11px}.stat{padding:17px 16px;border-radius:15px}.stat-label{font-size:.8rem;margin-bottom:10px}.stat-label .icon{width:18px;height:18px}.stat strong{font-size:1.55rem}.stat p{font-size:.75rem}.panel{padding:19px 17px;border-radius:17px;margin-bottom:17px}.panel-head{margin-bottom:18px}.welcome{padding:21px;display:block}.welcome .button{margin-top:20px}.welcome h2{font-size:1.25rem}.welcome p{font-size:.9rem}.quick-actions{gap:9px;margin-bottom:20px}.quick{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:14px 12px;border-radius:13px;min-height:105px}.quick .tile{width:36px;height:36px;border-radius:10px}.quick strong{font-size:.875rem}.end-day{flex-direction:column;align-items:stretch;padding:18px}.end-day .actions .button{flex:1;font-size:.875rem}.row-meta{font-size:.8rem}.row-right{gap:4px}.row-right strong{font-size:.9rem}.history-tools .icon-button{width:30px;height:32px}.row-left{gap:9px}.card{padding:20px}.login-page{display:block;background:var(--green);min-height:100dvh;padding:30px 16px}.login-story{display:none}.login-side{padding:15px 0}.login-box{background:#fff;padding:27px 23px;border-radius:23px;max-width:440px}.login-box .brand{display:flex;margin-bottom:38px}.login-box h2{font-size:1.6rem}.login-foot{font-size:.8rem}#toast{bottom:90px}.form-grid{gap:13px}.modal-head{padding:18px 20px}.modal-body{padding:20px}.form-actions .button{flex:1 1 120px;min-width:0}.grid.cards{grid-template-columns:1fr}h1{font-size:1.8rem}}
@media(max-width:380px){.main{padding-left:12px;padding-right:12px}.stat{padding:15px 12px}.stat strong{font-size:1.3rem}.topbar-right .status{max-width:130px}.status .dot{display:none}.heading-actions .button{font-size:.8rem;padding:10px}.form-grid{grid-template-columns:1fr}.row-left .machine-symbol{display:none}.quick{padding:13px 10px}.mobile-nav button{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.panel,.card{min-width:0}.login-story .kicker{color:#a9c1b5}

@media(max-width:800px){.panel-head{flex-wrap:wrap}.heading-actions{max-width:48%}.grid.cards{grid-template-columns:minmax(0,1fr)}}

.card-name,.panel-head h2,.heading h1{overflow-wrap:anywhere}.stat strong{white-space:normal;overflow-wrap:anywhere}
