/* Member workspace: calm surfaces, clear actions, and a reachable mobile dock. */
:root{--ink:#193b43;--green:#17685e;--muted:#586f76;--line:#e0e8e9;--gold:#f4ca78;background:#f3f7f8;color:var(--ink)}
body{background:radial-gradient(ellipse at 10% 0,#e8f2f1,transparent 45%),#f3f7f8;min-height:100dvh}
main,section,aside{min-width:0}
.ui-icon{width:22px;height:22px;flex:none;vertical-align:middle}
.member-header{height:82px;padding-inline:max(24px,calc((100vw - 1440px)/2));background:#ffffffed;border-bottom:1px solid #e1e9e8}
.member-logo{width:178px;height:auto;display:block;max-width:100%}
.quiet-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #dce7e4;border-radius:12px;color:var(--green);background:#f7fbfa}
.workspace{max-width:1440px;grid-template-columns:220px minmax(0,1fr);gap:32px;padding:30px 24px 60px}
.sidebar{top:24px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px 12px;box-shadow:0 10px 38px #133b4310}
.identity{padding:6px 6px 23px;border-bottom:1px solid #edf1f1;margin-bottom:18px}
.avatar{background:linear-gradient(145deg,#e2f1ed,#e9effa);border:3px solid white;box-shadow:0 0 0 1px #dfe9e6;flex:none;width:46px;height:46px}
.identity strong{font-size:13px;line-height:1.8}.identity small{font-size:11px}
.nav-caption{font-size:10px;color:#637c7d;padding-inline:12px;font-weight:700;margin-bottom:10px}
.nav{gap:7px}.nav a{min-height:48px;gap:12px;padding:12px;font-size:13px;border:1px solid transparent;transition:background .18s ease,color .18s ease}
.nav a>span{font-size:inherit;width:auto;text-align:start}
.nav a .ui-icon{width:20px;height:20px}
.nav a:hover{background:#f0f6f4;color:var(--green)}
.nav a[aria-current=page]{background:linear-gradient(115deg,#17685e,#205c65);color:white;border-color:#1d6c63;box-shadow:0 6px 16px #17655c20}
.sidebar-foot{padding:16px 6px 0;margin-top:22px;display:grid;gap:15px}
.sidebar-library{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--green);line-height:1.6}.sidebar-library .ui-icon{width:17px;height:17px}
.sidebar-foot .text-button{text-align:start;color:#745b55;font-size:12px}
.page-heading{margin:0 0 24px;gap:20px}.page-heading>div{min-width:0}.page-heading h1{font-size:clamp(25px,2.8vw,36px);letter-spacing:-.8px;overflow-wrap:anywhere;line-height:1.65}
.page-heading .eyebrow{font-size:11px;color:var(--green);font-weight:700;margin-bottom:4px}.page-heading p{font-size:12px}
.tag{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 13px;background:white;border:1px solid var(--line);white-space:nowrap;color:#4d6a6d;min-height:34px}
.tag .ui-icon{width:16px;height:16px}
.hero{background:radial-gradient(circle at 15% 0,#317f7b88,transparent 46%),linear-gradient(120deg,#173c4b,#145b53);border:1px solid #1d6261;padding:32px 34px;grid-template-columns:minmax(0,1fr) 190px;min-height:250px;border-radius:24px;box-shadow:0 14px 32px #184e5520}
.hero:after{width:360px;height:360px;left:-140px;bottom:-200px;border:1px solid #ffffff21;box-shadow:0 0 0 45px #ffffff03,0 0 0 90px #ffffff02}
.hero>div{position:relative;z-index:1}.hero .eyebrow{display:flex;align-items:center;gap:8px;color:#cfecdd;font-size:11px;margin-bottom:14px}
.status-dot{width:7px;height:7px;border-radius:50%;background:#e9c582;box-shadow:0 0 0 5px #ffffff09}
.hero h2{font-size:clamp(23px,2.5vw,31px);line-height:1.65;margin-bottom:10px}.hero p{font-size:12px;max-width:480px;margin-bottom:23px;color:#d2e9e2;overflow-wrap:anywhere}
.btn{min-height:46px;border-radius:12px;padding:11px 19px;box-shadow:0 3px 8px #123a3b0a;transition:transform .15s,background .15s;line-height:1.7}
.btn:hover{filter:brightness(.96)}.btn:active{transform:translateY(1px)}.btn .ui-icon{width:18px;height:18px}
.btn.gold{background:#f4cb7d;color:#193d42;box-shadow:0 5px 14px #081e2526}.btn.secondary{background:#eef5f2;border:1px solid #dce9e3;box-shadow:none}
.btn.small{min-height:40px;font-size:12px;padding:7px 13px}
.hero-art{align-content:center;justify-items:center;gap:8px}.hero-art>p{font-size:10px;margin:0;color:#c5e2da}.hero-art>p strong{display:block;text-align:center;font-size:12px;color:#fff0ce}
.orb{width:144px;height:144px;position:relative;border:0;box-shadow:none;display:grid;place-content:center}
.goal-ring{position:absolute;inset:0;transform:rotate(-90deg);width:100%;height:100%;overflow:visible}
.goal-track,.goal-value{fill:none;stroke-width:7}.goal-track{stroke:#ffffff17}.goal-value{stroke:#efc67a;stroke-linecap:round}
.orb>div{display:grid;gap:5px;place-items:center}.orb b{font-size:38px;line-height:1.2;font-weight:700}.orb span{color:#d1e6e0;font-size:10px}
.stats{gap:15px;margin-bottom:24px}.stat{position:relative;padding:20px 21px;background:white;border:1px solid #e0e9e6;border-radius:18px;box-shadow:0 6px 22px #173d3b05}
.stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#eaf5ef;color:#25755e;margin-bottom:12px}.stat-icon.amber{color:#967025;background:#fff4dd}.stat-icon.blue{color:#426ba5;background:#ecf2fd}
.stat-icon .ui-icon{width:21px;height:21px}.stat .value{font-size:31px;margin:6px 0 2px;line-height:1.3;font-variant-numeric:tabular-nums}.stat-label{font-size:12px}.stat small{font-size:10px}
.columns{gap:22px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.card{border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 6px 26px #183b4305}
.card h2{font-size:18px;line-height:1.8}.card-heading h2{display:flex;align-items:center;gap:9px}.card-heading h2 .ui-icon{color:var(--green);width:19px;height:19px}
.card-heading{gap:12px;flex-wrap:wrap;margin-bottom:18px}.card-heading a{font-size:11px;min-height:32px;display:inline-flex;align-items:center}
.empty{border:1px dashed #dce8e2;border-radius:14px;background:#f8fbfa;padding:27px 15px;line-height:1.9}.empty p{font-size:12px}.empty>span{color:#85aaa0;font-size:26px;margin-bottom:8px}
.item{padding:19px 0;gap:15px}.item-kind{display:inline-flex;padding:3px 8px;background:#f0f6f4;border-radius:6px;font-size:10px}.item h3{line-height:1.8;font-size:15px}.item p{font-size:12px}.item-actions .text-button{min-height:40px;padding:5px 9px}
.bars{min-height:182px;border-bottom:1px solid #e5eeea;padding-bottom:8px}.bar{font-size:10px}.bar strong{font-size:11px;color:#345c58}.bar meter{width:17px;height:116px;border:0}
.bar meter::-webkit-meter-bar{background:#edf3ef;border:0}.bar meter::-webkit-meter-optimum-value{background:#42897a}.bar meter::-moz-meter-bar{background:#42897a}
.notice{background:#fff7e5;border-color:#ead7a8;line-height:2.1;border-radius:15px;color:#68552d}
.form-grid{gap:18px 22px}.field{font-size:12px;font-weight:600;gap:8px;margin-bottom:19px}.field input,.field select{font-size:14px;font-weight:400;background:#fbfdfc;border:1px solid #d6e1df;border-radius:11px;min-height:48px;transition:border-color .15s,box-shadow .15s}
.field input:focus,.field select:focus{border-color:#347d73;box-shadow:0 0 0 3px #347d7312}.field input:read-only{background:#f0f5f3}.field input[dir=ltr]{text-align:left}
.field input[name=code]{text-align:center;font:700 26px/1.4 ui-monospace,monospace;letter-spacing:.32em;padding-inline:12px;min-height:58px}
.choice{background:white;min-height:44px;line-height:1.7;border-radius:11px}.choice:has(input:checked){background:#edf7f0;border-color:#519880}.choice input{width:16px;height:16px;flex:none}
.footnote{font-size:11px;line-height:2}.form-actions{margin-top:20px}.form-actions .btn{min-width:120px}.filter-row{gap:10px}.filter-row>*{min-height:46px;font-size:14px;padding:11px 14px}.filter-row input{min-width:0}
.text-button{min-height:40px;padding:7px;font-size:12px;border-radius:8px}.text-button:hover{background:#edf5f1}.text-button.danger{color:#993f32}.danger:hover{background:#fff0eb}
.auth-layout{max-width:1150px;gap:54px;padding:48px 24px;align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.auth-story{position:relative;overflow:hidden;border-radius:28px;background:radial-gradient(circle at 0 20%,#418c8077,transparent 60%),linear-gradient(145deg,#174653,#175b51);padding:42px 35px;color:white;display:flex;flex-direction:column;justify-content:center}
.auth-story:after{content:'';position:absolute;width:260px;height:260px;border:1px solid #ffffff12;border-radius:50%;bottom:-150px;left:-80px;box-shadow:0 0 0 40px #ffffff03;pointer-events:none}
.auth-story .eyebrow{color:#e9c987;font-size:11px;letter-spacing:0}.auth-story h1{font-size:36px;line-height:1.75;letter-spacing:-.6px;margin-bottom:19px}.auth-story p{color:#d1e5df;font-size:13px;line-height:2.1}
.auth-points{gap:17px;margin-top:24px}.auth-point{font-size:12px;color:#e0eeea;line-height:1.8}.auth-point>span{background:#ffffff10;border:1px solid #ffffff14;color:#f2ce87;width:34px;height:34px;flex:none}
.auth-card{align-self:center;padding:32px;border-radius:24px;background:#fff;border:1px solid #e2eae7;box-shadow:0 14px 46px #183f4110}
.auth-badge{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#eaf5f0;color:var(--green);margin-bottom:18px}.auth-badge .ui-icon{width:25px;height:25px}
.auth-card h2{font-size:24px;line-height:1.6;margin-bottom:7px}.auth-card>p{font-size:12px;line-height:1.95;margin-bottom:21px}.auth-card form>.btn{margin:7px 0 8px;font-size:14px;min-height:48px}
.auth-card .field{margin-bottom:17px}.auth-card .text-button{font-size:12px}.auth-switch{margin-top:12px;padding-top:12px}.auth-error:empty{display:none}.auth-error{padding:10px;border:1px solid #efd2cb;background:#fff6f2;border-radius:9px}
.password-input{position:relative;display:block}.password-input>input{padding-inline-end:64px}.password-input input[dir=ltr]{padding-inline-end:13px;padding-right:64px}
.password-toggle{position:absolute;inset-inline-end:5px;top:5px;bottom:5px;min-width:52px;padding:4px 7px;background:#eff5f2;color:var(--green);border-radius:8px;font-size:11px;font-weight:600}
[data-action=resend]{margin-top:3px;min-height:44px}[data-action=resend]:disabled{opacity:1;color:#607873;background:#f3f7f5;cursor:default}
#member-toast{background:#174d49;border:1px solid #ffffff1a;box-shadow:0 10px 30px #153b4328;bottom:24px;left:24px;max-width:min(430px,calc(100vw - 32px));font-size:12px}#member-toast:not(:empty){padding:12px 18px}
#member-toast:empty{display:none}
.loading{font-size:14px;padding:80px 24px}.progress-total{font-size:43px;color:var(--green)}
@media(max-width:1100px){.workspace{grid-template-columns:190px minmax(0,1fr);gap:22px}.sidebar{padding-inline:9px}.columns{grid-template-columns:1fr}.hero{padding:26px;grid-template-columns:minmax(0,1fr) 150px}.auth-layout{gap:28px}.auth-story{padding:32px 26px}.auth-story h1{font-size:30px}}
@media(max-width:720px){
 .member-header{height:72px;padding:0 16px;gap:16px}.member-logo{width:143px}.quiet-link{font-size:11px;padding:7px 11px;white-space:nowrap}
 .workspace{display:block;padding:23px 16px calc(112px + env(safe-area-inset-bottom))}.sidebar{position:static;margin:0;padding:0;background:none;border:0;box-shadow:none}.identity,.sidebar-foot,.nav-caption{display:none}
 .nav{position:fixed;inset-inline:10px;bottom:calc(9px + env(safe-area-inset-bottom));z-index:60;background:#fff;box-shadow:0 8px 40px #133b432b;border:1px solid #dce7e2;border-radius:18px;padding:6px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;overflow:visible}
 .nav a{flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:57px;padding:6px 1px;font-size:10px;border-radius:12px;line-height:1.4;white-space:nowrap}.nav a>span{font-size:10px;width:auto;text-align:center}.nav a .ui-icon{width:20px;height:20px}.nav a[aria-current=page]{box-shadow:none}
 .page-heading{margin-bottom:19px}.page-heading h1{font-size:26px;letter-spacing:-.5px;line-height:1.7}.page-heading p{font-size:11px}.page-heading>.tag{display:none}
 .hero{padding:24px;border-radius:20px;grid-template-columns:1fr;gap:20px;min-height:0;margin-bottom:17px}.hero h2{font-size:23px;margin-bottom:10px}.hero p{font-size:11px;margin-bottom:18px}.hero .btn{min-height:46px;font-size:12px}
 .hero-art{display:flex;gap:17px;justify-content:flex-start;border-top:1px solid #ffffff1a;padding-top:15px;text-align:start}.orb{width:85px;height:85px;flex:none}.orb b{font-size:26px}.orb span{font-size:8px}.hero-art>p{font-size:11px;margin:0}.hero-art>p strong{text-align:start;margin-top:5px;font-size:13px}
 .stats{gap:8px;margin-bottom:18px}.stat{padding:14px 10px;border-radius:14px}.stat-icon{width:30px;height:30px;border-radius:9px;margin-bottom:9px}.stat-icon .ui-icon{width:17px;height:17px}.stat .value{font-size:25px;margin-block:7px 3px}.stat-label{font-size:10px}.stat small{font-size:9px;line-height:1.7;display:block}
 .card{padding:19px;border-radius:17px;margin-bottom:17px}.card h2{font-size:17px}.card-heading{gap:9px}.card-heading a{font-size:10px}.columns{gap:0}.form-grid{grid-template-columns:1fr;gap:0}
 .field input,.field select,.filter-row>*{font-size:16px;min-height:48px}.field{font-size:12px}.filter-row{flex-wrap:wrap}.filter-row select{max-width:none}.item{flex-wrap:wrap;padding:17px 0}.item-copy{min-width:0;flex-basis:100%}.item-actions{margin-right:0;width:100%;gap:8px}.item-actions .btn{min-height:44px}.text-button{min-height:44px}.empty{padding:24px 13px}
 .choice{font-size:12px;padding:8px 10px}.form-actions{gap:9px}.form-actions .btn{width:100%;min-height:46px}.notice{font-size:12px;padding:15px}.notice button{margin:8px 0 0}
 .auth-layout{display:block;padding:24px 16px 40px;max-width:500px}.auth-story{display:none}.auth-card{padding:24px 21px;border-radius:22px;box-shadow:0 12px 30px #183f410b}.auth-card h2{font-size:24px}.auth-badge{margin-bottom:16px}.auth-card .field input{font-size:16px}.auth-card .field input[name=code]{font-size:25px}
 #member-toast{bottom:calc(94px + env(safe-area-inset-bottom));left:16px;max-width:calc(100vw - 32px)}body:not(:has(.workspace)) #member-toast{bottom:16px}.footnote{font-size:11px}.loading{padding:50px 16px}
}
@media(max-width:350px){.workspace{padding-inline:12px}.nav{inset-inline:6px;padding:5px;gap:0}.nav a>span{font-size:9px}.hero{padding:20px}.card{padding:16px}.member-logo{width:128px}.member-header{gap:8px;padding-inline:12px}.quiet-link{padding-inline:9px}.auth-layout{padding-inline:12px}.auth-card{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
.task-summary{padding:14px 16px;background:#f0f7f3;border:1px solid #d8e8df;border-radius:12px;margin:14px 0 18px;font-size:12px;color:#235c51}.task-summary progress{width:100%;height:9px;accent-color:#17685e;display:block;margin-top:10px}.task-summary span{font-size:11px}.plan-day>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:48px;list-style:none;font-size:14px}.plan-day>summary::-webkit-details-marker{display:none}.plan-day>summary:after{content:'+';font-size:22px;color:#17685e}.plan-day[open]>summary:after{content:'−'}.plan-day>summary>span{font-size:11px;color:#627572;margin-inline-start:auto}.plan-day>summary:focus-visible{outline:3px solid #bf812c;outline-offset:4px}.plan-day .item.done{opacity:1;background:#f8fbf8}.plan-day .item.done .item-kind{color:#236c52}.plan-day .item-actions{flex-shrink:0}.choices:has(input[name=types]) .choice{min-height:46px} @media(max-width:720px){.plan-day>summary{flex-wrap:wrap;font-size:12px;gap:7px}.plan-day>summary>span{font-size:10px}.plan-day .item-actions .btn{flex:1}.task-summary{font-size:11px}}
.foundation-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.foundation-course{min-width:0}.foundation-course progress{width:100%;height:12px;accent-color:#17685e;margin:12px 0}.foundation-course p{overflow-wrap:anywhere}.foundation-course details{margin-top:18px;font-size:13px}.foundation-course summary{cursor:pointer;min-height:44px;color:#27695f}.foundation-section-progress{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #e5ece9}.foundation-course>.btn{min-height:44px}@media(max-width:700px){.foundation-courses{grid-template-columns:1fr;gap:14px}.foundation-course>.btn{width:100%}}
