:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#1e3036;background:#f4f6f7;font-synthesis:none;--green:#0b655c;--muted:#687a80;--line:#e0e7e9;--navy:#142d35}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--green)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:23px;letter-spacing:-.4px}h3{font-size:17px;margin-bottom:7px}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.6px;color:var(--muted);margin-bottom:10px}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:26px;font-weight:800;letter-spacing:1px}.brand img{width:42px;height:42px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:3px;font-weight:600}.primary,.secondary,.danger{border:0;border-radius:9px;padding:12px 17px;font-weight:650;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:12px}.primary{background:var(--green);color:white}.primary:hover{background:#084e47}.secondary{background:#edf3f3;color:#26494c;border:1px solid #dce7e6}.danger{background:#fff0ef;color:#a62c2c}.text-button{border:0;background:none;color:var(--green);padding:8px 0;text-align:left}.icon-button{background:none;border:0;font-size:28px;color:var(--muted)}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:650;margin-bottom:17px}input,select,textarea{border:1px solid #ccd7da;border-radius:8px;background:#fff;color:#1e3036;padding:11px 12px;min-width:0;width:100%}textarea{resize:vertical}.error{color:#a82727;font-size:14px;margin:10px 0}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:var(--navy);color:white;padding:52px 64px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story .eyebrow{color:#9bd1c6}.login-story h1{font-size:clamp(38px,4.5vw,68px);line-height:1.14;letter-spacing:-2px;margin:38px 0 25px}.login-story p{color:#b8cbd0}.story-foot{font-size:12px}.login-panel{display:flex;align-items:center;justify-content:center;padding:42px}.login-box{width:100%;max-width:390px}.login-box h2{font-size:30px;margin-bottom:12px}.login-box form{margin-top:30px}.login-box .primary{width:100%;justify-content:space-between}.shell{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{padding:0 8px 30px}.nav-caption{font-size:10px;letter-spacing:1.8px;color:#8c9a9f;font-weight:700;padding-left:12px;margin-top:25px}nav{display:grid;gap:7px}nav button{display:flex;gap:13px;align-items:center;width:100%;text-align:left;border:0;background:none;color:#657980;padding:13px 12px;border-radius:8px;font-size:14px}nav button.active{background:#e7f2ef;color:var(--green);font-weight:650}.sidebar-foot{margin-top:auto;padding:22px 10px 0;border-top:1px solid var(--line);display:grid;gap:6px;font-size:13px}.sidebar-foot span{color:var(--muted)}main{padding:35px 40px;min-width:0;max-width:1600px;width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:15px}.connection{font-size:12px;color:var(--green);background:#e6f1ec;padding:8px 12px;border-radius:30px;white-space:nowrap}.connection.offline{background:#fff0d9;color:#8b4d05}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.toolbar input{max-width:380px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.panel-head h2,.panel-head h3{margin-bottom:0}.object-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:17px}.object-card{border:1px solid var(--line);background:white;border-radius:12px;padding:24px;text-align:left;transition:box-shadow .15s,transform .15s;color:inherit}.object-card:hover{box-shadow:0 8px 25px #173f3b0d;transform:translateY(-2px)}.object-icon{width:42px;height:42px;border-radius:10px;background:#eef5f2;color:var(--green);display:grid;place-items:center;font-size:24px;margin-bottom:24px}.object-card h3{line-height:1.4}.object-card .meta{display:flex;justify-content:space-between;margin-top:25px;font-size:12px;color:var(--muted)}.badge{display:inline-block;font-size:11px;line-height:1.4;border-radius:5px;padding:4px 7px;background:#edf2f4;color:#5a6c74}.badge.green{background:#e3f2e9;color:#28633d}.badge.orange{background:#fff0d9;color:#8b4d05}.badge.red{background:#fde9e6;color:#a62c2c}.back{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.inline-form{display:flex;gap:15px;align-items:end;flex-wrap:wrap}.inline-form label{min-width:170px;margin:0}.inline-form button{margin-bottom:0}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{border:0;background:none;padding:14px 0;color:var(--muted);font-weight:600}.tabs button.active{color:var(--green);border-bottom:3px solid var(--green)}.group-heading{display:flex;gap:10px;align-items:center;padding:12px 0;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#75868c;font-weight:700}.service-row,.task{display:flex;gap:15px;align-items:flex-start;padding:18px 0;border-bottom:1px solid #edf1f2}.service-row:last-child,.task:last-child{border-bottom:0}.service-row .grow,.task .grow{flex:1;min-width:0}.service-row p,.task p{margin-bottom:6px}.row-actions{display:flex;gap:8px;flex-shrink:0}.row-actions button{font-size:12px;padding:8px 10px}.cycle-label{font-size:12px;color:var(--muted)}.task-check{width:26px;height:26px;border:2px solid #becfce;border-radius:7px;background:#fff;color:white;flex-shrink:0;margin-top:2px;padding:0;font-size:18px}.task.done .task-check{background:var(--green);border-color:var(--green)}.task.done .task-title{color:#72827f}.task.blocked .task-check{background:#fff0d9;color:#9a5b0c;border-color:#e2b775}.task-meta{font-size:12px;color:var(--muted)}.empty{text-align:center;padding:55px 20px;color:var(--muted)}.empty h2{color:#334c52}.statline{display:flex;gap:28px;margin:20px 0}.statline strong{display:block;font-size:25px;color:#1d4943}.statline span{font-size:12px;color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);padding:13px 10px;background:#f7f9f9}td{padding:15px 10px;border-bottom:1px solid var(--line)}.table-wrap{overflow:auto}#notice{padding:14px 18px;border-radius:9px;margin-bottom:22px;background:#e3f2e9;color:#205a3f;font-size:14px}#notice.bad{background:#fff0d9;color:#8b4d05}dialog{border:0;border-radius:15px;padding:28px;width:min(600px,calc(100% - 28px));max-height:92vh;box-shadow:0 25px 100px #0c252b40}dialog::backdrop{background:#102b355e}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px;gap:10px}.dialog-head h2{margin-bottom:0}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}fieldset{padding:0;border:0;margin:0 0 20px}legend{font-size:13px;font-weight:650;margin-bottom:11px}.weekdays{display:flex;gap:8px}.weekdays label{margin:0;flex:1}.weekdays input{position:absolute;opacity:0;width:1px;height:1px}.weekdays span{text-align:center;padding:11px 0;border:1px solid #ccd7da;border-radius:7px;font-size:12px;cursor:pointer}.weekdays input:checked+span{background:var(--green);border-color:var(--green);color:white}.weekdays input:focus-visible+span{outline:2px solid #006cdb;outline-offset:2px}.date-preview{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px;max-height:180px;overflow:auto}.date-preview span{font-size:11px;background:#eef4f3;border-radius:5px;padding:5px 8px}.invite-code{display:block;font-size:26px;letter-spacing:2px;text-align:center;background:#eef5f2;padding:25px 10px;border-radius:10px;margin:25px 0;overflow-wrap:anywhere}.app-card{max-width:620px}.app-card p{color:var(--muted)}.worker-header{background:#e6f1ec;border-radius:12px;padding:22px;margin-bottom:20px}.worker-header h2{margin-bottom:5px}.pending{background:#fff4db;padding:12px;border-radius:8px;font-size:13px}.audit-row{padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.audit-row p{margin:4px 0}.template-select{max-width:320px}.loading{padding:40px;color:var(--muted)}@media(max-width:1050px){main{padding:28px 24px}.sidebar{padding:26px 14px}.shell{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:760px){.login-layout{grid-template-columns:1fr}.login-story{min-height:auto;padding:28px}.login-story>div:nth-child(2),.story-foot{display:none}.login-panel{padding:40px 24px}.shell{display:block}.sidebar{height:auto;position:static;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0 0 15px}.nav-caption{display:none}nav{display:flex;overflow:auto;gap:7px}nav button{width:auto;white-space:nowrap;font-size:12px;padding:10px}nav button span{display:inline}.sidebar-foot{display:flex;align-items:center;gap:10px;padding:12px 0 0;margin-top:14px}.sidebar-foot span{margin-right:auto}.sidebar-foot button{font-size:12px}main{padding:25px 18px}.topbar h1{font-size:24px}.topbar .eyebrow{font-size:9px}.panel{padding:18px}.form-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-wrap:wrap}.toolbar input{max-width:none}.service-row,.task{gap:11px;flex-wrap:wrap}.row-actions{margin-left:auto}.inline-form{display:grid;grid-template-columns:1fr 1fr}.inline-form button{grid-column:1/-1}.object-grid{grid-template-columns:1fr}.invite-code{font-size:20px}.statline{gap:18px}.task .grow{min-width:180px}}
.inline-form input[type=checkbox]{width:18px;height:18px;flex:0 0 auto}.template-select{margin-bottom:16px}.audit-row pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.statistics-filter{display:grid;grid-template-columns:160px 160px minmax(180px,1fr) auto;gap:16px;align-items:end}.statistics-filter label{margin:0}.statistics-filter button{min-height:44px}.statistics-note{margin:16px 0 0}.statistics-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.statistics-card{background:white;border:1px solid var(--line);border-radius:13px;padding:22px;display:flex;flex-direction:column;gap:10px}.statistics-card p{font-size:13px;color:var(--muted);margin:0}.statistics-card strong{font-size:32px;letter-spacing:-1px;color:var(--green)}.statistics-card span{font-size:12px;color:var(--muted);line-height:1.5}.statistics-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:16px}.statistics-legend span:before{content:'';display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:7px}.statistics-done:before{background:#0b655c}.statistics-blocked:before{background:#d69a36}.statistics-open:before{background:#dce5e7}.statistics-chart svg{display:block;width:100%;height:auto;max-height:240px}.statistics-chart text{fill:#687a80;font-size:11px}.statistics-bar-done{fill:#0b655c}.statistics-bar-blocked{fill:#d69a36}.statistics-bar-open{fill:#dce5e7}.statistics-axis{stroke:#e0e7e9}.statistics-card strong,.statistics-filter, #statistics-objects td{font-variant-numeric:tabular-nums}#statistics-objects th,#statistics-objects td{white-space:nowrap}#statistics-completions td{vertical-align:top;min-width:130px}@media(max-width:1100px){.statistics-filter{grid-template-columns:1fr 1fr}.statistics-cards{grid-template-columns:1fr 1fr}}@media(max-width:500px){.statistics-cards{gap:10px}.statistics-card{padding:16px}.statistics-card strong{font-size:27px}.statistics-filter{grid-template-columns:1fr}.statistics-legend{gap:12px}.statistics-chart{overflow:auto}.statistics-chart svg{min-width:500px}}
.statistics-chart svg{overflow:visible}@media(max-width:500px){.statistics-chart svg[role=img]{min-width:0;height:150px}.statistics-chart svg[role=img] text{font-size:22px}}
