:root {
  color-scheme: light;
  --bg: #f6f7f3;
  --surface: #fff;
  --ink: #192821;
  --muted: #586960;
  --line: #e3e9e1;
  --green: #235c48;
  --deep: #123b30;
  --lime: #d3f571;
  --pale: #eaf2e8;
  --radius: 18px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #3d815c; outline-offset: 3px;
}
button:disabled { cursor: wait; opacity: .65; }
h1, h2, h3, p { margin: 0; }
svg { display: block; flex: 0 0 auto; }
.icon { width: 20px; height: 20px; }
.app-shell { min-height: 100dvh; }
.sidebar {
  display: none; position: fixed; inset: 0 auto 0 0; width: 222px;
  background: var(--surface); border-right: 1px solid var(--line); z-index: 2;
  flex-direction: column; padding: 29px 17px 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; font-size: 1.21rem;
  font-weight: 800; letter-spacing: -.065em; text-decoration: none;
}
.brand-mark {
  width: 35px; height: 35px; border-radius: 10px; background: var(--lime);
  display: grid; place-items: center; color: var(--deep);
}
.brand-mark svg { width: 20px; height: 20px; }
.sidebar .brand { margin: 0 8px 48px; }
.sidebar-label {
  text-transform: uppercase; letter-spacing: .09em; font-weight: 750; color: #738178;
  font-size: .715rem; margin: 0 11px 10px;
}
.nav-list { display: grid; gap: 5px; }
.nav-item {
  color: var(--muted); text-decoration: none; display: flex; align-items: center;
  gap: 11px; min-height: 46px; padding: 0 11px; border-radius: 10px; font-size: .91rem; font-weight: 650;
}
.nav-item:hover { background: #f3f6f1; }
.nav-item.active { background: #eaf2e7; color: var(--green); }
.sidebar-bottom { margin-top: auto; }
.team-button {
  width: 100%; display: flex; align-items: center; text-align: left; gap: 9px;
  padding: 10px 4px; color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line);
}
.team-button strong, .team-button small { display: block; }
.team-button strong { font-size: .89rem; overflow-wrap: anywhere; }
.team-button small { color: var(--muted); font-size: .77rem; margin-top: 2px; }
.team-button > .icon { margin-left: auto; color: var(--muted); width: 17px; }
.avatar {
  display: inline-grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto;
  border-radius: 50%; background: #e9f1e8; color: #285742; font-size: .76rem; font-weight: 760;
}
.avatar.peach { background: #fbe9dc; color: #813f2b; }
.avatar.lavender { background: #efe7f6; color: #694580; }
.avatar.mint { background: #dfeee6; color: #285a43; }
.avatar.blue { background: #e2ebf7; color: #385681; }
.topbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.top-inner {
  min-height: 65px; max-width: 1320px; margin: auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.breadcrumb { display: none; }
.top-actions { display: flex; gap: 9px; align-items: center; }
.profile-button {
  border: 0; background: none; border-radius: 50%; padding: 4px;
  min-width: 44px; min-height: 44px; display: grid; place-items: center;
}
.profile-button:hover { background: var(--pale); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 43px; border-radius: 10px; padding: 8px 13px; border: 1px solid transparent;
  text-decoration: none; font-weight: 700; font-size: .875rem; color: var(--ink);
  background: var(--surface); white-space: nowrap; line-height: 1.2;
}
.button .icon { width: 17px; height: 17px; }
.button.outline { border-color: #dce5dc; }
.button.outline:hover { background: #f3f7f2; }
.button.lime { background: var(--lime); color: #1b3522; }
.button.lime:hover { background: #e0fa92; }
.button.green { background: var(--deep); color: white; }
.button.green:hover { background: #205344; }
.button.soft { background: #edf4eb; color: #255b43; }
.button.soft:hover { background: #e0efdf; }
.button.text { color: var(--green); background: transparent; }
.button.text:hover { background: var(--pale); }
.button.danger { color: #9a3d2d; border-color: #edd8d0; }
.button.full { width: 100%; }
.workspace { max-width: 1320px; margin: auto; padding: 24px 16px 96px; }
.page-intro { margin-bottom: 20px; }
.page-intro h1 { font-size: clamp(2.02rem, 3.2vw, 2.8rem); line-height: 1.06; font-weight: 780; letter-spacing: -.06em; }
.page-intro p { margin-top: 7px; line-height: 1.45; color: var(--muted); }
.date { display: none; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 20px;
  color: white; background: #123b30; padding: 23px;
  display: grid; gap: 23px;
}
.hero::before {
  content: ""; pointer-events: none; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse at 96% 72%, #28604b 0, transparent 65%);
}
.hero-copy { position: relative; z-index: 1; }
.live-label {
  display: inline-flex; align-items: center; gap: 7px; min-height: 27px;
  color: #d7f6be; background: #ffffff12; border: 1px solid #ffffff20;
  padding: 3px 9px; border-radius: 40px; font-weight: 700; font-size: .76rem;
}
.dot { display: inline-block; height: 7px; width: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.live-label .dot { color: var(--lime); }
.hero h2 { margin-top: 11px; font-size: clamp(1.83rem, 4vw, 3.25rem); line-height: 1.03; letter-spacing: -.066em; font-weight: 760; }
.hero h2 strong { color: var(--lime); font-weight: inherit; }
.hero p { color: #cfdfd6; line-height: 1.45; margin: 9px 0 17px; font-size: .94rem; }
.hero .button { min-height: 44px; padding-inline: 14px; }
.hero-map { display: grid; gap: 8px; min-width: 0; }
.map-caption { display: flex; justify-content: space-between; align-items: center; color: #d8e7dc; font-size: .76rem; font-weight: 650; }
.map-caption .icon { width: 16px; height: 16px; }
.bays { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: 6px; }
.bay {
  min-height: 48px; border-radius: 8px; border: 1px solid #92baa759;
  color: #e0efe5; background: #163b3159;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: .72rem; font-weight: 750; text-decoration: none;
}
.bay .icon { width: 16px; height: 16px; }
.bay:hover { border-color: #d0eec4; }
.bay.available { background: #d5f57a1f; border-color: #bce86a; color: #ecffc5; }
.bay.offered { border-color: #b3a37b; color: #f9dda3; }
.content-grid { display: grid; gap: 28px; margin-top: 27px; }
.section-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 13px;
}
.section-heading h2 { font-size: 1.35rem; font-weight: 765; letter-spacing: -.05em; line-height: 1.2; }
.section-heading p { margin-top: 4px; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 24px;
  padding: 3px 8px; background: #edf1ee; color: #465b50; border-radius: 99px;
  color: #44574b; font-size: .74rem; font-weight: 740; white-space: nowrap;
}
.badge.available { background: #e7f4e6; color: #286746; }
.badge.offered { background: #fff2d9; color: #805818; }
.badge.urgent { background: #fce8e2; color: #9f4332; }
.badge.reserved { background: #edeaf7; color: #5a4787; }
.spots-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
.spot {
  border: 1px solid var(--line); border-radius: var(--radius); background: white;
  padding: 13px; min-width: 0; display: flex; flex-direction: column; gap: 12px;
}
.spot.highlighted { border: 2px solid #5a9b69; padding: 12px; }
.spot-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.spot-name { display: flex; align-items: center; min-width: 0; gap: 8px; }
.spot-icon {
  display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px;
  border-radius: 9px; background: #eef4ed; color: var(--green);
}
.spot-icon .icon { width: 19px; height: 19px; }
.spot h3 { font-size: 1rem; letter-spacing: -.035em; line-height: 1.12; }
.spot-code { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.spot-person { min-height: 39px; display: flex; align-items: center; gap: 8px; }
.spot-person div { min-width: 0; }
.spot-person strong, .spot-person small { display: block; overflow-wrap: anywhere; }
.spot-person strong { font-size: .87rem; }
.spot-person small { color: var(--muted); margin-top: 2px; font-size: .77rem; line-height: 1.3; }
.spot-person .avatar { width: 32px; height: 32px; font-size: .69rem; }
.spot .button { margin-top: auto; min-height: 40px; }
.spot-note { padding: 8px 9px; border-radius: 8px; background: #f3f6f0; font-size: .8rem; color: #3e5b4a; line-height: 1.35; }
.queue-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.queue-list { list-style: none; padding: 0 13px; margin: 0; }
.queue-row { position: relative; display: grid; grid-template-columns: 16px 32px minmax(0, 1fr) auto; gap: 7px; align-items: center; min-height: 62px; padding: 9px 0; }
.queue-row + .queue-row { border-top: 1px solid var(--line); }
.queue-row .avatar { width: 32px; height: 32px; font-size: .69rem; }
.position { color: #65766b; font-size: .875rem; text-align: center; font-weight: 670; }
.driver-name { display: block; font-weight: 730; font-size: .89rem; overflow-wrap: anywhere; }
.departure { display: block; color: var(--muted); font-size: .77rem; margin-top: 2px; line-height: 1.24; }
.queue-bottom { border-top: 1px solid var(--line); padding: 6px 10px; }
.queue-bottom .button { width: 100%; justify-content: space-between; }
.empty { padding: 19px 15px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.rule-card {
  display: flex; gap: 9px; align-items: flex-start; color: #325545; background: #eaf2e8;
  padding: 12px; border-radius: 12px; margin-top: 11px; font-size: .82rem; line-height: 1.45;
}
.rule-card > svg { margin-top: 2px; width: 17px; height: 17px; }
.rule-card strong { font-size: .87rem; color: #234c39; }
.mobile-nav {
  position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; background: white;
  border-top: 1px solid var(--line); padding: 5px 8px max(5px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.mobile-nav .nav-item { min-height: 50px; font-size: .7rem; flex-direction: column; gap: 3px; justify-content: center; }
.mobile-nav .active { background: transparent; }
.mobile-nav .active .icon { filter: drop-shadow(0 0 8px #9bd894); }
.notice {
  margin-bottom: 13px; padding: 11px 13px; border: 1px solid #dce8db; background: #eff6ec;
  color: #2b5941; border-radius: 10px; font-size: .86rem; line-height: 1.42;
}
.dialog {
  width: min(calc(100% - 24px), 470px); max-height: min(88dvh, 720px); margin: auto auto 12px;
  border: 1px solid var(--line); border-radius: 20px; padding: 20px; color: var(--ink);
  box-shadow: 0 14px 70px #10221930;
}
.dialog::backdrop { background: #0c241994; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 9px; }
.dialog h2 { font-size: 1.5rem; letter-spacing: -.055em; line-height: 1.17; }
.dialog p { line-height: 1.48; color: var(--muted); margin-bottom: 15px; }
.icon-button {
  display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -8px 0 0;
  border: 0; background: transparent; color: var(--muted); border-radius: 9px;
}
.icon-button:hover { background: #eff5ee; }
.modal-form { display: grid; gap: 13px; }
.modal-form label:not(.check) { display: grid; gap: 6px; color: #334b3d; font-size: .88rem; font-weight: 720; }
.modal-form input:not([type=checkbox]), .modal-form select {
  border: 1px solid #d4ded3; border-radius: 9px; min-height: 45px; width: 100%; min-width: 0;
  padding: 9px 10px; background-color: white; color: var(--ink); font-size: 1rem;
}
.modal-form select {
  appearance: none; padding-right: 35px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23365143' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.check { display: flex; align-items: flex-start; gap: 8px; padding: 9px; background: #f3f6f1; border-radius: 8px; }
.check input { width: 19px; height: 19px; accent-color: var(--green); }
.check strong, .check small { display: block; }
.check strong { font-size: .91rem; }
.check small { color: var(--muted); margin-top: 3px; line-height: 1.35; }
.form-error { min-height: 0; color: #9a3d2d; font-size: .875rem; }
.form-error:empty { display: none; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dialog-actions .button { flex: 1; }
.ordered-rules { padding-left: 23px; margin-block: 8px 15px; line-height: 1.6; }
.ordered-rules li + li { margin-top: 7px; }
#toast {
  display: none; position: fixed; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 5;
  border-radius: 9px; padding: 10px 14px; font-size: .91rem; font-weight: 650;
  max-width: calc(100% - 24px); width: max-content; box-shadow: 0 8px 25px #10221935; color: white; background: #173c2d;
}
#toast.visible { display: block; }
.sticker-toolbar { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 9px; }
.stickers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 13px; }
.sticker {
  min-width: 0; background: white; border: 1px solid #b4c6b7; border-radius: 15px; overflow: hidden;
  padding: 14px; display: grid; justify-items: center; gap: 6px; text-align: center;
}
.sticker .brand { font-size: .98rem; letter-spacing: -.05em; }
.sticker .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.sticker .brand-mark svg { width: 15px; height: 15px; }
.sticker .sticker-number { font-size: 2.3rem; font-weight: 820; letter-spacing: -.055em; line-height: 1; }
.sticker img { width: 145px; height: 145px; image-rendering: pixelated; }
.sticker p { color: #2e4b3b; font-size: .875rem; line-height: 1.36; }
.sticker a.copy-sticker { display: inline-flex; align-items: center; min-height: 40px; color: var(--green); font-size: .8rem; font-weight: 700; }
@media (min-width: 390px) {
  .spots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot { padding: 12px; }
  .spot.highlighted { padding: 11px; }
  .spot-name { gap: 6px; }
}
@media (min-width: 620px) {
  .workspace, .top-inner { padding-inline: 27px; }
  .hero { padding: 28px; grid-template-columns: minmax(0, 1fr) minmax(215px, .8fr); align-items: center; }
  .bays { gap: 8px; }
  .bay { min-height: 76px; flex-direction: column; gap: 6px; }
  .bay .icon { width: 22px; height: 22px; }
  .spot { padding: 15px; }
  .spot.highlighted { padding: 14px; }
  .dialog { margin: auto; padding: 23px; }
  .page-intro { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
  .date { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .84rem; white-space: nowrap; }
  .date .icon { width: 16px; height: 16px; }
}
@media (min-width: 900px) {
  .sidebar { display: flex; }
  .main-shell { margin-left: 222px; }
  .top-inner .brand, .mobile-nav { display: none; }
  .breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 650; font-size: .875rem; }
  .breadcrumb .icon { width: 17px; height: 17px; color: var(--green); }
  .workspace { padding-top: 30px; padding-bottom: 35px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(225px, .83fr); min-height: 214px; }
  #toast { bottom: 18px; left: auto; right: 18px; transform: none; }
}
@media (min-width: 1080px) {
  .top-inner { padding-inline: 35px; }
  .workspace { padding-inline: 35px; }
  .content-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); column-gap: 23px; }
  .content-grid.single { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .85fr); padding: 28px 33px; }
  .hero-map { align-self: stretch; align-content: center; padding: 15px 20px; background: #ffffff0c; border: 1px solid #ffffff13; border-radius: 15px; }
  .bays { gap: 9px; }
  .bay { min-height: 87px; }
}
@media (min-width: 1280px) {
  .workspace, .top-inner { padding-inline: 42px; }
  .content-grid { gap: 25px; }
  .sidebar { width: 236px; padding-inline: 19px; }
  .main-shell { margin-left: 236px; }
}
@media print {
  body { background: white; }
  .sidebar, .topbar, .mobile-nav, .page-intro, .sticker-toolbar, .copy-sticker, .notice, #toast { display: none !important; }
  .main-shell { margin: 0; }
  .workspace { padding: 0; max-width: none; }
  .stickers { grid-template-columns: repeat(2, 1fr); gap: 12mm; }
  .sticker { break-inside: avoid; border-color: #444; print-color-adjust: exact; }
}

.mobile-location {
  display: flex; align-items: center; gap: 6px; color: var(--green);
  font-size: .875rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 7px; overflow-wrap: anywhere;
}
.mobile-location .icon, .board-list .icon { width: 17px; height: 17px; }
.board-list { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 13px; }
.board-list h3 { font-size: .95rem; }
.board-list ul, .admin-list { list-style: none; margin: 0; padding: 0; }
.board-list ul { margin: 4px 0; }
.board-list a {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: .875rem; font-weight: 700; color: var(--green);
  padding: 6px 10px; border-radius: 9px; overflow-wrap: anywhere;
}
.board-list a:hover { background: var(--pale); }
.admin-list { border-top: 1px solid var(--line); }
.admin-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px;
  align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.admin-row strong, .admin-row small { display: block; overflow-wrap: anywhere; }
.admin-row strong { font-size: .9rem; }
.admin-row small { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.admin-row .button { padding-inline: 9px; }
.admin-notice { color: var(--green); font-size: .875rem; font-weight: 700; }
.admin-notice:not(:empty) { margin-top: 9px; }
@media (min-width: 900px) {
  .mobile-location { display: none; }
}

.beep-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 16px;
  padding: 14px 16px;
}
.beep-offer small, .beep-list small { color: var(--muted); display: block; }
.beep-offer .dialog-actions { margin-top: 0; }
.beep-list { list-style: none; padding: 0; margin: 0; }
.beep-list li + li { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.dialog .beep-list p { margin: 0; }

@media (max-width: 420px) {
  .top-actions { gap: 5px; }
  .top-actions .header-invite { min-width: 43px; padding-inline: 8px; font-size: 0; gap: 0; }
}
