/* Scoped by page wrapper: common operational screens, not sector-wide overrides. */
.ops-page{max-width:1500px;margin-inline:auto;min-width:0}
.ops-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}
.ops-eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--primary)}
.ops-heading .page-title{font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.04em;margin:10px 0}.ops-heading .page-subtitle{font-size:13px;line-height:1.8;margin:0}.ops-heading>.btn{min-height:44px;flex-shrink:0}
.ops-page .card{box-shadow:none;border-radius:14px;color:var(--ink)}
.ops-page :is(.btn,button){min-height:44px}.ops-page :is(input,select,textarea){max-width:100%;min-width:0;background:var(--bg);color:var(--ink);border-color:var(--border)}
.ops-page button:disabled{opacity:1;color:var(--ink-soft);background:var(--surface-alt);cursor:not-allowed}
.ops-page :is(input.form-control,select.form-select){min-height:44px}.ops-page :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.ops-page .empty-state,.ops-page .voice-empty,.ops-page .notes-empty{padding:48px 24px;min-height:230px;text-align:center;color:var(--ink-soft)}.ops-page .empty-state h2{font-size:20px;color:var(--ink);margin-top:20px}.ops-page .empty-state p{font-size:13px;line-height:1.8;max-width:46ch;margin:12px auto}
.ops-loading{display:grid;gap:16px;padding:24px}.ops-loading>div{height:96px;border-radius:12px;background:var(--surface-alt);animation:ops-pulse 1.5s ease-in-out infinite alternate}
.ops-page .appointments-card{padding:0;overflow:hidden}.ops-page .appointments-card>.card-header-row{padding:20px;margin:0;flex-wrap:wrap;gap:12px}
.ops-page .appointments-filter{display:flex;flex-wrap:wrap;gap:6px}.ops-page .customer-status-tab{padding:8px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink-soft);font-size:12px}.ops-page .customer-status-tab.is-selected{background:var(--primary-soft);color:var(--primary);border-color:var(--primary)}
.ops-page .table-responsive-wrap{overflow-x:auto;scrollbar-width:thin}.ops-page .table-clean{width:100%;min-width:760px}.ops-page .table-clean thead th{background:var(--bg);font-size:11px;font-weight:500;letter-spacing:.04em;padding:16px;color:var(--ink-soft)}.ops-page .table-clean tbody td{padding:20px 16px;font-size:13px;vertical-align:middle}
.ops-detail-link{background:none;border:0;padding:6px 0;text-align:left;font-size:14px;font-weight:500;color:var(--ink)}.ops-page .mobile-card-actions .btn{min-width:44px;margin-right:4px}
.ops-page .badge-soft{background:var(--primary-soft);color:var(--ink);border:1px solid var(--border);font-size:11px;border-radius:6px}
.ops-page .modal-box,.ops-page .notes-dialog{background:var(--surface);color:var(--ink);border-radius:14px;box-shadow:none;max-height:calc(100dvh - 36px);overflow-y:auto}.ops-page .modal-box .form-label{font-size:12px}
.ops-page .notes-page{max-width:none;gap:24px}.ops-page .notes-tabs{background:var(--surface);padding:4px;gap:6px;border-radius:10px}.ops-page .notes-tabs button{font-size:12px;min-height:44px}.ops-page .notes-tabs button.active{font-weight:500}
.ops-page .notes-grid{gap:20px;align-items:start}.ops-page .note-card{padding:24px;min-height:240px;margin:0}.ops-page .note-card h2{font-size:18px;letter-spacing:-.02em;margin:20px 0 12px}.ops-page .note-card>p{font-size:14px;line-height:1.8;color:var(--ink);overflow-wrap:anywhere}
.ops-page .note-top{font-size:11px;flex-wrap:wrap}.ops-page .visibility{border:1px solid var(--border);border-radius:6px;padding:5px 8px;color:var(--ink-soft)}.ops-page .visibility.office{color:var(--primary)}.ops-page .note-links span{font-size:11px;line-height:1.7}
.ops-page .note-card footer{flex-wrap:wrap;gap:12px;align-items:center;font-size:11px}.ops-page .note-card footer div{flex-wrap:wrap;gap:8px}.ops-page .note-card footer button{padding:6px 10px;border:1px solid var(--border);border-radius:8px;font-size:12px}.ops-page .notes-success{color:var(--primary);background:var(--primary-soft)}.ops-page .notes-error{color:var(--ink);background:var(--surface-alt);border-left:3px solid var(--danger)}
.ops-page .notes-dialog label{font-size:12px;line-height:1.7}.ops-page .dialog-head button{min-width:44px}.ops-page .notes-dialog .form-control,.ops-page .notes-dialog .form-select{line-height:1.8}.ops-page .notes-dialog textarea{resize:vertical}.ops-page .schedule-toggle input{min-height:20px;width:20px}
.ops-page .voice-filters{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:24px;gap:12px}.ops-page .voice-list{gap:20px}.ops-page .voice-call{padding:24px;margin:0}.ops-page .voice-customer a{font-size:15px;font-weight:500}.ops-page .voice-icon{border-radius:12px;width:44px;height:44px}.ops-page .voice-call-top{gap:16px}
.ops-page .voice-status{font-size:11px;border-radius:6px;border:1px solid var(--border);padding:6px 10px;line-height:1.7}.ops-page .voice-status.completed,.ops-page .voice-status.in_progress{background:var(--primary-soft);color:var(--primary)}.ops-page .voice-status.transferred,.ops-page .voice-status.failed,.ops-page .voice-status.missed{background:var(--surface-alt);color:var(--ink)}
.ops-page .voice-metrics{margin-top:20px;font-size:11px;gap:10px 20px}.ops-page .voice-summary,.ops-page .voice-reason{padding:18px;font-size:13px;line-height:1.9;background:var(--bg);border:1px solid var(--border);border-radius:10px}.ops-page .voice-summary strong{font-weight:500}.ops-page .voice-transcript summary{min-height:44px;padding-block:12px;font-size:12px}.ops-page .voice-transcript div{font-size:13px;line-height:1.8}
@keyframes ops-pulse{to{opacity:.45}}
@media(max-width:768px){
 .ops-heading{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:24px}.ops-heading .page-title{font-size:27px}.ops-heading .page-subtitle{font-size:12px}
 .ops-page .appointments-filter{gap:6px;width:100%}.ops-page .customer-status-tab{flex:1 1 auto;min-height:44px;font-size:11px;padding:8px 10px}.ops-page .appointments-card{background:none;border:0;overflow:visible}.ops-page .appointments-card>.card-header-row{padding:0 0 20px;border:0}
 .ops-page .table-clean{min-width:0}.ops-page .table-clean tbody{gap:16px}.ops-page .table-clean tbody tr{padding:16px;background:var(--surface);border-radius:12px}.ops-page .table-clean tbody td{font-size:12px;padding:10px 0}.ops-page .table-clean tbody td::before{font-weight:500;text-transform:none;letter-spacing:0;font-size:10px}
 .ops-page .table-clean tbody td.mobile-card-actions{display:flex;flex-wrap:wrap;gap:8px}.ops-page .mobile-card-actions::before{flex-basis:100%}.ops-page .mobile-card-actions .btn{width:44px;flex:0 0 44px;margin:0;justify-content:center}
 .ops-page .notes-grid{grid-template-columns:minmax(0,1fr)}.ops-page .note-card,.ops-page .voice-call{padding:20px 16px}.ops-page .notes-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible}.ops-page .notes-tabs button{white-space:normal;justify-content:center;font-size:11px}.ops-page .note-card>p{font-size:13px}.ops-page .note-card footer button{font-size:11px}
 .ops-page .voice-filters{grid-template-columns:minmax(0,1fr);padding:16px}.ops-page .voice-call-top{flex-wrap:wrap}.ops-page .voice-status{max-width:100%}.ops-page .voice-summary{padding:14px}.ops-page .voice-customer{max-width:100%}
 .ops-page :is(.form-control,.form-select){font-size:16px}.ops-page .modal-box,.ops-page .notes-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 24px);padding:20px 16px}.ops-page .form-two{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.ops-loading>div{animation:none}}

