:root{--ink:#171717;--muted:#707070;--line:#e8e8e8;--canvas:#f6f6f7;--white:#fff;--red:#b91c1c;--red-dark:#991b1b;--red-soft:#fff1f1;--green:#167447;--green-soft:#eaf7ef;--amber:#8a5200;--amber-soft:#fff6df;--shadow:0 10px 30px rgba(20,20,20,.045);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);min-height:100vh;display:flex;flex-direction:column}.topbar{height:68px;padding:0 clamp(16px,4vw,54px);display:flex;align-items:center;justify-content:space-between;background:#111;color:white;border-bottom:3px solid var(--red)}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:white;font-weight:800;letter-spacing:-.04em;font-size:1.17rem}.brand-mark{width:31px;height:31px;border-radius:10px;background:var(--red);display:grid;place-items:center;font-weight:900;font-size:1.05rem}.brand-light{font-weight:500;color:#c9c9c9}.top-actions{display:flex;align-items:center;gap:14px}.top-actions form{margin:0}.signed-in{font-size:.9rem;color:#e5e5e5}.page-shell{width:min(1160px,100%);margin:0 auto;padding:clamp(18px,4vw,42px) clamp(14px,3vw,32px);flex:1}.footer{text-align:center;font-size:.78rem;color:#888;padding:20px}.footer span{padding:0 6px;color:var(--red)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,4vw,2.65rem);letter-spacing:-.055em;line-height:1.05;margin-bottom:10px}h2{font-size:1.24rem;letter-spacing:-.025em;margin-bottom:7px}p{line-height:1.55}.muted{color:var(--muted)}.eyebrow{display:block;font-size:.69rem;font-weight:800;letter-spacing:.14em;color:var(--red);margin-bottom:9px}.panel{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:clamp(18px,3vw,28px);box-shadow:var(--shadow)}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,470px);gap:clamp(24px,6vw,78px);align-items:center;max-width:980px;margin:3vh auto}.auth-layout-single{grid-template-columns:minmax(0,.9fr) minmax(320px,450px);max-width:900px}.auth-intro h1{max-width:520px}.auth-intro p{max-width:470px;color:var(--muted);font-size:1.05rem}.trust-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.trust-list span{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:999px;font-size:.82rem;color:#444}.auth-panel h2{font-size:1.5rem}.auth-panel>.muted{margin-bottom:24px}.narrow-page{width:min(650px,100%);margin:0 auto}.page-heading{margin-bottom:22px}.page-heading p{margin-bottom:0}.page-heading-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.page-heading-row h1{margin-bottom:8px}.page-heading-row .button{flex-shrink:0}.input, input, select, textarea{font:inherit}.input{width:100%;min-height:46px;padding:11px 13px;border:1px solid #d8d8d8;border-radius:10px;background:#fff;color:var(--ink);outline:none}.input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(185,28,28,.11)}form p{margin-bottom:16px}form p label{display:block;font-size:.88rem;font-weight:650;margin-bottom:7px}form p .helptext,form p .helptext ul{display:block;font-size:.78rem;color:var(--muted);font-weight:400;margin-top:7px;line-height:1.45}form ul.errorlist{list-style:none;padding:0;margin:7px 0;color:#b42318;font-size:.85rem}form .errorlist li{margin-bottom:4px}.button{border:1px solid transparent;border-radius:10px;min-height:43px;padding:10px 15px;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none;font:inherit;font-size:.9rem;font-weight:750;cursor:pointer;white-space:nowrap;transition:transform .12s ease,background .12s ease}.button:active{transform:translateY(1px)}.button-primary{background:var(--red);color:#fff}.button-primary:hover{background:var(--red-dark)}.button-secondary{background:#fff;border-color:#dedede;color:#222}.button-secondary:hover{background:#f7f7f7}.button-quiet{background:transparent;color:#f3f3f3;border-color:#454545}.button-quiet:hover{background:#2a2a2a}.button-danger{background:#fff;border-color:#efcaca;color:#a51c1c}.button-danger:hover{background:var(--red-soft)}.button-small{min-height:33px;padding:6px 10px;font-size:.78rem}.button-wide{width:100%;margin-top:7px}.form-footnote{text-align:center;font-size:.88rem;color:var(--muted);margin-top:20px;margin-bottom:0}.form-footnote a,.back-link{color:var(--red);font-weight:700;text-decoration:none}.form-footnote a:hover,.back-link:hover{text-decoration:underline}.small-note{font-size:.8rem;color:var(--muted);margin-top:16px}.messages{display:grid;gap:8px;margin-bottom:18px}.message{border-radius:10px;padding:12px 14px;background:#eee;font-size:.9rem}.message-success{color:#155e37;background:var(--green-soft)}.message-error{color:#991b1b;background:var(--red-soft)}.message-warning{color:#854d0e;background:var(--amber-soft)}.message-info{color:#244b7a;background:#edf5ff}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.role-chip{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;padding:9px 12px;border-radius:999px;font-size:.82rem;font-weight:750}.status-dot{width:7px;height:7px;background:#1a9859;border-radius:50%}.branch-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:34px}.branch-panel-copy{display:grid;gap:5px}.branch-panel-copy .eyebrow{margin-bottom:0}.branch-panel-copy strong{font-size:1.08rem}.branch-panel-copy>.muted{font-size:.84rem}.inline-select{display:flex;gap:8px;min-width:min(380px,100%)}.inline-select select{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px}.section-heading h2{margin-bottom:4px}.section-heading p{font-size:.87rem;margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.feature-card{min-height:170px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-decoration:none;color:var(--ink);box-shadow:0 4px 18px rgba(20,20,20,.025)}.feature-card:hover{border-color:#d4a0a0;transform:translateY(-1px)}.feature-card strong{font-size:1rem}.feature-card>span:not(.feature-icon){font-size:.84rem;color:#666;line-height:1.4}.feature-card em{margin-top:auto;font-style:normal;font-size:.74rem;color:var(--red);font-weight:650}.feature-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f4f4f4;color:#444;font-size:1.4rem;font-weight:750}.feature-card-primary{border-color:#eecaca;background:linear-gradient(145deg,#fff,#fffafa)}.feature-card-primary .feature-icon{background:var(--red);color:white}.setup-list{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.setup-row{display:flex;align-items:center;gap:12px;padding:14px 17px;border-bottom:1px solid #f0f0f0}.setup-row:last-child{border-bottom:0}.setup-row>div{display:grid;gap:4px;flex:1}.setup-row strong{font-size:.88rem}.setup-row>div span{font-size:.79rem;color:var(--muted)}.setup-check,.setup-pending{height:27px;width:27px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.setup-check{background:var(--green-soft);color:var(--green);font-weight:800}.setup-pending{background:#f2f2f2;color:#777}.state-pill,.code-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:5px 8px;background:#f2f2f2;color:#555;font-size:.72rem;font-weight:750}.state-done{background:var(--green-soft);color:var(--green)}.notice{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 16px;margin:16px 0;color:#454545}.notice strong{font-size:.9rem}.notice p{font-size:.84rem;margin:4px 0 0;color:var(--muted)}.notice-warning{background:var(--amber-soft);border-color:#f4dfa9}.notice-warning strong{color:var(--amber)}.compact-notice{margin:0 0 17px;padding:10px 12px}.table-panel{padding:0;overflow:hidden}.responsive-table{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.85rem;min-width:650px}th{text-align:left;color:#777;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800;background:#fafafa}th,td{padding:14px 17px;border-bottom:1px solid #eee;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td form{margin:0}.table-subtext{display:block;color:var(--muted);font-size:.77rem;margin-top:4px}.empty-state{text-align:center;color:var(--muted);padding:35px}.back-link{display:inline-block;margin-top:18px;font-size:.87rem}.business-choice{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px;margin:0}.business-choice-icon{width:42px;height:42px;display:grid;place-items:center;background:#fff0f0;color:var(--red);border-radius:12px;font-weight:850;font-size:1.1rem;flex-shrink:0}.business-choice-copy{display:grid;gap:5px;flex:1;min-width:0}.business-choice-copy strong{overflow-wrap:anywhere}.business-choice-copy span{color:var(--muted);font-size:.79rem}.stack{display:grid;gap:10px}.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(max-width:800px){.auth-layout,.auth-layout-single{grid-template-columns:1fr;max-width:520px;gap:18px;margin:0 auto}.auth-intro{text-align:center;padding:8px 4px}.auth-intro p{margin-left:auto;margin-right:auto}.trust-list{justify-content:center;margin-top:15px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-card{min-height:160px}.branch-panel{align-items:flex-start;flex-direction:column}.inline-select{width:100%;min-width:0}.page-heading-row{align-items:flex-start;flex-direction:column}.page-heading-row .button{width:100%}.dashboard-header{align-items:flex-start}.signed-in{display:none}}
@media(max-width:480px){.topbar{height:60px}.page-shell{padding-top:22px}.feature-grid{grid-template-columns:1fr 1fr;gap:9px}.feature-card{padding:14px;min-height:158px}.feature-card strong{font-size:.9rem}.feature-card>span:not(.feature-icon){font-size:.77rem}.feature-card em{font-size:.7rem}.dashboard-header{gap:10px}.role-chip{font-size:.73rem;padding:7px 9px}.setup-row{padding:12px;gap:9px}.state-pill{font-size:.65rem;padding:4px 6px}.business-choice{flex-wrap:wrap}.business-choice-copy{min-width:calc(100% - 60px)}.business-choice .button{width:100%}.footer{padding-bottom:16px}}
