html{--hirax-font-scale:1}body{font-size:calc(16px * var(--hirax-font-scale))}.tool-intro p,.tool-card p,.guide-grid p,.guide-rules p,.trouble-columns li,.tool-caution{font-size:calc(14px * var(--hirax-font-scale))!important}html[data-theme=dark] body,html[data-theme=dark] .tool-page,html[data-theme=dark] .app-layout,html[data-theme=dark] .pale{background:#101d30;color:#e4edf8}html[data-theme=dark] .site-header,html[data-theme=dark] .tool-header,html[data-theme=dark] .tool-card,html[data-theme=dark] .entry-card,html[data-theme=dark] .feature,html[data-theme=dark] .learning-grid article,html[data-theme=dark] .guide-grid article,html[data-theme=dark] .guide-rules,html[data-theme=dark] .guide-source,html[data-theme=dark] .trouble-card,html[data-theme=dark] .app-top,html[data-theme=dark] .workspace-main,html[data-theme=dark] .next-card{background:#192b43;color:#e4edf8;border-color:#344a66}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] .brand strong,html[data-theme=dark] .card-heading h2,html[data-theme=dark] .section-heading h2{color:#edf5ff}html[data-theme=dark] p,html[data-theme=dark] .tool-card label,html[data-theme=dark] .trouble-columns li{color:#b8cadf}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] .tool-result,html[data-theme=dark] .rule-grid div{background:#12233a;color:#e4edf8;border-color:#3b5472}html[data-theme=dark] .tool-tabs button,html[data-theme=dark] .formula-list button,html[data-theme=dark] .secondary{background:#1e3956;color:#edf5ff;border-color:#3b5472}html[data-theme=dark] .tool-tabs button[aria-selected=true],html[data-theme=dark] .formula-list button.active{background:#1767ce;color:white}html[data-theme=dark] .chart-wrap svg{background:#fff}html[data-theme=dark] .intro-strip,html[data-theme=dark] .rule-screen,html[data-theme=dark] .instruction{background:#203954;border-color:#3b5472;color:#d5e6f7!important}@media print{html[data-theme=dark] body,html[data-theme=dark] .tool-card,html[data-theme=dark] .entry-card{background:#fff!important;color:#111!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:#111!important}}
@view-transition{navigation:auto} @media (prefers-reduced-motion:no-preference){::view-transition-group(root){animation-duration:120ms}} @media (prefers-reduced-motion:reduce){::view-transition-group(root){animation-duration:0s}}

.persian-date{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) minmax(0,1.2fr);gap:4px;min-width:0}.persian-date select{width:100%;min-width:0;padding-inline:4px}

