:root{font-family:system-ui,sans-serif;color:#eff5ff;background:#0d1625}*{box-sizing:border-box}body{margin:0}main{max-width:720px;margin:auto;padding:20px 16px 40px}header{position:relative;margin:8px 0 22px;padding-right:170px}header p{font-size:12px;letter-spacing:.08em;color:#69aaff;margin:0 0 7px}h1{margin:0;font-size:28px}header span,small{color:#96a6bd}.fullscreen{position:absolute;right:0;top:2px;padding:10px 12px;font-size:13px;background:#395675}.add,article{background:#172338;border:1px solid #2b3a54;border-radius:16px;padding:16px;margin:14px 0}h2{font-size:18px;margin:0 0 14px}label{display:block;color:#bdc9dc;font-size:14px;margin:12px 0}input{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #3a4c6b;border-radius:10px;background:#0e1828;color:#fff;font:inherit}.photos{border:1px dashed #5273a7;border-radius:10px;padding:10px}.photos input{border:0;padding:4px 0;background:transparent}.preview,.images{display:flex;gap:8px;overflow:auto}.preview img,.images img{width:106px;height:106px;border-radius:10px;object-fit:cover}button{border:0;border-radius:10px;padding:12px 16px;background:#6074ff;color:white;font-weight:700;font-size:15px}button:disabled{opacity:.5}#save{margin-top:18px}.list-head{display:flex;align-items:center;justify-content:space-between}.list-head h2{margin:12px 0}article{display:flex;gap:12px;align-items:flex-start}article strong,article b,article small{display:block}article b{margin-bottom:5px;color:#fff;font-size:16px}article small{margin-top:8px}#error{color:#ff9b9b;min-height:1.2em;margin:10px 0 0}#error.info{color:#8ee7b7}.list{color:#b7c5da}.gallery-upload{display:inline-block;padding:12px 16px;background:#395675;border-radius:10px;color:#fff;font-weight:700}.gallery-upload input{display:none}.candidates{margin:10px 0;padding:10px;background:#0e1828;border-radius:10px}.candidates span{display:block;color:#bdc9dc;margin-bottom:8px}.candidates button{margin:0 6px 6px 0;padding:8px 10px;background:#395675;font-size:13px}@media(max-width:520px){header{padding-right:0;padding-bottom:42px}.fullscreen{top:auto;bottom:0;left:0;right:auto}}

/* Показываем все три фото сразу */
article{display:block}
.images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;width:100%;margin-bottom:12px}
.images a{display:block;min-width:0}
.images img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px}
