:root { color-scheme: light; font: 16px system-ui, sans-serif; color: #172c31; background: #f2f6f5; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #102f33; color: white; }
.bar, main { width: min(1100px, calc(100% - 32px)); margin: auto; }
.bar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
.bar strong { letter-spacing: .13em; }
.bar span { color: #d1e4de; }
main { padding: 38px 0 60px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 4px 0; letter-spacing: -.045em; }
.eyebrow { color: #236355; font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 750; margin: 0; }
.intro { color: #496067; margin-bottom: 24px; }
.panel { min-width: 0; background: #fff; border: 1px solid #d6e3df; border-radius: 14px; padding: 20px; margin: 0 0 18px; }
legend { font-weight: 750; padding: 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 650; align-content: start; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #aebfbc; background: #fbfdfc; border-radius: 8px; padding: 10px; color: inherit; font: inherit; font-weight: 400; }
textarea { resize: vertical; }
button { border: 0; border-radius: 8px; background: #176454; color: white; font: inherit; font-weight: 700; padding: 11px 18px; cursor: pointer; }
button:hover { background: #104b40; }
:focus-visible { outline: 3px solid #398c7b; outline-offset: 2px; }
.account { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.login { max-width: 420px; margin: 30px auto; }
.login form { display: grid; gap: 16px; margin-top: 20px; }
small, dt, #upload-status { color: #496067; font-weight: 500; }
#upload-status:empty { margin: 12px 0; }
.alert { padding: 12px 16px; border-radius: 8px; background: #d9f3e9; }
.error { background: #ffe6e1; color: #802919; }
.records { margin-top: 40px; }
summary { cursor: pointer; overflow-wrap: anywhere; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.media { display: flex; flex-wrap: wrap; gap: 12px; }
.media img, .media video { max-width: 100%; width: 200px; border-radius: 8px; }
.selected-media { display: flex; flex-wrap: wrap; gap: 10px; }
.selected-media:empty { display: none; }
.selected-file { display: grid; position: relative; width: min(100%, 200px); gap: 6px; overflow-wrap: anywhere; }
.selected-file img, .selected-file video { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #e8efed; border-radius: 8px; }
.remove-file { position: absolute; top: 5px; right: 5px; width: 32px; height: 32px; padding: 0; background: #102f33; font-size: 1.25rem; }
.inventory-tabs { display: flex; gap: 10px; margin-bottom: 24px; }
.inventory-tabs a { padding: 9px 14px; border: 1px solid #aebfbc; border-radius: 8px; color: #102f33; text-decoration: none; font-weight: 650; }
.inventory-tabs a[aria-current="page"] { background: #176454; color: white; border-color: #176454; }
.remove-saved { display: flex; align-items: center; margin: 6px 0 14px; } .remove-saved input { width: auto; }
