/* AccessRA UI System R5
   Final consistency layer. Loaded after the legacy/platform/editorial/premium CSS.
   Goal: one intentional visual system across publishing, tools, Academy, CAD,
   engineering work and account surfaces without changing application logic. */

:root{
  --ars-font-ui:Inter,"Helvetica Neue",Arial,system-ui,-apple-system,sans-serif;
  --ars-font-read:"Source Serif 4",Georgia,Cambria,"Times New Roman",serif;
  --ars-ink:#14232d;
  --ars-navy:#0d293d;
  --ars-navy-hover:#153d56;
  --ars-orange:#f28c28;
  --ars-muted:#62717c;
  --ars-muted-2:#87939b;
  --ars-line:#e8ecee;
  --ars-line-strong:#d9e0e4;
  --ars-soft:#f7f9fa;
  --ars-soft-2:#f2f5f6;
  --ars-surface:#fff;
  --ars-success:#257a54;
  --ars-danger:#aa3f3a;
  --ars-radius:10px;
  --ars-radius-lg:14px;
  --ars-shadow-soft:0 8px 28px rgba(14,40,62,.065);
  --ars-shadow:0 18px 56px rgba(14,40,62,.11);
  --ars-shell:1180px;
  --ars-reading:720px;
  --ars-wide-reading:1040px;
}

