/* Yeoyu Typography — official Pretendard v1.3.9 variable dynamic subset.
 * Official project: https://github.com/orioncactus/pretendard
 * Font: SIL Open Font License 1.1. Fallback works offline.
 * Loaded once via the common theme.css, not duplicated per calculator.
 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

body,button,input,select,textarea{
  font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,
    "Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic","Segoe UI",sans-serif;
}
#theme-toggle{min-height:44px;padding:8px 12px;border:1px solid #cad3e1;border-radius:9px;background:#f4f6fa;color:#283851;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer;flex-shrink:0}#theme-toggle:focus-visible{outline:3px solid #718fff;outline-offset:3px}
html[data-theme=dark]{color-scheme:dark;--ink:#dde5f0;--muted:#acbbce;--bg:#171d28;--line:#46546a;--blue:#a7bdff;background:#171d28;color:#dde5f0}
html[data-theme=dark] body{background:#171d28;color:#dde5f0}
html[data-theme=dark] :is(header,.panel,.calc-card,.search-wrap,.category-flyout,.measure-row,.seo-guide section,.category-grid button,.card,.modal-content,dialog){background:#202938;color:#dde5f0;border-color:#46546a;box-shadow:none}
html[data-theme=dark] :is(button,input,select,textarea,.workspace-nav a,.workspace-nav summary,.quote-picker-list a,#theme-toggle){background:#263244;color:#dde5f0;border-color:#60728a}
html[data-theme=dark] #fields :is(input,select){background:#1b2432;color:#dde5f0;border-color:#60728a}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#acbbce;opacity:1}
html[data-theme=dark] :is(.guide,.tool-tip,.measurement-guide,.measure-sheet,.estimate-guide,.quote-entry,.feedback-entry,.purchase-summary,.journey-strip,.result-panel,.hero-art span,.assumptions,.result-panel .assumptions){background:#243248;color:#dde5f0;border-color:#526787;box-shadow:none}
html[data-theme=dark] :is(.result-row span,.result-row .duration-total,.result-panel .eyebrow,.result-share p,.assumptions p,.input-hint,.explanation #tool-note,.feedback-entry span,.result-kind){color:#b6c6de}
html[data-theme=dark] :is(.result-share summary,.purchase-summary strong,.feedback-entry strong,.nav-feedback,.card-arrow,.quick-search button,.panel-heading button,.explanation summary,.result-panel button,#continue-area){color:#a7bdff!important}
html[data-theme=dark] :is(.primary,.account-login,.small-btn,.workspace-nav .nav-quote,.chips button[aria-pressed=true],.input-mode button[aria-pressed=true]){background:#355ac4;color:#f5f7ff!important;border-color:#7894e6}
html[data-theme=dark] :is(.category-grid button[aria-pressed=true],.flyout-categories button[aria-pressed=true],.flyout-tools a:hover,.quote-picker-list a:hover,.quick-search button:hover){background:#34476a;color:#dbe6ff}
html[data-theme=dark] :is(.error,.account-status){color:#ffb6bf}
html[data-theme=dark] #fields input[aria-invalid=true]{background:#39252e;border-color:#ffb6bf}
html[data-theme=dark] :is(.result-row,.result-share,.multi-row,.multi-result,.multi-input){border-color:#526787}
html[data-theme=dark] .fav[aria-pressed=true]{color:#edca78}
html[data-theme=dark] :is(.brand,.calc-card>a,footer a){color:#dde5f0}
html[data-theme=dark] :is(.hero-art span:nth-child(2),.hero-art span:nth-child(3)){background:#34476a;color:#dbe6ff}
html[data-theme=dark] :is(a,button,input,select,textarea,summary):focus-visible{outline-color:#b7caff}
@media(max-width:600px){header .locale-controls{flex-wrap:wrap}#theme-toggle{margin-left:auto;min-height:44px}header:has(>.header-actions){height:auto;min-height:84px;flex-wrap:wrap;padding:14px 16px;gap:12px}}
@media print{html[data-theme=dark],html[data-theme=dark] body{background:white!important;color:black!important}#theme-toggle{display:none!important}}
html[data-theme=dark] :is(.monthbar,.note-box,.balance,.step,.empty-icon){background:#243248;color:#dde5f0;border-color:#526787;box-shadow:none}
html[data-theme=dark] :is(.fine,.stats span,.expense-item small,.guide p,.note-box p,.intro,.descriptor,.empty p,.empty-line,.goal-row span,.feedback-card>p,.monthbar #sync){color:#b6c6de}
html[data-theme=dark] .error{color:#ffb6bf!important}
html[data-theme=dark] .login-btn{background:#355ac4;color:#f5f7ff}
