/* EDEX for AutoCAD — model-space theme on top of max.css */
.mx.ac {
  --bg: #0b0e13; --bg2: #10141b; --card: #121720; --card2: #171d28; --line: #222a37; --line2: #2f3948;
  --tx: #eef2f8; --tx2: #a5afc2; --tx3: #6c768c;
  --red: #ff3355; --cyan: #4fd6ff; --lime: #ff8fa3;
  --grad: linear-gradient(100deg, #ff8a5c 0%, #ff3355 48%, #d4145a 100%);
  --mono: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  --acc: #e8173f; --acc-rgb: 232,23,63;
}
/* the AutoCAD windows stay dark in both site themes */
.ac-win, .ac-lm, .ac-rib { --tx: #eef2f8; --tx2: #a5afc2; --tx3: #6c768c; color: var(--tx); }
.ac .btn-pri { box-shadow: 0 10px 40px -10px rgba(255,51,85,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.ac .btn-pri:hover { box-shadow: 0 18px 50px -12px rgba(255,90,92,.75); }
.ac .btn-ghost:hover { border-color: var(--red); background: rgba(255,51,85,.08); }
.ac .btn-ghost .ic { color: var(--cyan); }
.ac .mx-head .eyebrow { color: #ff9aab; background: rgba(255,51,85,.08); border-color: rgba(255,51,85,.25); }
.ac .mx-badge b { background: var(--red); color: #fff; }
.ac .mx-badge img { width: 30px; height: 32px; }
.ac .mx-hero-bg .glow { top: 64%; background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(255,51,85,.20), rgba(79,214,255,.07) 45%, transparent 70%); }
.ac .mx-stats > div:first-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.ac .mx-engines .eng img { height: 28px; }
.ac .mx-engines .tag { font: 600 12px var(--mono); color: var(--tx2); padding: 5px 10px; border: 1px solid var(--line2); border-radius: 8px; }
.ac .b-ic { background: rgba(255,51,85,.1); border-color: rgba(255,51,85,.3); color: #ff8fa3; }
.ac .mx-bento .b::after { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,51,85,.10), transparent 40%); }
.ac .pc.hot { background: linear-gradient(180deg, #24141c, #140f15) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -30px rgba(255,51,85,.55); }
.ac .pc .per { color: #ffb3c0; background: rgba(255,51,85,.1); }
.ac .pc li .ic, .ac .mx-guar .ic { color: var(--cyan); }
.ac .mx-steps i { box-shadow: 0 10px 30px -8px rgba(255,51,85,.7); }
.ac .mx-subbar { background: rgba(255,51,85,.1); border-color: rgba(255,51,85,.4); }
.ac .mx-subbar em { background: var(--cyan); }
.ac .mx-support { background: linear-gradient(160deg, #b3123f 0%, #ff3355 55%, #ff8a5c 100%); }
.ac .mx-support .btn { color: #8a0f30; }
.ac .mx-faq details[open] { border-color: rgba(255,51,85,.55); }
.ac .mx-faq summary::after { color: var(--red); }
.ac .mx-sticky { box-shadow: 0 16px 50px -10px rgba(255,51,85,.8); }
.ac .mx-demo-sec::before, .ac .mx-plans::before { background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,51,85,.12), transparent 70%); }
.ac .mx-app { box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03), 0 0 90px -20px rgba(255,51,85,.35); }
.ac .frame-load .spin { border-color: rgba(255,51,85,.2); border-top-color: var(--red); }
.ac .vp-toast a { color: var(--cyan); }

/* ═════ HERO: the drawing window ═════ */
.ac-hero { padding-bottom: 30px; }
@media (min-width: 1024px) { .ac-hero .mx-split-in { grid-template-columns: .92fr 1.18fr; } }
.ac-win { position: relative; margin: 26px 0 0; width: 100%; border-radius: 14px; overflow: hidden; text-align: left; background: #1b2129; border: 1px solid #2c3542; box-shadow: 0 70px 140px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03), 0 0 120px -30px rgba(255,51,85,.3); font-family: 'Segoe UI', Tahoma, sans-serif; }
.ac-tabs { display: flex; align-items: center; gap: 2px; height: 38px; padding: 0 10px; background: #13171d; border-bottom: 1px solid #0a0c10; font-size: 12px; color: #8792a5; }
.ac-tabs img { width: 18px; height: 20px; margin-right: 10px; }
.ac-tabs .tab { padding: 6px 14px; border-radius: 6px 6px 0 0; }
.ac-tabs .tab.on { background: #1b2129; color: #fff; }
.ac-tabs .tab i { font-style: normal; margin-left: 10px; opacity: .5; }
.ac-tabs .tab.add { opacity: .6; }
.ac-tabs em { font-style: normal; margin-left: auto; padding: 3px 10px; border-radius: 5px; background: #2a3340; color: #dfe6f0; font-size: 11px; }
.ac-tabs em.dim { margin-left: 6px; background: none; color: #6f7a8d; }
.ac-body { display: block; }
/* EDEX block palette as a strip docked under the file tabs */
.ac-pal { display: flex; align-items: center; gap: 12px; padding: 7px 10px; background: #161b22; border-bottom: 1px solid #0d1015; overflow: hidden; }
.ac-pal-h { display: flex; flex-direction: column; flex: none; font-size: 10.5px; line-height: 1.3; color: #7d889b; }
.ac-pal-h b { color: #fff; font-size: 12px; letter-spacing: .6px; }
.ac-pal-h span { color: #ff8fa3; }
.ac-pal-g { display: flex; gap: 5px; }
.ac-pal-g figure { position: relative; width: 42px; height: 42px; flex: none; border-radius: 8px; background: #0f1318; border: 1px solid #222a35; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.ac-pal-g figure img { width: 100%; height: 100%; object-fit: cover; }
/* block previews are dark lines on paper: invert so the paper drops out and the lines glow in a layer colour */
.ac-pal-g figure img, .ac-blk img { filter: invert(1) contrast(1.7) sepia(1) saturate(3.2) hue-rotate(var(--h, 145deg)) brightness(1.15); }
.ac-pal-g figure img, .ac-blk { mix-blend-mode: screen; }
.ac-pal-g figure.on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 18px -2px rgba(255,51,85,.6); }

.ac-model { position: relative; overflow: hidden; background-color: #1b2129;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.ac-inner { position: absolute; left: 0; top: 0; width: 1200px; height: 600px; }
.ac-walls { position: absolute; inset: 0; overflow: visible; }
.ac-lines path { fill: none; stroke: #d6dde8; stroke-linejoin: miter; }
.ac-lines .ext { stroke-width: 12; }
.ac-lines .int { stroke-width: 7; }
.ac-lines .cab { stroke-width: 2; stroke: #8fa0b8; }
.ac-lines .lot { stroke-width: 1.5; stroke: #5c6b80; }
.ac-open rect { fill: #1b2129; }
.ac-open path { fill: none; stroke: #4fd6ff; stroke-width: 1.4; }
.ac-open .leaf { stroke: #ffd23d; stroke-width: 1.6; }
.ac-dimg path { stroke: #ff6b85; stroke-width: 1.2; fill: none; }
.ac-dimg text { fill: #ff8fa3; font: 600 13px var(--mono); text-anchor: middle; }
.ac-lines path, .ac-open path { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.ac-lines .lot { stroke-dasharray: 10 8; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s .8s; }
.ac-open rect { opacity: 0; transition: opacity .4s; }
.ac-dimg { opacity: 0; transition: opacity .6s; }
.ac-win.walls .ac-lines path:not(.lot) { animation: acDraw 2.2s cubic-bezier(.6,.1,.3,1) forwards; }
.ac-win.walls .ac-lines .int { animation-delay: .6s; }
.ac-win.walls .ac-lines .cab { animation-delay: 1.2s; }
.ac-win.walls .ac-lines .lot { opacity: 1; }
.ac-win.walls .ac-open rect { opacity: 1; transition-delay: 1.4s; }
.ac-win.walls .ac-open path { animation: acDraw 1.6s ease forwards 1.5s; }
.ac-win.dims .ac-dimg { opacity: 1; }
@keyframes acDraw { to { stroke-dashoffset: 0; } }

.ac-blk { position: absolute; opacity: 0; transform: scale(1.18); transition: opacity .35s, transform .45s cubic-bezier(.2,1.3,.4,1); }
.ac-blk img { width: 100%; height: 100%; object-fit: contain; }
.ac-blk.on { opacity: 1; transform: none; }
.ac-blk .g { position: absolute; width: 9px; height: 9px; background: #3f8cff; border: 1px solid #b9d4ff; opacity: 0; transition: opacity .2s; }
.ac-blk::after { content: ""; position: absolute; inset: 6%; border: 1px dashed #3f8cff; opacity: 0; transition: opacity .2s; }
.ac-blk.sel::after, .ac-blk.sel .g { opacity: 1; }
.ac-blk .g1 { left: 6%; top: 6%; transform: translate(-50%,-50%); }
.ac-blk .g2 { right: 6%; top: 6%; transform: translate(50%,-50%); }
.ac-blk .g3 { left: 6%; bottom: 6%; transform: translate(-50%,50%); }
.ac-blk .g4 { right: 6%; bottom: 6%; transform: translate(50%,50%); }
.ac-win.out .ac-blk, .ac-win.out .ac-room { opacity: 0; transition: opacity .8s; }

.ac-room { position: absolute; transform: translate(-50%,-50%) scale(.9); direction: rtl; font: 700 14px 'MxFa', Tahoma, sans-serif; color: #e8edf5; white-space: nowrap; opacity: 0; transition: opacity .4s, transform .4s; text-align: center; line-height: 1.35; text-shadow: 0 1px 6px #1b2129, 0 0 3px #1b2129; }
.ac-room b { display: block; font: 600 12px var(--mono); color: var(--cyan); font-weight: 600; }
.ac-win.rooms .ac-room { opacity: 1; transform: translate(-50%,-50%); }
.ac-win.rooms .ac-room:nth-of-type(2) { transition-delay: .15s; } .ac-win.rooms .ac-room:nth-of-type(3) { transition-delay: .3s; }

.ac-cross { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: transform .8s cubic-bezier(.5,.1,.25,1); pointer-events: none; }
.ac-cross i { position: absolute; background: #e8edf5; }
.ac-cross .h { left: -70px; top: 0; width: 140px; height: 1px; }
.ac-cross .v { top: -70px; left: 0; width: 1px; height: 140px; }
.ac-cross .box { left: -6px; top: -6px; width: 12px; height: 12px; background: none; border: 1px solid #e8edf5; }
.ac-ucs { position: absolute; left: 14px; bottom: 12px; width: 46px; height: 46px; border-left: 2px solid #3ddc84; border-bottom: 2px solid #ff4d4d; font: 700 10px var(--mono); }
.ac-ucs i { position: absolute; font-style: normal; }
.ac-ucs .y { top: -14px; left: -5px; color: #3ddc84; }
.ac-ucs .x { right: -12px; bottom: -6px; color: #ff4d4d; }

.ac-cmd { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; background: #10141a; border-top: 1px solid #2a323e; font: 13px var(--mono); color: #d8dee8; white-space: nowrap; overflow: hidden; }
.ac-cmd .pr { color: #6c778a; font-size: 14px; }
.ac-cmd #acCmd { overflow: hidden; text-overflow: ellipsis; }
.ac-cmd .caret { width: 8px; height: 16px; background: #d8dee8; animation: acBlink 1s steps(1) infinite; flex: none; }
@keyframes acBlink { 50% { opacity: 0; } }
.ac-status { display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; background: #13171d; font: 11px var(--mono); color: #6f7a8d; }
.ac-status b { color: #dfe6f0; margin-right: 8px; font-weight: 600; }
.ac-status span { padding: 2px 7px; border-radius: 4px; }
.ac-status span.on { color: #4fd6ff; background: rgba(79,214,255,.1); }
.ac-status em { margin-left: auto; font-style: normal; color: #a5afc2; }
@media (max-width: 640px) { .ac-status span, .ac-tabs em { display: none; } .ac-cmd { font-size: 11.5px; } }

/* ═════ MARQUEE: dark sheets ═════ */
.ac-mq .mx-mq-track figure { background: #151a22; border: 1px solid #232b37; padding: 14px; }
.ac-mq .mx-mq-track img { filter: invert(1) contrast(1.7) sepia(1) saturate(2.4) hue-rotate(145deg) brightness(1.1); mix-blend-mode: screen; }
.ac-mq .mx-mq-row.rev img { filter: invert(1) contrast(1.7) brightness(1.05); }

/* ═════ LAYER PROPERTIES MANAGER ═════ */
.ac-lm { border-radius: 14px; overflow: hidden; border: 1px solid #2c3542; background: #161b22; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); font-family: 'Segoe UI', Tahoma, sans-serif; }
.ac-lm-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #10141a; border-bottom: 1px solid #0a0c10; font-size: 11.5px; color: #7d889b; }
.ac-lm-bar b { color: #dfe6f0; letter-spacing: .8px; font-weight: 600; }
.ac-lm-bar i { margin-left: auto; font-style: normal; }
.ac-lm-t { overflow-x: auto; }
.ac-lm-r { display: grid; grid-template-columns: 26px minmax(130px, 1.2fr) 44px 54px 44px 54px 92px minmax(140px, 1.3fr) 80px 64px; align-items: center; min-width: 860px; height: 52px; padding: 0 10px; font-size: 13px; color: #c6cfdc; border-bottom: 1px solid #1f2630; transition: background .2s; }
.ac-lm-r:hover { background: #1c2330; }
@media (max-width: 640px) {
  .ac-lm-r { grid-template-columns: 16px minmax(0, 1.25fr) minmax(0, 1fr) 46px 54px; min-width: 0; gap: 6px; padding: 0 8px; }
  .ac-lm-r > span:nth-child(n+3):nth-child(-n+7) { display: none; }
  .ac-lm-r .nm { font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
  .ac-lm-r .d { font-size: 12px; padding-right: 0; }
  .ac-lm-r .pv img { width: 46px; height: 36px; }
}
.ac-lm-t, .ac-rib-tabs, .ac-rib-body { scrollbar-width: none; }
.ac-lm-t::-webkit-scrollbar, .ac-rib-tabs::-webkit-scrollbar, .ac-rib-body::-webkit-scrollbar { display: none; }
.ac-lm-r.hd { height: 34px; font-size: 11px; color: #6f7a8d; background: #12161c; }
.ac-lm-r.cur { background: rgba(255,51,85,.07); }
.ac-lm-r > span:first-child { color: #3ddc84; font-weight: 700; }
.ac-lm-r .nm { font: 600 13px var(--mono); color: #fff; }
.ac-lm-r .o { text-align: center; }
.ac-lm-r .lt { font-size: 12px; color: #8792a5; }
.ac-lm-r .d { font-family: 'MxFa', Tahoma, sans-serif; color: #e6ebf3; text-align: right; padding-right: 8px; }
.ac-lm-r .n { font-family: 'MxFa', Tahoma, sans-serif; font-weight: 800; color: var(--cyan); text-align: center; }
.ac-lm-r .pv img { width: 52px; height: 40px; object-fit: contain; border-radius: 6px; background: #0f1318; filter: invert(1) contrast(1.7); mix-blend-mode: screen; }
.ac-lm-r .cl i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: middle; }
.ac-lm-r .bulb, .ac-lm-r .sun, .ac-lm-r .lock { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.ac-lm-r .bulb { background: #ffd23d; box-shadow: 0 0 8px rgba(255,210,61,.6); }
.ac-lm-r .sun { border: 2px dotted #ffb648; }
.ac-lm-r .lock { border-radius: 3px; border: 2px solid #6f7a8d; border-top-width: 4px; }

/* ═════ RIBBON ═════ */
.ac-rib { border-radius: 16px; overflow: hidden; border: 1px solid #2c3542; background: #1a2029; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.ac-rib-tabs { display: flex; gap: 2px; height: 36px; padding: 0 10px; align-items: flex-end; background: #12161c; font: 12px 'Segoe UI', sans-serif; color: #7d889b; overflow-x: auto; }
.ac-rib-tabs span { padding: 7px 16px; border-radius: 6px 6px 0 0; white-space: nowrap; }
.ac-rib-tabs .on { color: #fff; background: #1a2029; box-shadow: inset 0 2px 0 var(--red); font-weight: 600; }
.ac-rib-body { display: flex; gap: 0; overflow-x: auto; padding: 10px 6px 0; }
.ac-grp { display: flex; flex-direction: column; border-right: 1px solid #2a323e; padding: 0 8px; flex: none; }
.ac-grp:last-child { border-right: 0; }
.ac-grp-b { display: flex; gap: 4px; }
.ac-grp-t { text-align: center; font: 11px 'Segoe UI', sans-serif; color: #6f7a8d; padding: 7px 0 8px; margin-top: 6px; border-top: 1px solid #252d38; }
.ac-tool { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 12px 4px 10px; border-radius: 10px; color: #c6cfdc; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.ac-tool .ic { width: 30px; height: 30px; color: #8fdcff; transition: transform .3s; }
.ac-tool b { font: 600 12px 'Segoe UI', sans-serif; }
.ac-tool span { font-size: 11.5px; color: #7d889b; }
.ac-tool:hover, .ac-tool.on { background: rgba(255,51,85,.1); border-color: rgba(255,51,85,.4); color: #fff; }
.ac-tool.on .ic, .ac-tool:hover .ic { color: #ff8fa3; transform: translateY(-2px); }
.ac-show { display: grid; border-top: 1px solid #2a323e; background: #151a22; }
@media (min-width: 900px) { .ac-show { grid-template-columns: minmax(260px, .78fr) 1.22fr; } }
.ac-rib-desc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 26px 24px; }
.ac-rib-desc code { font: 600 12.5px var(--mono); color: #4fd6ff; background: rgba(79,214,255,.08); border: 1px solid rgba(79,214,255,.25); padding: 5px 10px; border-radius: 8px; margin-bottom: 8px; }
.ac-rib-desc b { display: block; font-size: 22px; }
.ac-rib-desc p { color: var(--tx2); font-size: 15px; line-height: 1.95; }

/* ═════ TOOL PREVIEW: a small model space that draws the picked tool ═════ */
.ac-tv { position: relative; border-top: 1px solid #2a323e; background-color: #12161d;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; }
@media (min-width: 900px) { .ac-tv { border-top: 0; border-right: 1px solid #2a323e; } }
.ac-tv svg { display: block; width: 100%; height: auto; }
.ac-tv-cmd { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; background: #10141a; border-top: 1px solid #2a323e; font: 12px var(--mono); color: #d8dee8; white-space: nowrap; overflow: hidden; }
.ac-tv-cmd .pr { color: #6c778a; }
.ac-tv-cmd #acTvCmd { overflow: hidden; text-overflow: ellipsis; }
.ac-tv-cmd .caret { width: 7px; height: 14px; background: #d8dee8; animation: acBlink 1s steps(1) infinite; flex: none; }
.ac-tv .sc { display: none; }
.ac-tv .sc.on { display: inline; }
:where(.ac-tv) path, :where(.ac-tv) line, :where(.ac-tv) rect, :where(.ac-tv) circle { fill: none; }
.ac-tv .w { stroke: #cfd7e3; stroke-width: 15; stroke-linejoin: miter; }
.ac-tv .wi { stroke: #12161d; stroke-width: 10; stroke-linejoin: miter; }
.ac-tv .ln { stroke: #cfd7e3; stroke-width: 1.6; }
.ac-tv .wide { stroke-width: 3; }
.ac-tv .fa { stroke: #3d4859; stroke-width: 1.2; }
.ac-tv .cy { stroke: #4fd6ff; stroke-width: 1.6; }
.ac-tv .cy.wide { stroke-width: 3; }
.ac-tv .yl { stroke: #ffd23d; stroke-width: 2; }
.ac-tv .yl.thin { stroke-width: 1.2; }
.ac-tv .rd { stroke: #ff6b85; stroke-width: 1.2; }
.ac-tv .rdf { fill: #ff6b85; }
.ac-tv .gl { stroke: #ff6b85; stroke-width: 1; opacity: .8; }
.ac-tv .lv { stroke: #4fd6ff; stroke-width: 1.2; }
.ac-tv .hd { stroke: #cfd7e3; stroke-width: 1.2; stroke-dasharray: 6 4; }
.ac-tv .tc-l { stroke: #4fd6ff; stroke-width: 1.2; }
.ac-tv .cut { fill: #12161d; }
.ac-tv .bub { fill: #12161d; stroke: #4fd6ff; stroke-width: 1.4; }
.ac-tv .bub.r { stroke: #ff6b85; }
.ac-tv .post { fill: #4fd6ff; }
.ac-tv .col { fill: #cfd7e3; }
.ac-tv .slab { fill: #cfd7e3; }
.ac-tv .rf { fill: var(--c); }
.ac-tv .th { fill: rgba(255,51,85,.14); }
.ac-tv .csv { fill: rgba(79,214,255,.1); stroke: #4fd6ff; stroke-width: 1.2; }
.ac-tv .dyn { fill: rgba(79,214,255,.12); stroke: #4fd6ff; stroke-width: .8; }
.ac-tv text { font: 600 12px var(--mono); text-anchor: middle; fill: #e8edf5; }
.ac-tv .dyt { fill: #bfefff; font-size: 11.5px; }
.ac-tv .tc { fill: #4fd6ff; }
.ac-tv .tr { fill: #ff8fa3; }
.ac-tv .tf { font: 700 14px 'MxFa', Tahoma, sans-serif; fill: #eef2f8; }
.ac-tv .sl, .ac-tv .lvt { text-anchor: start; }
.ac-tv .lvt { font-size: 11px; }
.ac-tv .tv-cur { opacity: 0; transition: opacity .3s; pointer-events: none; }
.ac-tv .tv-cur path, .ac-tv .tv-cur rect { stroke: #e8edf5; stroke-width: 1; }
/* animation vocabulary: draw, pop, fade, cut, swing, click */
.ac-tv .sc.on .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: tvDraw var(--t, .8s) var(--e, cubic-bezier(.5,.1,.3,1)) var(--dl, 0s) forwards; }
.ac-tv .sc.on .pp { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tvPop .45s cubic-bezier(.2,1.4,.4,1) var(--dl, 0s) forwards; }
.ac-tv .sc.on .pp1 { opacity: 0; animation: tvFade .5s ease var(--dl, 0s) forwards; }
.ac-tv .sc.on .fd { opacity: 0; animation: tvFade .5s ease var(--dl, 0s) forwards; }
.ac-tv .sc.on .gx { transform-box: fill-box; transform-origin: center; transform: scaleX(0); animation: tvGx .45s cubic-bezier(.5,.1,.3,1) var(--dl, 0s) forwards; }
.ac-tv .sc.on .lf { opacity: 0; transform-box: fill-box; transform-origin: 0% 50%; animation: tvLeaf .8s cubic-bezier(.3,1.25,.5,1) var(--dl, 0s) forwards; }
.ac-tv .rp { stroke: #ff3355; stroke-width: 2; opacity: 0; }
.ac-tv .sc.on .rp { transform-box: fill-box; transform-origin: center; animation: tvRip .7s ease-out var(--dl, 0s) forwards; }
@keyframes tvDraw { to { stroke-dashoffset: 0; } }
@keyframes tvPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes tvFade { to { opacity: 1; } }
@keyframes tvGx { to { transform: scaleX(1); } }
@keyframes tvLeaf { from { opacity: 1; transform: rotate(0deg); } to { opacity: 1; transform: rotate(-90deg); } }
@keyframes tvRip { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.6); } }
@media (prefers-reduced-motion: reduce) {
  .ac-tv .sc.on .dr { stroke-dashoffset: 0; }
  .ac-tv .sc.on .pp, .ac-tv .sc.on .pp1, .ac-tv .sc.on .fd { opacity: 1; }
  .ac-tv .sc.on .gx { transform: none; }
  .ac-tv .sc.on .lf { opacity: 1; transform: rotate(-90deg); }
}

/* ═════ VIEWS card ═════ */
.ac-views-sec { padding-top: 0; }
.ac-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ac-vgrid figure { border-radius: 14px; background: #0f1318; border: 1px solid #232b37; overflow: hidden; }
.ac-vgrid img { width: 100%; aspect-ratio: 4/3; object-fit: contain; filter: invert(1) contrast(1.7) sepia(1) saturate(3) hue-rotate(145deg) brightness(1.15); mix-blend-mode: screen; }
.ac-vgrid figcaption { padding: 8px 10px 10px; font-size: 12.5px; color: var(--tx2); display: flex; justify-content: space-between; gap: 6px; border-top: 1px solid #1f2630; }
.ac-vgrid figcaption b { font: 700 11px var(--mono); color: #ff8fa3; }

/* ═════ LIGHT THEME: light page, the AutoCAD windows stay dark ═════ */
.mx.ac.lt .ac-win { box-shadow: 0 50px 100px -46px rgba(12,18,34,.55), 0 0 0 1px rgba(12,18,34,.06), 0 0 90px -30px rgba(255,51,85,.25); }
.mx.ac.lt .ac-lm, .mx.ac.lt .ac-rib { box-shadow: 0 34px 80px -44px rgba(12,18,34,.6); }
.mx.ac.lt .mx-app { box-shadow: 0 50px 100px -40px rgba(12,18,34,.5), 0 0 80px -30px rgba(255,51,85,.25); }
.mx.ac.lt .mx-head .eyebrow { color: #d4143f; }
.mx.ac.lt .ac-mq .mx-mq-track figure { background: #fff; border: 1px solid var(--line); padding: 14px; }
.mx.ac.lt .ac-mq .mx-mq-track img, .mx.ac.lt .ac-mq .mx-mq-row.rev img { filter: grayscale(1) contrast(1.35) brightness(1.06); mix-blend-mode: multiply; }
.mx.ac.lt .ac-vgrid figure { background: #fff; border-color: var(--line); }
.mx.ac.lt .ac-vgrid img { filter: grayscale(1) contrast(1.35) brightness(1.06); mix-blend-mode: multiply; }
.mx.ac.lt .ac-vgrid figcaption { border-top-color: var(--line); }
.mx.ac.lt .ac-vgrid figcaption b { color: #d4143f; }
.mx.ac.lt .pc .per { color: #d4143f; }
