/* OppdragsKalk 4.25: offer clarity and reliable print isolation */
.ok425-error{display:block;color:#a52b22;font-size:.83rem;font-weight:600;margin-top:.32rem;line-height:1.4}
.fast-form [aria-invalid="true"]{border-color:#bf3b2d!important;box-shadow:0 0 0 3px rgba(191,59,45,.12)!important}
.fast-preview .proposal{background:#fff;box-shadow:0 16px 46px rgba(20,35,55,.09);border:1px solid #e6e8ed;border-radius:12px;overflow:hidden}
.fast-preview .proposal table{width:100%;border-collapse:collapse}
.fast-preview .proposal th{background:#f5f6f8;text-align:left}
.fast-preview .proposal th,.fast-preview .proposal td{padding:10px 12px;border-bottom:1px solid #e8eaf0}
.fast-preview .proposal .number{text-align:right;font-variant-numeric:tabular-nums}
.fast-preview .proposal-totals{margin-left:auto;max-width:390px}
.fast-preview .proposal-total{border-top:2px solid #232d39;padding-top:10px;font-size:1.08rem}
@media(max-width:650px){.fast-preview .offer-document{overflow-x:auto}.fast-preview .proposal{min-width:0}.fast-preview .proposal th,.fast-preview .proposal td{padding:7px 5px;font-size:.76rem}.fast-preview .proposal-top{gap:10px}}
@media print{
 @page{size:A4;margin:14mm}
 html,body{background:white!important}
 body:not(.offer-active) .site-header,body:not(.offer-active) .fast-form,body:not(.offer-active) .fast-total,body:not(.offer-active) .fast-actions,body:not(.offer-active) .fast-wrap>h1,body:not(.offer-active) .fast-wrap>p,body:not(.offer-active)>footer{display:none!important}
 body:not(.offer-active) .fast-preview[hidden]{display:none!important}
 body:not(.offer-active) .fast-preview,body:not(.offer-active) .fast-preview .offer-document{display:block!important;position:static!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;border:0!important;box-shadow:none!important;overflow:visible!important}
 body:not(.offer-active) .fast-preview .proposal{border:0!important;box-shadow:none!important;overflow:visible!important}
 .proposal table{width:100%!important;table-layout:auto;border-collapse:collapse}
 .proposal tr,.proposal .proposal-totals{break-inside:avoid}
 .proposal section{break-inside:auto}
 .proposal h2{break-after:avoid}
 .proposal th,.proposal td{padding:5px!important;font-size:9pt!important}
 .proposal .proposal-top{break-inside:avoid}
 .proposal .proposal-footer{break-inside:avoid}
}
