*{box-sizing:border-box}body{margin:0;background:#f4f2ea;color:#153a32;font:17px/1.45 system-ui}main{max-width:600px;margin:auto;padding:26px 16px 50px}header,aside,nav,footer,.step{display:flex;align-items:center;gap:6px}header img{width:48px;border-radius:12px}h1{font: bold clamp(25px,6vw,36px) Georgia;margin:8px}h2{font: bold 27px Georgia;margin:0 0 12px}input,select,button{font:inherit;border:1px solid #a8b7ad;border-radius:10px;padding:9px;background:white;color:inherit;min-height:44px}button{cursor:pointer;font-weight:600}input,label{display:block;width:100%}label{margin:12px 0}nav{margin:14px 0}nav button{flex:1;padding:5px;font-size:15px}button[aria-pressed=true],#add,form button[type=submit]{background:#163b34;color:white}aside select{min-width:0;flex:1}#add{margin:16px 0;width:100%}article,dialog,#login{background:#fff;border:1px solid #d5dacf;border-radius:18px;padding:17px;margin-bottom:14px}dialog{width:min(92%,450px);margin:auto;max-height:90vh}dialog::backdrop{background:#152a2488}.step{justify-content:space-between;margin:8px 0}.step span{flex:1}.step input{width:64px;text-align:center;font-weight:bold;font-size:23px}.step button{width:44px}small{display:block;margin:12px 0;color:#486256}footer{justify-content:space-between}#msg:empty{display:none}
