:root { color-scheme: light; --navy: #0F1E3C; --gold: #C9A961; --paper: #f5f4ef; --muted: #58647a; --line: #dce0e6; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--navy); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button, input, select { min-height: 46px; }
button { cursor: pointer; border: 1px solid var(--navy); border-radius: 9px; padding: .6rem 1rem; background: var(--navy); color: white; font-weight: 650; }
button.secondary { background: white; color: var(--navy); border-color: var(--line); }
button:disabled { opacity: .55; cursor: wait; }
button:hover:not(:disabled) { border-color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 0; padding: 1rem; background: white; z-index: 10; }
header { background: var(--navy); color: white; border-bottom: 3px solid var(--gold); padding: 1.4rem max(1rem, calc((100vw - 1120px) / 2)); }
.topline, .row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.brand { letter-spacing: .16em; color: var(--gold); font-size: .78rem; font-weight: 800; }
h1 { font-size: 1.85rem; line-height: 1.2; margin: .4rem 0; letter-spacing: -.03em; }
h2 { font-size: 1.3rem; margin-top: 0; }
h3 { font-size: 1.05rem; margin: 0; }
p { line-height: 1.55; }
header p { margin-bottom: 0; color: #d8deeb; }
.identity { font-size: .85rem; overflow-wrap: anywhere; }
nav { display: flex; gap: .4rem; flex-wrap: wrap; max-width: 1120px; margin: 1.3rem auto 0; padding: 0 1rem; }
nav button { background: transparent; border-color: transparent; color: var(--muted); }
nav button[aria-current="page"] { background: white; color: var(--navy); border-color: var(--line); box-shadow: inset 0 -3px var(--gold); }
main { max-width: 1120px; padding: 1rem; margin: auto; }
.freshness { font-size: .85rem; color: var(--muted); margin: .25rem 0 1.25rem; }
.panel, article { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; margin-bottom: 1rem; }
.neutral { padding: 2.5rem 1.5rem; max-width: 700px; margin: 2rem auto; text-align: center; }
.eyebrow { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
.desk-layout { display: grid; gap: 1rem; align-items: start; }
label { display: grid; gap: .4rem; margin: .8rem 0; font-size: .9rem; font-weight: 600; }
input, textarea, select { width: 100%; min-width: 0; border: 1px solid #aeb7c4; border-radius: 7px; padding: .65rem .7rem; color: var(--navy); background: white; }
textarea { resize: vertical; min-height: 100px; }
.pair { display: grid; gap: 0 .8rem; grid-template-columns: 1fr 1fr; }
.hint, .meta { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.notice { background: #faf5e8; border-left: 3px solid var(--gold); padding: .8rem; font-size: .88rem; }
.error { border: 1px solid #af4b40; color: #832d24; background: #fff3f1; padding: 1rem; border-radius: 9px; }
.success { background: #eaf4ee; color: #24593a; padding: .8rem; border-radius: 9px; }
.badge { border-radius: 30px; background: #edf0f5; padding: .3rem .65rem; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge.closed { background: #eaf4ee; color: #24593a; }
.badge.open { background: #faf0d7; }
.detail { white-space: pre-wrap; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
details { border-top: 1px solid var(--line); padding-top: .8rem; margin: 1rem 0; }
summary { cursor: pointer; min-height: 32px; }
ol { padding-left: 1.3rem; }
li { margin: .8rem 0; overflow-wrap: anywhere; }
.role-row { display: grid; gap: .5rem; border-bottom: 1px solid var(--line); padding: .6rem 0; }
footer { text-align: center; font-size: .8rem; color: var(--muted); padding: 1.5rem; }
.search { display: flex; align-items: end; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.search label { flex: 1 1 240px; margin: 0; }
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1rem; }
.catalog article { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.catalog + button { margin-top: 1rem; }
.item-link { text-align: left; border: 0; border-radius: 0; background: none; color: var(--navy); padding: 0; text-decoration: underline; text-underline-offset: .2em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.facts dt { font-size: .82rem; color: var(--muted); }
.facts dd { margin: .3rem 0 0; overflow-wrap: anywhere; font-weight: 600; }
.inbound { padding-left: 1.2rem; }
.badge.in_stock { background: #eaf4ee; color: #24593a; }
.badge.low { background: #faf0d7; color: #705119; }
.badge.out { background: #fff3f1; color: #832d24; }
@media (min-width: 780px) { .desk-layout { grid-template-columns: 350px minmax(0, 1fr); } .role-row { grid-template-columns: 2fr 1fr 1fr .7fr auto; align-items: end; } }
@media (max-width: 360px) { .pair { grid-template-columns: 1fr; } main { padding: .7rem; } }
