:root {
  --role-accent: #2f6b57;
  --role-soft: #e8f1ec;
  --role-ink: #19211e;
  --role-muted: #69726d;
  --role-line: #dfe4df;
  --role-paper: #f3f2ed;
  --role-content-gutter: 32px;
  --role-section-gap: 20px;
}

[hidden] {
  display: none !important;
}

.role-aware-shell .fgl-mobile-quick-nav {
  display: none !important;
}

body.role-aware-shell *,
body.role-aware-shell *::before,
body.role-aware-shell *::after {
  box-sizing: border-box;
}

body.role-aware-shell {
  --sidebar-width: 244px;
  padding-left: var(--sidebar-width);
  background: var(--role-paper);
}

body.role-aware-shell.dashboard-shell .sidebar {
  display: flex;
}

body.role-aware-shell.role-contained-shell {
  padding-left: 0;
}

body.role-aware-shell.role-contained-shell > .dashboard-shell {
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

body.role-aware-shell.role-contained-shell > .dashboard-shell > .sidebar {
  position: sticky;
  display: grid;
  width: auto;
}

body.role-aware-shell .sidebar {
  width: var(--sidebar-width);
  padding: 22px 15px 15px;
  gap: 16px;
  background: linear-gradient(180deg, #17201d 0%, #111a17 100%);
}

body.role-aware-shell .sidebar::after,
body.role-aware-shell .sidebar-scene {
  display: none;
}

body.role-aware-shell .sidebar-brand {
  padding: 1px 9px 17px;
}

body.role-aware-shell .sidebar-brand-mark {
  margin-bottom: 9px;
}

body.role-aware-shell .sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.role-aware-shell .sidebar-link,
body.role-aware-shell .role-nav-button {
  min-height: 42px;
  width: 100%;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  color: #b6c0bb;
  font: 650 13px/1.2 var(--font-body, Inter, sans-serif);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body.role-aware-shell .sidebar-link:hover,
body.role-aware-shell .role-nav-button:hover {
  border: 0;
  background: rgba(255,255,255,.055);
  color: #fff;
}

body.role-aware-shell .sidebar-link.active {
  border: 0;
  background: rgba(255,255,255,.085);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--role-accent);
}

body.role-aware-shell .sidebar-icon {
  width: 21px;
  color: inherit;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

body.role-aware-shell .role-department-button {
  margin-top: 6px;
  color: #f2eee8;
}

.role-department-button .sidebar-icon {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--role-accent);
  color: #fff;
  font-size: 9px !important;
}

.role-nav-chevron {
  margin-left: auto;
  color: #78877f;
}

.role-subnav {
  margin: 0 0 7px 21px;
  padding: 3px 0 3px 17px;
  border-left: 1px solid #34423b;
  display: grid;
  gap: 1px;
}

.role-subnav[hidden] { display: none; }

.role-subnav a {
  padding: 7px 8px;
  border: 0;
  border-radius: 5px;
  color: #909e97;
  font-size: 12px;
  line-height: 1.25;
}

.role-subnav a:hover,
.role-subnav a.active {
  border: 0;
  background: rgba(255,255,255,.05);
  color: #fff;
}

.role-nav-badge {
  min-width: 20px;
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 99px;
  background: #2c3833;
  color: #d8dfdb;
  font-size: 10px;
  text-align: center;
}

body.role-aware-shell .sidebar-profile {
  margin-top: auto;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

body.role-aware-shell .sidebar-avatar {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--role-accent);
  color: #fff;
  font: 800 10px/1 var(--font-body, Inter, sans-serif);
}

body.role-aware-shell .sidebar-profile-copy strong { font-size: 12px; }
body.role-aware-shell .sidebar-profile-copy span { font-size: 10px; }

body.role-aware-shell .topbar {
  background: linear-gradient(180deg, #17242b, #101a20) !important;
  border-bottom: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: none;
}

body.role-aware-shell.dashboard-shell .topbar-inner,
body.role-aware-shell .topbar-inner {
  min-height: 64px;
  max-width: 1320px;
  padding: 0 var(--role-content-gutter);
  justify-content: space-between;
}

body.role-aware-shell .masthead-title {
  color: #f6f3ec !important;
  -webkit-text-fill-color: #f6f3ec !important;
  font-size: 18px;
}

body.role-aware-shell .masthead-subtitle {
  margin-top: 2px;
  color: #cbd5df !important;
  -webkit-text-fill-color: #cbd5df !important;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 11px;
  font-style: normal;
}

body.role-aware-shell .topbar .utility-pill,
body.role-aware-shell .topbar .utility-pill strong,
body.role-aware-shell .topbar .utility-pill span,
body.role-aware-shell .topbar .topbar-meta {
  color: #dce4e9 !important;
  -webkit-text-fill-color: #dce4e9 !important;
  opacity: 1 !important;
}

.role-working-as {
  position: relative;
  z-index: 60;
  margin-left: auto;
  color: #fff;
  font-family: var(--font-body, Inter, sans-serif);
}

.role-working-as-chip,
.role-working-as-trigger {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  gap: 2px 7px;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-align: left;
}

.role-working-as-trigger {
  grid-template-columns: auto auto 14px;
  cursor: pointer;
}

.role-working-as-chip span,
.role-working-as-trigger span {
  color: #b9c5cd;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.role-working-as-chip strong,
.role-working-as-trigger strong { font-size: 11px; line-height: 1.2; }
.role-working-as-trigger i { grid-row: 1 / 3; grid-column: 3; align-self: center; color: #ccd5da; font-style: normal; }
.role-working-as-trigger:hover,
.role-working-as-trigger:focus-visible { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); outline: none; }

.role-membership-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10050;
  width: min(310px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid #dce2de;
  border-radius: 12px;
  background: #fff;
  color: var(--role-ink);
  box-shadow: 0 20px 55px rgba(10,20,16,.26);
}

.role-membership-menu-head { padding: 7px 8px 9px; display: grid; gap: 2px; }
.role-membership-menu-head span { color: var(--role-muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.role-membership-menu-head strong { font-size: 12px; }
.role-membership-menu > button {
  width: 100%;
  min-height: 54px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--role-ink);
  text-align: left;
}
.role-membership-menu > button:hover,
.role-membership-menu > button:focus-visible,
.role-membership-menu > button.active { background: var(--role-soft); outline: none; }
.role-membership-menu > button > span:not(.role-membership-mark) { display: grid; min-width: 0; }
.role-membership-menu > button strong { font-size: 11px; }
.role-membership-menu > button small { color: var(--role-muted); font-size: 9px; overflow-wrap: anywhere; }
.role-membership-menu > button em { color: var(--role-accent); font-size: 9px; font-style: normal; font-weight: 800; }
.role-membership-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--role-soft); color: var(--role-accent); font-size: 11px; font-weight: 900; }
.role-membership-menu > p { margin: 7px 8px 4px; color: var(--role-muted); font-size: 9px; line-height: 1.4; }

.role-save-state {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #e1e5e1;
  border-radius: 99px;
  background: #f7f8f6;
  color: #66706b;
  font-size: 10px;
  font-weight: 700;
}

body.role-aware-shell .topbar .role-save-state {
  color: #35423d !important;
  -webkit-text-fill-color: #35423d !important;
}

.role-save-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f896b;
  content: "";
}

.role-save-state[data-state="saving"]::before { background: #c18b39; animation: rolePulse 1s infinite; }
.role-save-state[data-state="error"]::before,
.role-save-state[data-state="offline"]::before { background: #ad5039; }

@keyframes rolePulse { 50% { opacity: .35; } }

.role-today {
  max-width: 1260px;
  margin: 0 auto;
  padding: 32px var(--role-content-gutter) 82px;
}

.role-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.role-kicker {
  display: block;
  color: var(--role-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.role-intro h1,
.role-page-heading h1 {
  margin: 6px 0 7px;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(33px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.role-intro p,
.role-page-heading p {
  margin: 0;
  color: var(--role-muted);
  font-size: 14px;
  line-height: 1.55;
}

.role-shift-chip {
  min-width: 192px;
  padding: 10px 13px;
  border: 1px solid var(--role-line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}

.role-shift-chip > i {
  width: 12px;
  height: 12px;
  border: 4px solid var(--role-soft);
  border-radius: 50%;
  background: var(--role-accent);
}

.role-shift-chip div { display: grid; }
.role-shift-chip strong { font-size: 12px; }
.role-shift-chip span { color: #747d78; font-size: 11px; }

.role-panel,
.role-card {
  border: 1px solid var(--role-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(31,45,38,.04);
}

.role-panel { padding: 22px; }

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

.role-panel-heading > :first-child,
.role-room-copy,
.role-work-copy,
.role-feed-card header > :first-child,
.role-manager-attention-item span,
.role-manager-activity > div {
  min-width: 0;
}

.role-panel-heading h2,
.role-panel-heading h3 {
  margin: 3px 0 0;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
}

.role-panel-heading h2 { font-size: 26px; }
.role-panel-heading h3 { font-size: 20px; }

.role-link,
.role-ghost-button {
  border: 0;
  background: transparent;
  color: var(--role-accent);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.role-primary-button,
.role-secondary-button {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.role-primary-button { border: 1px solid var(--role-accent); background: var(--role-accent); color: #fff; }
.role-secondary-button { border: 1px solid #d7ddd8; background: #fff; color: #4f5954; }
.role-primary-button:disabled { border-color: #e4e8e5; background: #e4e8e5; color: #7f8983; cursor: default; }

.role-loading,
.role-empty {
  padding: 25px;
  border: 1px dashed #ccd4ce;
  border-radius: 9px;
  background: #fafbf9;
  color: #6e7872;
  font-size: 12px;
  text-align: center;
}

.role-grid-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .72fr); gap: var(--role-section-gap); }
.role-rail { display: grid; align-content: start; gap: 14px; }

.role-room-row {
  min-height: 86px;
  border-top: 1px solid #e8ebe8;
  display: grid;
  grid-template-columns: 62px minmax(130px, 1fr) auto auto;
  align-items: center;
  gap: 13px;
}

.role-room-row:first-child { border-top: 0; }
.role-room-number { display: grid; }
.role-room-number small { color: #818b85; font-size: 10px; letter-spacing: .1em; }
.role-room-number strong { font-family: var(--font-display, Georgia, serif); font-size: 25px; font-weight: 500; }
.role-room-copy { display: grid; }
.role-room-copy strong,
.role-room-copy span,
.role-work-copy strong,
.role-work-copy span {
  overflow-wrap: anywhere;
}
.role-room-copy strong { font-size: 12px; }
.role-room-copy span { color: #747e78; font-size: 11px; line-height: 1.35; }

.role-status {
  padding: 5px 9px;
  border-radius: 99px;
  background: #f1f3f0;
  color: #68716c;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.role-status.urgent { background: #faeadf; color: #a55434; }
.role-status.done { background: #e5f0e9; color: #39735d; }
.role-status.working { background: #faf0df; color: #966426; }

.role-progress-card {
  min-height: 127px;
  padding: 19px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--role-accent);
  color: #fff;
}

.role-progress-ring {
  --progress: 0deg;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#fff var(--progress), rgba(255,255,255,.19) 0);
  position: relative;
}

.role-progress-ring::before { position: absolute; inset: 8px; border-radius: 50%; background: var(--role-accent); content: ""; }
.role-progress-ring strong { position: relative; font-family: var(--font-display, Georgia, serif); font-size: 24px; font-weight: 500; }
.role-progress-card .role-kicker { color: rgba(255,255,255,.68); }
.role-progress-card h3 { margin: 4px 0 2px; color: #fff; font-family: var(--font-display, Georgia, serif); font-size: 20px; font-weight: 500; }
.role-progress-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.4; }

.role-dark-card { padding: 19px; border-radius: 12px; background: #24302b; color: #fff; }
.role-dark-card h3 { margin: 6px 0; color: #fff; font-family: var(--font-display, Georgia, serif); font-size: 21px; font-weight: 500; }
.role-dark-card p { margin: 0; color: #c0cac5; font-size: 11px; line-height: 1.45; }

.role-checklist-focus { padding: 24px; }
.role-checklist-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.role-checklist-head h2 { margin: 12px 0 3px; font-family: var(--font-display, Georgia, serif); font-size: 30px; font-weight: 500; }
.role-checklist-head p { margin: 0; color: var(--role-muted); font-size: 12px; }
.role-check-count { color: var(--role-accent); font-family: var(--font-display, Georgia, serif); font-size: 30px; white-space: nowrap; }
.role-check-count small { color: #838c87; font-family: var(--font-body, Inter, sans-serif); font-size: 10px; }
.role-progress-line { height: 6px; margin: 15px 0 8px; overflow: hidden; border-radius: 99px; background: #e8ebe8; }
.role-progress-line i { height: 100%; display: block; border-radius: inherit; background: var(--role-accent); }
.role-progress-label { color: #6f7973; font-size: 10px; }

.role-check-items { margin: 16px 0; border-top: 1px solid #e8ebe8; }
.role-check-item {
  min-height: 47px;
  border-bottom: 1px solid #e8ebe8;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #27322d;
  font-size: 12px;
  cursor: pointer;
}
.role-check-item input { width: 18px; height: 18px; accent-color: var(--role-accent); }
.role-check-item.checked span { color: #89918c; text-decoration: line-through; }
.role-checklist-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.role-checklist-actions small { color: #707a74; font-size: 10px; line-height: 1.4; }

.role-live-list { display: grid; }
.role-live-row {
  min-height: 61px;
  border-top: 1px solid #e8ebe8;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}
.role-live-row:first-child { border-top: 0; }
.role-live-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--role-soft); color: var(--role-accent); font-size: 10px; }
.role-live-row div { display: grid; }
.role-live-row strong { font-size: 11px; }
.role-live-row span { color: #717b75; font-size: 10px; }

.role-work-order {
  min-height: 105px;
  border-top: 1px solid #e7eae7;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}
.role-work-order:first-of-type { border-top: 0; }
.role-work-number { width: 38px; height: 38px; border-radius: 7px; display: grid; place-items: center; background: #eef0ed; color: #727c76; font-family: var(--font-display, Georgia, serif); }
.role-work-order.urgent .role-work-number { background: #f6e6e1; color: #a64f36; }
.role-work-copy { display: grid; }
.role-work-copy small { color: #a64f36; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.role-work-copy strong { margin: 3px 0; font-family: var(--font-display, Georgia, serif); font-size: 18px; font-weight: 500; }
.role-work-copy span { color: #747e78; font-size: 11px; line-height: 1.35; }

.role-food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--role-section-gap); }
.role-food-card { min-height: 374px; padding: 27px; border-radius: 13px; position: relative; }
.role-food-card h2 { margin: 12px 0 7px; font-family: var(--font-display, Georgia, serif); font-size: clamp(28px, 3vw, 34px); font-weight: 500; line-height: 1.08; overflow-wrap: anywhere; }
.role-food-card > p { min-height: 35px; margin: 0 0 21px; font-size: 12px; line-height: 1.45; }
.role-food-closing { background: #1c2723; color: #fff; }
.role-food-closing h2 { color: #fff; }
.role-food-closing .role-kicker,
.role-food-closing p,
.role-food-closing .role-progress-label { color: #aeb8b3; }
.role-food-closing .role-progress-line { background: rgba(255,255,255,.13); }
.role-food-closing .role-progress-line i { background: #d59b43; }
.role-food-event { border: 1px solid #e4d3b5; background: #f8eedc; }
.role-food-event .role-kicker { color: #9b6b25; }
.role-next-task { margin: 18px 0 19px; padding: 14px 0; border-top: 1px solid rgba(128,128,128,.25); border-bottom: 1px solid rgba(128,128,128,.25); display: grid; }
.role-next-task small { color: #9c7b45; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.role-next-task strong { margin: 5px 0 2px; font-size: 12px; overflow-wrap: anywhere; }
.role-next-task span { color: #7f8a84; font-size: 10px; }
.role-food-card .role-primary-button { width: 100%; }
.role-food-closing .role-primary-button { border-color: #eee6da; background: #eee6da; color: #1c2723; }

.role-handover-preview {
  margin-top: 17px;
  padding: 14px 17px;
  border: 1px solid #ddd9cf;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: #ebe8e0;
}

.role-week-panel { margin-top: 17px; }
.role-week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.role-week-day { min-height: 72px; padding: 9px; border: 1px solid #e2e6e2; border-radius: 8px; display: grid; align-content: start; gap: 3px; background: #fafbf9; }
.role-week-day.today { border-color: var(--role-accent); background: var(--role-soft); }
.role-week-day.cross-department { border-style: dashed; background: #f2eee6; }
.role-week-day.schedule-conflict { border-color: #a54431; background: #fff1ed; color: #762f22; }
.role-week-day span { color: #707a74; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.role-week-day strong { font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.role-week-day small { color: #7e8782; font-size: 10px; }
.role-week-legend { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--role-muted); font-size: 10px; line-height: 1.4; }
.role-week-legend b { margin-right: 3px; color: var(--role-accent); }
.role-handover-preview > i { width: 38px; height: 38px; border-radius: 7px; display: grid; place-items: center; background: #ddd7cb; color: #505a55; font-style: normal; }
.role-handover-preview div { display: grid; }
.role-handover-preview strong { font-size: 11px; }
.role-handover-preview span { color: #737c77; font-size: 10px; line-height: 1.35; }

.role-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px var(--role-content-gutter) 88px;
}
.role-page-heading { margin-bottom: 24px; }
.role-page-grid { display: grid; grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr); gap: var(--role-section-gap); align-items: start; }
.role-form { display: grid; gap: 12px; }
.role-field { display: grid; gap: 5px; }
.role-field label { color: #4d5852; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.role-field input,
.role-field select,
.role-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #d7ddd8;
  border-radius: 7px;
  background: #fff;
  color: var(--role-ink);
  font: 500 12px/1.45 var(--font-body, Inter, sans-serif);
}

.role-field input[readonly],
.role-field select:disabled {
  background: #f0f2ee;
  color: #46514c;
  opacity: 1;
  cursor: default;
}
.role-field textarea { min-height: 100px; resize: vertical; }
.role-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-form-status { min-height: 20px; color: #66716a; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.role-form-status.error { color: #a54732; }
.role-form-status.success { color: #347258; }

.role-feed { display: grid; gap: 10px; }
.role-feed-card { padding: 15px; border: 1px solid var(--role-line); border-radius: 9px; background: #fff; }
.role-feed-card header { display: flex; justify-content: space-between; gap: 12px; }
.role-feed-card h3 { margin: 3px 0 5px; font-family: var(--font-display, Georgia, serif); font-size: 18px; font-weight: 500; }
.role-feed-card p { margin: 0; color: #4e5953; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.role-feed-card footer { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px 11px; color: #707a74; font-size: 10px; }

.role-request-tabs { display: flex; gap: 5px; margin-bottom: 14px; padding: 4px; border-radius: 8px; background: #eceeea; }
.role-request-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #69736d; font-size: 11px; font-weight: 850; }
.role-request-tabs button.active { background: #fff; color: var(--role-ink); box-shadow: 0 2px 7px rgba(30,43,36,.08); }
.role-request-pane[hidden] { display: none; }

.role-profile-backdrop,
.role-membership-backdrop,
.role-checklist-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(12,21,17,.64);
  backdrop-filter: blur(6px);
}
.role-profile-backdrop[hidden],
.role-membership-backdrop[hidden],
.role-checklist-backdrop[hidden] { display: none; }
.role-profile-dialog,
.role-membership-dialog,
.role-checklist-dialog {
  width: min(660px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 24px;
  border-radius: 14px;
  background: #f8f8f5;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.role-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.role-dialog-head h2 { margin: 4px 0; font-family: var(--font-display, Georgia, serif); font-size: 27px; font-weight: 500; }
.role-dialog-head p { margin: 0; color: #6f7973; font-size: 11px; line-height: 1.45; }
.role-dialog-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #d7ddd8; border-radius: 7px; background: #fff; color: #4e5853; font-size: 18px; }
.role-profile-list { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role-profile-option { min-height: 58px; padding: 9px 11px; border: 1px solid #dfe4df; border-radius: 8px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 9px; background: #fff; color: var(--role-ink); text-align: left; }
.role-profile-option i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--role-soft); color: var(--role-accent); font-style: normal; font-size: 9px; font-weight: 850; }
.role-profile-option span { display: grid; font-size: 11px; font-weight: 800; }
.role-profile-option small { color: #737d77; font-size: 10px; font-weight: 500; }
.role-profile-note { margin-top: 15px; padding: 11px 13px; border-left: 3px solid #bd873b; background: #fbf4e8; color: #745b34; font-size: 10px; line-height: 1.45; }
.role-profile-current { grid-column: 1 / -1; min-height: 68px; padding: 11px; border: 1px solid #dfe4df; border-radius: 9px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: #fff; }
.role-profile-current > i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--role-soft); color: var(--role-accent); font-style: normal; font-size: 10px; font-weight: 900; }
.role-profile-current > span { display: grid; min-width: 0; }
.role-profile-current strong { font-size: 12px; }
.role-profile-current small { color: var(--role-muted); font-size: 10px; overflow-wrap: anywhere; }
.role-profile-current em { color: var(--role-accent); font-size: 9px; font-style: normal; font-weight: 850; }
.role-membership-dialog { width: min(500px, 100%); }
.role-membership-dialog form { margin-top: 20px; display: grid; gap: 8px; }
.role-membership-dialog form > label { color: #4d5852; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.role-membership-dialog input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cfd7d1; border-radius: 8px; background: #fff; color: var(--role-ink); font-size: 16px; letter-spacing: .1em; }
.role-membership-privacy { margin: 13px 0 0; color: var(--role-muted); font-size: 10px; line-height: 1.45; }

.role-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 11000;
  max-width: 390px;
  padding: 12px 15px;
  border: 1px solid #294237;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #14231d;
  color: #fff;
  box-shadow: 0 14px 35px rgba(0,0,0,.24);
  font-size: 11px;
}
.role-toast.error { border-color: #6d3328; background: #3d201a; }

.role-mobile-nav { display: none; }
.role-mobile-profile-button { display: none; }

.role-manager-home {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px var(--role-content-gutter) 80px;
}

.role-manager-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
  gap: var(--role-section-gap);
}

.role-manager-inbox h2 { font-size: 30px; }
.role-manager-attention { display: grid; gap: 8px; margin-top: 16px; }
.role-manager-attention-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--role-line);
  border-radius: 8px;
  color: var(--role-ink);
  text-decoration: none;
}
.role-manager-attention-item > i { width: 8px; height: 8px; border-radius: 50%; background: #c28a35; }
.role-manager-attention-item.urgent > i { background: #b2503b; }
.role-manager-attention-item span { display: grid; gap: 3px; }
.role-manager-attention-item strong { font-size: 12px; }
.role-manager-attention-item small { color: var(--role-muted); font-size: 10px; }
.role-manager-attention-item b { color: var(--role-accent); font-size: 10px; }
.role-manager-clear { display: flex; align-items: center; gap: 12px; padding: 22px; border-radius: 8px; background: var(--role-soft); }
.role-manager-clear > i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #477b5e; color: #fff; font-style: normal; }
.role-manager-clear div { display: grid; gap: 4px; }
.role-manager-clear span { color: var(--role-muted); font-size: 10px; }
.role-manager-snapshot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-manager-stat {
  display: flex;
  min-width: 0;
  min-height: 128px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--role-line);
  border-radius: 8px;
  background: #fff;
  color: var(--role-ink);
  text-decoration: none;
}
.role-manager-stat > span { color: var(--role-accent); font-size: 10px; font-weight: 900; letter-spacing: .1em; overflow-wrap: anywhere; }
.role-manager-stat > strong { font-family: var(--font-display, Georgia, serif); font-size: 29px; font-weight: 500; }
.role-manager-stat > strong small { color: var(--role-muted); font: 600 10px/1 var(--font-body, Inter, sans-serif); }
.role-manager-stat > b { color: var(--role-muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.role-manager-activity { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 13px; margin-top: 15px; padding: 16px 18px; border: 1px solid #d9ddd9; border-radius: 8px; background: #f7f6f1; }
.role-manager-activity > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: #e9e4d8; font-style: normal; }
.role-manager-activity > div { display: grid; gap: 3px; }
.role-manager-activity strong { font-size: 11px; }
.role-manager-activity span:not(.role-kicker) { color: var(--role-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.role-manager-tools-disclosure { margin-top: 20px; border: 1px solid var(--role-line); border-radius: 9px; background: #fff; overflow: hidden; }
.role-manager-tools-disclosure > summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 22px; cursor: pointer; list-style: none; }
.role-manager-tools-disclosure > summary::-webkit-details-marker { display: none; }
.role-manager-tools-disclosure > summary span { display: grid; gap: 5px; }
.role-manager-tools-disclosure > summary small { color: var(--role-accent); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.role-manager-tools-disclosure > summary strong { font-family: var(--font-display, Georgia, serif); font-size: 20px; font-weight: 500; }
.role-manager-tools-disclosure > summary b { color: var(--role-accent); font-size: 10px; }
.role-manager-tools-disclosure[open] > summary { border-bottom: 1px solid var(--role-line); }
.role-manager-tools { padding: 20px; }

.role-manager-audit-panel {
  width: 100%;
  margin-bottom: 20px;
}

.role-fnb-manager-audit { margin-bottom: 18px; }
.role-audit-subtitle { max-width: 680px; margin: 6px 0 0; color: var(--role-muted); font-size: 11px; line-height: 1.5; }

.role-audit-metrics {
  margin: 4px 0 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--role-line);
  border-radius: 9px;
  overflow: hidden;
  background: #fafbf9;
}
.role-audit-metrics > div { min-height: 76px; padding: 14px 16px; border-left: 1px solid var(--role-line); display: grid; align-content: center; gap: 3px; }
.role-audit-metrics > div:first-child { border-left: 0; }
.role-audit-metrics strong { font-family: var(--font-display, Georgia, serif); font-size: 27px; font-weight: 500; }
.role-audit-metrics span { color: var(--role-muted); font-size: 10px; font-weight: 750; line-height: 1.3; }

.role-audit-toolbar {
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--role-line);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f6f3;
}
.role-audit-toolbar label { color: #56615b; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.role-audit-toolbar select { min-height: 44px; padding: 7px 34px 7px 10px; border: 1px solid #d4dad5; border-radius: 6px; background: #fff; color: var(--role-ink); font-size: 11px; }
.role-audit-toolbar > span { margin-left: auto; color: var(--role-muted); font-size: 10px; }
.role-audit-ledger { max-height: 630px; border: 1px solid var(--role-line); border-radius: 0 0 9px 9px; overflow: auto; background: #fff; }
.role-audit-row { min-height: 102px; padding: 15px 16px; border-top: 1px solid #e8ebe8; display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 20px; }
.role-audit-row:first-child { border-top: 0; }
.role-audit-row-labels { display: flex; align-items: center; gap: 7px; }
.role-audit-type { color: var(--role-accent); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.role-audit-row h3 { margin: 6px 0 3px; font-family: var(--font-display, Georgia, serif); font-size: 18px; font-weight: 500; }
.role-audit-row p { margin: 0; color: #56615b; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.role-audit-row-meta { min-width: 0; display: grid; justify-items: end; gap: 3px; color: var(--role-muted); text-align: right; }
.role-audit-row-meta strong { max-width: 100%; overflow: visible; color: var(--role-ink); font-size: 11px; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.role-audit-row-meta span { font-size: 10px; overflow-wrap: anywhere; }
.role-audit-row-meta small { max-width: 100%; overflow: visible; font: 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }

.role-fd-audit-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .7fr); gap: 18px; }
.role-audit-section-heading { min-height: 39px; display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.role-audit-section-heading h3 { margin: 0; font-family: var(--font-display, Georgia, serif); font-size: 20px; font-weight: 500; }
.role-audit-section-heading span { max-width: 210px; color: var(--role-muted); font-size: 10px; line-height: 1.4; text-align: right; }
.role-fd-audit-runs { border: 1px solid var(--role-line); border-radius: 9px; overflow: hidden; }
.role-fd-audit-run { border-top: 1px solid var(--role-line); background: #fff; }
.role-fd-audit-run:first-child { border-top: 0; }
.role-fd-audit-run > summary { min-height: 74px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.role-fd-audit-run > summary::-webkit-details-marker { display: none; }
.role-fd-audit-run > summary > div { display: grid; gap: 3px; }
.role-fd-audit-run > summary > div:last-child { justify-items: end; }
.role-fd-audit-run > summary strong { font-size: 12px; }
.role-fd-audit-run > summary small { color: var(--role-muted); font-size: 10px; }
.role-fd-audit-run[open] > summary { background: #f7f8f6; }
.role-fd-audit-detail { padding: 0 14px 14px; border-top: 1px solid #edf0ed; background: #fafbf9; }
.role-fd-audit-detail > p { margin: 12px 0 0; padding: 10px; border-radius: 6px; background: var(--role-soft); color: #405049; font-size: 10px; }
.role-fd-audit-items { display: grid; }
.role-fd-audit-item { min-height: 44px; padding: 7px 0; border-bottom: 1px solid #e6eae6; display: grid; grid-template-columns: 23px minmax(0, 1fr); align-items: center; gap: 8px; }
.role-fd-audit-item > i { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: #e5f0e9; color: #39735d; font-style: normal; font-size: 9px; font-weight: 900; }
.role-fd-audit-item.missed > i { background: #faeadf; color: #a55434; }
.role-fd-audit-item > span { display: grid; gap: 2px; }
.role-fd-audit-item strong { font-size: 11px; }
.role-fd-audit-item small { color: #a55434; font-size: 10px; }
.role-fd-missing-list { max-height: 490px; border: 1px solid var(--role-line); border-radius: 9px; overflow: auto; background: #fff; }
.role-fd-missing-row { min-height: 59px; padding: 10px 12px; border-top: 1px solid #e8ebe8; display: flex; align-items: center; gap: 10px; }
.role-fd-missing-row:first-child { border-top: 0; }
.role-fd-missing-row > div { display: grid; gap: 2px; }
.role-fd-missing-row strong { font-size: 11px; }
.role-fd-missing-row small { color: var(--role-muted); font-size: 10px; }

/* Keep the retained department tools inside the same spacing and sizing system. */
body.role-aware-shell .fb-masthead {
  min-height: 64px;
  padding: 12px var(--role-content-gutter) !important;
}

body.role-aware-shell .fb-masthead .masthead-context,
body.role-aware-shell .fb-masthead .masthead-context span {
  color: #dce4e9 !important;
  -webkit-text-fill-color: #dce4e9 !important;
  opacity: 1 !important;
}

body.role-aware-shell.role-deep-page .dashboard-module,
body.role-aware-shell.role-deep-page .fb-card,
body.role-aware-shell.role-deep-page .lead-board-app,
body.role-aware-shell.role-deep-page .module-title-bar,
body.role-aware-shell.role-deep-page .fb-card-head,
body.role-aware-shell.role-deep-page .module-body {
  min-width: 0;
}

body.role-aware-shell.role-deep-page .module-title-bar,
body.role-aware-shell.role-deep-page .fb-card-head {
  gap: 10px;
}

body.role-aware-shell.role-deep-page .module-title-bar h1,
body.role-aware-shell.role-deep-page .module-title-bar h2,
body.role-aware-shell.role-deep-page .module-title-bar span,
body.role-aware-shell.role-deep-page .fb-card-head h2,
body.role-aware-shell.role-deep-page .fb-card-head span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.role-aware-shell.role-deep-page .btn,
body.role-aware-shell.role-deep-page .button,
body.role-aware-shell.role-deep-page .action-btn,
body.role-aware-shell.role-deep-page .module-bar-button {
  min-height: 40px;
  max-width: 100%;
  padding-block: 8px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.role-aware-shell.role-deep-page input:not([type="checkbox"]):not([type="radio"]),
body.role-aware-shell.role-deep-page select,
body.role-aware-shell.role-deep-page textarea {
  max-width: 100%;
}

body.role-aware-shell.role-deep-page .housekeeping-dashboard .housekeeping-ops-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.role-aware-shell.role-deep-page .housekeeping-dashboard .housekeeping-ops-grid > .ops-main-column {
  display: none !important;
}

body.role-aware-shell.role-deep-page .housekeeping-dashboard .housekeeping-ops-grid > .schedule-module {
  width: 100%;
  min-width: 0;
}

body.role-aware-shell .lead-layout {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body.role-aware-shell .lead-lanes {
  max-width: 100%;
  min-width: 0;
  padding-bottom: 10px;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  scroll-snap-type: inline proximity;
}

body.role-aware-shell .lead-lanes > * {
  min-width: 0;
  scroll-snap-align: start;
}

body.role-aware-shell .tip-results {
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)) !important;
}

body.role-aware-shell .tip-result {
  min-width: 0;
}

body.role-aware-shell .tip-result span,
body.role-aware-shell .tip-result strong {
  overflow-wrap: anywhere;
}

body.role-aware-shell .schedule-module .module-body {
  min-width: 0;
  overflow-x: auto;
}

body.role-aware-shell .schedule-mini-grid {
  grid-template-columns: minmax(92px, 1.2fr) repeat(7, minmax(30px, 1fr));
}

body.role-aware-shell .schedule-mini-team {
  min-width: 0;
  padding-inline: 7px;
  font-size: 10px;
}

body.role-aware-shell.role-deep-page .front-desk-request-module,
body.role-aware-shell.role-deep-page .handoff-reader-module,
body.role-aware-shell.role-deep-page .front-desk-handoff-module {
  display: none !important;
}

.role-manager-signout {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.role-staff-signout {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.role-staff-signout:disabled,
.role-staff-signout-mobile:disabled,
.role-dialog-signout:disabled {
  cursor: wait;
  opacity: .62;
}

.role-manager-signout:disabled,
.role-manager-signout-mobile:disabled { cursor: wait; opacity: .62; }

.role-manager-signout-mobile {
  display: none;
  min-height: 44px;
  margin-left: auto;
  padding: 6px 11px;
  border: 1px solid var(--role-line);
  border-radius: 99px;
  background: #fff;
  color: var(--role-ink);
  font: 750 10px/1 var(--font-body, Inter, sans-serif);
}

.role-staff-signout-mobile {
  display: none;
  min-height: 44px;
  margin-left: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  color: #f7faf8;
  font: 750 10px/1.2 var(--font-body, Inter, sans-serif);
  white-space: normal;
}

.role-dialog-signout {
  width: 100%;
  margin-top: 14px;
}

.role-heading-actions {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.role-work-detail-link {
  margin-top: 5px;
  color: var(--role-accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.role-tools-panel {
  margin-top: var(--role-section-gap);
}

.role-tool-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.role-tool-links .role-secondary-button {
  width: 100%;
}

.role-supporting-copy {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--role-muted);
  font-size: 13px;
  line-height: 1.55;
}

.role-request-receipts {
  margin-top: var(--role-section-gap);
}

.role-receipt-list {
  display: grid;
}

.role-receipt-row {
  min-width: 0;
  min-height: 68px;
  padding: 12px 0;
  border-top: 1px solid #e8ebe8;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.role-receipt-row:first-child {
  border-top: 0;
}

.role-receipt-row > i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--role-soft);
  color: var(--role-accent);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.role-receipt-row > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.role-receipt-row strong {
  font-size: 12px;
}

.role-receipt-row span {
  color: #56615b;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.role-receipt-row small {
  color: var(--role-muted);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.role-audit-directory { margin-top: 18px; }
.role-audit-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.role-audit-directory-grid a {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--role-line);
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: #fafbf9;
  color: var(--role-ink);
  text-decoration: none;
}
.role-audit-directory-grid a:hover,
.role-audit-directory-grid a:focus-visible { border-color: var(--role-accent); background: var(--role-soft); outline: none; }
.role-audit-directory-grid strong { font-size: 11px; }
.role-audit-directory-grid span { color: var(--role-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }

@media (max-width: 1024px) {
  :root {
    --role-content-gutter: 20px;
    --role-section-gap: 16px;
  }
  .role-manager-grid { grid-template-columns: 1fr; }
  .role-fd-audit-grid { grid-template-columns: 1fr; }
  .role-fd-missing-list { max-height: 310px; }
  body.role-aware-shell,
  body.role-aware-shell.dashboard-shell,
  body.role-aware-shell.role-contained-shell { padding-left: 0; }
  body.role-aware-shell .sidebar,
  body.role-aware-shell.dashboard-shell .sidebar { display: none; }
  body.role-aware-shell.role-contained-shell > .dashboard-shell {
    display: block;
    grid-template-columns: minmax(0, 1fr);
  }
  body.role-aware-shell.role-contained-shell > .dashboard-shell > .sidebar {
    display: none;
  }
  body.role-aware-shell .mobile-nav { display: none !important; }
  .role-grid-main,
  .role-page-grid { grid-template-columns: 1fr; }
  .role-food-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root {
    --role-content-gutter: 14px;
    --role-section-gap: 14px;
  }
  .role-manager-home { padding: 24px var(--role-content-gutter) 90px; }
  .role-manager-snapshot { grid-template-columns: 1fr 1fr; }
  .role-manager-stat { min-height: 126px; padding: 14px; }
  .role-manager-attention-item { grid-template-columns: 8px minmax(0, 1fr); }
  .role-manager-attention-item b { display: none; }
  .role-manager-activity { grid-template-columns: 30px 1fr; }
  .role-manager-activity .role-link { grid-column: 2; }
  .role-manager-tools-disclosure > summary { padding: 0 15px; }
  .role-manager-tools { padding: 10px; }
  .role-manager-audit-panel { margin-bottom: 14px; }
  .role-audit-metrics { grid-template-columns: 1fr 1fr 1fr; }
  .role-audit-metrics > div { min-height: 66px; padding: 10px; }
  .role-audit-metrics strong { font-size: 23px; }
  .role-audit-toolbar { align-items: stretch; flex-direction: column; }
  .role-audit-toolbar > span { margin-left: 0; }
  .role-audit-row { grid-template-columns: 1fr; gap: 10px; }
  .role-audit-row-meta { justify-items: start; text-align: left; }
  .role-audit-section-heading { display: grid; }
  .role-audit-section-heading span { max-width: none; text-align: left; }
  .role-audit-directory-grid { grid-template-columns: 1fr; }
  .role-audit-directory-grid a { min-height: 70px; }
  .role-mobile-profile-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 3px 9px 3px 4px;
    border: 1px solid var(--role-line);
    border-radius: 99px;
    background: #fff;
    color: var(--role-ink);
    font: 750 10px/1 var(--font-body, Inter, sans-serif);
  }
  .role-mobile-profile-button span { max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .role-working-as { margin: 0; min-width: 0; }
  .role-working-as-chip,
  .role-working-as-trigger {
    width: auto;
    max-width: 126px;
    min-height: 44px;
    padding: 6px 9px;
    grid-template-columns: minmax(0, 1fr) 12px;
  }
  .role-working-as-chip { grid-template-columns: minmax(0, 1fr); }
  .role-working-as-chip span,
  .role-working-as-trigger span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .role-working-as-chip strong,
  .role-working-as-trigger strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .role-working-as-trigger i { grid-row: 1; grid-column: 2; }
  .role-membership-menu {
    position: fixed;
    top: 70px;
    right: 14px;
    width: min(320px, calc(100vw - 28px));
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .role-manager-signout-mobile,
  .role-staff-signout-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .role-mobile-profile-button i {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--role-accent);
    color: #fff;
    font-style: normal;
    font-size: 9px;
  }
  body.role-aware-shell { padding-bottom: 68px; }
  body.role-aware-shell.dashboard-shell .topbar-inner,
  body.role-aware-shell .topbar-inner {
    min-height: 64px;
    padding: 8px var(--role-content-gutter) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body.role-aware-shell .topbar-inner > .masthead { min-width: 0; }
  body.role-aware-shell .role-mobile-profile-button,
  body.role-aware-shell .role-staff-signout-mobile { margin: 0; }
  body.role-aware-shell .masthead-title { font-size: 15px; }
  body.role-aware-shell .masthead-subtitle { display: none; }
  body.role-aware-shell .utility-pill { display: none; }
  body.role-aware-shell .topbar-meta { display: none !important; }
  .role-save-state { min-height: 40px; max-width: 146px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .role-today,
  .role-page { padding: 23px var(--role-content-gutter) 84px; }
  .role-intro { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .role-intro h1,
  .role-page-heading h1 { font-size: 34px; }
  .role-shift-chip { width: 100%; }
  .role-panel { padding: 17px; }
  .role-panel-heading { flex-wrap: wrap; }
  .role-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .role-panel-heading .role-heading-actions .role-link,
  .role-panel-heading .role-heading-actions .role-primary-button,
  .role-panel-heading .role-heading-actions .role-secondary-button {
    flex: 1 1 150px;
  }
  .role-panel-heading .role-link,
  .role-panel-heading .role-primary-button,
  .role-panel-heading .role-secondary-button { flex: 0 1 auto; }
  .role-panel-heading h2 { font-size: 22px; }
  .role-room-row { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 12px 0; }
  .role-room-row .role-primary-button { grid-column: 2 / -1; width: 100%; }
  .role-food-grid { grid-template-columns: 1fr; }
  .role-food-card { min-height: 340px; padding: 22px; }
  .role-field-row { grid-template-columns: 1fr; }
  .role-profile-list { grid-template-columns: 1fr; }
  .role-profile-backdrop,
  .role-membership-backdrop,
  .role-checklist-backdrop { padding: 12px; }
  .role-profile-dialog,
  .role-membership-dialog,
  .role-checklist-dialog { max-height: 92vh; padding: 18px; }
  .role-handover-preview { grid-template-columns: 34px 1fr; }
  .role-handover-preview .role-link { grid-column: 2; }
  .role-week-strip { grid-template-columns: repeat(7, minmax(68px, 1fr)); overflow-x: auto; padding-bottom: 5px; }
  .role-mobile-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9000;
    min-height: 64px;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid #dce1dd;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 24px rgba(27,39,33,.08);
  }
  .role-mobile-nav a {
    border: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    color: #78817c;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
  }
  .role-mobile-nav a i { font-style: normal; font-size: 14px; }
  .role-mobile-nav a.active { color: var(--role-accent); }

  .role-staff-signout-mobile {
    min-width: 74px;
    max-width: 112px;
    overflow-wrap: anywhere;
  }

  .role-work-order {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px 0;
  }

  .role-work-order > .role-status,
  .role-work-order > .role-primary-button {
    grid-column: 2;
    justify-self: start;
  }

  .role-work-order > .role-primary-button {
    width: 100%;
  }

  .role-tool-links {
    grid-template-columns: minmax(0, 1fr);
  }

  body.role-aware-shell .fb-masthead {
    min-height: 60px;
    padding: 8px var(--role-content-gutter) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.role-aware-shell .fb-masthead > div:first-child { min-width: 0; }
  body.role-aware-shell .fb-masthead .masthead-context { display: none !important; }

  body.role-aware-shell.role-deep-page .front-desk-dashboard,
  body.role-aware-shell.role-deep-page .housekeeping-dashboard,
  body.role-aware-shell.role-deep-page .maintenance-page,
  body.role-aware-shell.role-deep-page .fb-page {
    gap: var(--role-section-gap) !important;
    padding-inline: var(--role-content-gutter) !important;
  }

  body.role-aware-shell .front-desk-dashboard .ops-main-column,
  body.role-aware-shell .housekeeping-dashboard .ops-main-column,
  body.role-aware-shell .maintenance-page .ops-main-column,
  body.role-aware-shell .front-desk-dashboard .ops-panel-grid,
  body.role-aware-shell .housekeeping-dashboard .ops-panel-grid,
  body.role-aware-shell .maintenance-page .ops-panel-grid,
  body.role-aware-shell .maintenance-page .maintenance-ops-grid,
  body.role-aware-shell .fb-page .fb-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--role-section-gap) !important;
  }

  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed {
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed::after {
    display: none !important;
    content: none !important;
  }

  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .module-title-bar,
  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .fb-card-head {
    min-height: 64px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 72px 10px 14px !important;
  }

  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .module-title-bar h1,
  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .module-title-bar h2,
  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .fb-card-head h2 {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }

  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .module-body,
  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .fb-form,
  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .fb-card-body,
  body.role-aware-shell .mobile-collapse-ready.mobile-collapsed > .overview-stat-grid {
    display: none !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  body.role-aware-shell .mobile-collapse-ready:not(.mobile-collapsed),
  body.role-aware-shell .mobile-collapse-ready:not(.mobile-collapsed) > .module-body,
  body.role-aware-shell .mobile-collapse-ready:not(.mobile-collapsed) > .fb-form,
  body.role-aware-shell .mobile-collapse-ready:not(.mobile-collapsed) > .fb-card-body,
  body.role-aware-shell .mobile-collapse-ready:not(.mobile-collapsed) > .overview-stat-grid {
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.role-aware-shell .mobile-section-toggle {
    top: 10px !important;
    right: 10px !important;
    min-width: 52px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    line-height: 1.2 !important;
  }

  body.role-aware-shell.role-deep-page button,
  body.role-aware-shell.role-deep-page .btn,
  body.role-aware-shell.role-deep-page .button,
  body.role-aware-shell.role-deep-page .action-btn,
  body.role-aware-shell.role-deep-page .ghost-btn,
  body.role-aware-shell.role-deep-page .module-bar-button,
  body.role-aware-shell.role-deep-page input:not([type="checkbox"]):not([type="radio"]),
  body.role-aware-shell.role-deep-page select {
    min-height: 44px !important;
    max-width: 100%;
  }

  body.role-aware-shell.role-deep-page textarea {
    min-height: 96px !important;
    max-height: none !important;
  }

  body.role-aware-shell.role-deep-page label,
  body.role-aware-shell.role-deep-page .field-label,
  body.role-aware-shell.role-deep-page .eyebrow,
  body.role-aware-shell.role-deep-page small {
    font-size: max(10px, .7rem) !important;
    line-height: 1.35 !important;
  }

  body.role-aware-shell .schedule-mini-grid {
    min-width: 480px;
  }

  body.role-aware-shell .lead-layout {
    overflow: visible;
  }

  body.role-aware-shell .lead-lanes {
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
    scrollbar-gutter: auto;
  }

  .role-toast { right: 12px; bottom: 77px; left: 12px; max-width: none; }
}

@media (max-width: 440px) {
  .role-manager-snapshot,
  .role-audit-metrics {
    grid-template-columns: 1fr;
  }

  .role-audit-metrics > div {
    border-top: 1px solid var(--role-line);
    border-left: 0;
  }

  .role-audit-metrics > div:first-child {
    border-top: 0;
  }

  .role-checklist-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .role-checklist-actions .role-primary-button,
  .role-checklist-actions .role-secondary-button {
    width: 100%;
  }
}
