/* Open Facility Manager 2.6.0 Preview — Member Experience, Compliance & Automation design system.
   The core palette follows the SLB petrol and purple brand colors. */
:root {
  --ofm-petrol-900: #064f5e;
  --ofm-petrol-800: #00687c;
  --ofm-petrol-700: #007d94;
  --ofm-petrol-500: #54a5b4;
  --ofm-petrol-200: #c0dbd7;
  --ofm-petrol-100: #e8f3f2;
  --ofm-purple-800: #4a438c;
  --ofm-purple-600: #6f68a8;
  --ofm-purple-300: #b8b3d8;
  --ofm-canvas: #f3f6f7;
  --ofm-surface: #ffffff;
  --ofm-surface-muted: #f8fafb;
  --ofm-text: #17272e;
  --ofm-text-muted: #61737c;
  --ofm-border: #dbe4e7;
  --ofm-border-strong: #c6d2d7;
  --ofm-success: #237a43;
  --ofm-warning: #9a6500;
  --ofm-danger: #b33b3b;
  --ofm-info: #2a6e9a;
  --ofm-radius-xs: 6px;
  --ofm-radius-sm: 9px;
  --ofm-radius-md: 14px;
  --ofm-radius-lg: 20px;
  --ofm-shadow-sm: 0 1px 2px rgba(18, 42, 52, 0.04), 0 3px 10px rgba(18, 42, 52, 0.04);
  --ofm-shadow-md: 0 10px 30px rgba(18, 42, 52, 0.08);
  --ofm-shadow-lg: 0 24px 64px rgba(18, 42, 52, 0.16);
  --ofm-space-1: 4px;
  --ofm-space-2: 8px;
  --ofm-space-3: 12px;
  --ofm-space-4: 16px;
  --ofm-space-5: 20px;
  --ofm-space-6: 24px;
  --ofm-space-8: 32px;
  --ofm-space-10: 40px;
  --ofm-space-12: 48px;
  --ofm-topbar-height: 68px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--ofm-canvas);
  color: var(--ofm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ofm-text); line-height: 1.16; letter-spacing: -0.022em; }
h1 { font-size: clamp(2rem, 3vw, 2.75rem); margin: 0; }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h3 { font-size: 1.05rem; }
p { margin-top: 0; }
a { color: var(--ofm-petrol-800); text-underline-offset: 2px; }
a:hover { color: var(--ofm-purple-800); }

:focus-visible {
  outline: 3px solid rgba(0, 125, 148, 0.28);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--ofm-radius-sm);
  background: var(--ofm-text);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.app-shell { min-height: 100vh; }
.app-content { min-width: 0; background: var(--ofm-canvas); }
.app-sidebar {
  background: linear-gradient(180deg, #064f5e 0%, #075d6d 62%, #4a438c 145%);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 8px 0 30px rgba(15, 41, 51, 0.09);
}
.sidebar-brand-row { min-height: 74px; padding: 14px 14px 12px; }
.sidebar-brand { gap: 10px; min-width: 0; }
.sidebar-brand__logo,
.sidebar-brand__mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  color: var(--ofm-purple-800);
  box-shadow: 0 5px 16px rgba(0,0,0,.12);
}
.sidebar-brand__logo img { max-width: 32px; max-height: 32px; object-fit: contain; }
.sidebar-brand__text { min-width: 0; }
.sidebar-brand__text strong { font-size: 14px; letter-spacing: .01em; }
.sidebar-brand__text small { opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-collapse-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  color: white;
}
.sidebar-collapse-button:hover { background: rgba(255,255,255,.14); }
.sidebar-navigation-scroll { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 10px; scrollbar-width: thin; }
.sidebar-command-button {
  width: calc(100% - 24px);
  margin: 6px 12px 14px;
  min-height: 42px;
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  color: white;
  text-align: left;
  cursor: pointer;
}
.sidebar-command-button:hover { background: rgba(255,255,255,.16); }
.sidebar-command-button__symbol { font-size: 19px; text-align: center; }
.sidebar-command-button__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-command-button kbd,
.topbar-search-button kbd {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 5px;
  padding: 2px 5px;
  background: rgba(0,0,0,.12);
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
}
.sidebar-group { margin: 3px 8px 8px; border-radius: 10px; }
.sidebar-group summary { border-radius: 9px; min-height: 34px; color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-group summary:hover { background: rgba(255,255,255,.07); color: white; }
.side-nav { gap: 2px; padding: 4px 0 1px; }
.side-nav__link {
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 9px;
  color: rgba(255,255,255,.85);
}
.side-nav__link:hover { background: rgba(255,255,255,.09); color: white; }
.side-nav__link.is-active,
.side-nav--admin .side-nav__link--admin.is-active {
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(221,244,244,.96));
  color: var(--ofm-petrol-900);
  box-shadow: 0 4px 14px rgba(0,0,0,.10), inset 3px 0 0 var(--ofm-petrol-500);
}
.side-nav__symbol { width: 24px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.sidebar-section-label { padding: 12px 18px 4px; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .11em; }
.sidebar-user {
  gap: 10px;
  min-height: 66px;
  padding: 12px 13px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.08);
}
.sidebar-user__identity { min-width: 0; }
.sidebar-user__identity a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-weight: 750;
}
.sidebar-user__identity a:hover { color: var(--ofm-petrol-100); }
.sidebar-signout { border-radius: 8px; }
.user-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ofm-petrol-700), var(--ofm-purple-800));
  color: white;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.user-avatar--small { width: 34px; height: 34px; }
.sidebar-collapsed .sidebar-command-button { grid-template-columns: 1fr; width: calc(100% - 12px); margin-inline: 6px; }
.sidebar-collapsed .sidebar-command-button__label,
.sidebar-collapsed .sidebar-command-button kbd,
.sidebar-collapsed .sidebar-user .user-avatar { display: none; }

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--ofm-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(198,210,215,.72);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.app-topbar__context { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.app-topbar__section { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-topbar__release { color: var(--ofm-text-muted); font-size: 12px; }
.app-topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar-button,
.topbar-search-button,
.topbar-icon-button,
.topbar-profile-link {
  border: 1px solid var(--ofm-border);
  border-radius: 10px;
  background: var(--ofm-surface);
  color: var(--ofm-text);
  min-height: 40px;
  text-decoration: none;
}
.topbar-button,
.topbar-search-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.topbar-button--primary { border-color: var(--ofm-petrol-700); background: var(--ofm-petrol-700); color: white; }
.topbar-button--primary:hover { background: var(--ofm-petrol-800); color: white; }
.topbar-search-button { min-width: 210px; justify-content: flex-start; color: var(--ofm-text-muted); }
.topbar-search-button kbd { margin-left: auto; border-color: var(--ofm-border-strong); background: var(--ofm-surface-muted); color: var(--ofm-text-muted); }
.topbar-icon-button { position: relative; width: 40px; display: inline-grid; place-items: center; cursor: pointer; }
.topbar-icon-button:hover,
.topbar-search-button:hover,
.topbar-profile-link:hover { border-color: var(--ofm-petrol-500); background: var(--ofm-petrol-100); color: var(--ofm-petrol-900); }
.topbar-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--ofm-danger);
  color: white;
  font-size: 10px;
  font-weight: 800;
}
.topbar-profile-link { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; }
.topbar-profile-link__copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.topbar-profile-link__copy strong { max-width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.topbar-profile-link__copy small { color: var(--ofm-text-muted); font-size: 11px; }
.quick-create-menu { position: relative; }
.quick-create-menu > summary { list-style: none; }
.quick-create-menu > summary::-webkit-details-marker { display: none; }
.quick-create-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 110;
  width: 280px;
  padding: 8px;
  border: 1px solid var(--ofm-border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--ofm-shadow-lg);
}
.quick-create-menu__panel a { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; border-radius: 9px; color: var(--ofm-text); text-decoration: none; }
.quick-create-menu__panel a:hover { background: var(--ofm-petrol-100); }
.quick-create-menu__panel small { color: var(--ofm-text-muted); }

.page-shell {
  width: min(100%, 1540px);
  min-height: calc(100vh - var(--ofm-topbar-height));
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px) clamp(18px, 3.5vw, 52px) 28px;
}
.page-shell--guest { width: min(100%, 1080px); padding-top: 88px; }
.page-heading {
  align-items: flex-start;
  gap: 24px;
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--ofm-border);
}
.page-heading > div:first-child { max-width: 840px; }
.page-heading h1 { margin-bottom: 8px; }
.page-heading p:not(.eyebrow) { max-width: 780px; margin: 0; color: var(--ofm-text-muted); font-size: 1rem; }
.eyebrow {
  margin: 0 0 7px;
  color: var(--ofm-petrol-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.actions { gap: 8px; align-items: center; }

.panel,
.form-subsection,
.form-section {
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-md);
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-sm);
}
.panel { padding: clamp(18px, 2.3vw, 28px); margin-bottom: 22px; }
.panel > :first-child,
.form-subsection > :first-child { margin-top: 0; }
.panel > :last-child,
.form-subsection > :last-child { margin-bottom: 0; }
.form-subsection { margin: 0 0 22px; padding: clamp(18px, 2.2vw, 28px); }
.form-section { margin: 18px 0; padding: 18px; background: var(--ofm-surface-muted); box-shadow: none; }
.form-section legend { padding: 0 8px; font-weight: 800; color: var(--ofm-text); }
.section-heading { align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.section-heading h2,
.section-heading h3 { margin: 0; }
.section-heading p { margin: 5px 0 0; }
.section-heading--compact { margin-bottom: 16px; }
.operations-grid { gap: 22px; }
.operations-grid--compact { gap: 18px; }
.stat-grid { gap: 14px; }
.stat-card,
.summary-card {
  border: 1px solid var(--ofm-border);
  border-radius: 13px;
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-sm);
}
.stat-card { padding: 16px 18px; }
.stat-card strong { font-size: 1.55rem; letter-spacing: -.03em; }

