.haller-share-dialog{border:0;padding:0;width:min(1020px,calc(100vw - 30px));max-height:calc(100dvh - 32px);background:#eee7d7;color:#1c1c19;border-radius:26px;box-shadow:0 24px 100px #0007;font-family:OkuMono,monospace;overflow:auto}
.haller-share-dialog::backdrop{background:#080808c9;backdrop-filter:blur(9px)}
.haller-share-close{position:sticky;top:15px;float:right;margin:15px 17px -52px 0;z-index:5;border:1px solid #aaa391;background:#eee7d7;color:#111;border-radius:50%;font:26px/1 Arial,sans-serif;width:42px;height:42px;cursor:pointer}
.haller-share-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:0;min-height:520px}
.haller-share-preview{display:grid;place-items:center;background:#5c9468;padding:55px 28px;min-width:0}
.haller-share-preview img{display:block;width:100%;max-height:65dvh;object-fit:contain;box-shadow:0 16px 50px #183b2750}
.haller-share-preview span{font-size:12px;color:#fff;text-align:center}
.haller-share-panel{padding:75px 45px 40px;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:17px}
.haller-share-kicker{font-size:10px;letter-spacing:.14em;color:#507e59;font-weight:800;margin:0}
.haller-share-panel h2{font-size:clamp(25px,3vw,44px);letter-spacing:-.07em;line-height:1.1;margin:0}
.haller-share-panel>p:not(.haller-share-kicker):not(.haller-share-hint){font-size:12px;line-height:1.8;color:#686357;margin:0}
.haller-share-actions{display:grid;gap:8px;margin-top:8px}
.haller-share-actions button{font-family:inherit;display:flex;align-items:center;justify-content:space-between;text-align:left;background:transparent;border:1px solid #aaa593;padding:14px 17px;border-radius:11px;font-size:11px;font-weight:800;color:#20201e;cursor:pointer;min-height:48px}
.haller-share-actions button:hover,.haller-share-actions button:focus-visible{background:#e1d6bf}
.haller-share-actions button:first-child{background:#20231e;color:#faf4e8;border-color:#20231e}
.haller-share-actions button:first-child:hover{background:#4e7958}
.haller-share-actions button span{font-size:17px}
.haller-share-hint{color:#747061;font-size:10px;line-height:1.75;margin:0}
@media(max-width:700px){.haller-share-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.haller-share-layout{grid-template-columns:1fr}.haller-share-preview{padding:48px 20px 20px}.haller-share-preview img{max-height:34dvh}.haller-share-panel{padding:28px 23px 35px;gap:12px}.haller-share-actions{gap:7px}.haller-share-actions button{min-height:45px}.haller-share-close{margin:10px 10px -50px 0}}
/* Share copy is translated into all OKU languages; preserve full labels and
   natural Farsi direction without altering the surrounding HÂLLER design. */
.haller-share-panel h2,.haller-share-actions button,.haller-share-hint,
.haller-share-panel>p{overflow-wrap:anywhere}
.haller-share-actions button{gap:12px;white-space:normal}
.haller-share-hint[role="status"]{min-height:1.75em}
html[lang="fa"] .haller-share-panel{direction:rtl;text-align:right}
html[lang="fa"] .haller-share-actions button{text-align:right}
@media(max-width:700px){
 .haller-share-panel{padding-bottom:max(36px,env(safe-area-inset-bottom,0px))}
 .haller-share-dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .haller-share-actions button{min-height:48px}
}
