:root{--blue:#3e68df;--blue-soft:#edf3ff;--ink:#24344d;--muted:#8a96a8;--line:#e6ebf2;--bg:#f5f7fb;--radius:12px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"Microsoft Yahei",system-ui,sans-serif;font-size:13px;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{border:0;border-radius:8px;padding:9px 13px;background:var(--blue);color:#fff;font-weight:550;cursor:pointer;transition:background .15s}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:wait}button.secondary{background:#eef2f8;color:#61718b}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b7ccff;outline-offset:2px}input,select,textarea{max-width:100%;border:1px solid #dfe6ef;border-radius:8px;padding:9px 10px;background:#fff;color:var(--ink)}textarea{width:100%;min-height:85px;resize:vertical}label{display:block;font-size:12px;font-weight:500;color:#6e7d93;margin:14px 0 6px}a{color:var(--blue)}.muted,small{font-size:12px;color:var(--muted)}.brand{font-size:21px;font-weight:750;letter-spacing:.5px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;flex:none;color:#fff;background:var(--blue);font-size:17px}.shell{display:grid;grid-template-columns:184px minmax(0,1fr);min-height:100dvh;transition:grid-template-columns .18s}.shell>aside{position:sticky;top:0;height:100dvh;background:#fff;border-right:1px solid var(--line);padding:24px 12px;overflow-y:auto;scrollbar-width:thin}.shell>aside .brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:18px;margin:0 4px}.shell>aside>.muted{font-size:10px;margin:13px 6px 29px;white-space:nowrap}.shell nav button{display:flex;align-items:center;gap:10px;position:relative;width:100%;padding:12px;margin:5px 0;background:transparent;color:#8090a7;text-align:left;font-size:12px;font-weight:500;white-space:nowrap}.shell nav button.active{background:var(--blue-soft);color:var(--blue)}.nav-icon{width:19px;height:19px;flex:none}.nav-label{flex:1}.shell>main{padding:22px 22px 24px;min-width:0}.shell>main>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;min-height:53px}.shell>main>header h1{font-size:22px;font-weight:650;letter-spacing:-.5px;margin:0}.shell>main>header>div:last-child{display:flex;gap:9px;align-items:center;font-size:12px}.shell>main>header button{font-size:11px}.page-heading-title{display:flex;align-items:center;gap:10px}.page-heading>.muted{display:block;font-size:10px;margin:7px 0 0 42px}.shell .nav-toggle{display:grid;place-items:center;width:30px;height:30px;padding:6px;border:1px solid var(--line);background:#fff;color:#8190a5;border-radius:7px;flex:none}.nav-toggle svg{width:17px;height:17px}.shell.nav-collapsed{grid-template-columns:66px minmax(0,1fr)}.shell.nav-collapsed>aside{padding:24px 8px}.nav-collapsed .brand-name,.nav-collapsed>aside>.muted,.nav-collapsed .nav-label{display:none}.nav-collapsed>aside .brand{justify-content:center;margin:0 0 30px}.nav-collapsed nav button{justify-content:center;padding:12px 0}.nav-collapsed nav .notice-badge{position:absolute;right:0;top:0;margin:0;font-size:9px;min-width:15px;padding:0 4px;line-height:16px}
.login{width:min(420px,92vw);margin:12vh auto;padding:38px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 60px #23395809}.login input{display:block;width:100%;margin:12px 0}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.panel,.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px}.panel{margin-bottom:20px}.panel h3{font-size:15px;margin-top:0;font-weight:600}.card span{font-size:12px;color:var(--muted)}.card strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:12px;font-weight:650}.bar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:17px}.grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(320px,2fr);gap:18px}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:13px 11px;border-bottom:1px solid #edf1f6;white-space:nowrap}th{font-weight:500;font-size:11px;color:#8a96a9;background:#fafbfd}.badge{display:inline-block;padding:4px 7px;border-radius:5px;font-size:11px;color:#5476bc;background:#eef3fc}.listitem{padding:15px;border-bottom:1px solid var(--line);cursor:pointer}.listitem:hover{background:#f5f8fd}.messages{height:420px;overflow:auto;padding:15px;background:#f7f9fc;border-radius:9px;margin:14px 0;scrollbar-width:thin;overscroll-behavior:contain}.bubble{width:fit-content;max-width:86%;padding:11px 14px;border:1px solid #e7ecf3;background:#fff;border-radius:3px 12px 12px 12px;margin:0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.bubble.out{margin-left:auto;background:#edf3ff;border-color:#e0e9fa;border-radius:12px 3px 12px 12px}.bubble small{display:block;font-size:10px;margin-bottom:6px}.bubble .translation{border-top:1px solid #e2e9f4;padding-top:7px;margin-top:7px;color:#77849b;font-size:12px}.bubble audio{max-width:100%;width:240px}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.notice{border:1px solid #f2dfb8;background:#fff8e9;color:#9b7e47;border-radius:8px;padding:12px;font-size:12px;margin-bottom:14px}.empty{text-align:center;padding:52px 18px;font-size:12px;color:#9ba6b7}dialog{border:1px solid var(--line);border-radius:15px;padding:25px;width:min(620px,94vw);max-height:90dvh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#23334c66}dialog h2{font-size:19px;margin-top:0}dialog input,dialog select{width:100%}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#253754;color:#fff;border-radius:9px;padding:13px 20px;display:none;z-index:30;box-shadow:0 8px 30px #263a5c25}.notice-badge{display:inline-block;min-width:18px;padding:1px 5px;margin-left:7px;border-radius:10px;background:#e15e6e;color:#fff;text-align:center;font-size:10px;line-height:17px}.listitem>.notice-badge{float:right}
/* Shared taxonomy controls. */
.customer-taxonomy{border:1px solid var(--line);border-radius:9px;padding:14px;margin:18px 0}.customer-taxonomy legend{font-size:13px;font-weight:600;color:#5f7394;padding:0 6px}.taxonomy-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.taxonomy-fields>div{min-width:0}.customer-filter-panel{border:1px solid var(--line);background:#fafbfd;border-radius:8px;padding:12px;margin:14px 0}.customer-filter-panel summary{font-size:12px;font-weight:550;color:#708099;cursor:pointer}.customer-filter-panel summary .muted{font-size:10px;margin-left:5px}.customer-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 11px}.customer-filter-grid label{font-size:11px;margin:11px 0 5px}.customer-filter-grid select{width:100%;font-size:12px;padding:8px}.customer-quick-filters{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.customer-quick-filters button{font-size:10px;padding:5px 8px;border-radius:5px}.customer-quick-filters button.selected{background:var(--blue);color:#fff}.customer-filter-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:12px}.customer-filter-foot>span{color:#9ba6b8;font-size:10px;line-height:1.5}.customer-filter-foot button{font-size:10px;padding:5px 7px;white-space:nowrap}.customer-tags{display:flex;gap:4px;flex-wrap:wrap;max-width:250px;margin-top:6px;white-space:normal}.customer-tag{font-size:10px;padding:2px 5px;border-radius:4px;line-height:1.5;background:#f0f3f8;color:#8190a4}.tag-intention{background:#fff4e5;color:#b1884d}.tag-quality{background:#edf7f2;color:#619b82}.tag-next_action{background:#edf1fc;color:#7b8db7}.profile-section{border:0;border-bottom:1px solid #edf1f6;margin:0;padding:17px 0}.profile-section:last-child{border-bottom:0}.profile-section h4,.profile-section summary{font-size:12px;font-weight:600;color:#5e708b;margin:0 0 11px}.profile-section summary{cursor:pointer;list-style-position:inside;margin-bottom:0}.profile-section[open]>summary{margin-bottom:9px}.profile-hint{font-size:10px;color:#9ba6b7;line-height:1.7;margin:8px 0 0}.profile-section>label:first-of-type{margin-top:11px}
/* Internal messenger. */
.team-workspace{display:grid;grid-template-columns:265px minmax(0,1fr);height:calc(100dvh - 136px);min-height:560px;max-height:1000px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.team-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fcfdff;border-right:1px solid var(--line);overflow:hidden}.team-sidebar-title{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:22px 18px 15px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#a1adbd}.team-sidebar-title h2{font-size:17px;margin:5px 0 0;font-weight:600}.team-total{font-size:10px;color:#a0acbd;white-space:nowrap}.team-sidebar #team-search{width:calc(100% - 32px);margin:0 16px 13px;background:#f5f7fb;font-size:12px}.team-tabs{display:flex;gap:5px;padding:0 16px 12px;border-bottom:1px solid var(--line)}.team-tabs button{flex:1;background:transparent;font-size:11px;color:#8e9bb0;padding:7px}.team-tabs button.selected{color:var(--blue);background:var(--blue-soft)}.team-contacts{flex:1;min-height:0;overflow:auto;padding:7px;scrollbar-width:thin}.team-contact{display:flex;align-items:center;gap:10px;width:100%;padding:13px 10px;text-align:left;background:transparent;border:1px solid transparent;border-radius:9px;margin-bottom:4px;color:var(--ink)}.team-contact:hover{background:#f5f8fd}.team-contact.selected{background:var(--blue-soft);border-color:#e2eafb}.team-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:11px;background:#eaf0f9;color:#7a90b4;font-size:14px;font-weight:600}.group-avatar{background:#e9f0ff;color:#6084d2}.team-contact-info{flex:1;min-width:0}.team-contact-info strong{display:block;font-size:12px;font-weight:550;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.team-contact-info small{display:block;font-size:10px;margin-top:5px}.team-contact .notice-badge{flex:none;margin:0;font-size:9px}.team-sidebar-foot{font-size:10px;padding:15px 18px;color:#a6b0bf;border-top:1px solid var(--line)}.team-no-results{text-align:center;font-size:12px;padding:25px 12px;color:#9ca8b9}.team-thread{display:flex;flex-direction:column;min-width:0;min-height:0}.team-thread>header{display:flex;align-items:center;gap:11px;padding:18px 22px;border-bottom:1px solid var(--line);background:#fff}.team-thread>header h3{font-size:14px;margin:0;font-weight:600}.team-thread>header p{font-size:10px;color:#9ba8ba;margin:5px 0 0}.team-channel-label{font-size:10px;color:#93a2b7;background:#f5f7fb;border:1px solid var(--line);border-radius:5px;padding:4px 8px;margin-left:auto}.team-thread .messages{flex:1;min-height:0;height:auto;margin:0;border-radius:0;padding:22px;background:#f9fbfe}.team-thread .bubble{font-size:13px;max-width:85%}.team-composer{padding:14px 20px 17px;border-top:1px solid var(--line);background:#fff}.team-composer label{font-size:10px;color:#a3afbf;margin:0 0 8px}.team-composer textarea{border:0;padding:0;min-height:65px;max-height:150px}.team-composer textarea:focus{outline:none}.team-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.team-compose-bottom>span{font-size:10px;color:#a5afbe}.team-compose-bottom button{font-size:11px;padding:8px 14px}.team-compose-bottom button span{margin-left:8px}.team-empty,.customer-chat-empty{display:flex;flex:1;min-height:100%;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:22px;color:#a5b0c1}.team-empty>span,.customer-chat-empty>span{display:grid;place-items:center;width:51px;height:51px;border-radius:16px;background:#edf2fa;color:#93a5c4;font-size:23px}.team-empty h3,.customer-chat-empty h3{font-weight:500;font-size:14px;color:#8c9db6;margin:17px 0 7px}.team-empty p,.customer-chat-empty p{font-size:11px;margin:0;color:#a6b1c2}
/* Customer workspace: exactly three primary columns. */
.customer-workspace{display:grid;grid-template-columns:240px minmax(300px,1fr) 300px;height:calc(100dvh - 136px);min-height:560px;max-height:1100px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.customer-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fcfdff;border-right:1px solid var(--line);overflow:hidden}.customer-sidebar-controls{padding:19px 14px 0;flex:none;max-height:53%;overflow:auto;scrollbar-width:thin}.customer-sidebar-title .eyebrow{display:none}.customer-sidebar-title h2{font-size:15px;font-weight:600;margin:0 0 14px}.customer-sidebar #chat-search{width:100%;background:#f6f8fc;font-size:11px;padding:8px 9px}.customer-views{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0 10px}.customer-views button{padding:5px 8px;border-radius:5px;background:transparent;color:#93a0b3;font-size:10px;font-weight:500}.customer-views button.selected{color:var(--blue);background:var(--blue-soft)}.customer-sidebar .customer-filter-panel{padding:9px;margin:9px 0;background:#fff}.customer-sidebar .customer-filter-panel summary{font-size:10px}.customer-sidebar .customer-filter-panel summary .muted{font-size:9px;margin-left:4px}.customer-sidebar .customer-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 7px}.customer-sidebar .customer-filter-grid label{font-size:10px}.customer-sidebar .customer-filter-grid select{font-size:10px;padding:7px 4px}.customer-sidebar .customer-quick-filters{gap:4px}.customer-sidebar .customer-quick-filters button{font-size:9px;padding:5px}.customer-sidebar .customer-filter-foot>span{font-size:9px}.customer-sidebar #chat-count{font-size:10px;margin:10px 0}.customer-list{flex:1;min-height:130px;overflow:auto;padding:6px;scrollbar-width:thin}.customer-row{display:flex;position:relative;align-items:flex-start;gap:9px;width:100%;padding:13px 29px 13px 9px;margin:0 0 4px;background:transparent;border:1px solid transparent;border-radius:9px;color:var(--ink);text-align:left;font-weight:400}.customer-row:hover{background:#f4f7fd}.customer-row.selected{background:var(--blue-soft);border-color:#e2eafb}.customer-row>.team-avatar{width:33px;height:33px;border-radius:10px;font-size:13px}.customer-row-info{flex:1;min-width:0;display:block}.customer-row-info>strong{display:block;font-size:12px;font-weight:550;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.customer-row-preview{display:block;font-size:11px;color:#a0aabb;margin-top:5px;line-height:1.6;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customer-row-meta{display:block;font-size:9px;color:#a4afc0;margin-top:5px;line-height:1.5}.customer-row .customer-tags{gap:3px;margin-top:6px}.customer-row .customer-tag{font-size:9px;padding:1px 4px}.customer-row>.notice-badge{float:none;position:absolute;top:12px;right:6px;min-width:15px;line-height:16px;font-size:9px;padding:0 4px;margin:0}.customer-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f9fbfe}.customer-chat-head{display:flex;align-items:center;gap:10px;padding:16px 20px;min-height:77px;border-bottom:1px solid var(--line);background:#fff}.customer-chat-head>div{flex:1;min-width:0}.customer-chat-head h3{font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere}.customer-chat-head p{font-size:10px;color:#99a6b9;margin:5px 0 0}.customer-chat-head button{font-size:10px;padding:7px 9px;white-space:nowrap}.customer-chat-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 18px;border-bottom:1px solid #edf1f6;background:#fff}.customer-chat-tools label{display:flex;align-items:center;gap:5px;margin:0;font-size:10px;color:#9ca8b9}.customer-chat-tools input{width:12px;height:12px;margin:0}.customer-chat-tools button{font-size:10px;padding:5px 8px;background:transparent;color:#8e9cb1}.customer-conversation .messages{flex:1;min-height:0;height:auto;margin:0;border-radius:0;padding:23px;background:#f9fbfe}.customer-conversation .bubble{font-size:13px;max-width:89%;border:1px solid #e9edf4;background:#fff;line-height:1.8}.customer-conversation .bubble.out{background:#edf3ff;border-color:#e3ebfb}.customer-conversation .bubble small{font-size:9px;color:#a0acc0}.customer-conversation .bubble .translation{font-size:11px;color:#8c9bb1;border-color:#e6ecf5}.customer-composer{border-top:1px solid var(--line);padding:14px 18px;background:#fff}.customer-composer textarea{border:0;min-height:72px;max-height:145px;padding:2px;font-size:12px}.customer-composer textarea:focus{outline:none}.customer-composer .actions{margin-top:8px;gap:7px;flex-wrap:wrap}.customer-composer button{font-size:11px;padding:8px 11px}.customer-composer #preview{max-height:110px;overflow:auto;margin:8px 0;font-size:11px}.customer-chat-empty{min-height:0;background:#f9fbfe}.customer-profile{display:flex;flex-direction:column;position:static;min-width:0;min-height:0;height:auto;border-left:1px solid var(--line);background:#fff;color:var(--ink);padding:0;overflow:hidden}.customer-profile-head{padding:18px 17px 16px;border-bottom:1px solid var(--line);flex:none}.customer-profile-head>.eyebrow{display:none}.customer-profile-head h3{font-size:12px;font-weight:600;color:#7c8ca4;margin:0 0 17px}.customer-profile-summary{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-width:0}.customer-profile-summary>.team-avatar{width:33px;height:33px;border-radius:10px}.customer-profile-summary>div{min-width:0}.customer-profile-summary strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.customer-profile-summary small{display:block;font-size:10px;color:#98a5b8;line-height:1.6;margin-top:4px}.customer-profile-head>p{font-size:10px;color:#a5b0c0;margin:0;overflow-wrap:anywhere}.customer-profile form{display:flex;flex-direction:column;flex:1;min-height:0}.customer-profile-body{flex:1;min-height:0;overflow:auto;padding:0 17px 12px;scrollbar-width:thin}.customer-profile label{font-size:11px;margin:12px 0 5px;color:#92a0b4}.customer-profile input,.customer-profile select,.customer-profile textarea{width:100%;font-size:12px;padding:8px;background:#fff}.customer-profile textarea{min-height:70px}.customer-profile .taxonomy-fields{gap:0 8px}.customer-profile .taxonomy-fields select{font-size:11px;padding:7px 4px}.customer-profile .profile-section{padding:17px 0}.customer-profile .profile-section h4,.customer-profile .profile-section summary{font-size:11px;color:#7284a0}.customer-profile .profile-hint{font-size:9px;color:#acb6c5}.customer-profile-save{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:13px 15px;border-top:1px solid var(--line);background:#fff;flex:none}.customer-profile-save span{font-size:10px;color:#a5afbf;line-height:1.5}.customer-profile-save button{font-size:11px;padding:8px 12px;white-space:nowrap}
@media(min-width:1700px){.customer-workspace{grid-template-columns:275px minmax(400px,1fr) 330px}.customer-conversation .messages{padding:28px 35px}.team-workspace{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:1200px){.shell{grid-template-columns:168px minmax(0,1fr)}.shell>main{padding:20px 18px}.shell>aside .brand{font-size:16px;gap:7px}.brand-mark{width:29px;height:29px;font-size:15px}.shell nav button{padding:11px 9px;gap:8px}.customer-workspace{grid-template-columns:210px minmax(275px,1fr) 270px}.customer-sidebar-controls{padding:17px 11px 0}.customer-profile-body{padding-left:13px;padding-right:13px}.customer-chat-head{padding:15px 14px}.customer-chat-head>.team-avatar{display:none}.customer-conversation .messages{padding:18px 15px}.team-workspace{grid-template-columns:235px minmax(0,1fr)}.team-total{display:none}}
@media(max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:1fr}.customer-workspace{grid-template-columns:215px minmax(280px,1fr);grid-template-areas:"clients conversation" "clients profile";height:auto;min-height:0;max-height:none}.customer-sidebar{grid-area:clients;max-height:1250px}.customer-conversation{grid-area:conversation;height:620px;min-height:500px}.customer-profile{grid-area:profile;height:580px;border-top:1px solid var(--line)}.customer-profile .taxonomy-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.shell{grid-template-columns:150px minmax(0,1fr)}.shell>aside{padding-left:8px;padding-right:8px}.shell>aside .brand{gap:6px;font-size:14px}.shell nav button{font-size:11px}.shell>main{padding:18px 12px}.shell>main>header>div:last-child{flex-wrap:wrap;justify-content:flex-end;max-width:190px;gap:6px}.shell>main>header h1{font-size:19px}.customer-workspace{grid-template-columns:185px minmax(230px,1fr)}.customer-row>.team-avatar{display:none}.customer-chat-tools{padding-left:12px;padding-right:12px}.customer-chat-tools label{font-size:9px}.team-workspace{grid-template-columns:195px minmax(0,1fr)}.team-sidebar-title{padding:18px 14px 14px}.team-thread>header{padding:17px 15px}.team-composer{padding:12px 14px}.team-compose-bottom>span{max-width:100px;line-height:1.6}.team-thread .messages{padding:17px}.team-thread .bubble{max-width:94%}.split{grid-template-columns:1fr}}
@media(max-width:650px){.shell,.shell.nav-collapsed{display:block}.shell>aside,.shell.nav-collapsed>aside{position:relative;height:auto;padding:8px;border-right:0;border-bottom:1px solid var(--line);overflow:hidden}.shell>aside .brand,.shell>aside>.muted{display:none}.shell nav{display:flex;overflow:auto;gap:4px}.shell nav button{width:auto;flex:none;min-width:39px;margin:0;padding:9px;gap:6px}.shell.nav-collapsed nav button{padding:9px}.shell .nav-icon{width:17px;height:17px}.shell>main{padding:15px 10px}.shell>main>header{gap:9px;margin-bottom:14px}.shell>main>header h1{font-size:18px}.shell>main>header>div:last-child{font-size:10px;max-width:170px}.shell>main>header button{font-size:10px;padding:7px}.page-heading>.muted{display:none}.page-heading-title{gap:7px}.shell .nav-toggle{width:27px;height:27px;padding:5px}.cards{gap:9px}.card{padding:14px}.card strong{font-size:25px}.panel{padding:15px}.customer-workspace{display:flex;flex-direction:column;height:auto;max-height:none}.customer-sidebar{max-height:390px;border-right:0;border-bottom:1px solid var(--line)}.customer-sidebar-controls{padding:16px 13px 0;max-height:250px}.customer-sidebar-title h2{font-size:14px;margin-bottom:11px}.customer-list{min-height:110px;max-height:185px;flex:none}.customer-row{padding:10px 30px 10px 8px}.customer-row>.team-avatar{display:flex}.customer-row .customer-tags{display:none}.customer-conversation{height:620px;max-height:90dvh;min-height:450px}.customer-chat-head>.team-avatar{display:flex}.customer-chat-head{padding:15px}.customer-conversation .messages{padding:17px}.customer-profile{height:630px;border-left:0;border-top:1px solid var(--line)}.customer-profile .taxonomy-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-profile-body{padding:0 17px 12px}.team-workspace{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none}.team-sidebar{max-height:300px;border-right:0;border-bottom:1px solid var(--line)}.team-sidebar-title .eyebrow{display:none}.team-sidebar-title h2{font-size:15px;margin:0}.team-total{display:block}.team-sidebar #team-search{margin-bottom:9px}.team-tabs{padding-bottom:9px}.team-contacts{max-height:155px;flex:none}.team-sidebar-foot{display:none}.team-thread{height:610px;max-height:88dvh;min-height:440px}.team-compose-bottom>span{max-width:none}.taxonomy-fields{gap:0 8px}.customer-filter-foot>span{font-size:9px}.customer-profile .profile-section summary{font-size:12px}}
/* Reporting dashboard, sharing workbench spacing and controls. */
.report-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:2px 0 20px}.report-heading h2{font-size:20px;font-weight:650;margin:6px 0}.report-heading p{font-size:11px;color:#93a0b4;margin:0}.report-heading>button{font-size:11px}.report-filter{padding:16px 18px}.report-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.report-presets button{font-size:11px;padding:6px 11px}.report-filter-fields{display:grid;grid-template-columns:1fr 1fr 1.2fr 1.4fr auto;align-items:end;gap:12px}.report-filter-fields>div{min-width:0}.report-filter-fields label{font-size:11px;margin:0 0 6px}.report-filter-fields input,.report-filter-fields select{width:100%;font-size:12px}.report-filter-fields>button{font-size:12px;white-space:nowrap;min-height:36px}.report-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:20px}.report-kpis .card{padding:17px 14px;min-width:0}.report-kpis .card>span{font-size:11px}.report-kpis .card strong{font-size:28px;margin:12px 0 10px}.report-kpis .card small{font-size:9px;line-height:1.6;display:block}.report-money .bar h3{margin:0}.report-paid{color:#4c9a80;font-weight:650}.report-footnote{font-size:10px;color:#9ba8ba;line-height:1.8;margin:14px 0 0}.report-amount{font-size:11px;color:#8c9ab0;margin:3px 0;white-space:nowrap}.report-amount strong{font-weight:550;color:#536887;margin-left:4px}.report-visuals{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px}.report-visuals>.panel{min-width:0}.report-chart{display:block;width:100%;height:auto;min-height:170px;max-height:310px;overflow:visible}.report-chart text{font-family:inherit;font-size:10px;fill:#9ba8ba}.report-chart-legend{display:flex;justify-content:flex-end;gap:17px;margin:4px 0 8px;font-size:10px;color:#8b99ae}.report-chart-legend>span{display:flex;align-items:center;gap:6px}.report-chart-legend i{width:7px;height:7px;border-radius:50%;background:#5079e7}.report-chart-legend i.orders{background:#70b69f}.report-stage-list{display:grid;gap:14px;margin-top:24px}.report-stage{display:grid;grid-template-columns:90px minmax(0,1fr) 26px;align-items:center;gap:12px;font-size:11px;color:#8594aa}.report-stage>div{height:7px;border-radius:5px;background:#f0f3f9;overflow:hidden}.report-stage i{display:block;height:100%;background:#a5bbea;border-radius:5px}.report-stage strong{text-align:right;font-weight:550;color:#6f83a4}.report-definitions summary{cursor:pointer;font-size:12px;font-weight:600;color:#7185a1}.report-definitions p{font-size:11px;color:#93a0b4;line-height:1.9;margin:13px 0 0}@media(max-width:1350px){.report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.report-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr)) auto}.report-filter-fields>div:nth-child(4){grid-column:2}.report-filter-fields>button{grid-column:3;grid-row:2}.report-visuals{grid-template-columns:minmax(0,1fr)}}@media(max-width:650px){.report-heading h2{font-size:18px}.report-heading .eyebrow{display:none}.report-heading>button{font-size:10px;padding:7px 10px}.report-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-fields>div:nth-child(4){grid-column:auto}.report-filter-fields>button{grid-column:1/-1;grid-row:auto}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.report-kpis .card{padding:14px}.report-kpis .card strong{font-size:26px}.report-visuals{gap:0}.report-chart{min-height:150px}.report-stage{grid-template-columns:84px minmax(0,1fr) 25px}.report-stage-list{gap:12px}}
.order-flow-guide{padding:13px 16px;margin-bottom:20px;border:1px solid #e0e9f8;border-radius:9px;background:#f0f5ff;color:#7890b5;font-size:11px;line-height:1.8}.order-list-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.order-list-filters select,.order-list-filters button{font-size:11px}.order-list-filters button.selected{background:var(--blue);color:white}.order-cell-sub{display:block;font-size:10px;margin-top:5px;line-height:1.6}.order-product-cell{white-space:normal;min-width:140px;max-width:240px;overflow-wrap:anywhere}.order-state{background:#fff6e7;color:#ad905e}.order-state.ready{background:#edf3ff;color:#7a96cc}.order-state.paid{background:#edf7f1;color:#659c80}.order-dialog{width:min(660px,95vw)}.order-dialog>form>input,.order-dialog>form>select{width:100%}.order-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.order-form-grid>div{min-width:0}.order-total-preview{display:flex;justify-content:space-between;margin-top:20px;border-radius:9px;background:#f2f6fc;padding:15px;color:#8a9ab0}.order-total-preview strong{font-size:17px;color:#5575ad}.order-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:10px 0 20px}.order-detail-grid small{display:block;font-size:10px;color:#a3afc0;margin-bottom:7px}.order-detail-grid strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.order-product-summary{background:#f7f9fd;border-radius:10px;padding:17px}.order-product-summary>p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.order-product-summary>div{display:flex;justify-content:space-between;gap:14px;font-size:12px;margin:12px 0;color:#8c9bb0}.order-product-summary strong{font-weight:550;color:#687f9e}.order-product-summary .order-grand-total{border-top:1px solid #e2e9f3;padding-top:15px;margin-bottom:0}.order-grand-total strong{font-size:16px;color:#5075b7}.order-payment-section{border-bottom:1px solid #edf1f6;padding:22px 0}.order-payment-section h3{font-size:13px;margin:0 0 14px}.order-payment-section>button{font-size:11px;margin-top:12px}.order-payment-link{display:block;font-size:12px;line-height:1.8;overflow-wrap:anywhere;background:#f4f7fc;padding:11px 13px;border-radius:8px}.order-payment-section form{margin-top:18px}.order-payment-section input{width:100%}@media(max-width:650px){.order-form-grid,.order-detail-grid{grid-template-columns:1fr}.order-dialog{padding:20px}.order-flow-guide{font-size:10px}.order-list-filters{gap:7px}}

.order-address{border-top:1px solid var(--line);padding:19px 0}.order-address h3{font-size:12px;color:#8b9bb1;margin:0 0 12px}.order-address>strong{font-size:13px;font-weight:550}.order-address>p{white-space:pre-line;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:#7c8da6;margin:8px 0 0}

button.secondary.order-delete{color:#c47f85;background:#fff2f3}

.chat-media{display:block;max-width:min(100%,360px);max-height:320px;border-radius:10px;margin:8px 0}.media-send-dialog{width:min(600px,95vw)}.media-send-preview{max-height:330px;overflow:auto}.media-send-dialog progress{width:100%;accent-color:var(--primary)}.media-delivery-state{display:block;margin-top:6px;color:#64748b}

.login-captcha-row{display:flex;align-items:center;gap:10px}.login-captcha-row input{min-width:0;flex:1}.login-captcha-row button{flex:0 0 152px;padding:0;min-height:50px;overflow:hidden}.login-captcha-row img{display:block;width:150px;height:48px}.login-captcha-row [hidden]{display:none}
