:root{--g:#1f5c3a;--g2:#2d7a50;--r:#b3262d;--bg:#f6f1e7;--t:#222;--m:#6b6b6b;--l:#ddd5c4}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--t);font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
main{max-width:560px;margin:0 auto;padding:20px 16px 60px}
h1{font-size:26px;margin:8px 0 4px;color:var(--g)}
h2{font-size:18px;margin:26px 0 10px;color:var(--g)}
p{margin:6px 0}
.muted{color:var(--m);font-size:14px}
.card{background:#fff;border:1px solid var(--l);border-radius:12px;padding:14px;margin:10px 0}
.big{font-size:30px;font-weight:700;color:var(--r);margin:4px 0}
input,textarea,select{width:100%;padding:11px;border:1px solid #c9c0ac;border-radius:8px;font:inherit;background:#fff;margin:5px 0}
button{font:inherit;padding:11px 16px;border-radius:8px;border:0;background:var(--g);color:#fff;cursor:pointer}
button:hover{background:var(--g2)}
button.sec{background:#fff;color:var(--g);border:1px solid var(--g)}
button.red{background:var(--r)}
button.small{padding:6px 10px;font-size:14px}
.row{display:flex;gap:8px;align-items:center}
.row>*{margin:0}
.item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--l)}
.item:last-child{border-bottom:0}
.item b{display:block}
.err{color:var(--r);min-height:20px}
.top{display:flex;justify-content:space-between;align-items:center}
a{color:var(--g)}
table{width:100%;border-collapse:collapse}
td,th{text-align:left;padding:8px 6px;border-bottom:1px solid var(--l);font-size:15px}
.cardprint{break-inside:avoid}
@media print{.noprint{display:none!important}body{background:#fff}.card{border:1px dashed #888}}
