:root {color-scheme:light;font:16px/1.5 system-ui,sans-serif;color:#0b192e;background:#eaf0f7}
*{box-sizing:border-box}body{margin:0}header{background:#042a50;color:white;padding:1rem max(1rem,calc((100% - 70rem)/2));display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
header span{color:#b6def0}header button{margin-left:auto}main{max-width:72rem;margin:auto;padding:1.5rem 1rem 4rem}
form{padding:1.25rem;background:#f5f9fe;border:1px solid #bdcfe0;border-radius:1rem;margin-block:1rem}
#login{max-width:30rem}h1,h2{line-height:1.15}form h2{margin-top:0}label{display:block;font-weight:600;margin:.4rem 0 .9rem}
input,select,textarea,button{font:inherit}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:.55rem;margin-top:.3rem;border:1px solid #7896b0;border-radius:.5rem;background:white;color:inherit}
#species{max-width:28rem}.fields,.assignments{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.25rem 1rem}
fieldset{border:1px solid #bdcfe0;border-radius:.75rem;margin:1rem 0;padding:.75rem;min-width:0}legend{font-weight:700}textarea{min-height:5rem}
button{padding:.55rem .9rem;background:#76d7f7;border:1px solid #4388ae;border-radius:.625rem;cursor:pointer;font-weight:650}button:disabled{opacity:.55;cursor:wait}
.actions{display:flex;gap:.75rem;flex-wrap:wrap}:focus-visible{outline:3px solid #1266a0;outline-offset:3px}[hidden]{display:none!important}


.current-photo{max-width:min(100%,18rem);max-height:12rem;object-fit:contain;border-radius:.5rem;margin-bottom:.75rem}
.search-picker { position:relative; max-width:32rem; margin-bottom:1rem; }
.search-picker label { margin-bottom:.25rem; }
.picker-input { display:flex; align-items:stretch; gap:.25rem; }
.picker-input input { margin:0; min-width:0; }
.picker-input button { min-width:44px; }
.search-picker [role=listbox], .picker-empty { position:absolute; z-index:5; top:100%; left:0; right:0; max-height:14rem; overflow:auto; margin:0; padding:.25rem; background:white; border:1px solid #7896b0; border-radius:.5rem; box-shadow:0 6px 18px #0b192e30; }
.search-picker [role=option] { list-style:none; padding:.55rem .7rem; cursor:pointer; }
.search-picker [role=option]:hover, .search-picker [aria-selected=true] { background:#d5ebfa; }
.picker-empty { padding:.7rem; }
.tank-tags { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:.5rem 0; }
.tank-tags li { display:flex; gap:.35rem; align-items:center; background:#d5ebfa; border-radius:.5rem; padding:.25rem .35rem .25rem .65rem; }
.tank-tags button { padding:0; min-width:36px; min-height:36px; background:transparent; border:0; }


.staff-tabs { display:flex; gap:.5rem; margin:0 0 1.25rem; }
.staff-tabs [role=tab] { background:#f5f9fe; }
.staff-tabs [aria-selected=true] { background:#76d7f7; }
#rename-tank { margin-bottom:.5rem; }
