.office-shell{--ink:#172B3A;--muted:#5F6F7E;--rail:#102A43;--ground:#F7F9FB;--paper:#FFFFFF;--line:#E5E9ED;--green:#218B32;--green-soft:#E7F4EA;--amber:#B45309;--amber-soft:#FEF3C7;--blue:#2878D0;--blue-soft:#E8F1FB;--navy:#102A43;--navy-hover:#1B3A57;--green-hover:#1B7429;--red:#C62832;--red-soft:#FDECEE;--grey-soft:#EEF1F4;--shadow:0 1px 2px rgba(16,42,67,.06),0 1px 3px rgba(16,42,67,.04);color:var(--ink)}body:has(.office-shell){background:#F7F9FB}.office-shell ::selection{background:#DCEAF8;color:#102A43}.office-shell :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--blue);outline-offset:2px}.office-shell .sidebar{width:240px;background:var(--navy);color:#DCE5EE;padding:16px 12px;overflow-y:auto}.office-shell .brand{font-size:16px;color:#fff;padding:4px 8px 16px;gap:10px}.office-shell .brand-logo-mark{width:36px;height:36px}.office-shell .brand-sub{font-size:11px;color:#9FB3C8;margin-top:1px}.office-shell .sidebar nav{gap:2px}.office-shell .nav-item{gap:10px;padding:8px 10px;border-radius:8px;color:#DCE5EE;font-weight:500;text-decoration:none}.office-shell .nav-item svg{width:18px;height:18px}.office-shell .nav-item:hover{background:var(--navy-hover)}.office-shell .nav-item.active{background:#fff;color:var(--navy)}.office-shell .nav-count{border:0;background:rgba(255,255,255,.14);border-radius:999px;padding:0 8px;min-width:0;font-size:12px}.office-shell .nav-item.active .nav-count{background:var(--grey-soft)}.office-shell .nav-group{display:block;margin:12px 0 4px;padding:0 10px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#7F98B2}.office-shell .sidebar-bottom{padding-top:24px}.office-shell .profile{border-top-color:rgba(255,255,255,.14);color:#DCE5EE}.office-shell .profile a,.office-shell .profile small{color:#9FB3C8}.office-shell .avatar{background:#2C4A66}.collapse-button{display:grid;place-items:center;width:100%;margin-top:14px;background:none;border:1px solid rgba(255,255,255,.18);color:#DCE5EE;border-radius:8px;padding:6px}.collapse-button:hover{background:var(--navy-hover)}.office-shell .main-area{margin-left:240px}.office-shell.nav-collapsed .sidebar{width:72px}.office-shell.nav-collapsed .main-area{margin-left:72px}.office-shell.nav-collapsed :is(.nav-label,.nav-count,.brand-text,.nav-group){display:none}.office-shell.nav-collapsed .nav-item{justify-content:center}.office-shell.nav-collapsed .collapse-button svg{transform:scaleX(-1)}.office-shell .top-bar{display:flex;align-items:center;gap:12px;padding:12px 28px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.office-shell .top-bar .new-menu{margin-left:auto}.global-search{position:relative;flex:1 1;max-width:560px}.office-shell .global-search .search-field{max-width:none;background:var(--ground);border-color:var(--line);border-radius:10px;padding:8px 12px}.office-shell .global-search .search-field input{font-size:14px}.office-shell .global-search input[type=search]::-webkit-search-cancel-button{cursor:pointer}.global-search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(16,42,67,.12);padding:6px;z-index:6;max-height:70vh;overflow:auto}.global-search-results button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:8px 10px;border-radius:6px}.global-search-results button:focus-visible,.global-search-results button:hover{background:var(--ground)}.global-search-results small{display:block;color:var(--muted);font-size:12px}.global-search-results .quiet-note{margin:6px 10px}.search-kind{font-size:11px;font-weight:600;color:var(--muted);background:var(--grey-soft);border-radius:999px;padding:1px 8px;white-space:nowrap}.new-menu{position:relative}.new-menu-panel{position:absolute;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(16,42,67,.12);padding:6px;min-width:200px;z-index:6}.new-menu-panel button{display:block;width:100%;text-align:left;border:0;background:none;padding:8px 10px;border-radius:6px;color:var(--ink)}.new-menu-panel button:focus-visible,.new-menu-panel button:hover{background:var(--ground)}.office-shell .user-menu-trigger{border-radius:999px;padding:3px 12px 3px 3px;min-height:40px}.office-shell .user-menu-trigger .avatar{background:var(--navy)}.office-shell main{padding:24px 28px 48px;max-width:1480px}.office-shell .page-header{margin-bottom:20px;align-items:flex-end;flex-wrap:wrap}.office-shell h1{font-size:24px;font-weight:650;letter-spacing:-.01em;margin:0 0 4px}.office-shell .page-header p{font-size:13px}.office-shell .button{border-radius:9px;border-color:var(--line);color:var(--ink);font-size:13px;min-height:36px;padding:7px 14px}.office-shell .button:hover{background:var(--ground)}.office-shell .button.primary{background:var(--green);border-color:var(--green);color:#fff}.office-shell .button.primary:hover{background:var(--green-hover)}.office-shell a.button{text-decoration:none}.office-shell .text-button{color:var(--blue);font-size:13px}.office-shell .record-link{font-size:13px;color:var(--ink)}.office-shell .record-link:hover{color:var(--blue)}.office-shell .panel{border-color:var(--line);box-shadow:var(--shadow)}.office-shell .panel-heading{padding:16px 20px}.office-shell .count-label{background:var(--grey-soft);color:var(--ink);border-radius:999px;font-size:12px;padding:1px 8px}.office-shell .notice{border-color:#C9DDF3;background:var(--blue-soft);color:#164A83;border-radius:10px;font-size:13px}.office-shell .muted,.office-shell .section-help{font-size:13px}.office-shell .quiet-note,.office-shell .subline{font-size:12px}.office-shell table{font-size:13px}.office-shell th{background:#FBFCFD;color:var(--muted);font-size:12px;font-weight:600;padding:10px 16px;border-top:0}.office-shell td{padding:12px 16px;border-bottom-color:var(--line)}.office-shell tbody tr:hover td{background:#F9FBFC}.office-shell .toolbar{padding:12px 16px;border-bottom:1px solid var(--line)}.office-shell .toolbar:first-child{padding-top:12px}.office-shell .search-field{border-color:var(--line);border-radius:8px;background:var(--ground)}.office-shell .search-field input{font-size:13px}.office-shell select{border-color:var(--line);border-radius:8px;color:var(--ink);font-size:13px}.office-shell .status{border-radius:999px;font-size:12px;font-weight:600;padding:2px 9px;gap:5px;background:var(--grey-soft);color:#4A5A68}.office-shell .status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.office-shell .status.scheduled{background:var(--blue-soft);color:#1D5FA8}.office-shell :is(.status.in-progress,.status.processing){background:var(--amber-soft);color:var(--amber)}.office-shell :is(.status.completed,.status.paid){background:var(--green-soft);color:#1A6E28}.office-shell :is(.status.overdue,.status.cancelled-red){background:var(--red-soft);color:var(--red)}.office-shell .tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;padding:1px 6px;border-radius:4px;background:var(--grey-soft);color:#4A5A68;margin-left:6px;vertical-align:1px;text-transform:uppercase}.office-shell .tag.off{background:var(--red-soft);color:var(--red)}.office-shell .tag.test{background:var(--amber-soft);color:var(--amber)}.office-shell .import-batch-label{display:inline-block;font-size:11px;color:#4A5A68;margin-left:6px;vertical-align:1px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.office-shell .review-panel .count-label{background:var(--amber-soft);color:var(--amber)}.office-shell dialog.detail-panel.record-viewer{border-radius:16px;background:var(--ground)}.office-shell .record-viewer .detail-header{background:#fff}.office-shell .record-content{background:var(--ground)}.office-shell .record-section-nav{position:sticky;top:81px;z-index:3;background:var(--ground)}.office-shell .record-section-nav button{border-color:var(--line);border-radius:999px;background:#fff;font-weight:600;color:var(--ink)}.office-shell .record-section-nav button:hover{background:var(--blue-soft)}.office-shell .record-section{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:18px 20px;margin:14px 0}.office-shell .record-section>h3{font-size:16px}.office-shell .form-dialog{border-radius:16px}.test-banner{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:var(--amber-soft);color:#7A3E00;border:1px solid #f3d28b;border-radius:10px;padding:10px 14px;margin:0 0 18px;font-weight:500}.test-banner strong{letter-spacing:.04em}.dash-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(300px,1.25fr);gap:14px;margin-bottom:20px}.office-shell .kpi{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);background:#fff;color:var(--ink);text-decoration:none;min-width:0}.office-shell a.kpi:hover{border-color:#C9D3DC}.kpi-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none}.kpi-ic svg{width:22px;height:22px}.kpi-label,.kpi-sub,.kpi-value{display:block}.kpi-label{color:var(--muted);font-size:13px;font-weight:500}.kpi-value{font-size:26px;font-weight:650;letter-spacing:-.01em;margin-top:4px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.kpi-sub{font-size:12px;margin-top:2px}.kpi-na,.kpi-sub{color:var(--muted)}.kpi-na{font-size:14px;font-weight:600}.office-shell .tint-green{background:#F3FAF4}.tint-green .kpi-ic{background:#DDF0E0;color:#218B32}.office-shell .tint-red{background:#FDF5F6}.tint-red .kpi-ic{background:#FADCE0;color:#C62832}.office-shell .tint-blue{background:#F3F8FD}.tint-blue .kpi-ic{background:#DCEAF8;color:#2878D0}.office-shell .tint-orange{background:#FFFAF0}.tint-orange .kpi-ic{background:#FCEBC6;color:#B45309}.bar{height:4px;border-radius:4px;background:#DCE3E9;margin-top:8px;width:120px;max-width:100%;overflow:hidden}.bar,.bar i{display:block}.bar i{height:100%;background:#218B32}.office-shell .week-card{display:block;padding:14px 16px}.week-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.week{grid-template-columns:repeat(7,1fr);gap:2px;margin-top:10px;text-align:center}.wd,.week{display:grid}.wd{gap:4px;padding:4px 0;color:var(--ink);border-radius:10px;position:relative;text-decoration:none}.wd:hover{background:var(--ground)}.wd span{font-size:11px;color:var(--muted)}.wd b{width:34px;height:34px;margin:0 auto;display:grid;place-items:center;border-radius:50%;font-weight:600}.wd.today b{background:#218B32;color:#fff}.wd.has:after{content:"";position:absolute;bottom:-2px;left:50%;margin-left:-2px;width:4px;height:4px;border-radius:50%;background:#2878D0}.dash-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:20px;align-items:start}.dash-side{display:grid;gap:20px;min-width:0}.dash-side .panel-heading{border-bottom:1px solid var(--line)}.upcoming{list-style:none;margin:0;padding:0}.up{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 18px 14px 16px;border-bottom:1px solid var(--line);border-left:3px solid #2878d0}.up.in_progress{border-left-color:#F59E0B}.up.completed{border-left-color:#218B32}.up:last-child{border-bottom:0}.up-main{display:grid;gap:2px;min-width:0}.up-main .subline{margin-top:0}.up-act{display:grid;gap:8px;justify-items:end;align-content:start}.up-act .row-actions{gap:6px;flex-wrap:nowrap}.office-shell .button.icon-only{width:36px;padding:0}.office-shell .button.icon-only svg{color:#2878D0}.map-empty{padding:16px 20px 18px;display:grid;grid-template-columns:28px 1fr;gap:6px 10px;background:repeating-linear-gradient(135deg,#F7F9FB 0 12px,#F1F4F7 12px 24px)}.map-empty>svg{width:24px;height:24px;color:var(--muted)}.map-empty p{margin:0;font-size:13px}.map-empty ol{grid-column:2;margin:4px 0 0;padding-left:18px;font-size:13px}.value-lg{font-size:26px;font-weight:650;margin:12px 0 4px;color:var(--ink)}.list-rows{list-style:none;margin:0;padding:0}.list-rows li{display:flex;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid var(--line);align-items:center}.list-rows li:last-child{border-bottom:0}.tabs{display:flex;gap:2px;padding:0 16px;border-bottom:1px solid var(--line);overflow-x:auto}.tab{border:0;background:none;padding:12px 10px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap}.tab:hover{color:var(--ink)}.tab.active{color:var(--navy,#102A43);border-bottom-color:var(--navy,#102A43)}.tab-count{display:inline-block;min-width:20px;padding:0 6px;border-radius:999px;background:#EEF1F4;font-size:11.5px;text-align:center;color:var(--ink)}.tab.active .tab-count{background:#DCEAF8;color:#1D5FA8}.segmented{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}.segmented button{border:0;background:#fff;padding:0 14px;min-height:34px;font-weight:500;border-right:1px solid var(--line)}.segmented button:last-child{border-right:0}.segmented button[aria-pressed=true]{background:#102A43;color:#fff}.pill{display:inline-block;padding:2px 8px;border-radius:6px;background:#EEF1F4;font-size:12px;font-weight:500;margin:1px 4px 1px 0}.pill,.tech-badge{white-space:nowrap}.tech-badge{display:inline-flex;align-items:center;gap:8px}.tech-initials{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;font-size:10.5px;font-weight:700;flex:none}.jobs-board td{white-space:normal}.jobs-board .status,.jobs-board td.amount,.jobs-board td:first-child{white-space:nowrap}.jobs-board .tech-badge{white-space:normal}.tech-badge.compact .tech-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.jobs-board.compact :is(th,td){padding-left:12px;padding-right:12px}.kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}.kanban-column{border-radius:12px;padding:10px;background:#F3F8FD;display:grid;gap:8px;align-content:start;min-height:160px;min-width:0}.kanban-column h3{font-size:13px;margin:2px 4px;color:var(--ink)}.kanban-column.k-in_progress{background:#FFFAF0}.kanban-column.k-completed{background:#F3FAF4}.kanban-column.k-cancelled{background:#EEF1F4}.kanban-card{display:grid;gap:2px;text-align:left;background:#fff;border:1px solid var(--line);border-left:3px solid #2878d0;border-radius:10px;padding:10px 12px;color:var(--ink);box-shadow:var(--shadow);min-width:0;overflow-wrap:anywhere}.k-in_progress .kanban-card{border-left-color:#F59E0B}.k-completed .kanban-card{border-left-color:#218B32}.k-cancelled .kanban-card{border-left-color:#9AA7B3}.kanban-card:hover{border-color:#C9D3DC}.kanban-column .quiet-note{margin:4px}@media(max-width:1500px){.dash-top{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(270px,1.2fr);gap:12px}.office-shell .kpi{padding:14px;gap:10px}.kpi-ic{width:36px;height:36px;border-radius:10px}.kpi-value{font-size:24px}.wd b{width:30px;height:30px}.bar{width:90px}}@media(max-width:1280px){.dash-top{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-top .week-card{grid-column:1/-1}.dash-grid{grid-template-columns:1fr}}@media(min-width:1700px){.dash-top{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(360px,1.3fr)}.kpi-value{font-size:28px}}@media(max-width:900px){.dash-side{order:-1}.dash-grid{display:flex;flex-direction:column}.dash-grid>*{width:100%}.dash-top,.kanban,.up{grid-template-columns:1fr}.up-act{justify-items:start}.up-act .row-actions{flex-wrap:wrap}}.addr-card{border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.addr-card .record-note{margin:0}.empty-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px dashed #c9d3dc;border-radius:10px;padding:12px 14px}.empty-inline p{margin:0}.billing-form{display:grid;gap:14px}.billing-form .check-field{display:flex;gap:8px;align-items:center;font-weight:600}.office-shell .notice .undo-button{margin-left:auto;min-height:30px;padding:4px 12px;background:#fff}.office-shell .record-emails-off{background:var(--red-soft);border-color:#F5C6CB;color:#7E1B22}.office-shell .panel>.day-summary{padding:4px 20px 20px;margin-bottom:0}.office-shell .panel>.quiet-note,.office-shell .panel>p.empty{padding-left:20px;padding-right:20px}.office-shell .panel>.quiet-note{margin:12px 0}.office-shell .status .status{background:none;padding:0}.office-shell .master-switch{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;width:100%;border-color:#C62832;border-radius:10px}.office-shell .master-switch .subline{flex-basis:100%;margin:0}@media(min-width:1700px){.office-shell main{padding:28px 40px 56px;max-width:1680px}}@media(max-width:1150px){.office-shell .sidebar{width:200px}.office-shell .main-area{margin-left:200px}}@media(max-width:1023px){.office-shell .sidebar,.office-shell.nav-collapsed .sidebar{width:100%}.office-shell .main-area,.office-shell.nav-collapsed .main-area{margin-left:0}.office-shell .nav-group{grid-column:1/-1}.office-shell.nav-collapsed :is(.nav-label,.nav-count,.brand-text,.nav-group){display:revert}.collapse-button{display:none}.office-shell .top-bar{padding:10px 16px;flex-wrap:wrap;position:static}.global-search{order:3;flex-basis:100%;max-width:none}.office-shell main{padding:16px}.office-shell .record-section-nav{top:0;position:static}}@media(max-width:700px){.office-shell .page-header{align-items:stretch}.office-shell .top-bar .new-menu{margin-left:0}.office-shell .top-bar .user-menu{margin-left:auto}}.confirm-dialog{width:min(480px,calc(100vw - 32px))}.confirm-dialog .confirm-body p{margin:0 0 10px;font-size:14px;line-height:1.6}.confirm-final{color:#7E1B22;font-weight:600}.confirm-actions{justify-content:flex-end}.payment-methods h4{margin:18px 0 8px;font-size:14px}.office-shell .tag.test-tag,.test-chip{background:#FFF4E5;color:#8A4B00}.office-shell .tag.test-tag{margin-left:6px}.send-link{display:grid;gap:14px}.channel-choice{border:0;margin:0;padding:0;display:grid;gap:8px}.channel-choice legend{font-weight:600;margin-bottom:6px}.channel-choice label{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:10px 12px;cursor:pointer}.channel-choice label.is-disabled{opacity:.6;cursor:not-allowed}.channel-choice input{margin-top:3px}.message-preview{border:1px solid var(--line);border-radius:10px;background:#F7F9FB;padding:12px 14px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.message-preview p{margin:0 0 8px}.office-shell .tag.link-active,.office-shell .tag.msg-good{background:#E7F5EA;color:#1B6B28}.office-shell .tag.msg-warn{background:#FFF4E5;color:#8A4B00}.office-shell .tag.msg-bad{background:var(--red-soft);color:var(--red)}.office-shell .tag.link-cancelled,.office-shell .tag.link-expired,.office-shell .tag.link-replaced,.office-shell .tag.link-used,.office-shell .tag.msg-neutral{background:var(--grey-soft);color:#3D5266}.office-shell :is(.communication-log,.payment-methods) td .tag{margin-left:0;text-transform:none;letter-spacing:0;font-size:12px;padding:2px 8px}.office-shell .qty{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600}.office-shell .qty-low{color:var(--amber)}.office-shell .qty-low .tag{background:var(--amber-soft);color:var(--amber)}.office-shell .qty-not_loaded,.office-shell .qty-out{color:var(--red)}.office-shell :is(.qty-out,.qty-not_loaded) .tag{background:var(--red-soft);color:var(--red)}.office-shell .qty-not_loaded .tag{margin-left:0}.office-shell .inventory-callout{display:block;margin-bottom:12px}.office-shell .callout-red{border-left:4px solid var(--red);background:var(--red-soft)}.office-shell .callout-amber{border-left:4px solid var(--amber);background:var(--amber-soft)}.office-shell .van-missing{white-space:nowrap}.office-shell .tag.off.van-missing{background:var(--grey-soft);color:#4A5A68;text-transform:none;letter-spacing:0;font-weight:600}.office-shell .job-line-fields{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 14px;margin:4px 0 10px 26px}.office-shell .job-line-fields>label{flex:1 1 160px;min-width:140px}.office-shell .job-line-fields>.text-button{align-self:center}.office-shell .job-price-bad{color:var(--red)}.office-shell .job-price-history{margin:14px 0 4px}.office-shell .price-changed{white-space:nowrap}.office-shell td.neg{color:var(--red)}.office-shell td.pos{color:var(--green)}.stepper{display:flex;align-items:center;gap:6px;margin-top:4px}.stepper input{width:7ch;text-align:center}.stepper .button{min-width:40px;justify-content:center}.reason-buttons{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0}.reason-buttons legend{font-weight:600;margin-bottom:6px}.inventory-view .panel-heading{flex-wrap:wrap;gap:8px}.inventory-view .panel-heading .tabs{padding:0;border-bottom:0}.perm-editor{display:grid;gap:10px}.perm-preset{display:flex;flex-wrap:wrap;align-items:end;gap:12px 18px}.perm-preset label{display:grid;gap:6px;font-size:12px;font-weight:500}.perm-preset select{min-width:240px}.perm-count{font-size:11px;color:var(--muted);font-weight:500}.perm-group{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--paper)}.perm-group h4{margin:0;font-size:13px}.perm-group-toggle{display:flex;align-items:center;gap:12px;width:100%;border:0;background:#F4F6F8;padding:12px 14px;text-align:left;font-weight:600;color:var(--ink)}.perm-group-toggle span:first-child{flex:1 1}.perm-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--line);border-left:4px solid transparent}.perm-row.risk-amber{border-left-color:#F3D28B}.perm-row.risk-red{border-left-color:#E8A0A6}.perm-switch{display:flex;align-items:flex-start;gap:12px;flex:1 1;min-width:0;cursor:pointer}.perm-switch strong{display:block;font-size:13px;font-weight:500}.perm-editor .perm-switch input[type=checkbox]{appearance:none;inline-size:40px;block-size:22px;min-width:40px;max-width:40px;min-height:22px;max-height:22px;flex:0 0 40px;border:1px solid #aebfb4;border-radius:20px;background:#DCE5DE;position:relative;margin:1px 0 0}.perm-editor .perm-switch input[type=checkbox]:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,42,67,.3)}.perm-editor .perm-switch input[type=checkbox]:checked{background:var(--green,#218B32);border-color:var(--green,#218B32)}.perm-editor .perm-switch input[type=checkbox]:checked:after{left:20px}.perm-row select,.perm-scope{min-width:150px}.perm-scope{font-size:11px;color:var(--muted);text-align:right}.risk-badge{display:inline-block;border-radius:4px;padding:1px 6px;margin-right:6px;font-size:10px;font-weight:600;background:var(--green-soft,#E7F4EA);color:#1A6E28}.risk-badge.risk-amber{background:var(--amber-soft,#FEF3C7);color:var(--amber,#B45309)}.risk-badge.risk-red{background:var(--red-soft,#FDECEE);color:var(--red,#C62832)}.perm-later{color:var(--amber,#B45309)}.perm-group.owner-only{background:#F4F6F8;color:var(--muted)}.perm-group.owner-only h4{padding:12px 14px}.perm-group.owner-only ul{margin:0;padding:0 14px 12px 30px;font-size:12px;line-height:1.8}.perm-confirm h4{margin:14px 0 6px;font-size:13px}.perm-changes{margin:0;padding-left:20px;font-size:13px;line-height:1.6}.perm-changes li.risk-red{color:var(--red,#C62832)}.perm-red-line{border-left:4px solid var(--red,#c62832);background:var(--red-soft,#FDECEE);padding:8px 12px;border-radius:6px;font-weight:600;font-size:13px}@media(max-width:640px){.perm-row{flex-wrap:wrap}.perm-row select,.perm-scope{min-width:0;width:100%;text-align:left;margin-left:52px}.perm-preset select{min-width:0;width:100%}.perm-preset label{width:100%}}.staff-editor .form-fields>label{align-content:start}.calendar-event-wrap{position:relative;margin-bottom:4px}.calendar-event-wrap .calendar-event{margin-bottom:0}.calendar-event-wrap.has-edit .calendar-event{padding-right:54px}.calendar-edit{position:absolute;top:4px;right:4px;min-width:44px;min-height:32px;padding:0 8px;border:1px solid var(--navy,#102a43);border-radius:7px;background:#fff;color:var(--navy,#102A43);font-size:12px;font-weight:600;cursor:pointer}.calendar-edit:focus-visible,.calendar-edit:hover{background:var(--navy,#102A43);color:#fff;outline:2px solid #2878D0;outline-offset:1px}.change-list{margin:0 0 12px;font-size:13px}.change-list>div{display:grid;grid-template-columns:minmax(0,30%) minmax(0,1fr);gap:4px 12px;padding:8px 0;border-bottom:1px solid var(--line,#e5e9ed)}.change-list dt{font-weight:600}.change-list dd{margin:0;min-width:0}.change-list dd>span{display:block;overflow-wrap:anywhere}.change-list .change-after,.change-tag{font-weight:600}.change-tag{display:inline-block;min-width:46px;font-size:11px;color:var(--muted,#5F6F7E);text-transform:uppercase;letter-spacing:.03em}.confirm-dialog .notice-inline{background:var(--amber-soft,#FEF3C7);color:#7a3d06;border-radius:8px;padding:8px 10px}@media(max-width:760px){.calendar-edit,.schedule-register .button{min-height:44px}.change-list>div{grid-template-columns:1fr}.confirm-dialog .confirm-actions .button{min-height:44px}}.kanban-card-wrap{position:relative;display:grid}.kanban-card-wrap.has-edit .kanban-card{padding-right:58px}@media(max-width:760px){.customer-record-actions .button,.jobs-board .row-actions .button,.record-viewer table .row-actions .button,.upcoming .row-actions .button,dialog table .row-actions .button{min-height:44px;min-width:44px}}.messages-button{display:inline-flex;align-items:center;gap:8px;position:relative;min-height:40px;order:-1}.messages-button svg{width:20px;height:20px}.messages-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#B42318;color:#fff;font-size:12px;font-weight:700;line-height:1}.messages-window{width:min(1180px,calc(100vw - 32px))}.messages-body{padding:16px 24px 24px;display:grid;gap:14px;overflow:auto;max-height:calc(100vh - 120px)}.sms-banner{justify-self:start}.sms-threads-layout{display:grid;grid-template-columns:minmax(240px,320px) 1fr;gap:16px;min-height:420px}.sms-thread-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:10px;overflow:auto;max-height:60vh}.sms-thread-list li{border-bottom:1px solid var(--line)}.sms-thread-list li:last-child{border-bottom:0}.sms-thread-list button{display:grid;gap:2px;width:100%;text-align:left;border:0;background:#fff;padding:10px 12px;min-height:44px}.sms-thread-list button.active,.sms-thread-list button:focus-visible,.sms-thread-list button:hover{background:var(--ground)}.sms-thread-title{display:flex;justify-content:space-between;gap:8px;align-items:center}.sms-thread-pane{display:grid;gap:12px;align-content:start;border:1px solid var(--line);border-radius:10px;padding:12px 14px}.sms-thread-pane h3{margin:0;font-size:16px}.sms-thread{display:grid;gap:8px;max-height:46vh;overflow:auto;padding:4px}.sms-bubble{max-width:78%;padding:8px 12px;border-radius:12px;display:grid;gap:4px}.sms-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.sms-in{justify-self:start;background:var(--ground)}.sms-out{justify-self:end;background:#E6F0FA}.sms-flag{color:#8A4B00;font-weight:600}.sms-unread td:first-child{box-shadow:inset 3px 0 0 #B42318}.sms-body-cell{max-width:340px;overflow-wrap:anywhere}.clamp-css,.clamp-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;cursor:pointer}.clamp-text.clamp-3{-webkit-line-clamp:3;line-clamp:3}.clamp-text.clamp-open{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible;white-space:pre-line}:is(.failures-table,.comm-table,.email-reports) td .failure-reason{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal;max-width:100%}.calls-table{width:100%}.calls-table :is(th,td){white-space:normal;padding-inline:10px;vertical-align:top;overflow-wrap:break-word}.calls-table th{font-size:11px;letter-spacing:0}.calls-table td.clamp-cell{min-width:130px;width:auto;max-width:none}.calls-table :is(th,td){padding-inline:6px}.office-shell .calls-table th{padding:10px 6px;letter-spacing:0}@media(min-width:701px){.office-shell :is(.sms-table,.customer-communications,.communication-log,.email-reports,.comm-table,.failures-table) table.responsive-table :is(th,td){white-space:normal;padding-inline:8px}.office-shell :is(.sms-table,.customer-communications,.communication-log,.email-reports,.comm-table,.failures-table) table.responsive-table th{letter-spacing:0}.office-shell :is(.sms-table,.customer-communications,.communication-log,.email-reports,.comm-table,.failures-table) table.responsive-table td.clamp-cell{width:auto;min-width:150px;max-width:none}}@media(min-width:1200px){.office-shell :is(.sms-table,.customer-communications,.communication-log,.email-reports,.comm-table,.failures-table) table.responsive-table td:first-child{white-space:nowrap}}.clamp-text:focus-visible{outline:2px solid #2f6f4f;outline-offset:2px;border-radius:3px}@media(min-width:701px){td.clamp-cell{max-width:380px}}.sms-locked-part{display:block;font-size:13px;color:var(--muted,#5b6470);background:#EEF1F4;border-radius:6px;padding:4px 8px;margin:4px 0;-webkit-user-select:none;user-select:none}.sms-free-warning{color:#8A4B00}.texts-checks{list-style:none;padding:0;margin:8px 0;display:grid;gap:6px}.texts-checks li{display:flex;gap:8px;align-items:flex-start;overflow-wrap:anywhere}.texts-checks .check-ok{color:#1B6E3A;font-weight:600}.texts-checks .check-bad{color:#B42318;font-weight:700}.setting-switch-text .subline.texts-warning,.texts-checks .check-warn,.texts-checks .warning-word,.texts-warning{color:#B54708;font-weight:700}.setting-switch.locked{opacity:.75}.sms-composer{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px}.sms-composer textarea{width:100%}.sms-templates{display:flex;flex-wrap:wrap;gap:6px}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 12px;min-height:36px;font-size:13px}.chip.active,.chip[aria-pressed=true]{background:#102A43;color:#fff;border-color:#102A43}.sms-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.sms-filters label{display:grid;gap:4px;font-size:13px}.sms-consents dd .row-actions{display:block;margin-top:4px}.customer-texts{display:grid;gap:12px}.customer-texts h4{margin:8px 0 0;font-size:14px}.sms-settings{display:grid;gap:18px;max-width:880px}.sms-settings fieldset{border:1px solid var(--line);border-radius:10px;padding:14px 16px;display:grid;gap:10px}.sms-settings legend{font-weight:600;padding:0 6px}.sms-composer label,.sms-settings label:not(.service-choice){display:grid;gap:4px}.sms-settings textarea{max-width:320px}.sms-settings .caps{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.sms-template{display:grid;gap:6px;border-top:1px solid var(--line);padding-top:10px}.sms-template:first-of-type{border-top:0;padding-top:0}@media(max-width:1023px){.office-shell .top-bar .messages-button{min-height:44px;min-width:44px;justify-content:center}.messages-label{display:none}.sms-threads-layout{grid-template-columns:1fr}.sms-thread-list{max-height:34vh}.messages-body{padding:12px 16px 16px}.sms-bubble{max-width:92%}}.office-shell .top-bar .settings-gear{position:relative;min-width:44px;min-height:44px;justify-content:center;padding:0 10px}.office-shell .top-bar .settings-gear.is-open{background:var(--grey-soft)}.gear-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--red,#C62832);color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center}.settings-layer{display:contents}.settings-panel{position:fixed;top:0;right:0;bottom:0;z-index:30;width:min(440px,100vw);display:flex;flex-direction:column;background:var(--paper,#fff);border-left:1px solid var(--line,#e5e9ed);box-shadow:-8px 0 24px rgba(16,42,67,.14);transition:width .18s ease}.settings-panel.is-wide{width:min(1040px,calc(100vw - 72px))}.settings-head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line,#e5e9ed);position:sticky;top:0;background:inherit;z-index:1}.settings-head h2{margin:0;font-size:18px;flex:1 1;min-width:0}.settings-head .settings-close{margin-left:auto;min-width:44px;min-height:44px;justify-content:center}.settings-head .settings-back{min-height:44px;white-space:nowrap}.settings-page-title{outline:none}.settings-body{flex:1 1;overflow-y:auto;padding:12px 16px 32px;overscroll-behavior:contain}.settings-search{display:flex;align-items:center;gap:8px;margin:4px 0 12px}.settings-search input{flex:1 1;min-height:40px}.settings-group h3{margin:16px 0 4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#5F6F7E)}.setting-list{list-style:none;margin:0;padding:0}.settings-rows>li{border-top:1px solid var(--line,#e5e9ed)}.settings-row{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 4px;background:none;border:0;text-align:left;color:inherit;text-decoration:none;cursor:pointer;font:inherit}.settings-row:focus-visible,.settings-row:hover{background:var(--ground,#F7F9FB)}.settings-row-text{flex:1 1;min-width:0;display:grid}.settings-row-text small{color:var(--muted,#5F6F7E);font-size:12px}.settings-tag{flex:none;font-size:11px;padding:2px 8px;border-radius:10px;background:var(--grey-soft,#EEF1F4)}.settings-soon .settings-row-text strong,.settings-tag{color:var(--muted,#5F6F7E)}.settings-reason{margin:0 4px 10px;padding:8px 10px;border-radius:6px;background:var(--amber-soft,#FEF3C7);color:#5C3B07;font-size:13px}.settings-count{flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:11px;color:#fff;font-size:12px;font-weight:700;line-height:22px;text-align:center}.risk-dot,.settings-count{background:var(--red,#C62832)}.risk-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:middle}.setting-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 4px;border-top:1px solid var(--line,#e5e9ed)}.setting-switch-text{min-width:0;display:grid;gap:2px}.setting-switch-text .subline{color:var(--muted,#5F6F7E);font-size:13px}.setting-risky .setting-switch-text>strong{color:var(--red,#C62832)}.switch-control{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;background:none;border:0;cursor:pointer;font:inherit;font-weight:700;color:var(--ink,#172B3A)}.switch-control:disabled{cursor:not-allowed;opacity:.5}.switch-track{position:relative;width:44px;height:24px;border-radius:12px;background:#C4CDD5;transition:background .15s}.switch-thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:left .15s}.switch-control.is-on .switch-track{background:var(--green,#218B32)}.switch-control.is-on .switch-thumb{left:23px}.switch-control.is-risky .switch-track{background:var(--red,#C62832)}.switch-control.is-risky .switch-word{color:var(--red,#C62832)}.switch-control:focus-visible{outline:2px solid var(--blue,#2878D0);outline-offset:2px;border-radius:6px}.setting-undo{margin-top:4px}.setting-group h3{margin:16px 0 0;font-size:14px}.settings-link-line{margin:8px 0 16px}.settings-page .panel{box-shadow:none;border:1px solid var(--line,#e5e9ed)}.settings-action-list{list-style:none;margin:0;padding:0}.settings-action-list li{display:grid;padding:10px 0;border-top:1px solid var(--line,#e5e9ed)}.connection-list dt{font-weight:700;margin-top:14px}.connection-list dd{margin:4px 0 0}.connection-list .subline{display:block;color:var(--muted,#5F6F7E);font-size:13px}.service-area-picker .area-quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin:12px 0}.service-area-picker fieldset{border:1px solid var(--line,#e5e9ed);border-radius:8px;padding:10px 12px;margin:0;min-width:0}.service-area-picker .area-center{width:160px;max-width:100%}.area-hits{list-style:none;margin:8px 0;padding:0;display:grid;gap:4px}.area-hits li{align-items:center;gap:8px}.area-chips,.area-hits li{display:flex;flex-wrap:wrap}.area-chips{list-style:none;margin:8px 0;padding:0;gap:6px}.area-chips li{display:inline-flex;align-items:center;gap:2px;padding:2px 2px 2px 10px;border-radius:16px;background:var(--blue-soft,#E8F1FB);color:var(--navy,#102A43);font-size:13px}.area-chips li.chip-bad{background:var(--red-soft,#FDECEE);color:var(--red,#C62832);font-weight:700}.area-chips button{min-width:32px;min-height:32px;border:0;background:none;border-radius:50%;cursor:pointer;font-size:16px;color:inherit}.area-chips button:hover{background:rgba(16,42,67,.08)}.staff-embedded .panel{margin-bottom:16px}.settings-body,.settings-panel{min-width:0;max-width:100%}.settings-body{overflow-x:hidden}.settings-body .panel{max-width:100%}.settings-body table.responsive-table{width:100%;max-width:100%}@media(min-width:701px){.settings-body table.responsive-table :is(th,td){padding-inline:12px;overflow-wrap:anywhere;white-space:normal}.settings-body table.responsive-table .team-actions{grid-template-columns:repeat(2,minmax(0,max-content));gap:8px 14px}.settings-body table.responsive-table .team-actions>*{white-space:nowrap}}@media(max-width:700px){.settings-panel,.settings-panel.is-wide{width:100vw;border-left:0}.settings-head{padding:8px 12px}.settings-body{padding:8px 12px 32px}.setting-switch{align-items:flex-start}.area-chips button{min-width:44px;min-height:44px}.service-area-picker .area-center{width:100%}}.service-area-picker .area-search{display:grid;gap:4px;max-width:440px;margin:4px 0 8px}.service-area-picker .area-search input{width:100%;min-height:40px}.communication .comm-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.communication h3{font-size:15px;margin:20px 0 8px}.pause-card{border:1px solid var(--line);border-radius:10px;padding:16px;margin:0 0 12px;background:#fff;display:grid;gap:8px}.pause-card.is-paused{border:2px solid #b3261e;background:#FDECEE}.pause-card .pause-button{justify-self:start;font-size:15px;font-weight:700;min-height:44px;padding:10px 18px;background:#B3261E;border-color:#B3261E;color:#fff}.pause-card .pause-state{font-size:16px;margin:0}.paused-banner{border-left-width:8px;font-size:14px}.comm-not-sent,.comm-templates,.comm-versions{list-style:none;margin:0;padding:0;display:grid;gap:10px}.comm-template{border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff;display:grid;gap:6px;min-width:0}.comm-template-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.comm-switch{margin:0;padding:0;list-style:none}.comm-switch .setting-switch{padding:6px 0;border:0}.comm-template.is-off{background:var(--surface-muted,#f6f7f8)}.comm-template.is-off .email-preview,.comm-template.is-off .message-preview{opacity:.6}.switched-off-note a{font-weight:600}.comm-versions{border-top:1px solid var(--line);padding-top:8px}.comm-versions li{display:grid;gap:2px;font-size:12px}.comm-not-sent li{display:grid;gap:2px;font-size:13px}.email-preview{border:1px dashed #b9c9be;border-radius:8px;padding:10px 12px;background:#f6f8f5;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.email-preview p{margin:0 0 4px}.email-preview-subject{font-weight:700}.approved-sample{opacity:.85}.comm-edit input,.comm-edit textarea{width:100%}.comm-rules fieldset{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:0 0 12px;min-width:0}.comm-rules .caps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.comm-rules .caps label,.comm-rules label{display:grid;gap:6px;font-size:12px}.comm-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.comm-filters label{display:grid;gap:4px;font-size:12px}.comm-filters label.check,.failures-filters label.check{display:flex;align-items:center;gap:6px}.comm-daily{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;margin:10px 0;color:var(--muted)}.comm-day strong{color:var(--ink)}.button.danger-outline{color:#B3261E;border-color:#B3261E;background:#fff}tr.row-seen-failure .failure-word{font-weight:600}tr.row-failed td strong{font-weight:800}.failures-seen-bar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:0 0 12px}.failures-seen-bar label{display:flex;gap:6px;align-items:center;font-size:12px}@media (max-width:700px){.comm-filters .row-actions,.comm-filters input,.comm-filters select,.comm-filters>label{width:100%}.pause-card .pause-button{justify-self:stretch}.comm-filters .row-actions{flex-wrap:wrap;gap:8px}.failures-seen-bar>*{flex:1 1 100%}}.failure-notice .alert-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;margin-left:4px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.failure-notice .alert-close:focus-visible,.failure-notice .alert-close:hover{border-color:currentColor;background:rgba(179,38,30,.08)}.failure-notice .row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.texts-imported-banner{border-left-width:8px;font-size:14px}.rw-communication .setting-list{margin:0}@media (max-width:700px){.failure-notice .row-actions{width:100%}.failure-notice .row-actions .button{flex:1 1 auto}}.tag.delivery-chip{margin-left:0;text-transform:none;letter-spacing:0;font-size:12px;padding:2px 8px;white-space:nowrap}.tag.delivery-neutral{background:var(--grey-soft,#EEF1F4);color:#3D5266}.tag.delivery-ok{background:#E7F5EA;color:#1B6B28}.tag.delivery-good{background:#E3EEFB;color:#174A85}.tag.delivery-warn{background:#FFF4E5;color:#8A4B00}.delivery-chip-failure{display:block}.delivery-timeline{margin-top:4px;font-size:13px}.delivery-timeline summary{cursor:pointer;color:var(--muted,#5B6B7A);min-height:28px;display:flex;align-items:center}.delivery-timeline ol{list-style:none;margin:6px 0 4px;padding:0 0 0 4px;display:grid;gap:4px}.delivery-timeline li{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:8px;align-items:center}.delivery-timeline .dt-dot{width:10px;height:10px;border-radius:50%;border:2px solid #9aa8b5;background:#fff}.delivery-timeline .dt-done .dt-dot{background:#1B6B28;border-color:#1B6B28}.delivery-timeline .dt-warn .dt-dot{background:#B26A00;border-color:#B26A00}.delivery-timeline .dt-failure .dt-dot{background:var(--red,#B42318);border-color:var(--red,#B42318)}.delivery-timeline .dt-todo{color:var(--muted,#5B6B7A)}.delivery-timeline .dt-time{white-space:nowrap;color:var(--muted,#5B6B7A);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.delivery-timeline code{font-size:12px;word-break:break-all}.email-report-sum{margin:0 0 8px}.email-reports-title{margin:12px 0 6px;font-size:14px}@media(max-width:767px){.delivery-timeline li{grid-template-columns:12px minmax(0,1fr)}.delivery-timeline .dt-time{grid-column:2;white-space:normal}}.comm-table td,.email-reports td{white-space:normal}.comm-table td:nth-child(5),.email-reports td:last-child{min-width:220px;max-width:460px;overflow-wrap:anywhere}.channel-row{display:flex;gap:8px;margin:8px 0}.channel-row .button{flex:1 1;min-height:40px}.pdf-preview .pdf-actions{justify-content:flex-start;flex-wrap:wrap;margin:0 0 10px}.pdf-frame{width:100%;height:min(72vh,900px);border:1px solid var(--line);border-radius:10px;background:#fff}@media (max-width:640px){.pdf-frame{height:62vh}}.test-mark{display:inline-block;background:var(--red-soft);color:var(--red);font-weight:700;letter-spacing:.04em;border-radius:6px;padding:1px 8px;margin:0 0 0 8px;font-size:.8em;vertical-align:middle}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines){font-size:14px;line-height:1.45;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) td{font-size:14px;color:var(--ink);vertical-align:middle}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) td .record-link{font-size:15px;font-weight:650}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) td:first-child>strong{font-size:15px;font-weight:700}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) .subline{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.4}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) td.amount{font-size:15px;font-weight:650}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) .status{font-size:12px;font-weight:600;padding:5px 10px;border-radius:999px}:is(.office-shell,.app-shell) .panel-heading h2{font-size:18px;font-weight:700}:is(.office-shell,.app-shell) .count-label{font-size:12px;font-weight:600;padding:2px 8px}:is(.office-shell,.app-shell) .toolbar .search-field input,:is(.office-shell,.app-shell) .toolbar select{font-size:14px}@media(min-width:701px){:is(.office-shell,.app-shell) table.responsive-table th,:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines):not(.responsive-table) th{padding:14px 24px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#3f5a4d;background:#eef2ed;border-top:1px solid var(--line);border-bottom:2px solid #cfd9d1;vertical-align:middle}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) td{padding:18px 24px;border-bottom:1px solid #e6ebe6}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) td.amount,:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) th.amount{text-align:right}:is(.office-shell,.app-shell) table:not(.time-calendar):not(.portal-lines) tbody tr:hover td{background:#f7faf6}:is(.office-shell,.app-shell) :is(dialog,.record-viewer) table:not(.time-calendar):not(.portal-lines) :is(th,td){padding-left:16px;padding-right:16px}:is(.office-shell,.app-shell) table th .text-button{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;padding:0;min-height:0;text-decoration:none}}.ev-tag{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.03em;padding:1px 5px;border-radius:9px;margin-bottom:2px;background:#fff9;border:1px solid}.calendar-event.ev-prog{border-left:4px solid #b45309!important;background:#FEF3C7!important;color:#6b3a07!important}.ev-prog .ev-tag:before{content:"● "}.calendar-event.ev-done{border-left:4px solid #8aa596!important;background:#EEF3F0!important;color:#51645a!important}.ev-canc .ev-ln,.ev-canc strong,.ev-done .ev-ln,.ev-done strong{text-decoration:line-through;text-decoration-thickness:1.5px}.ev-done .ev-tag:before{content:"✓ "}.calendar-event.ev-canc{border-left:4px dotted #9aa5ae!important;background:repeating-linear-gradient(135deg,#F3F4F6 0 6px,#E9ECEF 6px 12px)!important;color:#6b7680!important;opacity:.85}.ev-canc .ev-tag:before{content:"✕ "}.calendar-event.ev-inq{border:2px dashed #3d5a80!important;background:#fff!important;color:#102A43!important}.ev-inq .ev-tag{background:#102A43;color:#fff;border-color:#102A43}.ev-inq .ev-tag:before{content:"? "}.status-key{display:flex;gap:14px;flex-wrap:wrap;align-items:center;padding:10px 16px;background:#F1F4F7;border-bottom:1px solid var(--line,#e5e9ed);font-size:12px}.status-key .t{font-weight:700;color:#5F6F7E}.status-key .calendar-event{display:inline-block;width:auto;margin:0;padding:3px 8px}.calendar-event-wrap.is-draggable{cursor:grab}.calendar-event-wrap.is-draggable:active{cursor:grabbing}.time-calendar td.drop-target{outline:2px solid var(--green,#218B32);outline-offset:-2px;background:var(--greenT,#E7F4E9)}.marketing{padding:16px}.marketing-steps{display:flex;gap:12px;font-size:16px;margin:0 0 14px}.marketing-steps span{padding:4px 10px;border-radius:999px;border:1px solid var(--line,#9fb0c0)}.marketing-steps span.on{background:#dcebf8;font-weight:700}.marketing-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.marketing .chip{padding:8px 14px;border-radius:999px;border:1px solid #1f5f99;background:#fff;color:#17212b;font:inherit;cursor:pointer}.marketing .chip.on{background:#dcebf8;font-weight:700}.marketing-email{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.marketing-block{border:1px solid #9fb0c0;border-radius:8px;padding:10px;margin:0 0 10px;display:grid;gap:8px}.marketing-block input,.marketing-block textarea,.marketing-edit .field input,.marketing-edit .field select{width:100%;box-sizing:border-box}.marketing-thumb{max-width:160px;max-height:100px;border-radius:6px}.marketing-picker{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.marketing-pick{padding:2px;border:1px solid #9fb0c0;border-radius:6px;background:#fff;cursor:pointer}.marketing-pick img{width:90px;height:64px;object-fit:cover}.marketing-preview{width:100%;min-height:520px;border:1px solid #9fb0c0;border-radius:8px;background:#fff}@media(max-width:900px){.marketing-email{grid-template-columns:1fr}}.office-shell .panel-heading .list-search{flex:1 1 220px;max-width:340px;margin-right:auto;min-width:0}.office-shell .panel-heading .list-search input{font-size:14px}.office-shell .list-search input[type=search]::-webkit-search-cancel-button{cursor:pointer}@media(max-width:700px){.office-shell .panel-heading .list-search{flex-basis:100%;max-width:none;order:3}}.office-shell .panel-heading:has(.list-search){flex-wrap:wrap}.form-dialog.nj-dialog{width:min(860px,calc(100vw - 32px));height:min(92dvh,960px);max-height:92dvh;padding:0;overflow:hidden}.form-dialog.nj-dialog[open]{display:flex;flex-direction:column}.nj-dialog .form-heading{margin:0;padding:16px 22px;border-bottom:1px solid var(--line,#e5e9ed)}.nj-fields,.nj-form{display:flex;flex-direction:column;min-height:0;flex:1 1}.nj-fields{border:0;padding:0;margin:0;min-inline-size:0}.nj-body{overflow:auto;flex:1 1;min-height:0}.nj-section{padding:16px 22px;border-bottom:1px solid var(--line,#e5e9ed)}.nj-section .nj-row2>label,.nj-section>label{display:grid;gap:6px;font-size:13px;font-weight:600;min-width:0}.nj-row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.nj-notes{margin-top:14px}.nj-notes textarea{min-height:104px;resize:vertical}.nj-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:8px}.nj-checks{margin-top:14px;display:grid;gap:4px}.nj-checks>label{max-width:none}.nj-email-off{margin:0;font-size:14px}.nj-services{width:100%;border-collapse:collapse}.nj-services th{font-size:12px;text-align:left;font-weight:600;padding:6px;border-bottom:1px solid var(--line,#e5e9ed)}.nj-services td{padding:8px 6px;border-bottom:1px solid #eef0f3;vertical-align:middle}.nj-services td:first-child,.nj-services th:first-child{width:30px}.nj-services td:first-child input{width:18px;height:18px;min-height:0;margin:0}.nj-services td:nth-child(3){width:78px}.nj-services td:nth-child(4){width:130px}.nj-services td:nth-child(5){width:80px}.nj-services td input:not([type=checkbox]){width:100%;padding:6px 10px}.nj-bad{display:block;font-size:12px;margin-top:4px}.nj-total{gap:12px;margin:10px 0 0;font-weight:700}.nj-foot,.nj-total{display:flex;justify-content:flex-end}.nj-foot{margin:0;padding:14px 22px;border-top:1px solid var(--line,#e5e9ed);background:var(--ground,#F7F9FB)}.inline-form .nj-section{padding:0;border:0;width:100%;min-width:0}.inline-form .nj-section .nj-row2{grid-template-columns:1fr}.inline-form .nj-section .nj-row2 .nj-row2{grid-template-columns:1fr 1fr}.inline-form .nj-section input,.inline-form .nj-section select{width:100%;min-width:0}@media(max-width:700px){.form-dialog.nj-dialog{padding:0;max-height:100dvh;width:100vw;height:100dvh;border-radius:0}.nj-row2{grid-template-columns:1fr}.nj-row2 .nj-row2{grid-template-columns:1fr 1fr}.nj-dialog .form-heading,.nj-foot,.nj-section{padding-left:14px;padding-right:14px}.nj-services td:nth-child(3){width:58px}.nj-services td:nth-child(4){width:92px}.nj-services td:nth-child(5){width:64px}.nj-foot .button{flex:1 1 120px}}.nj-form input:not([type=checkbox]):not([type=radio]),.nj-form textarea{width:100%;border:1px solid #bdccc1;border-radius:6px;padding:10px 11px;background:#fff;color:var(--ink);font-size:13px;min-height:41px}.nj-form input:focus:not([type=checkbox]),.nj-form textarea:focus{border-color:#23664f}.nj-body{overflow-x:hidden}.nj-services td input:not([type=checkbox]){min-height:36px;padding:6px 8px}@media(max-width:700px){.nj-services td input:not([type=checkbox]){padding:6px 4px;font-size:14px}.nj-services td:nth-child(3){width:46px}.nj-services td:nth-child(4){width:104px}.nj-services td:nth-child(5){width:54px}.nj-services td,.nj-services th{padding-left:3px;padding-right:3px}}.office-shell .top-bar>*{order:3}.office-shell .top-bar>.global-search{order:0}.office-shell .top-bar>.hide-amounts{order:1}.office-shell .top-bar>.new-menu{order:2}.office-shell .hide-amounts{display:inline-flex;align-items:center;gap:6px;flex:none}.office-shell .hide-amounts svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:900px){.office-shell .hide-amounts-text{display:none}.office-shell .hide-amounts{width:36px;padding:0;justify-content:center}}.pd{display:grid;gap:16px;margin-bottom:16px}.pd-card{overflow:hidden}.pd-bar{align-items:center;padding:14px 18px;border-bottom:1px solid var(--line)}.pd-bar,.pd-bar-end{display:flex;flex-wrap:wrap;gap:8px}.pd-bar-end{margin-left:auto}.pd-title{font-size:16px}.pd-chip{border:1px solid var(--line);border-radius:18px;padding:7px 14px;font-weight:600;font-size:14px;background:#fff;color:var(--ink);cursor:pointer;min-height:36px}.pd-chip.on{background:var(--blue-soft);border-color:#9FB5D8}.pd-date{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.pd-date input{border:1px solid var(--line);border-radius:8px;height:36px;padding:0 10px;font:inherit;color:var(--ink)}.pd-tiles{display:grid;grid-template-columns:repeat(4,1fr)}.pd-stripe{grid-template-columns:1fr 1fr 1fr}.pd-tile{display:block;text-align:left;padding:16px 18px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;cursor:pointer;min-height:44px}.pd-tile:last-child{border-right:0}.pd-tile.static{cursor:default}.pd-tile span{font-weight:600;color:var(--navy)}.pd-tile b{display:block;font-size:24px;margin-top:4px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pd-stripe .pd-tile b{font-size:22px}.pd-tile.on{background:#F3FAF4;box-shadow:inset 0 -3px 0 var(--green)}.pd-tile:not(.static):hover{background:var(--ground)}.pd-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.pd-box h3{margin:0;padding:12px 16px;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line)}.pd-row{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:10px 16px;border:0;border-bottom:1px solid var(--line);background:#fff;font:inherit;color:var(--ink);cursor:pointer;text-align:left;min-height:44px}.pd-row:hover{background:var(--ground)}.pd-row.on{background:#F3FAF4}.pd-row>span:first-child{color:var(--blue);font-weight:600;overflow-wrap:anywhere}.pd-amount{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700}.pd-more>span:first-child{font-weight:600}.pd-connect{padding:18px}.pd-steps{margin:0 0 12px;padding-left:20px;display:grid;gap:6px}.pd-command{white-space:pre-wrap;word-break:break-all;background:var(--ground);border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:12px;max-height:200px;overflow:auto}@media(max-width:800px){.pd-grid,.pd-stripe,.pd-tiles{grid-template-columns:1fr}.pd-tile{border-right:0;border-bottom:1px solid var(--line)}.pd-bar-end{margin-left:0}}.form-notice{margin:6px 0 0;padding:8px 10px;border:2px solid #b7791f;background:#fff8e6;border-radius:8px;color:#102a43;font-size:14px;font-weight:600;line-height:1.4}.marketing-email2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px 24px;align-items:start}.marketing-email2 .marketing-edit{display:grid;gap:12px;min-width:0}.marketing-email2 .marketing-side{position:sticky;top:12px;display:grid;gap:10px;min-width:0}.marketing-email2 .marketing-lists{grid-column:1/-1;border-top:1px solid #9fb0c0;padding-top:12px}.marketing-ai{border:1px solid #9fb0c0;background:#f3f7fb;border-radius:10px;padding:12px;display:grid;gap:10px}.marketing-ai h3,.marketing-lists h3,.marketing-side h3{margin:0;font-size:17px}.marketing-chips{display:flex;flex-wrap:wrap;gap:8px}.marketing-chips .chip{min-height:44px;font-size:15px;padding:8px 14px}.color-chip{display:inline-flex;align-items:center;gap:8px}.color-chip .swatch{width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.25);display:inline-block}.marketing-flag{margin:0;padding:8px 12px;border-radius:8px;background:#eef4fb;color:#17333e;border:1px solid #c5d5e6;font-size:14px}.marketing-block.active{border-color:#102A43;box-shadow:0 0 0 2px #cfe0f1}.marketing-empty{display:block;height:64px;border:1px dashed #9fb0c0;border-radius:6px}.marketing-frame{margin:0 auto;width:100%;max-width:640px}.marketing-frame.phone{max-width:390px;border:6px solid #17333e;border-radius:22px;overflow:hidden}.marketing-frame .marketing-preview{border:0;border-radius:0}.marketing-sent{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}.marketing-sent li{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #9fb0c0;border-radius:8px;padding:8px 12px}.marketing-sent-main{display:grid;gap:2px;min-width:0}.marketing-sent-main strong{overflow-wrap:anywhere}.marketing-pick{min-width:96px;min-height:72px}.marketing-pick.on{outline:3px solid #102A43;outline-offset:1px}.marketing-pick img{max-width:120px;max-height:80px;display:block;border-radius:4px}.marketing-card{border:1px solid #9fb0c0;border-radius:10px;padding:14px;display:grid;gap:12px;background:#fff}.marketing-top{align-items:center}.marketing-template select{min-height:40px}.marketing-subject{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.marketing-subject .field input{width:100%;box-sizing:border-box}.marketing-ai{padding:0;overflow:hidden}.marketing-ai>:not(.marketing-ai-head){margin:0 12px}.marketing-ai>:last-child{margin-bottom:12px}.marketing-ai-head{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:8px 12px;border:0;background:none;font:inherit;color:#17212b;cursor:pointer;text-align:left}.marketing-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid #9fb0c0;border-radius:8px;background:#f3f7fb}.marketing-toolbar .button{min-height:36px;padding:4px 12px}.marketing-empty-body{margin:0;padding:18px;border:1px dashed #9fb0c0;border-radius:8px;color:#17333e;text-align:center}.marketing-edit .marketing-footer{position:sticky;bottom:0;justify-content:flex-start}.marketing-footer-end{margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.marketing-missing{font-size:14px;color:#17333e;font-weight:600}.marketing-side-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.marketing-email2 .marketing-side{border:1px solid #9fb0c0;border-radius:10px;padding:14px;background:#f3f7fb}.marketing-preview-open{display:none}.marketing-preview-dialog{width:min(96vw,720px);max-height:94vh;overflow:auto}@media(max-width:900px){.marketing-email2{grid-template-columns:1fr}.marketing-email2 .marketing-side{display:none}.marketing-preview-open{display:block}.marketing-preview-open .button{width:100%;min-height:44px}.marketing-subject{grid-template-columns:1fr}.marketing-footer-end{margin-left:0;width:100%;justify-content:space-between}}.marketing-email2 .chip[aria-pressed=true]{background:#102A43;color:#fff;border-color:#102A43;font-weight:700}.marketing-email2 .chip[aria-pressed=true] .swatch{border-color:#fff}.form-dialog.review-edit-dialog{width:min(1040px,calc(100vw - 32px));height:min(90dvh,860px);max-height:90dvh;padding:0;overflow:hidden}.form-dialog.review-edit-dialog[open]{display:flex;flex-direction:column}.review-edit-dialog .form-heading{margin:0;padding:14px 22px;border-bottom:1px solid var(--line,#e5e9ed)}.review-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;flex:1 1;min-height:0;overflow:hidden}.review-edit-form,.review-edit-preview{overflow:auto;padding:16px 22px;min-height:0}.review-edit-preview{background:#f6f8f5;border-left:1px solid var(--line,#e5e9ed)}.review-edit-tabs{display:none;gap:8px;padding:10px 16px;border-bottom:1px solid var(--line,#e5e9ed)}.review-edit-field{margin-bottom:14px}.review-edit-field input,.review-edit-field textarea{width:100%;font:inherit;box-sizing:border-box}.review-edit-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;font-weight:600}.review-edit-history{margin-top:6px}.review-edit-history summary{cursor:pointer;font-weight:600;padding:6px 0}.review-edit-note{padding:8px 22px}.review-edit-footer,.review-edit-note{margin:0;border-top:1px solid var(--line,#e5e9ed)}.review-edit-footer{padding:12px 22px;justify-content:flex-end;background:#fff}.review-mail-subject{margin:0 0 10px}.review-mail{background:#fff;border:1px solid var(--line,#e5e9ed);border-radius:8px;padding:20px;font-family:Arial,Helvetica,sans-serif;color:#17333e;overflow-wrap:anywhere}.review-mail-head{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;margin-bottom:14px}.review-mail-stars{text-align:center;font-size:28px;letter-spacing:4px;color:#f5b301;margin:0 0 6px}.review-mail h3{text-align:center;font-size:22px;margin:0 0 12px}.review-mail p{margin:0 0 14px;line-height:1.5}.review-mail-button{text-align:center}.review-mail-button a{display:inline-block;min-width:200px;padding:12px 22px;border-radius:8px;background:#1e8e3e;color:#fff;font-weight:700;text-decoration:none}.review-mail-small{text-align:center;font-size:12px;color:#5a6b73}.review-mail-foot{font-size:12px;color:#5a6b73;margin:18px 0 0}.review-mail-foot span{text-decoration:underline}@media(max-width:700px){.form-dialog.review-edit-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.review-edit-tabs{display:flex}.review-edit{grid-template-columns:1fr}.review-edit-preview{border-left:0}.review-edit[data-tab=edit] .review-edit-preview,.review-edit[data-tab=preview] .review-edit-form{display:none}.review-edit-form,.review-edit-preview{padding:14px 16px}.review-edit-footer{padding:10px 16px}}.alert-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;margin-left:4px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.alert-close:focus-visible,.alert-close:hover{border-color:currentColor;background:rgba(0,0,0,.06)}.office-shell .inventory-callout{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.office-shell .inventory-callout>p{margin:0;min-width:0}.override-alert{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.override-alert-body{flex:1 1;min-width:0}.channel-duplicate{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rw-alert.record-incomplete .alert-close{align-self:flex-start}.refund-mark{display:inline-block;margin-right:10px;padding:2px 8px;border-radius:999px;background:#fbefd9;color:#7a4a08;font-size:12px;font-weight:600;white-space:nowrap}.refund-mark.full{background:#e9edf0;color:#3d4f58}.refund-actions{display:inline-flex;flex-wrap:wrap;gap:4px 12px;align-items:center}.tech-multi{position:relative}.tech-multi-list{position:absolute;z-index:5;top:100%;left:0;min-width:220px;max-height:320px;overflow:auto;margin-top:4px;padding:8px;display:grid;gap:2px;background:var(--paper,#fff);border:1px solid var(--line,#cfd8dc);border-radius:8px;box-shadow:0 8px 24px #17333e26}.tech-multi-list label{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;cursor:pointer;min-height:36px}.tech-multi-list label:hover{background:var(--greenT,#E7F4E9)}dialog.rw{--ink:#172B3A;--muted:#5F6F7E;--navy:#102A43;--navy-soft:#E9EEF4;--ground:#F2F5F8;--paper:#fff;--line:#DDE3E9;--line-strong:#C8D1DA;--green:#218B32;--green-hover:#1B7429;--green-soft:#E7F4EA;--blue:#2878D0;--blue-soft:#E8F1FB;--amber:#B45309;--amber-soft:#FEF3C7;--red:#C62832;--red-soft:#FDECEE;--grey-soft:#EEF1F4;--shadow:0 1px 2px rgba(16,42,67,.06),0 2px 6px rgba(16,42,67,.05);position:fixed;inset:0;margin:auto;padding:0;border:0;width:min(1120px,calc(100vw - 64px));height:calc(100dvh - 48px);max-width:none;max-height:none;border-radius:18px;background:var(--ground);color:var(--ink);overflow:auto;box-shadow:0 24px 80px rgba(16,42,67,.35);font-size:15px;line-height:1.5}dialog.rw::backdrop{background:rgba(16,42,67,.45)}.rw .rw-icon{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.rw-head{position:sticky;top:0;z-index:5;background:var(--paper);border-bottom:1px solid var(--line)}.rw-head-row{display:flex;align-items:flex-start;gap:20px;padding:20px 28px 16px}.rw-id{flex:1 1;min-width:0}.rw-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.rw-id h1{margin:4px 0 6px;font-size:26px;line-height:1.2;letter-spacing:-.015em;align-items:center;gap:10px;overflow-wrap:anywhere}.rw-facts,.rw-id h1{display:flex;flex-wrap:wrap}.rw-facts{gap:6px 18px;color:var(--muted);font-size:14px;margin:0}.rw-facts span{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.rw-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.rw-divider{width:1px;height:32px;background:var(--line);margin:0 2px}.rw .rw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font:inherit;font-weight:650;cursor:pointer;min-height:44px;padding:10px 16px;border:1px solid var(--line-strong);background:#fff;color:var(--ink);white-space:nowrap;text-decoration:none}.rw .rw-btn:hover:not(:disabled){background:var(--grey-soft)}.rw .rw-btn.primary{background:var(--green);border-color:var(--green);color:#fff;font-size:16px;min-height:48px;padding:12px 22px;box-shadow:0 2px 6px rgba(33,139,50,.28)}.rw .rw-btn.primary:hover:not(:disabled){background:var(--green-hover)}.rw .rw-btn.ghost{border-color:transparent;background:var(--grey-soft)}.rw .rw-btn.sm,.rw .rw-card-head .button{min-height:36px;padding:6px 12px;font-size:14px;border-radius:8px}.rw-close{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1;color:var(--muted);cursor:pointer}.rw-tabs{display:flex;gap:4px;padding:0 20px;overflow-x:auto;scrollbar-width:none}.rw-tabs button{display:inline-flex;align-items:center;gap:7px;padding:12px 12px 11px;font:inherit;font-size:15px;font-weight:600;color:var(--muted);background:none;border:0;border-bottom:3px solid transparent;white-space:nowrap;cursor:pointer;min-height:44px}.rw-tabs button.on{color:var(--navy);border-bottom-color:var(--green)}.rw-count{font-size:12px;background:var(--grey-soft);color:var(--ink);border-radius:999px;padding:0 7px}.rw-count.red{background:var(--red);color:#fff;font-weight:800}.rw-body{padding:22px 28px 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.rw-body>*{grid-column:1/-1}.rw-body>.rw-card.half{grid-column:auto}.rw-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.rw-tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);min-width:0}.rw-k{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:6px}.rw-k,.rw-v{font-weight:700}.rw-v{font-size:18px;margin-top:6px;line-height:1.3;overflow-wrap:anywhere}.rw-s{font-size:13px;color:var(--muted);margin-top:2px}.rw-tile.green{background:var(--green-soft);border-color:#CBE5D1}.rw-tile.blue{background:var(--blue-soft);border-color:#C9DDF3}.rw-tile.amber{background:var(--amber-soft);border-color:#F5DFA4}.rw-tile.red{background:var(--red-soft);border-color:var(--red)}.rw-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;min-width:0;scroll-margin-top:150px}.rw-card-head{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#F7F9FB;border-bottom:1px solid var(--line)}.rw-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--navy-soft);color:var(--navy);flex-shrink:0}.rw-card-head h2{margin:0;font-size:17px;flex:1 1;display:flex;align-items:center;gap:8px;min-width:0}.rw-card-head h2 small{font-size:13px;font-weight:600;color:var(--muted)}.rw-internal{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--amber);background:var(--amber-soft);border-radius:999px;padding:1px 8px}.rw-card.internal .rw-card-head{background:#FFF8E6}.rw-card.internal .rw-ico{background:var(--amber-soft);color:var(--amber)}.rw-card-body{padding:16px 18px;min-width:0}.rw-card-body>:first-child{margin-top:0}.rw-card-body>:last-child{margin-bottom:0}.rw-card-body dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px 18px;margin:0}.rw-card-body dt{font-size:13px;font-weight:600;color:var(--muted);padding-top:1px;margin:0}.rw-card-body dd{margin:0;overflow-wrap:anywhere}.rw-card-body dd .subline{display:block;font-size:13px;color:var(--muted)}.rw-card-body h4{margin:16px 0 8px;font-size:14px}.rw-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.rw-rows{display:grid}.rw-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.rw-row:last-child{border-bottom:0}.rw-row .main{flex:1 1;min-width:0}.rw-row .main b{display:block}.rw-row .main span{font-size:13px;color:var(--muted)}.rw-chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;font-size:13px;font-weight:650;padding:3px 10px;background:var(--grey-soft);color:#4A5A68;letter-spacing:0;text-transform:none;white-space:nowrap}.rw-chip.blue{background:var(--blue-soft);color:#1D5FA8}.rw-chip.green{background:var(--green-soft);color:#1A6E28}.rw-chip.amber{background:var(--amber-soft);color:var(--amber)}.rw-chip.red{font-weight:800}.rw-alert,.rw-chip.red{background:var(--red-soft);color:var(--red)}.rw-alert{display:flex;gap:12px;align-items:flex-start;border:2px solid var(--red);border-radius:12px;padding:12px 16px}.rw-alert p{margin:2px 0 0;color:#8E1C25;font-size:14px}.rw-note{display:flex;gap:12px;align-items:flex-start;border:1px solid #f5dfa4;background:var(--amber-soft);border-radius:12px;padding:12px 16px;font-size:14px}.rw-note p{margin:0}.rw-menu-wrap{position:relative}.rw-menu{position:absolute;right:0;top:calc(100% + 6px);width:250px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(16,42,67,.18);padding:6px;z-index:9;display:grid}.rw-menu-wrap.rw-menu-bar .rw-menu{top:auto;bottom:calc(100% + 8px)}.rw-menu button{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:var(--ink);background:none;border:0;font:inherit;font-weight:600;text-align:left;cursor:pointer;min-height:44px}.rw-menu button:hover:not(:disabled){background:var(--grey-soft)}.rw-menu button.danger{color:var(--red)}.rw-menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}.rw-phone-bar{display:none}@media(prefers-reduced-motion:no-preference){dialog.rw[open]{animation:rw-in .18s cubic-bezier(.16,1,.3,1)}@keyframes rw-in{0%{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}}@media(max-width:700px){dialog.rw{width:100vw;height:100dvh;border-radius:0;font-size:16px;padding-bottom:env(safe-area-inset-bottom)}.rw-head-row{padding:12px 16px 10px;gap:10px}.rw-id h1{font-size:21px;margin:2px 0 4px}.rw-facts{font-size:14px;gap:4px 12px}.rw-actions>.rw-btn,.rw-actions>.rw-divider,.rw-actions>.rw-menu-wrap{display:none}.rw-tabs{padding:0 8px}.rw-tabs button{padding:10px 10px 9px}.rw-body{padding:14px 12px 24px;gap:14px;grid-template-columns:minmax(0,1fr)}.rw-body>.rw-card.half{grid-column:1/-1}.rw-summary{grid-template-columns:1fr 1fr;gap:10px}.rw-tile{padding:12px}.rw-v{font-size:16px}.rw-card-body dl{grid-template-columns:minmax(0,1fr);gap:2px}.rw-card-body dd{margin-bottom:12px}.rw-card-head{padding:12px 14px}.rw-card-body{padding:14px}.rw-quick .rw-btn{flex:1 1}.rw-phone-bar{display:flex;gap:10px;position:sticky;bottom:0;z-index:8;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(16,42,67,.1)}.rw-phone-bar>.rw-btn{flex:1 1;min-width:0;white-space:normal;text-align:center;line-height:1.25}.rw-phone-bar>.rw-menu-wrap{display:flex;flex:0 0 auto}.rw-phone-bar>.rw-menu-wrap>.rw-btn{min-height:48px;border:1px solid var(--line-strong);background:#fff}}.request-rows{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}.request-rows>li.empty{padding:18px;color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:12px}.request-row{width:100%;display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(0,2fr) auto;gap:14px;align-items:center;text-align:left;padding:12px 16px;border-left:1px solid var(--line);border:1px solid var(--line);border-left-width:4px;border-radius:12px;background:#fff;font:inherit;color:inherit;cursor:pointer;min-height:56px}.request-row:hover{background:#F7F9FB}.request-row.waiting{border-left-color:#C62832}.request-row.row-failed{border-color:#C62832}.request-row strong{display:block;font-size:15px}.request-row span>span{display:block;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-when,.request-who{min-width:0}.request-flags{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center}.request-row .rw-chip{display:inline-flex;align-items:center;border-radius:999px;font-size:13px;font-weight:650;padding:3px 10px;background:#EEF1F4;color:#4A5A68;white-space:nowrap}.request-row .rw-chip.green{background:#E7F4EA;color:#1A6E28}.request-row .rw-chip.amber{background:#FEF3C7;color:#B45309}@media(max-width:700px){.request-row{grid-template-columns:minmax(0,1fr);gap:6px}.request-flags{justify-content:flex-start}}.quote-row{border-bottom:1px solid var(--line)}.quote-row:last-child{border-bottom:0}.rw .quote-row-head{width:100%;background:none;border:0;font:inherit;color:inherit;text-align:left;cursor:pointer;padding:12px 4px;min-height:52px}.rw .quote-row-head:hover{background:#F7F9FB}.quote-detail{padding:4px 4px 16px;display:grid;gap:12px}.quote-total{margin:0;font-size:16px}.quote-result{margin:0 4px 10px}.quote-signature{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#F7F9FB}.quote-signature h4{margin:0 0 6px}.quote-signature .saved-signature{max-width:360px;width:100%;height:auto;color:#102A43;border-bottom:1px solid #c8d1da}.quote-statement{border-left:3px solid #218b32;padding:8px 12px;background:#E7F4EA;border-radius:6px;font-weight:600}.custom-line{border:1px dashed #c8d1da;border-radius:10px;padding:12px;margin:10px 0}.duplicate-chooser{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.rw .danger-text{color:#C62832}