/* Infobox toast notification */
.flareInfobox {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: rgba(245, 241, 232, 0.9);
  font:
    600 13px/1.4 "Montserrat",
    system-ui;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.flareInfobox.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.flareInfobox.info {
  border-color: rgba(206, 170, 73, 0.3);
}

.flareInfobox.success {
  border-color: rgba(80, 200, 120, 0.3);
  color: rgba(80, 200, 120, 0.95);
}

.flareInfobox.error {
  border-color: rgba(255, 80, 80, 0.3);
  color: rgba(255, 80, 80, 0.95);
}

.card {
  background: var(--shell-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: none;
}

.cardInset {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px;
}

.cardHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.blockHead p {
  margin: 4px 0 0;
}

.tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-family: "Montserrat", system-ui;
  font-weight: 500;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}

.tab:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.tab.active {
  border-color: rgba(206, 170, 73, 0.28);
  background: rgba(206, 170, 73, 0.1);
  box-shadow: none;
  font-weight: 600;
}

.tabPanel {
  display: none;
  width: 100%;
  min-width: 0;
}

.tabPanel.active {
  display: block;
  width: 100%;
  min-width: 0;
}

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--shell-button-bg);
  color: var(--text);
  padding: 10px 13px;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Montserrat", system-ui;
  font-weight: 700;
  white-space: nowrap;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #0b0904;
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn.gold {
  background: transparent;
  border-color: rgba(206, 170, 73, 0.6);
  color: rgba(206, 170, 73, 0.95);
}

.btn.gold:hover {
  background: rgba(206, 170, 73, 0.08);
  border-color: rgba(206, 170, 73, 0.9);
}

.btn.warn {
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.28);
  color: var(--warn);
}

.btn.danger {
  background: transparent;
  border-color: rgba(255, 155, 155, 0.3);
  color: var(--bad);
}

.btn.danger:hover {
  background: rgba(255, 155, 155, 0.08);
  border-color: rgba(255, 155, 155, 0.5);
}

.btn.tiny {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
  color: transparent !important;
}
.btn.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btnSpin 0.55s linear infinite;
  color: inherit;
  opacity: 1;
}
.btn.primary.loading::after {
  border-color: #0b0904;
  border-top-color: transparent;
}
.btn.danger.loading::after {
  border-color: var(--bad);
  border-top-color: transparent;
}
.btn.gold.loading::after {
  border-color: rgba(206, 170, 73, 0.9);
  border-top-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(238, 243, 251, 0.88);
}

.badge.good {
  background: rgba(52, 199, 89, 0.09);
  border-color: rgba(52, 199, 89, 0.28);
  color: #34c759;
}

.badge.warn {
  border-color: rgba(255, 209, 102, 0.38);
  color: var(--warn);
}

.badge.bad {
  border-color: rgba(255, 155, 155, 0.4);
  color: var(--bad);
}

.badge.soft {
  border-color: rgba(206, 170, 73, 0.28);
  color: var(--soft);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 780px;
  overflow: auto;
  padding-right: 4px;
}

.list.compact {
  max-height: 540px;
}

.item,
.timelineItem,
.queueCard {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 15, 21, 0.62);
  color: var(--text);
}

.item:hover,
.queueCard:hover {
  border-color: var(--borderHot);
}

.item.active {
  border-color: rgba(206, 170, 73, 0.62);
  box-shadow: 0 0 0 4px rgba(206, 170, 73, 0.1);
}

.queueCard {
  cursor: pointer;
}

.queueButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chipButton {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: "Montserrat", system-ui;
  font-weight: 700;
  font-size: 12px;
}

.chipButton:hover {
  border-color: rgba(206, 170, 73, 0.5);
}

.chipButton.active {
  border-color: rgba(206, 170, 73, 0.62);
  background: rgba(206, 170, 73, 0.12);
  box-shadow: 0 0 0 3px rgba(206, 170, 73, 0.1);
}

.metricCard {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
}