.button,
button,
input[type="submit"] {
  min-height: 40px;
  border-radius: 9px;
  font-weight: 750;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.button:hover,
button:hover,
input[type="submit"]:hover { transform: translateY(-1px); }
.button:active,
button:active,
input[type="submit"]:active { transform: translateY(0); }
.button--secondary { background: white; border-color: var(--ofm-border-strong); color: var(--ofm-text); }
.button--secondary:hover { border-color: var(--ofm-petrol-500); background: var(--ofm-petrol-100); color: var(--ofm-petrol-900); }

label { font-weight: 750; color: #24363e; }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="datetime-local"],
input[type="date"],
input[type="time"],
input[type="url"],
select,
textarea {
  min-height: 42px;
  border: 1px solid var(--ofm-border-strong);
  border-radius: 9px;
  background: white;
  color: var(--ofm-text);
  padding: 9px 11px;
  box-shadow: inset 0 1px 2px rgba(18,42,52,.025);
}
textarea { min-height: 110px; resize: vertical; }
select[multiple] { min-height: 160px; }
input:hover, select:hover, textarea:hover { border-color: #aebfc5; }
input:focus, select:focus, textarea:focus { border-color: var(--ofm-petrol-700); box-shadow: 0 0 0 3px rgba(0,125,148,.12); outline: none; }
.field { gap: 7px; margin-bottom: 16px; }
.field-help,
.field-hint,
.muted { color: var(--ofm-text-muted); }
.field-help,
.field-hint { margin: 0; font-size: 12.5px; line-height: 1.45; }
.form-grid { column-gap: 18px; row-gap: 2px; }
.checkbox-card { border-radius: 11px; border-color: var(--ofm-border); background: var(--ofm-surface-muted); padding: 13px 14px; }
.checkbox-card:has(input:checked) { border-color: var(--ofm-petrol-500); background: var(--ofm-petrol-100); }
.checkbox-card small { color: var(--ofm-text-muted); }
.form-submit-bar {
  position: sticky;
  bottom: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 24px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(198,210,215,.9);
  border-radius: 13px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--ofm-shadow-md);
  backdrop-filter: blur(14px);
}
.form-save-status { margin-right: auto; color: var(--ofm-text-muted); font-size: 12px; }
form.is-dirty .form-save-status { color: var(--ofm-warning); font-weight: 700; }

.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--ofm-border); border-radius: 12px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th { padding: 11px 13px; border-bottom: 1px solid var(--ofm-border); background: var(--ofm-surface-muted); color: var(--ofm-text-muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
td { padding: 13px; border-bottom: 1px solid #e9eef0; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfdfd; }

.status-chip,
.capability-chip,
.health-chip,
.readiness-chip,
.setup-state-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.readiness-chip--ready,
.setup-state-chip--ready,
.status-chip--available { background: #e9f6ee; color: #1d6b3a; border-color: #c9e7d3; }
.readiness-chip--attention,
.setup-state-chip--attention,
.setup-state-chip--invitation_pending,
.status-chip--maintenance { background: #fff6df; color: #825700; border-color: #f0db9e; }
.readiness-chip--draft,
.setup-state-chip--invitation_expired { background: #eef4f6; color: #536871; border-color: #d7e2e6; }
.readiness-chip--blocked,
.setup-state-chip--disabled,
.setup-state-chip--locked,
.status-chip--fault,
.status-chip--offline { background: #fdecec; color: #963535; border-color: #f3c7c7; }

.readiness-panel { overflow: hidden; }
.readiness-panel__summary { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; }
.readiness-score {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ofm-petrol-700) calc(var(--readiness-score) * 1%), #e5edef 0);
  position: relative;
  color: var(--ofm-text);
  font-size: 15px;
  font-weight: 850;
}
.readiness-score::before { content: ""; position: absolute; inset: 6px; border-radius: inherit; background: white; }
.readiness-score span { position: relative; }
.readiness-checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 9px; }
.readiness-checklist li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 9px; padding: 10px 11px; border: 1px solid var(--ofm-border); border-radius: 10px; background: var(--ofm-surface-muted); }
.readiness-checklist__mark { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #e2e9eb; color: var(--ofm-text-muted); font-size: 11px; font-weight: 900; }
.is-complete .readiness-checklist__mark { background: #d9f0e1; color: var(--ofm-success); }
.is-critical:not(.is-complete) .readiness-checklist__mark { background: #f8dddd; color: var(--ofm-danger); }
.readiness-checklist strong { display: block; font-size: 13px; }
.readiness-checklist small { display: block; margin-top: 2px; color: var(--ofm-text-muted); line-height: 1.35; }

.activity-timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.activity-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 12px; width: 1px; background: var(--ofm-border); }
.activity-timeline li { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 10px; align-items: start; padding: 0 0 17px; }
.activity-timeline li:last-child { padding-bottom: 0; }
.activity-timeline__dot { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border: 4px solid white; border-radius: 50%; background: var(--ofm-petrol-200); color: var(--ofm-petrol-900); font-size: 8px; }
.activity-timeline__copy { min-width: 0; }
.activity-timeline__copy strong { display: block; font-size: 13px; }
.activity-timeline__copy span { color: var(--ofm-text-muted); font-size: 12px; }
.activity-timeline time { color: var(--ofm-text-muted); font-size: 11px; white-space: nowrap; }

.filter-bar,
.filter-panel { border-radius: var(--ofm-radius-md); }
.filter-grid { gap: 12px; align-items: end; }
.empty-state { padding: 40px 24px; text-align: center; }
.empty-state h2 { margin-bottom: 7px; }
.callout { border-left: 3px solid var(--ofm-petrol-700); border-radius: 10px; background: var(--ofm-petrol-100); }
.callout--warning { border-left-color: #d49a19; background: #fff8e7; }
.callout--danger { border-left-color: var(--ofm-danger); background: #fff0f0; }
.flash { margin-bottom: 18px; border-radius: 11px; box-shadow: var(--ofm-shadow-sm); }

.command-palette {
  width: min(760px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 40px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: var(--ofm-shadow-lg);
}
.command-palette::backdrop { background: rgba(13,31,39,.55); backdrop-filter: blur(3px); }
.command-palette__surface { overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: inherit; background: white; }
.command-palette__header { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--ofm-border); }
.command-palette__header input { min-height: 44px; border: 0; box-shadow: none; font-size: 17px; }
.command-palette__header input:focus { box-shadow: none; }
.command-palette__header button { min-height: 32px; padding: 5px 8px; border: 1px solid var(--ofm-border); background: var(--ofm-surface-muted); color: var(--ofm-text-muted); }
.command-palette__status { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--ofm-border); color: var(--ofm-text-muted); font-size: 12px; }
.command-palette__quick-links,
.command-palette__results { max-height: 470px; overflow-y: auto; padding: 12px; }
.command-palette__group-label { margin: 0 0 8px; padding: 0 4px; color: var(--ofm-text-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.command-palette__quick-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 8px; }
.command-palette__quick-grid a { padding: 12px; border: 1px solid var(--ofm-border); border-radius: 10px; background: var(--ofm-surface-muted); color: var(--ofm-text); font-weight: 700; text-decoration: none; }
.command-palette__quick-grid a:hover { border-color: var(--ofm-petrol-500); background: var(--ofm-petrol-100); }
.command-result { display: grid; grid-template-columns: 90px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px; color: var(--ofm-text); text-decoration: none; }
.command-result:hover,
.command-result[aria-selected="true"] { background: var(--ofm-petrol-100); color: var(--ofm-text); }
.command-result__category { color: var(--ofm-petrol-800); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.command-result__copy { display: flex; flex-direction: column; min-width: 0; }
.command-result__copy strong,
.command-result__copy small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.command-result__copy small { color: var(--ofm-text-muted); }
.command-result__badge { padding: 4px 7px; border-radius: 999px; background: var(--ofm-surface-muted); color: var(--ofm-text-muted); font-size: 10px; font-weight: 700; }
.command-palette__footer { display: flex; gap: 18px; padding: 9px 14px; border-top: 1px solid var(--ofm-border); background: var(--ofm-surface-muted); color: var(--ofm-text-muted); font-size: 11px; }
.command-palette__footer kbd { margin-right: 3px; padding: 2px 5px; border: 1px solid var(--ofm-border-strong); border-radius: 4px; background: white; font: inherit; }

.application-footer { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--ofm-border); color: var(--ofm-text-muted); font-size: 12px; }

.ui-density-compact .page-shell { padding-top: 24px; }
.ui-density-compact .panel { padding: 17px; margin-bottom: 15px; }
.ui-density-compact .form-subsection { padding: 17px; margin-bottom: 15px; }
.ui-density-compact td { padding-block: 9px; }
.ui-density-compact .field { margin-bottom: 10px; }
.ui-density-compact .operations-grid { gap: 15px; }
.ui-density-compact .page-heading { margin-bottom: 18px; padding-bottom: 16px; }

@media (max-width: 1100px) {
  .topbar-search-button { min-width: 42px; width: 42px; padding: 0; justify-content: center; }
  .topbar-search-button span:nth-child(2), .topbar-search-button kbd { display: none; }
  .topbar-profile-link__copy { display: none; }
}

@media (max-width: 780px) {
  .app-topbar { display: none; }
  .page-shell { padding: 20px 15px 24px; }
  .page-heading { gap: 14px; margin-bottom: 18px; }
  .page-heading .actions { width: 100%; justify-content: flex-start; }
  .panel,
  .form-subsection { padding: 16px; border-radius: 12px; }
  .readiness-panel__summary { grid-template-columns: auto minmax(0,1fr); }
  .readiness-panel__summary > .actions { grid-column: 1 / -1; }
  .command-result { grid-template-columns: 70px minmax(0,1fr); }
  .command-result__badge { display: none; }
  .command-palette__footer { display: none; }
  .form-submit-bar { bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Page-specific professional layout refinements */
.table-identity { display: flex; align-items: center; gap: 11px; min-width: 220px; }
.table-identity > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.table-identity strong,
.table-identity small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.table-identity small,
.table-secondary { display: block; margin-top: 3px; color: var(--ofm-text-muted); font-size: 11px; }
.table-photo { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: var(--ofm-petrol-100); }
.table-photo img { width: 100%; height: 100%; object-fit: cover; }
.table-photo__placeholder { color: var(--ofm-petrol-800); font-weight: 850; }
.table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; white-space: nowrap; }
.table-actions form { margin: 0; }
.table-actions a,
.table-actions .link-button { font-size: 12px; font-weight: 750; }
.capability-chip-list--table { margin: 0; gap: 5px; }
.capability-chip-list--table .capability-chip { min-height: 23px; padding: 3px 7px; font-size: 10px; }
.stat-card--link { display: flex; flex-direction: column; gap: 5px; color: var(--ofm-text); text-decoration: none; }
.stat-card--link:hover { border-color: var(--ofm-petrol-500); box-shadow: var(--ofm-shadow-md); color: var(--ofm-text); }
.resource-readiness-summary { margin-bottom: 22px; }
.filter-grid--resources { grid-template-columns: minmax(240px,2fr) repeat(3,minmax(150px,1fr)) auto; }
.filter-grid--users { grid-template-columns: minmax(220px,1.5fr) repeat(4,minmax(145px,1fr)) auto; }
.resource-hero--admin { margin-bottom: 22px; border: 1px solid var(--ofm-border); border-radius: var(--ofm-radius-lg); background: white; box-shadow: var(--ofm-shadow-sm); overflow: hidden; }
.resource-hero__status-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.user-avatar--large { width: 58px; height: 58px; font-size: 17px; }
.page-heading__with-avatar { display: flex; align-items: center; gap: 15px; }
.configuration-quality-grid .compact-list small { display: block; max-width: 440px; margin-top: 3px; color: var(--ofm-text-muted); }
.compact-list li > span:first-child { min-width: 0; }
.compact-list li > span:first-child strong,
.compact-list li > span:first-child small { display: block; }
.health-chip-grid { gap: 10px; }
.dashboard-stat { border-radius: 13px; box-shadow: var(--ofm-shadow-sm); }
.dashboard-stat:hover { border-color: var(--ofm-petrol-500); box-shadow: var(--ofm-shadow-md); }
.organization-card { border-radius: 12px; box-shadow: var(--ofm-shadow-sm); }
.current-resource-photo img { border-radius: 12px; box-shadow: var(--ofm-shadow-sm); }

@media (max-width: 1250px) {
  .filter-grid--resources,
  .filter-grid--users { grid-template-columns: repeat(2,minmax(180px,1fr)); }
  .filter-grid--resources .catalogue-filter-form__actions,
  .filter-grid--users .catalogue-filter-form__actions { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .filter-grid--resources,
  .filter-grid--users { grid-template-columns: 1fr; }
  .filter-grid--resources .catalogue-filter-form__actions,
  .filter-grid--users .catalogue-filter-form__actions { grid-column: auto; }
  .table-actions { justify-content: flex-start; }
  .page-heading__with-avatar { align-items: flex-start; }
}

/* Final shell normalization: remove legacy outer padding and nested scrolling. */
.app-shell {
  grid-template-columns: 264px minmax(0, 1fr);
}

.app-sidebar {
  padding: 0;
  overflow: hidden;
}

.sidebar-brand-row {
  align-items: center;
  margin-bottom: 0;
}

/* OFM 2.3 — Operations, maintenance and analytics */
.analytics-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
  gap: 14px;
  align-items: end;
}
.analytics-filter-grid--resource { grid-template-columns: minmax(180px, 220px) minmax(180px, 220px) auto; justify-content: start; }
.analytics-filter-grid .field,
.maintenance-filter-grid .field { margin-bottom: 0; }
.analytics-filter-grid__actions,
.maintenance-filter-grid__actions { display: flex; align-items: center; gap: 8px; min-height: 42px; }

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.analytics-kpi {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 19px;
  border: 1px solid var(--ofm-border);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #fbfdfd 100%);
  box-shadow: var(--ofm-shadow-sm);
}
.analytics-kpi__label { color: var(--ofm-text-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.analytics-kpi__value { color: var(--ofm-text); font-size: clamp(23px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.035em; }
.analytics-kpi__comparison { width: fit-content; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.analytics-kpi__comparison.is-positive { color: #1d6b3a; background: #e9f6ee; }
.analytics-kpi__comparison.is-negative { color: #963535; background: #fdecec; }
.analytics-kpi__comparison.is-neutral { color: var(--ofm-text-muted); background: var(--ofm-surface-muted); }
.analytics-kpi small { color: var(--ofm-text-muted); line-height: 1.35; }

.analytics-chart-panel { overflow: hidden; }
.analytics-chart { width: 100%; padding-top: 4px; }
.analytics-chart svg { display: block; width: 100%; height: 260px; overflow: visible; }
.analytics-chart__grid line { stroke: #dfe8eb; stroke-width: 1; vector-effect: non-scaling-stroke; }
.analytics-chart__line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.analytics-chart__line--booked { stroke: var(--ofm-purple-800); }
.analytics-chart__line--actual { stroke: var(--ofm-petrol-700); }
.analytics-chart__legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 10px 4px 0; color: var(--ofm-text-muted); font-size: 11px; }
.analytics-chart__legend span:last-child { margin-left: auto; }
.legend-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; }
.legend-dot--booked { background: #4A438C; }
.legend-dot--actual { background: var(--ofm-petrol-700); }
.analytics-refresh-note { padding: 6px 9px; border-radius: 999px; background: var(--ofm-surface-muted); color: var(--ofm-text-muted); font-size: 10px; font-weight: 700; }

.definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.definition-grid > div { padding: 13px 0; border-bottom: 1px solid var(--ofm-border); }
.definition-grid strong, .definition-grid span { display: block; }
.definition-grid span { margin-top: 4px; color: var(--ofm-text-muted); font-size: 12px; line-height: 1.5; }

.analytics-heatmap-wrap { overflow-x: auto; padding-bottom: 4px; }
.analytics-heatmap { min-width: 860px; display: grid; grid-template-columns: 42px repeat(24, minmax(24px, 1fr)); gap: 3px; align-items: center; }
.analytics-heatmap__hour, .analytics-heatmap__day { color: var(--ofm-text-muted); font-size: 9px; font-weight: 700; text-align: center; }
.analytics-heatmap__day { text-align: right; padding-right: 6px; }
.analytics-heatmap__cell { aspect-ratio: 1.15; min-height: 20px; border-radius: 4px; background: rgba(0,125,148,var(--heat)); border: 1px solid rgba(0,125,148,.08); }
.analytics-heatmap__cell:hover { outline: 2px solid rgba(0,125,148,.28); outline-offset: 1px; }

.maintenance-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)) auto; gap: 14px; align-items: end; }
.maintenance-state,
.work-priority,
.incident-severity {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}
.maintenance-state--scheduled { color: #35606e; background: #edf5f7; border-color: #d1e2e7; }
.maintenance-state--due_soon { color: #825700; background: #fff6df; border-color: #f0db9e; }
.maintenance-state--overdue { color: #963535; background: #fdecec; border-color: #f3c7c7; }
.maintenance-state--unscheduled { color: var(--ofm-text-muted); background: var(--ofm-surface-muted); border-color: var(--ofm-border); }
.work-priority--low { color: #536871; background: #eef4f6; }
.work-priority--normal { color: #35606e; background: #edf5f7; }
.work-priority--high { color: #825700; background: #fff6df; }
.work-priority--critical { color: #963535; background: #fdecec; }
.incident-severity--low { color: #536871; background: #eef4f6; }
.incident-severity--medium { color: #35606e; background: #edf5f7; }
.incident-severity--high { color: #825700; background: #fff6df; }
.incident-severity--critical { color: #fff; background: #9b2c2c; border-color: #9b2c2c; }
.status-danger { color: #9b2c2c; font-weight: 750; }

.ofm-dialog { width: min(620px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 16px; box-shadow: var(--ofm-shadow-lg); }
.ofm-dialog::backdrop { background: rgba(13,31,39,.52); backdrop-filter: blur(3px); }
.ofm-dialog form { padding: 22px; }
.ofm-dialog h2 { margin-top: 0; }

@media (max-width: 1180px) {
  .analytics-filter-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
  .analytics-filter-grid__actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .analytics-filter-grid,
  .analytics-filter-grid--resource,
  .maintenance-filter-grid,
  .definition-grid { grid-template-columns: 1fr; }
  .analytics-filter-grid__actions { grid-column: auto; }
  .analytics-chart svg { height: 210px; }
  .analytics-chart__legend span:last-child { width: 100%; margin-left: 0; }
}

/* 2.6 preview: member recovery, compliance, automation and persistent jobs */
.slot-option-list {
  display: grid;
  gap: 9px;
}

.slot-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-sm);
  background: var(--ofm-surface);
  color: var(--ofm-text);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.slot-option:hover {
  border-color: rgba(0, 125, 148, .5);
  box-shadow: var(--ofm-shadow-sm);
  transform: translateY(-1px);
}

.slot-option span {
  color: var(--ofm-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.recovery-panel {
  border-top: 3px solid var(--ofm-purple-800);
}

.check-in-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
}

.check-in-callout p {
  margin: 4px 0 0;
}

.access-state-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
}

.status-pill--queued,
.status-pill--waiting {
  color: #6d4d00;
  background: #fff4cf;
  border-color: #eed690;
  backdrop-filter: none;
}

.status-pill--running,
.status-pill--offered,
.status-pill--attention {
  color: #245f78;
  background: #e8f4f8;
  border-color: #bddbe5;
  backdrop-filter: none;
}

.status-pill--succeeded,
.status-pill--converted,
.status-pill--active {
  color: #1d6b3a;
  background: #e9f6ee;
  border-color: #bfe2ca;
  backdrop-filter: none;
}

.status-pill--failed,
.status-pill--expired {
  color: #963535;
  background: #fdecec;
  border-color: #f3c7c7;
  backdrop-filter: none;
}

.status-pill--cancelled,
.status-pill--disabled {
  color: #596b73;
  background: #eef2f4;
  border-color: #d7e0e4;
  backdrop-filter: none;
}

.deployment-queue-panel {
  border-top: 3px solid var(--ofm-petrol-700);
}

.diagnostic-output,
.secret-once pre {
  max-width: 100%;
  overflow: auto;
  margin: 12px 0 0;
  padding: 14px 15px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-sm);
  background: #12242b;
  color: #e8f3f2;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.secret-once pre {
  user-select: all;
}

.checkpoint-overview-grid > .panel {
  min-width: 0;
}

.checkpoint-overview-grid .definition-grid {
  margin-bottom: 12px;
}

.automation-event-key,
.api-scope-key {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--ofm-surface-muted);
  border: 1px solid var(--ofm-border);
  font: 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (max-width: 760px) {
  .check-in-callout,
  .slot-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-option span,
  .access-state-stack {
    white-space: normal;
    text-align: left;
    align-items: flex-start;
  }
}

/* 3.0 RC: multi-facility workspace */
.facility-context-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 5px 4px 10px;
  border: 1px solid var(--ofm-border);
  border-radius: 10px;
  background: var(--ofm-surface-muted);
}
.facility-context-switcher__label {
  color: var(--ofm-text-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.facility-context-switcher__form { margin: 0; }
.facility-context-switcher__select {
  min-height: 32px;
  max-width: 220px;
  padding: 4px 28px 4px 8px;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  font-weight: 800;
}
.mobile-header__facility {
  max-width: 32vw;
  overflow: hidden;
  color: var(--ofm-text-muted);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.summary-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 17px 18px;
}
.summary-card > span:first-child {
  color: var(--ofm-text-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.summary-card > strong {
  overflow: hidden;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -.025em;
  text-overflow: ellipsis;
}
.summary-card > small { color: var(--ofm-text-muted); line-height: 1.4; }
.card-grid--responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}
.facility-card { position: relative; margin-bottom: 0; }
.facility-card--current {
  border-color: rgba(0,125,148,.42);
  box-shadow: 0 0 0 1px rgba(0,125,148,.08), var(--ofm-shadow-sm);
}
.two-column-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.definition-grid__wide { grid-column: 1 / -1; }
.readonly-field {
  display: flex;
  min-height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 11px;
  border: 1px solid var(--ofm-border);
  border-radius: 9px;
  background: var(--ofm-surface-muted);
}
.readonly-field small { color: var(--ofm-text-muted); }
.inline-form--wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--ofm-border);
  border-radius: 12px;
  background: var(--ofm-surface-muted);
}
.inline-form--wrap .field { min-width: 180px; margin: 0; }
.compact-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ofm-border);
  color: inherit;
  text-decoration: none;
}
.compact-list__item:last-child { border-bottom: 0; }
.compact-list__item span:first-child { min-width: 0; }
.compact-list__item strong,
.compact-list__item small { display: block; }
.compact-list__item small { margin-top: 2px; color: var(--ofm-text-muted); }
.row-action-menu { position: relative; }
.row-action-menu > summary { list-style: none; cursor: pointer; }
.row-action-menu > summary::-webkit-details-marker { display: none; }
.row-action-menu__panel {
  position: absolute;
  z-index: 30;
  right: 0;
  width: min(420px, calc(100vw - 48px));
  max-height: min(620px, 75vh);
  overflow: auto;
  margin-top: 7px;
  padding: 16px;
  border: 1px solid var(--ofm-border);
  border-radius: 12px;
  background: white;
  box-shadow: var(--ofm-shadow-lg);
}
.stack-form { display: grid; gap: 12px; }
.stack-form .field { margin: 0; }
.checkbox-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .two-column-layout { grid-template-columns: 1fr; }
  .facility-context-switcher__label { display: none; }
  .facility-context-switcher__select { max-width: 160px; }
}
@media (max-width: 620px) {
  .facility-context-switcher { display: none; }
  .checkbox-grid--compact { grid-template-columns: 1fr; }
  .row-action-menu__panel { position: fixed; inset: auto 16px 16px 16px; width: auto; }
}
.mobile-facility-switcher { padding: 10px 12px 12px; border-bottom: 1px solid var(--ofm-border); }
.mobile-facility-switcher strong { display: block; margin-bottom: 6px; color: var(--ofm-text-muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.mobile-facility-switcher form { margin: 0; }
.mobile-facility-switcher select { width: 100%; }


/* Branded scrollbars */
html,
body,
.sidebar-navigation-scroll,
.table-scroll,
.table-container,
.command-palette__results {
  scrollbar-width: thin;
  scrollbar-color: var(--ofm-petrol-500) rgba(0, 64, 74, .12);
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.sidebar-navigation-scroll::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar,
.table-container::-webkit-scrollbar,
.command-palette__results::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.sidebar-navigation-scroll::-webkit-scrollbar-track,
.table-scroll::-webkit-scrollbar-track,
.table-container::-webkit-scrollbar-track,
.command-palette__results::-webkit-scrollbar-track { background: rgba(0, 64, 74, .08); border-radius: 999px; }
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.sidebar-navigation-scroll::-webkit-scrollbar-thumb,
.table-scroll::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb,
.command-palette__results::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ofm-petrol-500), var(--ofm-purple-800));
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.sidebar-navigation-scroll::-webkit-scrollbar-thumb:hover,
.table-scroll::-webkit-scrollbar-thumb:hover,
.table-container::-webkit-scrollbar-thumb:hover,
.command-palette__results::-webkit-scrollbar-thumb:hover { background-color: var(--ofm-petrol-700); }

/* Commercial access */
.price-matrix { display: grid; gap: 8px; }
.price-matrix__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px);
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--ofm-border);
  border-radius: 12px;
  background: var(--ofm-surface-muted);
}
.price-matrix__row span { display: grid; gap: 2px; }
.commercial-resource-grid { max-height: 420px; overflow: auto; padding: 4px; }
.commercial-access-panel { border-top: 3px solid var(--ofm-purple-600); }
.commercial-booking-notice { margin-top: 12px; }
.role-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.role-explainer-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--ofm-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--ofm-surface-muted));
}
.role-explainer-card p { margin: 0; color: var(--ofm-text-muted); font-size: 13px; line-height: 1.45; }
.mobile-navigation__subheading { display: block; margin: 14px 10px 4px; color: var(--ofm-text-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .price-matrix__row,
  .role-explainer-grid { grid-template-columns: 1fr; }
}

/* 3.0 RC2: role clarity, commercial access, and finish polish */
.sidebar-user__identity a,
.sidebar-user__identity a:visited {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.sidebar-user__identity a:hover { color: var(--ofm-petrol-100); }
.sidebar-user__identity small { color: rgba(255,255,255,.7); }

.side-nav__link.is-active {
  border: 1px solid rgba(255,255,255,.34);
  background: linear-gradient(135deg, #e6f4f2 0%, #c0dbd7 100%);
  color: #073f4a;
  box-shadow: 0 6px 18px rgba(0,0,0,.12), inset 3px 0 0 var(--ofm-purple-800);
}
.side-nav__link.is-active:hover {
  background: linear-gradient(135deg, #f2faf9 0%, #d0e6e2 100%);
  color: #073f4a;
}
.side-nav__link.is-active .side-nav__symbol { color: var(--ofm-purple-800); }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--ofm-petrol-700) #e8f0f1;
}
* { scrollbar-width: thin; scrollbar-color: var(--ofm-petrol-500) #e8f0f1; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #e8f0f1; border-radius: 999px; }
*::-webkit-scrollbar-thumb {
  min-height: 34px;
  border: 2px solid #e8f0f1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ofm-petrol-700), var(--ofm-purple-800));
}
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--ofm-petrol-700), var(--ofm-purple-800)); }
.sidebar-navigation-scroll {
  scrollbar-color: rgba(192,219,215,.9) rgba(255,255,255,.07);
}
.sidebar-navigation-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.07); }
.sidebar-navigation-scroll::-webkit-scrollbar-thumb {
  border-color: transparent;
  background: rgba(192,219,215,.78);
}

.facility-role-grid,
.commercial-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.facility-role-card,
.commercial-module-card {
  min-width: 0;
  padding: 16px 17px;
  border: 1px solid var(--ofm-border);
  border-radius: 13px;
  background: linear-gradient(155deg, #fff, var(--ofm-surface-muted));
  box-shadow: var(--ofm-shadow-sm);
}
.facility-role-card strong,
.facility-role-card small { display: block; }
.facility-role-card small { margin-top: 5px; color: var(--ofm-text-muted); line-height: 1.5; }
.facility-role-card--manager { border-top: 3px solid var(--ofm-purple-800); }
.facility-role-card--operator { border-top: 3px solid var(--ofm-petrol-700); }
.facility-role-card--member { border-top: 3px solid var(--ofm-petrol-200); }
.facility-role-card--admin { border-top: 3px solid #314a56; }

.commercial-module-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.commercial-module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,125,148,.42);
  box-shadow: var(--ofm-shadow-sm);
}
.commercial-module-card > span:last-child { min-width: 0; }
.commercial-module-card strong,
.commercial-module-card small { display: block; }
.commercial-module-card small { margin-top: 4px; color: var(--ofm-text-muted); line-height: 1.45; }
.commercial-module-card__symbol {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ofm-petrol-700), var(--ofm-purple-800));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.commercial-policy-callout { border-left-color: var(--ofm-purple-800); }
.commercial-amount-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.commercial-amount-summary--page { margin-bottom: 22px; }
.commercial-amount-summary__currency {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--ofm-border);
  border-radius: 12px;
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-sm);
}
.commercial-amount-summary__currency > strong {
  color: var(--ofm-petrol-800);
  font-size: 12px;
  letter-spacing: .08em;
}
.commercial-amount-summary__currency > span { color: var(--ofm-text-muted); font-size: 13px; }
.price-matrix { display: grid; gap: 9px; margin-top: 12px; }
.price-matrix__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
  align-items: center;
  gap: 16px;
  padding: 11px 12px;
  border: 1px solid var(--ofm-border);
  border-radius: 10px;
  background: var(--ofm-surface-muted);
}
.price-matrix__row strong,
.price-matrix__row small { display: block; }
.price-matrix__row small { margin-top: 2px; color: var(--ofm-text-muted); }
.commercial-resource-grid { max-height: 420px; overflow: auto; padding-right: 4px; }
.status-chip--pending,
.status-chip--invoiced { color: #7a5600; background: #fff5d8; border-color: #eed89b; }
.status-chip--paid,
.status-chip--not_required { color: #1d6b3a; background: #e9f6ee; border-color: #bfe2ca; }
.status-chip--waived { color: #4a438c; background: #f0eef9; border-color: #d8d2ed; }
.status-chip--overdue { color: #963535; background: #fdecec; border-color: #f3c7c7; }

@media (max-width: 680px) {
  .price-matrix__row { grid-template-columns: 1fr; gap: 8px; }
}

/* RC2 contrast corrections */
.sidebar-user__identity > a,
.sidebar-user__identity > a:link,
.sidebar-user__identity > a:visited { color: #fff !important; }
.topbar-profile-link__copy strong { color: var(--ofm-text); }
.side-nav__link.is-active:focus-visible { outline-color: var(--ofm-purple-800); }

/* 3.0 RC3 — stabilization and operational UX */
.page-heading--compact {
  margin-bottom: 14px;
}
.page-heading--compact p:last-child { max-width: 760px; }
.section-heading--compact { margin-bottom: 12px; }
.section-heading--compact h2,
.section-heading--compact p { margin-bottom: 0; }
.filter-panel--compact { padding-top: 16px; padding-bottom: 16px; }

.button--compact,
button.button--compact,
input.button--compact { padding: 7px 11px; font-size: 13px; }

.resource-list-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.resource-state-tabs,
.compact-metric-strip,
.operations-subnav,
.resource-context-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.resource-state-tabs::-webkit-scrollbar,
.compact-metric-strip::-webkit-scrollbar,
.operations-subnav::-webkit-scrollbar,
.resource-context-nav::-webkit-scrollbar { display: none; }

.resource-state-tab,
.compact-metric-strip > a,
.operations-subnav > a,
.resource-context-nav > a {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ofm-border);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--ofm-text-muted);
  background: rgba(255,255,255,.88);
  box-shadow: 0 1px 2px rgba(18,42,52,.03);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.resource-state-tab strong,
.compact-metric-strip > a strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  padding: 0 6px;
  color: var(--ofm-petrol-900);
  background: var(--ofm-petrol-100);
  font-size: 11px;
}
.resource-state-tab:hover,
.compact-metric-strip > a:hover,
.operations-subnav > a:hover,
.resource-context-nav > a:hover {
  border-color: rgba(0,125,148,.42);
  color: var(--ofm-petrol-900);
  background: #fff;
}
.resource-state-tab.is-active,
.compact-metric-strip > a.is-active,
.operations-subnav > a.is-active,
.resource-context-nav > a.is-active {
  border-color: var(--ofm-petrol-700);
  color: #fff;
  background: linear-gradient(135deg, var(--ofm-petrol-800), var(--ofm-purple-800));
}
.resource-state-tab.is-active strong,
.compact-metric-strip > a.is-active strong {
  color: var(--ofm-purple-800);
  background: #fff;
}

.resource-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(145px, 190px) minmax(145px, 190px) auto auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ofm-border);
  border-radius: 12px;
  padding: 9px;
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-sm);
}
.resource-filter-bar .field,
.resource-filter-bar > div { margin: 0; }
.resource-filter-bar input,
.resource-filter-bar select { min-height: 38px; }
.resource-filter-clear {
  padding: 7px 5px;
  color: var(--ofm-text-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.resource-list-panel { padding: 18px; }
.resource-table th { white-space: nowrap; font-size: 12px; }
.resource-table td { vertical-align: middle; }
.table-actions--compact { flex-wrap: nowrap; white-space: nowrap; }

.row-actions-menu { position: relative; }
.row-actions-menu > summary {
  display: grid;
  min-width: 30px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--ofm-border);
  border-radius: 7px;
  color: var(--ofm-text-muted);
  background: #fff;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}
.row-actions-menu > summary::-webkit-details-marker { display: none; }
.row-actions-menu > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  right: 0;
  min-width: 130px;
  border: 1px solid var(--ofm-border);
  border-radius: 9px;
  padding: 9px 10px;
  background: #fff;
  box-shadow: var(--ofm-shadow-md);
}
.row-actions-menu .link-button { color: var(--ofm-petrol-800); }
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ofm-border);
  margin-top: 8px;
  padding-top: 14px;
  color: var(--ofm-text-muted);
  font-size: 13px;
}
.pagination-bar .actions { margin: 0; }

.operations-subnav,
.resource-context-nav { margin: -2px 0 14px; }
.resource-context-nav {
  border-bottom: 1px solid var(--ofm-border);
  padding: 0 2px 10px;
}
.resource-context-nav > a {
  border-radius: 8px;
  box-shadow: none;
}
.resource-context-nav__external { margin-left: auto; }

.compact-metric-strip {
  margin: 0 0 14px;
  padding: 2px 0;
}
.compact-metric-strip > a { padding: 6px 9px; }

/* Keep active sidebar rows bright and legible without making every admin row purple. */
.side-nav--admin .side-nav__link--admin { background: transparent; }
.side-nav--admin .side-nav__link--admin:hover { background: rgba(255,255,255,.10); }
.side-nav--admin .side-nav__link--admin.is-active {
  border-color: rgba(255,255,255,.42);
  background: linear-gradient(135deg, #f4fbfa 0%, #d7ebe8 100%);
  color: #063f4a;
}
.sidebar-group > summary { margin-top: 6px; margin-bottom: 4px; }
.sidebar-group:not([open]) > summary { margin-bottom: 6px; }

@media (max-width: 900px) {
  .resource-filter-bar { grid-template-columns: 1fr 1fr; }
  .resource-filter-bar__search { grid-column: 1 / -1; }
  .resource-context-nav__external { margin-left: 0; }
}

@media (max-width: 620px) {
  .resource-filter-bar { grid-template-columns: 1fr; }
  .resource-filter-bar__search { grid-column: auto; }
  .pagination-bar { align-items: flex-start; flex-direction: column; }
  .resource-list-panel { padding: 14px; }
}

/* RC3 resource unavailability controls */
.status-chip--unavailable,
.badge--unavailable {
  color: #7b4b00;
  background: #fff2cf;
  border-color: #e7c46a;
}

.button--warning {
  color: #5f3b00;
  background: #f6d989;
  border-color: #d7ae43;
}
.button--warning:hover { background: #efce72; }
.link-button--warning { color: #8a5700; }

.availability-block-list { display: grid; gap: 10px; }
.availability-block-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid var(--ofm-border);
  border-left: 4px solid #d7ae43;
  border-radius: 10px;
  background: #fffaf0;
}
.availability-block-card p { margin: 3px 0 0; }
.availability-block-card--safety { border-left-color: #b53b3b; background: #fff3f3; }
.availability-block-card--maintenance { border-left-color: var(--ofm-petrol-700); background: #f1f8f8; }
.availability-block-card--private_event,
.availability-block-card--external_use { border-left-color: var(--ofm-purple-800); background: #f6f3fb; }
.availability-block-card--cleaning,
.availability-block-card--setup { border-left-color: #4d7661; background: #f2f8f4; }

.availability-inline-state {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #e7c46a;
  border-radius: 10px;
  background: #fffaf0;
}
.availability-inline-state .status-chip { justify-self: start; }

.member-unavailability-notice {
  display: grid;
  gap: 3px;
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid #e7c46a;
  border-left-width: 4px;
  border-radius: 9px;
  background: #fff8e8;
  color: #5f3b00;
}
.member-unavailability-notice span { font-size: 13px; }

@media (max-width: 680px) {
  .availability-block-card { align-items: flex-start; flex-direction: column; }
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2px 0 10px;
  color: var(--ofm-text-muted);
  font-size: 12px;
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend__swatch {
  width: 18px;
  height: 10px;
  display: inline-block;
  border: 1px solid var(--ofm-border);
  border-radius: 3px;
}
.calendar-legend__swatch--booking { background: var(--ofm-purple-800); }
.calendar-legend__swatch--unavailable {
  border-color: #d7ae43;
  background: repeating-linear-gradient(-45deg, #f5d98e, #f5d98e 4px, #fff2cf 4px, #fff2cf 8px);
}

/* RC3 resource-unavailability controls */
.quick-unavailability-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.quick-unavailability-actions form {
  margin: 0;
}

.quick-unavailability-menu {
  position: relative;
}

.quick-unavailability-menu > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.quick-unavailability-menu > summary::-webkit-details-marker {
  display: none;
}

.quick-unavailability-menu__body {
  position: absolute;
  z-index: 30;
  right: 0;
  top: calc(100% + 0.45rem);
  width: min(19rem, 82vw);
  padding: 0.85rem;
  border: 1px solid var(--border, #d8dde3);
  border-radius: 0.8rem;
  background: var(--surface, #fff);
  box-shadow: 0 0.75rem 2rem rgba(13, 25, 36, 0.16);
}

.quick-unavailability-menu__body p {
  margin: 0.25rem 0 0.55rem;
}

.quick-unavailability-menu__body form,
.quick-unavailability-menu__body .link-button {
  width: 100%;
  text-align: left;
}

.booking-unavailability-conflict {
  margin-bottom: 1rem;
}

/* RC3 contact/request resources and public catalogue */
.public-shell--wide { width: min(1180px, calc(100% - 32px)); }
.public-catalogue-hero {
  margin-bottom: var(--ofm-space-6);
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-lg);
  background: linear-gradient(135deg, var(--ofm-petrol-100), #fff 58%, rgba(184,179,216,.24));
  box-shadow: var(--ofm-shadow-sm);
}
.public-catalogue-hero--compact { padding: 28px 30px; }
.public-catalogue-hero p:not(.eyebrow) { max-width: 760px; margin: 12px 0 0; color: var(--ofm-text-muted); font-size: 1.05rem; }
.public-catalogue-filter { margin-bottom: var(--ofm-space-6); }
.public-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.public-resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-md);
  background: var(--ofm-surface);
  color: var(--ofm-text);
  box-shadow: var(--ofm-shadow-sm);
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.public-resource-card:hover { transform: translateY(-2px); border-color: var(--ofm-petrol-500); box-shadow: var(--ofm-shadow-md); color: var(--ofm-text); }
.public-resource-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ofm-surface-muted); }
.public-resource-card__media img { width: 100%; height: 100%; object-fit: cover; }
.public-resource-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.public-resource-card__body h2 { margin: 10px 0 8px; }
.public-resource-card__body > p { color: var(--ofm-text-muted); }
.public-resource-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ofm-text-muted); font-size: 12px; }
.public-resource-card__cta { margin-top: auto; padding-top: 14px; color: var(--ofm-petrol-800); font-weight: 800; }
.public-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--ofm-text-muted); font-size: 13px; }
.public-resource-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 30px; margin-bottom: 24px; }
.public-resource-detail__media { min-height: 320px; overflow: hidden; border: 1px solid var(--ofm-border); border-radius: var(--ofm-radius-lg); background: var(--ofm-surface-muted); box-shadow: var(--ofm-shadow-sm); }
.public-resource-detail__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.public-resource-detail__content { padding: 18px 4px; }
.public-resource-detail__content h1 { margin: 12px 0 18px; }
.public-contact-panel { border-top: 3px solid var(--ofm-petrol-700); }
.member-contact-request-panel { border-top: 3px solid var(--ofm-purple-600); }
.inquiry-direct-email { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inquiry-honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.public-catalogue-settings { border-top: 3px solid var(--ofm-petrol-500); }

@media (max-width: 900px) {
  .public-resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .public-resource-detail { grid-template-columns: 1fr; gap: 16px; }
  .public-resource-detail__media, .public-resource-detail__media img { min-height: 240px; }
}

@media (max-width: 620px) {
  .public-shell--wide { width: min(100% - 20px, 1180px); }
  .public-resource-grid { grid-template-columns: 1fr; }
  .public-catalogue-hero { padding: 22px 20px; }
}

/* 3.0 RC3 public portfolio hotfix 6 */
.public-portfolio-page {
  min-height: 100vh;
  margin: 0;
  background: #edf3f3;
  color: var(--ofm-text);
}

.portfolio-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 280px minmax(0, 1fr);
}

.portfolio-sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 28px 22px 20px;
  color: white;
  background:
    radial-gradient(circle at 15% 10%, rgba(84,165,180,.26), transparent 34%),
    radial-gradient(circle at 90% 88%, rgba(107,82,142,.30), transparent 34%),
    linear-gradient(180deg, #063f4b 0%, var(--ofm-petrol-900) 48%, #04343f 100%);
  box-shadow: 12px 0 34px rgba(13, 35, 43, .08);
}

.portfolio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: white;
  text-decoration: none;
}
.portfolio-brand:hover { color: white; }
.portfolio-brand__logo,
.portfolio-brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}
.portfolio-brand__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.portfolio-brand__copy { min-width: 0; }
.portfolio-brand__copy strong,
.portfolio-brand__copy small { display: block; }
.portfolio-brand__copy strong { color: white; font-size: 15px; }
.portfolio-brand__copy small { margin-top: 3px; overflow: hidden; color: rgba(255,255,255,.66); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.portfolio-nav { display: grid; gap: 6px; margin-top: 8px; }
.portfolio-nav__link {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255,255,255,.77);
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
}
.portfolio-nav__link:hover {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.08);
  color: white;
}
.portfolio-nav__link.is-active {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.14);
  color: white;
  box-shadow: inset 3px 0 0 var(--ofm-petrol-500);
}
.portfolio-nav__symbol {
  color: rgba(255,255,255,.46);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.portfolio-nav__link.is-active .portfolio-nav__symbol { color: #cce8e9; }
.portfolio-sidebar__spacer { flex: 1; min-height: 12px; }

.portfolio-login-card {
  padding: 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
}
.portfolio-login-card .eyebrow { margin-bottom: 5px; color: #c8e7e8; }
.portfolio-login-card h2 { margin: 0 0 6px; color: white; font-size: 18px; }
.portfolio-login-card > strong { display: block; color: white; }
.portfolio-login-card > small { display: block; margin-top: 4px; color: rgba(255,255,255,.66); }
.portfolio-login-card p:not(.eyebrow) { margin: 0 0 13px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.5; }
.portfolio-login-form { display: grid; gap: 9px; }
.portfolio-login-form .field { margin: 0; }
.portfolio-login-form label { color: rgba(255,255,255,.78); font-size: 11px; }
.portfolio-login-form input:not([type="submit"]) {
  min-height: 38px;
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.96);
}
.portfolio-login-form__submit { width: 100%; margin-top: 3px; }
.button--light {
  border-color: white;
  background: white;
  color: var(--ofm-petrol-900);
}
.button--light:hover { border-color: var(--ofm-petrol-100); background: var(--ofm-petrol-100); color: var(--ofm-petrol-900); }
.portfolio-login-card__text-link { display: inline-block; margin-top: 10px; color: #d8eeee; font-size: 11px; font-weight: 700; }
.portfolio-login-card__text-link:hover { color: white; }
.portfolio-login-card__actions { display: grid; gap: 3px; margin-top: 13px; }

.portfolio-sidebar__footer { display: flex; flex-wrap: wrap; gap: 7px 12px; padding: 0 3px; }
.portfolio-sidebar__footer a { color: rgba(255,255,255,.56); font-size: 10px; text-decoration: none; }
.portfolio-sidebar__footer a:hover { color: white; }

.portfolio-main {
  min-width: 0;
  width: min(100%, 1460px);
  padding: clamp(24px, 3.8vw, 58px) clamp(22px, 4vw, 64px) 36px;
}
.portfolio-mobile-header { display: none; }

.portfolio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  overflow: hidden;
  margin-bottom: 26px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid rgba(0,104,124,.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 20%, rgba(184,179,216,.34), transparent 26%),
    radial-gradient(circle at 18% 85%, rgba(84,165,180,.24), transparent 33%),
    linear-gradient(135deg, #ffffff 0%, #edf7f6 64%, #f1eef7 100%);
  box-shadow: 0 18px 42px rgba(13,44,52,.08);
}
.portfolio-hero::after {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0,104,124,.14);
  border-radius: 50%;
  content: "";
}
.portfolio-hero__copy { position: relative; z-index: 1; }
.portfolio-hero__copy h1 {
  max-width: 850px;
  margin: 8px 0 16px;
  color: #083f4b;
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  line-height: .99;
  letter-spacing: -.045em;
}
.portfolio-hero__copy > p:not(.eyebrow) { max-width: 760px; color: #566970; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.65; }
.portfolio-hero__metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.portfolio-metric {
  display: grid;
  gap: 2px;
  min-height: 102px;
  align-content: end;
  padding: 18px;
  border: 1px solid rgba(0,104,124,.13);
  border-radius: 15px;
  background: rgba(255,255,255,.74);
  color: var(--ofm-text);
  text-decoration: none;
  backdrop-filter: blur(5px);
}
.portfolio-metric:hover { border-color: var(--ofm-petrol-500); color: var(--ofm-text); transform: translateY(-1px); }
.portfolio-metric strong { color: var(--ofm-petrol-900); font-size: 30px; line-height: 1; }
.portfolio-metric span { color: var(--ofm-text-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.portfolio-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 44px; }
.portfolio-category-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 15px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--ofm-border);
  border-radius: 17px;
  background: white;
  color: var(--ofm-text);
  box-shadow: var(--ofm-shadow-sm);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.portfolio-category-card:hover { transform: translateY(-2px); border-color: var(--ofm-petrol-500); color: var(--ofm-text); box-shadow: var(--ofm-shadow-md); }
.portfolio-category-card__number { color: var(--ofm-petrol-700); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.portfolio-category-card h2 { margin: 3px 0 6px; font-size: 22px; }
.portfolio-category-card p:not(.eyebrow) { margin: 0; color: var(--ofm-text-muted); line-height: 1.5; }
.portfolio-category-card__arrow { color: var(--ofm-petrol-700); font-size: 24px; }
.portfolio-category-card--services { border-top: 3px solid var(--ofm-purple-600); }
.portfolio-category-card--resources { border-top: 3px solid var(--ofm-petrol-700); }
.portfolio-category-card--shop { border-top: 3px solid #c58a31; }
.portfolio-category-card--training { border-top: 3px solid #725c91; }

.portfolio-section { margin: 0 0 48px; }
.portfolio-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.portfolio-section__heading h2 { margin: 3px 0 0; font-size: 27px; }
.portfolio-section__all { font-weight: 800; text-decoration: none; }
.portfolio-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.portfolio-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ofm-border);
  border-radius: 17px;
  background: white;
  color: var(--ofm-text);
  box-shadow: 0 8px 22px rgba(19,47,54,.055);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.portfolio-card:hover { transform: translateY(-3px); border-color: var(--ofm-petrol-500); color: var(--ofm-text); box-shadow: 0 14px 34px rgba(19,47,54,.10); }
.portfolio-card__media { aspect-ratio: 16/9; overflow: hidden; background: #e7eff0; }
.portfolio-card__media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(135deg, #dceced, #f3f7f7); color: var(--ofm-petrol-800); font-weight: 850; }
.portfolio-card__placeholder--service { background: linear-gradient(135deg, #e7e2f1, #f5f2f8); color: #5e477c; }
.portfolio-card__placeholder--shop { background: linear-gradient(135deg, #f4ead8, #faf6ed); color: #8d611c; }
.portfolio-card__placeholder--training { background: linear-gradient(135deg, #e7e1ed, #f5f1f7); color: #624c7f; }
.portfolio-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.portfolio-card__meta { display: flex; flex-wrap: wrap; gap: 7px 10px; color: var(--ofm-text-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.portfolio-card__meta span + span::before { margin-right: 9px; content: "·"; }
.portfolio-card h3 { margin: 9px 0 8px; font-size: 20px; }
.portfolio-card__body p { margin: 0; color: var(--ofm-text-muted); line-height: 1.55; }
.portfolio-card__cta { margin-top: auto; padding-top: 16px; color: var(--ofm-petrol-800); font-size: 12px; font-weight: 850; }
.portfolio-empty-inline,
.portfolio-empty { padding: 24px; border: 1px dashed var(--ofm-border); border-radius: 15px; background: rgba(255,255,255,.56); color: var(--ofm-text-muted); }
.portfolio-empty { margin-top: 18px; text-align: center; }

.portfolio-section-hero {
  margin-bottom: 18px;
  padding: 30px 0 18px;
  border-bottom: 1px solid var(--ofm-border);
}
.portfolio-section-hero h1 { margin: 4px 0 8px; color: var(--ofm-petrol-900); font-size: clamp(2rem, 3.3vw, 3.5rem); letter-spacing: -.035em; }
.portfolio-section-hero > p:not(.eyebrow) { max-width: 780px; margin: 0; color: var(--ofm-text-muted); font-size: 1.05rem; line-height: 1.6; }
.portfolio-section-hero--compact { padding-top: 14px; }
.portfolio-filter-bar { margin-bottom: 20px; padding: 15px; border: 1px solid var(--ofm-border); border-radius: 14px; background: rgba(255,255,255,.72); }
.portfolio-filter-form { display: grid; grid-template-columns: minmax(220px,1.5fr) repeat(2,minmax(150px,.75fr)) auto; gap: 10px; align-items: end; }
.portfolio-filter-form--simple { grid-template-columns: minmax(260px,1fr) auto; }
.portfolio-filter-form .field { margin: 0; }
.portfolio-filter-form__actions { display: flex; gap: 7px; }

.portfolio-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--ofm-text-muted); font-size: 12px; }
.portfolio-detail { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: 30px; margin-bottom: 22px; }
.portfolio-detail__media { min-height: 360px; overflow: hidden; border: 1px solid var(--ofm-border); border-radius: 20px; background: #e7eff0; box-shadow: var(--ofm-shadow-sm); }
.portfolio-detail__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.portfolio-detail__content { align-self: center; padding: 16px 4px; }
.portfolio-detail__content h1 { margin: 10px 0 18px; color: var(--ofm-petrol-900); font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; }
.portfolio-detail__content .prose { color: #495f66; line-height: 1.7; }
.portfolio-contact-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 26px 0 44px;
  padding: 26px;
  border: 1px solid rgba(0,104,124,.15);
  border-left: 4px solid var(--ofm-petrol-700);
  border-radius: 16px;
  background: linear-gradient(135deg, white, var(--ofm-petrol-100));
}
.portfolio-contact-panel h2 { margin: 3px 0 7px; }
.portfolio-contact-panel p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--ofm-text-muted); }
.portfolio-inline-contact { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--ofm-border); border-radius: 12px; background: white; }
.portfolio-form-panel { max-width: 880px; }

.portfolio-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding: 24px 0 10px;
  border-top: 1px solid var(--ofm-border);
  color: var(--ofm-text-muted);
  font-size: 12px;
}
.portfolio-footer p { margin: 4px 0 0; }
.portfolio-footer__links { display: flex; flex-wrap: wrap; gap: 10px 16px; align-content: flex-start; }

/* Quick-hold menu must escape the admin resource hero. The old hero overflow
   clipped the dropdown while the exact same partial worked on Availability. */
.resource-hero--admin { overflow: visible; }
.resource-hero--admin .resource-hero__image {
  overflow: hidden;
  border-radius: var(--ofm-radius-lg) 0 0 var(--ofm-radius-lg);
}
.resource-hero--admin .quick-unavailability-menu { z-index: 80; }
.resource-hero--admin .quick-unavailability-menu__body { z-index: 90; }

@media (max-width: 1120px) {
  .portfolio-shell { grid-template-columns: 240px minmax(0,1fr); }
  .portfolio-sidebar { padding-inline: 16px; }
  .portfolio-main { padding-inline: 28px; }
  .portfolio-hero { grid-template-columns: 1fr; }
  .portfolio-hero__metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .portfolio-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portfolio-filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portfolio-filter-form__actions { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .portfolio-shell { display: block; }
  .portfolio-sidebar { display: none; }
  .portfolio-main { width: 100%; padding: 14px 16px 30px; }
  .portfolio-mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 10px 2px; }
  .portfolio-mobile-brand { color: var(--ofm-petrol-900); text-decoration: none; }
  .portfolio-mobile-menu { position: relative; }
  .portfolio-mobile-menu summary { cursor: pointer; padding: 8px 12px; border: 1px solid var(--ofm-border); border-radius: 9px; background: white; font-weight: 800; }
  .portfolio-mobile-menu nav { position: absolute; z-index: 50; right: 0; top: calc(100% + 6px); display: grid; width: 210px; padding: 8px; border: 1px solid var(--ofm-border); border-radius: 12px; background: white; box-shadow: var(--ofm-shadow-md); }
  .portfolio-mobile-menu nav a { padding: 9px 10px; border-radius: 8px; text-decoration: none; font-weight: 700; }
  .portfolio-mobile-menu nav a:hover { background: var(--ofm-petrol-100); }
  .portfolio-category-grid { grid-template-columns: 1fr; }
  .portfolio-detail { grid-template-columns: 1fr; }
  .portfolio-contact-panel { grid-template-columns: 1fr; }
  .portfolio-footer { flex-direction: column; }
  .resource-hero--admin .resource-hero__image { border-radius: var(--ofm-radius-lg) var(--ofm-radius-lg) 0 0; }
}

@media (max-width: 560px) {
  .portfolio-hero { padding: 28px 22px; border-radius: 18px; }
  .portfolio-hero__copy h1 { font-size: 2.4rem; }
  .portfolio-hero__metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portfolio-category-card { grid-template-columns: 30px 1fr auto; padding: 18px; }
  .portfolio-card-grid { grid-template-columns: 1fr; }
  .portfolio-filter-form,
  .portfolio-filter-form--simple { grid-template-columns: 1fr; }
  .portfolio-filter-form__actions { grid-column: auto; }
  .portfolio-detail__media,
  .portfolio-detail__media img { min-height: 240px; }
}

/* 3.0 RC3 Hotfix 10 — unified offerings, projects and audience controls */
.member-offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ofm-space-5);
}
.member-offering-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-lg);
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-sm);
}
.member-offering-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ofm-petrol-100);
  text-decoration: none;
}
.member-offering-card__media img { width: 100%; height: 100%; object-fit: cover; }
.member-offering-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, var(--ofm-petrol-100), #f1eef7);
  color: var(--ofm-petrol-800);
  font-weight: 850;
}
.member-offering-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.member-offering-card__body h2 { margin: 0; font-size: 1.24rem; }
.member-offering-card__body h2 a { color: var(--ofm-text); text-decoration: none; }
.member-offering-card__body > p { margin: 0; color: var(--ofm-text-muted); }
.member-offering-card__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--ofm-text-muted); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.member-offering-card__meta span + span::before { margin-right: 8px; content: "·"; }
.member-offering-card__price { color: var(--ofm-petrol-900); font-size: 1.05rem; }
.member-offering-card .actions { margin-top: auto; padding-top: 5px; }

.offering-price-panel {
  display: grid;
  gap: 3px;
  width: fit-content;
  min-width: 220px;
  margin: 12px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 104, 124, .18);
  border-radius: var(--ofm-radius-md);
  background: var(--ofm-petrol-100);
}
.offering-price-panel > span { color: var(--ofm-text-muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.offering-price-panel > strong { color: var(--ofm-petrol-900); font-size: 1.3rem; }
.offering-price-panel > small { max-width: 520px; color: var(--ofm-text-muted); }

.related-offering-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.related-offering-card {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-sm);
  background: var(--ofm-surface-muted);
  color: var(--ofm-text);
  text-decoration: none;
}
.related-offering-card:hover { border-color: var(--ofm-petrol-500); background: var(--ofm-petrol-100); color: var(--ofm-text); }
.related-offering-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-offering-card span { color: var(--ofm-text-muted); font-size: 11px; }

.audience-settings,
.offering-pricing-settings { border-left: 3px solid var(--ofm-petrol-500); }
.audience-picker-grid { align-items: stretch; }
.audience-picker {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-md);
  background: var(--ofm-surface-muted);
}
.audience-picker legend { padding: 0 6px; color: var(--ofm-petrol-900); font-size: 12px; font-weight: 850; }
.audience-option { display: flex; gap: 9px; align-items: flex-start; padding: 8px 6px; border-radius: 8px; }
.audience-option:hover { background: var(--ofm-petrol-100); }
.audience-option input { margin-top: 3px; }

.portfolio-card__placeholder--project { background: linear-gradient(135deg, #dceced, #eeeaf6); color: var(--ofm-purple-800); }
.portfolio-category-card--projects { border-top: 3px solid var(--ofm-petrol-500); }
.portfolio-card__price,
.portfolio-detail__price { color: var(--ofm-petrol-900); font-weight: 850; }
.portfolio-detail__price { margin: -6px 0 16px; font-size: 1.12rem; }
.portfolio-request-card { max-width: 860px; padding: 24px; border: 1px solid var(--ofm-border); border-radius: var(--ofm-radius-lg); background: white; box-shadow: var(--ofm-shadow-sm); }
.portfolio-request-form { display: grid; gap: 16px; }
.portfolio-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.portfolio-request-form label { display: grid; gap: 6px; font-weight: 750; }
.portfolio-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.portfolio-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 14px; border: 0; border-radius: 9px; background: var(--ofm-petrol-800); color: white; font-weight: 800; text-decoration: none; cursor: pointer; }
.portfolio-button--secondary { border: 1px solid var(--ofm-border-strong); background: white; color: var(--ofm-petrol-900); }
.portfolio-fineprint { color: var(--ofm-text-muted); font-size: 12px; }

@media (max-width: 1050px) {
  .member-offering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-offering-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .member-offering-grid,
  .related-offering-list,
  .portfolio-form-grid { grid-template-columns: 1fr; }
}


/* RC3 Hotfix 13 — consolidated workspaces */
.workspace-overview-grid,
.discover-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 14px 0 20px;
}
.workspace-overview-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workspace-overview-card .actions { margin-top: auto; }
.discover-hub__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--border-color, #d8dfdf);
  border-radius: 14px;
  text-decoration: none;
  background: var(--panel-background, #fff);
}
.discover-hub__card:hover { transform: translateY(-1px); }
.discover-hub__card span { color: var(--text-muted, #607070); font-size: .9rem; }
.configuration-nav {
  margin: 0 0 18px;
  position: sticky;
  top: 8px;
  z-index: 20;
  background: color-mix(in srgb, var(--page-background, #f6f8f8) 94%, transparent);
  backdrop-filter: blur(8px);
}
.configuration-nav > a { white-space: nowrap; }
.portfolio-subnav { margin-bottom: 18px; }
@media (max-width: 760px) {
  .configuration-nav { position: static; }
  .workspace-overview-grid, .discover-hub__grid { grid-template-columns: 1fr; }
}

/* RC3 Hotfix 15 - safe customisation workspace and icon system */
.ui-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.14em;
}
.side-nav__symbol--icon {
  display: inline-grid;
  place-items: center;
}
.side-nav__symbol--icon .ui-icon { width: 18px; height: 18px; }
.portfolio-nav__icon { width: 18px; height: 18px; }
.button__icon { width: 16px; height: 16px; }
.button__label { min-width: 0; }
.button:has(.button__icon),
a.button:has(.button__icon) { display: inline-flex; align-items: center; gap: 8px; }

.customization-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.customization-summary-card h2 { margin-top: 4px; }
.customization-swatch-row { display: flex; gap: 7px; margin: 14px 0 18px; }
.customization-swatch {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 9px;
  background: var(--swatch-color);
  box-shadow: var(--ofm-shadow-sm);
}

.customization-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 22px;
  align-items: start;
}
.customization-editor__main { min-width: 0; }
.customization-editor__preview { min-width: 0; }
.customization-preview-sticky {
  position: sticky;
  top: calc(var(--ofm-topbar-height) + 18px);
  padding: 18px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-md);
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-md);
}
.customization-preview-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 13px; }
.customization-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}
.customization-color-field { margin-bottom: 0; }
.customization-color-control {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.customization-color-control input[type="color"] {
  width: 50px;
  height: 42px;
  padding: 3px;
  border-radius: var(--ofm-radius-sm);
}
.customization-color-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.customization-disclosure {
  margin-top: 14px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-md);
  background: var(--ofm-surface-muted);
  overflow: clip;
}
.customization-disclosure > summary {
  cursor: pointer;
  padding: 13px 15px;
  font-weight: 800;
  background: var(--ofm-surface);
}
.customization-disclosure[open] > summary { border-bottom: 1px solid var(--ofm-border); }
.customization-label-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 16px;
}
.customization-label-grid small,
.customization-menu-row small { display: block; color: var(--ofm-text-muted); font-size: 11px; }
.customization-menu-table { display: grid; gap: 1px; background: var(--ofm-border); }
.customization-menu-row {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(180px, 1fr) minmax(160px, .65fr);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--ofm-surface);
}
.customization-menu-row .field { margin: 0; }
.customization-menu-row--button { grid-template-columns: minmax(170px, 1fr) 1fr minmax(180px, .7fr); }
.customization-publish-bar {
  position: sticky;
  bottom: 12px;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--ofm-border-strong);
  border-radius: var(--ofm-radius-md);
  background: color-mix(in srgb, var(--ofm-surface) 94%, transparent);
  box-shadow: var(--ofm-shadow-md);
  backdrop-filter: blur(12px);
}
.customization-publish-bar span { display: block; color: var(--ofm-text-muted); font-size: 12px; }
.customization-reset-panel { margin-top: 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }

.customization-preview {
  --preview-primary: var(--ofm-petrol-700);
  --preview-secondary: var(--ofm-purple-800);
  --preview-canvas: var(--ofm-canvas);
  --preview-surface: var(--ofm-surface);
  --preview-text: var(--ofm-text);
  --preview-muted: var(--ofm-text-muted);
  --preview-sidebar-start: var(--ofm-sidebar-start, var(--ofm-petrol-900));
  --preview-sidebar-end: var(--ofm-sidebar-end, var(--ofm-purple-800));
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius-md);
  background: var(--preview-canvas);
  color: var(--preview-text);
}
.customization-preview__sidebar {
  padding: 14px 10px;
  background: linear-gradient(180deg, var(--preview-sidebar-start), var(--preview-sidebar-end));
  color: white;
}
.customization-preview__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.customization-preview__brand strong,
.customization-preview__brand small { display: block; }
.customization-preview__brand small { opacity: .7; font-size: 9px; }
.customization-preview__logo,
.customization-preview__mark { width: 28px; height: 28px; border-radius: 8px; background: white; color: var(--preview-secondary); display: grid; place-items: center; object-fit: contain; font-weight: 900; font-size: 9px; }
.customization-preview__group { margin: 0 8px 6px; opacity: .65; text-transform: uppercase; letter-spacing: .08em; font-size: 8px; font-weight: 800; }
.customization-preview__nav-item { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; font-size: 10px; font-weight: 700; }
.customization-preview__nav-item:first-of-type { background: rgba(255,255,255,.13); }
.customization-preview__nav-icon { width: 13px; height: 13px; }
.customization-preview__content { padding: 22px; background: var(--preview-canvas); color: var(--preview-text); }
.customization-preview__content h2 { margin: 2px 0 8px; color: var(--preview-text); }
.customization-preview__content p { color: var(--preview-muted); }
.customization-preview__button { pointer-events: none; font-size: 10px; min-height: 30px; padding: 6px 9px; }
.customization-preview__button:not(.button--secondary) { background: var(--preview-primary); border-color: var(--preview-primary); }
.customization-preview__cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.customization-preview__cards article { padding: 12px; border: 1px solid color-mix(in srgb, var(--preview-text) 12%, transparent); border-radius: 10px; background: var(--preview-surface); }
.customization-preview__cards strong,
.customization-preview__cards small { display: block; }
.customization-preview__cards small { margin-top: 5px; color: var(--preview-muted); font-size: 9px; }

@media (max-width: 1180px) {
  .customization-editor { grid-template-columns: 1fr; }
  .customization-editor__preview { order: -1; }
  .customization-preview-sticky { position: static; }
  .customization-summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .customization-color-grid,
  .customization-label-grid,
  .customization-summary-grid { grid-template-columns: 1fr; }
  .customization-menu-row,
  .customization-menu-row--button { grid-template-columns: 1fr; }
  .customization-preview { grid-template-columns: 110px minmax(0,1fr); }
  .customization-preview__content { padding: 14px; }
  .customization-preview__cards { grid-template-columns: 1fr; }
  .customization-publish-bar,
  .customization-reset-panel { position: static; display: grid; }
}


/* 3.1 navigation hierarchy: section controls are intentionally distinct from destinations. */
.app-sidebar .sidebar-group > summary {
  position: relative;
  min-height: 38px;
  margin: 8px 0 5px;
  padding: 8px 30px 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 3px 0 0 rgba(255,255,255,.28);
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.app-sidebar .sidebar-group > summary:hover {
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.13);
  color: #fff;
}
.app-sidebar .sidebar-group[open] > summary {
  border-color: rgba(255,255,255,.28);
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  box-shadow: inset 3px 0 0 rgba(255,255,255,.62);
  color: #fff;
}
.app-sidebar .sidebar-group > summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 650;
  opacity: .72;
}
.app-sidebar .sidebar-group[open] > summary::after { content: "-"; }
.app-sidebar .sidebar-group .side-nav {
  margin-left: 5px;
  padding-left: 7px;
  border-left: 1px solid rgba(255,255,255,.10);
}
.sidebar-collapsed .sidebar-group > summary {
  padding-inline: 8px;
  box-shadow: none;
}
.sidebar-collapsed .sidebar-group > summary::after { display: none; }


