/* Compact mail workspace, inspired by the supplied reference. */
:root{--ink:#303438;--muted:#84898e;--line:#eceeef;--canvas:#fff;--accent:#ed4749;--nav:#373c40;--shadow:none;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}
body{font-size:13px}h1,h2,h3{letter-spacing:0;font-weight:500}a{color:#448ade}button:focus-visible,a:focus-visible{outline:2px solid #448ade;outline-offset:2px}
.topbar{position:fixed;inset:0 0 auto;height:46px;min-height:46px;padding:0 16px;background:#373c40;color:#dce0e2;z-index:30;border:0;gap:22px}.top-brand{display:flex;gap:8px;align-items:center;padding:0;min-width:152px;color:#fff}.top-brand svg{color:#ff5557;width:25px;height:25px}.top-brand strong{font-size:16px;font-weight:500;letter-spacing:0}.breadcrumb,.breadcrumb strong{color:#c8cdd0;font-size:12px}.top-actions{margin-left:auto;gap:17px;color:#cbd0d2}.top-actions .btn{background:transparent;border:0;color:#cbd0d2;padding:5px;font-size:12px}.top-actions .btn:hover{color:#fff}.top-actions>button{padding:3px}.top-user{font-size:12px}
.sidebar{inset:46px auto 0 0;width:190px;padding:12px 8px;background:#fff;color:#5d6268;border-right:1px solid var(--line)}.sidebar-bottom{margin-top:24px;padding:0}.nav-title{padding:0 10px;margin:18px 0 7px;font-size:11px;letter-spacing:0;color:#9b9fa3}.nav-btn{font-size:13px;gap:9px;padding:9px 10px;margin-bottom:3px;border-radius:5px;color:#52575d}.nav-btn svg{width:16px;height:16px}.nav-btn:hover,.account-mini:hover{background:#f5f5f5}.nav-btn.active{background:#edeff0;color:#303438;font-weight:600}.nav-btn.active svg{color:#71777c}.count{background:none;color:#3f4448;padding:0;font-weight:600}.account-mini{display:flex;padding:9px 10px;gap:7px;color:#62686d;border-radius:5px;font-size:12px}.account-mini.selected{background:#edeff0;color:#303438;font-weight:600}.account-mini .dot{background:#9aa4ac;width:5px;height:5px}.account-mini.selected .dot{background:#f34c4e}.account-mini .dot.warn{background:#ed9e3b}.add-account{font-size:12px;color:#8b9094}.main{margin:46px 0 0 190px;min-width:0}.content{max-width:none;padding:24px;margin:0}.workspace{min-height:calc(100dvh - 46px)}
.page-head{margin-bottom:20px;gap:14px}.page-head h1{font-size:20px;font-weight:500;margin-bottom:7px}.page-head p{font-size:12px;color:#8a8f93}.page-head .button-row .btn{padding:7px 12px}.btn{border-color:#e3e5e7;border-radius:4px;padding:7px 11px;font-size:12px;gap:6px;box-shadow:none}.btn:hover{background:#f6f6f6;border-color:#d3d5d8}.btn.primary{background:#f1484a;border-color:#f1484a}.btn.primary:hover{background:#e03e41;border-color:#e03e41}.btn.ghost{color:#7b8186}.btn svg{width:15px;height:15px}
.mailbox-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));max-width:1150px;gap:15px}.mailbox-tile{border-radius:6px;padding:20px;box-shadow:none}.mailbox-tile:hover{border-color:#c3c7cb;box-shadow:none}.mailbox-identity strong{font-size:14px;font-weight:500}.mailbox-identity span{font-size:12px;color:#8a8f93}.mailbox-identity>svg{color:#878d92}.mailbox-total{padding:24px 0 20px}.mailbox-total b{font-size:32px;color:#ed4749}.mailbox-total span{font-size:12px}.mailbox-entry{font-size:12px}.footer-note{font-size:11px;letter-spacing:0;color:#92979b;text-align:left;line-height:1.8}
.panel-box,.account-box{border-radius:5px;padding:20px;box-shadow:none}.account-box h3{font-size:15px}.account-box p{color:#747b80}.banner{border-color:#eee5d2;background:#fffbf4;color:#897955;border-radius:4px;padding:9px 12px;font-size:12px}.pill{border-radius:3px;background:#f0f1f2;color:#777d82}.pill.urgent{background:#fff0e1;color:#a57642}.pill.important{background:#eef3f9;color:#577793}.pill.blue{background:#edf4fc;color:#5485b1}.pill.demo{background:#f2f2f3;color:#8c8d94}.switch.on{background:#f1484a}.rule-info small{font-size:12px}.form-note{color:#8a9095;font-size:12px}.eyebrow{letter-spacing:0;color:#9b9fa3}.import-progress{background:#f7f8f9}.filter-select{color:#747b80;border-radius:4px}.small{font-size:12px}
/* Three independently scrollable panes. The first is the sidebar. */
.split-workspace .workspace{display:grid;grid-template-columns:330px minmax(0,1fr);height:calc(100dvh - 46px);min-height:0}.split-workspace .content{padding:0;overflow:auto;min-width:0;border-right:1px solid #e6e8ea;overscroll-behavior:contain}.reading-pane[hidden]{display:none}.reading-pane{min-width:0;height:100%;overflow:auto;background:#fff;overscroll-behavior:contain}.reader-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:80%;color:#a2a7ab;text-align:center;padding:30px}.reader-empty>svg{width:38px;height:38px;stroke-width:1;margin-bottom:15px;color:#bcc1c4}.reader-empty h2{font-size:16px;color:#7d858a}.reader-empty p{font-size:12px;line-height:1.9}
.list-head{padding:12px 13px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px;justify-content:space-between;min-height:65px;background:#fff}.list-head>div{min-width:0}.list-head strong{font-size:14px;font-weight:500}.list-head small{display:block;margin-top:5px;color:#9a9fa4;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-head .btn{padding:4px}.split-workspace .compact-toolbar{display:flex;flex-wrap:wrap;padding:9px 12px;margin:0;gap:8px;border-bottom:1px solid var(--line)}.split-workspace .tabs{background:transparent;border:0;padding:0;gap:14px;order:0;width:100%;justify-content:flex-start}.split-workspace .tab{font-size:12px;padding:4px 0;border-radius:0;background:none;border-bottom:2px solid transparent;color:#91979b}.split-workspace .tab.active{background:none;color:#3f454a;box-shadow:none;border-bottom-color:#f1484a}.split-workspace .search{flex:1;min-width:120px;width:100%;margin:0;order:1}.search input{font-size:12px;border-color:#eaeced;border-radius:4px;background:#fafbfc;padding-top:8px;padding-bottom:8px}.split-workspace .search input{width:100%}.search svg{color:#a5aaae}.split-workspace .section-caption{margin:0;padding:8px 12px;font-size:11px;border-bottom:1px solid var(--line);color:#92989d}.split-workspace .mail-table{border:0;border-radius:0}.split-workspace .mail-row-heading{display:none}.split-workspace .mail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px 13px;border:0;border-bottom:1px solid var(--line);min-height:96px}.split-workspace .mail-row:hover{background:#f5f6f7}.split-workspace .mail-row.selected{background:#e6e8ea;box-shadow:inset 3px 0 #f1484a}.split-workspace .mail-address{grid-column:1/-1;font-size:13px;font-weight:600;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.split-workspace .mail-need{grid-column:1/-1;padding:0;line-height:1.7;font-size:12px;color:#737a80;-webkit-line-clamp:2;font-weight:400}.split-workspace .mail-need:hover{color:#30363b}.split-workspace .mail-wait{font-size:11px;color:#9a8a76;line-height:1.6}.split-workspace .mail-row .btn{padding:2px 6px;min-height:22px;border:1px solid #e1e3e5;background:#fff;color:#7b8186;font-size:11px;gap:4px}.split-workspace .mail-row .btn svg{width:12px;height:12px}.split-workspace .mail-row .btn:hover{color:#ee4547;border-color:#edabad}.split-workspace .empty{padding:35px 18px}.split-workspace .empty h3{font-size:14px;color:#70777d}.split-workspace .empty p{font-size:12px}.split-workspace .pagination{font-size:12px;gap:12px;margin:15px 8px}.split-workspace #history-search-form .filter-select{max-width:145px;padding:6px;font-size:11px;order:2}.split-workspace #history-search-form>button{order:3;font-size:11px;padding:6px 10px}
.reader-toolbar{display:flex;gap:10px;align-items:center;position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid var(--line);padding:7px 17px;min-height:44px}.reader-toolbar>strong{font-size:12px;font-weight:400;color:#8a9095}.reader-toolbar .btn{padding:5px 8px}.reader-toolbar .modal-close{margin-left:auto}.reading-pane .reply-grid{display:block;min-height:0}.reading-pane .reply-context,.reading-pane .reply-editor{max-height:none;overflow:visible;padding:20px 24px;border:0;background:#fff}.reading-pane .reply-context{border-bottom:1px solid var(--line)}.reading-pane .reply-editor{padding-top:24px}.reading-pane .card-meta{font-size:11px;margin-bottom:12px;color:#92979c;gap:7px}.reading-pane .reply-context h3{font-size:16px;font-weight:400;line-height:1.6;margin-bottom:10px}.reply-meta{color:#93989c;font-size:12px;line-height:1.8}.context-label{color:#92989c;letter-spacing:0;font-size:12px;margin:18px 0 8px}.mail-body{border:1px solid #eef0f1;background:#fff;border-radius:4px;color:#343a3f;font-size:13px;line-height:1.85;padding:16px}.reading-pane .reply-context>.mail-body{min-height:110px}.suggestion{background:#fafbfc;border:1px solid #eceff1;border-radius:4px;color:#6f7b86;font-size:12px;padding:10px 12px;margin-top:12px}.suggestion b{color:#7e8b96;font-size:12px}.reply-context .small.muted{color:#6f777d}.reply-context>details{font-size:12px;color:#8a9095}.editor-header strong{font-size:15px;font-weight:500}.draft-state{font-size:11px;color:#919aa2}.reply-editor label.field{font-size:12px;color:#848b90}.reply-editor label.field textarea,.reply-editor label.field input{border-color:#e5e8ea;font-size:13px;border-radius:4px;padding:9px 11px}.reply-editor .ai-actions{justify-content:flex-start;gap:10px;margin:10px 0 17px}.ai-actions .btn{color:#448ade;border-color:#c7dcf4}.ai-actions select{color:#777f86;border-color:#e3e7ea;font-size:12px;padding:7px;border-radius:4px}.check-label{font-size:12px;color:#7b848a}.reply-sendbar small{font-size:11px;color:#969da2;max-width:350px}.reply-sendbar{margin-top:15px}.reply-bottom{margin-top:15px}.sent-event{background:#f7f8f9}.attachment{background:#f1f4f7;color:#6488ad}.history-item{font-size:12px;color:#737c83}details{color:#6e7c88}label.field{color:#75808a}label.field input:focus,label.field textarea:focus,label.field select:focus{border-color:#9bbce1;box-shadow:0 0 0 2px #448ade0a}.check-label input{accent-color:#ed4749}.modal-head{padding:15px 20px}.modal-head h2{font-size:16px;font-weight:500}dialog{border-radius:6px;border-color:#e2e5e7}dialog::backdrop{background:#20252b50;backdrop-filter:none}.success-note{background:#edf7f2;color:#507c65}.settings-aside p{color:#858d94}.login-intro{background:#373c40}.login-intro .brand-mark{background:#f1484a;color:#fff}.login-intro .brand strong{font-weight:500;letter-spacing:0}.login-intro .eyebrow{color:#b4bbc0;letter-spacing:1px}.login-intro p{color:#b6bdc2}.login-intro h1{font-weight:400}.login-points{color:#c5c9cc}.login-form h2{font-size:23px;font-weight:400}
.panel-mode .main{margin-left:0}.panel-mode .content{max-width:none}.panel-mode .workspace{grid-template-columns:330px minmax(0,1fr)}.panel-mode:not(.split-workspace) .workspace{display:block}
@media(min-width:1650px){.split-workspace .workspace{grid-template-columns:360px minmax(0,1fr)}.reading-pane .reply-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.reading-pane .reply-context{border-right:1px solid var(--line);border-bottom:0}.reading-pane .reply-editor{border:0}}
@media(max-width:1000px){.sidebar{width:165px}.main{margin-left:165px}.split-workspace .workspace{grid-template-columns:285px minmax(0,1fr)}.reading-pane .reply-context,.reading-pane .reply-editor{padding:16px}.nav-btn{padding:9px 8px;font-size:12px}}
@media(max-width:880px){.sidebar{width:57px;padding:12px 5px}.main{margin-left:57px}.sidebar .nav-title,.sidebar .account-mini,.sidebar .nav-btn span{display:none}.sidebar .nav-btn{justify-content:center;padding:11px 8px}.top-brand{min-width:0}.split-workspace .workspace{grid-template-columns:270px minmax(0,1fr)}.reading-pane .reply-grid{display:block}.content{padding:18px}.split-workspace .mail-row .btn svg{display:inline}.split-workspace .compact-toolbar .search{order:1}}
@media(max-width:700px){.topbar{padding:0 12px;gap:12px}.top-brand strong{font-size:14px}.top-actions{width:auto;gap:10px}.top-user,.breadcrumb{display:none}.split-workspace .workspace{display:block;height:calc(100dvh - 46px)}.split-workspace .content{height:100%;border:0}.reading-pane:not(.has-message){display:none}.reading-pane.has-message{position:fixed;inset:46px 0 0 57px;height:auto;z-index:20}.panel-mode .reading-pane.has-message{left:0}.reader-toolbar{padding:7px 12px}.page-head .button-row{width:auto}.page-head h1{font-size:18px}.mailbox-grid{grid-template-columns:1fr}.split-workspace .mail-address,.split-workspace .mail-need{grid-column:1/-1}.split-workspace .mail-row{padding:13px 15px}.split-workspace .mail-row .btn{grid-column:2}.reply-sendbar{flex-wrap:wrap}.reading-pane .reply-sendbar .btn{margin-left:auto}.top-actions .manage-shortcut{font-size:11px;padding:3px}.top-actions .manage-shortcut svg{display:none}}

/* Local content categories in the requested list toolbar. */
.category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:10px 9px;border-bottom:1px solid var(--line);background:#fff}.category-tab{display:flex;align-items:center;justify-content:center;gap:4px;padding:8px 2px;border-radius:4px;color:#7c858c;font-size:12px;border:1px solid transparent;white-space:nowrap}.category-tab span{font-size:10px;color:#a1a6aa;min-width:10px}.category-tab:hover{background:#f4f5f6}.category-tab.active{background:#fff1f1;border-color:#f3d0d0;color:#dc4649}.category-tab.active span{color:#dc4649}.classification-note{margin:12px;font-size:11px;color:#a0a6ab;line-height:1.8}.category-control{margin:16px 0 8px;padding:10px 12px;background:#fafbfc;border:1px solid var(--line);border-radius:4px}.category-control label{display:flex;align-items:center;gap:12px;color:#8a9299;font-size:12px}.category-control select{font-size:12px;padding:5px 8px;border:1px solid #e1e5e8;border-radius:4px;color:#5c6770;background:white;max-width:180px}.category-control small{display:block;font-size:11px;color:#99a1a7;margin-top:7px;line-height:1.7}.split-workspace #category-search-form .search{min-width:140px}.split-workspace #category-search-form>button{order:2;padding:6px 9px;font-size:11px}

/* Click anywhere on a list row; keep the explicit reply button independent. */
.mail-row{cursor:pointer}.mail-row:focus-visible{outline:2px solid #dd6f70;outline-offset:-2px}.reading-pane .reply-grid{display:block!important}.reading-pane .reply-context{border-right:0;border-bottom:1px solid var(--line)}.reading-pane .reply-editor{border-top:0}/* Compact chronological correspondence, with distinct incoming/outgoing headers. */
.conversation-timeline{margin-top:12px;padding:10px;background:#f0f3f6;border:1px solid #dce3e9;border-radius:5px}
.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.timeline-heading strong{font-size:14px;font-weight:500}
.timeline-heading strong span{color:#92999f;font-size:12px;font-weight:400;margin-left:5px}
.timeline-heading small{color:#89939b;font-size:11px}
.conversation-message{padding:0;border:2px solid #a9bfd2;border-left:5px solid #5f8db5;border-radius:5px;margin-bottom:12px;background:#fff;overflow:hidden}
.conversation-message.outgoing{border-color:#a8c6b4;border-left-color:#5b9473;background:#fff}
.conversation-message.current-message{box-shadow:0 0 0 1px #5682a6}.conversation-message:last-child{margin-bottom:0}
.conversation-message-head{padding:8px 12px;background:#dfebf7;border-bottom:1px solid #a9bfd2}
.outgoing .conversation-message-head{background:#e1efe6;border-bottom-color:#a8c6b4}
.conversation-message header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 3px;font-size:11px;color:#617b92}
.outgoing header{color:#547762}
.conversation-message time{font-variant-numeric:tabular-nums}
.conversation-direction{font-weight:600;color:#376d9c}
.outgoing .conversation-direction{color:#347450}
.conversation-message header .pill{padding:2px 6px;font-size:10px}
.conversation-address{font-size:12px;line-height:1.5;color:#536b80;overflow-wrap:anywhere}
.outgoing .conversation-address{color:#526e5e}
.conversation-address span{margin:0 4px;color:#889baa}
.conversation-message h4{font-size:13px;line-height:1.5;font-weight:500;margin:3px 0 0;color:#364650;overflow-wrap:anywhere}
.conversation-message .mail-body{background:#fff;border:0;border-radius:0;padding:10px 12px;font-size:13px;min-height:0!important;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.conversation-delivery{font-size:11px;color:#78877e;padding:0 12px 8px}
.conversation-message>.attachment{margin:0 12px 8px}
.conversation-insights{margin-top:10px}
.conversation-insights summary{font-size:12px;color:#7a8792}
.conversation-insights .category-control{margin-top:8px}
.conversation-insights+.conversation-timeline{margin-top:12px}
.reading-pane .reply-context{padding:14px 18px}
.reading-pane .reply-context .card-meta{margin-bottom:7px}
.reading-pane .reply-context h3{margin-bottom:6px}
.reading-pane .reply-context>details{margin:8px 0;padding:0}
.reading-pane .reply-editor{padding-top:16px}
@media(max-width:700px){.reading-pane .reply-context{padding:12px}.timeline-heading{gap:5px}.conversation-address{font-size:11px}.conversation-message-head{padding:7px 10px}.conversation-message .mail-body{padding:8px 10px}}

/* Bilingual reading is separate from the sendable reply editor. */
.translation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 12px;border-bottom:1px solid #edf0f2;font-size:11px;color:#6c7883}
.translation-toolbar .btn{padding:3px 6px;font-size:11px;color:#3674a6}
.bilingual-pairs{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:10px 12px}
.bilingual-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;max-width:100%;min-width:0}
.bilingual-source,.bilingual-target{min-width:0;border-radius:5px}
.bilingual-source{padding:6px 10px;background:#fff}
.bilingual-target{padding:4px 10px;background:#faf9f2;border:1px solid #e8edef}
.language-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;color:#30383d}
.bilingual-target .language-text{font-size:12px;line-height:1.5;color:#59616a}
.translation-prefix{color:#87723c}
.translation-progress{font-size:11px;line-height:1.5;color:#88713e;padding:6px 12px}
.translation-progress:empty{display:none}
.mail-reading-content [hidden]{display:none!important}
@media(max-width:700px){.bilingual-pairs{padding:8px 10px;gap:8px}}

/* Keep the all-mail view separate after the six content categories. */
.category-tab[data-category="all"]:last-child{grid-column:1/-1;padding:5px 2px}

/* Draggable category tabs, including All. */
.category-tab{cursor:grab;user-select:none;position:relative}
.category-tab:active{cursor:grabbing}
.category-tab::before{content:'⠿';font-size:11px;line-height:1;color:#b0b7bd;flex-shrink:0}
.category-tab.category-dragging{opacity:.4}
.category-tab.category-drop-before{box-shadow:inset 3px 0 #e65b5d;background:#fff6f6}
.category-tab.category-drop-after{box-shadow:inset -3px 0 #e65b5d;background:#fff6f6}

/* Sharper separators also keep adjacent list items distinct. */
.split-workspace .mail-row{border-bottom-color:#d6dde3}

/* Compact sender, sent time and category; entire row opens the reader. */
.split-workspace .mail-row{grid-template-columns:minmax(0,1fr);gap:5px;min-height:68px;padding:12px 15px}
.split-workspace .mail-sent-time{display:block;grid-column:1/-1;font-size:11px;line-height:1.5;color:#7b848c;font-variant-numeric:tabular-nums}

.mail-row-meta{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;min-width:0}
.mail-category-badge{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid;border-radius:4px;font-size:11px;font-weight:500;line-height:1.4;white-space:nowrap}
.mail-category-badge.category-alibaba{color:#97510c;background:#fff3e3;border-color:#efc998}
.mail-category-badge.category-inquiry{color:#245e9a;background:#eaf3ff;border-color:#bcd2ef}
.mail-category-badge.category-support{color:#aa343b;background:#fff0f0;border-color:#efbfc2}
.mail-category-badge.category-spam{color:#59616a;background:#f0f2f4;border-color:#d1d6dc}
.mail-category-badge.category-daily{color:#256d5a;background:#eaf7f1;border-color:#b9dfd1}
.mail-category-badge.category-other{color:#6e5297;background:#f3eefb;border-color:#d9cbed}

.mail-sender-line{display:flex;align-items:center;gap:7px;min-width:0}
.mail-sender-line .mail-address{min-width:0;flex:1}
.mail-sequence{flex-shrink:0;font-size:11px;line-height:1.5;font-weight:500;color:#697581;background:#eef1f4;border-radius:3px;padding:1px 5px;font-variant-numeric:tabular-nums}

.sequence-help{margin:8px 14px 16px;color:#7b848c;font-size:11px;line-height:1.7}
.sequence-help summary{cursor:pointer}.sequence-help p{margin:6px 0}

/* Mailbox folders: reorder without switching away from an open draft. */
.folder-item{position:relative;cursor:grab;user-select:none;padding-right:22px}
.folder-item::after{content:'⠿';position:absolute;right:7px;color:#aab2b8;font-size:12px}
.folder-item:active{cursor:grabbing}.folder-dragging{opacity:.4}
.folder-drop-before{box-shadow:inset 0 3px #ed5559}.folder-drop-after{box-shadow:inset 0 -3px #ed5559}
.account-mini[data-account]{touch-action:none;cursor:grab;user-select:none}.account-mini[data-account]:active{cursor:grabbing}.account-dragging{opacity:.4}.account-drop-before{box-shadow:inset 0 3px #ed5559}.account-drop-after{box-shadow:inset 0 -3px #ed5559}.account-default{font-size:10px;color:#ae7778;font-weight:400}.account-mini.selected .account-default{color:#db6668}
.statistics-panel{max-width:1150px;border:1px solid #e5e9ec;border-radius:8px;padding:22px;background:#fff}.statistics-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.statistics-shortcuts .selected{border-color:#f0a1a4;color:#d94449;background:#fff2f2}.statistics-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px}.statistics-filters label{font-size:12px;color:#6b747a;min-width:135px}.statistics-filters input,.statistics-filters select{display:block;margin-top:6px;padding:8px;border:1px solid #dfe4e7;border-radius:4px;background:#fff;color:#303438;max-width:220px;width:100%}.statistics-total{display:flex;align-items:baseline;gap:12px;padding:15px 0;border-top:1px solid #edf0f1}.statistics-total strong{font-size:28px;color:#e4484c}.statistics-total span{color:#777f84}.statistics-table{overflow-x:auto}.statistics-row{display:grid;grid-template-columns:minmax(125px,2fr) repeat(4,minmax(68px,1fr)) minmax(120px,1.4fr);gap:12px;align-items:center;min-width:620px;padding:12px 8px;border-bottom:1px solid #edf0f1}.statistics-row strong{font-variant-numeric:tabular-nums}.statistics-heading{color:#7f8990;font-size:12px;background:#f7f8f9}.statistics-row .mail-category-badge{justify-self:start}.statistics-panel .form-note{margin:16px 0 0}
.statistics-subtitle{font-size:15px;margin:24px 0 10px}.statistics-team-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf0f1}.statistics-member-form{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:420px;margin-top:22px}.statistics-member-form h3{font-size:15px;margin:0}.statistics-member-form label{width:100%;font-size:12px;color:#6b747a}.statistics-member-form input{display:block;width:100%;margin-top:6px;padding:9px;border:1px solid #dfe4e7;border-radius:4px}.statistics-member-form .form-note{line-height:1.6}
.staff-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:14px}.staff-stat-card{border:1px solid #dfe5e8;border-radius:8px;padding:16px;background:#fcfdfd}.staff-stat-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.staff-stat-head h4{margin:0 0 4px;font-size:16px}.staff-stat-head small{display:block;color:#7b848c;overflow-wrap:anywhere}.staff-stat-head .btn{flex:none}.staff-stat-metrics{display:flex;flex-wrap:wrap;gap:10px 16px;padding:15px 0;font-size:12px;color:#6b747a}.staff-stat-metrics strong{display:block;font-size:17px;color:#303438}.staff-stat-categories{display:flex;flex-wrap:wrap;gap:7px}.staff-record-panel{max-width:900px;max-height:70vh;overflow:auto;padding:16px 22px}.staff-mail-row{display:flex;justify-content:space-between;gap:18px;width:100%;padding:12px 4px;text-align:left;border:0;border-bottom:1px solid #e8ecef;background:#fff;color:#303438;cursor:pointer}.staff-mail-row:hover{background:#f5f8f9}.staff-mail-row span{min-width:0;overflow-wrap:anywhere}.staff-mail-row small,.staff-sent-item small{display:block;margin-top:4px;color:#7b848c}.staff-record-panel .mail-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;padding:12px 0}.staff-sent-item{border-top:1px solid #e8ecef;padding-top:12px;margin-top:12px}@media(max-width:680px){.staff-stat-head,.staff-mail-row{flex-direction:column}}
.staff-stat-categories{display:block}.staff-stat-category{display:grid;grid-template-columns:minmax(95px,1.6fr) repeat(3,minmax(48px,1fr));gap:8px;align-items:center;padding:7px 0;border-top:1px solid #edf0f1;font-size:11px;color:#6b747a}.staff-stat-category strong{text-align:right;color:#303438}
.statistics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.statistics-metric{padding:16px;background:#f7f9fa;border:1px solid #e4e9ec;border-radius:8px}.statistics-metric span{display:block;color:#687680;font-size:12px}.statistics-metric strong{display:block;margin-top:6px;color:#253941;font-size:23px;font-variant-numeric:tabular-nums}.statistics-breakdown{margin-top:20px;border-top:1px solid #e4e9ec;padding-top:15px}.statistics-breakdown summary{cursor:pointer;font-weight:600;color:#354650}.statistics-breakdown .statistics-table{margin-top:12px}.team-account-list{display:grid;gap:10px}.team-account-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid #e2e7ea;border-radius:7px}.team-account-card strong,.team-account-card span,.team-account-card small{display:block}.team-account-card .button-row{flex-wrap:wrap}.deleted-filter{display:block;max-width:260px;color:#687680;font-size:12px}.deleted-filter select{display:block;width:100%;padding:8px;margin-top:5px;border:1px solid #dfe4e7;border-radius:5px;background:#fff}.acting-label{margin-left:14px;color:#b24732;font-size:12px;font-weight:600}.acting-exit{margin-left:10px;background:#fff3ee;border-color:#eac0ad;color:#9d452e}.reader-toolbar .danger,.modal-head .danger{margin-left:auto}@media(max-width:760px){.statistics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.team-account-card{display:block}.team-account-card .button-row{margin-top:12px}}
.nav-title small{font-size:10px;font-weight:400;margin-left:6px;color:#9aa2a8}
.folder-item[data-folder="urgent"] .count{color:#b83b41;background:#fff0f0}
.list-explanation{font-size:11px;line-height:1.6;color:#7b848c;margin:0;padding:9px 15px;border-bottom:1px solid #e8ecef}
.urgent-reason{font-size:11px;color:#b35a24;line-height:1.5}

.folder-item{touch-action:none}

.mail-category-badge.category-payment{color:#8a5b16;background:#fff6df;border-color:#e9cf91}
.requirements-panel{margin:16px 0;border:1px solid #cdd9e4;border-radius:6px;padding:14px;background:#f8fafc}
.reply-suggestions{margin:16px 0;border:1px solid #cdd9e4;border-radius:6px;padding:14px;background:#fff}.reply-suggestions .requirements-heading{align-items:center}.suggestion-summary{margin:12px 0;padding:10px 12px;border-left:3px solid #4d7896;background:#f2f7fa;line-height:1.55}.reply-suggestion-card{margin:10px 0;padding:12px;border:1px solid #dce5eb;border-radius:6px;background:#fbfcfd}.reply-suggestion-card header{display:flex;justify-content:space-between;align-items:center;gap:12px}.suggestion-reason{color:#607280;font-size:13px;margin:6px 0}.suggestion-body{white-space:pre-wrap;line-height:1.55;margin:10px 0}.reply-suggestion-card blockquote{border-left:2px solid #c8d7e1;margin:8px 0;padding-left:9px;font-size:13px;color:#576b79}.reply-suggestion-card blockquote small{display:block;margin-top:4px}.suggestion-checks{padding:9px 12px;background:#fff8ed;border:1px solid #e9d7b4;border-radius:5px}.suggestion-checks ol{margin:5px 0 0;padding-left:22px}
.reply-suggestions .field{margin:12px 0 8px}.reply-suggestions textarea{display:block;width:100%;min-height:100px;resize:vertical;line-height:1.5;background:#fff}.reply-suggestions .button-row{align-items:center;flex-wrap:wrap;gap:8px}
.requirements-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.requirements-heading strong{font-size:16px}
.requirements-panel .button-row{flex-wrap:wrap;gap:8px;margin:10px 0}.requirements-panel .form-note{margin:8px 0}
.requirements-table-wrap{overflow-x:auto}.requirements-table{width:100%;border-collapse:collapse;background:white;table-layout:fixed;font-size:13px}
.requirements-table th,.requirements-table td{border:1px solid #d9e0e7;padding:8px;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.requirements-table th:first-child{width:20%}.requirements-table th:last-child{width:28%}.requirements-table thead{background:#edf2f6;color:#536574}
.requirements-table textarea{width:100%;min-height:56px;resize:vertical;border:1px solid #dce3e9;border-radius:3px;padding:6px;line-height:1.5;font:inherit;box-sizing:border-box}
.requirement-status{display:block;font-size:11px;color:#87703e;font-weight:400;margin-top:5px}.requirements-table details{margin:0 0 5px}.requirements-table summary{font-size:12px}.requirements-table blockquote{margin:6px 0;padding-left:8px;border-left:2px solid #bdcedd;color:#647482;white-space:pre-wrap}
@media(max-width:900px){.requirements-table th:first-child{width:22%}.requirements-table th:last-child{width:24%}}
.requirement-history{margin:12px 0 18px}.requirement-history h4,.requirements-final-heading{margin:10px 0;font-size:14px}.requirement-history h4 small,.requirements-final-heading small{font-weight:400;font-size:12px;color:#7c8791;margin-left:8px}
.requirement-history ol{list-style:none;padding:0 0 0 12px;margin:0;border-left:2px solid #c4d7e7}.requirement-history li{margin:0 0 10px;padding:10px;border:1px solid #dbe4ec;background:white;border-radius:4px}.requirement-history header{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:#647482}.requirement-history header .btn{margin-left:auto}.requirement-change{border-top:1px solid #edf0f3;padding-top:8px;margin-top:8px;font-size:13px}.requirement-change p{margin:5px 0;white-space:pre-wrap;line-height:1.5}.requirement-change .change-before{color:#7a858e}.requirement-change blockquote{margin:6px 0;padding-left:8px;border-left:2px solid #c8d9e7;white-space:pre-wrap}.requirement-change summary{font-size:12px;color:#647482}.change-kind{display:inline-block;margin-right:8px;padding:2px 6px;background:#eef3f8;color:#4f6e89;border-radius:3px;font-size:11px}.change-cancel,.change-conflict{background:#fff0ed;color:#a65840}.change-add,.change-confirm{background:#eaf5f1;color:#387762}
/* Compact reading-first customer brief, between correspondence and composer. */
.compact-requirements{margin:0 0 18px;padding:12px;background:#f9fafb;border-color:#d7dfe6;font-size:13px;line-height:1.55}
.compact-requirements h4{font-size:13px;margin:0 0 4px;color:#39434c}
.compact-requirements .button-row{margin:8px 0;align-items:center;gap:6px}
.compact-requirements .btn{font-size:12px;padding:5px 9px}
.brief-overview{padding:9px 0;border-top:1px solid #e1e6eb}
.brief-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0!important;line-height:1.55;color:#35404a}
.brief-device{display:grid;grid-template-columns:135px minmax(0,1fr);gap:10px;border-top:1px solid #e3e7eb;padding:8px 0}
.brief-device-name{color:#365c7b;overflow-wrap:anywhere}
.brief-line{border-top:1px solid #e3e7eb;padding:8px 0}
.brief-evidence,.brief-timeline{margin:5px 0!important;font-size:12px;color:#6c7c89}
.brief-evidence blockquote{white-space:pre-wrap;margin:5px 0;padding:5px 8px;border-left:2px solid #c6d5e0}
.brief-review{display:block;color:#96713f;margin-top:4px}
.brief-footer{font-size:11px;color:#8b949c;margin-top:6px}
.compact-requirements textarea{font:inherit;line-height:1.55;width:100%;min-height:40px;max-height:none!important;padding:5px 6px;box-sizing:border-box;resize:vertical;overflow:hidden}
.compact-requirements input{width:100%;box-sizing:border-box;font:inherit;padding:5px}
.compact-requirements .requirement-history{margin:6px 0}.compact-requirements .requirement-history li{padding:7px;margin-bottom:5px}
.compact-requirements .requirement-change{margin-top:5px;padding-top:5px}.compact-requirements .requirement-change p{margin:3px 0}
@media(max-width:700px){.brief-device{grid-template-columns:1fr;gap:4px}}
.brief-specs{margin:4px 0!important}.brief-specs>summary{font-size:12px;color:#54748b}.brief-specs .brief-text{margin-top:5px!important}

/* Compact numbered configuration lists; special requirements expand on demand. */
.brief-numbered{margin:2px 0 5px;padding-left:23px;line-height:1.5}
.brief-numbered li{padding:1px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.brief-configurations h5{font-size:12px;margin:6px 0 2px;color:#677783}
.brief-special{margin:6px 0 4px;border-top:1px dashed #dce2e7;padding-top:5px}
.brief-special summary{cursor:pointer;color:#3e7197;font-size:12px}
.brief-device-field{display:block;margin-bottom:6px;font-size:12px;color:#677783}

/* Unanswered customer requests keep a compact, distinct elapsed-time line. */
.mail-reply-wait{font-size:11px;line-height:1.5;color:#996021;font-variant-numeric:tabular-nums}
.mail-reply-status{font-size:11px;line-height:1.5;color:#6b8277}

/* Review-first reply assistant, above the customer draft. */
.reply-assistant{border:1px solid #dce2e7;border-radius:6px;padding:14px;margin:12px 0;background:#fafbfc;font-size:13px;line-height:1.6}.reply-assistant .button-row{margin:8px 0;gap:8px;flex-wrap:wrap}.reply-assistant .field{margin:10px 0;gap:4px}.reply-assistant textarea{min-height:64px;padding:8px;line-height:1.55;font-size:13px}.reply-assistant h4{margin:12px 0 6px}.reply-assistant details{margin:6px 0}.reply-assistant blockquote{margin:5px 0;border-left:2px solid #b8c6d0;padding-left:8px;white-space:pre-wrap}.assistant-question{border-top:1px solid #e1e6eb;padding:6px 0}.assistant-question small{display:block;color:#7c8791;font-weight:400}.assistant-question .check-label{margin:5px 0}.assistant-suggestion{padding:6px 0}.assistant-suggestion p,.assistant-overview{margin:6px 0}#assistant-feedback{font-size:12px;margin:6px 0}.reply-assistant [hidden]{display:none}.reply-assistant .error-note{margin:6px 0}
.reply-assistant .editor-header{margin-bottom:6px}.reply-editor .reply-assistant label.field{color:#48515a;margin:6px 0;font-size:13px}.reply-assistant details summary{padding:2px 0}.reply-assistant .assistant-question textarea{min-height:48px;height:48px;margin-top:4px}.reply-assistant .assistant-question{padding:5px 0}.reply-assistant .assistant-question .check-label{margin:3px 0}

.catalog-browser{margin-top:18px}.catalog-item{border-bottom:1px solid #dce1e5;padding:12px 0}.catalog-item summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer}.catalog-item p,.catalog-item li{margin:6px 0;font-size:14px}.catalog-item summary span{color:#687581;font-size:13px}.catalog-item h4{margin:14px 0 7px}.catalog-counts{font-weight:600}.assistant-catalog{margin:12px 0;padding:10px;background:#f6f8fa}.catalog-quote{border-top:1px solid #dce1e5;padding:10px 0}.catalog-quote p{margin:4px 0;font-size:13px}

#catalog-import[hidden]{display:none}

.assistant-question.has-conflict{border-left:3px solid #b78b44;padding-left:12px}.assistant-conflict{font-size:13px;margin:5px 0}.assistant-conflict blockquote{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto}.conflict-label{color:#89672f}.reply-assistant .editor-header h4{margin:10px 0}#assistant-basis{min-height:150px;max-height:400px;line-height:1.65}

.review-actions,.review-entry,.followup-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #e3e7eb}.review-row{display:flex;border-bottom:1px solid #d5dce4}.review-row .mail-row{flex:1;min-width:0;border-bottom:0}.review-check{padding:20px 6px 0 12px}.followup-row-actions{padding:8px 0 0;border:0;font-size:12px;color:#667786}.followup-log{margin-top:16px}.followup-log p{padding:8px 0;border-top:1px solid #e3e7eb;white-space:pre-wrap}

/* One compact workflow: needs, catalog evidence, editable outline, confirmations. */
.assistant-device{padding:7px 0;border-bottom:1px solid #e1e6eb}.assistant-device .brief-numbered{margin:3px 0;padding-left:22px}.assistant-device h5{margin:5px 0 2px}.assistant-device .brief-line{margin:4px 0}.assistant-comparison{padding:6px 0;border-bottom:1px solid #e1e6eb}.assistant-comparison>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.assistant-comparison p{margin:3px 0}.comparison-status{font-size:12px;white-space:nowrap;color:#89672f}.comparison-status.referenced{color:#537a63}.assistant-comparisons blockquote{max-height:150px;overflow:auto;overflow-wrap:anywhere}.legacy-needs{font-size:12px;color:#75818b;margin:8px 0}.assistant-needs .brief-line{display:block;margin:6px 0}.assistant-needs .brief-numbered{margin:4px 0}.assistant-needs .brief-timeline{margin:8px 0}

#reply-assistant{scroll-margin-top:60px}#reply-assistant:focus{outline:none}.reply-extra{margin:8px 0}.reply-extra>summary{font-size:13px;color:#75818b;cursor:pointer}

/* Two separate reading steps: confirmed answers stay next to the customer need. */
.workflow-step{border:1px solid #dbe3e9;border-radius:9px;background:#fff;padding:16px;margin:12px 0;box-shadow:0 2px 12px #263b4a08}
.workflow-step .requirements-heading,.workflow-step>.editor-header:first-child{padding-bottom:10px;border-bottom:1px solid #e7edf0;align-items:center}
.workflow-step .requirements-heading strong,.workflow-step>.editor-header:first-child strong{font-size:15px;color:#273b49}
.workflow-step .button-row{margin:10px 0 8px}
.workflow-step .button-row .btn{padding:7px 11px}
.workflow-step-head{display:flex;align-items:center;gap:11px;padding-bottom:10px;border-bottom:1px solid #e7edf0}
.workflow-step-head strong{display:block;font-size:15px;color:#273b49}
.workflow-step-head small{display:block;color:#73828d;font-size:11px;line-height:1.5}
.workflow-step-head #requirements-state,.workflow-step-head #assistant-save-state{margin-left:auto;white-space:nowrap}
.workflow-step-number{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:7px;background:#eaf1f8;color:#426d91;font-weight:700;font-size:12px}
#reply-assistant .workflow-step-number{background:#f5eee5;color:#8a653e}
.requirement-matches{margin-top:8px;padding:7px 10px;background:#f0f7f2;border-left:3px solid #6b9a77;border-radius:4px}
.requirement-matches h5{margin:0 0 4px;color:#3f7555;font-size:11px}
.requirement-matches p{margin:3px 0;color:#405d4c;font-size:12px;line-height:1.55}
.requirement-matches span{margin-right:6px;color:#38845b}
.workflow-step .brief-device{padding:8px 0}
.workflow-step .brief-footer{font-size:11px;line-height:1.5}
.workflow-step .brief-device{grid-template-columns:110px minmax(0,1fr);gap:14px}
.workflow-step .brief-device-name{font-size:14px;line-height:1.45;color:#305f82}
.brief-model-status{display:block;margin-top:4px;font-size:11px;font-weight:500;color:#3e7853}
.brief-model-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 0;border-top:1px solid #e3e7eb;font-size:12px;color:#697985}
.brief-model-chip{display:inline-flex;align-items:center;padding:3px 9px;border:1px solid #d8e4ed;border-radius:6px;background:#f4f8fb;color:#315f80;font-weight:700}
.brief-model-chip small{margin-left:6px;font-weight:500;color:#3e7853}
.brief-model-list .brief-evidence{width:100%;margin-top:2px}
.brief-model-price{margin:0 0 5px;color:#3e7853;font-size:12px;line-height:1.5}
.workflow-step .brief-device-content{min-width:0}
.requirement-item-list{margin:0;padding:0;list-style:none;counter-reset:requirement}
.requirement-item{counter-increment:requirement;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;border-bottom:1px solid #e8edf1;padding:7px 0}
.requirement-item:last-child{border-bottom:0}
.requirement-item-text{display:flex;gap:7px;color:#35404a;overflow-wrap:anywhere}
.requirement-item-text:before{content:counter(requirement) '.';flex:none;font-weight:650;color:#688094}
.requirement-item-answer{display:flex;align-items:center;gap:8px;margin-left:20px;font-size:12px;line-height:1.45;color:#3e7152;overflow-wrap:anywhere}
.requirement-match-label,.requirement-pending-label{flex:none;font-size:11px;font-weight:650}
.requirement-item-unmatched{color:#a36a27}
.requirement-answer-blank{display:inline-block;min-width:70px;height:13px;border-bottom:1px dashed #d6a66e}
.requirement-supplement{margin:5px 0 4px 20px;max-width:760px}.requirement-supplement textarea{min-height:38px!important;line-height:1.4}.requirement-supplement-actions{display:flex;gap:6px;align-items:center;margin-top:4px}.requirement-supplement-actions label{cursor:pointer}.requirement-supplement-files{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.requirement-supplement-files span{background:#edf3f6;border-radius:4px;padding:2px 6px;font-size:11px}.requirement-supplement-files .btn{padding:0 3px!important}.requirement-item-answer:has(.requirement-pending-label){color:#ad712c}.requirement-item-answer:has(.requirement-pending-label):has(+.requirement-supplement) .requirement-pending-label{background:#fff5e8;padding:1px 5px;border-radius:3px}
.requirement-item-confirmed.requirement-item-answer{color:#3e7853}.requirement-item-confirmed .requirement-pending-label{background:#edf7ef!important}
.requirements-supplement{margin-top:12px;padding:12px;border:1px solid #d8e2e9;border-radius:7px;background:#f7fafc}.requirements-supplement h4{margin:0 0 6px}.supplement-prompts{margin:4px 0 10px;padding:0;list-style:none}.supplement-prompts li{display:flex;gap:7px;padding:3px 0;border-bottom:1px solid #e6edf1;font-size:12px;line-height:1.45}.supplement-prompts b{color:#496f8a}.requirements-supplement .field{margin:8px 0}.requirements-supplement textarea{min-height:105px!important;max-height:240px!important;overflow:auto;background:#fff}.requirements-supplement-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:7px 0}.requirements-supplement-actions label{cursor:pointer}.requirements-supplement .small{margin:6px 0 0}
.requirement-group-title{font-size:12px;color:#667887;margin:8px 0 2px}
@media(max-width:700px){.workflow-step .brief-device{grid-template-columns:1fr;gap:3px}.requirement-item-answer{margin-left:20px}}

.bilingual-review{border-top:1px solid #dce2e7;padding-top:12px;margin:12px 0}.bilingual-review h4{margin:4px 0}#reply-chinese{width:100%;min-height:240px;font:inherit;line-height:1.65;padding:12px}.bilingual-file-check{border-bottom:1px solid #dce2e7;padding:6px 0;font-size:13px}.bilingual-file-check p{margin:4px 0}#bilingual-feedback{font-size:13px;margin:8px 0}
.bilingual-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.bilingual-title h4{margin:0}.bilingual-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.bilingual-column{min-width:0;margin:0!important}.bilingual-column strong{display:block;font-size:12px;color:#61727e;margin-bottom:5px}.bilingual-column #reply-chinese,.bilingual-column #reply-body{height:205px;min-height:205px;max-height:205px;overflow:auto;line-height:1.55;font-size:13px;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #dce3e7;border-radius:5px;background:#fff}.bilingual-column #reply-chinese{resize:vertical}.review-attachments{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0}.review-attachments .attachment{margin:0;padding:5px 8px}.missing-attachment-choice{background:#fff7ec;border:1px solid #edc996;border-radius:6px;padding:10px 12px;margin:10px 0;font-size:12px}.missing-attachment-choice p{margin:5px 0}.missing-attachment-choice .button-row{margin-top:7px}#review-apply-reply{margin-top:8px}#review-send-result{margin-top:8px}@media(max-width:900px){.bilingual-columns{grid-template-columns:1fr}.bilingual-column #reply-chinese,.bilingual-column #reply-body{height:180px;min-height:180px;max-height:180px}}
.bilingual-column #reply-chinese,.bilingual-column #reply-body{height:auto;min-height:180px;max-height:none;overflow:visible;line-height:1.6;font-size:13px;padding:12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}.bilingual-column #reply-chinese,.bilingual-column #reply-body{resize:vertical;field-sizing:content}.bilingual-column #reply-body{font-family:inherit;color:#30383d}.bilingual-review .bilingual-columns{align-items:stretch}.bilingual-review .bilingual-column{display:flex;flex-direction:column}.bilingual-review .bilingual-column #reply-chinese,.bilingual-review .bilingual-column #reply-body{flex:1}
.bilingual-column .bilingual-update-btn{display:inline-flex;align-self:flex-start;align-items:center;gap:7px;margin-top:10px;padding:9px 14px;border:1px solid #2f6b93;border-radius:5px;background:#eaf4fb;color:#205d82;font-size:13px;font-weight:700;box-shadow:0 1px 3px #194c6b1a}
.bilingual-column .bilingual-update-btn:hover{background:#d7ebf8;border-color:#205d82}
.bilingual-column .bilingual-update-btn:focus-visible{outline:3px solid #83bce0;outline-offset:2px}
.bilingual-column #reply-body[readonly]{background:#fbfcfd;color:#30383d}
/* Mail selection stays separate from opening a row. */
.bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 12px;border-bottom:1px solid var(--line);background:#f8fafb}
.bulk-toolbar .btn{font-size:11px;padding:5px 8px;min-height:28px}
.bulk-count{font-size:11px;color:#68737d;margin-right:auto;white-space:nowrap}
.mail-row{position:relative;padding-right:38px!important}
.bulk-select{position:absolute;right:12px;top:14px;width:17px;height:17px;z-index:2;cursor:pointer;accent-color:#f1484a}
