﻿/* =====================================================================
   Database FISI - area pubblica
   Palette ricavata dal logo FISI (blu navy + grigio + tricolore)
   ===================================================================== */

:root {
    --navy: #17336b;
    --navy-700: #112856;
    --navy-050: #eef2f9;
    --sky: #1f6fd1;
    --sky-050: #e8f1fc;
    --ink: #1b2537;
    --muted: #64708a;
    --line: #e1e6ef;
    --bg: #f3f5f9;
    --card: #ffffff;
    --red: #c8102e;
    --green: #009246;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(17, 40, 86, .06), 0 6px 18px rgba(17, 40, 86, .06);
    --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.fisi {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

body.fisi form { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- HEADER */
.site-header { background: #fff; }

.site-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand img { display: block; height: 56px; width: auto; }

.brand-title {
    display: flex;
    flex-direction: column;
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.brand-title__kicker {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-title__main {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
}

.flag-strip { display: flex; height: 4px; }
.flag-strip span { flex: 1; }
.flag-strip span:nth-child(1) { background: var(--green); }
.flag-strip span:nth-child(2) { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flag-strip span:nth-child(3) { background: var(--red); }

/* ---------------------------------------------------------------- NAV */
.site-nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(17, 40, 86, .18);
}

.site-nav__list {
    list-style: none;
    margin: 0 auto;
    padding: 0 16px;
    max-width: 1440px;
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }

.site-nav__list a {
    display: block;
    white-space: nowrap;
    padding: 14px 16px 12px;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    border-bottom: 3px solid transparent;
    transition: color .15s, background-color .15s, border-color .15s;
}

.site-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.site-nav__list a.is-active {
    color: #fff;
    border-bottom-color: #fff;
    background: rgba(255, 255, 255, .10);
}

.site-nav__list a.is-disabled {
    color: rgba(255, 255, 255, .38);
    cursor: not-allowed;
    background: none;
}

.site-nav__list a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* ---------------------------------------------------------------- LAYOUT */
.wrapper {
    flex: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

.notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 18px;
    background: var(--sky-050);
    border: 1px solid #cfe2f8;
    border-radius: 10px;
    color: #234b7d;
    font-size: 13px;
}

.notice__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sky);
    color: #fff;
    font: 700 12px/20px var(--font-head);
    text-align: center;
}

.page-head { margin: 6px 0 16px; }

.page-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.015em;
}

.page-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------- FILTRI */
.filters { padding: 18px 20px; margin-bottom: 18px; }

.filters__title {
    margin: 0 0 12px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px 16px;
    align-items: end;
}

.filter-grid--wide { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.field-label {
    font-size: 12px;
    font-weight: 600;
    color: #3a4660;
}

.field-hint { font-size: 11px; color: var(--muted); }

.field--check {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 36px;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.filter-actions__note { margin-right: auto; color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------------- RISULTATI */
.results { overflow: hidden; }

.results__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}

.results__title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.results__tools { display: flex; align-items: center; gap: 10px; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--navy-050);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
}

.grd_result { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- TELERIK: input */
.fisi .RadComboBox,
.fisi .RadInput,
.fisi .RadPicker { width: 100% !important; max-width: 100%; }

.fisi .RadComboBox .rcbInner,
.fisi .RadInput .riTextBox,
.fisi .RadInput.RadInput_Bootstrap .riTextBox,
.fisi .RadPicker .riTextBox {
    min-height: 36px;
    border-radius: 8px !important;
    border-color: #cfd6e2 !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--ink) !important;
}

.fisi .RadComboBox .rcbInner:hover,
.fisi .RadInput .riTextBox:hover { border-color: #a9b5c9 !important; }

.fisi .RadComboBox .rcbFocused .rcbInner,
.fisi .RadInput .riTextBox.riFocused,
.fisi .RadInput .riTextBox:focus {
    border-color: var(--sky) !important;
    box-shadow: 0 0 0 3px rgba(31, 111, 209, .15) !important;
}

.fisi .RadComboBox .rcbDisabled .rcbInner,
.fisi .RadInput .riTextBox.riDisabled { background: #f5f7fa !important; color: #9aa4b5 !important; }

/* ---------------------------------------------------------------- TELERIK: pulsanti */
.fisi .RadButton.fbtn {
    min-height: 38px;
    min-width: 110px;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-family: var(--font-head) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: none !important;
    background-image: none !important;
    transition: background-color .15s, border-color .15s, color .15s;
}

.fisi .RadButton.fbtn-primary {
    background-color: var(--navy) !important;
    border: 1px solid var(--navy) !important;
    color: #fff !important;
}
.fisi .RadButton.fbtn-primary:hover { background-color: var(--navy-700) !important; border-color: var(--navy-700) !important; }

.fisi .RadButton.fbtn-ghost {
    background-color: #fff !important;
    border: 1px solid #cfd6e2 !important;
    color: #3a4660 !important;
}
.fisi .RadButton.fbtn-ghost:hover { background-color: var(--navy-050) !important; border-color: #b8c3d6 !important; }

.fisi .RadButton .rbText,
.fisi .RadButton .rbDecorated { color: inherit !important; }

.btn-excel { display: inline-flex; align-items: center; }
.btn-excel img { display: block; }

/* ---------------------------------------------------------------- TELERIK: griglia */
.fisi .RadGrid {
    border: 0 !important;
    border-radius: 0;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--ink);
    background: #fff;
}

.fisi .RadGrid .rgMasterTable { border-collapse: separate; border-spacing: 0; width: 100%; }

.fisi .RadGrid .rgHeader,
.fisi .RadGrid th.rgHeader {
    background: #f7f9fc !important;
    color: #3a4660 !important;
    font-family: var(--font-head) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 11px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
}

.fisi .RadGrid .rgHeader a { color: inherit !important; text-decoration: none; }
.fisi .RadGrid .rgHeader a:hover { color: var(--sky) !important; }

.fisi .RadGrid .rgRow > td,
.fisi .RadGrid .rgAltRow > td {
    padding: 9px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef1f6 !important;
    font-size: 13px !important;
    vertical-align: middle;
}

.fisi .RadGrid .rgRow { background: #fff !important; }
.fisi .RadGrid .rgAltRow { background: #fafbfd !important; }
.fisi .RadGrid .rgRow:hover,
.fisi .RadGrid .rgAltRow:hover { background: var(--sky-050) !important; }

/* numero riga (colonne con ItemStyle-CssClass="col-num") */
.fisi .RadGrid td.col-num { color: #9aa4b5; font-variant-numeric: tabular-nums; width: 1%; }

.fisi .RadGrid .rgFilterRow > td { padding: 6px 8px !important; background: #fbfcfe; border-bottom: 1px solid var(--line) !important; }

.fisi .RadGrid .rgNoRecords > td,
.fisi .RadGrid .rgNoRecords div {
    padding: 36px 16px !important;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    background: #fff;
    border: 0 !important;
}

.fisi .RadGrid .rgPager,
.fisi .RadGrid .rgPagerCell { background: #f7f9fc !important; border: 0 !important; }

/* stato non classificato (DNS / DNF / DSQ ...) */
.fisi .RadGrid td.cell-status { font-weight: 700; }

/* ---------------------------------------------------------------- TELERIK: checkbox */
.fisi .RadCheckBox .rbText { font-size: 13px !important; color: var(--ink) !important; }

/* ---------------------------------------------------------------- FOOTER */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 24px 26px;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
}

.site-footer a { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- MOBILE */
@media (max-width: 720px) {
    .site-header__inner { padding: 12px 16px; gap: 14px; }
    .brand img { height: 42px; }
    .brand-title { padding-left: 14px; }
    .brand-title__main { font-size: 17px; }
    .brand-title__kicker { font-size: 10px; }
    .wrapper { padding: 14px 16px 32px; }
    .page-title { font-size: 21px; }
    .filters { padding: 16px; }
    .filter-grid, .filter-grid--wide { grid-template-columns: 1fr 1fr; gap: 12px; }
    .filter-actions { justify-content: stretch; }
    .filter-actions__note { width: 100%; }
    .fisi .RadButton.fbtn { flex: 1; }
    .results__head { padding: 12px 16px; }
    .site-footer { padding: 16px; }
}

@media (max-width: 420px) {
    .filter-grid, .filter-grid--wide { grid-template-columns: 1fr; }
    .brand-title__kicker { display: none; }
}

/* =====================================================================
   v3 - componenti aggiuntivi
   ===================================================================== */

/* ---------------------------------------------------------------- KPI */
.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.kpi {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.kpi::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--navy);
}

.kpi:nth-child(2)::before { background: var(--sky); }
.kpi:nth-child(3)::before { background: var(--green); }
.kpi:nth-child(4)::before { background: var(--red); }

.kpi__value {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.kpi__label { font-size: 12px; font-weight: 600; color: #3a4660; text-transform: uppercase; letter-spacing: .06em; }
.kpi__note { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- page head con azioni */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head__text { min-width: 0; }

/* ---------------------------------------------------------------- filtri avanzati */
.filters__row {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px 16px;
    align-items: end;
}

.field--search .RadInput .riTextBox {
    min-height: 42px !important;
    padding-left: 38px !important;
    font-size: 14px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364708a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center !important;
}

details.advanced {
    margin-top: 14px;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
}

details.advanced > summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sky);
    user-select: none;
}

details.advanced > summary::-webkit-details-marker { display: none; }
details.advanced > summary::before {
    content: "+";
    display: inline-block;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--sky-050);
    color: var(--sky);
    text-align: center;
    line-height: 18px;
    font-size: 14px;
}
details.advanced[open] > summary::before { content: "\2013"; }
details.advanced > .filter-grid { margin-top: 14px; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; min-height: 36px; align-items: center; }

/* ---------------------------------------------------------------- riepilogo risultati */
.summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-height: 26px;
}

.count { font-size: 13px; color: var(--muted); margin-right: 4px; }
.count strong { color: var(--navy); font-family: var(--font-head); font-size: 15px; }

.chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--navy-050);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.chip--warn { background: #fff4e0; color: #8a5300; }
.chip--error { background: #fde8eb; color: #a3001b; white-space: normal; }

/* ---------------------------------------------------------------- badge nelle celle */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    background: #eef1f6;
    color: #3a4660;
}
.tag--ok { background: #e3f4ea; color: #006b33; }
.tag--ko { background: #fde8eb; color: #a3001b; }
.tag--info { background: var(--sky-050); color: #1a5aa8; }
.tag--f { background: #fbe9f3; color: #9b1c63; }
.tag--m { background: #e8f0fb; color: #1a4f9c; }

.pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 12px;
    background: #eef1f6;
    color: var(--ink);
}
.pos--1 { background: #f6d55c; color: #5b4500; }
.pos--2 { background: #d9dee6; color: #333d4d; }
.pos--3 { background: #e8b07f; color: #5a3010; }

.cell-link { color: var(--sky); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cell-link:hover { text-decoration: underline; }
.cell-strong { font-weight: 700; }
.cell-sub { display: block; font-size: 11px; color: var(--muted); }
.cell-muted { color: var(--muted); }

/* ---------------------------------------------------------------- griglia: command bar, pager, filtri */
.fisi .RadGrid .rgCommandRow > td,
.fisi .RadGrid .rgCommandCell {
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 8px 14px !important;
}

.fisi .RadGrid .rgCommandTable td { border: 0 !important; }

.fisi .RadGrid .rgCommandRow .rgExpXLS,
.fisi .RadGrid .rgCommandRow .rgExpCSV,
.fisi .RadGrid .rgCommandRow button,
.fisi .RadGrid .rgCommandRow a {
    font-family: var(--font-head) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
}

.fisi .RadGrid .rgPager > td,
.fisi .RadGrid .rgPagerCell {
    padding: 10px 14px !important;
    background: #f7f9fc !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    font-size: 12px !important;
    color: var(--muted) !important;
}

.fisi .RadGrid .rgPager .rgCurrentPage,
.fisi .RadGrid .rgPager .rgNumPart a.rgCurrentPage {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: #fff !important;
    border-radius: 6px !important;
}

.fisi .RadGrid .rgPager .rgNumPart a { border-radius: 6px !important; }

.fisi .RadGrid .rgFilterRow > td .RadInput .riTextBox,
.fisi .RadGrid .rgFilterRow > td input[type=text] {
    min-height: 30px;
    border-radius: 6px !important;
    font-size: 12px !important;
}

.fisi .RadGrid .rgHeader .rgSortAsc,
.fisi .RadGrid .rgHeader .rgSortDesc { vertical-align: middle; }

.fisi .RadGrid .rgHeader.rgSorted,
.fisi .RadGrid th.rgSorted { color: var(--navy) !important; background: var(--navy-050) !important; }

.fisi .RadGrid td.rgSorted { background: rgba(23, 51, 107, .025); }

/* ---------------------------------------------------------------- HOME */
.hero {
    position: relative;
    margin: 0 0 22px;
    padding: 34px 32px 30px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(1200px 300px at 110% -40%, rgba(255,255,255,.18), transparent 60%),
        linear-gradient(135deg, #112856 0%, #17336b 45%, #1f4f9b 100%);
    box-shadow: 0 10px 30px rgba(17, 40, 86, .25);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -40px; bottom: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 36px solid rgba(255,255,255,.06);
}

.hero__kicker { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.hero__title { margin: 6px 0 6px; font-family: var(--font-head); font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.hero__sub { margin: 0 0 20px; max-width: 680px; opacity: .88; font-size: 15px; }

.hero__search {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    max-width: 720px;
}

.hero__search .RadInput { flex: 1; }
.hero__search .RadInput .riTextBox {
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 10px !important;
    padding-left: 44px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364708a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 14px center !important;
}

.hero__search .RadButton.fbtn { min-height: 48px; background-color: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
.hero__search .RadButton.fbtn:hover { background-color: #e9eef8 !important; }

.hero__hint { position: relative; z-index: 1; margin-top: 10px; font-size: 12px; opacity: .75; }

.sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.section-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

.section-card:hover { transform: translateY(-2px); border-color: #c9d6ea; box-shadow: 0 10px 26px rgba(17, 40, 86, .12); }

.section-card__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--navy-050);
    color: var(--navy);
}
.section-card__icon svg { width: 22px; height: 22px; }

.section-card__title { margin: 4px 0 0; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy); }
.section-card__text { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }
.section-card__cta { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }

.section-title {
    margin: 26px 0 12px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 900px) {
    .filters__row { grid-template-columns: 1fr 1fr; }
    .filters__row .field--search { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .hero { padding: 24px 18px; border-radius: 12px; }
    .hero__title { font-size: 24px; }
    .hero__search { flex-direction: column; }
    .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
    .kpi { padding: 12px 14px; }
    .kpi__value { font-size: 20px; }
}

@media (max-width: 420px) {
    .filters__row { grid-template-columns: 1fr; }
}

/* link nelle celle */
.fisi .RadGrid td.col-link a { color: var(--sky) !important; font-weight: 600; text-decoration: none; white-space: nowrap; font-size: 12px; }
.fisi .RadGrid td.col-link a:hover { text-decoration: underline; }
.fisi .RadGrid td.col-num-right a { font-variant-numeric: tabular-nums; }

/* combo nella hero */
.hero__search .RadComboBox .rcbInner { min-height: 48px; border: 0 !important; border-radius: 10px !important; box-shadow: 0 4px 14px rgba(0,0,0,.15); background: #fff !important; }
.hero__search .RadComboBox .rcbInput { font-size: 14px !important; }
@media (max-width: 720px) { .hero__search .RadComboBox { width: 100% !important; } }

/* hero: campo di ricerca largo, combo a larghezza fissa */
.hero__search .RadInput { flex: 1 1 auto; width: auto !important; min-width: 0; }
.hero__search .RadComboBox { flex: 0 0 190px; width: 190px !important; }
@media (max-width: 720px) {
    .hero__search .RadInput, .hero__search .RadComboBox { flex: 1 1 auto; width: 100% !important; }
}

/* righe compatte: niente a capo, la griglia scorre in orizzontale */
.fisi .RadGrid .rgRow > td,
.fisi .RadGrid .rgAltRow > td { white-space: nowrap; }
.fisi .RadGrid .cell-sub { margin-top: 1px; }