/* 3.1 resource pools and booking-policy presentation */
.resource-pool-unit-list { display: grid; gap: 8px; margin-top: 14px; }
.resource-pool-unit-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--ofm-border); border-radius: 10px; background: var(--ofm-surface-subtle, #f8fafb); }
.resource-pool-unit-row > div:first-child { display: grid; gap: 2px; }
.resource-pool-unit-row small { color: var(--ofm-text-muted); }
.booking-limit-rules { display: grid; gap: 10px; margin: 10px 0; }
.booking-limit-rule { padding: 12px; border: 1px solid var(--ofm-border); border-radius: 10px; background: var(--ofm-surface-subtle, #f8fafb); }
@media (max-width: 760px) { .resource-pool-unit-row { grid-template-columns: 1fr auto; } .resource-pool-unit-row .table-actions { grid-column: 1 / -1; } }

/* 3.1 RC6 — cross-browser boolean controls and calendar interaction */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  width: 18px !important;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 18px;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--ofm-petrol-700, #126b75);
  background: initial;
  box-shadow: none;
  vertical-align: middle;
  cursor: pointer;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 3px solid rgba(0, 125, 148, 0.22);
  outline-offset: 2px;
}

.checkbox,
.field--checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
}

.checkbox > input[type="checkbox"],
.checkbox > input[type="radio"],
.field--checkbox > input[type="checkbox"],
.field--checkbox > input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
}

