:root{
  --rc-canvas:#f6f7f4;
  --rc-surface:#ffffff;
  --rc-surface-soft:#eef5f3;
  --rc-surface-blue:#eef4ff;
  --rc-ink:#10212b;
  --rc-muted:#607078;
  --rc-muted-strong:#465a63;
  --rc-line:#d8e0df;
  --rc-line-strong:#c5d0cf;
  --rc-primary:#2e70e8;
  --rc-primary-dark:#1f59bf;
  --rc-teal:#15afa8;
  --rc-teal-dark:#0a817c;
  --rc-navy:#0d2b34;
  --rc-success:#087f63;
  --rc-warning:#a6600c;
  --rc-danger:#b63b45;
  --rc-shadow:0 22px 62px rgba(16,33,43,.08);
  --rc-shadow-soft:0 10px 30px rgba(16,33,43,.055);
  --rc-radius-lg:28px;
  --rc-radius-md:20px;
  --rc-radius-sm:14px;
  --rc-header-height:76px;
}

:root.theme-dark{
  --rc-canvas:#091a20;
  --rc-surface:#10262e;
  --rc-surface-soft:#143039;
  --rc-surface-blue:#142c43;
  --rc-ink:#edf6f5;
  --rc-muted:#a9b9bd;
  --rc-muted-strong:#c5d1d3;
  --rc-line:#29434a;
  --rc-line-strong:#3a555c;
  --rc-primary:#6e9cff;
  --rc-primary-dark:#8db1ff;
  --rc-teal:#4dd7cf;
  --rc-teal-dark:#6fe4dd;
  --rc-navy:#07171c;
  --rc-success:#64dfbd;
  --rc-warning:#f4bd62;
  --rc-danger:#ff9ca4;
  --rc-shadow:0 24px 70px rgba(0,0,0,.27);
  --rc-shadow-soft:0 12px 34px rgba(0,0,0,.2);
}

html{
  scroll-padding-top:calc(var(--rc-header-height) + 24px);
}

body[data-docs-page]{
  margin:0;
  min-width:320px;
  color:var(--rc-ink);
  background:
    radial-gradient(circle at 88% 7%, rgba(21,175,168,.095), transparent 27rem),
    radial-gradient(circle at 8% 20%, rgba(46,112,232,.055), transparent 24rem),
    var(--rc-canvas);
  font-family:"Plus Jakarta Sans",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.65;
  overflow-x:hidden;
}

body[data-docs-page]::before,
body[data-docs-page]::after{
  display:none !important;
}

body[data-docs-page] *,
body[data-docs-page] *::before,
body[data-docs-page] *::after{
  box-sizing:border-box;
}

body[data-docs-page] [hidden]{
  display:none !important;
}

body[data-docs-page] a{
  color:inherit;
}

body[data-docs-page] button,
body[data-docs-page] input,
body[data-docs-page] select,
body[data-docs-page] textarea{
  font:inherit;
}

body[data-docs-page] button,
body[data-docs-page] a{
  -webkit-tap-highlight-color:transparent;
}

.resource-skip-link{
  position:fixed;
  z-index:9999;
  top:10px;
  left:16px;
  padding:11px 16px;
  border-radius:12px;
  color:#fff !important;
  background:var(--rc-primary);
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
  transform:translateY(-150%);
  transition:transform .18s ease;
}

.resource-skip-link:focus{
  transform:translateY(0);
}

.resource-header{
  position:sticky;
  z-index:100;
  top:0;
  min-height:var(--rc-header-height);
  border-bottom:1px solid color-mix(in srgb,var(--rc-line) 82%,transparent);
  background:color-mix(in srgb,var(--rc-canvas) 88%,transparent);
  backdrop-filter:blur(18px);
}

.resource-header-inner{
  width:min(1180px,calc(100% - 48px));
  min-height:var(--rc-header-height);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);
  align-items:center;
  gap:28px;
}

.resource-brand{
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--rc-ink) !important;
  font-size:.84rem;
  font-weight:800;
  text-decoration:none;
}

.resource-brand img{
  width:40px;
  height:40px;
  border-radius:10px;
  object-fit:contain;
  box-shadow:0 8px 20px rgba(16,33,43,.1);
}

.resource-brand span{
  white-space:nowrap;
}

.resource-nav{
  display:flex;
  align-items:center;
  gap:6px;
  padding:4px;
  border:1px solid var(--rc-line);
  border-radius:14px;
  background:color-mix(in srgb,var(--rc-surface) 86%,transparent);
}

