.calc-section-title{margin:24px 0 16px;padding-top:18px;border-top:1px solid var(--line);font-weight:700;font-size:13px;color:var(--text)}
.calc-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
#calc-lines .calc-line{align-items:flex-start;gap:16px}#calc-lines .calc-line strong{white-space:nowrap}#calc-total{font-size:clamp(23px,2.8vw,34px);overflow-wrap:anywhere}
.service-offers-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.service-offer-card{display:flex;flex-direction:column;min-width:0}.service-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.service-card-head>div{min-width:0}.service-card-head h2,.service-card-head h3{line-height:1.45;overflow-wrap:anywhere}.service-card-head .eyebrow{letter-spacing:.7px}.service-card-head p{font-size:12px;color:var(--text-muted);margin-top:5px}.service-card-head .tag{flex:none;white-space:normal}
.service-message{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-secondary);line-height:1.8;font-size:13px;margin:18px 0}.service-preview-items{color:var(--text-muted);font-size:12px;line-height:1.8;margin-bottom:20px;overflow-wrap:anywhere}.service-card-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:18px;margin-top:auto}.service-card-foot>strong{font-size:22px;letter-spacing:-.5px;white-space:nowrap}
.service-feedback{background:var(--accent-soft);border:1px solid var(--line);padding:14px 16px;border-radius:12px;margin:16px 0;color:var(--text);font-size:13px}.service-feedback p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.service-feedback small{color:var(--text-muted)}
.service-items-summary{border-top:1px solid var(--line);margin-top:20px}.service-summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--text)}.service-summary-row>div{min-width:0}.service-summary-row strong{font-weight:700;overflow-wrap:anywhere}.service-summary-row p{margin:7px 0;color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.service-summary-row small{display:block;color:var(--text-muted);margin-top:8px;font-size:12px}.service-summary-row>b{white-space:nowrap}
.service-draft-total{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0;color:var(--text-secondary);font-size:13px}.service-draft-total strong{font-size:24px;color:var(--text);white-space:nowrap;letter-spacing:-.5px}
.service-editor-items{display:grid;gap:18px;margin:24px 0}.service-editor-row{min-width:0;margin:0;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}.service-editor-row legend{font-size:12px;font-weight:700;color:var(--text-secondary);padding:0 8px}.service-editor-head{display:flex;gap:12px;align-items:center}.service-editor-head .field{flex:1;min-width:0}.service-editor-head .icon-btn{flex:none}.service-editor-row .field:last-child{margin-bottom:0}.service-price-fields{display:grid;grid-template-columns:1fr 1fr 2fr;gap:14px}.service-editor-row .input,.service-editor-row .select{background:var(--surface)!important}.service-editor-row textarea{resize:vertical}.service-order-block{padding:22px 0;margin:10px 0 25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service-order-block .panel-head{flex-wrap:wrap}.service-order-link{width:100%;display:flex;align-items:center;gap:16px;padding:15px 0;background:transparent;border:0;border-bottom:1px solid var(--line);text-align:left;color:var(--text)}.service-order-link:last-child{border-bottom:0}.service-order-link>span{flex:1;min-width:0}.service-order-link strong{font-size:13px;display:block;overflow-wrap:anywhere}.service-order-link small{font-size:11px;color:var(--text-muted);display:block;margin-top:5px}.service-order-link>b{white-space:nowrap;font-size:13px}.service-order-link svg{width:16px;height:16px;flex:none}
.portal-page .portal-service-offers{padding:28px;min-width:0}.portal-service-offers h2{font-size:20px}.service-section-intro{font-size:13px;color:var(--text-secondary);line-height:1.8;margin:0 0 22px}.portal-service-card+.portal-service-card{border-top:2px solid var(--line);margin-top:30px;padding-top:26px}.portal-service-card .service-card-head h3{font-size:17px}.portal-offer-response{margin-top:22px}.portal-offer-response .field>span{font-size:12px;color:var(--text-secondary)}.portal-offer-response textarea{width:100%;font-size:14px;resize:vertical;border-radius:10px;background:var(--surface-muted);color:var(--text);border:1px solid var(--line);padding:12px}.service-response-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.portal-offer-response .btn{min-height:44px}.portal-offer-response .note{font-size:12px;line-height:1.7}.portal-service-card .tag{color:var(--accent-text);background:var(--accent-soft);border-color:var(--line)}.portal-service-card .tag.gray{color:var(--text-muted);background:var(--surface-muted)}
@media(max-width:1180px){.service-offers-list{grid-template-columns:minmax(0,1fr)}body:not(.portal-page) nav{gap:8px}body:not(.portal-page) nav button{padding-left:10px;padding-right:10px}.role-chip{display:none}}
@media(max-width:800px){.service-editor-row{padding:16px}.service-editor-row .input,.service-editor-row .select,.portal-offer-response textarea{font-size:16px;min-height:46px}.service-editor-head .icon-btn{width:44px;height:44px}.service-card-foot{flex-wrap:wrap}.service-card-foot .btn{min-height:46px}.service-price-fields{grid-template-columns:1fr 1fr}.service-price-fields .field:last-child{grid-column:1/-1}.service-draft-total{flex-wrap:wrap;gap:10px}.service-draft-total strong{font-size:23px}}
@media(max-width:760px){.portal-page .portal-service-offers{order:4;padding:22px 18px;border-radius:17px}.portal-page .portal-layout .portal-updates{order:5}.service-summary-row{grid-template-columns:minmax(0,1fr);gap:10px}.service-summary-row>b{justify-self:end}.service-response-actions{display:grid;grid-template-columns:1fr 1fr}.service-response-actions .btn{white-space:normal;font-size:13px}.portal-service-card .service-card-head{flex-wrap:wrap}.portal-service-offers .portal-section-heading{gap:10px}.service-editor-row .field{min-width:0}.service-card-head{flex-wrap:wrap}.service-order-link{gap:8px}.service-order-link>b{font-size:12px}.service-order-link svg{display:none}}
