/* Shared Aurora identity. Specialist search and document controllers keep their own layout. */
html{--rmi-font:"Segoe UI",Arial,sans-serif;--rmi-ink:#304861;--rmi-muted:#506982;--rmi-line:#c5d6e9;--rmi-blue:#345e89;--rmi-wide:2000px;--rmi-gutter:clamp(32px,6vw,144px)}
body{font-family:var(--rmi-font)}
body:has(.rmi-site-header) :is(button,input,select,textarea){font-family:var(--rmi-font)}
.rmi-site-header,.rmi-site-header *,.rmi-site-footer,.rmi-site-footer *{box-sizing:border-box}
html body .rmi-site-header{display:block;width:calc(100% - var(--rmi-gutter));max-width:var(--rmi-wide);margin:16px auto 28px;padding:0;border:1px solid #bed1e8;border-radius:20px;background:#fcfdff;box-shadow:0 8px 24px #304c7110;color:var(--rmi-ink);font-family:var(--rmi-font)}
html body .rmi-header-inner{display:flex;align-items:center;gap:24px;padding:13px 22px;min-width:0}
html body .rmi-brand{display:block;flex:none;text-decoration:none;line-height:1}
html body .rmi-brand img{display:block;width:240px;height:60px;max-width:100%;margin:0;object-fit:contain;object-position:left;filter:none}
html body .rmi-site-header nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-left:auto;min-width:0;flex-wrap:wrap}
html body .rmi-site-header nav a{font:500 14px/1.4 var(--rmi-font);color:#365574;padding:11px 13px;min-height:42px;border:1px solid transparent;border-radius:9px;text-decoration:none;white-space:nowrap}
html body .rmi-site-header nav a[aria-current=page]{background:#edf3fc;border-color:#bbcee8;color:#325d89}
html body .rmi-header-contact{display:grid;gap:4px;flex:none}
html body .rmi-header-contact>span{font-size:11px;line-height:1.4;color:#506782;text-align:right}
html body .rmi-header-contact>a{display:flex;gap:20px;align-items:center;justify-content:center;padding:10px 16px;min-height:42px;background:#3b6089;border:1px solid #3b6089;border-radius:9px;color:white;text-decoration:none;font-size:14px;font-weight:600;box-shadow:0 3px 8px #294b7014}
.rmi-site-header a:focus-visible,#site-footer-unified a:focus-visible{outline:3px solid #5280aa;outline-offset:3px}
html body .page-shell>.rmi-site-header{width:100%;max-width:none;margin:0 0 28px}
html body.catalog-page main{width:calc(100% - var(--rmi-gutter));max-width:var(--rmi-wide)}
html body #site-footer-unified{display:block;width:calc(100% - var(--rmi-gutter));max-width:var(--rmi-wide);margin:30px auto 0;padding:28px 28px 18px;background:#f8fbff;border:1px solid #bfd1e7;border-bottom:0;border-radius:20px 20px 0 0;font:14px/1.6 var(--rmi-font);color:var(--rmi-ink);box-shadow:0 -6px 24px #35557706}
html body .page-shell>#site-footer-unified{width:100%;max-width:none}
html body #site-footer-unified .rmi-footer-top{display:grid;grid-template-columns:1.05fr 1fr 1.1fr 1fr;gap:24px 36px;margin:0;padding:0}
#site-footer-unified h2{font:600 16px/1.4 var(--rmi-font);margin:0 0 12px;color:#304b6c;letter-spacing:0}
#site-footer-unified nav{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
#site-footer-unified a{color:#3e6185;text-decoration:none;text-underline-offset:4px;font-size:14px;line-height:1.5}
#site-footer-unified nav>a{display:inline-flex;align-items:center;min-height:34px;padding:4px 0}
#site-footer-unified p{font-size:14px;line-height:1.6;color:#506982;margin:8px 0}
#site-footer-unified .rmi-footer-brand img{display:block;width:220px;max-width:100%;height:auto}
#site-footer-unified .rmi-footer-brand p{margin:12px 0 6px}
#site-footer-unified small{font-size:12px;color:#526b84}
#site-footer-unified .rmi-footer-email{display:flex;align-items:center;gap:18px;font-size:18px;font-weight:600;min-height:40px;overflow-wrap:anywhere}
#site-footer-unified .rmi-footer-telegram{display:inline-flex;align-items:center;gap:18px;border:1px solid #bad0e8;background:#f2f7fd;border-radius:8px;padding:8px 12px;min-height:40px;margin-top:8px}
html body #site-footer-unified .rmi-footer-developer{display:flex;align-items:center;justify-content:space-between;gap:18px 28px;border-top:1px solid #d8e3ef;border-bottom:1px solid #d8e3ef;margin:22px 0 14px;padding:16px 0}
#site-footer-unified .rmi-footer-developer>div{display:grid;gap:3px;min-width:205px}
#site-footer-unified .rmi-footer-developer span{font-size:12px;color:#526c86}
#site-footer-unified .rmi-footer-developer strong{font-size:14px;font-weight:600}
#site-footer-unified .rmi-footer-developer p{margin:0;flex:1}
#site-footer-unified .rmi-footer-developer>a{min-height:38px;display:flex;align-items:center;gap:10px;white-space:nowrap}
#site-footer-unified .rmi-footer-disclaimer{font-size:12px;line-height:1.6;max-width:105ch;margin:0 0 12px}
html body #site-footer-unified.rmi-site-footer>.rmi-footer-legal{width:100%!important;max-width:none!important;margin:0!important;padding:12px 0 0!important;border-top:1px solid #d8e3ef;display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;font-size:12px;line-height:1.6}
#site-footer-unified .rmi-footer-legal a{font-size:12px;min-height:30px;display:inline-flex;align-items:center;text-decoration:underline;text-decoration-color:#b3c7dc}
/* Sources: keep the selected dark register card, give it useful horizontal proportions. */
.home-panel.home-sources{padding:32px;border-color:#cad9eb;background:#f7faff}
.home-sources .home-panel-heading{margin-bottom:24px}
.home-sources .home-panel-heading>.home-kicker{display:none}
.home-sources .home-panel-heading h2{font-size:34px;line-height:1.2;letter-spacing:-.025em;margin:0 0 14px}
.home-sources .home-panel-heading>p{font-size:15px;line-height:1.7;max-width:78ch;color:#4e6782}
.home-sources .home-sources-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-sources .home-card{padding:22px;min-height:185px;border-radius:15px;border-color:#c5d8ec;background:#fff;box-shadow:0 3px 9px #304c7105;position:relative;min-width:0}
.home-sources .home-card h3{font-size:18px;line-height:1.4;margin:0 44px 12px 0;color:#344f70;max-width:none}
.home-sources .home-card>.home-icon{position:absolute;right:20px;top:20px;width:32px;height:32px;border-radius:9px;background:#eef4fc;color:#547dab;margin:0}
.home-sources .home-card>.home-icon svg{width:20px;height:20px}
.home-sources .home-card p{font-size:14px;line-height:1.65;color:#4e6782;max-width:none;margin:0 0 18px}
.home-sources .home-card:not(.home-card--primary) p{padding-right:34px}
.home-sources .home-card-link{font-size:13px;line-height:1.5;padding-top:0;min-height:28px;color:#3d628b}
.home-sources .home-card--primary{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:48px minmax(0,1fr) auto;column-gap:18px;row-gap:5px;align-items:center;min-height:132px;background:#405c7c;border-color:#405c7c;color:white;padding:24px}
.home-sources .home-card--primary>.home-icon{position:static;grid-column:1;grid-row:1/3;width:48px;height:48px;background:#edf4fc}
.home-sources .home-card--primary h3{grid-column:2;grid-row:1;margin:0;color:#fff;font-size:21px}
.home-sources .home-card--primary p{grid-column:2;grid-row:2;margin:0;color:#eef4fb;max-width:64ch}
.home-sources .home-card--primary .home-card-link{grid-column:3;grid-row:1/3;gap:20px;border:0;color:#fff;max-width:180px;width:auto;margin:0;padding:0 0 0 18px}
.home-sources .home-archive{padding:22px;gap:16px;margin-top:20px;border-color:#bcd9d2;background:#edf7f4}
.home-sources .home-archive .home-kicker{display:none}
.home-sources .home-archive h3{font-size:19px;line-height:1.4;margin:0 0 9px}
.home-sources .home-archive p{font-size:14px;line-height:1.65;color:#3f635a}
.home-sources .home-archive small{font-size:12px;line-height:1.6;color:#4a6c63}
.home-sources .home-archive>a{font-size:13px;line-height:1.5;min-height:40px}
.home-sources .home-panel-footer{margin-top:22px;padding-top:18px;font-size:12px;line-height:1.6}
.home-sources .home-panel-footer a{font-size:13px;min-height:36px}
.laboratories-selected{font-family:var(--rmi-font)}
.laboratories-selected .intro{margin-top:28px;margin-bottom:24px}
.laboratories-selected .intro h1{font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-.025em}
.laboratories-selected .intro p{font-size:16px;line-height:1.6;color:#4e6782;max-width:68ch}
.laboratories-selected .search-mode-tabs strong{font-size:15px}
.laboratories-selected .search-mode-tabs small{font-size:13px}
.laboratories-selected .search-line input{font-size:16px}
.laboratories-selected .checked-note{font-size:13px}
.laboratories-selected #lab-dialog .dialog-top #close-dialog{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;align-self:center;line-height:1}
.laboratories-selected #close-dialog svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;pointer-events:none}
.laboratories-selected #close-dialog:focus-visible{outline:3px solid #5280aa;outline-offset:3px}
/* The results search uses one rounded surface; a smaller white wrapper exposed its corners. */
.home-page .rs-ru.is-results-mode .selected-workbench.has-results:not(.is-parameters-open){border:0;border-radius:19px;background:transparent;box-shadow:none;overflow:hidden}
@media(max-width:600px){html{--rmi-gutter:24px}}
@media(hover:hover){.rmi-site-header nav a:hover{background:#eef4fc}#site-footer-unified nav>a:hover,#site-footer-unified .rmi-footer-legal a:hover{text-decoration:underline;color:#284f79}.home-sources .home-card:hover{border-color:#8faccc;box-shadow:0 7px 18px #304c710e}.home-sources .home-card--primary:hover{background:#3a5573}}
@media(max-width:1120px){html body .rmi-header-inner{gap:14px;padding:13px 18px}html body .rmi-brand img{width:210px;height:53px}html body .rmi-site-header nav a{padding:10px 9px;font-size:13px}html body .rmi-header-contact>span{display:none}html body #site-footer-unified .rmi-footer-top{grid-template-columns:1fr 1fr;gap:28px 40px}#site-footer-unified .rmi-footer-contact{grid-column:2;grid-row:1}html body #site-footer-unified .rmi-footer-developer{flex-wrap:wrap}}
@media(max-width:780px){html body .rmi-header-inner{flex-wrap:wrap;gap:14px}html body .rmi-site-header nav{order:3;width:100%;justify-content:flex-start;margin:0;gap:4px}html body .rmi-header-contact{margin-left:auto}html body #site-footer-unified{padding:24px 22px 16px}.home-sources .home-card--primary{grid-template-columns:44px minmax(0,1fr)}.home-sources .home-card--primary .home-card-link{grid-column:2;grid-row:3;max-width:none;width:100%;padding:10px 0 0}.home-sources .home-archive{grid-template-columns:40px minmax(0,1fr)}.home-sources .home-archive>a{grid-column:2}.home-sources .home-panel-heading h2{font-size:30px}}
@media(max-width:540px){html body .rmi-site-header,html body #site-footer-unified{width:calc(100% - 24px)}html body .rmi-site-header{margin-top:12px;margin-bottom:22px;border-radius:16px}html body .rmi-header-inner{padding:12px;gap:12px}html body .rmi-brand img{width:180px;height:45px}html body .rmi-header-contact>a{padding:9px 10px;font-size:12px;gap:8px}html body .rmi-site-header nav a{font-size:12px;min-height:40px;padding:9px 7px}html body #site-footer-unified{padding:22px 18px 14px;margin-top:24px}html body #site-footer-unified .rmi-footer-top{gap:24px 16px}#site-footer-unified .rmi-footer-brand{grid-column:1/-1}#site-footer-unified .rmi-footer-contact{grid-column:1/-1;grid-row:auto}#site-footer-unified h2{font-size:15px}#site-footer-unified nav>a{font-size:13px;min-height:42px}#site-footer-unified .rmi-footer-brand img{width:200px}html body #site-footer-unified .rmi-footer-developer{display:grid;gap:10px}.home-panel.home-sources{padding:22px 18px}.home-sources .home-panel-heading h2{font-size:28px}.home-sources .home-sources-grid{grid-template-columns:minmax(0,1fr);gap:12px}.home-sources .home-card{min-height:170px;padding:20px}.home-sources .home-card h3{font-size:17px}.home-sources .home-card--primary{padding:20px;column-gap:13px}.home-sources .home-card--primary h3{font-size:20px}.home-sources .home-archive{padding:18px;gap:12px}.home-sources .home-archive h3{font-size:18px}.home-sources .home-panel-footer{align-items:flex-start;gap:10px;flex-direction:column}.laboratories-selected .intro h1{font-size:30px}.laboratories-selected .intro p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.rmi-site-header *,#site-footer-unified *,.home-sources *{transition:none!important}}
