:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:100%;line-height:1.5;color:#1d2026;background:#f6f7fa;font-synthesis:none;--blue:#007aff;--ink:#1d2026;--muted:#7a8291;--line:#e1e5ec;--panel:#fff;--sidebar:#f0f3f8;--tint:#e7f1ff;--shadow:0 0.5rem 2rem #24334f0c}
*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;font-kerning:normal;letter-spacing:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:0.25rem}button{color:inherit}h1,h2,h3,p{margin:0}button,input,textarea,select{outline-offset:0.1875rem}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:0.1875rem solid #007aff45}[hidden]{display:none!important}button:active:not(:disabled){transform:translateY(0.0625rem)}button:active{transition:none}.icon{width:1.1875rem;height:1.1875rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}.muted{color:var(--muted)}.grow{flex:1;min-width:0}.nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.small{font-size:0.75rem}.skip-link{position:fixed;left:0.9375rem;top:-3.75rem;background:white;z-index:100;padding:0.625rem}.skip-link:focus{top:0.625rem}.row{display:flex;align-items:center;gap:0.75rem}.between{display:flex;align-items:center;justify-content:space-between;gap:0.9375rem}.brand{display:flex;align-items:center;gap:0.6875rem;font-size:1.4375rem;font-weight:600;letter-spacing:-0.0375rem;color:#111822}.brand-mark{width:2.125rem;height:2.125rem;display:inline-grid;place-items:center;border-radius:50%;background:#073e48;color:white;position:relative;flex:none}.brand-mark svg{width:1.75rem;height:1.75rem}.brand small{display:block;font-size:0.75rem;font-weight:400;letter-spacing:0;margin-top:0;color:#4e5a69}.btn,.icon-btn,.nav-item,.segment,.ticket-tab{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;border:0.0625rem solid #d7dce5;background:#fff;border-radius:0.4375rem;padding:0.5rem 0.8125rem;min-height:2.1875rem;white-space:nowrap;transition:background .13s,border-color .13s,color .13s;box-shadow:0 0.0625rem 0.125rem #1d294205;font-weight:500}.btn:hover,.icon-btn:hover{background:#f6f8fb}.btn.primary{background:var(--blue);color:white;border-color:var(--blue)}.btn.primary:hover{background:#006ae0}.btn.blue-outline{color:var(--blue);border-color:#91c0ff;background:#fff}.btn.subtle{background:transparent;box-shadow:none}.btn.danger{color:#b42b38;border-color:#ecc9ce}.icon-btn{width:2.0625rem;height:2.0625rem;padding:0;min-height:2.0625rem}.icon-btn.plain{background:transparent;border-color:transparent;box-shadow:none}.link-btn{background:none;border:0;color:var(--blue);padding:0.25rem 0;display:inline-flex;align-items:center;gap:0.375rem;cursor:pointer}.tag{display:inline-flex;align-items:center;justify-content:center;gap:0.3125rem;font-size:0.6875rem;line-height:1.35;font-weight:500;padding:0.25rem 0.5rem;border-radius:0.3125rem;white-space:nowrap;color:#687080;background:#eef0f4}.tag.blue{background:#e1edff;color:#0071ed}.tag.amber{background:#fff0d8;color:#b96c05}.tag.green{background:#e8f4ee;color:#358360}.tag.red{background:#ffebe9;color:#c74242}.demo-badge{background:#eef0f5;border:0.0625rem solid #e8eaf0;border-radius:0.375rem;padding:0.375rem 0.625rem;font-size:0.6875rem;color:#5f697b;white-space:nowrap}.count-red{background:#d8444b;color:#fff;font-size:0.6875rem;line-height:1.125rem;padding:0 0.3125rem;border-radius:0.3125rem;margin-left:auto}.dot{width:0.5rem;height:0.5rem;border-radius:50%;display:inline-block;flex:none}.avatar{width:1.8125rem;height:1.8125rem;border-radius:50%;background:#e8ebf1;color:#919aa8;display:inline-grid;place-items:center;flex:none}.avatar .icon{width:1.1875rem;height:1.1875rem}.avatar.agent{color:var(--blue);background:#e2eeff}.avatar.admin{background:#8d9bb3;color:#fff}.avatar.big{width:2.0625rem;height:2.0625rem}.field,.search-field,select,textarea{border:0.0625rem solid #d5dbe5;border-radius:0.4375rem;background:#fff;color:var(--ink)}.field{min-height:2.375rem;padding:0.5rem 0.6875rem;width:100%}.search-field{display:flex;align-items:center;gap:0.5rem;padding:0.4375rem 0.6875rem;min-height:2.25rem;color:#7d8593;background:#ffffffb3}.search-field input{border:0;background:transparent;outline:0;min-width:0;width:100%;font-size:0.75rem;color:#485363}.search-field .icon{width:1.0625rem;height:1.0625rem}select{padding:0.4375rem 1.75rem 0.4375rem 0.625rem;min-height:2.1875rem;max-width:100%}textarea{resize:vertical;padding:0.75rem;line-height:1.7;width:100%;min-height:6.25rem}.empty{padding:2.8125rem 1.5rem;text-align:center;color:var(--muted);font-size:0.8125rem}.section-title{font-size:1rem;font-weight:600;letter-spacing:-0.0125rem}.admin-shell{display:grid;grid-template-columns:13rem minmax(0,1fr);min-height:100svh}.admin-sidebar{position:sticky;top:0;height:100svh;overflow:auto;display:flex;flex-direction:column;padding:1.25rem 0.75rem 1rem;background:#edf1f7e6;border-right:0.0625rem solid #e3e7ee;backdrop-filter:blur(1.375rem) saturate(130%)}.admin-sidebar>.brand{margin:0 0.5625rem 1.75rem}.nav-group{display:grid;gap:0.25rem}.nav-item{justify-content:flex-start;background:transparent;border-color:transparent;box-shadow:none;padding:0.5625rem 0.8125rem;min-height:2.5rem;font-size:0.8125rem;font-weight:500;border-radius:0.4375rem;text-align:left}.nav-item:hover{background:#e4eaf2}.nav-item.active{background:#dceaff;color:#0074f5}.nav-item .icon{width:1.1875rem;height:1.1875rem}.sidebar-rule{height:0.0625rem;background:#dce2eb;margin:1.125rem 0.5rem}.sidebar-label{font-size:0.75rem;font-weight:600;display:flex;align-items:center;justify-content:space-between;padding:0 0.5625rem;margin-bottom:0.75rem}.sidebar-label .icon-btn{width:1.5rem;min-height:1.5rem;height:1.5rem;background:#ffffff58;border-color:#d3dbe8}.sidebar-label .icon{width:0.875rem;height:0.875rem}.category-nav{display:flex;align-items:center;gap:0.6875rem;padding:0.5625rem 0.75rem;width:100%;font-size:0.75rem;border:0;background:none;border-radius:0.375rem;text-align:left;cursor:pointer}.category-nav:hover,.category-nav.active{background:#e1e9f5}.sidebar-bottom{margin-top:auto;padding-top:2rem}.sidebar-bottom .nav-item{width:100%}.sidebar-profile{display:flex;align-items:center;gap:0.625rem;padding:0.9375rem 0.5rem 0.375rem;border-top:0.0625rem solid #dce2eb;font-size:0.75rem}.admin-main{padding:0 1.625rem 1.625rem;min-width:0}.admin-topbar{min-height:4.0625rem;display:flex;align-items:center;gap:1rem}.breadcrumb{font-size:0.75rem;color:#4c5666}.breadcrumb span{color:#a0a8b5;margin:0 0.625rem}.admin-topbar .search-field{margin-left:auto;width:min(21.875rem,42%)}.mobile-menu{display:none}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin:0.1875rem 0 1.375rem}.admin-header h1{font-size:1.6875rem;line-height:1.25;letter-spacing:-0.05625rem;font-weight:600}.admin-header p{font-size:0.75rem;color:#6d7686;margin-top:0.4375rem}.header-actions{display:flex;gap:0.625rem;align-items:center}.header-actions select{font-size:0.75rem}.header-actions .btn{font-size:0.75rem}.metrics{background:#ffffffd9;border:0.0625rem solid #dfe4ed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:0.5rem;padding:1rem 0;margin-bottom:1rem;box-shadow:0 0.0625rem 0.1875rem #24334f02}.metric{padding:0 1.4375rem;position:relative}.metric+.metric{border-left:0.0625rem solid #e2e6ee}.metric-label{font-size:0.75rem;font-weight:500;margin-bottom:0.4375rem}.metric-value{font-size:2.0625rem;line-height:1.2;font-weight:600;letter-spacing:-0.0625rem;font-variant-numeric:tabular-nums}.metric-value .unit{font-size:1.4375rem;font-weight:600;letter-spacing:-0.03125rem}.metric-line{display:flex;align-items:center;gap:0.6875rem;flex-wrap:wrap}.metric-line .tag{font-size:0.625rem;padding:0.25rem 0.4375rem}.analytics{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);gap:0.875rem;margin-bottom:1rem}.panel{background:#ffffffdf;border:0.0625rem solid #dfe4ed;border-radius:0.5rem;box-shadow:0 0.0625rem 0.1875rem #24334f02;min-width:0}.chart-panel{padding:1.0625rem 1.125rem 0.625rem}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;margin-bottom:0.6875rem}.chart-legend{display:flex;gap:1rem;font-size:0.6875rem;color:#8a93a3}.legend-item{display:flex;align-items:center;gap:0.4375rem}.legend-item .dot{width:0.4375rem;height:0.4375rem}.trend-svg{width:100%;height:11.875rem;display:block;overflow:visible}.trend-svg text{font-family:inherit;font-size:0.6875rem;fill:#818a9a}.trend-svg .grid-line{stroke:#e9edf4;stroke-width:1}.trend-svg .trend-line{fill:none;stroke:#007aff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.trend-svg .resolved-line{stroke:#a0a9b8;stroke-width:2}.chart-point{fill:#fff;stroke:var(--blue);stroke-width:1.8}.chart-point.gray{stroke:#a0a9b8}.chart-tip{font-size:0.6875rem;color:#6c7688;min-height:1.125rem;margin:0 0 0.125rem 1.875rem}.category-chart{padding:1.0625rem 1.1875rem 0.875rem}.category-bars{display:grid;gap:0.8125rem;margin:1.0625rem 0 0.875rem}.bar-row{display:grid;grid-template-columns:6.25rem minmax(0,1fr) 1.125rem;align-items:center;gap:0.625rem;font-size:0.75rem}.bar-track{height:0.75rem;border-radius:0.1875rem;background:#e9edf3;overflow:hidden}.bar-fill{height:100%;background:var(--blue);border-radius:0.1875rem;transition:width .25s ease}.bar-row b{text-align:right;font-weight:500}.category-chart>.link-btn{font-size:0.75rem;margin-top:0.0625rem}.work-panel{overflow:hidden}.work-heading{padding:1rem 1.0625rem 0.75rem}.work-title{font-size:1.0625rem;font-weight:600;letter-spacing:-0.01875rem;margin-bottom:0.625rem}.work-controls{display:flex;align-items:center;justify-content:space-between;gap:0.9375rem}.tabs{display:flex;align-items:center;gap:0.4375rem}.ticket-tab{padding:0.375rem 0.75rem;font-size:0.75rem;min-height:2rem;background:#f8f9fc}.ticket-tab.active{background:var(--blue);border-color:var(--blue);color:white}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:0.75rem;text-align:left}th{font-weight:500;color:#4d5868;background:#f7f9fc;border-block:0.0625rem solid #e5e9f0;padding:0.625rem 0.75rem;white-space:nowrap}td{padding:0.625rem 0.75rem;border-bottom:0.0625rem solid #e8ecf2;vertical-align:middle;white-space:nowrap;color:#424d5e}tbody tr{cursor:pointer;transition:background .12s}tbody tr:hover{background:#f5f9ff}tbody tr.selected{background:#e7f0ff}tbody tr:last-child td{border-bottom:0}.check-cell{width:2.125rem;padding-right:0}input[type=checkbox]{accent-color:var(--blue);width:0.875rem;height:0.875rem;vertical-align:middle;margin:0}.subject-cell{max-width:20rem}.subject-text{display:flex;gap:0.625rem;align-items:center;color:#1d2734}.subject-text b{font-weight:500;overflow:hidden;text-overflow:ellipsis}.ticket-id{font-variant-numeric:tabular-nums;flex:none;font-size:0.6875rem;color:#657286}.table-foot{display:flex;align-items:center;gap:0.4375rem;padding:0.625rem 1.0625rem;border-top:0.0625rem solid #e5e9f0;font-size:0.6875rem;color:#7e8898}.table-foot .icon{width:0.875rem;height:0.875rem}.bulk-bar{display:flex;align-items:center;gap:0.625rem;padding:0.5625rem 1.0625rem;background:#eff5ff;border-top:0.0625rem solid #e0e9f7;font-size:0.75rem}.inbox-toolbar{display:flex;align-items:center;gap:0.5625rem;flex-wrap:wrap;margin-bottom:1rem}.inbox-toolbar .search-field{width:18.75rem;background:#fff}.manage-table td,.manage-table th{padding:0.9375rem}.manage-table .category-name{display:flex;gap:0.625rem;align-items:center;font-weight:500}.pill-switch{border:0;border-radius:1.25rem;width:2.0625rem;height:1.25rem;padding:0.125rem;background:#bcc5d2;display:inline-flex;align-items:center;flex:none;cursor:pointer}.pill-switch::after{content:"";width:1rem;height:1rem;background:#fff;border-radius:50%;box-shadow:0 0.0625rem 0.1875rem #0002;transition:transform .16s}.pill-switch[aria-checked=true]{background:var(--blue)}.pill-switch[aria-checked=true]::after{transform:translateX(0.8125rem)}.category-row-actions{display:flex;align-items:center;gap:0.3125rem}.category-row-actions .btn{font-size:0.75rem;padding:0.3125rem 0.625rem;min-height:1.9375rem}.category-row-actions .icon-btn{width:1.6875rem;height:1.75rem;min-height:1.75rem}.category-helper{font-size:0.75rem;color:#7a8494;margin:1rem 0.125rem}.text-list{display:grid;gap:0}.text-item{padding:1.25rem 1.375rem;border-bottom:0.0625rem solid var(--line)}.text-item:last-child{border-bottom:0}.text-item h3{font-size:0.9375rem;font-weight:500;margin-bottom:0.375rem}.text-item p{font-size:0.8125rem;color:#6c7788;line-height:1.8}.text-item .row{margin-top:0.75rem}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.9375rem}.team-person{padding:1.4375rem}.team-person h3{font-size:1rem;font-weight:500;margin-top:0.75rem}.team-person p{font-size:0.75rem;color:var(--muted);margin-top:0.375rem}.settings-form{max-width:40.625rem;padding:1.625rem}.form-group{display:grid;gap:0.5rem;margin-bottom:1.125rem}.form-group label,.form-label{font-size:0.75rem;font-weight:500;color:#455164}.form-help{font-size:0.6875rem;color:#8992a0;line-height:1.7}.form-error{color:#be3b43;font-size:0.75rem;margin:0.625rem 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.9375rem}.color-control{width:3.125rem;height:2.1875rem;padding:0.1875rem;border:0.0625rem solid #d7dce5;border-radius:0.375rem;background:#fff}.drawer-overlay{position:fixed;inset:0;background:#24314c26;z-index:40;display:flex;justify-content:flex-end}.drawer{width:min(38.75rem,100%);height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:-0.75rem 0 2.8125rem #2839591c;animation:drawer-in .22s cubic-bezier(.2,.8,.3,1)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:1.375rem;border-bottom:0.0625rem solid var(--line);gap:0.9375rem}.drawer-header h2{font-size:1.1875rem;line-height:1.4;letter-spacing:-0.025rem}.drawer-meta{display:flex;align-items:center;gap:0.5625rem;margin-top:0.4375rem;font-size:0.75rem;color:var(--muted)}.drawer-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0.75rem;padding:0.9375rem 1.375rem;background:#f8faff;border-bottom:0.0625rem solid var(--line)}.drawer-controls label{display:grid;gap:0.3125rem;font-size:0.6875rem;color:#738096}.drawer-controls select{font-size:0.75rem;background:#fff;width:100%;min-width:0}.drawer-messages{overflow:auto;flex:1;padding:1.4375rem}.drawer .composer{padding:0.9375rem 1.25rem;border-top:0.0625rem solid var(--line)}.drawer .composer textarea{min-height:5.9375rem}.drawer .composer-footer{padding-top:0.5625rem}.mobile-back{display:none}.user-shell{height:100svh;display:grid;grid-template-rows:4rem minmax(0,1fr);background:#fff}.user-header{display:flex;align-items:center;gap:1.25rem;border-bottom:0.0625rem solid #e2e6ed;padding:0 1.5rem;background:#ffffffde;backdrop-filter:blur(1.125rem);z-index:5}.user-header>.brand{font-size:1.4375rem}.header-divider{height:1.5rem;width:0.0625rem;background:#d9dfe8}.header-title{font-size:1.25rem;font-weight:600;letter-spacing:-0.0375rem}.user-header .header-right{display:flex;align-items:center;gap:1.125rem;margin-left:auto;font-size:0.75rem}.user-workspace{min-width:0;max-width:100%;display:grid;grid-template-columns:minmax(15.625rem,22.6%) minmax(0,1fr) minmax(15.625rem,24.4%);min-height:0}.user-sidebar{min-width:0;max-width:100%;overflow:hidden;background:#f4f6f9;border-right:0.0625rem solid var(--line);display:flex;flex-direction:column;min-height:0}.user-sidebar-top{padding:1.5rem 1.1875rem 0}.user-sidebar-top h2{font-size:1.25rem;font-weight:600;letter-spacing:-0.025rem}.new-ticket{font-size:0.75rem;padding:0.375rem 0.5625rem;min-height:2rem}.user-sidebar .search-field{margin-top:1.25rem;min-height:2.3125rem;background:#fff}.segmented{display:flex;padding:0.125rem;background:#eef0f5;border:0.0625rem solid #dadee7;border-radius:0.5rem;margin:1rem 0 1.25rem;gap:0.1875rem}.segment{flex:1;font-size:0.75rem;border:0;box-shadow:none;background:transparent;min-height:1.9375rem;padding:0.3125rem}.segment.active{background:var(--blue);color:#fff;box-shadow:0 0.125rem 0.3125rem #007aff15}.filter-heading{font-size:0.75rem;font-weight:500;margin-bottom:0.625rem}.category-filter{display:flex;gap:0.5625rem}.category-filter select{min-width:0;flex:1;font-size:0.75rem;background:#fff}.user-tickets{padding:1.0625rem 0.4375rem;min-width:0;max-width:100%;overflow-x:hidden;overflow-y:auto;flex:1}.ticket-preview{display:block;min-width:0;max-width:100%;overflow:hidden;text-align:left;border:0;background:none;border-radius:0.4375rem;padding:0.8125rem 0.8125rem;margin-bottom:0.25rem;width:100%;cursor:pointer;transition:background .13s}.ticket-preview:hover{background:#e9eef5}.ticket-preview.active{background:#e1ecff}.preview-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;min-width:0;max-width:100%;align-items:center;gap:0.375rem;font-size:0.75rem;color:#7d8796}.preview-top time{margin-left:auto;font-variant-numeric:tabular-nums}.unread-dot{width:0.375rem;height:0.375rem;border-radius:50%;background:var(--blue)}.preview-subject{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;max-width:100%;align-items:center;gap:0.4375rem;margin:0.4375rem 0 0.375rem}.preview-subject strong{display:block;min-width:0;font-size:0.875rem;font-weight:500;letter-spacing:-0.0125rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-snippet{display:block;min-width:0;max-width:100%;font-size:0.75rem;color:#8790a0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-label{font-size:0.625rem;color:#9aa3af;margin:1.0625rem 0.75rem 0.1875rem;padding-top:1.0625rem;border-top:0.0625rem solid #dde3eb}.user-sidebar-bottom{padding:1rem 1.25rem 1.375rem;font-size:0.75rem;display:grid;gap:0.75rem;color:#7c8797}.user-sidebar-bottom a{display:flex;align-items:center;gap:0.5625rem;color:#69788c}.user-sidebar-bottom p{display:flex;align-items:center;gap:0.5625rem;font-size:0.6875rem}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.conversation-header{padding:1.375rem 1.3125rem 1.125rem;display:flex;align-items:center;gap:0.75rem}.conversation-header h1{font-size:1.3125rem;line-height:1.4;letter-spacing:-0.04375rem;font-weight:600}.conversation-sub{margin-top:0.4375rem;display:flex;align-items:center;gap:0.75rem;font-size:0.75rem;color:#8a93a2}.conversation-header .btn{font-size:0.75rem;padding:0.375rem 0.75rem;margin-left:auto;align-self:flex-start}.info-banner{margin:0 1.25rem;padding:0.5625rem 0.75rem;font-size:0.75rem;line-height:1.7;background:#eaf2ff;color:#3b608f;border:0.0625rem solid #dceaff;border-radius:0.4375rem;display:flex;align-items:flex-start;gap:0.5625rem}.info-banner .icon{width:0.9375rem;height:0.9375rem;margin-top:0.125rem;color:var(--blue)}.messages{flex:1;overflow:auto;padding:1.25rem 1.25rem 0.9375rem;min-height:0;scrollbar-width:thin;scrollbar-color:#dde3ec transparent}.day-separator{display:flex;align-items:center;gap:1.125rem;font-size:0.6875rem;color:#9aa4b4;margin:0.1875rem 2.625rem 1.4375rem}.day-separator::before,.day-separator::after{content:"";height:0.0625rem;flex:1;background:#edf0f4}.message{display:flex;gap:0.625rem;align-items:flex-start;margin:0 0 1.1875rem}.message.user{flex-direction:row-reverse}.message-body{max-width:85%;min-width:0;overflow-wrap:anywhere}.message-author{font-size:0.6875rem;color:#6a7687;margin:0 0 0.375rem 0.0625rem}.message-bubble{background:#f2f4f7;border:0.0625rem solid #edf0f4;border-radius:0.6875rem;padding:0.625rem 0.8125rem;line-height:1.8;font-size:0.8125rem;overflow-wrap:anywhere;white-space:pre-wrap;color:#344052}.message.user .message-bubble{background:#e5efff;border-color:#dce8fc}.message-time{color:#a0a8b5;font-size:0.625rem;margin:0.375rem 0.0625rem 0;font-variant-numeric:tabular-nums}.message.user .message-time{text-align:right}.message .avatar{width:1.75rem;height:1.75rem;margin-top:0}.message.user .avatar{margin-top:0}.attachment-tile{display:flex;align-items:center;gap:0.625rem;padding:0.5625rem 0.6875rem;border:0.0625rem solid #d5e0f1;background:#f5f8ff;border-radius:0.4375rem;margin-top:0.5rem;white-space:normal}.attachment-tile .icon{color:#72aaf5;width:1.75rem;height:1.75rem}.attachment-tile strong{font-size:0.75rem;font-weight:500;display:block;overflow-wrap:anywhere}.attachment-tile span{font-size:0.6875rem;color:#93a0b3}.composer{margin:0 1.25rem 1rem;padding-top:0.6875rem;border-top:0.0625rem solid #e9edf3}.composer-box{border:0.0625rem solid #dbe1eb;border-radius:0.5625rem;padding:0.625rem 0.6875rem;background:#fff;box-shadow:0 0.0625rem 0.1875rem #0c214705}.composer textarea{display:block;border:0;resize:none;padding:0;min-height:2.75rem;max-height:8.75rem;font-size:0.8125rem;outline:0;background:transparent}.composer-box:focus-within{border-color:#91beff;box-shadow:0 0 0 0.125rem #007aff0b}.composer-footer{display:flex;align-items:center;gap:0.5625rem;padding-top:0.625rem}.composer-footer .btn{font-size:0.75rem;min-height:1.875rem;padding:0.3125rem 0.625rem}.composer-footer .btn.attach{color:#7e8899;background:#f6f8fb;border-color:#e7eaf0;font-size:0.6875rem}.composer-hint{color:#a2aab7;font-size:0.625rem}.key-hint{font-size:0.625rem;color:#98a2b1;margin-left:auto}.attachments-pending{font-size:0.6875rem;color:#687c9b;padding-bottom:0.5rem}.user-inspector{border-left:0.0625rem solid var(--line);padding:1.5625rem 1.25rem 1.1875rem;display:flex;flex-direction:column;overflow:auto;min-height:0}.inspector-heading{font-size:1.0625rem;font-weight:600;letter-spacing:-0.01875rem;margin:0 0 1.1875rem}.info-list{display:grid;gap:0.875rem}.info-pair{display:grid;grid-template-columns:5.625rem minmax(0,1fr);gap:0.625rem;align-items:center;font-size:0.75rem}.info-pair dt{color:#9099a8}.info-pair dd{margin:0;color:#465369}.info-pair select{padding:0.3125rem 0.3125rem;font-size:0.6875rem;min-height:1.9375rem;width:100%}.inspector-section{border-top:0.0625rem solid #e5e9f0;padding-top:1.375rem;margin-top:1.5rem}.timeline{padding:0.25rem 0 0 0.625rem}.timeline-item{position:relative;padding:0 0 1.8125rem 1.625rem;display:flex;align-items:flex-start;gap:0.5rem;font-size:0.75rem;color:#9da6b3}.timeline-item:last-child{padding-bottom:0}.timeline-item:not(:last-child)::after{content:"";position:absolute;left:0;top:1.3125rem;bottom:0.3125rem;width:0.0625rem;background:#dae2ed}.timeline-item.done::after{background:#a8ceff}.timeline-dot{position:absolute;left:-0.5rem;top:0;width:1.0625rem;height:1.0625rem;border:0.125rem solid #d8dfe9;border-radius:50%;background:#fff;display:grid;place-items:center}.timeline-dot .icon{width:0.625rem;height:0.625rem;stroke-width:2.2}.timeline-item.done .timeline-dot{background:var(--blue);border-color:var(--blue);color:#fff}.timeline-item.active .timeline-dot{border-color:var(--blue)}.timeline-item.active .timeline-dot::after{content:"";width:0.4375rem;height:0.4375rem;background:var(--blue);border-radius:50%}.timeline-item.done,.timeline-item.active{color:#425269}.timeline-item time{margin-left:auto;font-size:0.625rem;color:#a3acba}.help-link{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 0;font-size:0.75rem;border-bottom:0.0625rem solid #edf0f5;gap:0.625rem}.help-link:last-child{border-bottom:0}.help-link .icon{width:0.9375rem;height:0.9375rem;color:#97a3b4}.privacy-note{display:flex;align-items:flex-start;gap:0.5rem;font-size:0.625rem;color:#8d98a9;margin-top:auto;padding-top:1.5625rem;line-height:1.8}.privacy-note .icon{width:0.9375rem;height:0.9375rem;margin-top:0.0625rem}.composer-error{font-size:0.6875rem;color:#c14249;margin:0.4375rem 0 0}.category-meta{display:flex;align-items:center;gap:0.5rem}.modal{border:0.0625rem solid #dce2ec;border-radius:0.8125rem;padding:1.625rem;width:28.75rem;max-width:calc(100% - 1.875rem);color:var(--ink);box-shadow:0 1.5625rem 5.9375rem #2434542c}.modal::backdrop{background:#25324b40;backdrop-filter:blur(0.1875rem)}.modal h2{font-size:1.375rem;letter-spacing:-0.0375rem;line-height:1.35}.modal-description{font-size:0.75rem;color:#8a94a4;line-height:1.8;margin:0.5625rem 0 1.375rem}.modal-actions{display:flex;justify-content:flex-end;gap:0.5625rem;padding-top:0.5rem}.modal .form-group{margin-bottom:1rem}.modal form{margin-top:1.3125rem}.help-body{line-height:1.9;font-size:0.8125rem;color:#657286;white-space:pre-line;padding:1.125rem 0}.toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);max-width:calc(100% - 2rem);padding:0.6875rem 1.125rem;background:#25334ceF;backdrop-filter:blur(0.75rem);color:#fff;border:0.0625rem solid #ffffff18;border-radius:0.5rem;box-shadow:0 0.5rem 1.5rem #18304b20;font-size:0.75rem;z-index:110;pointer-events:none}.preview-shortcut{font-size:0.6875rem;color:#7c899e}.admin-topbar .preview-shortcut{white-space:nowrap}.status-select{font-size:0.75rem}.inbox-count{font-variant-numeric:tabular-nums}.reset-row{margin-top:1.625rem;padding-top:1.375rem;border-top:0.0625rem solid var(--line);font-size:0.75rem;color:var(--muted)}.form-inline{display:flex;align-items:center;gap:0.75rem}.focus-ring{outline:0.1875rem solid #007aff45}.sr-only{position:absolute;width:0.0625rem;height:0.0625rem;padding:0;margin:-0.0625rem;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes drawer-in{from{transform:translateX(2.1875rem);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(min-width:96.875rem){:root{font-size:100%}.admin-shell{grid-template-columns:14.6875rem minmax(0,1fr)}.admin-main{padding:0 2rem 1.875rem}.admin-topbar{min-height:4.375rem}.admin-header{margin:0.375rem 0 1.625rem}.admin-header h1{font-size:1.875rem}.admin-header p{font-size:0.875rem}.metrics{padding:1.25rem 0;margin-bottom:1.25rem}.metric-label{font-size:0.875rem}.metric-value{font-size:2.4375rem}.analytics{gap:1.125rem;margin-bottom:1.25rem}.trend-svg{height:14.375rem}.chart-panel,.category-chart{padding:1.25rem 1.4375rem 0.875rem}.section-title{font-size:1.125rem}.bar-row{font-size:0.875rem;grid-template-columns:7.1875rem minmax(0,1fr) 1.375rem}.category-bars{gap:1.0625rem;margin-top:1.375rem}table{font-size:0.875rem}td,th{padding:0.75rem 1rem}.work-heading{padding:1.125rem 1.25rem 0.875rem}.work-title{font-size:1.1875rem}.ticket-tab{font-size:0.875rem}.nav-item{font-size:0.9375rem;min-height:2.8125rem}.category-nav{font-size:0.875rem}.user-workspace{grid-template-columns:minmax(17.5rem,22.6%) minmax(0,1fr) minmax(17.5rem,24.4%)}.user-header{height:4.5rem}.user-shell{grid-template-rows:4.5rem minmax(0,1fr)}.user-sidebar-top{padding:1.6875rem 1.375rem 0}.conversation-header{padding:1.5625rem}.conversation-header h1{font-size:1.5625rem}.message-bubble{font-size:0.9375rem;padding:0.6875rem 0.9375rem}.message{margin-bottom:1.5rem}.messages{padding:1.5rem}.message-time,.message-author{font-size:0.75rem}.info-banner{font-size:0.875rem}.info-pair,.timeline-item,.help-link{font-size:0.875rem}.info-pair{grid-template-columns:6.25rem minmax(0,1fr)}.composer textarea{min-height:3.625rem;font-size:0.9375rem}.composer-footer .btn{font-size:0.875rem}.composer-hint,.key-hint{font-size:0.75rem}.user-inspector{padding:1.75rem 1.5rem}.inspector-heading{font-size:1.25rem}.ticket-preview{padding:0.9375rem}.preview-subject strong{display:block;min-width:0;font-size:0.9375rem}.preview-top,.preview-snippet{min-width:0;max-width:100%;font-size:0.75rem}.user-header>.brand{font-size:1.625rem}.header-title{font-size:1.4375rem}.user-tickets{padding-top:1.375rem}}
@media(max-width:73.75rem){.admin-shell{grid-template-columns:11.875rem minmax(0,1fr)}.admin-main{padding-inline:1.25rem}.admin-sidebar>.brand{font-size:1.3125rem;margin-inline:0.25rem}.nav-item{padding-inline:0.625rem}.category-nav{padding-inline:0.625rem}.metric{padding-inline:1rem}.metric-value{font-size:1.8125rem}.metric-line .tag{font-size:0.5625rem}.analytics{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.bar-row{grid-template-columns:5.3125rem minmax(0,1fr) 1rem;gap:0.4375rem;font-size:0.6875rem}.category-chart{padding-inline:0.875rem}.admin-topbar .preview-shortcut{display:none}.user-workspace{grid-template-columns:15rem minmax(0,1fr) 15rem}.user-sidebar-top{padding-inline:0.9375rem}.user-sidebar-top h2{font-size:1.125rem}.new-ticket{font-size:0.6875rem;padding-inline:0.4375rem}.user-inspector{padding-inline:1rem}.info-pair{grid-template-columns:4.625rem minmax(0,1fr);font-size:0.6875rem}.conversation-header h1{font-size:1.1875rem}.conversation-header{padding-inline:1.0625rem}.composer-hint{display:none}.info-banner{margin-inline:1.0625rem;font-size:0.6875rem}.messages{padding-inline:1.0625rem}.composer{margin-inline:1.0625rem}.message-bubble{font-size:0.75rem}.message-body{max-width:88%}}
@media(max-width:60rem){.user-workspace{grid-template-columns:15.3125rem minmax(0,1fr)}.user-inspector{display:none}.conversation-header{padding-top:1.375rem}.conversation-header h1{font-size:1.375rem}.message-bubble{font-size:0.8125rem}.user-header .header-right{gap:0.75rem}.admin-topbar{gap:0.625rem}.admin-topbar .search-field{width:15rem}.breadcrumb{font-size:0.6875rem}.admin-header{align-items:flex-start}.admin-header h1{font-size:1.5rem}.header-actions{gap:0.4375rem}.header-actions .btn{font-size:0.6875rem;padding-inline:0.5625rem}.header-actions select{font-size:0.6875rem;padding-left:0.4375rem}.analytics{grid-template-columns:1fr}.category-chart{display:none}.metric-value{font-size:1.6875rem}.metric-value .unit{font-size:1.125rem}.metric-label{font-size:0.6875rem}.metric-line .tag{display:none}.team-grid{grid-template-columns:1fr 1fr}.subject-cell{max-width:15rem}.admin-main{padding-inline:1.0625rem}.admin-topbar .icon-btn{display:none}}
@media(max-width:43.75rem){:root{font-size:100%}.admin-shell{display:block}.admin-sidebar{display:none;position:fixed;top:0;left:0;bottom:0;width:14.6875rem;z-index:45;height:100svh;box-shadow:0.9375rem 0 4.0625rem #24355025;background:#f0f3f8f7}.admin-shell.nav-open .admin-sidebar{display:flex}.admin-topbar{min-height:3.625rem;gap:0.5625rem}.mobile-menu{display:inline-flex!important}.admin-topbar .search-field{display:none}.breadcrumb{font-size:0.6875rem}.admin-topbar .demo-badge{margin-left:auto;font-size:0.625rem;padding:0.3125rem 0.4375rem}.admin-header{margin:0.75rem 0 1.1875rem;display:block}.admin-header h1{font-size:1.6875rem}.admin-header p{font-size:0.75rem;margin-top:0.375rem}.header-actions{margin-top:1.0625rem}.metrics{grid-template-columns:1fr 1fr;padding:0;margin-bottom:0.9375rem}.metric{padding:1rem}.metric:nth-child(3),.metric:nth-child(4){border-top:0.0625rem solid #e2e6ee}.metric:nth-child(3){border-left:0}.metric-value{font-size:1.875rem}.metric-value .unit{font-size:1.25rem}.metric-line .tag{display:inline-flex;font-size:0.5625rem}.metric-label{font-size:0.75rem}.analytics{gap:0.9375rem}.trend-svg{height:10.9375rem}.chart-panel{padding:0.9375rem 0.8125rem 0.625rem}.chart-legend{font-size:0.625rem;gap:0.625rem}.section-title{font-size:0.9375rem}.category-chart{display:block}.bar-row{font-size:0.75rem;grid-template-columns:5.9375rem minmax(0,1fr) 1.25rem}.category-bars{gap:0.75rem}.work-heading{padding:0.9375rem 0.75rem 0.75rem}.work-title{font-size:1rem}.work-controls{gap:0.3125rem}.tabs{gap:0.25rem}.ticket-tab{padding:0.375rem 0.5rem;font-size:0.6875rem;min-height:1.9375rem}.work-controls>.btn{padding:0.3125rem 0.5rem;font-size:0.6875rem;min-height:1.9375rem}.work-panel table{min-width:44.375rem}.table-foot{font-size:0.625rem;padding:0.5625rem 0.75rem}.inbox-toolbar .search-field{width:100%}.inbox-toolbar select{font-size:0.75rem}.manage-table{min-width:43.75rem}.team-grid{grid-template-columns:1fr}.user-shell{grid-template-rows:3.625rem minmax(0,1fr);height:100dvh}.user-header{padding:0 1rem;gap:0.75rem}.user-header>.brand{font-size:1.1875rem;gap:0.4375rem}.user-header .brand-mark{width:1.8125rem;height:1.8125rem}.header-divider{height:1.3125rem}.header-title{font-size:0.9375rem}.user-header .header-right{gap:0.5625rem}.user-header .header-right .preview-shortcut,.user-header .header-right>.avatar{display:none}.user-header .demo-badge{font-size:0.5625rem;padding:0.25rem 0.375rem}.user-workspace{display:block;min-height:0;height:100%}.user-sidebar{height:100%;border:0;display:none}.conversation{height:100%;display:flex}.user-shell.show-ticket-list .user-sidebar{display:flex}.user-shell.show-ticket-list .conversation{display:none}.user-sidebar-top{padding:1.375rem 1.25rem 0}.user-sidebar-top h2{font-size:1.375rem}.new-ticket{font-size:0.75rem}.user-tickets{padding-inline:0.75rem}.ticket-preview{padding:0.9375rem}.preview-subject strong{display:block;min-width:0;font-size:0.9375rem}.preview-top,.preview-snippet{min-width:0;max-width:100%;font-size:0.75rem}.user-sidebar-bottom{padding:1.25rem 1.625rem}.mobile-back{display:inline-flex;width:1.75rem;padding:0;min-width:1.75rem;border:0;box-shadow:none;background:none}.conversation-header{padding:1.125rem 0.875rem 0.9375rem;gap:0.5rem}.conversation-header h1{font-size:1.0625rem}.conversation-sub{font-size:0.625rem;gap:0.4375rem;margin-top:0.3125rem}.conversation-header .btn{font-size:0.625rem;padding:0.3125rem 0.4375rem;min-height:1.875rem}.info-banner{margin-inline:0.9375rem;padding:0.5rem 0.625rem;font-size:0.6875rem}.messages{padding:1.125rem 0.9375rem 0.625rem}.message-bubble{font-size:0.75rem;line-height:1.8;padding:0.5625rem 0.6875rem}.message{gap:0.5rem;margin-bottom:1.25rem}.message .avatar{width:1.5625rem;height:1.5625rem}.message-body{max-width:85%}.message-time,.message-author{font-size:0.625rem}.day-separator{font-size:0.625rem;margin:0 1.25rem 1.25rem}.composer{margin:0 0.75rem calc(0.625rem + env(safe-area-inset-bottom));padding-top:0.5rem}.composer textarea{font-size:1rem;min-height:2.8125rem}.composer-footer{gap:0.4375rem}.composer-footer .btn{min-height:2rem;font-size:0.75rem}.composer-footer .attach{font-size:0.625rem}.key-hint{display:none}.composer-footer .primary{margin-left:auto}.message.user .attachment-tile strong{font-size:0.6875rem}.message.user .attachment-tile span{font-size:0.625rem}.drawer-header{padding:1.125rem}.drawer-controls{padding:0.75rem 1rem;gap:0.5rem}.drawer-controls select{font-size:0.6875rem}.drawer-messages{padding:1.125rem}.drawer .composer{margin-inline:0}.modal{padding:1.375rem}.modal h2{font-size:1.3125rem}.form-grid{gap:0.75rem}.field,select,textarea{font-size:1rem}.user-sidebar select,.drawer select{font-size:0.75rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){.admin-sidebar{background:#edf1f7;backdrop-filter:none}.user-header{background:#fff;backdrop-filter:none}.toast{background:#25334c;backdrop-filter:none}.modal::backdrop{backdrop-filter:none}}
@media(prefers-contrast:more){:root{--muted:#4e5b6d;--line:#a9b4c4}.panel,.metrics{border-color:#a9b4c4}.message-time,.preview-snippet{color:#58667b}.user-sidebar,.admin-sidebar{background:#eef1f6}.info-banner{color:#1d4e8a;border-color:#8eb3e5}}

.reverse{transform:rotate(180deg)}.subject-text b{min-width:0}.help-link{width:100%;text-align:left}.composer label.attach{cursor:pointer}.drawer .composer{flex-shrink:0;margin-bottom:1rem}.drawer .composer-box{border:0;padding:0}.drawer .composer textarea{min-height:5rem}.drawer .message-body{max-width:88%}

/* Bounded content tracks: keep labels, dates and controls inside their region. */
.preview-top>span:first-child{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-top time{margin-left:0;white-space:nowrap}
.preview-subject .tag{justify-self:end;flex-shrink:0}
.preview-snippet{line-height:1.6;font-weight:400}
.user-sidebar-top,.user-sidebar-bottom,.user-sidebar .search-field,.category-filter{min-width:0;max-width:100%}
.conversation-header .grow,.conversation-sub,.info-banner span,.attachment-tile>div,.composer-footer{min-width:0}
.conversation-header h1{overflow-wrap:anywhere}.conversation-sub{flex-wrap:wrap;gap:0.4375rem 0.625rem}
.attachment-tile{min-width:0;max-width:100%}.attachment-tile strong{overflow-wrap:anywhere}
.composer-footer .btn,.composer-footer select{flex-shrink:0}.composer-footer select{max-width:42%;min-width:0}
.info-pair dd{min-width:0;overflow-wrap:anywhere}.privacy-note{overflow-wrap:anywhere}
.admin-main,.admin-sidebar,.analytics>*{min-width:0}.panel-heading .section-title{min-width:0}
.work-controls{flex-wrap:wrap}.work-controls .tabs{max-width:100%;flex-wrap:wrap}
.team-person,.text-item,.text-item h3,.text-item p{min-width:0;overflow-wrap:anywhere}
.drawer-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.drawer-controls label{min-width:0}
.bulk-bar{flex-wrap:wrap}.bar-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Shared typography across viewport sizes: no breakpoint-driven weight jump. */
.preview-subject strong{font-size:0.875rem;line-height:1.55;font-weight:500;letter-spacing:0}
.preview-top,.preview-snippet{font-size:0.75rem;line-height:1.65;letter-spacing:0}
.preview-subject .tag{font-size:0.6875rem;font-weight:500;line-height:1.4;padding:0.25rem 0.4375rem}
@media(min-width:96.875rem){.preview-subject strong{font-size:0.9375rem}.preview-top,.preview-snippet{font-size:0.8125rem}.ticket-preview{padding:0.9375rem}.user-inspector .info-pair{grid-template-columns:6.25rem minmax(0,1fr)}}
@media(max-width:43.75rem){.user-header>.brand{min-width:0;gap:0.375rem}.user-header{gap:0.625rem}.user-header .header-right{flex-shrink:0}.header-title{white-space:nowrap}.composer-box{min-width:0}.preview-subject strong{font-size:0.875rem}.preview-top,.preview-snippet{font-size:0.75rem}}

/* Other flexible boundaries checked along with the reported ticket list. */
.admin-topbar .search-field{flex:1 1 13.75rem;min-width:5rem;max-width:21.875rem}
.breadcrumb{flex-shrink:0}.admin-topbar .demo-badge{flex-shrink:0}
.drawer-header>div{min-width:0}.drawer-header h2{overflow-wrap:anywhere}
.drawer-header>.icon-btn{flex-shrink:0}.drawer-meta{flex-wrap:wrap}
.user-sidebar-bottom a,.user-sidebar-bottom p{min-width:0;overflow-wrap:anywhere}
@media(max-width:43.75rem){.admin-topbar .search-field{display:none}.user-header>.brand{font-size:1.125rem}.user-header>.brand>div{min-width:0}.header-title{font-size:0.875rem}}

/* Match the approved 99.125rem reference scale; retain the bounded list tracks. */
@media(min-width:96.875rem){
  .user-shell{grid-template-rows:4.875rem minmax(0,1fr)}
  .user-header{height:4.875rem}.user-header>.brand{font-size:1.8125rem}.header-title{font-size:1.5rem}
  .user-header .header-right{font-size:0.9375rem}.user-header .demo-badge{font-size:0.8125rem}
  .user-sidebar-top{padding:1.8125rem 1.375rem 0}.user-sidebar-top h2{font-size:1.5rem}
  .new-ticket{font-size:0.9375rem;min-height:2.3125rem;padding:0.4375rem 0.6875rem}
  .user-sidebar .search-field{margin-top:1.5625rem;min-height:2.8125rem}.user-sidebar .search-field input{font-size:1rem}
  .user-sidebar .search-field .icon{width:1.3125rem;height:1.3125rem}
  .segmented{margin:1.1875rem 0 1.5rem}.segment{font-size:1rem;min-height:2.4375rem}
  .filter-heading{font-size:1rem;margin-bottom:0.8125rem}.category-filter select{font-size:1rem;min-height:2.625rem}
  .category-filter .icon-btn{width:2.625rem;height:2.625rem}.user-tickets{padding-top:1.5625rem}
  .preview-top{display:grid;font-size:0.875rem;line-height:1.5}
  .preview-subject strong{font-size:1.125rem;line-height:1.45;font-weight:500}
  .preview-snippet{font-size:0.9375rem;line-height:1.6}.preview-subject .tag{font-size:0.8125rem;padding:0.25rem 0.5625rem}
  .recent-label{font-size:0.75rem}.user-sidebar-bottom{font-size:1rem;gap:0.9375rem;padding-bottom:1.5625rem}
  .user-sidebar-bottom p{font-size:0.875rem}
  .conversation-header h1{font-size:1.75rem}.conversation-sub{font-size:1rem}
  .conversation-sub .tag{font-size:0.875rem}.conversation-header .btn{font-size:1rem;min-height:2.5rem;padding:0.4375rem 1.125rem}
  .info-banner{font-size:1.0625rem}.info-banner .icon{width:1.1875rem;height:1.1875rem;margin-top:0.25rem}
  .day-separator{font-size:0.9375rem}.message{gap:0.875rem;margin-bottom:1.1875rem}
  .message-bubble{font-size:1.125rem;line-height:1.55;padding:0.6875rem 1rem}
  .message-author{font-size:1rem;color:#344052}.message-time{font-size:0.875rem}
  .message .avatar{width:2.4375rem;height:2.4375rem}.message .avatar .icon{width:1.5625rem;height:1.5625rem}
  .attachment-tile{padding:0.625rem 0.8125rem}.attachment-tile strong{font-size:1.0625rem}.attachment-tile span{font-size:0.875rem}
  .attachment-tile .icon{width:2.1875rem;height:2.1875rem}
  .composer textarea{font-size:1.0625rem;min-height:3.0625rem}.composer-footer .btn{font-size:1rem;min-height:2.25rem}
  .composer-footer .btn.attach{font-size:0.875rem}.composer-hint,.key-hint{font-size:0.875rem}
  .user-inspector{padding-top:1.75rem}.inspector-heading{font-size:1.375rem}
  .info-pair{font-size:1.125rem;grid-template-columns:7.25rem minmax(0,1fr)}
  .info-pair select{font-size:1rem;min-height:2.5rem}.info-pair .tag{font-size:0.875rem}
  .timeline-item,.help-link{font-size:1.125rem}.timeline-item time{font-size:0.875rem}
  .timeline-dot{width:1.375rem;height:1.375rem;left:-0.625rem}.timeline-item{padding-left:1.875rem;padding-bottom:1.875rem}
  .timeline-item:not(:last-child)::after{top:1.625rem}.privacy-note{font-size:0.8125rem}
}

@media(min-width:96.875rem){
  .admin-shell{grid-template-columns:15.375rem minmax(0,1fr)}.admin-main{padding-inline:1.625rem}
  .admin-sidebar>.brand{font-size:1.625rem}.nav-item,.category-nav{font-size:1rem}
  .sidebar-label,.sidebar-profile{font-size:0.875rem}.breadcrumb{font-size:0.875rem}
  .admin-topbar .search-field{max-width:26.25rem}.admin-topbar .search-field input{font-size:0.9375rem}
  .admin-header p{font-size:1rem}.header-actions select,.header-actions .btn{font-size:0.9375rem}
  .metrics{padding-block:1.0625rem}.metric-label{font-size:1rem}.metric-line .tag{font-size:0.75rem}
  .chart-panel,.category-chart{padding:1.0625rem 1.375rem 0.75rem}.trend-svg{height:12.1875rem}
  .section-title{font-size:1.25rem}.chart-legend{font-size:0.8125rem}.trend-svg text{font-size:0.8125rem}
  .bar-row{font-size:1rem}.category-chart>.link-btn{font-size:0.9375rem}
  .work-title{font-size:1.3125rem}.ticket-tab{font-size:1rem}.work-controls>.btn{font-size:0.9375rem}
  .admin-main table{font-size:1rem}.admin-main td,.admin-main th{padding:0.5rem 1rem}
  .admin-main .check-cell{padding-right:0}.ticket-id{font-size:0.875rem}.admin-main td .tag{font-size:0.8125rem}
  .table-foot{font-size:0.8125rem}
}

@media(min-width:96.875rem){
  .admin-header{margin-bottom:1.125rem}.category-bars{gap:0.5rem;margin-top:1.0625rem}
  .trend-svg{height:11.5625rem}.admin-main td,.admin-main th{padding-block:0.4375rem}
}

.attachment-button{width:100%;text-align:left;color:inherit;cursor:pointer}.attachment-button>span{min-width:0}.attachment-preview{max-width:100%;max-height:65vh;object-fit:contain;display:block;margin:1rem auto}.internal-note{background:#fff7db;border-color:#f4df9c}.note-toggle{font-size:0.75rem;white-space:nowrap}.connection-error{background:#fff2ef;border:0.0625rem solid #f1c5bb;color:#974336;padding:0.625rem 0.875rem;border-radius:0.4375rem;margin-bottom:0.75rem}.workspace-loading{min-height:100svh;display:grid;place-content:center;text-align:center;gap:1rem}.workspace-error{max-width:30rem;padding:1.5rem}.workspace-error h1{font-size:1.5rem}.workspace-error p{margin:0.75rem 0;color:#6d7685}.workspace-error .row{justify-content:center}.composer-footer{flex-wrap:wrap}.form-error:not([hidden]){display:block}

/* apple-design §15: platform font first; role-based sizes, tracking and leading. */
:root{
  --support-font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-family:var(--support-font-family);
  font-size:100%;
  line-height:1.5;
}
body{font-optical-sizing:auto;font-kerning:normal;letter-spacing:0}
button,input,textarea,select{font-family:inherit}
.admin-header h1{font-size:clamp(1.5rem,1.25rem + .5vw,2rem);font-weight:600;line-height:1.2;letter-spacing:-.025em}
.admin-header p{font-size:.875rem;line-height:1.6;letter-spacing:0}
.section-title,.work-title{font-size:1.125rem;font-weight:600;line-height:1.3;letter-spacing:-.015em}
.modal h2,.drawer-header h2,.workspace-error h1{font-size:1.375rem;font-weight:600;line-height:1.3;letter-spacing:-.02em}
.metric-value{font-size:2.25rem;font-weight:600;line-height:1.15;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.metric-value .unit{font-size:1.125rem;font-weight:500;letter-spacing:0}
.metric-label{font-size:.875rem;font-weight:500;line-height:1.4;letter-spacing:.005em}
.metric-line .tag,.tag,.demo-badge{font-size:.75rem;font-weight:500;line-height:1.4;letter-spacing:.005em}
.nav-item,.category-nav,.sidebar-label,.sidebar-profile{font-size:.875rem;line-height:1.5;letter-spacing:.005em}
.brand{font-weight:600;letter-spacing:-.025em}
.breadcrumb,.admin-topbar .search-field input{font-size:.875rem;line-height:1.5}
.header-actions select,.header-actions .btn,.ticket-tab,.work-controls>.btn{font-size:.875rem;font-weight:500;letter-spacing:0}
.admin-main table,.manage-table,table{font-size:.875rem;line-height:1.5;letter-spacing:0}
.admin-main td .tag,.ticket-id,.table-foot,.chart-legend,.chart-tip{font-size:.75rem;line-height:1.5;letter-spacing:.005em}
.bar-row,.category-chart>.link-btn{font-size:.875rem;line-height:1.5}
.trend-svg text{font-family:var(--support-font-family);font-size:.8125rem}
.user-shell .user-header>.brand{font-size:clamp(1.125rem,1rem + .5vw,1.5rem)}
.user-shell .header-title{font-size:1.125rem;font-weight:600;line-height:1.3;letter-spacing:-.015em}
.user-shell .user-sidebar-top h2{font-size:1.25rem;font-weight:600;line-height:1.3;letter-spacing:-.02em}
.user-shell .new-ticket,.user-shell .segment,.user-shell .filter-heading,.user-shell .category-filter select{font-size:.875rem;line-height:1.5}
.user-shell .user-sidebar .search-field input{font-size:.875rem;line-height:1.5}
.user-shell .preview-top,.user-shell .preview-snippet{font-size:.875rem;line-height:1.5;letter-spacing:0}
.user-shell .preview-top{font-size:.8125rem;letter-spacing:.005em}
.user-shell .preview-subject strong{font-size:1rem;font-weight:600;line-height:1.45;letter-spacing:0}
.user-shell .preview-subject .tag{font-size:.75rem;font-weight:500;line-height:1.4;letter-spacing:.005em}
.user-shell .conversation-header h1{font-size:clamp(1.125rem,1rem + .5vw,1.5rem);font-weight:600;line-height:1.3;letter-spacing:-.02em}
.user-shell .conversation-sub,.user-shell .conversation-header .btn{font-size:.875rem;line-height:1.5;letter-spacing:0}
.user-shell .conversation-sub .tag{font-size:.75rem}
.user-shell .info-banner{font-size:.875rem;line-height:1.6;letter-spacing:0}
.user-shell .message-bubble{font-size:1rem;font-weight:400;line-height:1.65;letter-spacing:0}
.user-shell .message-author{font-size:.875rem;font-weight:500;line-height:1.5;letter-spacing:0}
.user-shell .message-time,.user-shell .day-separator{font-size:.75rem;line-height:1.5;letter-spacing:.005em}
.user-shell .attachment-tile strong{font-size:.875rem;font-weight:500;line-height:1.5}
.user-shell .attachment-tile span{font-size:.75rem;line-height:1.5}
.user-shell .composer textarea{font-size:1rem;line-height:1.6}
.user-shell .composer-footer .btn,.user-shell .composer-footer .btn.attach{font-size:.875rem;font-weight:500;line-height:1.5}
.user-shell .composer-hint,.user-shell .key-hint{font-size:.75rem;line-height:1.5}
.user-shell .inspector-heading{font-size:1.125rem;font-weight:600;line-height:1.3;letter-spacing:-.015em}
.user-shell .info-pair,.user-shell .info-pair select,.user-shell .timeline-item,.user-shell .help-link{font-size:.875rem;line-height:1.5;letter-spacing:0}
.user-shell .info-pair .tag,.user-shell .timeline-item time,.user-shell .privacy-note{font-size:.75rem;line-height:1.6}
.user-shell .user-sidebar-bottom{font-size:.875rem;line-height:1.5}
.user-shell .user-sidebar-bottom p,.user-shell .recent-label{font-size:.75rem;line-height:1.5}
/* The injected site notice used Songti. Keep this change scoped to these pages. */
body[data-surface] .omni-notice-dialog{font-family:var(--support-font-family);font-weight:400;letter-spacing:0}
body[data-surface] .omni-notice-dialog h2{font-size:1.5rem;font-weight:600;line-height:1.3;letter-spacing:-.02em}
body[data-surface] .omni-notice-dialog p{font-size:.9375rem;line-height:1.7;letter-spacing:0}
body[data-surface] .omni-notice-actions a,body[data-surface] .omni-notice-actions button{font-family:inherit;font-size:.875rem;font-weight:500;line-height:1.5}
@media(max-width:43.75rem){
 .admin-topbar .breadcrumb{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .header-actions,.panel-heading{flex-wrap:wrap}
 .user-shell .user-header{gap:.5rem;padding-inline:.75rem}
 .user-shell .user-header .header-right{display:none}
 .user-shell .user-header>.brand{flex-shrink:0;min-width:max-content}
 .user-shell .header-divider{flex-shrink:0}
 .user-shell .header-title{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
 .user-shell .header-title{font-size:1rem}
 .user-shell .user-header>.brand{font-size:1.125rem}
 .user-shell .conversation-header .btn{font-size:.8125rem}
 .user-shell .user-sidebar .search-field input,.user-shell .category-filter select{font-size:1rem}
 .metric-value{font-size:2rem}
 .metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.0625rem;background:var(--line);overflow:hidden}
 .metrics .metric{border:0;background:var(--panel)}
 .composer-hint,.key-hint{display:none}
}
