*{box-sizing:border-box}body{margin:0;background:#fff8ed;color:#201a18;font:14px Arial,sans-serif}header{background:#171514;color:white;padding:18px max(5vw,20px);display:flex;justify-content:space-between;align-items:center;letter-spacing:1px}header em,h1 em{color:#ffc323;font-style:normal}header a{color:#fff}main{max-width:480px;margin:8vh auto;background:white;padding:32px;box-shadow:0 10px 35px #421b1012}main.wide{max-width:1050px;margin:40px auto;background:transparent;box-shadow:none;padding:0 22px}.bar{display:flex;justify-content:space-between;align-items:center;gap:20px}h1{font-size:30px;margin:0 0 8px}h2{font-size:19px;margin:0 0 20px}p{color:#706b65;line-height:1.6}.view,.cancel{color:#a90e16;font-weight:bold}.panel{background:white;padding:25px;margin:24px 0;box-shadow:0 8px 28px #421b100c}form{display:grid;gap:16px}label{display:grid;gap:7px;font-size:12px;font-weight:bold}input{width:100%;padding:12px;border:1px solid #ddd0c2;background:#fffdfa;font-size:14px}button{background:#ad1018;color:white;border:0;padding:13px 18px;font-weight:bold;cursor:pointer}.success{background:#e8f7e9;padding:12px;color:#23602a}.error{background:#fff0ee;padding:12px;color:#a10d15}.editor{grid-template-columns:repeat(2,minmax(0,1fr))}.full{grid-column:1/-1}.actions{display:flex;align-items:center;gap:20px}.items{display:grid}.item{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #eee}.item img{width:64px;height:55px;object-fit:cover;background:#eee}.item-name{flex:1;display:grid;gap:5px}.item-name small,.hint{color:#777}.item strong{color:#ad1018;white-space:nowrap}.edit{color:#a10d15;font-weight:bold}.item form{display:block}.delete{background:#eee;color:#a10d15;padding:9px}.hint{font-size:12px}@media(max-width:650px){main.wide{margin:25px auto}.editor{grid-template-columns:1fr}.full{grid-column:auto}.bar{align-items:start;flex-direction:column}.item{gap:8px;flex-wrap:wrap}.item-name{min-width:120px}.item img{width:52px}.item strong{font-size:13px}}
