/* ==========================================================================
   Duara Finance — brand stylesheet
   Palette lifted from the live site: maroon #772338, gold #F0D256,
   ink #1B1C1F, body text #202220. Type: Montserrat.
   ========================================================================== */

:root {
    --maroon: #772338;
    --maroon-dark: #5b1a2b;
    --maroon-light: #963049;
    --gold: #f0d256;
    --gold-dark: #d9b93a;
    --ink: #1b1c1f;
    --text: #202220;
    --muted: #6b6f6b;
    --line: #e4e2df;
    --surface: #ffffff;
    --surface-alt: #faf8f5;
    --shadow: 0 2px 6px rgba(27, 28, 31, .06);
    --shadow-lg: 0 18px 40px rgba(27, 28, 31, .12);
    --radius: 10px;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-light); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); margin: 0; }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--maroon);
    margin-bottom: .6rem;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--maroon); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------------ header */

.site-header {
    position: sticky; top: 0; z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex; align-items: center; gap: 24px;
    min-height: 82px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; }
.nav ul {
    display: flex; align-items: center; gap: 30px;
    list-style: none; margin: 0; padding: 0;
}
.nav a {
    color: var(--ink); font-size: .93rem; font-weight: 600;
    padding: 6px 0; border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--maroon); border-color: var(--gold); }

.nav-toggle {
    display: none; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0;
    transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    .nav.is-open { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
    .nav li { border-bottom: 1px solid var(--line); }
    .nav li:last-child { border-bottom: 0; }
    .nav a { display: block; padding: 14px 0; border-bottom: 0; }
    .nav .btn { margin-top: 14px; text-align: center; }
}

/* ------------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px;
    border: 2px solid var(--maroon);
    background: var(--maroon); color: #fff;
    font: inherit; font-weight: 700; font-size: .9rem;
    letter-spacing: .04em; text-transform: uppercase;
    border-radius: 4px; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .12s;
}
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--ink); }

.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--maroon); border-color: #fff; }

.btn--outline { background: transparent; color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }

.btn--danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.btn--danger:hover { background: #8c1d18; border-color: #8c1d18; color: #fff; }

.btn--sm { padding: 8px 16px; font-size: .78rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------- hero */

.hero {
    position: relative;
    min-height: 620px;
    display: flex; align-items: center;
    background: var(--ink) url('../img/hero.jpg') center/cover no-repeat;
    color: #fff;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(27, 28, 31, .86) 0%, rgba(119, 35, 56, .72) 48%, rgba(27, 28, 31, .35) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 20px; }
.hero p { max-width: 52ch; font-size: 1.08rem; color: rgba(255, 255, 255, .88); margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rule { width: 74px; height: 4px; background: var(--gold); margin-bottom: 26px; }

/* --------------------------------------------------------------- highlights */

.highlights-band { background: var(--maroon); color: #fff; }
.highlights {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-left: 0; padding-right: 0;
}
.highlight { padding: 34px 28px; border-right: 1px solid rgba(255, 255, 255, .14); }
.highlight:last-child { border-right: 0; }
.highlight strong { display: block; font-size: 2rem; color: var(--gold); line-height: 1.1; }
.highlight span { font-size: .9rem; color: rgba(255, 255, 255, .82); }

/* -------------------------------------------------------------------- about */

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
/* The brand ring sits on a maroon panel with a gold offset frame behind it. */
.about__media { position: relative; padding: 18px 18px 0 0; }
.about__media::before {
    content: ''; position: absolute; right: 0; top: 0;
    width: 62%; height: 62%; border: 3px solid var(--gold); border-radius: var(--radius);
}
.about__media__panel {
    position: relative;
    background: var(--maroon); border-radius: var(--radius);
    padding: 54px; display: grid; place-items: center;
}
.about__media img { width: 100%; max-width: 260px; }
.about p { color: #45483f; }
.about ul { list-style: none; padding: 0; margin: 24px 0 0; }
.about li { position: relative; padding-left: 30px; margin-bottom: 12px; font-weight: 600; }
.about li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 12px; height: 12px; border-radius: 3px; background: var(--gold);
}

@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; gap: 36px; }
    .about__media { order: -1; }
}

/* ----------------------------------------------------------------- services */

/* Five cards: 3 + 2 on desktop, 2 + 2 + 1 on tablet, stacked on phones. */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 28px; box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(119, 35, 56, .3); }
.service__icon {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; margin-bottom: 18px;
    background: rgba(119, 35, 56, .08); color: var(--maroon);
}
.service__icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: .4em; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------ callout */

.callout {
    background: var(--maroon); color: #fff; border-radius: var(--radius);
    padding: 46px 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.callout h2 { color: #fff; margin: 0 0 .3em; }
.callout p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 60ch; }

/* -------------------------------------------------------------------- forms */

.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: #b3261e; }
.hint { font-size: .8rem; color: var(--muted); font-weight: 400; }

input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=time], input[type=password], input[type=search], input[type=file],
select, textarea {
    width: 100%;
    padding: 11px 13px;
    font: inherit; font-size: .94rem;
    color: var(--text);
    background: #fff;
    border: 1px solid #cfccc8;
    border-radius: 6px;
    transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(119, 35, 56, .12);
}
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #b3261e; }
.field__error { font-size: .8rem; color: #b3261e; }

.phone-group { display: flex; }
.phone-group .prefix {
    display: grid; place-items: center;
    padding: 0 12px; font-size: .9rem; font-weight: 600;
    background: var(--surface-alt); color: var(--muted);
    border: 1px solid #cfccc8; border-right: 0;
    border-radius: 6px 0 0 6px; white-space: nowrap;
}
.phone-group input { border-radius: 0 6px 6px 0; }

.choice-list { display: grid; gap: 10px; }
.choice {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
    cursor: pointer; transition: border-color .18s, background .18s;
    font-weight: 500; font-size: .93rem;
}
.choice:hover { border-color: var(--maroon); background: rgba(119, 35, 56, .03); }
.choice input { margin: 3px 0 0; accent-color: var(--maroon); flex: 0 0 auto; }
.choice input:checked ~ span { font-weight: 700; color: var(--maroon); }

.fieldset {
    border: 0; padding: 0; margin: 0 0 34px;
}
.fieldset__legend {
    display: flex; align-items: center; gap: 12px;
    font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--maroon); margin-bottom: 18px;
    padding-bottom: 10px; border-bottom: 2px solid var(--gold);
    width: 100%;
}
.fieldset__legend .num {
    display: grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--maroon); color: #fff; font-size: .78rem; letter-spacing: 0;
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
    .form-card { padding: 24px 18px; }
}

