:root{--bg:#f7faf7;--ink:#152b36;--soft:#687e83;--green:#0b936c;--edge:#dfeae4;--card:#fff;--mint:#dff6e8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.wrap{max-width:1150px;padding:0 28px;margin:auto}.nav{background:#fff;border-bottom:1px solid var(--edge)}.nav .wrap{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:18px}.logo{display:flex;align-items:center;gap:12px;font-weight:850;font-size:21px}.logo img{width:42px;height:42px;object-fit:contain}.logo small{display:block;font-size:9px;letter-spacing:2px;color:var(--green);margin-top:-5px}.navlinks{display:flex;align-items:center;gap:17px;color:#385b60;font-size:13px}.navlinks a[aria-current=page]{color:var(--green);font-weight:750}.btn{border:0;border-radius:11px;padding:12px 18px;background:var(--green);color:#fff;font-weight:730;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{background:#077d5a}.btn.secondary{background:#e9f5ed;color:#17624b}.btn:disabled{opacity:.5;cursor:not-allowed}.auth{max-width:475px;margin:7vh auto 40px;padding:36px;background:#fff;border:1px solid var(--edge);border-radius:20px;box-shadow:0 18px 46px #2244360d}.auth h1{font-size:30px;line-height:1.16;letter-spacing:-1px;margin:8px 0}.muted{color:var(--soft)}.eyebrow{color:var(--green);font-size:11px;font-weight:850;letter-spacing:1.7px}.field{display:grid;gap:6px;margin:15px 0}.field label{font-size:13px;font-weight:650}.field input{height:46px;border:1px solid #ccdcd3;border-radius:10px;padding:0 13px;background:#fff;width:100%}.field input:focus-visible{outline:2px solid #0f9e74;outline-offset:2px}.auth button{width:100%;margin:12px 0 8px}.msg{color:#a33c30;min-height:22px;font-size:13px}.hero{padding:44px 0 25px}.hero h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.6px;line-height:1.08;margin:8px 0}.pill{border-radius:30px;background:var(--mint);color:#087f60;padding:7px 12px;font-size:12px;font-weight:700}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.panel{background:#fff;border:1px solid var(--edge);border-radius:17px;padding:22px}.panel h2{font-size:17px;margin:0 0 10px}.metric{font-size:33px;font-weight:850;letter-spacing:-1px;line-height:1.2}.wide{grid-column:span 2}.projectlist{margin:0;padding:0;list-style:none}.projectlist li{padding:14px 0;border-top:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between;gap:10px}.projectlist a{color:var(--green);font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.package{border:1px solid var(--edge);border-radius:14px;padding:17px;background:linear-gradient(160deg,#fff,#f4faf6)}.package strong{font-size:31px;display:block}.package span{font-size:13px;color:var(--soft)}.package .coming{display:block;margin-top:10px;color:#52756c;font-size:12px}.table{width:100%;border-collapse:collapse;font-size:13px}.table td,.table th{text-align:left;padding:10px;border-bottom:1px solid var(--edge)}.empty{background:#f5f8f6;border-radius:10px;padding:15px;color:var(--soft)}.footer{text-align:center;color:var(--soft);padding:44px 0;font-size:12px}@media(max-width:800px){.grid{grid-template-columns:1fr 1fr}.wide{grid-column:span 2}.navlinks{gap:10px;flex-wrap:wrap;justify-content:flex-end}}@media(max-width:540px){.wrap{padding:0 18px}.nav .wrap{min-height:74px}.navlinks{font-size:11px}.navlinks a:not(.btn):not(.keep){display:none}.logo{font-size:17px}.logo img{width:33px;height:33px}.logo small{font-size:7px}.grid,.cards{grid-template-columns:1fr}.wide{grid-column:span 1}.auth{margin:26px 15px;padding:25px}.panel{padding:18px}.hero{padding:30px 0 18px}}
/* V2.6: credit-page visual polish; other account screens retain their layout. */
.credit-page{--bg:#f8faf6;--ink:#193b2d;--soft:#64756b;--green:#236c49;--edge:#e1e8dc;background:var(--bg)}
.credit-page .wrap{max-width:1180px;padding-inline:32px}
.credit-page .nav{background:#fffefb}
.credit-page .nav .wrap{min-height:88px}
.credit-page .navlinks{gap:4px;font-size:13px}
.credit-page .navlinks a{padding:10px 14px;border-radius:12px;transition:background .18s,color .18s}
.credit-page .navlinks a:hover{background:#f0f4eb;color:#194e34}
.credit-page .navlinks a[aria-current=page]{background:#e7f0df;color:#245334;font-weight:750}
.credit-page .navlinks .btn{margin-left:16px;background:transparent;border:1px solid var(--edge);color:#516354;padding:9px 15px}
.credit-page a:focus-visible,.credit-page button:focus-visible{outline:3px solid #61934a;outline-offset:4px}
.credit-page main{padding-bottom:12px}
.credit-page .hero{padding:48px 0 28px}
.credit-page .eyebrow{font-size:10px;letter-spacing:2px;color:#6d805f}
.credit-page .hero h1{font-size:clamp(30px,4vw,44px);font-weight:750;letter-spacing:-1.7px;line-height:1.15;margin:12px 0}
.credit-page #welcome{font-size:14px;margin:0;overflow-wrap:anywhere}
.credit-page .grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:20px}
.credit-page .panel{grid-column:span 6;min-width:0;padding:28px;border-radius:24px;background:#fffefb;border-color:#e4e9df}
.credit-page .panel h2{font-size:17px;letter-spacing:-.3px;margin-bottom:12px}
.credit-page .panel p{font-size:14px;line-height:1.75;margin:8px 0 0}
.credit-page .credit-wallet{grid-column:1/-1;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:center;gap:20px;min-height:310px;padding:36px 44px;background:#e9f1d7;border:1px solid #dce7c7;box-shadow:0 6px 24px #24422a04}
.credit-page .credit-wallet h2{font-size:14px;font-weight:650;color:#49603b;margin:0 0 16px}
.credit-page .credit-balance{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin:0 0 18px;line-height:1}
.credit-page .credit-balance strong{font-size:clamp(56px,8vw,88px);letter-spacing:-5px;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
.credit-page .credit-balance span{font-size:22px;color:#536a42;font-weight:500}
.credit-page .credit-wallet .muted{color:#546b46;max-width:440px;font-size:13px}
.credit-page .credit-status{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #ccdcb6;background:#f7faee;border-radius:100px;color:#4b623c;font-size:12px;margin-bottom:8px}
.credit-page .credit-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#6c914c;flex-shrink:0}
.credit-page .credit-mascot{display:block;width:250px;height:250px;object-fit:contain;justify-self:center;filter:drop-shadow(0 16px 12px #45632e0e)}
.credit-page .credit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.credit-page .credit-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#f0f4e9;color:#527244;font-size:18px;margin-bottom:20px}
.credit-page .credit-help-link{display:inline-flex;align-items:center;gap:10px;margin-top:22px;color:#27613e;font-size:13px;font-weight:700;padding-block:4px}
.credit-page .credit-help-link:hover{color:#123e26;text-decoration:underline;text-underline-offset:4px}
.credit-page .credit-note{padding-top:16px!important;border-top:1px solid var(--edge);margin-top:18px!important;font-size:12px!important}
.credit-page .footer{max-width:1180px;margin:28px auto 0;padding:24px 32px;border-top:1px solid var(--edge);text-align:left;font-size:11px;color:#788473}
@media(max-width:900px){.credit-page .credit-wallet{grid-template-columns:minmax(0,1fr) 220px;padding:30px}.credit-page .credit-mascot{width:210px;height:210px}}
@media(max-width:600px){.credit-page .wrap{padding-inline:20px}.credit-page .hero{padding:30px 0 22px}.credit-page .hero h1{letter-spacing:-1px;font-size:32px;max-width:320px}.credit-page .grid{gap:14px}.credit-page .panel{grid-column:1/-1;border-radius:20px;padding:24px}.credit-page .credit-wallet{grid-template-columns:minmax(0,1fr) 100px;gap:4px;min-height:265px}.credit-page .credit-balance{gap:8px}.credit-page .credit-balance strong{font-size:60px;letter-spacing:-3px}.credit-page .credit-balance span{font-size:17px}.credit-page .credit-mascot{width:120px;height:160px;max-width:none;justify-self:end}.credit-page .credit-wallet .muted{font-size:12px}.credit-page .credit-status{font-size:11px;padding:6px 9px}.credit-page .footer{padding-inline:20px;margin-top:24px}}
@media(max-width:360px){.credit-page .credit-wallet{grid-template-columns:1fr}.credit-page .credit-mascot{width:112px;height:124px;justify-self:center}}
@media(prefers-reduced-motion:no-preference){.credit-page .credit-wallet{animation:credit-enter .28s ease-out both}@keyframes credit-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

/* Credit workspace disclosure menu. Desktop account navigation is unchanged. */
.nav-toggle{display:none}
.credit-page .nav-toggle{align-items:center;justify-content:center;gap:12px;border:1px solid var(--edge);border-radius:12px;background:#fffefb;color:var(--ink);padding:10px 14px;min-height:44px;font-weight:650;cursor:pointer}
.credit-page .nav-toggle:hover{background:#edf3e4}
.credit-page .nav-toggle-icon{position:relative;width:18px;height:16px;display:inline-block}
.credit-page .nav-toggle-icon::before,.credit-page .nav-toggle-icon::after{content:'';position:absolute;left:0;width:18px;height:2px;background:currentColor;border-radius:2px;transition:transform .18s ease,top .18s ease}
.credit-page .nav-toggle-icon::before{top:4px}.credit-page .nav-toggle-icon::after{top:11px}
.credit-page .nav-toggle[aria-expanded=true] .nav-toggle-icon::before{top:7px;transform:rotate(45deg)}
.credit-page .nav-toggle[aria-expanded=true] .nav-toggle-icon::after{top:7px;transform:rotate(-45deg)}
.credit-page .credit-details{min-width:0}
@media(max-width:900px){
  .credit-page .nav .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 16px;min-height:80px;padding-top:16px;padding-bottom:16px}
  .credit-page .nav-toggle{display:inline-flex}
  .credit-page .navlinks{display:grid;grid-template-columns:minmax(0,1fr);flex-basis:100%;width:100%;gap:4px;max-height:0;opacity:0;visibility:hidden;overflow:hidden;padding:0;transition:max-height .22s ease,opacity .16s ease,visibility .22s}
  .credit-page .navlinks[data-open=true]{max-height:420px;opacity:1;visibility:visible;padding-top:14px}
  .credit-page .navlinks a:not(.btn):not(.keep){display:flex;align-items:center;min-height:44px;padding:10px 14px;font-size:14px;border-radius:12px;white-space:normal;overflow-wrap:anywhere}
  .credit-page .navlinks .btn{justify-content:flex-start;min-height:44px;width:100%;margin:6px 0 0;padding:10px 14px;font-size:14px}
  .credit-page .logo{margin:0}
}
@media(prefers-reduced-motion:reduce){.credit-page .navlinks,.credit-page .nav-toggle-icon::before,.credit-page .nav-toggle-icon::after{transition:none}}

/* Dashboard extends the approved Credit shell; Credit selectors are untouched. */
.dashboard-page .dashboard-welcome{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:28px;padding:30px 38px;background:#e9f1d7;border-color:#dce7c7}
.dashboard-page .dashboard-intro{min-width:0}
.dashboard-page .dashboard-welcome h2{font-size:clamp(26px,3vw,38px);line-height:1.16;letter-spacing:-1.2px;max-width:560px;margin:12px 0}
.dashboard-page .dashboard-welcome p{max-width:520px;color:#546b46}
.dashboard-page .dashboard-mascot{display:block;width:220px;height:220px;object-fit:contain;justify-self:center}
.dashboard-page .dashboard-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-top:24px}
.dashboard-page .dashboard-actions .credit-help-link{margin-top:0;min-height:44px}
.dashboard-page .dashboard-actions .btn{min-height:48px;max-width:100%;text-align:center}
.dashboard-page .dashboard-stat{grid-column:span 4;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.dashboard-page .dashboard-stat h2{font-size:14px;color:#526447;margin:0 0 10px}
.dashboard-page .dashboard-stat p{font-size:13px}
.dashboard-page .dashboard-stat .credit-help-link{margin-top:12px;min-height:44px}
.dashboard-page .dashboard-available{background:#eff5e6;border-color:#dce7c7}
.dashboard-page .dashboard-number{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;max-width:100%;line-height:1.1}
.dashboard-page .dashboard-number strong{font-size:46px;letter-spacing:-2px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
.dashboard-page .dashboard-number span{font-size:14px;color:#64765b}
.dashboard-page .dashboard-projects{grid-column:1/-1;padding:30px}
.dashboard-page .dashboard-projects>h2{margin-bottom:22px}
.dashboard-page .dashboard-project-body{min-width:0}
.dashboard-page .dashboard-project-body>.btn{margin-top:16px}
.dashboard-page .dashboard-recent{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dce7c7;border-radius:18px;background:#f2f7e9;padding:24px}
.dashboard-page .dashboard-project-copy{min-width:0}
.dashboard-page .dashboard-project-copy h3{font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere;margin:0}
.dashboard-page .dashboard-recent h3{font-size:19px;margin-top:8px}
.dashboard-page .dashboard-project-copy p{margin-top:4px;font-size:12px;overflow-wrap:anywhere}
.dashboard-page .dashboard-recent>.btn{flex-shrink:0;min-height:44px}
.dashboard-page .dashboard-project-list{list-style:none;margin:18px 0 0;padding:0}
.dashboard-page .dashboard-project-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 0;border-top:1px solid var(--edge)}
.dashboard-page .dashboard-project-row>.credit-help-link{margin:0;min-height:44px;white-space:nowrap}
.dashboard-page .dashboard-file-icon{display:grid;place-items:center;width:42px;height:42px;background:#eef3e6;border:1px solid #e0e9d6;border-radius:13px;font-size:23px;color:#557748;flex-shrink:0}
.dashboard-page .dashboard-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:36px 24px;border:1px dashed #d4dfc9;border-radius:18px;background:#f8faf4}
.dashboard-page .dashboard-empty h3{font-size:21px;letter-spacing:-.5px;margin:0}
.dashboard-page .dashboard-empty p{max-width:420px;margin:0}
.dashboard-page .dashboard-empty .btn{margin-top:4px;min-height:44px;max-width:100%}
@media(max-width:900px){.dashboard-page .dashboard-welcome{grid-template-columns:minmax(0,1fr) 180px;padding:28px;gap:18px}.dashboard-page .dashboard-mascot{width:180px;height:200px}.dashboard-page .dashboard-stat{padding:24px}.dashboard-page .dashboard-number strong{font-size:38px}}
@media(max-width:600px){
  .dashboard-page .dashboard-welcome{grid-template-columns:minmax(0,1fr) 88px;padding:24px;gap:10px}
  .dashboard-page .dashboard-intro{display:contents}
  .dashboard-page .dashboard-intro>.eyebrow{grid-column:1/-1;font-size:9px}
  .dashboard-page .dashboard-welcome h2{grid-column:1;font-size:27px;letter-spacing:-.8px;margin:6px 0}
  .dashboard-page .dashboard-intro>p{grid-column:1;font-size:13px;margin:0}
  .dashboard-page .dashboard-actions{grid-column:1/-1;gap:8px 16px;margin-top:14px}
  .dashboard-page .dashboard-mascot{grid-column:2;grid-row:2/4;width:100px;height:150px}
  .dashboard-page .dashboard-stat{grid-column:span 6;padding:20px}
  .dashboard-page .dashboard-available{grid-column:1/-1}
  .dashboard-page .dashboard-stat h2{font-size:13px}
  .dashboard-page .dashboard-number strong{font-size:32px;letter-spacing:-1px}
  .dashboard-page .dashboard-number span{font-size:12px}
  .dashboard-page .dashboard-stat p{font-size:12px}
  .dashboard-page .dashboard-projects{padding:22px}
  .dashboard-page .dashboard-recent{align-items:flex-start;flex-direction:column;padding:20px;gap:16px}
  .dashboard-page .dashboard-recent h3{font-size:17px}
  .dashboard-page .dashboard-project-row{grid-template-columns:36px minmax(0,1fr);gap:8px 12px}
  .dashboard-page .dashboard-project-row>.credit-help-link{grid-column:2;justify-self:start}
  .dashboard-page .dashboard-file-icon{width:36px;height:36px;font-size:20px}
  .dashboard-page .dashboard-empty{padding:28px 18px}
}
@media(prefers-reduced-motion:no-preference){.dashboard-page .dashboard-welcome{animation:credit-enter .28s ease-out both}}
