/* Ludwig Center CI: source colors and original copper logo from SharePoint. */
@font-face {
  font-family: "LCS Inter";
  src: url("brand/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LCS Barlow Condensed";
  src: url("brand/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LCS Barlow Condensed";
  src: url("brand/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ci-anthracite: #23282d;
  --ci-ink: #141518;
  --ci-copper: #b06a38;
  --ci-copper-deep: #874b26;
  --ci-copper-light: #cd9460;
  --ci-paper: #eceae6;
  --ci-workspace: #f4f2ee;
  --ci-muted: #59616b;
  --ci-border: #d2cdc6;
  --ci-input-border: #837d76;
  --ci-sidebar-width: 264px;
  --bg: var(--ci-workspace);
  --panel: #fff;
  --panel-strong: #fff;
  --text: var(--ci-anthracite);
  --muted: var(--ci-muted);
  --line: var(--ci-border);
  --accent: var(--ci-copper-deep);
  --accent-dark: #6c3c1e;
  --energy: var(--ci-copper-light);
  --gti-action: var(--ci-copper-deep);
  --gti-action-dark: #6c3c1e;
  --gti-border: var(--ci-border);
  --gti-soft: #f4f0ea;
  --success: #226447;
  --warning: #7a511b;
  --error: #9d3431;
}
.ci-app {
  background: var(--ci-workspace);
  color: var(--ci-anthracite);
  font-family: "LCS Inter", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: visible;
}
.ci-app [hidden] { display: none !important; }
.ci-app h1, .ci-app h2, .ci-app h3 {
  font-family: "LCS Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0;
  max-width: none;
  overflow-wrap: break-word;
  line-height: 1.1;
}
.ci-app h1 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 700; }
.ci-app h2 { font-size: clamp(1.6rem, 2.1vw, 2rem); font-weight: 600; }
.ci-app h3 { font-size: 1.5rem; font-weight: 600; }
.ci-app a { color: var(--ci-copper-deep); text-underline-offset: 3px; }
.ci-app :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--ci-copper-deep);
  outline-offset: 4px;
}
.ci-app .mode-switch input:focus-visible + span {
  outline: 3px solid var(--ci-copper-deep);
  outline-offset: 3px;
}
.ci-skip { position: fixed; top: -100px; left: 18px; z-index: 100; padding: 12px 18px; background: #fff; }
.ci-skip:focus { top: 12px; }
.ci-workspace.shell { width: calc(100% - var(--ci-sidebar-width)); max-width: none; margin: 0 0 0 var(--ci-sidebar-width); padding: 0; }
.ci-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--ci-sidebar-width); padding: 28px 16px 20px; background: var(--ci-anthracite); color: var(--ci-paper); overflow-y: auto; z-index: 30; }
.ci-brand { display: block; padding: 0 8px 28px; }
.ci-brand img { display: block; width: 100%; height: auto; }
.ci-nav-group { padding: 16px 0; border-top: 1px solid #4c535b; }
.ci-nav-group:first-child { border-top: 0; padding-top: 4px; }
.ci-nav-group p { margin: 0 12px 10px; color: #c4c9cf; font-size: 0.8rem; font-weight: 500; }
.ci-app .ci-nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; color: #eceae6; border-left: 3px solid transparent; font-size: 0.94rem; text-decoration: none; border-radius: 0 4px 4px 0; }
.ci-nav-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ci-app .ci-nav-link:hover { background: #30363c; }
.ci-app .ci-nav-link.is-current { color: #edb887; background: #403730; border-left-color: #edb887; font-weight: 600; }
.ci-sidebar :is(a, summary):focus-visible, .ci-mobile-navigation :is(a, summary):focus-visible { outline-color: #edb887; outline-offset: -3px; }
.ci-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 32px; border-bottom: 1px solid var(--ci-border); }
.ci-client { font: 600 1.6rem/1.2 "LCS Barlow Condensed", sans-serif; }
.ci-account { display: flex; align-items: center; gap: 20px; font-size: 0.9rem; }
.ci-account form { margin: 0; }
.ci-app .ci-account button.ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; border-color: transparent; color: var(--ci-anthracite); font-weight: 500; }
.ci-mobile-navigation { display: none; }
.ci-page { min-width: 0; padding: 28px 32px 48px; }
.ci-page:focus { outline: none; }
.ci-page-heading { margin-bottom: 0; }
.ci-page-heading p { margin: 8px 0 0; color: var(--ci-muted); font-size: 1.05rem; }
.ci-app .dashboard { gap: 22px; }
.ci-app .card, .ci-app .panel { background: #fff; border: 1px solid var(--ci-border); border-radius: 8px; box-shadow: none; backdrop-filter: none; padding: 24px; min-width: 0; }
.ci-app .panel + .panel { margin-top: 22px; }
.ci-app .section-head { gap: 16px; align-items: flex-start; }
.ci-app .section-head > div { min-width: 0; }
.ci-app .section-head form { margin: 0; }
.ci-app .report-list .section-head > div:last-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ci-app .eyebrow { color: var(--ci-copper-deep); letter-spacing: 0.06em; font-size: 0.75rem; }
.ci-app :is(input, select, textarea) { background: #fff; border: 1px solid var(--ci-input-border); border-radius: 5px; color: var(--ci-anthracite); min-height: 46px; font-weight: 400; }
.ci-app :is(input, textarea)::placeholder { color: #6a7078; opacity: 1; }
.ci-app :is(input, select, textarea):focus { border-color: var(--ci-copper-deep); box-shadow: none; }
.ci-app select { appearance: auto; padding-right: 30px; }
.ci-app select[multiple] { padding-right: 12px; }
.ci-app :is(input[type="checkbox"], input[type="radio"]) { width: 20px; min-height: 20px; height: 20px; accent-color: var(--ci-copper-deep); }
.ci-app textarea { min-height: 100px; line-height: 1.5; }
.ci-app label { font-size: 0.9rem; font-weight: 600; align-content: start; }
.ci-app .form-grid { gap: 18px; margin-top: 20px; }
.ci-app button, .ci-app .primary-action { border-radius: 5px; background: var(--ci-copper-deep); color: #fff; box-shadow: none; font-weight: 600; min-height: 44px; transition: background 150ms ease; }
.ci-app button:hover, .ci-app .primary-action:hover { background: #6c3c1e; box-shadow: none; transform: none; }
.ci-app button.ghost, .ci-app .secondary-action { border: 1px solid var(--ci-input-border); background: #fff; color: var(--ci-anthracite); box-shadow: none; }
.ci-app button.ghost:hover, .ci-app .secondary-action:hover { background: #f0ece6; }
.ci-app button.danger-button { background: var(--error); color: #fff; }
.ci-app button.danger-button:hover { background: #762623; }
.ci-app button:disabled { opacity: 0.58; cursor: not-allowed; transform: none; }
.ci-app .nav-link { border: 1px solid var(--ci-border); background: #f5f0e9; color: var(--ci-copper-deep); border-radius: 5px; min-height: 44px; font-weight: 600; white-space: normal; }
.ci-app .mode-switch { padding: 0; border: 0; background: none; gap: 16px; max-width: 400px; }
.ci-app .mode-switch label { min-height: 44px; place-items: start; align-items: center; }
.ci-app .mode-switch span { border-radius: 4px; padding: 10px 14px; background: #f6f3ef; border: 1px solid var(--ci-border); color: var(--ci-muted); font-weight: 600; text-align: left; }
.ci-app .mode-switch input:checked + span { background: #f4e8db; border-color: var(--ci-copper-deep); color: #64391f; box-shadow: none; }
.ci-app .report-form .mode-switch label { display: flex; gap: 10px; }
.ci-app .report-form .mode-switch input { position: static; opacity: 1; pointer-events: auto; flex-shrink: 0; }
.ci-app .report-form .mode-switch span { padding: 0; border: 0; background: none; }
.ci-app .report-form .mode-switch input:checked + span { background: none; color: var(--ci-anthracite); }
.ci-stand-field { position: relative; }
.ci-app #offer-suggestions { display: none; position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 20; max-height: 320px; overflow-y: auto; margin: 0; padding: 10px; border: 1px solid var(--ci-border); background: #fff; border-radius: 6px; box-shadow: 0 12px 30px #23282d24; }
.ci-app .ci-stand-field:focus-within #offer-suggestions { display: grid; }
.ci-app .report-form #report-message { height: 100px; }
.ci-app .status { text-transform: none; font-weight: 600; }
.ci-app .count-chip, .ci-app .user-chip { border-radius: 4px; background: #f1ede7; color: #59616b; font-weight: 500; }
.ci-app .table-wrap { margin-top: 22px; border: 1px solid var(--ci-border); border-radius: 6px; box-shadow: none; }
.ci-app :is(th, td) { padding: 13px 14px; border-color: var(--ci-border); font-size: 0.88rem; line-height: 1.5; }
.ci-app th { background: #efebe5; color: var(--ci-anthracite); text-transform: none; letter-spacing: 0; }
.ci-app tbody tr:hover td { background: #faf8f5; }
.ci-app :is(.status, .status-badge, .type-chip) { border-radius: 4px; }
.ci-app .type-chip.reorder { background: #f1e7db; }
.ci-app :is(.flash, .empty-state, .checkbox-row, .danger-confirm-form, .code-preview) { border-radius: 6px; }
.ci-app .empty-state { border-color: var(--ci-border); background: #faf8f5; }
.ci-app .search-option { background: #faf8f5; color: var(--ci-anthracite); border-color: var(--ci-border); border-radius: 5px; }
.ci-app .search-option:hover { background: #f2e7db; }
.ci-app :is(.position-panel, .reorder-panel, .tech-row, .event-row, .assignment-box, .gti-context-box, .gti-form-subsection, .osc-stat, .osc-config-status, .osc-transfer-note, .osc-stand-preview) { border-color: var(--ci-border); background: #f7f4ef; border-radius: 6px; }
.ci-app .gti-hero { background: #fff; box-shadow: none; }
.ci-app .gti-hero::before { background: var(--ci-copper-light); width: 4px; }
.ci-app .gti-project-table th { background: #efebe5; color: var(--ci-anthracite); }
.ci-app .osc-table tr.is-selected td, .ci-app .catalog-table tr.is-changed td { background: #f4e8db; }
.ci-app .metric-tile { background: #f7f4ef; border-color: var(--ci-border); border-radius: 6px; }
.ci-app .deployment-notice { padding: 12px 24px; background: #fff1cc; color: #2b240f; border-bottom: 2px solid #a57b3b; font-weight: 700; }
.ci-app .ci-public, .ci-public { background: var(--ci-anthracite); }
.ci-public .ci-workspace.shell { width: 100%; margin: 0; }
.ci-public .ci-page { padding: 0; }
.ci-public .flash-stack { padding: 16px 24px 0; margin: 0; background: var(--ci-workspace); }
.ci-public .auth-layout { min-height: 100svh; display: block; }
.ci-public .auth-stage { grid-template-columns: minmax(0, 1.6fr) minmax(380px, 1fr); min-height: 100svh; gap: 0; align-items: stretch; }
.ci-public .auth-brand-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 0; padding: clamp(40px, 4.6vw, 80px); background: var(--ci-anthracite); color: var(--ci-paper); border-radius: 0; box-shadow: none; gap: 40px; }
.ci-login-client { margin: 0; padding-left: 20px; border-left: 4px solid var(--ci-copper-light); font-size: 1.15rem; }
.ci-login-logo { display: block; width: 100%; max-width: 780px; height: auto; }
.ci-login-copy h1 { font-size: clamp(2.8rem, 4.9vw, 5.25rem); line-height: 1.08; color: var(--ci-paper); }
.ci-login-copy > p { font-family: "LCS Barlow Condensed", sans-serif; font-weight: 600; font-size: clamp(1.8rem, 3vw, 3.2rem); color: #c3c8ce; margin: 12px 0 0; line-height: 1.2; }
.ci-brand-rule { width: 112px; height: 4px; background: var(--ci-copper-light); display: block; }
.ci-auth-content { display: flex; flex-direction: column; justify-content: center; gap: 32px; background: var(--ci-workspace); padding: clamp(32px, 4.3vw, 72px); min-width: 0; }
.ci-public .auth-panel { align-self: auto; }
.ci-public .auth-panel h2 { font-size: clamp(3rem, 4.5vw, 5rem); font-weight: 700; }
.ci-login-intro { color: var(--ci-muted); font-size: 1.1rem; margin: 10px 0 32px; }
.ci-login-form { display: grid; gap: 24px; }
.ci-public .ci-login-form label { font-size: 0.95rem; gap: 10px; }
.ci-public .ci-login-form input { height: 58px; padding: 14px 16px; }
.ci-public .ci-login-form button { min-height: 58px; margin-top: 8px; background: var(--ci-copper-light); color: var(--ci-ink); font: 600 1.5rem/1.1 "LCS Barlow Condensed", sans-serif; }
.ci-public .ci-login-form button:hover { background: #d9a878; }
.ci-public .launch-notice { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 30px 24px 24px; border: 1px solid #c49331; background: #f9dfa5; color: var(--ci-anthracite); border-radius: 8px; box-shadow: none; overflow: hidden; }
.ci-public .launch-notice::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(135deg, #23282d 0 12px, #f4bd50 12px 24px); }
.launch-notice-heading { display: flex; align-items: center; gap: 16px; }
.launch-notice-symbol { display: block; width: 76px; height: 76px; object-fit: contain; flex: 0 0 auto; }
.ci-public .launch-notice h2 { font: 700 2rem/1.08 "LCS Barlow Condensed", sans-serif; }
.ci-public .launch-notice-copy > p:last-child { color: var(--ci-anthracite); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.ci-public .launch-notice-date { display: grid; gap: 4px; padding: 14px 18px; border-radius: 5px; background: var(--ci-anthracite); color: #ffdfa0; }
.ci-public .launch-notice-date span { font-size: 0.8rem; font-weight: 500; line-height: 1.4; }
.ci-public .launch-notice-date time { font: 700 2rem/1.1 "LCS Barlow Condensed", sans-serif; }
body.ci-app .calendar-view[data-theme="light"] { --page: #f4f2ee; --surface-1: #fff; --ink-1: #23282d; --ink-2: #59616b; --grid: #d2cdc6; --axis: #a49c92; --today-line: #874b26; --today: #f4e8db; font-family: "LCS Inter", sans-serif; }
body.ci-app .calendar-view[data-theme="dark"] { --page: #1a1c20; --surface-1: #23282d; --today-line: #cd9460; --today: #403730; font-family: "LCS Inter", sans-serif; }
@media (min-width: 1101px) {
  .ci-app .report-form .form-grid { gap: 16px 24px; }
  .ci-app .report-form .search-suggestions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  :root { --ci-sidebar-width: 220px; }
  .ci-sidebar { padding-left: 10px; padding-right: 10px; }
  .ci-topbar { padding: 16px 24px; }
  .ci-page { padding: 24px; }
  .ci-public .auth-stage { grid-template-columns: minmax(0, 1.35fr) minmax(350px, 1fr); }
  .ci-public .auth-brand-panel { padding: 36px; }
  .ci-auth-content { padding: 36px; }
}
@media (max-width: 820px) {
  .ci-sidebar { display: none; }
  .ci-workspace.shell { width: 100%; margin: 0; padding: 0; }
  .ci-topbar { min-height: 60px; padding: 12px 20px; gap: 12px; }
  .ci-client { font-size: 1.3rem; }
  .ci-account { gap: 10px; min-width: 0; font-size: 0.8rem; flex-wrap: wrap; justify-content: flex-end; }
  .ci-account > span { overflow-wrap: anywhere; max-width: 160px; }
  .ci-app .ci-account button { padding: 8px 10px; }
  .ci-mobile-navigation { display: block; background: var(--ci-anthracite); color: var(--ci-paper); }
  .ci-mobile-navigation summary { min-height: 96px; padding: 16px 20px; cursor: pointer; }
  .ci-mobile-navigation summary img { display: inline-block; width: 158px; height: auto; vertical-align: middle; margin-right: 20px; }
  .ci-mobile-navigation summary span { font-size: 0.9rem; font-weight: 600; }
  .ci-mobile-navigation nav { padding: 0 20px 16px; }
  .ci-page { padding: 22px 18px 36px; }
  .ci-app .card, .ci-app .panel { padding: 18px; border-radius: 6px; }
  .ci-app .section-head { flex-wrap: wrap; }
  .ci-app .report-list .section-head > div:last-child { justify-content: flex-start; }
  .ci-app .nav-link { width: auto; }
  .ci-app .form-grid { gap: 16px; }
  .ci-app .form-actions { justify-content: stretch; }
  .ci-app .form-actions > button { width: 100%; }
  .ci-public .auth-stage { grid-template-columns: minmax(0, 1fr); }
  .ci-public .auth-brand-panel { min-height: 0; padding: 30px 24px; gap: 28px; }
  .ci-login-client { font-size: 0.95rem; }
  .ci-login-logo { max-width: 500px; }
  .ci-login-copy h1 { font-size: clamp(2.6rem, 7vw, 3.5rem); }
  .ci-login-copy > p { font-size: clamp(1.65rem, 4.5vw, 2.25rem); }
  .ci-auth-content { padding: 36px 24px; gap: 34px; }
  .ci-public .auth-panel h2 { font-size: 3rem; }
  .ci-public .launch-notice { padding: 26px 18px 18px; }
  .launch-notice-symbol { width: 64px; height: 64px; }
}
@media (max-width: 520px) {
  .ci-app .mode-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ci-app .mode-switch.assignment-mode { grid-template-columns: 1fr; }
  .ci-app .mode-switch span { padding: 10px; }
  .ci-app .ci-page-heading p { font-size: 0.95rem; }
  .ci-app :is(th, td) { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ci-app { scroll-behavior: auto; }
  .ci-app *, .ci-app *::before, .ci-app *::after { transition: none !important; animation: none !important; }
}
@media print {
  .ci-sidebar, .ci-topbar, .ci-mobile-navigation, .ci-skip { display: none; }
  .ci-workspace.shell { width: 100%; margin: 0; }
  .ci-page { padding: 0; }
  .ci-app { background: #fff; }
}
