:root {
  --bg: #fafafa;
  --paper: #fff;
  --ink: #252525;
  --muted: #626262;
  --line: #e7e7e7;
  --yellow: #ffcc32;
  --pale: #fff8df;
  --red: #b52f32;
  --radius: 14px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
select {
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #aa2429;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: inherit;
}
h1 {
  font-weight: 750;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  font-weight: 700;
}
h3 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.7px;
}
p {
  margin-bottom: 18px;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
  color: #606060;
  margin-bottom: 12px;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.demo-banner {
  min-height: 34px;
  padding: 7px 20px;
  background: #fff4cf;
  border-bottom: 1px solid #efdfad;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  color: #5e4a12;
}
.demo-banner strong {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}
.demo-dot,
.secure-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #626262;
  display: inline-block;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.brand {
  text-decoration: none;
  display: block;
  white-space: nowrap;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  letter-spacing: -0.6px;
  font-weight: 650;
  line-height: 1.2;
}
.wordmark strong {
  font-size: 27px;
  letter-spacing: -1.6px;
  font-weight: 850;
}
.wordmark-divider {
  width: 2px;
  height: 24px;
  background: var(--red);
}
.wordmark-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  margin-top: 9px;
  color: #626262;
}
.public-header {
  height: 105px;
  max-width: 1360px;
  margin: auto;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-note {
  font-size: 12px;
  color: var(--muted);
}
.public-content {
  padding: 18px 6% 36px;
  max-width: 1360px;
  margin: auto;
  min-height: calc(100vh - 217px);
}
.signin-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12%;
  align-items: center;
  padding: 34px 0 45px;
}
.signin-story {
  padding: 0 8px;
}
.signin-story .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.accent-line {
  height: 3px;
  width: 22px;
  background: var(--red);
}
.signin-story h1 {
  font-size: 60px;
  line-height: 1.07;
  letter-spacing: -2.8px;
  margin: 25px 0;
}
.highlight-text {
  background: linear-gradient(
    transparent 68%,
    var(--yellow) 68%,
    var(--yellow) 95%,
    transparent 95%
  );
  padding-right: 6px;
}
.story-description {
  font-size: 16px;
  max-width: 345px;
  color: #606060;
  line-height: 1.8;
}
.signin-mission {
  margin-top: 42px;
  padding: 23px 0 0;
  border-top: 1px solid #dedede;
  max-width: 365px;
}
.signin-mission .eyebrow {
  color: var(--red);
  font-size: 10px;
}
.signin-mission p {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin: 0;
}
.signin-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 14px;
  box-shadow: 0 12px 42px #25252506;
  max-width: 455px;
  width: 100%;
}
.form-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff4ce;
  border: 1px solid #efdfa9;
  border-radius: 11px;
  color: var(--ink);
  margin-bottom: 20px;
}
.signin-panel h2 {
  font-size: 28px;
  letter-spacing: -0.9px;
  margin-bottom: 8px;
}
.signin-panel > .muted {
  font-size: 13px;
  margin-bottom: 22px;
}
.signin-panel .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}
.notice {
  background: #fff9e8;
  border: 1px solid #ecdfb3;
  border-radius: 9px;
  padding: 13px 15px;
  color: #5d522f;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.notice strong {
  font-size: 12px;
  display: block;
  color: #4c4123;
  font-weight: 700;
}
.notice p {
  margin: 4px 0 0;
}
.notice form {
  margin-top: 14px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}
