.offer-page{margin:0;background:var(--offer-background,#f5f7fb);color:#17233d;font-family:"Plus Jakarta Sans",sans-serif;line-height:1.65}
.offer-site-header,.offer-site-footer,.offer-page-main{max-width:1120px;margin:0 auto;padding:24px}
.offer-site-header img{display:block;max-width:100%;height:auto}
.offer-site-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;color:#53627a;font-size:13px}
.offer-site-footer a{color:inherit}
.offer-presentation{background:#fff;border:1px solid #e2e8f1;border-radius:24px;padding:32px;color:#17233d;font-family:inherit}
.offer-presentation *,.offer-sharing-dialog *{box-sizing:border-box}
.offer-heading{grid-area:title;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:1px solid #e2e8f1}
.offer-heading-copy{min-width:0;flex:1}
.offer-heading h1{font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.035em;margin:10px 0 0;overflow-wrap:anywhere}
.offer-organizer{font-size:14px;color:#53627a;margin:0;overflow-wrap:anywhere}
.offer-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"title title" "details summary";grid-template-rows:auto 1fr;column-gap:32px;row-gap:24px;align-items:start}
.offer-description{grid-area:details;min-width:0}
.offer-description section+section{border-top:1px solid #e2e8f1;margin-top:28px;padding-top:24px}
.offer-description h2{font-size:18px;line-height:1.4;margin:0 0 16px}
.offer-description-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.8}
.offer-items{list-style:none;padding:0;margin:0}
.offer-items li{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-bottom:1px solid #e2e8f1;font-size:14px}
.offer-items li span{overflow-wrap:anywhere;min-width:0}
.offer-items li strong{flex-shrink:0;font-size:13px}
.offer-summary{grid-area:summary;min-width:0;align-self:start;background:var(--offer-soft,var(--patient-primary-soft,#f3f6fc));border-radius:18px;padding:20px;font-size:14px}
.offer-price{display:block;font-size:32px;line-height:1.3;letter-spacing:-.03em;margin:6px 0 20px;overflow-wrap:anywhere}
.offer-period{padding:12px 0;border-top:1px solid #dce4f0;border-bottom:1px solid #dce4f0;margin:0}
.offer-payment{font-size:13px;color:#53627a;margin:12px 0 20px}
.offer-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 20px;border:1px solid var(--offer-primary,var(--patient-primary,#2f6bff));border-radius:12px;background:var(--offer-primary,var(--patient-primary,#2f6bff));color:var(--offer-on-primary,var(--patient-on-primary,#fff));font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;line-height:1.4}
.offer-button:hover{filter:brightness(.95)}
.offer-button-secondary{background:#fff;color:var(--offer-primary,var(--patient-primary,#234db7));flex-shrink:0}
.offer-button svg{width:20px;height:20px;flex-shrink:0}
.offer-button:focus-visible,.offer-sharing-dialog a:focus-visible,.offer-sharing-dialog input:focus-visible{outline:3px solid #8db1ff;outline-offset:3px}
.offer-button:disabled{opacity:.5;cursor:wait}
.offer-order-actions .offer-button{width:100%}
.offer-order-status{margin:0;font-size:14px}
.offer-sharing-dialog,.offer-detail-dialog{box-sizing:border-box;max-width:min(520px,calc(100vw - 32px));width:100%;max-height:calc(100dvh - 48px);padding:28px;border:1px solid #e2e8f1;border-radius:20px;font-family:"Plus Jakarta Sans",sans-serif;color:#17233d;overflow:auto;box-shadow:0 24px 80px #10224433}
.offer-sharing-dialog::backdrop,.offer-detail-dialog::backdrop{background:#10224480}
.offer-sharing-dialog h2{font-size:24px;margin:0 0 10px;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.offer-sharing-dialog p{font-size:14px;color:#53627a;line-height:1.6}
.offer-sharing-dialog label{display:block;font-size:13px;font-weight:600;margin-top:20px}
.offer-sharing-dialog input{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit;font-size:13px;margin:8px 0 18px}
.offer-sharing-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.offer-sharing-dialog .offer-sharing-close,.offer-detail-close{display:block;margin:20px 0 0 auto;border:0;background:transparent;color:#53627a;font:inherit;min-height:44px;cursor:pointer}
.offer-sharing-preview{display:inline-block;margin-top:18px;color:var(--offer-primary,var(--patient-primary,#234db7));font-size:14px}
.offer-sharing-revoke{display:block;margin-top:20px;background:transparent;border:0;color:#a32a38;padding:10px 0;cursor:pointer;font:inherit;font-size:13px}
.offer-sharing-dialog [hidden],.offer-presentation [hidden]{display:none!important}
.offer-detail-dialog{max-width:min(1060px,calc(100vw - 24px));padding:20px}
.offer-detail-dialog .offer-presentation{border:0;padding:20px}
.offer-detail-close{margin:0 0 0 auto;padding:8px 12px}
.pd-catalog-details{border:0;background:transparent;padding:8px 0;color:inherit;font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;position:relative;z-index:2}
@media(max-width:760px){
 .offer-site-header,.offer-site-footer,.offer-page-main{padding:20px 16px}
 .offer-page-main{padding-top:0}
 .offer-presentation{padding:24px 20px;border-radius:18px}
 .offer-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 12px;padding-bottom:20px}
 .offer-heading-copy{display:contents}
 .offer-heading .offer-organizer{grid-column:1;grid-row:1}
 .offer-heading h1{grid-column:1/-1;margin:0}
 .offer-heading .offer-share-actions{grid-column:2;grid-row:1}
 .offer-heading .offer-share-actions .offer-button{padding:8px 12px;min-height:40px;font-size:13px}
 .offer-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "summary" "details";grid-template-rows:auto;gap:24px}
 .offer-summary{padding:20px}
 .offer-price{font-size:30px;margin-bottom:16px}
 .offer-page .offer-order-actions{position:fixed;bottom:0;left:0;right:0;z-index:3;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce4f0}
 .offer-page .offer-site-footer{padding-bottom:110px}
 .offer-detail-dialog{padding:12px}
 .offer-detail-dialog .offer-presentation{padding:12px}
 .offer-items li{gap:16px}
}

.manager-service-heading-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}

.manager-service-heading-actions .desktop-secondary,.commercial-offer-editor-head [data-offer-share]{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.manager-service-heading-actions svg,.commercial-offer-editor-head [data-offer-share] svg{display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.offer-summary-title{margin:0 0 12px;font-size:15px;line-height:1.5}
.offer-variants{list-style:none;margin:0 0 20px;padding:0}
.offer-variants li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dce4f0}
.offer-variants li:first-child{padding-top:0}
.offer-variants li span{overflow-wrap:anywhere}
.offer-variant-price{font-size:18px;line-height:1.4;white-space:nowrap}
.offer-fact{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.offer-fact>span{color:#53627a}
.offer-fact>strong{font-weight:600}
.offer-place{margin:0;padding:12px 0;border-bottom:1px solid #dce4f0}
.offer-share-actions{flex-shrink:0}
.offer-share-actions .offer-button{min-height:42px;padding:10px 16px}
.offer-share-actions .offer-button svg{width:18px;height:18px}

.offer-sharing-caption{position:relative;display:flex;align-items:center;gap:6px;color:#53627a;font-size:13px;line-height:1.5}
.offer-sharing-info{display:inline-flex;align-items:center}
.offer-sharing-info-trigger{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px;border:0;border-radius:6px;background:transparent;color:#53627a;cursor:pointer}
.offer-sharing-info-trigger svg{width:20px;height:20px}
.offer-sharing-info-trigger:focus-visible{outline:3px solid #8db1ff;outline-offset:2px}
.offer-sharing-tooltip{position:absolute;top:calc(100% + 8px);left:0;z-index:5;width:min(320px,100%);padding:12px 16px;border:1px solid #a8b4c7;border-radius:8px;background:#fff;color:#253044;font-size:14px;line-height:1.5;box-shadow:0 8px 24px #1022441a;overflow-wrap:anywhere}
.offer-sharing-dialog [data-offer-copy-status]:empty{display:none}
