.route-surface{--navy:#1a2e4c;--accent:#e63917;--ink:#000;--paper:#fff;--choice:#f0f4f8;color:var(--ink);font-family:Inter,system-ui,sans-serif}.phone:has(.route-surface){padding:18px 16px 112px;background:#fff}.route-surface h1{font:700 24px/1.2 Manrope,Inter,sans-serif!important;letter-spacing:-.035em;margin:18px 0 14px}.route-brand{display:flex;align-items:center;gap:9px;min-height:44px}.route-brand img{flex:none;object-fit:contain}.route-brand>div{display:flex;align-items:center;gap:8px;flex:1}.route-brand strong{font:700 20px Manrope,Inter,sans-serif}.route-brand>div>span{font-size:12px;font-weight:600;border-left:1px solid #b1bac4;padding-left:8px;color:#1a2e4c}.route-profile,.route-fresh{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;background:transparent;padding:9px;color:#1a2e4c}.route-profile svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}.route-fresh{width:44px;padding:7px}.route-fresh i{display:block;width:8px;height:8px;background:#2e7d32;border-radius:50%}.route-fresh.calculating i{width:13px;height:13px;background:none;border:2px solid #a9b3bf;border-top-color:#e63917;animation:route-spin .8s linear infinite}.route-fresh.stale i{background:#a95000}.route-pace{display:block;width:100%;padding:13px 14px;text-align:left;border:2px solid #000;border-radius:16px;background:#f0f4f8;color:#1a2e4c;margin:0 0 10px;font:inherit;cursor:pointer}.route-pace.behind,.route-pace.ahead{background:#fff1e5}.route-pace-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.route-pace-head b{font:650 16px/1.3 Manrope,Inter,sans-serif}.route-surface button>svg,.route-pace-head svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}.route-gauge{display:block;position:relative;height:10px;border-radius:9px;background:linear-gradient(90deg,#efd8bf 0 39%,#bedbb7 40% 60%,#efd8bf 61% 100%);margin:0 2px}.route-gauge i{position:absolute;top:-5px;height:20px;width:3px;border-radius:3px;background:#1a2e4c;transform:translateX(-50%);transition:left .2s ease}.route-pace.starting .route-gauge i{background:#717d8a}.route-gauge-labels{display:flex;justify-content:space-between;margin-top:10px;font-size:12px;font-weight:400;color:#344861}.route-gauge-labels b{font-weight:600}.route-budget{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;background:#fff;border:2px solid #000;border-radius:16px;padding:12px 14px;text-align:left;color:#1a2e4c;font:inherit;cursor:pointer}.route-budget strong{font:700 25px/1.2 Manrope,Inter,sans-serif}.route-budget small{display:block;font-size:13px;line-height:1.4;margin-top:3px}.route-budget em{display:block;font-size:13px;line-height:1.4;font-style:normal;color:#a95000;margin-top:5px}.route-budget.constrained{border-color:#a95000}.route-subject-head{display:flex;align-items:center;justify-content:space-between;margin:20px 0 10px}.route-subject-head h2{font:600 16px Manrope,Inter,sans-serif!important;margin:0}.route-subject-head>span{font-size:13px;color:#566479}.route-subjects{display:grid;grid-template-columns:1fr 1fr;gap:8px}.route-subject{display:flex;align-items:center;gap:9px;min-height:54px;padding:10px;border:2px solid #000;border-radius:12px;background:#fff;text-align:left;color:#1a2e4c;font:500 14px/1.25 Inter,sans-serif}.route-subject>span{width:27px;height:27px;flex:none}.route-subject svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.route-subject b{flex:1;font-weight:500;overflow-wrap:normal;hyphens:manual}.route-subject i{display:none}.route-meta,.route-day-end{display:flex;justify-content:space-between;width:100%;min-height:44px;padding:10px 2px;border:0;background:none;color:#1a2e4c;font:500 14px Inter,sans-serif;text-align:left}.route-day-end{justify-content:flex-end}.route-next{margin-top:20px;border-top:1px solid #c8d0da;padding-top:14px}.route-next-label{display:block;font-size:12px;font-weight:600;color:#53637b;margin-bottom:7px}.route-next h2{font:600 19px/1.35 Manrope,Inter,sans-serif!important;letter-spacing:-.015em;margin:0 0 6px}.route-next>p:not(.error){font-size:13px;color:#53637b;margin:0 0 12px}.route-next .primary{width:100%;min-height:52px;border:2.5px solid #000;background:#e63917;font:700 16px Manrope,Inter,sans-serif;border-radius:16px}.route-next .primary:disabled{opacity:.55;cursor:default}.route-help{width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);padding:24px 20px 20px;border:2px solid #000;border-radius:20px;color:#1a2e4c;background:#fff;overflow:auto;font:400 15px/1.5 Inter,sans-serif}.route-help::backdrop{background:#1a2e4c80}.route-help h2{font:600 23px/1.25 Manrope,Inter,sans-serif!important;margin:0 28px 18px 0}.route-help p{font-size:15px;line-height:1.5;margin:12px 0}.route-help-close{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;background:transparent;font-size:27px;color:#1a2e4c}.route-help dl>div{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin:7px 0}.route-help dd{margin:0;font-weight:650}.route-help-warning{color:#a95000}.route-help .primary{width:100%;min-height:52px;background:#e63917;border:2px solid #000;border-radius:16px;font-size:15px}.route-help-edit{width:100%;min-height:44px;margin-top:8px;background:#f0f4f8;border:1px solid #000;border-radius:12px;color:#1a2e4c;font-size:15px}.route-surface button:focus-visible,.route-help button:focus-visible{outline:3px solid #e39741;outline-offset:3px}.route-pace.attention{animation:route-attention 1s ease-out 1}@keyframes route-spin{to{transform:rotate(360deg)}}@keyframes route-attention{50%{box-shadow:0 0 0 4px #e3a56666}}@media(max-width:340px){.route-brand strong{font-size:18px}.route-brand>div{gap:5px}.route-brand>div>span{padding-left:5px}.route-subject{font-size:13px;padding:8px;gap:7px}.route-pace-head b{font-size:15px}}@media(prefers-reduced-motion:reduce){.route-gauge i{transition:none}.route-pace.attention,.route-fresh.calculating i{animation:none}}
.rhythm-dialog-backdrop{position:fixed;inset:0;z-index:90;background:#102c3980;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}.rhythm-dialog{position:relative;background:#fbfcfa;border-radius:24px;padding:24px;width:min(100%,480px);max-height:calc(100dvh - 32px);overflow:auto}.rhythm-dialog h2{font-size:26px!important;padding-right:30px;margin-top:0}.rhythm-dialog p{font-size:15px;color:#516c60}.rhythm-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;background:transparent;color:#315c4b;font-size:26px}.rhythm-dialog fieldset{border:0;padding:0;margin:20px 0}.rhythm-dialog legend{font-size:15px;margin-bottom:12px}.rhythm-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.rhythm-weekdays label{position:relative}.rhythm-weekdays input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0}.rhythm-weekdays span{display:grid;place-items:center;min-height:44px;border:1px solid #a7bcb0;border-radius:10px;font-size:14px;background:#fff;color:#496557}.rhythm-weekdays input:checked+span{background:#245e48;color:#fff;border-color:#245e48}.rhythm-weekdays input:focus-visible+span{outline:3px solid #d69441;outline-offset:2px}.rhythm-minutes-label{display:grid;gap:10px;margin:20px 0;font-size:15px}.rhythm-minutes-label input{width:100%;font-size:18px;min-height:48px;padding:10px;border:1px solid #a4bbae;border-radius:12px;background:#fff;color:#193e2f}.rhythm-dialog .primary{width:100%;min-height:52px;font-size:16px}.rhythm-route button:focus-visible{outline:3px solid #d69441;outline-offset:3px}@keyframes rhythm-spin{to{transform:rotate(360deg)}}@keyframes rhythm-attention{0%{box-shadow:0 0 0 0 #eab77266}50%{box-shadow:0 0 0 6px #eab77244}100%{box-shadow:0 0 0 0 transparent}}@media(max-width:360px){.rhythm-route h1{font-size:32px!important}.rhythm-required{gap:10px}.rhythm-required>strong{font-size:42px}.rhythm-required>span{font-size:13px}.rhythm-subjects{grid-template-columns:1fr}.rhythm-scale{font-size:11px}.rhythm-dialog{padding:20px 16px}.rhythm-weekdays{gap:6px;grid-template-columns:repeat(4,1fr)}}@media(prefers-reduced-motion:reduce){.rhythm-needle{transition:none}.rhythm-meter-panel.attention,.rhythm-fresh.calculating i{animation:none}}