.metricLabel {
  font-size: 12px;
  font-family: "Montserrat", system-ui;
  font-weight: 700;
  color: rgba(238, 243, 251, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.metricValue {
  margin-top: 8px;
  font-size: 30px;
  font-family: "Montserrat", system-ui;
  font-weight: 700;
}

.metricSub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.eventDrawerMetricCard {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eventDrawerSummaryCard {
  min-height: 0;
}

.eventDrawerMetricBody {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.eventDrawerMetricActions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.eventDrawerGuestPreviewRow {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.eventDrawerGuestPreviewRow:first-child {
  padding-top: 0;
  border-top: 0;
}

.eventDrawerGuestPreviewCopy {
  min-width: 0;
  flex: 1 1 auto;
}

.eventDrawerGuestPreviewMain {
  display: grid;
  gap: 8px;
}

.eventDrawerGuestPreviewName {
  font-family: "Montserrat", system-ui;
  font-size: 13px;
  font-weight: 700;
  color: rgba(245, 241, 232, 0.95);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.eventDrawerGuestPreviewMeta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.eventDrawerGuestPreviewBadges {
  align-items: center;
}

.kv {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
}

.k {
  font-family: "Montserrat", system-ui;
  font-size: 12px;
  font-weight: 500;
  color: rgba(238, 243, 251, 0.68);
  text-transform: capitalize;
  letter-spacing: 0px;
  align-content: center;
}

.v {
  font-family: "Montserrat", system-ui;
  word-break: break-word;
}

.callout {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(10, 15, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  max-height: 520px;
  overflow: auto;
}

.miniPre {
  max-height: 180px;
  font-size: 11px;
  margin-top: 8px;
}

.detailSection {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.emptyState {
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.errorBox {
  border-style: solid;
  border-color: rgba(255, 155, 155, 0.25);
  background: rgba(255, 155, 155, 0.05);
}

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

.checkRow,
.toggleLine {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkRow label {
  color: #445166;
}

.checkRow {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.checkRow input,
.toggleLine input {
  width: auto;
}

.toggleLine {
  font-size: 13px;
}

.helperRow,
.metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metaRow {
  margin-top: 8px;
  gap: 6px;
}

.miniTable,
.reportTable,
.compareTable,
.reportBars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.miniHead,
.miniRow,
.reportTableHead,
.reportTableRow,
.compareHead,
.compareRow {
  display: grid;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.miniHead,
.reportTableHead,
.compareHead {
  font-family: "Montserrat", system-ui;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(238, 243, 251, 0.72);
}

.miniHead,
.miniRow {
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
}

.reportTableHead,
.reportTableRow {
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
}

.reportTableRow.compact4,
.reportTableHead.compact4 {
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
}

.compareHead,
.compareRow {
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  align-items: center;
}

.miniRow,
.reportTableRow,
.compareRow {
  font-size: 13px;
}

.miniFieldRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.reportBarRow {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 3fr 64px;
  gap: 10px;
  align-items: center;
}

.reportBarTrack,
.progressBar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.reportBarFill,
.progressBar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.progressBar span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.sparkRow {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sparkCol {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.sparkBar {
  width: 100%;
  max-width: 26px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  min-height: 4px;
}

.sparkLabel {
  font-size: 10px;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: 56px;
  overflow: hidden;
}

.sparkValue {
  font-size: 11px;
  color: rgba(238, 243, 251, 0.88);
}

.reportNote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.successBanner {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(90, 213, 154, 0.28);
  background: rgba(90, 213, 154, 0.07);
  color: var(--text);
}

.filtersCard {
  margin-bottom: 2px;
}

.workflowItem,
.personItem,
.eventItem,
.relationshipItem,
.documentItem,
.communicationTemplateItem,
.communicationDispatchItem,
.inboxThreadItem,
.reminderItem,
.ruleItem,
.formItem,
.duplicateCandidateItem,
.duplicateDecisionItem,
.coachingWorkflowItem,
.adminUserItem,
.matchmakerCaseItem,
.matchmakerCandidateItem {
  cursor: pointer;
}

.workflowItem .titleLine,
.personItem .titleLine,
.eventItem .titleLine,
.relationshipItem .titleLine,
.documentItem .titleLine,
.communicationTemplateItem .titleLine,
.communicationDispatchItem .titleLine,
.reminderItem .titleLine,
.ruleItem .titleLine,
.formItem .titleLine,
.duplicateCandidateItem .titleLine,
.duplicateDecisionItem .titleLine,
.coachingWorkflowItem .titleLine {
  margin-bottom: 2px;
}

.sectionMoveBtn,
.fieldMoveBtn {
  min-width: 36px;
  padding-inline: 0;
  display: inline-grid;
  place-items: center;
}

.inlineLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: "Montserrat", system-ui;
  font-weight: 700;
  color: rgba(238, 243, 251, 0.86);
}

.inlineLabel select {
  width: auto;
  min-width: 84px;
}

.alertCard {
  border-width: 1px;
  border-style: solid;
}

.dangerCard {
  border-color: rgba(255, 99, 99, 0.38);
  background: linear-gradient(
    180deg,
    rgba(86, 18, 24, 0.55),
    rgba(27, 15, 18, 0.88)
  );
}

.dangerCard h3 {
  margin: 0 0 4px;
}

.blockedCandidateItem {
  border-color: rgba(255, 99, 99, 0.25);
}

.cardInset strong {
  font-family: "Montserrat", system-ui;
  font-weight: 700;
}

.timelineItem a.btn {
  text-decoration: none;
}

.automationRuleMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 12px;
}

.automationRuleMeta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.monoBreak {
  display: block;
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
}

@media (max-width: 900px) {
  .reportSplit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .compareHead,
  .compareRow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kv,
  .checkGrid {
    grid-template-columns: 1fr;
  }

  .k {
    padding-top: 6px;
  }

  .publicHeader h1 {
    font-size: 30px;
  }
}

.sessionMenu {
  position: relative;
}

.sessionMenuTrigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 168px;
  min-height: 42px;
  padding: 6px 16px 6px 10px;
  border-radius: 999px;
}

.sessionAvatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(206, 170, 73, 0.14);
  border: 1px solid rgba(206, 170, 73, 0.24);
  font:
    700 12px/1 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.96);
}

.sessionIdentity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 86px;
  gap: 2px;
  line-height: 1.1;
}

.sessionIdentity > span:first-child {
  font:
    700 13px/1.1 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.96);
}

.sessionMenuPanel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 280px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 13, 15, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.sessionMenu.open .sessionMenuPanel {
  display: block;
}

.sessionMenuHeader {
  padding: 8px 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.sessionMenuItem {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font:
    600 13px/1.3 "Montserrat",
    system-ui;
  cursor: pointer;
}

.sessionMenuItem:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sessionMenuItem:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sessionMenuItem.danger {
  color: var(--bad);
}

.sessionMenuItemStack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.sessionMenuItemMeta {
  font:
    500 11px/1.2 "Montserrat",
    system-ui;
  color: var(--muted);
}

.timezoneModalCard {
  width: min(100%, 560px);
}

.notificationCenter {
  position: relative;
}

.notificationTrigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
}

.notificationBell {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}

.notificationBell svg {
  width: 20px;
  height: 20px;
  display: block;
}

.notificationCount {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 155, 155, 0.92);
  color: #18090a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-grid;
  place-items: center;
  font:
    700 11px/1 "Montserrat",
    system-ui;
}

.notificationPanel {
  width: min(380px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
}

.notificationPanelHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notificationSummaryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notificationStat {
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notificationStat .label {
  font:
    600 11px/1.1 "Montserrat",
    system-ui;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notificationStat strong {
  font:
    700 18px/1 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.98);
}

.notificationList {
  display: flex;
  flex-direction: column;
  max-height: min(50vh, 460px);
  overflow: auto;
  padding: 8px;
}

.notificationItem {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
}

.notificationItem:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notificationItem.unread {
  background: rgba(206, 170, 73, 0.08);
  border: 1px solid rgba(206, 170, 73, 0.18);
}

.notificationToastMount {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 240;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.notificationToast {
  width: min(360px, calc(100vw - 28px));
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 16, 0.96);
  color: var(--text);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  cursor: pointer;
  text-align: left;
}

.notificationToast.show {
  opacity: 1;
  transform: translateY(0);
}

.navTabCounter {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font:
    700 11px/1 "Montserrat",
    system-ui;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
}

.navTabCounter.warn {
  background: rgba(255, 209, 102, 0.18);
  border-color: rgba(255, 209, 102, 0.28);
  color: var(--warn);
}

.navTabCounter.bad {
  background: rgba(255, 155, 155, 0.18);
  border-color: rgba(255, 155, 155, 0.28);
  color: var(--bad);
}

.navTabCounter.soft {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 720px) {
  .notificationSummaryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notificationToastMount {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .notificationToast {
    width: 100%;
  }
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 4, 6, 0.7);
  backdrop-filter: blur(6px);
}

.modalBackdrop.open {
  display: flex;
}

.modalCard {
  width: min(100%, 860px);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--shell-card-bg);
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

.connectionsModalCard {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.connectionsHostList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.connectionsHostCard {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.connectionsHostCard.mine {
  border-color: rgba(206, 170, 73, 0.34);
  box-shadow: 0 0 0 3px rgba(206, 170, 73, 0.08);
}

@media (max-width: 720px) {
  .sessionIdentity {
    display: none;
  }

  .sessionMenuPanel {
    min-width: 240px;
  }

  .modalCard {
    padding: 16px;
    max-height: 92vh;
  }
}

.navTab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  text-align: left;
  justify-content: flex-start;
}

.navTabIcon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  color: currentColor;
}

.navTabIcon svg {
  width: 20px;
  height: 20px;
  display: block;
}

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

.shellNav.collapsed .navTab {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 16px;
}

.shellNav.collapsed .navTabLabel {
  display: none;
}

.shellNav.collapsed .navTabIcon {
  flex: 0 0 24px;
}

.shellNav.collapsed .navDrawerToggle {
  width: 40px;
  min-width: 40px;
}

@media (max-width: 960px) {
  .navTab {
    width: auto;
    min-width: max-content;
    height: 48px;
    min-height: 48px;
    padding: 0 14px;
    justify-content: flex-start;
  }

  .navTabLabel {
    display: inline;
  }

  .shellNav.collapsed .navTab {
    width: auto;
    min-width: max-content;
    padding: 0 14px;
  }

  .shellNav.collapsed .navTabLabel {
    display: inline;
  }
}

.navTab {
  color: rgba(244, 236, 214, 0.94);
}

.navTab:hover {
  border-color: rgba(206, 170, 73, 0.4);
  background: rgba(206, 170, 73, 0.06);
}

.navTabIcon {
  color: rgba(206, 170, 73, 0.94);
}

.navTab.active .navTabIcon {
  color: rgba(255, 220, 115, 1);
}

.navHoverTooltip {
  position: fixed;
  z-index: 160;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 16, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  color: rgba(244, 236, 214, 0.96);
  font:
    700 12px/1.1 "Montserrat",
    system-ui;
  white-space: nowrap;
}

.navHoverTooltip.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.pageHeaderControlGroup {
  display: inline-flex;
  align-items: flex-end;
  gap: 18px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.pageHeaderControlGroup .subtab {
  appearance: none;
  min-height: 0;
  padding: 0 2px 10px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-radius: 0;
  color: rgba(245, 241, 232, 0.7);
  font:
    600 14px/1.2 "Montserrat",
    system-ui;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    color 0.16s ease,
    opacity 0.16s ease;
}

.pageHeaderControlGroup .subtab:hover {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.pageHeaderControlGroup .subtab.active {
  color: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(206, 170, 73, 0.9);
}

.pageHeaderControlGroup .subtab[hidden] {
  display: none;
}

.segmentedToggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 15px;
  flex-wrap: wrap;
}

.segmentedToggle .subtab {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(245, 241, 232, 0.72);
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}

.segmentedToggle .subtab:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.9);
}

.segmentedToggle .subtab.active {
  background: rgba(206, 170, 73, 0.08);
  border-color: rgba(206, 170, 73, 0.2);
  color: rgba(255, 255, 255, 0.96);
}

.adminHomeCardActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.adminHomeCard .metricValue {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-top: 10px;
}

.adminHomeCard .metricMeta {
  margin-top: 8px;
  color: rgba(245, 241, 232, 0.62);
  font-size: 13px;
}

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

.overviewActionCard {
  cursor: pointer;
}

.overviewActionCard strong {
  font-family: "Montserrat", system-ui;
  font-weight: 700;
}

.overviewPulseSummary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.overviewPulseSummary .callout strong {
  display: block;
  font:
    700 22px/1 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.96);
}

.overviewPulseRow {
  cursor: pointer;
}

@media (max-width: 820px) {
  .overviewActionGrid,
  .overviewPulseSummary {
    grid-template-columns: 1fr;
  }
}

.eventWorkspaceFilters {
  margin-bottom: 2px;
}

.eventFilterGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eventsCalendarGrid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.eventsCalendarDow {
  padding: 0 6px;
  font:
    700 11px/1 "Montserrat",
    system-ui;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 232, 0.58);
}

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

.eventsCalendarCell {
  min-height: 172px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.024),
    rgba(255, 255, 255, 0.012)
  );
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eventsCalendarCell.isMuted {
  opacity: 0.52;
}

.eventsCalendarCell.isToday {
  border-color: rgba(206, 170, 73, 0.34);
  box-shadow: 0 0 0 1px rgba(206, 170, 73, 0.14) inset;
  background: linear-gradient(
    180deg,
    rgba(206, 170, 73, 0.06),
    rgba(255, 255, 255, 0.012)
  );
}

.eventsCalendarDayNumber {
  font:
    700 14px/1 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.92);
}

.eventsCalendarDayEvents {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.eventsCalendarEvent {
  appearance: none;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 16, 0.74);
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    transform 0.16s ease;
}

.eventsCalendarEvent:hover {
  border-color: rgba(206, 170, 73, 0.32);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.eventsCalendarEvent .time {
  font:
    700 12px/1 "Montserrat",
    system-ui;
  color: rgba(255, 220, 115, 0.96);
}

.eventsCalendarEvent .title {
  font-size: 13px;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.94);
}

.eventsCalendarEvent .meta {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(238, 243, 251, 0.62);
}

.eventsCalendarEvent.weatherWatch {
  background: rgba(170, 148, 80, 0.075);
  border-color: rgba(170, 148, 80, 0.24);
}

.eventsCalendarEvent.weatherWarn {
  background: rgba(177, 18, 38, 0.075);
  border-color: rgba(177, 18, 38, 0.34);
  box-shadow: inset 0 0 0 1px rgba(177, 18, 38, 0.22);
}

.eventsCalendarEvent .weatherLine {
  color: rgba(255, 220, 115, 0.86);
}

.eventWorkspaceItem {
  cursor: pointer;
}

.eventWorkspaceItem .titleLine {
  margin-bottom: 2px;
}

.eventManagerDetail {
  gap: 12px;
}

.eventHeroCard {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eventHeroLabel {
  font:
    700 11px/1 "Montserrat",
    system-ui;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 232, 0.58);
}

.eventHeroValue {
  margin-top: 10px;
  font:
    700 20px/1.18 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.96);
}

.eventWeatherWatch {
  border-color: rgba(170, 148, 80, 0.28);
  background: rgba(170, 148, 80, 0.06);
}

.eventWeatherWarn {
  border-color: rgba(177, 18, 38, 0.34);
  background: rgba(177, 18, 38, 0.08);
}

.eventCandidateList {
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.eventCandidateRow {
  cursor: pointer;
}

.eventCandidateRow .checkRow {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.compactCards .metricCard {
  padding: 14px;
}

.compactCards .metricValue {
  font-size: 24px;
}

.eventManagerDetail .timelineItem {
  background: rgba(255, 255, 255, 0.028);
}

.eventManagerDetail .titleLine.smallTitle {
  margin-bottom: 0;
}

#eventDetail a.btn,
#eventDetailListMode a.btn {
  text-decoration: none;
}

#eventsHostList .item {
  cursor: pointer;
}

#eventsHostDetail textarea,
#eventsHostCreateForm textarea {
  min-height: 100px;
}

@media (max-width: 1180px) {
  .eventFilterGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .eventsCalendarHead,
  .eventsCalendarBody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventsCalendarDow {
    display: none;
  }

  .eventsCalendarCell {
    min-height: 140px;
  }

  .eventFilterGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .eventFilterGrid {
    grid-template-columns: 1fr;
  }

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

  .eventsCalendarCell {
    min-height: unset;
  }
}

.eventsAttentionRow {
  cursor: pointer;
}

.eventsAttentionRow .titleLine {
  margin-bottom: 2px;
}

.eventsAttentionReasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.eventsOpsUtilityCard textarea,
.modalCard textarea {
  width: 100%;
}

.eventManageMetaGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.eventTaskRow.done {
  opacity: 0.68;
}

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

/* --- UX parity patch: events + daterbase --- */
.navDrawerSectionLabel {
  margin: 14px 10px 6px;
  font:
    700 10px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.44);
}

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

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

