.fees-page {
    margin: 0;
    background: #fff;
    color: #132442;
    font: 16px/1.55 Poppins, "Segoe UI", sans-serif;
}

.fees-page *, .fees-page *::before, .fees-page *::after { box-sizing: border-box; }
.fees-page a { color: #354a87; }
.fees-page .micash-public-header { position: sticky; top: 0; z-index: 100; }
.fees-page .micash-public-header .micash-public-button { color: #fff; }

.fees-content {
    width: min(1120px, calc(100% - 36px));
    margin: clamp(24px, 5vw, 64px) auto;
}

.fees-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    align-items: center;
    gap: clamp(24px, 5vw, 60px);
    padding: clamp(24px, 5vw, 60px);
}

.fees-intro h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.16;
    letter-spacing: -.032em;
}

.fees-intro p { margin: 14px 0 0; max-width: 48ch; color: #495770; }
.fees-estimator {
    padding: clamp(20px, 3vw, 32px);
    border-radius: 16px;
    background: #354a88;
    color: #fff;
    box-shadow: 0 12px 30px rgba(24, 38, 78, .18);
}
.fees-estimator label { display: block; margin-bottom: 8px; font-weight: 650; }
.fees-estimator-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.fees-estimator input, .fees-estimator button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 9px 12px;
    font: inherit;
}
.fees-estimator input { flex: 1 1 110px; min-width: 0; color: #132442; background: #fff; }
.fees-estimator button { background: #ffc845; color: #172444; font-weight: 700; cursor: pointer; }
.fees-estimator button:disabled { opacity: .65; cursor: wait; }
.fees-content :focus-visible { outline: 3px solid #7a91d5; outline-offset: 3px; }
.fees-estimator :focus-visible { outline-color: #fff; }

.fees-schedule { margin-top: 38px; }
.fees-schedule-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
.fees-schedule-heading h2, .fees-questions h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.fees-schedule-heading p { margin: 0; color: #495770; font-size: .9rem; }
.fees-table-wrap { border: 1px solid #dce4f0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px #15274c0c; }
.fees-table { width: 100%; border-collapse: collapse; text-align: left; }
.fees-table th, .fees-table td { padding: 14px clamp(10px, 2vw, 24px); vertical-align: top; }
.fees-table thead { background: #354a87; color: #fff; }
.fees-table tbody tr + tr { border-top: 1px solid #e4e9f3; }
.fees-table tbody tr:nth-child(even) { background: #f6f8fc; }
.fees-table tbody td:not(:first-child) { color: #263d73; font-weight: 700; }
.fees-table tbody small { display: inline-block; color: #495770; font-size: .85rem; }
.fees-table .fee-estimate-value { white-space: nowrap; }
.fees-questions { margin-top: 34px; scroll-margin-top: 170px; }
.fees-questions details { padding: 12px 0; border-bottom: 1px solid #dce4f0; }
.fees-questions summary { cursor: pointer; font-weight: 650; }
.fees-questions p { color: #495770; margin: 8px 0 0; }
@media (max-width: 760px) {
    .fees-intro { grid-template-columns: minmax(0, 1fr); }
    .fees-table { font-size: .86rem; }
    .fees-table tbody small { font-size: .78rem; }
}
@media (max-width: 380px) {
    .fees-content { width: calc(100% - 24px); }
}
