:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#284336;background:#f3f6f3;--green:#257759;--line:#e5ece6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{border:0;cursor:pointer;background:transparent;min-height:42px}input,select,textarea{min-height:43px;padding:11px 13px;border:1px solid #e1e9e3;background:#f8faf8;border-radius:10px;min-width:0;font-size:12px}textarea{resize:vertical;line-height:1.7}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #8fbca1;outline-offset:3px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}h1,h2,p{margin-top:0}.primary{background:var(--green);color:white;border-radius:10px;padding:11px 19px;font-size:12px;font-weight:600}.secondary{background:white;border:1px solid var(--line);border-radius:10px;padding:9px 17px;font-size:12px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#8ca392}.brand{display:grid;place-items:center;border-radius:15px;width:46px;height:46px;background:var(--green);color:white;font-size:23px}.login{width:min(390px,100%);padding:30px;margin:9vh auto}.login>.brand{width:65px;height:65px;font-size:30px;border-radius:22px;margin-bottom:25px}.login h1{font-size:27px;margin:14px 0}.login>p{font-size:13px;color:#8b9d90}.login form{display:grid;gap:17px;margin:30px 0 22px}label{display:flex;flex-direction:column;gap:9px;font-size:12px;margin:15px 0}.login label{margin:0}.login small{font-size:10px;color:#99a99d}.error{color:#b36758;font-size:12px;line-height:1.8}.error:empty{display:none}.sidebar{position:fixed;width:206px;inset:0 auto 0 0;border-right:1px solid var(--line);background:#f8faf8;display:flex;flex-direction:column;padding:29px 17px 18px}.sidebarBrand{display:flex;align-items:center;gap:12px;margin:0 8px 42px}.sidebarBrand strong{display:block;font-size:20px;margin-bottom:4px}.sidebarBrand small{font-size:10px;color:#94a89a;letter-spacing:2px}nav{display:flex;flex-direction:column;gap:9px}nav button{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 20px;text-align:left;border-radius:11px;font-size:13px;color:#879d8e}nav button[aria-current=page]{background:#e4f0e7;color:var(--green);font-weight:600}nav b{border-radius:15px;background:var(--green);color:white;min-width:18px;font-size:9px;padding:3px 5px;text-align:center}.sidebarBottom{margin-top:auto;display:flex;flex-direction:column;gap:16px;padding:18px 8px 0}.instanceLabel{font-size:10px;color:#9bad9f;display:flex;align-items:center;gap:7px}.instanceLabel i{width:6px;height:6px;background:#73a582;border-radius:50%}.sidebarBottom button{text-align:left;font-size:11px;color:#9a7a6e}.workspace{margin-left:206px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#ffffffa6;border-bottom:1px solid var(--line);font-size:11px;color:#8ea495}.topbar>div{display:flex;gap:11px;align-items:center}.topbar b{font-weight:400;background:#eaf3ed;border-radius:8px;color:#6d947b;font-size:10px;padding:5px 9px}.content{padding:30px 36px 42px;max-width:1500px;margin:auto}.pageHeading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.pageHeading h1{font-size:26px;margin:10px 0}.pageHeading p{font-size:12px;color:#92a699;margin:0;line-height:1.8}.pageHeading>.secondary{font-size:11px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:23px}.metric{background:white;border:1px solid var(--line);border-radius:17px;padding:21px}.metric>span{font-size:11px;color:#8da494}.metric>strong{display:block;font-size:29px;font-weight:600;margin:18px 0 11px;font-variant-numeric:tabular-nums}.metric>small{font-size:10px;color:#a3b1a7}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:25px}.card h2{font-size:14px;font-weight:600;margin-bottom:12px}.cardTitle p{font-size:10px;color:#a4b3a9;margin:0}.overviewGrid{display:grid;grid-template-columns:1.3fr 1fr;gap:21px}.chart{height:225px;display:flex;align-items:stretch;justify-content:space-around;gap:10px;margin-top:22px}.chartColumn{display:flex;align-items:center;flex-direction:column;justify-content:flex-end;flex:1;min-width:0;gap:9px}.chartColumn .barTrack{height:165px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;width:100%}.chartColumn .bar{background:#a9ccb4;border-radius:7px 7px 3px 3px;width:min(32px,80%)}.chartColumn:last-child .bar{background:#4e9870}.chartColumn small{font-size:9px;color:#a2b2a8}.chartColumn strong{font-size:10px;font-weight:400;color:#86a190;margin-bottom:8px}.attentionRow{display:flex;align-items:center;gap:15px;width:100%;text-align:left;background:#f1f7f2;border-radius:12px;padding:14px;margin:18px 0}.attentionRow>span:first-child{display:flex;flex:1;flex-direction:column;gap:7px}.attentionRow strong{font-size:12px;font-weight:500}.attentionRow small{font-size:9px;color:#98ac9e}.attentionRow b{font-size:23px;color:#599572;font-weight:500}.attentionRow>span:last-child{color:#a5b6a9}.statusList>div{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #eef3ef;font-size:11px}.statusList>div:last-child{border:0}.statusList small{color:#89a191;font-size:11px}.subtle{font-size:11px;color:#97aa9c;line-height:1.9;margin-bottom:0}.attention>.subtle{font-size:9px;margin-top:15px}.toolbar{display:flex;align-items:center;gap:11px;margin-bottom:18px}.toolbar input{flex:1;background:white;max-width:380px}.toolbar select{background:white;min-width:130px}.toolbar>p{flex:1;margin:0}.tableCard{padding:0;overflow:hidden}.tableScroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:660px;font-size:12px;text-align:left}th{font-weight:500;color:#8ea394;font-size:10px;background:#f8fbf8;padding:16px 20px;white-space:nowrap}td{padding:18px 20px;border-top:1px solid #eef3ef;vertical-align:middle;color:#768e7d;font-size:11px;line-height:1.7}td strong{display:block;font-size:12px;font-weight:500;color:#355b43}td small{display:block;font-size:10px;color:#a4b2a8;margin-top:4px}td .rowButton{font-size:11px;color:var(--green);padding:5px 8px;min-height:36px}td .rowButton.warn{color:#b17e6d}.tag{display:inline-block;font-size:9px;padding:4px 9px;border-radius:8px;background:#edf5ef;color:#6c987a;white-space:nowrap}.tag.warn{background:#faf1e9;color:#b08f65}.tag.bad{background:#f8edeb;color:#b38578}.pager{display:flex;align-items:center;justify-content:flex-end;gap:13px;padding:14px 20px;border-top:1px solid var(--line);font-size:10px;color:#9aac9f}.pager button{font-size:10px;border:1px solid var(--line);border-radius:8px;padding:5px 11px;min-height:33px}.pageFootnote{font-size:10px;color:#a2b2a7;line-height:1.9;margin:17px 3px}.emptyCell{text-align:center;padding:50px;color:#a8b8ac}.settingsForm{max-width:800px}.settingRow{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0 23px;border-bottom:1px solid #eef2ee}.settingRow+.settingRow{padding-top:25px}.settingRow h2{font-size:13px;font-weight:500}.settingRow p{font-size:11px;color:#9aada0;line-height:1.8;margin:0}.settingRow input[type=checkbox]{appearance:none;width:42px;min-width:42px;height:25px;min-height:25px;border:0;border-radius:20px;background:#dbe5dd;padding:0;position:relative;cursor:pointer}.settingRow input[type=checkbox]:before{content:'';position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 3px #0001;transition:transform .15s}.settingRow input:checked{background:var(--green)}.settingRow input:checked:before{transform:translateX(17px)}.numberField{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0;color:#95aa9b;font-size:11px}.numberField input{width:70px;background:white}.formBottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:23px}.formBottom small{font-size:10px;color:#a0b1a4}dialog{border:1px solid var(--line);border-radius:21px;width:min(430px,calc(100% - 28px));padding:25px;color:inherit;box-shadow:0 15px 70px #153c2826;max-height:calc(100dvh - 35px);overflow:auto}dialog::backdrop{background:#1a36264d;backdrop-filter:blur(4px)}.dialogTitle{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.dialogTitle h2{font-size:19px;margin:0}.iconButton{width:38px;height:38px;min-height:38px;color:#a0b0a4}.dialogActions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}dialog input,dialog textarea,dialog select{width:100%}.reportDialog{width:min(650px,calc(100% - 28px))}.reportMeta{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f5f9f5;padding:17px;border-radius:12px;margin-bottom:19px}.reportMeta div{font-size:12px;overflow-wrap:anywhere}.reportMeta small{display:block;font-size:10px;color:#a0b2a5;margin-bottom:7px}.reportDescription{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.sectionLabel{font-size:11px;color:#8fa595;margin:22px 0 11px}.evidence{padding:15px;background:#f7faf7;border:1px solid #e7eee8;border-radius:12px;margin-bottom:12px}.evidence strong{font-size:11px;font-weight:500}.evidence time{font-size:9px;color:#a4b5a8;margin-left:10px}.evidence p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:11px 0}.evidence a{font-size:11px;color:#5b9470}.reviewResult{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;font-size:12px;line-height:1.9;white-space:pre-wrap}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#264837;color:white;padding:13px 20px;border-radius:12px;font-size:12px;z-index:20;max-width:90%}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.overviewGrid{grid-template-columns:1fr}.content{padding:25px}.topbar{padding:0 25px}.sidebar{width:184px}.workspace{margin-left:184px}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.sidebarBrand{margin:0 0 18px}.sidebarBrand>.brand{width:38px;height:38px;font-size:20px}.sidebarBrand strong{font-size:17px}.sidebarBrand small{font-size:9px}.sidebar nav{flex-direction:row;overflow:auto;gap:6px}.sidebar nav button{flex-shrink:0;padding:0 14px;min-height:41px;font-size:11px}.sidebarBottom{position:absolute;right:16px;top:20px;padding:0;margin:0}.sidebarBottom .instanceLabel{display:none}.sidebarBottom button{min-height:30px;font-size:10px}.workspace{margin:0}.topbar{height:52px;padding:0 18px}.topbar>span{font-size:10px}.topbar b{font-size:9px}.content{padding:24px 16px}.pageHeading{margin-bottom:22px;gap:10px}.pageHeading h1{font-size:25px}.pageHeading p{font-size:10px}.eyebrow{font-size:9px}.metrics{gap:10px}.metric{padding:17px 15px;border-radius:15px}.metric>strong{font-size:25px;margin:13px 0 8px}.metric>span,.metric>small{font-size:10px}.card{padding:20px;border-radius:15px}.tableCard{padding:0}.toolbar{flex-wrap:wrap;gap:8px}.toolbar input{flex:1;min-width:130px}.toolbar select{min-width:110px;font-size:11px}.toolbar .primary{font-size:11px;padding:10px 15px}.overviewGrid{gap:15px}.chart{gap:5px}.formBottom{align-items:flex-start;flex-direction:column}.settingRow{gap:15px}.settingRow p{font-size:10px}.settingRow h2{font-size:12px}.reportMeta{gap:12px}.reportDialog{padding:21px}.dialogActions .secondary{font-size:10px}.settingsForm .formBottom .primary{width:100%}}

