/* POM v1.1.4.15: shared, static visual hierarchy for operational screens.
   No fonts, images, animation, network requests or table geometry are added.
   Print styles and the existing measured sticky offsets remain authoritative. */
@media screen {
  body.pom-operational {
    --bg: #f3f6fa;
    --panel: #fff;
    --text: #172b44;
    --muted: #58697f;
    --line: #dce5ef;
    --primary: #2256ba;
    --primary2: #19458f;
    --navy: #173f73;
    background: var(--bg);
    background-attachment: scroll;
    color: var(--text);
  }

  /* Keep the brand and account actions legible but subordinate to the evaluation. */
  body.pom-operational header {
    background: #fff;
    color: var(--text);
    padding: 13px 24px;
    border-bottom: 1px solid #e7edf4;
    box-shadow: none;
    overflow: visible;
  }
  body.pom-operational header::before,
  body.pom-operational header::after { display: none; }
  body.pom-operational .head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
  }
  body.pom-operational .brand {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 11px;
    min-width: 0;
    color: var(--navy);
  }
  body.pom-operational .brand-main { font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
  body.pom-operational .brand small {
    display: inline;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    overflow-wrap: anywhere;
  }
  body.pom-operational .brand-desc { font-weight: 500; }
  body.pom-operational .admin-user-box,
  body.pom-operational .reviewer-user-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
    gap: 7px;
    margin-left: auto;
    color: #40536d;
    white-space: normal;
  }
  body.pom-operational .reviewer-user-box > span:first-child {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
  body.pom-operational .admin-user-box .role,
  body.pom-operational .reviewer-user-box .role {
    background: #f3f6fa;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    color: #40536d;
  }
  body.pom-operational .admin-user-box .btn,
  body.pom-operational .reviewer-user-box .btn,
  body.pom-operational .reviewer-user-box .btn.btn-danger {
    color: #314b6d;
    background: #fff;
    border-color: #cfdae8;
    box-shadow: none;
  }
  body.pom-operational .admin-user-box .btn:hover,
  body.pom-operational .reviewer-user-box .btn:hover { background: #edf3fc; border-color: #9fb7d8; }

  body.pom-operational > .tabs,
  body.pom-operational .reviewer-tabs {
    background: #fff;
    border-bottom-color: #dce5ef;
    box-shadow: none;
    overflow: visible;
  }
  body.pom-operational .tabbar,
  body.pom-operational .reviewer-tabbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
  }
  body.pom-operational .tab,
  body.pom-operational .reviewer-tab {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 13px 16px;
    background: transparent;
    color: #52647c;
    font-weight: 700;
  }
  body.pom-operational .tab:hover,
  body.pom-operational .reviewer-tab:hover { background: #f4f7fc; color: var(--primary); }
  body.pom-operational .tab.active,
  body.pom-operational .reviewer-tab.active {
    border-bottom-color: var(--primary);
    color: #174895;
    background: #eaf1fc;
  }
  body.pom-operational .reviewer-tab-actions { min-width: 0; flex-wrap: wrap; }
  body.pom-operational .reviewer-assignment-wait {
    margin-left: auto;
    padding: 13px 16px;
    color: var(--muted);
    font-size: 13px;
  }

  /* Shared surfaces and action states. Existing compact table controls retain sizing. */
  body.pom-operational .card {
    background: #fff;
    border-color: #dce5ef;
    border-radius: 12px;
    box-shadow: 0 2px 7px #173f7307;
  }
  body.pom-operational .card::before { display: none; }
  body.pom-operational .card h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
  body.pom-operational .card h3 { font-size: 17px; line-height: 1.45; letter-spacing: -.015em; }
  body.pom-operational .btn { border-radius: 8px; font-weight: 700; box-shadow: none; }
  body.pom-operational .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
  body.pom-operational .btn-primary:hover { background: var(--primary2); border-color: var(--primary2); }
  body.pom-operational .btn-success { background: #e9f5ee; border-color: #b7d9c4; color: #17613f; }
  body.pom-operational .btn-danger { background: #fff3f3; border-color: #e9bfc1; color: #a32e36; }
  body.pom-operational input,
  body.pom-operational select,
  body.pom-operational textarea { border-color: #c6d3e2; border-radius: 7px; }
  body.pom-operational :focus-visible { outline: 3px solid #648ed0; outline-offset: 2px; }
  body.pom-operational .field label { color: #475c76; }
  body.pom-operational .setup-stepbar,
  body.pom-operational .result-subtabs { border-color: #dce5ef; box-shadow: 0 2px 7px #173f7309; }
  body.pom-operational .setup-step.active,
  body.pom-operational .result-subtab.active { background: #eaf1fc; color: #174895; box-shadow: inset 0 0 0 1px #c7d8f0; }
  body.pom-operational .setup-step-copy small { color: #65758b; }
  body.pom-operational .setup-step.active .setup-step-copy small { color: #4d6892; }
  /* The DOM keeps the completion text; the visible check does not depend on a symbol font. */
  body.pom-operational .setup-step.done::before { display: none; }
  body.pom-operational .setup-step.done .setup-step-index { position: relative; color: transparent; }
  body.pom-operational .setup-step.done .setup-step-index::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    width: 6px;
    height: 10px;
    border: solid #14704a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  body.pom-operational .setup-step.done.active .setup-step-index::after { border-color: #fff; }
  body.pom-operational .progress span { background: var(--primary); }
  body.pom-operational .action-center > .section-head .dashboard-text-action { color: #315782 !important; }
  body.pom-operational .action-center > .section-head .dashboard-text-action:hover { color: #173f73 !important; }

  /* One shared evaluation context, intentionally in the normal document flow. */
  body.pom-operational .pom-evaluation-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    align-items: stretch;
    gap: 24px;
    margin: 0 0 18px;
    padding: 23px 26px;
    min-width: 0;
    max-width: 100%;
    border: 1px solid #15395f;
    border-radius: 12px;
    background: linear-gradient(112deg, #153c6b, #112e51);
    color: #fff;
    box-shadow: none !important;
    overflow: visible;
  }
  body.pom-operational .pom-evaluation-main,
  body.pom-operational .pom-evaluation-side { min-width: 0; }
  body.pom-operational .pom-evaluation-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
  }
  body.pom-operational .pom-evaluation-badges .badge {
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 5px;
    color: #f4f8ff;
    background: #254e77;
  }
  body.pom-operational .pom-evaluation-badges .status-active { color: #15583c; background: #ddf3e8; }
  body.pom-operational .pom-evaluation-badges .status-scheduled { color: #795015; background: #fff0cf; }
  body.pom-operational .pom-evaluation-badges .status-past { color: #364d69; background: #e1e9f2; }
  body.pom-operational .pom-evaluation-badges .pom-evaluation-locked { color: #294475; background: #e0eafe; }
  body.pom-operational .pom-evaluation-title,
  body.pom-operational .pom-evaluation-title strong {
    display: block;
    margin: 0 0 15px;
    color: #fff;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.035em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  body.pom-operational .pom-evaluation-title strong { margin: 0; }
  body.pom-operational .pom-evaluation-fields { display: grid; gap: 6px; margin: 0; }
  body.pom-operational .pom-evaluation-fields > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: baseline; }
  body.pom-operational .pom-evaluation-fields dt { color: #c0d3e9; font-size: 13px; line-height: 1.55; }
  body.pom-operational .pom-evaluation-fields dd { margin: 0; color: #fff; font-size: 15px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
  body.pom-operational .pom-evaluation-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-left: 24px;
    border-left: 1px solid #4d6b8c;
  }
  body.pom-operational .pom-evaluation-date-label,
  body.pom-operational .pom-evaluation-picker-label,
  body.pom-operational .pom-evaluation-picker > label,
  body.pom-operational .pom-evaluation-picker .reviewer-project-context > label {
    display: block;
    margin-bottom: 5px;
    color: #c0d3e9;
    font-size: 13px;
    line-height: 1.5;
  }
  body.pom-operational .pom-evaluation-date-value {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }
  body.pom-operational .pom-evaluation-date-value time { white-space: nowrap; }
  body.pom-operational .pom-evaluation-date-value small,
  body.pom-operational .pom-evaluation-weekday { color: #c0d3e9; font-size: 13px; font-weight: 400; letter-spacing: 0; }
  body.pom-operational .pom-evaluation-date-separator { color: #c0d3e9; font-size: 18px; font-weight: 400; }
  body.pom-operational .pom-evaluation-date-details { margin-top: 7px; color: #d6e4f4; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
  body.pom-operational .pom-evaluation-date-details > summary { cursor: pointer; color: #e0ebf8; }
  body.pom-operational .pom-evaluation-date-details[open] > summary { margin-bottom: 4px; }
  body.pom-operational .pom-evaluation-date-details ul { display: grid; gap: 3px; margin: 7px 0 0; padding-left: 20px; }
  body.pom-operational .pom-evaluation-meta { margin-top: 9px; color: #c0d3e9; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
  body.pom-operational .pom-evaluation-side > .pom-evaluation-meta { margin-top: 0; }
  body.pom-operational .pom-evaluation-meta .small,
  body.pom-operational .pom-evaluation-meta .muted { color: inherit; }
  body.pom-operational .pom-evaluation-picker { min-width: 0; max-width: 100%; }
  body.pom-operational .pom-evaluation-picker .project-picker { min-width: 0; width: 100%; }
  body.pom-operational .pom-evaluation-picker .project-picker > summary {
    min-width: 0;
    max-width: 100%;
    padding: 9px 32px 9px 11px;
    border: 1px solid #557494;
    border-radius: 7px;
    background: #214970;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  body.pom-operational .pom-evaluation-picker .project-picker > summary::after { color: #d3e2f4; }
  body.pom-operational .pom-evaluation-picker .project-picker-menu { color: var(--text); background: #fff; }
  body.pom-operational .pom-evaluation-picker .project-picker-search { color: var(--text); background: #fff; }
  body.pom-operational .pom-evaluation-picker .project-picker-item { overflow-wrap: anywhere; }
  body.pom-operational .pom-evaluation-picker .reviewer-project-context { display: block; margin: 0; padding: 0; min-width: 0; max-width: 100%; }
  body.pom-operational .pom-evaluation-picker .reviewer-project-context select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 9px 10px;
    border: 1px solid #557494;
    border-radius: 7px;
    color: #fff;
    background: #214970;
    font-size: 13px;
    line-height: 1.5;
  }
  body.pom-operational .pom-evaluation-picker select option { color: #172b44; background: #fff; }
  body.pom-operational .pom-evaluation-banner :focus-visible { outline-color: #b1d2ff; }

  /* Progress remains easy to scan; the evaluation title carries the strongest color. */
  body.pom-operational .reviewer-status-card { background: #fff; border-color: #dce5ef; box-shadow: 0 2px 7px #173f7307; }
  body.pom-operational .reviewer-status-card::after { display: none; }
  body.pom-operational .reviewer-status-tile { border-radius: 10px; box-shadow: none; }
  body.pom-operational .reviewer-status-tile.identity { background: #edf3fc; border-color: #d5e1f3; color: #173f73; }
  body.pom-operational .reviewer-status-tile.identity .status-label,
  body.pom-operational .reviewer-status-tile.identity .status-note { color: #50688c; }
  body.pom-operational .reviewer-status-tile.identity .status-value { color: #173f73; font-size: 21px; }
  body.pom-operational .reviewer-status-tile.identity .status-icon { background: #dce8f8; color: #28548d; }
  body.pom-operational .reviewer-status-footer .progress span { background: var(--primary); }

  @media (max-width: 900px) {
    body.pom-operational .head { align-items: flex-start; }
    body.pom-operational .brand { flex: 1 1 280px; }
    body.pom-operational .brand small { flex-basis: 100%; }
    body.pom-operational .admin-user-box,
    body.pom-operational .reviewer-user-box { justify-content: flex-start; margin: 0; }
  }
  @media (max-width: 800px) {
    body.pom-operational .project-management-card { min-width: 0; max-width: 100%; }
    body.pom-operational .project-management-card > .section-head { flex-wrap: wrap; }
    body.pom-operational .project-management-card .form-grid { grid-template-columns: minmax(0, 1fr); }
    body.pom-operational .project-management-card .form-grid > .field { grid-column: auto; min-width: 0; max-width: 100%; }
    body.pom-operational .project-management-card select,
    body.pom-operational .project-management-card input { width: 100%; min-width: 0; max-width: 100%; }
    body.pom-operational .project-management-card .project-tools { width: 100%; min-width: 0; flex-wrap: wrap; justify-content: flex-start; }
    body.pom-operational .project-management-card .project-tools .btn { max-width: 100%; white-space: normal; }
    body.pom-operational .setup-stepbar { display: block; min-width: 0; max-width: 100%; overflow: visible; }
    body.pom-operational .setup-progress-head { flex-wrap: wrap; min-width: 0; gap: 6px 10px; }
    body.pom-operational .setup-progress-meta { white-space: normal; }
    body.pom-operational .setup-progress-head .ux-setup-check { margin-left: 0; }
    body.pom-operational .setup-step-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; gap: 5px; padding: 0; overflow: visible; }
    body.pom-operational .setup-step { min-width: 0; max-width: 100%; min-height: 44px; padding: 9px 8px; gap: 7px; white-space: normal; }
    body.pom-operational .setup-step-copy strong { overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
    body.pom-operational .setup-step-copy small { display: none; }
  }
  @media (max-width: 720px) {
    body.pom-operational header { padding: 12px 16px; }
    body.pom-operational .tabbar,
    body.pom-operational .reviewer-tabbar { padding: 0 8px; }
    body.pom-operational .tab,
    body.pom-operational .reviewer-tab { padding: 11px 10px; font-size: 13px; }
    body.pom-operational .pom-evaluation-banner { grid-template-columns: minmax(0, 1fr); padding: 21px; gap: 18px; }
    body.pom-operational .pom-evaluation-title,
    body.pom-operational .pom-evaluation-title strong { font-size: 24px; }
    body.pom-operational .pom-evaluation-side { padding: 16px 0 0; border-left: 0; border-top: 1px solid #4d6b8c; }
    body.pom-operational .pom-evaluation-date-value { font-size: 23px; }
    body.pom-operational .pom-evaluation-picker .project-picker-menu { left: 0; right: auto; width: 100%; max-width: 100%; }
    body.pom-operational .pom-evaluation-picker .project-picker-scroll { max-height: 50dvh; }
  }
  @media (max-width: 420px) {
    body.pom-operational .head { gap: 10px; }
    body.pom-operational .brand-main { font-size: 24px; }
    body.pom-operational .brand small { font-size: 11px; }
    body.pom-operational .admin-user-box .btn,
    body.pom-operational .reviewer-user-box .btn { min-height: 40px; padding: 8px 10px; }
    body.pom-operational .reviewer-assignment-wait { margin-left: 0; padding: 9px 10px; }
    body.pom-operational .pom-evaluation-banner { padding: 19px 17px; }
    body.pom-operational .pom-evaluation-title,
    body.pom-operational .pom-evaluation-title strong { font-size: 23px; }
    body.pom-operational .pom-evaluation-fields { gap: 10px; }
    body.pom-operational .pom-evaluation-fields > div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
    body.pom-operational .pom-evaluation-fields dd { font-size: 14px; }
    body.pom-operational .pom-evaluation-picker .project-picker > summary,
    body.pom-operational .pom-evaluation-picker .reviewer-project-context select { min-height: 44px; font-size: 16px; }
  }
}
