.staff { max-width: 68rem; padding-block: 2.5rem; }
.staff-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.staff h1 { font-size: clamp(3rem, 7vw, 5rem); }
.staff h2 { font-size: 2.45rem; }
.staff-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; align-items: start; }
.staff-panel { display: grid; gap: .8rem; padding: clamp(1rem, 3vw, 1.75rem); background: var(--white); border: 1px solid var(--line); border-radius: .85rem; }
.inventory-sort { display: flex; align-items: end; gap: .5rem; }
.inventory-sort label { flex: 1; }
.inventory-list-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: .65rem; }
.staff-search-status:empty { display: none; }
.staff-search-status { margin: 0; color: var(--ink); font-size: .85rem; }
@media (max-width: 36rem) { .inventory-list-controls { grid-template-columns: minmax(0, 1fr); } }
.editor-photos { min-width: 0; margin: 0; padding: .7rem; border: 1px solid var(--line); border-radius: .5rem; }
.editor-photos legend { padding-inline: .3rem; font-weight: 700; }
.editor-photos > p { margin: 0 0 .6rem; }
.photo-thumbnails { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .65rem; margin-bottom: .8rem; }
.photo-thumbnails img { width: 100%; height: 6rem; object-fit: cover; border-radius: .35rem; }
.photo-thumbnails [data-photo-open] { height: auto; }
.photo-thumbnails label span { display: flex; align-items: center; gap: .35rem; font-size: .82rem; }
.photo-thumbnails input[type="checkbox"] { width: 1rem; height: 1rem; }
.login-panel { max-width: 30rem; }
.staff label { display: grid; gap: .25rem; font-weight: 600; min-width: 0; }
.staff input, .staff select, .staff textarea { min-width: 0; width: 100%; color: var(--ink); font: inherit; padding: .5rem .65rem; border: 1px solid #899886; border-radius: .45rem; background: #fff; }
.staff small { display: block; color: var(--soft-ink); font-size: .875rem; font-weight: 400; }
.staff-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.staff-items { list-style: none; padding: 0; margin: 0; }
.staff-items li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.item-actions { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: .7rem; }
.item-action { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.staff-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1rem; }
#item-form { scroll-margin-top: 1rem; }
.staff-error, .staff-notice { margin-bottom: 1rem; padding: .65rem 1rem; border-radius: .5rem; }
.staff-error { color: #722a1d; background: #ffe8e2; }
.staff-notice { background: var(--sage); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 44rem) { .staff-grid { grid-template-columns: 1fr; } }
