:root {
  --bg: #f6f8f7;
  --panel: #ffffff;
  --panel-soft: #f9fbfa;
  --text: #1f2a2b;
  --muted: #637173;
  --border: #dce4e2;
  --teal: #177d72;
  --teal-dark: #0e5e56;
  --gold: #f2c14e;
  --coral: #e85c48;
  --green: #247a45;
  --blue: #2563a7;
  --violet: #6554b9;
  --shadow: 0 18px 45px rgba(23, 42, 46, 0.08);
  --radius: 3px;
  --nav-bg: #102322;
  --nav-text: #f6f8f7;
  --calendar-icon: #f2c14e;
}

body[data-theme="monay"] {
  --bg: #05070d;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-soft: rgba(255, 255, 255, 0.11);
  --text: #f7fbff;
  --muted: #aab8c8;
  --border: rgba(255, 255, 255, 0.14);
  --teal: #65e4ff;
  --teal-dark: #22a7ff;
  --gold: #42f58d;
  --coral: #ff5c73;
  --green: #42f58d;
  --blue: #22a7ff;
  --violet: #65e4ff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --nav-bg: #03120a;
  --nav-text: #f7fbff;
  --calendar-icon: #42f58d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, .panel, .tool-card, .list-row, .metric-card {
  border-radius: var(--radius);
}

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

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  background: linear-gradient(to right, var(--nav-bg) 0 292px, var(--bg) 292px 100%);
  transition: grid-template-columns 160ms ease;
}
.app-shell.nav-collapsed {
  grid-template-columns: 72px minmax(0, 1fr);
  background: linear-gradient(to right, var(--nav-bg) 0 72px, var(--bg) 72px 100%);
}
.side-nav {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: auto;
  align-self: stretch;
  overflow: visible;
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}
.side-nav-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}
.brand {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 800;
}
.brand.monumental-hr-brand {
  grid-template-columns: minmax(0, 1fr);
  min-height: 54px;
  padding: 2px 0;
}
.brand-logo {
  display: block;
  width: min(100%, 176px);
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.brand-wordmark {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.05;
  font-size: 17px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--calendar-icon);
  display: block;
}
.nav-collapse-button, .icon-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--nav-text);
  min-height: 38px;
  cursor: pointer;
}
.nav-list {
  display: grid;
  gap: 2px;
}
.side-link {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 8px;
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, 0.82);
}
.side-link:hover, .side-link:focus-visible, .side-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-left-color: var(--gold);
  outline: none;
}
.side-nav-foot {
  display: grid;
  gap: 2px;
  margin-top: 2px;
}
.side-nav-foot small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-transform: uppercase;
}
.nav-icon, .tool-icon {
  width: 22px;
  height: 22px;
  background: var(--gold);
  display: inline-block;
  flex: 0 0 auto;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.calendar-glyph, .icon-calendar { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3H7V2Zm8 0h2v3h-2V2ZM4 4h16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 6v10h16V10H4Zm3 3h3v3H7v-3Zm5 0h3v3h-3v-3Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3H7V2Zm8 0h2v3h-2V2ZM4 4h16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 6v10h16V10H4Zm3 3h3v3H7v-3Zm5 0h3v3h-3v-3Z'/%3E%3C/svg%3E"); }
.icon-dashboard { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3V3Zm10 0h8v5h-8V3ZM3 13h8v8H3v-8Zm10-3h8v11h-8V10Z'/%3E%3C/svg%3E"); -webkit-mask-image: inherit; }
.icon-people { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm8-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM2 21a6 6 0 0 1 12 0H2Zm11.5-1a7.5 7.5 0 0 0-2-4.6A5 5 0 0 1 22 19v2h-8.5Z'/%3E%3C/svg%3E"); }
.icon-assignment { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14v18H5V3Zm3 4h8v2H8V7Zm0 4h8v2H8v-2Zm0 4h5v2H8v-2Z'/%3E%3C/svg%3E"); }
.icon-work { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 3h5v15H3V6h5l1-3Zm1.5 3h3l-.4-1h-2.2l-.4 1ZM5 8v11h14V8H5Zm3 3h8v2H8v-2Z'/%3E%3C/svg%3E"); }
.icon-clock { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm1 5h-2v6l5 3 1-1.7-4-2.3V7Z'/%3E%3C/svg%3E"); }
.icon-time-off { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4V4Zm3 3v3h10V7H7Zm0 5v5h4v-5H7Zm6 0v2h4v-2h-4Z'/%3E%3C/svg%3E"); }
.icon-correction { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.5V21h3.5L17 10.5 13.5 7 3 17.5ZM15 5.5 17.5 3 21 6.5 18.5 9 15 5.5Z'/%3E%3C/svg%3E"); }
.icon-sheet { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h10l4 4v16H5V2Zm9 1v5h5M8 11h8v2H8v-2Zm0 4h8v2H8v-2Z'/%3E%3C/svg%3E"); }
.icon-message { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v13H8l-5 4V4Zm3 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E"); }
.icon-report { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h16v2H4v-2Zm2-9h3v7H6v-7Zm5-6h3v13h-3V5Zm5 3h3v10h-3V8Z'/%3E%3C/svg%3E"); }
.icon-settings { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m19.4 13.5 2.1 1.6-2 3.4-2.6-1a7 7 0 0 1-1.8 1l-.4 2.7h-4l-.4-2.7a7 7 0 0 1-1.8-1l-2.6 1-2-3.4 2.1-1.6a7 7 0 0 1 0-2l-2.1-1.6 2-3.4 2.6 1a7 7 0 0 1 1.8-1l.4-2.7h4l.4 2.7a7 7 0 0 1 1.8 1l2.6-1 2 3.4-2.1 1.6a7 7 0 0 1 0 2ZM12.7 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E"); }
.icon-audit { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm-1 14-4-4 1.4-1.4L11 13.2l5.6-5.6L18 9l-7 7Z'/%3E%3C/svg%3E"); }

.calendar-glyph, .icon-calendar { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3H7V2Zm8 0h2v3h-2V2ZM4 4h16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 6v10h16V10H4Zm3 3h3v3H7v-3Zm5 0h3v3h-3v-3Z'/%3E%3C/svg%3E"); }
.icon-dashboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3V3Zm10 0h8v5h-8V3ZM3 13h8v8H3v-8Zm10-3h8v11h-8V10Z'/%3E%3C/svg%3E"); }
.icon-people { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm8-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM2 21a6 6 0 0 1 12 0H2Zm11.5-1a7.5 7.5 0 0 0-2-4.6A5 5 0 0 1 22 19v2h-8.5Z'/%3E%3C/svg%3E"); }
.icon-assignment { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14v18H5V3Zm3 4h8v2H8V7Zm0 4h8v2H8v-2Zm0 4h5v2H8v-2Z'/%3E%3C/svg%3E"); }
.icon-work { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 3h5v15H3V6h5l1-3Zm1.5 3h3l-.4-1h-2.2l-.4 1ZM5 8v11h14V8H5Zm3 3h8v2H8v-2Z'/%3E%3C/svg%3E"); }
.icon-clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm1 5h-2v6l5 3 1-1.7-4-2.3V7Z'/%3E%3C/svg%3E"); }
.icon-time-off { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4V4Zm3 3v3h10V7H7Zm0 5v5h4v-5H7Zm6 0v2h4v-2h-4Z'/%3E%3C/svg%3E"); }
.icon-correction { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.5V21h3.5L17 10.5 13.5 7 3 17.5ZM15 5.5 17.5 3 21 6.5 18.5 9 15 5.5Z'/%3E%3C/svg%3E"); }
.icon-sheet { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h10l4 4v16H5V2Zm9 1v5h5M8 11h8v2H8v-2Zm0 4h8v2H8v-2Z'/%3E%3C/svg%3E"); }
.icon-message { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v13H8l-5 4V4Zm3 4v2h12V8H6Zm0 4v2h8v-2H6Z'/%3E%3C/svg%3E"); }
.icon-report { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h16v2H4v-2Zm2-9h3v7H6v-7Zm5-6h3v13h-3V5Zm5 3h3v10h-3V8Z'/%3E%3C/svg%3E"); }
.icon-settings { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m19.4 13.5 2.1 1.6-2 3.4-2.6-1a7 7 0 0 1-1.8 1l-.4 2.7h-4l-.4-2.7a7 7 0 0 1-1.8-1l-2.6 1-2-3.4 2.1-1.6a7 7 0 0 1 0-2l-2.1-1.6 2-3.4 2.6 1a7 7 0 0 1 1.8-1l.4-2.7h4l.4 2.7a7 7 0 0 1 1.8 1l2.6-1 2 3.4-2.1 1.6a7 7 0 0 1 0 2ZM12.7 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E"); }
.icon-audit { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm-1 14-4-4 1.4-1.4L11 13.2l5.6-5.6L18 9l-7 7Z'/%3E%3C/svg%3E"); }
.nav-icon, .tool-icon, .brand-mark, .sms-preview-link .calendar-glyph {
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
}

.app-shell.nav-collapsed .nav-label, .app-shell.nav-collapsed .side-nav-foot { display: none; }
.app-shell.nav-collapsed .side-nav-head { grid-template-columns: 1fr; }
.app-shell.nav-collapsed .brand, .app-shell.nav-collapsed .side-link { grid-template-columns: 1fr; justify-items: center; }
.app-shell.nav-collapsed .brand.monumental-hr-brand {
  min-height: 48px;
  padding: 0;
}
.app-shell.nav-collapsed .brand-logo {
  width: 42px;
  max-height: 42px;
  object-position: center;
}
.app-shell.nav-collapsed .brand-wordmark { display: none; }
.app-shell.nav-collapsed .side-link::after, .app-shell.nav-collapsed .nav-collapse-button::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  background: #0b1717;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 9px;
  white-space: nowrap;
  z-index: 20;
}
.app-shell.nav-collapsed .side-link:hover::after,
.app-shell.nav-collapsed .side-link:focus-visible::after,
.app-shell.nav-collapsed .nav-collapse-button:hover::after,
.app-shell.nav-collapsed .nav-collapse-button:focus-visible::after { opacity: 1; }

.workspace {
  min-width: 0;
  padding: 18px;
}
.topbar {
  display: grid;
  grid-template-columns: minmax(260px, 560px) auto;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.global-search {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 7px 10px;
}
.global-search input, input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  min-height: 38px;
  padding: 8px 10px;
}
.global-search input { border: 0; background: transparent; padding: 0; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  background: var(--panel);
  color: var(--text);
  border-color: var(--border);
}
.top-comm-button .nav-icon {
  width: 22px;
  height: 22px;
  background: var(--teal-dark);
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 7px 10px;
}
.avatar, .time {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.page-heading, .welcome-row, .panel, .pulse-strip, .metric-card, .tool-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.page-heading, .welcome-row, .panel { padding: 20px; margin-bottom: 16px; }
.welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.eyebrow, small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, p { margin-top: 0; }
h1 { font-size: 32px; margin-bottom: 8px; }
h2 { font-size: 20px; margin-bottom: 6px; }
.muted, .welcome-copy, .policy-note { color: var(--muted); }
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.primary-button, .secondary-button, .danger-button, .text-link, button {
  border: 1px solid var(--border);
  min-height: 38px;
  padding: 8px 12px;
  cursor: pointer;
}
.primary-button { background: var(--teal); color: #fff; border-color: var(--teal); }
body[data-theme="monay"] .primary-button { background: linear-gradient(135deg, #42f58d, #65e4ff); color: #03120a; border: 0; }
.secondary-button { background: var(--panel-soft); color: var(--text); }
.danger-button { background: var(--coral); color: #fff; border-color: var(--coral); }
button:disabled { opacity: .48; cursor: not-allowed; }

.create-wrap { position: relative; }
.create-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  min-width: 240px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 5;
}
.create-menu a { padding: 10px; border-bottom: 1px solid var(--border); }
.create-menu a:hover, .create-menu a:focus-visible {
  background: var(--panel-soft);
  color: var(--teal-dark);
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.pulse-strip {
  display: grid;
  grid-template-columns: 1.5fr repeat(6, minmax(110px, 1fr));
  gap: 1px;
  background: var(--nav-bg);
  color: var(--nav-text);
  margin-bottom: 16px;
}
.pulse-strip > div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.pulse-strip small,
.pulse-strip span,
.pulse-strip strong {
  min-width: 0;
  max-width: 100%;
}
.pulse-strip strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.pulse-strip .pulse-status {
  font-size: 14px;
  line-height: 1.15;
  text-transform: none;
  white-space: nowrap;
  word-break: normal;
}
.pulse-intro strong { font-size: 14px; }
.dashboard-grid, .two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}
.tool-grid, .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tool-card, .metric-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
}
.tool-card.is-glowing { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); }
.tool-icon { width: 30px; height: 30px; background: var(--calendar-icon); }
.focus-panel { display: grid; gap: 10px; }
.list-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}
.communication-history-panel,
.communication-history-list,
.communication-record-row {
  min-width: 0;
  max-width: 100%;
}
.communication-record-row {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-items: start;
}
.communication-record-row > strong,
.communication-record-row > span,
.communication-record-row > small {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}
.communication-record-row > small {
  justify-self: start;
  text-align: left;
  color: var(--muted);
}
.work-order-list-panel,
.work-order-list,
.work-order-row {
  min-width: 0;
  max-width: 100%;
}
.work-order-row {
  width: 100%;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  padding-block: 14px;
}
.work-order-row > strong,
.work-order-row > span,
.work-order-row > small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.work-order-row > strong {
  font-size: 14px;
}
.work-order-row > span {
  color: var(--muted);
}
.work-order-row > small {
  color: var(--text);
  font-weight: 850;
}
.assignment-list-panel,
.assignment-list,
.assignment-row {
  min-width: 0;
  max-width: 100%;
}
.assignment-row {
  width: 100%;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  padding-block: 14px;
}
.assignment-row > strong,
.assignment-row > span,
.assignment-row > small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}
.assignment-row > strong {
  font-size: 14px;
}
.assignment-row > span {
  color: var(--muted);
}
.assignment-row > small {
  color: var(--text);
  font-weight: 850;
}
.focus-panel a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}
.focus-panel a > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.focus-panel strong,
.focus-panel small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.list-stack { display: grid; gap: 8px; }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.collapse-toggle {
  min-width: 94px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stack-form { grid-template-columns: 1fr; }
.exact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wide { grid-column: 1 / -1; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.check-line { display: flex; gap: 8px; align-items: center; }
.check-line input { width: auto; min-height: auto; }
.check-field {
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
  padding: 12px;
}
.check-field label { font-weight: 400; }
.toolbar-form {
  display: flex;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.picker-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 12px;
  padding: 10px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}
.picker-tools.wide { grid-column: 1 / -1; }
.picker-note {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin: 4px 0 10px;
}
.calendar-feeds-panel {
  display: grid;
  gap: 12px;
}
.feed-help-button {
  min-width: 76px;
}
.feed-help-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.feed-help-panel[hidden] {
  display: none;
}
.feed-help-panel h3 {
  margin: 0;
  font-size: 14px;
}
.feed-help-panel ol,
.feed-help-panel ul {
  margin: 0;
  padding-left: 22px;
}
.feed-help-panel li {
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.feed-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.feed-copy-box small {
  grid-column: 1 / -1;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.feed-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feed-create-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.feed-list-heading {
  margin: 8px 0 0;
}
.feed-list {
  display: grid;
  gap: 8px;
}
.feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.feed-row strong,
.feed-row span,
.feed-row small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.feed-row span,
.feed-row small {
  color: var(--muted);
}
.feed-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.feed-actions form {
  margin: 0;
}
.clock-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  border-left: 5px solid var(--gold);
}
.time-clock-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 16px;
  align-items: start;
}
.clock-command-panel, .clock-summary-panel {
  display: grid;
  gap: 14px;
}
.clock-status-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 14%, var(--panel)), var(--panel-soft));
  border: 1px solid var(--border);
}
.state-live {
  background: var(--nav-bg);
  color: var(--nav-text);
  border-color: transparent;
  font-size: 13px;
  padding: 7px 10px;
}
.clock-selector-strip,
.clock-assignment-strip {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}
.clock-selector-strip .picker-note {
  grid-column: 1 / -1;
  margin: 0;
}
.clock-assignment-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}
.clock-action-form {
  display: grid;
  gap: 12px;
}
.clock-action-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
}
.clock-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  min-height: 92px;
  padding: 14px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 5px solid var(--teal);
  text-align: left;
  box-shadow: 0 10px 24px rgba(23, 42, 46, 0.06);
}
.clock-action span {
  font-size: 19px;
  font-weight: 800;
}
.clock-action small {
  text-transform: none;
  letter-spacing: 0;
}
.clock-action:hover:not(:disabled),
.clock-action:focus-visible:not(:disabled) {
  border-left-color: var(--gold);
  outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent);
  outline-offset: 1px;
}
.clock-action-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.clock-action-primary small,
.clock-action-danger small {
  color: rgba(255, 255, 255, 0.82);
}
.clock-action-danger {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  border-left-color: color-mix(in srgb, var(--coral) 60%, #000);
}
.clock-action:disabled {
  background: var(--panel-soft);
  border-left-color: var(--border);
  color: var(--muted);
  opacity: 1;
  box-shadow: none;
}
.clock-action:disabled small {
  color: var(--muted);
}
.lockup-line {
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}
.clock-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.clock-metrics > div {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}
.clock-metrics strong {
  font-size: 22px;
}
.clock-timeline {
  display: grid;
  gap: 8px;
}
.compact-check-field {
  max-height: 240px;
  overflow: auto;
  align-content: start;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.inline-form textarea, .inline-form input { width: 180px; }

.schedule-grid {
  display: grid;
  grid-template-columns: 180px repeat(var(--day-count), minmax(118px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--border);
}
.employee-head, .day-head, .employee-cell, .schedule-cell {
  min-height: 82px;
  padding: 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.employee-head, .day-head { background: var(--panel-soft); font-weight: 800; }
.employee-cell { position: sticky; left: 0; z-index: 2; }
.schedule-cell {
  display: grid;
  gap: 4px;
  align-content: start;
}
.schedule-cell button {
  min-height: 30px;
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.schedule-off button { background: var(--muted); border-color: var(--muted); }
.schedule-on-call button { background: var(--blue); border-color: var(--blue); }
.blocked { outline: 2px solid var(--coral); }
.state-chip {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.clock-status-bar .state-chip {
  background: var(--nav-bg);
  color: var(--nav-text);
  border-color: transparent;
  flex: 0 0 auto;
  font-size: 13px;
  padding: 7px 10px;
  white-space: nowrap;
}
.warning-text { color: var(--coral); font-weight: 700; }
.calendar-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--border);
}
.calendar-head, .calendar-day {
  min-height: 92px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px;
  background: var(--panel);
}
.calendar-head { min-height: auto; background: var(--panel-soft); font-weight: 800; }
.calendar-day { display: grid; align-content: start; gap: 5px; }
.calendar-day span { background: var(--teal); color: #fff; padding: 3px 5px; font-size: 12px; }
.calendar-day.is-muted { opacity: .45; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--border); padding: 9px; text-align: left; vertical-align: top; }
th { background: var(--panel-soft); }
.reports-grid { margin-bottom: 16px; }
.sms-preview-link {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
}
.sms-preview-link .calendar-glyph {
  width: 22px;
  height: 22px;
  background: var(--calendar-icon);
}
.flash-stack { display: grid; gap: 8px; margin-bottom: 12px; }
.flash { border: 1px solid var(--border); background: var(--panel); padding: 10px; margin: 0; }
.flash.error { border-color: var(--coral); }
.notification-window {
  width: min(360px, calc(100vw - 32px));
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.notification-header,
.notification-footer {
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.notification-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}
.notification-footer a {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}
.notification-header > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notification-header strong,
.notification-header small {
  white-space: nowrap;
}
.notification-header small {
  color: var(--muted);
  font-size: 12px;
}
.notification-header button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
}
.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--green);
}
.notification-message {
  min-height: 82px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  animation: notification-message 4s ease-in-out;
}
.notification-message > div {
  min-width: 0;
}
.notification-message strong {
  display: block;
  max-height: 38px;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.notification-message small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
}
.coral-notice { background: var(--coral); }
.blue-notice { background: var(--blue); }
.amber-notice { background: var(--gold); color: #1f2a2b; }
.green-notice { background: var(--green); }
.notification-progress {
  display: flex;
  gap: 4px;
}
.notification-progress i {
  width: 8px;
  height: 8px;
  background: var(--border);
}
.notification-progress i.active {
  width: 20px;
  background: var(--teal);
}
.notification-dot {
  width: 10px;
  height: 10px;
  display: block;
  background: var(--gold);
  position: absolute;
  top: 7px;
  right: 7px;
}

.greeting-page {
  background:
    radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 28rem),
    var(--bg);
}
.greeting-shell {
  min-height: 100vh;
  padding: 18px;
}
.greeting-content,
.greeting-topbar {
  width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.greeting-topbar {
  grid-template-columns: minmax(220px, 300px) minmax(280px, 560px) auto;
  align-items: center;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 12px;
}
.greeting-topbar .brand {
  color: var(--text);
}
.greeting-topbar .brand.monumental-hr-brand { min-height: 64px; }
.greeting-topbar .icon-button {
  border-color: var(--border);
  background: var(--panel-soft);
  color: var(--text);
}
.greeting-content {
  padding-bottom: 72px;
}
.greeting-page .welcome-row {
  margin-top: 18px;
}
.greeting-page .launch-working-dashboard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
}
.greeting-page .dashboard-grid {
  margin-bottom: 16px;
}
.greeting-page .tool-panel {
  min-width: 0;
}
.greeting-page .focus-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px;
}
.greeting-page .notification-window {
  right: 24px;
  bottom: 24px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
}
.page-head h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 820;
}
.page-head p {
  color: var(--muted);
  margin-bottom: 0;
}
.kicker {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.status-chip {
  min-width: 128px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.status-chip strong,
.status-chip span {
  display: block;
}
.status-chip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.action-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.command-button,
.text-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}
.command-button:hover,
.command-button:focus-visible {
  text-decoration: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 20%, transparent);
}
.command-button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.command-button.secondary {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}
.text-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
}
.grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.grid > *,
.dashboard-grid > *,
.two-column > * {
  min-width: 0;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.schedule-detail-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}
.schedule-detail-form button {
  align-self: end;
}
.schedule-inline-status {
  min-height: 24px;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}
.schedule-inline-status.error {
  color: var(--coral);
}
.schedule-grid-head {
  display: grid;
  grid-template-columns: 150px repeat(14, minmax(48px, 1fr));
  gap: 4px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.schedule-grid-head span {
  min-width: 0;
  padding: 6px 4px;
  border: 1px solid transparent;
}
.schedule-grid-head b,
.schedule-grid-head small {
  display: block;
}
.schedule-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.schedule-employee {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.schedule-employee strong,
.schedule-employee small {
  display: block;
}
.schedule-employee small {
  color: var(--muted);
  font-size: 11px;
}
.schedule-cells {
  display: grid;
  grid-template-columns: repeat(14, minmax(48px, 1fr));
  gap: 4px;
}
.schedule-cell-form {
  min-width: 0;
  min-height: 78px;
  padding: 5px;
  display: grid;
  gap: 3px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.schedule-cell-form.time-off-warning {
  border-color: color-mix(in srgb, var(--gold) 60%, var(--border));
}
.schedule-cell-form.time-off-blocked {
  border-color: color-mix(in srgb, var(--coral) 60%, var(--border));
  background: color-mix(in srgb, var(--coral) 7%, var(--panel));
}
.schedule-toggle {
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--text);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.schedule-on .schedule-toggle {
  background: color-mix(in srgb, var(--teal) 18%, var(--panel));
  border-color: var(--teal);
}
.schedule-on-call .schedule-toggle {
  background: color-mix(in srgb, var(--gold) 18%, var(--panel));
  border-color: var(--gold);
}
.schedule-off .schedule-toggle {
  background: var(--panel-soft);
  border-color: var(--border);
  color: var(--text);
}
.cell-date,
.schedule-cell-form em,
.schedule-cell-form small,
.cell-warning,
.publish-state {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
  line-height: 1.2;
}
.cell-warning {
  padding: 3px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-wrap: normal;
  word-break: normal;
  font-size: 9px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}
.cell-warning.warning {
  color: #9a6a00;
  border-color: color-mix(in srgb, var(--gold) 50%, var(--border));
}
.cell-warning.blocked {
  color: var(--coral);
  border-color: color-mix(in srgb, var(--coral) 50%, var(--border));
}
.cell-date,
.publish-state {
  color: var(--muted);
  text-transform: uppercase;
}
.schedule-cell-form em {
  color: var(--text);
  font-style: normal;
  font-weight: 800;
}
.record-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.record-summary span {
  min-height: 54px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.record-summary b {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}
.table-list {
  overflow-x: auto;
}
.table-list table {
  width: 100%;
  border-collapse: collapse;
}
.table-list th,
.table-list td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table-list th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.inline-field {
  min-width: 180px;
}
.mini-search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}
.badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.status-clocked_in,
.status-on_break,
.status-at_lunch {
  border-color: var(--teal);
  color: var(--teal);
}
.status-clocked_out {
  color: var(--muted);
}
.activity-list {
  display: grid;
  gap: 8px;
}
.audit-panel.is-collapsed {
  align-self: start;
}
.audit-panel [data-collapse-target][hidden] {
  display: none;
}
.activity-row {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
}
.activity-row > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 900;
}
.activity-row strong,
.activity-row small {
  display: block;
}
.activity-row small {
  color: var(--muted);
  font-size: 12px;
}
.empty-state {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}
.hr-workflow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.hr-workflow-grid .section-heading > div,
.hr-workflow-grid .section-heading > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.hr-workflow-grid .hr-record-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hr-workflow-grid .hr-record-form > div:first-child,
.hr-workflow-grid .hr-wide-field {
  grid-column: 1 / -1;
}
.compact-heading {
  margin-top: 18px;
}
.hr-mini-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.employee-hr-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hr-mini-summary > span,
.hr-mini-summary > a {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
}
.hr-mini-summary strong {
  overflow-wrap: anywhere;
}
.hr-mini-summary small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.hr-record-list {
  display: grid;
  gap: 10px;
}
.hr-record-form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(2, minmax(140px, 1fr)) minmax(180px, 1.2fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  border-radius: var(--radius);
}
.certification-record-form {
  grid-template-columns: minmax(120px, .9fr) repeat(3, minmax(130px, 1fr)) minmax(140px, 1fr);
}
.document-record-form {
  grid-template-columns: minmax(190px, 1.5fr) repeat(2, minmax(130px, 1fr)) minmax(96px, .6fr);
}
.hr-record-form > *,
.hr-record-form label {
  min-width: 0;
}
.hr-record-form strong,
.hr-record-form small {
  display: block;
  overflow-wrap: anywhere;
}
.hr-record-form small {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.hr-record-form input,
.hr-record-form select {
  width: 100%;
}
.hr-wide-field {
  grid-column: span 2;
}
body[data-current-page="communications"] .picker-tools {
  grid-template-columns: minmax(0, 1fr) auto;
}
body[data-current-page="communications"] .picker-note {
  grid-column: 1 / -1;
}
body[data-current-page="onboarding"] .list-row,
body[data-current-page="compliance"] .list-row,
body[data-current-page="documents"] .list-row,
body[data-current-page="reports"] .list-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-items: start;
}
body[data-current-page="onboarding"] .list-row > *,
body[data-current-page="compliance"] .list-row > *,
body[data-current-page="documents"] .list-row > *,
body[data-current-page="reports"] .list-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

@keyframes notification-message {
  0% { transform: translateY(4px); opacity: 0.35; }
  12%,
  86% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-3px); opacity: 0.35; }
}

@media (max-width: 1100px) {
  .hr-workflow-grid { grid-template-columns: 1fr; }
  .topbar { grid-template-columns: 1fr; }
  .pulse-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .two-column, .grid.two, .time-clock-console, .feed-create-grid { grid-template-columns: 1fr; }
  .tool-grid, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exact-grid, .settings-grid, .schedule-detail-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock-action-board { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .hr-record-form,
  .certification-record-form,
  .document-record-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hr-record-form > div:first-child,
  .hr-wide-field {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .hr-workflow-grid .hr-record-form { grid-template-columns: 1fr; }
  .hr-workflow-grid .hr-record-form > div:first-child,
  .hr-workflow-grid .hr-wide-field { grid-column: auto; }
  body[data-current-page="communications"] .picker-tools { grid-template-columns: 1fr; }
  body[data-current-page="communications"] .picker-note { grid-column: auto; }
  .app-shell, .app-shell.nav-collapsed {
    grid-template-columns: 1fr;
    background: var(--bg);
  }
  .side-nav {
    position: static;
    height: auto;
    padding: 10px;
  }
  .nav-collapse-button { display: none; }
  .nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-link, .brand { grid-template-columns: 30px minmax(0, 1fr); }
  .brand.monumental-hr-brand { grid-template-columns: minmax(0, 1fr); min-height: 54px; }
  .brand-logo { width: min(100%, 150px); max-height: 52px; }
  .app-shell.nav-collapsed .nav-label, .app-shell.nav-collapsed .side-nav-foot { display: block; }
  .workspace { padding: 12px; }
  .topbar, .welcome-row, .form-grid, .tool-grid, .metric-grid, .exact-grid, .clock-selector-strip, .clock-assignment-strip, .clock-action-board { grid-template-columns: 1fr; }
  .hr-mini-summary,
  .employee-hr-summary,
  .hr-record-form,
  .certification-record-form,
  .document-record-form {
    grid-template-columns: 1fr;
  }
  .hr-record-form > div:first-child,
  .hr-wide-field {
    grid-column: auto;
  }
  .welcome-row {
    display: grid;
    align-items: start;
    gap: 14px;
  }
  .welcome-row > div { min-width: 0; }
  .greeting-page .launch-working-dashboard {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .feed-copy-box, .feed-create-form, .feed-row { grid-template-columns: 1fr; }
  .feed-actions { justify-content: stretch; }
  .feed-actions form, .feed-actions button { width: 100%; }
  .clock-hero { display: grid; align-items: start; }
  .picker-tools { grid-template-columns: 1fr; }
  .notification-window {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
  .create-wrap { width: 100%; }
  .create-wrap .primary-button { width: 100%; }
  .create-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }
  .pulse-strip { grid-template-columns: 1fr; }
  .page-head {
    display: grid;
    align-items: start;
  }
  .page-head h1 {
    font-size: 30px;
  }
  .record-summary {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-heading > div,
  .section-heading-actions {
    min-width: 0;
  }
  .communication-record-row {
    grid-template-columns: 1fr;
  }
  .communication-record-row > small {
    justify-self: start;
    text-align: left;
  }
  .schedule-detail-form,
  .mini-search {
    width: 100%;
  }
  .mini-search input {
    flex: 1 1 160px;
    min-width: 0;
    width: auto;
  }
  .mini-search .command-button {
    flex: 0 0 auto;
  }
  .schedule-grid-head {
    display: none;
  }
  .schedule-row {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }
  .schedule-cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .schedule-cell-form {
    min-height: 96px;
  }
  h1 { font-size: 26px; }
  .calendar-board { grid-template-columns: 1fr; }
  .calendar-head { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
