:root{font-family:Tahoma,Arial,sans-serif;color:#183044;background:#f1f5f9;font-size:16px;line-height:1.6;color-scheme:light}*{box-sizing:border-box}body{margin:0}header{background:#173b57;color:white;padding:20px max(20px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{font-size:14px;line-height:1.5}.brand strong{font-size:20px}header #mode{font-size:14px}main{max-width:1160px;margin:auto;padding:28px 20px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px}h1{margin:0;font-size:30px}h2{font-size:22px;margin:0 0 12px}.eyebrow{margin:0;color:#54738b;font-size:14px}.panel{max-width:600px;background:white;border:1px solid #d6e1eb;border-radius:16px;padding:24px;margin-top:24px}button,.file-button{font:inherit;border:1px solid #c1ceda;border-radius:10px;background:white;color:#183044;padding:10px 16px;cursor:pointer;min-height:46px}button:hover,.file-button:hover{background:#eaf1f7}.primary{background:#126c74;color:white;border-color:#126c74}.primary:hover{background:#0d535a}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,.file-button:focus-within{outline:3px solid #df9d24;outline-offset:2px}input,select{width:100%;padding:11px 12px;border:1px solid #b4c6d5;border-radius:8px;font:inherit;color:#183044;background:white;min-height:46px}label{display:block;font-weight:bold;margin-bottom:16px}label input,label select{margin-top:6px;font-weight:normal}.toolbar{display:flex;gap:16px;align-items:end;margin:24px 0}.toolbar label{margin:0;flex:1}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:white;border:1px solid #d4e0e9;border-radius:16px;overflow:hidden}.photo{height:190px;width:100%;object-fit:cover;display:block;background:#e4ecf2;border:0;border-radius:0;padding:0}.photo img{width:100%;height:100%;object-fit:cover}.no-photo{height:100px;display:grid;place-items:center;background:#e8eff5;color:#637b8e;font-size:14px}.card-body{padding:20px}.category{font-size:14px;color:#597087;margin:0}.card h2{margin:4px 0 16px;overflow-wrap:anywhere}.count{display:flex;align-items:baseline;gap:8px;margin:0;color:#126c74}.count strong{font-size:38px;line-height:1.3}.detail{font-size:14px;color:#566f83;margin:8px 0 20px}.actions{display:flex;flex-wrap:wrap;gap:8px}.actions button{padding:8px 12px;font-size:14px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.small{font-size:14px;color:#577087}.error{color:#a42626}.success{color:#0b636a}#notice:not(:empty){padding:12px 16px;border-radius:10px;background:#e2edf3}.empty{grid-column:1/-1;padding:36px;text-align:center;background:white;border:1px dashed #a9bdce;border-radius:16px}dialog{width:min(560px,calc(100vw - 24px));border:0;border-radius:16px;padding:24px;max-height:90dvh;overflow:auto;box-shadow:0 24px 70px #10283b44}dialog::backdrop{background:#10283b88}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:16px}.dialog-head button{padding:5px 12px}.photo-actions{display:flex;gap:12px}.file-button{position:relative;font-weight:normal;flex:1;text-align:center}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.preview{max-width:100%;max-height:240px;border-radius:10px}.full-photo{width:100%;max-height:70dvh;object-fit:contain}.record{padding:16px 0;border-bottom:1px solid #dce6ee;overflow-wrap:anywhere}.record p{margin:4px 0 12px}.record strong{display:block}.badge{background:#e5eef5;padding:3px 8px;border-radius:6px;font-size:14px}header button{margin-left:8px;font-size:14px}body[aria-busy=true]{cursor:progress}[hidden]{display:none!important}@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){header{padding:16px}.brand strong{font-size:18px}main{padding:24px 16px}h1{font-size:26px}.heading{align-items:start;flex-direction:column}.heading button{width:100%}.cards{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.toolbar button{align-self:flex-start}.two{grid-template-columns:1fr;gap:0}.card-body{padding:18px}.photo{height:220px}dialog{padding:20px}.photo-actions{flex-wrap:wrap}}