.resource-nav a{
  min-height:44px;
  padding:8px 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  color:var(--rc-muted-strong) !important;
  font-size:.76rem;
  font-weight:700;
  text-decoration:none;
  transition:background .18s ease,color .18s ease;
}

.resource-nav a:hover,
.resource-nav a[aria-current="page"]{
  color:var(--rc-ink) !important;
  background:var(--rc-surface-soft);
}

.resource-nav-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:9px;
}

.resource-theme-toggle,
.resource-home-link,
.resource-login-link,
.resource-workspace-link{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--rc-line);
  border-radius:12px;
  color:var(--rc-ink) !important;
  background:var(--rc-surface);
  font-size:.76rem;
  font-weight:800;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.resource-theme-toggle{
  width:42px;
  padding:0;
  cursor:pointer;
}

.resource-theme-toggle svg{
  width:18px;
  height:18px;
}

:root.theme-light .resource-theme-moon,
:root.theme-dark .resource-theme-sun{
  display:none;
}

.resource-home-link,
.resource-login-link{
  padding:9px 14px;
}

.resource-workspace-link{
  padding:9px 15px;
  border-color:var(--rc-primary);
  color:#fff !important;
  background:var(--rc-primary);
}

.resource-theme-toggle:hover,
.resource-home-link:hover,
.resource-login-link:hover,
.resource-workspace-link:hover{
  transform:translateY(-1px);
  border-color:var(--rc-line-strong);
}

.resource-main{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:84px 0 112px;
}

.resource-main:focus{
  outline:none;
}

.resource-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
  align-items:end;
  column-gap:clamp(46px,7vw,96px);
  row-gap:34px;
  padding:34px 0 62px;
  border-bottom:1px solid var(--rc-line);
}

.resource-hero-copy{
  max-width:680px;
}

.resource-eyebrow,
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  color:var(--rc-primary);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1.35;
  text-transform:uppercase;
}

.resource-hero h1,
.hero-copy h1{
  max-width:760px;
  margin:0;
  color:var(--rc-ink);
  font-size:clamp(3.1rem,6.25vw,5.75rem);
  font-weight:600;
  letter-spacing:-.065em;
  line-height:.98;
}

.resource-hero-copy > p,
.hero-copy > p{
  max-width:670px;
  margin:28px 0 0;
  color:var(--rc-muted);
  font-size:1.04rem;
  line-height:1.8;
}

.resource-search-block{
  padding:26px;
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius-md);
  background:var(--rc-surface);
  box-shadow:var(--rc-shadow-soft);
}

.resource-search-label{
  display:block;
  margin:0 0 10px;
  color:var(--rc-ink);
  font-size:.78rem;
  font-weight:800;
}

.resource-search-field,
.search-field{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 17px;
  border:1px solid var(--rc-line-strong);
  border-radius:14px;
  color:var(--rc-muted);
  background:var(--rc-canvas);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.resource-search-field:focus-within,
.search-field:focus-within{
  border-color:var(--rc-primary);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--rc-primary) 15%,transparent);
  background:var(--rc-surface);
}

.resource-search-field svg,
.search-field svg{
  flex:0 0 auto;
  width:21px;
  height:21px;
}

.resource-search-field input,
.search-field input{
  width:100%;
  min-width:0;
  min-height:56px;
  align-self:stretch;
  border:0;
  outline:0;
  color:var(--rc-ink);
  background:transparent;
  font-size:.91rem;
}

.resource-search-field input::placeholder,
.search-field input::placeholder{
  color:var(--rc-muted);
  opacity:.78;
}

.resource-filters{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  overflow-x:auto;
  padding:2px 0 4px;
  scrollbar-width:none;
}

.resource-filters::-webkit-scrollbar{
  display:none;
}

.resource-filter,
.filter-chip{
  flex:0 0 auto;
  min-height:44px;
  padding:9px 16px;
  border:1px solid var(--rc-line);
  border-radius:999px;
  color:var(--rc-muted-strong);
  background:var(--rc-surface);
  font-size:.75rem;
  font-weight:800;
  cursor:pointer;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}

.resource-filter:hover,
.filter-chip:hover{
  border-color:var(--rc-line-strong);
  color:var(--rc-ink);
}

.resource-filter.is-active,
.filter-chip.is-active{
  border-color:color-mix(in srgb,var(--rc-primary) 34%,var(--rc-line));
  color:var(--rc-primary-dark);
  background:var(--rc-surface-blue);
}

.resource-access-note{
  grid-column:1 / -1;
  margin:-10px 0 0;
  padding:15px 18px;
  border-left:3px solid var(--rc-teal);
  border-radius:0 12px 12px 0;
  color:var(--rc-muted-strong);
  background:var(--rc-surface-soft);
  font-size:.78rem;
  line-height:1.7;
}

