
/* Visual theme for the dialog engine reused from gold_site. */
.bottom-sheet :focus-visible{outline:2px solid #b48a32;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.sheet-close:hover{background:#b48a321c;color:#1f2a37}}
.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 #e3e9ee;border-bottom:0;border-radius:26px 26px 0 0;background:linear-gradient(155deg,#ffffff,#f4f7f9 70%);color:#1f2a37;box-shadow:0 -12px 65px #1f2a3733;overflow:hidden;font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;direction:rtl;text-align:right;color-scheme:light}
.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:#ffffff}
.sheet-reading-track{position:absolute;inset:auto 0 0;height:1px;background:rgba(91,107,127,.2);pointer-events:none}
.sheet-reading-fill{position:absolute;inset:auto 0 0;height:2px;background:#b48a32;transform:scaleX(0);transform-origin:100% 50%;pointer-events:none}
.sheet-reading-fill[hidden]{display:none}
.bottom-sheet::backdrop{background:#1f2a3780}
.sheet-handle{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border:0;background:transparent;color:#5b6b7f;cursor:ns-resize;touch-action:none;user-select:none}
.sheet-handle span{width:44px;height:5px;border-radius:8px;background:#b7c1cb}
.sheet-close{position:absolute;left:14px;top:6px;z-index:1;display:grid;place-items:center;width:38px;height:38px;border:1px solid #e3e9ee;border-radius:50%;background:#f4f7f9;color:#5b6b7f;cursor:pointer;touch-action:manipulation}
.sheet-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.sheet-title{margin:20px 26px;font-size:24px;line-height:1.6;min-width:0;overflow-wrap:anywhere;font-weight:800;color:#1f2a37}
.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:#9aa9b8 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 #e3e9ee;border-radius:24px;box-shadow:0 25px 90px #1f2a3740}
.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:#5b6b7f}
.execution-kicker{display:flex;align-items:center;gap:8px;color:#8a5a00;font-size:12px;font-weight:700;letter-spacing:0;margin-bottom:12px}
.execution-kicker span{width:6px;height:6px;border-radius:50%;background:#0b7a4b}
.execution-lead{margin:0 0 24px;color:#1f2a37;font-size:18px;line-height:1.9}
.execution-section{padding-top:18px;margin-top:18px;border-top:1px solid #e3e9ee}
.execution-section h3{margin:0 0 6px;color:#1f2a37;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 #e3e9ee;border-radius:15px;background:#f4f7f9;font-size:13px}
.execution-note strong{display:block;color:#6b4600;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}}
.sheet-title[hidden]{display:none}.bottom-sheet[data-presentation="modal"] .sheet-header{min-height:70px}
