:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #17283b;
  background: #f1f4f8;
  --border: #dce4ed;
  --muted: #4e6277;
  --primary: #214e71;
  --accent: #e7f1f6;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }
.shell { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.top { background: #122d44; color: #fff; }
.top-inner { min-height: 62px; display: flex; align-items: center; gap: 16px; }
.brand { font-weight: 800; letter-spacing: .13em; }
.top-label { color: #d7e5ef; padding-left: 16px; border-left: 1px solid #698195; font-size: .9rem; }
.intro { margin: 36px 0 24px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 10px; }
h2 { font-size: 1.1rem; line-height: 1.25; }
h3 { font-size: .97rem; }
.intro p, .muted { color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 22px; padding-bottom: 38px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.panel-header { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.count { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.item { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.item:last-child { border-bottom: 0; }
.item p { color: var(--muted); font-size: .89rem; margin-top: 5px; }
.item .link { margin-top: 5px; min-height: 30px; }
.item-status { justify-self: end; align-self: start; }
.pill { display: inline-block; padding: 3px 9px; font-size: .8rem; font-weight: 650; border-radius: 999px; color: #264963; background: var(--accent); white-space: nowrap; }
.pill[data-status="Complete"] { color: #155840; background: #e5f4ec; }
.pill[data-status="Pending"] { color: #49586a; background: #edf1f5; }
.review-body { padding: 16px 18px 20px; }
.muted { margin: 8px 0 14px; font-size: .89rem; }
form { display: grid; gap: 7px; }
label { font-size: .85rem; font-weight: 650; }
select, textarea { width: 100%; font: inherit; font-size: .9rem; color: inherit; padding: 8px; border: 1px solid #a7b8c8; border-radius: 6px; background: #fff; }
textarea { resize: vertical; min-height: 100px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
button { border-radius: 6px; border: 1px solid var(--primary); background: var(--primary); color: #fff; min-height: 42px; padding: 7px 11px; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
button.secondary { color: var(--primary); background: #fff; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #3182a9; outline-offset: 2px; }
.link { border: 0; color: var(--primary); background: transparent; padding: 0; text-underline-offset: 3px; text-decoration: underline; }
.notice { padding: 12px 16px; border: 1px solid var(--border); background: #fff; border-radius: 8px; margin-bottom: 24px; }
.form-message { color: #34536d; font-size: .85rem; }
.form-message[data-error="true"] { color: #9c282f; }
.feedback-heading { display: flex; justify-content: space-between; align-items: center; min-height: 40px; margin-top: 14px; }
.note { border-top: 1px solid var(--border); padding: 10px 0; font-size: .9rem; overflow-wrap: anywhere; }
.note .meta { color: var(--muted); font-size: .8rem; margin-bottom: 5px; }
.note .body { white-space: pre-wrap; }
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .shell { padding-inline: 12px; }
  .intro { margin-top: 26px; }
  .item { grid-template-columns: 1fr; gap: 4px; }
  .item-status { justify-self: start; }
}
