:root{font-family:Inter,'Segoe UI',sans-serif;color:#263a3b;background:#f5f7f6;font-synthesis:none;--green:#137c70;--muted:#748582;--line:#e4eae7}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}button{border:0;background:none;color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;font-weight:600}h2{font-size:18px;font-weight:600;letter-spacing:-.35px}h3{font-size:15px}p{line-height:1.6}.muted,.help{color:var(--muted);font-size:13px;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--green)}.shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 18px;position:fixed;inset:0 auto 0 0;width:236px;display:flex;flex-direction:column;z-index:5}.brand{font-size:24px;font-weight:750;letter-spacing:4px;padding:0 16px}.brand small{display:block;letter-spacing:2.7px;font-size:8px;margin-top:7px;color:#85938f}.tenant{margin:34px 0 28px;padding:13px 12px;background:#f5f8f6;border:1px solid var(--line);border-radius:10px;display:flex;gap:10px;align-items:center;font-size:12px}.avatar{background:#e0eee7;color:var(--green);border-radius:8px;display:grid;place-items:center;width:34px;height:34px;font-weight:700;flex-shrink:0}.tenant strong{display:block;margin-bottom:3px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#8e9b97;margin:16px 14px 10px}.nav-button{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;text-align:left;border-radius:7px;margin:3px 0;color:#6c7c76;font-size:12px;font-weight:500}.nav-button.active{background:#eaf3ee;color:#16735f}.icon{width:18px;height:18px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.sidebar-bottom{margin-top:auto;padding:24px 12px 0}.local-label{font-size:10px;line-height:1.7;background:#f4f6f2;padding:12px;border-radius:7px;color:#657768}.main{grid-column:2}.topbar{height:77px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px}.breadcrumb{color:#95a19c}.breadcrumb strong{color:#556960;font-weight:500;margin-left:12px}.top-actions{display:flex;gap:20px;align-items:center}.dot{display:inline-block;width:6px;height:6px;background:#3c9f7b;border-radius:50%;margin-right:6px}.content{padding:34px 38px 50px;max-width:1600px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}.page-title h1{margin-bottom:8px}.page-title p{margin:0;font-size:13px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--green);color:#fff;padding:12px 17px;border-radius:7px;font-size:12px;font-weight:600;text-decoration:none;border:1px solid transparent;white-space:nowrap}.button.secondary{background:#fff;color:#3d5650;border-color:var(--line)}.button.danger{background:#a83a39}.button.small{padding:8px 12px;font-size:11px}.hero{background:#e9f1e9;border:1px solid #dae7da;border-radius:13px;padding:27px 30px;display:grid;grid-template-columns:1fr auto;gap:25px;position:relative;overflow:hidden;margin-bottom:25px}.hero h2{font-size:24px;line-height:1.4;max-width:500px;margin:10px 0}.hero p{max-width:520px;font-size:12px;color:#6b7f70}.hero-art{width:200px;position:relative;display:flex;align-items:center;justify-content:center}.orbit{border:1px solid #c8daca;border-radius:50%;width:150px;height:150px;display:grid;place-items:center;transform:rotate(-15deg)}.orbit:before,.orbit:after{content:'';position:absolute;border-radius:50%;border:1px solid #c8daca;width:110px;height:110px;transform:rotate(40deg)}.orbit:after{width:200px;height:70px}.spark{width:70px;height:70px;border-radius:20px;background:#fff;box-shadow:0 10px 25px #628b6120;display:grid;place-items:center;color:var(--green);font-size:38px;z-index:1;transform:rotate(15deg)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.stat-label{display:flex;justify-content:space-between;color:#6e8079;font-size:11px}.stat strong{font-size:30px;font-weight:600;display:block;margin:15px 0 8px;letter-spacing:-1px}.stat small{font-size:10px;color:#8b9891}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:24px;margin-bottom:24px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.card-head h2{margin:0}.badge{display:inline-block;font-size:10px;border-radius:20px;padding:5px 9px;background:#eef5ef;color:#52856b;white-space:nowrap}.badge.draft{color:#a67b36;background:#fcf5e8}.chart{height:190px;display:flex;align-items:stretch;gap:14px;padding:15px 5px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#edf1ee 43px,#edf1ee 44px)}.bar-group{flex:1;display:flex;gap:4px;align-items:flex-end;justify-content:center;position:relative}.bar{width:16px;background:#2b8873;border-radius:3px 3px 0 0;min-height:2px}.bar.light{background:#c8ddcc}.chart-labels{display:flex;justify-content:space-around;color:#89978f;font-size:10px;margin-top:12px}.legend{display:flex;gap:18px;font-size:10px;color:#839087}.legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#2b8873;margin-right:5px}.legend i.light{background:#c8ddcc}.assistant-portrait{width:57px;height:57px;background:#e8f2ec;color:#35846c;border-radius:15px;display:grid;place-items:center;font-size:28px;margin:0 auto 14px}.assistant-info{text-align:center}.assistant-info h3{margin-bottom:4px}.assistant-info p{font-size:11px;color:#89978f;margin-bottom:17px}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.detail-line{display:flex;justify-content:space-between;font-size:11px;padding:9px 0;color:#829089}.detail-line strong{font-weight:500;color:#3e5e50}.quick-action{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:14px 0;border-bottom:1px solid #edf1ed}.quick-action:last-child{border:0}.quick-action .avatar{background:#f0f5ee}.quick-action strong{font-size:12px;display:block;margin-bottom:4px}.quick-action small{color:#8a968d;font-size:10px}.quick-action .arrow{margin-left:auto;color:#9aaba1}.empty{text-align:center;padding:30px 18px;color:#8a9890;font-size:12px;line-height:1.8}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#8a9890;font-weight:500;font-size:10px;border-bottom:1px solid var(--line);padding:12px 10px}td{padding:15px 10px;border-bottom:1px solid #eef2ee;vertical-align:top}td strong{display:block;margin-bottom:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px}.field.full{grid-column:1/-1}.field input,.field textarea,.field select,.search{width:100%;border:1px solid #dce5df;border-radius:7px;padding:11px 12px;background:#fcfdfc;color:#304e42;min-width:0}.field textarea{min-height:105px;resize:vertical;line-height:1.6}.field label{font-weight:500}.form-actions{display:flex;gap:12px;margin-top:22px;align-items:center;flex-wrap:wrap}.form-error{color:#aa4036;font-size:12px;white-space:pre-wrap}.tabs{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.tab{border:1px solid var(--line);background:#fff;border-radius:7px;padding:11px 16px;font-size:12px}.tab.active{border-color:#33856d;background:#edf5ef;color:#21765c}.note{background:#f3f6ed;border:1px solid #e0e7d4;border-radius:8px;padding:14px 17px;font-size:12px;color:#6b7958;line-height:1.7;margin-bottom:20px}.doc-item{border:1px solid var(--line);padding:20px;border-radius:9px;margin-bottom:14px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.doc-item h3{margin-bottom:7px}.doc-item p{font-size:12px;color:#829087;margin-bottom:8px;white-space:pre-wrap}.doc-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.chat-messages{min-height:300px;max-height:480px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:12px 0 22px}.bubble{padding:14px 16px;border-radius:10px;background:#edf4ef;max-width:88%;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#177b68;color:#fff}.bubble small{display:block;white-space:normal;font-size:10px;margin-top:10px;opacity:.8}.chat-input{display:flex;gap:12px}.chat-input input{flex:1;min-width:0;padding:12px;border:1px solid var(--line);border-radius:7px}.toolbar{display:flex;gap:12px;margin-bottom:22px}.toolbar input{flex:1}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.code{background:#173a32;color:#c9e7d5;border-radius:9px;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-brand{background:#153f35;color:#e1eee3;padding:64px;display:flex;flex-direction:column;justify-content:space-between}.auth-brand .brand{padding:0;color:#fff}.auth-brand h1{font-size:48px;font-weight:400;line-height:1.2;max-width:500px;margin:45px 0 24px;letter-spacing:-2px}.auth-brand h1 em{font-family:Georgia,serif;color:#b8d7b3;font-weight:400}.auth-brand p{color:#adc2b5;max-width:390px;font-size:14px}.auth-brand .pill{border:1px solid #638571;border-radius:50px;display:inline-block;padding:8px 13px;font-size:10px;letter-spacing:1px;color:#c1d7c5}.auth-form{display:flex;align-items:center;justify-content:center;padding:45px}.auth-inner{max-width:370px;width:100%}.auth-inner h2{font-size:28px;margin-bottom:10px}.auth-inner .field{margin-top:20px}.auth-inner .button{width:100%;margin-top:25px}.auth-switch{display:block;margin:20px auto;font-size:12px;color:#6d8878}.auth-footer{font-size:10px;color:#98a79b;margin-top:38px;text-align:center}.boot{padding:15%;font-weight:bold;font-size:32px;letter-spacing:5px}.boot span{display:block;font-size:12px;letter-spacing:2px;margin-top:8px}.boot p{font-size:13px;font-weight:400;letter-spacing:0;margin-top:30px}#toast{position:fixed;bottom:28px;right:28px;background:#1d493a;color:#fff;padding:14px 20px;border-radius:9px;font-size:12px;z-index:50;display:none;max-width:420px}#toast.show{display:block}dialog{border:1px solid var(--line);border-radius:14px;padding:30px;width:min(700px,94vw);max-height:90vh;color:#294c3d}dialog::backdrop{background:#163a3270}.dialog-head{display:flex;justify-content:space-between;margin-bottom:24px}.dialog-head h2{margin:0}.menu-toggle{display:none}.checks{display:flex;gap:20px;flex-wrap:wrap;font-size:12px}.check{display:flex;gap:8px;align-items:center;font-size:12px;line-height:1.5}.check input{width:16px;height:16px;accent-color:var(--green)}.widget-preview{width:100%;height:580px;border:1px solid var(--line);border-radius:12px}.mobile-backdrop{display:none}
.workspace-grid>div,.split>div,.split>form{min-width:0}.card-head{flex-wrap:wrap}.sidebar{overflow-y:auto}
@media(min-width:1450px){.content{padding:42px 55px}.hero{padding:35px}.chart{height:225px}}
@media(max-width:1100px){.shell{grid-template-columns:210px 1fr}.sidebar{width:210px}.content{padding:28px 22px}.topbar{padding:0 22px}.workspace-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}.hero-art{width:130px}.split{grid-template-columns:1fr}.auth-brand{padding:40px}.auth-brand h1{font-size:40px}}
@media(max-width:720px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px}.shell.menu-open .sidebar{transform:translateX(0)}.menu-toggle{display:inline-block}.topbar{height:60px;padding:0 16px}.top-actions>span{display:none}.content{padding:25px 16px}.page-title{align-items:flex-start;flex-wrap:wrap}.page-title h1{font-size:25px}.stats{grid-template-columns:1fr 1fr}.hero{padding:22px;grid-template-columns:1fr}.hero h2{font-size:22px}.hero-art{display:none}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.card{padding:19px}.auth{grid-template-columns:1fr}.auth-brand{padding:30px;min-height:260px}.auth-brand h1{font-size:33px;margin:30px 0 16px}.auth-brand>p,.auth-brand footer{display:none}.auth-form{padding:35px 25px}.doc-item{flex-direction:column}.chat-input{gap:5px}.chat-input .button{padding:11px}.toolbar{flex-wrap:wrap}.bubble{max-width:96%}.top-actions{gap:9px}}
