/* FIUZ.UZ 0.12.5 — readability, density and responsive layout refinement.
   Presentation-only override. No business logic or database changes. */
:root{
  --fiuz-audience-height:40px;
  --fiuz-primary-height:70px;
  --fiuz-header-total:calc(var(--fiuz-audience-height) + var(--fiuz-primary-height));
  --v16-text-xs:11px;
  --v16-text-sm:12px;
  --v16-text-md:13px;
  --v16-text-base:15px;
  --v16-line:#d9e3e9;
  --v16-line-soft:#e9eff3;
  --v16-surface:#fff;
  --v16-surface-soft:#f7f9fa;
  --v16-green:#1f8f63;
  --v16-green-dark:#176b4d;
  --v16-green-soft:#e8f5ef;
  --v16-ink:#10243f;
  --v16-muted:#66788b;
  --v16-shadow:0 8px 24px rgba(16,36,63,.055);
  --v16-shadow-hover:0 14px 34px rgba(16,36,63,.085);
}

body{font-size:var(--v16-text-base)!important;line-height:1.55!important}
small{font-size:.78rem}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(31,143,99,.24)!important;outline-offset:2px!important}
.btn{min-height:44px!important;font-size:12.5px!important;line-height:1.2!important}
.btn.small{min-height:38px!important;font-size:11.5px!important}
.section-kicker,.eyebrow{font-size:10.5px!important;line-height:1.2!important}

/* Audience row stays semantically separate, but is easier to scan. */
.audience-bar-shell{justify-content:flex-start}
.audience-bar a{min-width:190px;font-size:13px;letter-spacing:-.01em}
.audience-label-compact{display:none}
.audience-bar a:focus-visible{outline-color:rgba(99,199,163,.65)!important;outline-offset:-3px!important}

/* Primary navigation: readable sizes and controlled action density. */
.header-shell{grid-template-columns:190px minmax(0,1fr) auto auto!important}
.fiuz-logo-link,.fiuz-logo-wordmark{width:190px!important}
.main-nav>a,.nav-more>summary{padding-inline:12px!important;font-size:13px!important;font-weight:700!important}
.nav-more-popover a b{font-size:12.5px!important}
.nav-more-popover a small{font-size:11px!important;line-height:1.35!important}
.header-search-button b,.header-cta{font-size:12px!important}
.header-search-button kbd{font-size:10px!important}
.header-actions .icon-btn,.header-search-button,.locale-menu>summary,.nav-toggle{height:42px!important;min-height:42px!important}

/* Compact catalogue opening: less scrolling before the first result. */
.catalog-hero-v14,.cards-hero-v14{grid-template-columns:minmax(0,1fr) 318px!important;gap:14px!important;margin-top:16px!important}
.catalog-hero-copy-v14,.cards-hero-copy-v14{padding:24px 26px!important;border-radius:20px!important}
.catalog-hero-v14 h1,.cards-hero-v14 h1{font-size:clamp(2rem,3vw,3rem)!important;line-height:1.06!important;margin:7px 0 8px!important}
.catalog-hero-v14 p,.cards-hero-v14 p{font-size:.94rem!important;line-height:1.58!important}
.catalog-quick-presets a,.cards-hero-links a{min-height:34px!important;padding:7px 10px!important;font-size:11px!important}
.catalog-advisor-card-v14,.cards-showcase-v14{padding:18px!important;border-radius:18px!important}
/* The card catalogue showcase stays informative without making the whole hero row excessively tall. */
.cards-hero-v14{align-items:start!important}
.cards-hero-copy-v14{align-self:start!important;min-height:0!important}
.cards-showcase-v14{grid-template-columns:142px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;align-self:start!important;gap:14px!important;min-height:0!important}
.cards-stack-v14{min-height:128px!important}
.cards-stack-v14 img{width:min(174px,94%)!important}
.cards-showcase-stats-v14{min-width:0!important}
.cards-showcase-stats-v14>strong{font-size:2.2rem!important;line-height:1!important}
.cards-mini-stats-v14{gap:8px!important}
.catalog-advisor-card-v14 small{font-size:10px!important}
.catalog-advisor-card-v14 h2{font-size:1.08rem!important;margin-block:4px 5px!important}
.catalog-advisor-card-v14 p{font-size:.82rem!important;line-height:1.5!important}
.catalog-data-note{margin-block:12px!important;padding:11px 14px!important;font-size:12px!important;display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important}
.catalog-data-note>span{flex:0 0 28px!important;width:28px!important;height:28px!important}
.catalog-data-note>div{min-width:0!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:baseline!important;column-gap:10px!important;row-gap:2px!important}
.catalog-data-note b{font-size:12px!important;white-space:nowrap!important}
.catalog-data-note p{font-size:11.5px!important;line-height:1.45!important;margin:0!important;overflow-wrap:anywhere!important}

