/* [project]/apps/web/src/app/globals.css [app-client] (css) */
:root {
  --background: #f6f7fb;
  --foreground: #171c26;
  --muted: #586575;
  --line: #e4e8ef;
  --accent: #2f8cff;
  --accent-strong: #1469d8;
  --accent-soft: #eaf4ff;
  --surface: #fff;
  --surface-soft: #f8fafc;
  --danger: #b42318;
  --success: #146c43;
  --shadow: 0 16px 38px #1f293314;
  --shadow-soft: 0 14px 34px #1c273812;
  --shadow-pop: 0 26px 80px #0f172a33;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

button, input, select {
  font: inherit;
}

.layout {
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  transition: grid-template-columns .18s;
  display: grid;
}

.layout.nav-collapsed {
  grid-template-columns: 82px 1fr;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: radial-gradient(circle at 0 0, #2f8cff1f, #0000 220px), linear-gradient(#fff 0%, #f9fbfe 100%);
  padding: 20px 14px;
}

.brand-row {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  display: flex;
}

.brand {
  color: var(--foreground);
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
}

.brand-mark {
  color: #fff;
  background: linear-gradient(135deg, #2f8cff, #36d5ba);
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  display: inline-flex;
}

.brand-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-weight: 900;
}

.sidebar-toggle svg {
  width: 12px;
  height: 12px;
}

.sidebar-toggle:hover {
  color: var(--accent);
  border-color: #b7d7ff;
}

.account-block {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  gap: 4px;
  margin-bottom: 18px;
  padding: 12px;
  display: grid;
  box-shadow: 0 8px 20px #1f29330a;
}

.account-block span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  gap: 7px;
  display: grid;
}

.nav a {
  color: var(--muted);
  border: 1px solid #0000;
  border-radius: 14px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  font-weight: 750;
  text-decoration: none;
  display: flex;
}

.nav a.active, .nav a:hover {
  color: var(--foreground);
  background: #fff;
  border-color: #e7edf5;
  box-shadow: 0 10px 24px #1e2a3e0f;
}

.nav-icon {
  background: var(--tone-bg, #f0f3f8);
  color: var(--tone, #728093);
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
}

.nav-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.nav a.active .nav-icon, .nav a:hover .nav-icon {
  background: var(--tone-bg-strong, var(--tone-bg, white));
  color: var(--tone, var(--accent));
  box-shadow: 0 8px 18px var(--tone-shadow, #2f8cff29);
}

.tone-blue {
  --tone: #2f8cff;
  --tone-bg: #eaf4ff;
  --tone-bg-strong: #dff0ff;
  --tone-shadow: #2f8cff2e;
}

.tone-green {
  --tone: #20a978;
  --tone-bg: #e9f8f0;
  --tone-bg-strong: #dcf4e9;
  --tone-shadow: #20a9782e;
}

.tone-amber {
  --tone: #f59f00;
  --tone-bg: #fff6df;
  --tone-bg-strong: #ffefbf;
  --tone-shadow: #f59f002e;
}

.tone-rose {
  --tone: #f45b72;
  --tone-bg: #fff0f3;
  --tone-bg-strong: #ffe2e8;
  --tone-shadow: #f45b722e;
}

.tone-violet {
  --tone: #7c5cff;
  --tone-bg: #f2efff;
  --tone-bg-strong: #e8e1ff;
  --tone-shadow: #7c5cff2e;
}

.tone-cyan {
  --tone: #11a4c7;
  --tone-bg: #e8f9fd;
  --tone-bg-strong: #d8f3fa;
  --tone-shadow: #11a4c72e;
}

.tone-mint {
  --tone: #29bca0;
  --tone-bg: #e8faf6;
  --tone-bg-strong: #d7f4ed;
  --tone-shadow: #29bca02e;
}

.tone-slate {
  --tone: #667085;
  --tone-bg: #f1f4f8;
  --tone-bg-strong: #e7ecf3;
  --tone-shadow: #66708524;
}

.tone-gold {
  --tone: #c98a05;
  --tone-bg: #fff4d7;
  --tone-bg-strong: #ffe9ad;
  --tone-shadow: #c98a052e;
}

.tone-indigo {
  --tone: #536dfe;
  --tone-bg: #eef1ff;
  --tone-bg-strong: #e0e6ff;
  --tone-shadow: #536dfe2e;
}

.nav-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.nav-collapsed .sidebar {
  padding-left: 12px;
  padding-right: 12px;
  position: relative;
}

.nav-collapsed .brand-text, .nav-collapsed .account-block, .nav-collapsed .nav-label {
  display: none;
}

.nav-collapsed .brand-row, .nav-collapsed .brand {
  justify-content: center;
}

.nav-collapsed .sidebar-toggle {
  position: absolute;
  bottom: 18px;
  left: 23px;
}

.nav-collapsed .nav a {
  justify-content: center;
  padding: 8px;
}

.main {
  background: radial-gradient(circle at top right, #2f8cff14, transparent 360px),
    radial-gradient(circle at 18% 12%, #20a97814, transparent 300px),
    var(--background);
  padding: 28px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #ffffffe0;
  justify-content: space-between;
  align-items: center;
  margin: -28px -28px 28px;
  padding: 18px 28px;
  display: flex;
}

.topbar strong {
  font-size: 16px;
}

.top-actions {
  gap: 8px;
  display: flex;
}

.mobile-bottom-nav, .mobile-menu-button, .mobile-menu-popover {
  display: none;
}

.topline {
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

h1 {
  margin: 0 0 20px;
  font-size: 28px;
}

h2 {
  margin: 0;
  font-size: 19px;
}

.muted {
  color: var(--muted);
}

.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  padding: 18px;
}

.card span {
  color: #4f5c6d;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  display: block;
}

.card strong {
  color: #101828;
  font-size: 24px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  margin-top: 18px;
  padding: 20px;
}

.panel.narrow {
  max-width: 560px;
}

.panel-title {
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-bottom: 18px;
  display: flex;
}

.panel-title h1, .panel-title h2 {
  margin-bottom: 6px;
}

.panel-title p {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 900;
  display: block;
}

.page-heading {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #fffffffa, #f8fbfffa), radial-gradient(circle at 100% 0, #2f8cff1c, #0000 260px);
  border-radius: 18px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 14px;
  padding: 16px 20px;
  display: flex;
}

.page-heading h1 {
  margin-bottom: 6px;
  font-size: 25px;
}

.button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
  border-radius: 10px;
  justify-content: center;
  padding: 9px 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  display: inline-flex;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #2f8cff, #19b7a4);
  border-color: #0000;
  box-shadow: 0 10px 24px #2f8cff38;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.ghost {
  background: var(--surface-soft);
}

.button.danger {
  color: var(--danger);
  background: #fff1f0;
  border-color: #f3b8b3;
}

.login-page, .center-page {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  display: flex;
}

.login-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  display: grid;
}

.form-stack {
  gap: 14px;
  display: grid;
}

label {
  color: var(--foreground);
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  display: grid;
}

input, select, textarea {
  border: 1px solid var(--line);
  color: var(--foreground);
  background: #fff;
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 11px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  outline: 3px solid #e5eeea;
}

.notice {
  border-radius: 8px;
  margin: 0;
  padding: 10px 12px;
}

.notice.error {
  color: var(--danger);
  background: #fff1f0;
}

.notice.success {
  color: var(--success);
  background: #ecfdf3;
}

.store-list, .user-list {
  gap: 10px;
  display: grid;
}

.store-row, .user-row {
  border: 1px solid var(--line);
  background: linear-gradient(#fff, #fbfcff);
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
  display: flex;
}

.store-row:hover, .user-row:hover {
  border-color: #cfe0f6;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #1e2a3e12;
}

.store-row div, .user-row div {
  gap: 4px;
  display: grid;
}

.store-row span, .user-row span, .user-row small {
  color: var(--muted);
}

.user-row.inactive {
  opacity: .58;
}

.row-actions {
  gap: 8px;
  display: flex;
}

.store-row em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.settings-grid {
  grid-template-columns: minmax(360px, 440px) 1fr;
  align-items: start;
  gap: 18px;
  display: grid;
}

.dashboard-page, .materials-page {
  gap: 18px;
  display: grid;
}

.list-page {
  gap: 22px;
}

.list-heading {
  align-items: start;
  margin-bottom: 0;
}

.page-description {
  color: var(--muted);
  margin: -8px 0 0;
  font-size: 16px;
  font-weight: 650;
}

.page-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.list-filter-bar {
  justify-content: flex-end;
  margin-top: -14px;
  display: flex;
}

.materials-filters {
  grid-template-columns: minmax(220px, 280px) 150px;
  align-items: end;
  gap: 10px;
  display: grid;
}

.materials-layout {
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, .85fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.material-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.action-tile {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  border-radius: 8px;
  gap: 6px;
  min-height: 86px;
  padding: 17px;
  transition: transform .14s, border-color .14s, box-shadow .14s;
  display: grid;
  box-shadow: 0 10px 26px #1f29330a;
}

.action-tile:hover {
  box-shadow: var(--shadow);
  border-color: #b8cbc2;
  transform: translateY(-1px);
}

.action-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.action-tile strong {
  font-size: 18px;
}

.action-tile.primary {
  color: #fff;
  background: #173f32;
  border-color: #173f32;
}

.action-tile.primary span {
  color: #cfe5d8;
}

.action-result {
  color: var(--success);
  background: #ecfdf3;
  border: 1px solid #b8dfc6;
  border-radius: 8px;
  grid-column: 1 / -1;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  font-weight: 800;
  display: flex;
}

.material-import-form {
  gap: 12px;
  display: grid;
}

.material-import-form textarea {
  border: 1px solid var(--line);
  font: inherit;
  resize: vertical;
  border-radius: 8px;
  min-height: 150px;
  padding: 11px;
}

.materials-search {
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 0;
  display: grid;
}

.material-table {
  display: block;
  overflow-x: auto;
}

.material-table-head, .material-row {
  grid-template-columns: 42px minmax(230px, 1.55fr) 116px 82px 104px 92px 104px 72px 96px 112px 130px 96px 126px 74px;
  align-items: center;
  gap: 14px;
  min-width: 1500px;
  display: grid;
}

.material-table-head {
  color: var(--muted);
  z-index: 1;
  background: linear-gradient(#f8fafc, #eef3f8);
  min-height: 58px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
  position: sticky;
  top: 0;
}

.material-row {
  background: #fff;
  border-bottom: 1px solid #edf1f4;
  min-height: 70px;
  padding: 0 18px;
  transition: background .14s, box-shadow .14s, transform .14s;
}

.material-row.low-stock {
  background: #fffaf0;
}

.material-row:hover {
  background: #f9fcff;
  box-shadow: inset 4px 0 #2f8cff;
}

.material-row small, .material-row span {
  color: var(--muted);
}

.material-table input[type="checkbox"] {
  accent-color: var(--accent);
  justify-self: center;
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
}

.material-list-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(#fffffffa, #fbfdfffa), #fff;
  border-radius: 18px;
  gap: 20px;
  padding: 28px 18px 18px;
  display: grid;
}

.list-summary-row, .list-search-row {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}

.item-count {
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.item-count strong {
  font-size: 19px;
}

.item-count span {
  color: var(--muted);
  font-weight: 800;
}

.item-count em {
  color: #a15c00;
  font-style: normal;
  font-weight: 800;
}

.toolbar-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.selection-toolbar {
  background: #eef6ff;
  border: 1px solid #c8defa;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 14px;
  display: flex;
}

.selection-toolbar strong {
  color: var(--accent-strong);
  white-space: nowrap;
  font-size: 13px;
}

.selection-toolbar .button {
  min-height: 30px;
  padding: 5px 10px;
}

.page-indicator {
  color: var(--muted);
  padding: 0 8px;
  font-weight: 800;
}

.list-search-row > span {
  color: var(--foreground);
  min-width: 80px;
  font-weight: 700;
}

.list-search-row .materials-search {
  width: min(100%, 920px);
}

.list-result {
  margin: -6px 0 0;
}

.material-name-cell {
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: start;
  align-items: center;
  gap: 12px;
  display: grid;
}

.material-name-cell.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.material-thumb {
  object-fit: cover;
  background: #eef1f3;
  border-radius: 6px;
  flex: none;
  width: 38px;
  height: 38px;
  display: block;
}

.material-name-cell > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.material-name-cell strong {
  color: var(--foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  overflow: hidden;
}

.dashboard-filters {
  grid-template-columns: minmax(220px, 280px) 150px;
  align-items: end;
  gap: 10px;
  display: grid;
}

.dashboard-panels {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
  display: grid;
}

.placeholder-chart {
  border: 1px dashed var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
  border-radius: 8px;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  display: grid;
}

.placeholder-chart strong {
  color: var(--foreground);
  font-size: 22px;
}

.payroll-page {
  gap: 18px;
  display: grid;
}

.payroll-filters {
  grid-template-columns: minmax(220px, 280px) 150px;
  align-items: end;
  gap: 10px;
  display: grid;
}

.payroll-standard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.payroll-standard-card, .payroll-row {
  border: 1px solid var(--line);
  background: linear-gradient(#fff, #fbfcff);
  border-radius: 14px;
}

.payroll-standard-card {
  box-shadow: inset 5px 0 0 var(--employee-line, #2f8cff);
  gap: 6px;
  padding: 14px;
  display: grid;
}

.payroll-standard-card span, .payroll-standard-card small {
  color: var(--muted);
}

.payroll-standard-card strong {
  color: var(--employee-deep, #101828);
}

.payroll-list {
  gap: 12px;
  display: grid;
}

.payroll-row {
  gap: 12px;
  padding: 15px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
  display: grid;
}

.payroll-row.employee-toned-row {
  background: linear-gradient(90deg, var(--employee-soft, #f5f8fb), #fff 38%),
    #fff;
  border-color: color-mix(in srgb, var(--employee-line, #2f8cff) 30%, #dfe8f3);
  box-shadow: inset 6px 0 0 var(--employee-line, #2f8cff);
}

.payroll-row:hover {
  border-color: #cfe0f6;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #1e2a3e12;
}

.payroll-row.employee-toned-row:hover {
  border-color: color-mix(in srgb, var(--employee-line, #2f8cff) 48%, #dfe8f3);
  box-shadow: inset 6px 0 0 var(--employee-line, #2f8cff), 0 12px 28px #1e2a3e12;
}

.payroll-row-main {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  display: flex;
}

.payroll-row-summary {
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  gap: 10px;
  width: 100%;
  padding: 0;
  display: grid;
}

.payroll-row-amount {
  white-space: nowrap;
  place-items: end;
  gap: 4px;
  display: grid;
}

.payroll-row-amount > strong {
  font-size: 20px;
}

.payroll-row-amount span {
  color: var(--employee-color, #2f8cff);
  font-size: 12px;
  font-weight: 900;
}

.payroll-summary-chips {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.payroll-summary-chips span {
  background: color-mix(in srgb, var(--employee-soft, #f3f7fb) 72%, #fff);
  color: #344054;
  border: 1px solid #e0e8f2;
  border-radius: 10px;
  min-height: 34px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 900;
}

.payroll-detail {
  border-top: 1px dashed #dbe6f2;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  display: grid;
}

.payroll-row-main div {
  gap: 4px;
  display: grid;
}

.payroll-row-main span, .payroll-metrics span, .payroll-costs span {
  color: var(--muted);
}

.payroll-row-main > strong {
  font-size: 20px;
}

.payroll-row.employee-toned-row .payroll-row-main strong:first-child {
  color: var(--employee-deep, #101828);
}

.payroll-metrics, .payroll-costs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.payroll-costs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.store-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 10px;
  padding: 12px;
  display: grid;
}

.store-access-row {
  grid-template-columns: 1fr 140px;
  align-items: center;
  gap: 10px;
  display: grid;
}

.time-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.summary-line {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  border-radius: 8px;
  margin: 0;
  padding: 11px 12px;
}

.summary-line strong {
  color: var(--foreground);
}

.workforce-page {
  gap: 18px;
  display: grid;
}

.workforce-controls {
  margin-top: 0;
}

.mobile-workforce-panel, .editor-close {
  display: none;
}

.workforce-form {
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  align-items: end;
  gap: 12px;
  display: grid;
}

.workforce-controls.is-open {
  z-index: 40;
  width: min(1080px, 100vw - 32px);
  max-height: calc(100vh - 96px);
  position: fixed;
  top: 72px;
  left: 50%;
  overflow: auto;
  transform: translateX(-50%);
  box-shadow: 0 22px 70px #0f172a2e;
}

.workforce-controls.is-open .editor-close {
  display: inline-flex;
}

.workforce-form .summary-line, .workforce-form .notice, .workforce-form .time-grid, .workforce-form .repeat-panel, .workforce-form .half-day-toggle, .workforce-form label:last-of-type {
  grid-column: span 2;
}

.repeat-panel {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  gap: 12px;
  padding: 12px;
  display: grid;
}

.weekday-toggle-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.weekday-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  min-height: 38px;
  font-weight: 800;
}

.weekday-toggle.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.half-day-toggle {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  display: grid;
}

.half-day-toggle button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  min-height: 38px;
  font-weight: 800;
}

.half-day-toggle button.active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 4px #10182814;
}

.calendar-filter-row {
  grid-template-columns: minmax(180px, 240px) minmax(160px, 220px) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
  display: grid;
}

.calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.weekday-row {
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.calendar-day {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  min-height: 128px;
  padding: 8px;
}

.muted-day {
  background: none;
  border-style: dashed;
}

.calendar-date {
  color: var(--foreground);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 26px;
  padding: 2px 4px;
  font-weight: 800;
  display: flex;
}

.calendar-date:hover, .calendar-date.active {
  color: var(--accent);
  background: #e8f1ea;
}

.calendar-date span {
  color: var(--muted);
  font-size: 11px;
}

.shift-chip-list {
  gap: 5px;
  margin-top: 8px;
  display: grid;
}

.shift-chip {
  color: var(--accent-strong);
  cursor: pointer;
  text-align: left;
  background: #eef8f2;
  border: 1px solid #c9ded2;
  border-radius: 6px;
  gap: 2px;
  padding: 5px 6px;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  overflow: hidden;
}

.shift-chip span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.shift-chip-name {
  color: var(--foreground);
}

.shift-chip-time, .shift-chip-duration {
  color: var(--accent-strong);
  font-size: 11px;
}

.shift-chip.off {
  border-color: var(--line);
  color: var(--muted);
  background: #f2f4f7;
}

.shift-chip.half-day {
  color: #8a5a00;
  background: #fff8e6;
  border-color: #efd27d;
}

.shift-chip.half-day .shift-chip-time, .shift-chip.half-day .shift-chip-duration {
  color: #8a5a00;
}

.shift-more-button {
  color: var(--accent);
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px dashed #adc9bb;
  border-radius: 6px;
  min-height: 30px;
  padding: 5px 6px;
  font-size: 12px;
  font-weight: 800;
}

.selected-day-panel {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  display: grid;
}

.selected-day-title, .selected-shift-row {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.selected-day-title div, .selected-shift-row span {
  gap: 4px;
  display: grid;
}

.selected-day-title span, .selected-shift-row small {
  color: var(--muted);
}

.selected-shift-list {
  gap: 8px;
  display: grid;
}

.selected-shift-row {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  border-radius: 8px;
  padding: 12px;
}

.selected-shift-row span:last-child {
  text-align: right;
}

.segmented-control {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 4px;
  padding: 4px;
  display: grid;
}

.segmented-control button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  min-height: 38px;
  font-weight: 800;
}

.segmented-control button.active, .segmented-control button[aria-selected="true"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 4px #10182814;
}

.text-button {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px;
  font-weight: 800;
}

.check-row {
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: flex;
}

.check-row input {
  min-height: auto;
}

.modal-backdrop {
  z-index: 80;
  background: #0f172a70;
  place-items: start center;
  padding: 56px 18px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.modal-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  gap: 18px;
  width: min(100%, 560px);
  max-width: 560px;
  padding: 20px;
  display: grid;
  box-shadow: 0 28px 90px #0f172a3d;
}

.modal-panel.wide {
  width: min(100%, 920px);
  max-width: 920px;
}

.modal-panel .panel-title {
  justify-content: stretch;
  align-items: start;
  gap: 6px;
  margin-bottom: 2px;
  display: grid;
}

.modal-panel .panel-title h1, .modal-panel .panel-title h2 {
  white-space: normal;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.modal-panel .panel-title p {
  color: #526071;
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.modal-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  margin: -2px -2px 0;
  padding-bottom: 14px;
  display: flex;
}

.modal-head div {
  gap: 4px;
  display: grid;
}

.modal-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.modal-head strong {
  font-size: 20px;
}

.icon-button {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--foreground);
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  font-weight: 900;
  display: inline-flex;
}

.icon-button:hover {
  background: #eef4f1;
  border-color: #c4d6ce;
}

.modal-form {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.field-full {
  grid-column: 1 / -1;
}

.modal-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.button:disabled, .action-tile:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.workforce-hero {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #fffffff5, #f4fafff5), radial-gradient(circle at 100% 0, #2f8cff2e, #0000 240px);
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 14px 18px;
  display: grid;
}

.workforce-hero h1 {
  margin-bottom: 4px;
  font-size: 25px;
}

.workforce-hero p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.workforce-hero-actions {
  grid-template-columns: minmax(220px, 280px) 150px auto;
  align-items: end;
  gap: 10px;
  display: grid;
}

.workforce-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.stat-card {
  background: linear-gradient(180deg, #fffffff0, #fffffffa),
    var(--tone-bg);
  border: 1px solid color-mix(in srgb, var(--tone) 18%, white);
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  gap: 6px;
  padding: 12px 14px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.stat-card:after {
  background: var(--tone-bg);
  content: "";
  opacity: .9;
  border-radius: 999px;
  width: 64px;
  height: 64px;
  position: absolute;
  top: -20px;
  right: -20px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.stat-card strong {
  color: var(--foreground);
  font-size: 22px;
  line-height: 1.1;
}

.stat-card small {
  color: var(--tone);
  font-weight: 800;
}

.workforce-controls {
  display: none;
}

.workforce-controls.is-open {
  box-shadow: var(--shadow-pop);
  z-index: 90;
  border-radius: 18px;
  display: block;
}

.workforce-editor-backdrop {
  cursor: pointer;
  z-index: 80;
  background: #141c2a70;
  border: 0;
  position: fixed;
  inset: 0;
}

.workforce-controls .panel-title, .workforce-calendar-panel .panel-title {
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  display: flex;
}

.calendar-month-control {
  align-items: center;
  gap: 8px;
  display: flex;
}

.calendar-month-control strong {
  text-align: center;
  min-width: 90px;
  font-size: 20px;
}

.week-control {
  border: 1px solid var(--line);
  background: #f7f9fc;
  border-radius: 12px;
  align-items: center;
  gap: 6px;
  padding: 5px;
  display: flex;
}

.week-control strong {
  color: #1d2735;
  text-align: center;
  min-width: 160px;
  padding: 0 8px;
  font-size: 14px;
}

.week-control .button {
  white-space: nowrap;
  min-height: 32px;
  padding: 6px 10px;
}

.segmented-control.compact {
  grid-template-columns: none;
  align-items: center;
  min-width: 126px;
  display: flex;
}

.segmented-control.compact button {
  min-height: 32px;
  padding: 0 12px;
}

.workforce-calendar-panel {
  overflow: hidden;
}

.workforce-calendar-panel .calendar-grid {
  gap: 0;
}

.workforce-calendar-panel .weekday-row {
  border: 1px solid var(--line);
  background: #f7f9fc;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  margin-bottom: 0;
  overflow: hidden;
}

.workforce-calendar-panel .weekday-row strong {
  padding: 12px 6px;
}

.workforce-calendar-panel .calendar-day {
  background: #fff;
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  min-height: 110px;
  padding: 7px;
}

.workforce-calendar-panel .calendar-day:nth-child(7n+1) {
  border-left: 1px solid var(--line);
}

.workforce-calendar-panel .muted-day {
  background: #fbfcfe;
  border-style: solid;
}

.workforce-calendar-panel .calendar-date {
  border-radius: 999px;
}

.workforce-calendar-panel .calendar-date:hover, .workforce-calendar-panel .calendar-date.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.shift-chip {
  color: #1769c2;
  background: #eaf4ff;
  border: 0;
  border-left: 4px solid #2f8cff;
  border-radius: 10px;
  padding: 5px 7px;
  transition: filter .14s, transform .14s;
}

.shift-chip:hover {
  filter: brightness(.98);
  transform: translateY(-1px);
}

.shift-chip-time, .shift-chip-duration {
  color: #1769c2;
}

.shift-chip.off {
  color: #c9304a;
  background: #fff0f3;
  border-left-color: #f45b72;
}

.shift-chip.half-day {
  color: #8a5a00;
  background: #fff8e6;
  border-left-color: #f59f00;
}

.shift-more-button {
  color: #1769c2;
  border-color: #bdd7ff;
  border-radius: 10px;
}

.selected-day-panel {
  background: linear-gradient(180deg, #fffffff0, #f8fbfff5),
    var(--surface-soft);
  border-radius: 16px;
}

.workforce-bar-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
}

.bar-table-head, .bar-table-row {
  grid-template-columns: 190px repeat(7, minmax(150px, 1fr));
  gap: 0;
  min-width: 1240px;
  display: grid;
}

.bar-table-head {
  border-bottom: 1px solid var(--line);
  background: #f3f6fa;
}

.bar-table-head strong, .bar-table-head button {
  border: 0;
  border-right: 1px solid var(--line);
  color: #344054;
  background: none;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 8px;
  font-weight: 900;
  display: flex;
}

.bar-table-head button {
  cursor: pointer;
}

.bar-table-head button.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.bar-table-row {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.bar-table-row:last-child {
  border-bottom: 0;
}

.bar-employee {
  border-right: 1px solid var(--line);
  align-content: center;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
  display: grid;
}

.bar-employee strong {
  color: #101828;
}

.bar-employee span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.bar-shift, .bar-empty {
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  min-height: 82px;
  padding: 10px;
}

.bar-shift {
  color: #1769c2;
  background: #eaf4ff;
  border-left: 4px solid #2f8cff;
  align-content: center;
  gap: 4px;
  display: grid;
}

.bar-shift.half-day {
  color: #8a5a00;
  background: #fff8e6;
  border-left-color: #f59f00;
}

.bar-shift.off {
  color: #c9304a;
  background: #fff0f3;
  border-left-color: #f45b72;
}

.bar-shift strong {
  color: inherit;
  font-size: 13px;
}

.bar-shift span {
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

.bar-empty {
  color: #98a2b3;
  text-align: center;
  background: #fbfcfe;
  font-size: 20px;
  font-weight: 900;
}

.bar-empty:hover {
  color: var(--accent);
  background: #eef6ff;
}

.payroll-page .card {
  background: linear-gradient(#fffffffa, #f7fbfffa), #fff;
  border-color: #d9e3f0;
}

.payroll-page .card:first-child, .payroll-page .card:nth-child(3) {
  box-shadow: inset 4px 0 0 #2f8cff, var(--shadow-soft);
}

.payroll-page .card:nth-child(7) {
  box-shadow: inset 4px 0 0 #f59f00, var(--shadow-soft);
}

.payroll-standard-card strong, .payroll-row-main strong {
  color: #101828;
}

.payroll-standard-card span, .payroll-standard-card small, .payroll-row-main span {
  color: #526071;
  font-weight: 800;
}

.payroll-row-main small {
  color: #667085;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  display: block;
}

.payroll-metrics, .payroll-costs {
  gap: 10px;
}

.payroll-metrics span, .payroll-costs span {
  background: color-mix(in srgb, var(--employee-soft, #f3f7fb) 62%, #fff);
  color: #344054;
  border: 1px solid #e0e8f2;
  border-radius: 10px;
  min-height: 38px;
  padding: 9px 10px;
  font-weight: 850;
}

.payroll-costs span {
  background: #fbfcff;
}

.payroll-costs.insurance-detail span {
  background: color-mix(in srgb, var(--employee-badge, #eef4ff) 52%, #fff);
  font-size: 12px;
}

.employee-summary-row, .mobile-staff-row {
  background: linear-gradient(90deg, var(--employee-soft, #f8fbff), #fff 42%),
    #fff;
  border-color: color-mix(in srgb, var(--employee-line, #2f8cff) 28%, #dfe8f3);
  box-shadow: inset 5px 0 0 var(--employee-line, #2f8cff);
}

.employee-summary-row strong, .mobile-staff-row strong {
  color: var(--employee-deep, #101828);
}

.reservations-page {
  gap: 16px;
  display: grid;
}

.contacts-page {
  gap: 14px;
  display: grid;
}

.contacts-heading {
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #fffffffa, #f6fbfffa), radial-gradient(circle at 100% 0, #2f8cff29, #0000 260px);
  align-items: center;
}

.contacts-toolbar {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  padding: 14px 16px;
  display: grid;
}

.contacts-search {
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  display: grid;
}

.contacts-search svg {
  color: #667085;
}

.contacts-search input {
  border: 0;
  outline: 0;
  min-height: 36px;
}

.contacts-category-strip {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}

.contacts-category-strip button {
  color: #526071;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  justify-content: space-between;
  min-height: 48px;
  padding: 11px 12px;
  font-weight: 850;
  display: flex;
}

.contacts-category-strip button.active {
  color: #1769c2;
  background: #eaf4ff;
  border-color: #98c8ff;
  box-shadow: inset 4px 0 #2f8cff;
}

.contacts-category-strip strong {
  color: inherit;
}

.contacts-pinned {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.contact-pin, .contact-mobile-card, .contacts-row {
  --contact-line: #2f8cff;
  --contact-soft: #eaf4ff;
  --contact-deep: #1769c2;
}

.category-hq {
  --contact-line: #7c3aed;
  --contact-soft: #f3e8ff;
  --contact-deep: #5b21b6;
}

.category-ingredient_vendor {
  --contact-line: #20b486;
  --contact-soft: #e8faf2;
  --contact-deep: #087968;
}

.category-liquor_beverage {
  --contact-line: #0ea5e9;
  --contact-soft: #e0f2fe;
  --contact-deep: #0369a1;
}

.category-repair {
  --contact-line: #f59f00;
  --contact-soft: #fff7df;
  --contact-deep: #8a5a00;
}

.category-tax_labor {
  --contact-line: #ef4b74;
  --contact-soft: #fff0f5;
  --contact-deep: #be123c;
}

.category-reservation_platform {
  --contact-line: #06b6d4;
  --contact-soft: #ecfeff;
  --contact-deep: #0e7490;
}

.category-staff {
  --contact-line: #6366f1;
  --contact-soft: #eef2ff;
  --contact-deep: #4338ca;
}

.category-delivery {
  --contact-line: #f97316;
  --contact-soft: #fff3e8;
  --contact-deep: #c2410c;
}

.category-etc {
  --contact-line: #64748b;
  --contact-soft: #f1f5f9;
  --contact-deep: #334155;
}

.contact-pin {
  background: linear-gradient(90deg, var(--contact-soft), #fff 58%),
    #fff;
  border: 1px solid color-mix(in srgb, var(--contact-line) 28%, #dfe8f3);
  box-shadow: inset 5px 0 0 var(--contact-line), var(--shadow-soft);
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  display: grid;
}

.contact-pin span, .contact-card-head span, .contact-category-badge {
  color: var(--contact-deep);
  font-size: 12px;
  font-weight: 900;
}

.contact-pin strong, .contact-mobile-card strong, .contact-name-cell strong {
  color: #101828;
  font-size: 16px;
  display: block;
}

.contact-pin small, .contact-mobile-card small, .contact-name-cell small {
  color: #667085;
  font-weight: 800;
}

.contact-pin-actions, .contact-card-actions, .contact-row-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.contacts-list-panel {
  gap: 12px;
  display: grid;
}

.compact-title {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.contacts-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.contacts-table-head, .contacts-row {
  grid-template-columns: 120px minmax(190px, 1.2fr) minmax(170px, 1fr) minmax(210px, 1.1fr) minmax(220px, 1.2fr) 96px;
  display: grid;
}

.contacts-table-head {
  color: #526071;
  background: #f2f6fb;
  font-size: 13px;
  font-weight: 900;
}

.contacts-table-head span, .contacts-row > * {
  border-bottom: 1px solid var(--line);
  align-content: center;
  min-height: 70px;
  padding: 12px;
}

.contacts-row {
  background: linear-gradient(90deg, color-mix(in srgb, var(--contact-soft) 52%, #fff), #fff 34%),
    #fff;
  box-shadow: inset 4px 0 0 var(--contact-line);
}

.contacts-row:last-child > * {
  border-bottom: 0;
}

.contact-category-badge {
  background: var(--contact-soft);
  border-radius: 999px;
  place-self: center start;
  min-height: auto;
  padding: 7px 10px;
}

.contact-phone-cell, .contact-sub-cell {
  gap: 5px;
  display: grid;
}

.contact-phone-cell button {
  color: var(--contact-deep);
  cursor: pointer;
  background: none;
  border: 0;
  justify-self: start;
  padding: 0;
  font-size: 12px;
  font-weight: 900;
}

.contact-sub-cell span, .contact-sub-cell small, .contact-phone-cell span, .contact-phone-cell small {
  color: #526071;
  font-weight: 800;
}

.contact-memo-cell {
  color: #526071;
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.contacts-empty {
  color: #667085;
  text-align: center;
  padding: 34px;
  font-weight: 850;
}

.contacts-mobile-list {
  display: none;
}

.contact-modal {
  max-width: 820px;
}

@media (max-width: 900px) {
  .contacts-page {
    gap: 10px;
    padding-bottom: 92px;
  }

  .contacts-heading {
    border-radius: 14px;
    padding: 18px;
  }

  .contacts-heading h1 {
    font-size: 30px;
  }

  .contacts-toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .contacts-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contacts-search .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contacts-category-strip {
    gap: 8px;
    margin: 0 -4px;
    padding: 0 4px 4px;
    display: flex;
    overflow-x: auto;
  }

  .contacts-category-strip button {
    flex: none;
    min-width: 118px;
  }

  .contacts-pinned, .contact-pin {
    grid-template-columns: 1fr;
  }

  .contact-pin-actions {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .contacts-table {
    display: none;
  }

  .contacts-mobile-list {
    gap: 10px;
    display: grid;
  }

  .contact-mobile-card {
    background: linear-gradient(90deg, var(--contact-soft), #fff 46%),
      #fff;
    border: 1px solid color-mix(in srgb, var(--contact-line) 25%, #dfe8f3);
    box-shadow: inset 5px 0 0 var(--contact-line), var(--shadow-soft);
    border-radius: 16px;
    gap: 9px;
    padding: 14px;
    display: grid;
  }

  .contact-card-head {
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .contact-card-head em {
    color: #b45309;
    background: #fff8e6;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
  }

  .contact-card-phone {
    background: #ffffffb8;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    gap: 4px;
    padding: 10px;
    display: grid;
  }

  .contact-card-phone a, .contact-card-phone span {
    color: var(--contact-deep);
    font-weight: 900;
    text-decoration: none;
  }

  .contact-mobile-card p {
    color: #526071;
    margin: 0;
    font-weight: 750;
    line-height: 1.45;
  }

  .contact-card-actions {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .contact-modal {
    width: min(100vw - 20px, 820px);
    max-height: calc(100vh - 48px);
    overflow: auto;
  }
}

.reservation-hero {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #fffffff5, #f6fffbf5), radial-gradient(circle at 100% 0, #29bca02e, #0000 240px);
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 14px 18px;
  display: grid;
}

.reservation-hero h1 {
  margin-bottom: 4px;
  font-size: 25px;
}

.reservation-hero p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.reservation-hero-actions {
  grid-template-columns: minmax(220px, 280px) 150px auto;
  align-items: end;
  gap: 10px;
  display: grid;
}

.reservation-editor {
  box-shadow: var(--shadow-pop);
  z-index: 90;
  width: min(760px, 100vw - 32px);
  max-height: calc(100vh - 96px);
  position: fixed;
  top: 72px;
  left: 50%;
  overflow: auto;
  transform: translateX(-50%);
}

.reservation-calendar-panel .calendar-day {
  min-height: 122px;
}

.reservation-chip {
  color: #087968;
  cursor: pointer;
  text-align: left;
  background: #e8faf6;
  border: 0;
  border-left: 4px solid #29bca0;
  border-radius: 10px;
  gap: 2px;
  padding: 6px 7px;
  font-size: 12px;
  font-weight: 850;
  display: grid;
}

.reservation-chip.confirmed {
  color: #1769c2;
  background: #eaf4ff;
  border-left-color: #2f8cff;
}

.reservation-chip.muted {
  color: #667085;
  background: #f4f5f7;
  border-left-color: #98a2b3;
}

.reservation-chip span, .reservation-chip small {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.reservation-chip small {
  color: inherit;
  opacity: .88;
}

.reservation-detail-panel {
  margin-top: 14px;
}

.reservation-detail-list {
  gap: 8px;
  display: grid;
}

.reservation-detail-row {
  border: 1px solid var(--line);
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  background: #fff;
  border-radius: 13px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
  display: grid;
}

.reservation-detail-row:hover {
  border-color: #bde8dc;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #29bca01a;
}

.reservation-detail-row strong {
  color: #101828;
}

.reservation-detail-row small {
  color: #526071;
  margin-top: 3px;
  font-weight: 800;
  display: block;
}

.reservation-time {
  color: #087968;
  background: #e8faf6;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  height: 42px;
  font-weight: 950;
  display: inline-flex;
}

.reservation-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 10px;
  font-style: normal;
  font-weight: 950;
}

.settings-page {
  gap: 18px;
  display: grid;
}

.mobile-material-cards, .mobile-reservation-panel {
  display: none;
}

.profile-row {
  position: relative;
  overflow: hidden;
}

.profile-row:before {
  background: var(--profile-color, var(--accent));
  content: "";
  border-radius: 999px;
  width: 5px;
  height: 70%;
  position: absolute;
  top: 15%;
  left: 0;
}

.profile-row strong:after {
  background: var(--profile-soft, var(--accent-soft));
  color: var(--profile-color, var(--accent));
  content: var(--profile-label, "");
  vertical-align: middle;
  border-radius: 999px;
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 950;
  display: inline-flex;
}

.employee-type-owner {
  --profile-color: #7c5cff;
  --profile-soft: #f2efff;
  --profile-label: "대표";
}

.employee-type-manager {
  --profile-color: #2f8cff;
  --profile-soft: #eaf4ff;
  --profile-label: "관리자";
}

.employee-type-staff_a {
  --profile-color: #20a978;
  --profile-soft: #e9f8f0;
  --profile-label: "정직원 A";
}

.employee-type-staff_b {
  --profile-color: #f59f00;
  --profile-soft: #fff6df;
  --profile-label: "정직원 B";
}

.employee-type-part {
  --profile-color: #11a4c7;
  --profile-soft: #e8f9fd;
  --profile-label: "파트";
}

.account-role-owner {
  --profile-color: #7c5cff;
  --profile-soft: #f2efff;
  --profile-label: "OWNER";
}

.account-role-admin {
  --profile-color: #2f8cff;
  --profile-soft: #eaf4ff;
  --profile-label: "ADMIN";
}

.account-role-supervisor {
  --profile-color: #f59f00;
  --profile-soft: #fff6df;
  --profile-label: "SUP";
}

.account-role-none {
  --profile-color: #11a4c7;
  --profile-soft: #e8f9fd;
  --profile-label: "STORE";
}

.mobile-staff-board, .mobile-calendar-panel {
  gap: 10px;
  display: grid;
}

.mobile-staff-row {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  gap: 10px;
  padding: 12px;
  display: grid;
}

.mobile-staff-name {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.mobile-staff-name span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mobile-staff-days {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.mobile-staff-shift, .mobile-staff-empty, .mobile-month-day {
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: center;
  border-radius: 12px;
  gap: 4px;
  min-height: 58px;
  padding: 7px 4px;
  display: grid;
}

.mobile-staff-shift {
  color: #1769c2;
  background: #eaf4ff;
  border-color: #bdd7ff;
}

.mobile-staff-shift.half-day {
  color: #8a5a00;
  background: #fff8e6;
  border-color: #ffd782;
}

.mobile-staff-shift.off {
  color: #c9304a;
  background: #fff0f3;
  border-color: #ffc6d0;
}

.mobile-staff-empty {
  color: #98a2b3;
  background: #f8fafc;
}

.mobile-staff-shift strong, .mobile-staff-empty strong, .mobile-staff-shift span, .mobile-staff-empty span {
  font-size: 11px;
  line-height: 1.2;
}

.mobile-month-control {
  justify-content: center;
}

.mobile-month-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.mobile-month-day {
  background: #f8fafc;
  min-height: 54px;
}

.mobile-month-day.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bdd7ff;
}

.mobile-month-day span {
  color: #fff;
  background: #2f8cff;
  border-radius: 999px;
  justify-self: center;
  min-width: 20px;
  padding: 1px 6px;
  font-size: 11px;
}

.status-reserved {
  color: #087968;
  background: #e8faf6;
}

.status-confirmed, .status-seated {
  color: #1769c2;
  background: #eaf4ff;
}

.status-completed {
  color: #344054;
  background: #f1f4f8;
}

.status-cancelled, .status-no_show {
  color: #c9304a;
  background: #fff0f3;
}

.sales-page, .reports-page {
  gap: 18px;
  display: grid;
}

.sales-stat-grid .card, .report-template-grid .card {
  background: linear-gradient(#fffffffa, #f7fbfffa), #fff;
  border-color: #d9e3f0;
}

.metric-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.metric-strip span {
  color: #526071;
  background: #f5f8fc;
  border: 1px solid #e5edf6;
  border-radius: 14px;
  gap: 6px;
  min-height: 74px;
  padding: 12px;
  font-size: 13px;
  font-weight: 850;
  display: grid;
}

.metric-strip strong {
  color: #101828;
  font-size: 18px;
}

.sales-list, .report-list {
  gap: 10px;
  display: grid;
}

.sales-row, .report-row {
  border: 1px solid var(--line);
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  background: linear-gradient(#fff, #fbfdff);
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
  display: grid;
}

.sales-row:hover, .report-row:hover {
  border-color: #cce0ff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #1e2a3e12;
}

.sales-row span, .report-row span {
  gap: 4px;
  display: grid;
}

.sales-row span:last-child {
  text-align: right;
}

.sales-row small, .report-row small {
  color: #667085;
  font-weight: 800;
}

.report-row > span:last-child {
  color: #344054;
  max-width: 640px;
  font-weight: 800;
  line-height: 1.45;
}

.report-form textarea {
  min-height: 92px;
}

.daily-report-page {
  gap: 14px;
}

.compact-report-heading {
  align-items: end;
  min-height: auto;
  padding: 22px;
}

.report-heading-controls {
  align-items: end;
  gap: 10px;
  display: flex;
}

.report-heading-controls label {
  color: #344054;
  gap: 6px;
  min-width: 260px;
  font-size: 12px;
  font-weight: 900;
  display: grid;
}

.daily-reader-panel {
  gap: 16px;
  padding: 18px;
  display: grid;
}

.report-search-panel {
  padding: 16px;
}

.report-search-grid {
  grid-template-columns: 220px minmax(260px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  display: grid;
}

.report-search-grid label {
  color: #344054;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  display: grid;
}

.daily-reader-toolbar {
  background: #f7faff;
  border: 1px solid #e2ebf6;
  border-radius: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: grid;
}

.daily-reader-toolbar div {
  text-align: center;
  gap: 3px;
  min-width: 0;
  display: grid;
}

.daily-reader-toolbar span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.daily-reader-toolbar strong {
  color: #101828;
  font-size: 24px;
  font-weight: 950;
}

.daily-date-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.daily-date-button {
  color: #344054;
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 14px;
  gap: 4px;
  min-height: 68px;
  padding: 10px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
  display: grid;
}

.daily-date-button:hover {
  border-color: #bcd8ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px #2f8cff14;
}

.daily-date-button strong {
  color: #101828;
  font-size: 15px;
  font-weight: 950;
}

.daily-date-button span {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 900;
}

.daily-date-button.has-report {
  background: #f1fbf6;
  border-color: #bee9d1;
}

.daily-date-button.has-report span {
  color: #16825c;
}

.daily-date-button.active {
  background: linear-gradient(135deg, #2f8cff, #19b7a4);
  border-color: #0000;
  box-shadow: 0 16px 32px #2f8cff2e;
}

.daily-date-button.active strong, .daily-date-button.active span {
  color: #fff;
}

.daily-report-card {
  background: radial-gradient(circle at 100% 0, #2f8cff14, #0000 34%), linear-gradient(#fff, #fbfdff);
  border: 1px solid #dce7f3;
  border-radius: 22px;
  gap: 16px;
  padding: 20px;
  display: grid;
}

.daily-report-card.has-report {
  border-color: #cce0ff;
}

.daily-report-card-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  display: grid;
}

.daily-report-card-head div {
  gap: 5px;
  min-width: 0;
  display: grid;
}

.daily-report-card-head span {
  color: #2f8cff;
  font-size: 12px;
  font-weight: 950;
}

.daily-report-card-head h2 {
  color: #101828;
  margin: 0;
  font-size: 26px;
  font-weight: 950;
}

.daily-report-card-head p {
  color: #475467;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.report-meta-line {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.report-meta-line span {
  color: #475467;
  background: #f5f8fc;
  border: 1px solid #e5edf6;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.report-change-box {
  background: #f7faff;
  border: 1px solid #dfeaf7;
  border-radius: 16px;
  gap: 7px;
  padding: 12px 14px;
  display: grid;
}

.report-change-box strong {
  color: #101828;
  font-size: 14px;
  font-weight: 950;
}

.report-change-box p {
  color: #475467;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.report-result-panel {
  gap: 14px;
  display: grid;
}

.report-result-list, .documents-page {
  gap: 10px;
  display: grid;
}

.documents-heading {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #fffffffa, #f8fbfffa), radial-gradient(circle at 100% 0, #2f8cff14, #0000 240px);
  border-radius: 16px;
  grid-template-columns: minmax(240px, .7fr) minmax(360px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  padding: 12px 14px;
  display: grid;
}

.documents-title {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.documents-title .eyebrow {
  margin: 0;
  font-size: 11px;
}

.documents-title h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.documents-title .page-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.documents-actions, .documents-view-toggle, .documents-breadcrumbs, .document-card-actions, .document-preview-head {
  align-items: center;
  gap: 10px;
  display: flex;
}

.documents-actions .button, .documents-actions .button svg {
  gap: 8px;
}

.documents-search {
  color: #667085;
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  display: grid;
}

.documents-search input {
  background: none;
  border: 0;
  outline: 0;
  min-height: 38px;
  font-weight: 800;
}

.documents-view-toggle {
  background: #f3f6fa;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  padding: 4px;
}

.documents-view-toggle button {
  color: #667085;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 36px;
  display: inline-flex;
}

.documents-view-toggle button.active {
  color: #2f8cff;
  background: #fff;
  box-shadow: 0 8px 18px #0f172a14;
}

.documents-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  display: grid;
}

.documents-sidebar, .documents-main {
  min-width: 0;
  margin-top: 0;
  padding: 12px;
}

.documents-sidebar {
  align-content: start;
  gap: 12px;
  display: grid;
}

.documents-root-button, .documents-folder-list button, .documents-breadcrumbs button {
  color: #344054;
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 14px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font-weight: 900;
  display: flex;
}

.documents-root-button svg, .documents-folder-list svg {
  color: #2f8cff;
}

.documents-root-button.muted {
  color: #667085;
}

.documents-side-title {
  gap: 4px;
  padding: 8px 2px;
  display: grid;
}

.documents-side-title strong {
  color: #101828;
  font-size: 15px;
}

.documents-side-title span, .documents-folder-list p {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.documents-folder-list {
  gap: 8px;
  display: grid;
}

.documents-folder-list button {
  justify-content: flex-start;
  min-width: 0;
}

.documents-folder-list span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.documents-main {
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  gap: 10px;
  display: grid;
}

.documents-breadcrumbs {
  flex-wrap: wrap;
  margin: 0;
}

.documents-breadcrumbs button {
  color: #475467;
  background: #f8fbff;
  border-radius: 999px;
  min-height: 34px;
  padding: 7px 10px;
}

.documents-breadcrumbs button:first-child {
  color: #1769c2;
}

.documents-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  align-items: start;
  gap: 10px;
  width: 100%;
  display: grid;
}

.documents-list {
  gap: 8px;
  display: grid;
}

.document-card {
  background: radial-gradient(circle at 100% 0, #2f8cff14, #0000 35%), linear-gradient(#fff, #fbfdff);
  border: 1px solid #dfe8f3;
  border-radius: 14px;
  align-content: center;
  align-self: start;
  gap: 8px;
  min-width: 0;
  min-height: 82px;
  padding: 10px 12px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
  display: grid;
}

.document-card:hover {
  border-color: #c3d9f7;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px #1e2a3e14;
}

.document-card.list {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.document-card-open {
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0;
  display: grid;
}

.document-icon {
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  display: inline-flex;
}

.document-icon.tone-folder {
  color: #c47b00;
  background: #fff6df;
}

.document-icon.tone-pdf {
  color: #d92d4b;
  background: #fff0f3;
}

.document-icon.tone-excel {
  color: #16825c;
  background: #e8f8ef;
}

.document-icon.tone-word {
  color: #1769c2;
  background: #eaf4ff;
}

.document-icon.tone-image {
  color: #7c5cff;
  background: #f2efff;
}

.document-icon.tone-zip {
  color: #b85c00;
  background: #fff4e8;
}

.document-icon.tone-file {
  color: #475467;
  background: #f1f4f8;
}

.document-info {
  gap: 5px;
  min-width: 0;
  display: grid;
}

.document-info strong {
  color: #101828;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 950;
  overflow: hidden;
}

.document-info small {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.document-card-actions {
  justify-content: end;
}

.document-card-actions .icon-button {
  width: 34px;
  height: 34px;
}

.danger-icon {
  color: #c9304a;
}

.documents-empty {
  color: #667085;
  text-align: center;
  background: #f8fbff;
  border: 1px dashed #cbd8e6;
  border-radius: 18px;
  min-height: 220px;
  padding: 32px;
  font-weight: 900;
}

.document-preview-modal {
  width: 100%;
  max-width: min(1100px, 100vw - 28px);
  height: min(86vh, 860px);
}

.document-preview-head {
  border-bottom: 1px solid #e4edf6;
  justify-content: space-between;
  padding-bottom: 12px;
}

.document-preview-head div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.document-preview-head strong {
  color: #101828;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 950;
  overflow: hidden;
}

.document-preview-head span {
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.document-preview-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.document-zoom-controls {
  background: #f4f7fb;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  align-items: center;
  gap: 6px;
  padding: 5px;
  display: flex;
}

.document-zoom-controls strong {
  color: #101828;
  text-align: center;
  min-width: 48px;
  font-size: 13px;
  font-weight: 950;
}

.document-zoom-controls .icon-button {
  background: #fff;
  min-width: 34px;
  min-height: 34px;
}

.document-preview-actions .button.compact {
  min-height: 34px;
  padding: 0 12px;
}

.document-preview-body {
  background: #f4f7fb;
  border-radius: 16px;
  place-items: center;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.document-preview-stage {
  cursor: default;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 72vh;
  display: flex;
  overflow: hidden;
}

.document-preview-stage.can-pan {
  cursor: grab;
}

.document-preview-stage.dragging {
  cursor: grabbing;
}

.document-preview-pan {
  transform-origin: center;
  will-change: transform;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.document-preview-stage:not(.dragging) .document-preview-pan {
  transition: transform .12s;
}

.document-preview-body iframe, .document-preview-body object {
  pointer-events: none;
  background: #fff;
  border: 0;
  border-radius: 12px;
  width: min(100%, 920px);
  height: 100%;
  box-shadow: 0 18px 45px #1018281f;
}

.document-preview-body img {
  object-fit: contain;
  pointer-events: none;
  border-radius: 12px;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 18px 45px #1018281f;
}

.document-preview-empty {
  color: #475467;
  text-align: center;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  display: grid;
}

.document-preview-empty svg {
  color: #2f8cff;
  font-size: 46px;
}

@media (max-width: 1280px) {
  .documents-heading {
    grid-template-columns: minmax(220px, .8fr) minmax(300px, 1fr) auto;
  }

  .documents-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .documents-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
  }

  .documents-heading .eyebrow, .documents-heading .page-description {
    display: none;
  }

  .documents-heading h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
  }

  .documents-actions {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    display: grid;
  }

  .documents-actions .button {
    border-radius: 12px;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .documents-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
    display: grid;
  }

  .documents-search {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
  }

  .documents-search input {
    font-size: 15px;
  }

  .documents-view-toggle {
    flex: none;
    justify-content: flex-end;
  }

  .documents-view-toggle button {
    width: 38px;
    height: 36px;
  }

  .documents-layout {
    grid-template-columns: 1fr;
  }

  .documents-sidebar {
    padding: 12px;
  }

  .documents-folder-list {
    margin: 0 -12px;
    padding: 0 12px 4px;
    display: flex;
    overflow-x: auto;
  }

  .documents-folder-list button {
    flex: none;
    max-width: 240px;
  }

  .documents-main {
    padding: 12px;
  }

  .documents-breadcrumbs {
    flex-wrap: nowrap;
    margin: 0 -12px;
    padding: 0 12px 4px;
    overflow-x: auto;
  }

  .documents-breadcrumbs button {
    flex: none;
  }

  .documents-grid, .documents-list, .document-card, .document-card.list {
    grid-template-columns: 1fr;
  }

  .document-card-actions {
    grid-template-columns: 1fr auto auto;
    display: grid;
  }

  .document-card-actions .button {
    justify-content: center;
  }

  .document-preview-modal {
    max-width: calc(100vw - 18px);
    height: 88vh;
  }

  .document-preview-actions {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .document-zoom-controls {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .document-preview-actions .button {
    justify-content: center;
  }

  .document-preview-stage {
    height: 66vh;
  }

  .document-preview-body object {
    width: 100%;
  }
}

.daily-report-sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.daily-report-sections section, .daily-empty-state {
  background: #fff;
  border: 1px solid #e4edf6;
  border-radius: 16px;
  gap: 8px;
  min-height: 110px;
  padding: 14px;
  display: grid;
}

.daily-report-sections section.wide {
  grid-column: 1 / -1;
}

.daily-report-sections span {
  color: #1769c2;
  font-size: 13px;
  font-weight: 950;
}

.daily-report-sections p, .daily-empty-state p {
  color: #344054;
  white-space: pre-wrap;
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}

.daily-empty-state {
  text-align: center;
  background: #f7faff;
  place-content: center;
  min-height: 160px;
}

.daily-empty-state strong {
  color: #101828;
  font-size: 20px;
  font-weight: 950;
}

@media (max-width: 900px) {
  .compact-report-heading {
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  .report-heading-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
    display: grid;
  }

  .report-heading-controls label {
    min-width: 0;
  }

  .daily-reader-panel, .report-search-panel {
    padding: 12px;
  }

  .report-search-grid {
    grid-template-columns: 1fr;
  }

  .daily-reader-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .daily-reader-toolbar div {
    grid-area: 1 / 1 / auto / -1;
  }

  .daily-reader-toolbar strong {
    font-size: 20px;
  }

  .daily-date-strip {
    scroll-snap-type: x mandatory;
    margin: 0 -12px;
    padding: 0 12px 4px;
    display: flex;
    overflow-x: auto;
  }

  .daily-date-button {
    scroll-snap-align: start;
    flex: 0 0 112px;
  }

  .daily-report-card {
    border-radius: 18px;
    padding: 16px;
  }

  .daily-report-card-head {
    grid-template-columns: 1fr;
  }

  .daily-report-card-head h2 {
    font-size: 22px;
  }

  .daily-report-card-head .button {
    width: 100%;
  }

  .daily-report-sections {
    grid-template-columns: 1fr;
  }
}

.selected-shift-row {
  border-radius: 12px;
  transition: border-color .14s, box-shadow .14s;
}

.selected-shift-row:hover {
  border-color: #cce0ff;
  box-shadow: 0 10px 24px #2f8cff14;
}

.selected-shift-row span:first-child strong:before {
  background: var(--employee-color, #2f8cff);
  content: "";
  border-radius: 999px;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  display: inline-block;
}

.workforce-calendar-panel .shift-chip:not(.off):not(.half-day) {
  background: var(--employee-soft, #eaf4ff);
  border-left-color: var(--employee-line, #2f8cff);
  color: var(--employee-color, #1769c2);
}

.workforce-calendar-panel .shift-chip:not(.off):not(.half-day) .shift-chip-name, .workforce-calendar-panel .shift-chip:not(.off):not(.half-day) .shift-chip-time, .workforce-calendar-panel .shift-chip:not(.off):not(.half-day) .shift-chip-duration {
  color: var(--employee-color, #1769c2);
}

.bar-shift:not(.off):not(.half-day) {
  background: var(--employee-soft, #eaf4ff);
  border-left-color: var(--employee-line, #2f8cff);
  color: var(--employee-color, #1769c2);
}

.mobile-staff-shift:not(.off):not(.half-day) {
  background: var(--employee-soft, #eaf4ff);
  border-color: color-mix(in srgb, var(--employee-line, #2f8cff) 42%, white);
  border-left: 4px solid var(--employee-line, #2f8cff);
  color: var(--employee-color, #1769c2);
}

.mobile-staff-row {
  border-left-color: var(--employee-line, #2f8cff);
}

.mobile-staff-shift strong, .mobile-staff-empty strong {
  justify-items: center;
  gap: 2px;
  display: grid;
}

.mobile-staff-shift strong em, .mobile-staff-empty strong em {
  color: #667085;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.selected-shift-row, .mobile-shift-card, .mobile-mini-shift {
  box-shadow: inset 4px 0 0 var(--employee-line, transparent);
}

.mobile-shift-card strong, .mobile-mini-shift strong {
  color: var(--employee-color, #101828);
}

.mobile-mini-shift {
  background: var(--employee-soft, #fff);
}

.mobile-week-control {
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 14px;
  grid-template-columns: 40px minmax(0, 1fr) 40px auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  display: grid;
}

.mobile-week-control strong {
  color: #101828;
  text-align: center;
  font-size: 14px;
  font-weight: 950;
}

.mobile-shift-actions {
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  display: grid;
}

.mobile-month-day small {
  color: #475467;
  -webkit-line-clamp: 2;
  white-space: normal;
  -webkit-box-orient: vertical;
  max-width: 100%;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
}

.mobile-calendar-detail {
  gap: 10px;
  display: grid;
}

.mobile-card-list.compact {
  gap: 8px;
}

.mobile-shift-card.compact {
  min-height: 60px;
  padding: 10px 12px;
}

.workforce-calendar-panel .shift-chip.off, .bar-shift.off, .mobile-staff-shift.off, .mobile-shift-card.off, .mobile-mini-shift.off, .selected-shift-row.off {
  color: #b4233c;
  background: repeating-linear-gradient(135deg, #f45b721a 0 8px, #ffffffb8 8px 16px), #fff0f3;
  border-color: #ffc6d0 #ffc6d0 #ffc6d0 #f43f5e;
  box-shadow: inset 5px 0 #f43f5e;
}

.workforce-calendar-panel .shift-chip.half-day, .bar-shift.half-day, .mobile-staff-shift.half-day, .mobile-shift-card.half-day, .mobile-mini-shift.half-day, .selected-shift-row.half-day {
  color: #8a5a00;
  background: repeating-linear-gradient(135deg, #f59f001f 0 8px, #ffffffb8 8px 16px), #fff8e6;
  border-color: #ffd782 #ffd782 #ffd782 #f59f00;
  box-shadow: inset 5px 0 #f59f00;
}

.workforce-calendar-panel .shift-chip.unpaid, .bar-shift.unpaid, .mobile-staff-shift.unpaid, .mobile-shift-card.unpaid, .mobile-mini-shift.unpaid, .selected-shift-row.unpaid {
  color: #b4233c;
  background: #fff0f3;
  border-color: #ffc6d0 #ffc6d0 #ffc6d0 #e11d48;
  box-shadow: inset 5px 0 #e11d48;
}

.workforce-calendar-panel .shift-chip.paid-leave, .bar-shift.paid-leave, .mobile-staff-shift.paid-leave, .mobile-shift-card.paid-leave, .mobile-mini-shift.paid-leave, .selected-shift-row.paid-leave {
  color: #08784c;
  background: #eafaf2;
  border-color: #b8ebd0 #b8ebd0 #b8ebd0 #16a36b;
  box-shadow: inset 5px 0 #16a36b;
}

.workforce-calendar-panel .shift-chip.manual, .bar-shift.manual, .mobile-staff-shift.manual, .mobile-shift-card.manual, .mobile-mini-shift.manual, .selected-shift-row.manual {
  color: #5936c9;
  background: #f2efff;
  border-color: #d8ceff #d8ceff #d8ceff #7c5cff;
  box-shadow: inset 5px 0 #7c5cff;
}

.workforce-calendar-panel .shift-chip.off *, .workforce-calendar-panel .shift-chip.half-day *, .workforce-calendar-panel .shift-chip.unpaid *, .workforce-calendar-panel .shift-chip.paid-leave *, .workforce-calendar-panel .shift-chip.manual *, .bar-shift.off *, .bar-shift.half-day *, .bar-shift.unpaid *, .bar-shift.paid-leave *, .bar-shift.manual *, .mobile-staff-shift.off *, .mobile-staff-shift.half-day *, .mobile-staff-shift.unpaid *, .mobile-staff-shift.paid-leave *, .mobile-staff-shift.manual *, .mobile-shift-card.off *, .mobile-shift-card.half-day *, .mobile-shift-card.unpaid *, .mobile-shift-card.paid-leave *, .mobile-shift-card.manual *, .mobile-mini-shift.off *, .mobile-mini-shift.half-day *, .mobile-mini-shift.unpaid *, .mobile-mini-shift.paid-leave *, .mobile-mini-shift.manual *, .selected-shift-row.off *, .selected-shift-row.half-day *, .selected-shift-row.unpaid *, .selected-shift-row.paid-leave *, .selected-shift-row.manual * {
  color: inherit !important;
}

.repeat-panel, .half-day-toggle, .summary-line {
  border-radius: 14px;
}

.weekday-toggle {
  border-radius: 10px;
}

.weekday-toggle.active {
  background: linear-gradient(135deg, #2f8cff, #19b7a4);
}

@media (max-width: 900px) {
  .layout, .layout.nav-collapsed {
    grid-template-columns: 1fr;
  }

  body {
    background: var(--surface);
  }

  .sidebar {
    display: none;
  }

  .main {
    min-width: 0;
    padding: 16px 14px 86px;
    overflow-x: hidden;
  }

  .topbar {
    background: var(--surface);
    border-bottom: 0;
    flex-direction: row;
    align-items: center;
    margin: -16px -14px 14px;
    padding: 14px;
  }

  .topbar .topline {
    white-space: nowrap;
  }

  .topbar strong {
    font-size: 15px;
  }

  .top-actions {
    display: none;
  }

  .mobile-menu-button {
    border: 1px solid var(--line);
    color: var(--foreground);
    cursor: pointer;
    background: #fff;
    border-radius: 999px;
    justify-content: center;
    min-width: 58px;
    padding: 9px 12px;
    font-weight: 800;
    display: inline-flex;
    box-shadow: 0 8px 20px #24283214;
  }

  .mobile-menu-popover {
    border: 1px solid var(--line);
    background: var(--surface);
    z-index: 50;
    border-radius: 24px 24px 0 0;
    gap: 16px;
    width: 100%;
    padding: 18px;
    display: grid;
    position: fixed;
    inset: auto 0 0;
    box-shadow: 0 -18px 50px #0f172a29;
  }

  .mobile-menu-head {
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .mobile-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    display: grid;
  }

  .mobile-menu-grid a {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--foreground);
    text-align: left;
    border-radius: 16px;
    gap: 8px;
    min-height: 74px;
    padding: 12px;
    font-weight: 800;
    text-decoration: none;
    display: grid;
    box-shadow: 0 8px 20px #2428320a;
  }

  .mobile-menu-grid a.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: #b7d7ff;
  }

  .mobile-menu-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    display: grid;
  }

  .mobile-bottom-nav {
    border-top: 1px solid var(--line);
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    z-index: 30;
    background: #fffffff5;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    display: grid;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .mobile-bottom-nav a, .mobile-bottom-nav button {
    color: var(--muted);
    cursor: pointer;
    text-align: center;
    background: none;
    border: 0;
    border-radius: 8px;
    place-items: center;
    gap: 3px;
    min-height: 34px;
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    display: grid;
  }

  .mobile-bottom-icon {
    background: var(--tone-bg);
    color: var(--tone);
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    display: inline-flex;
  }

  .mobile-bottom-icon svg {
    width: 13px;
    height: 13px;
  }

  .mobile-bottom-nav a.active, .mobile-bottom-nav button.active {
    color: var(--foreground);
    background: #f3f8ff;
  }

  .grid, .settings-grid {
    grid-template-columns: 1fr;
  }

  .page-heading {
    align-items: stretch;
    display: grid;
  }

  .list-heading {
    gap: 12px;
  }

  .page-description {
    font-size: 14px;
  }

  .page-actions, .list-filter-bar, .list-summary-row, .list-search-row, .toolbar-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
    display: grid;
  }

  .page-actions {
    grid-template-columns: 1fr 1fr;
  }

  .page-actions .button.primary {
    grid-column: 1 / -1;
  }

  .item-count {
    gap: 4px;
    display: grid;
  }

  .material-list-panel {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-left: -14px;
    margin-right: -14px;
    padding: 18px 14px;
  }

  .payroll-filters, .dashboard-filters, .dashboard-panels, .materials-filters, .materials-layout, .material-actions, .payroll-standard-grid, .payroll-metrics, .payroll-costs, .metric-strip, .materials-search {
    grid-template-columns: 1fr;
  }

  .material-table-head {
    display: none;
  }

  .material-table {
    overflow: visible;
  }

  .material-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    padding: 14px 0;
  }

  .table-check {
    display: none;
  }

  .material-name-cell {
    gap: 10px;
  }

  .material-actions {
    gap: 8px;
  }

  .action-tile {
    min-height: 68px;
    padding: 14px;
  }

  .action-result {
    display: block;
  }

  .modal-backdrop {
    align-items: end;
    padding: 14px;
  }

  .modal-panel, .modal-panel.wide {
    border-radius: 8px 8px 0 0;
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 16px;
    overflow: auto;
  }

  .modal-form, .time-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .modal-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .payroll-row-main {
    align-items: stretch;
    display: grid;
  }

  .payroll-row-main > strong {
    font-size: 24px;
  }

  h1 {
    font-size: 23px;
  }

  .panel {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    margin-left: -14px;
    margin-right: -14px;
    padding: 18px 14px;
  }

  .mobile-workforce-panel {
    gap: 12px;
    display: grid;
  }

  .workforce-hero, .workforce-stat-grid, .workforce-editor-backdrop {
    display: none;
  }

  .reservation-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
  }

  .reservation-hero-actions {
    grid-template-columns: 1fr;
  }

  .reservation-calendar-panel .calendar-grid {
    min-width: 760px;
    display: grid;
  }

  .reservation-calendar-panel {
    overflow-x: auto;
  }

  .reservation-editor {
    box-sizing: border-box;
    border-radius: 18px 18px 0 0;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 28px);
    margin-left: 0;
    margin-right: 0;
    padding: 16px;
    top: auto;
    bottom: 0;
    left: 50%;
    overflow: auto;
    transform: translateX(-50%);
  }

  .reservation-detail-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .reservation-status {
    grid-column: 2;
    justify-self: start;
  }

  .mobile-store-bar {
    grid-template-columns: 1fr 145px;
    gap: 10px;
    display: grid;
  }

  .mobile-shift-hero {
    color: #fff;
    background: #173f32;
    border-radius: 8px;
    justify-content: space-between;
    align-items: center;
    min-height: 86px;
    padding: 18px;
    display: flex;
  }

  .mobile-shift-actions {
    grid-template-columns: 1fr;
  }

  .mobile-shift-hero span {
    color: #cfe5d8;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 800;
    display: block;
  }

  .mobile-shift-hero strong {
    font-size: 28px;
  }

  .mobile-shift-hero .button {
    color: #173f32;
    background: #fff;
    border-color: #fff;
    min-width: 104px;
    min-height: 42px;
  }

  .mobile-shift-hero .button.ghost {
    color: #fff;
    background: #ffffff24;
    border-color: #ffffff6b;
  }

  .mobile-card-list, .mobile-week-list {
    gap: 10px;
    display: grid;
  }

  .mobile-week-control {
    z-index: 4;
    grid-template-columns: 38px minmax(0, 1fr) 38px 58px;
    position: sticky;
    top: 6px;
  }

  .mobile-week-control .button {
    min-height: 38px;
    padding: 0 10px;
  }

  .mobile-date-control {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 10px;
    display: grid;
  }

  .mobile-section-heading, .mobile-selected-date {
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .mobile-selected-date {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted);
    border-radius: 8px;
    padding: 12px;
  }

  .mobile-selected-date strong {
    color: var(--foreground);
  }

  .mobile-empty {
    border: 1px dashed var(--line);
    color: var(--muted);
    text-align: center;
    border-radius: 8px;
    margin: 0;
    padding: 16px;
  }

  .mobile-shift-card, .mobile-mini-shift, .mobile-day-title {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--foreground);
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
  }

  .mobile-shift-card {
    text-align: left;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    padding: 13px;
    display: flex;
  }

  .mobile-shift-card span {
    gap: 3px;
    display: grid;
  }

  .mobile-shift-card span:last-child {
    text-align: right;
  }

  .mobile-shift-card small, .mobile-mini-shift strong, .mobile-day-title span {
    color: var(--muted);
  }

  .mobile-day-card {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    border-radius: 8px;
    gap: 8px;
    padding: 10px;
    display: grid;
  }

  .mobile-day-title {
    text-align: left;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    padding: 0 2px;
    display: flex;
  }

  .mobile-mini-shift {
    text-align: left;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    padding: 9px 10px;
    display: flex;
  }

  .mobile-mini-shift strong {
    color: var(--employee-color, #344054);
  }

  .mobile-month-day {
    min-height: 74px;
    padding: 7px 4px;
  }

  .mobile-month-day span {
    margin-top: 2px;
  }

  .mobile-month-day small {
    display: block;
  }

  .workforce-controls {
    margin-top: 0;
    margin-bottom: 12px;
    display: none;
  }

  .workforce-controls.is-open {
    display: block;
  }

  .workforce-controls .panel-title p, .workforce-calendar-panel .panel-title p, .workforce-summary .panel-title p {
    display: none;
  }

  .workforce-form {
    grid-template-columns: 1fr;
  }

  .workforce-form .summary-line, .workforce-form .notice, .workforce-form .time-grid, .workforce-form .repeat-panel, .workforce-form .half-day-toggle, .workforce-form label:last-of-type {
    grid-column: auto;
  }

  .workforce-controls.is-open {
    box-shadow: none;
    width: auto;
    max-height: none;
    position: static;
    top: auto;
    left: auto;
    overflow: visible;
    transform: none;
  }

  .editor-close {
    display: inline-flex;
  }

  .weekday-toggle-grid {
    grid-template-columns: repeat(7, minmax(34px, 1fr));
  }

  .calendar-filter-row {
    grid-template-columns: 1fr;
  }

  .workforce-calendar-panel, .workforce-summary {
    display: none;
  }

  .workforce-summary-modal .user-list {
    gap: 10px;
  }

  .mobile-material-cards, .mobile-reservation-panel {
    gap: 12px;
    display: grid;
  }

  .material-table {
    display: none;
  }

  .mobile-material-card {
    border: 1px solid var(--line);
    background: linear-gradient(#fff, #fbfdff);
    border-radius: 16px;
    gap: 12px;
    padding: 14px;
    display: grid;
    box-shadow: 0 10px 26px #1e2a3e0d;
  }

  .mobile-material-card.low-stock {
    border-color: #ffd782;
    box-shadow: inset 4px 0 #f59f00, 0 10px 26px #1e2a3e0d;
  }

  .mobile-material-top {
    grid-template-columns: 26px auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    display: grid;
  }

  .mobile-material-check input {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;
  }

  .mobile-material-top .material-thumb {
    width: 44px;
    height: 44px;
  }

  .mobile-material-top strong {
    color: #101828;
    font-size: 17px;
    display: block;
  }

  .mobile-material-top span, .mobile-material-footer span {
    color: #526071;
    font-weight: 750;
  }

  .mobile-material-top em {
    color: #9a6700;
    background: #fff6df;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
  }

  .mobile-material-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    display: grid;
  }

  .mobile-material-meta span {
    color: #1d2735;
    background: #f5f8fc;
    border: 1px solid #edf1f6;
    border-radius: 12px;
    gap: 3px;
    min-height: 58px;
    padding: 9px 10px;
    font-weight: 900;
    display: grid;
  }

  .mobile-material-meta small {
    color: #667085;
    font-size: 11px;
    font-weight: 850;
  }

  .mobile-material-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    display: grid;
  }

  .reservation-hero {
    gap: 10px;
    padding: 12px;
  }

  .reservation-hero .topline, .reservation-hero p:last-child {
    display: none;
  }

  .reservation-hero h1 {
    margin: 0;
    font-size: 24px;
  }

  .reservations-page .workforce-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reservation-calendar-panel {
    display: none;
    overflow: visible;
  }

  .reservation-calendar-panel.mobile-active {
    display: block;
  }

  .reservation-calendar-panel .panel-title {
    gap: 10px;
    display: grid;
  }

  .reservation-calendar-panel .panel-title p, .reservation-calendar-panel .eyebrow {
    display: none;
  }

  .reservation-calendar-panel .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
    display: grid;
  }

  .reservation-calendar-panel .calendar-day {
    min-height: 74px;
    padding: 5px;
  }

  .reservation-calendar-panel .shift-chip-list {
    gap: 3px;
  }

  .reservation-calendar-panel .reservation-chip {
    display: none;
  }

  .reservation-calendar-panel .calendar-date {
    border-radius: 10px;
    align-items: start;
    gap: 2px;
    width: 100%;
    min-height: 52px;
    padding: 5px;
    font-size: 13px;
    display: grid;
  }

  .reservation-calendar-panel .calendar-date span {
    justify-self: end;
    font-size: 11px;
  }

  .reservation-detail-row {
    min-height: 58px;
  }

  .sales-row, .report-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sales-row span:last-child {
    text-align: left;
  }

  .material-list-panel .toolbar-actions {
    grid-template-columns: minmax(120px, 1fr) 42px auto 42px;
    align-items: center;
    gap: 8px;
    display: grid;
  }

  .material-list-panel .toolbar-actions > .button[disabled] {
    display: none;
  }

  .material-list-panel .toolbar-actions select {
    width: 100%;
    min-width: 0;
  }

  .material-list-panel .toolbar-actions .icon-button {
    width: 42px;
    min-height: 42px;
  }

  .material-list-panel .page-indicator {
    place-self: center;
    padding: 0;
  }

  .workforce-editor-backdrop {
    cursor: pointer;
    z-index: 80;
    background: #0f172a6b;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  .workforce-controls.is-open {
    max-height: calc(100vh - 28px);
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    z-index: 90;
    border-radius: 20px 20px 0 0;
    width: 100%;
    margin: 0;
    display: block;
    position: fixed;
    inset: auto 0 0;
    overflow: auto;
    transform: none;
    box-shadow: 0 -18px 60px #0f172a38;
  }

  .workforce-controls.is-open .panel-title {
    align-items: start;
    gap: 4px;
    margin-bottom: 12px;
    display: grid;
  }

  .workforce-controls.is-open .panel-title h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
  }

  .workforce-controls.is-open .panel-title p {
    color: #526071;
    font-size: 12px;
    line-height: 1.4;
    display: block;
  }

  .store-row, .user-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/*# sourceMappingURL=apps_web_src_app_globals_1wvyn-h.css.map*/