/* 2027 Salary Guide. Loaded after css/report.css on this page only. */

.flag {
  background: #fff8e8;
  border: 1px solid #f0d9a8;
  border-left: 3px solid #c9a227;
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin: 0 0 18px;
  font-size: .95rem !important;
  color: var(--ink) !important;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0 4px;
}
.how-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.how-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.how-card p { margin: 0 !important; font-size: .92rem !important; color: var(--text) !important; }
.tips { display: grid; gap: 12px; margin-top: 8px; }
.tip {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--off-white);
  border-radius: 12px;
  padding: 14px 16px;
}
.tip b.num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.tip p { margin: 0 !important; font-size: .95rem !important; }
.bars { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 8px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(80px, 2fr) 56px; gap: 10px; align-items: center; }
.bar-row span { font-size: .88rem; color: var(--ink); }
.bar-row .pct { text-align: right; font-weight: 700; color: var(--blue); }
.bar-track { height: 10px; background: #e8eef4; border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--blue); border-radius: 99px; }
.nflag { font-size: .75rem; color: var(--text-muted); font-weight: 600; }
table.data td.miss { color: var(--text-muted); font-style: normal; white-space: normal; text-align: left; }
@media (max-width: 980px) {
  .how-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 70px; }
  .bar-row .lab { grid-column: 1 / -1; }
}

/* Pay comparison tables */
table.pay { min-width: 920px; }
table.pay th { font-size: .68rem; }
table.pay td { font-size: .88rem; vertical-align: top; }
table.pay td.n, table.pay th.n { white-space: nowrap; }
table.pay .sub { display: block; font-size: .78rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
table.pay .rolehead td { background: var(--off-white); font-weight: 700; color: var(--ink); font-size: .95rem; padding-top: 14px; }
table.pay .sm { font-size: .75rem; font-weight: 700; color: #9a3412; display: inline-block; margin-top: 4px; }
table.pay .conv { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
table.pay td.wrap, table.pay th.wrap { white-space: normal; }

table.data.pay th, table.data.pay td { white-space: normal !important; }
table.data.pay { min-width: 0; width: 100%; table-layout: fixed; }
table.data.pay th:nth-child(1), table.data.pay td:nth-child(1) { width: 16%; }
table.data.pay th:nth-child(2), table.data.pay td:nth-child(2) { width: 20%; }
table.data.pay th:nth-child(3), table.data.pay td:nth-child(3) { width: 22%; }
table.data.pay th:nth-child(4), table.data.pay td:nth-child(4) { width: 16%; }
table.data.pay th:nth-child(5), table.data.pay td:nth-child(5) { width: 26%; }
.block { overflow: visible; }
.table-wrap { overflow-x: auto; }

table.bls-official td.n, table.bls-official th.n { white-space: nowrap; }

@media (max-width: 800px) {
  table.data.pay, table.data.bls-official { table-layout: auto; min-width: 0 !important; width: 100%; }
  table.data.pay thead, table.data.bls-official thead { display: none; }
  table.data.pay, table.data.pay tbody,
  table.data.bls-official, table.data.bls-official tbody { display: block; width: 100%; }
  table.data.pay tr, table.data.bls-official tr {
    display: block; width: 100%;
    border: 1px solid var(--border); border-radius: 12px;
    padding: 12px 14px; margin: 0 0 10px; background: #fff;
  }
  table.data.pay tr.rolehead {
    background: var(--off-white); border: 0; padding: 10px 12px; margin: 18px 0 8px;
  }
  table.data.pay tr.rolehead td { padding: 0 !important; }
  table.data.pay tr.rolehead td::before { content: none !important; }
  table.data.pay td, table.data.bls-official td {
    display: block; width: 100% !important;
    text-align: left !important; padding: 6px 0 !important;
    border: 0;
  }
  table.data.pay td::before, table.data.bls-official td::before {
    content: attr(data-label);
    display: block;
    font-size: .68rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 2px;
  }
}
