/* Visual theme for the dialog engine reused from gold_site. */
.bottom-sheet :focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}
.bottom-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,760px);max-width:100%;max-height:none;padding:0;border:1px solid #73d0e34d;border-bottom:0;border-radius:26px 26px 0 0;background:linear-gradient(155deg,#173b53,#10273f 70%);color:var(--color-text);box-shadow:0 -12px 65px #030f2166;overflow:hidden;font-family:var(--font-document);direction:rtl;text-align:right;color-scheme:dark}
.bottom-sheet[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.sheet-header{position:sticky;top:0;z-index:2;display:flow-root;min-width:0;background:#173b53}
.sheet-reading-track{position:absolute;inset:auto 0 0;height:1px;background:rgba(169,207,227,.2);pointer-events:none}
.sheet-reading-fill{position:absolute;inset:auto 0 0;height:2px;background:var(--color-highlight);transform:scaleX(0);transform-origin:100% 50%;pointer-events:none}
.sheet-reading-fill[hidden]{display:none}
.bottom-sheet::backdrop{background:#040e1db0}
.sheet-handle{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border:0;background:transparent;color:var(--color-muted);cursor:ns-resize;touch-action:none;user-select:none}
.sheet-handle span{width:44px;height:5px;border-radius:8px;background:#86b6c2}
.sheet-close{position:absolute;left:14px;top:6px;z-index:1}
.sheet-title{margin:20px 26px;font-size:24px;line-height:1.6;min-width:0;overflow-wrap:anywhere;font-weight:800;color:#effbff}
.sheet-title:focus{outline:none}
.sheet-body{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:24px 26px max(32px,env(safe-area-inset-bottom));scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#4f7c8b transparent;touch-action:pan-y pinch-zoom}
.bottom-sheet[data-phase="closing"]{pointer-events:none}
.bottom-sheet[data-presentation="modal"]{width:min(560px,calc(100% - 48px));border-bottom:1px solid #73d0e34d;border-radius:24px;box-shadow:0 25px 90px #020c247a}
.bottom-sheet[data-presentation="modal"][open]{grid-template-rows:auto minmax(0,1fr)}
.bottom-sheet[data-presentation="modal"] .sheet-handle{display:none}
.bottom-sheet[data-presentation="modal"] .sheet-close{top:16px;left:16px}
.bottom-sheet[data-presentation="modal"] .sheet-body{padding:24px 30px 32px}
.bottom-sheet[data-presentation="modal"] .sheet-title{margin:34px 30px 20px 68px;font-size:25px}
.execution-document{font-size:15px;line-height:1.95;color:#bad6e5}
.execution-kicker{display:flex;align-items:center;gap:8px;color:#80e4e8;font-size:12px;font-weight:700;letter-spacing:0;margin-bottom:12px}
.execution-kicker span{width:6px;height:6px;border-radius:50%;background:#77dfc1}
.execution-lead{margin:0 0 24px;color:#e2f2f7;font-size:18px;line-height:1.9}
.execution-section{padding-top:18px;margin-top:18px;border-top:1px solid #92ccdd24}
.execution-section h3{margin:0 0 6px;color:#def4fa;font-size:15px;font-weight:800}
.execution-section p,.execution-note p{margin:0}
.execution-note{margin-top:24px;padding:16px 18px;border:1px solid #76ced736;border-radius:15px;background:#62c7d30a;font-size:13px}
.execution-note strong{display:block;color:#a9e9ed;font-size:13px;margin-bottom:6px}
.bottom-sheet[data-compact][open]{display:block;overflow-y:auto;overscroll-behavior-y:contain}
.bottom-sheet[data-compact] .sheet-body{overflow:visible}
@media(max-height:460px){.sheet-title{margin:16px;font-size:20px}.sheet-body{padding:20px 16px max(24px,env(safe-area-inset-bottom))}.execution-lead{font-size:16px}}
@media(max-width:359px){.sheet-title{margin-inline:18px;font-size:21px}.sheet-body{padding-inline:18px}}
/* The real link remains usable when scripting is unavailable. */
.execution-page{margin:0;background:#102a43;color:var(--color-text);font-family:var(--font-document)}
.execution-page main{box-sizing:border-box;max-width:660px;margin:40px auto;padding:24px}
.execution-page h1{font-size:28px;line-height:1.6;margin:28px 0 20px}
.execution-back{display:inline-flex;align-items:center;min-height:44px;color:#9ee5ed;text-decoration:none;font-size:14px}

.legal-document .execution-section{border-top:0;margin-top:12px;padding-top:0}.legal-document .execution-note{padding:0;border:0;border-radius:0;background:none}

.sheet-title[hidden]{display:none}.bottom-sheet[data-presentation="modal"] .sheet-header{min-height:70px}

.sheet-handle{-webkit-tap-highlight-color:transparent}
.sheet-handle:active{background-color:rgba(94,231,255,.10)}
