/* ObmenGo, этап 2 (26.11.2026): плитки, ⇅, быстрые суммы, шторка, липкая панель. */
.og-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.og-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 18px}
.og-tiles button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border:1px solid #dadddf;border-radius:12px;background:#fff;color:#1a1a1c;font-size:.82rem;line-height:1.2;min-height:62px}
.og-tiles button b{font-size:1.15rem;line-height:1.2}
.og-tiles button[aria-checked=true]{border-color:#1a1a1c;background:#fff8cc;box-shadow:inset 0 0 0 1px #1a1a1c}
.og-pair{position:relative}
.og-swap{position:absolute;left:50%;top:36px;transform:translateX(-50%);z-index:2;width:36px;height:36px;border-radius:50%;border:1px solid #c6c9cd;background:#fff;font-size:1.1rem;line-height:1;display:grid;place-items:center;padding:0;transform:translateX(-50%) rotate(90deg)}
.og-swap:hover:not(:disabled){background:#ffdd2d;border-color:#ffdd2d}
.og-swap:disabled{opacity:.35;cursor:not-allowed}
.og-quick{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.og-quick button{border:1px solid #dadddf;background:#fff;border-radius:999px;padding:6px 12px;font-size:.85rem;font-variant-numeric:tabular-nums}
.og-quick button[aria-pressed=true]{background:#1a1a1c;color:#fff;border-color:#1a1a1c}
#rate-caption{white-space:pre-line}
.og-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#eef0f2;border-radius:12px;margin:4px 0 8px}
.og-seg button{border:0;background:transparent;border-radius:9px;padding:9px 6px;font-weight:600;color:#565c63}
.og-seg button[aria-checked=true]{background:#fff;color:#1a1a1c;box-shadow:0 1px 3px #0002}
.og-grip,.og-backdrop,.og-bar{display:none}
.og-tg{display:inline-flex;align-items:center;gap:6px}
.lead-actions .og-tg-btn{display:block;margin-top:10px;text-align:center;border:1px solid #c6c9cd;border-radius:12px;padding:14px}
@media(max-width:640px){
  .header{height:68px}
  .hero{padding-top:14px!important;gap:14px!important}
  .hero h1{font-size:1.75rem;margin:0}
  .hero .lead,.hero .cash-signature,.hero .hero-cta{display:none!important}
  .workspace{margin-top:0!important;padding:16px!important}
  .steps{margin:12px 0!important}
  .og-tiles{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 -16px 14px;padding:0 16px;gap:8px}
  .og-tiles::-webkit-scrollbar{display:none}
  .og-tiles button{flex:0 0 auto;flex-direction:row;gap:6px;min-height:0;padding:9px 14px;border-radius:999px;font-size:.9rem}
  .og-tiles button b{font-size:.95rem}
  .og-pair{display:flex!important;flex-direction:column;gap:10px!important;margin:0 0 6px}
  .og-pair label{margin:0 0 6px}
  .og-pair .selected-description{display:none}
  .og-swap{left:auto;right:56px;top:50%;transform:translateY(-30%)}
  .hero .eyebrow{display:none}
  .steps,.workspace-head{display:none!important}
  #calculator>label,#amount-label{margin-top:4px}
  .og-swap:hover:not(:disabled){background:#fff;border-color:#c6c9cd}
  .og-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:1fr 1fr auto;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #e3e5e7;backdrop-filter:blur(8px)}
  .og-bar[hidden]{display:none!important}
  .og-bar a,.og-bar button{display:flex;align-items:center;justify-content:center;border-radius:12px;padding:13px 8px;font-weight:700;font-size:.95rem;border:1px solid #c6c9cd;background:#fff;color:#1a1a1c;text-decoration:none}
  .og-bar .og-bar-go{background:#ffdd2d;border-color:#ffdd2d}
  .og-bar .og-bar-tg{width:48px;padding:0;font-size:1.2rem}
  body.og-bar-on{padding-bottom:76px}
  body.og-sheet-open{overflow:hidden}
  .og-backdrop{display:block;position:fixed;inset:0;background:#0006;z-index:60}
  .og-backdrop[hidden]{display:none!important}
  body.og-sheet-open #review-panel{position:fixed;left:0;right:0;bottom:0;z-index:61;max-height:92vh;max-height:92dvh;overflow:auto;background:#fff;border-radius:20px 20px 0 0;padding:8px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px #0003;animation:og-up .22s ease-out}
  body.og-sheet-open .og-grip{display:block;width:40px;height:5px;border-radius:3px;background:#d4d7da;margin:2px auto 10px}
  body.og-sheet-open #review-panel input[type=text],body.og-sheet-open #review-panel input[type=tel]{font-size:16px}
}
#review-panel input[type=tel]{width:100%;box-sizing:border-box;margin:4px 0 12px;padding:12px 14px;font:inherit;border:1px solid #c9d2dc;border-radius:10px}
@keyframes og-up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){body.og-sheet-open #review-panel{animation:none}}
/* доводка 26.11: шапка, полоса курсов, факты, ветхие */
.og-head-phone{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2;font-weight:700;white-space:nowrap}
.og-head-phone small{font-weight:400;color:#6b7178;font-size:.75rem}
.og-head-tg{font-size:.94rem;white-space:nowrap}
.header nav+.og-head-tg{margin-left:28px}
.og-rates{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 0;border-bottom:1px solid #e3e5e7;font-variant-numeric:tabular-nums}
.og-rates button{border:1px solid #e0e3e6;background:#fff;border-radius:999px;padding:5px 12px;font-size:.88rem}
.og-rates button b{margin-right:2px}
.og-rates-note{color:#6b7178;font-size:.8rem}
.og-facts{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:8px}
.og-facts li{background:#fff;border:1px solid #e3e5e7;border-radius:999px;padding:6px 12px;font-size:.9rem}
.og-facts a{text-decoration:underline;text-underline-offset:3px}
.og-worn-tg{display:inline-block;margin:10px 0 0 10px}
@media(max-width:900px){.og-head-tg{display:none}}
@media(max-width:640px){
  .og-head-phone{margin-left:auto}
  .og-head-phone small{display:none}
  .og-head-phone span{font-size:.95rem}
  .header #resume:not([hidden]){margin-left:8px}
  .og-rates{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%!important;padding:8px 16px;margin:0}
  .og-rates::-webkit-scrollbar{display:none}
  .og-rates button{flex:0 0 auto}
  .og-rates-note{flex:0 0 auto}
  .hero .og-facts{display:none}
  #cash-comparison{display:none!important}
  .og-worn-tg{margin:10px 0 0}
}
@media(max-width:640px){.header{height:58px}.og-rates{padding:6px 16px}.og-tiles{margin-bottom:10px}.og-pair{gap:8px!important}}
@media(max-width:640px){.header{height:56px!important;min-height:0!important}.hero h1{font-size:1.6rem!important}.amount-field{padding:10px 14px!important}.amount-field input{font-size:1.5rem!important}.og-quick{margin:8px 0 0}}
.og-mark{background:none!important;padding:0;overflow:hidden}.og-mark svg{display:block}