input:not([type="checkbox"]),
select {
  width: 100%;
  border: 1px solid #d5d5d5;
  background: #fff;
  border-radius: 8px;
  padding: 11px 13px;
  min-height: 46px;
  color: var(--ink);
}
input::placeholder {
  color: #717171;
  font-size: 12px;
}
input:hover,
select:hover {
  border-color: #939393;
}
.field-help {
  font-size: 12px;
  color: #626262;
  line-height: 1.65;
  margin: 9px 0 18px;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid transparent;
  line-height: 1.5;
  white-space: nowrap;
}
.primary {
  background: var(--yellow);
  color: #252525;
  border-color: #efbc25;
}
.primary:hover {
  background: #f4bd17;
  border-color: #dbaa0e;
  box-shadow: 0 4px 12px #d49d181a;
}
.primary .icon {
  width: 17px;
  height: 17px;
}
.secondary {
  background: #fff;
  border-color: #d7d7d7;
  color: #333;
}
.secondary:hover {
  background: #f3f3f3;
  border-color: #a9a9a9;
}
.full {
  width: 100%;
}
.compact {
  padding: 8px 13px;
}
.signin-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin: 8px 0;
}
.signin-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.security-note {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #626262;
}
.security-note .icon {
  width: 16px;
  height: 16px;
}
.security-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
}
.help-note {
  font-size: 12px;
  text-align: center;
  margin: 18px 0 0;
  color: var(--muted);
}
.help-note a {
  font-weight: 650;
}
.public-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 6%;
  padding: 21px 0;
  color: #626262;
  font-size: 11px;
}
.public-footer > span:last-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
.public-footer .icon {
  width: 14px;
  height: 14px;
}
.app-shell {
  display: flex;
  min-height: calc(100vh - 34px);
}
.sidebar {
  width: 242px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px 18px;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin: 0 5px 44px;
}
.sidebar .wordmark {
  font-size: 16px;
  gap: 9px;
}
.sidebar .wordmark strong {
  font-size: 25px;
}
.sidebar .wordmark-sub {
  font-size: 7px;
  letter-spacing: 1.7px;
}
.workspace-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #666;
  margin: 0 13px 12px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  margin-bottom: 6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: #555;
  border: 1px solid transparent;
  min-height: 46px;
}
.nav-link .icon {
  height: 18px;
  width: 18px;
}
.nav-link:hover {
  background: #f5f5f5;
  color: #222;
}
.nav-link.current {
  background: #fff4cc;
  border-color: #f4e2a0;
  color: #282828;
  font-weight: 750;
}
.nav-link.current .icon {
  color: #9c292c;
}
.admin-label {
  margin-top: 30px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.mission-mini {
  padding: 12px 12px 24px;
  border-top: 3px solid var(--yellow);
}
.mission-mini p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
.little-ray {
  display: none;
}
.sidebar-person {
  border-top: 1px solid var(--line);
  padding: 20px 3px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #444;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e2e2;
}
.sidebar-person strong {
  font-size: 12px;
  font-weight: 700;
  display: block;
}
.sidebar-person small {
  font-size: 10px;
  color: #626262;
  display: block;
}
.signout {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 6px;
  color: #555;
  font-size: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
}
.signout:hover {
  background: #f4f4f4;
}
.signout .icon {
  width: 16px;
  height: 16px;
}
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background: #fff;
}
.topbar-label {
  font-size: 11px;
  color: #626262;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #555;
}
.secure-dot {
  background: #555;
  height: 5px;
  width: 5px;
}
.avatar-small {
  margin-left: 15px;
  height: 32px;
  width: 32px;
  font-size: 11px;
}
.topbar-signout {
  margin-left: 9px;
}
.topbar-signout button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 7px;
  color: #555;
  font-size: 11px;
  border-radius: 6px;
}
.topbar-signout button:hover {
  background: #f4f4f4;
}
.topbar-signout .icon {
  width: 15px;
  height: 15px;
}
.content {
  padding: 34px 40px 25px;
  max-width: 1330px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}
