@font-face{font-family:KratosEditorial;src:url('./fonts/serif-latin.woff2') format('woff2');font-display:swap}
@font-face{font-family:KratosUI;src:url('./fonts/sans-latin.woff2') format('woff2');font-display:swap}
:root:has(.v2-shell){--bg:#101112;--panel:#191b1c;--panel-strong:#242725;--text:#f3eee4;--muted:#bbb8ae;--gold:#d8ba7d;--gold-soft:#e7cb8f;--line:#565143;--serif:KratosEditorial,Georgia,serif;--sans:KratosUI,'Noto Sans',sans-serif;background:var(--bg)}
:root[data-appearance-theme='light']:has(.v2-shell){--bg:#f7f3eb;--panel:#fffdf8;--panel-strong:#ece7da;--text:#252824;--muted:#626359;--gold:#79571e;--gold-soft:#79571e;--line:#989281}
body:has(.v2-shell){background:var(--bg);color:var(--text);font-family:var(--sans);padding-bottom:100px}
:root[data-appearance-theme] body:has(.v2-shell){background:var(--bg);background-image:none}
:root[data-appearance-theme] .v2-panel :is(h1,h2,h3){color:var(--text)}
.v2-shell,.v2-panel,.v2-calendar .kratos-shell{max-width:1180px;margin-inline:auto}
.editorial-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--line);padding-bottom:16px}
.editorial-mark{display:block;flex:0 0 120px;line-height:0}
.editorial-mark img{width:120px;height:120px;object-fit:contain}
[data-brand-theme='light']{display:none}
:root[data-appearance-theme='light'] [data-brand-theme='dark']{display:none}
:root[data-appearance-theme='light'] [data-brand-theme='light']{display:block}
.editorial-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:70%}
.editorial-controls :is(select,button){font:inherit;min-height:44px;max-width:100%;padding:8px;border:0;border-radius:6px;background:transparent;color:var(--text)}
.editorial-controls .editorial-theme-quick{width:44px;height:44px;padding:0;flex:0 0 44px}
.editorial-controls [data-header-expanded]{flex-basis:100%;text-align:right}
.editorial-controls select{width:auto}
.editorial-controls button:last-child{color:var(--gold);border-color:transparent}
.v2-shell .editorial-primary{gap:24px;justify-content:center;border-bottom:1px solid var(--line);padding:16px 0}
.v2-shell .editorial-primary button{border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit}
.v2-shell .editorial-primary [aria-current='page']{color:var(--gold);border-bottom:2px solid var(--gold)}
.v2-shell .editorial-secondary{justify-content:center;padding-top:24px}
.v2-shell .editorial-secondary[hidden]{display:none}
.v2-calendar .ambient,.v2-calendar .topbar{display:none}
.v2-calendar .kratos-shell{padding-top:12px}
.v2-calendar :is(.day-hero,.quote-card,.calendar-card,.section-block,.rhythm-panel,.control-panel),.v2-panel article{border-radius:8px;background:var(--panel);box-shadow:none;backdrop-filter:none}
.v2-calendar :is(h1,h2,h3),.v2-panel :is(h1,h2,h3){background:transparent!important;font-family:var(--serif);color:var(--text)}
.v2-calendar :is(p,.quote-card),.v2-panel p{color:var(--text);opacity:1}
.v2-calendar .opening-reflection{border-left:2px solid var(--gold);padding-left:24px}
.v2-calendar .control-panel{margin-bottom:28px}
.v2-shell,.v2-panel,.v2-calendar{--controlBorder:#7c807d}
:root[data-appearance-theme='light'] :is(.v2-shell,.v2-panel,.v2-calendar){--controlBorder:#85877f}
:root[data-appearance-theme] .v2-panel :is(button,input,select,textarea),.v2-shell .editorial-secondary button{border-color:var(--controlBorder)}
:root[data-appearance-theme] .v2-panel :is([aria-pressed='true'],:checked,[data-purchase-action='buy'],[data-upsell-buy]),.v2-shell .editorial-secondary [aria-current='page']{border-color:var(--gold)}
:root[data-appearance-theme] .v2-calendar :is(.date-control input,.ghost-button,.screen-awake-button,.appearance-control select,.language-toggle,.segmented){border-color:var(--controlBorder)}
.v2-calendar:not([data-screen='settings']) :is(.language-toggle,.appearance-control){display:none}
.v2-calendar:not([data-screen='settings']) [data-engagement-settings]{display:none}
.v2-calendar[data-screen='settings'] :is(.date-control,.screen-awake-control){display:none}
.v2-calendar[data-screen='premium'] .kratos-shell>*:not([data-purchase-root]):not(.editorial-note){display:none!important}
.v2-calendar[data-screen='settings'] .kratos-shell>*:not(.control-panel):not([data-name-root]):not(.editorial-note){display:none!important}
.v2-calendar[data-screen='calendars'] .kratos-shell>*:not(.control-panel):not(.day-hero):not(.calendar-block):not(.editorial-note):not(.maya-entry){display:none!important}
.v2-panel h2{font-size:clamp(30px,4vw,48px);font-weight:400;line-height:1.15;margin:20px 0}
.v2-panel article h3{font-size:26px;line-height:1.25;font-weight:400}
.v2-panel article{border-color:var(--line);padding:24px}
.v2-panel article.v2-gift{border:1px solid var(--gold);background:var(--panel-strong)}
.editorial-discover{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;margin:32px 0}
.editorial-discover article{padding:24px;border-top:1px solid var(--gold);background:var(--panel)}
.editorial-discover h2{font-weight:400;font-size:28px;line-height:1.25}
.v2-panel :is(button,select,input,textarea){border-radius:6px}
.v2-calendar .rhythm-wheel{background:radial-gradient(circle,transparent 58%,var(--line) 59%,transparent 60%),var(--panel);border:1px solid var(--line);box-shadow:none}
.v2-calendar .rhythm-center{background:var(--panel);color:var(--gold);border-color:var(--line)}
.v2-calendar .rhythm-phase{color:var(--text);background:var(--panel)}
.v2-panel [data-library-story] h3 button{font:inherit;text-align:left;padding:0;border:0;background:transparent}
.v2-panel [data-story-id]{max-width:760px;margin-inline:auto}
.v2-panel [data-story-id]>p:not(.v2-story-line){font-family:var(--serif);font-size:1.15rem;line-height:1.85}
.editorial-header :focus-visible,.editorial-primary :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:650px){
 .v2-shell,.v2-panel{padding:16px}
 .editorial-header{gap:8px;align-items:flex-start}
 .editorial-mark{flex-basis:84px}
 .editorial-mark img{width:84px;height:84px}
 .editorial-controls{max-width:calc(100% - 92px);gap:4px}
 .editorial-controls :is(select,button){font-size:14px;padding:7px}
 .v2-shell .editorial-primary{position:fixed;z-index:40;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:8px 4px max(8px,env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);border-bottom:0;overflow:visible}
 .v2-shell .editorial-primary button{white-space:normal;overflow-wrap:anywhere;min-height:52px;padding:6px 3px;font-size:14px;line-height:1.2}
 .v2-panel article{padding:20px}
}
