:root{--brand:#477560;--ink:#1c302a;--muted:#78837d;--bg:#f4f5f0;--line:#dfe4dc;--surface:#fff;--soft:#e9efdf}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:var(--brand);color:white;border-radius:9px;padding:11px 17px;font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}button.secondary{background:#edf0e8;color:var(--ink)}button.danger{background:#f8e6e0;color:#a34738}input,select,textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}textarea{resize:vertical;min-height:100px;line-height:1.5}label{display:grid;gap:7px;font-size:12px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:31px;letter-spacing:-1px;font-weight:600}h2{font-size:18px}small,.muted{color:var(--muted)}a{color:var(--brand)}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{padding:30px 20px;border-right:1px solid var(--line);background:#eef1e8;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.logo{font-size:28px;letter-spacing:-2px;font-weight:700;margin:0 0 4px}.logo em{font-style:normal;color:var(--brand)}.product{font-size:10px;letter-spacing:2px;margin-bottom:34px;color:var(--muted)}.nav{display:grid;gap:7px}.nav button{text-align:left;background:transparent;color:#6c7870;padding:12px;border-radius:8px;font-weight:500}.nav button.active{background:#dde6d5;color:var(--ink)}.sidebar-bottom{margin-top:auto;padding-top:25px;border-top:1px solid var(--line);font-size:11px;line-height:1.8}.sidebar-bottom button{margin-top:10px;width:100%}.topbar{height:79px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#fafbf8;gap:16px}.topbar strong{font-size:13px}.topbar select{width:auto;max-width:320px;padding:8px}.content{padding:35px 38px;max-width:1500px;margin:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--brand);text-transform:uppercase;font-weight:700;margin-bottom:11px}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.heading h1{margin-bottom:8px}.heading p{color:var(--muted);font-size:13px;margin:0;line-height:1.6}.badge{display:inline-block;border-radius:30px;background:var(--soft);padding:6px 10px;font-size:10px;font-weight:700;color:#51643c;white-space:nowrap}.badge.warn{background:#faedda;color:#997041}.badge.off{background:#f1e1de;color:#a06051}.card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px}.card p{color:var(--muted);line-height:1.65;font-size:13px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.wide{grid-column:1/-1}.hero{background:#e6edda;position:relative;border-radius:15px;padding:33px 36px;margin-bottom:23px;display:flex;justify-content:space-between;gap:25px;align-items:center;overflow:hidden}.hero h2{font-size:25px;max-width:450px;line-height:1.3;font-weight:500}.hero p{max-width:520px;line-height:1.7;font-size:13px;color:#657258}.hero .orb{width:125px;height:125px;flex-shrink:0;border-radius:50%;background:radial-gradient(circle at 30% 20%,#f7fbe7,#bdd19a);box-shadow:17px 12px 0 rgba(136,161,110,.15);display:grid;place-items:center;font-size:48px;color:#658350}.stat{font-size:32px;margin:15px 0 8px;letter-spacing:-1px}.progress{height:6px;background:#edf0e8;border-radius:4px;overflow:hidden;margin-top:16px}.progress i{display:block;background:var(--brand);height:100%}.form{display:grid;gap:19px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.notice{padding:15px 18px;border:1px solid #e4d5b4;background:#fcf7eb;color:#836a40;border-radius:10px;font-size:12px;line-height:1.7;margin-bottom:20px}.empty{padding:40px 20px;text-align:center;color:var(--muted);line-height:1.8}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:600;border-bottom:1px solid var(--line);padding:14px 10px}td{padding:17px 10px;border-bottom:1px solid #edf0e8}td button{padding:7px 11px;font-size:11px}.row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;line-height:1.6}.check input{width:auto;margin-top:3px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#e6edda;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:50px;max-width:480px;line-height:1.13}.auth-story p{line-height:1.8;color:#647558;max-width:400px}.auth-form{display:flex;align-items:center;justify-content:center;padding:35px}.auth-form .form{width:370px}.auth-form h1{font-size:28px}.auth-form .logo{margin-bottom:10px}.error{color:#b04b38;font-size:12px;line-height:1.6}.chat-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:20px}.chat{min-height:480px;display:flex;flex-direction:column;padding:0;overflow:hidden}.chat-head{padding:18px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.chat-log{flex:1;padding:23px;background:#f3f5ed;max-height:580px;overflow:auto;display:flex;flex-direction:column;gap:14px}.bubble{max-width:85%;padding:13px 17px;border-radius:12px;background:#fff;border:1px solid var(--line);line-height:1.6;font-size:13px;white-space:pre-wrap}.bubble.user{align-self:flex-end;background:#e0eaca;border-color:#d2ddbf}.chat-compose{padding:16px;display:flex;gap:10px}.chat-compose input{flex:1}.list-item{display:block;width:100%;color:var(--ink);background:transparent;border-bottom:1px solid var(--line);text-align:left;padding:15px}.list-item.selected{background:#edf1e6}.list-item small{display:block;margin-top:6px}.inbox{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px}.qr{max-width:250px;width:100%;display:block;margin:20px auto}.logo-preview{max-width:110px;max-height:60px;object-fit:contain}.loading{padding:50px;color:var(--muted)}#toast{position:fixed;bottom:25px;right:25px;max-width:430px;z-index:100;background:#20382c;color:#fff;padding:15px 22px;border-radius:10px;display:none;line-height:1.6}dialog{border:1px solid var(--line);border-radius:16px;padding:27px;max-width:550px;width:90%;color:var(--ink);box-shadow:0 20px 70px #0002}dialog::backdrop{background:#11241b55}dialog input{margin-bottom:15px}.step-num{width:27px;height:27px;background:#e8eddf;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.step{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.step strong{font-size:13px}.step p{font-size:12px;margin:4px 0 0}.link-box{word-break:break-all;background:#edf1e8;padding:15px;border-radius:10px;margin:16px 0;font-size:12px}.audit-row{font-size:12px;padding:13px 0;border-bottom:1px solid var(--line)}.audit-row small{display:block;margin-top:6px}@media(max-width:1000px){.shell{grid-template-columns:185px 1fr}.content{padding:25px}.topbar{padding:0 25px}.grid.three{grid-template-columns:1fr}.inbox{grid-template-columns:220px 1fr}.chat-layout{grid-template-columns:1fr}.auth-story{padding:40px}.auth-story h1{font-size:38px}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;padding:16px;border-right:0}.product,.sidebar-bottom{display:none}.logo{font-size:24px}.nav{display:flex;overflow:auto;margin-top:14px}.nav button{white-space:nowrap;padding:10px;font-size:12px}.topbar{height:auto;min-height:65px;padding:15px;flex-wrap:wrap}.content{padding:22px 16px}.grid,.form-grid{grid-template-columns:1fr}.heading{align-items:flex-start}h1{font-size:26px}.hero{padding:25px}.hero .orb{display:none}.auth{display:block}.auth-story{padding:27px;min-height:230px}.auth-story h1{font-size:29px;margin:25px 0}.auth-story p{display:none}.auth-form{padding:30px 20px}.inbox{display:block}.inbox>.card{margin-bottom:15px}.chat{min-height:400px}.card{padding:20px}.chat.card{padding:0}.heading>button{font-size:11px;padding:10px}.topbar select{max-width:220px}}