/* Management pages share the shell palette without changing sector navigation. */
.management-page.account-page,.management-page.channel-page{max-width:1320px;gap:24px}.management-page .account-card,.management-page .detail-card{padding:24px}.management-page .profile-section{grid-template-columns:160px minmax(0,1fr);gap:32px}.management-page .profile-photo{border-radius:20px;border:1px solid var(--border);font-weight:500;width:112px;height:112px}.management-page .profile-fields{min-width:0}.management-page .profile-fields h2{font-size:20px;margin-bottom:24px}.management-page .readonly-grid>div{background:var(--bg);gap:6px;padding:16px}.management-page .readonly-grid strong{overflow-wrap:anywhere;font-weight:500}.management-page .readonly-grid small{font-size:11px;line-height:1.8}.management-page .account-grid{align-items:start;gap:24px}.management-page .account-security-details summary{font-size:18px;font-weight:500;min-height:44px;cursor:pointer}.management-page .account-security-details[open] summary{margin-bottom:20px}.management-page .account-success{color:var(--primary);background:var(--primary-soft)}.management-page .account-error{color:var(--ink);background:var(--surface-alt);border-left:3px solid var(--danger)}.management-page .helper{line-height:1.8}.management-page .toggle-row{min-height:44px;gap:12px}.management-page .toggle-row input{width:20px;height:20px}.management-page .password-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.management-page .photo-column:focus-within label{outline:2px solid var(--primary);outline-offset:3px}.management-page .connection-message.ok,.management-page .health.ok{color:var(--primary);background:var(--primary-soft)}.management-page .connection-message.failed{color:var(--ink);background:var(--surface-alt);border-left:3px solid var(--danger)}.management-page .health{border-radius:6px;line-height:1.8;white-space:nowrap}.management-page .account-row{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr)) minmax(60px,.6fr)}.management-page .account-row>div{min-width:0;gap:8px}.management-page .account-row strong{font-size:14px;font-weight:500}.management-page .account-row span{line-height:1.8}.management-page .activity-line strong{font-size:14px;font-weight:500}.management-page .activity-line small{font-size:11px;margin-bottom:8px}.management-page .empty{font-size:13px;line-height:1.8}.management-page .channel-header{margin-bottom:0}
.analytics-page>.ops-heading{margin-bottom:28px}.analytics-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:11px;color:var(--ink-soft)}.analytics-live{padding:8px 10px;border-radius:6px;border:1px solid var(--border);color:var(--ink);background:var(--surface)}.analytics-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:24px}.analytics-page .card{padding:24px}.analytics-page .analytics-warning{color:var(--ink);background:var(--surface-alt);border-color:var(--border);line-height:1.8;margin:0 0 24px}.analytics-page .card-title{font-size:17px;line-height:1.6;letter-spacing:-.02em}.analytics-page .analytics-content-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}.analytics-page .analytics-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px;margin-bottom:24px}.analytics-page .analytics-table-row{grid-template-columns:minmax(100px,1.2fr) repeat(4,minmax(70px,1fr));line-height:1.8;gap:12px}.analytics-page .consultant-analytics .analytics-table-row{grid-template-columns:minmax(130px,1.4fr) repeat(5,minmax(80px,1fr))}.analytics-page .analytics-table-row strong{font-weight:500;overflow-wrap:anywhere}.analytics-page .analytics-table-row span{overflow-wrap:anywhere}.analytics-page .analytics-line{flex-wrap:wrap;line-height:1.8}.analytics-page .activity-row{gap:12px;padding:16px 0;min-width:0}.analytics-page .activity-text{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.analytics-page .activity-time{font-variant-numeric:tabular-nums;font-size:11px;color:var(--ink-soft);white-space:nowrap}.analytics-page .intent-summary-card{display:block;padding:16px;border:1px solid var(--border);background:var(--bg);border-radius:10px;text-decoration:none;color:var(--ink)}.analytics-page .intent-summary-card .intent-summary-text{line-height:1.8!important}.analytics-page .intent-summary-card>div:last-child{color:var(--ink-soft)!important}.analytics-page .badge-soft{font-weight:500}.analytics-page .stat-value{font-variant-numeric:tabular-nums}.analytics-page .analytics-empty{line-height:1.8}.analytics-page .activity-feed{scrollbar-width:thin}
.analytics-live-badge{font-size:11px;background:var(--primary-soft);color:var(--primary);padding:4px 8px;border-radius:6px;font-weight:500}.analytics-page .stat-card::before{background:var(--primary)}
@media(max-width:1100px){.analytics-page .analytics-content-grid{grid-template-columns:1fr}.analytics-page .analytics-table-row,.analytics-page .consultant-analytics .analytics-table-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.management-page .account-card,.management-page .detail-card{padding:20px 16px}.management-page .profile-section,.management-page .account-grid,.management-page .password-grid{grid-template-columns:minmax(0,1fr)}.management-page .readonly-grid{grid-template-columns:minmax(0,1fr)}.management-page .profile-photo{width:88px;height:88px}.management-page .photo-column{align-items:flex-start}.management-page .photo-column small{text-align:left}.management-page .account-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.management-page .channel-header{flex-direction:column;align-items:flex-start}.management-page .detail-card .section-head{flex-wrap:wrap}.management-page .channel-page .metric-grid{grid-template-columns:1fr 1fr}.analytics-page .card{padding:20px 16px}.analytics-metrics{grid-template-columns:1fr 1fr;gap:12px}.analytics-page .analytics-toolbar{width:100%}.analytics-page .activity-row{flex-wrap:wrap}.analytics-page .activity-time{width:100%;padding-left:22px}.analytics-page .analytics-table-row{padding:16px 0}.analytics-page .analytics-split{grid-template-columns:1fr}.analytics-page .analytics-summary-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.analytics-page *{animation:none!important}}
.management-page .office-head{flex-direction:row}.management-page .brand-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;border:1px solid var(--border);border-radius:10px}.management-page .brand-preview{display:grid;place-items:center;overflow:hidden;border:1px solid var(--border);font-size:24px}.management-page .brand-preview img{width:100%;height:100%;object-fit:cover}.management-page .logo-preview{width:100px;height:100px;border-radius:10px}.management-page .cover-preview{width:100px;height:70px;border-radius:8px}.management-page .brand-copy{display:flex;flex-direction:column;gap:8px}.management-page .brand-actions{display:flex;flex-wrap:wrap;align-items:center;margin-top:auto}.management-page .brand-remove{border:0;background:transparent;color:var(--danger);font-size:12px}.management-page input[type=checkbox]{accent-color:var(--primary)}
.management-page{width:100%;max-width:1440px}.management-page .ops-heading{margin-bottom:8px}.management-page .ops-heading .page-subtitle{max-width:65ch}
.management-page .office-card,.management-page .team-card,.management-page .assistant-card{padding:24px}.management-page .office-grid,.management-page .brand-grid{gap:20px}.management-page .office-head{min-height:160px;gap:20px}.management-page .office-identity{min-width:0}.management-page .office-identity h2{font-size:24px;letter-spacing:-.03em;overflow-wrap:anywhere}.management-page .office-identity small{font-size:12px}
.management-page .office-head.has-cover{color:#fff}.management-page .office-head.has-cover :is(span,small){color:#fff}.management-page .plan-badge{font-size:11px;font-weight:500;border-radius:6px;white-space:nowrap}.management-page .brand-preview{background:var(--bg);color:var(--ink-soft)}.management-page .brand-copy{min-width:0}.management-page .brand-copy small{font-size:11px;line-height:1.8}.management-page .brand-item{background:var(--bg);padding:16px}.management-page .brand-actions{gap:8px}.management-page .brand-actions label:focus-within{outline:2px solid var(--primary);outline-offset:3px}.management-page .brand-remove{min-width:44px}.management-page .brand-success{color:var(--primary);background:var(--primary-soft)}.management-page .brand-error{color:var(--ink);background:var(--surface-alt);border-left:3px solid var(--danger)}
.management-page .channel-icon{color:var(--primary)}.management-page .office-link{overflow-wrap:anywhere}.management-page .office-link h3{font-size:12px;font-weight:500;color:var(--ink-soft);margin:20px 0 12px}.management-page .office-link strong{font-size:18px;font-weight:500}.management-page .office-note{font-size:12px;line-height:1.8}.management-page .office-link:hover{transform:none}
.management-page .team-page{max-width:none;width:100%;gap:24px}.management-page .metric-grid{gap:16px}.management-page .stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:none;padding:20px}.management-page .stat-value{font-variant-numeric:tabular-nums;font-size:30px;font-weight:500}.management-page .stat-label{font-size:10px;color:var(--ink-soft);font-weight:500}.management-page .stat-trend{font-size:11px;color:var(--ink-soft)}
.management-page .section-head{gap:20px;margin-bottom:20px}.management-page .section-head h2{font-size:19px;letter-spacing:-.02em}.management-page .section-head p{font-size:12px;line-height:1.8}.management-page .team-group{border-radius:12px}.management-page .team-group-head{padding:18px}.management-page .team-group-head span{font-weight:500}.management-page .team-entry{align-items:stretch;flex-wrap:wrap;padding:12px!important}.management-page .team-row{grid-template-columns:minmax(200px,2fr) repeat(5,minmax(50px,1fr)) 16px;gap:12px;padding:12px 4px;border:0}.management-page .identity{min-width:0}.management-page .identity>div{min-width:0;gap:4px}.management-page .identity strong{overflow-wrap:anywhere}.management-page .identity small{line-height:1.7}.management-page .team-row strong{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.management-page .avatar{flex-shrink:0;border-radius:10px;font-weight:500}.management-page .team-actions{width:100%;padding:0;gap:8px}.management-page .team-actions button{padding:8px 12px;font-size:12px}.management-page .branch-row{grid-template-columns:minmax(160px,1fr) auto auto auto auto;padding:16px 0;gap:12px}.management-page .branch-row small{overflow-wrap:anywhere;line-height:1.8}.management-page .branch-row.is-inactive,.management-page .team-entry.is-inactive{opacity:1}.management-page .branch-passive{color:var(--ink-soft)!important}
.management-page .team-dialog{max-height:calc(100dvh - 40px);box-shadow:none;border-radius:14px;padding:28px}.management-page .team-dialog input,.management-page .team-dialog select{min-height:44px}.management-page .team-dialog .team-check input{min-height:20px;width:20px;flex:0 0 20px}.management-page .team-check{border-radius:8px}.management-page .team-dialog h2{font-size:22px;letter-spacing:-.02em}.management-page .team-dialog .team-help{font-size:12px;line-height:1.8}.management-page .team-dialog-actions{border-top:1px solid var(--border);padding-top:20px}.management-page .team-preview{grid-template-columns:90px minmax(0,1fr)}
.assistant-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);align-items:start;gap:24px}.assistant-settings>.ops-heading{margin-bottom:28px}.assistant-settings .assistant-card{margin-bottom:24px;min-width:0}.assistant-card h2{font-size:20px;letter-spacing:-.02em;margin:0 0 12px}.management-help{font-size:13px;color:var(--ink-soft);line-height:1.8;max-width:65ch}.assistant-fields{display:flex;flex-direction:column;gap:12px;border:0;padding:0;margin-top:24px;min-width:0}.assistant-fields label{font-size:12px}.assistant-fields>.btn{align-self:flex-start;margin-top:12px}.assistant-toggle{display:flex;align-items:center;gap:12px;padding:16px;background:var(--bg);border:1px solid var(--border);border-radius:10px;margin-bottom:12px}.assistant-toggle input{width:20px;height:20px;flex-shrink:0;accent-color:var(--primary)}.assistant-toggle span{display:flex;flex-direction:column;gap:6px}.assistant-toggle strong{font-weight:500;font-size:14px}.assistant-toggle small{font-size:12px;color:var(--ink-soft);line-height:1.7}.assistant-limits{display:grid;grid-template-columns:1fr 1fr;gap:16px}.assistant-limits input{margin-top:8px}.management-notice,.management-key-notice{margin-top:20px;padding:16px;border:1px solid var(--border);border-radius:10px;color:var(--ink);background:var(--primary-soft);font-size:13px;line-height:1.8}.management-key-notice input{font-family:monospace}.assistant-endpoints summary{font-size:14px;min-height:44px;cursor:pointer}.assistant-endpoints dl{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;font-size:12px}.assistant-endpoints dd{margin:0;overflow-wrap:anywhere}.assistant-endpoints code{color:var(--ink)}.assistant-key-table{margin-top:20px}
@media(max-width:1100px){.management-page .team-row{grid-template-columns:minmax(160px,2fr) repeat(3,minmax(44px,1fr)) 16px}.management-page .team-row>div:nth-of-type(5),.management-page .team-row>div:nth-of-type(6){display:none}.management-page .brand-grid{grid-template-columns:1fr}}
@media(max-width:768px){.management-page .office-card,.management-page .team-card,.management-page .assistant-card{padding:20px 16px}.management-page .office-head{flex-wrap:wrap}.management-page .office-identity h2{font-size:21px}.management-page .office-logo{width:56px;height:56px;flex-shrink:0}.management-page .brand-item{grid-template-columns:1fr}.management-page .brand-actions .btn{font-size:12px}.management-page .office-grid{grid-template-columns:1fr}.management-page .metric-grid{grid-template-columns:1fr 1fr;gap:12px}.management-page .stat-card{padding:16px}.management-page .stat-value{font-size:26px}.management-page .stat-label{font-size:9px}.management-page .branch-row{grid-template-columns:1fr 1fr}.management-page .branch-row>div{grid-column:1/-1}.management-page .branch-row>span:first-of-type,.management-page .branch-row>span:nth-of-type(2){display:block}.management-page .branch-row .btn{font-size:12px}.management-page .team-group-head{padding:14px;gap:8px}.management-page .team-row{grid-template-columns:minmax(0,1fr) 16px}.management-page .team-row>div:not(.identity){display:none}.management-page .team-actions .btn{flex:1 1 auto}.management-page .section-head{flex-direction:column}.management-page .team-overlay{padding:12px}.management-page .team-dialog{padding:20px 16px;max-height:calc(100dvh - 24px)}.management-page .transfer-summary{grid-template-columns:1fr}.assistant-grid,.assistant-limits{grid-template-columns:1fr}.assistant-grid{gap:0}.assistant-fields>.btn{width:100%}.assistant-key-table{min-width:0!important}}