/* Filters and result toolbar. */
.catalog-layout-v7,.cards-layout-v7{grid-template-columns:292px minmax(0,1fr)!important;gap:18px!important}
.filters-panel,.card-filter-sidebar{padding:18px!important}
.filters-panel .section-head h2,.card-filter-sidebar .section-head h2{font-size:1.28rem!important;line-height:1.2!important;letter-spacing:-.025em!important}
.filter-form-v14>label,.filter-form-v14 .filter-pair>label{font-size:12px!important;gap:7px!important}
.filter-form-v14 input,.filter-form-v14 select{font-size:13px!important}
.filter-checks-v7 label,.card-filter-checks label{min-height:46px!important;font-size:11.5px!important}
.filter-checks-v7 label input,.card-filter-checks label input{width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;accent-color:var(--v16-green)!important;flex:0 0 18px!important}
.filter-checks-v7 label>span,.card-filter-checks label>span{width:20px!important;min-width:20px!important;display:grid!important;place-items:center!important;color:var(--v16-green)!important}
.filter-checks-v7 label .ui-icon,.card-filter-checks label .ui-icon{width:16px!important;height:16px!important}
.filter-checks-v7 label b,.card-filter-checks label b{font-size:11.5px!important;line-height:1.35!important}
.filter-trust{font-size:11.5px!important;line-height:1.5!important}
.filter-form-v14 .filter-submit span{font-size:10.5px!important}
.catalog-toolbar-v7{min-height:62px!important;padding:9px 11px!important}
.catalog-toolbar-v7>div:first-child>div>b{font-size:13px!important}
.catalog-toolbar-v7>div:first-child>div>span{font-size:10.5px!important}
.sort-inline select{font-size:12px!important;min-width:190px!important}

/* Product cards: readable without returning to the oversized legacy layout. */
.product-card-v14{border-radius:17px!important;box-shadow:var(--v16-shadow)!important}
.product-card-v14:hover{box-shadow:var(--v16-shadow-hover)!important}
.product-card-head-v14{min-height:70px;padding:12px 15px!important;gap:12px!important}
.product-card-head-v14 .bank-logo-lg{width:46px!important;height:46px!important;border-radius:13px!important}
.product-bank-name{font-size:12px!important;line-height:1.3!important}
.product-title-v14 h3{font-size:17px!important;line-height:1.3!important;margin:3px 0 2px!important}
.product-title-v14 small{font-size:11px!important;line-height:1.35!important}
.product-card-tools-v14 .save-btn{width:40px!important;height:40px!important}
.product-summary-v14{grid-template-columns:minmax(255px,.7fr) minmax(0,1fr)!important}
.product-rate-v14{padding:18px 20px!important}
.product-rate-v14>small{font-size:10.5px!important;letter-spacing:.025em!important}
.product-rate-v14>strong{font-size:clamp(24px,2.15vw,32px)!important;line-height:1.12!important;margin:5px 0 2px!important}
.product-rate-v14>span{font-size:10.5px!important}
.personal-estimate-v14 small{font-size:10.5px!important}
.personal-estimate-v14 b{font-size:16px!important}
.personal-estimate-v14 span{font-size:10px!important}
.product-facts-v14{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:14px!important}
.product-facts-v14>div{padding:10px 12px!important}
.product-facts-v14 dt{font-size:10.5px!important;letter-spacing:.015em!important}
.product-facts-v14 dd{font-size:12.5px!important;line-height:1.42!important}
.product-context-v14{padding:10px 14px!important}
.product-badge-line-v14>span,.product-feature-chips-v14 span{min-height:26px!important;padding:5px 8px!important;font-size:10.5px!important;gap:5px!important}
.product-badge-line-v14 .ui-icon,.product-feature-chips-v14 .ui-icon{width:13px;height:13px}
.card-promo-text-v14{font-size:11px!important;line-height:1.5!important}
.product-card-footer-v14{min-height:68px;padding:11px 14px!important;gap:14px!important}
.quality-bar-v14>i{width:48px!important;height:6px!important}
.quality-bar-v14 b,.quality-date-v14 b{font-size:10.5px!important}
.quality-bar-v14 small,.quality-date-v14 small{font-size:9.5px!important}
.product-actions-v14 .btn,.card-actions-v14 .btn{height:42px!important;min-height:42px!important;padding-inline:13px!important;font-size:11.5px!important}

/* Grid mode keeps the same readable scale. */
.catalog-list-v7.grid-view .product-card-footer-v14{margin-top:auto!important}
.catalog-list-v7.grid-view .product-rate-v14>strong{font-size:27px!important}

