:root{--ink:#26392d;--muted:#738076;--green:#36543c;--light:#eef2e8;--paper:#fafbf7;--line:#dfe5d9;--gold:#ccb979;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,textarea,select{outline-offset:3px}button{cursor:pointer}a{color:var(--green)}button,.btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;padding:10px 15px;text-decoration:none;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:600}button:hover,.btn:hover{background:var(--light)}button.primary,.btn.primary{background:var(--green);color:white;border-color:var(--green)}button:disabled{opacity:.5;cursor:not-allowed}.small{font-size:12px;padding:6px 10px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:bold;color:#7b8c6d}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.15;margin-bottom:12px;letter-spacing:-.8px}h2{font-size:19px;font-weight:600;margin-bottom:8px}h3{font-size:15px;margin-bottom:7px}p{margin-bottom:14px}aside{position:fixed;inset:0 auto 0 0;width:232px;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:4}aside img{width:182px;height:auto;margin-bottom:26px}nav{flex:1;overflow:auto}nav a{display:flex;align-items:center;gap:12px;text-decoration:none;color:#687466;margin:4px 0;padding:10px 12px;border-radius:6px;font-size:13px}nav a.active{background:var(--green);color:#fff}nav a:hover:not(.active){background:var(--light)}.nav-icon{width:20px;display:inline-block;text-align:center;font-size:17px}.nav-label{margin:24px 10px 7px;font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:#90998b}.brand-footer{font-size:11px;color:#8b9585;padding:18px 10px 0;border-top:1px solid var(--line)}.brand-footer b{color:var(--green);letter-spacing:1px;font-size:14px}.shell{margin-left:232px}.topbar{height:73px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center;background:#fff;gap:15px}.topbar .date{font-size:12px;color:var(--muted)}.user{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:var(--light);font-weight:bold}.workspace{max-width:1580px;margin:auto;padding:36px 38px 50px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-bottom:25px}.page-head p{max-width:730px;color:var(--muted);margin-bottom:0}.page-head .eyebrow{margin-bottom:10px}.badge{font-size:11px;display:inline-block;border-radius:20px;padding:4px 10px;background:#edf3e7;color:#4b653d;white-space:nowrap}.badge.amber{color:#8f6f2f;background:#f7efd7}.badge.gray{background:#f0f1ed;color:#758071}.notice{padding:13px 17px;border:1px solid #dce4d3;background:#f0f4e9;border-radius:8px;color:#63734f;font-size:12px;margin-bottom:22px;display:flex;gap:10px;align-items:center}.notice.warn{background:#fcf5e6;border-color:#ecdfbf;color:#896c36}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:22px}.metric .label{font-size:12px;color:var(--muted);margin-bottom:8px}.metric .value{font-size:32px;font-family:Georgia,serif;line-height:1.25;margin-bottom:9px}.metric .foot{font-size:11px;color:var(--muted)}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:24px}.panel{border:1px solid var(--line);background:white;border-radius:10px;padding:24px;margin-bottom:24px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-head h2{margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#8a9583;font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:600;background:#f7f9f3}th,td{padding:13px 12px;border-bottom:1px solid #edf0e8;vertical-align:middle}td .sub{font-size:11px;color:var(--muted);margin-top:3px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdf9}td.actions{white-space:nowrap}.empty{text-align:center;padding:40px;color:var(--muted)}.workcards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.workcard{display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:20px;background:#fff}.workcard:hover{border-color:#93aa7c;background:#f9fbf5}.workcard .icon{font-size:22px;color:#7d965f;margin-bottom:15px}.workcard p{font-size:12px;color:var(--muted);margin-bottom:14px}.workcard span{font-size:11px;color:var(--green);font-weight:bold}.activity{border-left:2px solid #d6e1cc;padding:0 0 18px 18px;margin-left:4px;position:relative}.activity:before{content:'';width:7px;height:7px;border-radius:50%;background:#97ad7c;position:absolute;left:-4.5px;top:6px}.activity b{font-size:12px}.activity p{font-size:11px;color:var(--muted);margin:4px 0 0}.progress-row{margin:20px 0}.progress-title{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.track{height:7px;background:#eef1e8;border-radius:8px}.fill{height:7px;background:#91a877;border-radius:8px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.toolbar input{min-width:220px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:block;font-size:12px;font-weight:600;margin-bottom:5px}input,select,textarea{width:100%;padding:10px 12px;background:white;border:1px solid #d4decb;border-radius:6px;color:var(--ink)}textarea{min-height:105px;resize:vertical}input[type=checkbox]{width:auto}.full{grid-column:1/-1}.hint{font-size:11px;color:var(--muted);margin:5px 0 0}.drop{border:1px dashed #a6b893;background:#f8faf4;border-radius:9px;padding:22px;margin:14px 0}.split{display:flex;align-items:center;justify-content:space-between;gap:15px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.document-text{white-space:pre-wrap;font-family:ui-monospace,monospace;font-size:12px;max-height:480px;overflow:auto;background:#f6f8f2;border-radius:6px;padding:18px;color:#52654a}.source-hit{padding:16px;border:1px solid var(--line);border-radius:7px;margin-top:12px}.source-hit p{margin:8px 0;font-size:13px}.source-hit small{color:var(--muted)}.integration{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);gap:15px}.integration:last-child{border:0}.integration p{font-size:12px;color:var(--muted);margin:4px 0 0}dialog{max-width:1000px;width:94vw;max-height:90vh;border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink);box-shadow:0 20px 80px #26392d30}dialog::backdrop{background:#15251bcc;backdrop-filter:blur(2px)}dialog .modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.row-editor input{min-width:130px;padding:8px}.row-editor th,.row-editor td{padding:7px}.row-editor td:first-child input{min-width:160px}#toast{position:fixed;bottom:25px;right:30px;max-width:500px;background:#284830;color:#fff;padding:13px 20px;border-radius:8px;z-index:20;display:none;box-shadow:0 8px 32px #26392d22}#toast.error{background:#8d3f34}.loading{padding:80px;text-align:center;color:var(--muted)}.login{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.login-story{background:#294932;color:white;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff14;border-radius:50%;right:-180px;bottom:-100px;box-shadow:0 0 0 65px #ffffff04,0 0 0 130px #ffffff04}.login-story h1{font-size:55px;max-width:530px;margin:25px 0}.login-story p{color:#c0d1b9;max-width:430px;line-height:1.8}.login-story .eyebrow{color:#bace9e}.login-story .powered{margin-top:60px;font-size:12px;color:#b6c7ad}.login-form{max-width:430px;width:100%;margin:auto;padding:45px}.login-form img{width:260px;max-width:100%;margin-bottom:40px}.login-form h2{font-family:Georgia,serif;font-size:28px}.login-form input{margin:5px 0 15px}.login-form button,.login-form .btn{width:100%;margin:7px 0}.login-form .divider{font-size:11px;text-align:center;margin:22px 0;color:#98a18e}.login-form .hint{line-height:1.7}.qr{width:150px;height:150px;border:1px solid var(--line)}.clock-value{font-family:Georgia,serif;font-size:36px}.mobile-menu{display:none}.error-box{padding:12px;background:#fbece7;color:#9a4a37;border-radius:6px;margin:10px 0;font-size:12px}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:400}.check input{margin-top:4px}.tabs-note{font-size:11px;color:var(--muted);margin-top:10px}@media(max-width:1100px){aside{width:205px;padding:25px 15px}.shell{margin-left:205px}.workspace{padding:25px}.topbar{padding:0 25px}.grid{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.workcards{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){aside{position:static;width:100%;padding:16px}aside img{width:160px;margin:0 0 10px}nav{display:flex;overflow-x:auto;white-space:nowrap}.nav-label,.brand-footer{display:none}nav a{padding:7px 10px}.shell{margin:0}.topbar{height:55px;padding:0 18px}.topbar .date{display:none}.workspace{padding:24px 16px}.page-head{display:block}.page-head .btn{margin-top:15px}h1{font-size:31px}.grid{gap:10px}.metric{padding:16px}.workcards,.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.panel{padding:17px}.login{grid-template-columns:1fr}.login-story{padding:35px;min-height:260px}.login-story h1{font-size:36px;margin:15px 0}.login-story .powered{margin-top:15px}.login-form{padding:30px}.login-form img{margin-bottom:20px}.user .badge{display:none}}

.columns > div{min-width:0}.metric,.workcard{min-width:0}
@media(max-width:720px){.metric .value{font-size:26px}.topbar{height:auto;min-height:66px;gap:10px;padding:9px 16px}.topbar .eyebrow{font-size:9px;letter-spacing:1px}.user{flex-shrink:0;font-size:11px}.user button{white-space:nowrap}.notice{align-items:flex-start}.panel-head{align-items:flex-start}.panel-head .btn{flex-shrink:0}}
