
:root{--av4-ink:#101828;--av4-text:#475467;--av4-muted:#7a8799;--av4-line:#e4e9f1;--av4-soft:#f6f8fb;--av4-mag:#e9008c;--av4-vio:#8d00ff;--av4-cyan:#00bfe8;--av4-green:#18a66a;--av4-danger:#b42318;--av4-shadow:0 22px 70px rgba(31,51,91,.10)}
.av4-workspace{background:linear-gradient(180deg,#fbfdff 0%,#fff 100%);padding-top:86px!important;padding-bottom:110px!important}
.av4-shell{max-width:1320px!important}.av4-intro{max-width:900px;margin:0 auto 34px}.av4-intro .ancaTitle{font-size:clamp(38px,4.4vw,64px)!important;line-height:1.04}.av4-intro .ancaDescription{max-width:800px;font-size:16px!important;line-height:1.65!important}
.av4-app{max-width:1240px;margin:0 auto;border:1px solid var(--av4-line);border-radius:28px;background:#fff;box-shadow:var(--av4-shadow);overflow:hidden;color:var(--av4-ink);font-family:Poppins,Arial,sans-serif}
.av4-app *{box-sizing:border-box}.av4-app button,.av4-app input,.av4-app textarea,.av4-app select{font:inherit}.av4-app button{touch-action:manipulation}.av4-app :focus-visible{outline:3px solid rgba(141,0,255,.28);outline-offset:2px}
.av4-appbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:#fff;border-bottom:1px solid var(--av4-line)}
.av4-project{display:flex;align-items:center;gap:11px}.av4-project-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--av4-vio),var(--av4-mag));color:#fff;font-size:21px}.av4-project small,.av4-card-title small,.av4-report small{display:block;color:#98a2b3;font:800 10px Montserrat,Arial,sans-serif;letter-spacing:.10em}.av4-project strong{display:block;margin-top:3px;font:800 14px Montserrat,Arial,sans-serif}.av4-system-status{display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#f8fafc;color:#667085;font:700 12px Montserrat,Arial,sans-serif}.av4-system-status>span{width:8px;height:8px;border-radius:50%;background:#f59e0b}.av4-system-status.is-ok>span{background:#22c55e}.av4-system-status.is-error>span{background:#ef4444}
.av4-stepper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;background:linear-gradient(90deg,#f8fbff,#fff8fd);border-bottom:1px solid var(--av4-line)}.av4-stepper button{position:relative;min-height:86px;padding:12px 8px;border:0;border-right:1px solid rgba(228,233,241,.8);background:transparent;color:#667085;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:9px;text-align:left;cursor:pointer}.av4-stepper button:last-child{border-right:0}.av4-stepper button>span{grid-row:1/3;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#fff;border:1px solid #dfe5ee;color:#667085;font:800 11px Montserrat,Arial,sans-serif}.av4-stepper b{font:800 12px Montserrat,Arial,sans-serif;color:#344054}.av4-stepper small{font-size:10px;color:#98a2b3}.av4-stepper button:hover{background:rgba(255,255,255,.7)}.av4-stepper button.is-active{background:#fff}.av4-stepper button.is-active:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--av4-cyan),var(--av4-vio),var(--av4-mag))}.av4-stepper button.is-active>span{border-color:transparent;background:linear-gradient(135deg,var(--av4-vio),var(--av4-mag));color:#fff}.av4-stepper button.is-active b{color:#101828}
.av4-progress{height:4px;background:#eef2f7}.av4-progress span{display:block;width:14.285%;height:100%;background:linear-gradient(90deg,var(--av4-cyan),var(--av4-vio),var(--av4-mag));transition:width .25s ease}
.av4-stage{min-height:630px}.av4-panel{display:none;padding:34px 36px 38px}.av4-panel.is-active{display:block}.av4-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}.av4-panel-head>div:first-child{max-width:760px}.av4-eyebrow{display:block;color:#8a96a8;font:800 11px Montserrat,Arial,sans-serif;letter-spacing:.13em}.av4-panel-head h3{margin:6px 0 8px;font:800 clamp(28px,3vw,40px) Montserrat,Arial,sans-serif;letter-spacing:-.04em;line-height:1.08;color:#101828}.av4-panel-head p{margin:0;color:#667085;font-size:15px;line-height:1.7}.av4-purpose{flex:0 0 310px;display:flex;gap:10px;padding:14px 15px;border:1px solid #e2e8f0;border-radius:14px;background:#fbfcfe}.av4-purpose>i{font-size:21px;color:#8d00ff}.av4-purpose strong{display:block;font:800 12px Montserrat,Arial,sans-serif}.av4-purpose span{display:block;margin-top:4px;color:#667085;font-size:12px;line-height:1.45}
.av4-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.75fr);gap:22px}.av4-card{padding:24px;border:1px solid var(--av4-line);border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(31,51,91,.05)}
.av4-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.av4-field.av4-span2{grid-column:1/-1}.av4-field{display:block}.av4-field>span{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#344054;font:800 13px Montserrat,Arial,sans-serif}.av4-field>span small{font-weight:500;color:#98a2b3}.av4-field input,.av4-field select,.av4-field textarea{width:100%;border:1px solid #d7dfe9;border-radius:12px;background:#fff;color:#101828;padding:12px 13px;font-size:14px;outline:0;transition:.15s}.av4-field input,.av4-field select{height:48px}.av4-field textarea{min-height:134px;resize:vertical;line-height:1.55}.av4-field input:focus,.av4-field select:focus,.av4-field textarea:focus{border-color:#8d00ff;box-shadow:0 0 0 4px rgba(141,0,255,.08)}.av4-field em{display:block;margin-top:6px;color:#98a2b3;font-size:11px;font-style:normal;line-height:1.4}
.av4-actions,.av4-bottom-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.av4-actions-main{margin-top:20px}.av4-bottom-actions{justify-content:space-between;margin-top:24px;padding-top:20px;border-top:1px solid #eef1f5}.av4-btn{min-height:48px;padding:11px 17px;border:1px solid transparent;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:800 12px Montserrat,Arial,sans-serif;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}.av4-btn i{font-size:18px}.av4-btn-primary{background:#111827;color:#fff}.av4-btn-primary:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(17,24,39,.16)}.av4-btn-secondary{background:#fff;border-color:#ccd5e1;color:#101828}.av4-btn-ghost{background:#f8fafc;border-color:#e1e7ef;color:#475467}.av4-wide{width:100%;margin-top:12px}.av4-status{min-height:22px;margin-top:10px;color:#667085;font-size:12px}.av4-status.is-ok{color:#087a45}.av4-status.is-error{color:#b42318}
.av4-advisor{padding:24px;border-radius:18px;background:linear-gradient(145deg,#0f172a 0%,#16213c 60%,#22124b 100%);color:#fff;box-shadow:0 16px 35px rgba(15,23,42,.15)}.av4-advisor-top{display:flex;align-items:center;gap:8px;color:#dbe4f3;font:800 11px Montserrat,Arial,sans-serif;letter-spacing:.08em}.av4-brain-dot{width:8px;height:8px;border-radius:50%;background:#39ff88;box-shadow:0 0 14px rgba(57,255,136,.75)}.av4-advisor h4{margin:36px 0 10px;font:800 24px Montserrat,Arial,sans-serif;line-height:1.2;color:#fff}.av4-advisor p{margin:0;color:#c8d2e2;font-size:14px;line-height:1.65}.av4-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.av4-tags span{padding:6px 9px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.05);color:#e5ecf6;font-size:11px}.av4-followup{margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}.av4-followup label{display:block;margin-bottom:7px;color:#cbd5e1;font-size:11px}.av4-followup>div{display:flex;gap:7px}.av4-followup input{flex:1;height:42px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;padding:0 10px;outline:0}.av4-followup button{width:44px;border:0;border-radius:10px;background:#fff;color:#111827;cursor:pointer}.av4-followup button i{font-size:19px}
.av4-card-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.av4-card-title strong{display:block;margin-top:3px;font:800 18px Montserrat,Arial,sans-serif}.av4-card-title code{padding:7px 10px;border-radius:9px;background:#f2f4f7;color:#344054;font:800 12px Montserrat,Arial,sans-serif}.av4-color-layout{grid-template-columns:minmax(370px,.8fr) minmax(0,1.2fr)}.av4-wheel-wrap{display:grid;place-items:center;padding:3px 0 9px}.av4-wheel{position:relative;width:min(330px,76vw);aspect-ratio:1;border-radius:50%;background:conic-gradient(#ff0038,#ffea00,#55ff00,#00ffd5,#0084ff,#6e00ff,#ff00c8,#ff0038);box-shadow:inset 0 0 0 28px #fff,0 15px 35px rgba(31,51,91,.08);cursor:crosshair}.av4-wheel:after{content:"";position:absolute;inset:29%;border-radius:50%;background:#fff;border:1px solid #e1e7ef}.av4-wheel>span{position:absolute;z-index:3;left:50%;top:6px;width:18px;height:18px;margin-left:-9px;border:3px solid #fff;border-radius:50%;background:#111827;box-shadow:0 0 0 2px #111827;transform-origin:9px calc(165px - 6px);pointer-events:none}.av4-wheel-center{position:absolute;z-index:2;inset:32%;border-radius:50%;display:grid;place-items:center;align-content:center;gap:4px;background:#fff;color:#667085}.av4-wheel-center i{font-size:22px}.av4-wheel-center b{font:800 12px Montserrat,Arial,sans-serif}.av4-neutrals{display:flex;align-items:center;gap:8px;margin-top:10px}.av4-neutrals>span{margin-right:auto;color:#667085;font-size:12px;font-weight:700}.av4-neutrals button{width:44px;height:44px;border-radius:50%;border:1px solid #d6dee8;background:var(--n);cursor:pointer;box-shadow:0 2px 7px rgba(0,0,0,.05)}.av4-slider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:17px}.av4-slider-grid label>span{display:flex;justify-content:space-between;color:#667085;font-size:12px;font-weight:700}.av4-slider-grid input{width:100%;margin-top:8px}.av4-hex-row{display:grid;grid-template-columns:46px 1fr auto;gap:8px;align-items:center;margin-top:14px}.av4-hex-row label{color:#667085;font-size:11px;font-weight:800}.av4-hex-row input{height:42px;border:1px solid #d8e0ea;border-radius:10px;padding:0 10px}.av4-hex-row button{height:44px;border:0;border-radius:10px;background:#111827;color:#fff;padding:0 15px;font-weight:700;cursor:pointer}
.av4-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.av4-swatch{border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.av4-swatch-color{height:132px;border:1px solid rgba(15,23,42,.07);border-radius:13px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.20)}.av4-swatch.is-active .av4-swatch-color{outline:3px solid #111827;outline-offset:2px}.av4-swatch strong{display:block;margin-top:9px;color:#344054;font:800 11px Montserrat,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.av4-swatch code{display:block;margin-top:3px;color:#98a2b3;font-size:10px}.av4-contrast{padding:6px 9px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px;font-weight:700}.av4-harmony-title{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.av4-harmony-title strong{font:800 12px Montserrat,Arial,sans-serif}.av4-harmony-title span{color:#98a2b3;font-size:11px}.av4-harmony{display:flex;gap:7px;overflow-x:auto;padding:10px 0 5px;scrollbar-width:thin}.av4-harmony button{flex:0 0 auto;min-height:44px;padding:8px 12px;border:1px solid #dce3ec;border-radius:999px;background:#fff;color:#667085;font-size:11px;font-weight:700;cursor:pointer}.av4-harmony button.is-active{background:#111827;border-color:#111827;color:#fff}.av4-accessibility{display:flex;align-items:center;gap:8px;margin-top:16px;padding:11px 12px;border-radius:11px;background:#f8fafc;color:#667085;font-size:11px}.av4-accessibility i{font-size:18px;color:#0f9f6e}
.av4-type-layout{grid-template-columns:minmax(350px,.7fr) minmax(0,1.3fr)}.av4-font-block{padding:17px 0;border-top:1px solid #eaecf0}.av4-font-block:first-child{padding-top:0;border-top:0}.av4-label{display:block;color:#98a2b3;font:800 10px Montserrat,Arial,sans-serif;letter-spacing:.12em}.av4-font-block h4{margin:4px 0 10px;font:800 15px Montserrat,Arial,sans-serif}.av4-font-picker{position:relative}.av4-font-trigger{width:100%;height:48px;padding:0 12px;border:1px solid #d7dfe9;border-radius:11px;background:#fff;color:#101828;display:flex;align-items:center;justify-content:space-between;font-weight:700;cursor:pointer}.av4-font-trigger i{font-size:20px}.av4-font-menu{position:absolute;z-index:100;top:55px;left:0;right:0;padding:9px;border:1px solid #dce3ed;border-radius:13px;background:#fff;box-shadow:0 20px 50px rgba(16,24,40,.16)}.av4-search{display:flex;align-items:center;gap:8px;border:1px solid #dce3ed;border-radius:10px;padding:0 10px;background:#fff}.av4-search input{width:100%;height:40px;border:0;outline:0;background:transparent;font-size:13px}.av4-font-list{max-height:250px;overflow-y:auto;margin-top:8px;overscroll-behavior:contain}.av4-font-option{width:100%;min-height:44px;padding:8px 9px;border:0;border-radius:8px;background:#fff;color:#344054;text-align:left;font-size:13px;cursor:pointer}.av4-font-option:hover,.av4-font-option.is-active{background:#f2f4f7;color:#101828}.av4-weight{display:grid;grid-template-columns:60px 1fr;align-items:center;gap:10px;margin-top:10px}.av4-weight span{color:#667085;font-size:12px;font-weight:700}.av4-weight select{height:42px;border:1px solid #d8e0ea;border-radius:10px;background:#fff;padding:0 9px;font-size:12px}.av4-font-status{display:flex;gap:8px;margin-top:12px;padding:10px 11px;border-radius:10px;background:#f8fafc;color:#667085;font-size:11px}.av4-font-status i{color:#0f9f6e;font-size:18px}.av4-type-preview,.av4-shape-preview{padding:32px;border:1px solid #e3e8f0;border-radius:18px;background:radial-gradient(circle at 88% 12%,rgba(141,0,255,.08),transparent 27%),linear-gradient(145deg,#fbfdff,#f8f6ff)}.av4-preview-caption{color:#98a2b3;font:800 10px Montserrat,Arial,sans-serif;letter-spacing:.11em}.av4-type-preview h4{margin:82px 0 14px;font-size:clamp(44px,5.3vw,72px);line-height:.98;letter-spacing:-.055em}.av4-type-preview p{max-width:680px;margin:0;color:#667085;font-size:16px;line-height:1.65}.av4-type-meta{display:grid;gap:4px;margin-top:30px;padding-top:18px;border-top:1px solid #e3e8ef;color:#98a2b3;font-size:11px;overflow-wrap:anywhere}.av4-type-preview button{margin-top:22px;min-height:44px;border:0;border-radius:11px;background:#111827;color:#fff;padding:9px 14px;font-size:12px;font-weight:700}
.av4-shape-layout{grid-template-columns:minmax(350px,.75fr) minmax(0,1.25fr)}.av4-choice{padding:15px 0;border-top:1px solid #eaecf0}.av4-choice:first-child{padding-top:0;border-top:0}.av4-choice>span{display:block;margin-bottom:8px;color:#98a2b3;font:800 10px Montserrat,Arial,sans-serif;letter-spacing:.08em}.av4-choice>div{display:flex;gap:7px;flex-wrap:wrap}.av4-choice button{min-height:44px;padding:8px 11px;border:1px solid #d8e0ea;border-radius:10px;background:#fff;color:#667085;font-size:12px;font-weight:700;cursor:pointer}.av4-choice button.is-active{background:#111827;border-color:#111827;color:#fff}.av4-shape-preview{display:flex;flex-direction:column}.av4-shape-preview #av4ShapeDemo{--r:12px;--b:1px;--s:0 10px 24px rgba(16,24,40,.08);--p:26px;margin:auto 0;padding:var(--p);border:var(--b) solid #dce3ec;border-radius:var(--r);background:#fff;box-shadow:var(--s)}.av4-demo-icon{width:46px;height:46px;border-radius:var(--r);display:grid;place-items:center;background:#111827;color:#fff;font-size:22px}.av4-shape-preview h4{margin:18px 0 7px;font:800 22px Montserrat,Arial,sans-serif}.av4-shape-preview p{margin:0;color:#667085;font-size:14px;line-height:1.55}.av4-shape-preview #av4ShapeDemo>div{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.av4-shape-preview #av4ShapeDemo button{min-height:42px;padding:8px 13px;border:1px solid #111827;border-radius:var(--r);background:#111827;color:#fff;font-size:12px;font-weight:700}.av4-shape-preview #av4ShapeDemo button.secondary{background:#fff;color:#111827}.av4-shape-desc{margin-top:13px!important;font-size:12px!important}
.av4-symbol-layout{grid-template-columns:minmax(330px,.75fr) minmax(0,1.25fr)}.av4-symbol-reading{margin-top:13px;padding:13px;border-radius:11px;background:#f8fafc}.av4-symbol-reading strong{display:block;font:800 12px Montserrat,Arial,sans-serif}.av4-symbol-reading span{display:block;margin-top:5px;color:#667085;font-size:12px;line-height:1.55}.av4-count{padding:6px 9px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px;font-weight:700}.av4-icon-search{margin-bottom:10px}.av4-icon-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-height:360px;overflow-y:auto;padding-right:3px}.av4-icon-option{aspect-ratio:1;border:1px solid #e1e7ef;border-radius:11px;background:#fff;color:#344054;font-size:25px;cursor:pointer}.av4-icon-option:hover,.av4-icon-option.is-active{border-color:#111827;background:#f8fafc;color:#111827}.av4-library-note{margin:10px 0 0;color:#98a2b3;font-size:11px;line-height:1.5}.av4-selected-symbol{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding:13px 15px;border:1px solid #e1e7ef;border-radius:14px;background:#fff}.av4-selected-symbol small{display:block;color:#98a2b3;font:800 9px Montserrat,Arial,sans-serif;letter-spacing:.09em}.av4-selected-symbol strong{display:block;margin-top:3px;font-size:12px}.av4-selected-symbol>span{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;background:#111827;color:#fff;font-size:27px}
.av4-application{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px}.av4-app-browser{--p:#6d28d9;--s:#a78bfa;--a:#f59e0b;--bg:#fff;--text:#111827;--r:12px;--b:1px;--sh:0 10px 25px rgba(16,24,40,.08);border:1px solid #dde4ed;border-radius:18px;overflow:hidden;background:var(--bg);color:var(--text);box-shadow:0 16px 38px rgba(31,51,91,.08)}.av4-browserbar{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;background:#f5f7fa;border-bottom:1px solid #e2e7ef}.av4-browserbar>span{width:8px;height:8px;border-radius:50%;background:#d0d5dd}.av4-browserbar>div{margin-left:8px;padding:5px 12px;border-radius:8px;background:#fff;color:#98a2b3;font-size:10px}.av4-app-nav{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e5e9ef;font-size:11px}.av4-app-brand{display:flex;align-items:center;gap:9px}.av4-app-brand>span{width:34px;height:34px;border-radius:var(--r);display:grid;place-items:center;background:var(--p);color:#fff;font-size:18px}.av4-app-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr);gap:24px;align-items:center;padding:48px}.av4-app-hero small{color:var(--p);font-weight:800}.av4-app-hero h3{max-width:650px;margin:9px 0 13px;font-size:clamp(38px,4vw,58px);line-height:1.02;letter-spacing:-.05em}.av4-app-hero p{max-width:570px;margin:0;color:#667085;font-size:13px;line-height:1.6}.av4-app-hero>div:first-child>div{display:flex;gap:8px;margin-top:18px}.av4-app-hero button{min-height:42px;border:1px solid var(--p);border-radius:var(--r);background:var(--p);color:#fff;padding:8px 13px;font-size:11px;font-weight:700}.av4-app-hero button.secondary{background:transparent;color:var(--p)}.av4-app-art{min-height:230px;border:var(--b) solid #e2e8f0;border-radius:var(--r);display:grid;place-items:center;background:linear-gradient(145deg,var(--s),var(--p));box-shadow:var(--sh)}.av4-app-art i{font-size:105px;color:#fff}.av4-app-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 48px 38px}.av4-app-cards article{padding:17px;border:var(--b) solid #e2e8f0;border-radius:var(--r);box-shadow:var(--sh);background:rgba(255,255,255,.82)}.av4-app-cards i{font-size:19px;color:var(--p)}.av4-app-cards strong{display:block;margin-top:10px;font-size:11px}.av4-app-cards span{display:block;margin-top:4px;color:#667085;font-size:10px}.av4-application-check{padding:20px;border:1px solid #e1e7ef;border-radius:16px;background:#fbfcfe}.av4-application-check h4{margin:0 0 14px;font:800 16px Montserrat,Arial,sans-serif}.av4-application-check>div{display:flex;align-items:center;gap:8px;padding:10px 0;border-top:1px solid #edf1f5;color:#475467;font-size:12px}.av4-application-check>div i{color:#0f9f6e;font-size:18px}.av4-application-check p{margin:14px 0 0;color:#98a2b3;font-size:11px;line-height:1.55}
.av4-report{padding:30px;border:1px solid #dfe6ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(31,51,91,.06)}.av4-report>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid #e5e9ef}.av4-report h3{margin:6px 0 4px;font:800 30px Montserrat,Arial,sans-serif}.av4-report header p{margin:0;color:#667085;font-size:13px}.av4-report header>span{width:58px;height:58px;border-radius:15px;display:grid;place-items:center;background:#111827;color:#fff;font-size:30px}.av4-report-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:20px}.av4-report-grid>div{padding:15px;border:1px solid #e5e9ef;border-radius:12px}.av4-report-grid>div.wide{grid-column:1/-1}.av4-report-grid strong{display:block;margin-top:6px;font-size:13px}.av4-report-grid p{margin:6px 0 0;color:#475467;font-size:13px;line-height:1.6}.av4-report-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:9px}.av4-report-palette i{height:48px;border-radius:9px;border:1px solid rgba(0,0,0,.05)}.av4-report-note{display:flex;gap:8px;margin-top:12px;padding:12px;border-radius:11px;background:#f8fafc;color:#667085;font-size:11px;line-height:1.5}.av4-report-note i{font-size:18px;color:#667085}.av4-download{min-width:220px}
@media (max-width:1000px){.av4-stepper{display:flex;overflow-x:auto;scroll-snap-type:x proximity}.av4-stepper button{flex:0 0 150px;scroll-snap-align:start}.av4-panel-head{display:block}.av4-purpose{margin-top:15px;max-width:100%;width:100%;flex:auto}.av4-split,.av4-application{grid-template-columns:1fr}.av4-advisor{min-height:250px}.av4-app-hero{grid-template-columns:1fr}.av4-application-check{order:-1}}
@media (max-width:680px){.av4-workspace{padding-top:58px!important;padding-bottom:70px!important}.av4-intro{margin-bottom:22px}.av4-intro .ancaTitle{font-size:34px!important}.av4-intro .ancaDescription{font-size:14px!important}.av4-app{border-radius:18px}.av4-appbar{padding:13px 14px}.av4-system-status{font-size:10px;padding:7px 8px}.av4-project-mark{width:38px;height:38px}.av4-project strong{font-size:12px}.av4-stepper button{flex-basis:124px;min-height:72px;grid-template-columns:27px 1fr}.av4-stepper button>span{width:27px;height:27px}.av4-stepper small{display:none}.av4-panel{padding:22px 14px 26px}.av4-panel-head h3{font-size:25px}.av4-panel-head p{font-size:14px}.av4-purpose{padding:12px}.av4-card{padding:17px}.av4-field-grid{grid-template-columns:1fr}.av4-field.av4-span2{grid-column:auto}.av4-actions-main,.av4-bottom-actions{display:grid;grid-template-columns:1fr}.av4-btn{width:100%;min-height:50px;font-size:12px}.av4-advisor{padding:20px}.av4-advisor h4{margin-top:28px;font-size:21px}.av4-color-layout,.av4-type-layout,.av4-shape-layout,.av4-symbol-layout{grid-template-columns:1fr}.av4-wheel{width:min(300px,78vw)}.av4-wheel>span{transform-origin:9px calc(150px - 6px)}.av4-slider-grid{grid-template-columns:1fr}.av4-palette{grid-template-columns:repeat(5,minmax(78px,1fr));overflow-x:auto;padding:4px 2px 9px}.av4-swatch-color{height:78px}.av4-harmony-title{display:block}.av4-harmony-title span{display:block;margin-top:4px}.av4-font-menu{position:absolute;z-index:400;left:0;right:0;top:55px;bottom:auto;max-height:320px}.av4-font-list{max-height:245px}.av4-type-preview{padding:22px}.av4-type-preview h4{margin-top:55px;font-size:44px}.av4-type-preview p{font-size:14px}.av4-choice>div{display:grid;grid-template-columns:repeat(2,1fr)}.av4-choice button{width:100%}.av4-icon-grid{grid-template-columns:repeat(5,1fr);max-height:300px}.av4-app-hero{padding:26px 18px}.av4-app-hero h3{font-size:38px}.av4-app-art{min-height:175px}.av4-app-art i{font-size:78px}.av4-app-cards{grid-template-columns:1fr;padding:0 18px 22px}.av4-app-nav>div:last-child{display:none}.av4-report{padding:20px}.av4-report-grid{grid-template-columns:1fr}.av4-report-grid>div.wide{grid-column:auto}.av4-report h3{font-size:24px}.av4-report-palette{grid-template-columns:repeat(5,minmax(48px,1fr));overflow-x:auto}}
@media (prefers-reduced-motion:reduce){.av4-app *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* =========================================================
   ANCA LAB V4.2 — MOBILE WORKSPACE
   Interfaz compacta móvil + controles de selección acotados.
   No altera la composición de escritorio salvo los selectores.
   ========================================================= */

/* Selectores compactos (escritorio + móvil): máximo ~4 opciones visibles */
.av4-app .av4-native-select{
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;
  margin:-1px!important;padding:0!important;border:0!important;
}
.av4-select-proxy{position:relative;width:100%}
.av4-select-trigger{
  width:100%;height:48px;padding:0 13px;border:1px solid #d7dfe9;border-radius:12px;background:#fff;
  color:#101828;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;
}
.av4-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.av4-select-trigger i{flex:0 0 auto;font-size:20px;color:#667085}
.av4-select-trigger[aria-expanded="true"]{border-color:#8d00ff;box-shadow:0 0 0 4px rgba(141,0,255,.08)}
.av4-select-menu{
  position:absolute;z-index:1200;left:0;right:0;top:calc(100% + 6px);max-height:176px;overflow-y:auto;overscroll-behavior:contain;
  padding:5px;border:1px solid #dce3ec;border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(16,24,40,.16);
  scrollbar-width:thin;scrollbar-color:#98a2b3 #f2f4f7;
}
.av4-select-option{
  width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:8px;background:#fff;color:#344054;
  text-align:left;font-size:12px;line-height:1.25;cursor:pointer;
}
.av4-select-option:hover,.av4-select-option:focus-visible{background:#f4f0ff;color:#111827}
.av4-select-option.is-selected{background:#111827;color:#fff}
.av4-font-list{max-height:176px!important;overflow-y:auto!important;overscroll-behavior:contain}

/* Editor flotante exclusivo para campos textuales en celular */
.av4-mobile-editor{display:none}
@media (max-width:680px){
  html.av4-editor-open,html.av4-editor-open body{overflow:hidden!important}
  .av4-mobile-editor{
    position:fixed;z-index:2147483000;left:0;top:0;width:100%;height:var(--av4-vvh,100dvh);
    padding:14px;background:rgba(15,23,42,.38);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
    align-items:flex-end;justify-content:center;
  }
  .av4-mobile-editor.is-open{display:flex}
  .av4-mobile-editor-card{
    width:min(100%,520px);max-height:calc(var(--av4-vvh,100dvh) - 28px);overflow:hidden;
    padding:14px;border:1px solid rgba(255,255,255,.7);border-radius:18px;background:#fff;
    box-shadow:0 22px 70px rgba(15,23,42,.28);
  }
  .av4-mobile-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
  .av4-mobile-editor-head strong{font:800 13px Montserrat,Arial,sans-serif;color:#101828}
  .av4-mobile-editor-count{margin-left:auto;color:#98a2b3;font-size:11px}
  .av4-mobile-editor-actions{display:flex;align-items:center;gap:13px}
  .av4-mobile-editor-actions button{
    width:auto;height:auto;min-width:0;padding:2px;border:0;background:transparent;color:#667085;cursor:pointer;
  }
  .av4-mobile-editor-actions button i{font-size:23px}
  .av4-mobile-editor-actions .is-confirm{color:#079455}
  .av4-mobile-editor-input{
    display:block;width:100%;min-height:116px;max-height:min(34vh,220px);resize:none;overflow:auto;
    padding:13px 14px;border:1px solid #d7dfe9;border-radius:13px;background:#fff;color:#101828;
    font:500 16px/1.5 Poppins,Arial,sans-serif;outline:0;overscroll-behavior:contain;
  }
  .av4-mobile-editor-input:focus{border-color:#8d00ff;box-shadow:0 0 0 4px rgba(141,0,255,.08)}
  .av4-mobile-editor-note{margin:8px 2px 0;color:#98a2b3;font-size:10px;line-height:1.35}
}

@media (max-width:680px){
  /* El laboratorio funciona como estación compacta: la página puede ser larga,
     pero cada módulo reduce al mínimo su desplazamiento vertical. */
  .av4-app{scroll-margin-top:108px;border-radius:14px}
  .av4-workspace{padding-top:34px!important;padding-bottom:48px!important}
  .av4-intro{margin-bottom:15px}
  .av4-intro .ancaTitle{font-size:28px!important;line-height:1.02!important}
  .av4-intro .ancaDescription{font-size:12px!important;line-height:1.45!important;max-width:94%}
  .av4-appbar{padding:9px 10px}
  .av4-project-mark{width:32px;height:32px;border-radius:9px;font-size:17px}
  .av4-project small{font-size:8px}.av4-project strong{font-size:10px;margin-top:1px}
  .av4-system-status{font-size:8px;padding:5px 7px}.av4-system-status>span{width:6px;height:6px}

  /* 7 pestañas siempre visibles. Solo la activa se expande. */
  .av4-stepper{display:flex!important;overflow:visible!important;scroll-snap-type:none!important;width:100%}
  .av4-stepper button{
    flex:0 0 34px!important;min-width:34px!important;min-height:54px!important;padding:6px 3px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
    border-right:1px solid rgba(228,233,241,.8)!important;overflow:hidden!important;
  }
  .av4-stepper button>span{flex:0 0 24px!important;width:24px!important;height:24px!important;border-radius:8px!important;font-size:9px!important}
  .av4-stepper button b,.av4-stepper button small{display:none!important}
  .av4-stepper button.is-active{flex:1 1 auto!important;min-width:92px!important;padding:6px 7px!important;justify-content:flex-start!important}
  .av4-stepper button.is-active b{display:block!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .av4-stepper button.is-active:after{left:6px!important;right:6px!important;height:3px!important}
  .av4-progress{height:3px!important}

  .av4-stage{min-height:0!important}
  .av4-panel{padding:14px 10px 16px!important}
  .av4-panel-head{margin-bottom:12px!important}
  .av4-panel-head h3{font-size:21px!important;line-height:1.06!important;margin:3px 0 5px!important;letter-spacing:-.035em!important}
  .av4-panel-head p{font-size:11px!important;line-height:1.42!important}
  .av4-eyebrow{font-size:8px!important}
  .av4-purpose{display:none!important}
  .av4-card{padding:12px!important;border-radius:13px!important}
  .av4-card-title{margin-bottom:9px!important}.av4-card-title strong{font-size:14px!important}.av4-card-title small{font-size:8px!important}
  .av4-split{gap:10px!important}

  /* Negocio: campos compactos, la escritura ocurre en editor flotante */
  .av4-business-layout{grid-template-columns:1fr!important;gap:9px!important}
  .av4-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .av4-field.av4-span2{grid-column:1/-1!important}
  .av4-field>span{margin-bottom:4px!important;font-size:10px!important}
  .av4-field input,.av4-field textarea{padding:8px 9px!important;font-size:11px!important;border-radius:9px!important}
  .av4-field input{height:40px!important}
  .av4-field textarea{min-height:58px!important;height:58px!important;resize:none!important;overflow:hidden!important;line-height:1.3!important}
  .av4-field em{font-size:8px!important;margin-top:3px!important;line-height:1.3!important}
  .av4-select-trigger{height:40px!important;border-radius:9px!important;padding:0 9px!important;font-size:11px!important}
  .av4-select-menu{max-height:166px!important}.av4-select-option{min-height:39px!important;font-size:11px!important}
  .av4-actions-main{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:10px!important}
  .av4-btn{min-height:42px!important;padding:8px 9px!important;font-size:10px!important;border-radius:9px!important}
  .av4-btn i{font-size:16px!important}
  .av4-advisor{padding:12px!important;min-height:0!important;border-radius:13px!important}
  .av4-advisor-top{font-size:8px!important}.av4-advisor h4{margin:10px 0 5px!important;font-size:15px!important}.av4-advisor p{font-size:10px!important;line-height:1.4!important}
  .av4-tags{margin-top:8px!important}.av4-tags span{padding:4px 6px!important;font-size:8px!important}
  .av4-followup{margin-top:9px!important;padding-top:8px!important}.av4-followup input{height:36px!important;font-size:10px!important}.av4-followup button{width:38px!important}

  /* Color: rueda centrada y manejable + roles expansibles sin scroll horizontal */
  .av4-color-layout{grid-template-columns:1fr!important;gap:9px!important}
  .av4-color-editor{display:grid!important;grid-template-columns:188px minmax(0,1fr)!important;gap:8px 10px!important;align-items:start!important}
  .av4-color-editor>.av4-card-title{grid-column:1/-1!important;margin-bottom:0!important}
  .av4-wheel-wrap{grid-column:1!important;grid-row:2/6!important;padding:0!important;align-self:center!important}
  .av4-wheel{width:178px!important;max-width:100%!important;box-shadow:inset 0 0 0 19px #fff,0 8px 18px rgba(31,51,91,.07)!important}
  .av4-wheel:after{inset:30%!important}.av4-wheel>span{top:4px!important;transform-origin:9px 85px!important}
  .av4-wheel-center{inset:33%!important}.av4-wheel-center i{font-size:16px!important}.av4-wheel-center b{font-size:9px!important}
  .av4-neutrals{grid-column:2!important;margin:0!important;display:grid!important;grid-template-columns:repeat(5,30px)!important;gap:5px!important;justify-content:start!important}
  .av4-neutrals>span{grid-column:1/-1!important;margin:0!important;font-size:9px!important}
  .av4-neutrals button{width:30px!important;height:30px!important}
  .av4-slider-grid{grid-column:2!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important}
  .av4-slider-grid label>span{font-size:9px!important}.av4-slider-grid input{margin-top:3px!important}
  .av4-hex-row{grid-column:2!important;grid-template-columns:1fr auto!important;gap:5px!important;margin:0!important}
  .av4-hex-row label{display:none!important}.av4-hex-row input{height:36px!important;font-size:11px!important}.av4-hex-row button{height:36px!important;padding:0 9px!important;font-size:9px!important}
  .av4-palette-card{padding:10px!important}
  .av4-palette-card>.av4-card-title{margin-bottom:7px!important}
  .av4-palette{display:flex!important;gap:5px!important;overflow:visible!important;padding:2px 1px 5px!important;width:100%!important}
  .av4-swatch{flex:0 0 40px!important;min-width:0!important;overflow:hidden!important;padding:0!important;transition:flex-basis .16s ease!important}
  .av4-swatch.is-active{flex:1 1 auto!important;min-width:88px!important}
  .av4-swatch-color{height:42px!important;border-radius:9px!important}
  .av4-swatch strong{font-size:8px!important;margin-top:4px!important;white-space:nowrap!important}
  .av4-swatch code{display:none!important;font-size:8px!important;margin-top:1px!important}
  .av4-swatch.is-active code{display:block!important}
  .av4-harmony-title{margin-top:8px!important}.av4-harmony-title strong{font-size:10px!important}.av4-harmony-title span{display:none!important}
  .av4-harmony{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;overflow:visible!important;margin-top:6px!important}
  .av4-harmony button{min-width:0!important;width:100%!important;min-height:34px!important;padding:5px 3px!important;border-radius:8px!important;font-size:8px!important;white-space:normal!important;line-height:1.05!important}
  .av4-accessibility{margin-top:7px!important;padding:7px 8px!important;font-size:9px!important}

  /* Tipografía: controles en paralelo y muestra mucho más corta */
  .av4-type-layout{grid-template-columns:1fr!important;gap:9px!important}
  .av4-type-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .av4-font-block{min-width:0!important;padding:0!important;border:0!important}.av4-font-block+.av4-font-block{border-left:1px solid #eaecf0!important;padding-left:8px!important}
  .av4-font-block h4{font-size:12px!important;margin:3px 0 6px!important}.av4-label{font-size:8px!important}
  .av4-font-trigger{height:40px!important;padding:0 8px!important;font-size:10px!important}
  .av4-font-menu{top:43px!important;max-height:218px!important}.av4-font-list{max-height:166px!important}.av4-font-option{min-height:39px!important}
  .av4-weight{display:block!important;margin-top:6px!important}.av4-weight>span{font-size:8px!important;margin-bottom:3px!important}
  .av4-font-status{grid-column:1/-1!important;font-size:8px!important;margin-top:0!important}
  .av4-type-preview{padding:15px!important;min-height:0!important}
  .av4-type-preview h4{margin:20px 0 8px!important;font-size:32px!important;line-height:.98!important}.av4-type-preview p{font-size:11px!important;line-height:1.45!important}
  .av4-type-meta{margin-top:14px!important;padding-top:10px!important;font-size:9px!important}.av4-type-preview button{min-height:36px!important;margin-top:10px!important;padding:6px 9px!important;font-size:9px!important}

  /* Forma: cuatro familias de decisión en mosaico 2×2 */
  .av4-shape-layout{grid-template-columns:1fr!important;gap:9px!important}
  .av4-shape-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px 8px!important}
  .av4-choice{padding:0!important;border:0!important;min-width:0!important}.av4-choice>span{font-size:8px!important;margin-bottom:4px!important}
  .av4-choice>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.av4-choice button{min-height:34px!important;padding:5px 3px!important;font-size:8px!important;border-radius:7px!important}
  .av4-shape-preview{padding:10px!important}.av4-shape-preview #av4ShapeDemo{margin:0!important;padding:14px!important}
  .av4-demo-icon{width:36px!important;height:36px!important;font-size:18px!important}.av4-shape-preview h4{margin:10px 0 4px!important;font-size:16px!important}.av4-shape-preview p{font-size:10px!important;line-height:1.35!important}
  .av4-shape-preview #av4ShapeDemo>div{margin-top:9px!important}.av4-shape-preview #av4ShapeDemo button{min-height:34px!important;padding:5px 8px!important;font-size:9px!important}.av4-shape-desc{margin-top:6px!important;font-size:9px!important}

  /* Símbolo: concepto e iconos comparten el ancho en vez de apilar tarjetas gigantes */
  .av4-symbol-layout{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:7px!important;align-items:start!important}
  .av4-symbol-layout .av4-card{padding:9px!important;min-width:0!important}
  .av4-symbol-layout .av4-field>span{font-size:9px!important}.av4-symbol-layout textarea{height:64px!important;min-height:64px!important}
  .av4-symbol-layout .av4-wide{margin-top:7px!important;font-size:8px!important;padding:6px!important}
  .av4-symbol-reading{margin-top:6px!important;padding:7px!important}.av4-symbol-reading strong{font-size:9px!important}.av4-symbol-reading span{font-size:8px!important;line-height:1.35!important}
  .av4-icon-search{margin-bottom:6px!important}.av4-icon-search input{height:34px!important;font-size:9px!important}
  .av4-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;max-height:164px!important;padding-right:2px!important}.av4-icon-option{font-size:18px!important;border-radius:7px!important}
  .av4-library-note{display:none!important}.av4-selected-symbol{margin-top:7px!important;padding:7px 8px!important}.av4-selected-symbol>span{width:36px!important;height:36px!important;font-size:20px!important}

  /* Aplicación: lectura rápida y tarjetas en filas compactas */
  .av4-application{grid-template-columns:1fr!important;gap:8px!important}
  .av4-application-check{order:0!important;padding:9px!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:4px!important}
  .av4-application-check h4{grid-column:1/-1!important;margin:0 0 3px!important;font-size:12px!important}.av4-application-check>div{display:block!important;padding:5px!important;border:1px solid #edf1f5!important;border-radius:7px!important;font-size:8px!important;text-align:center!important}.av4-application-check>div i{display:block!important;margin-bottom:2px!important;font-size:15px!important}.av4-application-check p{grid-column:1/-1!important;margin:2px 0 0!important;font-size:8px!important}
  .av4-browserbar{height:28px!important}.av4-app-nav{padding:8px 10px!important;font-size:8px!important}.av4-app-brand>span{width:28px!important;height:28px!important;font-size:15px!important}
  .av4-app-hero{grid-template-columns:1.15fr .85fr!important;gap:8px!important;padding:14px 10px!important}.av4-app-hero h3{font-size:24px!important;margin:5px 0 7px!important}.av4-app-hero p{font-size:9px!important;line-height:1.35!important}.av4-app-hero>div:first-child>div{margin-top:8px!important}.av4-app-hero button{min-height:32px!important;padding:5px 7px!important;font-size:8px!important}
  .av4-app-art{min-height:118px!important}.av4-app-art i{font-size:52px!important}
  .av4-app-cards{grid-template-columns:repeat(3,1fr)!important;gap:5px!important;padding:0 10px 11px!important}.av4-app-cards article{padding:8px!important}.av4-app-cards i{font-size:15px!important}.av4-app-cards strong{margin-top:5px!important;font-size:8px!important}.av4-app-cards span{font-size:7px!important}

  /* Informe: dos columnas compactas, recomendación a todo el ancho */
  .av4-report{padding:12px!important;border-radius:13px!important}.av4-report>header{padding-bottom:10px!important}.av4-report h3{font-size:19px!important}.av4-report header p{font-size:9px!important}.av4-report header>span{width:38px!important;height:38px!important;border-radius:10px!important;font-size:20px!important}
  .av4-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:9px!important}.av4-report-grid>div{padding:8px!important;border-radius:8px!important}.av4-report-grid>div.wide{grid-column:1/-1!important}.av4-report-grid strong{margin-top:3px!important;font-size:9px!important}.av4-report-grid p{font-size:9px!important;line-height:1.35!important}.av4-report-palette{gap:4px!important;margin-top:5px!important}.av4-report-palette i{height:36px!important;border-radius:7px!important}.av4-report-note{margin-top:6px!important;padding:7px!important;font-size:8px!important}

  /* Navegación inferior en una sola fila */
  .av4-bottom-actions{display:grid!important;grid-template-columns:.72fr 1.28fr!important;gap:7px!important;margin-top:10px!important;padding-top:10px!important}.av4-bottom-actions .av4-btn{width:100%!important}
}

/* Ultra estrecho: sigue cabiendo sin scroll lateral */
@media (max-width:390px){
  .av4-stepper button{flex-basis:32px!important;min-width:32px!important}.av4-stepper button.is-active{min-width:86px!important}
  .av4-color-editor{grid-template-columns:164px minmax(0,1fr)!important}.av4-wheel{width:156px!important}.av4-wheel>span{transform-origin:9px 74px!important}
  .av4-neutrals{grid-template-columns:repeat(5,26px)!important}.av4-neutrals button{width:26px!important;height:26px!important}
}


/* =========================================================
   ANCA LAB V4.3 — MICROAJUSTES MOBILE
   - Editor centrado dentro del visual viewport, con margen seguro al teclado y bordes.
   - Menús tipográficos más compactos.
   - HEX manual oculto solo en móvil (el HEX sigue visible en el rol activo).
   ========================================================= */
@media (max-width:680px){
  .av4-mobile-editor{
    left:var(--av4-vv-left,0px)!important;
    top:var(--av4-vv-top,0px)!important;
    width:var(--av4-vv-width,100vw)!important;
    height:var(--av4-vvh,100dvh)!important;
    padding:18px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .av4-mobile-editor-card{
    width:min(calc(100% - 4px),520px)!important;
    max-width:calc(100% - 4px)!important;
    max-height:calc(var(--av4-vvh,100dvh) - 36px)!important;
    margin:auto!important;
    border-radius:18px!important;
  }
  .av4-mobile-editor-input{
    max-height:min(30vh,180px)!important;
  }

  /* El HEX editable duplicaba la información que ya muestra el rol expandido. */
  .av4-color-editor .av4-hex-row{display:none!important}
  .av4-wheel-wrap{grid-row:2/5!important}

  /* Menús tipográficos más discretos para no dominar la pantalla ni desbordar columnas. */
  .av4-font-menu{padding:6px!important;border-radius:10px!important}
  .av4-search{height:34px!important;padding:0 7px!important}
  .av4-search input{height:32px!important;font-size:10px!important;min-width:0!important}
  .av4-font-list{max-height:158px!important}
  .av4-font-option{min-height:36px!important;padding:6px 7px!important;font-size:10px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media (max-width:390px){
  .av4-mobile-editor{padding:16px!important}
  .av4-mobile-editor-card{max-height:calc(var(--av4-vvh,100dvh) - 32px)!important}
  .av4-font-option{font-size:9.5px!important}
}
@media (max-width:680px){
  .av4-mobile-editor,.av4-mobile-editor *{box-sizing:border-box!important}
}

/* ANCA LAB V4.4 · ANCA BRAIN 2.3 advisor copy */
.av4-advisor-copy{color:#c8d2e2;font-size:14px;line-height:1.65;max-height:420px;overflow:auto;padding-right:7px;scrollbar-width:thin}
.av4-advisor-copy p{margin:0 0 12px;color:inherit;font:inherit;line-height:inherit}
.av4-advisor-copy p:last-child{margin-bottom:0}
@media(max-width:680px){.av4-advisor-copy{font-size:10px;line-height:1.45;max-height:240px}.av4-advisor-copy p{margin-bottom:8px}}


/* =========================================================
   ANCA LAB V4.5 — PESTAÑAS DE IDENTIDAD
   Escritorio: número grande en marca de agua + pestaña activa magenta/violeta.
   Móvil: conserva el comportamiento compacto; solo la activa se expande y colorea.
   ========================================================= */
@media (min-width:681px){
  .av4-stepper{background:#fff!important}
  .av4-stepper button{
    position:relative!important;isolation:isolate;overflow:hidden!important;background:#fff!important;
    min-height:86px!important;padding:13px 10px 11px 16px!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
    border-right:1px solid #e8edf4!important;color:#101828!important;
    transition:background .2s ease,color .2s ease,transform .2s ease!important;
  }
  .av4-stepper button>span{
    position:absolute!important;z-index:-1!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;
    width:auto!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;
    color:#8b95a7!important;opacity:.10!important;
    font:900 64px/.82 Montserrat,Arial,sans-serif!important;letter-spacing:-.08em!important;
    pointer-events:none!important;
  }
  .av4-stepper button b,.av4-stepper button small{position:relative;z-index:2!important}
  .av4-stepper button b{font-size:12px!important;color:#1d2939!important}
  .av4-stepper button small{display:block!important;margin-top:2px!important;font-size:9px!important;color:#98a2b3!important}
  .av4-stepper button:hover:not(.is-active){background:#fbf9ff!important}
  .av4-stepper button.is-active{
    background:linear-gradient(135deg,#8d00ff 0%,#c40bc7 48%,#f40087 100%)!important;
    color:#fff!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.22)!important;
  }
  .av4-stepper button.is-active>span{color:#fff!important;opacity:.17!important;font-size:70px!important}
  .av4-stepper button.is-active b{color:#fff!important}
  .av4-stepper button.is-active small{color:rgba(255,255,255,.78)!important}
  .av4-stepper button.is-active:after{display:none!important}
}

@media (max-width:680px){
  .av4-stepper button.is-active{
    position:relative!important;isolation:isolate;overflow:hidden!important;
    background:linear-gradient(135deg,#8d00ff 0%,#c40bc7 50%,#f40087 100%)!important;
    color:#fff!important;border-right-color:transparent!important;
  }
  .av4-stepper button.is-active>span{
    position:absolute!important;z-index:-1!important;right:4px!important;left:auto!important;top:50%!important;
    transform:translateY(-50%)!important;width:auto!important;height:auto!important;
    border:0!important;background:transparent!important;color:#fff!important;opacity:.18!important;
    font:900 44px/.8 Montserrat,Arial,sans-serif!important;pointer-events:none!important;
  }
  .av4-stepper button.is-active b{position:relative;z-index:2!important;color:#fff!important;padding-left:3px!important}
  .av4-stepper button.is-active:after{display:none!important}
  /* Las inactivas conservan el microformato móvil ya aprobado. */
  .av4-stepper button:not(.is-active){background:#fff!important}
}


/* ANCA LAB V4.6 — 6 etapas visibles; símbolo automatizado internamente */
.av4-stepper{grid-template-columns:repeat(6,minmax(0,1fr))}


/* ANCA LAB V4.7 · asesor estable, compacto y sin conversación extendida */
.av4-business-layout{align-items:start!important}
.av4-business-layout .av4-advisor{height:440px!important;max-height:440px!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.av4-business-layout .av4-advisor-top,.av4-business-layout .av4-advisor h4,.av4-business-layout .av4-tags{flex:0 0 auto}
.av4-business-layout .av4-advisor h4{margin:24px 0 10px!important}
.av4-business-layout .av4-advisor-copy{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:9px!important;scrollbar-width:thin;overscroll-behavior:contain}
.av4-business-layout .av4-advisor-copy::-webkit-scrollbar{width:7px}.av4-business-layout .av4-advisor-copy::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:999px}.av4-business-layout .av4-advisor-copy::-webkit-scrollbar-track{background:rgba(255,255,255,.05)}
.av4-business-layout .av4-tags{margin-top:12px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.10)}
@media(max-width:1000px){.av4-business-layout .av4-advisor{height:330px!important;max-height:330px!important}}
@media(max-width:680px){.av4-business-layout .av4-advisor{height:270px!important;max-height:270px!important}.av4-business-layout .av4-advisor h4{margin:9px 0 5px!important}.av4-business-layout .av4-advisor-copy{font-size:10px!important;line-height:1.42!important}.av4-business-layout .av4-tags{margin-top:6px!important;padding-top:6px!important}}


/* ANCA LAB V5.2 · Reiniciar proyecto */
#av4ResetProject[hidden]{display:none!important}
.av4-btn-reset{
  background:#fff!important;
  color:#7f1d1d!important;
  border:1px solid #fecaca!important;
  box-shadow:none!important
}
.av4-btn-reset:hover{
  background:#fff7f7!important;
  border-color:#fca5a5!important;
  transform:translateY(-1px)
}
.av4-btn-reset i{font-size:18px}
