#templates{padding-top:30px}.template-notice{background:var(--surface,#28232b);border:1px solid var(--line,#52424d);border-left:3px solid var(--orange,#dbaa79);padding:16px 20px;border-radius:12px;font-size:14px;line-height:1.6}.template-notice p{margin-bottom:0}.template-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:24px 0}.template-symbol{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--surface,#302b34);color:var(--orange,#dbaa79);font-size:26px}.template-card{display:flex;flex-direction:column;align-items:flex-start}.template-card details{width:100%;margin:18px 0;line-height:1.6}.template-card details summary{cursor:pointer;font-weight:600}.template-card .primary{margin-top:auto;width:100%}.template-card a{color:var(--orange,#ebba90)}.template-dialog{max-width:820px;width:calc(100% - 32px);max-height:90vh;overflow:auto;background:var(--surface,#211e27);color:var(--ink,#f3eae4);border:1px solid var(--line,#554652);border-radius:20px;padding:24px}.template-dialog::backdrop{background:#09080bbd}.template-review-list{display:grid;gap:16px;margin:24px 0}.template-review-list fieldset{border:1px solid var(--line,#514651);border-radius:12px;padding:16px;min-width:0}.template-review-list legend{font-weight:700;padding:0 6px}.template-review-list legend small{display:block;font-size:12px;font-weight:400}.template-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.template-check{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:12px}.template-check input{width:18px;height:18px;margin:0;accent-color:var(--orange,#dbaa79)}.template-dialog input:disabled{opacity:.65}.template-dialog #template-error{color:#ffb6ac}@media(max-width:650px){.template-filters,.template-review-grid{grid-template-columns:1fr}.template-dialog{padding:18px}.template-dialog .dialog-bottom{flex-wrap:wrap}.template-card .primary{min-height:44px}}

.template-size-label{width:100%;margin:0 0 14px}.template-size-label select{width:100%}.template-extra-costs{margin:20px 0}
.template-config{display:grid;gap:12px;width:100%;margin-bottom:16px}.template-component{padding:12px;border:1px solid var(--line);border-radius:10px;margin:10px 0}.template-total-preview{padding:20px;background:var(--surface);border:2px solid var(--orange);border-radius:14px;margin:20px 0}.template-total-preview>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.template-total-preview .template-total{border-top:1px solid var(--line);font-size:18px}.template-total-preview strong{font-size:25px;color:var(--orange)}
