/*
 * «РусУрология» — тема «Журнал наблюдения». Префикс классов ru-.
 * Мотивы: ведомость-журнал, лист «к приёму» в папке-скоросшивателе, ежедневник визитов,
 * талон-номерок, схема почек и пузыря, мерный стакан, часы ожидания.
 * Шрифты (OFL, свои woff2): STIX Two Text, Lunasima, Cascadia Mono.
 */

@font-face { font-family: "STIX Two Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/stix-two-text-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "STIX Two Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/stix-two-text-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "STIX Two Text"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("fonts/stix-two-text-cyrillic-wght-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "STIX Two Text"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("fonts/stix-two-text-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lunasima"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lunasima-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lunasima"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lunasima-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lunasima"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lunasima-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lunasima"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lunasima-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cascadia Mono"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("fonts/cascadia-mono-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cascadia Mono"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("fonts/cascadia-mono-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--ru-wall: #e4eef0;
	--ru-wall-2: #d6e5e8;
	--ru-paper: #fbfcfa;
	--ru-paper-2: #f2f7f6;
	--ru-rule: #c6dbe0;
	--ru-rule-2: #dfeaec;
	--ru-ink: #12313d;
	--ru-ink-2: #34515c;
	--ru-ink-3: #55707b;
	--ru-teal: #0f6a78;
	--ru-teal-d: #0b4f5b;
	--ru-teal-l: #d6edef;
	--ru-teal-xl: #edf6f6;
	--ru-pen: #2f5a9e;
	--ru-pen-d: #24497f;
	--ru-pen-l: #e2eaf7;
	--ru-stamp: #a03a33;
	--ru-stamp-d: #7a2a25;
	--ru-stamp-l: #f7e4e1;
	--ru-ochre: #8a5a06;
	--ru-ochre-l: #fbefcf;
	--ru-card: #e9dcc0;
	--ru-card-d: #cdb98f;
	--ru-card-dd: #9c8257;
	--ru-mint: #d5eee7;
	--ru-talon: #fbefc4;
	--ru-metal: linear-gradient(180deg, #f4f6f7, #b9c3c7 55%, #e2e7e9);
	--ru-shadow: 0 1px 2px rgba(18, 49, 61, .07);
	--ru-shadow-2: 0 2px 6px rgba(18, 49, 61, .08);
	--ru-serif: "STIX Two Text", "Times New Roman", Georgia, serif;
	--ru-sans: "Lunasima", "Segoe UI", Roboto, Arial, sans-serif;
	--ru-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--ru-r: 6px;
	--ru-gut: 24px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	font: 400 16px/1.55 var(--ru-sans);
	color: var(--ru-ink);
	background-color: var(--ru-wall);
	background-image:
		linear-gradient(rgba(15, 106, 120, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 106, 120, .055) 1px, transparent 1px);
	background-size: 44px 44px;
	background-position: -1px -1px;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--ru-teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ru-stamp-d); }
:focus-visible { outline: 2px solid var(--ru-pen); outline-offset: 2px; border-radius: 3px; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
.ru-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ru-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ru-ink); color: #fff; padding: 8px 14px; border-radius: 4px; }
.ru-skip:focus { top: 10px; color: #fff; }
.ru-ico { flex: none; vertical-align: middle; }

.ru-h1 { font: 600 clamp(26px, 2.6vw, 36px)/1.14 var(--ru-serif); margin: 0; letter-spacing: -.005em; color: var(--ru-ink); text-wrap: balance; }
.ru-h2 { font: 600 clamp(21px, 1.8vw, 25px)/1.2 var(--ru-serif); margin: 0; color: var(--ru-ink); }
.ru-h3 { font: 600 19px/1.25 var(--ru-serif); margin: 22px 0 10px; }
.ru-kicker { margin: 0 0 8px; font: 700 12.5px/1.3 var(--ru-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ru-teal); }
.ru-lead { margin: 12px 0 0; font-size: 16.5px; color: var(--ru-ink-2); max-width: 64ch; }
.ru-empty { color: var(--ru-ink-3); font-size: 14.5px; margin: 14px 0; }
.ru-link-s { font-size: 13.5px; }

/* ------------------------------------------------------------------ каркас */
.ru-site { min-height: 100vh; display: flex; flex-direction: column; }
.ru-top { background: var(--ru-paper); border-bottom: 1px solid var(--ru-rule); box-shadow: 0 3px 0 -1px var(--ru-paper), 0 4px 0 -1px var(--ru-rule); position: relative; z-index: 20; }
.ru-top__in { max-width: 1440px; margin: 0 auto; padding: 10px var(--ru-gut); display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.ru-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ru-ink); flex: none; }
.ru-logo:hover { color: var(--ru-ink); }
.ru-logo__mark svg { display: block; }
.ru-logo__bg { fill: var(--ru-teal); }
.ru-logo__k, .ru-logo__u { fill: none; stroke: var(--ru-paper); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ru-logo__b { fill: var(--ru-stamp-l); stroke: var(--ru-paper); stroke-width: 1.9; }
.ru-logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.ru-logo__txt b { font: 700 22px/1.05 var(--ru-serif); letter-spacing: .005em; }
.ru-logo__txt i { font-style: normal; font-size: 12.5px; color: var(--ru-ink-3); letter-spacing: .02em; margin-top: 3px; }
.ru-top__crumbs { flex: 1 1 auto; min-width: 0; }
.ru-crumbs { display: flex; flex-wrap: nowrap; overflow: hidden; align-items: center; gap: 2px 8px; font-size: 13.5px; color: var(--ru-ink-3); padding-left: 18px; border-left: 1px solid var(--ru-rule); min-height: 34px; }
.ru-crumbs a { color: var(--ru-ink-2); text-decoration: none; flex: none; white-space: nowrap; }
.ru-crumbs a:hover { color: var(--ru-teal-d); text-decoration: underline; }
.ru-crumbs .active { min-width: 0; color: var(--ru-ink); font-weight: 700; max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ru-crumbs__sep { color: var(--ru-rule); }
.ru-page--index .ru-top__crumbs { visibility: hidden; }
.ru-top__papka, .ru-top__cal { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ru-card-d); background: var(--ru-card); color: #4a3a1c; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; flex: none; }
.ru-top__papka:hover { background: #e2d2b0; color: #3b2e15; }
.ru-top__cal { display: none; background: var(--ru-teal); border-color: var(--ru-teal); color: #fff; }
.ru-top__cal:hover { background: var(--ru-teal-d); }

.ru-shell { flex: 1 0 auto; width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px var(--ru-gut) 40px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.ru-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ru-main > br { display: none; }

/* ------------------------------------------------------------------ боковая колонка «Календарь визитов» */
.ru-side { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--ru-rule) transparent; border-radius: var(--ru-r); }
.ru-side__in { display: flex; flex-direction: column; gap: 14px; padding-bottom: 4px; }
.ru-side__bar { display: none; }
.ru-qs { position: relative; display: flex; }
.ru-qs input { flex: 1; min-width: 0; height: 44px; padding: 0 46px 0 14px; border: 1px solid var(--ru-rule); border-radius: var(--ru-r); background: var(--ru-paper); font: 400 15px var(--ru-sans); color: var(--ru-ink); }
.ru-qs input::placeholder { color: #6b838d; }
.ru-qs input:focus { outline: 2px solid var(--ru-teal); outline-offset: 0; border-color: var(--ru-teal); }
.ru-qs__go { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 4px; background: var(--ru-teal); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ru-qs__go:hover { background: var(--ru-teal-d); }

.ru-me { background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); }
.ru-login-d__s { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ru-teal-d); }
.ru-login-d__s::-webkit-details-marker { display: none; }
.ru-login-d__s::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.ru-login-d[open] .ru-login-d__s::after { transform: rotate(-135deg) translateY(-1px); }
.ru-login { padding: 0 14px 14px; }
.ru-login__p { margin: 0 0 10px; font-size: 13.5px; color: var(--ru-ink-3); }
.ru-field { margin: 0 0 10px; }
.ru-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ru-ink-2); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }
.ru-field input.textbox { width: 100%; }
.ru-field--row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.ru-field--row label { text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; font-size: 13px; }
.ru-check-l { display: inline-flex !important; align-items: center; gap: 6px; }
.ru-field .button { width: 100%; }
.ru-meb { padding: 12px 14px; }
.ru-meb__who { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.ru-meb__who span { display: flex; flex-direction: column; line-height: 1.25; }
.ru-meb__who a { font-size: 13px; }
.ru-meb__links { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px dashed var(--ru-rule); display: grid; gap: 4px; font-size: 14px; }
.ru-meb__links a { text-decoration: none; }
.ru-meb__links a:hover { text-decoration: underline; }
.ru-pmn { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ru-stamp); color: #fff; font-size: 12px; margin-left: 4px; }
.ru-pmn[data-n="0"] { background: var(--ru-rule); color: var(--ru-ink-2); }

/* ежедневник */
.ru-cal { position: relative; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); padding: 24px 0 8px; box-shadow: var(--ru-shadow); }
.ru-cal::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: var(--ru-teal); border-radius: var(--ru-r) var(--ru-r) 0 0; }
.ru-cal__rings { position: absolute; top: -7px; left: 18px; right: 18px; display: flex; justify-content: space-between; pointer-events: none; }
.ru-cal__rings i { width: 9px; height: 22px; border-radius: 5px; background: var(--ru-metal); box-shadow: inset 0 0 0 1px rgba(18, 49, 61, .28), 0 2px 2px rgba(18, 49, 61, .2); }
.ru-cal__head { display: flex; align-items: center; gap: 12px; padding: 4px 16px 10px; border-bottom: 3px double var(--ru-rule); }
.ru-cal__h { font: 600 20px/1.15 var(--ru-serif); margin: 0; }
.ru-cal__today { margin: 2px 0 0; font-size: 13.5px; color: var(--ru-ink-2); }
.ru-cal__today b { color: var(--ru-ink); }
.ru-cal__time { font-family: var(--ru-mono); font-size: 12.5px; color: var(--ru-teal-d); margin-left: 6px; }
.ru-cal__hint { margin: 8px 16px 2px; font-size: 12.5px; color: var(--ru-ink-3); line-height: 1.4; }
.ru-clock { flex: none; }
.ru-clock__f { fill: var(--ru-paper-2); stroke: var(--ru-teal); stroke-width: 2; }
.ru-clock__t { stroke: var(--ru-ink-3); stroke-width: 1.6; stroke-linecap: round; }
.ru-clock__h { stroke: var(--ru-ink); stroke-width: 2.4; stroke-linecap: round; transform-origin: 20px 20px; }
.ru-clock__m { stroke: var(--ru-stamp); stroke-width: 1.6; stroke-linecap: round; transform-origin: 20px 20px; }
.ru-clock__c { fill: var(--ru-ink); }
.ru-cal__list { list-style: none; margin: 0; padding: 0; }
.ru-week { padding: 10px 0 4px; }
.ru-week + .ru-week { border-top: 1px solid var(--ru-rule-2); }
.ru-week__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 16px 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ru-week__h a { color: var(--tone, var(--ru-teal-d)); text-decoration: none; }
.ru-week__h a:hover { text-decoration: underline; }
.ru-week__h span { font: 400 12px var(--ru-mono); color: var(--ru-ink-3); letter-spacing: 0; text-transform: none; }
.ru-week ul { list-style: none; margin: 0; padding: 0; }
.ru-day { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 16px; text-decoration: none; color: var(--ru-ink); position: relative; background-image: linear-gradient(var(--ru-rule-2), var(--ru-rule-2)); background-size: calc(100% - 32px) 1px; background-position: 16px 100%; background-repeat: no-repeat; }
.ru-day:hover { background-color: var(--ru-teal-xl); color: var(--ru-ink); }
.ru-day.is-on { background-color: var(--ru-teal-l); }
.ru-day.is-on::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 0 3px 3px 0; background: var(--tone, var(--ru-teal)); }
.ru-day__d { width: 44px; height: 44px; border-radius: 5px; background: #fff; border: 1px solid var(--ru-rule); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 3px; position: relative; overflow: hidden; box-shadow: 0 1px 0 rgba(18, 49, 61, .06); }
.ru-day__d::before { content: ""; position: absolute; inset: 0 0 auto; height: 9px; background: var(--tone, var(--ru-teal)); }
.ru-day__d b { font: 700 17px/1 var(--ru-mono); color: var(--ru-ink); }
.ru-day__d i { font-style: normal; font-size: 12px; color: var(--ru-ink-3); line-height: 1.1; }
.ru-day__d--none b { color: var(--ru-ink-3); }
.ru-day__b { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ru-day__cab { display: inline-flex; align-items: center; gap: 4px; font: 400 12px var(--ru-mono); color: var(--tone, var(--ru-teal-d)); }
.ru-day__t { font-size: 14.5px; font-weight: 700; }
.ru-day__n { font: 600 13px var(--ru-mono); color: var(--ru-ink-2); min-width: 28px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--ru-paper-2); border: 1px solid var(--ru-rule); display: grid; place-items: center; }
.ru-side__papka { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--ru-r); text-decoration: none; color: #3b2e15; background: var(--ru-card); border: 1px solid var(--ru-card-d); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 7px); }
.ru-side__papka:hover { color: #2a200d; background-color: #e2d2b0; }
.ru-side__papka span { display: flex; flex-direction: column; line-height: 1.25; }
.ru-side__papka b { font: 600 17px var(--ru-serif); }
.ru-side__papka i { font-style: normal; font-size: 13px; color: #5a4a2a; }

.ru-tone--teal { --tone: var(--ru-teal); --tone-l: var(--ru-teal-l); }
.ru-tone--pen { --tone: var(--ru-pen); --tone-l: var(--ru-pen-l); }
.ru-tone--ochre { --tone: var(--ru-ochre); --tone-l: var(--ru-ochre-l); }
.ru-tone--stamp { --tone: var(--ru-stamp); --tone-l: var(--ru-stamp-l); }

/* ------------------------------------------------------------------ главная: шапка */
.ru-ihead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 24px 26px; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); box-shadow: var(--ru-shadow); position: relative; overflow: hidden; }
.ru-ihead::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: repeating-linear-gradient(180deg, var(--ru-teal) 0 18px, var(--ru-stamp) 18px 24px); }
.ru-ihead .ru-h1 { max-width: 24ch; }
.ru-ihead__art { display: flex; align-items: center; gap: 0; position: relative; padding-right: 6px; }
.ru-scheme { width: 196px; padding: 12px 12px 10px; background-color: #fff; background-image: linear-gradient(rgba(47, 90, 158, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 90, 158, .08) 1px, transparent 1px); background-size: 10px 10px; border: 1px solid var(--ru-rule); border-radius: 4px; transform: rotate(-1.5deg); box-shadow: var(--ru-shadow); }
.ru-scheme__h { margin: 0 0 2px; font: 700 12px var(--ru-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-scheme svg { display: block; margin: 0 auto; width: 150px; height: 150px; }
.ru-scheme__k { fill: var(--ru-teal-l); stroke: var(--ru-teal); stroke-width: 2.4; stroke-linejoin: round; }
.ru-scheme__u { fill: none; stroke: var(--ru-teal); stroke-width: 2.2; stroke-linecap: round; }
.ru-scheme__b { fill: var(--ru-stamp-l); stroke: var(--ru-stamp); stroke-width: 2.4; }
.ru-scheme__w { fill: none; stroke: var(--ru-stamp); stroke-width: 1.4; stroke-dasharray: 3 3; opacity: .8; }
.ru-scheme__lead { fill: none; stroke: var(--ru-ink-3); stroke-width: 1; stroke-dasharray: 2 2; }
.ru-scheme__l { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; color: var(--ru-ink-2); line-height: 1.35; }
.ru-scheme__l b { color: var(--ru-ink); margin-right: 4px; }
.ru-talon { width: 128px; margin-left: -18px; margin-top: 46px; padding: 16px 12px 14px; text-align: center; background: var(--ru-talon); color: #4a3a12; transform: rotate(4deg); position: relative; z-index: 1; box-shadow: 0 2px 4px rgba(18, 49, 61, .08);
	-webkit-mask: radial-gradient(circle 4px at 50% 0, transparent 98%, #000) 0 0 / 12px 51% repeat-x, radial-gradient(circle 4px at 50% 100%, transparent 98%, #000) 0 100% / 12px 51% repeat-x;
	mask: radial-gradient(circle 4px at 50% 0, transparent 98%, #000) 0 0 / 12px 51% repeat-x, radial-gradient(circle 4px at 50% 100%, transparent 98%, #000) 0 100% / 12px 51% repeat-x; }
.ru-talon__k { display: block; font: 700 12px var(--ru-sans); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px dashed rgba(74, 58, 18, .45); padding-bottom: 6px; }
.ru-talon__no { display: block; font: 700 34px/1.1 var(--ru-mono); color: var(--ru-stamp); margin: 8px 0 2px; letter-spacing: .02em; }
.ru-talon__w { display: block; font-size: 12.5px; line-height: 1.25; }
.ru-talon__d { display: block; margin-top: 8px; padding-top: 6px; border-top: 1px dashed rgba(74, 58, 18, .45); font: 400 12px/1.3 var(--ru-mono); }

/* ------------------------------------------------------------------ ведомость */
.ru-ledger { background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); box-shadow: var(--ru-shadow); padding: 18px 0 14px; min-width: 0; }
.ru-ledger__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; padding: 0 20px 12px; }
.ru-ledger__n { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 14px; color: var(--ru-ink-2); }
.ru-ledger__n b { font-family: var(--ru-mono); color: var(--ru-ink); }
.ru-ledger__hint { font-size: 12.5px; color: var(--ru-ink-3); }
.ru-filters { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 14px; border-bottom: 3px double var(--ru-rule); }
.ru-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ru-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ru-rule); background: var(--ru-paper-2); color: var(--ru-ink-2); font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.ru-chip .ru-ico { color: var(--tone, var(--ru-teal)); }
.ru-chip:hover { border-color: var(--tone, var(--ru-teal)); color: var(--ru-ink); background: #fff; }
.ru-chip.is-on { background: var(--tone, var(--ru-teal)); border-color: var(--tone, var(--ru-teal)); color: #fff; }
.ru-chip.is-on .ru-ico { color: #fff; }
.ru-chip--st i { width: 10px; height: 10px; border-radius: 2px; background: var(--st, var(--ru-ink-3)); }
.ru-chip--st.is-on { background: var(--st); border-color: var(--st); }
.ru-chip--st.is-on i { background: #fff; }
.ru-chip--gotovlyus { --st: #8a5a06; }
.ru-chip--posle { --st: #0b5f6b; }
.ru-chip--nablyudayus { --st: #2f5a9e; }
.ru-chip--ask { --st: #6c3c7d; }
.ru-chip--itog { --st: #a03a33; }
.ru-chips--stages { padding-top: 10px; border-top: 1px dashed var(--ru-rule); }
.ru-srvsort { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--ru-ink-3); }

.ru-lg-wrap { width: 100%; }
.ru-lg { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ru-lg th { position: sticky; top: 0; z-index: 2; background: #e8f2f3; text-align: left; font: 700 12.5px/1.2 var(--ru-sans); text-transform: uppercase; letter-spacing: .04em; color: var(--ru-teal-d); border-bottom: 2px solid var(--ru-teal-d); padding: 0; white-space: nowrap; }
.ru-lg th > span, .ru-sort { display: flex; align-items: center; gap: 5px; width: 100%; padding: 11px 8px; border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left; }
.ru-sort { cursor: pointer; }
.ru-sort:hover { background: var(--ru-teal-l); }
.ru-sort i { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .3; transition: transform .2s, opacity .2s; }
[aria-sort] .ru-sort i { opacity: 1; }
[aria-sort="ascending"] .ru-sort i { transform: rotate(180deg); }
.ru-lg td { padding: 10px 9px; border-bottom: 1px solid var(--ru-rule-2); vertical-align: middle; }
.ru-lg td + td { border-left: 1px solid var(--ru-rule-2); }
.ru-lg tbody tr:last-child td { border-bottom: 0; }
.ru-lg__row { transition: background-color .15s; }
.ru-lg__row:hover { background: var(--ru-teal-xl); }
.ru-lg [hidden], .ru-lg__row[hidden] { display: none !important; }
.ru-lg__n { width: 48px; font: 400 12.5px var(--ru-mono); color: var(--ru-ink-3); text-align: center; }
td.ru-lg__n { border-right: 1px solid rgba(160, 58, 51, .55); }
th.ru-lg__n > span { justify-content: center; }
.ru-lg__date { width: 92px; font: 400 13px/1.3 var(--ru-mono); color: var(--ru-ink-2); }
.ru-lg__forum { width: 146px; }
.ru-fchip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ru-ink-2); text-decoration: none; line-height: 1.2; }
.ru-fchip .ru-ico { color: var(--tone); flex: none; }
.ru-fchip:hover { color: var(--tone); }
.ru-lg__stage { width: 108px; }
.ru-lg__t { min-width: 200px; }
.ru-lg__subj { font: 600 16px/1.3 var(--ru-serif); color: var(--ru-ink); text-decoration: none; }
.ru-lg__subj:hover { color: var(--ru-teal-d); text-decoration: underline; text-decoration-color: var(--ru-teal); }
.ru-lg__pin { display: inline-flex; vertical-align: -2px; margin-right: 5px; color: var(--ru-stamp); }
.ru-lg__au { display: none; margin-top: 3px; font-size: 13px; color: var(--ru-ink-3); }
.ru-lg__au a { color: var(--ru-ink-2); text-decoration: none; }
.ru-pages { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; font: 400 12.5px var(--ru-mono); color: var(--ru-ink-3); vertical-align: 1px; }
.ru-pages a { text-decoration: none; padding: 0 4px; border: 1px solid var(--ru-rule); border-radius: 3px; }
.ru-lg__a { width: 140px; font-size: 13.5px; }
td.ru-lg__a { white-space: nowrap; }
td.ru-lg__a > span:last-child { display: inline-block; vertical-align: middle; max-width: 96px; overflow: hidden; text-overflow: ellipsis; margin-left: 7px; }
td.ru-lg__a a { color: var(--ru-ink-2); text-decoration: none; }
td.ru-lg__a a:hover { color: var(--ru-teal-d); text-decoration: underline; }
.ru-lg__r { width: 80px; text-align: center; }
th.ru-lg__r .ru-sort, th.ru-lg__r > span { justify-content: center; }
td.ru-lg__r b { font: 600 15px var(--ru-mono); color: var(--ru-ink); }
.ru-lg__rw { display: none; }
.ru-lg__last { width: 124px; font-size: 13px; line-height: 1.3; }
td.ru-lg__last a { display: block; font-family: var(--ru-mono); font-size: 12.5px; color: var(--ru-ink); text-decoration: none; }
td.ru-lg__last a:hover { color: var(--ru-teal-d); text-decoration: underline; }
.ru-lg__by { display: block; color: var(--ru-ink-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 112px; }
.ru-lg__by--wait { color: var(--ru-stamp); }
.ru-lg__sep td { background: var(--ru-paper-2); font: 700 12px var(--ru-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ru-ink-3); padding: 7px 12px; }
.ru-lg__empty td { padding: 26px 20px; text-align: center; color: var(--ru-ink-3); }
.ru-lg__mod { width: 34px; text-align: center; }
.ru-lg__row.trow_shaded, .ru-lg__row.trow_deleted { background: var(--ru-stamp-l); }
#ru-lg-empty { padding: 0 20px; }
.ru-ledger__more { margin: 12px 20px 0; text-align: center; }
.ru-ledger__more:empty { display: none; }
.ru-more { height: 40px; padding: 0 22px; border-radius: 999px; border: 1px dashed var(--ru-teal); background: var(--ru-teal-xl); color: var(--ru-teal-d); font-weight: 700; cursor: pointer; }
.ru-more:hover { background: var(--ru-teal-l); }

/* метки этапа */
.ru-stage { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 3px; border: 1.5px solid currentColor; font: 700 12px/1.15 var(--ru-sans); letter-spacing: .02em; white-space: nowrap; background: #fff; }
.ru-stage--gotovlyus { color: #7d5205; background: #fdf3d6; }
.ru-stage--posle { color: #0a5560; background: #def1f2; }
.ru-stage--nablyudayus { color: #24508f; background: #e5ecf8; }
.ru-stage--ask { color: #643772; background: #f3e9f5; }
.ru-stage--itog { color: #8e2f29; background: #f9e7e4; border-style: double; border-width: 3px; padding: 1px 7px; transform: rotate(-2deg); }
.ru-stage--none { color: var(--ru-ink-3); border-color: transparent; background: none; padding-left: 0; }

/* ------------------------------------------------------------------ лица, звания */
.ru-face { display: inline-grid; place-items: center; flex: none; overflow: hidden; vertical-align: middle; }
.ru-face--img { border-radius: 5px; background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ru-rule); }
.ru-face--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ru-face--mono { border-radius: 50%; color: #fff; font-weight: 700; letter-spacing: .02em; }
.ru-face--xs { width: 24px; height: 24px; font-size: 11px; }
.ru-face--xs.ru-face--img { border-radius: 4px; box-shadow: 0 0 0 1px var(--ru-rule); }
.ru-face--s { width: 32px; height: 32px; font-size: 13px; }
.ru-face--m { width: 48px; height: 48px; font-size: 17px; }
.ru-face--l { width: 64px; height: 64px; font-size: 22px; }
.ru-face--xl { width: 150px; height: 150px; font-size: 52px; }
.ru-mono-0 { background: #0f6a78; } .ru-mono-1 { background: #2f5a9e; } .ru-mono-2 { background: #8a5a06; } .ru-mono-3 { background: #a03a33; } .ru-mono-4 { background: #4d6b3b; }
.ru-cup { flex: none; vertical-align: middle; }
.ru-cup__g { fill: none; stroke: var(--ru-ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.ru-cup__t { stroke: var(--ru-ink-3); stroke-width: 1.1; }
.ru-cup__w { fill: #9fd3d3; }
.ru-cup--4 .ru-cup__w, .ru-cup--5 .ru-cup__w { fill: #6fb8bb; }
.ru-cup--6 .ru-cup__w { fill: #e9b44c; }
.ru-rank { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ru-ink-2); }
.ru-rep { display: inline-flex; align-items: baseline; gap: 4px; font-size: 13px; color: var(--ru-ink-3); }
.ru-rep b { font: 600 13px var(--ru-mono); color: var(--ru-teal-d); }
.ru-rep--down b { color: var(--ru-stamp); }

/* ------------------------------------------------------------------ раздел */
.ru-fhead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 24px; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); box-shadow: var(--ru-shadow); border-top: 5px solid var(--tone); }
.ru-fhead__plate { width: 96px; padding: 12px 8px 10px; text-align: center; border-radius: 6px; background: linear-gradient(180deg, #fff, var(--ru-paper-2)); border: 1px solid var(--ru-rule); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--ru-rule-2), 0 6px 12px -10px rgba(18, 49, 61, .6); color: var(--tone); position: relative; }
.ru-fhead__plate::before, .ru-fhead__plate::after { content: ""; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--ru-metal); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.ru-fhead__plate::before { left: 6px; } .ru-fhead__plate::after { right: 6px; }
.ru-fhead__plate svg { display: block; margin: 0 auto 6px; }
.ru-fhead__plate span { display: block; font: 700 12.5px var(--ru-mono); color: var(--ru-ink); }
.ru-fhead__d { margin: 8px 0 0; color: var(--ru-ink-2); max-width: 70ch; }
.ru-fhead__n { margin: 8px 0 0; font-size: 14px; color: var(--ru-ink-3); }
.ru-fhead__n b { font-family: var(--ru-mono); color: var(--ru-ink); }
.ru-subs { background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); padding: 14px 18px; }
.ru-subs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 16px; }
.ru-sub { padding: 10px 12px; border: 1px solid var(--ru-rule-2); border-radius: 5px; background: var(--ru-paper-2); }
.ru-sub__t { font: 600 17px var(--ru-serif); text-decoration: none; color: var(--ru-ink); }
.ru-sub__d, .ru-sub__n, .ru-sub__last { margin: 4px 0 0; font-size: 13.5px; color: var(--ru-ink-3); }
.ru-subcat__t { font: 600 18px var(--ru-serif); margin: 0 0 8px; }

/* ------------------------------------------------------------------ кнопки, полосы */
.ru-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ru-teal); background: var(--ru-teal); color: #fff; font: 700 14.5px var(--ru-sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.ru-btn:hover { background: var(--ru-teal-d); color: #fff; }
.ru-btn--pen { background: var(--ru-pen); border-color: var(--ru-pen); }
.ru-btn--pen:hover { background: var(--ru-pen-d); }
.ru-btn--ghost { background: transparent; color: var(--ru-teal-d); }
.ru-btn--ghost:hover { background: var(--ru-teal-l); color: var(--ru-teal-d); }
.ru-btn.is-off { background: var(--ru-paper-2); border-color: var(--ru-rule); color: var(--ru-ink-3); cursor: not-allowed; flex-direction: row; }
.ru-btn.is-off em { font-style: normal; font-weight: 400; font-size: 12.5px; }
.ru-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.ru-bar__r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-left: auto; }
.ru-bar:not(:has(a, span, input)) { display: none; }
.ru-modtools:empty { display: none; }

/* ------------------------------------------------------------------ тема: папка и листы */
.ru-case { --lh: 28px; position: relative; display: flex; flex-direction: column; gap: 18px; padding: 0 0 22px 26px; }
.ru-case::before { content: ""; position: absolute; left: 0; top: 40px; bottom: 0; width: 26px; border-radius: 8px 0 0 8px; background: var(--ru-card); background-image: repeating-linear-gradient(170deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 6px); border: 1px solid var(--ru-card-d); border-right: 0; }
.ru-chead { position: relative; margin-left: -26px; padding: 18px 22px 18px 26px; background: var(--ru-card); background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px 7px); border: 1px solid var(--ru-card-d); border-radius: 8px; color: #3b2e15; box-shadow: var(--ru-shadow); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
.ru-chead__top { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13.5px; }
.ru-chead__forum { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.ru-chead__forum .ru-ico { color: var(--tone); }
.ru-chead__forum a { color: #3b2e15; }
.ru-chead__cab, .ru-chead__no { font: 400 12.5px var(--ru-mono); color: #5a4826; }
.ru-chead__no i, .ru-card__tab i { font-family: var(--ru-sans); font-style: normal; }
.ru-chead__no { margin-left: auto; }
.ru-chead__label { background: var(--ru-paper); color: var(--ru-ink); border: 1px solid var(--ru-card-dd); border-radius: 4px; padding: 16px 20px 14px; box-shadow: inset 0 0 0 3px var(--ru-paper), inset 0 0 0 4px var(--ru-rule); }
.ru-chead__k { margin: 0 0 8px; }
.ru-chead__h1 { font-size: clamp(25px, 2.4vw, 34px); }
.ru-chead__dl { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px 0 0; font-size: 14px; }
.ru-chead__dl div { display: flex; gap: 6px; align-items: baseline; }
.ru-chead__dl dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-chead__dl dd { margin: 0; }
.ru-chead__dl dd b { font-family: var(--ru-mono); }
.ru-chead__people { align-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; color: #4a3a1c; }
.ru-stack { display: flex; flex-wrap: wrap; justify-content: flex-end; max-width: 240px; }
.ru-stack .ru-face { margin-left: -6px; box-shadow: 0 0 0 2px var(--ru-card); }
.ru-stack .ru-face--img { box-shadow: 0 0 0 2px var(--ru-card); }

.ru-sheets { display: flex; flex-direction: column; gap: 16px; }
.ru-sheet { position: relative; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: 3px; box-shadow: var(--ru-shadow); padding: 16px 24px 14px 52px; scroll-margin-top: 16px; transition: box-shadow .25s, transform .25s; }
.ru-sheet::before, .ru-sheet::after { content: ""; position: absolute; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--ru-wall-2); box-shadow: inset 0 2px 3px rgba(18, 49, 61, .35), 0 0 0 3px var(--ru-paper), 0 0 0 4px var(--ru-rule-2); }
.ru-sheet::before { top: 26px; }
.ru-sheet::after { top: 118px; }
.ru-sheet__head { border-bottom: 1px solid var(--ru-rule); padding-bottom: 12px; margin-bottom: 4px; }
.ru-sheet__kind { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 3px double var(--ru-rule); }
.ru-sheet__kind b { font: 700 12.5px var(--ru-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ru-teal-d); }
.ru-sheet__kind span { font: 400 12.5px var(--ru-mono); color: var(--ru-ink-3); }
.ru-sheet__who { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; }
.ru-sheet__fields { margin: 0; display: grid; gap: 4px; min-width: 0; }
.ru-f { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 2px 0; border-bottom: 1px dotted var(--ru-rule); }
.ru-f dt { font: 700 12px var(--ru-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-f dd { margin: 0; font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.ru-sheet__nick { font: 700 16px var(--ru-serif); }
.ru-sheet__nick a { color: var(--ru-ink); text-decoration: none; }
.ru-sheet__nick a:hover { color: var(--ru-teal-d); text-decoration: underline; }
.ru-sheet__badges { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.ru-op { font-size: 12px; font-weight: 700; color: var(--ru-pen); border: 1px solid currentColor; border-radius: 3px; padding: 1px 6px; }
.ru-to { font-weight: 700; color: var(--ru-pen-d); }
.ru-to__n { font: 400 12.5px var(--ru-mono); color: var(--ru-ink-3); }
.ru-sheet__date { font: 400 13px var(--ru-mono); color: var(--ru-ink-2); text-decoration: none; }
.ru-sheet__date:hover { color: var(--ru-teal-d); text-decoration: underline; }
.ru-sheet__facts { margin: 0; display: grid; gap: 6px; min-width: 150px; max-width: 220px; }
.ru-sheet__facts div { border: 1px solid var(--ru-rule); border-radius: 3px; padding: 4px 8px; background: var(--ru-paper-2); }
.ru-sheet__facts dt { font: 700 12px var(--ru-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-sheet__facts dd { margin: 0; font-size: 13.5px; line-height: 1.3; }
.ru-sheet__body { font: 400 17px/var(--lh) var(--ru-serif); color: var(--ru-ink); padding: 6px 0 calc(var(--lh) / 2); background-image: linear-gradient(transparent calc(var(--lh) - 1px), var(--ru-rule-2) calc(var(--lh) - 1px)); background-size: 100% var(--lh); background-position: 0 6px; overflow-wrap: anywhere; min-height: calc(var(--lh) * 3); }
.ru-sheet__body p, .ru-sheet__body ul, .ru-sheet__body ol { margin: 0 0 var(--lh); }
.ru-sheet__body ul, .ru-sheet__body ol { padding-left: 1.3em; }
.ru-sheet__sign { display: flex; justify-content: flex-end; align-items: baseline; gap: 12px; margin-top: 4px; }
.ru-sheet__sigl { font: 700 12px var(--ru-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-sheet__sig { min-width: 160px; padding: 0 8px 2px; text-align: center; font: italic 500 21px/1.2 var(--ru-serif); color: var(--ru-pen); border-bottom: 1px solid var(--ru-ink-3); transform: rotate(-1.5deg); }
.ru-sheet--first { padding-top: 20px; }
.ru-sheet--first .ru-sheet__kind b { color: var(--ru-stamp); font-size: 13px; }
.ru-sheet--first .ru-sheet__kind { border-bottom-color: rgba(160, 58, 51, .4); }
.ru-sheet--first .ru-sheet__body { --lh: 30px; font-size: 18.5px; }
.ru-sheet--first::after { top: 150px; }
.ru-sheet--first .ru-sheet__head::after { content: "направление"; position: absolute; right: 22px; top: 54px; padding: 4px 10px; border: 3px double var(--ru-stamp); border-radius: 4px; font: 700 13px var(--ru-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ru-stamp); transform: rotate(-4deg); opacity: .85; pointer-events: none; }
.ru-sheet--first .ru-sheet__who { padding-right: 150px; }
.ru-sheet--op { border-left: 4px solid var(--ru-pen); }
.ru-sheet.is-target { box-shadow: 0 0 0 3px var(--ru-pen-l), var(--ru-shadow-2); transform: translateY(-2px); }
.post_meta { font-size: 12.5px; color: var(--ru-ink-3); }
.post_meta:empty, .post_meta:not(:has(*:not(:empty))) { display: none; }
.ru-sheet__ctl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--ru-rule); }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.postbit_buttons > a, .postbit_buttons > span > a { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 15px; border: 1px solid var(--ru-rule); background: var(--ru-paper-2); color: var(--ru-ink-2); font-size: 13px; text-decoration: none; }
.postbit_buttons > a:hover { border-color: var(--ru-teal); color: var(--ru-teal-d); background: #fff; }
.postbit_buttons:empty { display: none; }
.signature { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--ru-rule-2); font-size: 13.5px; color: var(--ru-ink-3); }
.ru-sheet__body blockquote, blockquote.mycode_quote { margin: 0 0 var(--lh, 26px); padding: 8px 14px; background: var(--ru-teal-xl); border-left: 3px solid var(--ru-teal); font-size: 15.5px; line-height: 1.5; }
blockquote.mycode_quote cite { display: block; font: 700 12.5px var(--ru-sans); color: var(--ru-teal-d); font-style: normal; margin-bottom: 4px; }
.codeblock { background: var(--ru-paper-2); border: 1px solid var(--ru-rule); padding: 8px 12px; font: 13px var(--ru-mono); overflow-x: auto; }
.ru-guest { background: var(--ru-paper); border: 1px dashed var(--ru-teal); border-radius: var(--ru-r); padding: 16px 20px; color: var(--ru-ink-2); }
.ru-guest p { margin: 0 0 6px; }
.ru-guest__t { font: 600 18px var(--ru-serif); color: var(--ru-ink); }
.ru-sheet--blank { padding-bottom: 18px; }
.ru-qr__ta { width: 100%; min-height: 190px; resize: vertical; border: 1px solid var(--ru-rule); border-radius: 3px; padding: 6px 10px; font: 400 17px/28px var(--ru-serif); color: var(--ru-ink); background-color: #fff; background-image: linear-gradient(transparent 27px, var(--ru-rule-2) 27px); background-size: 100% 28px; background-attachment: local; background-position: 0 6px; }
.ru-qr__ta:focus { outline: 2px solid var(--ru-pen); outline-offset: 0; }
.ru-qr__opts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0; }
.ru-qr__act { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ru-nextprev { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ru-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.thread_tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.thread_tools li a { display: inline-flex; align-items: center; gap: 6px; padding-left: 0 !important; background: none !important; }

/* ------------------------------------------------------------------ профиль: карта участника */
.ru-card { position: relative; margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; padding: 28px 26px 24px; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: 0 var(--ru-r) var(--ru-r) var(--ru-r); box-shadow: var(--ru-shadow); border-left: 6px solid var(--ru-teal); }
.ru-card__tab { position: absolute; left: -6px; top: -30px; margin: 0; height: 30px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: var(--ru-teal); color: #fff; border-radius: 6px 6px 0 0; font: 700 12.5px var(--ru-sans); letter-spacing: .08em; text-transform: uppercase; }
.ru-card__tab span { font: 400 12.5px var(--ru-mono); letter-spacing: 0; opacity: .9; }
.ru-card__photo { position: relative; align-self: start; padding: 8px; background: #fff; border: 1px solid var(--ru-rule); transform: rotate(-1.5deg); box-shadow: var(--ru-shadow); }
.ru-card__photo::after { content: ""; position: absolute; top: -14px; right: 22px; width: 14px; height: 40px; border: 2.5px solid #9aa6ab; border-radius: 8px; border-bottom-color: transparent; transform: rotate(8deg); }
.ru-card__photo .ru-face--img { border-radius: 0; box-shadow: none; }
.ru-card__name { margin-bottom: 8px; }
.ru-card__rank { margin: 0 0 14px; }
.ru-card__rank .ru-rank { font-size: 14.5px; }
.ru-card__dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 26px; }
.ru-card__dl div { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px dotted var(--ru-rule); }
.ru-card__dl dt { font: 700 12px var(--ru-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-card__dl dd { margin: 0; font-size: 15px; }
.ru-card__dl dd b { font-family: var(--ru-mono); }
.ru-card__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; }
.ru-card__badge { text-align: center; align-self: start; width: 104px; padding: 12px 8px; border: 1px solid var(--ru-rule); border-radius: 6px; background: var(--ru-paper-2); font-size: 12.5px; color: var(--ru-ink-3); line-height: 1.3; }
.ru-card__badge .ru-cup { width: 60px; height: 60px; display: block; margin: 0 auto 6px; }
.ru-ladder-s { background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); padding: 18px 22px; }
.ru-ladder-s__p { margin: 6px 0 14px; color: var(--ru-ink-3); font-size: 14px; }
.ru-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ru-ladder li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; border-radius: 6px; border: 1px solid var(--ru-rule-2); }
.ru-ladder li.is-now { border-color: var(--ru-teal); background: var(--ru-teal-xl); box-shadow: 0 0 0 2px var(--ru-teal-l); }
.ru-ladder li.is-next { opacity: .6; }
.ru-ladder__t { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.ru-ladder__n { font: 400 12px var(--ru-mono); color: var(--ru-ink-3); }
.ru-ledger--prof { padding-bottom: 18px; }
.ru-ledger--prof .ru-h3, .ru-ledger--prof .ru-empty { padding: 0 20px; }
.ru-also { list-style: none; margin: 0; padding: 0 20px; display: grid; gap: 6px; }
.ru-also li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--ru-rule); }
.ru-also a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--ru-ink); font: 600 15.5px var(--ru-serif); }
.ru-also a .ru-ico { color: var(--ru-teal); }
.ru-also a:hover { color: var(--ru-teal-d); text-decoration: underline; }
.ru-also time { font: 400 12.5px var(--ru-mono); color: var(--ru-ink-3); white-space: nowrap; }
.ru-prof__extra:empty { display: none; }
.ru-prof__extra .tborder { margin-top: 0; }

/* ------------------------------------------------------------------ вау: «Папка к приёму» */
.ru-papka { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 26px; align-items: start; padding: 24px; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); box-shadow: var(--ru-shadow); scroll-margin-top: 14px; }
.ru-papka__intro p { color: var(--ru-ink-2); }
.ru-papka__intro .ru-h2 { margin-bottom: 8px; font-size: clamp(24px, 2.2vw, 30px); }
.ru-visits { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.ru-visit { position: relative; min-height: 42px; padding: 8px 14px 8px 30px; border: 1px solid var(--ru-card-d); border-radius: 6px 6px 2px 2px; background: #f6efe0; color: #4a3a1c; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; transition: background-color .15s, transform .15s; }
.ru-visit::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--ru-card-dd); background: #fff; }
.ru-visit:hover { background: var(--ru-card); }
.ru-visit[aria-selected="true"] { background: var(--ru-card); border-color: var(--ru-card-dd); box-shadow: inset 0 -3px 0 var(--ru-stamp); }
.ru-visit[aria-selected="true"]::before { border-color: var(--ru-stamp); background: var(--ru-stamp); box-shadow: inset 0 0 0 2px #fff; }
.ru-vdate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 1px dashed var(--ru-rule); border-radius: 6px; background: var(--ru-paper-2); }
.ru-vdate label { font: 700 12.5px var(--ru-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ru-ink-2); }
.ru-vdate input { height: 38px; font-family: var(--ru-mono); }
.ru-vdate__left { flex-basis: 100%; font-size: 14px; color: var(--ru-ink-2); }
.ru-vdate__left b { font: 700 18px var(--ru-mono); color: var(--ru-stamp); }
.ru-folder { position: relative; padding: 34px 18px 18px; background: var(--ru-card); background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px 7px); border: 1px solid var(--ru-card-d); border-radius: 4px 10px 10px 10px; box-shadow: var(--ru-shadow-2); }
.ru-folder::before { content: ""; position: absolute; left: -1px; top: -16px; width: 42%; height: 18px; background: var(--ru-card); border: 1px solid var(--ru-card-d); border-bottom: 0; border-radius: 8px 14px 0 0; }
.ru-folder__spine { position: absolute; left: 50%; top: 12px; width: 62%; max-width: 360px; height: 10px; transform: translateX(-50%); border-radius: 5px; background: var(--ru-metal); box-shadow: inset 0 0 0 1px rgba(18, 49, 61, .25), 0 2px 3px rgba(18, 49, 61, .2); }
.ru-folder__spine i { position: absolute; top: -4px; width: 10px; height: 18px; border-radius: 4px; background: var(--ru-metal); box-shadow: inset 0 0 0 1px rgba(18, 49, 61, .3); }
.ru-folder__spine i:first-child { left: 14%; } .ru-folder__spine i:last-child { right: 14%; }
.ru-folder__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: fit-content; max-width: 100%; margin: 0 auto 14px; padding: 8px 18px; background: #fff; border: 1px solid var(--ru-card-dd); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--ru-rule); }
.ru-folder__label span { font: 700 12px var(--ru-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ru-ink-3); }
.ru-folder__label b { font: italic 600 22px/1.2 var(--ru-serif); color: var(--ru-pen-d); }
.ru-folder__label em { font: 400 12.5px var(--ru-mono); font-style: normal; color: var(--ru-stamp); }
.ru-folder__sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ru-fsheet { background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: 2px; padding: 14px 16px 12px; box-shadow: 0 1px 0 rgba(18, 49, 61, .06); }
.ru-fsheet:nth-child(1) { transform: rotate(-.6deg); }
.ru-fsheet:nth-child(2) { transform: rotate(.5deg); }
.ru-fsheet__h { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 3px double var(--ru-rule); font: 600 18px var(--ru-serif); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ru-fsheet__h span { font: 400 12.5px var(--ru-mono); color: var(--ru-ink-3); }
.ru-checks { list-style: none; margin: 0; padding: 0; }
.ru-checks li { border-bottom: 1px solid var(--ru-rule-2); }
.ru-check { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 7px 2px; cursor: pointer; font-size: 14.5px; line-height: 1.4; }
.ru-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ru-check__box { width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--ru-ink-3); border-radius: 3px; background: #fff; position: relative; }
.ru-check__box::after { content: ""; position: absolute; left: 3px; top: -5px; width: 15px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 20'%3E%3Cpath d='M1.5 12.5c1.6 1.2 2.8 2.6 3.6 4.4C7 11 9.6 5.6 13.6 1.4' fill='none' stroke='%232f5a9e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); opacity: 0; transform: scale(.6); transition: opacity .18s, transform .18s; }
.ru-check input:checked + .ru-check__box::after { opacity: 1; transform: scale(1); }
.ru-check input:focus-visible + .ru-check__box { outline: 2px solid var(--ru-pen); outline-offset: 2px; }
.ru-check input:checked ~ .ru-check__t { color: var(--ru-ink-3); }
.ru-check__t small { display: block; font-size: 12.5px; color: var(--ru-ink-3); margin-top: 1px; }
.ru-check__x { border: 0; background: none; color: var(--ru-ink-3); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.ru-check__x:hover { background: var(--ru-stamp-l); color: var(--ru-stamp); }
.ru-own { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ru-own input { flex: 1 1 170px; min-width: 0; }
.ru-folder__note { margin: 14px 0 0; padding: 12px 14px; background: rgba(255, 255, 255, .7); border-radius: 4px; font-size: 13.5px; color: #3b2e15; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ru-stamp { display: inline-block; padding: 4px 10px; border: 3px double var(--ru-stamp); border-radius: 4px; color: var(--ru-stamp); font: 700 12.5px var(--ru-sans); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-3deg); white-space: nowrap; }
.ru-folder__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.ru-folder__forum { font-size: 14px; color: #3b2e15; }
.ru-noscript { padding: 8px 0; color: var(--ru-ink-3); font-size: 14px; }
.ru-folder.is-swap .ru-fsheet { animation: ru-sheet-in .45s ease both; }
.ru-folder.is-swap .ru-fsheet:nth-child(2) { animation-delay: .08s; }
@keyframes ru-sheet-in { from { opacity: 0; transform: translateY(10px) rotate(0); } }

/* ------------------------------------------------------------------ подвал */
.ru-foot { background: var(--ru-ink); color: #dbe7ea; margin-top: auto; }
.ru-foot__in { max-width: 1440px; margin: 0 auto; padding: 22px var(--ru-gut) 28px; display: flex; flex-direction: column; gap: 14px; }
.ru-foot__warn { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border: 1px solid rgba(219, 231, 234, .3); border-radius: 6px; font-size: 14.5px; line-height: 1.5; }
.ru-foot__warn svg { flex: none; margin-top: 1px; color: #f2b8b1; }
.ru-foot__warn b { color: #fff; margin-right: 4px; }
.ru-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; }
.ru-foot__brand { margin: 0; max-width: 60ch; font-size: 14px; }
.ru-foot__brand b { font: 700 17px var(--ru-serif); color: #fff; }
.ru-foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.ru-foot a { color: #b9e3e6; }
.ru-foot a:hover { color: #fff; }

/* ------------------------------------------------------------------ сообщения, ошибки */
.ru-msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); box-shadow: var(--ru-shadow); }
.ru-page--redirect .ru-msg { max-width: 640px; margin: 12vh auto; }
.ru-msg__talon { width: 110px; padding: 14px 10px; text-align: center; background: var(--ru-talon); color: #4a3a12; transform: rotate(-3deg); }
.ru-msg__talon span { display: block; font: 700 12px var(--ru-sans); letter-spacing: .2em; text-transform: uppercase; }
.ru-msg__talon b { display: block; font: 700 34px var(--ru-mono); color: var(--ru-stamp); }
.ru-msg__talon i { font-style: normal; font-size: 12.5px; }
.ru-msg__talon--ok b { color: var(--ru-teal); }
.ru-msg__body { margin-top: 10px; color: var(--ru-ink-2); }
.ru-msg__foot { margin: 16px 0 0; }

/* ------------------------------------------------------------------ стандартные классы MyBB */
.ru-main > table, .ru-main > form, .ru-main > .tborder, .ru-main > div:not([class]) { max-width: 100%; }
.tborder { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: var(--ru-r); box-shadow: var(--ru-shadow); overflow: hidden; margin: 0; }
.tborder td, .tborder th { padding: 10px 14px; border-bottom: 1px solid var(--ru-rule-2); vertical-align: top; font-size: 14.5px; text-align: left; }
.thead { background: var(--ru-teal-d); color: #fff; }
.thead, .thead a, .thead strong { color: #fff; font-weight: 700; }
.thead strong { font: 600 17px var(--ru-serif); }
.tcat { background: #e8f2f3; color: var(--ru-teal-d); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tcat a { color: var(--ru-teal-d); }
.trow1 { background: var(--ru-paper); }
.trow2 { background: var(--ru-paper-2); }
.trow_shaded, .trow_deleted { background: var(--ru-stamp-l); }
.trow_selected td { background: var(--ru-pen-l); }
.tfoot { background: var(--ru-paper-2); }
.tfoot, .tfoot a { color: var(--ru-ink-2); }
.smalltext { font-size: 13px; color: var(--ru-ink-3); }
.largetext { font: 600 20px var(--ru-serif); }
.float_left { float: left; } .float_right { float: right; }
.clear { clear: both; }
.hidden { display: none; }
.expcolimage { float: right; }
.expcolimage img { cursor: pointer; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; margin: 0; }
.pagination .pages { color: var(--ru-ink-3); margin-right: 6px; }
.pagination a, .pagination .pagination_current { min-width: 32px; height: 32px; padding: 0 9px; display: inline-grid; place-items: center; border: 1px solid var(--ru-rule); border-radius: 4px; background: var(--ru-paper); color: var(--ru-ink-2); font-family: var(--ru-mono); text-decoration: none; }
.pagination .pagination_current { background: var(--ru-teal); border-color: var(--ru-teal); color: #fff; font-weight: 700; }
.pagination a:hover { border-color: var(--ru-teal); color: var(--ru-teal-d); }
.pagination_breadcrumb_link { display: none; }
.error, .red_alert, .pm_alert { margin: 0; padding: 12px 16px; background: var(--ru-stamp-l); border: 1px solid rgba(160, 58, 51, .35); border-radius: var(--ru-r); color: var(--ru-stamp-d); font-size: 14.5px; }
.pm_alert { background: var(--ru-pen-l); border-color: rgba(47, 90, 158, .35); color: var(--ru-pen-d); }
.error ul { margin: 6px 0 0; padding-left: 20px; }
.success_message { color: #24603a; font-weight: 700; }
.error_message { color: var(--ru-stamp); font-weight: 700; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], select, textarea { font: 400 15px var(--ru-sans); color: var(--ru-ink); background: #fff; border: 1px solid var(--ru-rule); border-radius: 4px; padding: 7px 10px; max-width: 100%; }
input.textbox:focus, select:focus, textarea:focus { outline: 2px solid var(--ru-teal); outline-offset: 0; border-color: var(--ru-teal); }
textarea { line-height: 1.5; }
.button, input.button, button.button, a.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ru-teal); background: var(--ru-teal); color: #fff !important; font: 700 14.5px var(--ru-sans); text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.button:hover, input.button:hover { background: var(--ru-teal-d); border-color: var(--ru-teal-d); }
.button--ghost, input.button--ghost { background: transparent; color: var(--ru-teal-d) !important; }
.button--ghost:hover { background: var(--ru-teal-l); }
a.button.new_reply_button, a.button.new_thread_button { background: var(--ru-pen); border-color: var(--ru-pen); }
a.button.new_reply_button:hover { background: var(--ru-pen-d); }
.closed_button { background: var(--ru-paper-2) !important; border-color: var(--ru-rule) !important; color: var(--ru-ink-3) !important; cursor: default; }
.modal { display: none; width: min(600px, calc(100vw - 24px)); text-align: left; background: var(--ru-paper); color: var(--ru-ink); border: 1px solid var(--ru-rule); border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(18, 49, 61, .45); padding: 18px; }
.modal a.close-modal { position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; background: var(--ru-ink); border-radius: 50%; display: grid; place-items: center; text-indent: -9999px; overflow: hidden; }
.modal a.close-modal::after { content: "×"; text-indent: 0; color: #fff; position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; }
.blocker { position: fixed; inset: 0; z-index: 1000; padding: 20px; box-sizing: border-box; background: rgba(18, 49, 61, .55); text-align: center; overflow: auto; }
.blocker::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; margin-right: -.05em; }
.blocker .modal { display: inline-block; vertical-align: middle; position: relative; z-index: 2; }
.popup_menu { background: var(--ru-paper); border: 1px solid var(--ru-rule); border-radius: 6px; box-shadow: 0 16px 30px -18px rgba(18, 49, 61, .5); padding: 4px 0; z-index: 50; }
.popup_menu .popup_item_container a { display: block; padding: 7px 14px; font-size: 14px; color: var(--ru-ink-2); text-decoration: none; }
.popup_menu .popup_item_container a:hover { background: var(--ru-teal-xl); }
.usercp_nav { width: 230px; }
.usercp_nav .tcat a, .usercp_nav .trow1 a { text-decoration: none; }
.usercp_container { display: flex; gap: 18px; align-items: flex-start; }
#quick_reply_form .tborder, #quickreply_e { width: 100%; }
.editor_control_bar, .sceditor-container { max-width: 100%; }
.sceditor-container { border-radius: 4px; }
.post_body img { max-width: 100%; }
.jGrowl { z-index: 1100; }
.jGrowl-notification { background: var(--ru-ink); color: #fff; border-radius: 6px; padding: 10px 14px; }
fieldset { border: 1px solid var(--ru-rule); border-radius: 6px; padding: 10px 14px; }
legend { font-weight: 700; padding: 0 6px; }
hr { border: 0; border-top: 1px solid var(--ru-rule); }

/* ------------------------------------------------------------------ адаптив */
@media (max-width: 1500px) {
	.ru-lg__n { display: none; }
}
@media (max-width: 1280px) {
	.ru-shell { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
	.ru-lg__n, .ru-lg__a { display: none; }
	.ru-lg__au { display: block; }
	.ru-lg__forum { width: 150px; }
}
@media (max-width: 1100px) {
	.ru-papka { grid-template-columns: minmax(0, 1fr); }
	.ru-lg__date { display: none; }
}
@media (max-width: 980px) {
	.ru-shell { grid-template-columns: minmax(0, 1fr); }
	.ru-top__cal { display: inline-flex; }
	.ru-side { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(370px, 92vw); max-height: none; border-radius: 0; background: var(--ru-wall); box-shadow: -20px 0 40px -20px rgba(18, 49, 61, .5); transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; padding: 0 14px 18px; }
	.ru-side.is-open { transform: none; visibility: visible; transition: transform .28s ease; }
	.ru-side__bar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 3; margin: 0 -14px 4px; padding: 10px 14px; background: var(--ru-paper); border-bottom: 1px solid var(--ru-rule); }
	.ru-side__bar p { margin: 0; font: 600 19px var(--ru-serif); }
	.ru-side__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ru-rule); background: var(--ru-paper-2); font-size: 24px; line-height: 1; cursor: pointer; }
	.ru-cal { margin-top: 10px; }
	.ru-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(18, 49, 61, .45); }
	html.ru-lock, html.ru-lock body { overflow: hidden; }
}
@media (max-width: 860px) {
	.ru-ihead { grid-template-columns: minmax(0, 1fr); }
	.ru-ihead__art { justify-content: center; }
	.ru-folder__sheets { grid-template-columns: minmax(0, 1fr); }
	.ru-card { grid-template-columns: auto minmax(0, 1fr); }
	.ru-card__badge { grid-column: 1 / -1; width: auto; display: flex; align-items: center; gap: 10px; text-align: left; }
	.ru-card__badge .ru-cup { margin: 0; width: 44px; height: 44px; }
	.ru-card__badge br { display: none; }
	.ru-card__dl { grid-template-columns: minmax(0, 1fr); }
	.ru-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ru-sheet__facts { grid-column: 1 / -1; max-width: none; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
	.ru-sheet__who { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 760px) {
	:root { --ru-gut: 16px; }
	body { font-size: 15.5px; }
	.ru-top__in { gap: 10px 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
	.ru-crumbs { flex-wrap: wrap; }
	.ru-logo__txt b { font-size: 20px; }
	.ru-logo__txt i { font-size: 12px; }
	.ru-top__crumbs { order: 5; flex-basis: 100%; }
	.ru-crumbs { padding-left: 0; border-left: 0; min-height: 0; }
	.ru-crumbs .active { max-width: 100%; white-space: normal; }
	.ru-top__papka { display: none; }
	.ru-top__cal { margin-left: auto; height: 40px; padding: 0 12px; }
	.ru-shell { padding-top: 14px; padding-bottom: 28px; }
	.ru-main { gap: 16px; }
	.ru-ihead { padding: 18px 16px; gap: 14px; }
	.ru-ihead__art { justify-content: flex-start; }
	.ru-scheme { width: 168px; }
	.ru-scheme svg { width: 112px; height: 112px; }
	.ru-talon { width: 116px; margin-top: 30px; }
	.ru-talon__no { font-size: 28px; }
	.ru-ledger { padding-top: 14px; }
	.ru-ledger__head, .ru-filters { padding-left: 14px; padding-right: 14px; }
	.ru-chips--forums { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: thin; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
	.ru-chips--forums .ru-chip { flex: none; }
	/* ведомость → карточки-строки */
	.ru-lg, .ru-lg tbody { display: block; }
	.ru-lg thead { display: block; }
	.ru-lg thead tr { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--ru-rule); }
	.ru-lg th { position: static; display: none; border: 0; background: none; width: auto; min-width: 0; }
	.ru-lg th:has(.ru-sort) { display: block; }
	.ru-lg th.ru-lg__date:has(.ru-sort) { display: block; }
	.ru-sort { height: 32px; padding: 0 10px; border: 1px solid var(--ru-rule); border-radius: 16px; background: var(--ru-paper-2); font-size: 12px; }
	[aria-sort] .ru-sort { border-color: var(--ru-teal); background: var(--ru-teal-l); }
	.ru-lg__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "forum stage" "subj subj" "r last"; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--ru-rule-2); }
	.ru-lg__row td { display: block; padding: 0; border: 0 !important; width: auto; min-width: 0; text-align: left; }
	.ru-lg td.ru-lg__n, .ru-lg td.ru-lg__date, .ru-lg td.ru-lg__a { display: none; }
	td.ru-lg__forum { grid-area: forum; }
	td.ru-lg__stage { grid-area: stage; justify-self: end; }
	td.ru-lg__t { grid-area: subj; }
	td.ru-lg__r { grid-area: r; align-self: center; font-size: 13px; color: var(--ru-ink-3); }
	td.ru-lg__r b { font-size: 13.5px; }
	.ru-lg__rw { display: inline; }
	td.ru-lg__last { grid-area: last; text-align: right; display: flex; gap: 6px; align-items: baseline; justify-content: flex-end; }
	td.ru-lg__last a { display: inline; }
	.ru-lg__by { max-width: 120px; }
	td.ru-lg__mod { position: absolute; right: 10px; }
	.ru-lg__subj { font-size: 17px; }
	.ru-lg__sep, .ru-lg__empty { display: block; }
	.ru-lg__sep td, .ru-lg__empty td { display: block; }
	.ru-fhead { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
	.ru-fhead__plate { width: 74px; padding: 10px 4px 8px; }
	.ru-fhead__plate svg { width: 26px; height: 26px; }
	.ru-fhead__act { grid-column: 1 / -1; }
	.ru-case { padding-left: 12px; }
	.ru-case::before { width: 12px; }
	.ru-chead { margin-left: -12px; padding: 14px; grid-template-columns: minmax(0, 1fr); }
	.ru-chead__label { padding: 14px; }
	.ru-chead__people { align-items: flex-start; }
	.ru-stack { justify-content: flex-start; padding-left: 6px; }
	.ru-chead__no { margin-left: 0; }
	.ru-sheet { padding: 14px 14px 12px 34px; }
	.ru-sheet::before, .ru-sheet::after { left: 9px; width: 12px; height: 12px; }
	.ru-sheet__who { gap: 8px 12px; }
	.ru-f { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
	.ru-sheet--first .ru-sheet__who { padding-right: 0; }
	.ru-sheet--first .ru-sheet__head::after { display: none; }
	.ru-sheet__body { font-size: 16.5px; }
	.ru-sheet--first .ru-sheet__body { font-size: 17.5px; }
	.ru-sheet__sig { min-width: 120px; font-size: 19px; }
	.ru-papka { padding: 16px; gap: 18px; }
	.ru-folder { padding: 30px 10px 12px; }
	.ru-folder__label b { font-size: 19px; }
	.ru-card { grid-template-columns: minmax(0, 1fr); padding: 22px 16px 18px; }
	.ru-card__photo { justify-self: start; }
	.ru-card__photo .ru-face--xl { width: 112px; height: 112px; }
	.ru-card__dl div { grid-template-columns: 120px minmax(0, 1fr); }
	.ru-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ru-msg { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.tborder { display: block; overflow-x: auto; }
	.tborder td, .tborder th { padding: 8px 10px; }
	.usercp_nav { width: auto; }
	.usercp_container { flex-direction: column; }
	.float_left, .float_right { float: none; }
	.ru-foot__in { padding-top: 18px; }
}
@media (max-width: 420px) {
	.ru-logo__txt i { display: none; }
	.ru-top__cal span { display: none; }
	.ru-top__cal { width: 44px; padding: 0; justify-content: center; }
	.ru-scheme { display: none; }
	.ru-talon { margin: 0; transform: rotate(-2deg); width: auto; min-width: 150px; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 12px 16px; }
	.ru-talon__k { grid-column: 1 / -1; }
	.ru-talon__d { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.ru-top, .ru-side, .ru-foot, .ru-scrim, .ru-filters, .ru-bar, .ru-tools, .ru-nextprev, #quick_reply_form, .post_controls { display: none !important; }
	body { background: #fff; }
	.ru-shell { display: block; padding: 0; }
	html.ru-print-papka body * { visibility: hidden; }
	html.ru-print-papka #ru-folder, html.ru-print-papka #ru-folder * { visibility: visible; }
	html.ru-print-papka #ru-folder { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; background: #fff; border: 1px solid #999; }
	html.ru-print-papka .ru-folder__act, html.ru-print-papka .ru-own, html.ru-print-papka .ru-check__x, html.ru-print-papka .ru-folder__spine { display: none !important; }
	html.ru-print-papka .ru-fsheet { transform: none; }
	html.ru-print-papka .ru-folder__sheets { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------ ссылки в сообщениях: свой стиль форума */
/* «Тест-полоска»: под ссылкой тонкая полоска с рядом квадратиков-реагентов пяти приглушённых цветов, без значка. */
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url {
	color: #155a6b;
	font-weight: 600;
	text-decoration: none;
	padding-bottom: 5px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='5'%3E%3Crect y='4' width='30' height='1' fill='%23bcd2d6'/%3E%3Crect x='1' y='.5' width='4' height='3.5' rx='.6' fill='%23e2c560'/%3E%3Crect x='7' y='.5' width='4' height='3.5' rx='.6' fill='%239ccb8c'/%3E%3Crect x='13' y='.5' width='4' height='3.5' rx='.6' fill='%2370b3b8'/%3E%3Crect x='19' y='.5' width='4' height='3.5' rx='.6' fill='%23d99bb0'/%3E%3Crect x='25' y='.5' width='4' height='3.5' rx='.6' fill='%23a99ccd'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: 30px 5px;
	background-position: 0 100%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: color .15s;
}
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url:hover,
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url:focus-visible {
	color: #0b3f4b;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='6'%3E%3Crect y='5' width='30' height='1' fill='%237fa7ae'/%3E%3Crect x='1' y='0' width='4' height='5' rx='.6' fill='%23d4a51c'/%3E%3Crect x='7' y='0' width='4' height='5' rx='.6' fill='%235eaa48'/%3E%3Crect x='13' y='0' width='4' height='5' rx='.6' fill='%232c8e96'/%3E%3Crect x='19' y='0' width='4' height='5' rx='.6' fill='%23c45a80'/%3E%3Crect x='25' y='0' width='4' height='5' rx='.6' fill='%237865b6'/%3E%3C/svg%3E");
	background-size: 30px 6px;
}