.resource-access-note strong{
  color:var(--rc-ink);
}

.resource-library{
  padding:86px 0 0;
}

.resource-library-heading{
  margin:0 0 26px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
}

.resource-library-heading .resource-eyebrow{
  margin-bottom:10px;
}

.resource-library-heading h2,
.resource-help h2,
.section-title h2{
  margin:0;
  color:var(--rc-ink);
  font-size:clamp(2rem,4vw,3.35rem);
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1.08;
}

.resource-count{
  flex:0 0 auto;
  margin:0 0 4px;
  color:var(--rc-muted);
  font-size:.78rem;
  font-weight:700;
}

.resource-browser{
  min-height:720px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius-lg);
  background:var(--rc-surface);
  box-shadow:var(--rc-shadow);
  overflow:hidden;
}

.guide-index{
  border-right:0;
  background:color-mix(in srgb,var(--rc-surface-soft) 55%,var(--rc-surface));
}

.guide-list{
  padding:12px;
}

.guide-list-item{
  min-height:86px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 24px;
  align-items:center;
  gap:13px;
  padding:15px 14px;
  border:1px solid transparent;
  border-radius:15px;
  color:var(--rc-ink) !important;
  text-decoration:none;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.guide-list-item + .guide-list-item{
  margin-top:2px;
}

.guide-list-item:hover{
  border-color:var(--rc-line);
  background:var(--rc-surface);
  transform:translateX(2px);
}

.guide-list-item.is-active,
.guide-list-item[aria-current="location"]{
  border-color:color-mix(in srgb,var(--rc-primary) 26%,var(--rc-line));
  background:var(--rc-surface-blue);
}

.guide-list-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--rc-line);
  border-radius:50%;
  color:var(--rc-primary);
  background:var(--rc-surface);
  font-size:.75rem;
  font-weight:800;
}

.guide-list-copy{
  min-width:0;
}

.guide-list-copy strong,
.guide-list-copy span{
  display:block;
}

.guide-list-copy strong{
  color:var(--rc-ink);
  font-size:.89rem;
  font-weight:750;
  line-height:1.4;
}

.guide-list-copy span{
  margin-top:5px;
  color:var(--rc-muted);
  font-size:.75rem;
  line-height:1.5;
}

.guide-list-arrow{
  color:var(--rc-primary);
  font-size:1rem;
  transition:transform .18s ease;
}

.guide-list-item:hover .guide-list-arrow{
  transform:translateX(3px);
}

.guide-empty,
.empty-state{
  margin:18px;
  padding:28px;
  border:1px dashed var(--rc-line-strong);
  border-radius:16px;
  color:var(--rc-muted);
  text-align:center;
  background:var(--rc-surface);
}

.guide-empty strong,
.guide-empty span{
  display:block;
}

.guide-empty strong{
  color:var(--rc-ink);
}

.guide-empty span{
  margin-top:7px;
  font-size:.8rem;
}

.guide-reader{
  min-width:0;
  background:var(--rc-surface);
}

.guide-detail{
  min-height:100%;
  padding:clamp(32px,4vw,58px);
  scroll-margin-top:calc(var(--rc-header-height) + 24px);
}

.guide-detail:focus{
  outline:0;
}

.guide-back{
  min-height:44px;
  margin:0 0 34px;
  padding:8px 13px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--rc-line);
  border-radius:11px;
  color:var(--rc-muted-strong);
  background:var(--rc-surface);
  font-size:.75rem;
  font-weight:800;
  cursor:pointer;
}

.guide-detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}

.guide-detail-meta span,
.module-chip,
.tag,
.highlight-chip{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border:1px solid var(--rc-line);
  border-radius:999px;
  color:var(--rc-muted-strong);
  background:var(--rc-surface-soft);
  font-size:.75rem;
  font-weight:800;
  line-height:1.2;
}

.guide-detail-header h2{
  max-width:720px;
  margin:0;
  color:var(--rc-ink);
  font-size:clamp(2rem,4.6vw,3.6rem);
  font-weight:600;
  letter-spacing:-.05em;
  line-height:1.05;
}

.guide-detail-header > p{
  max-width:680px;
  margin:22px 0 0;
  color:var(--rc-muted);
  font-size:.96rem;
  line-height:1.8;
}

.guide-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:34px 0;
}

.guide-facts section{
  min-width:0;
  padding:16px;
  border:1px solid var(--rc-line);
  border-radius:14px;
  background:var(--rc-canvas);
}

