/* The unchanged live 2GIS stylesheet provides the shared design. */
#yamaps [hidden] { display:none !important; }
#yamaps form { margin:0; text-align:left; }
#yamaps .ya-modes { margin:0 0 16px; padding:0; border:0; }
#yamaps .ya-modes legend { font-size:18px; font-weight:600; margin-bottom:10px; }
#yamaps .ya-modes label { display:inline-flex; align-items:center; min-height:34px; padding:5px 9px; margin:0; gap:5px; color:#34495e; font-size:15px; line-height:1.3; border:1px solid #d6e0e8; border-radius:7px; background:#fff; cursor:pointer; }
#yamaps .ya-modes label:hover { border-color:#a8c2d8; background:#f5f9fc; }
#yamaps .ya-modes label:has(input:checked) { color:#214968; border-color:#8bb0cf; background:#edf5fb; }
#yamaps .ya-modes input { width:15px; height:15px; margin:0; accent-color:#1d6eb4; }
#yamaps .ya-payment-methods { min-width:0; margin:0; padding:0; border:0; }
#yamaps .ya-payment-methods > legend { margin-bottom:9px; padding:0; font-size:16px; font-weight:700; }
#yamaps .ya-provider-options { display:grid; gap:9px; }
#yamaps .ya-provider-option { position:relative; display:grid; grid-template-columns:88px minmax(0,1fr) 22px; gap:12px; align-items:center; min-height:70px; padding:11px 13px; margin:0; color:#20262e; border:1px solid #d6e0e8; border-radius:13px; background:#fff; cursor:pointer; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }
#yamaps .ya-provider-option:hover { border-color:#aebbc8; box-shadow:0 3px 10px rgba(33,49,65,.06); }
#yamaps .ya-provider-option:has(input:checked) { border-color:#72a9dd; background:#edf6ff; box-shadow:0 0 0 1px rgba(40,121,201,.13); }
#yamaps .ya-provider-option:has(input:focus-visible) { outline:3px solid rgba(40,121,201,.2); outline-offset:2px; }
#yamaps .ya-provider-option:has(input:disabled) { cursor:not-allowed; opacity:.6; box-shadow:none; }
#yamaps .ya-provider-option > input { position:absolute; width:1px; height:1px; margin:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
#yamaps .ya-provider-icon { display:grid; place-items:center; justify-self:center; width:40px; height:40px; overflow:hidden; border-radius:11px; }
#yamaps .ya-provider-icon.balance { color:#fff; background:linear-gradient(135deg,#2879c9,#5ca8e9); }
#yamaps .ya-provider-icon.balance svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
#yamaps .ya-provider-icon.yookassa { width:86px; border-radius:0; }
#yamaps .ya-provider-icon.yookassa img { display:block; width:86px; max-width:100%; height:auto; object-fit:contain; }
#yamaps .ya-provider-icon.robokassa { border:1px solid #dfe5eb; background:#fff; }
#yamaps .ya-provider-icon.robokassa img { width:31px; height:31px; border-radius:8px; object-fit:cover; }
#yamaps .ya-provider-copy { min-width:0; }
#yamaps .ya-provider-line { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
#yamaps .ya-provider-name { font-size:15px; font-weight:700; }
#yamaps .ya-provider-tag { padding:3px 7px; border-radius:999px; color:#596573; background:#edf1f4; font-size:10px; font-weight:700; line-height:1.2; }
#yamaps .ya-provider-tag.good { color:#21875b; background:#eaf8f1; }
#yamaps .ya-provider-note { display:block; margin-top:4px; color:#66717f; font-size:12px; line-height:1.35; }
#yamaps .ya-provider-mark { display:grid; place-items:center; width:20px; height:20px; border:1.5px solid #aab4bf; border-radius:50%; background:#fff; }
#yamaps .ya-provider-mark::after { width:10px; height:10px; border-radius:50%; background:#2879c9; content:""; opacity:0; transform:scale(.5); transition:opacity .15s ease,transform .15s ease; }
#yamaps .ya-provider-option:has(input:checked) .ya-provider-mark { border-color:#2879c9; }
#yamaps .ya-provider-option:has(input:checked) .ya-provider-mark::after { opacity:1; transform:scale(1); }
#yamaps .ya-provider-details { display:flex; align-items:center; height:58px; margin:11px 0 17px; padding:10px 12px; overflow:hidden; border-radius:10px; color:#66717f; background:#f6f8fa; font-size:12px; line-height:1.45; }
#yamaps .ya-provider-details.warning { color:#a4610b; background:#fff6e7; }
#yamaps .ya-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
#yamaps #ya-url { width:100%; height:34px; margin-top:8px; padding:4px 9px; font:inherit; font-size:16px; color:#263449; border:1px solid #8d969e; border-radius:5px; background:#fff; }
#yamaps #ya-url:focus-visible { outline:2px solid rgba(18,104,179,.25); outline-offset:1px; border-color:#1268b3; }
#yamaps .ya-help { color:#657482; font-size:14px; line-height:1.5; margin:10px 0; }
#yamaps .ya-search-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
#yamaps .ya-search-actions .but_pars { margin:0; min-height:36px; padding:6px 15px; border:1px solid #3188bb; border-radius:7px; background:#4eb5f1; color:#fff; font:500 14px/1.25 Arial,sans-serif; cursor:pointer; }
#yamaps .ya-search-actions .but_pars:hover:not(:disabled) { border-color:#2c729a; background:#4095c6; }
#yamaps .ya-search-actions .but_pars:focus-visible { outline:3px solid #1268b3; outline-offset:2px; }
#yamaps .ya-search-actions .but_pars:disabled { opacity:.6; cursor:wait; }
#yamaps .ya-status:empty { display:none; }
#yamaps .ya-status { padding:9px 11px; margin:12px 0; font-size:14px; color:#174a70; border:1px solid #b9d1ea; border-radius:5px; background:#edf5fd; }
#yamaps .ya-status.ya-error { color:#842029; background:#f8d7da; border-color:#f0b9bf; }
#yamaps .ya-warning { color:#856404; background:#fff3cd; padding:9px 11px; border:1px solid #ffeeba; border-radius:5px; }
#yamaps .ya-result-metrics { color:#2b5b34; font-weight:600; padding:9px 11px; border-radius:7px; background:#eef7ef; }
#yamaps .po-2gis-order-card { width:100%; }
#yamaps #ya-result { width:100%; min-width:0; margin:0; padding:0; border:0; background:none; box-shadow:none; }
#yamaps .ya-text-button { margin-top:10px; padding:0; background:none; border:0; color:#075fae; text-decoration:underline; cursor:pointer; font:inherit; font-size:14px; }
#yamaps .rubric-children[hidden] { display:none; }
#yamaps #ya-email { width:100%; max-width:none; }
#yamaps .po-2gis-examples { line-height:1.55; }
#yamaps .po-2gis-checkout { align-items:start; }
#yamaps .po-2gis-actions .but_pars { min-height:48px; }
@media(max-width:700px) {
  #yamaps .ya-modes label { min-height:40px; }
  #yamaps .ya-provider-option { grid-template-columns:68px minmax(0,1fr) 20px; padding:10px 11px; }
  #yamaps .ya-provider-icon { width:38px; height:38px; }
  #yamaps .ya-provider-icon.yookassa, #yamaps .ya-provider-icon.yookassa img { width:68px; }
}
@media(max-width:400px) {
  #yamaps .ya-provider-option { grid-template-columns:58px minmax(0,1fr) 18px; gap:9px; height:90px; min-height:90px; padding:10px; }
  #yamaps .ya-provider-icon { width:36px; height:36px; }
  #yamaps .ya-provider-icon.yookassa, #yamaps .ya-provider-icon.yookassa img { width:58px; }
  #yamaps .ya-provider-name { font-size:14px; }
  #yamaps .ya-provider-tag { display:none; }
  #yamaps .ya-provider-note { display:block; font-size:12px; line-height:1.35; }
  #yamaps .ya-provider-details { height:76px; }
}
