*{box-sizing:border-box}body{margin:0;background:#f6f5f3;color:#272729;font:16px system-ui,sans-serif}header{background:#262729;color:#fff;padding:22px max(20px,calc((100vw - 1200px)/2));display:flex;justify-content:space-between;gap:20px;border-bottom:4px solid #bd1037}header a{color:white}header span{color:#ffb8c8;margin-left:20px}main{max-width:1200px;margin:40px auto;padding:0 20px}h1{margin-bottom:8px}p{line-height:1.6}button,a,input,select,textarea{font:inherit}button,#signin,.catalog-button{background:#b71235;color:white;border:0;border-radius:8px;padding:12px 18px;cursor:pointer}button:disabled{opacity:.5;cursor:wait}input,select,textarea{width:100%;border:1px solid #c9c6c6;border-radius:7px;padding:11px;background:white;color:#222}input:focus,select:focus,textarea:focus,button:focus-visible,.catalog-button:focus-visible{outline:3px solid #e7a1b1;outline-offset:2px}.toolbar{display:flex;gap:12px;flex-wrap:wrap}.toolbar input{flex:1;min-width:200px}.table-wrap{overflow:auto;background:white;border:1px solid #dedbd8;border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:15px;border-bottom:1px solid #eee}th{background:#efede9}td:nth-child(2){min-width:200px}td button{padding:9px 12px}dialog{width:min(760px,95vw);max-height:92vh;border:0;border-radius:15px;padding:26px}dialog::backdrop{background:#0008}.heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:grid;gap:7px;font-size:14px}.wide{grid-column:1/-1}.check{display:flex;align-items:center}.check input{width:auto}.photo{padding:15px;background:#f5f5f5;border-radius:10px}.photo img{width:180px;height:130px;object-fit:contain;background:white;display:block;margin-bottom:12px}.photo img[hidden]{display:none}.photo button{background:#555;margin-top:10px}.hint{font-size:13px;color:#666}#form-message,#message{white-space:pre-wrap}#more{margin-top:20px}@media(max-width:600px){.fields{grid-template-columns:1fr}.wide{grid-column:auto}header strong{font-size:13px}header span{display:block;margin:0}dialog{padding:18px}h1{font-size:25px}}
