/* t845: automated Escrow.com button (row directly above Contact Owner) + buyer modal. Theme v67 (body.t-v65). */
/* modal */
.t-v65 dialog.ap-esc[open]{position:fixed!important;inset:auto!important;top:calc(var(--mv-top,0px) + max(8px,env(safe-area-inset-top,0px)))!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;
  box-sizing:border-box!important;width:min(440px,calc(100vw - 16px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)))!important;max-width:none!important;height:auto!important;
  max-height:calc(var(--mv-height,100dvh) - max(8px,env(safe-area-inset-top,0px)) - max(8px,env(safe-area-inset-bottom,0px)))!important;
  padding:0!important;display:flex!important;flex-direction:column;overflow:hidden!important;border-radius:20px!important;border:0;background:#0f141c;color:#e9edf4;
  box-shadow:0 0 0 1px rgba(169,182,204,.18),0 28px 80px -18px rgba(0,0,0,.65)}
.t-v65 dialog.ap-esc::backdrop{background:rgba(4,8,14,.62);backdrop-filter:blur(3px)}
.t-v65 .ap-esc>.sh-hd{flex:0 0 auto;margin:0;padding:10px 16px;min-height:52px;box-sizing:border-box;border-bottom:1px solid rgba(130,145,165,.22);display:flex;align-items:center;gap:10px}
.t-v65 .ap-esc>.sh-hd .esc-ico{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#1fa35c;color:#fff}
.t-v65 .ap-esc>.sh-hd .esc-ico svg{width:17px;height:17px}
.t-v65 .ap-esc>.sh-hd h3{margin:0;flex:1;min-width:0;font:700 17px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-v65 .ap-esc .sh-x{appearance:none;background:rgba(255,255,255,.04);color:#c5cedd;font:600 14px Inter,system-ui,sans-serif;min-width:76px;min-height:40px;white-space:nowrap;border:1px solid rgba(169,182,204,.28);border-radius:11px;padding:0 12px;cursor:pointer}
.t-v65 .ap-esc>.mv-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 16px 12px;box-sizing:border-box}
.t-v65 .ap-esc>.mv-footer{flex:0 0 auto;padding:8px 16px max(10px,env(safe-area-inset-bottom,0px));border-top:1px solid rgba(130,145,165,.22)}
.t-v65 .ap-esc .mv-cancel{display:block;width:100%;min-height:44px;background:transparent;color:#c5cedd;font:600 15px/1.2 Inter,system-ui,sans-serif;border:1px solid rgba(169,182,204,.3);border-radius:12px;cursor:pointer}
.t-v65 .ap-esc .sh-dom{margin:0;font:700 22px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;white-space:nowrap!important;overflow:hidden;max-width:100%;color:#f3f6fb}
.t-v65 .ap-esc .sh-dom>span{display:inline-block;white-space:nowrap!important}
.t-v65 .ap-esc .esc-price{display:flex;align-items:baseline;gap:8px;margin:4px 0 12px;flex-wrap:wrap}
.t-v65 .ap-esc .esc-price b{font:700 26px/1.1 ui-monospace,Menlo,monospace;color:#eafff2;white-space:nowrap}
.t-v65 .ap-esc .esc-price small{font:500 12.5px/1.3 Inter,system-ui,sans-serif;color:#8b95a8}
.t-v65 .ap-esc .esc-fee{display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;padding:9px 11px;border-radius:12px;background:rgba(60,185,120,.1);border:1px solid rgba(60,185,120,.28);font:500 13px/1.35 Inter,system-ui,sans-serif;color:#bfeccf}
.t-v65 .ap-esc .esc-fee svg{flex:none;width:16px;height:16px;margin-top:1px;color:#5fd08f}
.t-v65 .ap-esc ol.esc-steps{margin:0 0 14px;padding:0;list-style:none;counter-reset:s;display:grid;gap:7px}
.t-v65 .ap-esc ol.esc-steps li{counter-increment:s;display:flex;gap:9px;font:500 13px/1.4 Inter,system-ui,sans-serif;color:#aeb8c9}
.t-v65 .ap-esc ol.esc-steps li::before{content:counter(s);flex:none;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:rgba(169,182,204,.12);color:#e9edf4;font:700 11px/1 Inter,system-ui,sans-serif}
.t-v65 .ap-esc form{display:grid;gap:10px}
.t-v65 .ap-esc label{display:grid;gap:5px;font:600 13px/1.2 Inter,system-ui,sans-serif;color:#c5cedd}
.t-v65 .ap-esc label small{font-weight:500;color:#7f8ba0}
.t-v65 .ap-esc input{box-sizing:border-box;width:100%;min-height:46px;padding:0 12px;border-radius:12px;border:1px solid rgba(169,182,204,.28);background:rgba(255,255,255,.04);color:#f3f6fb;font:500 16px/1.2 Inter,system-ui,sans-serif}
.t-v65 .ap-esc input:focus{outline:none;border-color:#3cb978;box-shadow:0 0 0 3px rgba(60,185,120,.22)}
.t-v65 .ap-esc input[aria-invalid=true]{border-color:#f07178}
.t-v65 .ap-esc .esc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.t-v65 .ap-esc button.esc-go{appearance:none;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin-top:4px;border:0;border-radius:13px;background:linear-gradient(180deg,#27b366,#1a9353);color:#fff;font:700 15.5px/1.2 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 12px 26px -14px rgba(31,163,92,.9)}
.t-v65 .ap-esc button.esc-go:disabled{opacity:.7;cursor:progress}
.t-v65 .ap-esc button.esc-go svg{width:18px;height:18px;flex:none}
.t-v65 .ap-esc .esc-err{margin:0;padding:9px 11px;border-radius:10px;background:rgba(240,113,120,.12);color:#ffc2c6;font:500 13px/1.35 Inter,system-ui,sans-serif}
.t-v65 .ap-esc .esc-fine{margin:4px 0 0;font:500 11.5px/1.4 Inter,system-ui,sans-serif;color:#7f8ba0}
.t-v65 .ap-esc .esc-fine button{appearance:none;background:none;border:0;padding:0;color:#9cb6ff;font:inherit;text-decoration:underline;cursor:pointer}
.t-v65 .ap-esc .esc-ok h4{margin:4px 0 8px;font:700 18px/1.25 Inter,system-ui,sans-serif;color:#eafff2}
.t-v65 .ap-esc .esc-ok p{margin:0 0 8px;font:500 13.5px/1.45 Inter,system-ui,sans-serif;color:#c5cedd}
.t-v65 .ap-esc .esc-ok .esc-ref{font-family:ui-monospace,Menlo,monospace;color:#e9edf4}
.t-v65:has(#h3-lm:checked) dialog.ap-esc[open]{background:#fff;color:#141a24;box-shadow:0 0 0 1px rgba(20,30,50,.12),0 28px 80px -18px rgba(0,0,0,.35)}
.t-v65:has(#h3-lm:checked) .ap-esc .sh-dom,.t-v65:has(#h3-lm:checked) .ap-esc .esc-price b,.t-v65:has(#h3-lm:checked) .ap-esc .esc-ok h4{color:#0d1420}
.t-v65:has(#h3-lm:checked) .ap-esc input{background:#f6f8fb;color:#141a24;border-color:rgba(20,30,50,.18)}
.t-v65:has(#h3-lm:checked) .ap-esc label,.t-v65:has(#h3-lm:checked) .ap-esc .esc-ok p{color:#2b3445}
.t-v65:has(#h3-lm:checked) .ap-esc .esc-fee{background:rgba(17,140,80,.07);color:#145c36;border-color:rgba(17,140,80,.25)}
.t-v65:has(#h3-lm:checked) .ap-esc ol.esc-steps li{color:#4a5468}
.t-v65:has(#h3-lm:checked) .ap-esc ol.esc-steps li::before{background:rgba(20,30,50,.08);color:#141a24}
.t-v65:has(#h3-lm:checked) .ap-esc .sh-x,.t-v65:has(#h3-lm:checked) .ap-esc .mv-cancel{color:#2b3445;border-color:rgba(20,30,50,.2);background:transparent}
.t-v65 .ap-esc .esc-nw{white-space:nowrap!important}
.t-v65 .ap-esc label{display:flex;flex-direction:column;gap:5px;margin:0}
.t-v65 .ap-esc input{margin:0}
.t-v65 .ap-esc label small{display:inline}
/* t845 fix: never truncate the button label or modal title; let them wrap onto a second line on small phones (price stays one line) */
.t-v65 .ap-esc>.sh-hd h3{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
@media (max-width:360px){.t-v65 .ap-esc>.sh-hd h3{font-size:15.5px}}
