/* Price manager: the website's Door Row tokens (navy trim, ribbed door, logo yellow), working-screen density. */
@font-face { font-family: 'Big Shoulders Display'; font-weight: 600 800; font-display: swap; src: url(fonts/big-shoulders-display-600-800-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 400 700; font-display: swap; src: url(fonts/public-sans-400-700-normal-latin.woff2) format('woff2'); }
:root { --trim: #304f68; --navy: #1c2f40; --ink: #18242f; --soft: #4a5b6a; --door: #f1f3f4; --rib: #d6dbdf; --shade: #b8c0c7; --yellow: #f3d431; --paper: #eef1f3; --red: #a3261b; --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 'Public Sans', system-ui, sans-serif; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
a { color: var(--trim); font-weight: 600; text-underline-offset: 0.18em; }
h1 { font: 800 2.25rem/1 var(--display); text-transform: uppercase; color: var(--navy); margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.top { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--trim); color: #fff; }
.top img { width: 132px; height: auto; }
.top-title { font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--yellow); }
.top .link { margin-left: auto; color: #fff; }
main { width: min(100% - 32px, 760px); margin: 24px auto 64px; }

.btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px; background: var(--yellow); color: var(--ink); font: 800 1.25rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: #d9b90f; }
.btn:disabled { background: var(--rib); color: var(--soft); cursor: default; }
.link { border: 0; background: none; padding: 8px; font: 600 0.9375rem/1 'Public Sans', sans-serif; color: var(--trim); text-decoration: underline; cursor: pointer; }
.danger { color: var(--red); }

.card { background: #fff; padding: 28px 24px; border-top: 8px solid var(--trim); box-shadow: 0 10px 24px -14px rgb(16 28 40 / 0.5); }
.signin { max-width: 440px; margin: 8vh auto 0; }
.signin > p { margin: 10px 0 20px; color: var(--soft); }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9375rem; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
input[type=email], input[type=number] { font: inherit; font-size: 1.0625rem; padding: 11px 12px; min-height: 48px; border: 1px solid var(--shade); border-radius: 3px; background: #fff; color: var(--ink); width: 100%; }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--trim); }
input:invalid { border-color: var(--red); }
.msg { color: var(--soft); font-size: 0.9375rem; }

.tabs { display: flex; gap: 4px; border-bottom: 3px solid var(--navy); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 12px 14px 10px; font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--soft); text-decoration: none; white-space: nowrap; }
.tabs a[aria-current] { background: var(--navy); color: #fff; }
.count:not(:empty) { margin-left: 4px; padding: 2px 7px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 0.875rem; }
.panel-head { margin-bottom: 18px; }
.panel-head p { margin-top: 8px; color: var(--soft); max-width: 62ch; }

.prices { width: 100%; border-collapse: collapse; background: #fff; }
.prices th, .prices td { padding: 8px 10px; border-bottom: 1px solid var(--rib); text-align: left; }
.prices thead th { font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); background: var(--door); }
.prices tbody th { font: 800 1.5rem/1 var(--display); color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices tr.dirty { background: #fff8d1; }
.prices td:last-child, .prices th:last-child { text-align: center; width: 64px; }
.money { position: relative; display: block; max-width: 150px; }
.money::before { content: '$'; position: absolute; left: 11px; top: 50%; translate: 0 -50%; color: var(--soft); }
.money input { padding-left: 24px; font-variant-numeric: tabular-nums; }
.savebar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; background: var(--paper); border-top: 1px solid var(--shade); }

.list { list-style: none; margin: 0; padding: 0; background: #fff; }
.list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--rib); }
.list li > div { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.list strong { font-size: 1.0625rem; }
.list small { grid-column: 1; color: var(--soft); }
.list p { grid-column: 1 / -1; white-space: pre-wrap; margin-top: 4px; }
.list .link { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.list .empty { display: block; color: var(--soft); }

@media (max-width: 560px) {
  .prices th, .prices td { padding: 8px 6px; }
  .prices tbody th { font-size: 1.25rem; }
  .money { max-width: 110px; }
  .savebar { flex-direction: column; align-items: stretch; }
}
