.dashboard-body { margin: 0; background: #f7f8f4; color: var(--color-ink); font: 14px/1.5 var(--font-body); }
.dashboard-body *, .dashboard-body *::before, .dashboard-body *::after { box-sizing: border-box; letter-spacing: 0; }
.dashboard-body [hidden] { display: none !important; }
.dashboard-shell { display: grid; grid-template-columns: 224px minmax(0,1fr); min-height: 100vh; }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; background: var(--color-forest-950); color: #fff; display: flex; flex-direction: column; padding: 28px 14px 18px; overflow-y: auto; }
.dashboard-brand { display: flex; align-items: center; gap: 10px; padding: 0 14px 30px; color: #fff; text-decoration: none; }
.dashboard-brand img { width: 44px; height: 46px; object-fit: contain; }
.dashboard-brand strong { font: 700 30px/1 var(--font-heading); }
.dashboard-brand small { display: block; color: var(--color-gold-300); font-size: 9px; margin-top: 4px; }
.dashboard-sidebar nav { display: grid; gap: 4px; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.dashboard-sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 9px 12px; color: #edf3ee; border-radius: 5px; font-size: 12px; text-decoration: none; }
.dashboard-sidebar nav a:hover { background: #123e2d; }
.dashboard-sidebar nav [aria-current=page] { background: #575c2c; box-shadow: inset 3px 0 var(--color-gold-500); color: #fff; }
.dashboard-sidebar .ui-icon { width: 18px; height: 18px; flex-shrink: 0; }
.dashboard-sidebar-profile { display: flex; flex-shrink: 0; align-items: center; gap: 10px; margin-top: auto; padding: 28px 10px 0; }
.dashboard-sidebar-profile > div { flex: 1; min-width: 0; }
.dashboard-sidebar-profile strong { display: block; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; }
.dashboard-sidebar-profile small { display: block; color: #c0cfc6; font-size: 11px; }
.dashboard-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--color-gold-500); color: var(--color-forest-950); font-size: 12px; font-weight: 700; }
.dashboard-main-wrap { min-width: 0; }
.dashboard-topbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 32px; background: #fff; border-bottom: 1px solid #e4e8df; }
.dashboard-body .dashboard-topbar .portal-topbar__tools { display: flex; flex-direction: row; flex-wrap: nowrap; width: auto; align-items: center; gap: 12px; margin-left: auto; }
.dashboard-topbar-name { font-size: 12px; font-weight: 650; overflow-wrap: anywhere; max-width: 200px; }
.dashboard-topbar-name small { display: block; font-size: 10px; color: var(--color-text-muted); font-weight: 400; }
.dashboard-search { display: flex; align-items: center; gap: 9px; border: 1px solid #dce2db; border-radius: 5px; padding: 0 12px; width: min(370px,45%); height: 36px; color: var(--color-text-muted); }
.dashboard-search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font: inherit; font-size: 12px; color: var(--color-ink); }
.dashboard-search .ui-icon { width: 15px; height: 15px; }
.dashboard-body #dashboard-main { max-width: 1500px; padding: 24px 32px; margin: auto; }
.dashboard-breadcrumb { display: flex; gap: 10px; color: var(--color-text-muted); font-size: 11px; margin-bottom: 20px; }
.dashboard-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dashboard-heading h1 { font: 700 32px/1.16 var(--font-heading); color: var(--color-forest-950); margin: 0 0 7px; overflow-wrap: anywhere; }
.dashboard-heading p { color: var(--color-text-muted); margin: 0; font-size: 13px; }
.dashboard-heading-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dashboard-heading time { font-size: 11px; padding-top: 9px; }
.dashboard-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; background: transparent; border: 1px solid #dce2db; border-radius: 5px; color: inherit; cursor: pointer; font: 22px/1 var(--font-body); }
.dashboard-sidebar .dashboard-icon { border-color: #476052; }
.dashboard-icon .ui-icon { width: 17px; height: 17px; }
.dashboard-body :focus-visible { outline: 3px solid var(--color-gold-600); outline-offset: 3px; }
.dashboard-body button:disabled { opacity: .5; cursor: wait; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.dashboard-metric { padding: 20px 18px 16px; background: #fff; border: 1px solid #e1e6dc; border-radius: 6px; min-height: 126px; min-width: 0; display: flex; flex-direction: column; align-items: start; }
.dashboard-metric h2 { font: 400 12px/1.45 var(--font-body); color: #4b6056; margin: 0 0 8px; }
.dashboard-metric > strong { font-size: 27px; line-height: 1.25; color: var(--color-forest-950); overflow-wrap: anywhere; }
.dashboard-metric--money > strong { font-size: 18px; line-height: 1.5; }
.dashboard-metric a, .dashboard-metric small { font-size: 11px; margin-top: auto; padding-top: 12px; color: #73551c; text-decoration: none; }
.dashboard-metric a:hover { text-decoration: underline; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 20px; align-items: start; }
.dashboard-panel { background: #fff; border: 1px solid #e1e6dc; border-radius: 6px; padding: 20px; min-width: 0; }
.dashboard-panel + .dashboard-columns { margin-top: 20px; }
.dashboard-panel > header, .dashboard-jobs-section > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.dashboard-panel h2, .dashboard-jobs-section h2 { margin: 0; font: 650 16px/1.4 var(--font-body); color: var(--color-forest-950); }
.dashboard-panel header > a { flex-shrink: 0; color: var(--color-forest-800); font-size: 11px; text-decoration: none; }
.dashboard-records { padding: 0; margin: 0; list-style: none; }
.dashboard-record { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 16px 0; border-bottom: 1px solid #edf0e9; min-width: 0; }
.dashboard-record:first-child { padding-top: 0; }
.dashboard-record:last-child { border-bottom: 0; padding-bottom: 0; }
.dashboard-record > div { min-width: 0; }
.dashboard-record strong { display: block; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.dashboard-record p { margin: 4px 0 0; font-size: 11px; color: var(--color-text-muted); overflow-wrap: anywhere; }
.dashboard-record-icon { width: 34px; height: 34px; display: grid; place-items: center; background: #edf4ee; color: var(--color-forest-800); border-radius: 50%; }
.dashboard-record:nth-child(even) .dashboard-record-icon { background: #fbf2da; color: #92691f; }
.dashboard-record-icon .ui-icon { width: 19px; height: 19px; }
.dashboard-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; padding: 8px 12px; border: 1px solid #d6ddd5; border-radius: 4px; font-size: 11px; line-height: 1.35; color: var(--color-forest-950); text-decoration: none; text-align: center; }
.dashboard-action:hover { background: #f0f4ed; }
.dashboard-action--gold { border-color: var(--color-gold-500); background: var(--color-gold-500); font-weight: 650; }
.dashboard-action--gold:hover { background: var(--color-gold-300); }
.dashboard-status { display: inline-block; background: #eff1ed; color: #41564a; padding: 3px 7px; border-radius: 4px; font-size: 10px; margin-top: 7px; max-width: 100%; overflow-wrap: anywhere; }
.dashboard-status--green { background: #e4f1e6; color: #175736; }
.dashboard-status--gold { background: #fff1c9; color: #755213; }
.dashboard-status--red { background: #fbe7e4; color: #9b241d; }
.dashboard-body .is-danger, .dashboard-body .is-danger > strong { color: #a72822; }
.dashboard-error { color: #a72822; font-size: 13px; line-height: 1.6; border-left: 3px solid #b33128; padding: 10px 12px; background: #fff0ee; margin: 12px 0; overflow-wrap: anywhere; }
.dashboard-empty { color: var(--color-text-muted); font-size: 12px; margin: 16px 0; }
.dashboard-scope { font-size: 11px; color: var(--color-text-muted); }
.dashboard-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; }
.dashboard-finance dl { margin: 10px 0 0; }
.dashboard-finance dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #edf0e9; font-size: 12px; }
.dashboard-finance dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; text-align: right; }
.dashboard-finance h3, .dashboard-team h3 { font: 650 13px/1.4 var(--font-body); margin: 16px 0 8px; }
.dashboard-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--color-text-muted); padding: 24px 0 0; margin-top: 24px; border-top: 1px solid #e0e5dc; font-size: 10px; }
.dashboard-brand-banner { background: var(--color-forest-900); color: #fff; border-radius: 6px; display: flex; justify-content: space-between; height: 112px; overflow: hidden; margin-bottom: 20px; }
.dashboard-brand-banner > div { display: flex; align-items: center; gap: 20px; padding: 20px 28px; }
.dashboard-brand-banner strong { font: 600 20px/1.35 var(--font-heading); }
.dashboard-brand-banner .ui-icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--color-gold-300); }
.dashboard-brand-banner picture { display: block; width: 38%; height: 100%; flex-shrink: 0; }
.dashboard-brand-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.dashboard-request-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.dashboard-columns > .dashboard-request-actions { margin-top: 0; min-width: 0; }
.dashboard-record p > strong { display: inline; }
.dashboard-team ul { list-style: none; padding: 0; margin: 0; }
.dashboard-team li { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 12px; overflow-wrap: anywhere; }
.dashboard-team .ui-icon { width: 16px; height: 16px; flex-shrink: 0; }
.dashboard-team .dashboard-status { margin: 0; }
.dashboard-jobs-section { margin-top: 24px; }
.dashboard-columns > .dashboard-jobs-section { margin-top: 0; min-width: 0; }
.dashboard-columns .dashboard-jobs { grid-template-columns: minmax(0,1fr); }
.dashboard-jobs-section > header > span { color: var(--color-text-muted); font-size: 11px; }
.dashboard-tabs { display: flex; gap: 4px; background: #ebefe8; border-radius: 4px; margin: 16px 0; padding: 4px; max-width: 600px; }
.dashboard-tabs button { flex: 1; min-height: 36px; border: 0; background: transparent; font: 500 12px/1.4 var(--font-body); color: var(--color-ink); cursor: pointer; border-bottom: 2px solid transparent; }
.dashboard-tabs [aria-selected=true] { background: #fff; border-bottom-color: var(--color-forest-800); font-weight: 700; }
.dashboard-jobs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.dashboard-job.dashboard-record { padding: 20px; border: 1px solid #e1e6dc; background: #fff; border-radius: 6px; }
.dashboard-job h3 { font: 650 14px/1.4 var(--font-body); margin: 0; }
.dashboard-job small { grid-column: 2 / -1; font-size: 10px; color: var(--color-text-muted); overflow-wrap: anywhere; }
.dashboard-menu, .dashboard-close { display: none; }
.dashboard-access { max-width: 600px; padding: 32px; margin: 50px auto; }
.dashboard-body .workflow-notifications { max-height: 80vh; overflow: auto; }
@media (max-width: 1200px) {
  .dashboard-shell { grid-template-columns: 202px minmax(0,1fr); }
  .dashboard-topbar, .dashboard-body #dashboard-main { padding-left: 24px; padding-right: 24px; }
  .dashboard-columns { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .dashboard-record { grid-template-columns: 28px minmax(0,1fr); }
  .dashboard-record > .dashboard-action { grid-column: 2; justify-self: start; }
  .dashboard-jobs { grid-template-columns: 1fr; }
  .dashboard-job.dashboard-record { grid-template-columns: 34px minmax(0,1fr) auto; }
  .dashboard-job > .dashboard-action { grid-column: auto; }
}
@media (max-width: 900px) {
  .dashboard-shell { display: block; }
  .dashboard-sidebar { position: fixed; z-index: 101; width: 244px; left: 0; transform: translateX(-100%); visibility: hidden; transition: transform 180ms ease, visibility 180ms; }
  .dashboard-nav-open .dashboard-sidebar { transform: translateX(0); visibility: visible; }
  .dashboard-close { display: grid; position: absolute; right: 12px; top: 12px; }
  .dashboard-menu { display: grid; }
  .dashboard-overlay { position: fixed; inset: 0; z-index: 100; border: 0; background: #04251880; }
  .dashboard-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-columns { grid-template-columns: 1fr 1fr; }
  .dashboard-heading h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .dashboard-body #dashboard-main { padding: 20px 16px; }
  .dashboard-topbar { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .dashboard-search { order: 3; width: 100%; }
  .dashboard-topbar-name { max-width: 150px; }
  .dashboard-heading { gap: 12px; }
  .dashboard-heading h1 { font-size: 26px; }
  .dashboard-heading-tools time { display: none; }
  .dashboard-metrics { gap: 10px; }
  .dashboard-metric { padding: 15px 12px; min-height: 126px; }
  .dashboard-metric > strong { font-size: 25px; }
  .dashboard-metric--money > strong { font-size: 16px; font-variant-numeric: tabular-nums; }
  .dashboard-columns { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .dashboard-panel { padding: 16px; }
  .dashboard-record { grid-template-columns: 30px minmax(0,1fr); gap: 10px; }
  .dashboard-record > .dashboard-action, .dashboard-job > .dashboard-action { grid-column: 2; justify-self: start; }
  .dashboard-job.dashboard-record { grid-template-columns: 30px minmax(0,1fr); padding: 16px; }
  .dashboard-brand-banner > div { padding: 18px; gap: 12px; }
  .dashboard-brand-banner .ui-icon { width: 28px; height: 28px; }
  .dashboard-brand-banner strong { font-size: 17px; }
  .dashboard-brand-banner picture { width: 26%; }
  .dashboard-footer { align-items: start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dashboard-sidebar { transition: none; } }
:is([data-dashboard-panel], .dashboard-metric) { position: relative; }
[data-dashboard-metric] .ordo-loading--dashboard { min-height: 108px; padding: 12px; }
[data-dashboard-metric] .ordo-loading__mark { width: 36px; height: 36px; }
[data-dashboard-metric] .ordo-loading__skeleton { grid-template-columns: 1fr; }
[data-dashboard-metric] .ordo-loading__placeholder { min-height: 80px; padding: 12px; }
[data-dashboard-metric] .ordo-loading__placeholder:nth-child(n+2) { display: none; }
[data-dashboard-panel] > .ordo-loading--dashboard { min-height: 180px; }
[data-dashboard-panel] > .ordo-loading--dashboard .ordo-loading__skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.staff-metrics > .ordo-loading--dashboard { min-height: 140px; }
.staff-jobs-section .ordo-loading--dashboard { min-height: 180px; }
