/* A bright running notebook: roomy controls, paper-like cards, real achievements. */
@font-face{font-family:"M PLUS Rounded 1c";src:url("fonts/mplus-rounded-regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"M PLUS Rounded 1c";src:url("fonts/mplus-rounded-bold.ttf") format("truetype");font-style:normal;font-weight:700 900;font-display:swap}
:root{--blue:#245de9;--muted:#596e86;--ink:#203552;--yellow:#ffda45;--teal:#168579;--font-body:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Yu Gothic UI",Meiryo,sans-serif;--font-display:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Yu Gothic UI",Meiryo,sans-serif;font-family:var(--font-body);color:var(--ink);background:#eef7ff}
body{background-color:#eef7ff;background-image:radial-gradient(#c7deef 1px,transparent 1px);background-size:22px 22px;font-family:var(--font-body);font-size:16px;font-weight:400;line-height:1.75;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}p{font-size:1rem;line-height:1.85}h1,h2,h3,.brand,.primary,.metric,.huge{font-family:var(--font-display);font-weight:800;font-feature-settings:"palt" 1;letter-spacing:.015em}.huge,.metric,td strong,.formgrid input,.success .statrow strong{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;letter-spacing:0}
header{background:#fffefb;border-bottom:2px solid #dce8f2;height:96px;gap:18px}
.brand{font-size:26px;letter-spacing:.01em}.brandmark{border:2px solid #1646b1;box-shadow:3px 3px 0 #ffd646;border-radius:13px;transform:rotate(-7deg);margin-right:13px}.brand small{font-size:13px;letter-spacing:.03em;font-weight:700}
nav{gap:8px}nav button{display:flex;gap:8px;align-items:center;justify-content:center;border-radius:16px;box-shadow:none;padding:12px 16px;color:#536880;border:2px solid transparent;font-size:15px}
nav button.active{background:#fff0aa;border-color:#edc444;color:#403722;box-shadow:0 3px 0 #e3be49}nav button:hover{background:#e8f1ff}.nav-icon{font-size:20px;line-height:1.2}
.member select{background:#edf4ff;border:2px solid #dae6fa;font-weight:700;border-radius:15px}.member #settings{font-size:22px;color:#627990}
main{padding-top:27px}.pagehead{margin-bottom:28px;align-items:center}.pagehead>div{min-width:0}.eyebrow{letter-spacing:.08em!important;font-size:13px!important;font-weight:800;color:#476783!important}.pagehead .eyebrow{display:inline-flex;align-items:center;background:#fff;border:1px solid #dce7f3;border-radius:20px;padding:5px 13px;margin-bottom:6px;box-shadow:0 2px 0 #dce8f0}
h1{font-size:29px;line-height:1.5;font-weight:800;letter-spacing:.015em}h2{font-size:19px;line-height:1.65}.pagehead p{color:#57708c}
button{transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease}button:active{transform:translateY(2px)}.primary{border:2px solid #1846b1;box-shadow:0 5px 0 #1846b1;background:#2863ea;border-radius:17px;color:#fff;padding:14px 22px;font-size:16px}.primary:hover{background:#1652d7;box-shadow:0 6px 0 #1846b1;transform:translateY(-1px)}.primary:active{box-shadow:0 1px 0 #1846b1;transform:translateY(4px)}
.card{border:2px solid #dce7f1;border-radius:25px;box-shadow:0 5px 0 #dce7ef;background:#fff;padding:24px;overflow-wrap:anywhere}.cardhead{gap:10px}.cardhead h2{display:flex;align-items:center;gap:9px}.section-icon{font-size:21px;display:inline-grid;place-items:center;border-radius:12px;background:#edf3ff;flex-shrink:0;width:38px;height:38px}.link{color:#2759bd;font-weight:800;font-size:14px;white-space:normal}.tag{background:#fff0af;color:#5b490a;border:1px solid #edcd69;padding:5px 10px;font-size:12px;letter-spacing:.03em}
@media(min-width:901px){.cardhead h2{min-width:0;white-space:nowrap}.cardhead .link{flex-shrink:0;white-space:nowrap}}
.total{background:#ffda45;color:#263747;border:2px solid #e9bb31;box-shadow:0 6px 0 #e3b738;overflow:hidden}.total p{color:#53461f}.total-label{display:inline-flex;background:#fff9dd;border:1px solid #dfb33d;border-radius:30px;padding:4px 12px;font-size:14px;font-weight:800}.total .huge{font-size:76px;color:#213653;text-shadow:2px 3px 0 #fff2a6;margin:16px 0 9px}.total .huge span{font-weight:800;font-size:23px;text-shadow:none}.total .white{background:#fffdf4;border:2px solid #dbc043;color:#254bad;box-shadow:0 4px 0 #d6ad2c;border-radius:16px;margin-top:12px}.total .white:hover{background:#fff}.distance-next{margin-top:20px;padding:12px 0 0;border-top:2px dashed #d7ad32}.distance-next p{font-size:13px;margin:0 0 8px;line-height:1.6}.distance-next strong{font-size:16px}.distance-next progress{accent-color:#215adc;display:block}
.weekly-card{background:#f0faf3;border-color:#bce4ce;box-shadow:0 5px 0 #c5e5d2}.weekly-card .section-icon{background:#d3f0df}.weekly-card .tag{background:white;border-color:#b9ddc8;color:#32634a}.dots{gap:9px;margin:20px 0}.dot{width:39px;height:42px;border-radius:11px;border:2px dashed #adcfbb;background:#fbfffc;color:#608773;font-weight:800}.dot.done{background:#ffe17c;color:#805208;border:2px solid #e5ba43;box-shadow:0 3px 0 #e1bd62;transform:rotate(-5deg);font-size:23px}.dot.done:nth-child(even){transform:rotate(5deg)}.positive{color:#24633e;font-weight:700}.metric{font-size:34px;font-weight:800}
.growth-card{border-color:#dcd7f1;box-shadow:0 5px 0 #ded7f0}.growth-card .section-icon{background:#eee8fc}.growth-card .metric{color:#6942af}.chart .line{stroke:#7c55c8;stroke-width:3.5}.chart circle{stroke:#7c55c8;fill:#fff}.chart text{fill:#526984}.month-card{background:#fff2eb;border-color:#f3d0bc;box-shadow:0 5px 0 #f0d0bd}.month-card .section-icon{background:#ffe0cb}.month-card .metric{color:#af5020}.month-card .tag{background:white;border-color:#efc6ae;color:#8f421f}
.growth-card .cardhead{display:grid;grid-template-columns:1fr;gap:7px}.growth-card .cardhead .link{justify-self:end}
.journeycard{border-color:#b9deec;box-shadow:0 5px 0 #c0dfec}.journeycard .section-icon{background:#daf3f7}.maparea{background:#e1f5fd;border:2px solid #c0e1ec;border-radius:20px}.mapland{fill:#a8dcb5;stroke:#f9fff9;stroke-width:.8}.route{stroke:#6b948c;stroke-width:1.8}.mapcaption{background:#fffdf1;border:1px solid #e1cf8e;color:#675b24;border-radius:9px;padding:5px 9px;font-weight:700;z-index:1}.maptools{border:1px solid #c1dce8;border-radius:13px;box-shadow:0 3px 0 #b5d5e3}.maptools button{padding:7px 13px;color:#254e75}.maplegend{line-height:1.9;color:#526780}.journeycard progress{accent-color:#198b85}.journeycard .metric{color:#12736f}.timeline{border-left:3px dashed #c0d6e7}.timeline .reached{color:#167367}.divider{border-top:2px dashed #dfE7ef}
.journey-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:25px;align-items:start;margin-top:27px}.stamp-rally-card{background:#fffaf0;border-color:#f0d57b;box-shadow:0 5px 0 #ead998}.stamp-rally-card .section-icon{background:#fff0a8}.stamp-rally-card .tag{background:#fff;border-color:#e7c75c}.stamp-summary{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:20px 0 15px}.stamp-summary p{margin:0}.stamp-summary .metric{color:#a65a18}.stamp-sheet-number{background:#ffe383;border:2px solid #e0b946;border-radius:14px;padding:7px 11px;color:#6e4b12;font-size:14px;font-weight:800;transform:rotate(2deg)}.stamp-sheet-title{display:flex;justify-content:space-between;gap:12px;margin:0 0 11px;color:#5a6574;font-size:14px}.stamp-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:14px;background:#fff;border:2px dashed #e5c75f;border-radius:20px}.rally-stamp{aspect-ratio:1;min-width:0;display:grid;place-items:center;align-content:center;gap:2px;border:2px dashed #cbd5df;border-radius:50%;background:#f6f8fa;color:#78889b;font-weight:800}.rally-stamp>span{font-size:20px;line-height:1}.rally-stamp small{font-size:10px;white-space:nowrap}.rally-stamp.earned{background:#ffdf63;border:2px solid #e5b936;color:#604512;box-shadow:0 3px 0 #e6c45a;transform:rotate(-5deg)}.rally-stamp.earned:nth-child(even){transform:rotate(5deg)}.stamp-next{margin-top:16px;padding-top:12px;border-top:2px dashed #ead58b}.stamp-next p{margin:0 0 8px;font-size:14px}.stamp-next progress{accent-color:#ef932f}.stamp-rally-card .footnote{margin-bottom:0}
.bar{background:#bca4ec;border-radius:9px 9px 0 0}.barcol:nth-child(3n+2) .bar{background:#84cdbc}.barcol:nth-child(3n) .bar{background:#ffc979}.barcol:last-child .bar{background:#7956c4}.milestones{gap:13px}.milestone{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:82px;padding:15px 12px;background:#f4f6fa;border:2px dashed #cbd6e4;border-radius:20px;color:#697c91;font-size:14px;font-weight:800}.milestone .medal{font-size:25px;line-height:1.2}.milestone.earned{background:#fff0a6;color:#674611;border:2px solid #e9c653;box-shadow:0 4px 0 #e6c779;transform:rotate(-3deg)}.milestone.earned:nth-child(even){transform:rotate(3deg)}
.empty{border:2px dashed #d9e3ee;border-radius:18px;background:#f8fbff;padding:28px 16px;margin-top:22px;line-height:1.9;font-size:15px}.empty-symbol{display:block;font-size:31px;margin-bottom:10px}.tablewrap{margin-top:16px}th{font-size:13px;background:#f0f6fc;color:#526b83}th:first-child{border-radius:12px 0 0 12px}th:last-child{border-radius:0 12px 12px 0}td{font-size:14px}.tablewrap button{background:#edf4ff;border:1px solid #d4e3fb;border-radius:10px}
.onboarding{max-width:900px;display:grid;grid-template-columns:1fr 1.12fr;gap:32px;align-items:center;margin:24px auto;padding:38px;background:#fffefa;border-color:#d7e5f1}.welcome-art{min-height:220px;display:grid;place-items:center;background:#eef7ff;border-radius:28px;position:relative}.welcome-art img{width:100%;max-width:280px;aspect-ratio:1;object-fit:contain;border-radius:28px}.welcome-copy h2{font-size:28px;margin:8px 0 15px}.welcome-copy .eyebrow{color:#9a5d11!important}.welcome-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.welcome-pills span{font-size:12px;padding:6px 10px;border-radius:20px;background:#edf4ff;color:#395f91;font-weight:700}.welcome-pills span:nth-child(2){background:#f2eafb;color:#7553a4}.welcome-pills span:nth-child(3){background:#e4f4e9;color:#386a50}.welcome-intro{font-size:16px;line-height:1.9}.welcome-kicker{display:inline-block;border-radius:12px;background:#ffdf63;color:#634a0f;padding:7px 14px;transform:rotate(-4deg);box-shadow:0 3px 0 #e6c35b;font-size:14px;font-weight:800;position:absolute;bottom:9px;left:16px}.welcome-art:empty{min-height:0}.page-doodle{width:132px;height:112px;object-fit:cover;border-radius:22px;mix-blend-mode:multiply}.pagehead-visual{display:flex;align-items:center;gap:14px}.pagehead-visual .primary{white-space:nowrap}
dialog{border:2px solid #cfdef0;border-radius:28px;box-shadow:0 10px 0 #183f7638,0 25px 80px #183c6b33;background:#fffefa;padding:28px}dialog::backdrop{background:#294a7470;backdrop-filter:blur(5px)}dialog .eyebrow{color:#92671b!important}dialog .close{background:#eef3fa;border:1px solid #dbe4ee;border-radius:50%;width:44px;font-size:24px;line-height:1;margin:-14px -12px 0 0}dialog h2{line-height:1.55}.formgrid label{font-size:16px;color:#304c6c}.formgrid input,.formgrid select{background:#fff;border:2px solid #cfddeb;border-radius:14px;min-height:49px;font-size:16px}.formgrid input:focus,.formgrid select:focus{border-color:#4877dc}.subtle{background:#edf4ff;border:1px solid #cfdef5;color:#2f548c;border-radius:16px}.formgrid #live-pace{font-size:25px}.timeinputs{gap:10px}.timeinputs label{font-size:14px}.timeinputs input{text-align:center;font-weight:800;font-size:21px}.danger{background:#fff0f0;color:#a13043}.notice{border:1px solid #eac979}
.success{position:relative;isolation:isolate}.success .badge{background:#ffdf63;border:3px solid #e4b836;width:85px;height:85px;border-radius:24px;box-shadow:0 5px 0 #e8c556;transform:rotate(-7deg);font-size:43px;margin-top:20px}.success h2{font-size:32px;margin-bottom:3px}.success .huge{font-size:65px;color:#245bce;margin:16px 0}.success .subtle{background:#fff1b5;border:1px solid #e8ce76;color:#684c12;font-weight:700;text-align:left}.success .statrow{background:#eef4fd;padding:15px;border-radius:17px}.success .statrow p{margin:0 0 5px;font-size:14px}.success .statrow strong{font-size:21px}.celebration{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.confetti{position:absolute;left:var(--x);top:0;width:8px;height:14px;background:var(--c);border-radius:2px;opacity:0;animation:confetti-drop 1.5s ease-out var(--delay) both}.success .badge{animation:stamp-in .45s cubic-bezier(.2,1.4,.5,1) both}
@keyframes confetti-drop{0%{opacity:0;transform:translateY(-20px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(380px) rotate(230deg)}}@keyframes stamp-in{0%{opacity:0;transform:scale(.65) rotate(-18deg)}100%{opacity:1;transform:scale(1) rotate(-7deg)}}
#toast{background:#224a77;border:2px solid #fff;border-radius:17px;box-shadow:0 4px 0 #173b652b;font-size:15px}.footnote{font-size:13px;line-height:1.85}.maplegend{font-size:14px}.mapcaption{font-size:13px}.grid2{margin-top:27px;gap:25px}.dashboard{gap:25px}.stack{gap:25px}
@media(min-width:1300px){.journeycard{grid-row:auto}}
@media(max-width:1190px){.brand small{display:none}header{gap:10px}nav button{padding:11px 12px}.page-doodle{width:106px;height:96px}.pagehead-visual{gap:5px}.dashboard{grid-template-columns:1fr 1fr}.dashboard>.stack{grid-column:auto}.dashboard>.stack:last-child{grid-column:1 / -1;grid-template-columns:1fr 1fr}.journeycard{grid-row:auto}}
@media(max-width:900px){h1{font-size:25px}.page-doodle{display:none}.brand{font-size:23px}nav{gap:2px}nav button{padding:11px 9px;font-size:14px}.nav-icon{font-size:18px}.member select{max-width:120px}.onboarding{padding:28px;gap:22px}.welcome-copy h2{font-size:24px}.cardhead{flex-wrap:wrap}.journeycard .cardhead{flex-wrap:nowrap}}
@media(max-width:900px){.journey-layout{grid-template-columns:1fr;margin-top:23px}.journey-layout>.stack{gap:23px}}
@media(max-width:700px){header{height:79px;padding:0 5%}.brand{font-size:22px}.brandmark{padding:3px 10px}.member select{max-width:108px}.member #settings{padding:8px}.pagehead{align-items:stretch;gap:12px;margin-bottom:22px}h1{font-size:24px;margin-top:10px}.pagehead p{font-size:16px}.pagehead-visual{display:block}.pagehead-visual .primary{width:100%}.primary{min-height:54px}nav{gap:5px;padding:7px 10px calc(9px + env(safe-area-inset-bottom));border-top:2px solid #d7e5f2;background:#fffefa}nav button{padding:6px 8px;flex-direction:column;gap:3px;border-radius:14px;font-size:13px;min-height:53px}nav button.active{box-shadow:0 3px 0 #e3be49}.nav-icon{font-size:21px}main{padding-bottom:115px}.dashboard,.grid2{grid-template-columns:1fr;gap:23px}.dashboard>.stack:last-child{grid-column:auto;grid-template-columns:1fr}.journeycard{order:0}.card{padding:22px;border-radius:23px}.total .huge{font-size:72px}.total-label{font-size:13px}.total .white{font-size:16px}.onboarding{display:flex;flex-direction:column;padding:22px;gap:16px;margin-top:10px}.welcome-art{width:100%;min-height:0;height:180px}.welcome-art img{height:180px;width:200px}.welcome-kicker{left:12px;bottom:5px;font-size:13px}.welcome-copy{width:100%}.welcome-copy h2{font-size:23px}.welcome-pills{margin-top:13px}.maparea{height:300px}.dots{gap:7px}.dot{width:35px;height:39px}.grid2{margin-top:23px}.success h2{font-size:28px}.success .huge{font-size:58px}#toast{bottom:95px}.pagehead .eyebrow{font-size:13px!important}}
@media(max-width:700px){.stamp-rally-card .cardhead{align-items:flex-start}.stamp-grid{gap:7px;padding:11px}.rally-stamp>span{font-size:18px}.rally-stamp small{font-size:9px}.stamp-summary{margin-top:16px}}
@media(prefers-reduced-motion:reduce){button{transition:none}.confetti{display:none}.success .badge{animation:none}}