.checkbox > label,
.field--checkbox > label {
  grid-column: 2;
  margin: 0;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox > .field-help,
.checkbox > .field-hint,
.field--checkbox > .field-help,
.field--checkbox > .field-hint {
  grid-column: 2;
  margin: 0;
}

.checkbox-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 4px 10px;
  min-height: 0;
  margin-bottom: 10px;
  padding: 11px 12px;
  border: 1px solid var(--ofm-border, #d8e0e3);
  border-radius: 10px;
  background: var(--ofm-surface-muted, #f7f9fa);
  color: var(--ofm-text, #24363e);
  cursor: pointer;
  box-shadow: none;
}

.checkbox-grid .checkbox-card { margin-bottom: 0; }

.checkbox-card > input[type="checkbox"],
.checkbox-card > input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  margin-top: 2px;
}

.checkbox-card > span,
.checkbox-card > label {
  grid-column: 2;
  margin: 0;
  min-width: 0;
}

.checkbox-card strong { line-height: 1.35; }
.checkbox-card small { margin-top: 3px; line-height: 1.4; }

.checkbox-card:hover {
  border-color: var(--ofm-petrol-500, #4d99a1);
  background: #fbfdfd;
}

.checkbox-card:focus-within {
  border-color: var(--ofm-petrol-700, #126b75);
  box-shadow: 0 0 0 3px rgba(0, 125, 148, 0.1);
}

/* :has() is progressive enhancement only; the native checked control remains
   fully visible and usable in browsers that do not support this selector. */
@supports selector(label:has(input:checked)) {
  .checkbox-card:has(input:checked) {
    border-color: var(--ofm-petrol-500, #4d99a1);
    background: var(--ofm-petrol-100, #eef8f8);
  }
}

.calendar-toolbar {
  position: relative;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--ofm-border, #d8e0e3);
  border-radius: 12px;
  background: var(--ofm-surface-muted, #f7f9fa);
}

.calendar-toolbar h2 {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.25;
}

.calendar-toolbar__navigation,
.calendar-toolbar__views { align-items: center; }

.calendar-toolbar__views {
  padding: 3px;
  border: 1px solid var(--ofm-border, #d8e0e3);
  border-radius: 9px;
  background: white;
}

.calendar-toolbar__views .button {
  min-width: 58px;
  border-color: transparent;
  box-shadow: none;
}

.calendar-toolbar__views .button.is-active {
  border-color: var(--ofm-petrol-700, #126b75);
  background: var(--ofm-petrol-700, #126b75);
  color: white;
}

.calendar-nav-button { display: inline-flex; align-items: center; gap: 6px; }

.calendar-viewport {
  position: relative;
  max-height: 72vh;
  overflow: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  border: 1px solid var(--ofm-border, #d8e0e3);
  border-radius: 12px;
  background: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 5px 18px rgba(24,48,58,.05);
}

.calendar-viewport--master { max-height: 74vh; }

.calendar-grid {
  border: 0;
  border-radius: 0;
  background: white;
}

.calendar-corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
  background: #f6f9fa;
  box-shadow: 1px 1px 0 var(--ofm-border, #d8e0e3);
}

.calendar-day-heading {
  z-index: 8;
  min-height: 64px;
  padding: 7px 5px;
  background: rgba(247,250,251,.97);
  box-shadow: 0 1px 0 var(--ofm-border, #d8e0e3);
  backdrop-filter: blur(8px);
}

.calendar-day-heading span {
  color: var(--ofm-text-muted, #62747b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.calendar-day-heading strong {
  line-height: 1;
  font-size: 21px;
}

.calendar-day-heading small {
  margin-top: 2px;
  color: var(--ofm-text-muted, #62747b);
  font-size: 10px;
}

.calendar-day-heading--today {
  color: var(--ofm-petrol-900, #16454c);
  background: var(--ofm-petrol-100, #eef8f8);
}

.calendar-day-heading--today strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ofm-petrol-700, #126b75);
  color: white;
}

.calendar-day-heading--weekend:not(.calendar-day-heading--today) { background: #fafbfc; }

.calendar-time-column {
  position: sticky;
  left: 0;
  z-index: 6;
  background: rgba(249,251,252,.98);
  box-shadow: 1px 0 0 var(--ofm-border, #d8e0e3);
}

.calendar-time-label {
  padding: 3px 8px;
  border-top-color: #edf1f2;
  color: #718188;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.calendar-day-column--today .calendar-slot { background: rgba(238,248,248,.22); }
.calendar-day-column--today .calendar-slot:hover { background: rgba(218,241,242,.72); }

.calendar-slot {
  cursor: crosshair;
  transition: background-color .12s ease;
}

.calendar-slot:hover,
.calendar-slot:active { transform: none; }

.calendar-event,
.facility-event {
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid rgba(18, 44, 54, .14);
  border-left-width: 3px;
  border-radius: 7px;
  padding: 5px 7px;
  box-shadow: 0 2px 7px rgba(20,35,42,.12);
  transition: box-shadow .14s ease, filter .14s ease;
}

.calendar-event:hover,
.facility-event:hover {
  transform: none;
  filter: brightness(.98);
  box-shadow: 0 5px 14px rgba(20,35,42,.18);
}

.calendar-event:focus-visible,
.facility-event:focus-visible {
  outline: 3px solid rgba(0, 125, 148, .25);
  outline-offset: 2px;
}

.facility-event { z-index: 3; }
.facility-event--unavailability { z-index: 2; }

.facility-event strong,
.calendar-event strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.facility-event__status {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
}

.calendar-now-line {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  height: 0;
  border-top: 2px solid #d94d4d;
  pointer-events: none;
}

.calendar-now-line::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d94d4d;
}

.calendar-now-line span {
  position: absolute;
  left: 5px;
  top: -10px;
  padding: 1px 4px;
  border-radius: 4px;
  background: #d94d4d;
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.calendar-loading,
.calendar-error {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: 0;
  padding: 30px;
}

.calendar-loading { color: var(--ofm-text-muted, #62747b); }

.calendar-legend__hint {
  margin-left: auto;
  color: var(--ofm-text-muted, #62747b);
  font-style: italic;
}

.facility-calendar-filters {
  margin-bottom: 12px;
  padding: 12px 12px 0;
  border: 1px solid var(--ofm-border, #d8e0e3);
  border-radius: 12px;
  background: #fbfcfc;
}

.calendar-event-dialog__body { padding: 0 24px 8px; }

.calendar-event-details {
  display: grid;
  grid-template-columns: minmax(105px, auto) minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.calendar-event-details dt {
  color: var(--ofm-text-muted, #62747b);
  font-size: 12px;
  font-weight: 800;
}

.calendar-event-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.calendar-event-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--ofm-border, #d8e0e3);
}

@media (max-width: 760px) {
  .calendar-toolbar {
    grid-template-columns: 1fr;
    padding: 9px;
  }

  .calendar-toolbar h2 {
    order: -1;
    text-align: left;
  }

  .calendar-toolbar__navigation,
  .calendar-toolbar__views { justify-content: flex-start; }

  .calendar-nav-button span { display: none; }
  .calendar-nav-button { min-width: 42px; justify-content: center; }
  .calendar-legend__hint { width: 100%; margin-left: 0; }
  .calendar-viewport { max-height: 68vh; }
  .calendar-grid { min-width: 420px; }
  .calendar-event-details { grid-template-columns: 1fr; gap: 2px; }
  .calendar-event-details dd { margin-bottom: 7px; }
}

/* Older WebKit benefits from an explicit native control type. */
input[type="checkbox"] { -webkit-appearance: checkbox; }
input[type="radio"] { -webkit-appearance: radio; }
input[type="checkbox"]:focus,
input[type="radio"]:focus { box-shadow: none; }
input[type="checkbox"]:disabled,
input[type="radio"]:disabled { cursor: not-allowed; opacity: .55; }
.calendar-event { right: auto; }
.calendar-event--unavailability { z-index: 2; }

/* --------------------------------------------------------------------------
   3.2 Dashboard preferences and named group bookings
   -------------------------------------------------------------------------- */
.dashboard-module-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.dashboard-module-option {
  min-height: 96px;
  align-items: flex-start;
}

.dashboard-module-option > span {
  display: grid;
  gap: 5px;
}

.dashboard-module-option strong { font-size: 14px; }
.dashboard-module-option small { line-height: 1.45; }

.dashboard-preferences-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.dashboard-group-activities {
  border-top: 3px solid color-mix(in srgb, var(--ofm-accent, var(--ofm-purple-600)) 72%, white);
}

.dashboard-booking--activity {
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--ofm-accent, var(--ofm-purple-600)) 8%, transparent),
      transparent 42%);
}

.booking-format-section {
  border-color: color-mix(in srgb, var(--ofm-accent, var(--ofm-purple-600)) 32%, var(--ofm-border));
  background: color-mix(in srgb, var(--ofm-accent, var(--ofm-purple-600)) 4%, var(--ofm-surface));
}

.group-booking-attendees {
  margin-top: 16px;
}

.group-attendee-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.group-attendee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px;
  border: 1px solid var(--ofm-border);
  border-radius: var(--ofm-radius, 10px);
  background: color-mix(in srgb, var(--ofm-surface) 95%, var(--ofm-canvas));
}

.group-attendee-row > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.group-attendee-row strong,
.group-attendee-row span,
.group-attendee-row small {
  overflow-wrap: anywhere;
}

.group-attendee-row span,
.group-attendee-row small {
  color: var(--ofm-muted-text);
}

.group-attendee-add-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding-top: 16px;
  border-top: 1px solid var(--ofm-border);
}

.group-attendee-add-form .field { margin: 0; }
.group-attendee-add-form select[multiple] { min-height: 150px; }

.button--small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .dashboard-preferences-reset,
  .group-attendee-row {
    align-items: stretch;
    flex-direction: column;
  }

  .group-attendee-add-form {
    grid-template-columns: 1fr;
  }
}

/* 3.2 RC3 — lifecycle/workflow views */
.workflow-tabs {
  display: flex;
  gap: .45rem;
  align-items: center;
  overflow-x: auto;
  padding: .25rem .1rem .55rem;
  margin: 0 0 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.workflow-tab {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: .55rem .8rem;
  border: 1px solid var(--ui-border, #d7dee3);
  border-radius: .7rem;
  background: var(--ui-surface, #fff);
  color: var(--ui-text, #1d2a31);
  text-decoration: none;
  font-weight: 650;
  line-height: 1.1;
}

.workflow-tab strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: rgba(0, 125, 148, .10);
  background: color-mix(in srgb, var(--ui-primary, #007d94) 10%, transparent);
  color: inherit;
  font-size: .78rem;
}

.workflow-tab:hover,
.workflow-tab:focus-visible {
  border-color: var(--ui-primary, #007d94);
  outline: none;
}

.workflow-tab.is-active {
  border-color: var(--ui-primary, #007d94);
  background: rgba(0, 125, 148, .08);
  background: color-mix(in srgb, var(--ui-primary, #007d94) 9%, var(--ui-surface, #fff));
  box-shadow: inset 0 -3px 0 var(--ui-primary, #007d94);
}

.workflow-tab.is-active strong {
  background: var(--ui-primary, #007d94);
  color: #fff;
}

.workflow-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  align-items: center;
  margin: -.25rem 0 1rem;
  color: var(--ui-muted-text, #64727a);
  font-size: .92rem;
}

.workflow-summary strong { color: var(--ui-text, #1d2a31); }

@media (max-width: 720px) {
  .workflow-tabs {
    margin-left: -.25rem;
    margin-right: -.25rem;
    padding-left: .25rem;
    padding-right: .25rem;
  }

  .workflow-tab {
    min-height: 2.7rem;
    padding: .62rem .78rem;
  }
}

/* 3.3 account lifecycle */
.panel--disabled-account {
  border-color: #f3c7c7;
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
}

.panel--disabled-account .section-heading h2 {
  color: #7b2f2f;
}
