/* ATHRTY V15 | Universal appearance and intentional motion. Internal app shells only.
   ATHRTY website proposals and embedded client .cs-site are intentionally isolated. */
:root{
 --athrt-motion-fast:140ms;
 --athrt-motion-control:180ms;
 --athrt-motion-panel:260ms;
 --athrt-motion-reveal:360ms;
 --athrt-ease-out:cubic-bezier(.22,1,.36,1);
 --athrt-ease-standard:cubic-bezier(.2,.7,.2,1);
}
html[data-athrty-theme="dark"]{
 --ath-os-bg:#090d13;--ath-os-hero:#070b13;--ath-os-panel:#101a28;--ath-os-panel-raised:#142234;
 --ath-os-ink:#eef3fb;--ath-os-muted:#b5c4d5;--ath-os-border:#304055;
 --ath-os-accent:#a3cdf9;--ath-os-on-accent:#08111e;
 --athrt-input:#0b1421;--athrt-input-border:#425971;--athrt-nav:#090d14;--athrt-soft:#18283b;
 --athrt-status:#203951;--athrt-focus:#a3cdf9;
 --athrt-success:#8fe4bc;--athrt-warning:#ffe0ab;--athrt-danger:#ffbbc2;
}
html[data-athrty-theme="light"]{
 --ath-os-bg:#f5f7fa;--ath-os-hero:#edf3f9;--ath-os-panel:#fff;--ath-os-panel-raised:#eaf0f6;
 --ath-os-ink:#152336;--ath-os-muted:#56677a;--ath-os-border:#d7e1eb;
 --ath-os-accent:#175a99;--ath-os-on-accent:#fff;
 --athrt-input:#fff;--athrt-input-border:#aebfd0;--athrt-nav:#fff;--athrt-soft:#eaf0f6;
 --athrt-status:#e1ecf8;--athrt-focus:#175a99;
 --athrt-success:#145d43;--athrt-warning:#85511e;--athrt-danger:#a52b37;
}
html[data-athrty-theme="light"] body.athrty-owner-app{
 --bg:var(--ath-os-bg);--surface:var(--ath-os-panel);--ink:var(--ath-os-ink);
 --muted:var(--ath-os-muted);--stroke:var(--ath-os-border);--accent:var(--ath-os-accent);
 --soft:var(--ath-os-panel-raised);--radius:14px
}
html[data-athrty-theme="light"] body.athrty-sales-v14{
 --bg:var(--ath-os-bg);--rail:var(--athrt-nav);--panel:var(--ath-os-panel);
 --panel2:var(--ath-os-panel-raised);--edge:var(--ath-os-border);--ink:var(--ath-os-ink);
 --muted:var(--ath-os-muted);--accent:var(--ath-os-accent);--lime:var(--ath-os-accent);
 --soft:var(--ath-os-panel-raised);--radius:14px;--font:var(--ath-os-font);
}
html[data-athrty-theme="light"] body.athrty-hub-v14{
 --bg:var(--ath-os-bg);--surface:var(--ath-os-panel);--panel:var(--ath-os-panel);
 --panel2:var(--ath-os-panel-raised);--ink:var(--ath-os-ink);
 --muted:var(--ath-os-muted);--edge:var(--ath-os-border);
 --accent:var(--ath-os-accent);--line:var(--ath-os-border);
 --base:var(--ath-os-bg);--white:var(--ath-os-ink);
 --lime:var(--ath-os-accent);--soft:var(--ath-os-panel-raised);
}
/* Single switcher, installed in internal header only. */
.athrt-appearance{
 display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:auto;padding:3px;
 border:1px solid var(--ath-os-border);background:var(--athrt-soft);border-radius:14px;
 font:600 12px/1.1 var(--ath-os-font);color:var(--ath-os-muted);z-index:2;
}
.athrt-appearance-option{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-width:44px;min-height:44px;padding:10px 11px;
 border:1px solid transparent;border-radius:10px;cursor:pointer;white-space:nowrap;
 background:transparent;color:var(--ath-os-muted);font:600 11px/1.1 var(--ath-os-font);
 transition:color var(--athrt-motion-fast),background var(--athrt-motion-fast),border-color var(--athrt-motion-fast);
}
.athrt-appearance-option svg{width:16px;height:16px;display:block;flex:0 0 16px}
.athrt-appearance-option:hover{background:var(--ath-os-panel-raised);color:var(--ath-os-ink)}
.athrt-appearance-option[aria-pressed="true"]{
 background:var(--ath-os-panel);color:var(--ath-os-ink);border-color:var(--ath-os-border);
 box-shadow:0 1px 3px rgba(0,0,0,.04)
}
.athrt-appearance-option:focus-visible{outline:3px solid var(--athrt-focus)!important;outline-offset:2px}
@media(max-width:900px){
 .athrt-appearance{margin-left:0}
 .athrt-appearance-option span{display:none}
}
@media(max-width:430px){
 .athrt-appearance-option{min-width:44px;min-height:44px;padding:8px}
}
/* Preserve true customer theme inside live site preview. */
html[data-athrty-theme="light"] .factory-app{
 color:var(--ath-os-ink);background:var(--ath-os-bg)
}
html[data-athrty-theme="light"] .factory-app :is(.factory-top,.factory-foot){
 background:var(--athrt-nav);color:var(--ath-os-ink);border-color:var(--ath-os-border)
}
html[data-athrty-theme="light"] .factory-app :is(.factory-logo,.factory-back,.factory-hero h1,.factory-workbench-head h1,.factory-form-wrap h2,.factory-editor-head strong,.factory-editor-group summary){
 color:var(--ath-os-ink)
}
html[data-athrty-theme="light"] .factory-app :is(.factory-hero-copy>p,.factory-workbench-note,.factory-workbench-head p,.factory-foot,.factory-form label,.factory-form .factory-ack,.fc-editor-field,.factory-editor-head p,.factory-editor-hint){
 color:var(--ath-os-muted)
}
html[data-athrty-theme="light"] .factory-app :is(.factory-form-wrap,.factory-editor,.owner-invite-card){
 background:var(--ath-os-panel);border-color:var(--ath-os-border);color:var(--ath-os-ink);box-shadow:none
}
html[data-athrty-theme="light"] .factory-app :is(.factory-form input:not([type=checkbox]),.factory-form select,.factory-form textarea,.fc-editor-field input,.fc-editor-field select,.fc-editor-field textarea){
 background:var(--athrt-input);color:var(--ath-os-ink);border-color:var(--athrt-input-border)
}
html[data-athrty-theme="light"] .factory-app :is(.factory-form input,.factory-form textarea,.fc-editor-field input,.fc-editor-field textarea)::placeholder{
 color:#66788b;opacity:1
}
html[data-athrty-theme="light"] .factory-app :is(.factory-button,.factory-tool-primary){
 background:var(--ath-os-accent);border-color:var(--ath-os-accent);color:#fff!important
}
html[data-athrty-theme="light"] .factory-app .factory-tool{background:#fff;color:#1c3b58;border-color:var(--ath-os-border)}
html[data-athrty-theme="light"] .factory-app .factory-tool-primary{background:var(--ath-os-accent);color:#fff!important}
html[data-athrty-theme="light"] .factory-app .factory-highlights span{background:var(--athrt-status);border-color:var(--ath-os-border);color:#1d466d}
html[data-athrty-theme="light"] .factory-app .factory-preview-bottom{background:var(--ath-os-panel-raised);border-color:var(--ath-os-border)}
html[data-athrty-theme="light"] .factory-app :is(.factory-preview-bottom h2,.factory-loading h1){color:var(--ath-os-ink)}
html[data-athrty-theme="light"] .factory-app .factory-preview-bottom p{color:var(--ath-os-muted)}
html[data-athrty-theme="light"] .factory-app :is(.factory-preview-bar,.factory-site-stage-bar){background:#dce9f6;color:#153a61}
html[data-athrty-theme="light"] .factory-app :is(.factory-preview-bar span,.factory-site-stage-bar span){color:#153a61}
html[data-athrty-theme="light"] .factory-app .factory-error{color:var(--athrt-danger)}
/* Portfolio controls + search, cards, roles and status. */
html[data-athrty-theme="light"] body.athrty-owner-app :is(.topbar,.top-inner){background:var(--athrt-nav);color:var(--ath-os-ink);border-color:var(--ath-os-border)}
html[data-athrty-theme="light"] body.athrty-owner-app :is(.identity strong,.identity small,.top-actions a,.portfolio,.portfolio h1,.main h1,.module h3,.stat strong,.module,.stat){color:var(--ath-os-ink)}
html[data-athrty-theme="light"] body.athrty-owner-app :is(.module,.stat,.access,.records,.review-form,.attention-item){
 background:var(--ath-os-panel);border-color:var(--ath-os-border)
}
html[data-athrty-theme="light"] body.athrty-owner-app :is(.lead,.module p,.footnote,.stat span,.module-foot small,.section-head p){color:var(--ath-os-muted)}
html[data-athrty-theme="light"] body.athrty-owner-app :is(.toolbar input,.toolbar select,.review-grid input,.review-grid select,.review-grid textarea){
 color:var(--ath-os-ink);background:#fff;border-color:var(--athrt-input-border)
}
html[data-athrty-theme="light"] body.athrty-owner-app :is(.link,.top-actions a:last-child){
 background:var(--ath-os-accent);color:#fff;border-color:var(--ath-os-accent)
}
html[data-athrty-theme="light"] body.athrty-owner-app .status{background:#e0ebf7;color:#21486a}
html[data-athrty-theme="light"] body.athrty-owner-app .status.setup{background:#fff0d9;color:#80501a}
html[data-athrty-theme="light"] body.athrty-owner-app .status.restricted{background:#e5eaf5;color:#39466b}
/* Sales shell: preserve gameplay, achievements and factual data. */
html[data-athrty-theme="light"] body.athrty-sales-v14{
 background:var(--ath-os-bg);color:var(--ath-os-ink)
}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.bar,.topbar,.rail){background:#fff;border-color:var(--ath-os-border);color:var(--ath-os-ink)}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.brand,.logo,.bar nav,.topbar nav,.top .eyebrow){color:var(--ath-os-ink)}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.lesson-panel,.lesson-menu,.intro-stat,.stat,.metric,.panel,.join-card,.player-stat,.character-stage,.card,.empty){
 background:var(--ath-os-panel);color:var(--ath-os-ink);border-color:var(--ath-os-border)
}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.nav,.lesson-item,.muted-btn,.secondary){color:#284964}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.nav:hover,.lesson-item:hover,.muted-btn:hover,.secondary:hover){background:#e4eef8;color:#123b64}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.nav.active,.lesson-item.active){background:#dceaf7;color:#154c81}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.primary,button.primary,a.primary){background:#175a99;color:#fff;border-color:#175a99}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.kicker,.eyebrow,.metric:first-child strong,.intro h1 em,.mast h1 em,.player-stat strong,.player-stat>span){color:#175a99}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(p,.tiny,.hint,.rail-bottom,.lesson-panel p,.metric small,.metric span,.stat small,.stat span){color:var(--ath-os-muted)}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(input,textarea,select){
 background:#fff;color:var(--ath-os-ink);border-color:var(--athrt-input-border)
}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.progress,.track){background:#d7e6f4}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.progress>div,.track>div){background:#175a99}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.pill,.tag,.step-chip){background:#dceaf7;border-color:#abc7e3;color:#175a99}
html[data-athrty-theme="light"] body.athrty-sales-v14 .lesson-panel .takeaway{background:#eaf2fb;border-color:#c4d6e7}
html[data-athrty-theme="light"] body.athrty-sales-v14 .lesson-panel .takeaway strong{color:#174a79}
html[data-athrty-theme="light"] body.athrty-sales-v14 .lesson-item .num{background:#e3ebf4;color:#294f70}
html[data-athrty-theme="light"] body.athrty-sales-v14 .avatar{border-color:var(--ath-os-border)}
/* Independent operational hubs: shared neutral surfaces, preserve unique layouts. */
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(header,.topbar,.top,.bar,.header){
 background:var(--athrt-nav);color:var(--ath-os-ink);border-color:var(--ath-os-border)
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(h1,h2,h3,h4,.logo,.brand,.mark,.intro h1,.masthead h1){
 color:var(--ath-os-ink)
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(p,.lead,.intro p,.opmuted,footer,.footnote,.kicker,.eyebrow){
 color:var(--ath-os-muted)
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.card,.module,.stat,.metric,.panel,.rule,.notice,.capture,.register,.release,.opstat,.oprow,.table-wrap,.summary,.filters,.toolbar,.onboard-row,.sales-request){
 background:var(--ath-os-panel);color:var(--ath-os-ink);border-color:var(--ath-os-border)
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.summary p,.summary h2,.summary h3,.notice p,.rule p,.card p,.module p,.opstat span,.metric small,.metric span,.stage){
 color:var(--ath-os-muted)
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(table,th,td,.record,.record strong,.record p){color:var(--ath-os-ink);border-color:var(--ath-os-border)}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(tbody tr:hover,.active,[aria-selected="true"]){background:#eaf0f6}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(input,textarea,select){
 background:#fff;color:#152336;border:1px solid var(--athrt-input-border);border-radius:12px
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(button,.button,.primary){
 background:#175a99;color:#fff;border-color:#175a99;border-radius:12px
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.tabs button,.button-outline,.secondary){
 background:#eaf0f6;color:#175a99;border-color:#a8c1d8
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(header a,header nav a){color:#244663}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.skip,.skip-to-main){color:#fff;background:#175a99}
/* Prevent the global internal button treatment from changing the appearance switch. */
html[data-athrty-theme="light"] body.athrty-hub-v14 .athrt-appearance-option,
html[data-athrty-theme="light"] body.athrty-sales-v14 .athrt-appearance-option{
 min-height:44px;background:transparent;color:var(--ath-os-muted);
 border:1px solid transparent;border-radius:10px
}
html[data-athrty-theme="light"] body.athrty-hub-v14 .athrt-appearance-option[aria-pressed="true"],
html[data-athrty-theme="light"] body.athrty-sales-v14 .athrt-appearance-option[aria-pressed="true"]{
 background:#fff;color:#152336;border-color:var(--ath-os-border)
}
html[data-athrty-theme="light"] body.athrty-hub-v14 .athrt-appearance-option:hover,
html[data-athrty-theme="light"] body.athrty-sales-v14 .athrt-appearance-option:hover{background:#eaf0f6;color:#152336}
/* Motion: only purposeful controls and visible internal containers. */
:is(.factory-app,body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14)
:is(.factory-button,.factory-tool,.link,.primary,.secondary,.button,.nav,.lesson-item,.top-actions a,button[data-tab]){
 transition:background-color var(--athrt-motion-control) var(--athrt-ease-standard),
 color var(--athrt-motion-control) var(--athrt-ease-standard),
 border-color var(--athrt-motion-control) var(--athrt-ease-standard),
 transform var(--athrt-motion-fast) var(--athrt-ease-out);
}
@media(hover:hover) and (pointer:fine){
 :is(.factory-app,body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14)
 :is(.factory-button,.factory-tool,.link,.primary,.secondary,.button):not(:disabled):hover{transform:translateY(-1px)}
}
:is(.factory-app,body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14)
:is(.factory-button,.factory-tool,.link,.primary,.secondary,.button):not(:disabled):active{transform:translateY(0)}
:is(body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14) :is(.module,.panel,.metric,.stat,.card,.rule){
 transition:border-color var(--athrt-motion-panel) var(--athrt-ease-standard),background-color var(--athrt-motion-panel) var(--athrt-ease-standard)
}
html.athrty-theme-transition body.athrty-owner-app,
html.athrty-theme-transition body.athrty-hub-v14,
html.athrty-theme-transition body.athrty-sales-v14,
html.athrty-theme-transition .factory-app{
 transition:background-color 180ms ease,color 180ms ease
}
:where(.factory-app,body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14)
:is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--athrt-focus);outline-offset:3px}
:is(body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14) :is(.skip,.skip-link,.skip-to-main){
 position:fixed;left:16px;top:-110px;z-index:10000;transform:none;
}
:is(body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14) :is(.skip,.skip-link,.skip-to-main):focus-visible{
 top:12px;left:16px;transform:none
}
@media(prefers-reduced-motion:reduce){
 :root{--athrt-motion-fast:0ms;--athrt-motion-control:0ms;--athrt-motion-panel:0ms;--athrt-motion-reveal:0ms}
 html.athrty-theme-transition :is(.factory-app,body.athrty-owner-app,body.athrty-hub-v14,body.athrty-sales-v14){transition:none!important}
 .athrt-appearance-option{transition:none!important}
}
/* V15 targeted bridges for pre-existing pages with non-semantic hardcoded surfaces.
   These rules are intentionally scoped to ATHRTY-owned application pages. */
html[data-athrty-theme="dark"] body.athrty-hub-v14 :is(.control-panel,.problem,.review,.validation,.table-wrap,.summary,.metrics>div,.metric,.stat,.card,.toolbar,.capture,.source-card,.source-row,.checks,.stage,.filter-panel,.result,.oprow,.opstat,.register,.release,.onboard-row,.sales-request){
 background:#101a28;color:#eef3fb;border-color:#304055
}
html[data-athrty-theme="dark"] body.athrty-hub-v14 :is(.control-panel label,.problem .meta,.problem p,.review p,.metric span,.metrics span,.card p,.table-wrap th,.toolbar label,.count,.stage,.summary p,.intro p,.detail p){
 color:#b5c4d5
}
html[data-athrty-theme="dark"] body.athrty-hub-v14 :is(.control-panel input,.control-panel select,.review input,.review textarea,.validation input,.validation textarea,.toolbar input,.toolbar select){
 background:#0b1421;color:#eef3fb;border-color:#425971
}
html[data-athrty-theme="dark"] body.athrty-hub-v14 :is(.intro h1 em,.hero h1 em,.wordmark-dot,.kicker,.eyebrow,.overline,.metric strong:first-child){
 color:#a3cdf9
}
html[data-athrty-theme="dark"] body.athrty-hub-v14 :is(.problem h3,.review h2,.summary h2,.metrics strong,.section-head h2,.summary-line h2){
 color:#eef3fb
}
html[data-athrty-theme="dark"] body.athrty-hub-v14 :is(.stage,.pill){background:#203951;color:#d8ebff;border-color:#42627d}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.control-panel,.problem,.review,.validation,.metrics>div,.summary,.filter-panel,.result){
 background:#fff;color:#152336;border-color:#d7e1eb
}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.problem .meta,.problem p,.review p,.summary p,.metrics span,.table-wrap th,.count,.detail p){color:#56677a}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.intro h1 em,.hero h1 em,.wordmark-dot,.kicker,.eyebrow,.overline){color:#175a99}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.metric strong,.metrics strong,.summary h2,.summary-line h2,.problem h3){color:#152336}
/* Catalog uses catalog-specific CSS variables; retain its content hierarchy with ATHRTY palette. */
html[data-athrty-theme="dark"] body.athrty-hub-v14:has(.wordmark-dot){
 --paper:#090d13;--ink:#eef3fb;--deep:#090d14;--deep2:#a3cdf9;--mint:#243c54;
 --line:#304055;--muted:#b5c4d5;--brand:#a3cdf9;--sans:'Inter',sans-serif;
}
html[data-athrty-theme="light"] body.athrty-hub-v14:has(.wordmark-dot){
 --paper:#f5f7fa;--ink:#152336;--deep:#fff;--deep2:#175a99;--mint:#eaf0f6;
 --line:#d7e1eb;--muted:#56677a;--brand:#175a99;--sans:'Inter',sans-serif;
}
html[data-athrty-theme="dark"] body.athrty-hub-v14:has(.wordmark-dot) :is(.metrics>div,.card,.toolbar,.capture,.detail-panel,.summary,.table-wrap){
 background:#101a28;color:#eef3fb;border-color:#304055
}
html[data-athrty-theme="light"] body.athrty-hub-v14:has(.wordmark-dot) :is(.metrics>div,.card,.toolbar,.capture,.detail-panel,.summary,.table-wrap){
 background:#fff;color:#152336;border-color:#d7e1eb
}
html[data-athrty-theme="dark"] body.athrty-hub-v14:has(.wordmark-dot) :is(.intro small,.intro p,.card p,.metrics span,.toolbar label,.summary-line p){
 color:#b5c4d5
}
html[data-athrty-theme="light"] body.athrty-hub-v14:has(.wordmark-dot) :is(.intro small,.intro p,.card p,.metrics span,.toolbar label,.summary-line p){
 color:#56677a
}
html[data-athrty-theme="light"] body.athrty-hub-v14:has(.wordmark-dot) :is(.nav nav a,.wordmark small,.private-pill){color:#244663}
html[data-athrty-theme="dark"] body.athrty-hub-v14:has(.wordmark-dot) :is(.nav nav a,.wordmark small,.private-pill){color:#d4e4f2}
/* Private dashboard variants with persisted public classes. */
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.opgrid,.opsrows){background:transparent;border-color:#d7e1eb}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.oplinks a,.opnote,.oprow small,.onboard-meta p,.onboard-row form label,.table-wrap th){color:#56677a}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.oprow select,.onboard-row form input,.onboard-row form select){background:#fff;color:#152336;border-color:#aebfd0}
html[data-athrty-theme="light"] body.athrty-hub-v14 :is(.table-wrap td a,.site-link){color:#175a99}
/* Login: protect verified authentication behavior and ensure the new theme reaches the sign-in card. */
html[data-athrty-theme="dark"] body.athrty-sales-v14 .auth-card{background:#101a28;color:#eef3fb;border-color:#304055}
html[data-athrty-theme="light"] body.athrty-sales-v14 .auth-card{background:#fff;color:#152336;border-color:#d7e1eb}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.auth-brand,.auth-card h1){color:#152336}
html[data-athrty-theme="light"] body.athrty-sales-v14 :is(.auth-card p,.subtle){color:#56677a}
html[data-athrty-theme="light"] body.athrty-sales-v14 .message{color:#145d43}
html[data-athrty-theme="light"] body.athrty-sales-v14 .error{color:#a52b37}
body.athrty-sales-v14 .auth-wrap>.athrt-appearance{display:flex;width:max-content;margin:14px auto 0}
html[data-athrty-theme="light"] body.athrty-hub-v14 .athrt-appearance{background:#eaf0f6;border-color:#d7e1eb}
html[data-athrty-theme="light"] body.athrty-sales-v14 .athrt-appearance{background:#eaf0f6;border-color:#d7e1eb}
/* Motion emphasizes context, never fabricated progress or full page delays. */
:is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(.tabs button,.worktabs button,.menu-toggle,.lesson-item,.nav){
 transition:background-color var(--athrt-motion-control) var(--athrt-ease-standard),
 color var(--athrt-motion-control) var(--athrt-ease-standard),
 border-color var(--athrt-motion-control) var(--athrt-ease-standard)
}
:is(body.athrty-hub-v14,body.athrty-sales-v14) :is(.progress>div,.track>div,.meter>div){
 transition:width var(--athrt-motion-panel) var(--athrt-ease-out)
}
:is(body.athrty-hub-v14,body.athrty-sales-v14) details[open]>summary svg{transform:rotate(90deg)}
:is(body.athrty-hub-v14,body.athrty-sales-v14) details>summary svg{
 transition:transform var(--athrt-motion-control) var(--athrt-ease-out)
}
@media(prefers-reduced-motion:reduce){
 :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) *,
 .factory-app :is(.factory-button,.factory-tool){animation-duration:0.01ms!important;scroll-behavior:auto!important;transition-duration:0.01ms!important}
}

/* ATHRTY V16 DARK GUNMETAL | System appearance. Distinct from navy Dark.
   Strictly internal selectors; do not style customer-owned previews (.cs-site, .fp-*, or proposals). */
html[data-athrty-theme="metallic"]{
  --ath-os-bg:#16191d;--ath-os-hero:#101317;--ath-os-panel:#21262c;
  --ath-os-panel-raised:#2b3138;--ath-os-ink:#e7e9ec;--ath-os-muted:#adb5bd;
  --ath-os-border:#48515b;--ath-os-accent:#bac5ce;--ath-os-on-accent:#14191e;
  --athrt-nav:#101317;--athrt-input:#1b2026;--athrt-input-border:#65717d;
  --athrt-soft:#2b3138;--athrt-status:#3a444e;--athrt-focus:#d3dee7;
  --athrt-success:#a8e4c5;--athrt-warning:#ffe0ae;--athrt-danger:#ffc0c6;
  --ath-metal-recess:#101317;--ath-metal-hover:#343b44;--ath-metal-selected:#3a444e;
  color-scheme:dark;
}
/* Reset non-semantic legacy tokens only on ATHRTY application shells. */
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14){
  --bg:#16191d;--base:#16191d;--paper:#16191d;
  --surface:#21262c;--panel:#21262c;--panel2:#2b3138;--elev:#2b3138;
  --rail:#101317;--edge:#48515b;--line:#48515b;--stroke:#48515b;
  --ink:#e7e9ec;--white:#e7e9ec;--txt:#e7e9ec;
  --muted:#adb5bd;--dim:#adb5bd;--soft:#2b3138;
  --accent:#bac5ce;--acid:#bac5ce;--lime:#bac5ce;--focus:#d3dee7;
  --brand:#bac5ce;--deep:#101317;--deep2:#bac5ce;--mint:#2b3138;
  --sans:var(--ath-os-font);--font:var(--ath-os-font);
  background:#16191d;color:#e7e9ec;
}
html[data-athrty-theme="metallic"] .factory-app{
  background:#16191d;color:#e7e9ec;
}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(h1,h2,h3,h4){
  color:#e7e9ec;
}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(p,.lead,.intro p,.tiny,.footnote,footer,.caption,.hint,.kicker,.overline,.eyebrow,.meta,.muted){
  color:#adb5bd;
}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(.topbar,.top-inner,.top,.bar,.header,.rail,header){
  background:#101317;color:#e7e9ec;border-color:#48515b;
}
/* Navigation retains the recessed gunmetal surface. Content headings do not:
   a generic `header` / `.top` rule above must never draw a frame behind page titles. */
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(main,.main) > :is(header,.top){
  background:transparent;
  background-image:none;
  border:0;
  box-shadow:none;
}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(header nav a,header .logo,header .brand,.bar nav a,.top-actions a:not(:last-child),.identity strong,.brand,.logo,.mark){
  color:#e7e9ec;
}
/* Flat graphite surfaces: no glass, chrome textures or gradients. */
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(
  .module,.stat,.metric,.metrics>div,.panel,.card,.access,.records,.review-form,.attention-item,
  .lesson-panel,.lesson-menu,.intro-stat,.join-card,.character-stage,.player-stat,.auth-card,
  .notice,.capture,.register,.release,.opstat,.oprow,.onboard-row,.sales-request,
  .table-wrap,.summary,.toolbar,.rule,.control-panel,.problem,.review,.validation,
  .filter-panel,.result,.source-card,.source-row,.detail-panel,.track-card,.onboard-step
){
  background:#21262c;color:#e7e9ec;border-color:#48515b;box-shadow:none;
  background-image:none;
}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(
  .module p,.module-foot small,.stat span,.stat small,.metric span,.metric small,.metrics span,
  .card p,.rule p,.review p,.summary p,.problem p,.problem .meta,.table-wrap th,
  .intro p,.count,.section-head p,.rail-bottom,.notice p,.onboard-meta p,
  .status-note,.auth-card p,.subtle,.source,.footnote,.toolbar label
){color:#adb5bd}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(
  .module h3,.stat strong,.metric strong,.metrics strong,.card h3,.summary h2,
  .section-head h2,.record strong,.auth-brand,.auth-card h1,.rule strong
){color:#e7e9ec}
/* Inputs appear machined into the surface, never bright white. */
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
  background:#1b2026;color:#e7e9ec;border:1px solid #65717d;border-radius:12px;box-shadow:none;
}
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(input,textarea)::placeholder{color:#adb5bd;opacity:1}
/* Steel controls; status and disabled state remain distinguishable. */
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .primary,button.primary,a.primary,.button:not(.button-outline),.link,.factory-button
){
  background:#bac5ce;color:#14191e;border-color:#bac5ce;border-radius:12px;
  box-shadow:none;background-image:none;
}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .primary,button.primary,a.primary,.button:not(.button-outline),.link
):hover{
  background:#d1d9df;color:#14191e;border-color:#d1d9df;
}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .button-outline,.secondary,.ghost,.muted-btn,.tabs button,.worktabs button
){
  background:#2b3138;color:#e7e9ec;border-color:#65717d;
}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .button-outline,.secondary,.ghost,.muted-btn,.tabs button,.worktabs button
):hover{
  background:#343b44;color:#e7e9ec;border-color:#65717d;
}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .nav.active,.lesson-item.active,.tabs button.active,.worktabs button.active,[aria-selected="true"],[aria-pressed="true"]:not(.athrt-appearance-option)
){background:#3a444e;color:#e7e9ec;border-color:#65717d}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .nav:hover,.lesson-item:hover,.card[role="button"]:hover,.tab:hover
){background:#343b44;color:#e7e9ec}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .pill,.stage,.tag,.step-chip,.status
){background:#343b44;color:#e7e9ec;border-color:#65717d}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .progress,.track,.meter
){background:#343b44}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .progress>div,.track>div,.meter>div
){background:#bac5ce}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  table,th,td,tr,.record,.onboard-row,.source
){border-color:#48515b}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) tbody tr:hover{background:#343b44}
html[data-athrty-theme="metallic"] :is(body.athrty-hub-v14,body.athrty-sales-v14,body.athrty-owner-app) :is(
  .kicker,.eyebrow,.overline,.wordmark-dot,.intro h1 em,.hero h1 em,.source strong
){color:#bac5ce}
html[data-athrty-theme="metallic"] body.athrty-hub-v14:has(.wordmark-dot){
 --paper:#16191d;--ink:#e7e9ec;--deep:#101317;--deep2:#bac5ce;
 --mint:#2b3138;--line:#48515b;--muted:#adb5bd;--brand:#bac5ce;
}
html[data-athrty-theme="metallic"] body.athrty-hub-v14:has(.wordmark-dot) :is(.nav nav a,.wordmark small,.private-pill){color:#e7e9ec}
/* ATHRTY-owned builder shell; NEVER touch the separate rendered client design .factory-preview. */
html[data-athrty-theme="metallic"] .factory-app :is(.factory-top,.factory-foot){
 background:#101317;color:#e7e9ec;border-color:#48515b;
}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-logo,.factory-back,.factory-hero h1,.factory-workbench-head h1,.factory-form-wrap h2,.factory-editor-head strong,.factory-editor-group summary,.factory-preview-bottom h2,.factory-loading h1){
 color:#e7e9ec;
}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-hero-copy>p,.factory-form label,.factory-form .factory-ack,.factory-workbench-note,.factory-workbench-head p,.factory-editor-head p,.factory-editor-hint,.factory-preview-bottom p,.factory-foot){
 color:#adb5bd;
}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-form-wrap,.factory-editor,.owner-invite-card){
 background:#21262c;color:#e7e9ec;border-color:#48515b;box-shadow:none;background-image:none;
}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-form input:not([type=checkbox]),.factory-form select,.factory-form textarea,.fc-editor-field input,.fc-editor-field select,.fc-editor-field textarea){
 background:#1b2026;color:#e7e9ec;border-color:#65717d;
}
html[data-athrty-theme="metallic"] .factory-app :is(input,textarea)::placeholder{color:#adb5bd;opacity:1}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-highlights span,.factory-tool,.factory-preview-bar,.factory-site-stage-bar,.factory-preview-bottom){
 background:#2b3138;color:#e7e9ec;border-color:#48515b;
}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-preview-bar span,.factory-site-stage-bar span){color:#e7e9ec}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-button,.factory-tool-primary){
 background:#bac5ce;color:#14191e!important;border-color:#bac5ce;box-shadow:none;
}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-button,.factory-tool-primary):hover{
 background:#d1d9df;color:#14191e!important;border-color:#d1d9df;
}
html[data-athrty-theme="metallic"] .factory-app .factory-tool:hover{background:#343b44;color:#e7e9ec}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-editor-head,.factory-editor-group,.factory-site-stage){border-color:#48515b}
html[data-athrty-theme="metallic"] .factory-app :is(.factory-logo span,.factory-eyebrow,#factory-preview-status,.factory-preview-bottom a){color:#bac5ce}
/* Auth: independent metallic sign-in surfaces, no styling of auth credentials. */
html[data-athrty-theme="metallic"] body.athrty-sales-v14 .auth-card{
 background:#21262c;color:#e7e9ec;border-color:#48515b;box-shadow:none;
}
html[data-athrty-theme="metallic"] body.athrty-sales-v14 :is(.auth-brand,.auth-card h1){color:#e7e9ec}
html[data-athrty-theme="metallic"] body.athrty-sales-v14 :is(.auth-card p,.subtle){color:#adb5bd}
html[data-athrty-theme="metallic"] body.athrty-sales-v14 .message{color:#a8e4c5}
/* One segmented switcher, 44px targets, no shiny treatment. */
html[data-athrty-theme="metallic"] .athrt-appearance{
 background:#2b3138;color:#adb5bd;border-color:#48515b;box-shadow:none;
}
html[data-athrty-theme="metallic"] .athrt-appearance-option{
 background:transparent;color:#adb5bd;border-color:transparent;box-shadow:none;
}
html[data-athrty-theme="metallic"] .athrt-appearance-option:hover{
 background:#343b44;color:#e7e9ec;
}
html[data-athrty-theme="metallic"] .athrt-appearance-option[aria-pressed="true"]{
 background:#3a444e;color:#e7e9ec;border-color:#65717d;
}
html[data-athrty-theme="metallic"] :is(.factory-app,body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14)
:is(a,button,input,select,textarea):focus-visible{outline:3px solid #d3dee7;outline-offset:3px}
/* Client preview .factory-preview and .fp-* remain governed exclusively by client design tokens. */
/* Force no gradients only on known internal elements, not client previews. */
html[data-athrty-theme="metallic"] :is(body.athrty-owner-app,body.athrty-sales-v14,body.athrty-hub-v14) :is(.player-stat,.hero-aside,.summary,.panel,.metric){
 background-image:none;box-shadow:none;
}

@media(max-width:600px){
 body.athrty-owner-app :is(.top-inner,.top-actions,header),
 body.athrty-hub-v14 :is(header,.top,.bar,.header),
 body.athrty-sales-v14 :is(header,.top,.bar,.topbar){flex-wrap:wrap;max-width:100%}
 .athrt-appearance{max-width:100%;margin-block:4px}
}
/* V17 semantic compact appearance control. Replaces broad segmented selectors at all ATHRTY shells. */
.athrt-appearance.athrt-appearance-v17{
 position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
 width:auto;height:44px;min-height:44px;margin:0 0 0 8px;padding:0;
 background:transparent!important;border:0!important;box-shadow:none!important;z-index:45
}
.athrt-appearance-v17 .athrt-theme-trigger{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;
 padding:11px 12px;border:1px solid var(--ath-os-border);border-radius:13px;
 color:var(--ath-os-ink);background:var(--ath-os-panel);font:650 12px/1.2 var(--ath-os-font);
 cursor:pointer;transition:background-color 160ms ease,border-color 160ms ease;
}
.athrt-appearance-v17 .athrt-theme-trigger:hover{background:var(--ath-os-panel-raised);border-color:var(--ath-os-accent)}
.athrt-appearance-v17 .athrt-theme-trigger svg{width:17px;height:17px;flex:0 0 17px}
.athrt-appearance-v17 .athrt-theme-trigger:focus-visible,
.athrt-appearance-v17 .athrt-appearance-option:focus-visible{
 outline:3px solid var(--ath-os-accent)!important;outline-offset:2px
}
.athrt-appearance-v17 .athrt-theme-popover{
 position:absolute;right:0;top:calc(100% + 8px);width:208px;display:grid;gap:3px;padding:7px;
 border:1px solid var(--ath-os-border);background:var(--ath-os-panel);border-radius:15px;
 box-shadow:0 14px 45px rgba(0,0,0,.17);z-index:1000
}
.athrt-appearance-v17 .athrt-theme-popover[hidden]{display:none!important}
.athrt-appearance-v17 .athrt-appearance-option,
html[data-athrty-theme="light"] body.athrty-hub-v14 .athrt-appearance-v17 .athrt-appearance-option,
html[data-athrty-theme="metallic"] .athrt-appearance-v17 .athrt-appearance-option{
 display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;
 min-width:0;min-height:44px;padding:9px 12px;border-radius:10px;
 text-align:left;background:transparent;color:var(--ath-os-ink);
 border:1px solid transparent;box-shadow:none
}
.athrt-appearance-v17 .athrt-appearance-option svg{width:18px;height:18px;flex:0 0 18px}
.athrt-appearance-v17 .athrt-appearance-option span{display:inline!important;font-size:12px}
.athrt-appearance-v17 .athrt-appearance-option:hover{background:var(--ath-os-panel-raised)}
.athrt-appearance-v17 .athrt-appearance-option[aria-pressed="true"]{
 color:var(--ath-os-ink);background:var(--ath-os-panel-raised);border-color:var(--ath-os-border)
}
.athrt-appearance-v17 .athrt-appearance-option[aria-pressed="true"]:after{
 content:"";width:7px;height:7px;background:var(--ath-os-accent);border-radius:50%;margin-left:auto
}
html[data-athrty-theme="metallic"] .athrt-appearance-v17 .athrt-theme-trigger{
 background:#252c33!important;border-color:#48515b;color:#e7e9ec
}
html[data-athrty-theme="metallic"] .athrt-appearance-v17 .athrt-theme-popover{
 background:#21262c;color:#e7e9ec;border-color:#48515b
}
html[data-athrty-theme="metallic"] .athrt-appearance-v17 .athrt-appearance-option{color:#e7e9ec!important}
html[data-athrty-theme="metallic"] .athrt-appearance-v17 .athrt-appearance-option[aria-pressed="true"]{background:#343b44;color:#e7e9ec!important}
@media(max-width:920px){.athrt-appearance-v17 .athrt-theme-trigger span{display:none}}
@media(prefers-reduced-motion:reduce){
 .athrt-appearance-v17 .athrt-theme-trigger{transition:none}
}
/* PX-131 follow-up: prevent theme-pigment interpolation across native Studio controls.
   Preserve positional feedback while keeping text/surface contrast atomic. */
.factory-app :is(.factory-button,.factory-tool-primary){
 transition-property:transform!important;
}
@media(prefers-reduced-motion:reduce){
 .factory-app :is(.factory-button,.factory-tool-primary){transition:none!important}
}
/* X-331 | Canonical first-party material contract, owned by V15 appearance.
   Consumers migrate to these variables; never style tenant content or iframe
   documents through generic card selectors. No new appearance controller. */
:root,
html[data-color-scheme="dark"]{
 --ath-mat-ink:#F2F5F7;
 --ath-mat-muted:#B9C4CD;
 --ath-mat-label:#CDD6DE;
 --ath-mat-edge:rgba(228,235,245,.18);
 --ath-mat-edge-strong:rgba(241,245,250,.32);
 --ath-mat-glow:rgba(255,255,255,.08);
 --ath-mat-clear:rgba(17,21,27,.52);
 --ath-mat-frost:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.012) 51%,rgba(0,0,0,.09)),rgba(17,21,27,.83);
 --ath-mat-elevated:linear-gradient(151deg,rgba(255,255,255,.08),rgba(255,255,255,.018)),rgba(23,27,33,.94);
 --ath-mat-control:rgba(255,255,255,.055);
 --ath-mat-control-hover:rgba(255,255,255,.09);
 --ath-mat-highlight:rgba(255,255,255,.18);
 --ath-mat-shadow-clear:0 5px 19px rgba(0,0,0,.13);
 --ath-mat-shadow-frost:0 18px 48px rgba(0,0,0,.21),0 5px 15px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.15);
 --ath-mat-shadow-elevated:0 28px 74px rgba(0,0,0,.3),0 9px 25px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.19);
 --ath-mat-blur-clear:12px;
 --ath-mat-blur-frost:24px;
 --ath-mat-blur-elevated:28px;
 --ath-mat-radius:20px;
 --ath-mat-motion:180ms;
 --ath-mat-ease:cubic-bezier(.22,1,.36,1);
 /* X375: first-party dark CTA tint follows the active user swatch,
    retaining the established frosted/charcoal material instead of fixed blue. */
 --ath-mat-cta:var(--ax192-selected-swatch,var(--athrty-accent,#A8E8CF));
 --ath-mat-cta-hover:color-mix(in srgb,var(--ath-mat-cta) 84%,#fff);
 --ath-mat-action-ink:#F5F9FF;
 --ath-mat-action-base:color-mix(in srgb,var(--ath-mat-cta) 30%,#20252c);
 --ath-mat-action-glass:
  radial-gradient(ellipse 85% 116% at 10% -20%,color-mix(in srgb,var(--ath-mat-cta) 21%,rgba(255,255,255,.17)),transparent 72%),
  linear-gradient(130deg,color-mix(in srgb,var(--ath-mat-cta) 38%,#2b323a),color-mix(in srgb,var(--ath-mat-cta) 28%,#232a31) 58%,color-mix(in srgb,var(--ath-mat-cta) 22%,#1b222a));
 --ath-mat-action-hover:
  radial-gradient(ellipse 91% 125% at 14% -14%,color-mix(in srgb,var(--ath-mat-cta) 30%,rgba(255,255,255,.22)),transparent 70%),
  linear-gradient(130deg,color-mix(in srgb,var(--ath-mat-cta) 48%,#2c333b),color-mix(in srgb,var(--ath-mat-cta) 37%,#252c34) 58%,color-mix(in srgb,var(--ath-mat-cta) 30%,#1c252d));
 --ath-mat-action-edge:color-mix(in srgb,var(--ath-mat-cta) 62%,rgba(238,241,246,.28));
 --ath-mat-action-shadow:inset 0 1px 0 rgba(255,255,255,.20),inset 0 -1px 0 rgba(0,0,0,.23),0 8px 23px rgba(0,0,0,.25);
 --ath-mat-action-focus:color-mix(in srgb,var(--ath-mat-cta) 85%,#fff);
}
html[data-color-scheme="light"]{
 /* V15 material is the sole source for palette-tinted light glass.
    V15's existing appearance controller updates the selected swatch live. */
 --ath-mat-tint-color:var(--ax192-selected-swatch,var(--athrty-accent,#147DFF));
 --ath-mat-tint-glass:
  radial-gradient(ellipse 85% 115% at 12% -22%,rgba(255,255,255,.93),transparent 72%),
  linear-gradient(127deg,color-mix(in srgb,var(--ath-mat-tint-color) 32%,rgba(255,255,255,.82)) 0%,color-mix(in srgb,var(--ath-mat-tint-color) 53%,rgba(255,255,255,.64)) 58%,color-mix(in srgb,var(--ath-mat-tint-color) 33%,rgba(243,248,255,.71)) 100%);
 --ath-mat-tint-hover:
  radial-gradient(ellipse 82% 100% at 16% -12%,rgba(255,255,255,.94),transparent 69%),
  linear-gradient(129deg,color-mix(in srgb,var(--ath-mat-tint-color) 40%,rgba(255,255,255,.83)),color-mix(in srgb,var(--ath-mat-tint-color) 61%,rgba(255,255,255,.65)) 60%,color-mix(in srgb,var(--ath-mat-tint-color) 42%,rgba(246,251,255,.77)));
 --ath-mat-tint-edge:color-mix(in srgb,var(--ath-mat-tint-color) 44%,rgba(43,49,56,.18));
 --ath-mat-tint-shadow:inset 0 1px 0 rgba(255,255,255,.96),inset 0 -1px 0 rgba(255,255,255,.41),0 7px 22px color-mix(in srgb,var(--ath-mat-tint-color) 16%,transparent),0 2px 5px rgba(29,47,72,.035);
 --ath-mat-ink:#1A2128;
 --ath-mat-muted:#56616B;
 --ath-mat-label:#46515A;
 --ath-mat-edge:rgba(43,49,56,.18);
 --ath-mat-edge-strong:rgba(43,49,56,.34);
 --ath-mat-glow:rgba(255,255,255,.56);
 --ath-mat-clear:rgba(255,255,255,.51);
 --ath-mat-frost:linear-gradient(151deg,rgba(255,255,255,.84),rgba(255,255,255,.65) 51%,rgba(245,245,245,.56));
 --ath-mat-elevated:linear-gradient(153deg,rgba(255,255,255,.95),rgba(251,251,251,.88) 56%,rgba(245,245,245,.84));
 --ath-mat-control:rgba(255,255,255,.54);
 --ath-mat-control-hover:rgba(255,255,255,.77);
 --ath-mat-highlight:rgba(255,255,255,.96);
 --ath-mat-shadow-clear:0 5px 17px rgba(30,36,42,.055),inset 0 1px rgba(255,255,255,.88);
 --ath-mat-shadow-frost:0 24px 58px rgba(26,32,38,.105),0 5px 16px rgba(26,32,38,.05),inset 0 1px 0 rgba(255,255,255,.97),inset 0 -1px 0 rgba(255,255,255,.52);
 --ath-mat-shadow-elevated:0 28px 66px rgba(26,32,38,.15),0 8px 21px rgba(26,32,38,.07),inset 0 1px rgba(255,255,255,.99);
 /* X-332.4: Porcelain / Graphite Day CTA material. */
 --athrt-action-pigment:var(--ath-mat-tint-color,var(--ax192-selected-swatch,var(--athrty-accent,#147DFF)));
 --ath-mat-action-base:color-mix(in srgb,var(--ath-mat-control,rgba(255,255,255,.54)) 65%,var(--athrt-action-pigment) 35%);
 --ath-mat-action-glass:var(--ath-mat-tint-glass);
 --ath-mat-action-hover:var(--ath-mat-tint-hover);
 --ath-mat-action-edge:var(--ath-mat-tint-edge);
 --ath-mat-action-shadow:var(--ath-mat-tint-shadow);
 --ath-mat-action-ink:#1A2128;
 --ath-mat-action-focus:var(--ath-mat-ink,#1A2128);
}
/* Only explicit first-party adopters receive variant properties. */
.athrty-material{
 --ath-mat-current:var(--ath-mat-frost);
 --ath-mat-current-shadow:var(--ath-mat-shadow-frost);
 --ath-mat-current-blur:var(--ath-mat-blur-frost);
 border:1px solid var(--ath-mat-edge);
 border-radius:var(--ath-mat-radius);
 background:var(--ath-mat-current);
 color:var(--ath-mat-ink);
 box-shadow:var(--ath-mat-current-shadow);
 -webkit-backdrop-filter:blur(var(--ath-mat-current-blur)) saturate(1.02);
 backdrop-filter:blur(var(--ath-mat-current-blur)) saturate(1.02);
}
.athrty-material[data-glass-material="clear"]{
 --ath-mat-current:var(--ath-mat-clear);
 --ath-mat-current-shadow:var(--ath-mat-shadow-clear);
 --ath-mat-current-blur:var(--ath-mat-blur-clear);
}
.athrty-material[data-glass-material="frost"],
.athrty-material[data-glass-material="frosted"]{
 --ath-mat-current:var(--ath-mat-frost);
 --ath-mat-current-shadow:var(--ath-mat-shadow-frost);
 --ath-mat-current-blur:var(--ath-mat-blur-frost);
}
.athrty-material[data-glass-material="elevated"]{
 --ath-mat-current:var(--ath-mat-elevated);
 --ath-mat-current-shadow:var(--ath-mat-shadow-elevated);
 --ath-mat-current-blur:var(--ath-mat-blur-elevated);
}
.athrty-material[data-glass-material="interactive"]{
 --ath-mat-current:var(--ath-mat-frost);
 --ath-mat-current-shadow:var(--ath-mat-shadow-frost);
 transition:transform var(--ath-mat-motion) var(--ath-mat-ease),border-color var(--ath-mat-motion) ease,box-shadow var(--ath-mat-motion) ease;
}
@media(hover:hover) and (pointer:fine){
 .athrty-material[data-glass-material="interactive"]:hover{transform:scale(.993);border-color:var(--ath-mat-edge-strong)}
}
.athrty-material[data-glass-material="interactive"]:active{transform:scale(.986)}
.athrty-material :is(a,button,summary,input):focus-visible{outline:2px solid var(--ath-mat-cta);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.athrty-material[data-glass-material="interactive"]{transition:none!important;transform:none!important}}
@media(prefers-reduced-transparency:reduce){
 .athrty-material{background:var(--ath-os-panel,#161d24)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html[data-color-scheme="light"] .athrty-material{background:#F7F7F7!important}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .athrty-material{background:var(--ath-os-panel,#161d24)!important}
 html[data-color-scheme="light"] .athrty-material{background:#F7F7F7!important}
}
@media(forced-colors:active){.athrty-material{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important}}