/* Setup and help share the app's existing gold, charcoal and paper palette. */
.setup-panel{margin:22px 0 26px;padding:26px}.setup-heading,.setup-optional{display:flex;justify-content:space-between;align-items:center;gap:18px}.setup-heading h3{font-size:23px;letter-spacing:-.5px;margin:8px 0}.setup-heading p{margin:7px 0}.setup-panel progress{display:block;width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;appearance:none;margin:22px 0 8px;accent-color:#b18c45;background:#eeeae1}.setup-panel progress::-webkit-progress-bar{background:#eeeae1}.setup-panel progress::-webkit-progress-value{background:#b18c45;border-radius:10px}.setup-panel progress::-moz-progress-bar{background:#b18c45}.setup-steps{list-style:none;padding:0;margin:0}.setup-steps li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:14px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line)}.setup-tick{font-size:23px;color:#a6a6a0}.is-complete .setup-tick{color:#367453}.setup-steps p{font-size:13px;color:#707986;margin:7px 0}.setup-state{font-size:11px;color:#777c85}.is-complete .setup-state{color:#367453}.setup-optional{padding:20px 0 4px}.setup-optional p{margin:7px 0}.setup-foot{line-height:1.7;margin-bottom:0}.help-text-button{border:0;padding:0;background:transparent;color:#806023;text-decoration:underline;font-size:inherit}.help-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(115deg,#fbf6e9,#fff);margin:24px 0}.help-intro h3{font-size:22px;margin:0 0 9px}.help-intro p{margin:0;line-height:1.6;max-width:620px}.help-browser,.help-support{margin:24px 0}.help-topics{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.help-topics button{font-size:12px;padding:9px 12px}.help-topics [aria-pressed=true]{background:#242c26;color:#fff;border-color:#242c26}.help-article{border-top:1px solid var(--line);padding:17px 0}.help-article summary{cursor:pointer;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.help-article summary span{display:block;color:#8c7550;font-size:11px;font-weight:400;margin-left:18px}.help-article p,.help-support p{line-height:1.75;max-width:850px}.help-article button{font-size:13px}.help-support textarea{min-height:145px;line-height:1.7}.help-support a{color:#806023;overflow-wrap:anywhere}.help-empty{padding:24px 0;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media screen and (min-width:701px){#nav{bottom:115px;gap:6px;display:flex;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}#nav button{padding:12px 17px;width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left}}
@media(max-width:700px){.setup-panel{padding:18px}.setup-heading,.setup-optional,.help-intro{align-items:flex-start;flex-direction:column;gap:12px}.setup-heading h3{font-size:21px}.setup-steps li{grid-template-columns:23px minmax(0,1fr);gap:10px}.setup-steps li>button{grid-column:2;justify-self:start}.setup-optional button{align-self:flex-start}.help-support .actions button{flex:1;min-width:150px}.help-topics button{min-height:40px}.help-article summary{min-height:44px}.help-browser,.help-support{padding:18px}#nav{max-width:100%}.help-intro button{white-space:normal;text-align:left}}

.account-help{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.help-question{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font-size:12px;font-weight:700}.account-help.active{background:#fbf6e9;border-color:#b18c45;color:#806023}
#accountMenu{width:100%}
#accountMenu>summary,.account-identity>b,.footer-help{display:none}
#accountPanel{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
#accountPanel pre{max-width:100%;white-space:pre-wrap}
main:has([data-help-control]) .footer-help{display:block;min-height:44px;padding:8px 0;margin-bottom:8px;border:0;background:transparent;color:#62491e;text-align:left;text-decoration:underline;text-underline-offset:3px;font-size:15px}
@media screen and (max-width:700px){
 #nav{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}
 #accountBar{position:absolute;right:16px;top:0;height:78px;z-index:4;margin:0;padding:0}
 #accountBar:empty{display:none}
 #accountMenu>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 11px;border:1px solid #686c64;border-radius:8px;background:#252b26;color:#fdfbf6;font-size:14px;cursor:pointer;list-style:none}
 #accountMenu>summary::-webkit-details-marker{display:none}
 #accountMenu>summary::after{content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
 #accountMenu[open]>summary::after{transform:translateY(2px) rotate(225deg)}
 #accountMenu>summary:focus-visible{outline:2px solid #dfbf7f;outline-offset:2px}
 #accountPanel{display:block;position:absolute;right:0;top:calc(100% - 6px);width:min(292px,calc(100vw - 32px));max-height:calc(100dvh - 84px);overflow:auto;padding:6px 12px;border:1px solid #dedfd9;border-radius:12px;background:white;box-shadow:0 9px 25px #121b182b}
 .account-identity{display:block;padding:8px 3px 12px;margin:4px 0 6px;border-bottom:1px solid #e5e5e0;color:#555f59;line-height:1.45;overflow-wrap:anywhere}
 .account-identity>b{display:block;color:#242a25}
 .account-saving{display:none}
 #accountPanel .actions{display:grid;gap:0}
 #accountPanel .actions button{display:block;width:100%;min-height:44px;padding:9px 4px;border:0;text-align:left;font-size:15px}
 #accountPanel .help-question{display:none}
 #content h2[tabindex="-1"]{scroll-margin-top:82px}
}

/* Completed setup stays available without displacing the dashboard figures. */
.setup-panel:has(>.setup-complete){padding:0;margin:22px 0}.setup-complete>summary{cursor:pointer;padding:18px 24px;font-weight:600;font-size:14px;line-height:1.7;color:#3b5141}.setup-complete>summary::marker{color:#9a7633}.setup-complete-hint{font-size:12px;font-weight:400;color:#687069;margin-left:18px}.setup-complete[open]{padding:0 24px 22px}.setup-complete[open]>summary{margin:0 -24px 16px;border-bottom:1px solid var(--line)}.setup-complete>summary:focus-visible{outline:3px solid #ad843d;outline-offset:3px}@media(max-width:700px){.setup-complete>summary{padding:15px 18px}.setup-complete-hint{display:block;margin-left:18px}.setup-complete[open]{padding:0 18px 18px}.setup-complete[open]>summary{margin:0 -18px 14px}}

#authForm .signup-agreement { margin: 1rem 0; overflow-wrap: anywhere; }
#authForm .signup-agreement-line { display: flex; align-items: flex-start; gap: .65rem; font-size: 1rem; line-height: 1.45; }
#authForm .signup-agreement-line label { display: inline; font: inherit; cursor: pointer; }
#authForm .signup-agreement-line input { flex: none; width: 1.25rem; height: 1.25rem; min-width: 0; min-height: 0; margin: .12rem 0 0; padding: 0; }
#authForm .signup-agreement :focus-visible { outline: 3px solid #754709; outline-offset: 3px; }
#authForm .signup-agreement p { margin: .5rem 0; line-height: 1.45; }
#signupTermsNote { font-size: .9rem; }

#businessSetupGuide { box-sizing:border-box; width:min(30rem,calc(100% - 1.5rem)); max-height:88vh; max-height:88dvh; margin:auto; padding:clamp(1rem,4vw,2rem); overflow:auto; border:1px solid var(--line); border-radius:12px; color:#202821; background:white; }
#businessSetupGuide::backdrop { background:rgb(25 36 31 / 55%); }
#businessSetupGuide .guide-page { min-width:0; margin:0; padding:0; border:0; }
#businessSetupGuide h2 { margin:0 0 1rem; font-size:1.6rem; line-height:1.2; overflow-wrap:anywhere; }
#businessSetupGuide :is(p,label,summary,button,input,legend) { font-size:1rem; line-height:1.45; }
#businessSetupGuide :is(input,button) { max-width:100%; min-height:44px; }
#businessSetupGuide .guide-count { margin:0 0 .4rem; color:#665432; }
.guide-contacts summary { min-height:44px; cursor:pointer; }
.guide-preview { border-left:3px solid #b18c45; background:#faf6ea; padding:.7rem 1rem; margin:1rem 0; }
.guide-preview strong,.guide-preview small { display:block; overflow-wrap:anywhere; }
.guide-logo { max-width:100%; max-height:7rem; object-fit:contain; }
.guide-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1rem; }
.guide-actions button { white-space:normal; }
.guide-message:empty { display:none; }
@media(max-width:420px) { .guide-actions button { width:100%; } }
