/* Canonical role-based scale, loaded after legacy page CSS. */
:root,html[data-theme="dark"],html[data-theme="light"] {--type-title:clamp(32px,3.5vw,56px);--type-section:clamp(24px,2vw,32px);--ui-inset:28px;--ui-gap:24px;--ui-section:32px;--space-card:var(--ui-inset);--space-section:var(--ui-section);}
body#tickvisor#tickvisor :is(h1,h2,h3,h4,h5,h6) {font-family:'Space Grotesk',Inter,system-ui,sans-serif!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.025em!important;margin:0 0 16px!important;color:var(--ink)!important;overflow-wrap:anywhere;}
body#tickvisor#tickvisor h1 {font-size:var(--type-title)!important;line-height:1.12!important;max-width:26ch!important;}
body#tickvisor#tickvisor h2 {font-size:var(--type-section)!important;}
body#tickvisor#tickvisor :is(h3,h4,h5,h6) {font-size:20px!important;line-height:1.35!important;}
body#tickvisor#tickvisor :is(p,.lede,.home-subtitle,.support-subtitle,.pricing-subtitle,.knowledge-intro,.tv-report__lede,.tv-auth-description) {font-family:var(--font)!important;font-size:16px!important;font-weight:400!important;line-height:1.7!important;letter-spacing:normal!important;margin:0 0 16px!important;}
body#tickvisor#tickvisor :is(.note,.metric-label,.knowledge-byline,.knowledge-breadcrumb,.tv-report__subtitle,.login-bottom-actions p) {font-size:14px!important;line-height:1.6!important;}
body#tickvisor#tickvisor :is(.page-list,.plan-feature-list,.knowledge-section) li {font-size:16px!important;line-height:1.7!important;}
body#tickvisor#tickvisor :is(.page-list,.plan-feature-list,.knowledge-section) li+li {margin-top:8px!important;}
body#tickvisor#tickvisor :is(.knowledge-guide-card,.knowledge-sidebar-action) h2,body#tickvisor#tickvisor summary {font-family:'Space Grotesk',Inter,system-ui,sans-serif!important;font-size:20px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:-.025em!important;color:var(--ink)!important;}
body#tickvisor#tickvisor :is(.metric-value,.price) {font-family:'Space Grotesk',Inter,system-ui,sans-serif!important;font-size:36px!important;font-weight:600!important;line-height:1.2!important;}
body#tickvisor#tickvisor :is(.site-main,.tv-auth-page) p a:not(.button) {color:var(--primary)!important;text-decoration:underline;text-underline-offset:4px;}
body#tickvisor#tickvisor :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--primary)!important;outline-offset:4px!important;}
body#tickvisor#tickvisor :is(.page-shell,.tv-report,.admin-premium-page,.knowledge-page) {width:100%!important;max-width:var(--layout-width)!important;margin:0 auto!important;padding:40px 0 64px!important;gap:var(--ui-section)!important;}
body#tickvisor#tickvisor :is(.home-hero-copy,.dashboard-hero-copy,.analyze-hero-copy,.history-hero-copy,.billing-hero-copy,.pricing-hero-copy,.support-hero-copy) {padding:0!important;}
body#tickvisor#tickvisor :is(.home-hero,.dashboard-hero-premium,.analyze-hero-premium,.history-hero-premium,.billing-hero-premium,.pricing-hero,.support-hero,.landing-hero,.profile-revamp-hero,.tv-report__hero,.admin-premium-hero) {gap:var(--ui-section)!important;min-height:0!important;align-items:start!important;}
body#tickvisor#tickvisor :is(.home-step-grid,.grid,.admin-kpi-grid,.admin-webhook-grid,.analyze-guide-grid,.dashboard-lower-grid,.pricing-grid,.dashboard-premium-grid,.dashboard-kpi-row,.billing-two-grid,.billing-ai-grid,.support-guide-grid,.support-workflow-section,.seo-content-grid,.pricing-value-grid,.profile-revamp-grid,.admin-content-grid,.tv-report__layout,.tv-report__stack) {gap:var(--ui-gap)!important;}
body#tickvisor#tickvisor :is(.card,.hero-card,.legal-card,.billing-summary-panel,.history-compare-panel,.home-wide-card,.pricing-cta-card,.pricing-hero-panel,.profile-context-card,.profile-form-card,.seo-copy-card,.seo-cta-card,.seo-proof-panel,.support-wide-card,.server-health-panel,.dashboard-command-card,.dashboard-panel,.analyze-input-panel,.analyze-upload-card,.history-activity-panel,.history-upload-panel,.billing-status-panel,.billing-purchase-panel,.billing-ai-panel,.billing-danger-panel,.profile-revamp-card,.pricing-capacity-panel,.pricing-shell,.pricing-plan-card,.support-health-card,.support-faq-card,.seo-faq-card,.tv-report__card,.tv-report__panel,.tv-report__section,.tv-report__details,.admin-command-card,.admin-chart-card,.admin-list-panel,.admin-pulse-panel,.home-step-card,.analyze-guide-card,.support-guide-card,.pricing-value-card,.dashboard-kpi-card,.admin-kpi,.metric-card,.knowledge-sidebar,.knowledge-guide-card,.tv-auth-card) {padding:var(--ui-inset)!important;min-width:0!important;min-height:0!important;border:1px solid var(--line)!important;border-radius:3px!important;background:var(--surface)!important;box-shadow:var(--shadow-soft)!important;}
body#tickvisor#tickvisor :is(.capacity-tier,.seo-proof-stack article,.support-faq-grid article,.support-priority-list article,.dashboard-reset-note,.tv-report__finding,.tv-report__snapshot,.tv-report__note,.tv-report__empty,.tv-report__fix,.tv-report__method-list li,.tv-report__clean-list li,.tv-report__metric,.tv-report__health,.admin-pulse-grid>div,.dashboard-step-stack article,.admin-signal,.knowledge-faq) {padding:16px!important;border:1px solid var(--line)!important;border-radius:3px!important;background:var(--surface-soft)!important;box-shadow:none!important;}
body#tickvisor#tickvisor :is(.section-header,.dashboard-panel-header,.billing-section-header,.history-section-header,.home-section-heading,.admin-panel-head) {margin:0 0 24px!important;gap:16px!important;}
body#tickvisor#tickvisor :is(.section-header,.dashboard-panel-header,.billing-section-header,.history-section-header,.home-section-heading,.admin-panel-head) :is(h2,p) {margin:0!important;}
body#tickvisor#tickvisor :is(.actions,.home-actions,.admin-actions,.profile-actions) {gap:12px!important;margin-top:24px!important;}
body#tickvisor#tickvisor :is(.knowledge-section,.knowledge-hero) {margin:0 0 var(--ui-section)!important;}
body#tickvisor#tickvisor :is(.knowledge-related,.knowledge-audience,.home-search-content) {margin-block:var(--ui-section)!important;}
body#tickvisor#tickvisor .knowledge-layout {gap:var(--ui-section)!important;}
body#tickvisor#tickvisor .legal-card>h2:not(:first-child) {margin-top:32px!important;}
body#tickvisor#tickvisor :is(.card,.hero-card,.legal-card,.knowledge-section,.tv-auth-card)>p:last-child {margin-bottom:0!important;}
body#tickvisor#tickvisor :is(.site-main,.tv-auth-grid) :is(.button,button[type="submit"],.tv-report__button,.login-oauth,.login-submit) {display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-sizing:border-box!important;min-height:48px!important;height:auto!important;padding:12px 18px!important;font:600 14px/22px var(--font)!important;text-align:center!important;white-space:normal!important;border-width:1px!important;border-style:solid!important;border-radius:3px!important;}
body#tickvisor#tickvisor :is(.site-main,.tv-auth-grid) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea) {box-sizing:border-box!important;min-height:48px!important;padding:12px 14px!important;font:400 16px/22px var(--font)!important;border:1px solid var(--line-strong)!important;border-radius:3px!important;background:var(--page)!important;color:var(--ink)!important;}
body#tickvisor#tickvisor textarea {min-height:128px!important;resize:vertical;}
body#tickvisor#tickvisor :is(.form-grid,.login-form) {gap:20px!important;}
body#tickvisor#tickvisor :is(.login-field,.form-grid>label) {gap:8px!important;}
body#tickvisor#tickvisor .tv-auth-grid {gap:var(--ui-section)!important;}
body#tickvisor#tickvisor :is(th,td) {padding:16px!important;line-height:1.6!important;vertical-align:top;}
@media(max-width:800px) {:root,html[data-theme="dark"],html[data-theme="light"] {--ui-inset:20px;--ui-gap:20px;--ui-section:24px;}body#tickvisor#tickvisor :is(.page-shell,.tv-report,.admin-premium-page,.knowledge-page) {padding:28px 0 48px!important;}}


/* Repeated numeric readouts and semantic alerts use consistent roles. */
body#tickvisor#tickvisor :is(.dashboard-kpi-card,.admin-kpi,.tv-report__metric,.tv-report__mini-metrics) :is(strong,b),body#tickvisor#tickvisor .dashboard-capacity-ring strong {font-family:'Space Grotesk',Inter,system-ui,sans-serif!important;font-size:36px!important;line-height:1.2!important;font-weight:600!important;}
body#tickvisor#tickvisor .tv-report__metric strong.tv-report__metric-value--text {font-size:20px!important;line-height:1.35!important;}
body#tickvisor#tickvisor .warning-card {border-color:var(--warning)!important;}
body#tickvisor#tickvisor .billing-danger-panel {border-color:var(--danger)!important;}
/* Only the outer shell draws chrome; inner backdrop filters must not mask its divider. */
body#tickvisor#tickvisor .site-header-shell {padding-bottom:1px!important;border-bottom:0!important;}
body#tickvisor#tickvisor .site-header-shell::after {bottom:0!important;height:1px!important;}
body#tickvisor#tickvisor .site-header-shell>.site-header {backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body#tickvisor#tickvisor .home-hero-copy > .tv-microcopy {margin-top:10px!important;}
/* Balanced tile interiors: terminal paragraphs never add phantom bottom padding. */
body#tickvisor#tickvisor :is(.support-step-item,.support-priority-list article,.capacity-tier,.dashboard-step-stack article,.analyze-file-stack article,.home-step-card,.support-guide-card,.analyze-guide-card,.pricing-value-card,.knowledge-guide-card,.support-faq-grid article,.seo-proof-stack article) p:last-child {margin-bottom:0!important;}
body#tickvisor#tickvisor .support-step-item {min-height:0!important;padding:20px!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;align-items:center!important;}
body#tickvisor#tickvisor .support-step-item p {margin-top:6px!important;}
body#tickvisor#tickvisor :is(.support-guide-grid,.analyze-guide-grid,.pricing-value-grid,.home-step-grid) {align-items:stretch!important;}
body#tickvisor#tickvisor :is(.support-guide-card,.analyze-guide-card,.pricing-value-card,.knowledge-guide-card) {display:flex!important;flex-direction:column!important;gap:16px!important;height:100%;box-sizing:border-box;}
body#tickvisor#tickvisor :is(.support-guide-card,.analyze-guide-card,.pricing-value-card,.knowledge-guide-card)>:is(h2,h3,p) {margin:0!important;}
body#tickvisor#tickvisor :is(.support-guide-card,.analyze-guide-card,.pricing-value-card,.knowledge-guide-card)>:is(.button,.knowledge-read-link,.actions,.home-actions) {margin-top:auto!important;margin-bottom:0!important;}
body#tickvisor#tickvisor .knowledge-guide-card>h2 {min-height:2.7em;}
/* Share heading/body/action rows across each guide row, without truncating titles. */
@supports(grid-template-rows:subgrid) {
 body#tickvisor#tickvisor .knowledge-guide-card {display:grid!important;grid-row:span 3;grid-template-rows:subgrid;row-gap:16px!important;height:auto;}
 body#tickvisor#tickvisor .knowledge-guide-card>h2 {min-height:0;}
 body#tickvisor#tickvisor .knowledge-read-link {align-self:end;}
}
@media(max-width:720px) {body#tickvisor#tickvisor .knowledge-guide-card>h2 {min-height:0;}}
/* Center all shared wrappers at a comfortable width on 1080p and larger displays. */
:root,html[data-theme="dark"],html[data-theme="light"] {--layout-width:1700px;}
