/* BYANGELGROUP · Interfaz clara. Los valores de marca se generan desde byangel-interfaz.json. */
@layer byangel-interface {
:root { --ba-page:#F5F5F5;
--ba-surface:#FFFFFF;
--ba-text:#050505;
--ba-secondaryText:#454545;
--ba-border:#C7C7C7;
--ba-controlBorder:#777777;
--ba-primary:#B8FF1A;
--ba-onPrimary:#050505;
--ba-selected:#ECF7CE;
--ba-focus:#305900;
--ba-errorText:#862512;
--ba-errorSurface:#FFF1EC;
--ba-touch:2.75rem; color-scheme:light!important; accent-color:var(--ba-primary); }
:where(html,body,main,.hub-main,.hub-shell,.portal-main,.portal-shell,.os-workspace,.story-sticky,.story-grid,.aida-studio,.ast-thread,.cx-main,.setup-shell,.ops-shell) {background:var(--ba-page)!important;color:var(--ba-text)!important;}
:where(body) {--bg:var(--ba-page)!important;--surface:var(--ba-surface)!important;--ink:var(--ba-text)!important;--muted:var(--ba-secondaryText)!important;--line:var(--ba-border)!important;--lime:var(--ba-primary)!important;--paper:var(--ba-surface)!important;}
:where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,legend,label,summary,th,td,small,strong,b,em,blockquote,figcaption,a,button,div,span,pre,code,select,input,textarea,time,output) {color:var(--ba-text)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
:where(header,footer,nav,aside,article,dialog,fieldset,table,thead,tbody,section:not([style*="url("]),[role="dialog"],[role="menu"],[role="listbox"],[popover],.card,.panel,.hub-top,.hub-side,.hub-card,.hub-panel,.hub-column,.hub-client,.hub-form,.hub-nav-children,.hub-nav-group,.hub-board,.hub-table-wrap,.hub-toolbar,.co-card,.co-editor,.co-answer,.co-pre,.os-tools-dialog,.os-areas,.os-area-list,.os-area-picker,.ast-panel,.ast-compose,.ast-files,.ast-thread,.ast-message,.portal-metric,.portal-filters,.hub-foot,.os-footer,.os-tabs,.os-dialog,.os-panel,.os-status,.sitebar,.bar,.mobilesheet,.dropmenu,.submenu,.aida-u-panel,.aida-u-wrap,.bag-mobile-menu,.story-copy,.footer-main,.v3-strip,.midpitch,.linkstrap,.servicecard,.motion-step,.cx-feature,.cx-narrative,.cx-hero-copy,.cx-next-copy,.dark,.sales-dark,.sales-card,.sales-plan,.service-row,.intent-result,.brand-footer,.aida-panel,.os-chat-shelf,[class$="-panel"],[class$="-card"],[class$="-toolbar"],[class$="-dropdown"],[class$="-popover"],[class$="-dialog"],[class$="-sidebar"],[class$="-drawer"],[class$="-menu"],[class$="-modal"],[class$="-header"],[class$="-footer"],[class$="-listbox"],#aida-nav-v9,#aida-unified-v7) {background-color:var(--ba-surface)!important;border-color:var(--ba-border)!important;}
:where(header,footer,aside,nav,dialog,.hub-shell,.hub-main,.hub-side,.hub-top,.hub-client,.hub-panel,.hub-card,.hub-column,.hub-form,.hub-nav-children,.co-editor,.co-card,.os-area-list,.os-area-picker,.ast-thread,.ast-message,.ast-compose,.aida-studio,.section,.dark,.closing,.portal-metric,.servicecard,.sales-plan,.story-sticky,.v3-strip,.cta,.sales-dark,.footer-main,.bag-footer,.service-row,.linkstrap,#aida-nav-v9,#aida-unified-v7) {background-image:none!important;}
:where(.muted,.hub-muted,.ast-muted,.hub-kicker,.co-eyebrow,.eyebrow,.lead,.cx-lead,small,figcaption,.footnote) {color:var(--ba-secondaryText)!important;}
:where(.cover-category,.cover-arrow,.hub-client-cover strong,.hub-client-cover h2,.hub-client-cover h3,.casephoto strong,.story-hint,.scene-caption,.cx-image-note,.camera-ui,.scene-tag,.sculpture-tag) {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-radius:.35rem;box-decoration-break:clone;-webkit-box-decoration-break:clone;}
:where(button,[role="button"],.btn,.button,.action,.cx-btn,.sales-action,.hub-link,.hub-nav-group>summary,.v3-button,.link-btn,.dropbtn,.pill,.aida-u-account,.os-tabs a,.os-tabs button,.co-tabs button,.portal-periods button,#aida-nav-v9 a) {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-color:var(--ba-controlBorder)!important;text-shadow:none!important;}
:where(.primary,.btn-primary,.btn:not(.secondary,.alt),.action:not(.secondary),.sales-action,.header-cta,.footer-cta,.bag-shell-talk,.hub-client .primary,.ast-send,button[type="submit"],.v3-button:not(.secondary),.cx-btn.primary,.primary-action,[data-variant="primary"],.os-tabs .active,.co-tabs .active) {background:var(--ba-primary)!important;color:var(--ba-onPrimary)!important;border-color:var(--ba-focus)!important;}
:where(a[aria-current="page"],button[aria-selected="true"],button[aria-pressed="true"],.hub-link.active,.hub-link.is-active,.portal-bottom .active,.hub-badge,.co-badge,.portal-pill,.badge,.tag,[class$="-badge"]) {background:var(--ba-selected)!important;color:var(--ba-text)!important;border-color:var(--ba-controlBorder)!important;}
:where(.hub-link.active,[aria-current="page"],[aria-selected="true"]) {font-weight:700!important;}
:where(input:not([type="range"],[type="checkbox"],[type="radio"],[type="color"],[type="image"],[type="submit"],[type="button"]),textarea,select,option,[contenteditable="true"]) {background:var(--ba-surface)!important;color:var(--ba-text)!important;caret-color:var(--ba-text)!important;border-color:var(--ba-controlBorder)!important;}
:where(input,textarea)::placeholder {color:var(--ba-secondaryText)!important;opacity:1!important;}
:where(.ast-message.user,.ast-message[data-role="user"],.co-notice,.notice,.success,[role="status"]) {background:var(--ba-selected)!important;color:var(--ba-text)!important;}
:where([role="alert"],.error,.is-error,.alert-error) {background:var(--ba-errorSurface)!important;color:var(--ba-errorText)!important;}
:where(button:disabled,input:disabled,select:disabled,textarea:disabled,[aria-disabled="true"]) {background:var(--ba-page)!important;color:var(--ba-secondaryText)!important;opacity:1!important;border-style:dashed!important;}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline:3px solid var(--ba-focus)!important;outline-offset:2px!important;}
:where(p,li,dd,blockquote) a:not(.btn,.action,.button) {text-decoration:underline!important;text-underline-offset:.16em;}
:where(.brand img,.hub-logo img,.bag-shell-logo img,.portal-brand img,.os-logo,.brand-header img,.aida-u-brand img) {filter:none!important;mix-blend-mode:normal!important;}
@media (hover:hover){:where(button,a[role="button"],.hub-link):not(:disabled):hover {box-shadow:inset 0 0 0 2px var(--ba-focus)!important;}}
@media(max-width:920px){:where(button,select,.hub-link,.os-tabs a,.btn,.button,.action){min-height:var(--ba-touch);}:where(input:not([type="checkbox"],[type="radio"]),select,textarea){font-size:1rem!important;}}
@media(forced-colors:active){:where(:focus-visible){outline-color:Highlight!important;}}
}

@layer byangel-interface {
:where(footer,i,address,section,article,header,main,nav,aside,details,output,caption) {color:var(--ba-text)!important;}
:where(th,details,.cx-track,.cx-frame,.cx-floating,.case-review-label,.footer-art-frame,.platform-block,.room-back,.portal-phone,.os-demo,.aida-msg,.sales-floating,.fund-visual,.commerce-visual,.sales-demo,.al4-device,.al4-profile-avatar,.node-detail,.vault-card,.digital-window,.experience-tile,.cube-front,.cube-back,.cube-left,.cube-right) {background-color:var(--ba-surface)!important;background-image:none!important;border-color:var(--ba-border)!important;}
:where(.casephoto,.project-card,.project-media,.room-back,.experience-tile,.vault-card,.fund-visual,.commerce-visual,.al4-device,.cx-frame) :where(small,strong,span,b,h2,h3,p):not(:has(img,video,svg)) {background-color:var(--ba-surface)!important;color:var(--ba-text)!important;box-decoration-break:clone;-webkit-box-decoration-break:clone;}
:where(.hub-client-cover) :where(small,strong,span,h2,h3) {mix-blend-mode:normal!important;}
}

@layer byangel-interface {
:where(.project-number,.industries>span,.aida-path>.reveal,div[style*="background:#070907"]) {background:var(--ba-surface)!important;color:var(--ba-text)!important;}
.site-header .brand-lockup {min-width:0;max-width:min(15rem,48vw);}
.site-header .brand-lockup img {display:block;width:100%;max-width:100%;height:auto;}
.portal-main,.portal-filters,.portal-top,.portal-chart,.portal-table-wrap,.portal-charts,.portal-metrics {min-width:0;max-width:100%;box-sizing:border-box;}
.portal-table-wrap {overflow-x:auto;}
@media(max-width:920px){.portal-top,.al4-links-header{flex-wrap:wrap;}.portal-pill{max-width:100%;overflow-wrap:anywhere;}.portal-charts{grid-template-columns:minmax(0,1fr)!important;}.os-constellation,.al4-hero,.aida-link-path{max-width:100%;box-sizing:border-box;}.site-header{flex-wrap:wrap;}}
}

@layer byangel-interface {
:where(#hub-content,#aida-console,#hub-side,#hub-nav,.os-workspace-drawer,.os-workspace-drawer nav a,.ast-compose-actions,.ast-input,.ast-selection,.ast-cite,.ast-cite-action,.pb,.pb-list,.pb-script,.pb-history,.sec-summary,.co-shell,.co-flow,.co-empty,.co-excerpt,.finance-account,.finance-section,.finance-editor,.aida-audit,.aida-audit-proposal,.aida-audit-card,.aida-audit-filters-wrap,.aida-audit-stat,.aida-reason,.aida-protected,.hub-nav-children>a,.hub-nav-children>button,.os-node,.capability-cloud>span) {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-color:var(--ba-border)!important;}
:where(#os-mobile-nav,.portal-bottom,.al4-bottomnav) {background:var(--ba-surface)!important;border-color:var(--ba-border)!important;}
:where(#os-mobile-nav a,#os-mobile-nav button,.portal-bottom a) {background:var(--ba-selected)!important;color:var(--ba-text)!important;}
:where(#os-mobile-nav .active,#os-mobile-nav [aria-current="page"],.hub-nav-children [aria-current="page"],.os-workspace-drawer [aria-current="page"]) {background:var(--ba-primary)!important;color:var(--ba-onPrimary)!important;}
:where(.finance-form-error,.aida-audit-alert) {background:var(--ba-errorSurface)!important;color:var(--ba-errorText)!important;}
@media(max-width:920px){.os-product-page .capability-cloud{display:flex!important;flex-wrap:wrap!important;}.os-product-page .os-constellation{width:100%;max-width:100%;}.os-product-page .product-map .os-node{position:static!important;transform:none!important;}.os-product-page .product-map{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;height:auto!important;}.os-product-page .capability-cloud span{white-space:normal!important;}.al4-hero,.al4-links-header,.al4-card-head{min-width:0;}.aida-link-path .aida-path{min-width:0;}}
}

@layer byangel-interface {
:where(.card.c1,.card.c2,.card.c3,.cx-feature,.feature-card,.plan,.demo,.al4-hero,.al4-editor,.al4-preview,.journey-wrap,.portal-stage,.mapped-stage,.interlude,.projects,.stat,.phone,.table-wrap,.top,.track,.shell .list,.aida-msg) {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-color:var(--ba-border)!important;}
:where(.hub-client-cover>strong,.hub-client-cover .cover-category,.hub-client-cover .cover-arrow){padding:.14em .37em;}
}

@layer byangel-interface {
body:has(.al4-hero) {overflow-x:clip;}
body:has(.al4-hero) .section-head h2 {overflow-wrap:anywhere;}
:where(.servicecard,.motion-step,.casephoto,.linkstrap,.aida-path>div) :where(h2,h3,p,small,strong,b,i,.eyebrow) {background-color:var(--ba-surface)!important;color:var(--ba-text)!important;box-decoration-break:clone;-webkit-box-decoration-break:clone;}
:where(.servicecard,.motion-step,.aida-path>div)::before {background-image:none!important;}
}

@layer byangel-interface { :where(.empty,.os-empty,.empty-state){background:var(--ba-surface)!important;color:var(--ba-text)!important;} }

@layer byangel-interface {
/* El simulador de perfiles muestra la identidad elegida por la persona que edita. */
#al4-profile,#al4-profile * {color:revert-layer!important;background-color:revert-layer!important;background-image:revert-layer!important;border-color:revert-layer!important;}
}

@layer byangel-interface {
:where(.aida-trust-os-launch,.co-intro,.co-shell article,.ops-shell article,.hub-main article:not(.hub-client),.hub-main #hub-content>article) {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-color:var(--ba-controlBorder)!important;}
:where(.hero-trust,.hero-grid-overlay,.login-page,.login-box,.workspace-hero,.workspace-identity,.registry-row,.registry-titles,.metric,.dropzone,.price-card,.statement-section,.control-panel,.sentinel-notice,.proof-card,.privacy-card,.empty-state) {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-color:var(--ba-border)!important;}
:where(.lime-button){background:var(--ba-primary)!important;color:var(--ba-onPrimary)!important;}.ghost-button{background:var(--ba-surface)!important;color:var(--ba-text)!important;}
}

@layer byangel-interface { .finance-table tbody td {background:var(--ba-surface)!important;color:var(--ba-text)!important;border-color:var(--ba-border)!important;} }