html{background:#fff}
body,button,input,textarea,select{font-family:var(--ars-font-ui)}
body.ar-body{color:var(--ars-ink);background:#fff;font-size:16px;line-height:1.55}
main{min-width:0}
a{transition:color .14s ease,background .14s ease,border-color .14s ease,opacity .14s ease}
img{max-width:100%}
h1,h2,h3,h4{color:var(--ars-navy);text-wrap:balance}
p{margin-block-start:0}
:focus-visible{outline:3px solid rgba(242,140,40,.34);outline-offset:3px}

/* Remove legacy network stripe globally. Interaction feedback now lives beside
   the action that triggered it (skeletons, calculator result areas, form state). */
.ar-network-progress,.ar-loading-status{display:none!important}

/* --------------------------------------------------------------------------
   Global header / navigation
   -------------------------------------------------------------------------- */
.ar-topbar{height:66px;border-bottom:1px solid var(--ars-line);box-shadow:none;background:rgba(255,255,255,.97)}
.ar-topbar__inner{width:min(calc(100% - 28px),1540px);min-height:66px;grid-template-columns:40px auto minmax(280px,430px) 1fr;gap:12px}
.ar-topbar__brand{font-size:1.42rem;letter-spacing:-.05em}
.ar-top-search{height:42px;border:1px solid #e8ecee;border-radius:999px;background:#f6f8f8;box-shadow:none}
.ar-top-search input{font-size:.87rem;color:#33434d}
.ar-top-search input::placeholder{color:#82909a}
.ar-top-search:focus-within{border-color:#cfd8dd;background:#fff;box-shadow:0 0 0 4px rgba(13,41,61,.045)}
.ar-icon-button,.ar-mobile-search-button,.ar-account-button{width:38px;height:38px;border-radius:999px}
.ar-icon-button:hover,.ar-mobile-search-button:hover,.ar-account-button:hover{background:#f3f6f7;transform:none}
.ar-app-button{min-height:40px;border-radius:999px;padding-inline:15px;box-shadow:none}
.ar-app-button:hover{transform:none;box-shadow:none;background:var(--ars-navy-hover)}
.ar-topbar__academy{font-size:.82rem;font-weight:700}
.ar-account-button{font-size:.76rem;font-weight:800}
.ar-search-popover{border-color:var(--ars-line-strong);border-radius:12px;box-shadow:var(--ars-shadow)}

/* Desktop hamburger = collapse the persistent homepage rail. It should never
   feel like a duplicate navigation overlay while the rail is visible. */
@media(min-width:821px){
  .ar-editorial-page .ar-menu-button{background:transparent}
  .ar-editorial-page.ar-left-rail-collapsed .ar-menu-button{background:var(--ars-soft-2)}
}

/* --------------------------------------------------------------------------
   Reusable shells / spacing / hierarchy
   -------------------------------------------------------------------------- */
.ar-shell,.ara-academy-shell{width:min(calc(100% - 36px),var(--ars-shell));margin-inline:auto}
.ar-section{padding:48px 0}
.ar-section--soft{background:var(--ars-soft)}
.ar-border-y{border-color:var(--ars-line)!important}
.ar-border-b{border-color:var(--ars-line)!important}
.ar-kicker,.ar-tech-label,.ar-spec-label,.ara-academy-eyebrow,.ara-course-label{
  color:#6f7d87!important;font-size:.65rem!important;font-weight:800!important;letter-spacing:.09em!important;text-transform:uppercase
}
.ar-heading,.ar-page-title,.ara-section-title{font-family:var(--ars-font-ui);color:var(--ars-navy)!important;letter-spacing:-.035em!important}
.ar-copy,.ar-page-lede,.ara-section-copy{color:var(--ars-muted)!important;line-height:1.68!important}
.ar-page-hero,.ar-modern-hero{padding:40px 0 30px!important;background:#fff!important;border-bottom:1px solid var(--ars-line)!important}
.ar-page-hero .ar-page-title,.ar-modern-hero h1{max-width:850px;font-size:clamp(2.1rem,4.1vw,3.5rem)!important;line-height:1.04!important;font-weight:650!important}
.ar-page-hero .ar-page-lede,.ar-modern-hero p{max-width:760px}

/* Buttons / controls. Keep technical controls inside simulators untouched by
   restricting the strongest rules to standard site buttons. */
.btn:not(.vgb-mini-btn):not(.vgb-choice):not(.vgb-primary-action):not(.vgb-secondary-action){
  min-height:40px;border-radius:999px;font-family:var(--ars-font-ui);font-weight:750;letter-spacing:-.01em;box-shadow:none!important;text-transform:none
}
.btn-primary{background:var(--ars-navy)!important;border-color:var(--ars-navy)!important;color:#fff!important}
.btn-primary:hover{background:var(--ars-navy-hover)!important;border-color:var(--ars-navy-hover)!important}
.btn-outline{background:#fff!important;border-color:var(--ars-line-strong)!important;color:var(--ars-navy)!important}
.btn-outline:hover{background:var(--ars-soft)!important}
.btn-ghost{color:var(--ars-navy)!important}
.ar-input,.ar-field input,.ar-field textarea,.ar-field select,.ara-auth-card input,.ara-auth-card textarea,.ara-auth-card select{
  min-height:44px;border:1px solid var(--ars-line-strong)!important;border-radius:9px!important;background:#fff!important;color:var(--ars-ink)!important;box-shadow:none!important
}
.ar-input:focus,.ar-field input:focus,.ar-field textarea:focus,.ar-field select:focus,.ara-auth-card input:focus,.ara-auth-card textarea:focus,.ara-auth-card select:focus{
  border-color:#aab8c1!important;outline:0!important;box-shadow:0 0 0 4px rgba(13,41,61,.045)!important
}
.ar-label{color:#42515b!important;font-size:.75rem!important;font-weight:700!important}

/* --------------------------------------------------------------------------
   Homepage — content starts quickly; no oversized marketing hero
   -------------------------------------------------------------------------- */
.ar-editorial-layout{width:min(calc(100% - 30px),1500px);grid-template-columns:196px minmax(0,1fr) 272px;gap:34px}
.ar-editorial-main{padding:24px 0 68px}
.ar-editorial-left,.ar-editorial-right{top:82px}
.ar-editorial-left{padding:20px 16px 52px 0}
.ar-editorial-right{padding:20px 0 52px 22px}
.ar-feed-intro--compact{padding:0 0 20px;border-bottom:0}
.ar-feed-intro--compact h1{margin:0;max-width:none;font-size:clamp(1.9rem,3.1vw,2.65rem);font-weight:650;line-height:1.05;letter-spacing:-.045em}
.ar-feed-intro--compact p{max-width:760px;margin:8px 0 0;font-size:.92rem;line-height:1.58;color:var(--ars-muted)}
.ar-feed-intro--compact .ar-feed-intro__eyebrow{display:none}
.ar-feed-tabs{gap:27px;position:relative;margin-top:4px;border-bottom:1px solid var(--ars-line)}
.ar-feed-tabs a{padding:12px 0 11px;color:#6e7b84;font-size:.78rem;font-weight:700}
.ar-feed-tabs a:hover{color:var(--ars-navy)}
.ar-feed-tabs a[aria-current="page"]{color:var(--ars-navy)}
.ar-feed-tabs a[aria-current="page"]::after{height:2px;background:var(--ars-navy)}
.ar-feed-item{gap:28px;padding:26px 0;border-color:var(--ars-line)}
.ar-feed-item__source{gap:7px;color:#72808a;font-size:.65rem;font-weight:750}
.ar-feed-item h2,.ar-feed-item h3{font-size:clamp(1.25rem,2vw,1.58rem);line-height:1.2;letter-spacing:-.025em}
.ar-feed-item__summary{max-width:760px;margin-top:8px;color:#667680;font-size:.86rem;line-height:1.58}
.ar-feed-item__meta{margin-top:10px;color:#7f8b93;font-size:.68rem;font-weight:650}
.ar-feed-item__media{width:150px;border:1px solid var(--ars-line);border-radius:8px;background:var(--ars-soft)}
.ar-feed-item__media img{width:100%;height:100%;object-fit:cover}
.ar-feed-item--text .ar-feed-item__copy{max-width:900px}

/* Homepage rail: navigation only. Topic discovery lives in the contextual rail
   and Knowledge, avoiding a second sitemap in the left column. */
.ar-rail-nav{gap:2px}
.ar-rail-nav a{min-height:39px;padding:8px 10px;border-radius:9px;font-size:.82rem;font-weight:650}
.ar-rail-nav a svg{width:17px;height:17px;color:#70808b}
.ar-rail-nav a[aria-current="page"]{background:#f3f5f6;color:var(--ars-navy)}
.ar-rail-section{margin-top:22px;padding-top:18px;border-color:var(--ars-line)}
.ar-rail-label{color:#8b969d;font-size:.59rem}
.ar-rail-subnav a{padding:7px 2px;color:#697780;font-size:.74rem}
.ar-discovery-block{padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--ars-line)}
.ar-discovery-title{font-size:.87rem;letter-spacing:-.01em}
.ar-discovery-list a{padding:10px 0;color:#2f3e48;font-size:.76rem;font-weight:700}
.ar-discovery-list small{margin-top:3px;color:#8a959c;font-size:.66rem;line-height:1.38;font-weight:500}
.ar-discovery-promo{padding:15px 0!important;border:0;border-top:1px solid var(--ars-line);border-radius:0!important;background:transparent!important;box-shadow:none!important}
.ar-discovery-promo strong{font-size:.85rem}
.ar-discovery-promo p{font-size:.72rem;line-height:1.48;color:#73808a}

/* Local loading should feel alive, never frozen. */
.ar-feed-region.is-loading,.ar-partial-region.is-loading{cursor:progress}
.ar-feed-skeleton__row{padding:26px 0;gap:28px}
.ar-feed-skeleton__copy{min-height:102px}
.ar-feed-skeleton__media,.ar-skeleton-line{
  background:linear-gradient(100deg,#f0f2f3 18%,#fff 38%,#f0f2f3 58%);background-size:230% 100%;animation:ars-shimmer 1.05s linear infinite
}
@keyframes ars-shimmer{0%{background-position:120% 0}100%{background-position:-120% 0}}

/* --------------------------------------------------------------------------
   Knowledge / publication surfaces
   -------------------------------------------------------------------------- */
.ar-knowledge-shell{width:min(calc(100% - 36px),1120px);padding-bottom:64px}
.ar-knowledge-hero{padding:44px 0 30px}
.ar-knowledge-hero--compact{padding:34px 0 24px}
.ar-knowledge-hero__eyebrow{font-size:.64rem}
.ar-knowledge-hero h1{max-width:800px;margin-top:7px;font-size:clamp(2.2rem,4vw,3.35rem);font-weight:650;line-height:1.04;letter-spacing:-.045em}
.ar-knowledge-hero--compact h1{font-size:clamp(2rem,3.6vw,3rem)}
.ar-knowledge-hero p{max-width:760px;margin-top:10px;color:var(--ars-muted);font-size:.94rem;line-height:1.62}
.ar-knowledge-search{max-width:640px;margin-top:20px;border-color:var(--ars-line-strong);border-radius:999px;background:var(--ars-soft)}
.ar-knowledge-grid{gap:60px;grid-template-columns:minmax(0,1fr) 260px}
.ar-knowledge-section-title{font-size:.76rem;text-transform:uppercase;letter-spacing:.075em;color:#707e88}
.ar-stream{border-color:var(--ars-line)}
.ar-stream-item{padding:20px 0;border-color:var(--ars-line)}
.ar-stream-item h3{font-size:1.14rem;line-height:1.28;letter-spacing:-.02em}
.ar-stream-item__summary{margin-top:5px;font-size:.81rem;line-height:1.52;color:#6d7a83}
.ar-stream-item__meta,.ar-stream-item__eyebrow{font-size:.64rem}
.ar-topic-list a{padding:10px 0;border-color:var(--ars-line);font-size:.76rem}
.ar-topic-group{margin-bottom:38px}
.ar-topic-group__head{margin-bottom:7px}
.ar-topic-group__head h2{font-size:1.2rem;letter-spacing:-.02em}
.ar-topic-group__head p{font-size:.79rem;color:var(--ars-muted)}

/* Article reading: one publication voice, simulator/media allowed to break out. */
.ar-article-header{width:min(calc(100% - 36px),var(--ars-reading));padding:46px 0 18px}
.ar-article-breadcrumb{font-size:.68rem;color:#7f8a92}
.ar-article-header h1{margin-top:18px;font-size:clamp(2.35rem,5.1vw,4.25rem);line-height:1.01;font-weight:650;letter-spacing:-.052em}
.ar-article-deck{margin-top:15px;font-size:1.03rem;line-height:1.6;color:#64737d}
.ar-article-byline{margin-top:19px;padding-top:14px;border-top:1px solid var(--ars-line);color:#7d8991;font-size:.69rem}
.ar-article-rule{display:none}
.ar-reading-column{width:min(calc(100% - 36px),var(--ars-reading));margin-inline:auto}
.ar-reading-section{padding:30px 0;border-color:var(--ars-line)}
.ar-reading-section h2{font-family:var(--ars-font-ui);font-size:1.48rem;line-height:1.18;font-weight:700;letter-spacing:-.026em}
.ar-reading-section .ar-richtext{font-family:var(--ars-font-read);font-size:1.08rem;line-height:1.82;color:#2a343b}
.ar-reading-section .ar-richtext strong{color:#17252f}
.ar-reading-section .ar-richtext a{color:var(--ars-navy);text-decoration-thickness:1px}
.ar-section-type{font-family:var(--ars-font-ui);font-size:.61rem}
.ar-article-editorial-image,.ar-article-support,.ar-article-continue,.ar-technical-details{width:min(calc(100% - 36px),var(--ars-wide-reading));margin-inline:auto}
.ar-article-editorial-image{margin-top:22px;margin-bottom:30px}
.ar-article-editorial-image img{border-radius:8px}
.ar-article-support{padding:30px 0;border-color:var(--ars-line)}
.ar-article-continue{padding:34px 0}
.ar-article-continue h2{font-size:1rem;text-transform:uppercase;letter-spacing:.065em;color:#71808a}
.ar-article-continue__grid a{border-color:var(--ars-line);border-radius:0!important;box-shadow:none!important}
.ar-technical-details{margin-top:10px;margin-bottom:54px;border-color:var(--ars-line);border-radius:0!important}

/* --------------------------------------------------------------------------
   Toolbox / calculator surfaces
   -------------------------------------------------------------------------- */
.ar-toolbox-hero{padding:38px 0 24px!important;border-bottom:1px solid var(--ars-line);background:#fff!important}
.ar-toolbox-hero__copy{max-width:800px}
.ar-toolbox-hero__copy h1{margin-top:6px;font-size:clamp(2.05rem,3.7vw,3.2rem)!important;line-height:1.04!important;font-weight:650!important;letter-spacing:-.045em!important}
.ar-toolbox-hero__copy>p{max-width:720px;margin-top:10px;color:var(--ars-muted);font-size:.92rem;line-height:1.58}
.ar-tool-finder{margin-top:22px!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
.ar-tool-search-label{font-size:.7rem!important;color:#6c7a83!important}
.ar-tool-search-wrap{max-width:720px;border:1px solid var(--ars-line-strong)!important;border-radius:999px!important;background:var(--ars-soft)!important;box-shadow:none!important}
.ar-tool-search-wrap:focus-within{background:#fff!important;border-color:#b9c5cc!important;box-shadow:0 0 0 4px rgba(13,41,61,.045)!important}
.ar-tool-filter-tabs{margin-top:14px;gap:20px!important;overflow:auto;padding-bottom:1px;border-bottom:1px solid var(--ars-line)}
.ar-tool-filter{padding:9px 0 10px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#748089!important;font-size:.72rem!important;font-weight:700!important;white-space:nowrap}
.ar-tool-filter.is-active{border-bottom-color:var(--ars-navy)!important;color:var(--ars-navy)!important;background:transparent!important}
.ar-toolbox-browser{padding:34px 0 62px!important}
.ar-toolbox-layout{grid-template-columns:190px minmax(0,1fr)!important;gap:46px!important}
.ar-toolbox-sidebar__sticky{top:86px!important}
.ar-toolbox-sidebar nav a{padding:8px 0!important;border:0!important;border-bottom:1px solid var(--ars-line)!important;border-radius:0!important;font-size:.73rem!important}
.ar-toolbox-safety{margin-top:22px!important;padding:14px 0 0!important;border:0!important;border-top:1px solid var(--ars-line)!important;border-radius:0!important;background:transparent!important}
.ar-toolbox-results__top{padding-bottom:12px!important;border-bottom:1px solid var(--ars-line)}
.ar-tool-category{padding:28px 0 0!important}
.ar-tool-category__heading{margin-bottom:8px!important}
.ar-tool-category__heading h3{font-size:1rem!important}
.ar-tool-category__heading p{font-size:.76rem!important;color:var(--ars-muted)!important}
.ar-tool-grid{display:block!important;border-top:1px solid var(--ars-line)}
.ar-tool-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;padding:15px 0!important;border:0!important;border-bottom:1px solid var(--ars-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.ar-tool-card:hover{background:#fff!important;border-bottom-color:#cfd8dd!important;transform:none!important}
.ar-tool-card strong{font-size:.87rem!important;color:var(--ars-navy)!important}
.ar-tool-card p{margin-top:3px!important;font-size:.73rem!important;line-height:1.45!important;color:#74818a!important}
.ar-tool-context{border-color:var(--ars-line)!important;background:#fff!important}
.ar-tool-context__inner{min-height:42px!important;font-size:.7rem!important}
.ar-tool-page .ar-page-hero,.ar-tool-page .ar-section{padding-top:36px}
.ar-tool-page .ar-panel,.ar-tool-page .card{border-color:var(--ars-line)!important;border-radius:10px!important;box-shadow:none!important}

/* --------------------------------------------------------------------------
   Academy discovery / dashboard / auth
   -------------------------------------------------------------------------- */
.ara-modern-page,.ara-course-editorial,.ara-dashboard-editorial,.ara-learning-body,.ar-auth-page{font-family:var(--ars-font-ui)!important}
.ara-academy-home-hero{padding:38px 0 30px!important;border-color:var(--ars-line)!important}
.ara-academy-home-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;gap:54px!important;align-items:start!important}
.ara-academy-home-copy h1{max-width:760px!important;margin-top:8px!important;font-size:clamp(2.2rem,4vw,3.45rem)!important;line-height:1.03!important;font-weight:650!important;letter-spacing:-.045em!important}
.ara-academy-home-copy>p:not(.ara-academy-eyebrow){max-width:720px!important;margin-top:11px!important;font-size:.92rem!important;line-height:1.62!important;color:var(--ars-muted)!important}
.ara-academy-actions{gap:8px!important}
.ara-academy-bench-card{border:1px solid var(--ars-line)!important;border-radius:10px!important;background:var(--ars-soft)!important;box-shadow:none!important}
.ara-academy-bench-card>strong{font-size:1rem!important}
.ara-academy-bench-steps>div{padding:10px 0!important;border-color:var(--ars-line)!important}
.ara-academy-bench-steps span{font-size:.72rem!important;line-height:1.42!important}
.ara-academy-training-section{padding:40px 0 54px!important}
.ara-section{padding:46px 0!important}
.ara-section-head{margin-bottom:18px!important}
.ara-section-title{font-size:clamp(1.65rem,2.7vw,2.25rem)!important;font-weight:700!important}
.ara-training-course-card{border:1px solid var(--ars-line)!important;border-radius:10px!important;overflow:hidden;box-shadow:none!important}
.ara-training-course-main{padding:22px 24px!important}
.ara-training-course-main h3{font-size:1.32rem!important;letter-spacing:-.025em!important}
.ara-training-course-main>p{font-size:.82rem!important;line-height:1.55!important}
.ara-training-course-workflow{padding:20px 22px!important;border-color:var(--ars-line)!important;background:var(--ars-soft)!important}
.ara-training-course-workflow li{border-color:var(--ars-line)!important}
.ara-academy-workshop-grid,.ara-method-grid{gap:24px!important}
.ara-academy-workshop-points article{border-color:var(--ars-line)!important}

.ara-dashboard-hero{padding:34px 0 23px!important;border-color:var(--ars-line)!important}
.ara-dashboard-hero .ara-section-title{font-size:clamp(1.9rem,3.2vw,2.65rem)!important}
.ara-dashboard-grid{gap:48px!important}
.ara-enrollment-card,.ara-quick-panel{border-color:var(--ars-line)!important;box-shadow:none!important}
.ara-enrollment-card{border-radius:0!important}
.ara-progress-track{background:#edf1f2!important}
.ara-progress-track span{background:var(--ars-navy)!important}

.ara-auth-wrap{padding:54px 0 68px!important}
.ara-auth-grid{grid-template-columns:minmax(0,1fr) 390px!important;gap:68px!important}
.ara-auth-copy h1{font-size:clamp(2.1rem,4vw,3.2rem)!important;line-height:1.05!important;font-weight:650!important;letter-spacing:-.045em!important}
.ara-auth-copy>p{font-size:.9rem!important;color:var(--ars-muted)!important}
.ara-auth-card{padding:24px!important;border:1px solid var(--ars-line)!important;border-radius:10px!important;box-shadow:none!important}

/* Academy learning shell: publication-level typography around unchanged lab logic. */
.ara-learning-body{background:#fff!important;color:var(--ars-ink)!important}
.ara-learning-topbar{height:64px!important;border-color:var(--ars-line)!important;background:rgba(255,255,255,.97)!important}
.ara-learning-brand,.ara-learning-course,.ara-learning-actions,.ara-player-nav,.ara-player-main{font-family:var(--ars-font-ui)!important}
.ara-learning-body .ara-player-layout{grid-template-columns:276px minmax(0,1fr)!important;min-height:calc(100vh - 64px)!important}
.ara-learning-body .ara-player-nav{top:64px!important;height:calc(100vh - 64px)!important;background:#f7f9fa!important;border-color:var(--ars-line)!important}
.ara-learning-body .ara-player-nav-head{background:rgba(247,249,250,.97)!important;border-color:var(--ars-line)!important}
.ara-learning-body .ara-player-module{border-color:var(--ars-line)!important}
.ara-learning-body .ara-player-lesson{border-radius:7px!important;font-size:.75rem!important;color:#4d5c66!important}
.ara-learning-body .ara-player-lesson.current{box-shadow:inset 3px 0 0 var(--ars-orange)!important}
.ara-learning-body .ara-lesson-wrap{width:min(calc(100% - 46px),1120px)!important;padding:28px 0 90px!important}
.ara-learning-body .ara-lesson-h1{font-size:clamp(2rem,3.8vw,3.2rem)!important;line-height:1.03!important;font-weight:650!important;letter-spacing:-.04em!important}
.ara-learning-body .ara-lesson-summary{max-width:820px!important;font-size:.91rem!important;line-height:1.62!important;color:var(--ars-muted)!important}
.ara-learning-body .ara-lesson-section{padding:28px 0!important;border-color:var(--ars-line)!important}
.ara-learning-body .ara-lesson-section h2{font-size:1.28rem!important;letter-spacing:-.02em!important}
.ara-learning-body .ara-lesson-section p,.ara-learning-body .ara-lesson-section li{line-height:1.72!important}
.ara-learning-body .ara-practice-box,.ara-learning-body .ara-check-card{border-color:var(--ars-line)!important;border-radius:8px!important;background:var(--ars-soft)!important}
.ara-learning-body .ara-player-bottom{left:276px!important;border-color:var(--ars-line)!important;background:rgba(255,255,255,.97)!important}
.ara-learning-body.ara-course-sidebar-collapsed .ara-player-bottom{left:0!important}
.ara-learning-body.ara-course-sidebar-collapsed .ara-player-layout{grid-template-columns:0 minmax(0,1fr)!important}
.vgb-page,.ara-module-bench-page{font-family:var(--ars-font-ui)!important}
.vgb-shell,.ara-module-bench-shell{border-radius:10px}

/* --------------------------------------------------------------------------
   CAD / projects / digital solutions / public information
   -------------------------------------------------------------------------- */
.ar-modern-page .ar-panel,.ar-modern-page .ar-card,.ar-cad-library-page .ar-card,.ar-projects-page .ar-card{
  border-color:var(--ars-line)!important;border-radius:10px!important;box-shadow:none!important;background:#fff!important
}
.ar-modern-page .ar-panel-header,.ar-modern-page .ar-panel-body{border-color:var(--ars-line)!important}
.ar-projects-page article,.ar-digital-page article,.ar-digital-detail-page article{box-shadow:none!important}
.ar-projects-page .ar-section,.ar-digital-page .ar-section,.ar-digital-detail-page .ar-section{border-color:var(--ars-line)!important}
.ar-public-note{border:1px solid var(--ars-line)!important;border-radius:9px!important;background:var(--ars-soft)!important}

/* --------------------------------------------------------------------------
   Footer / errors / micro-consistency
   -------------------------------------------------------------------------- */
.ar-editorial-footer{border-color:var(--ars-line);background:#fff}
.ar-editorial-footer__inner{width:min(calc(100% - 36px),var(--ars-shell));padding:30px 0 24px}
.ar-editorial-footer__identity p{max-width:520px;margin-top:7px;font-size:.75rem;line-height:1.5}
.ar-editorial-footer__links{gap:16px}
.ar-editorial-footer__links a,.ar-editorial-footer__legal a,.ar-editorial-footer__legal span{font-size:.68rem}
.ar-error-page .ar-page-hero{min-height:52vh;display:flex;align-items:center}

/* Hide old decorative containers when the newer typography can carry hierarchy. */
.ar-modern-page .shadow,.ara-modern-page .shadow,.ara-course-editorial .shadow{box-shadow:none!important}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media(max-width:1180px){
  .ar-editorial-layout{grid-template-columns:180px minmax(0,1fr) 242px;gap:26px}
  .ar-knowledge-grid{gap:42px;grid-template-columns:minmax(0,1fr) 240px}
  .ar-toolbox-layout{grid-template-columns:170px minmax(0,1fr)!important;gap:34px!important}
  .ara-academy-home-grid{gap:36px!important}
}
@media(max-width:1020px){
  .ar-editorial-layout{grid-template-columns:180px minmax(0,1fr)}
  .ar-editorial-right{display:none}
  .ar-knowledge-grid{grid-template-columns:minmax(0,1fr) 230px;gap:34px}
  .ara-academy-home-grid{grid-template-columns:1fr!important}
  .ara-academy-bench-card{max-width:760px}
}
@media(max-width:820px){
  .ar-topbar{height:62px}
  .ar-topbar__inner{min-height:62px;width:calc(100% - 18px)}
  .ar-editorial-layout{display:block;width:min(calc(100% - 26px),760px)}
  .ar-editorial-main{padding-top:18px}
  .ar-feed-intro--compact{padding-bottom:14px}
  .ar-feed-intro--compact h1{font-size:2rem}
  .ar-feed-intro--compact p{font-size:.86rem}
  .ar-knowledge-shell{width:min(calc(100% - 26px),760px)}
  .ar-knowledge-grid{display:block}
  .ar-knowledge-grid>aside{margin-top:40px;padding-top:24px;border-top:1px solid var(--ars-line)}
  .ar-toolbox-layout{display:block!important}
  .ar-toolbox-sidebar{display:none!important}
  .ar-toolbox-browser{padding-top:22px!important}
  .ara-learning-body .ara-player-layout{display:block!important;min-height:calc(100vh - 62px)!important}
  .ara-learning-body .ara-player-nav{top:62px!important;height:auto!important}
  .ara-learning-body .ara-player-bottom{left:0!important}
  .ara-learning-body .ara-lesson-wrap{width:min(calc(100% - 24px),980px)!important}
}
@media(max-width:620px){
  .ar-shell,.ara-academy-shell{width:min(calc(100% - 24px),var(--ars-shell))}
  .ar-section{padding:36px 0}
  .ar-page-hero,.ar-modern-hero{padding:30px 0 23px!important}
  .ar-feed-tabs{gap:21px;overflow:auto;scrollbar-width:none}
  .ar-feed-tabs::-webkit-scrollbar{display:none}
  .ar-feed-item{grid-template-columns:minmax(0,1fr) 92px;gap:14px;padding:22px 0}
  .ar-feed-item--text{grid-template-columns:minmax(0,1fr)}
  .ar-feed-item__media{width:92px}
  .ar-feed-item h2,.ar-feed-item h3{font-size:1.12rem}
  .ar-feed-item__summary{font-size:.78rem}
  .ar-feed-skeleton__row{grid-template-columns:minmax(0,1fr) 92px;gap:14px;padding:22px 0}
  .ar-feed-skeleton__media{width:92px}
  .ar-knowledge-hero{padding:28px 0 20px}
  .ar-knowledge-hero h1{font-size:2.05rem}
  .ar-article-header{width:calc(100% - 26px);padding:34px 0 14px}
  .ar-article-header h1{font-size:2.15rem}
  .ar-article-deck{font-size:.94rem}
  .ar-reading-column{width:calc(100% - 26px)}
  .ar-reading-section .ar-richtext{font-size:1.02rem;line-height:1.75}
  .ar-article-editorial-image,.ar-article-support,.ar-article-continue,.ar-technical-details{width:calc(100% - 26px)}
  .ar-toolbox-hero{padding:30px 0 20px!important}
  .ar-toolbox-hero__copy h1{font-size:2.05rem!important}
  .ara-academy-home-hero{padding:30px 0 24px!important}
  .ara-academy-home-copy h1{font-size:2.1rem!important}
  .ara-training-course-card{grid-template-columns:1fr!important}
  .ara-training-course-workflow{border-left:0!important;border-top:1px solid var(--ars-line)!important}
  .ara-auth-wrap{padding:36px 0 48px!important}
  .ara-auth-grid{display:block!important}
  .ara-auth-card{margin-top:28px}
  .ara-learning-body .ara-lesson-wrap{width:calc(100% - 16px)!important;padding-top:18px!important}
  .ara-learning-body .ara-lesson-h1{font-size:1.8rem!important}
  .ar-editorial-footer__inner{width:calc(100% - 24px);padding-top:26px}
}
@media(prefers-reduced-motion:reduce){
  .ar-feed-skeleton__media,.ar-skeleton-line{animation:none!important}
}

/* --------------------------------------------------------------------------
   R9 mobile search, crawlable infinite feed and technical figure discipline
   -------------------------------------------------------------------------- */
.ar-mobile-search{display:none;position:fixed;inset:0;z-index:90;background:#fff;opacity:0;pointer-events:none;transition:opacity .18s ease}
.ar-mobile-search.is-open{opacity:1;pointer-events:auto}
.ar-mobile-search__panel{min-height:100%;background:#fff}
.ar-mobile-search__head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--ars-line,#e3e8eb);position:sticky;top:0;background:#fff;z-index:2}
.ar-mobile-search__form{min-width:0;display:flex;align-items:center;gap:9px;border:1px solid #dfe5e8;border-radius:999px;background:#f7f8f8;padding:0 14px}
.ar-mobile-search__form input{width:100%;min-width:0;height:44px;border:0;outline:0;background:transparent;font:500 .95rem/1.2 var(--ars-font-ui,Inter,sans-serif);color:#142735}
.ar-mobile-search__results{padding:10px 16px 28px}
.ar-mobile-search__hint{margin:18px 2px;color:#71808a;font-size:.86rem;line-height:1.55}
.ar-mobile-search__list{display:grid}
.ar-mobile-search__result{display:grid;gap:4px;padding:15px 2px;border-bottom:1px solid #e6eaed;color:#142735;text-decoration:none}
.ar-mobile-search__result small{font-size:.62rem;line-height:1.1;text-transform:uppercase;letter-spacing:.08em;color:#768792;font-weight:700}
.ar-mobile-search__result strong{font-size:1rem;line-height:1.3}
.ar-mobile-search__result span{font-size:.76rem;line-height:1.4;color:#71808a}
.ar-mobile-search__all{display:block;padding:18px 2px;color:#0e2b40;font-weight:700;text-decoration:none}
html.ar-mobile-search-open,html.ar-mobile-search-open body{overflow:hidden}

.ar-feed-load-more{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 0;padding:20px 0;border-top:1px solid var(--ars-line,#e3e8eb);border-bottom:1px solid var(--ars-line,#e3e8eb);color:#0f2c42;text-decoration:none}
.ar-feed-load-more span{font-weight:750}
.ar-feed-load-more small{color:#7b8992;font-size:.72rem}
.ar-feed-load-more.is-loading{pointer-events:none;color:#61717b}
.ar-load-more-shimmer{display:flex!important;gap:7px;align-items:center}
.ar-load-more-shimmer i{display:block;width:58px;height:10px;border-radius:999px;background:linear-gradient(90deg,#edf0f2 20%,#f8f9fa 50%,#edf0f2 80%);background-size:220% 100%;animation:arR9Shimmer 1.1s linear infinite}
.ar-load-more-shimmer i:nth-child(2){width:92px}.ar-load-more-shimmer i:nth-child(3){width:44px}
@keyframes arR9Shimmer{to{background-position:-220% 0}}

.ar-article-editorial-image figcaption{max-width:760px;margin:10px auto 0;color:#71808a;font:500 .72rem/1.5 var(--ars-font-ui,Inter,sans-serif);text-align:left}

@media (max-width:820px){
  .ar-mobile-search{display:block}
}
@media (prefers-reduced-motion:reduce){
  .ar-mobile-search{transition:none}
  .ar-load-more-shimmer i{animation:none}
}
.ar-discovery-more{display:inline-flex;margin-top:10px;color:#0e2b40;font-size:.7rem;font-weight:750;text-decoration:none}
.ar-discovery-more:hover{text-decoration:underline;text-underline-offset:3px}
/* R9 final cascade: keep engineering feature media contained after all legacy article rules. */
.ar-article-editorial-image{width:min(calc(100% - 32px),920px);margin:24px auto 30px}
.ar-article-editorial-image img{display:block;width:auto;max-width:100%;height:auto;max-height:min(72vh,720px);margin-inline:auto;object-fit:contain;border-radius:9px;background:#f5f7f8}
@media (max-width:720px){
  .ar-article-editorial-image{width:calc(100% - 24px);margin-top:18px;margin-bottom:24px}
  .ar-article-editorial-image img{max-height:58vh}
}
