:root{
  --ru-top:#293149;
  --ru-nav:#404a6b;
  --ru-nav-hover:#4a567b;
  --ru-sub:#222a40;
  --ru-page:#eef0f2;
  --ru-surface:#fff;
  --ru-surface-2:#f7f8fa;
  --ru-border:#d8dce5;
  --ru-border-strong:#c9cfdb;
  --ru-text:#202532;
  --ru-muted:#737a8a;
  --ru-link:#355e9d;
  --ru-link-hover:#264b80;
  --ru-accent:#6174a8;
  --ru-accent-soft:#edf1fb;
  --ru-shadow:0 1px 2px rgba(26,34,52,.06),0 8px 24px rgba(26,34,52,.04);
  --ru-content:1480px;
}
*{box-sizing:border-box}
html{background:var(--ru-page)}
body{margin:0;color:var(--ru-text);background:var(--ru-page);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a{color:var(--ru-link);text-decoration:none}
a:hover{color:var(--ru-link-hover);text-decoration:none}
.docs-global{position:relative;z-index:1000;color:#fff;background:var(--ru-top);box-shadow:0 1px 0 rgba(255,255,255,.06) inset}
.docs-global__top{height:34px;border-bottom:1px solid rgba(255,255,255,.07)}
.docs-global__top-inner,.docs-global__nav-inner{width:min(calc(100% - 32px),var(--ru-content));height:100%;margin:0 auto;display:flex;align-items:center}
.docs-global__top-inner{justify-content:space-between;color:#dce1ef;font-size:12px}
.docs-global__suite{font-weight:600;letter-spacing:.015em}
.docs-global__forum{color:#f3f5fb;opacity:.9}
.docs-global__forum:hover{color:#fff}
.docs-global__nav{height:58px;background:var(--ru-nav)}
.docs-global__nav-inner{gap:24px}
.docs-global__brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;white-space:nowrap;letter-spacing:.01em}
.docs-global__brand:hover{color:#fff}
.docs-global__mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.25);border-radius:5px;background:rgba(0,0,0,.12);font:700 16px/1 Georgia,serif}
.docs-global__brand small{color:#cfd5e7;font-size:11px;font-weight:500;margin-left:2px}
.docs-global__links{display:flex;align-self:stretch;gap:2px;overflow:auto;scrollbar-width:none}
.docs-global__links::-webkit-scrollbar{display:none}
.docs-global__links a{display:flex;align-items:center;padding:0 15px;color:#eef1f8;font-size:14px;white-space:nowrap;border-bottom:3px solid transparent}
.docs-global__links a:hover{background:var(--ru-nav-hover);color:#fff}
.docs-global__links a.is-active{background:rgba(0,0,0,.12);border-bottom-color:#aab7db;color:#fff;font-weight:600}
.docs-global__grow{flex:1}
.docs-global__badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:4px;color:#eef1f8;font-size:12px;background:rgba(0,0,0,.08)}
.docs-global__badge:hover{color:#fff;background:rgba(0,0,0,.16)}
.docs-breadcrumbs{display:flex;align-items:center;gap:7px;color:var(--ru-muted);font-size:12px;margin:0 0 14px}
.docs-breadcrumbs a{color:var(--ru-muted)}
.docs-breadcrumbs a:hover{color:var(--ru-link)}
.docs-breadcrumbs__sep{opacity:.55}
.docs-card{background:var(--ru-surface);border:1px solid var(--ru-border);border-radius:5px;box-shadow:var(--ru-shadow)}
.docs-search{width:100%;height:38px;padding:0 12px;border:1px solid var(--ru-border-strong);border-radius:4px;background:#fff;color:var(--ru-text);outline:none;font:inherit}
.docs-search:focus{border-color:#7c8fbc;box-shadow:0 0 0 3px rgba(97,116,168,.12)}
.docs-pill{display:inline-flex;align-items:center;padding:2px 7px;border-radius:3px;background:var(--ru-accent-soft);color:#4d6198;font-size:11px;font-weight:700}
.docs-footer{width:min(calc(100% - 32px),var(--ru-content));margin:24px auto 0;padding:18px 0 32px;color:var(--ru-muted);font-size:12px;border-top:1px solid var(--ru-border)}
@media(max-width:760px){
  .docs-global__top{display:none}
  .docs-global__nav{height:auto;min-height:56px}
  .docs-global__nav-inner{width:100%;padding:0 12px;gap:10px;flex-wrap:wrap}
  .docs-global__brand{height:54px}
  .docs-global__brand small,.docs-global__badge{display:none}
  .docs-global__links{order:3;width:calc(100% + 24px);margin:0 -12px;height:42px;border-top:1px solid rgba(255,255,255,.08)}
  .docs-global__links a{padding:0 13px;font-size:13px}
  .docs-global__grow{display:none}
}

/* ---- Unified polish v5 -------------------------------------------------- */
:root{
  --ru-control-h:38px;
  --ru-radius:5px;
  --ru-space:14px;
}
.docs-global__nav{height:56px}
.docs-global__nav-inner{gap:18px}
.docs-global__brand{min-height:56px}
.docs-global__mark{width:29px;height:29px;border-radius:4px;background:rgba(0,0,0,.10);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px}
.docs-global__links a{padding:0 13px;font-size:13px}
.docs-global__badge{padding:6px 9px;border-radius:4px}

/* Shared breadcrumb rhythm across Legacy / NetPro / documentation home. */
.docs-breadcrumbs,.legacy-breadcrumbs,.netpro-breadcrumbs{
  min-height:18px;display:flex;align-items:center;gap:7px;margin:0 0 10px;
  color:var(--ru-muted);font-size:12px;line-height:18px
}
.docs-breadcrumbs a,.legacy-breadcrumbs a,.netpro-breadcrumbs a{color:var(--ru-muted)}
.docs-breadcrumbs a:hover,.legacy-breadcrumbs a:hover,.netpro-breadcrumbs a:hover{color:var(--ru-link)}

/* Consistent form controls when section-specific CSS does not need a special size. */
.docs-control,.docs-search{height:var(--ru-control-h);border-radius:4px}
button,a,input,select{transition:border-color .12s ease,background-color .12s ease,color .12s ease,box-shadow .12s ease,opacity .12s ease}
:focus-visible{outline:2px solid rgba(97,116,168,.55);outline-offset:2px}
.docs-global a:focus-visible{outline-color:rgba(255,255,255,.75)}

/* Documentation landing page. Deliberately forum-like: rows, not marketing cards. */
.docs-home{width:min(calc(100% - 32px),1320px);margin:20px auto 0}
.docs-home__crumbs{margin-bottom:10px}
.docs-home__intro{margin:0 0 14px;padding:0 2px}
.docs-home__eyebrow{margin-bottom:3px;color:#7c8495;font-size:10px;text-transform:uppercase;letter-spacing:.11em;font-weight:800}
.docs-home__intro h1{margin:0;color:#252b39;font-size:clamp(27px,3vw,35px);line-height:1.18;letter-spacing:-.025em}
.docs-home__intro p{max-width:820px;margin:7px 0 0;color:var(--ru-muted);font-size:14px;line-height:1.6}
.docs-home__summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}
.docs-home__summary span{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:0 8px;border:1px solid var(--ru-border);border-radius:4px;background:#fff;color:#737b8b;font-size:11px}
.docs-home__summary b{color:#46516b}

.docs-section{margin:0 0 14px;background:#fff;border:1px solid var(--ru-border);border-radius:var(--ru-radius);box-shadow:var(--ru-shadow);overflow:hidden}
.docs-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;padding:0 14px;border-bottom:1px solid var(--ru-border);background:#f7f8fa}
.docs-section__head h2{margin:0;color:#394254;font-size:13px;font-weight:750}
.docs-section__head span{color:#9299a7;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.docs-node-list{display:block}
.docs-node{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;min-height:94px;padding:14px;border-bottom:1px solid #e8eaf0;color:inherit}
.docs-node:last-child{border-bottom:0}
.docs-node:hover{background:#f8f9fb;color:inherit}
.docs-node__icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d7dce6;border-radius:5px;background:#eef1f7;color:#4b5d83;font-size:17px;font-weight:800}
.docs-node[data-node="legacy"] .docs-node__icon{background:#f4f0e9;color:#7f6744;border-color:#e4d9c9}
.docs-node[data-node="nasc"] .docs-node__icon{background:#edf4ef;color:#46705a;border-color:#d2e2d8}
.docs-node__body{min-width:0}
.docs-node__title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#34435f;font-size:15px;font-weight:750;line-height:1.3}
.docs-node__desc{max-width:800px;margin-top:3px;color:#747c8b;font-size:12.5px;line-height:1.5}
.docs-node__meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.docs-node__meta span{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:3px;background:#f1f3f7;color:#6e7687;font-size:10px}
.docs-node__side{min-width:140px;text-align:right}
.docs-node__side strong{display:block;color:#485572;font-size:12px}
.docs-node__side small{display:block;margin-top:2px;color:#9aa0ab;font-size:10px}
.docs-node__arrow{display:inline-block;margin-top:8px;color:#7182aa;font-size:18px;line-height:1}

.docs-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
.docs-quick{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:55px;padding:9px 10px;border:1px solid #e3e6ec;border-radius:4px;background:#fff;color:inherit}
.docs-quick:hover{background:#f6f8fb;border-color:#cbd3e2;color:inherit}
.docs-quick strong{display:block;color:#42506d;font-size:12px}
.docs-quick small{display:block;margin-top:2px;color:#9097a4;font-size:10.5px}
.docs-quick__tag{display:inline-grid;place-items:center;min-width:39px;height:25px;padding:0 6px;border-radius:3px;background:#edf1f8;color:#52658d;font:700 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace}

.docs-home__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:16px 2px 30px;border-top:1px solid var(--ru-border);color:var(--ru-muted);font-size:11px}
.docs-home__footer a{color:var(--ru-muted)}
.docs-home__footer a:hover{color:var(--ru-link)}

@media(max-width:820px){
  .docs-global__top{display:none}
  .docs-global__nav{height:auto;min-height:54px}
  .docs-global__nav-inner{width:100%;padding:0 12px;gap:9px;flex-wrap:wrap}
  .docs-global__brand{height:54px;min-height:54px}
  .docs-global__brand small,.docs-global__badge{display:none}
  .docs-global__links{order:3;width:calc(100% + 24px);margin:0 -12px;height:42px;border-top:1px solid rgba(255,255,255,.08)}
  .docs-global__links a{padding:0 12px;font-size:12.5px}
  .docs-global__grow{display:none}
  .docs-home{width:min(calc(100% - 20px),1320px);margin-top:14px}
  .docs-node{grid-template-columns:42px minmax(0,1fr);gap:11px;min-height:84px;padding:12px}
  .docs-node__icon{width:40px;height:40px}
  .docs-node__side{grid-column:2;min-width:0;text-align:left;display:flex;align-items:center;gap:6px;margin-top:-3px}
  .docs-node__side strong,.docs-node__side small{display:inline;margin:0}
  .docs-node__arrow{display:none}
}
@media(max-width:560px){
  .docs-global__brand>span:last-child{font-size:14px}
  .docs-global__links a{padding:0 10px}
  .docs-quick-grid{grid-template-columns:1fr}
  .docs-home__intro h1{font-size:27px}
  .docs-home__footer{align-items:flex-start;flex-direction:column;gap:6px}
}
