/* Company Documents: view-only examples within the existing WNY Business hub. */
.document-library-intro{background:#edf3ff;border:1px solid #c9dcf8;border-radius:12px;padding:18px 20px;margin:0 0 22px;color:#163152}
.document-library-intro h3{font-size:17px;margin:0 0 10px}
.document-library-intro p{font-size:13px;line-height:1.65;margin:0 0 10px}
.document-library-intro p:last-child{margin-bottom:0}
.document-preview-brand{display:flex;align-items:center;gap:14px;margin:0 0 20px}
.document-preview-brand img{width:60px;height:60px;object-fit:contain;flex-shrink:0}
.document-preview-brand strong{font-size:21px;display:block;line-height:1.3}
.document-preview-brand span{display:block;font-size:12px;margin-top:5px;color:var(--muted)}
.document-history{border:1px solid var(--line);border-radius:8px;padding:14px;margin-top:20px;font-size:12px;line-height:1.6}
.document-history summary{cursor:pointer;font-weight:750}
.document-history p{margin-top:12px}
#library-results .resource-row.tile .resource-copy{overflow-wrap:anywhere}
#library-results .resource-row.tile .resource-copy small{font-size:12px;line-height:1.5}
.modal-body .info-list{margin:16px 0}
.modal-body .info-list>div{grid-template-columns:110px minmax(0,1fr);font-size:12px;gap:12px}
.modal-body .info-list dd{overflow-wrap:anywhere}
.detail-footer .btn[data-action="close-modal"] .icon{transform:rotate(180deg)}
@media(max-width:740px){.document-library-intro{padding:16px}.document-preview-brand strong{font-size:19px}.document-preview-brand img{width:48px;height:48px}#library-results .resource-row.tile .resource-copy small{font-size:11px}.modal-body .info-list>div{grid-template-columns:1fr;gap:4px}.detail-footer .btn{min-height:44px;white-space:normal}}

/* Service offering, estimate form, and consistent modal controls. */
.document-library-intro h2{font-size:20px;line-height:1.35;margin-bottom:12px}
.document-library-intro .actions{margin:14px 0}
.service-offering h2{margin:9px 0 12px}
.service-offering p{font-size:13px;line-height:1.7;margin:12px 0}
.service-price{font-size:19px!important;font-weight:750;color:var(--navy)}
.service-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.service-price-grid>div{background:var(--bg);padding:18px;border-radius:10px}
.service-price-grid strong,.service-price-grid span{display:block}
.service-price-grid strong{font-size:23px;line-height:1.3}
.service-price-grid span{font-size:12px;margin-top:7px;color:var(--muted)}
.service-faq{border-top:1px solid var(--line);padding:15px 0;font-size:13px}
.service-faq summary{cursor:pointer;font-weight:700;padding:7px 0}
.upload-steps{padding-left:22px;line-height:1.8}
.upload-estimator{background:var(--bg);padding:20px;border:1px solid var(--line);border-radius:12px;margin-top:24px}
.upload-estimator h3{margin-bottom:12px}.upload-estimator .page-note{margin-bottom:18px}
.estimate-summary{padding:16px 0;margin-bottom:12px}.estimate-summary span,.estimate-summary small{display:block;font-size:12px}
.estimate-summary output{display:block;font-size:30px;font-weight:800;margin:6px 0}
.modal-backbar{position:sticky;bottom:0;padding:14px 23px;background:white;border-top:1px solid var(--line)}
.modal-backbar .btn .icon,.studio-sticky [data-action="close-modal"] .icon{transform:rotate(180deg)}
.modal-head .icon-button{min-width:44px;min-height:44px;flex-shrink:0}
.modal-head h2{min-width:0}.document-library-intro .btn,.service-offering .btn,.modal-backbar .btn{min-height:44px}
@media(max-width:740px){.service-price-grid{grid-template-columns:1fr}.service-price-grid strong{font-size:22px}.upload-estimator{padding:16px}.upload-estimator .actions .btn{width:100%;min-height:44px}.modal-backbar{padding:12px 17px}.topbar{gap:8px}.crumb{min-width:0}.crumb>span{overflow-wrap:anywhere}.top-actions{flex-shrink:0}.document-library-intro h2{font-size:18px}}
