@layer legacy, foundation;
@layer legacy {
/* Architecture and MEP page: its section components (dual-service overview, activities, the R&D and 179D estimators, the 179D
   designer section, process, why) kept from the earlier design. Moved out of the page on Oct 28, 2026 (UI/UX pass, Step 7c) and
   scoped to .ae-legacy. Rules below the marker at the end adjust them to the site system targets (_checks/check_system.py). */
.ae-legacy *,.ae-legacy *::before,.ae-legacy *::after{box-sizing:border-box;margin:0;padding:0}
.ae-legacy{--ink:#0D1F14;--ink-card:#142019;
      --green:#1D6B35;--green-mid:#155227;--green-pale:#2A8847;--green-light:#EBF2ED;
      --amber:#E09B2D;--amber-lt:#F5C66A;
      --white:#FFFFFF;--cream:#F4F3EE;--cream-dk:#E8E6DF;--stone:#D8D5CC;--muted:#6B7068;
      --f:'Plus Jakarta Sans','Plus Jakarta Sans Fallback','Helvetica Neue',sans-serif;--pad:clamp(20px,5vw,80px);--max:1140px;}
.ae-legacy{scroll-behavior:smooth;scroll-padding-top:80px}
.ae-legacy{font-family:var(--f);background:var(--white);color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:hidden}
.ae-legacy ::-webkit-scrollbar{width:5px}
.ae-legacy ::-webkit-scrollbar-track{background:var(--ink)}
.ae-legacy ::-webkit-scrollbar-thumb{background:var(--green);border-radius:3px}
.ae-legacy .reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.ae-legacy .reveal.visible{opacity:1;transform:translateY(0)}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes panelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes glow-pulse{0%,100%{box-shadow:0 0 0 0 rgba(29,107,53,.45)}50%{box-shadow:0 0 0 8px rgba(29,107,53,0)}}
.ae-legacy .sticky-bar{position:fixed;top:66px;left:0;right:0;z-index:190;background:var(--amber);height:44px;display:flex;align-items:center;justify-content:center;gap:20px;transform:translateY(-110%);transition:transform .35s ease}
.ae-legacy .sticky-bar.show{transform:translateY(0)}
.ae-legacy .sticky-bar-text{font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;color:var(--ink)}
.ae-legacy .sticky-bar-btn{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);background:var(--ink);padding:5px 14px;border-radius:2px;text-decoration:none;transition:background .2s}
.ae-legacy .sticky-bar-btn:hover{background:var(--green)}
@media(max-width:520px){.ae-legacy .sticky-bar-text{display:none}}
.ae-legacy nav{position:fixed;top:0;left:0;right:0;z-index:200;height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--pad);background:rgba(13,31,20,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.05)}
.ae-legacy .nav-wordmark{font-size:1.0625rem;font-weight:700;color:var(--white);text-decoration:none;letter-spacing:-.01em}
.ae-legacy .nav-wordmark span{color:rgba(255,255,255,.32);font-weight:400}
.ae-legacy .nav-right{display:flex;align-items:center;gap:28px}
.ae-legacy .nav-links{display:flex;list-style:none;gap:24px}
.ae-legacy .nav-links a{font-size:.9375rem;font-weight:600;letter-spacing:normal;text-transform: none;color:rgba(255,255,255,.48);text-decoration:none;transition:color .2s}
.ae-legacy .nav-links a:hover{color:var(--white)}
.ae-legacy .nav-links a.active{color:var(--amber)}
.ae-legacy .nav-btn{display:inline-block;font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;color:var(--ink);background:var(--amber);padding:9px 20px;border-radius:3px;text-decoration:none;transition:background .2s,transform .15s}
.ae-legacy .nav-btn:hover{background:#c88820;transform:translateY(-1px)}
.ae-legacy .hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px}
.ae-legacy .hamburger span{display:block;width:22px;height:2px;background:rgba(255,255,255,.7);border-radius:2px;transition:transform .25s,opacity .25s}
.ae-legacy .hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.ae-legacy .hamburger.open span:nth-child(2){opacity:0}
.ae-legacy .hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.ae-legacy .mobile-menu{display:none;position:fixed;top:66px;left:0;right:0;background:rgba(13,31,20,.98);backdrop-filter:blur(16px);z-index:199;padding:24px var(--pad) 32px;flex-direction:column;gap:4px}
.ae-legacy .mobile-menu.open{display:flex}
.ae-legacy .mobile-menu a{font-size:.9375rem;font-weight:600;letter-spacing:normal;text-transform: none;color:rgba(255,255,255,.62);text-decoration:none;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06);transition:color .2s}
.ae-legacy .mobile-menu a:hover{color:var(--white)}
.ae-legacy .mobile-menu .mobile-menu-cta{margin-top:16px;display:inline-block;background:var(--amber);color:var(--ink);padding:13px 24px;border-radius:3px;text-align:center;font-size:.9375rem;font-weight:800;letter-spacing:.06em;border-bottom:none}
@media(max-width:768px){.ae-legacy .nav-links,.ae-legacy .nav-btn{display:none}
.ae-legacy .hamburger{display:flex}}
.ae-legacy .section-tag{font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;display:flex;align-items:center;gap:10px;margin-bottom:20px}
.ae-legacy .section-tag::before{content:'';display:block;width:22px;height:1.5px;flex-shrink:0}
.ae-legacy .section-tag.on-dark{color:rgba(255,255,255,.52)}
.ae-legacy .section-tag.on-dark::before{background:rgba(255,255,255,.2)}
.ae-legacy .section-tag.on-light{color:var(--green)}
.ae-legacy .section-tag.on-light::before{background:var(--green)}
.ae-legacy .section-tag.on-cream{color:var(--green)}
.ae-legacy .section-tag.on-cream::before{background:var(--green)}
.ae-legacy .section-hd{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin-bottom:48px}
.ae-legacy .section-hd.full-width{grid-template-columns:1fr;max-width:680px}
.ae-legacy .section-hd h2{font-size:clamp(1.9rem, 3vw, 2.7rem);font-weight:800;letter-spacing:-.025em;line-height:1.12}
.ae-legacy .section-hd h2 .accent{color:var(--green)}
.ae-legacy .hd-card{padding:22px 26px;border-radius:6px;border-left:3px solid var(--green);font-size:.9375rem;line-height:1.72;font-weight:500}
.ae-legacy .hd-card.on-white{background:var(--green-light);color:var(--ink)}
.ae-legacy .hd-card.on-cream{background:var(--white);color:var(--ink)}
.ae-legacy .hd-card.on-dark{background:rgba(255,255,255,.05);color:rgba(255,255,255,.78);border-left-color:var(--amber)}
.ae-legacy .hd-card a{color:var(--green);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(29,107,53,.25);padding-bottom:1px}
.ae-legacy .hd-card a:hover{border-color:var(--green)}
@media(max-width:768px){.ae-legacy .section-hd{grid-template-columns:1fr;gap:20px}}
.ae-legacy .btn-primary{display:inline-block;background:var(--amber);color:var(--ink);padding:14px 28px;border-radius:3px;font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;text-decoration:none;transition:background .2s,transform .15s}
.ae-legacy .btn-primary:hover{background:#c88820;transform:translateY(-1px)}
.ae-legacy .btn-ghost-dark{display:inline-block;border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.65);padding:13px 28px;border-radius:3px;font-size:.9375rem;font-weight:600;letter-spacing:normal;text-transform: none;text-decoration:none;transition:border-color .2s,color .2s}
.ae-legacy .btn-ghost-dark:hover{border-color:rgba(255,255,255,.42);color:var(--white)}
.ae-legacy .hero{background:var(--ink);padding:120px var(--pad) 72px;position:relative;overflow:hidden}
.ae-legacy .hero-bg{position:absolute;inset:0;background-image:url('https://images.unsplash.com/photo-1599707254554-027aeb4deacd?auto=format&fit=crop&w=1800&q=80');background-size:cover;background-position:center 50%;opacity:.32;pointer-events:none}
.ae-legacy .hero::before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,rgba(13,31,20,.99) 0%,rgba(13,31,20,.92) 35%,rgba(13,31,20,.55) 65%,rgba(13,31,20,.25) 100%),radial-gradient(ellipse 80% 60% at 70% 40%,rgba(29,107,53,.10) 0%,transparent 60%),radial-gradient(ellipse 50% 40% at 20% 80%,rgba(224,155,45,.05) 0%,transparent 50%);pointer-events:none;z-index:1}
.ae-legacy .hero-grain{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");opacity:.22;pointer-events:none;z-index:2}
.ae-legacy .hero-inner{position:relative;z-index:10;max-width:var(--max);margin:0 auto}
.ae-legacy .hero-breadcrumb{font-size:.9375rem;font-weight:600;letter-spacing:.04em;color:rgba(255,255,255,.38);margin-bottom:18px;opacity:0;animation:rise .6s .05s ease forwards}
.ae-legacy .hero-breadcrumb a{color:rgba(255,255,255,.38);text-decoration:none;transition:color .2s}
.ae-legacy .hero-breadcrumb a:hover{color:rgba(255,255,255,.65)}
.ae-legacy .hero-breadcrumb span{margin:0 8px;color:rgba(255,255,255,.2)}
.ae-legacy .hero-eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:28px;opacity:0;animation:rise .7s .1s ease forwards}
.ae-legacy .hero-eyebrow::before{content:'';display:block;width:26px;height:2px;background:var(--amber);flex-shrink:0}
.ae-legacy .hero h1{font-size:clamp(2.2rem, 4.2vw, 3.8rem);font-weight:800;line-height:1.08;letter-spacing:-.03em;color:var(--white);max-width:780px;margin-bottom:20px;opacity:0;animation:rise .85s .25s ease forwards}
.ae-legacy .hero h1 .accent{color:var(--amber)}
.ae-legacy .hero-sub{font-size:1.0625rem;line-height:1.72;color:rgba(255,255,255,.7);max-width:620px;margin-bottom:30px;opacity:0;animation:rise .85s .38s ease forwards}
.ae-legacy .hero-actions{display:flex;gap:12px;flex-wrap:wrap;opacity:0;animation:rise .85s .55s ease forwards}
@media(max-width:600px){.ae-legacy .hero-actions{flex-direction:column}
.ae-legacy .hero-actions a{text-align:center}}
@media(max-width:620px){.ae-legacy .hero{padding:100px 20px 56px}}
.ae-legacy .dual-section{background:var(--cream);padding:100px var(--pad);border-bottom:1px solid var(--cream-dk)}
.ae-legacy .dual-inner{max-width:var(--max);margin:0 auto}
.ae-legacy .dual-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px;align-items:stretch}
.ae-legacy .dual-card{background:var(--white);border:1px solid var(--cream-dk);border-radius:10px;padding:32px 30px;display:flex;flex-direction:column;gap:14px;transition:transform .2s ease,box-shadow .2s ease}
.ae-legacy .dual-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.06)}
.ae-legacy .dual-card-tag{display:inline-flex;align-items:center;gap:8px;font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);background:var(--green-light);padding:5px 12px;border-radius:100px;width:fit-content}
.ae-legacy .dual-card h3{font-size:1.25rem;font-weight:800;color:var(--ink);letter-spacing:-.02em;line-height:1.2}
.ae-legacy .dual-card p{font-size:1.0625rem;line-height:1.72;color:var(--ink)}
.ae-legacy .dual-card-output{margin-top:auto;padding:14px 16px;background:var(--cream);border-left:3px solid var(--amber);border-radius:0 5px 5px 0}
.ae-legacy .dual-card-output-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:6px}
.ae-legacy .dual-card-output p{font-size:.9375rem;color:var(--ink);line-height:1.55}
.ae-legacy .dual-callout{background:var(--ink);border-radius:10px;overflow:hidden;display:grid;grid-template-columns:auto 1fr;position:relative}
.ae-legacy .dual-callout-accent{width:6px;background:linear-gradient(180deg,var(--amber) 0%,rgba(224,155,45,.35) 100%);flex-shrink:0}
.ae-legacy .dual-callout-body{padding:26px 32px}
.ae-legacy .dual-callout-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:10px;display:flex;align-items:center;gap:10px}
.ae-legacy .dual-callout-label::before{content:'';display:block;width:16px;height:1.5px;background:var(--amber);flex-shrink:0}
.ae-legacy .dual-callout p{font-size:1.0625rem;line-height:1.72;color:rgba(255,255,255,.78);margin:0}
.ae-legacy .dual-callout strong{color:var(--white);font-weight:700}
@media(max-width:760px){.ae-legacy .dual-cards{grid-template-columns:1fr;gap:16px}}
.ae-legacy .spec-section{background:var(--white);padding:100px var(--pad);border-bottom:1px solid var(--cream-dk)}
.ae-legacy .spec-inner{max-width:var(--max);margin:0 auto}
.ae-legacy .spec-tabs{display:flex;gap:0;margin-top:40px;border-radius:6px 6px 0 0;overflow:hidden;border:1px solid var(--cream-dk);border-bottom:none}
.ae-legacy .spec-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;padding:14px 10px;background:var(--cream);color:#0D1F14;border:none;cursor:pointer;font-family:var(--f);transition:background .2s,color .2s;border-right:1px solid var(--cream-dk);text-align:center;line-height:1.25}
.ae-legacy .spec-tab:last-child{border-right:none}
.ae-legacy .spec-tab.active{background:var(--green);color:var(--white)}
.ae-legacy .spec-tab .spec-tab-badge{font-size:.9375rem;font-weight:800;letter-spacing:.1em;color:#0D1F14;background:var(--white);padding:2px 7px;border-radius:100px;border:1px solid var(--cream-dk);margin-top:2px}
.ae-legacy .spec-tab.active .spec-tab-badge{background:rgba(255,255,255,.18);color:var(--white);border-color:rgba(255,255,255,.25)}
.ae-legacy .spec-panel{display:none;border:1px solid var(--cream-dk);border-radius:0 0 6px 6px;background:var(--green-light);padding:32px;animation:panelIn .28s ease forwards}
.ae-legacy .spec-panel.active{display:block}
.ae-legacy .spec-fit{display:inline-block;margin:0 0 10px;padding:3px 12px;border-radius:999px;background:#EBF2ED;border:1px solid #CFE0D4;color:#14532A;font-size:15px;font-weight:700;line-height:1.4}   /* Session 38: the fit status moved out of the tab labels (tabs keep 1 to 2 words) */
.spec-panel-hd{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid rgba(29,107,53,.15)}
.ae-legacy .spec-panel h3{font-size:1.0625rem;font-weight:800;color:var(--ink);margin-bottom:8px;letter-spacing:-.01em}
.ae-legacy .spec-panel-desc{font-size:.9375rem;line-height:1.62;color:var(--ink)}
.ae-legacy .spec-qre{background:var(--white);border-radius:6px;padding:14px 16px}
.ae-legacy .spec-qre-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);margin-bottom:8px}
.ae-legacy .spec-qre-bars{display:flex;flex-direction:column;gap:6px}
.ae-legacy .spec-qre-bar-row{display:grid;grid-template-columns:90px 1fr 36px;align-items:center;gap:10px;font-size:.9375rem}
.ae-legacy .spec-qre-bar-name{color:var(--ink);font-weight:600}
.ae-legacy .spec-qre-bar-track{height:6px;background:var(--cream);border-radius:3px;overflow:hidden}
.ae-legacy .spec-qre-bar-fill{height:100%;background:var(--green);transition:width .4s ease}
.ae-legacy .spec-qre-bar-pct{color:var(--green);font-weight:800;text-align:right}
.ae-legacy .spec-fpt{margin-bottom:20px;background:var(--white);border-radius:6px;padding:16px 18px}
.ae-legacy .spec-fpt-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);margin-bottom:10px}
.ae-legacy .spec-fpt ul{list-style:none;display:flex;flex-direction:column;gap:7px}
.ae-legacy .spec-fpt ul li{font-size:.9375rem;line-height:1.5;color:var(--ink);display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}
.ae-legacy .spec-fpt ul li strong{font-weight:800;color:var(--green);font-size:.9375rem;letter-spacing:normal;text-transform: none;padding-top:2px}
.ae-legacy .spec-acts{margin-bottom:18px}
.ae-legacy .spec-acts-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--ink);margin-bottom:12px}
.ae-legacy .spec-acts ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.ae-legacy .spec-acts ul li{font-size:.9375rem;line-height:1.58;color:var(--ink);display:flex;align-items:flex-start;gap:10px}
.ae-legacy .spec-acts ul li::before{content:'';display:block;width:5px;height:5px;border-radius:50%;background:var(--green);flex-shrink:0;margin-top:7px}
.ae-legacy .spec-qre-examples{margin-bottom:18px;padding:16px 18px;background:var(--white);border-radius:6px;border-left:3px solid var(--amber)}
.ae-legacy .spec-qre-examples-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:10px;display:flex;align-items:center;gap:8px}
.ae-legacy .spec-qre-examples-label::before{content:'';display:block;width:14px;height:1.5px;background:var(--amber);flex-shrink:0}
.ae-legacy .spec-qre-examples-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.ae-legacy .spec-qre-ex-col h5{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);margin-bottom:6px}
.ae-legacy .spec-qre-ex-col p{font-size:.9375rem;line-height:1.5;color:var(--ink)}
@media(max-width:680px){.ae-legacy .spec-qre-examples-grid{grid-template-columns:1fr;gap:10px}}
.ae-legacy .spec-excl{font-size:.9375rem;line-height:1.6;color:var(--ink);padding:12px 16px;background:rgba(255,255,255,.7);border-radius:4px;border-left:2px solid var(--stone)}
.ae-legacy .spec-excl strong{font-weight:700;color:#0D1F14}
@media(max-width:820px){.ae-legacy .spec-panel-hd{grid-template-columns:1fr;gap:18px}}
@media(max-width:700px){.ae-legacy .spec-tabs{flex-direction:column}
.ae-legacy .spec-tab{border-right:none;border-bottom:1px solid var(--cream-dk);justify-content:flex-start;flex-direction:row;padding:14px 16px;text-align:left}
.ae-legacy .spec-tab:last-child{border-bottom:none}}
.ae-legacy .est-section{background:var(--ink);padding:100px var(--pad);position:relative;overflow:hidden}
.ae-legacy .ae-capture{position:relative;max-width:760px;margin:8px 0 0}
.ae-legacy .est-section::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--green) 0%,var(--amber) 100%)}
.ae-legacy .est-section .section-tag.on-dark{color:rgba(255,255,255,.52)}
.ae-legacy .est-section h2{color:var(--white)}
.ae-legacy .est-inner{max-width:var(--max);margin:0 auto;position:relative;z-index:1}
.ae-legacy .est-grain{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");opacity:.18;pointer-events:none;z-index:0}
.ae-legacy .est-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ae-legacy .est-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 24px;row-gap:4px}
.ae-legacy .est-card{background:var(--ink-card);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:32px 28px;display:flex;flex-direction:column;gap:22px;position:relative;overflow:hidden}
.ae-legacy .est-card-inputs{border-radius:10px 10px 0 0;border-bottom:none;padding-bottom:24px}
.ae-legacy .est-card-output{border-radius:0 0 10px 10px;border-top:1px solid rgba(255,255,255,.08);gap:0;padding-top:28px}
.ae-legacy .est-card.est-card-output::before{display:none}
.ae-legacy .est-card-output .est-output{padding-top:0;margin-top:0;border-top:none}
.ae-legacy .est-spacer{display:none}
.ae-legacy .est-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--amber)}
.ae-legacy .est-card-eyebrow{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber)}
.ae-legacy .est-card h3{font-size:1.0625rem;font-weight:800;color:var(--white);letter-spacing:-.015em;line-height:1.3}
.ae-legacy .est-input-block{display:flex;flex-direction:column;gap:10px}
.ae-legacy .est-input-block[hidden]{display:none}
.ae-legacy .est-input-label{font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;color:rgba(255,255,255,.55)}
.ae-legacy .est-slider-row{display:flex;align-items:center;gap:14px}
.ae-legacy .est-slider{flex:1;height:6px;-webkit-appearance:none;appearance:none;background:rgba(255,255,255,.1);border-radius:3px;outline:none;cursor:pointer}
.ae-legacy .est-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:var(--amber);cursor:pointer;border:3px solid var(--ink-card);box-shadow:0 0 0 1px var(--amber)}
.ae-legacy .est-slider::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--amber);cursor:pointer;border:3px solid var(--ink-card);box-shadow:0 0 0 1px var(--amber)}
.ae-legacy .est-slider-val{font-size:.9375rem;font-weight:800;color:var(--amber);min-width:108px;text-align:right;letter-spacing:-.01em}
.ae-legacy .est-pwa-toggle{display:flex;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:5px;overflow:hidden;width:fit-content}
.ae-legacy .est-pwa-btn{font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;padding:8px 16px;background:none;border:none;color:rgba(255,255,255,.5);cursor:pointer;font-family:var(--f);transition:background .18s,color .18s}
.ae-legacy .est-pwa-btn.active{background:var(--amber);color:var(--ink)}
.ae-legacy .est-pwa-toggle.locked{opacity:.55;pointer-events:none;position:relative}
.ae-legacy .est-pwa-toggle.locked .est-pwa-btn.active{background:var(--green);color:var(--white)}
.ae-legacy .est-input-hint{display:block;font-size:.9375rem;font-weight:600;color:var(--green-pale);text-transform:none;letter-spacing:.02em;margin-top:4px;font-style:italic}
.ae-legacy .est-year-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ae-legacy .est-year-select{width:100%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:5px;color:var(--white);font-size:.9375rem;font-family:var(--f);font-weight:600;padding:9px 14px;cursor:pointer;outline:none;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F5C66A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;transition:border-color .2s}
.ae-legacy .est-year-select:focus{border-color:var(--amber);box-shadow:0 0 0 2px rgba(224,155,45,.16)}
.ae-legacy .est-year-select option{background:var(--ink-card);color:var(--white)}
.ae-legacy .est-num-wrap{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:5px;padding:0 14px;min-height:44px}   /* typed amounts replace the sliders (blank start, Nov 12, 2026) */
.ae-legacy .est-num-wrap:focus-within{border-color:var(--amber);box-shadow:0 0 0 2px rgba(224,155,45,.16)}
.ae-legacy .est-num-wrap span{color:var(--amber);font-weight:800}
.ae-legacy .est-num{flex:1;min-width:0;min-height:44px;background:transparent;border:0;outline:none;color:var(--white);font-size:.9375rem;font-family:var(--f);font-weight:600;padding:0}
.ae-legacy .est-num::placeholder{color:rgba(255,255,255,.62)}
.ae-legacy .est-grandfather{margin-top:14px;padding:14px 16px;background:rgba(29,107,53,.16);border:1px solid rgba(29,107,53,.32);border-radius:6px}
.ae-legacy .est-grandfather-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green-pale);margin-bottom:5px;display:flex;align-items:center;gap:8px}
.ae-legacy .est-grandfather-label::before{content:'';display:block;width:14px;height:1.5px;background:var(--green-pale);flex-shrink:0}
.ae-legacy .est-grandfather p{font-size:.9375rem;line-height:1.6;color:rgba(255,255,255,.78)}
.ae-legacy .est-qre-note{margin-bottom:6px;padding:14px 16px;background:rgba(224,155,45,.06);border:1px solid rgba(224,155,45,.14);border-left:3px solid var(--amber);border-radius:0 6px 6px 0}
.ae-legacy .est-qre-note-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:6px}
.ae-legacy .est-qre-note p{font-size:.9375rem;line-height:1.6;color:rgba(255,255,255,.7)}
.ae-legacy .est-grandfather-banner{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;background:linear-gradient(135deg,rgba(224,155,45,.12) 0%,rgba(224,155,45,.05) 100%);border:1px solid rgba(224,155,45,.24);border-radius:10px;padding:22px 24px;margin-bottom:28px;position:relative;overflow:hidden}
.ae-legacy .est-grandfather-banner::before{content:'';position:absolute;top:0;left:0;bottom:0;width:4px;background:var(--amber)}
.ae-legacy .est-gb-icon{width:42px;height:42px;border-radius:50%;background:var(--amber);color:var(--ink);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ae-legacy .est-gb-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:6px}
.ae-legacy .est-gb-body p{font-size:1.0625rem;line-height:1.72;color:rgba(255,255,255,.82);margin:0}
.ae-legacy .est-gb-body strong{color:var(--white);font-weight:700}
@media(max-width:520px){.ae-legacy .est-grandfather-banner{grid-template-columns:1fr;gap:12px}
.ae-legacy .est-gb-icon{width:36px;height:36px}}
@media(max-width:480px){.ae-legacy .est-year-grid{grid-template-columns:1fr;gap:6px}}
.ae-legacy .est-entity-toggle{display:flex;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:5px;overflow:hidden;width:fit-content}
.ae-legacy .est-entity-btn{font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;padding:7px 14px;background:none;border:none;color:rgba(255,255,255,.5);cursor:pointer;font-family:var(--f);transition:background .18s,color .18s}
.ae-legacy .est-entity-btn.active{background:var(--green);color:var(--white)}
.ae-legacy .est-output{padding-top:22px;border-top:1px solid rgba(255,255,255,.08)}
.ae-legacy .est-output-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:rgba(255,255,255,.4);margin-bottom:6px}
.ae-legacy .est-output-range{font-size:clamp(1.75rem, 3.2vw, 2.4rem);font-weight:800;color:var(--amber-lt);letter-spacing:-.025em;line-height:1.1;margin-bottom:6px;min-height:1.1em}
.ae-legacy .est-output-sub{font-size:.9375rem;color:rgba(255,255,255,.5);line-height:1.55}
.ae-legacy .est-lookback{margin-top:14px;padding:12px 14px;background:rgba(224,155,45,.06);border:1px solid rgba(224,155,45,.12);border-radius:5px}
.ae-legacy .est-lookback-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:rgba(224,155,45,.85);margin-bottom:4px}
.ae-legacy .est-lookback-val{font-size:1.0625rem;font-weight:800;color:var(--amber);letter-spacing:-.01em}
.ae-legacy .est-foot{margin-top:14px;font-size:.9375rem;line-height:1.55;color:rgba(255,255,255,.5);font-style:italic}
.ae-legacy .est-entity-info{margin-top:14px;padding:14px 16px;background:rgba(29,107,53,.14);border:1px solid rgba(29,107,53,.28);border-left:3px solid var(--green-pale);border-radius:0 6px 6px 0}
.ae-legacy .est-entity-info-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green-pale);margin-bottom:6px;display:flex;align-items:center;gap:8px}
.ae-legacy .est-entity-info-label::before{content:'';display:block;width:14px;height:1.5px;background:var(--green-pale);flex-shrink:0}
.ae-legacy .est-entity-info p{font-size:.9375rem;line-height:1.6;color:rgba(255,255,255,.8)}
.ae-legacy .est-also{margin-top:28px;padding:20px 24px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:8px}
.ae-legacy .est-also-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:8px}
.ae-legacy .est-also p{font-size:.9375rem;line-height:1.72;color:rgba(255,255,255,.7)}
@media(max-width:820px){.ae-legacy .est-grid{grid-template-columns:1fr;row-gap:0}
.ae-legacy .est-card.is-rd.is-inputs{order:1;border-radius:10px 10px 0 0;border-bottom:none}
.ae-legacy .est-card.is-rd.is-output{order:2;border-radius:0 0 10px 10px;margin-bottom:24px}
.ae-legacy .est-card.is-179d.is-inputs{order:3;border-radius:10px 10px 0 0;border-bottom:none}
.ae-legacy .est-card.is-179d.is-output{order:4;border-radius:0 0 10px 10px}}
.ae-legacy .d179-section{background:var(--cream);padding:100px var(--pad);border-bottom:1px solid var(--cream-dk)}
.ae-legacy .d179-inner{max-width:var(--max);margin:0 auto}
.ae-legacy .d179-block{margin-bottom:36px}
.ae-legacy .d179-block:last-child{margin-bottom:0}
.ae-legacy .d179-card{background:var(--white);border-radius:8px;padding:28px 30px;border-left:3px solid var(--green)}
.ae-legacy .d179-card h3{font-size:1.25rem;font-weight:800;color:var(--ink);letter-spacing:-.02em;margin-bottom:14px;line-height:1.25}
.ae-legacy .d179-card p{font-size:1.0625rem;line-height:1.72;color:var(--ink);margin-bottom:12px}
.ae-legacy .d179-card p:last-child{margin-bottom:0}
.ae-legacy .d179-card strong{font-weight:700;color:var(--ink);opacity:1}
.ae-legacy .d179-checklist{list-style:none;display:flex;flex-direction:column;gap:10px;margin-top:8px}
.ae-legacy .d179-checklist li{display:flex;align-items:flex-start;gap:12px;font-size:.9375rem;line-height:1.6;color:var(--ink)}
.ae-legacy .d179-checklist li::before{content:'';display:block;width:18px;height:18px;border-radius:50%;background:var(--green-light);border:1.5px solid var(--green);flex-shrink:0;margin-top:1px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6B35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:11px}
.ae-legacy .d179-callout{background:var(--ink);border-radius:8px;overflow:hidden;display:grid;grid-template-columns:auto 1fr;position:relative}
.ae-legacy .d179-callout-accent{width:6px;background:linear-gradient(180deg,var(--amber) 0%,rgba(224,155,45,.35) 100%);flex-shrink:0}
.ae-legacy .d179-callout-body{padding:28px 32px}
.ae-legacy .d179-callout-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:10px;display:flex;align-items:center;gap:10px}
.ae-legacy .d179-callout-label::before{content:'';display:block;width:16px;height:1.5px;background:var(--amber);flex-shrink:0}
.ae-legacy .d179-callout h3{font-size:1.0625rem;font-weight:800;color:var(--white);letter-spacing:-.015em;line-height:1.3;margin-bottom:14px}
.ae-legacy .d179-callout p{font-size:1.0625rem;line-height:1.72;color:rgba(255,255,255,.78);margin-bottom:10px}
.ae-legacy .d179-callout p:last-child{margin-bottom:0}
.ae-legacy .d179-callout strong{color:var(--white);font-weight:700}
.ae-legacy .d179-systems-hd{margin-bottom:18px}
.ae-legacy .d179-systems-eyebrow{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);margin-bottom:10px;display:flex;align-items:center;gap:10px}
.ae-legacy .d179-systems-eyebrow::before{content:'';display:block;width:18px;height:1.5px;background:var(--green);flex-shrink:0}
.ae-legacy .d179-systems-intro{font-size:.9375rem;line-height:1.72;color:var(--ink);max-width:680px}
.ae-legacy .d179-systems{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}
.ae-legacy .d179-system{background:var(--white);border:1px solid var(--cream-dk);border-radius:8px;padding:24px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;transition:transform .2s ease,box-shadow .2s ease}
.ae-legacy .d179-system:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.05)}
.ae-legacy .d179-system-icon{width:48px;height:48px;border-radius:50%;background:var(--green-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ae-legacy .d179-system-icon svg{width:24px;height:24px;stroke:var(--green);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ae-legacy .d179-system h4{font-size:.9375rem;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.ae-legacy .d179-system p{font-size:.9375rem;line-height:1.55;color:#0D1F14}
.ae-legacy .d179-rate-cards{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;margin-bottom:18px}
.ae-legacy .d179-rate-card{padding:32px 28px;border-radius:10px;display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.ae-legacy .d179-rate-base{background:var(--white);border:1px solid var(--cream-dk)}
.ae-legacy .d179-rate-base:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.05)}
.ae-legacy .d179-rate-base .d179-rate-label{color:#0D1F14}
.ae-legacy .d179-rate-base .d179-rate-amount{color:var(--ink)}
.ae-legacy .d179-rate-base .d179-rate-to{color:#0D1F14}
.ae-legacy .d179-rate-base .d179-rate-unit{color:#0D1F14}
.ae-legacy .d179-rate-base .d179-rate-desc{color:var(--ink)}
.ae-legacy .d179-rate-pwa{background:var(--ink);border:1px solid var(--ink);color:var(--white);position:relative}
.ae-legacy .d179-rate-pwa::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--amber) 0%,var(--amber-lt) 100%)}
.ae-legacy .d179-rate-pwa:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(13,31,20,.18)}
.ae-legacy .d179-rate-pwa .d179-rate-label{color:var(--amber)}
.ae-legacy .d179-rate-pwa .d179-rate-amount{color:var(--amber-lt)}
.ae-legacy .d179-rate-pwa .d179-rate-to{color:rgba(245,198,106,.55)}
.ae-legacy .d179-rate-pwa .d179-rate-unit{color:rgba(255,255,255,.55)}
.ae-legacy .d179-rate-pwa .d179-rate-desc{color:rgba(255,255,255,.7)}
.ae-legacy .d179-rate-pwa-tag{position:absolute;top:18px;right:20px;font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--ink);background:var(--amber);padding:5px 11px;border-radius:100px}
.ae-legacy .d179-rate-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;margin-bottom:4px}
.ae-legacy .d179-rate-amount{font-size:clamp(1.75rem, 3vw, 2.3rem);font-weight:800;letter-spacing:-.025em;line-height:1.1}
.ae-legacy .dual-callout-body p{max-width:38em} .ae-legacy .d179-rate-to{font-size:20px;font-weight:600;margin:0 6px}
.ae-legacy .d179-rate-unit{font-size:.9375rem;font-weight:600;margin-bottom:14px}
.ae-legacy .d179-rate-desc{font-size:.9375rem;line-height:1.62;margin-top:6px}
.ae-legacy .d179-rates-cap{font-size:.9375rem;line-height:1.6;color:var(--ink);font-style:italic;padding:12px 16px;background:var(--white);border-radius:5px;margin-top:2px}
.ae-legacy .d179-rates-link{margin-top:14px;font-size:.9375rem;color:var(--ink)}
.ae-legacy .d179-rates-link a{color:var(--green);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(29,107,53,.25);padding-bottom:1px}
.ae-legacy .d179-rates-link a:hover{border-color:var(--green)}
.ae-legacy .d179-examples{background:var(--white);border:1px solid var(--cream-dk);border-radius:8px;overflow:hidden;margin-bottom:12px}
.ae-legacy .d179-examples-table{width:100%;border-collapse:collapse}
.ae-legacy .d179-examples-table th{background:var(--cream);font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);padding:14px 16px;text-align:left;border-bottom:1px solid var(--cream-dk)}
.ae-legacy .d179-examples-table td{font-size:.9375rem;padding:14px 16px;border-bottom:1px solid var(--cream-dk);color:var(--ink)}
.ae-legacy .d179-examples-table tr:last-child td{border-bottom:none}
.ae-legacy .d179-examples-table td:first-child{font-weight:700}
.ae-legacy .d179-examples-table td.deduction{font-weight:800;color:var(--amber);letter-spacing:-.01em}
.ae-legacy .d179-examples-foot{font-size:.9375rem;line-height:1.6;color:#0D1F14;font-style:italic}
.ae-legacy .d179-cstart{margin-top:24px;padding:20px 24px;background:var(--white);border:1px solid var(--cream-dk);border-radius:8px}
.ae-legacy .d179-cstart-label{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);margin-bottom:8px}
.ae-legacy .d179-cstart p{font-size:.9375rem;line-height:1.7;color:var(--ink)}
.ae-legacy .d179-cstart a{color:var(--green);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(29,107,53,.25);padding-bottom:1px}
.ae-legacy .d179-cstart a:hover{border-color:var(--green)}
@media(max-width:760px){.ae-legacy .d179-systems{grid-template-columns:1fr}}
@media(max-width:640px){.ae-legacy .d179-rate-cards{grid-template-columns:1fr;gap:14px}}
@media(max-width:600px){.ae-legacy .d179-examples{overflow-x:auto}
.ae-legacy .d179-examples-table{min-width:520px}}
.ae-legacy .process-section{background:var(--ink);padding:100px var(--pad);position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.04)}
.ae-legacy .process-grain{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");opacity:.16;pointer-events:none}
.ae-legacy .process-inner{max-width:var(--max);margin:0 auto;position:relative;z-index:1}
.ae-legacy .process-section h2{color:var(--white)}
.ae-legacy .process-section .section-tag.on-dark{color:rgba(255,255,255,.52)}
.ae-legacy .process-section .hd-card.on-dark{background:rgba(255,255,255,.05);color:rgba(255,255,255,.78);border-left-color:var(--amber)}
.ae-legacy .process-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:8px}
.ae-legacy .process-col{background:var(--ink-card);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:32px 28px;position:relative;overflow:hidden}
.ae-legacy .process-col::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--amber)}
.ae-legacy .process-col-eyebrow{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--amber);margin-bottom:6px}
.ae-legacy .process-col-title{font-size:1.0625rem;font-weight:800;color:var(--white);margin-bottom:24px;letter-spacing:-.015em}
.ae-legacy .process-step{display:grid;grid-template-columns:36px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.06);align-items:start}
.ae-legacy .process-step:last-child{border-bottom:none}
.ae-legacy .process-step-num{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-size:.9375rem;font-weight:800;color:var(--amber);flex-shrink:0;letter-spacing:-.01em}
.ae-legacy .process-step.has-badge .process-step-num{background:var(--amber);color:var(--ink);border-color:var(--amber)}
.ae-legacy .process-step-content{display:flex;flex-direction:column;gap:6px}
.ae-legacy .process-step-name{font-size:.9375rem;font-weight:800;color:var(--white);letter-spacing:-.01em;display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.3}
.ae-legacy .process-badge{font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;background:var(--amber);color:var(--ink);padding:3px 8px;border-radius:3px;flex-shrink:0;border:1px solid rgba(244,243,238,.2)}
.ae-legacy .process-step-text{font-size:.9375rem;line-height:1.62;color:rgba(255,255,255,.6)}
@media(max-width:820px){.ae-legacy .process-grid{grid-template-columns:1fr;gap:18px}}
.ae-legacy .why-section{background:var(--cream);padding:100px var(--pad);border-bottom:1px solid var(--cream-dk)}
.ae-legacy .why-inner{max-width:var(--max);margin:0 auto}
.ae-legacy .why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:8px}
.ae-legacy .why-card{background:var(--white);border:1px solid var(--cream-dk);border-radius:10px;padding:36px 32px;display:flex;flex-direction:column;gap:18px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;position:relative;overflow:hidden}
.ae-legacy .why-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--green) 0%,var(--green-pale) 100%);opacity:0;transition:opacity .25s ease}
.ae-legacy .why-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(13,31,20,.12);border-color:rgba(29,107,53,.18)}
.ae-legacy .why-card:hover::before{opacity:1}
.ae-legacy .why-card-num{position:absolute;top:24px;right:28px;font-size:2.2rem;font-weight:800;color:var(--cream-dk);letter-spacing:-.04em;line-height:1;font-feature-settings:'tnum'}
.ae-legacy .why-card-icon{width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,var(--green) 0%,var(--green-pale) 100%);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 12px rgba(29,107,53,.18)}
.ae-legacy .why-card-icon svg{width:24px;height:24px;stroke:var(--white);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ae-legacy .why-card h3{font-size:1.0625rem;font-weight:800;color:var(--ink);letter-spacing:-.018em;line-height:1.25}
.ae-legacy .why-card p{font-size:.9375rem;line-height:1.72;color:var(--ink)}
.ae-legacy .why-card-tag{display:inline-flex;align-items:center;font-size:.9375rem;font-weight:800;letter-spacing:normal;text-transform: none;color:var(--green);background:var(--green-light);padding:5px 11px;border-radius:100px;width:fit-content;margin-bottom:-4px}
@media(max-width:860px){.ae-legacy .why-cards{grid-template-columns:1fr;gap:14px}
.ae-legacy .why-card-num{font-size:1.8rem}}
.ae-legacy .faq-section{background:var(--white);padding:100px var(--pad);border-bottom:1px solid var(--cream-dk)}
.ae-legacy .faq-inner{max-width:760px;margin:0 auto}
.ae-legacy .faq-list{margin-top:8px;border:1px solid var(--cream-dk);border-radius:8px;overflow:hidden}
.ae-legacy .faq-item{border-bottom:1px solid var(--cream-dk)}
.ae-legacy .faq-item:last-child{border-bottom:none}
.ae-legacy .faq-q{width:100%;background:none;border:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;cursor:pointer;text-align:left;transition:background .18s;font-family:var(--f)}
.ae-legacy .faq-q:hover{background:var(--cream)}
.ae-legacy .faq-q-text{font-size:.9375rem;font-weight:700;color:var(--ink);line-height:1.4}
.ae-legacy .faq-chevron{width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:transform .3s ease}
.ae-legacy .faq-item.open .faq-chevron{transform:rotate(180deg)}
.ae-legacy .faq-a{max-height:0;overflow:hidden;transition:max-height .38s ease}
.ae-legacy .faq-item.open .faq-a{max-height:1500px}
.ae-legacy .faq-a-inner{padding:0 24px 22px;font-size:.9375rem;line-height:1.74;color:var(--ink)}
.ae-legacy .faq-a-inner strong{font-weight:700;opacity:1;color:var(--ink)}
.ae-legacy .faq-a-inner a{color:var(--green);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(29,107,53,.25);padding-bottom:1px}
.ae-legacy .faq-a-inner a:hover{border-color:var(--green)}
.ae-legacy .cta-section{background:var(--ink);padding:100px var(--pad);position:relative;overflow:hidden}
.ae-legacy .cta-grain{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");opacity:.18;pointer-events:none}
.ae-legacy .cta-inner{position:relative;z-index:1;max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:1.1fr 1fr;gap:72px;align-items:start}
.ae-legacy .cta-left h2{font-size:clamp(1.9rem, 3vw, 2.7rem);font-weight:800;color:var(--white);letter-spacing:-.025em;line-height:1.1;margin-bottom:18px}
.ae-legacy .cta-left h2 .accent{color:var(--amber)}
.ae-legacy .cta-left p{font-size:1.0625rem;line-height:1.77;color:rgba(255,255,255,.65);margin-bottom:28px;max-width:480px}
.ae-legacy .cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.ae-legacy .cta-right{background:var(--cream);border-radius:8px;padding:32px}
.ae-legacy .cta-right h3{font-size:1.0625rem;font-weight:700;color:var(--ink);margin-bottom:22px;letter-spacing:-.01em}
.ae-legacy .contact-row{display:flex;flex-direction:column;gap:20px}
.ae-legacy .contact-person{padding-bottom:20px;border-bottom:1px solid var(--cream-dk)}
.ae-legacy .contact-person:last-child{border-bottom:none;padding-bottom:0}
.ae-legacy .contact-name{font-size:.9375rem;font-weight:800;color:var(--ink);margin-bottom:2px}
.ae-legacy .contact-title{font-size:.9375rem;color:#0D1F14;margin-bottom:8px}
.ae-legacy .contact-links{display:flex;flex-direction:column;gap:3px}
.ae-legacy .contact-links a{font-size:.9375rem;color:var(--green);text-decoration:none;font-weight:600;transition:color .2s}
.ae-legacy .contact-links a:hover{color:var(--green-pale)}
.ae-legacy .response-pill{margin-top:20px;display:inline-flex;align-items:center;gap:8px;background:var(--green-light);border-radius:100px;padding:7px 16px;font-size:.9375rem;font-weight:700;color:var(--green);letter-spacing:.02em}
.ae-legacy .response-pill::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0}
@media(max-width:800px){.ae-legacy .cta-inner{grid-template-columns:1fr;gap:40px}}
@media(max-width:620px){.ae-legacy .cta-section{padding:72px 20px}}
.ae-legacy footer{background:var(--ink);border-top:1px solid rgba(255,255,255,.06);padding:72px var(--pad) 40px}
.ae-legacy .footer-inner{max-width:var(--max);margin:0 auto}
.ae-legacy .footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:52px}
.ae-legacy .footer-mark{font-size:1.0625rem;font-weight:700;color:var(--white);letter-spacing:-.01em;margin-bottom:14px}
.ae-legacy .footer-mark span{color:rgba(255,255,255,0.6);font-weight:400}
.ae-legacy .footer-brand p{font-size:.9375rem;line-height:1.72;color:rgba(255,255,255,0.6);margin-bottom:18px;max-width:280px}
.ae-legacy .footer-contacts{display:flex;flex-direction:column;gap:4px}
.ae-legacy .footer-contacts a{font-size:.9375rem;color:rgba(255,255,255,0.6);text-decoration:none;transition:color .2s}
.ae-legacy .footer-contacts a:hover{color:rgba(255,255,255,.72)}
.ae-legacy .footer-col h4{font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;color:rgba(255,255,255,0.6);margin-bottom:16px}
.ae-legacy .footer-col{display:flex;flex-direction:column;gap:2px}
.ae-legacy .footer-col a{font-size:.9375rem;color:rgba(255,255,255,0.6);text-decoration:none;padding:5px 0;transition:color .2s}
.ae-legacy .footer-col a:hover{color:var(--white)}
.ae-legacy .footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding-top:28px;display:flex;flex-direction:column;gap:8px}
.ae-legacy .footer-bottom p{font-size:.9375rem;color:rgba(255,255,255,0.6);line-height:1.65}
@media(max-width:800px){.ae-legacy .footer-top{grid-template-columns:1fr 1fr;gap:32px}
.ae-legacy .footer-brand{grid-column:1/-1}}
@media(max-width:480px){.ae-legacy .footer-top{grid-template-columns:1fr}}
@media(hover:none){.ae-legacy a:hover,.ae-legacy button:hover{transform:none!important}}
.ae-legacy a:focus-visible,.ae-legacy button:focus-visible,.ae-legacy input:focus-visible{outline:2px solid var(--amber);outline-offset:2px;border-radius:2px}
.ae-legacy .nav-wordmark,.ae-legacy .nav-links a,.ae-legacy .nav-btn{white-space: nowrap;}
.ae-legacy .nav-right{margin-left: auto;}
.ae-legacy .nav-right + .hamburger{margin-left: 20px;}
@media (max-width: 1199px){.ae-legacy .nav-links{display: none;}
.ae-legacy .hamburger{display: flex;}}
@media (max-width: 640px){.ae-legacy .nav-btn{display: none;}}
.ae-legacy .related-ind{background:var(--white);border-top:1px solid var(--cream-dk);padding:48px var(--pad)}
.ae-legacy .related-ind-inner{max-width:var(--max);margin:0 auto}
.ae-legacy .related-ind-h{font-size:1.0625rem;font-weight:800;color:var(--ink);margin:0 0 16px;letter-spacing:-.01em;line-height:1.3}
.ae-legacy .related-ind-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.ae-legacy .related-ind-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 16px;background:var(--cream);border:1px solid var(--stone);border-radius:8px;color:var(--ink);font-weight:700;font-size:.9375rem;line-height:1.35;text-decoration:none;transition:border-color .2s,background .2s}
.ae-legacy .related-ind-list a::after{content:"\2192";color:var(--green);flex-shrink:0}
.ae-legacy .related-ind-list a:hover{border-color:var(--green);background:var(--green-light)}
.ae-legacy .related-ind-list a:focus-visible,.ae-legacy .related-ind-all:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.ae-legacy .related-ind-all{display:inline-block;margin-top:14px;font-size:.9375rem;font-weight:700;letter-spacing:normal;text-transform: none;color:var(--green);text-decoration:none}
.ae-legacy .nav-dd{position: relative;}
.ae-legacy .nav-links .nav-dd-btn{display: inline-flex; align-items: center; gap: 5px; padding: 0; margin: 0; background: none; border: 0; cursor: pointer;
      font-family: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: normal; text-transform: none; line-height: inherit;
      color: rgba(255,255,255,0.48); white-space: nowrap; transition: color 0.2s;}
