:root {
  --ink: #2f221d;
  --paper: #fffdf9;
  --gold: #e7c19a;
  --tan: #d7a47c;
  --muted: #76665d;
  --line: #e6ddd3;
  --sans: 'Manrope', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #956443; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--ink); color: #fff; z-index: 20; }
.skip-link:focus { top: 8px; }
.auth-header { border-bottom: 1px solid var(--line); }
.auth-header-inner { max-width: 1360px; width: calc(100% - 80px); min-height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand > span { font-size: 25px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.brand small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .14em; margin-top: 7px; }
.auth-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--muted); }
.auth-back span { font-size: 18px; }
.auth-back:hover { color: var(--ink); }
.auth-shell { width: min(1160px, calc(100% - 112px)); margin: auto; padding-block: 65px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(50px, 7vw, 110px); flex: 1; }
.auth-story { min-width: 0; align-self: start; padding-top: 18px; }
.eyebrow { margin-bottom: 18px; font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: .16em; color: var(--muted); }
.auth-story h1 { font-size: clamp(43px, 4.8vw, 66px); font-weight: 500; letter-spacing: -.055em; line-height: 1.15; }
.auth-story h1 em { font-family: var(--serif); font-weight: 500; color: var(--ink); white-space: normal; }
.auth-story-description { max-width: 390px; margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.auth-venue { position: relative; overflow: hidden; border-radius: 5px; height: 285px; margin-top: 32px; }
.auth-venue img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.auth-venue::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(47,34,29,.65)); }
.auth-venue figcaption { position: absolute; z-index: 1; left: 23px; bottom: 20px; right: 20px; color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 10px; font-weight: 600; }
.auth-venue figcaption small { font-size: 9px; font-weight: 400; white-space: nowrap; }
.auth-proof { display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.proof-mark { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #d3b493; border-radius: 50%; color: #8d644a; font-size: 15px; }
.auth-proof p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.auth-proof strong { color: var(--ink); font-weight: 700; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; color: var(--muted); font-size: 10px; }
.auth-benefits > span::before { content: '✓'; color: #936943; margin-right: 7px; }
.auth-panel { width: 100%; max-width: 480px; justify-self: end; min-width: 0; scroll-margin-top: 20px; }
.auth-panel:focus { outline: none; }
.auth-card { display: flex; flex-direction: column; background: #f6f0e7; border: 1px solid var(--line); border-radius: 6px; padding: 34px 34px 27px; box-shadow: none; }
.auth-card > .language-picker { display: inline-flex; float: none; align-self: flex-end; margin: 0 0 16px; }
.auth-card > .language-picker select { color: var(--muted); background-color: var(--paper); border: 1px solid var(--line); font-size: 10px; min-height: 34px; padding-block: 8px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); gap: 20px; margin-bottom: 27px; }
.auth-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; margin-bottom: -1px; padding: 8px 6px 15px; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600; line-height: 1.5; min-height: 44px; transition: color .16s, border-color .16s; }
.auth-tabs button.active { border-bottom-color: var(--tan); color: var(--ink); font-weight: 800; }
.auth-tabs button:hover { color: var(--ink); }
.auth-view { display: none; }
.auth-view.active { display: block; }
.auth-heading > p:first-child { font-size: 8px; font-weight: 700; line-height: 1.7; color: var(--muted); letter-spacing: .1em; margin-bottom: 11px; }
.auth-heading h2 { font-size: 42px; font-weight: 500; line-height: 1.16; letter-spacing: -.05em; }
.auth-description { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 13px 0 25px; }
#signup-view .auth-heading h2 { font-size: 38px; }
#signup-view .auth-description { margin-bottom: 12px; }
.signup-trial-note { margin: 0 0 23px; padding: 11px 13px; background: #faf1e6; border-left: 2px solid var(--gold); border-radius: 0 4px 4px 0; font-size: 10px; line-height: 1.75; color: #72543f; }
.auth-view form { display: grid; gap: 18px; }
.auth-view label { display: flex; align-content: start; flex-wrap: wrap; justify-content: space-between; gap: 7px; font-size: 11px; font-weight: 600; color: var(--ink); }
.auth-view label > small { font-size: 9px; color: var(--muted); font-weight: 400; }
.auth-view input { display: block; width: 100%; min-width: 0; border: 1px solid #d9cdbf; border-radius: 5px; padding: 12px 13px; min-height: 47px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 400; line-height: 1.5; }
.auth-view input::placeholder { color: #88766b; opacity: 1; }
.auth-view input:focus { outline: 2px solid #d7a47c; outline-offset: 1px; border-color: #b3835f; }
.auth-forgot { justify-self: end; font-size: 10px; color: #80624f; margin-top: -5px; }
.auth-forgot:hover { color: var(--ink); }
.app-button { width: 100%; border: 1px solid transparent; border-radius: 6px; min-height: 49px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: background .16s; }
.app-button > span { font-size: 18px; line-height: 1; }
.app-button:hover { background: #50392d; }
.app-button:disabled { cursor: wait; opacity: .6; }
.auth-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.auth-view .auth-consent { flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; font-size: 10px; font-weight: 400; line-height: 1.7; color: var(--muted); }
.auth-view .auth-consent input { width: 16px; height: 16px; min-height: 16px; flex: 0 0 16px; margin: 2px 0 0; padding: 0; accent-color: var(--ink); }
.auth-consent a { color: var(--ink); }
.hidden-field { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
.auth-message { font-size: 11px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.auth-message:empty { display: none; }
.auth-message[data-state='error'] { padding: 10px 12px; background: #fff0ed; border: 1px solid #f1d8d0; border-radius: 5px; color: #963f2f; }
.auth-card-footer { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.footer-mark { color: #936943; font-size: 12px; }
.auth-help { text-align: center; margin-top: 20px; color: var(--muted); font-size: 11px; }
.auth-help a { font-weight: 600; color: var(--ink); margin-left: 3px; text-decoration: none; }
.auth-help a:hover { text-decoration: underline; }
.auth-footer { width: min(1240px, calc(100% - 80px)); margin-inline: auto; padding-block: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 9px; }
.auth-footer nav { display: flex; gap: 24px; }
.auth-footer a { text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .auth-shell { width: calc(100% - 80px); gap: 42px; padding-block: 42px; }
  .auth-story h1 { font-size: 41px; }
  .auth-story-description { font-size: 12px; }
  .auth-venue { height: 270px; }
  .auth-venue figcaption { flex-direction: column; gap: 0; }
  .auth-card { padding: 25px; }
  .auth-heading h2 { font-size: 32px; }
  .auth-benefits { gap: 8px 18px; }
}
@media (max-width: 850px) {
  .auth-header-inner { width: calc(100% - 48px); min-height: 76px; }
  .auth-shell { display: block; width: min(480px, calc(100% - 48px)); padding-block: 34px; }
  .auth-story { display: none; }
  .auth-panel { max-width: none; }
  .auth-card { padding: 30px; }
  .auth-footer { width: calc(100% - 48px); }
}
@media (max-width: 540px) {
  .auth-header-inner { width: calc(100% - 40px); min-height: 72px; gap: 15px; }
  .brand { gap: 7px; }
  .brand img { width: 31px; height: 31px; }
  .brand > span { font-size: 21px; }
  .brand small { font-size: 6px; margin-top: 5px; }
  .auth-back { font-size: 10px; gap: 6px; text-align: right; line-height: 1.5; }
  .auth-back span { font-size: 16px; }
  .auth-shell { width: calc(100% - 40px); padding-block: 25px 30px; }
  .auth-card { padding: 24px 20px 21px; border-radius: 6px; }
  .auth-tabs { gap: 14px; margin-bottom: 24px; }
  .auth-tabs button { font-size: 12px; padding-bottom: 13px; }
  .auth-heading h2 { font-size: 33px; }
  #signup-view .auth-heading h2 { font-size: 38px; }
  .auth-description { font-size: 12px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .auth-view input { font-size: 16px; min-height: 48px; }
  .auth-view label { font-size: 12px; }
  .auth-forgot { font-size: 11px; }
  .app-button { min-height: 50px; }
  .auth-card-footer { font-size: 9px; }
  .auth-footer { width: calc(100% - 40px); flex-wrap: wrap; gap: 10px; padding-block: 19px; font-size: 9px; }
  .auth-footer nav { gap: 20px; }
}
@media (max-width: 360px) {
  .brand img { width: 27px; height: 27px; }
  .brand > span { font-size: 19px; }
  .brand small { font-size: 5px; }
  .auth-back { font-size: 9px; }
  .auth-card { padding-inline: 17px; }
  .auth-heading h2 { font-size: 29px; }
  #signup-view .auth-heading h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* New restaurant applications are reviewed before a workspace is opened. */
[hidden]{display:none!important}
body[data-auth-mode="signup"] .auth-shell{align-items:start}
body[data-auth-mode="signup"] .auth-story{position:sticky;top:26px}
.signup-progress{display:flex;gap:8px;padding:0;margin:0 0 25px;list-style:none}
.signup-progress li{flex:1;padding:9px 0;border-bottom:2px solid var(--line);font-size:10px;font-weight:600;color:var(--muted)}
.signup-progress li[aria-current="step"]{border-color:var(--tan);color:var(--ink);font-weight:800}
.signup-progress li.is-complete{border-color:#a5b59b;color:#52664b}
.signup-step{display:grid;gap:17px;min-width:0;padding:0;margin:0;border:0}
.signup-step legend{padding:0;margin-bottom:17px;font-size:17px;font-weight:800;letter-spacing:-.025em}
.auth-view select,.auth-view textarea{display:block;width:100%;min-width:0;border:1px solid #d9cdbf;border-radius:5px;padding:12px 13px;min-height:47px;background:var(--paper);color:var(--ink);font:400 13px/1.5 var(--sans)}
.auth-view textarea{resize:vertical}
.auth-view select:focus,.auth-view textarea:focus{outline:2px solid #d7a47c;outline-offset:1px;border-color:#b3835f}
.signup-field-help{font-size:10px;line-height:1.75;color:var(--muted)}
.signup-navigation{display:flex;gap:12px;align-items:center;margin-top:5px}
.signup-navigation .app-button{flex:1}
.signup-back{border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);padding:13px;min-height:49px;font-size:12px;cursor:pointer}
.signup-review-summary{padding:13px;background:#faf5ee;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}
.signup-review-summary strong,.signup-review-summary span{display:block;font-size:11px;line-height:1.7}
.signup-review-summary span{font-size:10px;color:var(--muted);margin-top:3px}
.signup-confirmation{display:grid;gap:18px;outline:none}
.signup-confirmation h2{font-size:29px;line-height:1.2;letter-spacing:-.04em}
.signup-confirmation>p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.8}
.signup-confirmation .eyebrow,.signup-confirmation .signup-trial-note{margin:0}
.signup-confirmation .app-button{text-decoration:none;font-size:11px}
.confirmation-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#edf3e9;color:#486440;font-size:21px}
.auth-message[data-state="pending"]{padding:13px;border:1px solid #e2c8aa;border-radius:6px;background:#fcf3e7;color:#75563c}
@media(max-width:850px){body[data-auth-mode="signup"] .auth-story{position:static}}
@media(max-width:540px){.auth-view select,.auth-view textarea{font-size:16px}.signup-progress{gap:10px}.signup-progress li{font-size:11px}.signup-field-help{font-size:11px}.signup-navigation{gap:8px}}

/* The same editorial type and clear, warm surfaces as the public homepage. */
.auth-back { font-size: 13px; }
.eyebrow { font-size: 11px; letter-spacing: .1em; }
.auth-story-description { font-size: 16px; max-width: 430px; }
.auth-venue figcaption { font-size: 12px; }
.auth-venue figcaption small { font-size: 11px; }
.auth-proof p, .auth-benefits { font-size: 12px; }
.auth-tabs button { font-size: 14px; }
.auth-heading > p:first-child { font-size: 10px; }
.auth-description { font-size: 14px; }
.signup-trial-note { font-size: 12px; padding: 14px 16px; background: var(--paper); }
.auth-view label { font-size: 14px; }
.auth-view input, .auth-view select, .auth-view textarea { font-size: 16px; min-height: 50px; background: var(--paper); }
.auth-view .auth-consent { font-size: 12px; }
.app-button, .app-button-dark { min-height: 52px; border-radius: 5px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; }
.app-button:hover, .app-button-dark:hover { background: #efcdaa; }
.auth-forgot, .auth-help, .auth-message { font-size: 13px; }
.auth-card-footer, .auth-footer { font-size: 12px; }
.signup-progress li { font-size: 12px; }
.signup-step legend { font-size: 19px; font-weight: 600; }
.signup-field-help { font-size: 12px; }
.signup-review-summary strong, .signup-review-summary span { font-size: 13px; }
.signup-confirmation h2 { font-size: 36px; font-weight: 500; }
.signup-confirmation > p:not(.eyebrow), .signup-confirmation .app-button { font-size: 14px; }
@media (max-width: 1100px) {
  .auth-story h1 { font-size: 46px; }
  .auth-story-description { font-size: 15px; }
}
@media (max-width: 540px) {
  .brand small { font-size: 8px; }
  .auth-back { font-size: 12px; }
  .auth-card { padding: 25px 20px; }
  .auth-heading h2 { font-size: 38px; }
  #signup-view .auth-heading h2 { font-size: 33px; }
  .auth-description { font-size: 14px; }
  .auth-footer { font-size: 11px; }
}
@media (max-width: 360px) {
  .auth-header-inner { width: calc(100% - 28px); gap: 10px; }
  .auth-back { max-width: 90px; font-size: 11px; }
  .auth-shell { width: calc(100% - 28px); }
  .auth-card { padding-inline: 17px; }
}