/* ------------------------------------------------------------------ notices */

.notice {
    padding: 14px 18px; border-radius: 6px; margin-bottom: 22px;
    border-left: 4px solid; font-size: .93rem;
}
.notice--success { background: #eef7ee; border-color: #2e7d32; color: #1e4620; }
.notice--error { background: #fdecea; border-color: #b3261e; color: #7f1d17; }
.notice--info { background: #fff8e1; border-color: var(--gold-dark); color: #5f4b12; }

/* ---------------------------------------------------------------- reference */

.ref-card {
    text-align: center; padding: 48px 32px;
    border: 2px dashed var(--gold); border-radius: var(--radius);
    background: var(--surface-alt);
}
.ref-card__number {
    font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800;
    letter-spacing: .06em; color: var(--maroon); margin: 12px 0;
}

/* ------------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); padding: 62px 0 0; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .93rem; }
.site-footer__logo { background: #fff; padding: 14px 18px; border-radius: 6px; display: inline-block; }
.site-footer__logo img { height: 42px; }
.copyright { background: var(--gold); color: var(--ink); text-align: center; padding: 16px; font-size: .88rem; font-weight: 600; }
.copyright a { color: var(--ink); text-decoration: underline; }

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section { padding: 56px 0; }
}

/* ==========================================================================
   Staff portal
   ========================================================================== */

body.staff { background: #f4f2ef; }
/* The portal shows tables, not marketing copy — give it more room than the site. */
body.staff .wrap { max-width: 1440px; }

.staff-bar {
    background: var(--ink); color: #fff;
    position: sticky; top: 0; z-index: 60;
}
.staff-bar .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; flex-wrap: wrap; }
.staff-bar__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.staff-bar__brand img { height: 30px; background: #fff; padding: 4px 6px; border-radius: 4px; }
.staff-bar__tag {
    font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    background: var(--gold); color: var(--ink); padding: 3px 8px; border-radius: 3px;
}
.staff-nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.staff-nav a {
    color: rgba(255, 255, 255, .8); font-size: .88rem; font-weight: 600;
    padding: 7px 13px; border-radius: 5px;
}
.staff-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.staff-nav a.is-active { background: var(--maroon); color: #fff; }
.staff-nav .who { font-size: .82rem; color: rgba(255, 255, 255, .6); padding-left: 10px; }

.page-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 18px; flex-wrap: wrap; margin: 32px 0 22px;
}
.page-head h1 { font-size: 1.7rem; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 18px 20px; border-top: 3px solid var(--maroon);
}
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
.stat span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat--new { border-top-color: #1565c0; }
.stat--pending { border-top-color: #5e35b1; }
.stat--in_progress { border-top-color: var(--gold-dark); }
.stat--resolved { border-top-color: #2e7d32; }
.stat--overdue { border-top-color: #b3261e; }

.panel {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    margin-bottom: 22px; overflow: hidden;
}
.panel__head {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-alt);
    flex-wrap: wrap;
}
.panel__head h2, .panel__head h3 { margin: 0; font-size: 1rem; }
.panel__body { padding: 20px; }
.panel--danger { border-color: rgba(179, 38, 30, .35); }
.panel--danger .panel__head { background: #fdecea; border-bottom-color: rgba(179, 38, 30, .25); }
.panel--danger .panel__head h3 { color: #8c1d18; }
.panel--danger .actions-row { align-items: center; }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.filters .field { gap: 5px; }
.filters label { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filters input, .filters select { padding: 9px 11px; font-size: .88rem; }
.filters__actions { display: flex; gap: 8px; }

.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 860px; }
table.data th {
    text-align: left; padding: 12px 12px; white-space: nowrap;
    background: var(--surface-alt); border-bottom: 2px solid var(--line);
    font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:hover { background: #fbfaf8; }
table.data .ref { font-weight: 700; color: var(--maroon); white-space: nowrap; }
table.data .nowrap { white-space: nowrap; }
.empty { padding: 46px 20px; text-align: center; color: var(--muted); }

.badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    white-space: nowrap;
}
.badge--new { background: #e3f2fd; color: #0d47a1; }
.badge--pending { background: #ede7f6; color: #4527a0; }
.badge--in_progress { background: #fff6d6; color: #7a5c00; }
.badge--resolved { background: #e8f5e9; color: #1b5e20; }
.badge--closed { background: #eceff1; color: #37474f; }
.badge--rejected { background: #fdecea; color: #8c1d18; }
.badge--low { background: #eceff1; color: #37474f; }
.badge--medium { background: #fff6d6; color: #7a5c00; }
.badge--high { background: #fdecea; color: #8c1d18; }
.badge--overdue { background: #b3261e; color: #fff; }

.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }

dl.kv { margin: 0; display: grid; grid-template-columns: 190px 1fr; gap: 0; }
dl.kv dt {
    padding: 11px 0; border-bottom: 1px solid var(--line);
    font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
}
dl.kv dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
dl.kv dd .blocktext { white-space: pre-wrap; }
@media (max-width: 620px) {
    dl.kv { grid-template-columns: 1fr; }
    dl.kv dt { border-bottom: 0; padding-bottom: 0; }
}

/* Attached document card ------------------------------------------------- */
.attachment {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--surface-alt);
}
.attachment__icon {
    display: grid; place-items: center; flex: 0 0 auto;
    width: 42px; height: 42px; border-radius: 8px;
    background: rgba(119, 35, 56, .08); color: var(--maroon);
}

/* Inline preview of the attached document ------------------------------- */
.preview { margin-top: 12px; }
.preview > summary {
    cursor: pointer; list-style: none;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--maroon); padding: 4px 0;
}
.preview > summary::-webkit-details-marker { display: none; }
.preview > summary::before {
    content: '▸'; font-size: .9rem; letter-spacing: 0; transition: transform .15s;
}
.preview[open] > summary::before { transform: rotate(90deg); }
.preview > summary:hover { color: var(--maroon-light); }

.preview__image,
.preview__frame {
    display: block; width: 100%; margin-top: 10px;
    border: 1px solid var(--line); border-radius: 8px; background: var(--surface-alt);
}
.preview__image { max-height: 460px; object-fit: contain; padding: 8px; }
.preview__frame { height: 520px; }

/* Comments and automatic activity, in one chronological trail -------------- */
.trail { list-style: none; margin: 0 0 4px; padding: 0; }

.avatar {
    flex: 0 0 auto;
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--maroon); color: #fff;
    font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}

.trail__comment { display: flex; gap: 12px; padding: 12px 0; }
.trail__comment.is-mine .avatar { background: var(--ink); }
.trail__bubble {
    flex: 1; min-width: 0;
    background: var(--surface-alt); border: 1px solid var(--line);
    border-radius: 4px 10px 10px 10px; padding: 12px 14px;
}
.trail__comment.is-mine .trail__bubble { background: #fdf7f8; border-color: rgba(119, 35, 56, .22); }
.trail__bubble .meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.trail__bubble .meta strong { color: var(--ink); }
.trail__bubble .body { white-space: pre-wrap; font-size: .93rem; }

.trail__activity {
    display: flex; gap: 12px; padding: 10px 0 10px 11px;
    margin-left: 6px; border-left: 2px solid var(--line);
}
.trail__activity .dot {
    flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
    background: var(--gold-dark); margin: 6px 0 0 -16px;
}
.trail__activity .meta { font-size: .78rem; color: var(--muted); }
.trail__activity .meta strong { color: var(--text); font-weight: 600; }
.trail__activity .body { white-space: pre-wrap; font-size: .84rem; color: var(--muted); }

.comment-form {
    display: flex; gap: 12px; align-items: flex-start;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.comment-form textarea { margin-top: 6px; min-height: 84px; }

.login-page {
    min-height: 100vh; display: grid; place-items: center;
    background: var(--ink) url('../img/hero.jpg') center/cover no-repeat;
    padding: 40px 20px;
}
.login-page::before { content: ''; position: fixed; inset: 0; background: rgba(27, 28, 31, .82); }
.login-card {
    position: relative; width: 100%; max-width: 420px;
    background: #fff; border-radius: var(--radius); padding: 38px 34px;
    box-shadow: var(--shadow-lg);
}
.login-card img.logo { height: 46px; margin: 0 auto 22px; }
.login-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 6px; }
.login-card .sub { text-align: center; color: var(--muted); font-size: .88rem; margin: 0 0 26px; }
.login-card .back { display: block; text-align: center; margin-top: 20px; font-size: .85rem; }

.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media print {
    .site-header, .site-footer, .staff-bar, .no-print, .filters, .copyright { display: none !important; }
    body { background: #fff; }
    .panel { border: 0; }
}
