/* /ext/ogonki_install_popup/popup.css — v1.0.2, 2026-10-05.
   Scoped module, day/night from Modern data-og-theme, no global element rules. */
html.ogip-open { overflow: hidden; }
.ogip-dialog { --ip-bg:#fffef9; --ip-fg:#242d25; --ip-muted:#60685e; --ip-line:#dde3d6; --ip-input:#fff; color:var(--ip-fg); background:var(--ip-bg); width:min(520px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:0; border:1px solid var(--ip-line); border-radius:24px; box-shadow:0 28px 90px #0005; overflow:auto; font-family:inherit; font-size:16px; font-weight:400; line-height:1.5; }
.ogip-dialog::backdrop { background:#10180fc2; backdrop-filter:blur(5px); }
.ogip-dialog .ogip-panel { position:relative; padding:32px; }
.ogip-dialog .ogip-tag { display:inline-block; color:#356320; background:#e8f1dd; font-size:12px; font-weight:500; padding:6px 10px; border-radius:20px; margin:0 40px 14px 0; }
.ogip-dialog h2 { font-size:28px; font-weight:500; line-height:1.18; margin:0 35px 14px 0; color:var(--ip-fg); }
.ogip-dialog .ogip-description { color:var(--ip-muted); font-size:15px; margin:0 0 20px; }
.ogip-dialog .ogip-close { position:absolute; right:14px; top:14px; width:40px; height:40px; border:0; border-radius:50%; background:transparent; color:var(--ip-fg); font:400 30px/1 sans-serif; cursor:pointer; }
.ogip-dialog .ogip-close:hover { background:#80808018; }
.ogip-dialog .ogip-field { display:block; margin:0 0 12px; font-size:13px; font-weight:500; }
.ogip-dialog .ogip-field input { display:block; width:100%; box-sizing:border-box; margin-top:5px; min-height:46px; padding:10px 14px; border:1px solid var(--ip-line); border-radius:12px; background:var(--ip-input); color:var(--ip-fg); font-size:16px; font-weight:400; box-shadow:none; }
.ogip-dialog input:focus-visible,.ogip-dialog button:focus-visible,.ogip-dialog a:focus-visible { outline:2px solid #78a83e; outline-offset:3px; }
.ogip-dialog .ogip-consent { display:flex; gap:10px; align-items:flex-start; margin:18px 0; color:var(--ip-muted); font-size:12px; font-weight:400; }
.ogip-dialog .ogip-consent input { width:18px; height:18px; flex-shrink:0; margin:2px 0 0; accent-color:#426d24; }
.ogip-dialog a { color:inherit; text-decoration:underline; }
.ogip-dialog .ogip-submit { width:100%; border:0; border-radius:12px; padding:14px 10px; background:#426d24; color:#fff; font-size:16px; font-weight:500; line-height:1.35; cursor:pointer; }
.ogip-dialog .ogip-submit:hover { background:#34581c; }
.ogip-dialog .ogip-submit:disabled { opacity:.6; cursor:wait; }
.ogip-dialog .ogip-status { margin:14px 0 0; color:#356320; font-size:14px; }
.ogip-dialog .ogip-status:empty { display:none; }
.ogip-dialog .ogip-error { color:#b14035; }
.ogip-dialog .ogip-conditions { color:var(--ip-muted); font-size:12px; margin:16px 0 0; }
.ogip-dialog .ogip-trap { position:absolute; left:-10000px; width:1px; height:1px; opacity:0; }
.ogip-dialog [hidden] { display:none!important; }
html[data-og-theme="night"] .ogip-dialog { --ip-bg:#1b241c; --ip-fg:#eff5e9; --ip-muted:#bec9b5; --ip-line:#3c4835; --ip-input:#232e24; }
html[data-og-theme="night"] .ogip-dialog .ogip-tag { background:#35472b; color:#d0eab6; }
html[data-og-theme="night"] .ogip-dialog .ogip-status { color:#c2e39f; }
html[data-og-theme="night"] .ogip-dialog .ogip-error { color:#ffb7ad; }
@media(max-width:600px) { .ogip-dialog { border-radius:18px; } .ogip-dialog .ogip-panel { padding:24px 20px; } .ogip-dialog h2 { font-size:24px; } }

/* v1.0.2 — точное закрепление подтверждённого консольного теста.
   Тема SoloMono переопределяла позицию текста согласия и скрывала checkbox.
   Все override ограничены .ogip-dialog: внешние формы не затрагиваются.
   Нативный checkbox, обязательность согласия и JS отправки сохраняются.
   Зависимости: классы разметки popup.js v1.0.0; подключение bootstrap.php v1.0.2.
   Расположено последним в файле для приоритета над его базовыми правилами. */
.ogip-dialog .ogip-consent {
    position:relative!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    width:100%!important;
    float:none!important;
    transform:none!important;
    margin:18px 0!important;
}
.ogip-dialog .ogip-consent span {
    position:static!important;
    display:block!important;
    float:none!important;
    width:auto!important;
    height:auto!important;
    flex:1!important;
    transform:none!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    font-size:12px!important;
    line-height:1.5!important;
}
.ogip-dialog .ogip-consent input[type=checkbox] {
    position:static!important;
    display:block!important;
    appearance:auto!important;
    opacity:1!important;
    visibility:visible!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    flex:0 0 18px!important;
    margin:2px 0 0!important;
    transform:none!important;
    clip:auto!important;
    clip-path:none!important;
}
.ogip-dialog .ogip-consent::before,
.ogip-dialog .ogip-consent::after,
.ogip-dialog .ogip-consent span::before,
.ogip-dialog .ogip-consent span::after {
    display:none!important;
    content:none!important;
}
.ogip-dialog h2 {
    text-align:left!important;
    font-weight:500!important;
}
.ogip-dialog .ogip-close {
    border:0!important;
}