.summaryPill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.daterbaseMetricCard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.018)
  );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.daterbaseMetricCard.needsAttention {
  border-color: rgba(196, 164, 92, 0.32);
  box-shadow:
    0 0 0 1px rgba(196, 164, 92, 0.12) inset,
    0 10px 26px rgba(0, 0, 0, 0.16);
}

.daterbaseMetricLabel {
  font:
    700 10px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.56);
}

.daterbaseMetricCard strong {
  font:
    700 26px/1 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.96);
}

.daterbaseMetricMeta {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 241, 232, 0.68);
}

.daterbaseSearchContext {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 2px 2px 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(245, 241, 232, 0.64);
}

.daterbaseSearchContext > span {
  display: inline-flex;
  align-items: center;
}

.daterbaseSummaryFilters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.daterbaseSummaryFilter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font:
    600 13px/1 "Montserrat",
    system-ui;
  color: rgba(245, 241, 232, 0.78);
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.daterbaseSummaryFilter:hover {
  border-color: rgba(206, 170, 73, 0.28);
  background: rgba(206, 170, 73, 0.08);
  color: rgba(255, 245, 214, 0.94);
}

.daterbaseSummaryFilter.active {
  border-color: rgba(206, 170, 73, 0.42);
  background: linear-gradient(
    180deg,
    rgba(206, 170, 73, 0.2),
    rgba(206, 170, 73, 0.1)
  );
  color: rgba(255, 242, 208, 0.98);
  box-shadow: 0 0 0 1px rgba(206, 170, 73, 0.1) inset;
}

