/*
 * DrTime V67.2.8.2 — Soft Clinical Blue final staff foundation
 *
 * Staff UI is intentionally independent from the frozen public V59.2 CSS.
 * This palette is optimized for long staff sessions: cool off-white canvas,
 * low-saturation clinical blue navigation, restrained semantic accents.
 */

[data-drt-sidebar] {
  --drt-staff-bg: #F6F8FA;
  --drt-staff-surface: #FFFFFF;
  --drt-staff-surface-soft: #FBFCFD;

  --drt-staff-ink: #213547;
  --drt-staff-muted: #667786;

  --drt-staff-primary: #3D78A3;
  --drt-staff-primary-2: #5A91B8;

  /* Compatibility names retained for existing staff-shell selectors. */
  --drt-staff-mint: #E6F0F7;
  --drt-staff-mint-soft: #F2F6F9;
  --drt-staff-gold: #95651B;

  --drt-staff-line: #D9E3EA;
  --drt-staff-line-strong: #C4D3DE;

  --drt-staff-sidebar: #2A5270;
  --drt-staff-sidebar-2: #244762;
  --drt-staff-sidebar-ink: #F7FAFC;
  --drt-staff-sidebar-muted: #C7D6E1;
  --drt-staff-sidebar-line: rgba(230, 240, 247, 0.16);
  --drt-staff-sidebar-panel: rgba(255, 255, 255, 0.055);
  --drt-staff-sidebar-panel-strong: rgba(255, 255, 255, 0.085);
  --drt-staff-sidebar-hover: #345F7E;
  --drt-staff-sidebar-active: #E6F0F7;
  --drt-staff-sidebar-active-accent: #5A91B8;
  --drt-staff-sidebar-active-ink: #163E5C;

  --drt-staff-success-bg: #EAF6F0;
  --drt-staff-success: #31705A;
  --drt-staff-warning-bg: #FFF5E3;
  --drt-staff-warning: #95651B;
  --drt-staff-danger-bg: #FCEDEE;
  --drt-staff-danger: #A64B55;

  --drt-staff-radius-md: 18px;
  --drt-staff-radius-lg: 24px;
  --drt-staff-radius-xl: 32px;

  --drt-staff-shadow-soft:
    0 16px 42px rgba(33, 53, 71, 0.065);

  /* Legacy staff components still read RGB accent variables. */
  --drt-accent: 61 120 163;
  --drt-accent-soft: 230 240 247;

  color: var(--drt-staff-ink);
  background: var(--drt-staff-bg) !important;
}
/* V68.RC2 — persistent global financial amendment alert */
.drt-global-amend-alert {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 2px solid rgba(245, 158, 11, .72);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8e7, #fffdf7 60%, #fff7df);
  box-shadow: 0 14px 34px rgba(180, 83, 9, .12);
  animation: drt-amend-alert-pulse 1.15s ease-in-out infinite;
}
.drt-global-amend-alert__head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.drt-global-amend-alert__title { display:flex; align-items:flex-start; gap:12px; }
.drt-global-amend-alert__title > div { display:grid; gap:5px; }
.drt-global-amend-alert__title strong { color:#8a3c06; font-size:1rem; font-weight:950; }
.drt-global-amend-alert__title p { margin:0; color:#735219; line-height:1.8; font-size:.86rem; }
.drt-global-amend-alert__beacon { width:12px; height:12px; margin-top:5px; flex:0 0 auto; border-radius:999px; background:#ef4444; box-shadow:0 0 0 0 rgba(239,68,68,.45); animation:drt-amend-beacon 1s ease-out infinite; }
.drt-global-amend-chip { display:inline-flex; align-items:center; min-height:38px; padding:8px 13px; border:1px solid rgba(245,158,11,.42); border-radius:999px; background:#fff; color:#8a3c06; font-size:.78rem; font-weight:950; white-space:nowrap; }
.drt-global-amend-alert__list { display:grid; gap:8px; }
.drt-global-amend-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:11px 13px; border:1px solid rgba(245,158,11,.20); border-radius:16px; background:rgba(255,255,255,.88); transition:border-color .16s ease, transform .16s ease; }
.drt-global-amend-row:hover { border-color:rgba(217,119,6,.5); transform:translateY(-1px); }
.drt-global-amend-row > div:first-child { display:grid; gap:3px; }
.drt-global-amend-row strong { color:#172f42; font-weight:900; }
.drt-global-amend-row small { color:#6f7f89; }
.drt-global-amend-row__price { display:grid; gap:2px; text-align:end; }
.drt-global-amend-row__price em { color:#b45309; font-style:normal; font-weight:950; }
.drt-global-amend-alert__more { padding-top:2px; color:#8a5a11; font-size:.75rem; font-weight:800; }
.drt-amend-attention-pill { position:relative; border-color:rgba(245,158,11,.55)!important; background:#fff8e7!important; color:#9a4b09!important; animation:drt-amend-alert-pulse 1.15s ease-in-out infinite; }
.drt-amend-attention-pill::after { content:""; position:absolute; width:7px; height:7px; top:5px; inset-inline-end:5px; border-radius:50%; background:#ef4444; animation:drt-amend-beacon 1s ease-out infinite; }
@keyframes drt-amend-alert-pulse { 0%,100% { box-shadow:0 0 0 0 rgba(245,158,11,.16), 0 14px 34px rgba(180,83,9,.10); } 50% { box-shadow:0 0 0 6px rgba(245,158,11,.045), 0 18px 38px rgba(180,83,9,.16); } }
@keyframes drt-amend-beacon { 0% { box-shadow:0 0 0 0 rgba(239,68,68,.48); } 70%,100% { box-shadow:0 0 0 8px rgba(239,68,68,0); } }
@media(max-width:720px) {
  .drt-global-amend-alert__head,
  .drt-global-amend-row { align-items:stretch; flex-direction:column; }
  .drt-global-amend-chip { align-self:flex-start; }
  .drt-global-amend-row__price { text-align:start; }
}
@media (prefers-reduced-motion: reduce) {
  .drt-global-amend-alert,
  .drt-global-amend-alert__beacon,
  .drt-amend-attention-pill,
  .drt-amend-attention-pill::after { animation:none!important; }
  .drt-global-amend-alert { border-color:#d97706; box-shadow:0 0 0 3px rgba(217,119,6,.10); }
  .drt-global-amend-alert__beacon,
  .drt-amend-attention-pill::after { background:#dc2626; }
}