.guide-facts h3,
.guide-steps h3,
.guide-result h3,
.guide-notice h3{
  margin:0 0 7px;
  color:var(--rc-ink);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.02em;
}

.guide-facts p,
.guide-result p,
.guide-notice p{
  margin:0;
  color:var(--rc-muted);
  font-size:.75rem;
  line-height:1.65;
  overflow-wrap:anywhere;
}

.guide-steps{
  margin:36px 0 0;
}

.guide-steps > h3{
  margin-bottom:16px;
  font-size:.86rem;
}

.guide-steps ol{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:guide-step;
}

.guide-steps li{
  position:relative;
  min-height:54px;
  padding:4px 0 25px 58px;
  color:var(--rc-muted);
  font-size:.84rem;
  line-height:1.75;
  counter-increment:guide-step;
}

.guide-steps li:not(:last-child)::after{
  content:"";
  position:absolute;
  top:39px;
  bottom:4px;
  left:21px;
  width:1px;
  background:var(--rc-line);
}

.guide-steps li::before{
  content:counter(guide-step,decimal-leading-zero);
  position:absolute;
  top:0;
  left:0;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--rc-primary) 35%,var(--rc-line));
  border-radius:50%;
  color:var(--rc-primary);
  background:var(--rc-surface-blue);
  font-size:.75rem;
  font-weight:800;
}

.guide-steps li strong{
  color:var(--rc-ink);
}

.guide-result,
.guide-notice{
  margin-top:22px;
  padding:19px 20px;
  border-radius:15px;
}

.guide-result{
  border:1px solid color-mix(in srgb,var(--rc-teal) 30%,var(--rc-line));
  background:var(--rc-surface-soft);
}

.guide-notice{
  border:1px solid color-mix(in srgb,var(--rc-warning) 28%,var(--rc-line));
  background:color-mix(in srgb,var(--rc-warning) 7%,var(--rc-surface));
}

.guide-related{
  margin-top:34px;
  padding-top:24px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  border-top:1px solid var(--rc-line);
}

