:root{--bg:#FCFCFC;--surface:#FFFFFF;--text:#191919;--text-muted:rgb(25 25 25 / 56%);--border:rgb(0 0 0 / 10%);--accent:#317CFF;--accent-fg:#FFFFFF;--primary-action:var(--accent);--primary-action-fg:var(--accent-fg);--radius:6px;--font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--accent-soft:#EFF5FF;--subtle:#F5F5F4;--success:#287755;--warning:#9B650F;--danger:#B63333;--art-bg:#EDF1F4;--art-line:#72808D;--art-sun:#D9E0E6;--overlay:rgb(16 25 39 / 35%)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}a{color:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button{color:var(--text)}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:2px}button .icon,a .icon{flex-shrink:0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.25;letter-spacing:-1px;font-weight:550}h2{font-size:18px;font-weight:600;letter-spacing:-.3px}h3{font-size:15px;font-weight:600;line-height:1.5}p{line-height:1.65}.muted{color:var(--text-muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:600;color:var(--text-muted);line-height:1.6}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.sidebar{padding:32px 20px 22px;border-right:1px solid var(--border);display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:650;font-size:28px;letter-spacing:-1px;padding:0 12px}.brand>.icon{width:32px;height:32px;color:var(--accent)}.brand-dot{color:var(--accent)}.trip-label{padding:40px 12px 27px;display:flex;flex-direction:column;gap:7px}.trip-label>strong{font-size:22px;font-weight:550;display:flex;justify-content:space-between}.chinese{font-size:21px;font-weight:400;color:var(--text-muted)}.demo-tag{font-size:10px;line-height:1.5;color:var(--text-muted);border:1px solid var(--border);border-radius:var(--radius);padding:3px 7px;align-self:flex-start;margin-top:4px}.main-nav{display:flex;flex-direction:column;gap:6px}.nav-item{border:0;background:none;display:flex;align-items:center;gap:11px;padding:13px 12px;text-align:left;border-radius:var(--radius);color:var(--text-muted);font-size:13px;font-weight:500}.nav-item:hover{background:var(--subtle)}.nav-item.selected{background:var(--accent-soft);color:var(--accent)}.nav-item .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:60px}.install-link{display:flex;align-items:center;width:100%;gap:8px;padding:12px 8px;border:0;border-bottom:1px solid var(--border);background:none;font-size:12px}.install-link .icon:last-child{margin-left:auto;width:14px}.timezone{display:flex;align-items:center;gap:10px;padding:22px 10px;color:var(--text-muted);font-size:11px;line-height:1.8}.timezone strong{color:var(--text);font-weight:550}.timezone small{font-size:10px}.session-link{font-size:10px;color:var(--text-muted);text-decoration:none;padding:0 10px}.topbar{height:86px;padding:0 38px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:var(--surface);gap:12px}.topbar>div:first-child{display:flex;flex-direction:column;gap:5px}.top-label{font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--text-muted)}.top-title{font-size:13px;font-weight:550}.top-actions{display:flex;align-items:center;gap:18px}.demo-pill{font-size:10px;border:1px solid var(--border);border-radius:var(--radius);color:var(--text-muted);padding:4px 8px}.role-switch{font-size:12px;text-decoration:none;display:flex;align-items:center;gap:8px}.role-switch .icon{width:15px;height:15px}.role-switch .icon:last-child{margin-left:6px}.demo-banner{font-size:10px;color:var(--text-muted);padding:9px 38px;border-bottom:1px solid var(--border);line-height:1.5}.workspace{padding:34px 38px 26px;max-width:1600px;margin:auto}.delegate-workspace{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:26px}.page-heading{margin-bottom:28px}.page-heading .eyebrow{margin-bottom:11px}.page-heading>p:last-child:not(.eyebrow){font-size:12px;margin-top:12px}.chat-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden;display:flex;flex-direction:column;min-height:530px;height:calc(100dvh - 300px);max-height:900px}.chat-header{padding:20px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:85px}.chat-person{display:flex;align-items:center;gap:12px;min-width:0}.avatar{width:37px;height:37px;flex-shrink:0;border-radius:50%;background:var(--subtle);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:550;color:var(--text-muted)}.assistant-avatar{background:var(--accent-soft);color:var(--accent)}.chat-person h2{font-size:14px;overflow-wrap:anywhere}.chat-person p{font-size:10px;color:var(--text-muted);margin-top:4px}.status-label{font-size:9px;font-weight:500;white-space:nowrap;display:flex;align-items:center;gap:5px}.status-label:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.waiting{color:var(--warning)}.active,.resolved{color:var(--success)}.messages{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:14px;min-height:180px;scroll-behavior:smooth}.chat-empty{margin:auto;text-align:center;display:flex;align-items:center;flex-direction:column;padding:20px 0}.empty-icon{background:var(--accent-soft);color:var(--accent);width:51px;height:51px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.empty-icon .icon{width:24px;height:24px}.chat-empty h3{font-size:19px;font-weight:550;letter-spacing:-.4px}.chat-empty p{font-size:12px;color:var(--text-muted);margin-top:8px;max-width:320px}.suggestions{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:24px}.suggestion{display:flex;align-items:center;gap:9px;font-size:10px;padding:9px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.suggestion:hover{border-color:var(--accent);color:var(--accent)}.suggestion .icon{width:13px;height:13px}.composer{margin:0 18px;padding:13px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.compose-row{display:flex;align-items:flex-end;gap:10px}.compose-row textarea{flex:1;resize:none;max-height:140px;min-height:32px;border:0;background:none;padding:7px 3px;line-height:1.5;font-size:12px;min-width:0}.compose-row textarea:focus{outline:none}.composer:focus-within{border-color:var(--accent)}.send-button{background:var(--primary-action);color:var(--primary-action-fg);width:34px;height:34px;border:0;border-radius:var(--radius);display:flex;align-items:center;justify-content:center}.send-button .icon{width:17px;height:17px}.composer-meta{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:var(--text-muted)}.urgent-toggle{display:flex;align-items:center;gap:5px;cursor:pointer}.urgent-toggle input{accent-color:var(--accent);width:11px;height:11px;margin:0}.chat-foot{font-size:9px;color:var(--text-muted);display:flex;justify-content:space-between;gap:10px;padding:13px 20px}.connection{display:flex;align-items:center;gap:5px;color:var(--text-muted)}.status-dot{width:5px;height:5px;border-radius:50%;background:var(--success)}.connection.offline{color:var(--danger)}.offline .status-dot{background:var(--danger)}.context-column{padding-top:7px}.beijing-art{height:270px;border-radius:var(--radius);background:var(--art-bg);overflow:hidden;position:relative;color:var(--art-line);padding-top:25px}.art-caption{font-family:serif;font-size:12px;letter-spacing:3px;padding-left:22px}.beijing-art>svg{width:100%;height:190px;margin-top:-2px}.beijing-art svg path{fill:none;stroke:var(--art-line);stroke-width:1.3;stroke-linejoin:round}.beijing-art svg circle{fill:var(--art-sun)}.art-bottom{display:flex;justify-content:space-between;padding:0 22px;font-size:11px;letter-spacing:2px}.art-bottom>span{font-family:serif}.context-card{padding:26px 0;border-bottom:1px solid var(--border)}.context-card h3{font-size:18px;font-weight:500;line-height:1.65;letter-spacing:-.4px;margin-top:12px}.context-card p:not(.eyebrow){font-size:11px;color:var(--text-muted);margin-top:12px}.compact-card{display:flex;gap:12px}.compact-card>.icon{margin-top:4px;color:var(--text-muted)}.compact-card h3{font-size:12px;margin:0}.compact-card p:not(.eyebrow){margin-top:6px;font-size:10px}.compact-card a{display:inline-block;font-size:10px;margin-top:12px;color:var(--accent);text-decoration:none}.date-divider{text-align:center;font-size:9px;color:var(--text-muted);margin:2px 0 8px}.message{max-width:85%;align-self:flex-start;padding:12px 14px;border-radius:var(--radius);background:var(--subtle)}.message.mine{align-self:flex-end;background:var(--accent-soft)}.message-body{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{font-size:8px;color:var(--text-muted);display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:6px}.message-meta .icon{width:11px;height:11px;color:var(--accent)}.primary,.secondary{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:11px 15px;font-size:12px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;line-height:1.5}.primary{background:var(--primary-action);color:var(--primary-action-fg);border-color:var(--primary-action)}.primary:hover{filter:brightness(.95)}.secondary:hover{background:var(--subtle)}.secondary .icon,.primary .icon{width:16px;height:16px}.wide{width:100%;justify-content:space-between}.error{font-size:11px;color:var(--danger);margin-top:8px}.error:empty{display:none}.info-page{max-width:850px;margin:0 auto;padding:10px 0}.info-page h1{font-size:32px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding-bottom:18px;margin-top:40px}.section-toolbar strong{font-weight:550}.timeline{padding:8px 0 28px}.timeline-row{display:grid;grid-template-columns:65px 44px 1fr;gap:18px;align-items:start;padding-top:30px}.timeline-row time{font-size:13px;padding-top:9px;color:var(--text-muted);font-variant-numeric:tabular-nums}.timeline-row p{font-size:12px;margin-top:5px}.timeline-marker{height:36px;width:36px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-muted)}.timeline-marker .icon{width:17px}.info-callout{border:1px solid var(--border);border-radius:var(--radius);padding:22px;display:flex;gap:17px;align-items:flex-start;margin-top:24px}.info-callout>.icon{color:var(--accent);margin-top:2px}.info-callout strong{font-size:13px;font-weight:550}.info-callout p{font-size:12px;color:var(--text-muted);margin:7px 0}.text-button{display:inline-flex;align-items:center;gap:7px;padding:0;background:none;border:0;color:var(--accent);text-decoration:none;font-size:12px;line-height:1.6}.address-card{padding:30px;border:1px solid var(--border);border-radius:var(--radius)}.card-icon{margin-bottom:25px;color:var(--accent)}.address-card h2{margin:12px 0}.address-card p{font-size:13px;max-width:500px}.address-card .secondary{margin-top:23px}.phrase-card{background:var(--subtle);padding:28px;margin-top:20px;border-radius:var(--radius)}.chinese-phrase{font-size:26px;letter-spacing:2px;margin:18px 0 10px}.phrase-card .muted{font-size:12px}.phrase-card button{margin-top:18px}.guide-footer{margin-top:40px;padding:22px 0;border-top:1px solid var(--border);display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--text-muted)}.guide-footer .icon{width:15px;height:15px}.guide-footer a{color:var(--text);text-decoration:none}.guide-footer span{margin-left:auto;font-size:10px}.contacts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:35px 0 18px}.contact-card{border:1px solid var(--border);border-radius:var(--radius);padding:24px 20px;text-decoration:none;display:flex;flex-direction:column;gap:12px}.contact-card>div{display:flex;align-items:center;justify-content:space-between;color:var(--text-muted)}.contact-number{font-size:28px;color:var(--text);letter-spacing:-1px}.contact-card p{font-size:11px}.contact-card .text-button{margin-top:auto;padding-top:15px}.contact-card:hover{border-color:var(--accent)}.coordinator-card{border:1px solid var(--border);border-radius:var(--radius);display:flex;align-items:center;gap:14px;padding:24px;margin-top:30px}.coordinator-card p{font-size:11px;margin-top:4px}.coordinator-card button{margin-left:auto}.operator-page .page-heading{margin-bottom:23px}.operator-stats{display:flex;align-items:center;gap:40px;padding:18px 0 26px}.operator-stats>div{display:flex;align-items:center;gap:10px}.operator-stats strong{font-size:25px;font-weight:500;letter-spacing:-1px}.operator-stats>div span{font-size:11px;color:var(--text-muted)}.operator-stats>.connection{margin-left:auto;font-size:10px}.inbox{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--border);border-radius:var(--radius);height:calc(100dvh - 337px);min-height:480px;overflow:hidden;background:var(--surface)}.inbox-list{border-right:1px solid var(--border);overflow-y:auto}.inbox-tools{padding:20px 16px 13px;border-bottom:1px solid var(--border)}.inbox-tools h2{font-size:14px;margin-bottom:20px}.inbox-tools h2 span{font-size:11px;margin-left:6px;color:var(--text-muted)}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:var(--radius);padding:9px 10px}.search .icon{width:15px;height:15px;color:var(--text-muted)}.search input{border:0;min-width:0;width:100%;font-size:11px;background:none}.search input:focus{outline:0}.search:focus-within{outline:1px solid var(--accent)}.filters{display:flex;gap:3px;margin-top:15px}.filters button{border:0;background:none;padding:6px 7px;font-size:9px;border-radius:var(--radius);color:var(--text-muted)}.filters button.selected{background:var(--subtle);color:var(--text)}.conversation{display:flex;align-items:flex-start;gap:10px;padding:18px 16px;border:0;border-bottom:1px solid var(--border);width:100%;background:none;text-align:left}.conversation.selected{background:var(--accent-soft)}.conversation:hover{background:var(--subtle)}.conversation-content{min-width:0;flex:1}.conversation-top{display:flex;align-items:center;gap:5px;justify-content:space-between}.conversation-top strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-top time{font-size:9px;color:var(--text-muted)}.conversation-content>p{font-size:10px;color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:5px 0 8px}.conversation-bottom{display:flex;justify-content:space-between;align-items:center}.status-text{font-size:9px}.unread{border-radius:50%;background:var(--accent);color:var(--accent-fg);font-size:8px;padding:3px 5px}.list-empty{text-align:center;display:flex;align-items:center;flex-direction:column;padding:44px 22px;color:var(--text-muted);gap:14px}.list-empty strong{font-size:12px;color:var(--text)}.list-empty p{font-size:11px}.operator-chat{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.operator-chat .chat-header{padding:18px}.chat-header-right{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.compact{padding:6px 9px;font-size:9px}.no-selection{margin:auto;text-align:center;display:flex;align-items:center;flex-direction:column;padding:28px}.no-selection h2{font-size:18px}.no-selection p{font-size:12px;margin:12px 0 24px}.operator-chat .messages{padding:20px}.mobile-back{display:none}.operator-chat .composer-meta{font-size:8px}.operator-chat .composer{margin:0 14px}dialog{border:1px solid var(--border);border-radius:12px;padding:38px;max-width:440px;width:calc(100% - 32px);color:var(--text);background:var(--surface)}dialog::backdrop{background:var(--overlay);backdrop-filter:blur(3px)}dialog h1{font-size:33px;margin:12px 0 18px}dialog h2{font-size:24px;margin:12px 0 24px}dialog p{font-size:13px}dialog>p{margin-bottom:18px}.dialog-logo{display:flex;width:45px;height:45px;align-items:center;justify-content:center;background:var(--accent);color:var(--accent-fg);font-size:32px;border-radius:10px;margin-bottom:28px}dialog form>label{display:block;font-size:12px;font-weight:550;margin:25px 0 10px}dialog input{width:100%;padding:12px;border:1px solid var(--border);border-radius:var(--radius);font-size:14px;margin-bottom:14px}.demo-note{font-size:10px;color:var(--text-muted);line-height:1.65;padding-top:20px}.quiet-link{display:inline-block;font-size:11px;color:var(--text-muted);margin-top:20px}.close-dialog{position:absolute;right:17px;top:12px;border:0;background:none;font-size:26px;color:var(--text-muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--text);color:var(--surface);padding:13px 20px;border-radius:var(--radius);font-size:12px;max-width:calc(100% - 32px);width:max-content;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:20}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.delegate-workspace{grid-template-columns:minmax(0,1fr) 300px}.beijing-art{height:300px}.beijing-art>svg{height:215px}.workspace{padding-top:44px}.page-heading h1{font-size:33px}}
@media(max-width:1200px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.workspace{padding:28px 25px}.topbar{padding:0 25px}.demo-banner{padding-left:25px;padding-right:25px}.delegate-workspace{grid-template-columns:minmax(0,1fr) 205px;gap:20px}h1{font-size:24px}.context-card h3{font-size:16px}.inbox{grid-template-columns:260px minmax(0,1fr)}.operator-stats{gap:25px}.operator-stats>.connection{font-size:9px}.chat-header{padding:16px}.chat-header .status-label{font-size:8px}.chat-panel{height:calc(100dvh - 285px)}}
@media(max-width:1000px){.context-column{display:none}.delegate-workspace{grid-template-columns:1fr}.operator-layout{grid-template-columns:1fr}.operator-layout .sidebar{display:none}.chat-panel{min-height:500px}.operator-page .page-heading h1{font-size:25px}}
@media(max-width:700px){body{font-size:14px}.layout{grid-template-columns:1fr}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;z-index:10;border:0;border-top:1px solid var(--border);padding:0 5px env(safe-area-inset-bottom);background:var(--surface)}.brand,.trip-label,.sidebar-bottom{display:none}.main-nav{flex-direction:row;gap:0;justify-content:space-around}.nav-item{flex:1;flex-direction:column;gap:5px;padding:12px 0 10px;border-radius:0;font-size:9px;white-space:nowrap}.nav-item.selected{background:var(--surface)}.nav-item .icon{width:21px;height:21px}.nav-item span{max-width:100%}.topbar{height:68px;padding:0 19px}.top-label{font-size:8px;letter-spacing:1.2px}.top-title{font-size:12px}.top-actions{gap:11px}.role-switch{font-size:10px;gap:5px}.role-switch .icon{width:14px;height:14px}.role-switch .icon:last-child{display:none}.demo-pill{font-size:9px;padding:3px 5px}.demo-banner{font-size:9px;padding:9px 19px}.workspace{padding:24px 17px 93px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:23px;letter-spacing:-.65px;max-width:320px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:9px}.page-heading>p:last-child:not(.eyebrow){font-size:11px;margin-top:10px;max-width:320px}.chat-panel{min-height:440px;height:calc(100dvh - 350px)}.chat-header{padding:15px 13px;min-height:78px}.chat-person{gap:9px}.chat-person h2{font-size:12px}.chat-person p{font-size:8px}.chat-header .status-label{font-size:8px}.avatar{width:33px;height:33px;font-size:10px}.messages{padding:18px 13px}.chat-empty{padding:20px 0}.chat-empty h3{font-size:18px}.chat-empty p{font-size:11px}.suggestions{gap:6px;margin-top:22px}.suggestion{font-size:9px;padding:8px}.composer{margin:0 10px;padding:10px}.compose-row textarea{font-size:16px;line-height:1.4;min-height:36px}.compose-row textarea::placeholder{font-size:12px}.composer-meta{font-size:8px}.chat-foot{font-size:8px;padding:11px 12px}.message{max-width:90%}.message-body{font-size:13px}.info-page{padding-top:0}.info-page h1{font-size:28px}.timeline-row{grid-template-columns:45px 32px 1fr;gap:12px}.timeline-row time{font-size:11px}.timeline-row h3{font-size:13px}.timeline-row p{font-size:11px}.timeline-marker{height:30px;width:30px}.section-toolbar{font-size:12px;margin-top:28px}.demo-tag{font-size:8px}.info-callout{padding:18px}.info-callout p{font-size:11px}.address-card,.phrase-card{padding:24px}.chinese-phrase{font-size:22px}.guide-footer{gap:8px}.guide-footer span{margin-left:24px;width:100%}.contacts-grid{grid-template-columns:1fr;gap:12px;margin-top:24px}.contact-card{padding:18px;display:grid;grid-template-columns:1fr auto;gap:6px 14px}.contact-card>div{grid-column:2;grid-row:1/4;gap:16px}.contact-card h3{grid-column:1;grid-row:1}.contact-card p{grid-column:1;grid-row:2}.contact-card .text-button{grid-column:1;grid-row:3;padding-top:5px}.contact-card .contact-number{font-size:26px}.coordinator-card{flex-wrap:wrap;padding:18px}.coordinator-card button{margin-left:47px}.operator-layout .workspace{padding:22px 14px}.operator-page .page-heading h1{font-size:23px}.operator-stats{padding-top:0;gap:20px;flex-wrap:wrap;row-gap:15px}.operator-stats>div{gap:7px}.operator-stats strong{font-size:22px}.operator-stats>div span{font-size:9px}.operator-stats>.connection{width:100%;margin-left:0;font-size:9px}.inbox{display:block;height:calc(100dvh - 305px);min-height:440px}.inbox-list{height:100%;border:0}.operator-chat{display:none;height:100%}.inbox.conversation-open .inbox-list{display:none}.inbox.conversation-open .operator-chat{display:flex}.mobile-back{display:flex;align-items:center;gap:4px;font-size:10px;border:0;border-bottom:1px solid var(--border);background:var(--surface);padding:10px 12px}.mobile-back .icon{width:13px;height:13px}.operator-chat .chat-header{padding:13px}.operator-chat .chat-person p{font-size:9px}.operator-chat .composer-meta>span:first-child{display:none}.operator-chat .composer-meta{justify-content:flex-end}.inbox-tools{padding:18px}.inbox-tools h2{font-size:15px}.search input{font-size:16px}.search input::placeholder{font-size:12px}.filters button{font-size:11px;padding:8px 12px}.conversation{padding:18px}.conversation-top strong{font-size:13px}.conversation-content>p{font-size:11px}.status-text{font-size:10px}dialog{padding:28px}dialog h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){#toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px)}.attach-button{min-height:44px}}
@font-face{font-family:SputnikCJK;src:url('/static/sputnik-cjk.woff') format('woff');font-weight:400;font-display:swap}.chinese,.chinese-phrase,.art-caption,.art-bottom>span{font-family:SputnikCJK,system-ui,sans-serif}
.layout>main,.workspace,.operator-page,.inbox,.inbox-list,.topbar>div:first-child{min-width:0}.top-actions{flex-shrink:0}
.message-body,.chat-person,.avatar{font-family:var(--font),SputnikCJK,'Sputnik CJK Full'}.mobile-install{display:none}.help-card{margin:24px 0;padding:24px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.help-card h2,.help-card h3{margin:12px 0}.help-card p,.help-card li{font-size:12px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.help-card ol{padding-left:20px}.help-card a,.emergency-note a{color:var(--accent)}.help-card .chinese-phrase{font-family:SputnikCJK,'Sputnik CJK Full',sans-serif;font-size:24px;font-weight:400;line-height:1.8}.emergency-note{font-size:11px;line-height:1.7;margin:-5px 0 15px;max-width:800px}.send-button{width:44px;height:44px;min-width:44px}.urgent-toggle{font-size:12px;min-height:34px;display:flex;align-items:center;gap:7px}.urgent-toggle input{width:18px;height:18px;accent-color:var(--accent)}.chat-header-right{flex-shrink:0}.chat-person{overflow:hidden}.main-nav #nav-unread:not(:empty){position:absolute;right:3px;top:4px}.compose-row{gap:8px}
@media(max-width:700px){.mobile-install{display:flex;align-items:center;justify-content:center;border:0;background:none;min-width:32px;min-height:44px;color:var(--text-muted)}.mobile-install .icon{width:18px}.top-actions{gap:6px}.demo-pill{display:none}.nav-item{font-size:11px;white-space:normal;line-height:1.3;min-height:64px;text-align:center;padding:9px 2px;min-width:0}.urgent-toggle{font-size:12px;min-height:40px}.urgent-toggle input{width:20px;height:20px}.send-button{width:44px;height:44px;min-width:44px}.composer-meta{font-size:10px;gap:8px}.help-card{padding:18px}.help-card p,.help-card li{font-size:13px}.emergency-note{font-size:12px}.attach-button{min-height:44px}.chat-person h2{max-width:170px}.operator-stats>div span{font-size:10px}}
[hidden]{display:none!important}.inbox-tools{position:sticky;top:0;z-index:2;background:var(--surface)}.filters{flex-wrap:wrap}.operator-stats{flex-wrap:wrap;row-gap:12px}.participant-id{font-size:9px;color:var(--text-muted);white-space:nowrap}.new{color:var(--text-muted)}.urgent-flag{font-size:10px;font-weight:600;color:var(--danger)}.new-message-jump{align-self:center;border:1px solid var(--accent);border-radius:var(--radius);background:var(--surface);color:var(--accent);font-size:11px;padding:7px 12px;margin:4px 0 9px}.attach-button{display:flex;align-items:center;justify-content:center;cursor:pointer;min-height:34px;color:var(--text-muted)}.attach-button input{position:absolute;width:1px;height:1px;opacity:0}.attach-button:focus-within{outline:2px solid var(--accent)}.file-preview{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:0 0 12px;font-size:11px;overflow-wrap:anywhere}.file-preview button{border:0;background:none;font-size:20px}.message-attachment{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:var(--radius);padding:10px;margin-top:8px;text-decoration:none;color:var(--accent);font-size:12px;overflow-wrap:anywhere}.message-attachment small{display:block;font-size:9px;color:var(--text-muted);margin-top:4px}.message-body a{color:var(--accent);text-decoration:underline;overflow-wrap:anywhere}.chat-foot .text-button{font-size:9px;margin-left:5px}.main-nav .nav-item{position:relative}.main-nav #nav-unread:not(:empty){font-size:9px}.composer-meta{flex-wrap:wrap}#name-limit{margin:-5px 0 15px}#use-existing,#replace-session{margin-top:10px}
