:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14251d;background:#eef2e9;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 0,#d8f59c 0,transparent 32%),linear-gradient(135deg,#f6f8f2,#e7eee2)}a{color:#1d6544}.shell{width:min(100% - 32px,1080px);margin:0 auto;padding:28px 0 56px}.brand{display:inline-flex;align-items:center;gap:12px;color:#14251d;text-decoration:none}.brand-mark{display:grid;width:44px;height:44px;place-items:center;border-radius:14px;background:#c4f15c;color:#173226;font-size:20px}.brand b,.brand small{display:block}.brand b{font-size:20px}.brand small{margin-top:2px;color:#6e7b74;font-size:10px;font-weight:800;letter-spacing:.08em}.hero,.card{margin:clamp(48px,9vh,110px) auto 0}.hero{max-width:760px;text-align:center}.hero h1{font-size:clamp(38px,7vw,72px);line-height:1.02;margin:14px 0}.hero p{max-width:650px;margin:0 auto;color:#56665e;font-size:18px}.eyebrow{color:#567820;font-size:12px;font-weight:900;letter-spacing:.15em}.actions{display:flex;justify-content:center;gap:12px;margin-top:30px}.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;padding:0 20px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.button.primary{background:#13271e;color:#fff}.button.secondary{border-color:#b8c4bc;background:#fff;color:#173226}.button.danger{border-color:#e6b8b3;background:#fff2f0;color:#9b3027}.button.full{width:100%}.button:disabled{cursor:not-allowed;opacity:.5}.card{width:min(100%,600px);border:1px solid #d7dfd4;border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 24px 70px rgba(33,60,43,.13);padding:clamp(24px,5vw,42px)}.card-heading h1{margin:7px 0 6px;font-size:34px}.card-heading p,.hint,.alternate{color:#65736b}.form{display:grid;gap:16px;margin-top:28px}.form.compact{margin-top:18px}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:grid;gap:7px;font-size:13px;font-weight:800}input{width:100%;min-height:48px;border:1px solid #cbd5ce;border-radius:11px;background:#fff;padding:0 13px;font:inherit;color:#14251d}input:focus{outline:3px solid rgba(150,207,62,.28);border-color:#6b942e}.check{display:flex;grid-template-columns:auto 1fr;align-items:flex-start;gap:10px;font-weight:600}.check input{width:18px;min-height:18px;margin-top:2px}.notice{border-radius:11px;padding:12px 14px;font-size:14px}.notice.success{background:#e6f5df;color:#234d2d}.notice.warning{background:#fff5d5;color:#694f00}.notice.error{background:#ffe8e5;color:#7f241b}.notice ul{margin:0;padding-left:19px}.hint{margin:0;font-size:13px}.alternate{text-align:center;margin:22px 0 0}.dashboard{margin:46px auto 0}.dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.dashboard-head h1{margin:5px 0 0;font-size:clamp(32px,5vw,50px)}.account-actions,.settings-actions{display:flex;gap:10px}.account-actions form{margin:0}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.summary-card,.settings-card,.empty-state{border:1px solid #d7dfd4;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 16px 45px rgba(33,60,43,.08)}.summary-card{display:grid;gap:5px;padding:22px}.summary-card span{color:#718078;font-size:11px;font-weight:900;letter-spacing:.1em}.summary-card strong{font-size:28px}.summary-card small{color:#65736b}.empty-state{margin-top:18px;padding:56px 24px;text-align:center}.empty-state h2{margin:10px 0 5px}.empty-state p{margin:0;color:#65736b}.empty-icon{font-size:38px;color:#6e982c}.settings-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(420px,1.25fr);gap:18px}.settings-card{padding:26px}.settings-card h2{margin:7px 0 8px}.settings-card>p{color:#65736b}.details{margin:24px 0 0}.details div{display:grid;gap:3px;padding:13px 0;border-top:1px solid #e2e8e1}.details dt{color:#718078;font-size:11px;font-weight:900;text-transform:uppercase}.details dd{margin:0;font-weight:700;overflow-wrap:anywhere}.qr-code{display:inline-grid;margin:16px 0;padding:12px;border:1px solid #d7dfd4;border-radius:16px;background:#fff}.qr-code svg{display:block;max-width:192px;height:auto}.secret-key code,.recovery-codes code{overflow-wrap:anywhere}.recovery-codes{margin-top:20px;border-radius:14px;background:#f1f5ed;padding:16px}.recovery-codes p{margin:4px 0 12px;color:#65736b}.recovery-codes ul{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0;padding:0;list-style:none}.settings-actions{align-items:flex-end;margin-top:18px}.settings-actions form{flex:1}.settings-actions .button{width:100%}@media(max-width:760px){.dashboard{margin-top:30px}.dashboard-head{align-items:flex-start;flex-direction:column}.account-actions{width:100%;flex-wrap:wrap}.dashboard-grid,.settings-grid{grid-template-columns:1fr}.settings-actions{align-items:stretch;flex-direction:column}.recovery-codes ul{grid-template-columns:1fr}}@media(max-width:600px){.shell{width:min(100% - 24px,1080px);padding-top:18px}.grid.two{grid-template-columns:1fr}.card{margin-top:34px;border-radius:18px;padding:22px}.actions{flex-direction:column}.brand small{font-size:9px}}@media(max-width:430px){.account-actions,.account-actions form,.account-actions .button{width:100%}.summary-card,.settings-card{border-radius:16px;padding:18px}.empty-state{padding:38px 18px}.dashboard-head h1{font-size:34px}}
.settings-card,.form,label,input{min-width:0}.settings-grid.account-change-grid{margin-top:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.form select,.form textarea{width:100%;min-width:0;max-width:100%;border:1px solid #cbd5ce;border-radius:11px;background:#fff;padding:12px 13px;font:inherit;color:#14251d}.form textarea{resize:vertical}.form select:focus,.form textarea:focus{outline:3px solid rgba(150,207,62,.28);border-color:#6b942e}@media(max-width:760px){.settings-grid.account-change-grid{grid-template-columns:1fr}}
@media(max-width:390px){.shell{width:calc(100% - 16px)}.shell .card{padding:12px}}
.auth-scenic{background:#13271e}.auth-scenic::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(10,27,20,.3),rgba(10,27,20,.12) 45%,rgba(10,27,20,.5)),var(--auth-landscape) center/cover no-repeat}.auth-cycling{--auth-landscape:url("auth-mountain-cycling-v1.jpg")}.auth-running{--auth-landscape:url("auth-mountain-running-v1.jpg")}.auth-scenic .shell{position:relative}.auth-scenic .brand{padding:10px 14px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(13,33,24,.85);color:#fff}.auth-scenic .brand small{color:#dce8d7}.auth-scenic .card{margin-top:clamp(32px,6vh,76px);background:rgba(255,255,255,.97);border-color:rgba(255,255,255,.7);box-shadow:0 24px 80px rgba(0,0,0,.28)}.auth-scenic .card-heading h1{line-height:1.15;font-size:clamp(28px,4vw,34px)}.auth-scenic .button.primary:hover{background:#254833}.auth-scenic .button:focus-visible,.auth-scenic a:focus-visible{outline:3px solid #81a93e;outline-offset:4px}@media(max-width:600px){.auth-scenic::before{background-position:67% center}.auth-scenic .brand{padding:8px 10px;gap:10px}.auth-scenic .card{margin-top:30px}.auth-scenic .card-heading p{font-size:14px}.auth-scenic .button.full{padding:10px 14px;font-size:14px}}
.brand-mark{width:72px;height:48px;flex:0 0 72px;background:none;border-radius:0}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}@media(max-width:600px){.brand-mark{width:57px;height:38px;flex-basis:57px}.brand{gap:9px}}
.auth-night{--auth-landscape:url("auth-night-trail-v1.jpg");background:#101d30}.auth-night::before{background:linear-gradient(90deg,rgba(8,18,32,.03),rgba(8,18,32,.03) 55%,rgba(8,18,32,.14)),var(--auth-landscape) center/cover no-repeat}.auth-night .shell{width:min(calc(100% - 48px),1280px);padding:24px 0 36px}.auth-night .brand{background:rgba(12,25,35,.84);border-color:rgba(230,241,255,.24)}.auth-night .card{width:min(100%,460px);margin:24px 0 0 auto;padding:24px;background:rgba(255,255,255,.97);border-color:rgba(255,255,255,.85);box-shadow:0 24px 80px rgba(0,0,0,.3)}.auth-night .card-heading p{font-size:14px;line-height:1.6;margin:10px 0 0}.auth-night .form{margin-top:18px;gap:14px}.auth-night .alternate{margin-top:14px;font-size:14px}.auth-night .button.primary{background:#c4f15c;color:#173226}.auth-night .button.primary:hover{background:#b4e74e}.auth-night .button.primary:active{background:#a7d83e}.auth-night .button:focus-visible,.auth-night a:focus-visible{outline-color:#6b942e}@media(max-width:760px){.auth-night::before{background-position:30% center}.auth-night .shell{width:calc(100% - 24px);padding:16px 0 28px}.auth-night .card{margin:24px auto 0;padding:22px}.auth-night .brand{max-width:100%}.auth-night .brand small{letter-spacing:.04em}}@media(max-width:390px){.auth-night .shell{width:calc(100% - 20px)}.auth-night .card{padding:20px}.auth-night .brand{gap:8px}.auth-night .brand small{font-size:8px}}

.auth-panorama{--auth-landscape:url("auth-panorama-v1.jpg");background:#26382b;isolation:isolate}.auth-panorama::before{z-index:-2;inset:0;background:var(--auth-landscape) 42% center/auto 104% no-repeat;animation:auth-panorama-drift 48s ease-in-out infinite}.auth-panorama::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(15,30,23,.3),rgba(15,30,23,.04) 65%,rgba(15,30,23,.08))}.auth-panorama .shell{width:min(calc(100% - 64px),1280px);padding:28px 0 44px}.auth-panorama .brand{background:rgba(16,34,25,.84);backdrop-filter:blur(12px)}.auth-panorama .card{width:min(100%,480px);margin:28px 0 0;padding:30px;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.8);box-shadow:0 24px 80px rgba(10,25,18,.24);backdrop-filter:blur(16px)}.auth-panorama .card-heading p{font-size:14px;line-height:1.65}.auth-panorama .form{gap:14px;margin-top:22px}.auth-panorama .alternate{font-size:14px;margin-top:16px}.auth-panorama .button.primary{background:#c4f15c;color:#173226;box-shadow:0 5px 18px rgba(104,143,39,.14);transition:background .2s,box-shadow .2s}.auth-panorama .button.primary:hover{background:#b8e94e;box-shadow:0 7px 22px rgba(104,143,39,.24)}@keyframes auth-panorama-drift{0%,100%{background-position:42% center;background-size:auto 104%}25%{background-position:48% center;background-size:auto 109%}50%{background-position:58% center;background-size:auto 105%}75%{background-position:50% center;background-size:auto 110%}}@media(min-aspect-ratio:5/1){.auth-panorama::before{background-size:110% auto;animation-name:auth-panorama-wide-drift}}@keyframes auth-panorama-wide-drift{0%,100%{background-position:42% center;background-size:104% auto}25%{background-position:48% center;background-size:109% auto}50%{background-position:58% center;background-size:105% auto}75%{background-position:50% center;background-size:110% auto}}@media(max-width:760px){.auth-panorama::before{background-position:42% center}.auth-panorama .shell{width:calc(100% - 24px);padding:18px 0 32px}.auth-panorama .card{margin:24px auto 0;padding:24px}.auth-panorama .brand{max-width:100%}.auth-panorama .brand small{letter-spacing:.03em}}@media(max-width:390px){.auth-panorama .card{padding:20px}.auth-panorama .brand small{font-size:8px}}@media(prefers-reduced-motion:reduce){.auth-panorama::before{animation:none;will-change:auto}.auth-panorama .button.primary{transition:none}}
