:root{--ink:#172c33;--muted:#71838a;--teal:#087f6a;--line:#e2e9e8;--surface:#f4f7f6;--dark:#143c37}*{box-sizing:border-box}body{margin:0;font:15px/1.65 "Segoe UI","Microsoft JhengHei",sans-serif;color:var(--ink);background:var(--surface)}[hidden]{display:none!important}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:9px 16px;font-weight:600}button:hover{border-color:#86b4a7}button:disabled{opacity:.5;cursor:wait}input,textarea{width:100%;padding:11px 13px;border:1px solid #d8e2df;border-radius:8px;background:#fff;outline:none}input:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0b8c7110}label{display:block;font-size:13px;font-weight:600;margin:17px 0}label input,label textarea{display:block;margin-top:7px}textarea{min-height:105px;resize:vertical}a{color:var(--teal)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.7px;line-height:1.4;margin-bottom:8px}h2{font-size:23px;margin-bottom:8px}h3{font-size:17px;margin-bottom:6px}.muted{color:var(--muted)}.eyebrow{color:var(--teal);font-size:12px;font-weight:700;letter-spacing:1px;margin-bottom:12px}.primary{background:var(--teal);border-color:var(--teal);color:white}.primary:hover{background:#066957}.wide{width:100%;margin-top:10px;display:flex;justify-content:space-between}.error{color:#b24639;font-size:13px;white-space:pre-line;margin-top:15px}.brand-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#22b58b;color:white;font-size:25px;font-weight:800;line-height:1}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1440px;margin:auto}.login-brand{background:var(--dark);color:#fff;padding:13vh 10%;position:relative;overflow:hidden}.login-brand:after{content:"";position:absolute;width:450px;height:450px;border:70px solid #2b665433;border-radius:50%;right:-280px;bottom:-120px;pointer-events:none}.login-brand>span{display:inline-block;margin:24px 0 35px;color:#94b9ad;font-size:11px;letter-spacing:2px}.login-brand h1{font-size:44px;line-height:1.5}.login-brand p{color:#adc7be;margin-top:20px}.login-note{margin-top:95px;color:#b7d1c7;font-size:12px}.pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#35b88a;box-shadow:0 0 0 4px #35b88a18;margin-right:10px}.login-card{align-self:center;max-width:420px;width:80%;margin:60px auto}.login-card form{margin-top:30px}.setup-help{font-size:12px;margin-top:35px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}.setup-help p{margin:12px 0}.setup-help code{display:block;background:#e8efec;padding:10px;border-radius:6px;word-break:break-all}.app{display:flex;min-height:100vh}.sidebar{width:246px;flex-shrink:0;background:var(--dark);color:#d7e6de;display:flex;flex-direction:column;padding:30px 18px;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;font-size:19px;font-weight:700;padding:0 10px}.brand small{display:block;font-size:9px;letter-spacing:1.2px;color:#95b9ab;font-weight:400;margin-top:2px}.nav-label{font-size:10px;color:#8eafa0;letter-spacing:1px;margin:45px 18px 13px}nav button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:transparent;border:0;color:#b9d0c5;padding:13px 18px;margin:5px 0;font-size:14px;font-weight:400}nav button span{font-size:19px}nav button.active{background:#2a5c50;color:#fff;font-weight:700}nav b{margin-left:auto;background:#f7bd79;color:#694715;padding:0 7px;border-radius:20px;font-size:11px}nav b:empty{display:none}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.system-mark{display:flex;align-items:center;font-size:12px}.system-mark small{display:block;color:#91b0a2;font-size:10px}.logout{border:0;background:none;color:#a3c2b4;font-size:12px;padding:20px 0 0}main{margin-left:246px;width:calc(100% - 246px)}.topbar{height:82px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:13px}.breadcrumb{color:#899a9a}.slash{color:#b0bdb9;margin:0 13px}.top-right{display:flex;align-items:center;gap:20px}.mode-label{font-size:11px;color:#54776a}.avatar{display:grid;place-items:center;width:33px;height:33px;background:#e5efea;border-radius:50%;font-size:12px;color:#436a58}.content{max-width:1450px;margin:auto;padding:36px 38px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.heading p{font-size:13px;color:var(--muted);margin:0}.heading h1{font-size:27px}.pill{display:inline-block;border-radius:20px;font-size:11px;padding:4px 10px;background:#e4f3ed;color:#237258;font-weight:600}.pill.warn{background:#fff1dc;color:#9a6a28}.pill.gray{background:#edf0f0;color:#73847d}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.stat .label{font-size:12px;color:#73877f}.stat .number{font-size:34px;font-weight:650;line-height:1.5;margin-top:8px}.stat small{font-size:11px;color:#8d9d96}.grid-two{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.card-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1ee;padding:20px 24px}.card-head p{font-size:12px;color:var(--muted);margin:0}.card-body{padding:23px 24px}.check-row{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid #edf2ef}.check-row:last-child{border:0}.check-icon{background:#e7f4ed;color:#1c865e;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:12px;flex-shrink:0}.check-row p{font-size:12px;color:var(--muted);margin:3px 0 0}.check-row strong{font-size:13px}.status-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #eef2f0;font-size:13px}.status-row:last-child{border:0}.callout{padding:18px 20px;border-radius:10px;background:#edf5f0;color:#386951;font-size:13px;margin-bottom:22px}.callout.warn{background:#fff6e8;color:#846739}.empty{padding:50px 24px;text-align:center;color:var(--muted);font-size:13px}.empty-symbol{width:55px;height:55px;margin:0 auto 15px;background:#f0f5f2;color:#91ada0;border-radius:15px;display:grid;place-items:center;font-size:25px}.empty h3{color:#49645b;font-size:15px}.empty p{font-size:12px;max-width:330px;margin:auto}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.toolbar input{max-width:320px}.small{font-size:12px;padding:6px 12px}.conversation-layout{display:grid;grid-template-columns:310px 1fr;min-height:590px}.contact-list{border-right:1px solid var(--line);max-height:690px;overflow:auto}.contact-item{padding:18px 21px;cursor:pointer;border-bottom:1px solid #edf1ee}.contact-item:hover,.contact-item.selected{background:#edf5f1}.contact-item h3{font-size:13px;margin-bottom:6px;display:flex;justify-content:space-between}.contact-item p{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.contact-item small{font-size:10px;color:#9bac9e}.chat-head{padding:17px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.chat-head h3{font-size:14px}.chat-head small{color:var(--muted);font-size:11px}.chat-log{padding:24px;background:#f7faf8;min-height:330px;max-height:480px;overflow:auto}.message{max-width:80%;margin-bottom:19px}.message.out{margin-left:auto;text-align:right}.bubble{padding:12px 15px;border-radius:11px;background:#fff;border:1px solid #e0e9e3;white-space:pre-wrap;text-align:left;font-size:13px;word-break:break-word}.out .bubble{background:#e2f0e8;border-color:#d4e8dc}.message small{font-size:10px;color:#98a69e}.compose{padding:18px 24px}.compose textarea{min-height:85px}.compose-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:15px}.compose-bottom small{font-size:10px;color:var(--muted)}.faq-item{padding:19px 24px;border-bottom:1px solid #edf1ee}.faq-item:last-child{border:0}.faq-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.faq-item p{font-size:12px;margin:9px 0;color:#698074;white-space:pre-wrap}.faq-item small{font-size:11px;color:#9aaba2}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.checkbox{display:flex;align-items:center;gap:8px;font-weight:400}.checkbox input{width:16px;height:16px;margin:0}.secret-note{font-size:11px;color:#8b9b92;margin-top:4px}.section-label{font-size:11px;color:#99a89f;letter-spacing:1px;margin:20px 0 4px}.code{font:12px/1.7 monospace;background:#f2f6f3;padding:12px;border-radius:7px;word-break:break-all}.connection-badge{display:inline-block;margin-top:5px;font-size:11px;color:#678978}.preview-result{margin-top:15px;background:#f2f7f4;padding:15px;border-radius:8px;font-size:13px;white-space:pre-wrap}#toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%);padding:12px 22px;background:#183f33;color:white;border-radius:9px;box-shadow:0 6px 24px #153d3320;z-index:10;font-size:13px}footer{font-size:11px;color:#9baa9f;margin-top:24px;text-align:right}@media(max-width:1050px){.sidebar{width:205px}main{margin-left:205px;width:calc(100% - 205px)}.content{padding:26px}.topbar{padding:0 26px}.stats{gap:10px}.stat{padding:17px}.grid-two{grid-template-columns:1fr}.conversation-layout{grid-template-columns:250px 1fr}}@media(max-width:720px){.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-card{width:86%;margin:80px auto}.sidebar{position:static;width:100%;padding:16px}.brand{font-size:16px}.brand small,.nav-label,.sidebar-bottom{display:none}.brand-icon{width:32px;height:32px;font-size:21px}nav{display:flex;margin-top:16px}nav button{font-size:12px;padding:9px;justify-content:center;gap:5px}nav button span{display:none}.app{display:block}main{margin:0;width:100%}.topbar{height:60px;padding:0 20px}.content{padding:23px 16px}.stats{grid-template-columns:repeat(2,1fr)}.heading{align-items:start}.heading h1{font-size:23px}.heading .pill{white-space:nowrap}.conversation-layout{display:block}.contact-list{max-height:200px;border-right:0;border-bottom:1px solid var(--line)}.form-row{grid-template-columns:1fr;gap:0}.card-head,.card-body{padding:18px}.chat-head,.compose{padding:15px}.compose-bottom{align-items:end}.compose-bottom button{white-space:nowrap}.mode-label{display:none}#toast{left:50%;width:max-content;max-width:90%}}