.guide-related > span{
  width:100%;
  margin-bottom:2px;
  color:var(--rc-muted);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.guide-related a{
  min-height:40px;
  padding:8px 13px;
  display:inline-flex;
  align-items:center;
  border:1px solid var(--rc-line);
  border-radius:10px;
  color:var(--rc-primary-dark) !important;
  background:var(--rc-surface-blue);
  font-size:.75rem;
  font-weight:800;
  text-decoration:none;
}

.resource-help{
  margin-top:86px;
  padding:clamp(30px,5vw,54px);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:40px;
  border-radius:var(--rc-radius-lg);
  color:#efffff;
  background:var(--rc-navy);
  overflow:hidden;
}

.resource-help .resource-eyebrow{
  color:#66ded7;
}

.resource-help h2{
  max-width:680px;
  color:#efffff;
}

.resource-help p{
  max-width:680px;
  margin:18px 0 0;
  color:#b8ced2;
  font-size:.9rem;
  line-height:1.75;
}

.resource-help-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.resource-help-actions a{
  min-height:46px;
  padding:11px 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;
  color:#fff !important;
  background:rgba(255,255,255,.08);
  font-size:.76rem;
  font-weight:800;
  text-decoration:none;
}

.resource-help-actions a:first-child{
  border-color:#fff;
  color:var(--rc-navy) !important;
  background:#fff;
}

.resource-footer{
  border-top:1px solid var(--rc-line);
  background:var(--rc-surface);
}

.resource-footer-inner{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:42px 0;
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto auto;
  align-items:center;
  gap:28px 48px;
}

.resource-footer-brand{
  display:flex;
  align-items:center;
  gap:13px;
}

.resource-footer-brand img{
  width:38px;
  height:38px;
  border-radius:9px;
  object-fit:contain;
}

.resource-footer-brand p,
.resource-footer-copy{
  margin:0;
  color:var(--rc-muted);
  font-size:.75rem;
}

.resource-footer-links,
.resource-footer-legal{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
}

.resource-footer-links a,
.resource-footer-legal a{
  color:var(--rc-muted-strong) !important;
  font-size:.75rem;
  font-weight:700;
  text-decoration:none;
}

.resource-footer-copy{
  grid-column:1 / -1;
  padding-top:22px;
  border-top:1px solid var(--rc-line);
}

/* Changelog */
body[data-docs-page="changelog"] .docs-shell{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

body[data-docs-page="changelog"] .docs-layout,
body[data-docs-page="changelog"] .docs-main{
  width:min(1180px,calc(100% - 48px));
  max-width:none;
  margin:0 auto;
  padding:0;
}

body[data-docs-page="changelog"] .docs-layout{
  display:block;
}

body[data-docs-page="changelog"] .docs-sidebar{
  display:none;
}

body[data-docs-page="changelog"] .hero-grid,
.changelog-hero{
  width:100%;
  margin:0;
  padding:92px 0 68px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  align-items:start;
  gap:clamp(46px,7vw,90px);
  border-bottom:1px solid var(--rc-line);
  background:transparent;
}

body[data-docs-page="changelog"] .hero-copy,
body[data-docs-page="changelog"] .hero-aside{
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body[data-docs-page="changelog"] .hero-kicker{
  display:inline-block;
  margin:0 0 18px;
  color:var(--rc-primary);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

body[data-docs-page="changelog"] .hero-copy h1{
  max-width:700px;
  font-size:clamp(3.1rem,6vw,5.65rem);
}

body[data-docs-page="changelog"] .hero-copy > p{
  margin-top:26px;
}

body[data-docs-page="changelog"] .hero-stats{
  margin:36px 0 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

body[data-docs-page="changelog"] .hero-stat{
  min-height:126px;
  padding:18px;
  border:1px solid var(--rc-line);
  border-radius:15px;
  background:var(--rc-surface);
}

body[data-docs-page="changelog"] .hero-stat strong,
body[data-docs-page="changelog"] .hero-stat span{
  display:block;
}

body[data-docs-page="changelog"] .hero-stat strong{
  color:var(--rc-ink);
  font-size:.86rem;
}

body[data-docs-page="changelog"] .hero-stat span{
  margin-top:8px;
  color:var(--rc-muted);
  font-size:.75rem;
  line-height:1.6;
}

body[data-docs-page="changelog"] .hero-aside h2{
  margin:0;
  color:var(--rc-ink);
  font-size:clamp(2rem,3.8vw,3.15rem);
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1.08;
}

body[data-docs-page="changelog"] .hero-aside > p{
  margin:18px 0 24px;
  color:var(--rc-muted);
  font-size:.86rem;
  line-height:1.7;
}

.highlight-accordion{
  display:grid;
  gap:8px;
}

.highlight-item{
  border:1px solid var(--rc-line);
  border-radius:14px;
  background:var(--rc-surface);
  overflow:hidden;
}

.highlight-summary{
  min-height:72px;
  padding:14px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:12px;
  cursor:pointer;
  list-style:none;
}

.highlight-summary::-webkit-details-marker{
  display:none;
}

.highlight-index{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--rc-primary);
  background:var(--rc-surface-blue);
  font-size:.75rem;
  font-weight:800;
}

.highlight-summary-copy strong,
.highlight-summary-copy span{
  display:block;
}

.highlight-summary-copy strong{
  color:var(--rc-ink);
  font-size:.78rem;
  line-height:1.45;
}

.highlight-summary-copy span{
  margin-top:4px;
  color:var(--rc-muted);
  font-size:.75rem;
}

.highlight-body{
  padding:0 18px 17px 62px;
}

.highlight-body p{
  margin:0;
  color:var(--rc-muted);
  font-size:.75rem;
  line-height:1.65;
}

.highlight-meta{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  color:var(--rc-muted);
  font-size:.75rem;
}

.highlight-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.section-panel,
.changelog-timeline{
  width:100%;
  margin:0;
  padding:84px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.section-header{
  margin-bottom:26px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:26px;
}

.section-title p{
  max-width:680px;
  margin:18px 0 0;
  color:var(--rc-muted);
  font-size:.9rem;
  line-height:1.75;
}

.filter-toolbar{
  margin:0 0 30px;
  padding:18px;
  border:1px solid var(--rc-line);
  border-radius:18px;
  background:var(--rc-surface);
}

.filter-controls{
  display:grid;
  grid-template-columns:minmax(280px,1fr) auto;
  align-items:center;
  gap:16px;
}

.filter-controls .search-field{
  min-height:50px;
}

.filter-chips{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
}

.filter-chips::-webkit-scrollbar{
  display:none;
}

.filter-meta{
  margin-top:15px;
  padding-top:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-top:1px solid var(--rc-line);
}

.section-meta,
.filter-result-count{
  color:var(--rc-muted);
  font-size:.75rem;
  font-weight:700;
  white-space:normal;
  overflow-wrap:anywhere;
}

.filter-meta-tools{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
}

.module-filter-control,
.page-size-control{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:5px 8px 5px 11px;
  border:1px solid var(--rc-line);
  border-radius:11px;
  color:var(--rc-muted);
  background:var(--rc-canvas);
  font-size:.75rem;
  font-weight:700;
}

.module-filter-control select,
.page-size-control select{
  max-width:180px;
  border:0;
  outline:0;
  color:var(--rc-ink);
  background:transparent;
  font-size:.75rem;
  font-weight:800;
}

.timeline{
  border-top:1px solid var(--rc-line);
}

.release-item{
  display:grid;
  grid-template-columns:185px minmax(0,1fr);
  gap:42px;
  padding:34px 0;
  border-bottom:1px solid var(--rc-line);
  background:transparent;
}

.release-date{
  padding-top:3px;
}

.release-date time,
.release-date strong{
  display:block;
  color:var(--rc-ink);
  font-size:.78rem;
  font-weight:800;
}

.release-version{
  display:block;
  margin-top:7px;
  color:var(--rc-muted);
  font-size:.75rem;
}

.release-date-badges,
.release-badges{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.tag.new{
  color:var(--rc-primary-dark);
  background:var(--rc-surface-blue);
}

.tag.improved{
  color:var(--rc-teal-dark);
  background:var(--rc-surface-soft);
}

.tag.security{
  color:var(--rc-danger);
  background:color-mix(in srgb,var(--rc-danger) 8%,var(--rc-surface));
}

.release-body{
  min-width:0;
}

.release-head{
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:20px;
}

.release-copy{
  min-width:0;
}

.release-copy h3,
.release-head h3{
  margin:0;
  color:var(--rc-ink);
  font-size:1.25rem;
  font-weight:750;
  letter-spacing:-.025em;
  line-height:1.35;
}

.release-copy p,
.release-head p{
  max-width:760px;
  margin:12px 0 0;
  color:var(--rc-muted);
  font-size:.84rem;
  line-height:1.75;
}

.release-admin-btn{
  min-height:44px;
  padding:7px 12px;
  border:1px solid var(--rc-line);
  border-radius:9px;
  color:var(--rc-primary-dark);
  background:var(--rc-surface-blue);
  font-size:.75rem;
  font-weight:800;
  cursor:pointer;
}

.release-modules{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
}

.release-modules-label{
  color:var(--rc-muted);
  font-size:.75rem;
  font-weight:800;
  text-transform:uppercase;
}

.release-modules-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.release-foot{
  margin-top:16px;
  padding-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  border-top:1px solid var(--rc-line);
}

.release-foot span{
  color:var(--rc-muted);
  font-size:.75rem;
}

.timeline-pagination{
  margin-top:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.pagination-summary{
  color:var(--rc-muted);
  font-size:.75rem;
}

.pagination-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}

.pagination-btn{
  min-width:44px;
  min-height:44px;
  padding:7px 11px;
  border:1px solid var(--rc-line);
  border-radius:10px;
  color:var(--rc-ink);
  background:var(--rc-surface);
  font-size:.75rem;
  font-weight:800;
  cursor:pointer;
}

.pagination-btn.is-active{
  border-color:var(--rc-primary);
  color:#fff;
  background:var(--rc-primary);
}

.pagination-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.pagination-ellipsis{
  color:var(--rc-muted);
}

.changelog-note,
.release-public-note{
  margin:0 0 22px;
  padding:14px 17px;
  border-left:3px solid var(--rc-teal);
  border-radius:0 12px 12px 0;
  color:var(--rc-muted);
  background:var(--rc-surface-soft);
  font-size:.78rem;
}

.release-load-status{
  margin:0 0 22px;
  padding:13px 16px;
  border:1px solid color-mix(in srgb,#d48b21 35%,var(--rc-line));
  border-radius:12px;
  color:var(--rc-muted-strong);
  background:color-mix(in srgb,#f5b84b 11%,var(--rc-surface));
  font-size:.78rem;
  line-height:1.65;
}

/* Keep the existing admin editor functional while aligning its surfaces. */
.docs-modal{
  color:var(--rc-ink);
}

.docs-modal-dialog,
.editor-sidebar,
.editor-form,
.editor-entry{
  background:var(--rc-surface);
  border-color:var(--rc-line);
}

.docs-modal-head,
.editor-sidebar-head{
  border-color:var(--rc-line);
}

.editor-field input,
.editor-field textarea,
.editor-toggle{
  color:var(--rc-ink);
  background:var(--rc-canvas);
  border-color:var(--rc-line);
}

body[data-docs-page] :is(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid color-mix(in srgb,var(--rc-primary) 42%,transparent);
  outline-offset:3px;
}

@media (max-width:980px){
  .resource-header-inner{
    grid-template-columns:1fr auto;
  }

  .resource-nav{
    order:3;
    grid-column:1 / -1;
    justify-self:center;
    margin-top:-10px;
    transform:translateY(10px);
  }

  .resource-header{
    min-height:94px;
  }

  .resource-main{
    padding-top:66px;
  }

  .resource-hero,
  body[data-docs-page="changelog"] .hero-grid,
  .changelog-hero{
    grid-template-columns:1fr;
  }

  .resource-search-block{
    max-width:650px;
  }

  .resource-browser{
    min-height:0;
    grid-template-columns:1fr;
  }

  .guide-index{
    border-right:0;
  }

  .guide-detail-open .guide-index{
    display:none;
  }

  .resource-footer-inner{
    grid-template-columns:1fr;
    align-items:start;
  }

  .resource-help{
    grid-template-columns:1fr;
    align-items:start;
  }

  .resource-help-actions{
    justify-content:flex-start;
  }

  .filter-controls{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  :root{
    --rc-header-height:68px;
  }

  .resource-header{
    min-height:var(--rc-header-height);
  }

  .resource-header-inner,
  .resource-main,
  .resource-footer-inner,
  body[data-docs-page="changelog"] .docs-layout,
  body[data-docs-page="changelog"] .docs-main{
    width:calc(100% - 40px);
  }

  .resource-header-inner{
    min-height:var(--rc-header-height);
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:12px;
  }

  .resource-brand img{
    width:36px;
    height:36px;
  }

  .resource-brand span{
    display:none;
  }

  .resource-nav{
    order:initial;
    grid-column:auto;
    justify-self:end;
    margin:0;
    transform:none;
  }

  .resource-nav a{
    min-height:44px;
    padding:8px 11px;
    font-size:.75rem;
  }

  .resource-nav-actions{
    display:flex;
  }

  .resource-home-link{
    display:none;
  }

  .resource-theme-toggle{
    width:44px;
    min-height:44px;
  }

  .resource-main{
    padding:42px 0 76px;
  }

  .resource-hero,
  body[data-docs-page="changelog"] .hero-grid,
  .changelog-hero{
    padding:28px 0 44px;
    gap:28px;
  }

  .resource-hero h1,
  body[data-docs-page="changelog"] .hero-copy h1{
    font-size:clamp(2.55rem,11.7vw,4.2rem);
    letter-spacing:-.055em;
  }

  .resource-hero-copy > p,
  .hero-copy > p{
    margin-top:21px;
    font-size:.91rem;
    line-height:1.75;
  }

  .resource-search-block{
    padding:18px;
  }

  .resource-filters{
    margin-inline:-20px;
    padding-inline:20px;
    scroll-padding-inline:20px;
  }

  .resource-access-note{
    margin-top:0;
  }

  .resource-library{
    padding-top:62px;
  }

  .resource-library-heading{
    align-items:start;
  }

  .resource-library-heading h2,
  .resource-help h2,
  .section-title h2{
    font-size:clamp(1.85rem,9vw,2.7rem);
  }

  .resource-browser{
    border-radius:20px;
  }

  .guide-list{
    padding:8px;
  }

  .guide-list-item{
    grid-template-columns:44px minmax(0,1fr) 20px;
    gap:10px;
    padding:13px 10px;
  }

  .guide-list-copy strong{
    font-size:.83rem;
  }

  .guide-list-copy span{
    font-size:.75rem;
  }

  .guide-detail{
    padding:24px 20px 30px;
  }

  .guide-detail-header h2{
    font-size:clamp(2rem,10.5vw,3rem);
  }

  .guide-facts{
    grid-template-columns:1fr;
  }

  .resource-help{
    margin-top:62px;
    padding:28px 24px;
  }

  .resource-help-actions,
  .resource-help-actions a{
    width:100%;
  }

  .resource-footer-links,
  .resource-footer-legal{
    gap:10px 16px;
  }

  body[data-docs-page="changelog"] .hero-stats{
    grid-template-columns:1fr;
  }

  .filter-toolbar{
    padding:14px;
  }

  .filter-chips{
    margin-inline:-14px;
    padding-inline:14px;
  }

  .filter-meta{
    align-items:flex-start;
    flex-direction:column;
  }

  .filter-meta-tools{
    width:100%;
    justify-content:flex-start;
  }

  .release-item{
    grid-template-columns:1fr;
    gap:18px;
    padding:28px 0;
  }

  .release-date-badges{
    margin-top:10px;
  }

  .release-head{
    gap:12px;
  }

  .timeline-pagination{
    align-items:flex-start;
    flex-direction:column;
  }

  .pagination-controls{
    justify-content:flex-start;
  }
}

@media (max-width:440px){
  .resource-nav a{
    padding-inline:9px;
  }

  .resource-nav a[aria-current="page"]{
    display:none;
  }

  .resource-search-block{
    padding:15px;
  }

  .resource-search-field{
    padding-inline:14px;
  }

  .resource-filters{
    margin-inline:-16px;
    padding-inline:16px;
  }

  .resource-library-heading{
    display:block;
  }

  .resource-count{
    margin-top:10px;
  }

  .guide-list-item{
    min-height:82px;
  }

  .guide-list-icon{
    width:40px;
    height:40px;
  }

  .guide-steps li{
    padding-left:52px;
  }

  .resource-footer-inner{
    gap:24px;
  }

  .module-filter-control,
  .page-size-control{
    width:100%;
    justify-content:space-between;
  }

  .module-filter-control select,
  .page-size-control select{
    max-width:150px;
  }

  .release-copy h3,
  .release-head h3{
    font-size:1.12rem;
  }
}

/* Changelog release cards — scoped reset over the legacy docs stylesheet. */
body[data-docs-page="changelog"] .changelog-browser > .section-header,
body[data-docs-page="changelog"] .release-public-note,
body[data-docs-page="changelog"] .release-load-status,
body[data-docs-page="changelog"] .changelog-toolbar,
body[data-docs-page="changelog"] .changelog-list,
body[data-docs-page="changelog"] .empty-state,
body[data-docs-page="changelog"] .timeline-pagination{
  width:100%;
  max-width:1120px;
  margin-inline:auto;
}

body[data-docs-page="changelog"] .changelog-list.timeline{
  display:grid;
  gap:16px;
  border-top:0;
}

body[data-docs-page="changelog"] .release-item{
  display:grid;
  grid-template-columns:minmax(150px,180px) minmax(0,1fr);
  gap:32px;
  padding:28px 30px;
  border:1px solid var(--rc-line);
  border-radius:20px;
  background:var(--rc-surface);
  box-shadow:var(--rc-shadow-soft);
}

body[data-docs-page="changelog"] .release-date{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:0;
  padding:2px 28px 2px 0;
  border-right:1px solid var(--rc-line);
  border-bottom:0;
}

body[data-docs-page="changelog"] .release-date time,
body[data-docs-page="changelog"] .release-date strong{
  display:block;
}

body[data-docs-page="changelog"] .release-version{
  margin-top:0;
}

body[data-docs-page="changelog"] .release-date-badges{
  width:auto;
  margin:8px 0 0;
}

body[data-docs-page="changelog"] .release-body{
  min-width:0;
  display:grid;
  align-content:start;
  gap:18px;
}

body[data-docs-page="changelog"] .release-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:20px;
}

body[data-docs-page="changelog"] .release-copy p{
  max-width:72ch;
}

body[data-docs-page="changelog"] .release-modules,
body[data-docs-page="changelog"] .release-foot{
  margin-top:0;
}

body[data-docs-page="changelog"] .release-foot{
  padding-top:16px;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:8px 24px;
  border-top:1px solid var(--rc-line);
}

body[data-docs-page="changelog"] .release-foot span{
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}

@media (max-width:900px){
  body[data-docs-page="changelog"] .release-item{
    grid-template-columns:1fr;
    gap:20px;
    padding:24px;
  }

  body[data-docs-page="changelog"] .release-date{
    display:grid;
    grid-template-columns:auto auto minmax(0,1fr);
    align-items:center;
    gap:8px 14px;
    padding:0 0 18px;
    border-right:0;
    border-bottom:1px solid var(--rc-line);
  }

  body[data-docs-page="changelog"] .release-date-badges{
    justify-self:end;
    margin:0;
  }
}

@media (max-width:620px){
  body[data-docs-page="changelog"] .changelog-browser.section-panel{
    padding:62px 0 0;
    border-radius:0;
  }

  body[data-docs-page="changelog"] .release-item{
    gap:18px;
    padding:22px 20px;
    border-radius:18px;
  }

  body[data-docs-page="changelog"] .release-date{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:7px;
    padding-bottom:16px;
  }

  body[data-docs-page="changelog"] .release-date-badges{
    justify-self:auto;
    margin-top:5px;
  }

  body[data-docs-page="changelog"] .release-head{
    grid-template-columns:1fr;
  }

  body[data-docs-page="changelog"] .release-foot{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
}

@media (max-width:360px){
  body[data-docs-page="changelog"] .release-item{
    padding:20px 18px;
  }

  body[data-docs-page="changelog"] .pagination-controls{
    width:100%;
  }

  body[data-docs-page="changelog"] .pagination-btn{
    min-width:40px;
    padding-inline:9px;
  }
}

@media (prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto !important;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
  }
}
