:root{color-scheme:light;--bg:#f5f6f7;--surface:#fff;--ink:#202624;--muted:#637069;--line:#e3e7e5;--green:#166344;--green-hover:#104e35;--tint:#edf5ef;--danger:#a72e32;font-family:Onest,system-ui,sans-serif;font-size:15px;color:var(--ink);background:var(--surface)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,summary{touch-action:manipulation}button{cursor:pointer;transition:background .18s,color .18s}button:disabled{cursor:default;opacity:.55}a{color:var(--green);text-underline-offset:4px}:focus-visible{outline:3px solid var(--green);outline-offset:4px}[hidden]{display:none!important}
p{line-height:1.65;color:var(--muted);margin:10px 0 18px}h1,h2,h3{margin:0;font-weight:600}h1{font-size:28px;line-height:1.25;letter-spacing:-.7px}h2{font-size:18px;line-height:1.4}h3{font-size:15px;line-height:1.5}small{font-size:12px;line-height:1.6;color:var(--muted)}
.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 max(28px,calc((100vw - 1000px)/2));border-bottom:1px solid var(--line)}
.brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:600;letter-spacing:-.7px;color:var(--ink);text-decoration:none}.brand img{width:28px;height:28px}.identity{border:0;background:transparent;display:flex;gap:10px;align-items:center;min-height:44px;color:var(--muted);max-width:60%}.identity:hover{color:var(--green)}#account{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--bg);color:var(--muted);flex-shrink:0;font-size:12px}#account-balance{border-left:1px solid var(--line);padding-left:12px;white-space:nowrap;font-size:12px}
.workspace{max-width:1056px;margin:0 auto;padding:0 28px}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line)}.tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:21px 0 17px;color:var(--muted);font-size:14px;min-height:56px}.tabs button:hover{color:var(--ink)}.tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--ink);font-weight:600}main{padding:36px 0 0;min-height:520px}.page-heading{display:flex;gap:24px;align-items:flex-start;margin-bottom:28px}.lead{font-size:14px;margin:10px 0 0;max-width:65ch}.page-footer{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:26px 0;margin-top:30px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.button{min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:7px;font-weight:500;display:inline-flex;gap:12px;align-items:center;justify-content:center;font-size:14px}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-hover)}.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.secondary:hover{background:var(--bg)}.text-button{background:transparent;border:0;color:var(--green);padding:8px 0;min-height:44px;text-align:left;font-weight:500;font-size:13px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.danger{background:var(--surface);border-color:#d9a7a9;color:var(--danger)}.danger:hover{background:#fff1f0}summary{color:var(--green);font-size:13px;font-weight:500;cursor:pointer;min-height:44px;padding:12px 0}
form{display:grid;gap:10px}label{font-size:13px;font-weight:500;display:block}input{min-height:44px;border:1px solid #c5cbc8;border-radius:7px;width:100%;padding:10px 12px;color:var(--ink);background:var(--surface)}#password-field{display:grid;gap:8px}.feedback{padding:12px 14px;background:var(--tint);color:var(--green);border-radius:7px;font-size:14px;line-height:1.6}.error{background:#fff1f0;color:var(--danger);margin-bottom:12px}
@media(max-width:650px){.topbar{height:64px;padding:0 20px}.brand{font-size:18px}.identity{max-width:46%}#account-balance,.avatar{display:none}#account{font-size:12px}.workspace{padding:0 20px}.tabs{gap:20px}.tabs button{font-size:12px;padding:18px 0 14px;min-width:0}main{padding-top:28px}.page-footer{font-size:10px;gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* First run: introduction, task examples on demand, and visible setup steps. */
#section-general{position:relative;display:grid;gap:24px}
#section-general h1{max-width:440px;font-size:30px;line-height:1.2;letter-spacing:-.7px;text-wrap:balance}
#section-general .general-description{max-width:440px;margin:16px 0 28px;font-size:15px;line-height:1.65}
#section-general .general-start{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#section-general .general-start .button{min-height:44px;padding:10px 22px}
#section-general .general-start>span{font-size:12px;color:var(--muted)}
#section-general .general-location{max-width:360px;font-size:12px;line-height:1.55;margin:16px 0 0}
#section-general .general-setup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
#section-general .general-setup-heading h2{font-size:17px;line-height:1.5;letter-spacing:-.2px}
#section-general .general-progress{display:flex;align-items:center;gap:12px}
#section-general #progress-label{font-size:12px;white-space:nowrap;color:var(--muted)}
#section-general #progress{width:96px;height:4px;margin:0;appearance:none;border:0;border-radius:4px;overflow:hidden;background:#eceeed}
#section-general #progress::-webkit-progress-bar{background:#eceeed}
#section-general #progress::-webkit-progress-value{background:var(--green)}
#section-general #progress::-moz-progress-bar{background:var(--green)}
#section-general .general-steps{list-style:none;padding:0;margin:0}
#section-general .general-steps>li{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:76px;padding:12px;border-bottom:1px solid var(--line)}
#section-general .general-steps>.is-current{background:#f0f6f2;border-radius:8px}
#section-general .general-steps>.is-current .step-number{color:var(--green);border-color:#aec9b8;background:#fff}
#section-general .general-steps>li:last-child{border-bottom:0}
#section-general .step-number{width:24px;height:24px;display:grid;place-items:center;border:1px solid #dfe3e0;border-radius:50%;font-size:12px;font-weight:500;line-height:1;color:var(--muted)}
#section-general .step-content{min-width:0}
#section-general .step-content h3{font-size:14px;font-weight:550;line-height:1.45}
#section-general .step-content p{font-size:12px;line-height:1.5;margin:4px 0 0}
#section-general .general-steps .text-button{font-size:12px;min-height:40px;max-width:110px;padding:8px 0 8px 4px;line-height:1.45;text-align:right}
#section-general .step-status{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--tint);color:var(--green);font-size:13px;font-weight:600}
#section-general .is-done .step-number{color:transparent;border-color:transparent;background:transparent}
#section-general .is-skipped .step-number{border-style:dashed}
#section-general .is-skipped .step-content h3{color:var(--muted)}
#section-general .routine-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:20px;padding:14px 16px;border:1px solid #d6e4da;border-radius:10px;background:var(--tint);color:var(--green);text-align:left}
#section-general .routine-toggle:hover,#section-general .routine-toggle[aria-expanded=true]{background:#e1eee5;border-color:#b7d0bf}
#section-general .routine-toggle strong{display:block;font-size:14px;line-height:1.5;font-weight:600}
#section-general .routine-toggle span span{display:block;font-size:12px;line-height:1.5;margin-top:3px;color:#416750}
.routine-toggle svg,.routine-close svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.routine-toggle svg{transition:transform .18s}
.routine-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#section-general .general-prompts{position:fixed;inset:auto;margin:0;padding:20px 24px 8px;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-color:#aec9b8 var(--surface);border:1px solid #cddbd1;border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 16px 48px #17372426}
#section-general .routine-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
#section-general .general-prompts h2{font-size:17px;line-height:1.4}
#section-general .routine-close{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;margin:-6px -10px -6px 0;padding:6px;border:0;border-radius:6px;background:transparent;color:var(--muted)}
#section-general .routine-close:hover{color:var(--green);background:var(--tint)}
#section-general .general-example-context{font-size:12px;line-height:1.5;margin:8px 0 4px}
#section-general .work-examples{list-style:none;margin:0;padding:0}
#section-general .work-examples li{padding:16px 0}
#section-general .work-examples li+li{border-top:1px solid var(--line)}
#section-general .work-examples strong{display:block;color:var(--ink);font-size:13px;margin-bottom:6px;font-weight:600}
#section-general .work-examples p{font-size:13px;line-height:1.55;margin:0}
#section-general .general-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid var(--line);padding-top:16px}
#section-general .general-notes h3{font-size:12px;line-height:1.5;font-weight:550}
#section-general .general-notes p{font-size:12px;line-height:1.5;margin:4px 0 0}
.onboarding-arrow{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;color:var(--green)}
.onboarding-arrow path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1050px){
#section-general{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:64px}
#section-general .general-intro{padding:8px 56px 0 0}
#section-general .general-notes{grid-column:1/-1}
.onboarding-arrow{display:block}
}
@media(max-width:650px){
#section-general{gap:28px}
#section-general h1{font-size:26px}
#section-general .general-description{font-size:14px;margin:12px 0 20px}
#section-general .general-setup-heading h2{font-size:15px}
#section-general #progress{width:48px}
#section-general .general-progress{gap:8px}
#section-general .general-steps>li{grid-template-columns:24px minmax(0,1fr);align-items:start;row-gap:0;padding:14px 12px}
#section-general .step-status{top:14px;transform:none}
#section-general .general-steps .text-button{grid-column:2;justify-self:start;text-align:left;padding:8px 0 0;min-height:36px;max-width:none}
#section-general .general-notes{grid-template-columns:1fr;gap:20px}
#section-general .general-prompts{padding:16px 20px 4px}
}
/* Account and data surfaces: one work area, compact controls, no sales panels. */
#section-account .page-heading,#section-data .page-heading{margin-bottom:28px}
#section-account h1,#section-data h1{font-size:28px;line-height:1.25;letter-spacing:-.7px}
#section-account h2,#section-data h2{font-size:18px;line-height:1.4;letter-spacing:-.2px}
#section-account .lead,#section-data .lead{font-size:14px;margin-top:8px;max-width:65ch}
#section-account .account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);gap:44px;align-items:start}
#section-account .account-card{padding:0;min-width:0;border:0;border-radius:0}
#section-account .account-card p{font-size:14px;line-height:1.6}
#section-account .modes{display:flex;gap:24px;background:none;padding:0;margin:0 0 22px;border-radius:0;border-bottom:1px solid var(--line)}
#section-account .modes button{flex:0 1 auto;background:none;box-shadow:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 1px 10px;min-height:44px;font-size:14px;color:var(--muted)}
#section-account .modes [aria-pressed=true]{border-bottom-color:var(--green);color:var(--ink);font-weight:600}
#section-account #auth{max-width:420px;gap:8px;margin-top:22px}
#section-account #password-field{gap:8px;margin:8px 0 0}
#section-account input{min-height:44px;border-color:#c5cbc8;border-radius:7px;font-size:15px;padding:10px 12px}
#section-account label{font-size:13px}
#section-account .auth-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:14px}
#section-account #forgot{font-size:13px;text-align:left;font-weight:500}
#section-account .account-field-label{display:block;font-size:13px;color:var(--muted);margin-bottom:7px}
#section-account #signed-email{font-size:18px;overflow-wrap:anywhere}
#section-account .verification-status{margin-top:20px}
#section-account #verification-title{font-size:14px;font-weight:600;color:var(--ink);margin:0 0 6px}
#section-account #verification-note{margin:0 0 14px;max-width:48ch}
#section-account #resend{font-size:13px;max-width:100%;white-space:normal}
#section-account .verification-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#section-account .verification-check{font-size:13px;color:var(--green);background:var(--tint);border-color:#d6e4da}
#section-account .verification-check:hover{background:#e1eee5;border-color:#b7d0bf}
#section-account #logout{margin-top:14px;font-weight:500;color:var(--muted)}
#section-account .balance-card{padding:0 0 0 30px;background:none;border:0;border-left:1px solid var(--line);border-radius:0;color:var(--ink);min-width:0}
#section-account .balance-total{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
#section-account .balance-amount{font-size:32px;line-height:1.2;letter-spacing:-.8px;margin:0;font-weight:600;font-variant-numeric:tabular-nums}
#section-account #balance-unit{font-size:14px;color:var(--muted)}
#section-account .balance-card dl{margin:0;padding:0;border:0}
#section-account .balance-card dl div{display:flex;justify-content:space-between;gap:16px;font-size:13px;padding:5px 0}
#section-account .balance-card dt{color:var(--muted)}
#section-account .balance-card dd{margin:0;font-variant-numeric:tabular-nums}
#section-account .balance-card p{font-size:13px;line-height:1.6;margin:16px 0}
#section-account .balance-card>.button{width:auto;font-size:13px}
#section-account .account-purchases{margin-top:32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#section-account .account-purchases>summary{padding:18px 0;color:var(--ink);font-size:15px;font-weight:550;min-height:56px}
#section-account .packs-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;margin:0 0 10px}
#section-account .packs-heading p{font-size:13px;margin:0;max-width:52ch}
#section-account #payment-mode{font-size:12px;color:var(--muted)}
#section-account .packs{display:block;padding-bottom:8px}
#section-account .pack{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(190px,auto);align-items:center;gap:16px;padding:12px 0;border:0;border-top:1px solid var(--line);border-radius:0}
#section-account .pack h3{font-size:14px;font-weight:550}
#section-account .pack p{margin:0;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
#section-account .pack .button{width:auto;margin:0;font-size:12px;min-height:40px;padding:9px 14px}
#section-account #payment-actions{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14px}
#section-account .feedback,#section-data .feedback{font-size:13px;margin-top:16px}
#section-data .data-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:44px;align-items:start}
#section-data .data-card{padding:0;border:0;border-radius:0}
#section-data .data-card p,#section-data .data-explanation p{font-size:14px;line-height:1.6}
#section-data .history-count{display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;gap:12px;padding:17px 0;margin:20px 0 0;background:none;border-radius:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#section-data #history-count{font-size:14px;font-weight:550;color:var(--ink)}
#section-data #delete{font-size:13px}
#section-data .data-retention-note{font-size:13px;color:var(--muted)}
#section-data .data-explanation{padding:0 0 0 30px;border-left:1px solid var(--line)}
#section-data .data-explanation dl{margin:19px 0}
#section-data .data-explanation dl div{margin-top:18px}
#section-data .data-explanation dt{font-size:14px;font-weight:550;margin-bottom:5px}
#section-data .data-explanation dd{margin:0;font-size:13px;line-height:1.65;color:var(--muted)}
#section-data .data-explanation a{font-size:13px}
#delete-dialog{max-width:440px;width:calc(100% - 32px);padding:26px;border:1px solid var(--line);border-radius:12px;color:var(--ink);box-shadow:0 18px 60px #17271e26}
#delete-dialog::backdrop{background:#17201c55}
#delete-dialog h2{font-size:20px;line-height:1.35;letter-spacing:-.4px}
#delete-dialog p{font-size:14px;line-height:1.65;margin:12px 0 24px}
#delete-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px}
#delete-dialog .dialog-actions button{font-size:13px;min-height:44px;padding:10px 14px}
#section-account :focus-visible,#section-data :focus-visible,#delete-dialog :focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:760px){
#section-account h1,#section-data h1{font-size:25px}
#section-account .account-grid,#section-data .data-layout{grid-template-columns:1fr;gap:28px}
#section-account .balance-card,#section-data .data-explanation{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}
#section-account #auth{max-width:none}
#section-account .pack{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}
#section-account .pack .button{grid-column:1/-1;justify-self:start}
#section-account .packs-heading{align-items:flex-start;gap:8px;margin-bottom:14px}
#section-account .auth-actions{gap:8px 14px}
#section-account #auth-submit{padding:11px 14px}
#section-data .history-count{align-items:flex-start}
#delete-dialog{padding:22px}
#delete-dialog .dialog-actions{flex-direction:column-reverse}
#delete-dialog .dialog-actions button{width:100%}
}
/* Shared browser and inline definition states. */
.footer-legal,.footer-meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;width:100%;line-height:1.5}
::selection{background:#cce5d5;color:var(--ink)}input{caret-color:var(--green)}
.token-definition{position:relative;display:inline-block}
.token-definition>button{border:0;border-bottom:1px dotted var(--green);color:var(--green);background:none;font:inherit;padding:0;cursor:help}
.token-definition [role=tooltip]{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);width:260px;max-width:75vw;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 24px #20352c24;font-size:13px;line-height:1.5;font-weight:400;z-index:5;visibility:hidden;opacity:0}
.token-definition:hover [role=tooltip],.token-definition:focus-within [role=tooltip]{visibility:visible;opacity:1}

@media(min-width:1050px){
.topbar{height:58px;padding-inline:max(28px,calc((100vw - 1200px)/2))}
.workspace{max-width:1256px}.tabs button{padding:14px 0 12px;min-height:46px}main{padding-top:26px;min-height:0}
.page-footer{margin-top:20px;padding:16px 0}
}
@media(min-width:1050px) and (max-height:900px){
main{padding-top:18px}
#section-general{gap:16px 56px}
#section-general .general-intro{padding-top:4px}
#section-general h1{font-size:27px}
#section-general .general-description{font-size:14px;margin:12px 0 24px;line-height:1.55}
#section-general .general-location{margin-top:12px}
#section-general .general-setup-heading{margin-bottom:8px}
#section-general .general-steps>li{min-height:64px;padding-block:8px}
#section-general .general-notes{padding-top:12px;gap:24px}
#section-general .general-notes p{font-size:11px;line-height:1.4}
.page-footer{margin-top:12px;padding:12px 0}
}
@media(min-width:1050px) and (max-height:680px){
.topbar{height:48px}.tabs button{min-height:40px;padding:10px 0}main{padding-top:14px}
#section-general{row-gap:10px}
#section-general h1{font-size:25px}
#section-general .general-description{margin:12px 0 20px}
#section-general .general-steps>li{min-height:58px;padding-block:6px}
#section-general .step-content p{line-height:1.4;margin-top:3px}
#section-general .general-notes{padding-top:10px}
.page-footer{margin-top:10px;padding:10px 0}
}

@media(min-width:1050px) and (max-height:650px){
main{padding-top:10px}
#section-general{row-gap:8px}
#section-general .general-setup-heading{margin-bottom:6px}
#section-general .general-steps>li{min-height:52px;padding-block:4px}
#section-general .general-notes{padding-top:8px}
.page-footer{margin-top:8px;padding:8px 0}
}
