.ops-page{width:min(100% - 64px,1320px);margin:auto;padding:28px 0 48px}.ops-nav{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:34px;font-size:13px}.ops-nav a{text-decoration:none;color:var(--muted)}.ops-nav .ops-brand{font-weight:700;font-size:19px;color:var(--ink)}.ops-brand span{font-size:13px;font-weight:450;border-left:1px solid #c3d7cc;margin-left:14px;padding-left:14px}.ops-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:12px}.ops-header h1{font-size:32px}.ops-header .intro{font-size:14px;margin-top:8px}.refresh-box{display:flex;gap:14px;align-items:center;font-size:12px;color:var(--muted);flex-shrink:0}.refresh-box .secondary{min-height:38px;padding:8px 16px}.ops-local-note{font-size:12px;color:#7c8679;margin-bottom:22px}.ops-filters{display:flex;align-items:flex-end;gap:16px;padding:18px 22px;margin-top:20px}.ops-filters label,.record-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);min-width:0}.ops-filters label:first-child{flex:1;max-width:300px}.ops-filters input,.ops-filters select,.record-filters input,.record-filters select{font:inherit;font-size:14px;color:var(--ink);border:1px solid var(--line);border-radius:7px;background:#fcfefd;padding:10px 12px;min-height:42px;min-width:0;width:100%}.ops-filters button{min-height:42px}.ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.ops-metric{background:white;border:1px solid var(--line);border-radius:13px;padding:20px 22px;min-width:0}.ops-metric:first-child{background:#eaf5ee;border-color:#b9d8c7}.ops-metric .metric-name{font-size:13px;color:var(--muted)}.ops-metric strong{font-size:34px;line-height:1.25;font-weight:650;display:block;margin:12px 0 8px;letter-spacing:-1px}.ops-metric small{color:#809185;font-size:11px}.ops-metric.attention strong{color:#a57133}.metric-footnote{font-size:12px;color:var(--muted);margin:12px 0 24px}.ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ops-page .panel{padding:24px}.ops-page .section-head{margin-bottom:20px;flex-wrap:wrap}.pill{font-size:11px;color:#567466;background:#edf4ef;padding:3px 9px;border-radius:5px;white-space:nowrap}.course-bar{margin:22px 0}.course-bar-title{display:flex;justify-content:space-between;gap:20px;font-size:14px;margin-bottom:9px}.bar-track{height:8px;border-radius:4px;background:#edf3ef;overflow:hidden}.bar-fill{height:100%;background:#278574;border-radius:4px;min-width:0}.followup-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf2ed;font-size:13px}.followup-line:last-child{border-bottom:0}.followup-line strong{font-weight:600}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-weight:500;color:var(--muted);font-size:12px;background:#f7faf8}th,td{padding:13px 12px;border-bottom:1px solid #e9f0eb;vertical-align:top}th:first-child,td:first-child{padding-left:0}th:first-child{padding-left:12px}td:first-child{padding-left:12px}.source-table td:not(:first-child){font-variant-numeric:tabular-nums}.source-table td:first-child{font-weight:550;min-width:150px}.dealer-manager summary,.metric-definitions summary{font-size:17px;font-weight:600;cursor:pointer}.dealer-manager summary span{font-size:12px;color:var(--muted);font-weight:450;margin-left:10px}#add-dealer{display:flex;align-items:flex-end;gap:14px;margin-top:20px;margin-bottom:20px}#add-dealer .field{margin:0;flex:1;max-width:420px;font-size:13px}#dealer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dealer-link{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;border:1px solid var(--line);border-radius:10px;padding:16px;min-width:0}.dealer-link img{width:90px;height:90px;background:white;align-self:start}.dealer-link h3{font-size:14px;overflow-wrap:anywhere}.dealer-link input{width:100%;padding:7px 8px;border:1px solid var(--line);border-radius:5px;font-size:11px;color:var(--muted);margin-top:8px;background:#f8fbf9;min-width:0}.dealer-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;align-items:center}.dealer-actions a,.dealer-actions button{font-size:11px;padding:3px 0;min-height:28px;border:0;background:none;color:var(--primary);text-decoration:none;cursor:pointer}.record-filters{display:flex;gap:14px;align-items:flex-end;margin-bottom:20px}.record-filters label:first-child{flex:1;max-width:380px}.people-table{min-width:850px}.people-table strong{font-weight:550;display:block;font-size:13px;overflow-wrap:anywhere}.people-table small{display:block;font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.record-badge{display:inline-block;font-size:11px;line-height:1.6;border-radius:4px;padding:2px 7px;background:#f0f4f1;color:#708075;margin:1px 0}.record-badge.good{background:#e7f5ed;color:#2c7858}.record-badge.warning{background:#fbf2e6;color:#96662d}.record-badge.danger{background:#fbecec;color:#b34e45}.people-table td{min-width:90px}.people-table td:first-child{min-width:165px}.empty-row{text-align:center;color:var(--muted);padding:36px 12px!important;font-weight:400!important}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:20px;color:var(--muted);font-size:12px}.pagination button{min-height:36px;padding:7px 13px;font-size:12px}.metric-definitions p{font-size:12px;color:var(--muted);margin-top:16px;line-height:1.9}#ops-error:empty,#ops-notice:empty{display:none}@media(max-width:1000px){.ops-page{width:calc(100% - 36px)}.ops-filters{flex-wrap:wrap}.ops-grid{grid-template-columns:1fr}#dealer-links{grid-template-columns:1fr}.ops-header{align-items:flex-start}.refresh-box{flex-direction:column;align-items:flex-end}}@media(max-width:600px){.ops-page{width:calc(100% - 28px);padding-top:20px}.ops-header{display:block}.ops-header h1{font-size:27px}.refresh-box{flex-direction:row;justify-content:space-between;margin-top:20px;align-items:center}.ops-nav{margin-bottom:24px}.ops-page .panel{padding:19px 16px}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-metric{padding:17px 14px}.ops-metric strong{font-size:29px}.ops-metric .metric-name{font-size:12px}.ops-filters{gap:12px}.ops-filters label:first-child{flex-basis:100%;max-width:none}.ops-filters label:not(:first-child){width:calc(50% - 6px)}.ops-filters button{flex:1}.record-filters{flex-wrap:wrap;gap:10px}.record-filters label:first-child{flex-basis:100%;max-width:none}.record-filters label:nth-child(2){flex:1}.record-filters button{min-height:42px}.people-table{min-width:0}.people-table thead{display:none}.people-table tr{display:block;border:1px solid var(--line);border-radius:9px;margin-bottom:14px;padding:14px}.people-table td{display:flex;justify-content:space-between;gap:18px;padding:8px 0;min-width:0;text-align:right;border:0;font-size:12px}.people-table td:before{content:attr(data-label);color:var(--muted);text-align:left;flex-shrink:0;min-width:72px}.people-table td:first-child{min-width:0}.people-table td>div{min-width:0;overflow-wrap:anywhere}.people-table .empty-row{display:block}.people-table .empty-row:before{content:none}.pagination{justify-content:space-between;gap:8px}#add-dealer{align-items:stretch;flex-direction:column}#add-dealer .field{max-width:none}.dealer-link{grid-template-columns:70px minmax(0,1fr);padding:13px;gap:10px}.dealer-link img{width:70px;height:70px}.ops-brand span{margin-left:10px;padding-left:10px}.ops-local-note{line-height:1.8}}
.journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0 14px}.journey-card{padding:24px;background:white;border:1px solid var(--line);border-radius:14px;min-width:0}.journey-card:last-child{background:#edf7f1;border-color:#badac8}.journey-step{font-size:11px;letter-spacing:1px;color:#7b9487;margin-bottom:10px}.journey-card h2{font-size:15px;font-weight:550;color:#5f796d}.journey-total{display:block;font-size:42px;font-weight:650;line-height:1.3;margin:14px 0 22px;letter-spacing:-1px}.journey-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:15px;border-top:1px solid var(--line)}.journey-breakdown span{font-size:12px;color:var(--muted);display:block;margin-bottom:5px}.journey-breakdown strong{font-size:19px;font-weight:550}.journey-review,.source-review{display:block;font-size:11px;color:#9a6d38;margin-top:10px;font-weight:400}.date-options{font-size:12px;color:var(--muted);align-self:center}.date-options summary{cursor:pointer;min-height:36px;padding-top:8px}.date-inputs{display:flex;gap:12px;padding:10px 0}.date-inputs label{width:auto!important;max-width:160px!important}.record-details summary,.technical-details summary{font-size:16px;font-weight:600;cursor:pointer}.record-details summary .pill{margin-left:12px}.record-details[open] summary,.technical-details[open] summary{margin-bottom:22px}.technical-details h2{font-size:15px}.source-table small{line-height:1.6}.source-table th{white-space:nowrap}.ops-filters{align-items:flex-end}.people-table{min-width:940px}.people-table td:nth-child(5){min-width:195px}@media(max-width:800px){.journey-grid{gap:12px}.journey-card{padding:20px 16px}.journey-total{font-size:36px}.journey-card h2{font-size:14px}}@media(max-width:600px){.journey-grid{grid-template-columns:1fr;gap:12px}.journey-card{display:grid;grid-template-columns:1fr auto;column-gap:16px;row-gap:4px;padding:19px}.journey-step{grid-column:1;grid-row:1;margin:0}.journey-card h2{grid-column:1;grid-row:2;align-self:start}.journey-total{grid-column:2;grid-row:1/3;margin:0;font-size:34px}.journey-breakdown{grid-column:1/3;margin-top:12px;padding-top:12px;grid-template-columns:1fr 1fr}.journey-breakdown>div{display:flex;gap:12px;align-items:center;justify-content:space-between}.journey-breakdown span{margin:0;font-size:12px}.journey-breakdown strong{font-size:18px}.journey-review{grid-column:1/3}.date-options{flex-basis:100%;order:4}.date-inputs{display:grid;grid-template-columns:1fr 1fr}.ops-filters>label:first-child{max-width:none}.people-table{min-width:0}.people-table td:nth-child(5){min-width:0}.record-details summary{line-height:1.8}.record-details summary .pill{margin-left:0;display:inline-block}}

.journey-card[data-stage="visitors"] .journey-breakdown{grid-template-columns:1fr}.journey-card[data-stage="visitors"] .journey-breakdown>div{display:flex;justify-content:space-between;align-items:center}.journey-card[data-stage="visitors"] .journey-breakdown span{margin:0}
.ops-login{width:calc(100% - 32px);max-width:420px;margin:10vh auto 0;padding-bottom:32px}.ops-login h1{font-size:26px}.ops-login .intro{font-size:14px;margin-bottom:24px}.ops-login .panel{margin-top:20px}.ops-login input{min-width:0}.ops-account{display:flex;gap:16px;align-items:center}
.ops-nav{margin-bottom:0}.ops-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:32px}.ops-tabs a{font-size:14px;text-decoration:none;color:var(--muted);padding:18px 2px 15px;border-bottom:3px solid transparent}.ops-tabs a[aria-current="page"]{color:var(--primary);border-color:var(--primary);font-weight:600}[data-ops-panel]{display:none}body:not([data-ops-view]) [data-ops-panel="dashboard"],body[data-ops-view="dashboard"] [data-ops-panel="dashboard"],body[data-ops-view="people"] [data-ops-panel="people"],body[data-ops-view="providers"] [data-ops-panel="providers"]{display:block}body[data-ops-view="providers"] #scope-options{display:none}.scope-options>summary{font-size:13px;color:var(--muted);cursor:pointer}.scope-options .ops-filters{padding:0;margin:20px 0 12px}.scope-options .ops-filters label{flex:1;max-width:240px}.people-query .record-filters{margin-bottom:20px}.export-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:20px}.export-actions strong{font-size:14px}.export-actions .hint{margin:6px 0 0;max-width:620px}.export-actions button{flex-shrink:0;white-space:nowrap}.union-id{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:600;line-height:1.8;overflow-wrap:anywhere;color:var(--ink)}.people-table td:first-child{min-width:220px}.copy-unionid{font-size:11px;border:0;background:none;color:var(--primary);padding:4px 0;cursor:pointer}.person-aux{margin-top:8px}.person-aux summary{font-size:11px;color:var(--muted);font-weight:400;cursor:pointer}.text-link,.stage-link{color:var(--primary);text-decoration:none;font-size:13px}.stage-link{display:block;margin-top:18px;font-size:12px}.journey-card .stage-link:hover,.text-link:hover{text-decoration:underline}.record-details .section-head h2{font-size:18px}.people-query input[type="search"]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.people-query .record-filters label:first-child{max-width:560px}.ops-page .scope-options{padding:18px 22px}.ops-page .panel{margin-bottom:20px}@media(max-width:600px){.ops-tabs{gap:22px;margin-bottom:24px}.ops-tabs a{font-size:13px;padding-top:16px}.export-actions{flex-direction:column;align-items:stretch;gap:14px}.export-actions button{width:100%}.scope-options .ops-filters label,.scope-options .ops-filters label:first-child{flex-basis:100%;max-width:none}.people-table td:first-child{min-width:0}.journey-card .stage-link{grid-column:1/3;margin-top:8px}.ops-account{gap:10px}.ops-nav .ops-brand{font-size:17px}.ops-brand span{font-size:12px}}

