
.mardan-assistant{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:39;display:flex;align-items:center;gap:0;font-family:Arial,sans-serif;pointer-events:none}.mardan-assistant button{font-family:inherit;cursor:pointer;pointer-events:auto}
.mardan-trigger{position:relative;display:block;flex:0 0 112px;width:112px;height:126px;margin:0;padding:0;border:0;background:transparent;border-radius:28px;color:#101c28;filter:drop-shadow(0 6px 8px #0e1d2b22);transition:filter .2s}.mardan-trigger>svg{display:block;width:124px;height:124px;max-width:none;margin-left:-6px}.mardan-trigger:hover{filter:drop-shadow(0 6px 10px #0e1d2b44)}.mardan-trigger:focus-visible,.mardan-prompt-action:focus-visible,.mardan-dismiss:focus-visible{outline:3px solid #b08300;outline-offset:3px}
.mardan-camera-badge{position:absolute;right:2px;bottom:9px;display:grid;place-items:center;width:30px;height:30px;border:2px solid white;border-radius:50%;background:#f6d32b;box-shadow:0 2px 6px #17202d22}.mardan-camera-badge svg{width:18px;height:18px}
.mardan-prompt{position:relative;width:255px;margin-right:-1px;filter:drop-shadow(0 5px 13px #17202d1f);background:#fff;border:1px solid #dce3e7;border-radius:17px 17px 3px 17px;pointer-events:auto}.mardan-prompt[hidden]{display:none}.mardan-prompt-action{display:block;box-sizing:border-box;width:100%;min-height:94px;text-align:left;background:none;border:0;border-radius:17px;color:#172637;padding:18px 36px 18px 18px;font-size:14px;line-height:1.4}.mardan-prompt-action strong{display:block;margin-bottom:7px;font-size:15px;line-height:1.25;font-weight:700}.mardan-prompt-action span{display:block;color:#4b5967;font-size:12px}.mardan-prompt-action b{color:#9b7800;font-size:16px;margin-left:3px}.mardan-dismiss{position:absolute;right:0;top:0;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:0 17px 0 12px;background:none;font-size:23px;line-height:1;color:#7a8791}.mardan-dismiss:hover{color:#172637;background:#f4f6f7}
body:has(dialog[open]) .mardan-assistant{visibility:hidden}html.has-mardan-assistant body{padding-bottom:132px}
@media(max-width:760px){.mardan-assistant{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom))}.mardan-trigger{flex-basis:84px;width:84px;height:99px;border-radius:22px}.mardan-trigger>svg{width:99px;height:99px;margin-left:-8px}.mardan-camera-badge{width:26px;height:26px;right:0;bottom:4px}.mardan-camera-badge svg{width:16px;height:16px}.mardan-prompt{width:min(222px,calc(100vw - 109px));border-radius:14px 14px 3px 14px}.mardan-prompt-action{min-height:94px;padding:15px 29px 15px 14px}.mardan-prompt-action strong{font-size:13px;line-height:1.3;margin-bottom:6px}.mardan-prompt-action span{font-size:11px;line-height:1.45}.mardan-prompt-action b{font-size:13px;margin-left:1px}.mardan-dismiss{width:30px;height:32px;border-radius:0 14px 0 10px;font-size:21px}html.has-mardan-assistant body{padding-bottom:115px}}
@media(prefers-reduced-motion:reduce){.mardan-assistant *{animation:none!important;transition:none!important}}@media print{.mardan-assistant{display:none}html.has-mardan-assistant body{padding-bottom:0}}
