/* Share controls: confined to the share dialog, with a compact header trigger. */
.header .share-trigger{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #d7d6cb;background:#fffdfa;color:#405c61;border-radius:8px;white-space:nowrap;font-size:12px;flex-shrink:0}
.header .share-trigger:hover{border-color:#aa9b78;background:#f3f0e8}
.header .share-trigger svg{width:18px;height:18px;display:block}
.header .share-trigger{background:#edf1ec;color:#183d42;border-color:#bbcbc6;font-weight:600}
.header .share-trigger:hover{background:#dce8df;color:#14333e}
.brand .brand-identity-symbol{width:47px;height:47px;object-fit:contain;background:transparent;border:0;flex-shrink:0}
.hero-identity-line{display:flex;align-items:center;gap:15px}
.hero-identity-symbol{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.hero-actions #heroShare{background:transparent;color:#f5efe2;border-color:#a8babb;min-width:164px}
.hero-actions #heroShare:hover{background:#264c55;border-color:#d6c398;color:#fff}
.footer-identity{display:flex;align-items:center;gap:22px;min-width:0}
.footer-identity>img{width:104px;height:auto;object-fit:contain;flex-shrink:0}
.footer-identity .footer-brand{min-width:0}
.share-dialog{border:0;padding:0;background:#fcfbf7;color:#1b3640;max-width:min(870px,calc(100vw - 36px));width:870px;max-height:min(94dvh,900px);overflow:auto;box-shadow:0 30px 120px rgba(6,27,33,.3);border-radius:12px}
.share-dialog::backdrop{background:rgba(8,28,34,.65);backdrop-filter:blur(5px)}
.share-panel{padding:32px 34px 28px}
.share-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.share-heading-logo{width:49px;height:49px;object-fit:contain;flex-shrink:0}
.share-heading>div{flex:1;min-width:0}
.share-heading h2{font:500 27px/1.5 var(--serif);margin:7px 0 0;letter-spacing:.03em}
.share-heading #shareClose{border:1px solid #d4dcd8;background:transparent;font-size:26px;width:36px;height:36px;line-height:1;border-radius:50%;flex:0 0 36px}
.share-scope{display:flex;gap:10px;margin:20px 0}
.share-scope button{background:#f6f5f0;border:1px solid #dadfd9;color:#536669;padding:8px 17px;font-size:12px;border-radius:30px}
.share-scope button[aria-pressed="true"]{background:#13333e;color:#f3ebdb;border-color:#13333e}
.share-main{display:grid;grid-template-columns:minmax(0,310px) minmax(0,1fr);gap:35px;align-items:start}
.share-preview{margin:0;min-width:0}
.share-preview img{display:block;width:100%;height:auto;aspect-ratio:3/4;border:1px solid #e5e5de;box-shadow:0 15px 36px rgba(17,43,52,.13);background:#f2efe6}.share-preview canvas[hidden]{display:none}
.share-preview img[hidden]{display:none}
.share-preview figcaption{font-size:11px;color:#728180;line-height:1.5;margin:10px 0 0;text-align:center}
.share-info{padding-top:13px;min-width:0}
.share-info-label{font-size:10px;color:#997b44;letter-spacing:2px}
.share-info h3{font:500 23px/1.55 var(--serif);letter-spacing:.02em;margin:13px 0}
.share-info>p:not(.share-status):not(.share-tip){color:#627477;line-height:2;font-size:13px}
.share-link{overflow-wrap:anywhere;font-size:11px;color:#47646e;border-left:2px solid #c6b286;padding:8px 12px;margin:22px 0;background:#f2f5f1}
.share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.share-actions button{border:1px solid #b7c6c3;color:#254752;background:#fffdf9;padding:11px 8px;min-height:46px;font-size:12px;border-radius:6px}
.share-actions button:hover{border-color:#aa9360;background:#f7f3e9}
.share-actions .share-primary{background:#14333f;color:#fff7e8;border-color:#14333f}
.share-status{color:#225964;font-size:12px;min-height:20px;line-height:1.6;margin:12px 0 0}
.share-tip{font-size:11px;color:#7c8785;line-height:1.85;margin-top:15px;border-top:1px solid #e3e5de;padding-top:13px}
@media(max-width:1100px){.header .share-trigger{padding:7px 9px}}
@media(max-width:740px){.header .share-trigger{width:36px;height:36px;padding:0;display:grid;place-items:center;border-radius:50%;font-size:0}.header .share-trigger span{display:none}.header .share-trigger svg{width:17px;height:17px}.share-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:92dvh;border-radius:10px}.share-panel{padding:21px 17px 24px}.share-heading h2{font-size:20px}.share-main{grid-template-columns:1fr;gap:12px}.share-preview{width:min(100%,266px);margin:0 auto}.share-preview figcaption{font-size:10px}.share-info{padding:0}.share-info h3{font-size:20px;margin:7px 0}.share-info>p:not(.share-status):not(.share-tip){font-size:12px;margin:8px 0}.share-link{margin:13px 0}.share-tip{margin-bottom:0}.share-scope{margin:14px 0}}
@media(max-width:380px){.header .share-trigger{width:30px;height:32px}.header .share-trigger svg{width:16px;height:16px}.share-heading h2{font-size:18px}}
@media(max-width:740px){.brand .brand-identity-symbol{width:38px;height:38px}.hero-identity-line{gap:12px}.hero-identity-symbol{width:39px;height:39px}.hero-actions #heroShare{min-width:0}.share-heading-logo{width:38px;height:38px}.footer-identity{gap:15px}.footer-identity>img{width:72px}.footer-identity .footer-brand{font-size:19px}}
@media(prefers-reduced-motion:reduce){.share-dialog::backdrop{backdrop-filter:none}}
