*{box-sizing:border-box}
body{margin:0;font-family:Montserrat,system-ui,sans-serif;color:#0B1F3A;background:#F2F4F7;font-size:15px;line-height:1.5}
a{color:#A61B1B}a:hover{color:#8A1515}
h1{font-size:28px;font-weight:800;line-height:1.15;margin:0 0 8px}
h2{font-size:26px;font-weight:800;margin:0}
.muted{color:#475467;font-size:14px;margin:0}
.small{font-size:14px;font-weight:600}
.logo{font-size:28px;line-height:1;text-decoration:none}.logo .mob{font-weight:800;color:#0B1F3A}.logo .auto{font-weight:600;color:#A61B1B}
.top{background:#fff;border-bottom:1px solid #E4E7EC;padding:18px 32px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.top.dark{background:#0B1F3A;color:#fff;border:0}
.who{display:flex;align-items:center;gap:16px;font-size:14px;font-weight:600;flex-wrap:wrap}
.tag{padding:5px 10px;border-radius:3px;font-size:12px;font-weight:700}.tag.wait{background:#FEF0C7;color:#7A2E0E}.tag.admin{background:#A61B1B;color:#fff}
.link{font:inherit;font-weight:600;background:none;border:0;padding:10px 0;min-height:44px;color:#A61B1B;cursor:pointer;text-decoration:underline}
.btn{font:inherit;font-weight:700;font-size:15px;padding:14px 26px;min-height:48px;border-radius:4px;border:0;cursor:pointer;text-decoration:none;text-align:center}
.btn.red{background:#A61B1B;color:#fff}.btn.red:hover{background:#8A1515;color:#fff}
.btn.navy{background:#0B1F3A;color:#fff}
.btn.small-btn{padding:9px 14px;min-height:44px;font-size:14px;background:#0B1F3A;color:#fff}
.box{background:#fff;border-radius:6px;padding:36px;display:flex;flex-direction:column;gap:18px;min-width:0}
.box.accent{border-top:4px solid #A61B1B;padding:48px}
.two{max-width:1000px;margin:0 auto;padding:56px 24px;display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.two .box{flex:1 1 380px}.two .error{flex:1 1 100%}
.narrow{max-width:620px;margin:0 auto;padding:72px 24px}
.wide{max-width:1100px;margin:0 auto;padding:48px 24px}
.error{background:#FEE4E2;color:#7A271A;font-weight:600;padding:14px 18px;border-radius:6px;margin:0}
label{font-size:13px;font-weight:600;display:block;margin-bottom:6px}label small{font-weight:400;color:#475467}
input,select{font:inherit;padding:13px 14px;border:1px solid #98A2B3;border-radius:4px;width:100%;min-height:46px;background:#fff;color:#0B1F3A}
input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #1D4ED8;outline-offset:2px}
/* калкулатор */
.calc{max-width:1040px;margin:0 auto;padding:28px 16px 56px;display:flex;flex-direction:column;gap:18px}
.cols{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}
.card{flex:1 1 420px;background:#fff;border:1px solid #D0D5DD;border-radius:8px;padding:20px;min-width:0}
.card h2{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#475467;margin:0 0 12px}
.field{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #E4E7EC}
.field.first{border-top:0}
.field label{font-size:14px;font-weight:500;margin:0}.field small,.sheet small{display:block;color:#475467;font-size:12px;font-weight:400}
.field input,.field select{font-size:14px;width:210px;max-width:55%;min-height:44px;padding:8px 10px;border-radius:6px}
.field input[type=number]{text-align:right}
.field input[type=checkbox]{width:22px;min-height:22px}
.sheet{width:100%;border-collapse:collapse;font-size:14px}
.sheet td{padding:9px 0;border-bottom:1px solid #E4E7EC;vertical-align:top}
.sheet td:last-child{text-align:right;font-weight:700;white-space:nowrap;padding-left:10px;font-variant-numeric:tabular-nums}
.sheet tr.sub td:first-child{font-weight:700}
.total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px;padding-top:12px;border-top:2px solid #0B1F3A}
.total span{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.total b{font-size:34px;font-weight:800;line-height:1;color:#A61B1B;font-variant-numeric:tabular-nums}
.total.thin{border-top-width:1px;margin-top:10px}.total.thin b{font-size:24px;color:#0B1F3A}
.preview{background:#FEF0C7;color:#7A2E0E;padding:10px 14px;border-radius:6px;margin:0;font-size:14px}
/* админ */
.stats{display:flex;flex-wrap:wrap;gap:16px;margin:28px 0}
.stat{flex:1 1 150px;background:#fff;border-radius:6px;padding:18px 20px}.stat p{margin:0 0 4px;font-size:13px;font-weight:600;color:#475467}.stat b{font-size:26px;font-weight:800}
.tablebox{background:#fff;border-radius:6px;overflow-x:auto}
.list{width:100%;border-collapse:collapse;min-width:760px}
.list th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#475467;padding:12px 16px;text-align:left}
.list td{padding:12px 16px;border-top:1px solid #E4E7EC;font-size:14px}
.lvl{display:flex;gap:8px;align-items:center}.lvl select{width:auto;min-height:44px;padding:9px 10px;font-size:14px}
.lvl select.hot{border:2px solid #A61B1B;font-weight:700}
.notice{background:#D1FADF;color:#054F31;font-weight:600;padding:14px 18px;border-radius:6px;margin:0}
.two .notice{flex:1 1 100%}
