@charset "UTF-8";
:root{--paper:#f6f4ee;--white:#fffefb;--ink:#263e36;--muted:#787e74;--line:#e2e4d9;--green:#24483e;--lime:#e0edbd;--orange:#c95d3a;--soft:#edf0e5;--red:#a94237;--radius:22px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Trebuchet MS","Verdana",sans-serif;font-size:15px;line-height:1.5;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button,a{ -webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit;border:0;background:none}
button:disabled{opacity:.48;cursor:wait}
button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--green);outline-offset:1px}
a{color:var(--green);text-underline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.2px}
h1{font-size:42px;line-height:1.14}
h2{font-size:29px;line-height:1.2}
h3{font-size:16px;line-height:1.35}
small,.small{font-size:12px}
svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app-shell{max-width:1160px;margin:auto;display:grid;grid-template-columns:230px 1fr;min-height:100dvh}
.sidebar{padding:43px 26px;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}
.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:bold;letter-spacing:-.8px}
.brand-mark{height:37px;width:37px;border-radius:12px;display:grid;place-items:center;background:var(--green);color:var(--lime);font-size:31px;line-height:1}
.brand-sub{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:var(--muted);margin:10px 0 45px 46px}
.nav{display:grid;gap:9px}.nav button{display:flex;align-items:center;gap:12px;padding:14px 17px;border-radius:14px;color:var(--muted);text-align:left}
.nav button.active{background:var(--green);color:var(--white)}.nav button:hover:not(.active){background:var(--soft)}
.side-note{margin-top:auto;padding-top:24px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.side-note strong{display:block;color:var(--ink);margin-bottom:6px;font-size:14px}
.workspace{padding:37px 42px 50px;min-width:0}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:33px}
.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:bold;color:var(--muted)}
.avatar{width:38px;height:38px;background:#e8decc;border:3px solid var(--white);border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:bold}
.mobile-brand{display:none}.page-heading{margin-bottom:25px}.page-heading p{color:var(--muted);margin-top:10px}.heading-line{display:flex;gap:16px;align-items:center;justify-content:space-between}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;border:1px solid var(--line);border-radius:100px;padding:6px 11px;background:var(--white);white-space:nowrap}
.pill.accent{background:var(--lime);border-color:transparent;color:var(--green)}.pill.orange{background:#f8e6dc;color:#a24b2e;border:0}
.hero{position:relative;overflow:hidden;background:var(--green);color:var(--white);padding:28px;border-radius:var(--radius);min-height:240px;display:flex;flex-direction:column;align-items:flex-start}
.hero .eyebrow{color:#b6c7b0}.hero h2{font-size:36px;margin:14px 0 9px;position:relative;z-index:1}.hero p{font-size:13px;color:#c3d1c5;max-width:72%;position:relative;z-index:1}
.hero .button{margin-top:26px;position:relative;z-index:1;background:var(--lime);color:var(--green);min-width:195px}
.hero-art{position:absolute;right:-10px;top:8px;width:200px;height:220px;opacity:.6;transform:rotate(-18deg)}
.hero-art:before,.hero-art:after{content:"";position:absolute;border:1px solid #a3b99a;border-radius:100px;width:120px;height:220px;right:20px;top:30px}.hero-art:after{right:55px;top:10px;border-color:#a3b99a50}
.hero-label{position:absolute;right:30px;bottom:27px;letter-spacing:4px;font-size:12px;color:#a5b9a4}
.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:14px 20px;min-height:49px;border-radius:13px;background:var(--green);color:var(--white);font-weight:bold;font-size:13px;text-decoration:none}
.button.secondary{background:var(--soft);color:var(--ink)}.button.outline{background:transparent;border:1px solid var(--line);color:var(--ink)}.button.danger{background:#f8e8e2;color:var(--red)}.button.wide{width:100%}
.button.small-button{min-height:38px;padding:9px 12px;font-size:12px}
.section-top{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px;gap:12px}.section-top h2{font-family:inherit;font-size:16px;font-weight:bold;letter-spacing:0}
.text-button{font-size:12px;color:var(--muted);padding:8px 0;display:inline-flex;gap:5px;align-items:center}
.week-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:21px 24px}
.week-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.week-head p{font-size:12px;color:var(--muted)}.week-head strong{font-size:20px;letter-spacing:-.5px}
.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;text-align:center}
.week-day{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:10px;color:var(--muted)}
.day-circle{width:36px;height:36px;border:1px solid transparent;border-radius:50%;display:grid;place-items:center;font-size:13px;color:var(--ink)}
.week-day.planned .day-circle{border:1px dashed #acb59f}.week-day.today .day-circle{background:var(--orange);color:white;border:0}.week-day.done .day-circle{background:var(--green);color:var(--lime);border:0}
.week-foot{font-size:11px;color:var(--muted);margin-top:20px;padding-top:14px;border-top:1px solid var(--line);display:flex;gap:6px;align-items:center}
.list{display:grid;gap:10px}.exercise-preview{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:14px 0}.exercise-preview:last-child{border-bottom:0}
.exercise-num{width:39px;height:39px;border-radius:12px;background:#e9ecdf;color:#68765c;display:grid;place-items:center;font-size:12px;font-weight:bold;flex-shrink:0}.exercise-preview .grow{flex:1;min-width:0}.exercise-preview p{font-size:12px;color:var(--muted);margin-top:3px}.exercise-preview h3{font-size:14px}.exercise-meta{font-size:12px;white-space:nowrap}
.optional{margin-top:21px;border:1px dashed #c6cdbb;border-radius:16px;padding:17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.optional p{font-size:12px;color:var(--muted);margin-top:4px}
.assistant-card{margin-top:24px;padding:20px;border-radius:18px;background:#e9ecdf;display:flex;align-items:center;gap:14px}.assistant-card p{font-size:12px;color:var(--muted);margin-top:4px}.assistant-card .grow{flex:1}.spark{font-size:29px;color:var(--orange)}
.welcome{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:27px;margin-top:22px}.welcome h2{margin-bottom:12px}.welcome>p{font-size:13px;color:var(--muted);margin-bottom:22px}
.field{margin-bottom:19px}.field label,.field>span{display:block;font-size:12px;font-weight:bold;margin-bottom:9px}
input,select,textarea{color:var(--ink);border:1px solid var(--line);background:var(--white);border-radius:10px;padding:12px;width:100%;min-width:0}
.choices{display:flex;gap:8px;flex-wrap:wrap}.choice{border:1px solid var(--line);border-radius:11px;padding:11px 15px;font-size:12px;background:var(--white)}.choice.selected{border-color:var(--green);background:var(--green);color:var(--white)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.muted{color:var(--muted)}.notice{background:#f1eadc;padding:14px 17px;border-radius:13px;font-size:12px;line-height:1.6;margin:16px 0}.notice.error{background:#f7e6df;color:var(--red)}
.program-card{background:var(--white);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-bottom:15px}.program-card summary{cursor:pointer;padding:21px;list-style:none;display:flex;align-items:center;gap:14px}.program-card summary::-webkit-details-marker{display:none}.day-letter{font-family:Georgia,serif;font-size:30px;background:var(--soft);width:48px;height:48px;border-radius:13px;display:grid;place-items:center}.program-card .inside{padding:0 21px 20px}.program-card .grow{flex:1}.program-card summary p{font-size:12px;color:var(--muted);margin-top:4px}
.workout-progress{margin:18px 0 22px}.progress-track{height:5px;background:#e0e4d5;border-radius:4px;overflow:hidden}.progress-track progress{width:100%;height:100%;display:block;accent-color:var(--green)}progress::-webkit-progress-bar{background:#e0e4d5}progress::-webkit-progress-value{background:var(--green)}
.workout-progress p{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:9px}
.exercise-card{background:var(--white);border:1px solid var(--line);border-radius:18px;margin:12px 0;overflow:hidden}.exercise-card summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:18px}.exercise-card summary::-webkit-details-marker{display:none}.exercise-card summary .grow{flex:1}.exercise-card summary h3{font-size:15px}.exercise-card summary p{font-size:11px;color:var(--muted);margin-top:3px}.exercise-card.completed .exercise-num{background:var(--green);color:var(--lime)}.exercise-card.skipped{opacity:.62}
.exercise-body{padding:0 18px 17px}.technique-button{font-size:12px;color:var(--orange);padding:0 0 17px;display:flex;align-items:center;gap:7px}
.set-labels,.set-row{display:grid;grid-template-columns:26px 1fr 1fr 43px;gap:10px;align-items:center}.set-labels{font-size:10px;color:var(--muted);margin:0 0 7px;text-align:center}.set-row{margin:8px 0}.set-row input{text-align:center;padding:10px 4px;height:44px}.set-index{text-align:center;font-size:12px;color:var(--muted)}.set-row.finished input{background:#eef3e5;border-color:#e0e6d5}.set-check{width:43px;height:44px;border-radius:11px;border:1px solid var(--line);background:var(--paper);display:grid;place-items:center}.set-check.checked{background:var(--green);border-color:var(--green);color:var(--lime)}
.last-time{font-size:11px;color:var(--muted);padding:10px 0 5px}.exercise-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;border-top:1px solid var(--line);padding-top:10px}.exercise-actions button{padding:8px;font-size:11px;color:var(--muted);min-height:34px}.exercise-actions button:first-child{padding-left:0}
.rest-bar{position:sticky;bottom:12px;background:var(--green);color:var(--white);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;border-radius:14px;box-shadow:0 8px 30px #24483e25;margin:16px 0;z-index:5}.rest-bar strong{font-variant-numeric:tabular-nums}.rest-bar button{color:var(--lime);font-size:12px;padding:9px}
.finish-bar{display:flex;gap:10px;margin-top:22px}.finish-bar .button{flex:1}
.empty{padding:38px 24px;text-align:center;border:1px dashed #c8cebc;border-radius:20px;background:#f0f1e9}.empty .icon{width:34px;height:34px;margin-bottom:15px}.empty h2{font-size:27px;margin-bottom:12px}.empty p{font-size:13px;color:var(--muted);max-width:340px;margin:0 auto 20px}
.history-card{padding:18px;background:var(--white);border:1px solid var(--line);border-radius:16px;margin-bottom:12px;display:flex;gap:14px;align-items:center;width:100%;text-align:left}.history-date{width:44px;text-align:center;font-size:11px;color:var(--muted)}.history-date strong{display:block;font-family:Georgia,serif;font-size:25px;color:var(--ink)}.history-card .grow{flex:1}.history-card p{font-size:11px;color:var(--muted);margin-top:5px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.stat{padding:20px;background:var(--soft);border-radius:17px}.stat strong{display:block;font-size:31px;font-family:Georgia,serif;line-height:1.1}.stat span{display:block;color:var(--muted);font-size:11px;margin-top:9px}
.proposal{border:1px solid #c9d6b3;background:#f1f5e7;border-radius:18px;padding:21px;margin:20px 0}.proposal h3{margin:10px 0}.proposal p{font-size:13px}.proposal ul{padding-left:20px;font-size:12px}.proposal .buttons{display:flex;gap:10px;margin-top:17px}.proposal details{margin-top:12px;font-size:12px}.proposal summary{cursor:pointer;font-weight:bold;padding:7px 0}
.footer-note{text-align:center;font-size:10px;color:#8c9186;margin-top:28px;letter-spacing:1px}
.loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}
.loading p{font-size:13px;color:var(--muted)}
#toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#213d34;color:#fff;padding:13px 20px;max-width:90%;border-radius:12px;font-size:13px;z-index:100;transition:.2s}
#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
dialog{border:1px solid var(--line);padding:0;background:var(--paper);color:var(--ink);border-radius:24px;width:min(540px,calc(100% - 24px));max-height:88dvh;box-shadow:0 20px 80px #18322835}
dialog::backdrop{background:#172b2466;backdrop-filter:blur(3px)}
.dialog-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:var(--paper);padding:21px 24px 15px;z-index:2;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:26px}.close{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#e8ebdf}.dialog-body{padding:22px 24px}.dialog-body p{font-size:13px;line-height:1.7}.dialog-body ol{font-size:13px;line-height:1.75;padding-left:20px}.dialog-body li{padding:5px 0}.dialog-body .button{margin-top:12px}.dialog-body .form-grid .button{margin-top:0}
.chat-log{display:flex;flex-direction:column;gap:12px;max-height:38dvh;overflow:auto;margin-bottom:18px}.bubble{padding:13px 15px;border-radius:15px;background:var(--white);font-size:13px;white-space:pre-wrap;max-width:94%}.bubble.user{background:var(--green);color:var(--white);align-self:flex-end}.chat-form{display:flex;gap:8px}.chat-form input{flex:1}.chat-form button{padding:12px}.quick-prompts{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.quick-prompts button{padding:8px 11px;border:1px solid #d8ddcd;border-radius:100px;font-size:11px;text-align:left}.chat-wait{font-size:12px;color:var(--muted);padding:10px 0}.onboarding-actions{margin-top:25px}
.checkbox-row{display:flex;align-items:center;gap:10px;font-size:13px;margin:15px 0}.checkbox-row input{width:18px;height:18px;accent-color:var(--green)}
.offline{background:#f6decf;color:#813b22;padding:10px 16px;font-size:12px;text-align:center}
.entrance{max-width:450px;margin:12vh auto;padding:30px}.entrance .brand{margin-bottom:38px}.entrance h1{margin-bottom:16px}.entrance p{color:var(--muted);margin:18px 0}
@media(min-width:1000px){.home-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;align-items:start}.home-columns .section-top{margin-top:0}.home-left .hero{min-height:300px}.home-left .hero h2{margin-top:24px}.home-left .hero .button{margin-top:auto}.home-right .week-card{padding:20px 15px}.home-right .week-days{gap:2px}.home-right .day-circle{width:29px;height:29px}.home-right .assistant-card{padding:16px;align-items:flex-start}.home-right .assistant-card .icon{display:none}}
@media(max-width:760px){
  .app-shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:auto;width:100%;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:20;background:#fffefbf5;border-right:0;border-top:1px solid var(--line);backdrop-filter:blur(12px)}
  .sidebar>.brand,.brand-sub,.side-note{display:none}.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.nav button{flex-direction:column;gap:4px;padding:8px 0;border-radius:11px;font-size:10px}.nav button.active{background:var(--soft);color:var(--green)}.nav .icon{width:20px;height:20px}
  .workspace{padding:20px 20px calc(100px + env(safe-area-inset-bottom))}.mobile-brand{display:flex}.mobile-brand .brand-mark{width:30px;height:30px;font-size:25px;border-radius:9px}.mobile-brand.brand{font-size:21px}
  .topbar{margin-bottom:30px}.topbar>.eyebrow{display:none}.avatar{width:34px;height:34px;font-size:12px}h1{font-size:36px}.page-heading{margin-bottom:22px}.page-heading p{font-size:13px}
  .hero{min-height:236px;padding:24px}.hero h2{font-size:33px}.hero-art{right:-45px}.hero-label{right:25px;bottom:30px;font-size:10px}.hero p{max-width:77%}
  .welcome{padding:22px}.week-card{padding:20px}.rest-bar{bottom:86px}.section-top{margin-top:25px}
}
@media(max-width:360px){.workspace{padding-left:14px;padding-right:14px}h1{font-size:32px}.hero{padding:20px}.hero-label{display:none}.week-card{padding:15px}.week-days{gap:3px}.day-circle{width:32px;height:32px}.set-labels,.set-row{gap:7px}.form-grid{grid-template-columns:1fr}.pill{padding:5px 8px;font-size:10px}}
@media(prefers-reduced-motion:no-preference){.page-enter{animation:arrive .28s ease-out}@keyframes arrive{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}

/* Алатырь: basalt, carved brass, a quiet place to build strength. */
:root{color-scheme:dark;--paper:#141818;--white:#1c2221;--ink:#ece6d9;--muted:#a4a89f;--line:#363c35;--green:#d8b980;--lime:#ead3a6;--orange:#d1a15c;--soft:#252c27;--red:#e1a292;--radius:12px}
body{font-family:"Golos Text","Trebuchet MS",sans-serif;font-size:14px;background:radial-gradient(ellipse at 95% 0,#36382844,transparent 45%),#141818}
h1,h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;letter-spacing:-.6px}
h1{font-size:53px;line-height:1.05}h1 em{font-weight:500;color:#d8b980}h2{font-size:34px}
h3{font-weight:500}button{transition:background .15s,color .15s,border-color .15s}
.app-shell{max-width:1240px;grid-template-columns:235px 1fr}
.sidebar{border-right:1px solid #c8ae7520;background:linear-gradient(180deg,#191e1d,#141818);padding-top:44px}
.brand{font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;font-weight:600;letter-spacing:3.2px;text-transform:uppercase;gap:12px;color:#e8d7b3}
.brand-mark{background:transparent;color:#d8b980;width:40px;height:40px;border-radius:0}
.brand-mark svg,.spark svg{width:100%;height:100%;fill:#d7b77b0d;stroke:#d7b77b;stroke-width:1.3}
.brand-sub{color:#b09a70;font-size:9px;letter-spacing:3px;margin-left:53px;margin-bottom:49px}
.nav{gap:9px}.nav button{border-radius:7px;font-size:12px;gap:13px;padding:15px 16px;color:#a6ada5}
.nav button.active{background:#d9ba8010;color:#dfc394;box-shadow:inset 2px 0 #d7b77b}
.nav button:hover:not(.active){background:#ffffff05}
.side-note{border-top-color:#c8ae7526;font-size:11px;line-height:1.8}.side-note strong{font-size:12px;font-weight:500;color:#cbbb9b}
.workspace{padding:38px 42px 50px}.topbar{margin-bottom:35px}.eyebrow{color:#ad9a75;font-size:9px;letter-spacing:2.2px}
.avatar{background:#d8b9800e;border:1px solid #d8b98040;color:#e3c998;border-radius:8px;font-family:"Cormorant Garamond",serif;font-size:22px;font-weight:500}
.page-heading .eyebrow{display:block;margin-bottom:11px}.page-heading p{font-size:12px;color:#a8aba3;margin-top:12px}
.pill{background:#222924;border:1px solid #4b503d;border-radius:5px;color:#cbc6b6;font-size:10px;padding:6px 9px}
.pill.accent{background:#d8b98015;color:#e4c794;border:1px solid #d8b98045}.pill.orange{background:#8054362b;color:#d6b38c}
.hero.stone-hero{border:1px solid #c7a97050;border-radius:12px;min-height:335px;padding:27px 30px;background:linear-gradient(90deg,#10191ce8 0%,#111a1c99 35%,#11191a15 75%),url('/assets/alatyr-stone.png') 50% 49% / cover;box-shadow:0 12px 50px #0002}
.hero:after{content:"";position:absolute;inset:8px;border:1px solid #c7a97022;border-radius:6px;pointer-events:none}
.hero-kicker{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:2px;color:#c6b797;z-index:1}.hero-kicker svg{width:25px;height:25px;fill:transparent;stroke:#d7b77b;stroke-width:1.3}
.hero-copy{margin-top:32px;z-index:1;position:relative;width:62%}.hero .eyebrow{color:#c1bba9;letter-spacing:2px;font-size:8px}
.hero h2{font-size:46px;color:#f4ead3;margin:11px 0 10px;line-height:1.04;letter-spacing:-.5px}.hero p{max-width:100%;font-size:12px;color:#ccc9bd;line-height:1.9}
.hero .button{margin-top:24px;background:linear-gradient(125deg,#e4c78f,#c3a065);color:#22251f;min-width:0;font-size:12px;padding:14px 20px}
.hero-label{color:#e1c89b99;bottom:25px;right:25px;letter-spacing:2.5px;font-size:9px;z-index:1}
.button{background:#d8b980;color:#1c2420;border:1px solid #d8b980;border-radius:7px;font-weight:500;font-size:12px;letter-spacing:.1px;min-height:48px}
.button:hover{background:#e6cda0}.button.secondary{background:#d8b98012;border:1px solid #d8b98044;color:#dfc79e}.button.secondary:hover{background:#d8b98024}.button.outline{background:transparent;border-color:#626650;color:#d5d1c1}.button.danger{background:#542e283b;border-color:#a9675355;color:#edb4a0}
.text-button{color:#c4af86;font-size:10px}.text-button .icon{width:16px;height:16px}
.rune-divider{display:flex;align-items:center;justify-content:center;gap:13px;color:#8e7b59;font-size:8px;letter-spacing:1.8px;margin:26px 0 28px}.rune-divider:before,.rune-divider:after{content:"";height:1px;background:linear-gradient(90deg,transparent,#99825955);flex:1}.rune-divider:after{transform:rotate(180deg)}
.section-top{margin:24px 0 14px}.section-top h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:25px;font-weight:500;letter-spacing:.2px}
.exercise-list{padding:0 17px;border:1px solid var(--line);background:linear-gradient(135deg,#20262388,#191e1d);border-radius:10px}
.exercise-preview{padding:15px 0;gap:12px}.exercise-num{background:#b7a06e0b;color:#c8b181;border:1px solid #b7a06e25;border-radius:6px;width:36px;height:40px;font-size:11px;font-weight:400}
.exercise-preview h3{font-size:12px;color:#e5e0d3}.exercise-preview p{font-size:10px;color:#9b9f95}.exercise-meta{font-size:11px;color:#cbb88d;font-variant-numeric:tabular-nums}
.optional{border:1px dashed #80714e60;border-radius:9px;background:#b1965e05;padding:16px;margin-top:15px}.optional .eyebrow{font-size:8px;margin-bottom:4px;display:block}.optional h3{font-size:12px}.optional p{font-size:10px}
.week-card{border:1px solid #414637;background:linear-gradient(140deg,#262d25,#1b211e);border-radius:10px;padding:20px}
.week-head h3{font-size:12px}.week-head p{font-size:10px;margin-top:4px}.week-head strong{font-family:"Cormorant Garamond",serif;font-size:34px;font-weight:500;color:#e0c594}.week-head strong span{color:#919782}
.week-day{font-size:9px;color:#a0a48f}.day-circle{color:#d0d3bc;font-size:12px}.week-day.planned .day-circle{border-color:#98865a88}.week-day.today .day-circle{background:#d8b980;color:#22281d;box-shadow:0 0 18px #d8b98018}.week-day.done .day-circle{background:#d8b980;color:#1c2920}
.week-foot{font-size:9px;color:#b2b69e;border-top-color:#51584266;padding-top:13px}.week-foot .icon{width:13px;height:13px}
.assistant-card{background:#c9ae7610;border:1px solid #bca36e3b;border-radius:10px;padding:18px;text-align:left;width:100%}.assistant-card h3{font-family:"Cormorant Garamond",serif;color:#e1c99d;font-size:24px;font-weight:500}.assistant-card p{font-size:10px;line-height:1.7}.spark{width:34px;height:34px;flex-shrink:0}.assistant-card>.icon{color:#c5ab79}
.footer-note{font-size:8px;color:#8f8062;letter-spacing:1.7px;line-height:1.7}
.welcome{background:linear-gradient(135deg,#202624,#1a201e);border:1px solid #b8a16d33;border-radius:12px;padding:26px}.welcome>p{font-size:12px;line-height:1.8;color:#b0b3a7}
.welcome-hero>.page-heading{position:relative;padding:30px 28px 37px;border:1px solid #b8a16d33;border-radius:12px;background:linear-gradient(90deg,#10191cf0,#10191caa 40%,#10191c00),url('/assets/alatyr-stone.png') 70% 50%/cover;min-height:260px}
.welcome-hero>.page-heading h1{font-size:56px}.welcome-hero>.page-heading p{max-width:62%;font-size:11px;color:#c2c3b6}
.field label,.field>span{color:#cfcbba;font-weight:400;font-size:11px}
input,select,textarea{background:#151b19;border-color:#444a3c;color:#eee7d6;border-radius:7px;font-size:13px;min-height:45px}
.choice{background:#1a211d;color:#b5baaa;border-color:#404838;border-radius:6px;font-size:11px;padding:11px 14px}
.choice.selected{background:#d8b98015;color:#efd6a6;border-color:#bba16a}
.notice{background:#bda26b0c;border:1px solid #a58d5d32;border-radius:8px;color:#bdb8a7;font-size:11px;line-height:1.8}.notice.error{background:#7b3b2e30;color:#edb4a0}
.program-card{background:#1b2220;border-color:#3c4438;border-radius:10px}.program-card summary{padding:20px}.program-card summary p{font-size:10px}.day-letter{background:#bda26b0b;border:1px solid #bda26b33;color:#dfc897;border-radius:6px;font-size:32px}.program-card summary .pill{font-size:8px}
.exercise-card{background:#1c2320;border:1px solid #3c4538;border-radius:10px}.exercise-card[open]{border-color:#9e87546e;box-shadow:0 6px 25px #0002}.exercise-card summary{padding:17px}.exercise-card summary h3{font-size:13px}.exercise-card summary p{font-size:10px}.exercise-card.completed .exercise-num{background:#d8b980;color:#1d2820;border-color:#d8b980}.exercise-body{padding:0 17px 17px}
.workout-progress p{font-size:10px}.progress-track{background:#343d30;height:4px}.progress-track progress{accent-color:#d8b980}progress::-webkit-progress-bar{background:#343d30}progress::-webkit-progress-value{background:#d8b980}
.technique-button{font-size:11px;color:#d7bd86}.set-labels{font-size:9px}.set-row input{font-family:"Golos Text",sans-serif;font-size:15px;font-variant-numeric:tabular-nums;color:#f0eadb;background:#111916;border-color:#454f3e;border-radius:7px}
.set-row.finished input{background:#899a6310;border-color:#7180554d;color:#d6daba}
.set-check{background:#242e25;border-color:#55614480;border-radius:7px;color:#9da789}.set-check.checked{background:#d8b980;border-color:#d8b980;color:#25301e}
.last-time{font-size:10px;color:#acb39c}.exercise-actions{border-color:#394532}.exercise-actions button{font-size:10px;color:#b5bf9c}
.rest-bar{background:#303d2d;border:1px solid #8b9d6255;color:#e0e5ce;border-radius:9px}.rest-bar strong{font-size:19px;color:#ead6a6}.rest-bar button{color:#dcc392}.rest-bar>.span,.rest-bar>span{display:flex;align-items:center;gap:8px}
.stat{background:#20291f;border:1px solid #515e3c55;border-radius:10px}.stat strong{font-family:"Cormorant Garamond",serif;font-size:44px;color:#d8c191}.stat span{font-size:10px}
.history-card{background:#1b2320;border-color:#3d493a;border-radius:9px}.history-date strong{font-family:"Cormorant Garamond",serif;color:#dfc794}.history-card h3{font-size:13px}
.empty{background:#1b231d;border:1px dashed #6a795055}.empty h2{font-size:32px}.empty p{font-size:12px}
.proposal{border:1px solid #a88f5755;background:linear-gradient(135deg,#302e21,#20251e);border-radius:10px}.proposal h3{font-family:"Cormorant Garamond",serif;color:#e5cd9b;font-size:26px}.proposal p{font-size:12px;color:#c9cabb}.proposal details{color:#c6cbb5}
dialog{background:#1b221f;border:1px solid #a58e5f77;border-radius:12px;box-shadow:0 20px 90px #0008}dialog::backdrop{background:#050b09aa}.dialog-head{background:#1b221f;border-color:#414a37}.dialog-head h2{font-size:31px;color:#e3cea5}.close{background:#2b3429;color:#c5cbb4}.dialog-body p{font-size:12px;line-height:1.8}.dialog-body ol{font-size:12px}.dialog-body a{color:#e0c391}
.bubble{background:#273025;border:1px solid #46533a55;color:#cdd2be;font-size:12px;line-height:1.8;border-radius:9px}.bubble.user{background:#bca16b18;border-color:#bca16b44;color:#ebd6af}.quick-prompts button{border-color:#596444;border-radius:6px;color:#c9d1b6;font-size:10px}
#toast{background:#ded0ab;color:#20281b;border:1px solid #d8bd84;border-radius:8px;font-size:12px}
.member-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.member-row .grow{flex:1}.member-row p{font-size:10px;color:var(--muted)}.members-list{margin:14px 0 25px}
.entrance{max-width:530px;margin:8vh auto;background:linear-gradient(180deg,#14181866,#141818),url('/assets/alatyr-stone.png') 70% 0/cover;border:1px solid #a58e5f55;border-radius:12px;padding:34px}.entrance .brand{margin-bottom:140px}.entrance h1{font-size:47px}.entrance p{color:#b7b9ac;font-size:12px;line-height:1.9}.entrance .eyebrow{font-size:9px}
@media(min-width:1000px){.home-columns{grid-template-columns:1.25fr 1fr;gap:24px}.home-right .week-card{padding:20px}.home-right .day-circle{width:30px;height:30px}.home-right .assistant-card{padding:20px}.home-columns .section-top{margin-top:0}}
@media(max-width:760px){
  .app-shell{display:block}.workspace{padding:23px 19px calc(100px + env(safe-area-inset-bottom))}.topbar{margin-bottom:29px}
  .sidebar{background:#161e1cf5;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #a58e5f3d}
  .mobile-brand.brand{font-size:26px;letter-spacing:2.4px;gap:9px}.mobile-brand .brand-mark{width:33px;height:33px;border-radius:0}.avatar{width:33px;height:33px;font-size:19px}
  .nav button{font-size:9px;padding:8px 0;gap:5px}.nav button.active{box-shadow:inset 0 -2px #d7b77b;background:#d8b98009;color:#dfc394;border-radius:4px}
  h1{font-size:43px}.page-heading p{font-size:11px}.page-heading .eyebrow{font-size:8px}
  .hero.stone-hero{min-height:327px;padding:22px;background-position:63% 50%;background-image:linear-gradient(90deg,#10191ce8 0%,#111a1ca6 42%,#11191a18 100%),url('/assets/alatyr-stone.png')}
  .hero-copy{width:72%;margin-top:30px}.hero h2{font-size:40px}.hero p{font-size:10px;line-height:1.9}.hero .button{font-size:11px;padding:13px 16px;min-height:45px;margin-top:22px}.hero-label{right:19px;bottom:18px;font-size:8px}.hero-kicker{font-size:7px;letter-spacing:1.7px}
  .rune-divider{font-size:6px;letter-spacing:1.2px;gap:8px;margin:24px 0}.section-top h2{font-size:25px}.home-columns .section-top{margin-top:24px}.home-columns .home-left>.section-top{margin-top:0}
  .exercise-preview h3{font-size:12px}.exercise-preview p{font-size:10px}.exercise-list{padding:0 15px}
  .welcome{padding:22px}.welcome-hero>.page-heading{padding:27px 23px 30px;min-height:270px;background-position:63% 50%}.welcome-hero>.page-heading h1{font-size:49px}.welcome-hero>.page-heading p{max-width:66%;font-size:10px}
  .rest-bar{bottom:84px}.dialog-head{padding:18px 20px 14px}.dialog-body{padding:20px}.entrance{margin:20px 15px;padding:26px}.entrance h1{font-size:43px}.entrance .brand{margin-bottom:100px}
}
@media(max-width:360px){.workspace{padding-left:14px;padding-right:14px}.hero.stone-hero{padding:20px}.hero-copy{width:82%}.hero h2{font-size:36px}.hero-kicker{font-size:6px}h1{font-size:39px}.welcome-hero>.page-heading{padding:25px 18px}.mobile-brand.brand{font-size:23px}.pill{font-size:8px}.rune-divider{font-size:5px}}
/* Functional text stays readable on a phone, even with ornamental headings. */
.exercise-preview h3,.exercise-card summary h3,.history-card h3{font-size:14px}
.exercise-preview p,.exercise-card summary p,.hero p,.week-head p,.week-foot,.assistant-card p,.optional p,.last-time,.field label,.field>span{font-size:12px}
.button,.choice,.technique-button,.exercise-actions button,.text-button{font-size:13px}
.dialog-body p,.dialog-body ol,.bubble,.notice{font-size:14px}
.set-labels,.nav button{font-size:11px}.hero-copy{width:75%}.hero .button{font-size:13px}
.video-resource{display:block;padding:16px;margin:12px 0;border:1px solid #bca36e55;border-radius:8px;text-decoration:none;background:#c9ae7609}
.video-resource h3{font-size:15px;line-height:1.5;margin:8px 0}.video-resource p{color:#b9beac;font-size:12px}.video-resource>span:last-child{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px}
.manual-search{margin-top:22px;font-size:13px}.manual-search summary{cursor:pointer;padding:10px 0}.manual-search .button{margin-right:6px;font-size:12px}
.bubble{overflow-wrap:anywhere}
.brand-mark{flex-shrink:0}
@media(min-width:761px){.sidebar .brand{font-size:24px;letter-spacing:2px;gap:9px}.sidebar .brand-mark{width:30px;height:30px}}
.bubble a{color:#e2c68e;text-decoration:underline;text-underline-offset:3px}
.answer-feedback{display:block;margin-top:10px;padding:5px 0;color:#b9ae92;font-size:11px;text-decoration:underline;text-underline-offset:3px;min-height:32px}
.diagnostic-code{white-space:pre-wrap;overflow-wrap:anywhere;max-height:48vh;overflow:auto;padding:14px;background:#101713;border:1px solid var(--line);border-radius:7px;font-size:11px;line-height:1.6;color:#c8cfbc}
.diagnostic-row{align-items:flex-start}.diagnostic-row h3{font-size:13px;line-height:1.55;margin:7px 0;overflow-wrap:anywhere}
.diagnostic-row p{font-size:11px}.equipment-summary{line-height:1.6}
#feedback-form textarea{margin:10px 0;font-size:16px}
/* The stone remains the visual anchor; working controls take precedence. */
.exercise-preview[data-technique]{width:100%;text-align:left;color:inherit;background:transparent;cursor:pointer}
.exercise-preview[data-technique]:hover{background:#d8b98008}
.exercise-preview[data-technique]:focus-visible{outline:2px solid #d8b980;outline-offset:-2px}
.route-fold{border:1px solid var(--line);border-radius:9px;margin:14px 0;background:#1c232080;overflow:hidden}
.route-fold>summary,.warmup-fold>summary{padding:15px 16px;cursor:pointer;font-size:13px;line-height:1.5;color:#d9c7a3}
.route-fold .exercise-list{border:0;background:transparent;padding:0 14px}
.plan-note .notice{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}
.compact-home .hero-copy>.button.secondary{margin-left:8px;background:#131c18c9;color:#e4cc9f;border:1px solid #a98c56}
.compact-workout .page-heading{margin-bottom:12px}
.handoff-button{margin:0 0 12px;min-height:44px}
.warmup-fold{margin:10px 0 15px;border-bottom:1px solid var(--line)}
.warmup-fold>summary{padding:10px 0;color:var(--muted);font-size:12px}
.warmup-fold .notice{margin:0 0 12px;font-size:12px}
.exercise-body>[data-save-values]{min-height:44px;padding:9px 0;color:#d7bf91;font-size:12px}
.exercise-more{border-top:1px solid var(--line);margin-top:4px}
.exercise-more>summary{cursor:pointer;font-size:13px;min-height:44px;display:flex;align-items:center;color:#c5c5b4}
.exercise-more .exercise-actions{margin:0;padding:0 0 6px;border:0;gap:6px}
.exercise-actions button{min-height:44px;border:1px solid #68734e44;border-radius:6px;padding:9px 12px}
.profile-fold>.welcome{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}
.workout-back{margin-bottom:8px;min-height:36px}
.workout-dock .dock-done{flex:1.5}
.workout-dock [data-action="workout-menu"]{flex:0 0 48px!important;background:transparent;color:#dcc89f;border-color:#766748;font-size:25px}
.compact-home .home-right .footer-note{margin-bottom:0}
@media(max-width:760px){
  .workspace{padding:14px 16px calc(72px + env(safe-area-inset-bottom))}
  .sidebar{padding:3px 8px calc(3px + env(safe-area-inset-bottom))}
  .nav button{padding:5px 0;gap:2px;min-height:44px;font-size:9px;line-height:1.15}
  .nav .icon{width:18px;height:18px}
  .nav button.active{box-shadow:none;border-radius:5px;background:#d8b98008}
  .topbar{margin-bottom:18px;min-height:34px}
  .mobile-brand.brand{font-size:24px}
  .mobile-brand .brand-mark{height:29px;width:29px}
  .page-heading{margin-bottom:16px}
  h1{font-size:35px;line-height:1.1}
  .page-heading .eyebrow{font-size:9px;margin-bottom:7px;letter-spacing:1.3px}
  .page-heading p{font-size:12px;margin-top:7px}
  .compact-home .page-heading h1{font-size:32px}
  .compact-home .page-heading p,.compact-home .rune-divider{display:none}
  .hero.stone-hero{min-height:218px;padding:18px 20px;background-position:65% 49%;margin-bottom:14px}
  .hero-kicker{font-size:7px;letter-spacing:1.1px;gap:7px}
  .hero-kicker svg{width:20px;height:20px}
  .hero-copy{margin-top:17px;width:100%}
  .hero h2{font-size:33px;margin:6px 0 7px;max-width:70%}
  .hero p{font-size:12px;line-height:1.55;max-width:72%}
  .hero .button{margin-top:16px;padding:12px 14px;min-height:46px;font-size:12px}
  .hero-label{display:none}
  .week-compact{padding:12px 14px;border-color:#48513b66;margin-bottom:15px}
  .week-compact .week-head{margin-bottom:8px;align-items:center}
  .week-compact .week-head p,.week-compact .week-foot{display:none}
  .week-compact .week-head h3{font-size:12px}
  .week-compact .week-head strong{font-family:"Golos Text",sans-serif;font-size:16px}
  .week-compact .week-days{gap:3px}
  .week-compact .week-day{gap:5px;font-size:9px}
  .week-compact .day-circle{width:28px;height:28px;font-size:12px}
  .compact-home .home-columns{display:block}
  .compact-home .route-fold{margin-top:0}
  .compact-home .optional{padding:12px 14px;margin-top:12px}
  .compact-home .optional .eyebrow,.compact-home .optional p{display:none}
  .compact-home .assistant-card{margin-top:12px;padding:13px 14px;gap:12px}
  .assistant-card h3{font-size:23px}
  .assistant-card p{font-size:12px}
  .compact-home .footer-note{display:none}
  .welcome-hero>.page-heading{min-height:165px;padding:18px 21px}
  .welcome-hero>.page-heading h1{font-size:39px}
  .welcome-hero>.page-heading p{font-size:12px;max-width:75%}
  .welcome{margin-top:14px;padding:18px}
  .welcome h2{font-size:29px;margin-bottom:8px}
  .welcome>p{margin-bottom:16px}
  .field{margin-bottom:16px}
  .field label,.field>span{font-size:12px}
  input,select,textarea{font-size:16px}
  .choice{min-height:44px;font-size:12px;padding:10px 12px}
  .compact-plan .page-heading p{font-size:12px}
  .program-card summary{padding:15px;gap:11px}
  .day-letter{width:38px;height:42px;font-size:29px;flex-shrink:0}
  .program-card summary h3{font-size:14px}
  .program-card summary p{font-size:11px}
  .program-card .inside{padding:0 15px 15px}
  body[data-view="workout"] .sidebar{display:none}
  body[data-view="workout"] .topbar{display:none}
  .compact-workout .page-heading>.eyebrow{display:none}
  body.keyboard-open .sidebar,body.keyboard-open .workout-dock{display:none}
  body[data-view="workout"] .workspace{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .compact-workout{padding-bottom:8px}
  .compact-workout .page-heading h1{font-size:33px}
  .compact-workout .page-heading>p{display:none}
  .compact-workout .workout-progress{margin:8px 0 9px}
  .compact-workout .workout-progress p{font-size:11px}
  .handoff-button{min-height:44px;font-size:13px;width:100%;margin-bottom:7px}
  .exercise-card{margin:10px 0}
  .exercise-card summary{padding:14px;gap:10px}
  .exercise-card summary h3{font-size:14px}
  .exercise-card summary p{font-size:11px}
  .exercise-body{padding:0 14px 12px}
  .set-labels,.set-row{grid-template-columns:20px minmax(0,1fr) minmax(0,1fr) 48px;gap:8px}
  .set-row{margin:9px 0}
  .set-row input,.set-check{height:48px;min-height:48px}
  .set-check{width:48px}
  .set-row input{font-size:17px}
  .technique-button{min-height:44px;padding-bottom:8px;font-size:13px}
  .workout-dock{position:fixed;left:10px;right:10px;bottom:calc(6px + env(safe-area-inset-bottom));z-index:19;padding:6px;background:#1b241ef5;border:1px solid #b69a5c66;border-radius:9px;box-shadow:0 -4px 24px #0005;gap:7px;margin:0;backdrop-filter:blur(10px)}
  .workout-dock .button{font-size:12px;min-height:44px;padding:9px}
  .compact-workout .rest-bar{position:sticky;top:8px;bottom:auto;z-index:18;margin:10px 0;padding:5px 12px;min-height:39px;box-shadow:none}
  .compact-workout .rest-bar strong{font-size:17px}
  .compact-workout .footer-note{display:none}
  .compact-settings>.welcome{padding:18px}
  .compact-settings .form-grid{grid-template-columns:1fr}
  .compact-settings .members-panel>.eyebrow,.compact-settings .members-panel>p{display:none}
  .compact-settings .members-panel h2{font-size:27px}
  .stats{gap:10px;margin-bottom:17px}
  .stat{padding:15px}.stat strong{font-size:34px}
  .history-card{padding:14px;gap:10px}
  .history-card .pill{font-size:9px;padding:6px}
  .dialog-head h2{font-size:27px}
  dialog{max-height:90dvh}
  .dialog-body{padding:16px 18px}
  .close{width:44px;height:44px}
  .chat-form input{font-size:16px}
}
@media(max-width:360px){
  .workspace{padding-left:12px;padding-right:12px}
  .hero.stone-hero{padding:17px 16px}
  .hero .button{padding:11px 12px;font-size:11px}
  .compact-home .hero-copy>.button.secondary{margin-left:5px}
  .mobile-brand.brand{font-size:22px;letter-spacing:1.7px}
}