.page-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
}
.page-heading h1 {
  font-size: 35px;
  margin-bottom: 10px;
}
.page-heading p {
  font-size: 13px;
  margin: 0;
}
.identity-separator {
  padding: 0 7px;
  color: #8a8a8a;
}
.role-pill {
  font-size: 11px;
  padding: 7px 12px;
  border: 1px solid #e1e1e1;
  background: #fff;
  border-radius: 20px;
  color: #555;
  text-align: center;
}
.restaurant-context {
  display: flex;
  align-items: center;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 16px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px #00000002;
}
.context-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff4cc;
  border: 1px solid #f0dfa1;
  border-radius: 11px;
  color: #292929;
  flex-shrink: 0;
}
.context-icon .icon {
  width: 23px;
  height: 23px;
}
.context-copy {
  flex: 1;
  min-width: 0;
}
.context-copy .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
  margin-bottom: 5px;
}
.context-copy strong {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
.context-copy strong span {
  font-weight: 450;
  color: #626262;
  font-size: 14px;
}
.context-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #626262;
}
.quiet-tag {
  font-size: 11px;
  color: #555;
  border: 1px solid #e0e0e0;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.context-selector {
  display: flex;
  gap: 8px;
  max-width: 310px;
}
.context-selector select {
  font-size: 12px;
  max-width: 220px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 15px;
}
.section-heading h2 {
  font-size: 20px;
  margin: 0;
}
.section-caption {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #626262;
}
.home-workspace {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.module-card {
  background: #fff;
  border: 1px solid #dedede;
  border-top: 5px solid var(--yellow);
  border-radius: 13px;
  padding: 28px 28px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 24px #25252504;
  min-height: 325px;
  display: flex;
  flex-direction: column;
}
.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 15px;
}
.module-icon {
  background: var(--yellow);
  border: 1px solid #efbd24;
  border-radius: 12px;
  padding: 13px;
  color: #282828;
  display: flex;
}
.module-icon .icon {
  width: 27px;
  height: 27px;
}
.coming-soon {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  border: 1px solid #dedede;
  border-radius: 20px;
  padding: 5px 10px;
  background: #f5f5f5;
  white-space: nowrap;
}
.coming-soon > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #737373;
}
.module-card h3 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.module-copy > p {
  font-size: 14px;
  color: #626262;
  line-height: 1.8;
  margin-bottom: 28px;
}
.module-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  color: #626262;
  font-size: 11px;
  margin-top: auto;
  align-items: center;
}
.module-footer .icon {
  width: 15px;
  height: 15px;
}
.mission-card {
  padding: 30px 27px;
  border: 1px solid var(--line);
  background: #f4f4f4;
  border-radius: 13px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-card:before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--red);
  margin-bottom: 22px;
}
.mission-card .eyebrow {
  font-size: 9px;
}
.mission-card h2 {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.mission-card p {
  font-size: 12px;
  color: #626262;
  line-height: 1.8;
  margin: 0 0 22px;
}
.mission-signature {
  font-size: 8px;
  letter-spacing: 1.4px;
  font-weight: 650;
  color: #626262;
}
.home-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 11px;
  color: #626262;
}
.home-bottom .icon {
  height: 15px;
  width: 15px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 19px 40px;
  font-size: 10px;
  color: #626262;
}
.auth-card {
  margin: 16px auto 32px;
  max-width: 510px;
  background: #fff;
  padding: 28px 34px 32px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 14px;
}
.auth-card h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.auth-card .muted {
  font-size: 13px;
}
.back-link {
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  min-height: 36px;
  color: #555;
}
.back-link:hover {
  color: var(--red);
}
.auth-card .form-icon {
  margin-top: 3px;
  margin-bottom: 16px;
}
.auth-card .button {
  margin-top: 8px;
}
.verification-preview {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 12px;
  color: #555;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  background: #fafafa;
}
.verification-preview .icon {
  width: 18px;
  height: 18px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.75;
  font-weight: 400;
  margin: 12px 0 18px;
  padding: 4px 0;
  cursor: pointer;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--red);
  margin: 2px 0;
}
.step-list {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 24px 0;
}
.step-list li {
  position: relative;
  counter-increment: steps;
  padding: 0 0 22px 40px;
}
.step-list li:before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  background: #fff4cc;
  border: 1px solid #f0dfa1;
  border-radius: 50%;
  font-size: 12px;
  color: #333;
}
.step-list strong {
  font-size: 13px;
  display: block;
}
.step-list span {
  font-size: 12px;
  color: #626262;
  display: block;
  margin-top: 3px;
}
.success-panel {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 24px;
  color: #333;
}
.success-panel h2 {
  margin-top: 12px;
}
.success-panel p {
  margin: 0;
  font-size: 13px;
}
.messages {
  margin-bottom: 20px;
}
.message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 15px;
  border: 1px solid #dcdcdc;
  border-left: 3px solid var(--yellow);
  background: #fff;
  border-radius: 8px;
  color: #444;
  font-size: 12px;
  margin-bottom: 10px;
}
.message.error {
  color: #92262b;
  background: #fff5f5;
  border-color: #edcbcd;
  border-left-color: var(--red);
}
.message .icon {
  width: 17px;
  height: 17px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  min-width: 0;
  max-width: 100%;
}
.card h2 {
  font-size: 19px;
  margin-bottom: 14px;
}
.card > .muted {
  font-size: 13px;
}
.profile-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 0 0 24px;
}
.profile-heading h2 {
  margin-bottom: 8px;
}
.large {
  width: 56px;
  height: 56px;
  font-size: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 10px;
  line-height: 1.5;
  border-radius: 20px;
  white-space: nowrap;
}
.badge:before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.active {
  background: #f0f0f0;
  color: #424242;
}
.badge.invited {
  background: #fff4cc;
  color: #654d12;
}
.badge.inactive {
  background: #fceeee;
  color: #963237;
}
.details {
  margin: 0;
}
.details > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.details dt {
  color: #626262;
  font-size: 11px;
  margin-bottom: 4px;
}
.details dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.card-heading h2 {
  margin: 0;
}
.card-heading .icon {
  color: #555;
  width: 20px;
  height: 20px;
}
.setting-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
  gap: 8px;
  min-height: 48px;
}
.setting-link:hover {
  color: var(--red);
}
.setting-link .icon {
  width: 16px;
  height: 16px;
}
.card form > .full {
  margin-top: 18px;
}
.assignment-card {
  margin-top: 22px;
}
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.list-row strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.list-row div > span {
  display: block;
  font-size: 11px;
  color: #626262;
  margin-top: 4px;
}
.list-row .grow {
  flex: 1;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 19px 24px;
}
.stat > span {
  font-size: 12px;
  color: #626262;
}
.stat strong {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -1px;
  margin-top: 8px;
  line-height: 1.2;
}
.stat-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid #aa7f00;
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 20px;
}
.table-toolbar h2 {
  margin: 0;
}
.search-form {
  display: flex;
  gap: 7px;
}
.search-form input {
  font-size: 12px;
  max-width: 220px;
}
.search-form .icon {
  width: 17px;
  height: 17px;
}
.table-scroll {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  color: #626262;
  background: #f8f8f8;
  padding: 13px 24px;
  border-block: 1px solid var(--line);
  font-weight: 650;
}
td {
  font-size: 12px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfcfc;
}
.table-person {
  display: flex;
  gap: 11px;
  align-items: center;
}
.table-person strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.table-person small {
  display: block;
  font-size: 11px;
  color: #626262;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.table-person .avatar {
  width: 35px;
  height: 35px;
  font-size: 11px;
}
.table-action {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12px;
  min-height: 44px;
  font-weight: 600;
}
.table-action .icon {
  width: 15px;
  height: 15px;
}
.table-action:hover {
  color: var(--red);
  text-decoration: underline;
}
.table-footnote {
  padding: 15px 24px;
  background: #fafafa;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #626262;
  display: flex;
  gap: 9px;
  align-items: center;
}
.table-footnote .icon {
  height: 14px;
  width: 14px;
}
.subtle-note {
  font-size: 11px;
  color: #626262;
  margin: 16px 0;
}
.empty-state {
  text-align: center;
  padding: 35px 15px;
  color: #626262;
  white-space: normal;
}
.empty-state h3 {
  font-size: 21px;
  margin-top: 15px;
  color: #333;
}
.empty-state p {
  font-size: 13px;
  margin: 0;
}
.form-card {
  max-width: 650px;
}
.form-field {
  margin-bottom: 22px;
}
.form-field label {
  font-size: 13px;
}
.required-mark {
  color: var(--red);
}
.form-field ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.form-field div[id$="roles"] > div {
  margin: 4px 0;
}
.form-field div[id$="roles"] label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  padding: 7px 0;
  min-height: 38px;
  cursor: pointer;
}
.form-field input[type="checkbox"] {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.field-error {
  color: #a72c30;
  font-size: 12px;
  margin-top: 7px;
}
.field-error ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.has-error input,
.has-error select {
  border-color: var(--red);
}
.empty-inline {
  font-size: 13px;
  color: #626262;
  border: 1px dashed #ccc;
  padding: 16px;
  border-radius: 7px;
  margin: 18px 0;
}
.assignment-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.danger-zone {
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.danger-zone p {
  margin-bottom: 0;
}
.danger {
  background: #fff;
  border-color: #e4b5b7;
  color: #a42d32;
}
.danger:hover {
  background: #fff1f1;
}
.text-button {
  padding: 10px 4px;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  min-height: 44px;
}
.danger-text {
  color: #a42d32;
}
.table-small {
  display: block;
  font-size: 11px;
  color: #626262;
  margin-top: 3px;
}
.audit-details {
  white-space: normal;
  font-size: 11px;
  max-width: 300px;
}
.audit-details dd {
  margin: 3px 0 8px;
  overflow-wrap: anywhere;
}
summary {
  cursor: pointer;
  font-size: 11px;
  color: #555;
  margin-top: 8px;
  min-height: 24px;
}
.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;
}
button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.status-note {
  font-size: 12px;
  color: #a42d32;
  margin-top: 18px;
}
@media (max-width: 1150px) {
  .sidebar {
    width: 215px;
    padding-inline: 15px;
  }
  .sidebar .wordmark {
    font-size: 14px;
    gap: 8px;
  }
  .sidebar .wordmark-sub {
    font-size: 6px;
  }
  .content,
  .topbar {
    padding-inline: 27px;
  }
  .app-footer {
    padding-inline: 27px;
  }
  .context-selector {
    max-width: 240px;
  }
  .context-selector select {
    max-width: 160px;
  }
  .context-copy strong {
    font-size: 18px;
  }
  .context-copy p {
    max-width: 245px;
  }
  .home-workspace {
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
  }
  .module-card {
    padding-inline: 23px;
  }
  .mission-card {
    padding: 26px 23px;
  }
  .mission-card h2 {
    font-size: 23px;
  }
  .signin-layout {
    gap: 7%;
  }
  .signin-story h1 {
    font-size: 51px;
  }
  .signin-panel {
    padding: 28px;
  }
  .two-column {
    gap: 18px;
  }
  .card {
    padding: 23px;
  }
  .table-card {
    padding: 0;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 185px;
  }
  .sidebar .wordmark {
    font-size: 12px;
  }
  .sidebar .wordmark strong {
    font-size: 22px;
  }
  .sidebar .wordmark-sub {
    letter-spacing: 1.1px;
  }
  .nav-link {
    font-size: 11px;
    gap: 8px;
    padding-inline: 10px;
  }
  .sidebar .brand {
    margin-left: 0;
  }
  .content,
  .topbar {
    padding-inline: 23px;
  }
  .topbar-label {
    display: none;
  }
  .topbar-right {
    width: 100%;
  }
  .topbar-signout {
    margin-left: auto;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .restaurant-context {
    flex-wrap: wrap;
    padding: 20px;
    gap: 13px;
  }
  .context-copy p {
    max-width: none;
  }
  .context-selector {
    max-width: 100%;
    width: 100%;
  }
  .context-selector select {
    max-width: none;
    flex: 1;
  }
  .home-workspace {
    grid-template-columns: 1fr;
  }
  .mission-card {
    padding: 22px;
    display: block;
  }
  .mission-card:before {
    display: none;
  }
  .mission-card h2 {
    font-size: 22px;
    max-width: 400px;
    margin-bottom: 0;
  }
  .mission-card p,
  .mission-signature {
    display: none;
  }
  .module-card {
    min-height: 280px;
  }
  .module-top {
    margin-bottom: 24px;
  }
  .section-caption {
    display: none;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 17px;
  }
  .stat > span {
    font-size: 11px;
  }
  .table-toolbar {
    flex-wrap: wrap;
  }
  .danger-zone {
    flex-direction: column;
    align-items: flex-start;
  }
  .signin-story h1 {
    font-size: 43px;
    letter-spacing: -1.7px;
  }
  .signin-layout {
    gap: 5%;
  }
  .signin-panel {
    padding: 23px;
  }
  .signin-story .eyebrow {
    font-size: 8px;
  }
  .signin-mission p {
    font-size: 19px;
  }
  .story-description {
    font-size: 14px;
  }
  .signin-panel h2 {
    font-size: 25px;
  }
  .signin-links {
    font-size: 11px;
  }
  .header-note {
    display: none;
  }
}
@media (max-width: 600px) {
  .demo-banner {
    gap: 6px;
    padding: 7px 15px;
    justify-content: flex-start;
    font-size: 9px;
  }
  .demo-banner strong {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .demo-dot {
    width: 5px;
    height: 5px;
  }
  .demo-banner > span:last-child {
    font-size: 8px;
  }
  .public-header {
    height: 76px;
    padding-inline: 20px;
  }
  .wordmark {
    font-size: 16px;
  }
  .wordmark strong {
    font-size: 25px;
  }
  .wordmark-sub {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .public-content {
    padding: 4px 18px 22px;
    min-height: 0;
  }
  .signin-layout {
    display: block;
    padding: 5px 0 12px;
  }
  .signin-story {
    padding: 0;
  }
  .signin-story .eyebrow,
  .signin-story .story-description,
  .signin-mission {
    display: none;
  }
  .signin-story h1 {
    font-size: 27px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 7px 2px 20px;
    max-width: 340px;
  }
  .signin-story h1 br {
    display: none;
  }
  .signin-story h1 br:after {
    content: " ";
  }
  .signin-story h1 .highlight-text {
    display: inline-block;
    margin-left: 4px;
  }
  .signin-panel {
    padding: 22px;
    max-width: none;
  }
  .signin-panel > .form-icon,
  .signin-panel > .eyebrow {
    display: none;
  }
  .signin-panel h2 {
    font-size: 25px;
    margin-bottom: 7px;
  }
  .signin-panel > .muted {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .notice {
    padding: 11px 13px;
    margin-bottom: 16px;
    font-size: 12px;
  }
  .signin-panel .field-help {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .signin-links {
    font-size: 11px;
    margin: 4px 0;
  }
  .security-note {
    padding-top: 12px;
  }
  .security-note p {
    font-size: 10px;
  }
  .help-note {
    font-size: 11px;
    margin-top: 13px;
  }
  .public-footer {
    margin-inline: 20px;
    padding: 15px 0;
    font-size: 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .public-footer .icon {
    width: 12px;
    height: 12px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    width: 100%;
    padding: 18px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .sidebar .brand {
    margin: 0 0 15px;
  }
  .sidebar .wordmark {
    font-size: 16px;
    gap: 10px;
  }
  .sidebar .wordmark strong {
    font-size: 25px;
  }
  .sidebar .wordmark-sub {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .sidebar > .workspace-label {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
    margin-inline: -3px;
    padding-bottom: 9px;
  }
  .nav-link {
    font-size: 11px;
    white-space: nowrap;
    margin: 0;
    min-height: 44px;
    padding: 10px 12px;
    gap: 7px;
  }
  .nav-link .icon {
    height: 16px;
    width: 16px;
  }
  .admin-label {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    height: 52px;
    padding: 0 18px;
  }
  .topbar-right {
    font-size: 10px;
    gap: 6px;
  }
  .avatar-small {
    width: 29px;
    height: 29px;
    font-size: 10px;
    margin-left: 7px;
  }
  .topbar-signout button {
    font-size: 11px;
  }
  .content {
    padding: 23px 18px 20px;
  }
  .page-heading {
    margin-bottom: 20px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 29px;
    letter-spacing: -1px;
    margin-bottom: 7px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 7px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .home-heading {
    flex-wrap: nowrap;
    gap: 9px;
    align-items: flex-start;
  }
  .home-heading .role-pill {
    font-size: 9px;
    padding: 5px 8px;
    margin-top: 2px;
  }
  .home-heading p {
    font-size: 11px;
  }
  .identity-separator {
    padding: 0 3px;
  }
  .restaurant-context {
    padding: 16px;
    gap: 12px;
    margin-bottom: 23px;
    border-radius: 10px;
  }
  .context-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }
  .context-icon .icon {
    width: 21px;
    height: 21px;
  }
  .context-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .context-copy strong {
    font-size: 17px;
  }
  .context-copy strong span {
    font-size: 12px;
  }
  .context-copy p {
    font-size: 10px;
    line-height: 1.6;
  }
  .restaurant-context > .quiet-tag {
    display: none;
  }
  .context-selector {
    gap: 7px;
  }
  .context-selector select {
    font-size: 13px;
  }
  .context-selector .button {
    font-size: 12px;
  }
  .section-heading {
    margin-bottom: 13px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .home-workspace {
    gap: 16px;
  }
  .module-card {
    padding: 20px 20px 0;
    min-height: 250px;
    border-top-width: 4px;
  }
  .module-top {
    margin-bottom: 21px;
  }
  .module-icon {
    padding: 10px;
    border-radius: 10px;
  }
  .module-icon .icon {
    width: 24px;
    height: 24px;
  }
  .coming-soon {
    font-size: 10px;
    padding: 4px 9px;
  }
  .module-card h3 {
    font-size: 28px;
    margin-bottom: 9px;
  }
  .module-copy > p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .desktop-break {
    display: none;
  }
  .module-footer {
    font-size: 10px;
    padding: 13px 0;
    gap: 10px;
  }
  .module-footer .icon {
    width: 13px;
    height: 13px;
  }
  .mission-card {
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--red);
  }
  .mission-card .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
  }
  .mission-card h2 {
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -0.4px;
  }
  .home-bottom {
    margin-top: 18px;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 10px;
    gap: 7px;
  }
  .home-bottom .icon {
    margin-top: 2px;
    width: 14px;
    height: 14px;
  }
  .app-footer {
    padding: 15px 18px;
    font-size: 9px;
  }
  .app-footer > span:last-child {
    display: none;
  }
  .messages {
    margin-bottom: 16px;
  }
  .message {
    font-size: 11px;
    padding: 10px 12px;
  }
  .auth-card {
    margin: 7px auto 16px;
    padding: 19px 22px 23px;
  }
  .auth-card h1 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .auth-card .muted {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .auth-card .eyebrow {
    font-size: 8px;
    margin-bottom: 9px;
  }
  .auth-card .form-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 13px;
  }
  .auth-card .back-link {
    margin-bottom: 12px;
    font-size: 11px;
  }
  .auth-card .field-help {
    font-size: 11px;
    margin: 12px 0;
  }
  .auth-card > a:last-child {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
  }
  .verification-preview {
    font-size: 8px;
    padding: 10px;
    letter-spacing: 0.7px;
    margin-bottom: 13px;
  }
  .checkbox-row {
    font-size: 11px;
    margin: 10px 0 14px;
  }
  .button {
    font-size: 12px;
    min-height: 46px;
  }
  .card {
    padding: 21px;
  }
  .table-card {
    padding: 0;
  }
  .card h2 {
    font-size: 18px;
  }
  .two-column {
    gap: 16px;
  }
  .stat-grid {
    gap: 8px;
    margin-bottom: 19px;
  }
  .stat {
    padding: 13px 12px;
  }
  .stat > span {
    font-size: 10px;
    display: block;
    min-height: 29px;
    line-height: 1.5;
  }
  .stat strong {
    font-size: 27px;
    margin-top: 7px;
  }
  .stat-dot {
    width: 5px;
    height: 5px;
  }
  .table-toolbar {
    padding: 18px;
    gap: 15px;
  }
  .table-toolbar h2 {
    font-size: 18px;
  }
  .search-form {
    width: 100%;
  }
  .search-form input {
    max-width: none;
    min-height: 44px;
    font-size: 13px;
  }
  .search-form .button {
    min-height: 44px;
    min-width: 44px;
  }
  .people-table,
  .people-table tbody {
    display: block;
    width: 100%;
  }
  .people-table thead {
    display: none;
  }
  .people-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 17px;
    border-top: 1px solid var(--line);
  }
  .people-table td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
    white-space: normal;
  }
  .people-table td:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .people-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    margin-left: 44px;
    font-size: 11px;
    color: #626262;
  }
  .people-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  .people-table td:last-child {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .people-table td[colspan] {
    grid-column: 1/-1 !important;
    margin: 0 !important;
  }
  .table-person {
    gap: 9px;
  }
  .table-person > span:last-child {
    min-width: 0;
  }
  .table-person strong {
    font-size: 12px;
  }
  .table-person small {
    font-size: 10px;
    word-break: break-word;
  }
  .table-person .avatar {
    width: 35px;
    height: 35px;
    font-size: 11px;
  }
  .table-action {
    font-size: 11px;
    min-height: 44px;
    gap: 0;
  }
  .table-action .icon {
    display: none;
  }
  .table-footnote {
    padding: 13px 17px;
    font-size: 10px;
  }
  .subtle-note {
    font-size: 10px;
    margin: 14px 0;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions .button {
    flex: 1;
  }
  .list-row {
    flex-wrap: wrap;
    gap: 11px;
  }
  .form-field {
    margin-bottom: 20px;
  }
  .danger-zone {
    gap: 17px;
  }
  .setting-link {
    font-size: 12px;
  }
  input:not([type="checkbox"]),
  select {
    font-size: 16px;
  }
  .form-field label {
    font-size: 12px;
  }
  .badge {
    font-size: 9px;
  }
  .profile-heading h2 {
    font-size: 20px;
  }
  .details dd {
    font-size: 12px;
  }
  .details dt {
    font-size: 11px;
  }
  th,
  td {
    padding-inline: 18px;
  }
  .page-heading > .button {
    font-size: 12px;
  }
  .table-small {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Final Phase 1 polish: keep the future module noninteractive and context concise. */
.home-workspace {
  display: block;
}
.module-card {
  min-height: 275px;
}
.module-copy {
  max-width: 610px;
}
.home-heading {
  margin-bottom: 22px;
}
.home-heading h1 {
  margin-bottom: 7px;
}
.footer-mission {
  font-size: 11px;
  color: #626262;
}
.verification-details {
  margin: 12px 0 4px;
}
.verification-details summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
}
.verification-details summary::before {
  content: "+";
  font-size: 16px;
  margin-right: 9px;
}
.verification-details[open] summary::before {
  content: "−";
}
@media (max-width: 600px) {
  .app-shell {
    position: relative;
  }
  .sidebar {
    padding: 12px 15px 0;
  }
  .sidebar .brand {
    margin-bottom: 10px;
    padding-right: 68px;
  }
  .sidebar .wordmark {
    font-size: 15px;
    gap: 8px;
  }
  .sidebar .wordmark strong {
    font-size: 23px;
  }
  .sidebar .wordmark-sub {
    margin-top: 5px;
    font-size: 6px;
  }
  .sidebar nav {
    padding-bottom: 7px;
  }
  .topbar {
    position: absolute;
    top: 5px;
    right: 12px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .topbar-right {
    width: auto;
  }
  .topbar-right > span,
  .topbar-right > .avatar {
    display: none;
  }
  .topbar-signout {
    margin: 0;
  }
  .topbar-signout button {
    font-size: 10px;
    gap: 5px;
  }
  .topbar-signout .icon {
    width: 14px;
    height: 14px;
  }
  .content {
    padding: 18px 16px 18px;
  }
  .home-heading {
    margin-bottom: 15px;
  }
  .home-heading h1 {
    font-size: 27px;
    margin-bottom: 5px;
  }
  .restaurant-context {
    padding: 14px;
    margin-bottom: 19px;
  }
  .section-heading {
    margin-bottom: 11px;
  }
  .module-card {
    min-height: 235px;
    padding: 18px 18px 0;
  }
  .module-top {
    margin-bottom: 17px;
  }
  .module-card h3 {
    font-size: 27px;
    margin-bottom: 8px;
  }
  .module-copy > p {
    margin-bottom: 18px;
  }
  .app-footer {
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 16px;
  }
  .app-footer > .footer-mission {
    display: block;
    font-size: 10px;
    width: 100%;
  }
  .signin-story .signin-mission {
    display: block;
    margin: 0 2px 19px;
    padding: 0;
    border: 0;
    max-width: 360px;
  }
  .signin-mission .eyebrow {
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #626262;
  }
  .signin-mission p {
    font-size: 17px;
    line-height: 1.35;
  }
  .signin-story h1 {
    margin-bottom: 15px;
  }
}
@media (max-width: 600px) {
  .app-footer > .footer-mission:last-child {
    display: block;
  }
}