.ae-legacy .nav-links .nav-dd-btn:hover,.ae-legacy .nav-dd.open .nav-dd-btn,.ae-legacy .nav-links .nav-dd-btn.active{color: #fff;}
.ae-legacy .nav-dd-btn svg{width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s;}
.ae-legacy .nav-dd.open .nav-dd-btn svg{transform: rotate(180deg);}
.ae-legacy .nav-dd-menu{display: none; position: absolute; top: 100%; left: -16px; margin: 0; padding: 18px 0 0; list-style: none; z-index: 210;}
.ae-legacy .nav-dd-menu::before{content: ""; position: absolute; inset: 10px 0 0; background: #0D1F14; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,0.35);}
.ae-legacy .nav-dd.open .nav-dd-menu{display: block;}
@media (hover: hover){.ae-legacy html:not(.nav-js) .nav-dd:hover .nav-dd-menu{display: block;}}
.ae-legacy .nav-dd-menu li{position: relative;}
.ae-legacy .nav-dd-menu li:first-child{padding-top: 8px;}
.ae-legacy .nav-dd-menu li:last-child{padding-bottom: 8px;}
.ae-legacy .nav-links .nav-dd-menu a{display: block; width: 300px; padding: 10px 18px; color: rgba(255,255,255,0.88); text-transform: none; letter-spacing: 0; font-size: .9375rem; font-weight: 700; white-space: normal;}
.ae-legacy .nav-links .nav-dd-menu a span{display: block; margin-top: 2px; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,0.62);}
.ae-legacy .nav-links .nav-dd-menu a:hover,.ae-legacy .nav-links .nav-dd-menu a:focus-visible{color: #fff; background: rgba(255,255,255,0.06);}
.ae-legacy .nav-links .nav-dd-menu a.nav-dd-all{margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.08); color: #F5C66A; font-size: .9375rem; letter-spacing: normal; text-transform: none;}
.ae-legacy .nav-links .nav-dd-btn:focus-visible{outline: 2px solid #E09B2D; outline-offset: 4px; border-radius: 2px;}
.ae-legacy .mobile-menu .mobile-menu-sub{padding-left: 16px; font-size: .9375rem; color: rgba(255,255,255,0.5);}
@media (min-width: 1025px){.ae-legacy .footer-top{grid-template-columns: 2fr repeat(4, 1fr); gap: 40px;}}
@media (max-width: 1279px){.ae-legacy .nav-links{display: none;}
.ae-legacy .hamburger{display: flex;}}
@media (min-width: 1280px) and (max-width: 1359px){.ae-legacy .nav-links{gap: 18px;}
.ae-legacy .nav-right{gap: 22px;}}
.ae-legacy .est-full{margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14); font-size: .9375rem; line-height: 1.55; color: rgba(255,255,255,0.88);}
.ae-legacy .est-full a{display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; min-height: 46px; padding: 10px 16px; border: 1.5px solid #F5C66A; border-radius: 4px;
      color: #F5C66A; font-weight: 800; font-size: .9375rem; letter-spacing: normal; text-transform: none; text-decoration: none; text-align: center; transition: background 0.15s, color 0.15s;}
.ae-legacy .est-full a::after{content: "\2192"; font-size: 1.0625rem; letter-spacing: 0;}
.ae-legacy .est-full a:hover,.ae-legacy .est-full a:focus-visible{background: #F5C66A; color: #0D1F14;}
.ae-legacy .est-full a:focus-visible{outline: 2px solid #fff; outline-offset: 2px;}
.ae-legacy .d179-cstart .d179-calc-btn{display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 46px; padding: 10px 20px; border-radius: 4px; background: #1D6B35; color: #fff;
      font-weight: 800; font-size: .9375rem; letter-spacing: normal; text-transform: none; text-decoration: none; transition: background 0.15s;}
.ae-legacy .d179-cstart .d179-calc-btn::after{content: "\2192"; font-size: 1.0625rem; letter-spacing: 0;}
.ae-legacy .d179-cstart .d179-calc-btn:hover,.ae-legacy .d179-cstart .d179-calc-btn:focus-visible{background: #155227; color: #fff;}
.ae-legacy .d179-cstart .d179-calc-btn:focus-visible{outline: 3px solid #E09B2D; outline-offset: 2px;}
.ae-legacy .est-card.is-179d .est-full a{background: #F5C66A; color: #0D1F14;}
.ae-legacy .est-card.is-179d .est-full a:hover,.ae-legacy .est-card.is-179d .est-full a:focus-visible{background: #FFD98A; color: #0D1F14;}
@media (max-width: 640px){.ae-legacy .d179-cstart .d179-calc-btn{display: flex; justify-content: center;}}
/* ── Site system adjustments (Oct 28, 2026) ── */
.ae-legacy .reveal{opacity:1;transform:none}
.ae-legacy{--muted:#4C544A}
/* labels: 12 px floor */
.ae-legacy :is(.est-entity-btn,.est-pwa-btn,.spec-tab,.d179-callout-label,.d179-cstart-label,.d179-rate-label,.d179-rate-pwa-tag,.d179-systems-eyebrow,
  .dual-callout-label,.dual-card-output-label,.est-also-label,.est-card-eyebrow,.est-entity-info-label,.est-gb-label,.est-grandfather-label,.est-input-hint,
  .est-input-label,.est-lookback-label,.est-lookback-note,.est-output-label,.est-qre-note-label,.process-col-eyebrow,.section-tag,.spec-acts-label,
  .spec-fpt-label,.spec-qre-examples-label,.spec-qre-label,.dual-card-tag,.process-badge,.spec-qre-bar-name,.spec-qre-bar-pct,.spec-tab-badge,
  .why-card-tag,h5,th){font-size:.9375rem !important}
.ae-legacy :is(span,strong,b,em):not([class]){font-size:max(12px,1em)!important}
/* body copy: 15 px floor, 16 px for most paragraphs */
.ae-legacy :is(p,li,td){font-size:max(15px,1em)!important}
.ae-legacy :is(p.est-foot,p.est-full,p.d179-rates-link,td.deduction){font-size:.9375rem !important}
/* touch targets: 44 px; the sliders keep their 6 px track drawn inside a 44 px control */
.ae-legacy :is(.est-entity-btn,.est-pwa-btn,.ec-trigger,.est-year-select){min-height:44px!important}
.ae-legacy .est-slider{height:44px;padding:19px 0;background-clip:content-box;box-sizing:border-box}
/* contrast */
.ae-legacy :is(.dual-card-output-label,.spec-qre-examples-label){color:#8A5A12!important}
.ae-legacy .est-input-hint{color:#9FD3AE!important}
.ae-legacy .d179-rate-base .d179-rate-to{color:#0D1F14!important}
.ae-legacy .d179-rate-pwa .d179-rate-to{color:rgba(245,198,106,.8)!important}   /* Session 37: was ink on the dark card */
.ae-legacy .spec-tab.active .spec-tab-badge{background:#155227!important}
.ae-legacy p a,.ae-legacy li a{color:var(--green-dk,#155227)}
.ae-legacy .est-output-label{color:#B9C2BB!important;opacity:1!important}
.ae-legacy :is(.est-grandfather-label,.est-entity-info-label){color:#9FD3AE!important}
.ae-legacy .d179-rate-to{opacity:1!important}
.ae-legacy .d179-section a:not([class]),.ae-legacy .d179-rates-link a{color:#155227!important;opacity:1!important}
.ae-legacy .d179-examples-table td.deduction{color:#8A5A12!important}
.ae-legacy .spec-fpt li{flex-wrap:wrap}
.ae-legacy .spec-fpt li span{white-space:normal;min-width:0}

/* ── Item 4 (Oct 30, 2026): condensed layout, on with the cond class (same copy, less chrome), as on the other industry pages ── */
.ae-legacy.cond > section{padding-top:clamp(44px,5.5vw,72px);padding-bottom:clamp(44px,5.5vw,72px)}
.ae-legacy.cond .section-hd{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:28px;max-width:860px}
.ae-legacy.cond .hd-card{background:none;border-left:0;padding:0;font-size:1.0625rem;line-height:1.65;font-weight:500}
.ae-legacy.cond .hd-card.on-cream,.ae-legacy.cond .hd-card.on-white{color:var(--ink)}
.ae-legacy.cond .hd-card a{text-decoration:underline;text-underline-offset:2px}
.ae-legacy.cond .section-tag{margin-bottom:10px}
/* designer 179D blocks open on tap under their own heading */
.ae-legacy.cond details.d179-block{display:block;margin-bottom:12px;background:var(--white);border-radius:8px;border-left:3px solid var(--green)}
.ae-legacy.cond details.d179-block>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:16px 22px}
.ae-legacy.cond details.d179-block>summary::-webkit-details-marker{display:none}
.ae-legacy.cond details.d179-block>summary h3{margin:0;font-size:1.0625rem;line-height:1.3}
.ae-legacy.cond details.d179-block>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(45deg);margin:0 6px 4px 0;flex:none}
.ae-legacy.cond details.d179-block[open]>summary::after{transform:rotate(-135deg);margin-bottom:-4px}
.ae-legacy.cond details.d179-block>.d179-card,.ae-legacy.cond details.d179-block>.d179-callout,.ae-legacy.cond details.d179-block>.d179-systems-hd{border-left:0;padding-top:0}
.ae-legacy.cond details.d179-block>div{padding-left:22px;padding-right:22px;padding-bottom:18px}
/* "why aecre" cards: on phones, the decorative number and icon go */
@media(max-width:700px){.ae-legacy.cond .why-card-num,.ae-legacy.cond .why-card-icon{display:none}.ae-legacy.cond .why-card{padding:18px 18px 20px}}

}
/* Tap targets at least 44 px tall (Step 3, Nov 14, 2026; Taylor's phone-polish list plus the same components found by a 390 px sweep
   of all 48 pages). Inline links: vertical padding only (no layout change). Block links: padding with an equal negative margin. */
.ae-legacy .related-ind-all{padding-block:10px;margin-top:4px;margin-bottom:-10px}
/* Who-does-this-work line and state link (session 17, Nov 14, 2026; Taylor: every industry page lists roles, expenses and the state lookup) */
.spec-roles{font-size:.9375rem;line-height:1.6;color:var(--ink);padding:12px 16px;margin:0 0 12px;background:rgba(255,255,255,.7);border-radius:4px;border-left:2px solid var(--green)}
.spec-roles strong{font-weight:700;color:var(--ink)}
dl.glance dd a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px;padding-block:10px}
.hero .panel dl.glance dd a{color:var(--amber-lt)}
/* Session 28 (item 12): the A&E estimators in the site's shared estimator layout (stacked, cream, white question card,
   the shared result card from css/chrome.css .ucard) */
section.aee{background:#F4F3EE;color:#0D1F14;padding:96px 0}
.aee .aee-wrap{max-width:1120px;margin:0 auto;padding:0 32px}
.aee .aee-head h2{font-size:clamp(32px,3.6vw,44px);line-height:1.1;letter-spacing:-.02em;margin:0;color:#0D1F14}
.aee .aee-head h2 .acc{color:#1D6B35}
.aee .aee-head p{font-size:17px;line-height:1.6;max-width:640px;margin:14px 0 0;color:#0D1F14}
.aee .aee-row{margin-top:56px}
.aee .aee-rh{font-size:28px;line-height:1.2;letter-spacing:-.01em;margin:0 0 20px;color:#0D1F14}
.aee .aee-g{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:24px;align-items:start}
.aee .aee-in{background:#fff;border:1px solid rgba(13,31,20,.16);border-radius:16px;padding:32px}
.aee .eg+.eg{margin-top:28px}
.aee .eh{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 12px}
.aee .en{flex:none;width:32px;height:32px;border-radius:50%;background:#0D1F14;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.aee .eh label,.aee .eh .eh-t{font-size:20px;font-weight:700;color:#0D1F14}
.aee .eh .opt{font-size:17px;color:#0D1F14}
.aee select,.aee input[type=text]{width:100%;min-height:56px;padding:0 18px;border:1.5px solid rgba(13,31,20,.55);border-radius:10px;background:#fff;color:#0D1F14;font:400 17px/1.3 'Plus Jakarta Sans','Plus Jakarta Sans Fallback',system-ui,sans-serif}
.aee .money{display:flex;align-items:center;gap:6px;min-height:56px;padding:0 0 0 18px;border:1.5px solid rgba(13,31,20,.55);border-radius:10px;background:#fff;font-size:17px}
.aee .money input{border:0;min-height:52px;padding:0 18px 0 0}
.aee .two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.aee .two label,.aee .sub-q label{display:block;font-size:15px;font-weight:600;margin:0 0 6px;color:#0D1F14}
.aee .sub-q{margin-top:16px}
.aee .hint{font-size:15px;line-height:1.5;margin:8px 0 0;color:#0D1F14}
.aee .seg{display:grid;grid-template-columns:1fr 1fr;border:1.5px solid rgba(13,31,20,.55);border-radius:10px;overflow:hidden}
.aee .seg button,.aee .yn button{min-height:48px;border:0;background:#fff;color:#0D1F14;font:600 16px 'Plus Jakarta Sans','Plus Jakarta Sans Fallback',system-ui,sans-serif;cursor:pointer}
.aee .seg button+button,.aee .yn button+button{border-left:1.5px solid rgba(13,31,20,.55)}
.aee .seg button[aria-pressed=true],.aee .yn button[aria-pressed=true]{background:#0D1F14;color:#fff}
.aee .seg.locked button{cursor:not-allowed}
.aee .aq{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-top:1px solid rgba(13,31,20,.12)}
.aee .aq p{margin:0;font-size:17px;line-height:1.45;color:#0D1F14}
.aee .yn{flex:none;display:grid;grid-template-columns:72px 72px;border:1.5px solid rgba(13,31,20,.55);border-radius:10px;overflow:hidden}
.aee .aee-card{background:#0D1F14;border-radius:16px;padding:28px;position:sticky;top:96px}
.aee :focus-visible{outline:3px solid #1D6B35;outline-offset:2px}
.aee .aee-card :focus-visible{outline-color:#F5C66A}
.aee .ae-capture{margin-top:40px}
@media(max-width:960px){.aee .aee-g{grid-template-columns:minmax(0,1fr)}.aee .aee-card{position:static}}
@media(max-width:767px){section.aee{padding:64px 0}.aee .aee-wrap{padding:0 20px}.aee .aee-in{padding:20px}.aee .aq{flex-direction:column;align-items:flex-start}.aee .aee-rh{font-size:28px}.aee .two{grid-template-columns:1fr}}
@layer legacy {   /* the page's legacy text floor (.ae-legacy :is(p,li,td) !important) would otherwise set the card's figures to 15 px */
.aee .ucard{container-type:inline-size}   /* Session 37: figures shrink to fit (a 3,000,000 sq ft 179D figure ran past the card at 320 px); --n set on the page */
.aee .ucard .uc-fig{font-size:min(36px,calc((100cqi - 4px) / (var(--n,10) * 0.62)))!important;line-height:1.12!important}
.aee .ucard .uc-hl-f{font-size:min(28px,calc((100cqi - 40px) / (var(--n,10) * 0.62)))!important;line-height:1.15!important}
.aee .ucard .uc-hl-l,.aee .ucard .uc-hl-n,.aee .ucard .uc-pill{font-size:15px!important}
.aee .hint,.aee .ucard .uc-basis,.aee .ucard .uc-ctx{font-size:15px!important}
.aee .aq p,.aee .seg button,.aee .yn button{font-size:17px!important}.aee .aee-head p{font-size:17px!important}
}
.aee .ec--light .ec-hint{color:#2E352D}   /* 9:1 on cream (grayscan house rule) */

/* Session 31 (Taylor approved Nov 17, 2026): the MEP firm R&D case study comes before the estimators, as a dark card on a light
   band, matching the industry pages (their .cs rules live in industry-v2.css, which this page does not load; values copied).
   The estimators band turns white so the two light bands alternate. A 179D designer case joins when aecre has one (DF list). */
section.aee.ae-white{background:#fff} .aee.ae-white .aee-in{background:#F4F3EE}
.ae-case .cs{background:#0D1F14;color:#F4F3EE;border-radius:16px;padding:48px}
.ae-case .cs h2{color:#fff;max-width:900px;margin:0 0 40px;text-wrap:balance}
.ae-case .cs .eyebrow{color:#F5C66A;margin:0 0 12px}
.ae-case .badges{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 16px;padding:0}
.ae-case .badges li{font-size:15px;font-weight:600;line-height:1.2;color:#F4F3EE;border:1.5px solid rgba(244,243,238,.45);border-radius:8px;padding:7px 12px}
.ae-case .badges li:first-child{background:#F4F3EE;color:#0D1F14;border-color:#F4F3EE}
.ae-case .cs-stats{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:24px;margin:0 0 48px}
.ae-case .cs-stat{display:flex;flex-direction:column;justify-content:flex-end;background:#1C3625;border:1px solid rgba(244,243,238,.14);border-radius:12px;padding:28px;margin:0}
.ae-case .cs-fig{font-size:30px;font-weight:700;line-height:1.1;color:#fff;margin:0 0 8px;letter-spacing:-.02em}
.ae-case .cs-stat.lead .cs-fig{font-size:48px;color:#E09B2D;white-space:nowrap}
.ae-case .cs-lab{color:#F4F3EE;font-size:17px;margin:0}
.ae-case .cs-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.ae-case .cs-story h3{color:#fff;font-size:20px;margin:0 0 8px} .ae-case .cs-story p{color:#F4F3EE;margin:0}
.ae-case .cs-links{display:flex;flex-wrap:wrap;gap:8px 32px}
.ae-case .cs-cta{display:inline-flex;align-items:center;min-height:48px;margin-top:32px;color:#F5C66A!important;font-weight:700;font-size:17px;text-underline-offset:4px}
.ae-case .cs-cta .arr{width:18px;height:18px;vertical-align:-3px;margin-left:6px;stroke:currentColor;stroke-width:2;fill:none}
@media(max-width:1099px){.ae-case .cs-stats{grid-template-columns:minmax(0,1fr) minmax(0,1fr)} .ae-case .cs-stat.lead{grid-column:1/-1}}
@media(max-width:960px){.ae-case .cs{padding:32px} .ae-case .cs-story{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:600px){.ae-case .cs{padding:24px 20px} .ae-case .cs-stats{grid-template-columns:minmax(0,1fr);gap:12px} .ae-case .cs-stat{padding:20px} .ae-case .cs-stat.lead .cs-fig{font-size:36px;white-space:normal}}
@layer legacy {   /* the page's legacy text floor (.ae-legacy :is(p,li,td) !important) would otherwise set the case figures to 17 px */
.ae-case .cs-fig{font-size:30px!important;line-height:1.1!important}
.ae-case .cs-stat.lead .cs-fig{font-size:48px!important}
.ae-case .badges li{font-size:15px!important;line-height:1.2!important}
.ae-case .cs .eyebrow{font-size:15px!important;line-height:1.6!important}
@media(max-width:600px){.ae-case .cs-stat.lead .cs-fig{font-size:36px!important}}
}
/* Session 32: both partners' cards inside Why aecre (the Team band no longer sits under the hero; Taylor, Nov 17, 2026) */
.ae-legacy .why-people{margin-top:48px}
.ae-legacy .why-people h3{margin:0 0 16px;font-size:20px;line-height:1.3;color:var(--ink,#0D1F14)}
.ae-legacy .why-people .pp-c{background:#fff;border:1px solid var(--cream-dk,#E4E2D8)}
@media(max-width:640px){.ae-legacy .why-people{margin-top:8px}}
/* Session 32 (Taylor approved): the R&D and 179D estimators sit behind one two-tab switch, one at a time, R&D first. Unlayered so
   the legacy and foundation button rules don't reach it. Same look as the estimators' answer buttons: green and white when chosen. */
.aee-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:560px;margin:24px 0 32px}
.aee-tabs [role=tab]{min-height:48px;padding:8px 12px;border:1px solid var(--edge-click,#8E968F);border-radius:8px;background:#fff;color:var(--ink,#0D1F14);font:700 17px/1.2 'Plus Jakarta Sans','Plus Jakarta Sans Fallback',system-ui,sans-serif;cursor:pointer}
.aee-tabs [role=tab][aria-selected=true]{background:var(--green,#1D6B35);border-color:var(--green,#1D6B35);color:#fff}
.aee-tabs [role=tab]:focus-visible{outline:3px solid var(--amber,#E09B2D);outline-offset:2px}
.aee-row[hidden]{display:none!important}

/* Source quotes (Session 42): same card as css/service-v2.css; checked by _checks/check_source_quotes.py.
   Placed below each section's two-column heading row (no empty right side there). */
@layer legacy {
.ae-legacy .srcq{margin:-16px 0 40px;padding:22px 26px;border-radius:16px;background:#0D1F14;border-left:5px solid #F2C36B;box-shadow:0 12px 30px rgba(13,31,20,.18)}
.ae-legacy .srcq blockquote{margin:0}
.ae-legacy .srcq blockquote p{margin:0;max-width:36em;font-size:19px!important;line-height:1.45;font-weight:600;color:#F4F3EE}
.ae-legacy .srcq figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin-top:8px;font-size:15px;color:#F4F3EE}
.ae-legacy .srcq-k{font-weight:700;color:#F2C36B}
.ae-legacy .srcq figcaption a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.ae-legacy .srcq figcaption a[href][target]{color:#F2C36B!important}   /* beats .d179-section a:not([class]) (green !important) */
@media(max-width:640px){.ae-legacy .srcq{padding:18px 18px 12px}.ae-legacy .srcq blockquote p{font-size:17px!important}}
}
