/* Final shared visual rules: section icons, theme contrast and timer perimeter. */
html body #view-schedule{--accent:inherit;--accent-strong:inherit;--accent-soft:inherit;--glow:inherit}
html body .btn-primary,html body .task-input-group button,html body .send-btn,html body .section-symbol,html body .res-mini.main,html body .drawer-item.active,html body .sched-tab.active,html body .chip.on,html body .seg-btn.on,html body .msg.user,html body .toast{color:var(--accent-contrast79,#fff)!important}
html body #view-schedule #sched-fab{background:var(--accent)!important;color:var(--accent-contrast79,#fff)!important;background-image:none!important;border:1px solid var(--line-strong)!important}
html body svg.ic,html body svg.feature-icon{width:1.25rem;height:1.25rem;flex:0 0 1.25rem;vertical-align:middle;overflow:visible;color:inherit!important}
html body .section-symbol{width:3rem;height:3rem;flex:0 0 3rem;margin:0 auto .75rem;display:grid;place-items:center;border-radius:15px}
html body .section-symbol svg{width:1.5rem;height:1.5rem;flex-basis:1.5rem;color:inherit!important}
html body :is(h2,h3,h4).shelf-title{display:flex;align-items:center;gap:.6rem}
html body :is(.res-mini,.icon-btn,.act-btn,.drawer-item,.rail-nav button){align-items:center;gap:.5rem}
html body .res-mini svg{width:1.1rem;height:1.1rem;flex:0 0 1.1rem;fill:none;stroke:currentColor;stroke-width:1.8}
html body #sched-fab svg{width:1.6rem!important;height:1.6rem!important;display:block;color:inherit!important}
html[data-theme=dark]{--text-main:#f5f5f7;--detail58-color:var(--accent);--detail58-ink:var(--accent-contrast79)}
html[data-theme=dark] body :is(input,textarea,select){color:var(--text-main);color-scheme:dark}
html[data-theme=dark] body :is(.set-note,.daily-phrase,.student-quote){color:var(--text-muted)}
html body .timer-card{position:relative;isolation:isolate;padding:clamp(2rem,5vw,3rem)!important;overflow:visible}
html body .timer-frame79{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);overflow:visible;pointer-events:none;z-index:-1;fill:none}
.timer-frame79 rect{x:3px;y:3px;width:calc(100% - 6px);height:calc(100% - 6px);rx:24px;ry:24px;stroke-width:5;vector-effect:non-scaling-stroke;fill:none}
.timer-track79{stroke:var(--line-strong)}
.timer-fill79{stroke:var(--accent);stroke-dasharray:100 100;stroke-dashoffset:100;stroke-linecap:round;transition:stroke-dashoffset .4s linear}
#timer-percent79{margin:.9rem 0 1.25rem;color:var(--text-muted);font-size:.9rem;font-weight:700}
@media(max-width:480px){html body .timer-card{padding:2rem 1.5rem!important}.timer-frame79 rect{rx:20px;ry:20px;stroke-width:4}html body .timer-controls{flex-wrap:wrap;gap:.5rem}html body .timer-controls .btn{min-height:44px;padding:.65rem .8rem}html body .timer-display{font-size:clamp(3.4rem,17vw,4.5rem)}}
@media(prefers-reduced-motion:reduce){.timer-fill79{transition:none}}
html[data-theme=dark] body :is(option,optgroup){background:#242428!important;color:#f5f5f7!important}
html body :is(.badge,.bar-col.today .bar-label,.tour-icon,.tag.exam,.cal-item.now .cal-count,.msg-act.on,.res-cat .res-ico,.tool-card .res-ico){color:var(--accent-contrast79,#fff)!important}
html[data-theme=dark] body #rakaz-rail .rail-nav button:is(:hover,.active){color:var(--text-main)!important}
html[data-theme=dark] body .daily-phrase{color:var(--text-main)!important}
html body .section-symbol .feature-icon{color:inherit!important}
