:root {
  --overhaul-accent: #f3c6d5;
  --overhaul-ink: #25272a;
  --overhaul-muted: #6f7378;
  --overhaul-line: #e6e6e4;
  --overhaul-surface: #fff;
  --overhaul-bg: #f5f5f3;
}

body { background: var(--overhaul-bg); color: var(--overhaul-ink); }
.app-shell { grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { width: 238px; padding: 18px 14px; background: #26282b; }
.brand-block { padding: 4px 4px 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.sidebar-brand-lockup { margin-bottom: 16px; }
.sidebar-brand-lockup img { width: 34px; height: 34px; flex: 0 0 34px; }
.sidebar-brand-lockup h1 { font-size: 16px; letter-spacing: -.01em; }
.market-switcher { margin-top: 8px; }
.market-switcher span { font-size: 10px; letter-spacing: .1em; opacity: .66; }
.market-switcher select { min-height: 40px; border-radius: 8px; background: #33363a; border-color: #494c50; }

.preview-navigation { padding-top: 14px; gap: 5px; }
.nav-group, .nav-destination { border-radius: 9px; overflow: visible; }
.nav-group-toggle, .nav-destination { min-height: 43px; padding: 10px 11px; border-radius: 9px; font-size: 13px; }
.nav-group-toggle:hover, .nav-destination:hover { background: rgba(255,255,255,.06); }
.nav-group.open { background: rgba(255,255,255,.035); }
.nav-group.open .nav-group-toggle { color: #fff; }
.nav-icon { width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; font-size: 10px; display: grid; place-items: center; }
.nav-group-panel { padding: 0 6px 7px 41px; }
.nav-group-panel button { position: relative; min-height: 34px; padding: 7px 9px; border-radius: 7px; font-size: 12px; color: #bfc1c4; }
.nav-group-panel button::before { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; left: -11px; top: 50%; background: #6e7175; }
.nav-group-panel button.active { color: #fff; background: #3a3d41; box-shadow: none; }
.nav-group-panel button.active::before { width: 6px; height: 6px; left: -12px; background: var(--overhaul-accent); }
.nav-divider { margin: 8px 3px; opacity: .35; }
.sidebar-footer { margin-top: auto; padding: 14px 4px 0; }
.sidebar-footer #logoutButton { min-height: 34px; padding: 6px 10px; }

.workspace { background: var(--overhaul-bg); }
.utility-bar { min-height: 48px; padding: 0 28px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--overhaul-line); }
.utility-breadcrumb { font-size: 11px; color: var(--overhaul-muted); }
.utility-status { font-size: 11px; }
.topbar { min-height: 104px; padding: 22px 30px; background: var(--overhaul-surface); border-bottom: 1px solid var(--overhaul-line); }
.project-heading h2 { margin: 4px 0; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }
.project-heading .eyebrow { color: #8a596b; }
.project-details { color: var(--overhaul-muted); }
#projectSelector { min-width: 220px; min-height: 42px; border-radius: 9px; }

.view { padding: 24px 30px 50px; }
.panel, .metric { border-color: var(--overhaul-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(15,18,16,.035); }
.panel { margin-bottom: 16px; }
.panel-header { min-height: 48px; gap: 12px; }
.panel-header h3 { font-size: 15px; letter-spacing: -.01em; }
.metric-grid { gap: 10px; grid-template-columns: repeat(6, minmax(110px,1fr)); }
.metric { padding: 15px 16px; min-height: 88px; }
.metric span { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--overhaul-muted); }
.metric strong { font-size: 27px; }

button, input, select, textarea { border-radius: 8px; }
button { min-height: 38px; }
button:not(.nav-group-toggle):not(.nav-destination):not(.campus-launch-button):not(.login-card-submit):focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(243,198,213,.65); outline-offset: 2px; }
.form-actions { align-items: center; gap: 8px; }
.form-actions > button[type="submit"], .form-actions > button:not(.ghost-button):not(.danger-button) { margin-left: auto; }

.action-overflow { position: relative; display: inline-block; z-index: 15; }
.action-overflow summary { list-style: none; cursor: pointer; min-width: 76px; min-height: 38px; padding: 9px 28px 9px 12px; border: 1px solid #d5d7d4; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; position: relative; }
.action-overflow summary::-webkit-details-marker { display: none; }
.action-overflow summary::after { content: "⌄"; position: absolute; right: 10px; top: 8px; color: #777; }
.action-overflow[open] summary { border-color: #999; }
.action-overflow-panel { position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--overhaul-line); border-radius: 10px; box-shadow: 0 14px 38px rgba(20,22,20,.14); display: grid; gap: 3px; }
.action-overflow-panel > button, .action-overflow-panel > label { width: 100%; min-height: 36px; margin: 0; padding: 8px 10px; border: 0; background: transparent; color: var(--overhaul-ink); text-align: left; border-radius: 6px; font-size: 12px; cursor: pointer; }
.action-overflow-panel > button:hover, .action-overflow-panel > label:hover { background: #f4f4f2; }
.action-overflow-panel .overflow-danger { color: #a23131; }

#dashboardView .dashboard-grid { gap: 16px; }
#dashboardView .validation-list { max-height: 440px; overflow: auto; scrollbar-width: thin; }
#employeeTable .danger-button { opacity: .15; transition: opacity .15s; }
#employeeTable tr:hover .danger-button, #employeeTable .danger-button:focus-visible { opacity: 1; }
.table-wrap { border-radius: 9px; border: 1px solid var(--overhaul-line); }
table th { position: sticky; top: 0; z-index: 1; background: #f1f1ef; font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
table td { padding-top: 10px; padding-bottom: 10px; }

#evaluationView .score-layout, #pprView .ppr-session-layout { gap: 16px; }
.score-list, .ppr-assessment-list { max-height: calc(100vh - 280px); overflow: auto; scrollbar-width: thin; }
#validationsView .validation-module { border-radius: 10px; }
#notesView .panel:first-child, #projectsView .panel:first-child, #marketsView .panel, #accessView .panel { max-width: 1120px; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { width: min(86vw, 300px); }
  .utility-bar { padding: 0 16px; }
  .topbar { min-height: auto; padding: 16px; align-items: flex-start; }
  .view { padding: 16px 14px 40px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric { min-height: 78px; }
  #projectSelector { min-width: 0; max-width: 45vw; }
  .action-overflow-panel { left: auto; right: 0; }
}
