/* ETOOS 247 renewal — presentation layer, 2026-09-15 */
:root { --ink: #203d34; --muted: #69796f; --line: #dfe7df; --ground: #f4f6f1; --soft: #f4f7f0; --green: #287d5c; --green-dark: #194f3c; --green-soft: #edf5e7; --navy: #203d34; --focus: #22795c26; }
body { line-height: 1.55; }
button, input, select, textarea { border-radius: 8px; }
button { font-weight: 700; box-shadow: none; }
button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
input, select, textarea { border-color: #cedace; box-shadow: none; }
.admin-shell { width: min(1480px, calc(100% - 64px)); padding: 24px 0 40px; }
.topbar { min-height: 76px; padding: 16px 24px; border: 0; border-radius: 16px; background: #173f32; color: #fff; }
.admin-brand { display: flex; align-items: center; gap: 10px; }
.brand-symbol { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px 11px 11px 3px; background: #d7edb8; color: #173f32; font-size: 28px; line-height: 1; font-family: Georgia, serif; font-weight: 800; }
.admin-brand > strong { font-size: 22px; letter-spacing: -1px; white-space: nowrap; }
.admin-brand b { color: #d7edb8; }
.admin-brand-caption { font-size: 13px; border-left: 1px solid #517264; padding-left: 20px; margin-left: 10px; color: #d3dfd4; }
.staff-label { font-size: 12px; margin-left: auto; color: #d3dfd4; }
.topbar .logout-button { align-self: center; min-height: 40px; font-size: 12px; border: 1px solid #688274; background: transparent; color: white; padding: 8px 14px; }
.topbar .logout-button:hover { background: #2d5946; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 32px 2px 24px; }
.workspace-heading p { margin: 0 0 7px; font-size: 12px; color: var(--muted); }
.workspace-heading h1 { font-size: 30px; letter-spacing: -1px; }
.workspace-heading > span { color: var(--muted); font-size: 13px; padding-bottom: 2px; }
.status-strip { gap: 0; margin-bottom: 0; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 4px 10px; }
.status-strip .connection-status, .status-strip .roster-sync-status { border: 0; background: transparent; min-height: 42px; padding: 7px 10px; }
.layout { grid-template-columns: 278px minmax(0, 1fr); margin-top: 20px; gap: 22px; }
.panel { border-radius: 15px; }
.config-panel { padding: 24px 20px; }
.section-kicker { margin: 0 0 10px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.config-panel h2 { font-size: 20px; letter-spacing: -.6px; }
.section-description { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.add-holiday-button { border-radius: 8px; min-height: 44px; border: 1px solid #bfcebc; background: var(--soft); color: var(--green-dark); font-weight: 700; }
.add-holiday-button::before { content: '+ '; font-size: 18px; }
.holiday-list { margin-top: 18px; gap: 12px; }
.holiday-item { border-radius: 10px; padding: 14px; background: #f6f8f3; }
.holiday-item strong { font-size: 13px; }
.holiday-item span { font-size: 12px; }
.holiday-archive { border-radius: 10px; }
.request-panel { padding: 24px; }
.active-holiday-panel { padding: 18px; background: #f1f5eb; border: 1px solid #dce6d5; border-radius: 10px; grid-template-columns: minmax(230px, .9fr) minmax(0, 1fr); margin-bottom: 18px; }
.active-holiday-info { background: transparent; }
.active-holiday-info strong { font-size: 17px; }
.summary-fold { border-radius: 9px; margin-bottom: 23px; }
.summary-fold > summary { min-height: 48px; padding: 12px 16px; }
.request-toolbar { gap: 16px; margin-bottom: 18px; }
.request-toolbar h2 { font-size: 20px; letter-spacing: -.5px; }
.filters { gap: 8px; }
.filters input, .filters select, .tool-actions button { min-height: 42px; font-size: 13px; }
.filters > #searchInput { flex-basis: 180px; background: #f8faf6; }
.filters > select { flex-basis: 112px; }
.tool-actions button { padding: 8px 14px; }
.status-chips { gap: 4px; }
.status-chips button { min-height: 40px; border: 0; border-radius: 8px; padding: 9px 12px; background: transparent; font-size: 12px; font-weight: 700; }
.status-chips button.active { background: var(--green-dark); color: white; }
.status-chips button b { font-size: 11px; margin-left: 6px; }
.status-filter-bar { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.options-panel { border-radius: 8px; background: #f8faf6; }
.options-panel summary { min-height: 46px; }
.request-list { border-radius: 10px; }
.request-details summary { min-height: 64px; padding: 12px 16px; gap: 12px; }
.request-card:nth-child(even) { background: #fcfdfa; }
.request-details[open] summary { background: #edf4e7; }
.row-name b { font-size: 14px; }
.row-name i { padding: 3px 6px; background: #eef2e9; border-radius: 5px; color: #65745f; font-size: 10px; }
.badge { border-radius: 20px; font-size: 11px; padding: 4px 9px; }
.row-leg { font-size: 12px; }
.row-leg em { font-size: 10px; }
.selection-bar { border-radius: 10px; }
.row-check { min-height: 64px; }
.request-edit-dialog { border-radius: 16px; box-shadow: 0 30px 90px #123b3033; }
.request-edit-form { padding: 28px; gap: 20px; }
.empty { padding: 46px 22px; background: #fafcf7; font-size: 14px; }
.admin-login-shell { grid-template-columns: minmax(0, 460px) minmax(0, 420px); gap: 88px; max-width: 1140px; margin: auto; padding: 64px 40px; align-content: center; }
.login-story { align-self: stretch; border-radius: 24px; padding: 42px; background: #173f32; color: white; display: flex; flex-direction: column; justify-content: center; }
.login-kicker { margin: 55px 0 14px; color: #c7dabb; font-size: 12px; }
.login-story h2 { color: white; font-size: 30px; line-height: 1.5; letter-spacing: -1px; }
.login-story > p:not(.login-kicker) { font-size: 13px; color: #c7d6cb; line-height: 1.9; margin: 20px 0 30px; }
.login-services { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid #466657; color: #d6e3cb; font-size: 12px; }
.admin-login-panel { padding: 16px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 24px; }
.admin-login-panel .eyebrow { font-size: 12px; margin: 0; color: var(--green); }
.admin-login-panel h1 { font-size: 30px; letter-spacing: -1px; }
.admin-login-description { font-size: 14px; line-height: 1.8; }
.pin-entry { padding: 10px 0; gap: 14px; }
.pin-entry > label { text-align: left; font-weight: 700; }
.pin-input-wrap { width: 100%; }
.pin-slot { border-radius: 12px; background: white; min-height: 64px; }
.admin-login-panel > button { min-height: 52px; border-radius: 10px; }
.hidden, .admin-login-shell.hidden { display: none; }
@media (max-width: 1180px) { .layout { grid-template-columns: 235px minmax(0, 1fr); gap: 16px; } .request-panel { padding: 20px; } .active-holiday-panel { grid-template-columns: 1fr; } .tool-actions { margin-left: auto; } .admin-login-shell { gap: 50px; } }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .holiday-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .holiday-archive { grid-column: 1 / -1; } .workspace-heading > span { display: none; } .admin-login-shell { gap: 32px; } .login-story { padding: 30px; } .login-story h2 { font-size: 26px; } }
@media (max-width: 720px) {
  .admin-shell { width: calc(100% - 24px); padding: 12px 0 24px; }
  .topbar { border-radius: 12px; padding: 14px; min-height: 68px; gap: 10px; }
  .admin-brand > strong { font-size: 19px; }
  .brand-symbol { width: 30px; height: 30px; font-size: 25px; }
  .admin-brand-caption, .staff-label { display: none; }
  .topbar .logout-button { min-width: 72px; min-height: 44px; padding: 8px 10px; }
  .workspace-heading { margin: 24px 4px 18px; }
  .workspace-heading h1 { font-size: 26px; }
  .config-panel, .request-panel { padding: 18px 14px; }
  .holiday-list { grid-template-columns: 1fr; }
  .active-holiday-panel { padding: 14px; }
  .filters > #searchInput { flex: 1 1 100%; }
  .filters > select { flex: 1 1 100px; }
  .filters input, .filters select { font-size: 16px; min-height: 46px; }
  .tool-actions { display: flex; flex: 1 1 100%; gap: 8px; margin: 4px 0 0; }
  .tool-actions > button { flex: 1; min-height: 44px; }
  .status-chips { display: flex; flex-wrap: wrap; gap: 4px; }
  .status-chips button { width: auto; min-height: 44px; padding: 9px 12px; }
  .metric-scope-label { font-size: 10px; }
  .request-details summary { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 14px; }
  .row-name { grid-column: 1; }
  .row-flags { grid-column: 2; grid-row: 1; }
  .row-leg { grid-column: 1 / -1; white-space: normal; }
  .request-edit-form { padding: 20px; }
  .admin-login-shell { display: flex; flex-direction: column; min-height: 100svh; padding: 20px; gap: 26px; }
  .login-story { width: 100%; padding: 24px; border-radius: 18px; }
  .login-kicker { margin: 22px 0 10px; }
  .login-story h2 { font-size: 23px; }
  .login-story > p:not(.login-kicker), .login-services { display: none; }
  .admin-login-panel { width: 100%; max-width: 420px; padding: 4px 4px 20px; }
  .admin-login-panel h1 { font-size: 26px; }
  .admin-login-shell.hidden { display: none; }
}
@media print { .topbar, .workspace-heading, .config-panel, .status-strip { display: none; } .admin-shell { width: 100%; padding: 0; } .layout { display: block; } .request-panel { border: 0; padding: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
/* Keep the work list ahead of secondary management on compact screens. */
.login-story { justify-self: stretch; }
.workspace-heading { margin: 24px 2px 20px; }
.active-holiday-panel { align-items: start; }
.holiday-item { grid-template-columns: minmax(0, 1fr); }
.holiday-actions { justify-self: end; }
@media (max-width: 960px) { .request-panel { order: 1; } .config-panel { order: 2; } }
.request-list + .options-panel { margin-top: 18px; margin-bottom: 0; }
@media (max-width: 720px) {
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
  .detail-grid .detail { min-width: 0; padding: 8px 0; }
  .detail-grid .detail strong, .detail-grid .detail p { overflow-wrap: anywhere; }
}
/* Supplied company mark: original file, framed to omit its outer white margin. */
.company-logo { position: relative; display: block; flex: 0 0 auto; width: 148px; height: 70px; overflow: hidden; border-radius: 6px; background: #fff; }
.company-logo img { position: absolute; width: 196px; height: 122.5px; max-width: none; left: -24px; top: -25px; }
.topbar { padding-block: 10px; }
.topbar .logout-button { margin-left: auto; }
.login-story h2 { font-size: 30px; }
@media (max-width: 720px) { .login-story h2 { font-size: 25px; } }
/* Transparent logo with natural proportions; no white backing. */
.company-logo { width: 160px; height: 70px; background: transparent; border-radius: 0; overflow: visible; display: flex; align-items: center; }
.company-logo img { position: static; width: 160px; height: auto; max-width: 100%; object-fit: contain; }
/* A light brand surface keeps the original dark lettering legible. */
.topbar, .login-story { background: #e4eedc; color: var(--ink); }
.topbar { border: 1px solid #ceddc5; }
.admin-brand-caption { color: var(--ink); border-color: #b7cbb0; }
.topbar .logout-button { color: var(--green-dark); border-color: #9ab28e; }
.topbar .logout-button:hover { background: #d1e2c5; }
.login-story h2 { color: var(--ink); }
.login-kicker, .login-story > p:not(.login-kicker), .login-services { color: #4d6653; }
.login-services { border-color: #bacdb0; }
/* Touch targets apply to tablets as well as phones. */
.topbar .logout-button, .filters input, .filters select, .tool-actions button, .status-chips button { min-height: 44px; }
.row-name i, .row-leg em, .metric-scope-label { font-size: 12px; }
.section-description, .holiday-item span { font-size: 13px; }
@media (pointer: coarse) { .holiday-actions summary, .holiday-menu button, .selection-actions button, .quick-actions button { min-height: 44px; min-width: 44px; } }