@media(max-width:600px){.people-query .record-filters label:nth-child(2){flex-basis:100%;width:100%}.people-query .record-filters>button{width:100%}}

/* Desktop operations shell. Navigation stays at the left as content scrolls. */
.ops-layout{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh;align-items:start}
.ops-sidebar{position:sticky;top:0;height:100vh;padding:32px 18px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0}
.ops-sidebar .ops-brand{display:block;text-decoration:none;font-size:23px;font-weight:700;color:var(--ink);padding:0 14px 30px;letter-spacing:1px}
.ops-sidebar .ops-brand span{display:block;border:0;margin:5px 0 0;padding:0;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}
.menu-label{font-size:11px;letter-spacing:1px;color:#8a9d92;padding:0 14px;margin-bottom:10px}
.ops-menu{display:flex;flex-direction:column;gap:8px}
.ops-menu a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:8px;text-decoration:none;font-size:14px;color:var(--muted)}
.menu-icon{font-size:18px;line-height:1;width:21px;text-align:center;color:#78958a}
.ops-menu a:hover{background:#f4f8f6;color:var(--ink)}
.ops-menu a[aria-current="page"]{background:#e8f5ef;color:var(--primary);font-weight:600}
.ops-menu a[aria-current="page"] .menu-icon{color:var(--primary)}
.sidebar-footer{margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line);font-size:12px}
.sidebar-footer>a,.sidebar-footer .ops-account a{display:block;text-decoration:none;color:var(--muted);padding:7px 0}
.sidebar-footer .ops-account{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.sidebar-footer .text-button{font-size:12px;min-height:32px;padding:6px 0}
.sidebar-footer small{display:block;color:#9aaba2;margin-top:15px;font-size:10px}
.ops-layout .ops-page{width:auto;max-width:1740px;min-width:0;margin:0 auto;padding:32px 32px 48px;width:100%}
.ops-layout .ops-header{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line);align-items:center}
.ops-header h1{font-size:28px}.ops-header .eyebrow{font-size:11px;margin-bottom:8px}.ops-layout .refresh-box{flex-direction:row;align-items:center}
.ops-layout .panel{padding:22px;border-radius:12px}.ops-layout .scope-options{padding:16px 22px}
.ops-layout .journey-card{padding:22px}.ops-layout .journey-total{font-size:38px;margin:12px 0 18px}.ops-layout .journey-grid{margin-top:0}
.ops-layout .people-query .record-filters label:first-child{max-width:560px}.ops-layout .people-table{min-width:940px}
.ops-layout .ops-filters{gap:12px}.ops-layout .ops-filters label:first-child{max-width:280px}
.ops-layout .record-filters input,.ops-layout .record-filters select,.ops-layout .ops-filters input,.ops-layout .ops-filters select{min-height:40px;font-size:13px}
.ops-layout .primary,.ops-layout .secondary{min-height:40px;font-size:13px;padding:9px 16px}
body[data-ops-view="settings"] [data-ops-panel="settings"]{display:block}body[data-ops-view="settings"] #scope-options{display:none}
.qr-settings-grid{display:grid;grid-template-columns:280px minmax(0,580px);gap:36px;margin-top:26px}
.qr-preview{padding:22px;background:#f7faf8;border:1px solid var(--line);border-radius:10px;text-align:center}
.qr-preview img{display:block;width:100%;max-height:300px;object-fit:contain;background:#fff}
.qr-preview .hint{font-size:12px;margin-top:14px}.qr-settings-grid form{min-width:0;padding-top:4px}.qr-settings-grid .field{font-size:13px;margin-bottom:12px}
.qr-settings-grid input[type="file"]{display:block;width:100%;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fcfefd;margin-top:8px;font-size:13px}
.qr-settings-grid input::file-selector-button{border:0;border-radius:5px;background:#e8f3ec;padding:8px 12px;color:#396450;margin-right:12px;cursor:pointer}
#contact-qr-pending img{display:block;width:180px;max-height:220px;object-fit:contain;border:1px solid var(--line);border-radius:7px;padding:8px;background:white;margin-top:8px}
.sync-explanation h2{font-size:17px}.sync-explanation dl{margin:20px 0 0}.sync-explanation dl>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:13px 0;border-top:1px solid var(--line);font-size:13px}.sync-explanation dt{font-weight:550}.sync-explanation dd{margin:0;color:var(--muted)}
.sync-health{background:#fff5e7;border:1px solid #ead7b8;color:#8b5f29;border-radius:8px;padding:12px 16px;margin:0 0 20px;font-size:13px;line-height:1.8}
@media(min-width:1500px){#dealer-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.ops-layout{grid-template-columns:190px minmax(0,1fr)}.ops-layout .ops-page{padding:28px 24px 40px}.ops-sidebar{padding:28px 12px 20px}.qr-settings-grid{grid-template-columns:240px minmax(0,1fr);gap:24px}.ops-layout .journey-card{padding:18px}}
@media(max-width:900px){.ops-layout{grid-template-columns:170px minmax(0,1fr)}.ops-sidebar{padding:24px 10px}.ops-sidebar .ops-brand{font-size:20px;padding-left:10px}.ops-menu a{gap:8px;padding:11px 10px}.ops-layout .ops-page{padding:24px 20px 36px}.qr-settings-grid{grid-template-columns:1fr}.qr-preview{max-width:280px}.ops-layout .refresh-box{flex-direction:column;align-items:flex-end}.sync-explanation dl>div{grid-template-columns:1fr;gap:6px}}

/* Account controls share the operations form and table styles. */
body[data-ops-view="accounts"] [data-ops-panel="accounts"]{display:block}
body[data-ops-view="accounts"] #scope-options{display:none}
.current-account{font-size:12px;color:var(--ink);overflow-wrap:anywhere;margin:6px 0 8px}
.account-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) 120px auto;gap:18px;align-items:end;margin-top:24px}
.account-form .field{font-size:13px;margin:0;min-width:0}
.account-form input,.account-form select,.account-dialog input:not([type="checkbox"]),.account-dialog select{width:100%;min-width:0;min-height:42px;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fcfefd;font:inherit;font-size:14px;color:var(--ink)}
.account-form>.error{grid-column:1/-1;margin:0}
.accounts-table{width:100%;margin-top:18px;font-size:13px}
.accounts-table th{white-space:nowrap}.accounts-table td{vertical-align:middle;overflow-wrap:anywhere}
.account-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.account-row-actions .text-button{min-height:36px;padding:6px 0;font-size:12px;white-space:nowrap}
.current-account-marker{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}
.account-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;margin:auto;padding:28px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 16px 60px #193a2b26}
.account-dialog::backdrop{background:#132d2459}.account-dialog h2{font-size:20px;overflow-wrap:anywhere}
.account-dialog .hint{margin:12px 0 22px;font-size:13px}.account-dialog .field{display:block;font-size:13px;margin:18px 0}
.account-dialog .actions{justify-content:flex-end;margin-top:24px}.account-check{display:flex;align-items:center;gap:10px;font-size:13px;margin:20px 0}.account-check input{width:17px;height:17px;accent-color:var(--primary)}
@media(max-width:1100px){.account-form{grid-template-columns:1fr 1fr}.account-form>button{justify-self:start}}
@media(max-width:600px){.account-form{grid-template-columns:1fr;gap:16px}.account-form>button{width:100%}.accounts-table,.accounts-table tbody{display:block}.accounts-table thead{display:none}.accounts-table tr{display:block;padding:16px 0;border-bottom:1px solid var(--line)}.accounts-table td{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;border:0;padding:7px 0;text-align:left}.accounts-table td::before{content:attr(data-label);color:var(--muted);font-size:12px}.account-dialog{padding:22px}.account-dialog .actions{gap:10px}}
@media(max-width:600px){
 .ops-layout{grid-template-columns:minmax(0,1fr)}
 .ops-sidebar{position:static;height:auto;padding:18px 16px 12px;border-right:0;border-bottom:1px solid var(--line)}
 .ops-sidebar .ops-brand{font-size:21px;padding:0 0 14px}.ops-sidebar .ops-brand span{display:inline;font-size:11px;margin-left:10px}
 .ops-sidebar .menu-label{display:none}.ops-menu{flex-direction:row;gap:4px;overflow-x:auto;padding-bottom:4px}.ops-menu a{flex-shrink:0;white-space:nowrap;padding:9px 10px;gap:6px;font-size:12px}.ops-menu .menu-icon{font-size:15px;width:16px}
 .sidebar-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:10px;padding:10px 0 0}.sidebar-footer>a{padding:0;font-size:11px}.sidebar-footer .ops-account{flex-direction:row;gap:16px}.sidebar-footer .ops-account .text-button{font-size:11px;min-height:28px}.sidebar-footer small{display:none}.sidebar-footer .current-account{font-size:11px;margin:0}
 .ops-layout .ops-page{padding:22px 16px 36px}.ops-layout .ops-header{flex-direction:column;align-items:stretch;gap:16px}.ops-layout .ops-header h1{font-size:26px}.ops-layout .refresh-box{flex-direction:row;align-items:center;justify-content:space-between;font-size:11px}
}

.wechat-nickname{display:block;font-size:14px;line-height:1.6;margin-bottom:6px;overflow-wrap:anywhere;color:var(--ink)}.wechat-nickname.missing-nickname{font-size:12px;font-weight:400;color:var(--muted)}
@media(max-width:600px){.ops-layout .people-table,.ops-layout .people-table tbody{display:block;min-width:0;width:100%}.ops-layout .people-table td:before{flex:0 0 86px;min-width:86px}.ops-layout .people-table td>div{flex:1;min-width:0}}

.ops-scope-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin:0 0 20px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}.ops-scope-banner>div{min-width:0}.ops-scope-banner strong{display:block;font-size:15px;overflow-wrap:anywhere}.ops-scope-banner p{margin:6px 0 0;font-size:12px;color:var(--muted);line-height:1.7}.ops-scope-banner.is-filtered{background:#fff6e8;border-color:#e6cda4}.ops-scope-banner.is-filtered strong{color:#875a23}.ops-scope-banner button{flex-shrink:0}#dealer-table-scope{margin:-8px 0 16px}#dealer-show-all{margin-left:auto}
@media(max-width:600px){.ops-scope-banner{align-items:stretch;flex-direction:column;gap:12px;padding:16px}.ops-scope-banner button{width:100%}.ops-layout .refresh-box{flex-wrap:wrap}.ops-layout .refresh-box #updated{line-height:1.7;min-width:0;max-width:240px}#dealer-show-all{margin-left:0}}

.dealer-qr{width:90px;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;align-self:start}.dealer-qr-status{font-size:11px;color:var(--muted);text-align:center}.dealer-qr-retry{font-size:11px;color:var(--primary);background:#edf5f0;border:1px solid var(--line);border-radius:5px;padding:6px 9px;cursor:pointer;min-height:32px}@media(max-width:600px){.dealer-qr{width:70px;min-height:70px}}

.registration-export-filters{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin:20px 0 18px}.registration-export-filters>.export-multi-field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);flex:1;min-width:200px;max-width:360px}.registration-export-filters select{width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fcfefd;color:var(--ink);font:inherit;font-size:14px}.export-field-option{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.7;color:var(--ink);cursor:pointer}.export-field-option input{width:17px;height:17px;flex-shrink:0;accent-color:var(--primary)}.export-field-note{margin:7px 0 18px}.registration-export .export-actions{padding-top:18px;border-top:1px solid var(--line);align-items:center}.friends-export-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap}#registration-export-error:empty{display:none}.journey-breakdown:empty{display:none}@media(max-width:600px){.registration-export-filters{display:grid;grid-template-columns:1fr;gap:14px}.registration-export-filters>.export-multi-field{min-width:0;max-width:none}.registration-export .export-actions{flex-direction:column;align-items:stretch;gap:12px}.friends-export-options{align-items:flex-start;flex-direction:column;gap:10px}.export-field-option{font-size:12px}}

.export-multi-field>span{display:block;margin-bottom:7px}.export-multi{position:relative;min-width:0}.export-multi summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fcfefd;color:var(--ink);font-size:14px;cursor:pointer;list-style:none}.export-multi summary::-webkit-details-marker{display:none}.export-multi summary>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-multi[open] summary{border-color:var(--primary)}.export-multi-popup{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:0 8px 28px #193a2e1a}.export-multi-popup>input{display:block;width:100%;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:6px;font-size:14px;color:var(--ink)}.export-multi-tools{display:flex;justify-content:space-between;gap:12px;margin:6px 0}.export-multi-tools button{border:0;background:none;color:var(--primary);font-size:12px;min-height:30px;padding:4px 0;cursor:pointer}.export-multi-hint{font-size:11px;color:var(--muted);margin:3px 0 7px}.export-multi-options{max-height:240px;overflow-y:auto;overscroll-behavior:contain}.export-multi-option{display:flex;align-items:flex-start;flex-direction:row;gap:9px;padding:8px 5px;min-height:36px;color:var(--ink);font-size:13px;line-height:1.6;cursor:pointer}.export-multi-option:hover{background:#f1f7f4}.export-multi-option input{width:16px;height:16px;margin-top:3px;flex-shrink:0;accent-color:var(--primary)}.export-multi-option span{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.export-multi-popup{position:static;margin-top:5px;box-shadow:none}.export-multi-popup>input{font-size:16px}.export-multi-options{max-height:228px}}

/* Configuration is deliberately separate from delivery activation. */
body[data-ops-view="followup"] [data-ops-panel="followup"]{display:block}body[data-ops-view="followup"] #scope-options,body[data-ops-view="followup"] #sync-health{display:none}
.followup-scope p{font-size:14px;line-height:1.8}.followup-off{color:#94622b;background:#fff2df}.followup-rules{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}.followup-rules .panel{min-width:0;margin-bottom:20px}.followup-rule .eyebrow{font-size:12px;margin:0 0 10px}.followup-rule h2{margin:0 0 14px}.followup-rule>.hint{min-height:58px}.followup-rule .field{display:flex;flex-direction:column;gap:9px;font-size:14px;margin-top:20px}.followup-rule textarea{width:100%;min-width:0;min-height:146px;padding:12px;border:1px solid var(--line);border-radius:8px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.8;background:#fcfefd;color:var(--ink)}.followup-rule textarea:focus,.followup-delay input:focus{outline:2px solid #b9dcd3;border-color:var(--primary)}.followup-delay{display:flex;align-items:center;gap:10px;font-size:14px;margin-top:16px}.followup-delay input{width:90px;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:7px;font-size:16px;color:var(--ink)}.followup-immediate{margin:16px 0 0;min-height:42px;display:flex;align-items:center;font-size:14px}.followup-text-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-top:6px}.followup-text-tools .hint{font-size:12px}.followup-preview-title{font-size:12px;color:var(--muted);margin:22px 0 10px}.followup-message{padding:18px;background:#edf6f2;border:1px solid #d9e8e1;border-radius:4px 14px 14px 14px;font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;min-height:112px}.followup-save>div{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.followup-save p{margin-bottom:0}.followup-history summary{font-size:14px;cursor:pointer}.followup-history li{font-size:13px;line-height:2;color:var(--muted)}
@media(max-width:1000px){.followup-rules{grid-template-columns:1fr;gap:0}.followup-rule>.hint{min-height:0}}@media(max-width:600px){.followup-rule textarea{font-size:16px}.followup-save>div{align-items:stretch;flex-direction:column}.followup-scope .section-head{align-items:flex-start;gap:12px;flex-direction:column}}

body[data-ops-view="internal"] [data-ops-panel="dashboard"],body[data-ops-view="internal"] [data-ops-panel="people"]{display:block}
body[data-ops-view="internal"] [data-go-view="providers"],body[data-ops-view="internal"] #retry-ops-tags{display:none}
