/* ClinicPulse 1.10 — one light orange product theme. */
:root,html[data-theme="light"],html[data-theme="dark"]{--bg:#fffaf7;--sidebar:#fff;--surface:#fff;--surface-2:#fff7f2;--line:#f0ddd2;--line-soft:#f8ebe4;--gold:#f45b2c;--gold-bright:#d94720;--text:#252838;--muted:#746b69;--green:#16803d;--red:#be3b33;--orange:#f45b2c;--blue:#f45b2c;--shadow:0 12px 32px rgba(135,62,30,.08)}
html,body,html[data-theme="dark"],html[data-theme="dark"] body{background:#fffaf7!important;color:#252838!important}body{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;background-image:none!important}.theme-toggle{display:none!important}a{color:#d94720}
button,.button{border-color:#efd9ce!important;background:#fff!important;color:#5f4540!important;box-shadow:none!important}button:hover,.button:hover{border-color:#f3a07e!important;background:#fff5f0!important;color:#c84420!important}button.primary,.primary{background:#f45b2c!important;border-color:#f45b2c!important;color:#fff!important;box-shadow:0 8px 18px rgba(244,91,44,.2)!important}button.primary:hover,.primary:hover{background:#d94720!important;border-color:#d94720!important}.is-loading{opacity:.72}
.sidebar,.topbar,html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar{background:rgba(255,255,255,.95)!important;border-color:#f0ddd2!important}.card,.metric-card,.period-card,.day-focus-card,.owner-current,.clinic-select-card,html[data-theme="dark"] .card,html[data-theme="dark"] .metric-card,html[data-theme="dark"] .period-card,html[data-theme="dark"] .day-focus-card,html[data-theme="dark"] .clinic-select-card{background:#fff!important;border-color:#f0ddd2!important;box-shadow:var(--shadow)!important}.filters,.birthday-bulk,.scenarios-intro,.scenario-policy,.scenario-script-box,html[data-theme="dark"] .filters,html[data-theme="dark"] .birthday-bulk,html[data-theme="dark"] .scenarios-intro,html[data-theme="dark"] .scenario-policy,html[data-theme="dark"] .scenario-script-box{background:#fff7f2!important;border-color:#f0ddd2!important;color:#5f4540!important}
.brand{padding:3px 5px 22px!important}.brand-lockup{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-lockup img{display:block;width:min(202px,100%);height:auto;max-height:54px;object-fit:contain;object-position:left center}.brand-lockup small{display:block;color:#8a6153;font-size:8px;font-weight:800;letter-spacing:.12em;line-height:1.15}.login-brand .brand-lockup img{width:224px;max-height:60px}.login-brand{min-height:69px;align-items:flex-start}.login-brand .brand-lockup small{font-size:9px}.login-card{border-color:#f0ddd2!important;background:#fff!important;box-shadow:0 18px 44px rgba(135,62,30,.12)!important}
#tabs button{color:#695955!important}#tabs button:hover{background:#fff3ed!important;color:#c84420!important}#tabs button.active,#tabs .nav-tree-toggle[aria-expanded="true"]{background:#fff0e8!important;color:#d94720!important;border-color:#f5c2ac!important;box-shadow:inset 3px 0 0 #f45b2c!important}#tabs .nav-tree-items{border-left-color:#f0ddd2!important}#tabs button.active .nav-icon{filter:invert(43%) sepia(66%) saturate(1363%) hue-rotate(340deg) brightness(100%) contrast(92%)!important;opacity:1!important}.nav-icon{filter:invert(37%) sepia(16%) saturate(700%) hue-rotate(327deg) brightness(93%) contrast(89%)}
.metric-card:before,.legend-dot.gold{background:#f45b2c!important}.metric-card.warning .metric-value,.period-card strong,.eyebrow,.section-kicker,.schedule-rank b,.source-card b,.nps-panel strong{color:#d94720!important}.area-accrual{fill:rgba(244,91,44,.1)!important}.line-accrual,.point-accrual{stroke:#f45b2c!important;fill:#f45b2c!important}.connection-pill,.integrity-warning,.notice,.task-help{background:#fff3ec!important;border-color:#f4c7b3!important;color:#754f43!important}.notice{border-left-color:#f45b2c!important}.connection-pill{color:#a4492d!important}.status-open,.priority-badge,.birthday-status.queued{background:#fff0e8!important;border-color:#f5c2ac!important;color:#d94720!important}.scenario-card.priority-high{border-left-color:#f45b2c!important}
input,select,textarea,.filters input,.filters select,.reputation-source-controls input,.reputation-source-controls select,.security-fields input,.security-fields select,.tablewrap select,.owner-form input,.owner-form select,.owner-access-editor select,.owner-role-editor input,.nps-controls select,.nps-record select,.nps-record input{background:#fff!important;border-color:#eecfc0!important;color:#252838!important}input:focus,select:focus,textarea:focus{outline:2px solid rgba(244,91,44,.18)!important;border-color:#f45b2c!important}.tablewrap{border-color:#f0ddd2!important}.tablewrap th{background:#fff7f2!important;color:#705751!important}.tablewrap th,.tablewrap td{border-color:#f8ebe4!important}.tablewrap tbody tr:hover{background:#fffaf7!important}
.comparison-item,.source-card,.clinic-choice,.owner-clinic-card,.owner-access-choice,.owner-role-row,html[data-theme="dark"] .comparison-item,html[data-theme="dark"] .source-card,html[data-theme="dark"] .clinic-choice,html[data-theme="dark"] .owner-clinic-card,html[data-theme="dark"] .owner-access-choice,html[data-theme="dark"] .owner-role-row{background:#fff8f4!important;border-color:#f0ddd2!important}.comparison-item b,.clinic-choice h3{color:#252838!important}.clinic-choice span,.clinic-choice p,.comparison-item span,.comparison-item small,.source-card span,.source-card small{color:#746b69!important}.clinic-select-card .text-button{color:#d94720!important}.owner-header{border-color:#f0ddd2!important}.owner-status.online{background:#edf9f1!important;border-color:#b8dfc3!important;color:#16723a!important}.owner-status.offline,.owner-status.error{background:#fff4f3!important;border-color:#efc2bf!important;color:#a63a34!important}
#cursorMarker,html[data-theme="dark"] #cursorMarker{background:rgba(244,91,44,.45)!important;border:1px solid rgba(217,71,32,.8)!important;box-shadow:0 0 0 6px rgba(244,91,44,.1)!important}.scroll-controls button{color:#d94720!important;border-color:#f0cdbd!important;background:#fff!important}.scroll-controls button:hover{background:#fff3ed!important}.logout-button{color:#765e57!important}.logout-button:hover{color:#c84420!important}
@media(max-width:640px){.brand-lockup img{width:184px;max-height:49px}.login-brand .brand-lockup img{width:210px}.sidebar .brand{padding-bottom:14px!important}}

/* 1.11 — strict accent sweep, local typeface and clearer report hierarchy. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url("/manrope-400.ttf") format("truetype")}@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("/manrope-500.ttf") format("truetype")}@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("/manrope-600.ttf") format("truetype")}
html,body,button,input,select,textarea{font-family:"Manrope",Arial,"Helvetica Neue",sans-serif!important}body{font-weight:400!important;letter-spacing:0!important}.brand-lockup small{display:none!important}h1,h2,h3,h4,b,strong,.metric-value,.owner-current b{font-weight:600!important;letter-spacing:-.018em!important}.eyebrow,.section-kicker,th,.metric-label,.metric-hint,.filters label,.owner-form label,.owner-access-editor>label,.owner-role-editor>label{font-weight:500!important;letter-spacing:.025em!important}button,.button{font-weight:500!important}
html:not([data-theme="dark"]) body button.primary,html:not([data-theme="dark"]) body .primary,html:not([data-theme="dark"]) body .filters button.primary,html:not([data-theme="dark"]) body .topbar-actions button.primary,html:not([data-theme="dark"]) body .overview-period-controls button.primary,html:not([data-theme="dark"]) body .year-filter button.primary,html:not([data-theme="dark"]) body .day-filter button.primary{background:#f45b2c!important;border-color:#f45b2c!important;color:#fff!important;box-shadow:0 8px 18px rgba(244,91,44,.2)!important}html:not([data-theme="dark"]) body button.primary:hover,html:not([data-theme="dark"]) body .primary:hover{background:#d94720!important;border-color:#d94720!important}html:not([data-theme="dark"]) body .filters button:not(.primary),html:not([data-theme="dark"]) body .overview-period-controls button:not(.primary),html:not([data-theme="dark"]) body .year-filter button:not(.primary),html:not([data-theme="dark"]) body .day-filter button:not(.primary){background:#fff7f2!important;border-color:#f3c5b2!important;color:#c84420!important}
html:not([data-theme="dark"]) body .eyebrow,html:not([data-theme="dark"]) body .section-kicker,html:not([data-theme="dark"]) body .period-card strong,html:not([data-theme="dark"]) body .scenario-script-head span,html:not([data-theme="dark"]) body .schedule-rank b,html:not([data-theme="dark"]) body .source-card b,html:not([data-theme="dark"]) body .nps-panel strong,html:not([data-theme="dark"]) body .row-link,html:not([data-theme="dark"]) body code,html:not([data-theme="dark"]) body .scenario-contact a{color:#d94720!important}html:not([data-theme="dark"]) body .metric-card:before,html:not([data-theme="dark"]) body .metric-card.warning:before,html:not([data-theme="dark"]) body .legend-dot.gold{background:#f45b2c!important}html:not([data-theme="dark"]) body .period-card,html:not([data-theme="dark"]) body .day-focus-card{border-color:#f0ddd2!important}
html:not([data-theme="dark"]) body .rank-progress{background:#f7e4da!important}html:not([data-theme="dark"]) body .rank-progress>span{background:#f45b2c!important;background-image:none!important}.area-accrual,html:not([data-theme="dark"]) body .area-accrual{fill:rgba(244,91,44,.1)!important}.line-accrual,.point-accrual,html:not([data-theme="dark"]) body .line-accrual,html:not([data-theme="dark"]) body .point-accrual{stroke:#f45b2c!important;fill:#f45b2c!important}.gridline{stroke:#f1e4dd!important}.axis{fill:#8b7770!important}
html:not([data-theme="dark"]) body .connection-pill,html:not([data-theme="dark"]) body .integrity-warning,html:not([data-theme="dark"]) body .notice,html:not([data-theme="dark"]) body .task-help{background:#fff3ec!important;border-color:#f4c7b3!important;border-left-color:#f45b2c!important;color:#754f43!important}html:not([data-theme="dark"]) body .connection-pill{color:#a4492d!important}html:not([data-theme="dark"]) body .status-open,html:not([data-theme="dark"]) body .priority-badge,html:not([data-theme="dark"]) body .birthday-status.queued{background:#fff0e8!important;border-color:#f5c2ac!important;color:#d94720!important}
.statistics-control-card{display:grid;gap:15px}.statistics-control-head h2{margin:4px 0 6px;font-size:18px}.statistics-control-head p,.statistics-mode-hint{max-width:760px;margin:0;color:#756963;font-size:12px;line-height:1.6}.statistics-filters{margin:0!important;background:#fff8f4!important;border-color:#f0ddd2!important}.statistics-filters label{min-width:156px!important;color:#8a665b!important}.statistics-mode-hint{padding:11px 13px;border:1px solid #f3d9cd;border-radius:10px;background:#fffaf7}.comparison-card{margin-top:0}.comparison-grid{gap:12px}.comparison-item{min-height:79px;padding:14px 15px!important;background:#fffaf7!important;border-color:#f0ddd2!important}.comparison-item b{font-size:19px!important}.comparison-item small strong{font-weight:600!important}.statistics-control-card+.metric-grid{margin-top:0}
.owner-shell{width:min(1720px,100%)!important;padding:22px 32px 56px!important}.owner-main{gap:20px!important}.owner-intro{gap:32px!important}.owner-intro h1{font-size:34px!important}.owner-connection-guide{background:#fffaf7!important}.owner-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:4px 0 0;padding:0;list-style:none;counter-reset:owner-step}.owner-steps li{position:relative;display:grid;gap:6px;min-height:116px;padding:15px 14px 14px 46px;border:1px solid #f0ddd2;border-radius:12px;background:#fff}.owner-steps li:before{counter-increment:owner-step;content:counter(owner-step);position:absolute;left:14px;top:14px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f45b2c;color:#fff;font-size:11px;font-weight:600}.owner-steps b{font-size:12px}.owner-steps span{color:#746b69;font-size:10px;line-height:1.5}.owner-grid{gap:16px!important}.owner-clinic-card{padding:17px!important}.owner-form,.owner-access-editor,.owner-role-editor{gap:12px!important}.owner-role-editor{grid-template-columns:1fr!important}.owner-role-editor button{justify-self:start}.owner-role-row{align-items:flex-start!important}.owner-role-row span{max-width:72%;line-height:1.5}.owner-metrics{grid-template-columns:repeat(6,minmax(0,1fr))!important}.owner-metrics .metric-card{min-height:112px!important}
@media(max-width:1240px){.owner-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.owner-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){.owner-shell{padding:16px!important}.owner-steps,.owner-metrics{grid-template-columns:1fr!important}.owner-steps li{min-height:auto}.statistics-filters{display:grid!important;grid-template-columns:1fr!important}.statistics-filters button{width:100%}.statistics-mode-hint{font-size:11px}.owner-role-row span{max-width:none}}
html:not([data-theme="dark"]) body #tabs button.active,html:not([data-theme="dark"]) body #tabs .nav-tree-toggle[aria-expanded="true"]{background:#fff0e8!important;color:#d94720!important;border-color:#f5c2ac!important;box-shadow:inset 3px 0 0 #f45b2c!important}html:not([data-theme="dark"]) body #tabs button.active .nav-icon{filter:invert(43%) sepia(66%) saturate(1363%) hue-rotate(340deg) brightness(100%) contrast(92%)!important}.topbar h1,.dashboard-intro h2,.card h2,.card h3{color:#252838!important}.muted,.dashboard-intro p,.card-head p{color:#746b69!important}

/* 1.12 — controlled bars and operational CRM analytics. */
.rank-progress{position:relative;display:block;width:100%;height:7px;margin-top:8px;overflow:hidden;border:0!important;border-radius:999px!important;background:#f7e4da!important;appearance:none!important;-webkit-appearance:none!important}.rank-progress>span{display:block;min-width:0;height:100%;border-radius:inherit;background:#f45b2c!important;background-image:none!important;box-shadow:none!important;transition:width .2s ease}.metric-projection-values{display:flex;align-items:baseline;gap:9px;min-height:35px;margin:7px 0 5px;white-space:nowrap}.metric-projection-values span{color:#252838;font-size:19px;font-weight:500;letter-spacing:-.025em}.metric-projection-values i{color:#d94720;font-size:20px;font-style:normal;font-weight:500}.metric-projection-values strong{color:#d94720;font-size:22px;font-weight:600;letter-spacing:-.04em}.metric-projection-note{margin-top:8px;color:#8a6153;font-size:10px;line-height:1.45}.administrator-control-card{display:grid;gap:13px}.administrator-control-card .card-head{margin-bottom:0}.administrator-filters{margin:0!important;background:#fff8f4!important;border-color:#f0ddd2!important}.administrator-methodology{margin:0;color:#756963;font-size:11px;line-height:1.55}.administrator-bar-created{fill:#f45b2c}.administrator-bar-completed{fill:#16803d}.administrator-bar-canceled{fill:#cf5a45}@media(max-width:760px){.metric-projection-values{gap:6px}.metric-projection-values span{font-size:16px}.metric-projection-values strong{font-size:18px}.administrator-filters{display:grid!important;grid-template-columns:1fr!important}.administrator-filters button{width:100%}}