/* Bank-card catalogue: larger tariff text and calmer image treatment. */
.bank-card-card-v14{border-radius:17px!important;box-shadow:var(--v16-shadow)!important}
.bank-card-card-v14:hover{box-shadow:var(--v16-shadow-hover)!important}
.bank-card-card-v14 .card-photo-frame{padding:19px!important;background:linear-gradient(145deg,#fafcfd,#f0f5f3)!important}
.bank-card-card-v14 .card-photo-frame img{filter:drop-shadow(0 12px 18px rgba(16,36,63,.13))}
.card-system-pill{font-size:10px!important;padding:5px 9px!important}
.card-content-v14{padding:15px!important}
.bank-logo-card-mini{width:38px!important;height:38px!important}
.card-product-head-v14 h3{font-size:17px!important;line-height:1.3!important}
.card-bank-identity-v14 small{font-size:11px!important}
.card-badges-v14 span,.card-feature-chips-v14 span{font-size:10.5px!important;min-height:25px!important;padding:5px 8px!important;gap:5px!important}
.card-badges-v14 .ui-icon,.card-feature-chips-v14 .ui-icon{width:13px;height:13px}
.card-cost-grid-v14{gap:8px!important}
.card-cost-grid-v14>div{padding:10px 11px!important}
.card-cost-grid-v14 small{font-size:10px!important}
.card-cost-grid-v14 b{font-size:12.5px!important;line-height:1.4!important}
.card-benefits-v14,.card-promo-text-v14{font-size:11.5px!important;line-height:1.55!important}
.card-meta-v14{padding-top:13px!important}

/* Use-case cards and empty states. */
.card-use-cases>div:last-child>a{min-height:76px!important;padding:13px!important}
.card-use-cases>div:last-child>a b{font-size:12px!important}
.card-use-cases>div:last-child>a small{font-size:10.5px!important;line-height:1.4!important}
.empty-state{padding:34px!important;text-align:center!important}
.empty-state h2{font-size:1.45rem!important}
.empty-state p{max-width:640px;margin-inline:auto!important;font-size:13px!important}

/* Footer is informative but no longer visually crowded. */
.site-footer{margin-top:38px!important}
.footer-inner{grid-template-columns:minmax(240px,1.55fr) repeat(5,minmax(105px,1fr))!important;gap:30px 24px!important}
.footer-about p{font-size:12px!important;line-height:1.6!important}
.footer-trust span,.footer-column a,.footer-column span,.footer-link-button{font-size:11.5px!important;line-height:1.5!important}
.footer-column>b{font-size:12.5px!important}
.footer-note p{font-size:11.5px!important}

/* Search and privacy surfaces. */
.search-shortcuts a{display:flex!important;align-items:center!important;gap:8px!important}
.search-shortcuts .ui-icon{width:16px;height:16px;color:var(--v16-green)}
.global-search-panel{border-radius:20px!important}
.consent-banner{border-radius:16px!important}
.consent-banner-copy p{font-size:11.5px!important;line-height:1.5!important}

/* Auth, account, partner and admin visual consistency. */
.auth-card{max-width:500px!important;padding:30px!important}
.auth-card.auth-card-wide{max-width:650px!important}
.auth-card h1{font-size:2rem!important}
.auth-card p{font-size:13px!important;line-height:1.6!important}
.admin-sidebar nav a{min-height:43px!important;font-size:12.5px!important}
.admin-sidebar nav a>span{font-size:15px!important}
.admin-card th{font-size:10.5px!important}
.admin-card td{font-size:12.5px!important}
.admin-page-head h1{font-size:clamp(1.8rem,3vw,2.5rem)!important}

/* Wide displays can show three bank-card products without tiny text. */
@media (min-width:1480px){
  .bank-card-grid-v7:not(.compact-view){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media (max-width:1320px){
  .header-shell{grid-template-columns:178px minmax(0,1fr) auto auto!important}
  .fiuz-logo-link,.fiuz-logo-wordmark{width:178px!important}
  .main-nav>a,.nav-more>summary{padding-inline:9px!important;font-size:12px!important}
  .header-cta{display:none!important}
  .footer-inner{grid-template-columns:1.5fr repeat(3,1fr)!important}
  .footer-about{grid-row:span 2!important}
}

@media (max-width:1160px){
  .catalog-hero-v14,.cards-hero-v14{grid-template-columns:1fr!important}
  .cards-showcase-v14{grid-template-columns:190px minmax(0,1fr)!important}
  .catalog-advisor-card-v14{grid-template-columns:auto minmax(0,1fr) auto!important}
  .catalog-layout-v7,.cards-layout-v7{display:block!important}
  .main-nav>a,.nav-more>summary{font-size:13px!important}
}

@media (max-width:860px){
  .catalog-toolbar-v7{position:relative!important;top:auto!important}
  .audience-label-full{display:none}
  .audience-label-compact{display:inline}
  .audience-bar a{font-size:11.5px!important;font-weight:750!important;min-width:0!important;flex:1 1 0!important;padding-inline:8px!important}
  .product-summary-v14{grid-template-columns:220px minmax(0,1fr)!important}
  .product-card-footer-v14{grid-template-columns:1fr auto!important}
  .product-actions-v14{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .footer-about,.footer-note{grid-column:1/-1!important;grid-row:auto!important}
  .admin-card{overflow-x:auto!important}
}

@media (max-width:640px){
  :root{--fiuz-audience-height:52px;--fiuz-primary-height:62px}
  body{font-size:14px!important;padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}
  .audience-bar a{font-size:11px!important;line-height:1.18!important;padding:6px 4px!important}
  .header-shell{grid-template-columns:136px 1fr auto auto!important}
  .fiuz-logo-link,.fiuz-logo-wordmark{width:136px!important}
  .catalog-hero-copy-v14,.cards-hero-copy-v14{padding:18px 16px!important}
  .catalog-hero-v14 h1,.cards-hero-v14 h1{font-size:1.78rem!important;line-height:1.1!important}
  .catalog-hero-v14 p,.cards-hero-v14 p{font-size:.86rem!important}
  .catalog-advisor-card-v14{padding:15px!important}
  .cards-showcase-v14{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;padding:15px!important;gap:12px!important}
  .cards-stack-v14{min-height:108px!important}
  .cards-showcase-stats-v14>strong{font-size:1.8rem!important}
  .catalog-toolbar-v7{padding:9px!important}
  .catalog-toolbar-v7>div:first-child>div>b{font-size:12px!important}
  .sort-inline select{font-size:11.5px!important;min-width:0!important}
  .product-card-head-v14{padding:11px 12px!important}
  .product-title-v14 h3{font-size:16px!important}
  .product-title-v14 small{display:block!important;font-size:10px!important}
  .product-summary-v14{display:block!important}
  .product-rate-v14{padding:14px 13px!important}
  .product-rate-v14>strong{font-size:23px!important}
  .product-facts-v14{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px!important}
  .product-facts-v14 dt{font-size:10px!important}
  .product-facts-v14 dd{font-size:11.5px!important}
  .product-context-v14{padding:9px 10px!important}
  .product-badge-line-v14>span,.product-feature-chips-v14 span{font-size:10px!important}
  .product-card-footer-v14{display:block!important;padding:10px!important}
  .product-quality-v14{justify-content:space-between!important;padding-top:8px!important}
  .product-actions-v14{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}
  .product-actions-v14 .btn,.card-actions-v14 .btn{font-size:11px!important;min-height:43px!important;height:auto!important;white-space:normal!important;text-align:center!important}
  .bank-card-card-v14 .card-photo-frame{padding:15px!important}
  .card-content-v14{padding:13px!important}
  .card-product-head-v14 h3{font-size:16px!important}
  .card-cost-grid-v14 small{font-size:9.8px!important}
  .card-cost-grid-v14 b{font-size:11.5px!important}
  .card-actions-v14{gap:8px!important}
  .mobile-nav a{font-size:10px!important;min-height:54px!important}
  .mobile-nav a>span{font-size:9.5px!important;line-height:1.1!important}
  .footer-inner{grid-template-columns:1fr 1fr!important;gap:24px 18px!important;padding-bottom:96px!important}
  .footer-column{min-width:0}
  .footer-column a,.footer-column span,.footer-link-button{overflow-wrap:anywhere}
  .auth-card{width:calc(100% - 20px)!important;padding:22px 18px!important}
  .auth-card h1{font-size:1.75rem!important}
}

@media (max-width:390px){
  .audience-bar a{font-size:10.5px!important}
  .header-shell{grid-template-columns:124px 1fr auto auto!important}
  .fiuz-logo-link,.fiuz-logo-wordmark{width:124px!important}
  .product-actions-v14,.card-actions-v14{grid-template-columns:1fr!important}
  .footer-inner{grid-template-columns:1fr!important}
  .footer-about,.footer-note{grid-column:auto!important}
}

@media (max-width:350px){
  .product-facts-v14,.card-cost-grid-v14{grid-template-columns:1fr!important}
  .cards-showcase-v14{grid-template-columns:1fr!important;text-align:center!important}
  .cards-stack-v14{max-width:170px!important;margin-inline:auto!important}
}

@media print{
  .audience-bar,.primary-header,.mobile-nav,.compare-dock,.consent-banner,.global-search-modal,.filter-backdrop{display:none!important}
  body{background:#fff!important;color:#000!important;font-size:11pt!important;padding:0!important}
  .container{width:100%!important;margin:12px 0!important}
  .card,.product-card-v14,.bank-card-card-v14{box-shadow:none!important;break-inside:avoid}
}
