.entry{position:relative}
.entry-cover{width:calc(100% + 26px);max-width:none;height:124px;object-fit:cover;margin:-13px -13px 10px}
.entry .category{display:inline-block;background:#f1e8d5;border-radius:15px;padding:1px 9px;margin-bottom:5px;color:#604719}
.article-prose h2{font-size:21px;margin-top:22px}
.article-prose p{margin-block:12px}
.article-prose ol{padding-inline-start:23px;margin-bottom:18px}
.article-cover{width:100%;max-height:320px;object-fit:cover;border-radius:10px;margin-bottom:20px}
.source-note{font-size:12px;color:var(--muted)}
.source-note a,.article-prose a{text-decoration:underline;color:var(--green)}
.cover-preview{width:240px;height:130px;object-fit:cover;border-radius:10px}
.faq-item{padding:12px 16px;margin-bottom:10px}
.faq-item summary{cursor:pointer;font-weight:700;font-size:16px}
.faq-item p{margin-top:10px;white-space:pre-wrap}
.calculator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}
.calculator-grid h2{font-size:21px}
.contact-layout{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,1.7fr);gap:18px}
.contact-layout p{margin-block:12px}
.contact-layout .panel{padding:20px}
.template-layout{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2.3fr);gap:20px;align-items:start}
.template-fields h2{font-size:21px}
.template-paper{padding:28px;background:white;min-height:700px}
.template-paper header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:18px}
.template-paper h2{text-align:center;font-size:24px;margin-bottom:22px}
.template-output{font-size:17px;line-height:2.05;min-height:400px}
.template-paper footer{border-top:1px solid var(--line);margin-top:24px;padding-top:13px;font-size:11px;text-align:center;color:var(--muted)}
.portal-header .portal-account{min-width:0}
@media(max-width:1000px){.calculator-grid{grid-template-columns:1fr 1fr}.template-layout{grid-template-columns:1fr}}
@media(max-width:640px){
 .calculator-grid,.contact-layout{grid-template-columns:1fr}
 .template-paper{padding:15px;min-height:550px}
 .template-paper header{flex-wrap:wrap;gap:8px}
 .template-output{font-size:15px}
 .entry-cover{height:145px}
}
@media print{
 @page{size:A4;margin:15mm}
 .template-fields,.page-title{display:none}
 .template-paper{min-height:0;border:0;padding:0}
 .template-output{font-size:14pt;line-height:1.8;min-height:150mm}
 .template-paper footer{font-size:9pt}
 .source-note{font-size:9pt}
}
.history{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}
.history summary{cursor:pointer;font-weight:700}
.history p{display:flex;gap:15px;justify-content:space-between;padding-block:4px}