.daterbaseFreshFlag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(92, 196, 128, 0.28);
  background: rgba(92, 196, 128, 0.12);
  font:
    700 11px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(206, 255, 220, 0.96);
}

.daterbaseFreshDot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #58d981;
  box-shadow: 0 0 0 4px rgba(88, 217, 129, 0.14);
  flex: 0 0 auto;
}

.daterbaseProfileCard .detail {
  min-height: 420px;
}

.daterbaseHero {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.015)
  );
}

.daterbaseHeroEnhanced {
  padding: 16px 18px;
}

.daterbaseListHead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.95fr);
  gap: 14px;
  padding: 0 10px 2px;
  color: rgba(245, 241, 232, 0.52);
  font:
    700 10px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daterbaseList .daterbaseRow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.95fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.daterbaseList .daterbaseRow:hover {
  border-color: rgba(206, 170, 73, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.daterbaseList .daterbaseRow.active {
  border-color: rgba(206, 170, 73, 0.38);
  box-shadow:
    0 0 0 1px rgba(206, 170, 73, 0.16) inset,
    0 14px 28px rgba(0, 0, 0, 0.16);
  background: linear-gradient(
    180deg,
    rgba(206, 170, 73, 0.08),
    rgba(255, 255, 255, 0.02)
  );
}

.daterbaseRowMain {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.daterbaseRowSide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.daterbaseIdentity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.daterbaseIdentity .titleLine {
  margin: 0;
  font-size: 15px;
  line-height: 1.22;
  word-break: normal;
  overflow-wrap: anywhere;
}

.daterbaseIdentityLine {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daterbaseMetaCol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
}

.daterbaseMetaLabel {
  font:
    700 10px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.52);
}

.daterbaseMetaValue {
  line-height: 1.4;
  word-break: break-word;
}

.daterbaseAvatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(206, 170, 73, 0.24),
    rgba(206, 170, 73, 0.08)
  );
  border: 1px solid rgba(206, 170, 73, 0.26);
  font:
    700 13px/1 "Montserrat",
    system-ui;
  color: rgba(255, 236, 194, 0.96);
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.daterbaseAvatar.large {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  font-size: 24px;
}

.daterbaseProfileShell {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 16px;
}

.daterbaseProfileRailPanel,
.daterbaseProfileBody {
  min-width: 0;
}

.daterbaseProfileRailPanel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daterbaseIdentityCard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daterbaseIdentitySummaryCard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.daterbaseIdentityHeader {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.daterbaseIdentityNameBlock {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.daterbaseIdentityNameBlock .detailTitle {
  margin: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.daterbaseIdentityDepthBlock {
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.daterbaseCompletionPct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(206, 170, 73, 0.12);
  border: 1px solid rgba(206, 170, 73, 0.26);
  font:
    700 11px/1 "Montserrat",
    system-ui;
  color: rgba(255, 236, 194, 0.96);
}

.daterbaseCompletionBar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.daterbaseCompletionBar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(206, 170, 73, 0.92),
    rgba(255, 214, 124, 0.96)
  );
  box-shadow: 0 0 18px rgba(206, 170, 73, 0.28);
}

.daterbaseMissingFields summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.daterbaseMissingFields summary::-webkit-details-marker {
  display: none;
}

.daterbaseMissingCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font:
    700 11px/1 "Montserrat",
    system-ui;
}

.daterbaseMissingFieldsBody {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.daterbaseMissingFieldPill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font:
    600 12px/1.1 "Montserrat",
    system-ui;
  color: rgba(245, 241, 232, 0.9);
}

.daterbaseQuickContextGrid {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: start;
}

.daterbaseContextValue {
  min-width: 0;
  word-break: break-word;
}

.daterbaseContextLink {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.daterbaseContextLink:hover {
  border-color: rgba(206, 170, 73, 0.38);
  color: rgba(255, 236, 194, 0.96);
}

.daterbaseIdPill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font:
    600 12px/1.1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daterbaseQuickActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.daterbaseQuickLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font:
    700 12px/1 "Montserrat",
    system-ui;
  text-decoration: none;
}

.daterbaseQuickLink:hover {
  border-color: rgba(206, 170, 73, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.daterbaseQuickLink.isStatic {
  cursor: default;
}

.daterbaseTabs {
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  width: max-content;
  max-width: 100%;
}

.eventsWorkspaceToolbar {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.eventsToolbarRow {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
}

.eventsSearchGrow {
  min-width: 0;
}

.eventsFiltersDetails {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.eventsFiltersDetails > summary {
  cursor: pointer;
  list-style: none;
  font:
    700 12px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.72);
}

.eventsFiltersDetails > summary::-webkit-details-marker {
  display: none;
}

.eventsCalendarCard {
  position: relative;
}

.eventsCalendarBody {
  grid-auto-rows: minmax(180px, 1fr);
}

.eventsCalendarCell {
  position: relative;
  overflow: hidden;
}

.eventsCalendarEvent {
  padding-left: 14px;
}

.eventsCalendarEvent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.eventsCalendarEvent.isSelected {
  box-shadow:
    0 0 0 1px rgba(206, 170, 73, 0.32) inset,
    0 8px 22px rgba(0, 0, 0, 0.24);
}

.eventsCalendarEvent.accent-toronto::before {
  background: #f18c7c;
}

.eventsCalendarEvent.accent-ottawa::before {
  background: #f0a23d;
}

.eventsCalendarEvent.accent-montreal::before {
  background: #8c6ff2;
}

.eventsCalendarEvent.accent-quebec::before {
  background: #7a5af8;
}

.eventsCalendarEvent.accent-winnipeg::before {
  background: #35d4de;
}

.eventsCalendarEvent.accent-calgary::before {
  background: #f46e7a;
}

.eventsCalendarEvent.accent-edmonton::before {
  background: #59d769;
}

.eventsCalendarEvent.accent-vancouver::before {
  background: #38d69b;
}

.eventsCalendarEvent.accent-default::before {
  background: #d0b15c;
}

.eventCardMetaBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.eventWeatherBadge,
.eventIssueBadge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eventWeatherBadge.watch {
  background: rgba(196, 164, 92, 0.16);
  color: #f3d082;
  border: 1px solid rgba(196, 164, 92, 0.34);
}

.eventWeatherBadge.warn {
  background: rgba(177, 18, 38, 0.16);
  color: #ffb1b8;
  border: 1px solid rgba(177, 18, 38, 0.38);
}

.eventIssueBadge {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eventWorkspaceRow {
  position: relative;
  padding-left: 22px;
  text-align: left;
  cursor: pointer;
}

.eventWorkspaceRow.weatherWatch {
  border-color: rgba(196, 164, 92, 0.24);
  background: rgba(196, 164, 92, 0.05);
}

.eventWorkspaceRow.weatherWarn {
  border-color: rgba(177, 18, 38, 0.36);
  background: linear-gradient(
    180deg,
    rgba(177, 18, 38, 0.09),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.14) inset;
}

.eventWorkspaceRowAccent {
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.eventWorkspaceRowAccent.accent-toronto {
  background: #f18c7c;
}

.eventWorkspaceRowAccent.accent-ottawa {
  background: #f0a23d;
}

.eventWorkspaceRowAccent.accent-montreal {
  background: #8c6ff2;
}

.eventWorkspaceRowAccent.accent-quebec {
  background: #7a5af8;
}

.eventWorkspaceRowAccent.accent-winnipeg {
  background: #35d4de;
}

.eventWorkspaceRowAccent.accent-calgary {
  background: #f46e7a;
}

.eventWorkspaceRowAccent.accent-edmonton {
  background: #59d769;
}

.eventWorkspaceRowAccent.accent-vancouver {
  background: #38d69b;
}

.eventWorkspaceRowAccent.accent-default {
  background: #d0b15c;
}

.eventDetailDrawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}

.eventDetailDrawer.open {
  pointer-events: auto;
}

.eventDetailDrawerScrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.56);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.eventDetailDrawer.open .eventDetailDrawerScrim {
  opacity: 1;
}

.eventDetailDrawerPanel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(860px, 96vw);
  background: linear-gradient(180deg, #090d14, #06090f);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.34);
}

.eventDetailDrawer.open .eventDetailDrawerPanel {
  transform: translateX(0);
}

.eventDrawerHead {
  position: sticky;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 20, 0.96),
    rgba(9, 13, 20, 0.92)
  );
  z-index: 2;
}

.eventDrawerContent {
  padding: 0 4px 28px;
}

#eventDetail {
  padding: 18px;
  overflow: auto;
}

.eventDrawerHeroTitleRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.eventDrawerHeroTitleCopy {
  min-width: 0;
  flex: 1 1 360px;
}

.eventDrawerHeroBadges {
  justify-content: flex-end;
  align-items: flex-start;
}

.eventDrawerActionBar {
  display: grid;
  gap: 8px;
}

.eventDrawerActionGroup.primary .btn {
  min-height: 38px;
}

.eventDrawerActionGroup.secondary .btn {
  background: rgba(255, 255, 255, 0.02);
}

.eventDrawerSummaryGrid {
  align-items: stretch;
}

.eventDrawerSummaryCopy {
  display: grid;
  gap: 8px;
}

.eventDrawerWorkspaceGrid {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
}

.eventDrawerMainColumn,
.eventDrawerSupportColumn {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eventsManagerWorkspaceShell {
  border-color: rgba(206, 170, 73, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
}

.eventsManagerWorkspaceShell .cardHead {
  padding-bottom: 4px;
}

.eventManagerTabsBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eventManagerTabs {
  width: 100%;
}

.eventManagerTabs .subtab {
  min-height: 38px;
}

.eventManagerTabPanels {
  display: grid;
  gap: 16px;
}

.eventManagerTabPanel {
  display: none;
}

.eventManagerTabPanel.active {
  display: block;
}

.eventDrawerHero.watch {
  border-color: rgba(196, 164, 92, 0.32);
  box-shadow: 0 0 0 1px rgba(196, 164, 92, 0.12) inset;
}

.eventDrawerHero.warn {
  border-color: rgba(177, 18, 38, 0.34);
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.18) inset;
  background: linear-gradient(
    180deg,
    rgba(177, 18, 38, 0.08),
    rgba(255, 255, 255, 0.015)
  );
}

.eventSopCallout {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(177, 18, 38, 0.28);
  background: rgba(177, 18, 38, 0.08);
}

.eventsWeatherDigestCard {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.eventsWeatherDigestCard.hasWarn {
  border-color: rgba(177, 18, 38, 0.34);
  box-shadow:
    0 0 0 1px rgba(177, 18, 38, 0.16) inset,
    0 18px 38px rgba(0, 0, 0, 0.2);
}

.eventsWeatherDigestHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.eventsWeatherDigestMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.eventsWeatherDigestList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.eventsWeatherDigestItem {
  width: 100%;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    transform 0.16s ease;
}

.eventsWeatherDigestItem:hover {
  transform: translateY(-1px);
  border-color: rgba(206, 170, 73, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.eventsWeatherDigestItem.watch {
  border-color: rgba(196, 164, 92, 0.28);
  background: rgba(196, 164, 92, 0.08);
}

.eventsWeatherDigestItem.warn {
  border-color: rgba(177, 18, 38, 0.42);
  background: linear-gradient(
    180deg,
    rgba(177, 18, 38, 0.14),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.16) inset;
}

.weatherDigestTitleRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.weatherDigestTitle {
  font:
    700 14px/1.35 "Montserrat",
    system-ui;
  color: rgba(255, 255, 255, 0.96);
}

.weatherDigestMetaLine {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 241, 232, 0.78);
}

.weatherDigestReasonLine {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 241, 232, 0.62);
}

.weatherDigestSeverity {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font:
    700 10px/1 "Montserrat",
    system-ui;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.weatherDigestSeverity.warn {
  background: rgba(177, 18, 38, 0.18);
  color: #ffc0c7;
  border: 1px solid rgba(177, 18, 38, 0.44);
}

.weatherDigestSeverity.watch {
  background: rgba(196, 164, 92, 0.16);
  color: #f3d082;
  border: 1px solid rgba(196, 164, 92, 0.34);
}

.weatherDigestEmpty {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 241, 232, 0.7);
}

.notificationItem.weatherAlert {
  border: 1px solid rgba(177, 18, 38, 0.18);
}

.notificationItem.weatherAlert.warn {
  background: rgba(177, 18, 38, 0.1);
  border-color: rgba(177, 18, 38, 0.3);
}

.notificationItem.weatherAlert.watch {
  background: rgba(196, 164, 92, 0.08);
  border-color: rgba(196, 164, 92, 0.22);
}

@media (max-width: 900px) {
  .eventsWeatherDigestList {
    grid-template-columns: 1fr;
  }
}

body.eventDrawerOpen {
  overflow: hidden;
}

@media (max-width: 1280px) {
  .daterbaseWorkspace {
    grid-template-columns: 1fr;
  }

  .daterbaseProfileShell {
    grid-template-columns: 1fr;
  }

  .daterbaseSummaryBar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventsToolbarRow {
    grid-template-columns: 1fr 1fr;
  }

  .eventsCalendarBody {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eventsCalendarHead {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eventsCalendarDow:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 820px) {
  .daterbaseSummaryBar {
    grid-template-columns: 1fr;
  }

  .daterbaseListHead {
    display: none;
  }

  .daterbaseList .daterbaseRow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .daterbaseRowSide {
    grid-template-columns: 1fr;
  }

  .daterbaseMetaCol {
    gap: 4px;
  }

  .daterbaseTabs {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .eventDrawerWorkspaceGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .eventsToolbarRow {
    grid-template-columns: 1fr;
  }

  .eventDetailDrawerPanel {
    width: 100vw;
  }

  .eventDrawerHeroBadges {
    justify-content: flex-start;
  }

  .eventDrawerWorkspaceGrid {
    grid-template-columns: 1fr;
  }

  .daterbaseWorkspace {
    grid-template-columns: 1fr;
  }

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

  .eventsCalendarDow {
    display: none;
  }
}

/* --- Direct FlareShift calendar parity pass --- */
.eventsWorkspaceSummaryCards {
  display: none;
}

.eventsCalendarCard {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.eventsCalendarCard .cardHead {
  padding: 0 0 16px;
  border: none;
  background: transparent;
}

.eventsCalendarGrid {
  display: block;
}

.flshiftCalendarScroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.flshiftCalendarScroll::-webkit-scrollbar {
  height: 10px;
}

.flshiftCalendar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .flshiftCalendar {
    min-width: 840px;
  }
}

.flshiftCalendar .cal-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

@supports (display: contents) {
  .flshiftCalendar .cal-grid {
    display: contents;
    grid-column: auto;
    grid-template-columns: none;
  }
}

.flshiftCalendar .cal-dow {
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 241, 232, 0.6);
  font-weight: 800;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flshiftCalendar .cal-dow:nth-child(7n) {
  border-right: none;
}

.flshiftCalendar .day-cell {
  min-width: 0;
  min-height: 120px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 10px 12px 10px;
}

.flshiftCalendar .day-cell:nth-child(7n) {
  border-right: none;
}

.flshiftCalendar .day-today {
  background: rgba(170, 148, 80, 0.1);
  box-shadow: inset 0 0 0 2px rgba(170, 148, 80, 0.45);
}

.flshiftCalendar .day-today .day-num {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(170, 148, 80, 0.18);
  color: rgba(255, 220, 115, 0.96);
}

.flshiftCalendar .day-num {
  font-weight: 900;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.9;
}

.flshiftCalendar .day-muted .day-num {
  opacity: 0.45;
}

.flshiftCalendar .day-events {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.flshiftCalendar .event-pill {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 9px 8px 15px;
  color: rgba(255, 255, 255, 0.94);
  border-left: none;
  cursor: pointer;
  overflow: hidden;
}

.flshiftCalendar .event-pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 10px 0 0 10px;
  background: var(--city, rgba(255, 255, 255, 0.16));
  opacity: 0.92;
}

.flshiftCalendar .event-pill:hover {
  border-color: rgba(170, 148, 80, 0.65);
  background: rgba(170, 148, 80, 0.08);
}

.flshiftCalendar .event-pill.isSelected {
  box-shadow:
    0 0 0 1px rgba(170, 148, 80, 0.28) inset,
    0 8px 22px rgba(0, 0, 0, 0.22);
}

.flshiftCalendar .event-pill .time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 220, 115, 0.96);
  font-weight: 900;
  font-size: 12px;
}

.flshiftCalendar .event-pill .time::before {
  display: none;
}

.flshiftCalendar .event-pill .title {
  font-weight: 850;
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.3;
}

.flshiftCalendar .event-pill .meta {
  color: rgba(245, 241, 232, 0.72);
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.35;
}

.flshiftCalendar .event-pill .weather-line {
  margin-top: 4px;
  color: rgba(245, 241, 232, 0.85);
}

.flshiftCalendar .event-pill.weather-warn {
  position: relative;
  box-shadow:
    inset 0 0 0 9999px rgba(177, 18, 38, 0.12),
    0 0 0 1px rgba(177, 18, 38, 0.18);
}

.flshiftCalendar .event-pill.weather-warn::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(177, 18, 38, 0.92);
  border-left-color: transparent;
  border-radius: inherit;
  pointer-events: none;
}

.flshiftCalendar .event-pill.city-toronto {
  --city: #94a3b8;
}

.flshiftCalendar .event-pill.city-ottawa {
  --city: #fb923c;
}

.flshiftCalendar .event-pill.city-montreal {
  --city: #60a5fa;
}

.flshiftCalendar .event-pill.city-quebec {
  --city: #c084fc;
}

.flshiftCalendar .event-pill.city-winnipeg {
  --city: #2dd4bf;
}

.flshiftCalendar .event-pill.city-calgary {
  --city: #f87171;
}

.flshiftCalendar .event-pill.city-edmonton {
  --city: #a78bfa;
}

.flshiftCalendar .event-pill.city-vancouver {
  --city: #4ade80;
}

.flshiftCalendar .event-pill.city-default {
  --city: rgba(170, 148, 80, 0.85);
}

@media (max-width: 980px) {
  .flshiftCalendar .cal-dow {
    font-size: 11px;
    padding: 8px 10px;
  }

  .flshiftCalendar .day-cell {
    min-height: 120px;
  }
}

.daterbaseList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}

.daterbaseSummaryBar:empty {
  display: none;
}

.flshiftCalendar .event-pill .weather-line {
  display: block;
  margin-top: 4px;
  color: rgba(245, 241, 232, 0.9);
  font-size: 12px;
  line-height: 1.35;
}

/* Weather snapshot inline placement */
.flshiftCalendar .event-pill.hasWeatherBadge {
  padding-top: 8px;
  padding-right: 9px;
}

.flshiftCalendar .event-pill .time {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.flshiftCalendar .event-pill .eventTimeText {
  min-width: 0;
}

.weatherIconCircle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  pointer-events: none;
  flex: 0 0 auto;
}

.weatherIconCircle.normal {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.weatherIconCircle.watch {
  background: rgba(225, 190, 106, 0.16);
  border-color: rgba(225, 190, 106, 0.34);
  color: #f6d78b;
}

.weatherIconCircle.warn {
  background: rgba(177, 18, 38, 0.18);
  border-color: rgba(177, 18, 38, 0.42);
  color: #ffb3be;
}

.weatherIconCircle.unavailable {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(245, 241, 232, 0.8);
}

@media (max-width: 980px) {
  .flshiftCalendar .event-pill.hasWeatherBadge {
    padding-right: 9px;
  }

  .weatherIconCircle {
    width: 16px;
    height: 16px;
    min-width: 16px;
    font-size: 9px;
  }
}

.daterbaseRailActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#peopleRepairState {
  min-height: 18px;
  margin-bottom: 8px;
  color: rgba(245, 241, 232, 0.72);
}

.daterbaseIdentitySubline {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(245, 241, 232, 0.6);
}

.daterbaseDisclosureLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.daterbaseDisclosureChevron {
  font-size: 12px;
  transition: transform 0.16s ease;
  color: rgba(245, 241, 232, 0.66);
}

.daterbaseMissingFields[open] .daterbaseDisclosureChevron {
  transform: rotate(180deg);
}

.daterbaseMissingFieldList {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(245, 241, 232, 0.88);
}

.daterbaseTabs .subtab {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(245, 241, 232, 0.78);
  font:
    700 12px/1 "Montserrat",
    system-ui;
}

.daterbaseTabs .subtab.active {
  background: rgba(206, 170, 73, 0.12);
  border-color: rgba(206, 170, 73, 0.28);
  color: rgba(255, 245, 214, 0.98);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.daterbaseTabs .subtab:hover {
  border-color: rgba(206, 170, 73, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.daterbaseRail .btn.tiny,
.daterbaseProfileRailPanel .btn.tiny {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

/* Communications — queue action bar inside table card */
.commsQueueBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.commsQueueBar > div {
  display: flex;
  gap: 6px;
}

/* Communications — email preview right panel */
.commsEmailPreviewCard {
  position: sticky;
  top: 96px;
}

.commsEmailPreviewMount {
  padding: 18px;
}

.commsEmailPreviewMount .form {
  gap: 8px;
}

/* Communications — tab bar row */
.commsTabBar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.commsTabBar .meetingWorkspaceTabs {
  border-bottom: none;
  margin-bottom: 0;
}

.commsTabBarActions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
}

/* Communications — inline template detail expand */
.communicationTemplateInlineDetail {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition:
    opacity 0.1s ease,
    max-height 0.12s ease;
  pointer-events: none;
}

.communicationTemplateInlineDetail.panel-open {
  opacity: 1;
  max-height: 4000px;
  pointer-events: auto;
  transition:
    opacity 0.2s ease,
    max-height 0.25s ease;
  margin-top: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(206, 170, 73, 0.5);
}

.communicationTemplateItem:has(.communicationTemplateInlineDetail.panel-open) {
  border-color: rgba(206, 170, 73, 0.4);
  background: rgba(206, 170, 73, 0.04);
}

/* Communications — create template panel fade */
#communicationTemplateCreatePanel {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition:
    opacity 0.1s ease,
    max-height 0.12s ease;
  pointer-events: none;
}

#communicationTemplateCreatePanel.panel-open {
  opacity: 1;
  max-height: 1200px;
  pointer-events: auto;
  transition:
    opacity 0.2s ease,
    max-height 0.22s ease;
}

/* Coaching queue card meta */
.coachingCardMeta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.coachingMetaRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.coachingMetaLabel {
  color: var(--muted, #9a9088);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 82px;
  flex-shrink: 0;
}

.sessionDots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.sessionDot {
  font-size: 14px;
  line-height: 1;
}

.sessionDot.done {
  color: #ceaa49;
}

.sessionDot.active {
  color: #ceaa49;
  opacity: 0.5;
}

.sessionDot.empty {
  color: var(--muted, #9a9088);
  opacity: 0.4;
}

.coachingCardId {
  margin-top: 8px;
  font-size: 10px;
  opacity: 0.45;
  word-break: break-all;
}

/* Session cards */
.sessionGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 560px) {
  .sessionGrid {
    grid-template-columns: 1fr;
  }
}

.sessionCard {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 14px;
  background: rgba(10, 15, 21, 0.62);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
}

.sessionCard.sessionDone {
  border-color: rgba(206, 170, 73, 0.38);
  background: rgba(206, 170, 73, 0.05);
}

.sessionCard.sessionActive {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(16, 18, 22, 0.75);
}

.sessionCard.sessionLocked {
  opacity: 0.3;
  pointer-events: none;
}

.sessionCardHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.sessionCardTitle {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.sessionCardHead .muted {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.sessionCardBody {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}

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

.sessionLabel {
  color: var(--muted);
  min-width: 36px;
  flex-shrink: 0;
  padding-top: 1px;
}

.sessionNote {
  flex: 1;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  line-height: 1.5;
}

.sessionCardFoot {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sessionCardFoot .btn {
  width: 100%;
  text-align: center;
}

.linkBtn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
}

.linkBtn:hover {
  opacity: 1;
}

.sessionNoteInput {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text);
  resize: vertical;
  font-family: inherit;
}

.sessionNoteInput:focus {
  outline: none;
  border-color: rgba(206, 170, 73, 0.5);
}

/* ── Spinner / icon button utilities ── */
.iconBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.iconBtn .spinIcon {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.spinIcon.spinning {
  animation: globalSpin 0.7s linear infinite;
}

@keyframes globalSpin {
  to {
    transform: rotate(360deg);
  }
}
