:root {
    --ink: #20283a;
    --muted: #586479;
    --purple: #5d4bbb;
    --purple-dark: #493aa0;
    --purple-soft: #f0edff;
    --border: #dce2ec;
    --bg: #f4f6fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}

body { color: var(--ink); line-height: 1.5; }
.app-main, .public-shell { background: var(--bg); }
.sidebar, .topbar, .panel, .customer-form, .table-card, .public-card, .login-card, .metric { border-color: var(--border); }
.panel, .customer-form, .table-card, .public-card, .login-card, .metric { box-shadow: 0 8px 24px rgb(33 45 75 / 4%); }
.content { max-width: 1520px; padding-top: 36px; }
.page-heading h1 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.2; }
.page-heading p, .panel p, .form-aside p, .form-aside li { font-size: 14px; }
.eyebrow, .nav-label, .step-kicker { font-size: 11px; letter-spacing: .11em; }
.breadcrumb, .environment, .user-chip, .workspace { font-size: 12px; }
.user-chip small, .workspace small { font-size: 11px; }
.sidebar nav a { font-size: 14px; }
.sidebar-note strong, .sidebar-note p, .sidebar-bottom { font-size: 11px; }
.table-title h2, .panel h2, .section-heading h2 { font-size: 18px; }
.table-tabs { overflow-x: auto; scrollbar-width: thin; }
.table-tabs a { font-size: 13px; white-space: nowrap; padding-block: 13px; }
th { font-size: 12px; font-weight: 650; height: 48px; color: #46536a; }
td { font-size: 13px; height: 60px; line-height: 1.5; color: #3f4b60; }
.customer-name strong, .customer-name small, .row-action, .date-value, .code-value { font-size: 12px; }
.customer-name strong { color: #29354b; font-weight: 650; }
.badge { font-size: 11px; font-weight: 650; padding: 6px 9px; }
.pagination, .pagination .page-current, .pagination .page-button { font-size: 12px; }
.table-toolbar, .filter-form { background: #fff; }
.table-scroll { overflow-x: auto; }
.metric > span, .metric small, .metric-icon { font-size: 12px; }
label, .public-card label, .login-card label { font-size: 13px; }
input, select, textarea { font-size: 14px; color: var(--ink); }
.button { font-size: 13px; font-weight: 650; }
.notice, .notice.neutral, .caption, .muted, .public-card p { font-size: 13px; line-height: 1.65; }
.notice-document { font-size: 14px; line-height: 1.75; }
.choice-card strong { font-size: 14px; }
.choice-card small { font-size: 12px; }
.detail-grid dt { font-size: 12px; }
.detail-grid dd { font-size: 13px; }
.flash { font-size: 14px; }
.app-footer, .public-footer, .privacy-foot p, .privacy-foot small { font-size: 11px; }
.customer-table form { min-width: 210px; }
.customer-table form label { font-size: 12px; }
.customer-table form input { min-height: 38px; padding: 8px 10px; }
.customer-table form .button { margin-top: 8px; }
.customer-table td .row-action + .row-action { margin-top: 8px; }
.management-form { max-width: 860px; }
.management-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.management-grid label { font-size: 13px; }
.management-grid textarea { width: 100%; border: 1px solid var(--border); border-radius: 7px; padding: 12px; font: inherit; margin-top: 8px; }
.management-wide { grid-column: 1 / -1; }
.management-grid .management-check { display: flex; align-items: center; gap: 10px; }
.management-check input { width: 19px; height: 19px; min-height: 19px; margin: 0; accent-color: var(--purple); }
.management-form .form-actions { margin-top: 28px; }
.survey-wizard { max-width: 900px; }
.survey-step { border: 0; padding: 0; min-width: 0; }
.survey-step legend { color: var(--purple); font-weight: 700; margin-bottom: 20px; }
.survey-step h2 { font-size: 22px; line-height: 1.4; }
.score-options { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.score-options label { position: relative; }
.score-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.score-options span { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; background: white; }
.score-options input:checked + span { background: var(--purple); color: white; border-color: var(--purple); }
.score-options input:focus-visible + span { outline: 3px solid #a998ee; outline-offset: 2px; }
.dcv-options span { width: auto; min-width: 135px; padding: 0 16px; }
.dcv-player audio { width: 100%; margin: 14px 0; }
.survey-progress { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.survey-progress progress { flex: 1; accent-color: var(--purple); }
.wizard-actions { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 22px; border-top: 1px solid var(--border); padding-top: 20px; }
.wizard-actions [data-prev] { grid-column: 1; justify-self: start; }
.wizard-actions .wizard-forward { grid-column: 2; display: flex; gap: 10px; justify-self: center; margin: 0; }
.wizard-actions .button { min-width: 130px; }
.compare-chart { max-width: 1000px; }
.compare-legend { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 18px 0 26px; color: var(--muted); font-size: 13px; }
.compare-legend span { display: inline-flex; align-items: center; gap: 8px; }
.compare-key { display: inline-block; width: 15px; height: 15px; border-radius: 3px; }
.compare-key.first,.compare-fill.first,.compare-column-bar.first { background: #ef684d; }
.compare-key.last,.compare-fill.last { background: var(--purple); }
.compare-column-bar.last { background: var(--purple); }
.compare-columns { margin-top: 20px; }
.compare-column-layout { display: flex; gap: 8px; margin-top: 10px; }
.compare-column-axis { flex: 0 0 44px; height: 258px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.compare-column-scroll { overflow-x: auto; overflow-y: hidden; flex: 1; min-width: 0; padding-bottom: 10px; scrollbar-width: thin; }
.compare-column-scroll:focus-visible { outline: 3px solid #a998ee; outline-offset: 2px; }
.compare-column-plot { display: flex; width: max-content; min-width: 100%; align-items: flex-start; gap: 10px; }
.compare-column-item { width: 90px; flex: 0 0 90px; text-align: center; }
.compare-column-bars { height: 258px; display: flex; align-items: flex-end; justify-content: center; gap: 5px; border-bottom: 2px solid #9da7b8; background: repeating-linear-gradient(to top,#dfe4ec 0,#dfe4ec 1px,transparent 1px,transparent 20%); }
.compare-column-bar { display: block; width: 26px; min-height: 2px; border-radius: 4px 4px 0 0; }
.compare-column-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; line-height: 1.3; font-size: 11px; font-weight: 600; margin-top: 9px; height: 58px; overflow-wrap: anywhere; }
.compare-column-bars svg { display: block; width: 76px; height: 100%; }
.compare-svg-first { fill: #ef684d; }.compare-svg-last { fill: var(--purple); }
.compare-svg-good { fill: #4caa82; }.compare-svg-bad { fill: #d88b45; }.compare-svg-neutral { fill: #a1a9b9; }
.compare-change-bars { background: repeating-linear-gradient(to top,#dfe4ec 0,#dfe4ec 1px,transparent 1px,transparent 25%); }
.compare-zero-line { stroke: #7f899e; stroke-width: 1.5; }
.compare-change-axis { justify-content: space-between; }
.compare-question { border-top: 1px solid var(--border); padding: 22px 0; break-inside: avoid; }
.compare-question-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; }
.compare-question-heading h3 { font-size: 15px; font-weight: 650; max-width: 75ch; margin: 0; }
.compare-question-heading .badge { white-space: normal; }
.compare-question .caption { margin: 4px 0 13px; }
.compare-bar-row { display: grid; grid-template-columns: 35px minmax(0,1fr) 52px; align-items: center; gap: 10px; margin: 7px 0; font-size: 12px; }
.compare-bar-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.compare-track { height: 16px; border-radius: 5px; background: #edf0f5; overflow: hidden; }
.compare-fill { display: block; height: 100%; border-radius: 5px; }
.compare-progress { display: block; width: 100%; height: 16px; border: 0; border-radius: 5px; overflow: hidden; appearance: none; background: #edf0f5; }
.compare-progress::-webkit-progress-bar { background: #edf0f5; border-radius: 5px; }
.compare-progress::-webkit-progress-value { background: var(--progress-color); border-radius: 5px; }
.compare-progress::-moz-progress-bar { background: var(--progress-color); border-radius: 5px; }
.compare-progress.first { --progress-color: #ef684d; }.compare-progress.last { --progress-color: var(--purple); }
.compare-progress.good { --progress-color: #4caa82; }.compare-progress.bad { --progress-color: #d88b45; }.compare-progress.neutral { --progress-color: #a1a9b9; }
@media print { .compare-chart,.compare-track,.compare-fill,.compare-key { print-color-adjust: exact; -webkit-print-color-adjust: exact; } .compare-columns { display: none; } }

.obs-range-panel{margin-bottom:18px}.obs-range-top,.obs-chart-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}.obs-range-top h2,.obs-chart-heading h2,.obs-insight h2{margin:0 0 7px}.obs-range-top p,.obs-chart-heading p,.obs-insight>p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.obs-shortcuts,.obs-range-form,.obs-legend{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.obs-shortcuts .button{min-height:36px;padding:8px 12px}.obs-range-form{margin-top:18px}.obs-range-form label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#4d5569}.obs-range-form input{min-height:42px;min-width:170px;padding:8px 10px}.obs-range-form button{min-height:42px}.obs-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.obs-insight-item{border:1px solid var(--border);border-radius:10px;padding:15px;display:grid;gap:5px;background:#fafbff}.obs-insight-item strong{font-size:26px;line-height:1;color:#515a77}.obs-insight-item span{font-size:12px;font-weight:700;color:#3f485e}.obs-insight-item small{font-size:11px;line-height:1.5;color:#737d91}.obs-insight-item.warning{background:#fff9ee;border-color:#f1dcad}.obs-insight-item.danger{background:#fff2f0;border-color:#edc3bd}.obs-insight-item.danger strong{color:#bf4d47}.obs-insight-item.warning strong{color:#a56d23}.obs-chart-panel{overflow:hidden}.obs-legend{align-items:center;font-size:11px;color:#59647a}.obs-legend span{display:inline-flex;align-items:center;gap:5px}.obs-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.obs-dot.normal{background:#6960b6}.obs-dot.warning{background:#e9a443}.obs-dot.danger{background:#d85151}.obs-chart-scroll{overflow-x:auto;margin-top:15px}.obs-chart{display:block;width:100%;min-width:700px;height:260px;font:11px system-ui,sans-serif;fill:#738099}.obs-gridline{stroke:#e7eaf1;stroke-width:1}.obs-axis{stroke:#aeb6c5;stroke-width:1}.obs-bar-normal{fill:#6960b6}.obs-bar-warning{fill:#e9a443}.obs-bar-danger{fill:#d85151}.obs-line-danger,.obs-line-warning{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.obs-line-danger{stroke:#d85151}.obs-line-warning{stroke:#e9a443}.obs-tick{font-size:10px;fill:#6f7889}.obs-chart-panel .muted{font-size:12px}
@media(max-width:900px){.obs-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.obs-insight-grid{grid-template-columns:1fr 1fr}.obs-range-form label{flex:1;min-width:125px}.obs-range-form input{min-width:0;width:100%}.obs-chart{min-width:700px}}
.obs-customer-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;font-size:12px;color:#586277}.obs-customer-summary strong{font-size:15px;color:#343f58}.obs-customer-summary span{color:#bf4d47;font-weight:700}.obs-customer-summary small{flex-basis:100%;font-size:11px;color:#778194}.obs-chart a:hover rect{opacity:.75}
.obs-endpoint-list{display:grid;gap:13px;margin-top:19px}.obs-endpoint-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,2fr) auto;align-items:center;gap:15px}.obs-endpoint-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3d475d;font-size:12px;font-weight:650}.obs-endpoint-progress{width:100%;height:16px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#edf0f5}.obs-endpoint-progress::-webkit-progress-bar{background:#edf0f5}.obs-endpoint-progress::-webkit-progress-value{background:#6960b6}.obs-endpoint-progress::-moz-progress-bar{background:#6960b6}.obs-endpoint-meta{display:flex;align-items:center;gap:10px;min-width:220px;font-size:11px;color:#69758a}.obs-endpoint-meta strong{color:#3d475d}.obs-error-text{color:#ba4949;font-weight:700}.obs-raw-details{margin-top:22px;border-top:1px solid var(--border);padding-top:14px}.obs-raw-details summary{cursor:pointer;color:var(--purple);font-size:12px;font-weight:650}.obs-raw-details .table-scroll{margin-top:15px}.obs-host-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.obs-host-metrics>div{border:1px solid var(--border);border-radius:9px;background:#fafbff;padding:15px;display:grid;gap:6px}.obs-host-metrics span{font-size:11px;color:#69758a}.obs-host-metrics strong{font-size:20px;color:#34405b}.obs-host-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.obs-host-charts>div{min-width:0;border:1px solid var(--border);border-radius:9px;padding:14px}.obs-host-charts h3{font-size:13px;margin:0 0 8px;color:#46526b}.obs-mini-chart{display:block;width:100%;height:150px;font:11px system-ui,sans-serif;fill:#738099}.obs-line-normal{fill:none;stroke:#6960b6;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}@media(max-width:900px){.obs-endpoint-row{grid-template-columns:1fr}.obs-endpoint-meta{min-width:0}.obs-host-charts{grid-template-columns:1fr}}@media(max-width:620px){.obs-host-metrics{grid-template-columns:1fr 1fr}}
.session-log-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.session-log-metrics>div{border:1px solid var(--border);border-radius:9px;padding:14px;background:#fafbff;display:grid;gap:4px}.session-log-metrics strong{font-size:24px;color:#3d4561}.session-log-metrics span{font-size:11px;color:#69758a}.session-log-metrics .has-error{background:#fff2f0;border-color:#edc3bd}.session-log-metrics .has-error strong{color:#bf4d47}.session-visual-heading{font-size:14px;margin:22px 0 12px}.session-track-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px}.session-track-item{border:1px solid #dce1ed;background:#f5f6fb;border-radius:8px;padding:10px;display:grid;gap:3px;text-align:center}.session-track-item strong{font-size:17px}.session-track-item span{font-size:10px}.session-track-item.complete{background:#edf8f2;border-color:#bee7cf;color:#327b57}.session-track-item.error{background:#fff1ef;border-color:#efc9c2;color:#b04b43}.session-event-timeline{border-left:2px solid #dfe4ed;margin:18px 0 0 6px}.session-event{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:11px 14px 11px 18px;position:relative;border-bottom:1px solid #f0f2f6;font-size:11px;color:#6e788c}.session-event-dot{position:absolute;left:-6px;top:17px;width:10px;height:10px;border-radius:50%;background:#929bd0;border:2px solid white}.session-event.complete .session-event-dot{background:#4caa82}.session-event.error .session-event-dot{background:#d85151}.session-event time{min-width:126px;font-variant-numeric:tabular-nums}.session-event strong{color:#3f4b61;font-size:12px;overflow-wrap:anywhere}.session-event.error{background:#fff8f6}@media(max-width:620px){.session-log-metrics{grid-template-columns:1fr 1fr}.session-event time{min-width:0;width:100%}}
.compare-form { margin-top: 28px; align-items: end; }
.print-actions { display: flex; justify-content: space-between; align-items: center; }
@media print { .sidebar,.topbar,.app-footer,.print-actions,.button { display: none !important; } .app-main { margin: 0; width: 100%; } .content { max-width: none; padding: 0; } body { background: white; } .table-card,.panel { border: 0; box-shadow: none; } }
.login-story > p, .login-card > .muted { font-size: 14px; }
.login-info, .demo-box, .demo-box summary, .demo-box p, .story-foot { font-size: 12px; }
.brand-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; letter-spacing: normal; }
.brand-logo img { display: block; width: 100%; max-width: 196px; height: auto; }
.brand-logo small { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--muted); padding-left: 4px; }
.public-header .brand-logo img { max-width: 230px; }
.session-reopen { min-width: 230px; }
.session-reopen summary { width: fit-content; color: var(--purple); font-weight: 650; cursor: pointer; }
.session-reopen form { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; min-width: 245px; }
.session-reopen label { display: block; font-size: 12px; }
.session-reopen textarea { display: block; width: 100%; min-height: 85px; padding: 9px; border: 1px solid var(--border); border-radius: 7px; resize: vertical; font: inherit; }
.session-reopen .button { align-self: flex-start; margin: 0; white-space: normal; }

@media (min-width: 621px) and (max-width: 900px) {
    .sidebar nav a { font-size: 0; justify-content: center; padding: 0; gap: 0; }
    .sidebar nav .nav-icon { font-size: 23px; }
    .sidebar nav .nav-arrow { display: none; }
}

@media (max-width: 800px) {
    .content { padding: 24px 18px; }
    .topbar { padding-inline: 18px; }
    .page-heading p { font-size: 13px; }
    th, td { white-space: nowrap; }
    .table-tabs a { font-size: 12px; }
    .public-card, .login-card { padding: 26px 22px; }
}

@media (max-width: 620px) {
    .management-grid { grid-template-columns: 1fr; }
    .content { padding: 20px 14px; }
    .page-heading h1 { font-size: 26px; }
    .metric > span, .metric small { font-size: 11px; }
    .form-grid { grid-template-columns: 1fr; }
    .wizard-actions .button { min-width: 110px; }
    .compare-question-heading h3 { max-width: 100%; }
}

.manual-completion-form { display:flex; flex-direction:column; align-items:stretch; gap:12px; width:100%; max-width:720px; }
.manual-completion-form label { display:block; font-weight:600; }
.manual-completion-form textarea { display:block; box-sizing:border-box; width:100%; min-height:120px; padding:12px; border:1px solid var(--border); border-radius:8px; font:inherit; line-height:1.5; resize:vertical; background:var(--surface, #fff); }
.manual-completion-form .button { align-self:flex-start; max-width:100%; white-space:normal; }

.customer-status-danger { margin-top:36px; border:1px solid #e4b8b8; border-left:4px solid #b83b3b; }
.danger-outline { color:#9c2828 !important; background:#fff !important; border:1px solid #b83b3b !important; }
.danger-outline:hover { background:#fff1f1 !important; }
.deactivation-actions { display:flex; flex-wrap:wrap; gap:16px; margin-top:24px; }
.deactivation-actions .button { margin:0; white-space:normal; }

.customer-delete-form { display:flex; flex-direction:column; align-items:stretch; gap:12px; width:100%; max-width:720px; }
.customer-delete-form label { display:block; font-weight:600; }
.customer-delete-form textarea { display:block; box-sizing:border-box; width:100%; min-height:120px; padding:12px; border:1px solid var(--border); border-radius:8px; font:inherit; line-height:1.5; resize:vertical; background:var(--surface, #fff); }
.customer-delete-form textarea:focus-visible { outline:2px solid var(--purple); outline-offset:2px; }
.customer-delete-form .button { align-self:flex-start; max-width:100%; white-space:normal; }

.device-transfer-form { display:flex; flex-direction:column; align-items:stretch; gap:12px; width:100%; max-width:720px; }
.device-transfer-form label { display:block; font-weight:600; }
.device-transfer-form textarea { display:block; width:100%; min-height:120px; padding:12px; border:1px solid var(--border); border-radius:8px; font:inherit; line-height:1.5; resize:vertical; background:var(--surface, #fff); }
.device-transfer-form textarea:focus-visible { outline:2px solid var(--purple); outline-offset:2px; }
.device-transfer-form .button { align-self:flex-start; max-width:100%; white-space:normal; }
