/* Shared Placify workspace theme. */
html,
body,
body[data-dashboard] {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body.has-open-dialog {
  overflow: hidden;
  overscroll-behavior: none;
}
body[data-dashboard] {
  --paper: #f4f6fa;
  --line: #e4e7ee;
  --ink: #202333;
  --muted: #697184;
  font-size: 1rem;
  line-height: 1.5;
}
.dashboard-main,
.dash-content,
.live-panel,
.panel {
  min-width: 0;
  max-width: 100%;
}
body[data-dashboard] img,
body[data-dashboard] svg,
body[data-dashboard] video,
body[data-dashboard] canvas {
  max-width: 100%;
}
.dashboard-shell {
  grid-template-columns: 264px minmax(0, 1fr);
}
@media (min-width: 761px) {
  html,
  body,
  body[data-dashboard] {
    height: 100%;
    overflow: hidden;
  }
  .dashboard-shell {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .dash-sidebar,
  .admin-sidebar {
    position: relative;
    top: auto;
    height: 100dvh;
    overflow: hidden;
  }
  .dashboard-main {
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}
.dash-sidebar,
.admin-sidebar {
  padding: 28px 16px 20px;
  height: 100dvh;
  min-height: 0;
  background: #191724;
  color: #fff;
  border-color: #302c40;
  gap: 20px;
}
.dash-brand,
.admin-sidebar .dash-brand {
  width: 144px;
  margin: 0 16px 12px;
  filter: none;
  flex-shrink: 0;
}
.dash-brand img {
  filter: brightness(0) invert(1);
}
.dash-nav,
.admin-sidebar .dash-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #48405a transparent;
  padding: 2px;
}
.dash-nav a,
.admin-sidebar .dash-nav a {
  flex: none;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #bfc0d0;
  font-size: 0.875rem;
  line-height: 1.4;
  gap: 12px;
  transition:
    background 0.18s,
    color 0.18s;
}
.dash-nav a:hover,
.admin-sidebar .dash-nav a:hover {
  background: #292535;
  color: #fff;
}
.dash-nav a.active,
.admin-sidebar .dash-nav a.active {
  color: #fff;
  background: #7953c6;
  box-shadow: 0 4px 12px #0002;
}
.dash-nav svg,
.admin-sidebar .dash-nav svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.institution-sidebar { background:linear-gradient(180deg,#21122e,#4c2c70); }
.institution-sidebar .dash-nav > a > span:first-child { width:20px; height:20px; display:grid; place-items:center; font-size:17px; line-height:1; }
.institution-highlight { background:linear-gradient(135deg,#3c235a,#7750a8); }
.institution-connections { display:grid; gap:12px; }
.institution-connections .live-support { margin:0; }
.nav-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  min-width: 24px;
  height: 24px;
  background: #ffffff20;
}
.live-switch {
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-color: #373143;
  gap: 3px;
}
.live-switch a {
  min-height: 40px;
  font-weight: 500;
  font-size: 0.875rem;
}
.sidebar-bottom,
.admin-sidebar .sidebar-bottom {
  flex-shrink: 0;
  border-color: #373143;
  padding: 18px 12px 0;
}
.sidebar-help {
  background: #292535;
  padding: 14px;
}
.sidebar-help strong,
.dash-user strong {
  font-size: 0.875rem;
  color: #fff;
}
.sidebar-help p,
.sidebar-help a,
.dash-user small,
.admin-sidebar .dash-user small {
  font-size: 0.75rem;
  color: #bfc0d0;
  overflow-wrap: anywhere;
}
.dash-user {
  margin-top: 12px;
  min-width: 0;
}
.dash-user > span {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.875rem;
}
.dash-user > div {
  min-width: 0;
}
.dash-user strong {
  overflow-wrap: anywhere;
}
.dash-header {
  min-height: 76px;
  padding: 16px clamp(20px, 3vw, 44px);
  background: #ffffffed;
  border-color: var(--line);
  flex-wrap: wrap;
}
.dash-header p {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
}
.dash-header p strong {
  border-left: 1px solid #d9dce5;
  padding-left: 14px;
  font-weight: 600;
}
.dash-header-actions {
  flex-wrap: wrap;
}
.quiet-link {
  color: #606779;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 10px;
}
.dash-content {
  max-width: 1500px;
  padding: 32px clamp(20px, 3vw, 44px) 48px;
}
.page-heading {
  margin-bottom: 28px;
  align-items: center;
}
.page-heading > div {
  min-width: 0;
}
.page-heading span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #7750bd;
}
.page-heading h1 {
  font:
    800 clamp(1.65rem, 2.7vw, 2.35rem)/1.2 "Manrope",
    sans-serif;
  letter-spacing: -0.035em;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.page-heading p {
  font-size: 1rem;
  max-width: 720px;
}
.primary-dash-button,
.secondary-button,
.danger-outline,
.light-action {
  min-height: 44px;
  height: auto;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.primary-dash-button {
  background: #7953c6;
  box-shadow: 0 3px 8px #7953c622;
}
.primary-dash-button:hover {
  background: #6542ac;
}
.secondary-button:hover {
  background: #f5f3fa;
  border-color: #c9b8e6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ab8ae5;
  outline-offset: 3px;
}
.metric-grid {
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-card {
  padding: 22px;
  min-height: 134px;
  border-radius: 14px;
  box-shadow: 0 3px 12px #20233304;
}
.metric-card::after {
  display: none;
}
.metric-card > span {
  color: #697184;
  font-size: 0.875rem;
  font-weight: 500;
}
.metric-card strong {
  font:
    800 2rem/1.2 "Manrope",
    sans-serif;
  margin: 15px 0 0;
  letter-spacing: -0.03em;
}
.metric-card:first-child {
  border-top: 3px solid #7953c6;
  padding-top: 20px;
}
.live-panel {
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 3px 16px #20233304;
}
.live-panel .panel-head {
  min-height: 0;
  padding: 0 0 18px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.panel-head h2 {
  font:
    700 1.0625rem/1.5 "Manrope",
    sans-serif;
}
.panel-head a,
.panel-head button {
  font-size: 0.875rem;
  line-height: 1.5;
}
.panel-head .primary-dash-button {
  color: #fff;
  background: #7953c6;
  padding: 10px 16px;
}
.panel-head .secondary-button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: #fff;
}
.live-panel > p {
  color: #697184;
  font-size: 1rem;
}
.live-table-wrap {
  margin-top: 8px;
  border-radius: 10px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.live-table {
  font-size: 0.875rem;
  min-width: 640px;
}
.live-table th {
  background: #f6f7fa;
  color: #5e6577;
  padding: 13px 14px;
  font-size: 0.875rem;
  white-space: nowrap;
}
.live-table td {
  padding: 18px 14px;
  line-height: 1.5;
}
.live-table tbody tr:last-child td {
  border-bottom: 0;
}
.live-table tbody tr:hover {
  background: #fbfaff;
}
.live-table td:first-child {
  min-width: 170px;
}
.live-table small {
  font-size: 0.8125rem;
  color: #697184;
}
.live-table td .secondary-button {
  white-space: nowrap;
  padding: 9px 12px;
  min-height: 40px;
}
.table-pagination {
  min-height: 64px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e7e9ef;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 14px;
}
.pagination-summary,
.pagination-size {
  color: #697184;
  font-size: 0.8125rem;
}
.pagination-summary strong {
  color: #303545;
}
.pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pagination-pages button {
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #dfe2e9;
  border-radius: 9px;
  color: #565d6f;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 650;
  cursor: pointer;
}
.pagination-pages button:hover:not(:disabled),
.pagination-pages button.active {
  color: #fff;
  border-color: #7953c6;
  background: #7953c6;
}
.pagination-pages button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.pagination-gap {
  padding: 0 2px;
  color: #8a90a0;
}
.pagination-size {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination-size select {
  min-height: 38px;
  padding: 7px 30px 7px 10px;
  border: 1px solid #dfe2e9;
  border-radius: 9px;
  color: #303545;
  background: #fff;
  font: inherit;
}
.status-pill {
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 5px 10px;
  white-space: nowrap;
}
.live-empty {
  padding: 42px 20px;
  background: #fafbfe;
  border: 1px dashed #dfe3ec;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 1rem;
}
.live-empty h3 {
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 600;
}
.live-filters {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
  gap: 12px;
  align-items: center;
}
.live-filters input,
.live-filters select {
  min-height: 44px;
  font-size: 1rem;
  padding: 10px 12px;
}
.live-filters input {
  min-width: 150px;
}
.live-panel .form-grid,
.live-modal .form-grid {
  padding: 16px 0 0;
  gap: 22px;
}
.form-grid label,
.live-panel .form-grid label {
  font-size: 0.875rem;
  color: #4f5769;
  font-weight: 600;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  font-size: 1rem;
  min-height: 46px;
  height: auto;
  padding: 11px 13px;
  background: #fff;
  border-color: #d9dde7;
}
.form-grid textarea {
  min-height: 110px;
}
.form-grid small {
  font-size: 0.8125rem;
}
.live-check {
  font-weight: 500 !important;
  line-height: 1.6;
}
.live-check input {
  flex: 0 0 18px;
  min-height: 18px;
  padding: 0;
  accent-color: #7953c6;
}
.org-highlight {
  border-radius: 16px;
  background: #282137;
  padding: 26px;
}
.org-highlight::after {
  display: none;
}
.org-highlight span {
  font-size: 0.75rem;
}
.org-highlight h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.org-highlight p {
  font-size: 1rem;
  color: #d0c9dc;
  max-width: 680px;
}
.org-highlight .light-action {
  white-space: normal;
}
.pipeline {
  padding: 8px 0;
}
.pipeline-row {
  grid-template-columns: 140px minmax(0, 1fr) 44px;
  font-size: 0.875rem;
  gap: 18px;
}
.pipeline-row strong {
  font-size: 0.875rem;
}
.pipeline-row div {
  height: 9px;
  background: #edf0f5;
}
.live-queue-links {
  gap: 12px;
  padding: 16px 0;
}
.live-queue-links a {
  padding: 12px 16px;
  border: 1px solid #e4def0;
  border-radius: 10px;
  color: #6542ac;
  background: #faf8ff;
  text-decoration: none;
  font-size: 0.875rem;
}
.live-modal {
  border: 1px solid #e6e1ee;
  border-radius: 18px;
}
.live-modal .modal-head h2 {
  font:
    700 1.25rem/1.4 "Manrope",
    sans-serif;
  margin: 0;
}
.live-modal .modal-head button {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}
.live-document-list > div {
  gap: 14px;
}
.live-document-list a {
  color: #6542ac;
  overflow-wrap: anywhere;
}
.live-upload input {
  font-size: 0.875rem;
  width: 100%;
}
.live-upload input::file-selector-button {
  border: 1px solid #ded8e8;
  border-radius: 8px;
  padding: 10px;
  margin-right: 12px;
  background: #faf8ff;
  font: inherit;
  cursor: pointer;
}
.live-facts dt,
.live-message small,
.live-document-list small {
  font-size: 0.875rem;
}
.live-support,
.live-message {
  background: #fafbfe;
  border-radius: 12px;
}
.live-detail .company-initial {
  margin-bottom: 16px;
}
.organization-logo-manager {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 10px;
}
.organization-logo-manager > div:last-child {
  min-width: 0;
}
.organization-logo-manager p {
  margin: 0 0 14px;
  color: #697184;
}
.organization-logo-preview {
  width: 148px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2deea;
  border-radius: 18px;
  background: #faf9fc;
}
.organization-logo-preview img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.organization-logo-preview span {
  font:
    800 2rem/1 "Manrope",
    sans-serif;
  color: #7953c6;
}
.admin-role-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-role-guide article {
  padding: 20px;
  border: 1px solid #e2deea;
  border-radius: 16px;
  background: #faf9fc;
}
.admin-role-guide strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}
.admin-role-guide p {
  margin: 0;
  color: #697184;
  line-height: 1.6;
}
.interview-card {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #ddd4ed;
  border-radius: 14px;
  background: linear-gradient(145deg, #fbf9ff, #f3effa);
}
.interview-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.interview-card span {
  color: #7953c6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.interview-card h3 {
  margin: 4px 0 0;
  font:
    700 1.05rem/1.45 "Manrope",
    sans-serif;
}
.interview-card p {
  margin: 12px 0;
  color: #5f6575;
}
.interview-card .interview-privacy {
  font-size: 0.875rem;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e8e2f1;
}
.interview-slots {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}
.interview-slots label,
.group-candidates label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #ddd8e7;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.interview-slots input,
.group-candidates input {
  width: 18px;
  height: 18px;
  accent-color: #7953c6;
}
.group-candidates {
  border: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.group-candidates legend {
  margin-bottom: 10px;
  font-weight: 700;
  color: #303545;
}
.interview-note {
  padding: 12px;
  border-radius: 10px;
  background: #f7f5fb;
  color: #5f6575;
  font-size: 0.875rem;
}
.interview-meta {
  font-size: 0.82rem;
}
.interview-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.interview-controls .interview-calendar {
  flex: 1 0 100%;
}
.interview-calendar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}
.interview-calendar-head small {
  color: #7a8190;
}
.interview-calendar fieldset {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.interview-calendar legend {
  margin-bottom: 8px;
  color: #303545;
  font-weight: 750;
}
.interview-calendar .interview-slots {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.interview-calendar .interview-slots label {
  align-items: flex-start;
}
.interview-calendar .interview-slots label.selected {
  border-color: #7953c6;
  box-shadow: 0 0 0 2px rgb(121 83 198 / 12%);
}
.interview-calendar .interview-slots label.unavailable {
  cursor: not-allowed;
  opacity: 0.48;
}
.interview-calendar .interview-slots span {
  display: grid;
  gap: 4px;
  color: #303545;
  letter-spacing: 0;
  text-transform: none;
}
.interview-calendar .interview-slots span strong {
  font-size: 0.92rem;
}
.interview-calendar .interview-slots span small {
  color: #72798a;
  font-size: 0.72rem;
}
.availability-builder {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #e3dced;
  border-radius: 13px;
  background: #faf8fd;
}
.availability-builder > div {
  display: grid;
  align-content: center;
  gap: 3px;
}
.availability-builder > div small {
  color: #7a8190;
}
@media (max-width: 700px) {
  .availability-builder {
    grid-template-columns: 1fr;
  }
  .availability-builder > div:not(:first-child) {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #e3dced;
  }
  .interview-calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .interview-calendar .interview-slots {
    grid-template-columns: 1fr;
  }
}
.notification-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ded8e8;
  border-radius: 10px;
  background: #fff;
  color: #373044;
  text-decoration: none;
  font-size: 0.875rem;
}
.notification-button > span,
.dash-nav [data-notification-link] > span {
  color: #7953c6;
  font-size: 0.65rem;
}
.notification-button strong {
  font-weight: 650;
}
.notification-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #7953c6;
  color: #fff;
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1;
}
.dash-nav [data-notification-link] {
  position: relative;
}
.dash-nav [data-notification-link] .notification-count {
  margin-left: auto;
}
.notification-list {
  display: grid;
  gap: 10px;
}
.notification-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e6e1ec;
  border-radius: 14px;
  background: #fff;
  color: #272331;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.notification-item:hover {
  transform: translateY(-2px);
  border-color: #cfc2e5;
  box-shadow: 0 10px 24px rgba(43, 31, 66, 0.08);
}
.notification-item.unread {
  background: linear-gradient(135deg, #faf8ff, #f4effd);
  border-color: #d9cbed;
}
.notification-item strong {
  display: block;
  margin-bottom: 5px;
  font:
    700 1rem/1.4 "Manrope",
    sans-serif;
}
.notification-item p {
  margin: 0 0 8px;
  color: #5f6575;
  line-height: 1.55;
}
.notification-item small {
  color: #818797;
}
.notification-kind {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee8f8;
  color: #7953c6;
  font-size: 0.72rem;
}
.notification-arrow {
  align-self: center;
  color: #7953c6;
  font-size: 1.2rem;
}
.mobile-nav-more,
.mobile-nav-dialog {
  display: none;
}
@media (min-width: 761px) {
  .dash-header [data-action="menu"] {
    display: none;
  }
}
@media (max-width: 1100px) {
  .dashboard-shell {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  html,
  body,
  body[data-dashboard] {
    height: auto;
    overflow-y: auto;
  }
  .dashboard-shell {
    display: block;
    padding-bottom: calc(4rem + 32px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }
  .dashboard-main {
    height: auto;
    overflow: visible;
  }
  .dash-sidebar,
  .admin-sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: calc(82px + env(safe-area-inset-bottom));
    max-height: 35dvh;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    background: #191724;
    border-top: 1px solid #373143;
    display: block;
  }
  .dash-brand,
  .sidebar-bottom,
  .live-switch {
    display: none;
  }
  .dash-nav,
  .admin-sidebar .dash-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: auto;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: 4px;
    padding: 0;
  }
  .dash-nav > a:not([data-mobile-primary]),
  .admin-sidebar .dash-nav > a:not([data-mobile-primary]) {
    display: none;
  }
  .dash-nav > a,
  .admin-sidebar .dash-nav > a,
  .mobile-nav-more {
    min-width: 0;
    width: 100%;
    min-height: 66px;
    padding: 8px 4px;
    font-size: 0.72rem;
    line-height: 1.4;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: relative;
    text-align: center;
  }
  .mobile-nav-more {
    border: 0;
    border-radius: 10px;
    color: #bfc0d0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    cursor: pointer;
  }
  .mobile-nav-more.active {
    color: #fff;
    background: #7953c6;
  }
  .mobile-nav-more svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  .dash-nav svg {
    width: 22px;
    height: 22px;
  }
  .nav-count {
    position: absolute;
    top: 2px;
    right: 9px;
    font-size: 0.75rem;
    min-width: 20px;
    height: 20px;
    margin: 0;
  }
  .dash-header {
    min-height: 70px;
    padding: 12px 16px;
    gap: 10px;
    backdrop-filter: none;
  }
  .dash-header p {
    gap: 8px;
    font-size: 0.8125rem;
    flex-wrap: wrap;
  }
  .dash-header p strong {
    padding-left: 8px;
  }
  .dash-header-actions {
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
  }
  .dash-header .secondary-button {
    padding: 8px 12px;
  }
  .dash-header [data-action="menu"] {
    display: none;
  }
  .dash-header .quiet-link {
    padding: 8px;
    font-size: 0.8125rem;
  }
  .notification-button {
    padding: 8px 10px;
  }
  .notification-button strong {
    display: none;
  }
  .notification-list {
    gap: 8px;
  }
  .notification-item {
    padding: 15px 13px;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    gap: 10px;
  }
  .notification-kind {
    width: 24px;
    height: 24px;
  }
  .dash-content {
    padding: 24px 16px 32px;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric-card {
    min-height: 125px;
    padding: 18px 16px;
  }
  .metric-card:first-child {
    padding-top: 16px;
  }
  .metric-card strong {
    font-size: 1.8rem;
  }
  .live-panel {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .live-panel .panel-head {
    gap: 12px;
  }
  .live-table {
    min-width: 0;
  }
  .live-table tr {
    background: #fff;
    padding: 14px;
    margin: 12px 0;
    border-color: #e4e7ee;
  }
  .live-table td {
    padding: 8px 0;
    min-width: 0 !important;
  }
  .live-table td::before {
    font-size: 0.8125rem;
    color: #697184;
    font-weight: 500;
  }
  .live-table td:last-child {
    padding-bottom: 0;
  }
  .live-table .secondary-button {
    width: 100%;
    margin-top: 4px;
  }
  .table-pagination {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }
  .pagination-summary {
    text-align: center;
  }
  .pagination-pages {
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .pagination-pages button {
    flex: 0 0 auto;
  }
  .pagination-size {
    justify-self: stretch;
    justify-content: center;
  }
  .live-filters {
    gap: 10px;
  }
  .live-filters > * {
    width: 100%;
    flex: auto;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid label.full {
    grid-column: 1;
  }
  .form-grid input,
  .form-grid select,
  .form-grid textarea,
  .search-field input {
    min-width: 0;
    font-size: 16px;
  }
  .org-highlight {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
    gap: 18px;
  }
  .pipeline-row {
    grid-template-columns: 110px minmax(0, 1fr) 28px;
    gap: 10px;
  }
  .live-modal {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  }
  .live-modal .modal-actions {
    flex-wrap: wrap;
  }
  .live-facts > div {
    grid-template-columns: 1fr;
  }
  .organization-logo-manager {
    grid-template-columns: 1fr;
  }
  .organization-logo-preview {
    width: 120px;
  }
  .admin-role-guide {
    grid-template-columns: 1fr;
  }
  .mobile-nav-dialog[open] {
    display: block;
    width: calc(100% - 16px);
    max-width: 460px;
    max-height: min(68dvh, 620px);
    margin: 0 auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    inset: auto 8px calc(84px + env(safe-area-inset-bottom));
    border: 1px solid #e5dfeb;
    border-radius: 20px;
    color: #202333;
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 14, 28, .24);
    overflow-y: auto;
  }
  .mobile-nav-dialog::backdrop {
    background: rgba(20, 15, 26, .48);
    backdrop-filter: none;
  }
  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }
  .mobile-nav-head span {
    color: #7953c6;
    font-size: .75rem;
    font-weight: 700;
  }
  .mobile-nav-head h2 {
    margin: 2px 0 0;
    font: 800 1.4rem/1.2 "Manrope", sans-serif;
  }
  .mobile-nav-head button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    color: #4f4857;
    background: #f1edf5;
    font-size: 1.5rem;
  }
  .mobile-nav-dialog nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-nav-dialog nav a {
    min-width: 0;
    min-height: 50px;
    padding: 12px;
    border: 1px solid #e7e2ec;
    border-radius: 12px;
    color: #4f5769;
    background: #faf9fc;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-nav-dialog nav a.active {
    color: #6542ac;
    border-color: #d6c8ec;
    background: #f3eefb;
  }
  .mobile-nav-dialog nav svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }
  .dash-content > .page-heading,
  .dash-content > .metric-grid,
  .dash-content > .live-panel {
    animation: none !important;
  }
}

@media (max-width: 560px) {
  .dash-header > p {
    display: none;
  }
  .dash-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .dash-header .quiet-link {
    display: none;
  }
  .dash-nav,
  .admin-sidebar .dash-nav {
    max-width: calc(100vw - 20px);
  }
  .page-heading h1 {
    overflow-wrap: anywhere;
  }
  .form-grid input,
  .form-grid select,
  .form-grid textarea,
  .search-field input {
    min-width: 0;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .dash-content > .page-heading,
  .dash-content > .metric-grid,
  .dash-content > .live-panel {
    animation: workspace-in 0.3s ease-out both;
  }
  @keyframes workspace-in {
    from {
      opacity: 0.5;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
