
body {
    font-family: 'Poppins', sans-serif;
    background: var(--pg);
    margin: 0; padding-top: 0;
    color: var(--t1); font-size: 14px; line-height: 1.6;
}

/* header overrides */
/*.ireda-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(30,58,138,.08) !important; }
.header-bg-overlay { background: var(--white) !important; backdrop-filter: none !important; opacity: 1 !important; }
.ireda-header:not(.scrolled) .nav-link,
.ireda-header:not(.scrolled) .glass-btn { color: rgba(255,255,255,0.92) !important; text-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.ireda-header:not(.scrolled) .utility-link    { color: rgba(255,255,255,0.75) !important; }
.ireda-header:not(.scrolled) .utility-divider { color: rgba(255,255,255,0.35) !important; }
.ireda-header:not(.scrolled) .col-lg-2 img    { filter: none !important; opacity: 1 !important; }
.ireda-header.scrolled .nav-link,
.ireda-header.scrolled .glass-btn             { color: var(--t2) !important; text-shadow: none !important; }
.ireda-header.scrolled .utility-link          { color: var(--t3) !important; }
.ireda-header.scrolled .col-lg-2 img          { filter: none !important; opacity: .92 !important; }
*/

/* header overrides — subpage: always solid white, always dark text */
.ireda-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(30,58,138,.08) !important; }
.header-bg-overlay { background: var(--white) !important; backdrop-filter: none !important; opacity: 1 !important; }
.ireda-header .nav-link,
.ireda-header .glass-btn { color: var(--blue) !important; text-shadow: none !important; }
.ireda-header .utility-link,
.ireda-header .utility-lang-btn,
.ireda-header .utility-font-btn { color: var(--t3) !important; }
.ireda-header .utility-divider { color: var(--border) !important; }
.ireda-header .col-lg-2 img { filter: none !important; opacity: 1 !important; }

/* ── TABLE CARD ── */
.ar-table-card {
    background: var(--white);
    border-radius: var(--r1);
    box-shadow: var(--s2);
    border: 1px solid rgba(37,99,235,.05);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.ar-table-card::before { content: ''; display: block; height: 4px; background: var(--G); }

.ar-table-header {
    display: flex; align-items: center; gap: .9rem;
    padding: 1.1rem 1.6rem; background: var(--G);
}
.ar-table-header-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: .92rem; color: var(--white); flex-shrink: 0;
}
.ar-table-header-title { font-size: .9rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.ar-table-header-sub   { font-size: .7rem; color: rgba(255,255,255,.65); margin-top: .1rem; }

/* ── TABLE ── */
.ar-table-wrap { overflow-x: auto; }

.ar-table {
    width: 100%; border-collapse: collapse;
    font-size: .82rem; min-width: 860px;
}
.ar-table thead th {
    background: var(--xpale); color: var(--t1);
    padding: .6rem .75rem; font-size: .64rem; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    text-align: center; border-bottom: 2px solid var(--pale);
    white-space: nowrap;
}
.ar-table thead th.ar-year { text-align: left; width: 90px; }

.ar-row { border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.ar-row:last-child { border-bottom: none; }
.ar-row:hover { background: var(--xpale); }
.ar-row--recent { background: #fafbff; }
.ar-row--recent:hover { background: var(--xpale); }

.ar-table tbody td { padding: .65rem .75rem; vertical-align: middle; text-align: center; }
.ar-year { text-align: left !important; width: 90px; }

/* year pill */
.ar-year-pill {
    display: inline-block;
    background: var(--xpale); border: 1px solid var(--pale);
    color: var(--t1); border-radius: 6px;
    font-size: .74rem; font-weight: 700;
    padding: .18rem .65rem; white-space: nowrap;
}
.ar-year-pill--new {
    background: var(--G); color: var(--white); border-color: transparent;
}

/* download icon button */
.ar-dl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    background: var(--G); color: var(--white);
    border-radius: 7px; font-size: .72rem;
    text-decoration: none; transition: var(--t);
    box-shadow: 0 2px 6px rgba(30,58,138,.18);
}
.ar-dl-btn:hover { opacity: .85; transform: translateY(-1px); color: var(--white); }
.ar-dl-btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }

/* nil cell */
.ar-nil { color: var(--pale); font-size: .8rem; }

/* ── INSPECTION CARD ── */
/* ── INSPECTION ACCORDION ── */
.ar-inspection-card {
    background: var(--white); border-radius: var(--r1);
    box-shadow: var(--s2); border: 1px solid rgba(37,99,235,.05);
    overflow: hidden;
}
.ar-inspection-card::before { content: ''; display: block; height: 4px; background: var(--G); }

.ar-inspection-toggle {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
    padding: 1rem 1.6rem;
    background: var(--G); border: none; cursor: pointer;
    text-align: left;
}
.ar-inspection-toggle:focus-visible { outline: 3px solid var(--mid); outline-offset: -3px; }

.ar-inspection-head-left { display: flex; align-items: center; gap: .9rem; }

.ar-inspection-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
    color: var(--white); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.ar-inspection-title { font-size: .88rem; font-weight: 800; color: var(--white); }
.ar-inspection-sub   { font-size: .7rem; color: rgba(255,255,255,.65); margin-top: .05rem; }

.ar-inspection-chevron {
    font-size: .85rem; color: rgba(255,255,255,.8); flex-shrink: 0;
    transition: transform .3s ease;
}
.ar-inspection-chevron.collapsed { transform: rotate(180deg); }

.ar-inspection-body { overflow: hidden; transition: max-height .35s ease; max-height: 400px; }
.ar-inspection-body.collapsed { max-height: 0; }

.ar-inspection-item {
    display: flex; align-items: center; gap: .9rem;
    padding: .85rem 1.6rem; text-decoration: none;
    border-bottom: 1px solid #f1f5f9; transition: background .15s;
}
.ar-inspection-item:last-child { border-bottom: none; }
.ar-inspection-item:hover { background: var(--xpale); }
.ar-inspection-item:focus-visible { outline: 3px solid var(--mid); outline-offset: -3px; }

.ar-insp-item-icon {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--G); color: var(--white); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; box-shadow: 0 2px 8px rgba(30,58,138,.15);
    transition: var(--t);
}
.ar-inspection-item:hover .ar-insp-item-icon { transform: scale(1.08); }

.ar-insp-item-text {
    flex: 1; font-size: .88rem; font-weight: 500; color: var(--t1);
    line-height: 1.4; transition: color .15s;
}
.ar-inspection-item:hover .ar-insp-item-text { color: var(--blue); }

.ar-insp-item-dl {
    font-size: .82rem; color: var(--mid); flex-shrink: 0;
    transition: transform .2s;
}
.ar-inspection-item:hover .ar-insp-item-dl { transform: translateX(3px); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .ar-inspection-card { flex-wrap: wrap; }
    .ar-inspection-btn  { margin-left: 0; }
}
@media print {
    .ar-table-card, .ar-inspection-card { box-shadow: none; border: 1px solid #ccc; }
    .ar-dl-btn { background: none; color: var(--blue); box-shadow: none; border: 1px solid var(--blue); }
}







/* Makes PDF text link look like an icon button on public page */
.ar-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 .5rem;
    border-radius: 6px;
    background: var(--xpale, #eff6ff);
    border: 1px solid var(--pale, #dbeafe);
    color: var(--G, #2563eb);
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.ar-dl-btn:hover {
    background: var(--G, #2563eb);
    color: white;
}