.textButton{color:#397e59;font-size:11px;padding:7px 10px;border-radius:8px}.textButton:hover{background:#edf5ef}.pill{display:inline-block;font-size:10px;padding:5px 9px;border-radius:20px;background:#edf6ef;color:#5b8e6b}.pill.warning{background:#faf0e6;color:#a17d58}.reportSummary{background:#f5f9f5;padding:16px;border-radius:12px;margin-bottom:20px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.reportSummary p:last-child{margin:0}.reportText{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:12px}.evidenceCard{padding:15px;border:1px solid #e5ece6;border-radius:12px;background:#f7faf7;margin-bottom:12px}.evidenceCard small{font-size:10px;color:#94a89b}.evidenceCard a{font-size:11px;color:#397e59;overflow-wrap:anywhere}#reportDetails h3{font-size:13px;margin:22px 0 12px}.empty{text-align:center;padding:45px;color:#a0b1a4}.statusList p{font-size:11px;padding:12px 0;border-bottom:1px solid #eef3ef;margin:0}

.assistWorkspace{display:grid;grid-template-columns:230px minmax(0,1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:white;min-height:550px}.assistWorkspace>aside{border-right:1px solid var(--line);max-height:700px;overflow:auto;padding:12px}.assistWorkspace>aside button{display:flex;flex-direction:column;text-align:left;gap:8px;width:100%;padding:15px 12px;border-radius:12px;margin-bottom:5px}.assistWorkspace>aside button.selected{background:#eaf3ec}.assistWorkspace>aside strong{font-size:13px}.assistWorkspace>aside small{font-size:11px;color:#8b9f92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.assistThread{display:flex;flex-direction:column;min-width:0}.assistThread>header{padding:18px 22px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600}#assistMessages{height:400px;overflow:auto;background:#f6f9f6;padding:20px;display:flex;flex-direction:column;gap:16px}.assistMessage{align-self:flex-start;background:white;border:1px solid #e3ece5;border-radius:13px;padding:12px 15px;max-width:88%;overflow-wrap:anywhere}.assistMessage.mine{align-self:flex-end;background:#e3f0e4}.assistMessage small{font-size:10px;color:#8a9e91}.assistMessage p{white-space:pre-wrap;font-size:13px;line-height:1.8;margin:8px 0 0}.assistMessage a{display:block;font-size:12px;color:#397e59;margin-top:9px}.assistMessage blockquote{font-size:11px;color:#8a9e91;margin:9px 0;border-left:2px solid #9fbea8;padding-left:9px}#assistForm{padding:16px;border-top:1px solid var(--line)}#assistDraft{width:100%}.assistSendRow{display:flex;align-items:center;gap:10px;margin-top:12px}.assistSendRow .primary{margin-left:auto}.fileLabel{cursor:pointer;font-size:12px;margin:0;white-space:nowrap}#assistFileName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}#assistError{font-size:12px;color:#a87965;padding:0 16px;margin:8px 0}#assignDialog .subtle{line-height:1.9}@media(max-width:700px){.assistWorkspace{grid-template-columns:1fr}.assistWorkspace>aside{display:flex;overflow:auto;max-height:140px;border-right:0;border-bottom:1px solid var(--line);gap:6px}.assistWorkspace>aside button{min-width:130px;max-width:180px}.assistSendRow{flex-wrap:wrap}#assistMessages{height:360px}.assistMessage{max-width:95%}}

#passwordDialog{width:min(420px,calc(100% - 28px))}#passwordForm label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:17px 0}#passwordForm input{width:100%;padding:12px;border:1px solid #dfe8e1;border-radius:11px;background:#f7faf7;font:inherit;color:inherit}#passwordForm>p{font-size:11px;line-height:1.8}#passwordFeedback{color:#a87965;white-space:pre-wrap}#savePassword{width:100%;margin-top:10px}

.resetTarget{background:#edf5ef;border-radius:12px;padding:14px;font-size:13px;overflow-wrap:anywhere}#resetPasswordWarning{line-height:1.9;font-size:12px}#resetPasswordForm input{width:100%}

.brandImage{object-fit:contain;background:#000!important;padding:0!important;flex-shrink:0}.aboutBrand.brandImage{display:block}
.assistWorkspace{grid-template-columns:220px 210px minmax(0,1fr)}.assistAccounts h2{font-size:14px;margin:8px 0 14px}.assistAccounts input{width:100%;margin-bottom:12px}.assistWorkspace>aside button{position:relative;padding-right:38px}.assistUnread{position:absolute;right:9px;top:13px;min-width:20px;height:20px;padding:2px 5px;border-radius:12px;background:#c25353;color:white;font-size:11px;text-align:center}.assistWorkspace>aside{min-width:0}.assistWorkspace>aside button strong{overflow-wrap:anywhere}@media(max-width:1100px){.assistWorkspace{grid-template-columns:175px 165px minmax(0,1fr)}}@media(max-width:700px){.assistWorkspace{grid-template-columns:1fr}.assistWorkspace>.assistAccounts{display:block;max-height:220px}.assistAccounts>div{display:flex;overflow:auto}.assistAccounts input{margin-bottom:6px}.assistAccounts h2{margin:4px 0 8px}}

.assistAccountRow{margin-bottom:8px;border-radius:12px;padding-bottom:4px}.assistAccountRow.pinned{background:#f1f6f2}.assistWorkspace>aside .assistAccountRow>button:first-child{margin-bottom:0}.assistWorkspace>aside .assistAccountRow>.assistPin{display:block;width:auto;padding:4px 10px;margin:0 8px 4px auto;font-size:11px;color:#397e59;border:0;background:transparent}.assistWorkspace>aside .assistAccountRow>.assistPin:disabled{opacity:.5;cursor:wait}@media(max-width:700px){.assistAccounts>div>.assistAccountRow{flex:0 0 155px;min-width:0}.assistWorkspace>aside .assistAccountRow>.assistPin{min-width:0}}

.assistWorkspace>aside .assistAccountRow>.assistPin{font-size:12px;font-weight:600;border:1px solid #b9d5c4;border-radius:8px;padding:5px 12px;background:#fff;min-height:30px}.assistSound{margin-left:auto;white-space:nowrap}

.assistThread>header{display:flex;align-items:center;gap:14px;justify-content:space-between}#assistPeerName{min-width:0;overflow-wrap:anywhere}.assistPeerPin{font-size:12px;white-space:nowrap;padding:7px 13px;flex-shrink:0}.assistPinnedLabel{color:#397e59!important;font-weight:600}

/* Combined assigned-account conversations. */
.assistWorkspace{grid-template-columns:260px minmax(0,1fr)}#assistContacts[hidden]{display:none}.assistWorkspace>.assistAccounts{display:block}@media(max-width:1100px){.assistWorkspace{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:700px){.assistWorkspace{grid-template-columns:1fr}.assistWorkspace>.assistAccounts{max-height:260px}.assistWorkspace>.assistAccounts button{max-width:none;width:100%}}

/* Compact header only in the chat workbench. */
.workspace:has(#assistPage:not([hidden]))>.topbar,.content:has(#assistPage:not([hidden]))>.pageHeading{display:none}.content:has(#assistPage:not([hidden])){padding-top:16px;padding-bottom:16px;max-width:none}#assistPage>.toolbar{margin-bottom:12px}.content:has(#assistPage:not([hidden])) #assistMessages{height:calc(100dvh - 285px);min-height:240px}.content:has(#assistPage:not([hidden])) .assistWorkspace>aside{max-height:calc(100dvh - 100px)}@media(max-width:700px){.content:has(#assistPage:not([hidden])) .assistWorkspace>.assistAccounts{max-height:220px}.content:has(#assistPage:not([hidden])) #assistMessages{height:50dvh}}

/* Fit the workbench to the available viewport; scroll only its lists. */
@media(min-width:701px){body:has(#assistPage:not([hidden])){height:100dvh;overflow:hidden}.workspace:has(#assistPage:not([hidden])){height:100dvh;min-height:0}.content:has(#assistPage:not([hidden])){height:100%;display:flex;flex-direction:column;min-height:0}#assistPage:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}#assistPage>.toolbar{flex-shrink:0;flex-wrap:wrap}.content:has(#assistPage:not([hidden])) .assistWorkspace{flex:1;min-height:0;overflow:hidden}.content:has(#assistPage:not([hidden])) .assistWorkspace>aside{max-height:none;min-height:0;overflow:auto}.content:has(#assistPage:not([hidden])) .assistThread{min-height:0;overflow:hidden}.content:has(#assistPage:not([hidden])) #assistMessages{height:auto;min-height:0;flex:1;overflow:auto}.assistThread>header,#assistForm,#assistOlder,#assistError{flex-shrink:0}#assistDraft{resize:none;max-height:120px}}
