:root {
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --ink: #14211c;
  --muted: #4d5c55;
  --forest: #12352c;
  --forest-2: #1b4a3e;
  --leaf: #1f7a5a;
  --pulse: #e23b2b;
  --sand: #e7d3ae;
  --white: #fffdf8;
  --line: rgba(20, 33, 28, 0.12);
  --serif: "Fraunces", "Noto Sans Devanagari", "Noto Sans Arabic", Georgia, serif;
  --sans: "Outfit", "Noto Sans Devanagari", "Noto Sans Arabic", "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(20, 33, 28, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(226, 59, 43, 0.08), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--forest-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 0.8rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pulse); outline-offset: 2px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf);
  margin-bottom: 0.7rem;
}

.mark { width: 44px; height: 44px; display: block; flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--forest); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 620; }
.brand-name small { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(243, 239, 230, 0.92); backdrop-filter: blur(12px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a { text-decoration: none; font-weight: 600; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--pulse);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 0 0.9rem;
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
  font-weight: 600;
  cursor: pointer;
}
.btn-small { padding: 0 0.85rem; font-size: 0.95rem; height: 40px; min-height: 40px; }
.btn-ghost, button.btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--line); }
.btn-danger { background: transparent; color: var(--pulse); border: 1px solid rgba(226, 59, 43, 0.35); }
.hero { padding: 3.2rem 0 2rem; }
.hero-grid, .split { display: grid; gap: 1.2rem; }
.hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.steps { list-style: none; margin: 0; padding: 1.2rem; background: var(--white); border-radius: 22px; box-shadow: var(--shadow); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps span { font-family: var(--serif); color: var(--pulse); font-size: 1.2rem; }
.section { padding: 1rem 0 4rem; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.2rem; }
.section-cta { margin-top: 1.4rem; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.plan, .panel, .stat, .auth-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.plan { padding: 1.15rem 1.15rem 1.3rem; position: relative; }
.plan.featured { outline: 2px solid var(--forest); }
.flag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--sand);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.price { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 0.3rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-row p { margin: 0; }

.auth-body { min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-copy { padding: 2.2rem; background: var(--forest); color: #f6f1e7; display: flex; flex-direction: column; justify-content: center; }
.auth-copy .brand, .auth-copy h1 { color: #f6f1e7; }
.auth-copy .brand-name small, .auth-copy .lede { color: rgba(246, 241, 231, 0.78); }
.auth-copy .eyebrow { color: #e7d3ae; }
.auth-copy .brand { margin-bottom: 2rem; }
.auth-card { margin: auto; width: min(440px, calc(100% - 2rem)); padding: 1.5rem; }
.auth-card label, .panel label, .main label { display: block; font-weight: 600; font-size: 0.92rem; margin: 0.85rem 0 0.3rem; }
.auth-card label span, .panel label span { color: var(--muted); font-weight: 500; }
.auth-card input, .auth-card select, .panel input, .panel select, .inline-form input, .inline-form select, .claim-form input {
  width: 100%;
  height: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0 0.7rem;
  line-height: 38px;
}
.auth-card textarea, .panel textarea {
  width: 100%;
  height: auto;
  min-height: 4.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  line-height: 1.4;
}
.panel input[type="checkbox"], .panel input[type="radio"], .panel input[type="hidden"], .panel input[type="file"],
.auth-card input[type="checkbox"], .auth-card input[type="radio"], .auth-card input[type="hidden"], .auth-card input[type="file"],
.check input {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  line-height: normal;
  border-radius: 0;
}
.panel input[type="file"], .auth-card input[type="file"] {
  width: 100%;
  min-height: 40px;
  padding: 0.35rem 0.7rem;
  line-height: 1.4;
}
.auth-card .btn, .panel .btn { margin-top: 1rem; }
.switch { color: var(--muted); margin-top: 1rem; }
.auth-extra { margin: 0.85rem 0 0; }
.auth-extra a { font-weight: 600; }
.check { display: flex !important; align-items: center; gap: 0.45rem; font-weight: 500 !important; }
.check input { width: auto; }
.alert, .status { border-radius: 14px; padding: 0.75rem 0.9rem; margin: 0 0 1rem; }
.alert { background: #fde8e4; color: #6d2218; }
.alert p, .status { margin: 0; }
.status { background: #e5f3ec; color: var(--forest); }

.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side {
  background: var(--forest);
  color: #f6f1e7;
  padding: 1.2rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side .brand, .side .brand-name strong { color: #f6f1e7; }
.side .brand-name small { color: rgba(246, 241, 231, 0.7); }
.side-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.side-nav a {
  color: #f6f1e7;
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
}
.side-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); }
.side-foot { margin-top: auto; }
.who { font-weight: 600; margin: 0; }
.who-mail { color: rgba(246, 241, 231, 0.72); font-size: 0.92rem; }
.side .btn-ghost, .side button.btn-ghost { color: #f6f1e7; border-color: rgba(246, 241, 231, 0.3); background: transparent; }
.main { padding: 1.4rem 1.5rem 3rem; }
.trial-banner {
  background: var(--forest);
  color: #f6f1e7;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  margin: 0 0 1rem;
}
.trial-banner a { color: #fff; }
.page-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.stat, .panel { padding: 1rem 1.1rem 1.15rem; }
.stat p { color: var(--muted); margin: 0; }
.stat strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 560; }
.callout h2 { margin-top: 0.2rem; }
.panel h2 { margin-top: 0.2rem; }
.panel + .panel, .split + .panel, .panel + .plan-grid { margin-top: 1rem; }
.split { grid-template-columns: repeat(3, 1fr); align-items: start; }
.split-2 { grid-template-columns: 1.3fr 0.7fr; }
.narrow { max-width: 36rem; }
.inline-form, .claim-form, .time-row { display: flex; gap: 0.7rem; align-items: end; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; min-width: 12rem; }
.inline-form input[type="number"], .desk-table input[type="number"] {
  width: 6rem;
  min-width: 6rem;
  line-height: normal;
  padding: 0 0.45rem;
}
.claim-form > div { flex: 1; min-width: 10rem; }
.claim-form .btn, .inline-form .btn { margin-top: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pill { display: inline-flex; border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.82rem; font-weight: 600; }
.pill.on { background: #e5f3ec; color: var(--forest); }
.pill.off { background: var(--paper-2); color: var(--muted); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.8rem; }
.media-card { background: var(--paper); border-radius: 16px; padding: 0.7rem; }
.media-card img, .thumb { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; background: var(--forest); }
.thumb { display: grid; place-items: center; color: #f6f1e7; text-align: center; padding: 0.6rem; }
.thumb.theme-paper { background: var(--paper-2); color: var(--ink); }
.thumb.theme-pulse { background: var(--pulse); }
.thumb.theme-ink { background: var(--ink); }
.media-card h3 { font-size: 1.05rem; margin: 0.55rem 0 0.2rem; }
.media-card p { color: var(--muted); font-size: 0.92rem; }
.item-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.item-row, .schedule-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem 0.8rem;
  align-items: center;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.item-row form { display: flex; gap: 0.4rem; align-items: center; }
.item-row input[type="number"] { width: 5.5rem; }
.row-actions { display: flex; gap: 0.35rem; grid-column: 1 / -1; }
.schedule-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.days { border: 0; margin: 0.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; }
.days legend { font-weight: 600; font-size: 0.92rem; padding: 0; margin-bottom: 0.3rem; width: 100%; }
.time-row > div { flex: 1; }
.danger-form { margin-top: 1.4rem; }
.empty-copy { color: var(--muted); }
.social-review { margin: 0 0 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line, #ddd); }
.social-review form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .hero-grid, .auth-shell, .plan-grid, .split, .split-2, .account-grid, .stat-grid, .onboard-grid { grid-template-columns: 1fr; }
  .auth-copy { min-height: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.8rem 1rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .feature-grid, .steps-grid, .industry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.nav-toggle {
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-row { position: relative; }
.topbar { background: var(--forest); color: #f6f1e7; font-size: 0.92rem; }
.topbar a { color: #f6f1e7; text-decoration: none; }
.topbar-inner { display: flex; gap: 0.7rem; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar-mail { margin-left: auto; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sand); }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: auto; border-radius: 22px; object-fit: cover; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.proof-row, .chip-row, .device-row { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.proof-row li, .chip-row li, .device-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
}
.feature-grid, .industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.feature, .industry-grid article, .steps-grid article { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 1.1rem 1.15rem 1.2rem; }
.feature > i { color: var(--pulse); font-size: 1.3rem; }
.feature h3, .industry-grid h3 { margin-top: 0.55rem; }
.band { background: rgba(18, 53, 44, 0.06); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.steps-grid img, .industry-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.step-no { font-family: var(--serif); color: var(--pulse); font-size: 1.4rem; margin: 0.7rem 0 0.2rem; }
.industry-grid h3 i { color: var(--leaf); margin-right: 0.35rem; }
.faq-wrap { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.8rem 0; }
.help-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.35rem 1rem; margin: 1rem 0 0; }
.help-toc a { font-weight: 600; }
.help h2 { margin-top: 2.2rem; }
.help h3 { margin-top: 1.2rem; }
.help ol, .help ul { padding-left: 1.2rem; }
.help li { margin: 0.35rem 0; }
@media print {
  .topbar, .site-header, .site-footer, .skip, .help-actions { display: none; }
  .help a { text-decoration: none; }
}
.faq details p { color: var(--muted); margin: 0.45rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 0.9fr; gap: 1.2rem; }
.footer-grid > div > a:not(.brand) { display: block; color: var(--muted); text-decoration: none; margin: 0.25rem 0; }
.footer-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--forest); }
.social-links { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; list-style: none; margin: 0.85rem 0 0; padding: 0; }
.social-links a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--forest); font-weight: 600; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }
.footer-note { margin-top: 1.2rem; font-size: 0.92rem; }
.footer-note p + p { margin-top: 0.35rem; }
.footer-note p a + a { margin-left: 0.75rem; }
.footer-note a { color: var(--forest); text-underline-offset: 0.12em; }
.site-footer .brand { display: flex; align-items: center; margin-bottom: 0.6rem; color: var(--forest); }
.side-nav a { display: flex; align-items: center; gap: 0.55rem; }
.side-nav i { width: 1.1rem; text-align: center; }
.kind-switch { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.onboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: stretch;
}
.account-grid > div { display: flex; flex-direction: column; }
.account-grid h3 { margin: 0.2rem 0 0.35rem; }
.account-grid h3 i { color: var(--leaf); margin-right: 0.4rem; }
.account-grid .hint { min-height: 4.6rem; }
.account-grid .check { margin-top: auto; padding-top: 0.9rem; }
.kind-switch button, .kind-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.kind-switch button:hover, .kind-switch a:hover { border-color: var(--forest); background: #f7f1e4; }
.kind-switch button[aria-pressed="true"] { background: var(--forest); color: #f6f1e7; border-color: var(--forest); }
.webcam-preview { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 16px; background: #111; margin: 0.2rem 0 0.8rem; }
.panel h2 i { color: var(--pulse); margin-right: 0.35rem; }
.hint { color: var(--muted); font-size: 0.95rem; }
.panel p, .panel li, .hint { overflow-wrap: anywhere; }
.panel-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.filter-row a {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
}
.filter-row a[aria-current="page"] { background: var(--forest); color: #f6f1e7; }
.filter-row span { font-weight: 500; }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .steps-grid,
  .industry-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero { padding: 2rem 0 1rem; }
  h1 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 0.86rem; }
  .topbar-mail { margin-left: 0; }
  .section { padding: 0.2rem 0 2.6rem; }
  .footer-grid p,
  .footer-grid a { overflow-wrap: anywhere; }
}

.menu-build { display: grid; gap: 0.75rem; margin: 0.8rem 0 1rem; }
.menu-line { display: grid; grid-template-columns: 1.3fr 0.5fr 1fr 0.7fr; gap: 0.4rem; align-items: center; margin-bottom: 0.45rem; }
.media-card .menu-line { grid-template-columns: 1.2fr 0.6fr auto; }
.kind-menus { display: grid; gap: 0.85rem; margin: 0; }
.kind-menus p { margin: 0 0 0.4rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kind-menus .kind-switch { margin: 0; }
@media (max-width: 800px) {
  .menu-line, .media-card .menu-line { grid-template-columns: 1fr; }
  .kind-menus { grid-template-columns: 1fr; }
}
.impersonation-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  background: var(--pulse);
  color: #fffdf8;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  margin: 0 0 1rem;
}
.impersonation-banner p { margin: 0; }
.impersonation-banner form { margin: 0; }
.impersonation-banner button {
  background: #fffdf8;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; }
.address-grid .wide { grid-column: 1 / -1; }
.ticket-thread { display: grid; gap: 0.8rem; margin: 1rem 0; }
.ticket-thread article { background: var(--paper); border-radius: 14px; padding: 0.8rem 0.9rem; }
.ticket-thread article p { margin: 0.2rem 0; }
@media (max-width: 800px) {
  .address-grid { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: flex-start; }
}
.kind-menus > div:first-child .kind-switch {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}
.kind-menus > div:first-child .kind-switch > * { width: 100%; }
.design-toolbar { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin: 0.4rem 0 0.8rem; }
.design-toolbar label { margin: 0; }
.design-stage {
  position: relative;
  width: min(100%, 52rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-radius: 16px;
  margin: 0.4rem 0 1rem;
}
.design-stage .canvas-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}
.design-stage .canvas-container canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.design-inspector { display: flex; flex-wrap: wrap; align-items: end; gap: 0.7rem 1rem; margin: 0 0 0.8rem; }
.design-inspector[hidden] { display: none; }
.design-inspector label { margin: 0; }
.design-inspector input[type="text"] { width: min(100%, 18rem); }
#design-error { color: var(--pulse); }
.field-photo { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 12px; }
.field-items .menu-line { grid-template-columns: 1fr; margin-bottom: 1rem; }
.field-items .field-add { grid-template-columns: 1fr; }
.field-add-main { display: grid; grid-template-columns: 1fr 6.5rem; gap: 0.6rem; }
.currency-pick { max-width: 18rem; margin: 0 0 1.2rem; }
.currency-pick select { width: 100%; }

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.desk-toggle, .nav-check { display: none; }
.nav-label {
  margin: 0.85rem 0 0.15rem;
  padding: 0 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.55);
  font-weight: 600;
}
.nav-label:first-child { margin-top: 0; }
.side-nav a span {
  margin-left: auto;
  background: var(--pulse);
  color: #fff;
  border-radius: 999px;
  min-width: 1.25rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
  text-align: center;
}
.main { min-width: 0; }
.page-head h1 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.panel, .stat, .plan, .auth-card, .feature, .industry-grid article, .steps-grid article {
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20, 33, 28, 0.04);
}
.btn, button.btn, a.btn { border-radius: 10px; height: 40px; min-height: 40px; padding: 0 0.9rem; }
.btn-small { height: 40px; min-height: 40px; padding: 0 0.85rem; }
.side { background: #102e27; }
.side-bar { display: contents; }
.side-nav { flex: 1; min-height: 0; overflow: auto; }
.side-foot .btn, .side-foot button.btn { width: 100%; white-space: nowrap; margin-top: 0.7rem; }
.side-nav a { border-radius: 8px; font-weight: 500; }
.side-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); box-shadow: inset 3px 0 0 var(--pulse); }
input, select, textarea { max-width: 100%; }
input[type="file"] { max-width: 100%; font-size: 0.92rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1rem; align-items: end; }
.form-grid .form-span { grid-column: 1 / -1; }
.form-span .btn { margin-top: 0.4rem; }
.board-head { display: flex; justify-content: space-between; gap: 0.8rem 1rem; align-items: flex-start; margin-bottom: 0.35rem; }
.board-head h2 { margin: 0; font-size: 1.35rem; }
.board-kicker { margin: 0 0 0.15rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf); font-weight: 600; }
.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 8.5rem);
  gap: 0.55rem 0.75rem;
  align-items: center;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}
.dish-name strong { font-size: 1.02rem; }
.dish.is-out .dish-name strong,
.menu-line.is-out input[aria-label="Item name"] { color: var(--muted); text-decoration: line-through; }
.dish-price { margin: 0 !important; }
.dish-price span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dish-actions, .dish-extra { display: flex; flex-wrap: wrap; gap: 0.45rem 0.85rem; align-items: center; }
.dish-actions .check, .dish-extra .check { flex: 0 0 auto; white-space: nowrap; }
.media-card.is-menu .hint { overflow-x: auto; overflow-wrap: normal; word-break: normal; }
.dish-actions { grid-column: 1 / -1; }
.dish-new { align-items: start; }
.field-add-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 8.5rem); gap: 0.55rem; grid-column: 1 / -1; }
.dish-new > .btn, .dish-new input[type="file"] { grid-column: 1 / -1; }
.dish-new > .btn { justify-self: start; }
.file-pick { margin: 0 !important; }
.menu-build .menu-line,
.media-card.is-menu .menu-line {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(6rem, 8rem) minmax(0, 1.5fr);
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.dish-extra input, .dish-extra select { width: auto; min-width: 0; flex: 1 1 7rem; }
.media-card.is-menu { grid-column: 1 / -1; background: var(--white); padding: 1rem 1.05rem 1.1rem; }
.media-card.is-menu .thumb { display: none; }
.media-card.is-menu h3 { font-size: 1.3rem; }
.media-grid, .board, .panel, .filter-row { max-width: 100%; }
.item-row, .item-row form { min-width: 0; }
.item-row form { flex-wrap: wrap; }

@media (max-width: 1100px) {
  .stat-grid, .plan-grid, .feature-grid, .industry-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 901px) {
  .side { height: 100vh; height: 100dvh; overflow: hidden; }
}

@media (max-width: 900px) {
  .shell { display: block; }
  .side {
    position: sticky;
    top: 0;
    z-index: 8;
    height: auto;
    max-height: none;
    overflow: visible;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .side-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem 0.7rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
  }
  .side .brand { flex: 1; min-width: 0; }
  .side:has(.nav-check:checked) {
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
  .nav-check {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .desk-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    border: 1px solid rgba(246, 241, 231, 0.35);
    color: #f6f1e7;
    background: transparent;
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-close-label { display: none; }
  .nav-check:checked + .desk-toggle .nav-open-label { display: none; }
  .nav-check:checked + .desk-toggle .nav-close-label { display: inline; }
  .nav-check:focus-visible + .desk-toggle { outline: 2px solid var(--sand); outline-offset: 2px; }
  .side-nav, .side-foot { display: none; width: 100%; }
  .side:has(.nav-check:checked) .side-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    overflow: auto;
    padding: 0.2rem 0.85rem 0.4rem;
  }
  .side:has(.nav-check:checked) .side-foot {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    padding: 0.35rem 0.85rem 0.85rem;
  }
  .main { padding: 1rem 0.9rem 2.5rem; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; min-width: 0; padding-bottom: 0.35rem; }
  .filter-row a { flex: 0 0 auto; min-height: 40px; height: 40px; align-items: center; }
  .kind-switch button, .kind-switch a { min-height: 40px; height: 40px; }
  .time-row { flex-direction: column; align-items: stretch; }
  .time-row > div { width: 100%; min-width: 0; }
}

@media (max-width: 720px) {
  .form-grid,
  .menu-build .menu-line,
  .media-card.is-menu .menu-line,
  .dish,
  .field-add-main { grid-template-columns: 1fr; }
  .dish-extra input, .dish-extra select, .inline-form input, .inline-form select, .claim-form input { width: 100%; min-width: 0; }
  .board-head { flex-direction: column; }
  .field-items > .btn, .form-span .btn, .is-menu form > .btn, .board-head .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid, .plan-grid, .feature-grid, .industry-grid, .steps-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 1.65rem; }
}

.help-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.35rem 1rem; margin: 1rem 0 0; }
.help-toc a { font-weight: 600; }
.help h2 { margin-top: 2.2rem; }
.help h3 { margin-top: 1.2rem; }
.help ol, .help ul { padding-left: 1.2rem; }
.help li { margin: 0.35rem 0; }
@media print {
  .topbar, .site-header, .site-footer, .skip, .help-actions { display: none; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem; margin: 0 0 0.8rem; color: var(--muted); }
.crumbs a { font-weight: 600; }
.service-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; align-items: center; margin-bottom: 1.4rem; }
.service-hero figure { margin: 0; }
.service-hero img, .service-index img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.service-actions, .section-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.use-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 1.1rem 1.15rem 1.2rem; }
.service h2 { margin-top: 2rem; }
.service-index { margin-top: 1.2rem; }
.service-index h2 { margin-top: 0.7rem; font-size: 1.25rem; }
.industry-grid h3 a { color: inherit; text-decoration: none; }
@media (max-width: 720px) {
  .service-hero, .use-grid { grid-template-columns: 1fr; }
}
.nav-sub { position: relative; }
.nav-sub > summary { cursor: pointer; font-weight: 600; list-style: none; }
.nav-sub > summary::-webkit-details-marker { display: none; }
.nav-sub-panel a { display: block; padding: 0.35rem 0.2rem; }
.site-nav .nav-sub[open] > .nav-sub-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 30;
  min-width: 16rem;
  max-height: 70vh;
  overflow: auto;
  padding: 0.45rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
@media (max-width: 980px) {
  .site-nav .nav-sub[open] > .nav-sub-panel {
    position: static;
    max-height: none;
    border: 0;
    box-shadow: none;
    padding: 0.15rem 0 0.35rem 0.7rem;
    background: transparent;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body:has(.shell) {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(226, 59, 43, 0.08), transparent 55%),
    var(--paper);
}
.shell { grid-template-columns: 232px 1fr; background: transparent; }
.side { background: var(--forest); padding: 0.85rem 0.7rem 0.9rem; gap: 0.7rem; }
.side-nav a { color: rgba(255, 255, 255, 0.88); border-radius: 10px; font-weight: 500; }
.side-nav a[aria-current="page"] {
  background: #fff;
  color: var(--forest);
  box-shadow: inset 3px 0 0 var(--pulse);
  font-weight: 650;
}
.side-nav .nav-label { color: rgba(255, 255, 255, 0.42); font-size: 0.68rem; letter-spacing: 0.14em; margin: 0.85rem 0 0.2rem; }
.side-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: var(--sand);
  color: var(--forest);
  font-weight: 650;
  text-decoration: none;
}
.main { background: transparent; padding: 1.15rem 1.4rem 2.5rem; }
.page-head { align-items: center; margin-bottom: 0.9rem; }
.page-head .eyebrow { display: none; }
.page-head h1 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  border-bottom: 2px solid var(--pulse);
  display: inline-block;
  padding-bottom: 0.12rem;
}
.page-tools { display: flex; align-items: center; gap: 0.65rem; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.page-actions form, .page-actions .btn { margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-top: 1rem; }
.panel .form-actions .btn, .form-actions .btn { margin-top: 0; }
.inline-form .form-actions { margin-top: 0; }
.who-chip {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.screen-board {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 0.85rem 0.9rem 1rem;
}
.screen-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-bottom: 0.7rem; }
.main .screen-filters label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  flex: 1 1 12rem;
  min-height: 40px;
  height: auto;
}
.main .screen-filters select {
  margin: 0;
  min-height: 40px;
  height: 40px;
  border: 1px solid #e1e4ea;
  border-radius: 8px;
  background: #fff;
  padding: 0 0.7rem;
}
.main .screen-search {
  display: flex;
  flex: 1 1 16rem;
  color: var(--muted);
  border: 1px solid #e1e4ea;
  border-radius: 8px;
  padding: 0 0.7rem;
  background: #fff;
}
.main .screen-search input {
  width: 100%;
  min-height: 0;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
}
.screen-table { min-width: 36rem; }
.screen-table th { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 650; color: #5c6670; }
.screen-name, .playing-name { white-space: nowrap; }
.screen-table td { border-bottom-color: #eef0f3; }
.screen-name { font-weight: 650; text-decoration: none; }
.playing-name, .playing-kind { display: block; }
.playing-kind { color: var(--muted); font-size: 0.82rem; }
.pill.wait { background: #fff4d6; color: #8a5a00; }
.screen-count { color: var(--muted); font-size: 0.9rem; margin: 0.7rem 0 0.4rem; }
.screen-actions { margin: 0.2rem 0 0.8rem; }
.pair-bar h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 650; }

@media (max-width: 900px) {
  .shell { display: block; }
  .side { padding: 0; background: var(--forest); }
  .main { padding: 1rem 0.9rem 2.5rem; }
  .page-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .page-head h1 { font-size: 1.25rem; }
  .screen-filters { flex-direction: row; align-items: center; }
  .main .screen-filters label, .main .screen-filters select, .main .screen-filters .ts-wrapper { width: auto; flex: 1 1 12rem; height: auto; }
  .desk-cards { grid-template-columns: 1fr; }
}

.main .table-wrap {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 0.15rem 0.75rem 0.35rem;
}
.main th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: #5c6670;
}
.main td { border-bottom-color: #eef0f3; }
.desk-table { min-width: 36rem; }
.desk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; align-items: start; }
.desk-cards > .panel { margin-top: 0; }
td.actions-cell { width: 1%; white-space: nowrap; text-align: right; vertical-align: middle; }
.main table tr:not(.group-row) > th:last-child { text-align: right; width: 1%; white-space: nowrap; }
td.actions-cell .grid-actions { display: inline-block; vertical-align: middle; }
.grid-actions { position: relative; }
.grid-actions > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  border: 1px solid #d5d9e0;
  border-radius: 8px;
  background: #fff;
  color: var(--forest);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.grid-actions > summary::-webkit-details-marker { display: none; }
.grid-actions[open] > summary { background: var(--forest); color: #fff; }
.grid-actions-menu {
  display: grid;
  gap: 0.15rem;
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  right: 0;
  margin: 0;
  min-width: 9.5rem;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20, 33, 28, 0.12);
}
.grid-actions-menu a,
.grid-actions-menu button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  min-height: 0;
}
.grid-actions-menu form { margin: 0; }
.grid-actions-menu button.is-danger { color: #9b2335; }
.main .grid-actions-menu label { display: flex; margin: 0; font-weight: 600; }
tr.grid-edit td { background: #f8f9fb; }
.library-name { display: flex; align-items: center; gap: 0.65rem; font-weight: 650; }
.media-grid { display: grid; grid-template-columns: 1fr; gap: 0.55rem; }
.media-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.2rem 0.75rem;
  align-items: center;
}
.media-card > .grid-actions { grid-column: 3; grid-row: 1 / span 3; align-self: start; }
.media-card > img, .media-card > .thumb { grid-column: 1; grid-row: 1 / span 3; width: 4.5rem; height: 3rem; margin: 0; }
.media-card > h3, .media-card > p { grid-column: 2; margin: 0; }
.media-card > div[id^="library-"] { grid-column: 1 / -1; }
.side-sub { display: grid; gap: 0.1rem; margin: 0.15rem 0 0.45rem 0.35rem; }
.side-sub a { padding: 0.32rem 0.55rem 0.32rem 1.7rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }
.side-nav .side-sub a[aria-current="page"] { background: transparent; color: #fff; box-shadow: none; font-weight: 650; }
.side-sub .nav-label { margin: 0.55rem 0 0.1rem 1.7rem; }
.side-sub-note { padding: 0.2rem 0.55rem 0.2rem 1.7rem; color: rgba(255, 255, 255, 0.45); font-size: 0.88rem; }
.account-lede { color: var(--muted); max-width: 42rem; margin: 0; }
.account-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; }
.account-nav a {
  text-decoration: none;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.account-nav a[aria-current="page"] { background: var(--forest); color: #f6f1e7; border-color: var(--forest); }
.account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.8rem; margin: 0; }
.account-card {
  display: grid;
  gap: 0.28rem;
  align-content: start;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.account-card i { color: var(--pulse); }
.account-card strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 560; }
.account-card span { color: var(--muted); }
.account-card:hover { outline: 2px solid var(--forest); }
.account-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2rem 1rem; }
.account-location { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.account-location h3 { margin: 0 0 0.45rem; }
#apps h3 { margin-top: 1.15rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }
#apps > h3:first-of-type { margin-top: 0.4rem; padding-top: 0; border-top: 0; }
tr.group-row th { background: var(--paper-2); color: var(--forest); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.grid-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin: 0 0 0.75rem; }
.main .grid-bar .screen-search { display: flex; align-items: center; margin: 0; height: 40px; flex: 1 1 14rem; border: 1px solid #e1e4ea; border-radius: 8px; padding: 0 0.7rem; background: #fff; }
.main .grid-bar .screen-search input { width: 100%; height: 36px; min-height: 0; border: 0; padding: 0; background: transparent; }
.grid-bar select, .grid-create input { height: 40px; min-height: 40px; border: 1px solid #e1e4ea; border-radius: 8px; background: #fff; padding: 0 0.7rem; }
.grid-create { display: flex; gap: 0.45rem; margin-left: auto; align-items: center; }
.grid-create input { width: 14rem; }
.grid-bar .btn { margin-left: auto; }
.library-name img, .library-thumb {
  width: 46px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.layout-board { position: relative; width: min(100%, 40rem); background: var(--forest); border-radius: 12px; overflow: hidden; margin: 0.8rem 0 1rem; }
.layout-board.is-portrait { width: min(100%, 16rem); }
.layout-board::before { content: ""; display: block; padding-top: 56.25%; }
.layout-board.is-portrait::before { padding-top: 177.78%; }
.layout-board.is-custom::before { content: none; }
.layout-presets { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 0.75rem; }
.layout-preset {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  margin: 0;
  padding: 0 0.75rem 0 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  box-sizing: border-box;
}
.layout-preset:hover { border-color: var(--forest); background: #f7f1e4; }
.layout-preset:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(18, 53, 44, 0.16); }
.layout-preset.is-on { background: var(--forest); border-color: var(--forest); color: var(--white); }
.layout-preset:disabled { opacity: 0.45; cursor: not-allowed; }
.layout-preset:disabled:hover { border-color: var(--line); background: var(--white); }
.layout-glyph {
  display: flex;
  width: 28px;
  height: 18px;
  gap: 2px;
  padding: 2px;
  border-radius: 4px;
  background: var(--forest);
  flex: 0 0 auto;
}
.layout-glyph.is-down { flex-direction: column; }
.layout-glyph i { display: block; flex: 1; border-radius: 1px; background: var(--sand); }
.layout-preset[data-preset="main-side"] .layout-glyph i:first-child,
.layout-preset[data-preset="stack"] .layout-glyph i:first-child { flex: 2.3; }
.layout-preset[data-preset="ticker"] .layout-glyph i:last-child { flex: 0.45; }
.layout-preset.is-on .layout-glyph { background: rgba(255, 253, 248, 0.16); }
.layout-preset.is-on .layout-glyph i { background: var(--sand); }
.layout-zone { position: absolute; z-index: 1; box-sizing: border-box; border: 2px solid rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.08); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.1rem; padding: 0.45rem; font-size: 0.82rem; overflow: hidden; cursor: pointer; }
.layout-zone.is-selected { border-color: var(--sand); background: rgba(231, 211, 174, 0.28); }
.layout-zone-size { font-size: 0.78rem; font-weight: 650; }
.layout-split { position: absolute; z-index: 3; touch-action: none; background: transparent; }
.layout-split::after { content: ""; position: absolute; background: var(--sand); border-radius: 999px; }
.layout-split.is-x { width: 14px; transform: translateX(-50%); cursor: col-resize; }
.layout-split.is-x::after { left: 5px; top: 0; bottom: 0; width: 4px; }
.layout-split.is-y { height: 14px; transform: translateY(-50%); cursor: row-resize; }
.layout-split.is-y::after { top: 5px; left: 0; right: 0; height: 4px; }
.zone-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 0.75rem; margin-bottom: 0.8rem; }
.zone-card { border: 1px solid #e1e4ea; border-radius: 10px; padding: 0.8rem 0.9rem; }
.zone-card.is-selected { border-color: var(--forest); }
.zone-card label { margin-top: 0.45rem; }
.layout-zone-item { font-size: 0.78rem; line-height: 1.25; }
.main .report-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: end; margin: 0.8rem 0; }
.main .report-filters label { margin: 0; font-size: 0.82rem; }
.main .report-filters select { min-width: 9rem; height: 40px; }
.chart-icon { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: 0.4rem; border-radius: 8px; background: var(--forest); color: #fff; font-size: 0.78rem; vertical-align: middle; }
.pulse-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: 0.6rem; }
.pulse-metrics .stat p { display: flex; align-items: center; gap: 0.15rem; }
.pulse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 0.8rem 0; }
.panel h2:has(.chart-icon) { display: flex; align-items: center; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.panel-head h2 { margin: 0; }
.panel-head form { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.panel-head .check { margin: 0; }
.chart-row { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) auto; gap: 0.55rem; align-items: center; margin: 0.4rem 0; }
.chart-track { display: block; height: 0.7rem; background: #e1e4ea; border-radius: 999px; overflow: hidden; }
.chart-track > span { display: block; height: 100%; background: var(--forest); border-radius: inherit; }
.month-chart { display: flex; align-items: stretch; gap: 0.35rem; }
.month-chart > div { flex: 1 1 0; min-width: 0; height: 9rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.month-chart .bar { display: block; width: min(100%, 2rem); background: var(--forest); border-radius: 6px 6px 0 0; }
.month-chart .count, .month-chart .label { font-size: 0.75rem; color: #5c6670; }
.pulse-facts { display: grid; gap: 0.45rem; margin: 0; }
.pulse-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.45rem; }
.pulse-facts dt, .pulse-facts dd { margin: 0; }
.pulse-facts dt { color: #5c6670; }
@media (max-width: 800px) {
  .pulse-metrics, .pulse-grid { grid-template-columns: 1fr 1fr; }
  .pulse-facts div { grid-template-columns: 1fr; }
}
.dash-hello h2 { margin-bottom: 0.35rem; }
.dash-hello p { margin: 0; }
.dash-hello p:has(.chart-icon) { display: flex; align-items: center; gap: 0.35rem; }
.place-map { width: 100%; height: 16rem; border: 0; border-radius: 12px; background: #e1e4ea; }
.stat-grid .stat p { display: flex; align-items: center; }

.chart-track > span, .month-chart .bar {
  background: linear-gradient(90deg, var(--forest), var(--leaf));
}
.chart-frame { height: 200px; max-width: 36rem; margin: 0.2rem 0 0.9rem; }
.chart-frame:has(canvas[data-chart="doughnut"]) {
  width: min(100%, 22rem);
  max-width: 22rem;
  height: 16rem;
  margin: 0.4rem auto 1rem;
}
.chart-frame canvas { width: 100% !important; height: 100% !important; display: block; }
#library-preview { border: 0; border-radius: 16px; padding: 1rem; max-width: min(92vw, 52rem); }
#library-preview img { display: block; max-width: 100%; height: auto; margin-top: 0.8rem; }
#library-preview::backdrop { background: rgba(18, 53, 44, 0.72); }
#stage-preview { border: 0; border-radius: 16px; padding: 1rem; width: min(92vw, 64rem); background: #fffdf8; }
#stage-preview::backdrop { background: rgba(18, 53, 44, 0.72); }
#stage-preview [data-stage-title] { margin: 0.8rem 0 0; font-weight: 650; }
#stage-preview iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #111; margin-top: 0.8rem; }
#stage-preview.is-portrait iframe { aspect-ratio: 9 / 16; width: min(100%, 24rem); max-height: 70vh; margin-inline: auto; }
td.actions-cell .btn { margin-right: 0.4rem; }
.auth-qr svg { display: block; width: 12rem; height: 12rem; }

.ts-wrapper { font-family: var(--sans); }
.ts-wrapper.single .ts-control,
.ts-wrapper.multi .ts-control {
  min-height: 40px;
  height: 40px;
  border-radius: 10px;
  border-color: var(--line);
  background: var(--white);
  box-shadow: none;
  padding: 0 0.7rem;
  flex-wrap: nowrap;
  align-items: center;
  overflow: hidden;
}
.ts-wrapper.single .ts-control > .item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  min-width: 0;
}
.ts-wrapper .ts-control > input { min-width: 0 !important; }
.ts-wrapper.focus .ts-control {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(18, 53, 44, 0.16);
}
.ts-dropdown {
  border-radius: 10px;
  border-color: var(--line);
  font-family: var(--sans);
  z-index: 40;
  overflow: hidden;
}
.ts-dropdown .active { background: var(--forest); color: #fff; }
.ts-wrapper.single .ts-control .item { line-height: 38px; }
.main .panel .ts-wrapper,
.auth-card .ts-wrapper { width: 100% !important; }
.main .grid-bar .ts-wrapper,
.main .screen-filters .ts-wrapper,
.main .report-filters .ts-wrapper,
.currency-pick .ts-wrapper {
  width: auto !important;
  min-width: 9rem;
  flex: 0 1 16rem;
}

.pretty { margin-right: 0.35rem; font-size: 1.05rem; line-height: 1; vertical-align: middle; }
.check .pretty { margin-right: 0; }
td .pretty { margin: 0; }
.pretty .state label { text-indent: 0; min-width: calc(1em + 2px); min-height: calc(1em + 2px); }
.pretty.p-curve .state label:before,
.pretty.p-curve .state label:after { border-radius: 4px; }
.pretty .state label:before,
.pretty .state label:after,
.pretty.p-icon .state .icon { top: 0 !important; }
.pretty.p-pulse .state label:before {
  border-color: var(--forest) !important;
  border-width: 2px !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
}
.pretty.p-icon .state .icon { width: 1.15rem; height: 1.15rem; }
.pretty.p-pulse input:checked ~ .state label:before {
  background: var(--forest) !important;
  border-color: var(--forest) !important;
}
.pretty.p-pulse input:checked ~ .state .icon {
  opacity: 1;
  color: #fff;
}
.pretty.p-icon .state .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62em;
}
.pretty input[type="checkbox"],
.pretty input[type="radio"] {
  width: 100% !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.pretty input:disabled ~ .state { opacity: 0.45; }
.check .fa-tv, .check .fa-mobile-screen { color: var(--forest); }

@media (max-width: 900px) {
  .main .screen-filters .ts-wrapper { width: 100% !important; flex: 1 1 auto; }
}

.time-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.claim-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  width: 100%;
  height: 40px;
  min-height: 40px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: none;
  padding: 0 0.7rem;
  font: inherit;
  color: var(--ink);
  line-height: 38px;
}
.time-row input:focus,
.time-row input:focus-visible,
.claim-form input:focus,
.claim-form input:focus-visible {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(18, 53, 44, 0.16);
}
.time-row input[type="time"]::-webkit-calendar-picker-indicator,
.time-row input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.65;
}

.claim-form .btn,
.inline-form .btn,
.time-row .btn,
.screen-actions .btn,
.screen-board .btn {
  height: 40px;
  min-height: 40px;
  padding: 0 0.9rem;
  box-sizing: border-box;
}
.screen-board .time-row + .btn {
  margin-top: 1rem;
}
.main .btn-ghost,
.main button.btn-ghost {
  background: var(--sand);
  color: var(--forest);
  border: 1px solid #d9c49a;
}
.main .btn-ghost:hover,
.main button.btn-ghost:hover {
  background: #f4e7c8;
}
.grid-actions > summary {
  height: 32px;
  min-height: 32px;
  padding: 0 0.6rem;
  border-radius: 8px;
  border: 1px solid #d9c49a;
  background: var(--sand);
  box-sizing: border-box;
  font-size: 0.88rem;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.main > * { min-width: 0; max-width: 100%; }
.main > p { margin: 0; }
.main > .page-head,
.main > .panel,
.main > .screen-board,
.main > .status,
.main > .alert,
.main > .trial-banner,
.main > .hint,
.main > .pulse-grid,
.main > .pulse-metrics,
.main > .stat-grid,
.main > .desk-cards,
.main > .split,
.main > .plan-grid,
.main > .chart-frame,
.main > .empty-copy,
.main > .panel + .panel,
.main > .split + .panel,
.main > .panel + .plan-grid {
  margin-top: 0;
  margin-bottom: 0;
}
.pulse-grid,
.desk-cards,
.split,
.stat-grid,
.pulse-metrics,
.plan-grid,
.feature-grid,
.industry-grid,
.steps-grid,
.use-grid {
  align-items: stretch;
  gap: 1rem;
}
.pulse-grid > .panel,
.desk-cards > .panel,
.split > .panel,
.stat-grid > .stat,
.pulse-metrics > .stat,
.plan-grid > .plan,
.feature-grid > article,
.industry-grid > article,
.steps-grid > article,
.use-grid > article {
  height: 100%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}
.pulse-grid > .panel > .btn:last-child,
.desk-cards > .panel > .grid-actions:last-child,
.split > .panel > .btn:last-child,
.plan-grid > .plan > p:last-child {
  margin-top: auto;
}

@media (max-width: 800px) {
  .main { gap: 1rem; }
  .pulse-grid,
  .desk-cards,
  .split,
  .split-2,
  .pulse-metrics,
  .stat-grid,
  .plan-grid,
  .feature-grid,
  .industry-grid,
  .steps-grid,
  .use-grid {
    gap: 1rem;
    align-items: stretch;
  }
  .pulse-metrics,
  .stat-grid,
  .pulse-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
  .desk-cards,
  .split,
  .split-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pulse-metrics,
  .stat-grid,
  .pulse-grid,
  .plan-grid,
  .feature-grid,
  .industry-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.main input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"], [type="range"], [type="color"]),
.auth-card input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"], [type="range"], [type="color"]),
.main select,
.auth-card select {
  height: 40px;
  min-height: 40px;
  padding: 0 0.7rem;
  border-radius: 10px;
  line-height: 38px;
}
.main textarea,
.auth-card textarea {
  height: auto;
  min-height: 4.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  line-height: 1.4;
}
.main input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"], [type="range"], [type="color"]):focus,
.main input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"], [type="range"], [type="color"]):focus-visible,
.main textarea:focus,
.main textarea:focus-visible,
.auth-card input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"]):focus,
.auth-card input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"]):focus-visible,
.auth-card textarea:focus,
.auth-card textarea:focus-visible {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(18, 53, 44, 0.16);
}
.main .screen-search input,
.main .grid-bar .screen-search input {
  height: 36px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  line-height: normal;
  background: transparent;
  box-shadow: none;
}
.btn, button.btn, a.btn, .layout-preset {
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
}
.grid-actions-menu button, .grid-actions-menu a {
  height: auto;
  min-height: 0;
}
.library-bar .btn { margin-left: 0; }
.library-bar .screen-search { flex: 1 1 16rem; }
.main .upload-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.35rem 0 0;
  min-height: 4.25rem;
  padding: 0.65rem 0.85rem;
  border: 1px dashed rgba(18, 53, 44, 0.35);
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
  font-weight: 500;
  cursor: pointer;
}
.upload-field i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 10px;
  background: var(--forest);
  color: var(--white);
  flex: 0 0 auto;
}
.upload-field strong { display: block; font-weight: 650; }
.upload-field small { display: block; margin-top: 0.1rem; color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.panel .upload-field input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-field:hover,
.upload-field:focus-within {
  border-color: var(--forest);
  background: #f7f1e4;
  box-shadow: 0 0 0 3px rgba(18, 53, 44, 0.16);
}
.upload-field.has-file { border-style: solid; }
.desk-cards > .panel > .grid-actions,
.pulse-grid > .panel > .grid-actions,
.split > .panel > .grid-actions,
.board-head > .grid-actions,
.media-card > .grid-actions {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  justify-self: end;
}
.mail-steps { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.mail-steps li { margin: 0.45rem 0; }
.mail-steps span { display: block; color: var(--muted); }
.mail-meta { display: grid; gap: 0.35rem; margin: 0.5rem 0 0; }
.mail-meta div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.6rem; }
.mail-meta dt { margin: 0; color: var(--muted); }
.mail-meta dd { margin: 0; overflow-wrap: anywhere; }
.mail-sheet {
  margin-top: 0.8rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.mail-sheet p { margin: 0.4rem 0; }
.help h2 { scroll-margin-top: 5.5rem; }
.help-actions { display: flex; gap: 1rem; margin: 0.2rem 0 0; }
.help-actions a { color: var(--forest); font-weight: 600; }
.help-book {
  display: grid;
  grid-template-columns: 16.5rem minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.6rem;
}
.help-contents {
  position: sticky;
  top: 5.2rem;
  max-height: calc(100vh - 6.4rem);
  overflow: auto;
  margin: 0;
  padding: 0.85rem 0.7rem 1rem;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: 16px;
}
.help-contents summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--forest);
}
.help-chapter {
  margin: 0.85rem 0 0.15rem;
  padding: 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.help-chapter:first-of-type { margin-top: 0.35rem; }
.help-contents a {
  display: block;
  margin: 0.08rem 0;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.help-contents a[aria-current="true"] {
  background: var(--forest);
  color: #fffdf8;
}
.help-sheet {
  min-width: 0;
  padding: 1.5rem 1.7rem 2rem;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.help-sheet h2 {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-2);
}
.help-sheet .help-panel:first-child h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.help-sheet pre {
  overflow: auto;
  margin: 0.8rem 0 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.help-sheet pre code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}
.help-gate {
  margin: 0.15rem 0 0.85rem;
  padding: 0.65rem 0.8rem;
  background: var(--paper);
  border-radius: 10px;
}
.help-gate a { font-weight: 650; }
@media (min-width: 801px) {
  .help-contents summary { display: none; }
}
@media (max-width: 800px) {
  .help-book { grid-template-columns: 1fr; gap: 0.8rem; }
  .help-contents {
    position: static;
    max-height: none;
  }
  .help-sheet { padding: 1.1rem 1rem 1.4rem; }
}
.app-downloads {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}
.app-downloads li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.app-downloads li:first-child { border-top: 0; padding-top: 0.15rem; }
.app-downloads strong { display: block; }
.app-downloads p { margin: 0.15rem 0 0; color: var(--muted); }
.app-downloads .btn { margin-top: 0; }
@media (max-width: 700px) {
  .app-downloads li { grid-template-columns: minmax(0, 1fr); }
  .app-downloads .btn { justify-self: start; }
}

@media print {
  .help-contents { display: none; }
  .help-book { display: block; }
  .help-sheet { border: 0; box-shadow: none; padding: 0; }
}

.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.8rem; margin-top: 0.8rem; }
.app-card { border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem; }
.app-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }

.field-phone { padding-bottom: 5.5rem; }
.field-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.15rem;
  background: var(--forest);
  padding: 0.35rem 0.25rem calc(0.45rem + env(safe-area-inset-bottom));
}
.field-nav a {
  color: #f4efe6;
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  padding: 0.4rem 0.1rem;
}
.field-nav a[aria-current="page"] { font-weight: 600; }
.device-shot { width: min(100%, 28rem); height: auto; border-radius: 12px; background: #111; margin: 0.4rem 0 0.8rem; }
.field-cards { display: grid; gap: 0.8rem; }
.field-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
}
.field-card img, .field-thumb {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 12px;
  background: #d7e3dc;
}
.field-card h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.field-card p { margin: 0.15rem 0; }
.field-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.field-dot.is-on { background: #1f8a4c; }
.field-dot.is-off { background: #b42318; }
.field-camera { margin-top: 0; }
#field-crop-preview { width: min(100%, 16rem); height: auto; border-radius: 12px; margin: 0.4rem 0 0.8rem; }
#field-crop-preview[hidden] { display: none; }

.app-card p { margin: 0.2rem 0 0.45rem; }
.offline-card { margin-top: 1rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.offline-card h2 { font-size: 1.05rem; }
.deck-pages { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0 16px; }
.deck-pages label { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.deck-pages img { height: 90px; width: auto; object-fit: contain; background: #111; }
.template-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; align-items: end; margin: 16px 0 24px; }
.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.template-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--paper, #fff); }
.template-card strong { font-size: 1.05rem; }
.template-editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.template-editor img { width: 100%; height: auto; background: #111; }
@media (max-width: 800px) {
  .template-filters, .template-editor { grid-template-columns: 1fr; }
}

/* Desk chrome follows the Duralux frame. Pulse forest, paper, and pulse red stay. */
body:has(.shell) {
  background: #f4f1ea;
}
.shell {
  display: block;
  min-height: 100vh;
  background: #f4f1ea;
}
.side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border-right: 1px solid #e4e0d6;
}
.side-bar {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 22px;
  border-bottom: 1px solid #e4e0d6;
}
.side .brand,
.side .brand-name strong { color: var(--forest); }
.side .brand-name small { color: var(--muted); }
.side-nav {
  padding: 8px 14px 18px;
  gap: 2px;
}
.side-nav .nav-label {
  color: #758077;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 16px 8px 6px;
}
.side-nav a {
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 600;
}
.side-nav a:hover { background: #f3efe6; color: var(--forest); }
.side-nav a[aria-current="page"] {
  background: #f3efe6;
  color: var(--forest);
  box-shadow: inset 3px 0 0 var(--pulse);
  font-weight: 700;
}
.side-sub a,
.side-nav .side-sub a[aria-current="page"] {
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-weight: 600;
}
.side-nav .side-sub a[aria-current="page"] { color: var(--forest); font-weight: 700; }
.side-sub-note { color: #8a948e; }
.side-foot {
  border-top: 1px solid #e4e0d6;
  padding: 14px 16px 16px;
  background: var(--white);
}
.who { color: var(--ink); }
.who-mail { color: var(--muted); }
.side .btn-ghost,
.side button.btn-ghost {
  color: var(--forest);
  border-color: #e4e0d6;
  background: var(--white);
}
.main {
  margin-left: 280px;
  min-height: 100vh;
  padding: 0 0 2rem;
  background: #f4f1ea;
}
.main > .page-head {
  position: sticky;
  top: 0;
  z-index: 12;
  min-height: 80px;
  margin: 0;
  padding: 0 28px;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid #e4e0d6;
}
.main > :not(.page-head) {
  margin-left: 28px;
  margin-right: 28px;
}
.page-head .eyebrow {
  display: block;
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.main .page-head h1,
.main h2,
.main h3 {
  font-family: var(--sans);
  letter-spacing: -0.02em;
}
.main .page-head h1 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.main h2 { font-size: 1rem; font-weight: 700; }
.main .panel,
.main .stat,
.main .screen-board,
.main .chart-frame {
  background: var(--white);
  border: 1px solid #e4e0d6;
  border-radius: 10px;
  box-shadow: none;
}
.stat-row { display: flex; align-items: center; gap: 0.85rem; }
.stat-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f3efe6;
  color: var(--forest);
  flex: 0 0 auto;
}
.stat-ico.is-alert { color: var(--pulse); }
.stat-ico.is-sand { color: #8a6430; }
.stat-row strong {
  display: block;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}
.stat-row p { margin: 0.1rem 0 0; font-size: 0.82rem; font-weight: 600; }
.stat-meter {
  display: block;
  height: 3px;
  margin-top: 1rem;
  border-radius: 99px;
  background: #f3efe6;
  overflow: hidden;
}
.stat-meter span { display: block; height: 100%; background: var(--forest); }
.stat-meter.is-alert span { background: var(--pulse); }
.stat-meter.is-sand span { background: var(--sand); }
@media (max-width: 900px) {
  .side {
    position: sticky;
    width: auto;
    height: auto;
    inset: auto;
  }
  .side-bar { height: auto; padding: 0.7rem 0.85rem; }
  .desk-toggle {
    color: var(--forest);
    border-color: #e4e0d6;
    background: var(--white);
  }
  .main { margin-left: 0; }
  .main > .page-head,
  .main > :not(.page-head) { margin-left: 0; margin-right: 0; }
  .main > .page-head { padding: 0.8rem 0.9rem; position: static; }
  .main { padding: 0 0.9rem 2rem; }
}

.desk-list {
  background: var(--white);
  border: 1px solid #e4e0d6;
  border-radius: 10px;
  overflow: visible;
}
.desk-list-bar,
.desk-list-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
  padding: 18px 24px;
}
.desk-list-bar { border-bottom: 1px solid #e4e0d6; }
.desk-list-foot { border-top: 1px solid #e4e0d6; }
.desk-list-bar label,
.desk-list-foot p {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.desk-list-bar select,
.desk-list-bar input {
  height: 34px;
  min-height: 34px;
  border: 1px solid #e4e0d6;
  border-radius: 6px;
  background: var(--white);
  padding: 0 0.6rem;
  color: var(--ink);
}
.desk-list-bar input { min-width: 12rem; }
.desk-list .table-wrap {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  overflow-x: auto;
}
.desk-list th {
  padding: 10px 15px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid #e4e0d6;
}
.desk-list td {
  padding: 15px;
  border-bottom: 1px solid #eef0ea;
  vertical-align: middle;
}
.desk-list tbody tr:last-child td { border-bottom: 0; }
.desk-list th:first-child,
.desk-list td:first-child { padding-left: 24px; }
.desk-list th:last-child,
.desk-list td:last-child { padding-right: 24px; }
.desk-list tbody tr:hover td { background: #f7f4ee; }
.desk-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 12rem;
  color: inherit;
  text-decoration: none;
}
.desk-avatar,
.desk-person img {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.desk-avatar {
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #f6f1e7;
  font-size: 0.85rem;
  font-weight: 700;
}
.desk-person-name { display: block; font-weight: 700; color: var(--forest); }
.desk-person-meta { display: block; margin-top: 0.1rem; color: var(--muted); font-size: 12px; font-weight: 500; }
.desk-row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.4rem; }
.desk-icon,
.desk-row-actions .grid-actions > summary {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e4e0d6;
  background: var(--white);
  color: var(--forest);
  box-shadow: none;
}
.desk-icon { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.desk-icon:hover,
.desk-row-actions .grid-actions > summary:hover,
.desk-row-actions .grid-actions[open] > summary {
  background: #f3efe6;
  color: var(--forest);
}
.desk-pages { display: flex; align-items: center; gap: 0.35rem; }
.desk-pages button,
.desk-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.7rem;
  border: 1px solid #e4e0d6;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}
.desk-pages span { background: var(--forest); border-color: var(--forest); color: #fff; }
.desk-pages button:disabled { color: #b0b6b3; cursor: default; }
.desk-list .empty-copy { margin: 0; padding: 0 24px 16px; }
.screen-board:has(.desk-list),
.main .screen-board:has(.desk-list) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Desk type and cards follow the Duralux leads view. Pulse colors stay. */
body:has(.shell) {
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color: #5d6b64;
}
.shell,
.shell button,
.shell input,
.shell select,
.shell textarea {
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
}
.shell h1,
.shell h2,
.shell h3,
.shell h4,
.shell h5,
.shell h6,
.shell .brand-name strong,
.shell .stat-row strong,
.shell .desk-person-name {
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  letter-spacing: 0;
  color: var(--forest);
}
.shell h1,
.shell h2,
.shell h3,
.shell h4,
.shell h5,
.shell h6 {
  font-weight: 700;
  line-height: 1.2;
}
.main .page-head h1,
.main h2,
.main h3 {
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
}
.main .page-head h1 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.page-head .eyebrow {
  font-size: 13px;
  font-weight: 400;
  color: #758077;
}
.side .brand-name strong { font-size: 15px; font-weight: 700; }
.side .brand-name small { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; }
.side-nav a { font-size: 13px; font-weight: 600; }
.main { gap: 24px; }
.main > :not(.page-head) { margin-left: 30px; margin-right: 30px; }
.main .panel,
.main .stat,
.main .chart-frame,
.desk-list {
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
}
.main .panel,
.main .stat,
.main .chart-frame { padding: 25px; }
.main h2 { font-size: 16px; font-weight: 700; }
.main h3 { font-size: 15px; font-weight: 700; }
.main .panel p,
.main .hint,
.stat-row p { font-size: 13px; font-weight: 400; line-height: 1.6; }
.stat-row strong { font-size: 20px; font-weight: 700; }
.main label,
.desk-list-bar label,
.desk-list-foot p { font-size: 13.44px; font-weight: 500; }
.main .panel input,
.main .panel select,
.main .panel textarea,
.main .inline-form input,
.main .inline-form select,
.desk-list-bar select,
.desk-list-bar input {
  font-size: 0.845rem;
  border-radius: 4px;
  border-color: #e5e7eb;
}
.shell .btn {
  height: auto;
  min-height: 0;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: normal;
}
.shell .btn-small { height: auto; min-height: 0; padding: 7px 12px; font-size: 10px; }
.shell .desk-person-meta,
.shell .playing-kind { font-size: 12px; font-weight: 400; }
@media (max-width: 900px) {
  .main > :not(.page-head) { margin-left: 0; margin-right: 0; }
}

.side-nav a,
.side-fold > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  border-radius: 0;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.side-nav i,
.side-fold > summary i {
  width: 18px;
  font-size: 18px;
  text-align: center;
  color: var(--forest);
}
.side-fold { margin: 0; }
.side-fold > summary {
  cursor: pointer;
  list-style: none;
}
.side-fold > summary::-webkit-details-marker { display: none; }
.side-caret {
  width: auto !important;
  margin-left: auto;
  font-size: 12px !important;
  color: #758077 !important;
  transition: transform 0.2s ease;
}
.side-fold[open] > summary .side-caret { transform: rotate(90deg); }
.side-nav a:hover,
.side-fold > summary:hover,
.side-fold[open] > summary,
.side-nav a[aria-current="page"] {
  background: #f3efe6;
  color: var(--forest);
  box-shadow: none;
}
.side-sub {
  display: grid;
  gap: 0;
  margin: 0;
}
.side-nav .side-sub a,
.side-sub a {
  margin: 0 8px 0 47px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.8px;
  font-weight: 600;
  color: #5d6b64;
  background: transparent;
  box-shadow: none;
}
.side-nav .side-sub a[aria-current="page"] {
  background: #f3efe6;
  color: var(--forest);
  font-weight: 700;
}
.side-sub .nav-label {
  margin: 10px 8px 4px 47px;
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.07em;
}
.side-sub-note { margin-left: 47px; color: #8a948e; font-size: 12px; }
.side-support {
  justify-content: flex-start;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3efe6;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
}
.side-support i { font-size: 16px; }
.shell .btn-ghost,
.shell button.btn-ghost {
  background: #f3efe6;
  border: 1px solid #e4e0d6;
  color: var(--forest);
}
.shell .btn-ghost:hover { background: #e7e0d2; }
.desk-icon,
.desk-row-actions .grid-actions > summary {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 3px;
  border-color: #dcdee4;
  background: var(--white);
}
.desk-icon i,
.desk-row-actions .grid-actions > summary i { font-size: 16px; }
.shell .grid-actions[open] > summary {
  background: #f3efe6;
  color: var(--forest);
}
.shell .grid-actions-menu {
  min-width: 11rem;
  padding: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(20, 33, 28, 0.12);
}
.shell .grid-actions-menu a,
.shell .grid-actions-menu button {
  width: auto;
  margin: 3px 10px;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.shell .grid-actions-menu a:hover,
.shell .grid-actions-menu button:hover { background: #f3efe6; }
.main > nav.account-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: -24px 0 0;
  padding: 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
}
.account-nav::-webkit-scrollbar { display: none; }
.account-nav a {
  flex: 0 0 auto;
  padding: 18px 22px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  font-size: 13.44px;
  font-weight: 600;
}
.account-nav a[aria-current="page"] {
  color: var(--pulse);
  background: rgba(226, 59, 43, 0.08);
  border-bottom-color: var(--pulse);
}
.main table thead th {
  padding: 8px 15px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
}
.main tbody tr:hover td { background: #f7f4ee; }
.desk-list th:first-child,
.desk-list td:first-child { padding-left: 30px; }
.desk-list th:last-child,
.desk-list td:last-child { padding-right: 30px; }
.main .chart-icon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 6px;
  background: #f3efe6;
  color: var(--forest);
  font-size: 13px;
}
.shell .ts-wrapper { font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif; font-size: 0.845rem; }
@media (max-width: 900px) {
  .account-nav { margin-left: 0; margin-right: 0; }
}

.page-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.side-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  flex: 0 0 auto;
}
.side-collapse:hover { background: #f3efe6; }
.side-collapse i { font-size: 20px; }
.side-collapse [data-icon-mini] { display: none; }
.shell.is-mini .side-collapse [data-icon-open] { display: none; }
.shell.is-mini .side-collapse [data-icon-mini] { display: inline; }
.side,
.main { transition: width 0.25s ease, margin-left 0.25s ease; }
.shell.is-mini .side { width: 100px; }
.shell.is-mini .main { margin-left: 100px; }
.shell.is-mini .side-bar { justify-content: center; padding: 0; }
.shell.is-mini .brand-name,
.shell.is-mini .side-who,
.shell.is-mini .side-foot form,
.shell.is-mini .side-sub,
.shell.is-mini .side-caret { display: none; }
.shell.is-mini .side-nav a,
.shell.is-mini .side-fold > summary,
.shell.is-mini .side-support {
  justify-content: center;
  gap: 0;
  margin-left: 12px;
  margin-right: 12px;
  padding-left: 0;
  padding-right: 0;
  font-size: 0;
}
.shell.is-mini .side-nav i,
.shell.is-mini .side-fold > summary i,
.shell.is-mini .side-support i { font-size: 18px; }
.shell.is-mini .nav-label {
  height: 18px;
  margin: 10px 0 4px;
  padding: 0;
  font-size: 0;
  text-align: center;
}
.shell.is-mini .nav-label::before {
  content: "...";
  font-size: 16px;
  letter-spacing: 1px;
  color: #758077;
}
.shell.is-mini .side-nav a span { font-size: 10px; }
@media (min-width: 901px) {
  .shell.is-mini .side:hover { width: 280px; }
  .shell.is-mini .side:hover .brand-name { display: flex; }
  .shell.is-mini .side:hover .side-who,
  .shell.is-mini .side:hover .side-foot form,
  .shell.is-mini .side:hover .side-caret { display: block; }
  .shell.is-mini .side:hover .side-caret { display: inline-block; }
  .shell.is-mini .side:hover .side-sub { display: grid; }
  .shell.is-mini .side:hover .side-bar { justify-content: flex-start; padding: 0 22px; }
  .shell.is-mini .side:hover .side-nav a,
  .shell.is-mini .side:hover .side-fold > summary,
  .shell.is-mini .side:hover .side-support {
    justify-content: flex-start;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 15px;
    font-size: 13px;
  }
  .shell.is-mini .side:hover .side-sub a {
    margin-left: 47px;
    margin-right: 8px;
    padding: 8px 12px;
    font-size: 12.8px;
  }
  .shell.is-mini .side:hover .nav-label {
    height: auto;
    margin: 16px 8px 6px;
    font-size: 10px;
    text-align: left;
  }
  .shell.is-mini .side:hover .nav-label::before { content: none; }
  .shell.is-mini .side:hover .side-sub .nav-label { margin: 10px 8px 4px 47px; }
  .shell.is-mini .side:hover .side-foot form { display: block; }
  .shell.is-mini .side:hover .side-foot .btn { font-size: 10px; }
}
@media (max-width: 900px) {
  .side-collapse { display: none; }
  .shell.is-mini .side { width: auto; }
  .shell.is-mini .main { margin-left: 0; }
  .shell.is-mini .brand-name { display: flex; }
  .shell.is-mini .side-who,
  .shell.is-mini .side-foot form { display: block; }
  .shell.is-mini .side-sub { display: grid; }
  .shell.is-mini .side-caret { display: inline-block; }
  .shell.is-mini .side-nav a,
  .shell.is-mini .side-fold > summary,
  .shell.is-mini .side-support {
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 10px 15px;
    font-size: 13px;
  }
  .shell.is-mini .nav-label { height: auto; font-size: 10px; }
  .shell.is-mini .nav-label::before { content: none; }
}

.screen-show { display: grid; gap: 1rem; }
.screen-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.screen-facts .stat { margin: 0; }
.screen-facts .stat-row strong {
  font-size: 1.02rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.screen-page {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  align-items: start;
}
.screen-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
}
.screen-stack > .panel.screen-card,
.screen-stack > .panel.screen-card + .panel.screen-card {
  margin-top: 0;
  margin-bottom: 0;
}
.screen-card > h2 { margin: 0 0 0.25rem; }
.screen-card > .lede { margin: 0 0 0.35rem; color: var(--muted); }
.screen-card > p { margin-top: 0.55rem; }
.screen-card .form-actions { margin-top: 1.1rem; }
.screen-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  margin-top: 0.4rem;
}
.screen-fields .form-span { grid-column: 1 / -1; }
.screen-commands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.screen-commands form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid #e4e0d6;
  border-radius: 10px;
  background: #faf8f4;
}
.screen-commands form > p { margin: 0; font-weight: 650; }
.screen-commands .check { margin: 0; }
.screen-commands .btn { margin-top: 0; width: 100%; }
.screen-command-log { margin: 0.9rem 0 0; padding-left: 1.1rem; }
.screen-card .table-wrap { margin-top: 0.85rem; }
.screen-card .place-map { margin-top: 0.75rem; }

@media (max-width: 1100px) {
  .screen-facts { grid-template-columns: 1fr 1fr; }
  .screen-page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .screen-facts,
  .screen-fields,
  .screen-commands { grid-template-columns: 1fr; }
}

.desk-list-bar .screen-filters {
  flex: 1 1 100%;
  margin: 0;
}
.desk-list tr.group-row th {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
  background: #f3efe6;
  padding: 12px 24px;
}
.desk-list .screen-table { width: 100%; min-width: 0; }
.desk-list .screen-table .desk-person { min-width: 0; }
.desk-list .screen-table .playing-name,
.desk-list .screen-table .playing-kind { white-space: normal; }
.screen-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 7.5rem;
}
.screen-status .pill { white-space: nowrap; }

body.auth-body {
  background: #f4f1ea;
  color: #5d6b64;
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  font-size: 0.84rem;
  line-height: 1.6;
}
body.auth-body .auth-bar {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 0 30px;
  background: #fff;
  border-bottom: 1px solid #e4e0d6;
}
body.auth-body .auth-bar .brand {
  color: var(--forest);
  text-decoration: none;
}
body.auth-body .brand-name strong {
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
}
body.auth-body .brand-name small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
body.auth-body .auth-shell {
  display: block;
  min-height: 0;
  padding: 32px 0 48px;
}
body.auth-body .auth-card {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
}
body.auth-body .eyebrow {
  margin: 0 0 0.15rem;
  color: #758077;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
body.auth-body h1 {
  font-family: "Inter", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pulse);
}
body.auth-body .lede {
  font-size: 13px;
  color: #5d6b64;
}
body.auth-body .auth-card label {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}
body.auth-body .auth-card input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="file"]),
body.auth-body .auth-card select {
  border-radius: 4px;
  border-color: #e5e7eb;
  font-size: 13px;
}
body.auth-body .btn,
body.auth-body button.btn {
  height: auto;
  min-height: 0;
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--pulse);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: normal;
  text-transform: uppercase;
}
body.auth-body .btn-ghost,
body.auth-body button.btn-ghost {
  background: #f3efe6;
  border: 1px solid #e4e0d6;
  color: var(--forest);
}
body.auth-body .auth-sso {
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e0d6;
}
body.auth-body .switch,
body.auth-body .switch a,
body.auth-body .auth-extra a {
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 800px) {
  body.auth-body .auth-bar { padding: 0 16px; }
  body.auth-body h1 { font-size: 28px; }
}



