/* Alta Voltagem dark workspace theme. Link after app.css and its feature modules. */
.profile-dialog .profile-specialties .checklist-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0}
.profile-dialog .profile-specialties .checklist-heading h3{margin:0;line-height:1.35}
.profile-dialog .profile-specialties .checklist-heading .button{margin:0;flex:none}
.profile-specialties .specialty-display{display:grid;gap:12px}
.profile-specialties .specialty-display-group{padding:13px 14px;border:1px solid #ffffff18;border-radius:9px;min-width:0}
.profile-specialties .specialty-display-group h4{margin:0 0 10px;line-height:1.4;font-size:12px}
.profile-specialties .specialty-display-group>div{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.profile-specialties .specialty-tag{margin:0;line-height:1.4;padding:6px 9px}
.activity-card.team-person-card.leadership-nominee-card{border:2px solid #a18aec;box-shadow:0 0 0 3px #a18aec18;background:#2b2b2b}
.team-card-info .leadership-nominee-badge{display:flex;width:fit-content;gap:5px;margin-top:7px;padding:6px 9px;border:1px solid #b2ac9d;border-radius:7px;background:#393939e8;color:#e1caff;font-size:10px;font-weight:750;line-height:1.4}
.activity-card.team-person-card.pdi-excellent-card.leadership-nominee-card{border:2px solid transparent;background:linear-gradient(#242424,#242424) padding-box,linear-gradient(135deg,#f0cc65 15%,#d5ad67 38%,#b395ed 70%,#8f75d6) border-box;box-shadow:-3px 0 14px #d6b65a22,3px 0 14px #a18aec26}
.av-schedule .av-slot-calendar .av-slot-day{background:#292929;color:#cecac0;border-color:#414141;color-scheme:dark}
.av-schedule .av-slot-calendar .av-slot-day.outside{background:#222222;color:#a8a190}
.av-schedule .av-slot-calendar .av-slot-day.selected{background:#49412a;color:#ebd991;border-color:#9d8746}
.av-schedule .av-slot-calendar .av-slot-day:hover{background:#373737;border-color:#968e79}
.av-schedule .av-slot-calendar .av-slot-day input{accent-color:#d6bb5a;color-scheme:dark}
.av-schedule .av-slot-weekday{color:#aea899}
.av-schedule .av-slot-day.special-date:after{background:#d6ac61}
.av-calendar-popup{background:#242424;color:#ecf2fb;border-color:#474747;box-shadow:0 16px 48px #0008;color-scheme:dark}
.av-calendar-popup th{color:#c7c2b7}
.av-calendar-popup button:hover{background:#393939;color:#fff}
.av-calendar-popup button[aria-pressed=true]{background:#f0cf46;color:#171717}
.av-calendar-popup button[aria-current=date]{box-shadow:inset 0 0 0 1px #dfbf48}
.av-calendar-popup .outside-month{color:#9b9380}
.av-calendar-popup footer{border-color:#474747}
.av-calendar-button{color:#d1cdc4}
.av-calendar-button:hover{background:#393939}
.av-date-control>input{background:#1f1f1f;border-color:#474747;color:#ecf2fb;color-scheme:dark}
:root {
  color-scheme: dark;
  --yellow: #ffd21a;
  --yellow-dark: #e7bd20;
  --ink: #f2f1ef;
  --dark: #101010;
  --muted: #b6b1a3;
  --paper: #1e1e1e;
  --canvas: #161616;
  --line: #323232;
  --soft: #262626;
  --white: #f6f5f3;
  --danger: #ff8f9d;
  --green: #78d4a5;
  --radius: 12px;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

html, body { min-height: 100%; background: var(--canvas); color: var(--ink); }
body { color: var(--ink); }
::selection { color: #161616; background: #ffd21a; }
.workspace, .app-shell, .main-content, .access-outer { background: var(--canvas); color: var(--ink); }
.access-outer { background: #101010; }
.app-shell .sidebar { color: #f2f1ef; background: #101010; border-color: #2c2c2c; }
.app-shell .sidebar :is(a, button, .brand-name, .sidebar-label, .sidebar-foot, .sidebar-foot p) { color: #cfccc3; }
.app-shell .sidebar :is(a:hover, a[aria-current=page], button:hover, button[aria-current=page]) { color: #ffe16c; }
.app-shell .sidebar .brand-name { color: #f4f3f1; }
.app-shell .sidebar .brand-mark { color: #141414; }
.app-shell .sidebar .side-nav :is(a, button) { border-color: transparent; }
.app-shell .sidebar .side-nav :is(a[aria-current=page], button[aria-current=page]) { color: #f0d55d; background: #292b27; }
.app-shell .sidebar :is(.sidebar-foot, .sidebar-social) { border-color: #303030; }
.workspace .app-topbar { color: #f1f0ed; border-color: #333333; background: rgba(40,38,33,96%); }
.workspace .app-topbar :is(.breadcrumb, .topbar-tools, .topbar-tools .icon-button) { color: #cfccc3; }
.workspace .app-topbar .topbar-tools .language-single button { color: #cfccc3 !important; }
.workspace .app-topbar .topbar-tools .language-single .selected-language { color: #ffd21a !important; background: transparent; }
.workspace .app-topbar .topbar-tools .icon-button { border-color: #3f3f3f; background: #252525; }
.workspace .app-topbar .topbar-tools .icon-button:hover { color: #ffe16c; background: #313131; }
.main-content { width:100%; max-width:none; margin:0; padding:24px clamp(16px, 1.5vw, 30px) 32px; }
.main-content .page-heading { align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.main-content .page-heading .eyebrow, .eyebrow { color: #c1a82e; letter-spacing: 1.35px; }
.main-content .page-heading h1 { margin: 3px 0 7px; font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -.6px; }
.main-content .page-heading p:not(.eyebrow) { max-width: 760px; color: #c5c1b6; line-height: 1.55; }
.main-content h2 { font-size: 19px; letter-spacing: -.2px; }
.main-content h3 { font-size: 15px; }
.main-content :is(p, li, dd, .muted, small) { color: #c5c1b6; }
.main-content strong, .main-content b { color: #f1f0ed; }
.main-content :is(.panel, .activity-card, .resource-card, .kpi, .card, .metric-card, .widget, .dialog, .activity-viewer, .engineering-viewer) {
  color: var(--ink);
  border-color: var(--line);
  border-radius: 12px;
  background-color: var(--paper);
  box-shadow: 0 5px 16px #08080830;
}
.main-content :is(.activity-card, .resource-card, .panel, .kpi, .card, .widget) { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.main-content :is(.toolbar, #activity-filters, .activity-filter-chips, .dependency-toolbar) { min-width: 0; max-width: 100%; flex-wrap: wrap; }
.main-content .activity-filter-chips { align-items: flex-start; }
.main-content .filter-chip { max-width: 100%; min-width: 0; color: #e1ded8; border-color: #3f3f3f; background: #252525; white-space: normal; overflow-wrap: anywhere; }
.main-content .filter-chip:has(input:checked), .main-content .filter-chip[aria-pressed=true] { color: #f2e7ad; border-color: #a38a2b; background: #383321; }
.main-content .filter-chip input { flex: 0 0 auto; }
.main-content :is(.panel-head, .dialog-head) { color: var(--ink); border-color: var(--line); background: #222222; }
.main-content :is(.panel-body, .dialog-body) { background: var(--paper); }
.main-content :is(.dialog-foot, .panel-foot) { border-color: var(--line); background: #202020; }
.main-content :is(.panel-head, .panel-body, .dialog-head, .dialog-body) { padding-left: clamp(17px, 1.8vw, 23px); padding-right: clamp(17px, 1.8vw, 23px); }
.main-content :is(.activity-card, .resource-card, .kpi) { gap: 14px; }
.main-content .resource-card, .main-content .kpi { border-top: 2px solid #c7a51b; }
.main-content .toolbar { margin-bottom: 20px; }
.main-content :is(.filters, .meeting-filters) { gap: 9px; }
.main-content :is(input:not([type=checkbox]):not([type=radio]), select, textarea, .filter-input, .search-wrap input, .team-planner-jump input) {
  color: #f4f3f0;
  border-color: #3f3f3f;
  border-radius: 8px;
  background-color: #181818;
  accent-color: var(--yellow);
}
.main-content :is(input, select, textarea)::placeholder { color: #a7a08e; opacity: 1; }
.main-content :is(input, select, textarea):hover { border-color: #8d846e; }
.main-content :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid #f0c928;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #ffd21a27;
}
.main-content :is(.field label, .field-label, legend, .team-planner-filters > label) { color: #e2dfd9; }
.main-content .field small { color: #b6b1a3; }
.main-content input[type=checkbox], .main-content input[type=radio] { accent-color: var(--yellow); }
.main-content .button, .main-content .icon-button {
  color: #edebe7;
  border-color: #3f3f3f;
  border-radius: 8px;
  background: #252525;
  transition: transform 130ms ease, border-color 130ms ease, background-color 130ms ease;
}
.main-content .button:not(:disabled):hover, .main-content .icon-button:not(:disabled):hover { border-color: #8f8771; background: #303030; }
.main-content .button.primary { color: #161616; border-color: #d4b01a; background: #ffd21a; box-shadow: 0 2px 0 #a88913; }
.main-content .button.primary:hover { color: #101010; border-color: #efd256; background: #ffdc42; }
.main-content .button.danger { color: #ff9da8; border-color: #75404a; background: #332329; }
.main-content .segmented { border-color: #3b3b3b; border-radius: 8px; background: #181818; }
.main-content .segmented button { color: #d0cdc4; }
.main-content .segmented button[aria-pressed=true] { color: #f5f4f2; border-radius: 6px; background: #343434; box-shadow: inset 0 0 0 1px #4d4d4d; }
.main-content .data-table { color: #eceae6; }
.main-content .data-table thead { color: #e2dfd9; background: #262626; }
.main-content .data-table tbody tr { border-color: var(--line); }
.main-content .data-table tbody tr:hover { background: #262626; }
.main-content .data-table th { font-size: 10px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.main-content .status { color: #dbd9d2; background: #2c2c2c; }
.main-content .status.good { color: #91e3b5; background: #20362d; }
.main-content .status.warn { color: #f1d875; background: #39331f; }
.main-content .status.bad { color: #ffa1ad; background: #3c252a; }
.main-content .status.neutral { color: #c2b2f0; background: #2b2b2b; }
.main-content .notice { color: #e7d992; border-color: #5c5125; background: #302b1b; }
.main-content .alert { color: #ffb0b8; border-color: #6b3941; background: #342328; }
.main-content .empty-icon { color: #c4c0b4; border-color: #3d3d3d; background: #262626; }
#toast-region .toast { color: #f4f3f0; border-color: #494949; background: #212121; box-shadow: 0 12px 30px #0008; overflow-wrap: anywhere; }
#toast-region .toast.error { color: #ffe3e7; border-color: #ad6874; border-left: 4px solid #ed9aa8; background: #342328; }
.main-content .dialog { border-color: #444444; background: #1e1e1e; box-shadow: 0 24px 80px #000a; }
.main-content .activity-viewer, .main-content .engineering-viewer { border-color: #3f3f3f; }
.main-content :is(.activity-schedule, .schedule-day, .av-schedule, .av-slot-date, .av-slot-row, .av-slot-calendar, .team-planner-scroll) { color: #edebe7; border-color: var(--line); background-color: #1b1b1b; }
.main-content .av-slot-day { color: #dfdcd6; border-color: #3b3b3b; background: #252525; }
.main-content .av-slot-day.selected { color: #161616; border-color: #ffd21a; background: #dabb29; }
.main-content .av-slot-day.outside { color: #958d79; background: #181818; }
.main-content .av-slot-date-only { color: #d7d4cc; }
.main-content .team-planner-grid { gap: 1px; background: #353535; }
.main-content .team-planner-weekday, .main-content .team-planner-day { color: #e2dfd9; background: #1e1e1e; }
.main-content .team-planner-day.outside-month { background: #181818; }
.main-content .team-planner-day.outside-month time { color: #9c9480; }
.main-content .team-planner-day.is-today time { color: #161616; background: #ffd21a; }
.main-content .team-planner-event { color: #edece9; border-color: #424242; background: #272727; }
.main-content .team-planner-event:hover { filter: none; background: #313131; box-shadow: 0 3px 9px #0005; }
.main-content .team-planner-event.is-meeting { color: #ffd39a; border-color: #76522d; border-left-color: #e49a43; background: #222222; }
.main-content .team-planner-holiday { color: #d9d6ce; border-color: #424242; border-left-color: #958d79; background: #252525; }
.main-content .team-planner-birthday { color: #dfd0ff; border-color: #4e4e4e; border-left-color: #a78be7; background: #282828; }
.main-content .meeting-dot { background: #e49a43; }
.main-content .holiday-dot { background: #a59e8c; }
.main-content .birthday-dot { background: #a78be7; }
.main-content :is(.chart, .chart-wrap, .graph, canvas) { color: #edebe7; }
.main-content .responsible-person-link { border-color: #3f3f3f; background: #202020; color: #f2f1ef; }
.main-content .responsible-person-link .responsible-avatar { color: #edece8; background: #353535; }
.main-content .responsible-person-tooltip { color: #f6f5f3; border-color: #494949; background: #222222; box-shadow: 0 5px 15px #0008; }
.main-content :is(.area-card, .specialty-tag, .tag, .chip) { color: #e1ded8; border-color: #3e3e3e; background-color: #272727; }
.main-content .area-card { color: #edebe7; border-color: #3f3f3f; background-color: color-mix(in srgb, var(--area-wash-a, #817965) 13%, #1e1e1e); background-image: none !important; }
.main-content .area-card:before { opacity: .92; background-image: var(--area-gradient, linear-gradient(90deg,#c7a51b,#8d856f)) !important; }
.main-content .area-card :is(h1,h2,h3,h4,strong,b,a,label,small,p,span) { color: inherit; }
.main-content a:not(.button):hover { color: #ffe16c; }
.main-content :is(.divider, hr) { border-color: var(--line); }
.main-content .library-card-footer { border-color: #3f3f3f; }
.main-content .library-card-actions :is(button, a):hover { background: #353535; }
.main-content .board-step { color: #e2dfd9; border-left-color: #c9a91d; background: #1e1e1e; }
.main-content .board-impediment { color: #ffb0b8; border-left-color: #df7e8a; background: #342328; }
.main-content .board-child { color: #e8e6e2; border-color: #363636; }
.main-content .board-child b, .main-content .board-info { color: #beb9ad; }
.main-content .av-schedule :is(.detail-copy, .muted) { color: #bcb7aa; }
.main-content .av-schedule .notice { color: #e7d992; }

.workspace .responsible-links.responsible-avatars { display: inline-flex !important; align-items: center; flex-wrap: wrap; gap: 5px; vertical-align: middle; overflow: visible; }
.workspace .responsible-person-link { position: relative; z-index: 3; display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 2px; border: 1px solid #3f3f3f; border-radius: 50%; background: #202020; color: #f2f1ef; cursor: pointer; }
.workspace .responsible-person-link:hover { z-index: 8; border-color: #d3b12d; transform: translateY(-1px); }
.workspace .responsible-person-link:focus-visible { z-index: 9; outline: 2px solid #f0c928; outline-offset: 2px; }
.workspace .responsible-person-link .responsible-avatar { width: 30px; height: 30px; border-radius: 50%; background: #353535; color: #f4f3f0; font-size: 10px; font-weight: 800; }
.workspace .responsible-person-tooltip { position: absolute; z-index: 10; left: 50%; bottom: calc(100% + 8px); width: max-content; max-width: min(220px, calc(100vw - 48px)); padding: 7px 10px; border: 1px solid #494949; border-radius: 7px; background: #222222; color: #f6f5f3; box-shadow: 0 5px 15px #0008; font-size: 11px; font-weight: 650; line-height: 1.4; text-align: center; white-space: normal; overflow-wrap: anywhere; opacity: 0; pointer-events: none; transform: translate(-50%, 3px); transition: opacity 120ms ease, transform 120ms ease; }
.workspace .responsible-person-link:is(:hover, :focus-visible) .responsible-person-tooltip { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 700px) {
  .main-content { padding-top: 24px; }
  .main-content .page-heading { align-items: flex-start; }
  .main-content :is(.panel-head, .panel-body, .dialog-head, .dialog-body) { padding-left: 16px; padding-right: 16px; }
  .main-content .team-planner-day { min-height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Dark surfaces also apply to dialogs mounted directly under body. */
.app-shell .sidebar{background:#131313;color:#e9e7e2;border-right:1px solid #2a2a2a}
.app-shell .app-topbar{background:#191919;color:#e9e7e2;border-color:#313131}
.app-topbar .breadcrumb strong{color:#e9e7e2}
.app-topbar .profile-badge{position:relative;display:inline-grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-width:42px;max-width:42px;aspect-ratio:1;border-radius:50%;overflow:hidden;align-self:center;margin:0;padding:0;background:#2e2e2e;color:#e5edf8;line-height:1}
.app-topbar .language{background:#232323;color:#e6e4df}
.app-topbar .team-social a{background:#232323;color:#cfccc3;border-color:#373737}
.main-content .area-card{background:#222222!important;border-color:#373737}
.main-content .area-card .area-engineering{background:#173d35;color:#8ee7c4}
.main-content .area-card .area-programming{background:#323232;color:#9acbff}
.main-content .area-card .area-team{background:#412c45;color:#e4b1ee}
.dialog{background:#222222;color:#e5edf8;border-color:#3c3c3c}
.dialog :is(.dialog-head,.dialog-body,.dialog-foot){background:#222222;color:#e5edf8;border-color:#3c3c3c}
.dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#1a1a1a;color:#e5edf8;border-color:#474747}
.dialog :is(.button,.icon-button){background:#2c2c2c;color:#e5edf8;border-color:#474747}
.dialog .button.primary{background:#ffd21a;border-color:#dfb513;color:#171717}
.dialog :is(.notice,.forecast-summary,.calculation-help){background:#212121;color:#ddd5ac;border-color:#5b5133}
.dialog .alert{background:#38232c;color:#ffb5c7;border-color:#85485d}
.dialog :is(.step-item,.todo-row,.subactivity-row,.dependency-detail){background:transparent;border-color:#3d3d3d}
.dialog .count-pill{background:#2c2c2c;color:#e2e0db;border-color:#474747}
.dialog .detail-grid dt,.dialog .muted{color:#c6c1b6}
.dialog .responsible-links{display:flex;gap:6px}.dialog .responsible-person-link{position:relative;background:#2c2c2c;border:1px solid #474747;border-radius:50%;width:36px;height:36px;padding:2px;color:#e5edf8}
.dialog .responsible-person-tooltip{display:none;position:absolute;bottom:110%;left:0;padding:6px 9px;background:#151515;color:#e5edf8;white-space:nowrap;border:1px solid #474747;border-radius:6px;z-index:8}
.dialog .responsible-person-link:is(:hover,:focus-visible) .responsible-person-tooltip{display:block}
.dependency-panel{background:#1e1e1e;color:#e5edf8;border-color:#373737}
.dependency-scroll{background-color:#171717;background-image:radial-gradient(#373737 1px,transparent 1px);border-color:#373737}
.dependency-node{background:#272727;color:#e7edf7;border-color:#474747;border-left-color:#ddba38}
.dependency-node small{color:#cfccc3}.dependency-title{color:inherit}
.dependency-node .button{background:#303030;color:#dce8f8;border-color:#515151}
.dependency-wires{color:#e8c552}.dependency-wires path.requires{stroke:#e8c552}.dependency-wires path.contains{stroke:#978f7b}
.engineering-viewer model-viewer[hidden],.engineering-viewer [data-presentation-canvas][hidden],[data-technical-tools][hidden]{display:none!important}
@media(max-width:1300px){#activity-filters{width:100%}.activity-filter-chips{flex-wrap:wrap}.heading-actions{flex-wrap:wrap}.page-heading{align-items:flex-start}}

/* One search, shared by activities and team members. */
.unified-search{position:relative;flex:1 1 310px;max-width:440px;min-width:180px}
.app-topbar .unified-search input{width:100%;padding:11px 14px;border-radius:12px;background:#161616;color:#f4f3f1;border:1px solid #393939;font:inherit;font-size:13px}
.unified-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:80;max-height:min(60vh,480px);overflow:auto;border:1px solid #474747;background:#1c1c1c;border-radius:14px;box-shadow:0 20px 55px #0009;padding:8px}
.unified-search-results[hidden]{display:none}
.unified-search-results p{padding:4px 8px;color:#ccc8bd;font-size:12px}
.unified-search-results button{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:#f4f3f1;padding:11px;cursor:pointer}
.unified-search-results button:hover,.unified-search-results button:focus-visible{background:#303030;outline:2px solid #ffce26}
.unified-search-results .search-type{color:#e8c355;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.unified-search-results small{color:#c3beb2}
.team-planner-filters .segmented{align-self:end;flex-shrink:0}
@media(max-width:1200px){.topbar-social{display:none}.app-topbar .breadcrumb{display:none}}
@media(max-width:720px){.app-topbar{flex-wrap:wrap}.unified-search{order:3;max-width:none;flex-basis:100%}.topbar-tools{margin-left:auto}}

.planner-month-wrap{position:relative}.main-content .planner-month-title{font:700 20px inherit;color:#edf4fc;background:transparent;border:0;border-radius:8px;padding:10px;cursor:pointer;text-transform:capitalize}.planner-month-title:hover{background:#2c2c2c}.planner-month-title span{color:#ffce26;margin-left:8px}
.planner-month-picker{position:absolute;left:0;top:100%;z-index:20;width:290px;background:#1c1c1c;border:1px solid #444444;border-radius:14px;box-shadow:0 18px 50px #0009;padding:14px;color:#edf4fc}.planner-month-picker[hidden]{display:none}.planner-year{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.planner-months{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.main-content .planner-month-picker button{color:#dce7f5;background:#2a2a2a;border:1px solid #404040;border-radius:8px;padding:10px;cursor:pointer;text-transform:capitalize}.main-content .planner-month-picker button[aria-pressed=true]{background:#ffce26;color:#181818;border-color:#ffce26;font-weight:700}.main-content .planner-month-picker button:hover{border-color:#ffce26}.main-content .planner-month-picker button:focus-visible{outline:2px solid #ffce26;outline-offset:2px}.main-content .planner-month-picker button:disabled{opacity:.4;cursor:default}
.main-content .team-planner-controls{justify-content:flex-start}.main-content .team-planner-grid{background:#383838}.main-content .team-planner-day,.main-content .team-planner-weekday{border-color:#383838}

.activity-filter-bar{display:block}.activity-filter-bar #activity-filters{display:flex;align-items:end;gap:28px;flex-wrap:wrap}.activity-filter-bar .activity-filter-chips{flex:0 1 auto}.activity-filter-bar .activity-filter-chips legend{color:#b9b3a5;letter-spacing:.04em}.activity-filter-bar .filter-chip{border-radius:9px;min-height:38px;padding:8px 13px}.activity-filter-bar .filter-chip:has(input:checked){background:#3c361d;color:#ffe286;border-color:#8a702b}.dependency-node{height:140px}.app-topbar .topbar-social a{background:#232323;color:#cfccc3;border-color:#373737}
@media(max-width:700px){.activity-filter-bar #activity-filters{gap:16px}.activity-filter-bar .activity-filter-chips{flex-basis:100%}}

/* Dashboard rows and metrics stay dark in their interactive states. */
.main-content .dashboard-grid .activity-list-row:hover,.main-content .dashboard-grid .activity-list-row:focus-within{background:#2b2b2b;color:#f3f2f0}
.main-content .dashboard-grid .activity-list-row:hover .activity-row-link,.main-content .dashboard-grid .activity-list-row:focus-within .activity-row-link{color:#fff}
.main-content .dashboard-grid .activity-list-row:hover .date-square,.main-content .dashboard-grid .activity-list-row:focus-within .date-square{border-color:#736c5b;background:#252525;color:#f6f5f3}
.main-content .kpi:not(.kpi-meeting-urgent) .kpi-icon{border-color:#525252;background:#333333;color:#ffe078}

/* Activity schedule times are badges on a dark detail surface. */
.dialog .activity-schedule-summary-scroll{border-color:#444444;background:#222222;color:#f1f0ed}
.dialog .activity-schedule-day+.activity-schedule-day{border-color:#3f3f3f}
.dialog .activity-schedule-day li{border:1px solid #4b4b4b;background:#323232;color:#f5f4f2}
.dialog .activity-schedule-day li>span{color:#cecac1}

/* Activity detail warnings use restrained dark surfaces, including the portal dialog. */
.dialog .forecast-summary{margin:16px 0;padding:15px 17px;border:1px solid #45534c;border-radius:10px;background:#252e2c;color:#deebe2}
.dialog .forecast-summary h3{margin:0 0 7px;color:#f0d77a;font-size:14px}
.dialog .forecast-summary>p{margin:0;line-height:1.55}
.dialog .forecast-summary .notice{margin-top:10px;padding:10px 12px;border:1px solid #615a37;border-radius:8px;background:#242424;color:#f0dfa3;font-size:12px;line-height:1.55}
.dialog .activity-current-attention{margin:16px 0;padding:15px 17px;border:1px solid #754b56;border-left:3px solid #d88295;border-radius:10px;background:#38272f;color:#f3c6d0;font-size:12px;line-height:1.6}
.dialog .activity-current-attention h3{color:#ffd2dc;font-size:14px;line-height:1.35}
.dialog .activity-current-attention ul{margin:10px 0 0;padding-left:20px}
.dialog .activity-current-attention li+li{margin-top:5px}
.dialog .activity-attention-history{margin:14px 0;padding:12px 15px;border-color:#414141;background:#242424;color:#e6e4df}
.dialog .activity-attention-history summary{color:#efedea}
.dialog .activity-attention-history ol{margin:10px 0 0;padding-left:22px}
.dialog .activity-attention-history li+li{margin-top:9px}
.dialog .activity-help>button.icon-button{width:30px;height:30px;min-width:30px;min-height:30px;padding:5px;border:1px solid #6e5963;border-radius:50%;background:#49343f;color:#ffd5df}
.dialog .activity-help>button.icon-button svg{width:16px;height:16px}
.dialog .activity-help-copy{border-color:#6d5763;background:#1f1f1f;color:#f3e9ef;box-shadow:0 8px 24px #0008}

/* The help bubble lives in the browser top layer instead of the scrolling dialog. */
.dialog .activity-help .activity-help-copy:not(:popover-open):not([data-activity-tooltip-fallback]){display:none!important}
.dialog .activity-help .activity-help-copy:popover-open{display:block!important;position:fixed;right:auto;bottom:auto;z-index:1000;box-sizing:border-box;width:max-content;max-width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:0;padding:11px 13px;border:1px solid #7b7461;border-radius:9px;background:#141414;color:#edf4ff;font-size:12px;line-height:1.5;box-shadow:0 10px 28px #000b;pointer-events:none}
.dialog .activity-help .activity-help-copy[data-activity-tooltip-fallback]{display:block!important;position:fixed;right:auto;bottom:auto;z-index:1000;box-sizing:border-box;width:max-content;max-width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:0;padding:11px 13px;border:1px solid #7b7461;border-radius:9px;background:#141414;color:#edf4ff;font-size:12px;line-height:1.5;box-shadow:0 10px 28px #000b;pointer-events:none}
/* Shared dark-theme semantic colors: cards, dialogs, status and specialty chips. */
:root{--area-engineering:#8ee7c4;--area-programming:#a8d1ff;--area-team:#ffc0c7;--area-engineering-wash:#193b32;--area-programming-wash:#2f2f2f;--area-team-wash:#472c34;--status-stopped-bg:#442b32;--status-stopped-fg:#ffc0c7;--status-progress-bg:#423a20;--status-progress-fg:#ffe39b;--status-complete-bg:#193b32;--status-complete-fg:#a7efd0;--status-neutral-bg:#2f2f2f;--status-neutral-fg:#e0def6}
:root body :is(.area-chip,.specialty-tag,.specialty-display-group).area-engineering{background:var(--area-engineering-wash);color:var(--area-engineering)}
:root body :is(.area-chip,.specialty-tag,.specialty-display-group).area-programming{background:var(--area-programming-wash);color:var(--area-programming)}
:root body :is(.area-chip,.specialty-tag,.specialty-display-group).area-team{background:var(--area-team-wash);color:var(--area-team)}
:root body .status{background:var(--status-neutral-bg);color:var(--status-neutral-fg)}
:root body .status:is(.good,.complete),:root body .status[data-status=completed],:root body .status[data-status=done]{background:var(--status-complete-bg);color:var(--status-complete-fg)}
:root body .status.warn,:root body .status[data-status=in_progress]{background:var(--status-progress-bg);color:var(--status-progress-fg)}
:root body .status.bad,:root body .status:is([data-status=not_started],[data-status=paused],[data-status=stalled],[data-status=blocked]){background:var(--status-stopped-bg);color:var(--status-stopped-fg)}
.progress-fill{transform-origin:left center}
@media(prefers-reduced-motion:reduce){.progress-fill{animation:none!important;transition:none!important}}
/* Operational warnings share the same semantic tokens as status badges. */
:root body :is(.workshop-countdown,.workshop-state.state-queued,.workshop-state.state-producing){background:var(--status-progress-bg);color:var(--status-progress-fg)!important;border-color:#766637}
:root body :is(.workshop-countdown.is-overdue,.alert){background:var(--status-stopped-bg);color:var(--status-stopped-fg)!important;border-color:#82515b}
:root body .workshop-state.state-accepted{background:var(--status-complete-bg);color:var(--status-complete-fg);border-color:#426e5f}
:root body .workshop-state.state-submitted{background:var(--area-programming-wash);color:var(--area-programming);border-color:#726b5a}
:root body .deadline-label.is-overdue{color:var(--status-stopped-fg)}
:root body .deadline-label.is-soon{color:var(--status-progress-fg)}

/* Shared area palette and form surfaces, including dialogs outside main-content. */
:root{--area-marketing:#e3baff;--area-marketing-wash:#3b284d;--area-finance:#ffe394;--area-finance-wash:#44391e;--area-social:var(--area-team);--area-social-wash:var(--area-team-wash);color-scheme:dark}
:root body :is(.area-chip,.specialty-tag,.specialty-display-group).area-marketing{background:var(--area-marketing-wash);color:var(--area-marketing)}
:root body :is(.area-chip,.specialty-tag,.specialty-display-group).area-finance{background:var(--area-finance-wash);color:var(--area-finance)}
:root body :is(.area-chip,.specialty-tag,.specialty-display-group).area-social{background:var(--area-social-wash);color:var(--area-social)}
[data-objective-section=engineering]{--section-color:var(--area-engineering);--section-wash:var(--area-engineering-wash)}
[data-objective-section=programming]{--section-color:var(--area-programming);--section-wash:var(--area-programming-wash)}
[data-objective-section=social]{--section-color:var(--area-social);--section-wash:var(--area-social-wash)}
[data-objective-section=marketing]{--section-color:var(--area-marketing);--section-wash:var(--area-marketing-wash)}
[data-objective-section=finance]{--section-color:var(--area-finance);--section-wash:var(--area-finance-wash)}
:root body .marketing-tabs [data-objective-section]{color:var(--section-color);border-bottom-color:transparent}
:root body .marketing-tabs [data-objective-section][aria-selected=true]{background:var(--section-wash);border-bottom-color:var(--section-color)}
:root body :is(.checkbox-option,.check-label,.specialty-choice,.av-schedule-weekdays label,.av-schedule-options label):has(input:checked){background:#38351f;color:#fff0b5;border-color:#958042}
:root body .help-disclosure{background:#1e1e1e;color:#e1ded8;border-color:#464646}
:root body .help-disclosure :is(summary,div){color:inherit;background:transparent}
:root body .library-featured-badge{background:var(--area-finance-wash);color:var(--area-finance)}
:root body .library-card-actions :is(button,a):hover{background:#393939;color:#f8f7f5}
:root body input[type=checkbox]{accent-color:#ffd21a;color-scheme:dark}
:root body input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;accent-color:#ffd21a;border:0;min-height:28px;padding:0;box-shadow:none}
:root body input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:6px;background:#444444}
:root body input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:19px;height:19px;margin-top:-6px;border:2px solid #1e1e1e;border-radius:50%;background:#ffd21a;box-shadow:0 0 0 1px #a88b29}
:root body input[type=range]::-moz-range-track{height:7px;border-radius:6px;background:#444444}
:root body input[type=range]::-moz-range-progress{height:7px;border-radius:6px;background:#ffd21a}
:root body input[type=range]::-moz-range-thumb{width:17px;height:17px;border:2px solid #1e1e1e;border-radius:50%;background:#ffd21a}
:root body .percentage-state{color:#ffe394}
:root body .resource-grid:has(.library-resource-card){grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px}
:root body .library-resource-card .library-thumbnail img{height:auto;aspect-ratio:16/9;object-fit:cover}
:root body .deadline-label.is-complete{color:var(--status-complete-fg)}

/* Shared person search, including dialogs outside main-content. */
.people-search-results .people-search-result{background:#242424;color:#edece9;border-color:#414141}
.people-search-results .people-search-result:is(:hover,:focus-visible){background:#383838;color:#f6f5f3}
.people-search-results .people-search-result small{color:#c4c0b4}
.people-search-results .people-search-result:focus-visible{outline:2px solid #c4a342;outline-offset:-2px}

.pdi-summary.pdi-golden{border:2px solid #d5b456;border-radius:15px;padding:18px;background:linear-gradient(145deg,#383123,#222222 65%);box-shadow:0 0 0 3px #d5b45618}
.pdi-golden .pdi-golden-badge{padding:10px 13px;border:1px solid #8a7742;border-radius:9px;background:#453c24;color:#f2d988;font-size:.85rem;font-weight:750;margin-bottom:15px}
.pdi-golden .pdi-chart-panel{border-color:#817044}.pdi-golden .pdi-chart-panel h3{color:#ecd58e}

.activity-card.team-person-card.pdi-excellent-card{border:2px solid #d6b65a;box-shadow:0 0 0 3px #d6b65a1a,0 12px 28px #0004;background:#212121}
.pdi-excellent-card .team-card-info>strong{color:#f2d989}.pdi-excellent-card .team-card-shade{background:linear-gradient(0deg,#302716fa,transparent 80%)}
.team-card-info .pdi-excellence-badge{display:inline-flex;align-items:center;width:fit-content;margin-top:10px;padding:6px 9px;border:1px solid #aa8b3d;border-radius:7px;color:#f4dd94;background:#4d3e1be8;font-size:10px;font-weight:750;letter-spacing:.015em;line-height:1.4}

.pdi-summary.pdi-golden{position:relative;background:radial-gradient(ellipse at top right,#caa34019,transparent 55%),#242722;box-shadow:inset 0 0 34px #d4b2590d,0 0 0 2px #d5b45615}
.pdi-golden-star{position:absolute;right:22px;top:17px;color:#f0ce68;font-size:26px;line-height:1;filter:drop-shadow(0 0 8px #deb55240)}
.pdi-golden .pdi-chart-panel{border:1px solid #b89b4e;border-radius:12px;background:linear-gradient(135deg,#24242466,#222820);margin-top:24px}
.pdi-golden .pdi-chart :is(line,polygon,path){stroke:#d6b85d}.pdi-golden .pdi-chart polygon[fill-opacity]{fill:#d6b85d}.pdi-golden .pdi-chart circle{fill:#f1d47f;stroke:#bda050}.pdi-golden .pdi-chart text{fill:#d9c999}.pdi-golden .chart-legend i{background:#d6b85d!important}
.team-card-info .pdi-excellence-badge{border:0;background:transparent;padding:0;color:#f2d37a;font-size:25px;line-height:1;filter:drop-shadow(0 0 8px #dfb94355)}
.pdi-excellent-card .team-card-open{box-shadow:inset 0 0 30px #d6b65a14}

.team-person-card .team-responsibility-badges>.pdi-excellence-badge{display:inline-flex;border:1px solid #b9963f;border-radius:7px;background:#493b1fdd;color:#f5d77c;padding:3px 7px;font-size:19px;line-height:1.1;filter:drop-shadow(0 0 6px #dfb94330)}
.team-person-card .team-responsibility-badges>.leadership-nominee-badge{display:inline-flex;max-width:100%;border:1px solid #b2ac9d;border-radius:7px;background:#393939e8;color:#e1caff;padding:4px 7px;font-size:10px;font-weight:750;line-height:1.3;text-align:left}

/* Only the individual-development chart receives the gold treatment. */
.profile-insight-card[data-profile-insight=development].individual-development-golden{position:relative;border:1px solid #d6b65a;background:radial-gradient(ellipse at top right,#b990301b,transparent 65%),#252a25;box-shadow:inset 0 0 28px #d6b65a10,0 0 0 2px #d6b65a15}
.individual-development-golden .profile-insight-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.individual-development-golden .profile-insight-heading h4{color:#ecd58e}
.individual-development-star{color:#f1ce67;font-size:22px;line-height:1;flex:none;filter:drop-shadow(0 0 6px #dfb94c35)}
.individual-development-golden .pdi-chart :is(line,polygon,path){stroke:#d6b85d}.individual-development-golden .pdi-chart polygon[fill-opacity]{fill:#d6b85d}.individual-development-golden .pdi-chart circle{fill:#f1d47f;stroke:#bda050}.individual-development-golden .pdi-chart text{fill:#d9c999}.individual-development-golden .profile-insight-legend i{background:#d6b85d!important}

.activity-card.team-person-card.leadership-previous-card{border-color:#908771;box-shadow:inset 0 0 14px #a8a29108}
.team-responsibility-badges .leadership-previous-badge{display:inline-flex;max-width:100%;padding:4px 7px;border:1px solid #7d7562;border-radius:7px;background:#292929df;color:#c7c2b7;font-size:10px;font-weight:600;line-height:1.35;text-align:left}

.activity-card.team-person-card.leadership-previous-card{border:2px solid #a7a190;box-shadow:0 0 0 2px #a7a19012,inset 0 0 18px #a8a2910b}
.activity-card.team-person-card.pdi-excellent-card.leadership-previous-card{border:2px solid transparent;background:linear-gradient(#242424,#242424) padding-box,linear-gradient(135deg,#e4bf58,#a7a190) border-box;box-shadow:-2px 0 12px #d6b65a1a,2px 0 12px #a7a19015}

.team-card-open>.team-responsibility-badges>.leadership-nominee-badge,
.team-card-open>.team-responsibility-badges>.leadership-previous-badge{align-self:flex-end;width:fit-content;max-width:100%;gap:5px;align-items:center;order:-2!important}
.team-card-open>.team-responsibility-badges>.pdi-excellence-badge{order:-3!important}
.team-card-open>.team-responsibility-badges>[class^="leadership-"]>span[aria-hidden]{flex:none}

.person-profile .leadership-nominee-badge,.person-profile .leadership-previous-badge{display:inline-flex;align-items:center;gap:7px}
.person-profile .leadership-nominee-badge>span[aria-hidden],.person-profile .leadership-previous-badge>span[aria-hidden]{flex:none}

/* Warm black and aged gold platform palette. */
:root{--yellow:#c5a12b;--yellow-dark:#a98920;--dark:#0d0d0d;--canvas:#111111;--paper:#191919;--soft:#202020;--line:#323232;--ink:#efede4;--muted:#b6b1a1}
body .button.primary{background:#c5a12b;color:#17150c;border-color:#aa8b25;box-shadow:0 2px 0 #7e671b}body .button.primary:hover{background:#d4b340;color:#17150c;border-color:#debf56}

:root{--canvas:#101010;--paper:#1a1a1a;--soft:#242424;--dark:#0c0c0c;--line:#383838;--ink:#eeeeeb;--muted:#b5b5af}html,body,.workspace,.app-shell,.main-content,.access-outer{background-color:var(--canvas)}
