:root{font-family:'DM Sans','Noto Sans JP',-apple-system,BlinkMacSystemFont,sans-serif;color:#202b28;background:#f5f6f3;font-synthesis:none;font-feature-settings:normal;--ink:#202b28;--muted:#89938e;--green:#317b63;--pale:#e8f1eb;--line:#e9ece8;--card:#fff;--gold:#c8914c;--shadow:0 4px 18px rgba(36,57,47,.045)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f6f3}.app-shell{width:100%;max-width:480px;min-height:100svh;margin:auto;padding:0 22px 100px;background:#f5f6f3;position:relative}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:9px;align-items:center;font-size:18px;font-weight:700;letter-spacing:.04em;color:var(--ink);text-decoration:none}.brand-mark{display:block;width:28px;height:28px;flex:none;border-radius:9px}.learner-switch{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 5px;border:1px solid #e4e9e3;border-radius:24px;background:#fff;font-family:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}.avatar{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f3e8dc;color:#9d6c3d;font-size:12px}.chevron{font-size:16px;color:#839089;margin-left:2px}.eyebrow{font-size:11px;letter-spacing:.1em;color:var(--muted);font-weight:600}.greeting{margin:16px 0 3px;font-size:13px;color:var(--muted)}h1{font-size:25px;line-height:1.35;letter-spacing:-.04em;margin:0;font-weight:700}h2{font-size:15px;margin:0;font-weight:700;letter-spacing:-.02em}.date{margin-top:4px;font-size:12px;color:var(--muted)}.hero{margin-top:20px;padding:19px;border-radius:20px;background:#fff;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 96px;align-items:center;min-height:145px}.hero-copy .eyebrow{color:var(--green)}.hero-copy h2{font-size:15px;margin:8px 0 5px}.hero-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.ring{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--green) 0 68%,#edf1ed 68% 100%);position:relative;margin:auto}.ring:before{content:'';position:absolute;inset:7px;border-radius:50%;background:#fff}.ring-content{z-index:1;text-align:center}.ring-content strong{display:block;font-size:19px;line-height:1.15}.ring-content span{font-size:9px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,1fr);margin:13px 0 22px;padding:15px 0;background:#fff;border-radius:16px;box-shadow:var(--shadow)}.stat{text-align:center;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat strong{font-size:17px;display:block;line-height:1.3}.stat span{font-size:10px;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 1px 11px}.text-link{background:none;border:0;color:var(--green);font-family:inherit;font-size:11px;font-weight:600;cursor:pointer;padding:5px}.menu-list{display:grid;gap:9px}.menu-card{width:100%;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;padding:12px 13px;border:1px solid #edf0ec;border-radius:15px;background:#fff;text-align:left;color:var(--ink);cursor:pointer;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}.menu-card:active{transform:scale(.985)}.menu-icon{width:40px;height:40px;border-radius:13px;background:#eef5f0;color:var(--green);display:grid;place-items:center;font-size:18px}.menu-card:nth-child(2) .menu-icon{background:#f5f0e8;color:#b18246}.menu-card:nth-child(3) .menu-icon{background:#f0eef6;color:#7b7099}.menu-name{font-size:13px;font-weight:700;display:block}.menu-meta{display:block;font-size:10px;color:var(--muted);margin-top:3px}.menu-arrow{color:#a0aaa4;font-size:18px}.highlights{margin-top:22px}.highlight-card{padding:14px 15px;background:#eaf2ec;border-radius:15px;display:flex;gap:11px;align-items:flex-start}.highlight-symbol{font-size:17px;color:var(--green)}.highlight-card p{font-size:11px;line-height:1.7;margin:0;color:#50635a}.highlight-card strong{color:var(--ink)}.trend-card{background:#fff;border-radius:18px;padding:16px;margin-top:18px;box-shadow:var(--shadow)}.trend-top{display:flex;justify-content:space-between;align-items:flex-start}.trend-top p{font-size:10px;color:var(--muted);margin:4px 0 0}.trend-total{color:var(--green);font-size:12px;font-weight:700}.chart{height:84px;margin-top:13px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0 26px,#f1f3f1 27px 28px)}.bar-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;gap:5px}.bar{width:17px;border-radius:6px 6px 2px 2px;background:#b9d3c5;min-height:5px}.bar.today{background:var(--green)}.bar-label{font-size:9px;color:var(--muted);transform:translateY(16px)}.tabbar{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);padding:9px 30px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-top:1px solid #e9ece8;display:flex;justify-content:space-around}.tab{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;color:#9aa39e;font-family:inherit;font-size:9px;font-weight:500;cursor:pointer;min-width:58px}.tab.active{color:var(--green);font-weight:700}.tab-icon{font-size:21px;line-height:1.2}.toast{position:fixed;bottom:82px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#25352e;color:#fff;padding:10px 16px;border-radius:22px;font-size:12px;transition:.2s;z-index:10;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}.page-title{margin:16px 0 18px}.page-title h1{font-size:24px}.detail-card,.profile-card{padding:17px;background:#fff;border-radius:17px;box-shadow:var(--shadow);margin:12px 0}.detail-card p{font-size:12px;line-height:1.8;color:#68756f}.primary-button{width:100%;padding:14px;border:0;border-radius:13px;background:var(--green);color:#fff;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;margin-top:12px}.back-button{border:0;background:none;padding:7px 0;color:var(--green);font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.detail-list{display:grid;gap:9px;margin-top:16px}.detail-row{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:13px;background:#fff;font-size:12px}.detail-row span:last-child{color:var(--muted);font-size:11px}.progress-big{font-size:38px;font-weight:700;color:var(--green);letter-spacing:-.05em;margin:16px 0 0}.week-chart{height:140px}.profile-card{display:flex;align-items:center;gap:12px}.profile-card .avatar{width:44px;height:44px;font-size:16px}.profile-card strong{display:block;font-size:14px}.profile-card small{color:var(--muted);font-size:11px}.profile-card button{margin-left:auto;border:0;border-radius:18px;padding:7px 12px;color:var(--green);background:var(--pale);font-family:inherit;font-size:11px;font-weight:600;cursor:pointer}.subtle{font-size:11px;line-height:1.7;color:var(--muted)}
@media(min-width:600px){body{padding:24px 0}.app-shell{min-height:calc(100svh - 48px);border-radius:28px;box-shadow:0 10px 50px #263d3010}.tabbar{bottom:24px;border-radius:0 0 28px 28px}}
