
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--pm-bg:#090f1c;--pm-surface:#131e30;--pm-surface-2:#17253b;--pm-border:#293751;--pm-text:#f5f8ff;--pm-muted:#94a9c3;--pm-blue:#42a4ff;--pm-cyan:#66e7df;--pm-green:#5ad6a9;--pm-purple:#a9a1ff;color-scheme:dark}
html{scroll-behavior:smooth}*{box-sizing:border-box}body{background:radial-gradient(ellipse 700px 400px at 82% -5%,#153359 0,transparent 72%),var(--pm-bg);color:var(--pm-text);min-height:100vh;letter-spacing:.005em}
body:not(.pm-auth)::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(circle at 1px 1px,rgba(146,182,239,.12) 1px,transparent 0);background-size:27px 27px;opacity:.18}
body>header{height:79px;position:sticky;top:0;z-index:80;background:rgba(9,16,30,.94);backdrop-filter:blur(22px);border-bottom:1px solid #20314b;padding:12px clamp(18px,3vw,42px);display:flex;gap:17px;box-shadow:0 4px 24px #070f1b33}
header .brand{font-size:26px;font-weight:900;letter-spacing:-1.7px;color:#f8fbff;display:inline-flex;align-items:center;text-decoration:none;line-height:1}
header .brand span{color:var(--pm-cyan)}
header .tag{display:inline-flex;border:1px solid #294860;background:#152b3d;border-radius:100px;padding:7px 12px;letter-spacing:.13em;color:#9fdcd9;font-size:9px;font-weight:850;text-transform:uppercase}
header #headActions{margin-left:auto;display:flex;align-items:center}
header #headActions button,header #headActions .btn{background:#18283e!important;border:1px solid #30465f!important;color:#e6f2ff!important;border-radius:12px!important;padding:10px 15px!important;font-size:12px!important;font-weight:750}
header #headActions button:hover,header #headActions .btn:hover{border-color:#5d99c6!important}
.pm-head-dot{width:9px;height:9px;background:#70e2c7;border-radius:100%;box-shadow:0 0 12px #64f0d9}
main{max-width:1540px;margin:0 0 0 244px;padding:37px clamp(22px,4vw,58px) 95px;min-height:calc(100vh - 79px)}
main h1,main h2,main h3{color:#f9fbff;letter-spacing:-.035em}
main h1{font-weight:880;font-size:clamp(29px,4.4vw,51px);line-height:1.08;margin:10px 0 12px}
main h2{font-size:20px;font-weight:820}
main h3{font-size:16px;font-weight:780}
main p{color:#bacadf}
a,button,select,input,textarea{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
button,button.btn,.btn,form button{border-radius:12px;background:#2794e9;color:#fff;font-weight:740;min-height:43px;border:1px solid transparent;padding:11px 17px;box-shadow:none}
button:not(:disabled):hover,.btn:hover{filter:brightness(1.1)}
button:not(:disabled):active,.btn:active{transform:translateY(1px)}
button.ghost,.btn.ghost{background:#1c2c43!important;color:#dbe9f9!important;border:1px solid #35506c!important}
button:disabled{opacity:.55;cursor:not-allowed}
:focus-visible{outline:3px solid #78d4ff!important;outline-offset:3px!important}
#pm-nav{position:fixed;top:79px;bottom:0;left:0;z-index:50;width:244px;background:linear-gradient(180deg,#0e192a 0%,#0b1423 100%);border-right:1px solid #22334c;padding:31px 15px 24px;display:flex;flex-direction:column;gap:16px}
.pm-nav-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.19em;font-weight:800;color:#617c9f;padding:0 12px 4px}
#pm-nav .tabs{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin:0;padding:0;flex-wrap:nowrap}
#pm-nav .tabs button{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px!important;min-height:50px;background:transparent;border:1px solid transparent;border-radius:13px;color:#a5b9d0;font-size:14px;font-weight:720;letter-spacing:-.01em;text-align:left;white-space:nowrap}
#pm-nav .tabs button:hover{background:#1a2e46}
#pm-nav .tabs button[aria-pressed=true]{background:linear-gradient(105deg,#183e64,#17425b);color:#f2fbff;border-color:#275a7c;box-shadow:inset 3px 0 0 #58dded}
#pm-nav .tabs button[aria-pressed=true] svg{color:#79e7ed}
#pm-nav .tabs button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;flex-shrink:0}
.pm-nav-foot{margin-top:auto;padding:16px 13px;border-top:1px solid #26364e;font-size:12px;color:#7d94b0;line-height:1.6}
.pm-nav-foot strong{display:block;color:#e1efff;font-size:12px;letter-spacing:.04em}
main>.intro{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 88% 30%,rgba(55,177,219,.31),transparent 44%),linear-gradient(128deg,#183b70 0%,#132d58 46%,#10284a 100%);border:1px solid #2c5680;border-radius:26px;padding:38px 40px;display:flex;align-items:flex-start;gap:20px;justify-content:space-between;box-shadow:0 24px 65px #070d1926}
main>.intro::before{content:"";position:absolute;z-index:-1;right:-88px;top:-156px;width:390px;height:390px;border:1px solid #aadfff30;border-radius:50%;box-shadow:0 0 0 34px #f1fbff05,0 0 0 90px #f1fbff04}
main>.intro .eyebrow{color:#8eeae9;letter-spacing:.15em;font-size:11px;font-weight:850}
main>.intro p:not(.eyebrow){font-size:14px;max-width:640px;color:#bdd5ed;line-height:1.55;margin-bottom:0}
main>.intro>div:first-child{position:relative;max-width:74%}
main>.intro label{color:#d7eaff;font-size:11px;letter-spacing:.04em;width:176px;margin:0;font-weight:750;position:relative;z-index:2;background:#0b264872;border:1px solid #4d779c75;border-radius:15px;padding:12px 13px}
main>.intro label input{margin-top:7px;color:#fff;background:#11294b;border:1px solid #477394;border-radius:9px;padding:10px 9px;font-size:13px;min-height:40px}
.pm-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.pm-hero-actions button{display:inline-flex;align-items:center;gap:9px;background:#e9fdff!important;border-color:#e9fdff!important;color:#0b3155!important;min-height:43px;padding:10px 16px;border-radius:11px;font-size:13px}
.pm-hero-actions button.secondary{background:#ffffff12!important;color:#eefaff!important;border-color:#8dc2e05e!important}
.pm-hero-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
main>.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 25px}
main>.stats .stat{position:relative;overflow:hidden;min-width:0;min-height:145px;background:linear-gradient(148deg,#152238,#111d30);border:1px solid #2a3b56;border-radius:19px;padding:22px 22px 19px;box-shadow:0 8px 24px #060b1420}
main>.stats .stat:nth-child(2){background:linear-gradient(145deg,#162d3b,#102536)}
main>.stats .stat:nth-child(3){background:linear-gradient(145deg,#272139,#151d31)}
main>.stats .stat strong{font-size:clamp(25px,3.5vw,38px);font-weight:880;letter-spacing:-.05em;line-height:1.15;margin:3px 0 6px;color:#f9fbff;display:block}
main>.stats .stat span:not(.pm-stat-icon){color:#a6bad2;font-size:12px;font-weight:700;line-height:1.4}
.pm-stat-icon{position:absolute;right:19px;top:20px;width:39px;height:39px;border-radius:12px;background:#23609a48;color:#72d2f9;display:grid;place-items:center}
.pm-stat-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.stat:nth-child(2) .pm-stat-icon{background:#17645a55;color:#66e7cc}
.stat:nth-child(3) .pm-stat-icon{background:#594a7d55;color:#bea9fa}
.pm-meter{height:5px;border-radius:50px;background:#314057;overflow:hidden;margin-top:18px}
.pm-meter-fill{height:100%;border-radius:50px;background:linear-gradient(90deg,#53c2ff,#70ecdf);transition:width .4s ease}
main>.grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);gap:18px;margin-top:0}
main>.grid>.panel{min-width:0}
.panel{background:linear-gradient(160deg,#172338,#121e30);border:1px solid #2c3b54;border-radius:22px;padding:26px;box-shadow:0 10px 28px #070b1520}
.panel h2{font-size:19px;font-weight:850;margin-bottom:20px;display:flex;align-items:center;gap:11px;line-height:1.35}
.pm-card-icon{display:inline-grid;place-items:center;width:35px;height:35px;min-width:35px;color:#77dff0;background:#23425c;border-radius:11px}
.pm-card-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.panel p,.panel li{color:#afc0d6}
.panel .muted{color:#8ca2bc}
.entry{position:relative;background:#111e30;border:1px solid #30405a;border-radius:15px;padding:18px 18px 18px;margin:11px 0;line-height:1.5}
.entry:first-of-type{margin-top:6px}
.entry h3{font-size:16px;font-weight:810;margin-bottom:5px;padding-right:35px}
.entry strong{color:#f1f8ff}
.entry p{font-size:13px;color:#a9bed5}
.entry .muted{font-size:12px}
.entry button{font-size:12px;min-height:38px;padding:8px 13px;margin-top:5px}
.entry.pm-done{background:linear-gradient(140deg,#133b39,#122734);border-color:#2e8473}
.entry.pm-done::after{content:"✓";position:absolute;right:15px;top:17px;color:#85f1cb;font-size:18px;font-weight:800}
.pm-exercise-index{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:#67cde1;margin-bottom:8px}
.entry.pm-done .pm-exercise-index{color:#82eebd}
main .pill{border:1px solid #3a7c70;background:#193c3c;color:#8ff2d1;padding:4px 11px;border-radius:100px;font-size:11px;font-weight:780}
main label{color:#c6d6e9;font-size:12px;font-weight:740;letter-spacing:.015em}
main label input,main label textarea,main label select{margin-top:8px}
main input,main select,main textarea{background:#0d1728!important;border:1px solid #3a4d68!important;color:#eff6ff!important;border-radius:11px;min-height:45px;padding:11px 13px;accent-color:#53d8e0}
main textarea{min-height:100px}
main input::placeholder,main textarea::placeholder{color:#71869f}
main input:focus,main select:focus,main textarea:focus{border-color:#67cbe9!important;box-shadow:0 0 0 3px #67cbe91d}
main .pair{gap:14px}
main .notice{background:#213b53;color:#d3eaff;border:1px solid #3c6381;border-radius:12px}
main .error{color:#ffb9bc}
main .history button{margin:3px}
main details{background:#111d30;border:1px solid #31435d;border-radius:14px;padding:15px;margin-bottom:11px}
main summary{color:#e3ecf8}
#toast:not(:empty){position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#214a68;border:1px solid #5b9ebb;color:#fff;padding:13px 19px;border-radius:14px;box-shadow:0 14px 35px #0008;z-index:100;font-size:13px}
body.pm-auth #pm-nav{display:none}
body.pm-auth main{max-width:640px;margin:0 auto;padding-top:50px}
body.pm-auth .auth{max-width:520px;margin:5vh auto;padding:37px;border-radius:24px;background:linear-gradient(145deg,#1a2b47,#131d32);border-color:#344d6c;box-shadow:0 20px 60px #0004}
body.pm-auth .auth .eyebrow{color:#70e0df}
body.pm-auth .auth h1{font-size:clamp(27px,5vw,42px);letter-spacing:-.045em}
body.pm-auth .auth hr{border:0;border-top:1px solid #2f4259;margin-top:24px}
body.pm-auth .auth small{color:#95b1cd}
body.pm-auth #headActions{display:none}
.pm-rail-top{padding:4px 12px 17px}
.pm-rail-top .pm-rail-logo{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #3d7291;background:linear-gradient(145deg,#1b4f78,#126270);border-radius:13px;color:#ecfbff;margin-bottom:12px}
.pm-rail-logo svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}
.pm-rail-top strong{display:block;font-size:13px;color:#ecf4ff;letter-spacing:.02em}
.pm-rail-top span{display:block;font-size:11px;color:#8ca2bc;margin-top:4px}
.pm-mini-label{font-size:11px;font-weight:750;color:#aac1d8;letter-spacing:.09em;text-transform:uppercase}
@media(max-width:1040px){main{margin-left:206px;padding:26px 25px 85px}#pm-nav{width:206px}main>.intro{padding:30px 27px}main>.grid{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}main>.stats{gap:10px}}
@media(max-width:800px){body>header{height:70px;padding:10px 18px}header .brand{font-size:24px}header .tag{display:none}main{max-width:100%;margin-left:0;padding:21px 16px calc(130px + env(safe-area-inset-bottom));min-height:calc(100vh - 70px)}main>.intro{padding:28px 22px;border-radius:21px;flex-direction:column;gap:23px}main>.intro>div:first-child{max-width:100%}main>.intro label{width:min(100%,230px)}main>.intro h1{font-size:clamp(30px,7vw,41px)}main>.intro::before{right:-170px;top:-170px}main>.grid{grid-template-columns:minmax(0,1fr)}main>.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 20px}main>.stats .stat{min-height:123px;padding:15px 13px 12px;border-radius:15px}main>.stats .stat strong{font-size:25px;padding-top:18px}main>.stats .stat span:not(.pm-stat-icon){font-size:10px;line-height:1.3}.pm-stat-icon{width:27px;height:27px;top:10px;right:10px;border-radius:9px}.pm-stat-icon svg{width:15px;height:15px}.pm-meter{margin-top:12px}#pm-nav{top:auto;left:0;bottom:0;height:calc(76px + env(safe-area-inset-bottom));width:100%;z-index:75;border-right:0;border-top:1px solid #32425b;background:rgba(12,22,37,.97);backdrop-filter:blur(22px);padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -10px 32px #070e1b77}#pm-nav .pm-nav-eyebrow,#pm-nav .pm-nav-foot,#pm-nav .pm-rail-top{display:none}#pm-nav .tabs{flex-direction:row;justify-content:space-around;gap:0;align-items:stretch;width:100%;height:100%}#pm-nav .tabs button{flex:1;min-width:0;width:auto;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:0;padding:5px 2px!important;font-size:10px;letter-spacing:0;border-radius:11px;text-align:center;line-height:1.15}#pm-nav .tabs button svg{width:20px;height:20px}#pm-nav .tabs button[aria-pressed=true]{background:#153d58;color:#a1f2f4;box-shadow:inset 0 2px 0 #6de3e7;border-color:#305b70}#pm-nav .tabs button .pm-tab-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#toast:not(:empty){bottom:calc(100px + env(safe-area-inset-bottom));max-width:92vw}body.pm-auth main{padding:24px 15px 70px}}
@media(max-width:420px){main{padding:16px 12px calc(130px + env(safe-area-inset-bottom))}main>.intro{padding:23px 19px}main>.intro h1{font-size:32px}main>.intro p:not(.eyebrow){font-size:13px}.pm-hero-actions{margin-top:21px}.pm-hero-actions button{font-size:12px;padding:10px 13px}main>.stats{gap:7px}main>.stats .stat{padding:13px 10px 12px;min-height:115px}main>.stats .stat strong{font-size:21px;padding-top:21px}main>.stats .stat span:not(.pm-stat-icon){font-size:9.5px}.panel{padding:19px;border-radius:18px}main h2{font-size:18px}header #headActions button,header #headActions .btn{font-size:11px;padding:9px 12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
