/* owner-r11-global.css (круг 11, 09.11.2026, поток global, owner_comments11_verbatim.txt). Подключается на всех страницах сайта.
   Источник: tools/owner_review_2026_11/r11_assets/owner-r11-global.css, не править руками на staging.
   Селекторы с :not(#r11a):not(#r11b):not(#r11c) - чтобы перебить стили форм страниц (там !important и до 4 классов/атрибутов). */

/* ---- G177: оверлей увеличения картинок (те же правила, что owner-r10-lightbox.css; на страницах без файла круга 10) ---- */
[data-lb]{cursor:zoom-in}
[data-lb]:focus-visible{outline:3px solid #3a4ba8;outline-offset:-3px}
html.r10lb-open,html.r10lb-open body{overflow:hidden}
html.r10lb-open{scrollbar-gutter:stable}
.r10lb{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:calc(56px + env(safe-area-inset-top)) 72px calc(52px + env(safe-area-inset-bottom));background:rgba(10,15,35,.9);cursor:zoom-out;-webkit-tap-highlight-color:transparent}
.r10lb[hidden]{display:none}
.r10lb-img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.5);touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:zoom-out}
.r10lb-x{position:fixed;top:calc(12px + env(safe-area-inset-top));right:14px;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(15,20,45,.7);color:#fff;font:20px/1 system-ui,sans-serif;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center}
.r10lb-nav{position:fixed;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(15,20,45,.72);color:#fff;font:22px/1 system-ui,sans-serif;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.45);direction:ltr;unicode-bidi:isolate}
.r10lb-x:hover,.r10lb-nav:hover{background:rgba(15,20,45,.92)}
.r10lb-x:focus-visible,.r10lb-nav:focus-visible{outline:3px solid #fff;outline-offset:2px}
.r10lb-prev{left:10px}
.r10lb-next{right:10px}
.r10lb[dir=rtl] .r10lb-prev{left:auto;right:10px}
.r10lb[dir=rtl] .r10lb-next{right:auto;left:10px}
.r10lb-nav[hidden],.r10lb-cnt[hidden]{display:none}
.r10lb-cnt{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translateX(-50%);padding:5px 14px;border-radius:14px;background:rgba(15,20,45,.78);color:#fff;font:600 15px/1.3 system-ui,sans-serif;letter-spacing:.04em;direction:ltr;unicode-bidi:isolate}
@media (max-width:600px){
  .r10lb{padding:calc(62px + env(safe-area-inset-top)) 8px calc(64px + env(safe-area-inset-bottom))}
  .r10lb-nav{top:auto;bottom:calc(8px + env(safe-area-inset-bottom));transform:none;width:48px;height:48px;font-size:19px}
  .r10lb-prev{left:12px}
  .r10lb-next{right:12px}
  .r10lb[dir=rtl] .r10lb-prev{right:12px}
  .r10lb[dir=rtl] .r10lb-next{left:12px}
  .r10lb-cnt{bottom:calc(20px + env(safe-area-inset-bottom))}
}

/* ---- G187: светлый документ на светлом фоне - тонкая рамка и мягкая тень (класс ставит owner-r11-global.js) ---- */
html body .r11g-edge:not(#r11a):not(#r11b){box-shadow:0 0 0 1px rgba(20,30,60,.18),0 6px 18px rgba(20,30,60,.12)!important}

/* ---- G185: крестик всплывающей формы - ровный круг на всех размерах экрана.
   Было: .qov-x (форма-окно на страницах справок о несудимости) 42x42 + padding кнопки по умолчанию при box-sizing:content-box = 54x44, овал.
   .pop-x (окно «Контакты») и .r10lb-x уже круглые - фиксируем так же, чтобы не поплыли от стилей страницы. ---- */
html body .qov-x:not(#r11a):not(#r11b),html body .pop-x:not(#r11a):not(#r11b){box-sizing:border-box!important;padding:0!important;min-width:0!important;min-height:0!important;aspect-ratio:1/1!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;flex:none!important}
html body .qov-x:not(#r11a):not(#r11b){width:42px!important;height:42px!important}
html body .pop-x:not(#r11a):not(#r11b){width:40px!important;height:40px!important}

/* ---- G173, G211: единое состояние ошибки полей формы (и на светлом, и на цветном фоне) ----
   Поле: красная рамка 2 px (outline поверх своей рамки, без сдвига вёрстки), красное свечение и лёгкая красная подсветка фона.
   Текст ошибки - на своей светлой плашке: #b3261e на #fdecea, контраст 6:1 на любом фоне формы. */
html body input[aria-invalid=true]:not([type=checkbox]):not([type=radio]):not(#r11a):not(#r11b):not(#r11c),
html body textarea[aria-invalid=true]:not(#r11a):not(#r11b):not(#r11c),
html body select[aria-invalid=true]:not(#r11a):not(#r11b):not(#r11c),
html body .js-error-control-box .t-input:not(#r11a):not(#r11b):not(#r11c),
html body .js-error-control-box .t-select:not(#r11a):not(#r11b):not(#r11c){
  border-color:#d93025!important;outline:2px solid #d93025!important;outline-offset:-1px!important;
  box-shadow:0 0 0 4px rgba(217,48,37,.25)!important
}
/* подсветка фона - только текстовым полям (у выпадающих списков стрелка бывает фоновой картинкой) */
html body input[aria-invalid=true]:not([type=checkbox]):not([type=radio]):not([type=file]):not(#r11a):not(#r11b):not(#r11c),
html body textarea[aria-invalid=true]:not(#r11a):not(#r11b):not(#r11c),
html body .js-error-control-box .t-input:not(#r11a):not(#r11b):not(#r11c){background-image:linear-gradient(rgba(217,48,37,.08),rgba(217,48,37,.08))!important}
html body input[type=checkbox][aria-invalid=true]:not(#r11a):not(#r11b):not(#r11c){outline:2px solid #d93025!important;outline-offset:2px!important}
html body .ferr.show:not(#r11a):not(#r11b):not(#r11c),
html body .t-input-error:not(:empty):not(#r11a):not(#r11b):not(#r11c){
  width:-moz-fit-content!important;width:fit-content!important;max-width:100%!important;box-sizing:border-box!important;
  padding:3px 9px!important;border-radius:5px!important;
  background:#fdecea!important;color:#b3261e!important;line-height:1.35!important;font-weight:600!important;text-align:start!important
}
html body .ferr.show:not(#r11a):not(#r11b):not(#r11c){display:block!important;margin-top:6px!important;font-size:13px!important}
html body .t-form__errorbox-wrapper:not(#r11a):not(#r11b):not(#r11c){background:#fdecea!important;border:1px solid #f3b8b2!important;border-radius:6px!important}
html body .t-form__errorbox-wrapper .tn-form__errorbox-close-line:not(#r11a):not(#r11b):not(#r11c){background-color:#b3261e!important}
html body .t-form__errorbox-wrapper .t-form__errorbox-text:not(#r11a):not(#r11b):not(#r11c),
html body .t-form__errorbox-wrapper .t-form__errorbox-item:not(#r11a):not(#r11b):not(#r11c){color:#b3261e!important;opacity:1!important}
