.estimate-template{margin:0 22px 16px;border:1px solid #cde5ee;background:linear-gradient(135deg,#f3fbfd,#edf8fb);border-radius:12px;padding:15px}.template-title{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #dcecf2;padding-bottom:10px;margin-bottom:11px}.template-title span{font-size:8px;letter-spacing:.13em;color:#159fc8;font-weight:900}.template-title h3{font-size:13px;color:#274666;margin:3px 0 0}.template-title>b{background:#fff;border:1px solid #cde5ee;border-radius:12px;color:#147e9f;padding:5px 9px;font-size:8px}.template-controls{display:grid;grid-template-columns:1.35fr 1fr;gap:12px}.template-controls>label,.template-controls>div{display:grid;gap:5px}.template-controls span{font-size:8px;font-weight:800;color:#60788a}.template-controls select{height:39px;border:1px solid #cbdfe7;background:#fff;border-radius:8px;padding:0 9px;color:#294761}.fee-scenarios{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.fee-scenarios button{height:39px;border:1px solid #cbdfe7;background:#fff;color:#698092;border-radius:8px;font-size:8px;font-weight:800}.fee-scenarios button.active{background:linear-gradient(135deg,#168fbe,#20b4ce);color:#fff;border-color:#168fbe}.fee-scenarios button:disabled{opacity:.45}.template-summary{display:grid;grid-template-columns:.8fr .8fr 1.4fr;gap:7px;margin-top:10px}.template-summary p{margin:0;background:#fff;border:1px solid #dceaf0;border-radius:8px;padding:9px}.template-summary small,.template-summary strong{display:block}.template-summary small{font-size:7px;color:#8293a2;margin-bottom:4px}.template-summary strong{font-size:9px;color:#294761;line-height:1.4}.template-hint{margin:9px 0 0;color:#688192;font-size:8px}.item-row input[type=number]{text-align:right}.item-row input:first-child{color:#294761;font-weight:600}
@media(max-width:700px){.estimate-template{margin:0 14px 14px}.template-controls,.template-summary{grid-template-columns:1fr}.template-title>b{display:none}.fee-scenarios{grid-template-columns:1fr}.fee-scenarios button{height:34px}}
