/* Round 2. Production measurements: references/update-2026-10-21/parameters.
   Shared shell SVGs, background and status sprite copied from accepted Golden.
   Page geometry below follows the current product, not Golden page layouts. */
:root{--text:rgba(0,0,0,.85);--muted:rgba(0,0,0,.45);--line:#f0f0f0;--bg:#f5f6fa;--shadow:0 6px 24px rgba(0,0,0,.16)}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";line-height:22.001px}
.icon{display:inline-block;width:16px;height:16px;vertical-align:-.125em;flex-shrink:0}
.production-icon{fill:currentColor;stroke:none}
.asset-mask{background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}
.channel-glyph{width:16px;height:16px;object-fit:contain;vertical-align:-3px;margin-right:8px}
.field-list-glyph{width:14px;height:14px;display:inline-flex;flex-direction:column;justify-content:space-around;flex-shrink:0}
.field-list-glyph i{position:relative;width:9px;height:1px;background:currentColor;display:block;margin-left:5px}
.field-list-glyph i:before{content:'';width:2px;height:2px;background:currentColor;position:absolute;left:-5px;top:-.5px;border-radius:50%}
.icon-button{width:32px;height:32px;padding:6px;border-radius:4px;color:rgba(0,0,0,.65)}
.icon-button .icon{width:16px;height:16px}
.button,.control,.date-range{border-radius:6px}
.button:hover{color:#ff8629;border-color:#ff8629}
.button.primary:hover{color:#fff;background:#ff8629;border-color:#ff8629}
.select-control:hover,.date-range:hover{border-color:#ff8629}
.control{padding:4px 11px;line-height:22px}
.field>label{margin-bottom:8px;color:rgba(0,0,0,.65)}
.field{margin-bottom:24px}
.chevron{border-color:#bfbfbf;width:6px;height:6px;margin-right:2px}
.section-title{font-weight:500;gap:12px;line-height:22px}
.section-title:before{border-radius:10px}
.segmented{height:38px;padding:3px;gap:0;background:#ebecf0;border-radius:6px;flex-shrink:0}
.segmented button{height:32px;line-height:32px;padding:0 24px;border-radius:5px;color:rgba(0,0,0,.45)}
.segmented button.active{box-shadow:0 1px 5px #0002;color:#f60}
.tabs{height:52px;gap:36px}
.tabs button{line-height:22px;font-weight:400}
.switch{background:rgba(0,0,0,.25)}
.switch:disabled{opacity:1;cursor:default}
.radios input{width:16px;height:16px;border:1px solid #d9d9d9;position:relative;flex-shrink:0}
.radios input:checked{border:1px solid #f60}
.radios input:checked:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#f60;left:3px;top:3px}
.check{appearance:none;width:16px;height:16px;border:1px solid #d9d9d9;border-radius:2px;background:#fff;position:relative;margin:0;flex-shrink:0}
.check:checked{background:#f60;border-color:#f60}
.check:checked:after{content:'';position:absolute;width:5px;height:8px;border:solid white;border-width:0 2px 2px 0;left:4px;top:1px;transform:rotate(45deg)}
/* Shared shell: 64px collapsed, 160px expanded. Production has Chat/Comments separately. */
.global-rail{background:#fff url('assets/golden/nav-background2.00f8003b.svg') 0 0/cover no-repeat;color:#253545;align-items:stretch}
.rail-brand{height:62px;flex-shrink:0;display:flex;align-items:flex-start;justify-content:center}
.rail-brand img{width:48px;height:48px;object-fit:contain;margin-top:3px}
.rail-nav{display:flex;flex-direction:column}
.global-rail a{width:53.2px;height:36px;min-height:36px;margin:0 0 4px 6px;padding:0 14px;border-radius:6px;justify-content:flex-start;gap:8px;color:#253545}
.global-rail a:nth-child(2),.global-rail a:nth-child(3){margin-bottom:2px}
.global-rail a:nth-child(8),.global-rail a:nth-child(10){margin-bottom:0}
.global-rail a .icon{width:20px;height:20px;flex:0 0 20px}
.global-rail a.active{color:#f60;background:rgba(255,255,255,.55)}
.global-rail a:hover{background:rgba(255,255,255,.6)}
.global-rail a.active:before{left:0;height:20px}
.nav-label{display:none;white-space:nowrap;font-size:13px}
.quickmate-icon{background:url('assets/golden/quickmate-reference.png') -11px -12px/115px 40px no-repeat!important;width:18px!important;height:18px!important;flex:0 0 18px!important}
.rail-plan{height:142px;flex-shrink:0;padding:0 22px 12px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px}
.rail-plan div{display:flex;gap:7px;align-items:center;height:22px;white-space:nowrap}
.rail-plan img{width:14px;height:14px;object-fit:contain;flex-shrink:0}
.rail-plan span,.rail-plan small{display:none}
.global-rail .rail-settings{height:48px;margin:0;width:64px;border-top:1px solid #dce5ee;padding-left:20px;border-radius:0}
.topbar{background:transparent;padding:0 20px 0 12px}
.top-left{gap:8px;color:rgba(0,0,0,.85)}
.top-left>.icon{width:16px;height:16px;color:#8c8c8c}
.top-left>.icon-button{width:20px;height:32px;padding:0;color:rgba(0,0,0,.85)}
.top-left>.icon-button .icon{width:20px;height:20px}
.top-left b{font-weight:700;font-size:16px;line-height:64px}
.top-tools{height:40px;gap:16px;padding:0 20px 0 8px;margin-right:-16px;border-radius:8px;background:#fcfcfd}
.top-tools>.icon-button{width:26px;height:32px;padding:3px;color:#374151}
.top-tools .header-search .icon{width:18px;height:18px}
.top-tools .header-help .icon,.top-tools .bell .icon{width:20px;height:20px}
.top-tools .header-help{color:#000}
.top-tools .bell{color:rgba(0,0,0,.65)}
.queue-status{display:flex;width:18px;align-items:center}
.queue-status .icon{width:18px;height:18px}
.service-status{width:26px;height:26px;position:relative;display:inline-flex;align-items:center}
.service-status>i{display:block;width:26px;height:26px;transform:scale(.7);background:url('assets/golden/status.c8bde734.svg') -26px 0 no-repeat}
.service-status>em{position:absolute;right:0;top:2px;width:8px;height:8px;border-radius:50%;background:#4dbd87}
.shop{font-size:16px;gap:8px;color:rgba(0,0,0,.85);height:40px;line-height:40px}
.shop>img{width:16px;height:16px}
.store-switch{width:18px;height:24px;position:relative;display:flex;align-items:center;margin-left:-3px}
.store-switch .icon{width:16px;height:16px}
.shop-unread{position:absolute;top:-4px;right:-11px;padding:0 4px;height:14px;min-width:20px;border-radius:10px;background:#ff4d4f;color:white;font:normal 12px/14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.top-tools .avatar{width:24px;height:24px;font-size:14px}
.top-tools .badge{top:0;right:-2px;font-style:normal}
.main{padding-bottom:16px}
.nav-expanded{--rail:160px}
.nav-expanded .global-rail{width:160px}
.nav-expanded .topbar,.nav-expanded .main{left:160px}
.nav-expanded .rail-brand{justify-content:flex-start;padding:14px 24px;height:62px}
.nav-expanded .rail-brand img{width:110px;height:28px;margin:0}
.nav-expanded .global-rail a{width:150px;padding:0 18px 0 22px}
.nav-expanded .global-rail a .icon{width:14px;height:14px;flex-basis:14px}
.nav-expanded .nav-label{display:inline}
.nav-expanded .rail-plan{padding:0 24px 12px;gap:1px;height:142px}
.nav-expanded .rail-plan img{width:13px;height:13px}
.nav-expanded .rail-plan span,.nav-expanded .rail-plan small{display:inline}
.nav-expanded .rail-plan small{font-size:10px;line-height:19px;color:#a1a8af}
.nav-expanded .rail-plan .quota{display:block;height:24px;line-height:24px;text-align:center;color:#f60;background:#fff4ec;font-size:12px;border-radius:6px;margin-top:5px}
.nav-expanded .global-rail .rail-settings{width:160px;padding-left:28px}
/* Settings shell: independently scrolled 160px menu, not the primary rail. */
.settings-shell .main{left:160px;right:0;top:64px;padding:0 0 0 0}
.settings-sidebar{padding:8px 8px 0;scrollbar-width:none}
.settings-sidebar a{height:28px;line-height:28px;margin:4px 0 8px;padding:0 12px}
.settings-sidebar hr{margin:12px 0;border-color:#f0f0f0}
.settings-sidebar .chip{height:18px;line-height:18px;border:0;padding:0 7px;border-radius:12px;font-size:12px}
.settings-shell .top-left{gap:12px}
.settings-shell .top-left .close{width:24px;height:24px;border-radius:6px;background:white;padding:0;color:#8c8c8c;font-size:24px;font-weight:300}
.pane{border-radius:8px}
/* 1. Analysis: actual tab geometry and a fixed 92px metric rhythm. */
.analytics{gap:16px}
.analytics>.segmented{width:max-content}
.analytics .pane{padding:0 16px 20px;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.sticky-tabs{margin:0 -16px}
.sticky-tabs .tabs{padding:0 24px}
.analysis-filters{gap:12px;padding:16px 0;flex-wrap:nowrap}
.analysis-filters [data-pick='analysis.dateType']{width:84px;flex:0 0 84px}
.analysis-filters .date-range{width:260px;flex:0 0 260px}
.analysis-filters>.select-control{width:0;flex:1}
.analysis-filters>[data-pick='analysis.dateType']{flex:0 0 84px;width:84px}
.date-range .datepart{font-size:14px;color:rgba(0,0,0,.85)}
.date-range .calendar-icon{display:flex;align-items:center}
.metric-grid{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.076fr) minmax(0,1.17fr) minmax(0,1fr)}
.metric{height:92px;min-height:92px;padding:16px;border:1px solid #ffe0cc;border-radius:8px;background:linear-gradient(115deg,#fffdfc,#fff7f2);display:flex;flex-direction:column;justify-content:center}
.metric-name{font-size:12px;line-height:22px;height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(0,0,0,.65)}
.metric-info{border-bottom:1px dashed #bfbfbf}
.metric-value{font-size:22px;line-height:22px;font-weight:700;margin-top:8px;white-space:nowrap;overflow-wrap:normal}
.metric.new{border-color:#ffe0cc}
.chart-section{margin-top:24px}
.chart-section>.section-title{display:none}
/* 2. Data center: x200 table, y253 header, 200px fields, fixed operation. */
.data-pane{border-radius:8px 0 0 8px;padding:16px 40px 24px;height:100%}
.table-title{margin:0 -24px;height:48px;min-height:48px;padding:0 24px;background:#fafafa}
.table-title .section-title{gap:8px}
.data-pane .tabs{margin:8px 0 16px;height:53px;gap:24px}
.table-toolbar{height:32px;margin-bottom:16px;gap:16px}
.table-toolbar>.row{gap:12px}
.table-toolbar [data-pick='timezone']{width:200px;font-size:12px;flex-shrink:0}
.table-toolbar [data-action='open-fields']{padding:0 15px}
th{font-weight:500;height:46px;padding:12px 16px;color:rgba(0,0,0,.85)}
td{padding:24px 16px;height:84px}
.data-table td{padding:20px 16px;height:84px;line-height:22px}
.data-table th{line-height:22px}
.data-pane .table-wrap{flex:0 0 auto;height:calc(100vh - 372px)}
.data-table th:first-child{border-radius:8px 0 0 8px}
.data-table th:last-child{border-radius:0 8px 8px 0}
.customer-cell .avatar{width:24px;height:24px;font-size:14px}
.customer-cell small{font-size:12px;max-width:145px;line-height:18.858px}
.pagination{height:48px;padding-top:16px;gap:6px;font-size:14px}
.pagination>span{margin-right:8px}
.pagination button{height:24px;min-width:24px;padding:0 6px;line-height:22px}
.data-filter{left:299px;top:205px;width:516px;height:min(610px,calc(100vh - 245px));padding:12px 16px;scrollbar-width:thin}
.data-filter h3{font-size:16px;line-height:22px;margin:0 0 10px}
.data-filter .notice{height:42px;display:flex;align-items:center;padding:10px 16px;margin-bottom:8px;color:rgba(0,0,0,.65)}
.data-filter .notice:before{content:'?';background:#ffc53d;color:white;width:14px;height:14px;border-radius:50%;font-size:10px;line-height:14px;text-align:center;margin-right:8px;flex-shrink:0}
.data-filter .field{margin-bottom:18px}
.data-filter .field>label{margin-bottom:8px}
.fields-popover{right:328px;top:242px;width:292px;max-height:calc(100vh - 336px);height:564px;padding:8px 16px;scrollbar-width:thin}
.field-item{height:34px;gap:12px}
.field-item>.drag{width:18px;display:flex;justify-content:center}
.drag i{width:6px;height:12px;display:block;background:radial-gradient(circle,#bfbfbf .7px,transparent .8px) 0 0/3px 4px}
.field-item .icon{width:14px;height:14px}
.field-item>.plain{padding:0;margin-left:0;color:#595959;display:flex;align-items:center}
.field-item>.field-move{opacity:0;position:absolute;right:30px;width:20px;background:white}
.field-item:hover>.field-move,.field-item>.field-move:focus-visible{opacity:1}
/* 3. More settings: preserve all seven original cards and their true rhythm. */
.settings-page{gap:16px}
.settings-page>.segmented{margin-right:24px}
.settings-page>.segmented>button:nth-child(1):after,.settings-page>.segmented>button:nth-child(4):after{content:'';display:inline-block;width:12px;height:12px;margin-left:8px;vertical-align:-1px;background:#8c8c8c;mask:url('assets/icons/header-info.svg') center/contain no-repeat}
.settings-scroll{padding-right:28px}
.setting-card{padding:16px 16px 24px;margin-bottom:16px;min-height:96px}
.setting-card>.desc{margin:2px 0 8px 12px;font-size:12px;line-height:19px}
.setting-card>.section-title{margin-bottom:3px}
.setting-card>.setting-toggle{margin:26px 0 0 16px}
.setting-inner{padding:20px 24px;margin-top:8px;background:#f6f7f8;border-radius:6px}
.setting-card:first-child{height:196px}
.setting-card:nth-child(3){min-height:197px}
.setting-card:nth-child(3){padding-bottom:22px}
.setting-card .small{line-height:18.858px}
.existing-disabled{background:#f5f5f5!important;border-color:#ddd;color:#bfbfbf}
.alert-card{height:auto!important;min-height:0;padding:20px 24px 24px}
.alert-card .section-title{font-size:14px}
.alert-card>.desc{font-size:12px;line-height:19px}
.rules-head{margin:20px 0 12px}
.rule-list{background:#fafafa;border:1px solid #f0f0f0;padding:0 16px}
.rule-row{padding:16px 0}
.rule-description{font-size:12px;color:rgba(0,0,0,.45);line-height:22px}
.rule-hint{font-size:12px;margin:12px 0 20px}
.notification-config{padding-top:20px}
.notification-config>div:first-child{font-size:14px!important;font-weight:500}
.recipient-row{border:1px solid #f0f0f0;background:#fafafa;border-radius:8px;padding:20px;gap:12px}
.recipient-label{font-weight:400;height:32px;padding:4px 11px;line-height:22px;width:180px}
.rule-popover{padding:16px;right:44px;top:200px;border:0;box-shadow:var(--shadow)}
.rule-popover .popover-title{margin:0 0 16px}
.rule-popover .popover-title h3{font-size:14px}
.rule-grid{padding:12px;gap:24px 20px;border-color:#f0f0f0;background:#fafafa}
.dialog-actions{padding-top:16px}
/* 4. Chat & saved views. Product left region is 560/340 including 220px view nav. */
.chat-main{padding:0 4px 4px}
.chat-layout{gap:10px}
.chat-left{width:560px;background:#fcfcfe}
.chat-left.collapsed{width:340px}
.chat-type-tabs{height:68px;min-height:68px;gap:4px;padding:12px 12px 12px;border-bottom:1px solid #f5f5f5}
.chat-type-tabs .segmented{height:38px;padding:3px;background:#f5f5f7}
.chat-type-tabs .segmented button{height:32px;line-height:32px;padding:0 8px;font-size:14px}
.chat-type-tabs>.icon-button{width:24px;padding:5px;color:#8c8c8c}
.chat-type-tabs>.icon-button .icon{width:14px;height:14px}
.view-sidebar{width:220px;padding:8px;border-right:1px solid #f5f5f5}
.view-item{height:38px;margin:0 0 2px;padding:0 8px;gap:8px;font-size:14px;border-radius:8px;color:rgba(0,0,0,.65)}
.view-item .icon{width:14px;height:14px;color:inherit}
.view-item small{font-size:12px;color:#f66;background:#fff4ed;line-height:14px;border-radius:8px;padding:0 5px}
.view-item.active{background:#fcf1e9;color:#f60}
.view-item.saved-view{padding-left:28px}
.view-item.group{height:38px;padding-left:12px;margin:12px 0 4px;font-size:14px}
.view-edit{font-size:14px}
.conversation-list{padding:0 12px}
.list-head{height:52px;min-height:52px;gap:4px;padding:0 4px}
.list-view-trigger{display:flex;align-items:center;gap:4px;cursor:pointer;font-size:14px}
.list-view-trigger>.icon{width:14px;height:14px}
.list-head .icon-button{width:24px;height:28px;padding:4px;color:#8c8c8c}
.list-search-wrap{height:28px;min-height:28px;background:#f5f5f5;border-radius:4px;display:flex;align-items:center;padding:0 11px;gap:8px}
.list-search-wrap>.icon{width:14px;height:14px;color:#999}
.list-search{height:28px;font-size:12px;line-height:20px;padding:0;background:transparent}
.chat-list-body{padding-top:8px}
.chat-item{padding:10px 8px;min-height:78px;margin:0 0 2px;border-radius:8px;gap:10px}
.chat-item.active,.chat-item:hover{background:#fff4ec}
.chat-item .avatar{width:38px;height:38px;margin-top:6px}
.chat-item-name{max-width:165px;font-size:12px;line-height:20px;color:rgba(0,0,0,.65)}
.chat-preview{line-height:20px;margin:0;color:rgba(0,0,0,.85);font-size:12px}
.chat-item-time{font-size:12px}
.chat-labels{line-height:20px;font-size:12px}
.list-total{height:44px;min-height:44px;background:#f7f7f9;padding:12px 24px;font-size:12px}
.conversation{background:#fafafa;position:relative}
.conversation [data-action='toggle-customer']{position:absolute;right:0;top:50%;z-index:3;width:24px;height:24px;padding:0;box-shadow:0 1px 5px #0001;border-radius:4px;background:white}
.conversation [data-action='toggle-customer'] .icon{width:24px;height:24px}
.customer-expanded [data-action='toggle-customer'] .icon{transform:rotate(180deg)}
.conversation-header{height:44px;min-height:44px;padding:0 16px;border:0;background:#fcfcfe;overflow:hidden}
.conversation-header>div:first-child{min-width:0;overflow:hidden}
.conversation-header b{font-size:16px;font-weight:500;white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
.conversation-header .channel-name{display:none}
.conversation-actions{gap:8px;flex-shrink:0}
.conversation-actions>.button{border:0;background:transparent;width:24px;padding:3px;height:28px}
.conversation-actions>.button>.icon{width:16px;height:16px}
.detail-secondary{display:flex;gap:14px;align-items:center;color:rgba(0,0,0,.65)}
.detail-secondary .icon{width:14px;height:14px}
.messages{padding:12px 28px}
.timeline-day{font-size:12px;margin:12px 0 24px;color:rgba(0,0,0,.45)}
.message-row{margin:24px 0}
.message-bubble{font-size:14px;line-height:22px;border:1px solid #eee;background:white;border-radius:8px}
.message-row.agent .message-bubble{background:#ffecd0;border-color:#ffe0b5}
.message-row.note .message-bubble{background:#fff4dc}
.message-bubble small{font-size:11px}
.composer{margin:12px 16px 10px;padding:12px 16px;min-height:148px;background:#fff;border:0;box-shadow:0 2px 12px #0001;border-radius:8px}
.composer textarea{height:56px;font-size:14px;line-height:22px}
.composer .tabs{font-size:12px;height:24px;margin:0}
.composer-tools{height:32px;gap:16px;color:rgba(0,0,0,.45)}
.composer-tools>.icon{width:16px;height:16px}
.composer-tools>.button{height:30px;font-size:12px}
.customer-panel{width:386px;padding:16px;position:relative}
.chat-layout.customer-expanded .detail-secondary{display:none}
.customer-tabs{font-size:14px;gap:24px;height:38px;border-bottom:1px solid #f0f0f0}
.customer-profile .avatar{width:36px;height:36px}
.customer-detail{font-size:14px;line-height:22px;padding:16px 0}
.view-filter{left:36px;right:auto;top:90px;width:min(1088px,calc(100vw - 60px));max-width:none;height:calc(100vh - 180px);min-height:0;border-radius:8px}
.view-filter>.segmented{margin:12px 16px 16px}
.filter-scroll{padding:0 16px 60px}
.filter-columns{gap:16px}
.filter-group{padding:12px;background:#fafafa;border-color:#f0f0f0;border-radius:8px;margin-bottom:16px}
.group-title{font-size:14px;line-height:22px;height:22px;color:rgba(0,0,0,.45);margin:0 0 12px;border:0;padding-left:8px;position:relative}
.group-title:before{content:'';position:absolute;left:0;top:5px;height:12px;width:1px;background:#ff9a59}
.filter-grid{gap:24px 20px}
.filter-grid .field{margin:0 0 0;min-height:62px}
.filter-grid .field>label{font-size:14px;line-height:22px;color:rgba(0,0,0,.65);margin:0 0 8px}
.filter-group .date-range{max-width:404px}
.view-filter-footer{right:16px;bottom:16px;background:rgba(255,255,255,.94);padding:4px 0;gap:10px}
/* 5. Notification center: actual 840px drawer; mock round cards use approved PRD copy. */
.notification-drawer{padding:16px;box-shadow:-8px 0 30px #0002}
.drawer-head{height:22px;min-height:22px;margin:0 0 16px}
.drawer-head h3{font-size:16px;line-height:22px;font-weight:400}
.drawer-head>.close{font-size:22px;width:24px;height:24px;padding:0;font-weight:300}
.notification-drawer .segmented{height:38px;background:#f0f0f0}
.notification-drawer .segmented button{font-size:13px;line-height:32px;height:32px;padding:0 24px}
.notification-list{padding-top:16px}
.notification-card{padding:18px 16px 16px 24px;border-bottom:1px solid #f0f0f0}
.notification-card h4{line-height:22px;font-size:14px;font-weight:500}
.notification-card p{font-size:14px;line-height:22px;margin:8px 0 12px;color:rgba(0,0,0,.65)}
.notification-card time{font-size:12px;color:rgba(0,0,0,.45)}
.notification-card .dot{left:8px;top:27px;background:#ff4d4f}
.notification-card.read{background:white}
.notification-card .button{font-size:12px;height:28px;padding:0 12px;color:#f60;border-color:#ffd7bd}
.notification-empty{flex-direction:column;gap:12px;color:rgba(0,0,0,.25)}
.empty-box{width:48px;height:32px;border:1px solid #d9d9d9;border-radius:3px;background:#fafafa;display:block;position:relative;box-shadow:0 4px 0 6px #fafafa}
.empty-box:before{content:'';position:absolute;left:6px;right:6px;top:-8px;height:18px;background:white;border:1px solid #d9d9d9;transform:perspective(20px) rotateX(25deg);border-radius:2px}
/* Public view dialog and selectors: scoped, no changes to filter semantics. */
.public-page{padding:20px 38px}
.public-page>.section-title{font-size:14px;margin-left:-14px}
.public-page>.small{margin:2px 0 8px}
.public-page .table-toolbar{margin:8px 0 24px}
.public-page td{height:46px;padding:12px 16px}
.modal{border-radius:12px}
.modal-mask{background:rgba(0,0,0,.5)}
.public-dialog{padding:0;min-height:544px;position:relative;display:flex;flex-direction:column}
.public-dialog>.popover-title{padding:16px 24px;margin:0 0 24px!important;flex-shrink:0}
.public-dialog>.popover-title h3{font-size:16px}
.public-dialog>.field,.public-dialog>div:not(.popover-title):not(.dialog-actions){margin-left:42px!important;margin-right:50px!important}
.public-dialog>.field{margin-top:0;margin-bottom:0}
.public-dialog>.radios{margin-top:12px;margin-bottom:28px}
.public-dialog>.segmented{margin-top:8px;margin-bottom:4px}
.public-dialog .radios{gap:16px}
.public-dialog .radios label{gap:8px}
.public-dialog .dialog-actions{margin-top:auto;padding:24px 28px 20px}
.public-dialog [data-action='add-public-condition']{border-color:transparent;color:#5566ff;box-shadow:0 1px 10px #304aad33;font-size:12px;height:36px}
.picker{padding:4px;border-radius:6px;box-shadow:0 4px 18px #0002}
.picker-search{border:0;border-bottom:1px solid #f0f0f0;height:30px;font-size:14px}
.picker-option{padding:5px 12px;line-height:22px;height:32px;color:rgba(0,0,0,.85)}
.picker-option.selected{background:#fff4eb}
.picker-option:hover{background:#f5f5f5}
.picker[data-picker-key='recipients.selected']{max-height:300px}
.picker[data-picker-key='recipients.operator'] .picker-option.selected{font-weight:600}
.demo-toggle{height:30px;line-height:28px;padding:0 12px;bottom:12px;right:16px;border-radius:16px;opacity:.8}
.demo-toggle:hover{opacity:1}
@media(max-width:1300px){.metric-grid{gap:16px}.metric{padding:12px}.metric-value{font-size:22px}.segmented button{padding:0 18px}.chat-left{width:560px}.view-sidebar{width:220px}.customer-panel{width:330px}.analysis-filters{gap:10px}.analysis-filters>.select-control{width:0}.analysis-filters>.date-range{flex-basis:244px;width:244px}.recipient-label{width:160px}.chat-layout.customer-expanded .chat-left{width:500px}.chat-layout.customer-expanded .view-sidebar{width:160px}}
@media(max-width:1100px){.analysis-filters{flex-wrap:wrap}.analysis-filters>.select-control{flex:1 1 150px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.view-filter{left:24px;width:calc(100vw - 48px)}.detail-secondary{display:none}.data-pane{padding-left:24px;padding-right:24px}.notification-drawer{max-width:calc(100vw - 64px)}}


/* Scoped UPDATE: chat selection column. Live DOM/CSS captured 2026-10-21.
   Keep the existing 220px column boundary, header, list and message pane. */
.chat-view-sidebar{background:#fcfcfd;scrollbar-width:thin}
.chat-view-sidebar .chat-sidebar-menu{width:calc(100% - 5px);padding:0 0 8px;font:400 14px/22px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;color:rgba(0,0,0,.65)}
.chat-view-sidebar button{border:0;background:none;cursor:pointer;font:inherit;text-align:left;color:inherit;box-shadow:none}
.chat-view-sidebar button:focus-visible{outline:1px solid #ff944d;outline-offset:-1px;border-radius:4px}
.chat-view-sidebar .chat-menu-group{display:flow-root;margin:0;padding:0}
.chat-view-sidebar .chat-group-heading{height:36px;margin:2px 0;position:relative;display:flex;align-items:center;border-radius:8px}
.chat-view-sidebar .selected-group>.chat-group-heading{background:rgba(255,102,0,.06)}
.chat-view-sidebar .chat-group-label{height:36px;width:100%;padding:0 34px 0 8px;display:flex;align-items:center;gap:10px;line-height:40px;white-space:nowrap}
.chat-view-sidebar .selected-group>.chat-group-heading>.chat-group-label{color:rgba(0,0,0,.85)}
.chat-view-sidebar .selected-group>.chat-group-heading>.chat-group-label>.chat-side-icon{color:#f60}
.chat-view-sidebar .chat-side-icon{width:14px;height:14px;flex:none;display:block;fill:currentColor;color:inherit}
.chat-view-sidebar .chat-sla-icon{height:12px}
.chat-view-sidebar .chat-group-arrow{position:absolute;right:0;top:0;width:34px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;color:#d9d9d9}
.chat-view-sidebar .chat-group-arrow i{position:relative;display:block;width:10px;height:0}
.chat-view-sidebar .chat-group-arrow i:before,.chat-view-sidebar .chat-group-arrow i:after{position:absolute;content:"";width:6px;height:1.5px;border-radius:2px;background:currentColor;transition:transform .15s}
.chat-view-sidebar .chat-group-arrow i:before{transform:rotate(-45deg) translateX(2.5px)}
.chat-view-sidebar .chat-group-arrow i:after{transform:rotate(45deg) translateX(-2.5px)}
.chat-view-sidebar .chat-group-arrow.expanded i:before{transform:rotate(45deg) translateX(2.5px)}
.chat-view-sidebar .chat-group-arrow.expanded i:after{transform:rotate(-45deg) translateX(-2.5px)}
.chat-view-sidebar .chat-submenu{padding:2px 0 2px 20px;display:flex;flex-direction:column;gap:2px;background:#fcfcfd}
.chat-view-sidebar .chat-subitem{display:flex;align-items:center;gap:8px;padding:0 16px 0 8px;min-height:36px;height:36px;line-height:40px;border-radius:8px;width:100%;color:rgba(0,0,0,.45);white-space:nowrap}
.chat-view-sidebar .chat-subitem.selected{color:#f60;background:transparent}
.chat-view-sidebar .chat-subitem:hover{color:#f60}
.chat-view-sidebar .chat-personal-heading{height:36px;min-height:36px;position:relative;display:flex;align-items:center;color:rgba(0,0,0,.45)}
.chat-view-sidebar .chat-personal-heading.expanded{color:#f60}
.chat-view-sidebar .chat-personal-label{display:flex;align-items:center;gap:10px;height:36px;padding:0 56px 0 8px;width:100%;line-height:40px;white-space:nowrap}
.chat-view-sidebar .chat-side-add{position:absolute;right:34px;top:0;width:22px;height:36px;display:flex;align-items:center;justify-content:center;padding:0;color:rgba(0,0,0,.45);opacity:0}
.chat-view-sidebar .chat-personal-heading:hover .chat-side-add,.chat-view-sidebar .chat-personal-heading:focus-within .chat-side-add{opacity:1}
.chat-view-sidebar .chat-side-add>.chat-side-icon{width:12px;height:12px}
.chat-view-sidebar .chat-personal-views{display:flex;flex-direction:column;gap:2px;padding-left:20px}
.chat-view-sidebar .chat-personal-views:empty{display:none}
.chat-view-sidebar .chat-saved-row{position:relative;display:flex;align-items:center;height:36px;min-height:36px;color:rgba(0,0,0,.45);border-radius:8px}
.chat-view-sidebar .chat-saved-row.selected{color:#f60}
.chat-view-sidebar .chat-saved-label{display:flex;align-items:center;gap:8px;height:36px;padding:0 26px 0 8px;min-width:0;width:100%}
.chat-view-sidebar .chat-saved-label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-view-sidebar .chat-side-edit{position:absolute;right:0;width:24px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;color:rgba(0,0,0,.45);opacity:0}
.chat-view-sidebar .chat-saved-row:hover .chat-side-edit,.chat-view-sidebar .chat-saved-row:focus-within .chat-side-edit{opacity:1}
.chat-view-sidebar .chat-side-edit>.chat-side-icon{width:12px;height:12px}
.chat-view-sidebar .chat-public-divider{height:1px;border-top:1px solid rgba(231,233,237,.25);margin:12px 0 20px}
.chat-view-sidebar .chat-public-heading{display:flex;align-items:center;justify-content:space-between;height:22px;line-height:22px;margin-left:12px;color:rgba(0,0,0,.45)}
.chat-view-sidebar .chat-public-edit{width:36px;height:22px;padding:0;display:flex;align-items:center;justify-content:center;color:rgba(0,0,0,.45)}
.chat-view-sidebar .chat-public-edit>.chat-side-icon{width:12px;height:12px}
.chat-view-sidebar .chat-public-views:not(:empty){padding:8px 0 0 12px}

/* View configuration UPDATE: category-specific personal templates and public builder. */
.classified-view-filter{left:88px;top:max(24px,calc((100vh - 684px)/2 - 48px));width:min(1084px,calc(100vw - 112px));height:684px;max-height:calc(100vh - 96px);background:white;box-shadow:0 5px 24px #0002}
.classified-view-filter[data-view-category='分配给我的']{top:max(24px,calc((100vh - 856px)/2 - 16px));height:856px}
.classified-view-filter>.segmented{align-self:flex-start;height:38px;margin:12px 16px 16px}
.classified-view-filter>.segmented button{width:76px;padding:0 16px}
.classified-view-filter[data-view-category='AI Agent']>.segmented button{width:76px}
.classified-view-filter .filter-scroll{padding:0 16px 72px}
.classified-view-filter .filter-group{padding-bottom:24px}
.classified-view-filter .view-filter-footer{right:26px;bottom:22px}
.classified-view-filter .view-filter-footer>.primary{min-width:130px}
.classified-view-filter .view-filter-footer>.primary:disabled{background:#ffb88b;border-color:#ffb88b;opacity:.75}
.public-view-icon,.view-dialog-icon{width:14px;height:14px;display:block;fill:currentColor}
.public-page .public-list-filters{gap:12px}
.public-page .public-name-search{position:relative;width:239px}
.public-page .public-name-search input{width:100%;padding-right:34px}
.public-page .public-name-search>.icon{position:absolute;width:14px;height:14px;right:10px;top:9px;color:#8c8c8c}
.public-page [data-pick='publicCategory']{width:168px}
.public-page [data-pick='publicSkill']{width:250px}
.public-page .public-operation-divider{display:inline-block;height:14px;vertical-align:middle;border-left:1px solid #d9d9d9;margin:0 8px}
.public-page .public-pagination{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}
.public-pagination .button{border:0;min-width:24px;width:24px;height:24px;padding:0;color:rgba(0,0,0,.65);background:white}
.public-pagination .button.active{border:1px solid #f60;color:#f60}
.public-dialog{width:945px;max-height:calc(100vh - 48px);min-height:544px;overflow:auto}
.public-dialog>.popover-title{padding:16px 24px 0!important;height:40px;min-height:40px;margin-bottom:24px!important}
.public-dialog>.popover-title h3{font-size:15px;font-weight:500;line-height:24px}
.public-dialog>.popover-title>.close{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:#262626;padding:0}
.public-dialog>.public-form-body{margin:0 50px 0 42px!important}
.public-dialog .public-form-body>.field{margin:0}
.public-dialog .public-form-body>.field>label{margin:0 0 8px;line-height:22px}
.public-dialog .public-form-section{margin-top:24px;line-height:22px}
.public-dialog .public-form-section>.radios{margin:12px 0 0;min-height:22px;line-height:22px;gap:16px}
.public-dialog .public-info{color:#bfbfbf;margin-left:4px;cursor:help}
.public-dialog .public-condition-tabs{height:38px;margin-top:8px;overflow:visible}
.public-dialog .public-condition-tabs button{position:relative;width:76px;padding:0 16px;height:32px;line-height:32px}
.public-condition-tabs sup{position:absolute;font:12px/14px Arial,sans-serif;top:0;right:8px;background:#ff4d4f;color:white;border-radius:7px;min-width:14px;height:14px;text-align:center}
.public-dialog .public-condition-list:not(:empty){margin-top:14px}
.public-dialog .public-condition-row{display:grid;grid-template-columns:155px 140px minmax(0,1fr) 14px;gap:10px;align-items:start;margin-bottom:10px}
.public-condition-row .select-control,.public-condition-row input.control{width:100%;min-width:0}
.public-condition-row .selection-summary{min-width:0;flex-wrap:nowrap;overflow:hidden}
.public-condition-row .selection-summary .chip{white-space:nowrap}
.public-dialog .public-field-wrap>.select-control .selection-summary>.chip,.public-dialog .public-operator>.select-control .selection-summary>.chip{background:none;border:0;margin:0;padding:0;color:inherit;font-size:14px}
.public-dialog .public-condition-invalid{color:#ff4d4f;font-size:14px;line-height:22px}
.public-dialog .public-condition-delete{border:0;background:none;color:#c5c9d0;width:14px;height:32px;padding:8px 0;cursor:pointer}
.public-dialog .public-condition-delete:hover{color:#ff4d4f}
.public-dialog .public-add-condition{margin-top:16px}
.public-dialog .public-skill-section{margin-top:28px}
.public-dialog .public-skill-section>.select-control{width:100%;margin-top:12px}
.public-dialog .dialog-actions{padding:24px 28px 20px;min-height:76px}
.public-dialog .error{margin-top:12px}
.picker[data-picker-key^='public.'][data-picker-key$='.field']{max-height:264px}
.picker[data-picker-key^='public.'] .public-field-option{padding-left:24px;flex-shrink:0}
.picker[data-picker-key^='public.'] .picker-group{font-size:12px;line-height:22px;padding:5px 12px;height:32px}
@media(max-width:1200px){.classified-view-filter{left:24px;width:calc(100vw - 48px)}.public-page .public-list-filters{flex-wrap:wrap}.public-page [data-pick='publicSkill']{width:200px}}

/* PRD 0.26: alert configuration only. Actual allocation drawer is 900px wide. */
.setting-card.alert-entry-card{display:flex;align-items:center;justify-content:space-between;gap:24px;height:96px;min-height:96px;padding:16px}
.alert-entry-card .section-title{margin:0;font-size:14px}
.alert-entry-card .desc{margin:4px 0 0}
.alert-entry-card>.button{flex-shrink:0;height:32px}
.alert-list-pane{flex:1;min-height:0;background:#fff;padding:24px;display:flex;flex-direction:column;overflow:hidden}
.alert-list-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;min-height:48px;flex-shrink:0}
.alert-list-toolbar h3{margin:0;display:flex;align-items:center;gap:10px;line-height:32px;font-size:16px;font-weight:500}
.alert-back{font-size:24px;font-weight:300;min-width:18px;line-height:32px;padding:0;color:rgba(0,0,0,.65)}
.alert-list-toolbar>.button{height:32px}
.alert-table-wrap{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}
.alert-table{table-layout:fixed;min-width:1000px;width:100%}
.alert-table th{height:46px;font-weight:500;background:#fafafa;padding:12px 16px;position:relative;font-size:14px;white-space:nowrap}
.alert-table th+th:before{position:absolute;content:'';left:0;top:12px;height:22px;width:1px;background:#ededed}
.alert-table td{height:65px;padding:16px;border-bottom:1px solid #f0f0f0;vertical-align:middle;overflow-wrap:anywhere;font-size:14px}
.alert-table .alert-scope{color:rgba(0,0,0,.65);font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.alert-table .alert-update-time{font-size:13px}
.alert-table td:last-child{white-space:nowrap}
.alert-table .switch{width:28px;height:16px;min-width:28px;padding:0}
.alert-table .switch:after{height:12px;width:12px;top:2px;left:2px;right:auto}
.alert-table .switch.on:after{left:14px}
.alert-rule-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.1);z-index:54}
.alert-rule-drawer{position:fixed;right:0;top:0;bottom:0;width:min(900px,100vw);background:white;box-shadow:-6px 0 20px #0002;z-index:55;display:flex;flex-direction:column}
.alert-drawer-header{padding:16px 24px;height:55px;flex-shrink:0;border-bottom:1px solid #f0f0f0}
.alert-drawer-header h3{font-size:16px;font-weight:500;line-height:22px;margin:0}
.alert-drawer-body{padding:24px;min-height:0;flex:1;overflow:auto;scrollbar-width:thin}
.alert-drawer-body>.section-title{font-size:14px;font-weight:400;margin:0 0 0 14px;line-height:22px;padding:0;border:0;position:relative}
.alert-drawer-body>.section-title:before{content:'';position:absolute;width:1px;height:12px;background:#f60;left:-14px;top:5px}
.alert-drawer-form{padding-left:16px;margin-top:20px}
.alert-drawer-form>.field{margin:0}
.alert-drawer-form>.field+.field{margin-top:24px}
.alert-drawer-form>.field>label{font-size:14px;line-height:22px;margin-bottom:8px;color:rgba(0,0,0,.85);display:block}
.alert-rule-drawer .control{min-height:32px;height:32px;border-radius:6px;font-size:14px;border-color:#d9d9d9;line-height:22px;padding:4px 11px;min-width:0}
.alert-name-wrap{position:relative}
.alert-name-wrap input{width:100%;padding-right:90px}
.alert-name-count{position:absolute;right:12px;top:5px;font-size:12px;color:#8c8c8c;line-height:22px;pointer-events:none}
.alert-conditions .public-condition-row{display:grid;margin-bottom:12px;grid-template-columns:155px 140px minmax(0,1fr) 16px;gap:10px;align-items:center}
.alert-conditions .public-condition-row .select-control,.alert-conditions .public-condition-row input.control{width:100%;min-width:0}
.alert-conditions .selection-summary{min-width:0;flex-wrap:nowrap;overflow:hidden}
.alert-conditions .selection-summary .chip{white-space:nowrap}
.alert-conditions .public-field-wrap .chip{border:0;padding:0;background:transparent}
.alert-conditions .public-condition-delete{width:16px;height:24px;padding:0;background:none;border:0;display:flex;align-items:center;color:#bbc0c8}
.alert-conditions .view-dialog-icon{width:14px;height:14px;fill:currentColor}
.alert-rule-drawer .public-add-condition{margin-top:8px;background:#fff;border:0;box-shadow:0 0 10px #bcc9e466;color:#1e63f5;border-radius:8px;height:36px;padding:8px 16px;font-size:12px;line-height:20px}
.alert-threshold-wrap{display:flex;align-items:center;gap:8px}
.alert-threshold-wrap input{width:180px}
.alert-field-help{font-size:12px;line-height:22px;color:rgba(0,0,0,.45);margin-top:4px}
.alert-rule-drawer .alert-recipient-control{height:auto;min-height:34px;padding:3px 5px;cursor:pointer;outline:none}
.alert-recipient-control:focus{border-color:#ff944c;box-shadow:0 0 0 2px #ff660014}
.alert-recipient-control .selection-summary{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.alert-recipient-control .chip{height:24px;line-height:22px;background:#f5f5f5;border:1px solid #f0f0f0;color:rgba(0,0,0,.65);font-size:14px;padding:0 6px;display:inline-flex;align-items:center;gap:5px}
.alert-recipient-control .placeholder{margin-left:6px}
.alert-recipient-remove{border:0;background:transparent;color:#bfbfbf;font-size:13px;padding:0;line-height:20px;cursor:pointer}
.alert-recipient-control .chevron{margin-right:7px}
.alert-drawer-footer{height:53px;flex-shrink:0;border-top:1px solid #f0f0f0;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 16px}
.alert-drawer-footer .button{height:32px;min-height:32px;padding:4px 15px;font-size:14px;border-radius:6px}
.alert-field-error{margin-top:6px;font-size:13px;line-height:22px}
.alert-field-invalid .control{border-color:#ff4d4f}
.alert-save-error{margin-top:16px}
.picker[data-picker-key='ruleRecipients']{max-height:280px}
.picker[data-picker-key^='alertCondition.'][data-picker-key$='.field']{min-width:155px}
@media(max-width:750px){.alert-drawer-form{padding-left:0}.alert-conditions .public-condition-row{grid-template-columns:110px 90px minmax(100px,1fr) 16px;gap:6px}.alert-drawer-body{padding:20px}.alert-list-pane{padding:20px}.alert-entry-card{gap:12px}}
