/* CalcBeacon v35 logic-unified polish
   Keeps the current v33/v34 unified layout, but makes the large all-tool grid usable. */
.tool-explorer-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:stretch}
.tool-explorer-card{min-height:190px;display:flex;flex-direction:column;justify-content:space-between}
.tool-explorer-open{margin-top:auto}
.cb-v33-tool-core{scroll-margin-top:110px}
.cb-v33-tool-core .grid{align-items:end}
.cb-v33-tool-core input,.cb-v33-tool-core select,.cb-v33-tool-core textarea{max-width:100%}
.cb-v33-tool-core .result,.cb-v33-tool-core .stat-grid{margin-top:18px}
@media(max-width:760px){.tool-explorer-grid{grid-template-columns:1fr}.tool-explorer-card{min-height:auto}.cb-v33-tool-core .toolbar{display:grid;grid-template-columns:1fr;gap:10px}.cb-v33-tool-core .toolbar button{width:100%}}

/* v35.2 production search + background refresh */
:root{--cb-page-bg:#081322;--cb-page-bg-2:#0b1b30;--cb-soft-panel:rgba(255,255,255,.045);}
html,body{background:
  radial-gradient(circle at 18% 0%, rgba(45,127,249,.18), transparent 34%),
  radial-gradient(circle at 82% 12%, rgba(0,167,255,.14), transparent 30%),
  linear-gradient(180deg, var(--cb-page-bg) 0%, var(--cb-page-bg-2) 46%, #07111f 100%) !important;
}
.wrap{background:transparent !important;}
.panel,.footer-card,.quick-tool-card-pro,.smart-path-card,.tool-explorer-card,.popular-calculators-panel,.recently-used-panel{backdrop-filter:saturate(120%) blur(8px);}
.tool-explorer-panel{border:1px solid rgba(96,165,250,.22);box-shadow:0 24px 70px rgba(0,0,0,.28);}
.discovery-search-wrap input{background:rgba(255,255,255,.075);border:1px solid rgba(148,163,184,.28);}
.discovery-search-wrap input:focus{outline:none;border-color:rgba(45,127,249,.82);box-shadow:0 0 0 4px rgba(45,127,249,.18);}
.tool-search-suggestions{z-index:50;}
.tool-search-suggestion.active,.tool-search-suggestion:hover{transform:translateY(-1px);}
