*{box-sizing:border-box}body{margin:0;background:#eef2f7;color:#10213b;font:16px system-ui,sans-serif}header{background:#10213b;color:white;padding:24px clamp(16px,5vw,60px);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}header span{color:#ff5366}main{max-width:1250px;margin:auto;padding:24px}section,aside{min-width:0}#login,.editor,aside{background:white;border:1px solid #dce3ed;border-radius:16px;padding:24px;box-shadow:0 8px 28px #10213b0b}#login{max-width:580px;margin:30px auto}label{display:grid;gap:6px;margin:14px 0;font-weight:600}input,select,textarea{width:100%;min-width:0;font:inherit;padding:12px;border:1px solid #c3cddd;border-radius:8px;background:white;color:inherit}button{border:0;border-radius:8px;padding:12px 18px;background:#c91f39;color:white;font:600 14px system-ui;cursor:pointer}button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#174c94}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar h1{margin-right:auto}.layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:20px}#list{max-height:75vh;overflow:auto}#list button{display:block;text-align:left;width:100%;margin:5px 0;background:#f0f4fa;color:#10213b}#list button.active{background:#174c94;color:white}#photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin:16px 0}#photos article{border:1px solid #dce3ed;border-radius:9px;overflow:hidden}#photos img{width:100%;height:120px;object-fit:cover;display:block}#photos div{display:flex;justify-content:space-around;padding:5px}#photos button{padding:7px 10px}#status{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:600} .drop{border:2px dashed #9badc7;padding:16px;border-radius:12px}[hidden]{display:none!important}@media(max-width:700px){main{padding:12px}.layout{grid-template-columns:1fr}#list{max-height:240px}.editor,aside{padding:16px}}
