.theme-logos{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.theme-logos>section{min-width:0;border:1px solid #dce6ef;border-radius:12px;padding:12px}.theme-logos b{font-size:calc(12px * var(--business-font-scale,1))}.theme-logo-preview{display:flex;align-items:center;justify-content:center;height:82px;background:#f6f8fb;border:1px solid #e3e8ee;border-radius:9px;margin:10px 0;padding:10px}.theme-logo-preview.dark{background:#292c3a}.theme-logo-preview img{max-width:100%;max-height:60px;object-fit:contain}.theme-logo-picker{position:relative;display:block!important;padding:9px;border-radius:8px;background:#eaf7fc;color:#087da3;text-align:center;overflow:hidden;font-size:calc(11px * var(--business-font-scale,1))!important;cursor:pointer}.theme-logo-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.theme-logo-picker:focus-within{outline:2px solid #0798cc;outline-offset:2px}.theme-logos button{display:block;margin:8px auto 0;padding:5px 9px;border:0;background:transparent;color:#a83d55;font-size:calc(11px * var(--business-font-scale,1))}.theme-logos button:disabled{opacity:.4;cursor:default}#themeLogoError{color:#b12841;font-size:calc(12px * var(--business-font-scale,1));line-height:1.5}.theme-sample aside b>img{width:100%;max-height:45px;object-fit:contain}html[data-business-theme] .sidebar-top>img{object-fit:contain;max-height:52px}
.theme-sample[data-business-heading=degradado] header,html[data-business-theme][data-business-heading=degradado] :is(.module-hero,.history-hero,.dashboard-hero,.result-hero,.mail-compose-hero,.file-modal-hero){background:linear-gradient(120deg,var(--business-primary),var(--business-heading-end))}
.theme-sample[data-business-heading=blanco] header,html[data-business-theme][data-business-heading=blanco] :is(.module-hero,.history-hero,.dashboard-hero,.result-hero,.mail-compose-hero,.file-modal-hero){background:#fff;color:#202b3d;border:1px solid #dce5ee;box-shadow:0 5px 20px #17304a08}
html[data-business-theme][data-business-heading=blanco] :is(.module-hero,.history-hero,.dashboard-hero,.result-hero,.mail-compose-hero,.file-modal-hero) :is(h1,h2,h3,p,.eyebrow,small){color:#202b3d}
.theme-sample[data-business-cards=borde] :is(.sample-cards article,.sample-form),html[data-business-theme][data-business-cards=borde] :is(.card,.history-card,.counterparty-card,.file-card,.organization-block){border:1px solid #dce5ee;box-shadow:none}
.theme-sample[data-business-cards=sombra] :is(.sample-cards article,.sample-form),html[data-business-theme][data-business-cards=sombra] :is(.card,.history-card,.counterparty-card,.file-card,.organization-block){border:1px solid #e5eaf080;box-shadow:0 8px 24px #1c365514}
.theme-sample[data-business-cards=plano] :is(.sample-cards article,.sample-form),html[data-business-theme][data-business-cards=plano] :is(.card,.history-card,.counterparty-card,.file-card,.organization-block){border-color:transparent;box-shadow:none}
/* Text without an explicit size (including forms and body-level modals)
   inherits the business scale too. Explicit pixel-based rules already scale
   themselves and do not multiply this inherited size a second time. */
body{font-size:calc(16px * var(--business-font-scale,1))}
.theme-sample{font-size:calc(12px * var(--business-font-scale,1))}.theme-sample h3{font-size:calc(16px * var(--business-font-scale,1))}.theme-sample :is(aside,.sample-form,.sample-success){font-size:calc(11px * var(--business-font-scale,1))}.theme-sample :is(header small,header p,.sample-cards small,.sample-button,.sample-accent){font-size:calc(10px * var(--business-font-scale,1))}
@media(max-width:600px){html[data-business-theme]:not([data-business-font-size=normal]) :is(.form-grid,.modal-content,.module-filter-grid) :is(input:not([type=color]):not([type=file]),select,textarea){font-size:max(16px,calc(14px * var(--business-font-scale)))}.theme-logos{grid-template-columns:1fr 1fr}}
