@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
    --brand: #1e3a8a;          /* navy 800 */
    --brand-dark: #0f1f3d;
    --brand-050: #eef2ff;
    --ink: #0f172a;            /* slate 900 */
    --muted: #64748b;          /* slate 500 */
    --line: #e2e8f0;
    --accent: #c9a227;         /* legal gold */
    --radius: 16px;
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

html, body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: #f8fafc;
}

h1, h2, h3, h4, .display-5 { font-family: 'Poppins', sans-serif; letter-spacing: -.01em; color: var(--ink); }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; }

/* ---------- App shell ---------- */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.app-main { flex: 1; }

.nav-alerts { position: relative; }
.alerts-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px;
    font-size: .68rem; font-weight: 800; line-height: 1; vertical-align: middle;
    color: #fff; background: #dc2626; border-radius: 999px;
}

.testnet-banner {
    position: sticky; top: 0; z-index: 40;
    background: #fffbeb; color: #92400e; border-bottom: 1px solid #fde68a;
    text-align: center; font-size: .84rem; font-weight: 600; line-height: 1.35;
    padding: 7px 14px; letter-spacing: .01em;
}
.testnet-banner strong { color: #b45309; }
.app-shell .testnet-banner + .app-header { top: 33px; }

.app-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.app-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: 68px; padding: 0 1.25rem 0 .9rem; }
.header-left, .header-right { display: flex; align-items: center; gap: .6rem; min-width: 0; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; font-family: 'Poppins'; font-weight: 800;
}
.brand-name { font-family: 'Poppins'; }
.brand-dot { color: var(--brand); }

.nav-link {
    display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
    color: var(--ink); font-weight: 500; font-size: .93rem;
    padding: .45rem .7rem; border-radius: 999px; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--brand-050); color: var(--brand-dark); text-decoration: none; }
.nav-link.active { background: var(--brand-050); color: var(--brand-dark); font-weight: 700; }
.nav-dd-menu a.active { background: var(--brand-050); color: var(--brand-dark); font-weight: 700; }

/* Primary CTA button in the nav */
.btn-nav-cta {
    display: inline-flex; align-items: center; white-space: nowrap; margin: 0 .15rem;
    background: var(--accent); color: #1a1206 !important; font-weight: 700; font-size: .92rem;
    padding: .5rem 1.05rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(201, 162, 39, .35);
    transition: transform .1s ease, box-shadow .15s ease;
}
.btn-nav-cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(201, 162, 39, .45); }

/* No-JS dropdowns (Admin + user menu) via <details> */
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary.nav-link::after { content: "▾"; font-size: .7rem; opacity: .55; margin-left: .1rem; }
.nav-dd[open] > summary.nav-link { background: var(--brand-050); color: var(--brand-dark); }
/* Highlight the Admin toggle when any page inside its menu is the active route */
.nav-dd:has(.nav-dd-menu .active) > summary.nav-link { background: var(--brand-050); color: var(--brand-dark); font-weight: 700; }
.nav-dd-menu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 50;
    min-width: 190px; padding: .4rem; display: flex; flex-direction: column; gap: .1rem;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 16px 44px rgba(2, 6, 23, .16);
}
.nav-dd-right { left: auto; right: 0; }
.nav-dd-menu a, .nav-dd-signout {
    display: block; width: 100%; text-align: left; white-space: nowrap;
    padding: .5rem .7rem; border-radius: 9px; color: var(--ink); font-size: .92rem;
    background: transparent; border: none; cursor: pointer;
}
.nav-dd-menu a:hover, .nav-dd-signout:hover { background: var(--brand-050); color: var(--brand-dark); text-decoration: none; }
.nav-dd-signout { color: #dc2626; font-weight: 600; }
.nav-dd-signout:hover { background: #fef2f2; color: #b91c1c; }
.nav-dd-email {
    padding: .35rem .7rem .55rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line);
    font-size: .8rem; color: var(--muted); max-width: 240px; overflow: hidden; text-overflow: ellipsis;
}

/* User avatar toggle (avatar + caret) */
.nav-user-trigger { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: .3rem;
    margin-left: .4rem; padding: 3px 6px 3px 3px; border-radius: 999px; color: var(--muted); transition: background .15s; }
.nav-user-trigger::-webkit-details-marker { display: none; }
.nav-user-trigger:hover { background: #f1f5f9; color: var(--ink); }
.nav-caret { transition: transform .2s; }
.nav-user-dd[open] .nav-caret { transform: rotate(180deg); }
.nav-avatar {
    list-style: none; user-select: none;
    width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: .95rem; font-family: 'Poppins';
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.nav-avatar::-webkit-details-marker { display: none; }
.nav-avatar:hover { filter: brightness(1.06); }

.btn-nav-solid {
    border-radius: 999px; padding: .5rem 1.15rem; font-weight: 700; font-size: .92rem; cursor: pointer;
    background: var(--brand); color: #fff !important; border: none; white-space: nowrap;
}
.btn-nav-solid:hover { background: var(--brand-dark); text-decoration: none; }



/* ---------- Signed-out header links (the side panel is for signed-in users only) ---------- */
.top-links { display: flex; align-items: center; gap: .2rem; margin-right: .2rem; }
.top-links-dd { display: none; }
.top-links-dd .dd-cta { display: none; font-weight: 700; color: var(--brand-dark); }
@media (max-width: 991.98px) {
    .top-links { display: none; }
    .top-links-dd { display: block; }
}
@media (max-width: 479.98px) {
    .header-right .cta-anon { display: none; }
    .top-links-dd .dd-cta { display: block; }
}

/* ---------- Side navigation (collapsible) ---------- */
:root { --side-w: 248px; --side-rail: 72px; --header-h: 68px; }

.side-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; padding: 0 9px; border: none; border-radius: 10px;
    background: transparent; cursor: pointer;
}
.side-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.side-toggle:hover { background: var(--brand-050); }

.app-body { display: flex; align-items: stretch; flex: 1; }
.app-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.side-nav {
    position: sticky; top: var(--header-h); z-index: 25; flex: 0 0 var(--side-w); width: var(--side-w);
    height: calc(100vh - var(--header-h)); display: flex; flex-direction: column;
    background: #fff; border-right: 1px solid var(--line);
    transition: width .2s ease, flex-basis .2s ease, transform .22s ease;
}
.side-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: .9rem .7rem; }
.side-section + .side-section { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.side-heading {
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); padding: 0 .75rem .4rem; white-space: nowrap;
}
.side-link {
    position: relative; display: flex; align-items: center; gap: .75rem;
    padding: .55rem .75rem; margin-bottom: 2px; border-radius: 10px;
    color: #334155; font-weight: 500; font-size: .93rem; white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.side-link:hover { background: var(--brand-050); color: var(--brand-dark); text-decoration: none; }
.side-link.active { background: var(--brand-050); color: var(--brand-dark); font-weight: 700; }
.side-link.active::before {
    content: ""; position: absolute; left: -.7rem; top: 8px; bottom: 8px; width: 3px;
    border-radius: 0 3px 3px 0; background: var(--accent);
}
.side-icon { flex: 0 0 20px; }
.side-label { overflow: hidden; text-overflow: ellipsis; }
.side-link .alerts-badge { margin-left: auto; }

.side-collapse {
    display: flex; align-items: center; gap: .75rem; margin: .5rem .7rem .8rem; padding: .55rem .75rem;
    border: none; border-radius: 10px; background: transparent; color: var(--muted);
    font-size: .88rem; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.side-collapse:hover { background: #f1f5f9; color: var(--ink); }
.side-collapse .side-icon { transition: transform .2s ease; }
.side-backdrop { display: none; }

/* Desktop: collapsed to an icon rail */
@media (min-width: 992px) {
    html.side-collapsed .side-nav { flex-basis: var(--side-rail); width: var(--side-rail); }
    html.side-collapsed .side-legal,
    html.side-collapsed .side-label,
    html.side-collapsed .side-heading { display: none; }
    html.side-collapsed .side-link, html.side-collapsed .side-collapse { justify-content: center; padding-left: 0; padding-right: 0; }
    html.side-collapsed .side-section + .side-section { margin-top: .6rem; padding-top: .6rem; }
    html.side-collapsed .side-collapse .side-icon { transform: rotate(180deg); }
    html.side-collapsed .side-link .alerts-badge {
        position: absolute; top: 3px; right: 8px; margin: 0; min-width: 16px; height: 16px; font-size: .6rem;
    }
}

/* Mobile / tablet: off-canvas drawer */
@media (max-width: 991.98px) {
    .side-nav {
        position: fixed; left: 0; top: var(--header-h); bottom: 0; height: auto; z-index: 45;
        transform: translateX(-100%); box-shadow: none;
    }
    html.side-open .side-nav { transform: none; box-shadow: 0 20px 50px rgba(2, 6, 23, .22); }
    html.side-open .side-backdrop {
        display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 44;
        background: rgba(15, 23, 42, .35);
    }
    html.side-open .side-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    html.side-open .side-toggle span:nth-child(2) { opacity: 0; }
    html.side-open .side-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .side-collapse { display: none; }
}

@media (max-width: 575.98px) {
    .app-header-inner { padding: 0 .75rem 0 .5rem; }
    .brand { font-size: 1.15rem; }
    .header-right .btn-nav-cta { padding: .45rem .8rem; font-size: .85rem; }
}

.app-footer {
    position: relative; border-top: 1px solid var(--line); background: #fff; color: var(--muted);
    padding: 1.6rem 0; margin-top: 3.5rem; font-size: .9rem;
}
.app-footer::before {
    content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand-dark), var(--accent));
}
/* Footer: brand column + grouped link columns */
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem 2.5rem; padding: .5rem 0 1.75rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; margin-bottom: .6rem; }
.footer-brand:hover { text-decoration: none; }
.footer-mark { width: 28px; height: 28px; border-radius: 8px; font-size: .95rem; }
.footer-tag { max-width: 320px; line-height: 1.55; margin-bottom: .9rem; }
.footer-col { display: flex; flex-direction: column; gap: .15rem; }
.footer-h { font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink); margin: .2rem 0 .55rem; }
.footer-col a { color: var(--muted); padding: .22rem 0; width: fit-content; transition: color .15s; }
.footer-col a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap;
    border-top: 1px solid var(--line); padding-top: 1.1rem; }
.footer-fine { font-size: .8rem; line-height: 1.55; max-width: 760px; margin: 0; }
.footer-copy { font-size: .8rem; white-space: nowrap; }
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

/* ---------- Informational / legal pages (Components/Shared/LegalPage.razor) ---------- */
.legal-hero { padding: 1.75rem 0 1.5rem; }
.legal-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); background: var(--brand-050); border-radius: 999px; padding: .25rem .7rem; margin-bottom: .75rem; }
.legal-hero h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: .5rem; }
.legal-lead { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin-bottom: .35rem; }
.legal-meta { font-size: .85rem; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 1.75rem; align-items: start; }
.legal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 2.25rem 2.5rem; max-width: 820px; width: 100%; line-height: 1.7; color: #334155; text-align: left; }
.legal > :first-child { margin-top: 0; }
.legal h2 { font-size: 1.2rem; color: var(--ink); margin: 2rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
    position: relative; }
.legal h2::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.legal > h2:first-child { border-top: 0; padding-top: 0; }
.legal > h2:first-child::before { display: none; }
.legal h3 { font-size: 1.02rem; margin: 1.25rem 0 .5rem; }
.legal p { margin-bottom: .9rem; }
.legal ul, .legal ol { padding-left: 0; margin: 0 0 1rem; }
.legal ul { list-style: none; }
.legal ul > li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; }
.legal ul > li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand); opacity: .75; }
.legal ol { counter-reset: legal-ol; list-style: none; }
.legal ol > li { counter-increment: legal-ol; position: relative; padding-left: 2.2rem; margin-bottom: .65rem; }
.legal ol > li::before { content: counter(legal-ol); position: absolute; left: 0; top: .1rem; width: 1.55rem; height: 1.55rem;
    border-radius: 50%; background: var(--brand-050); color: var(--brand); font-weight: 700; font-size: .8rem;
    display: grid; place-items: center; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-callout { background: var(--brand-050); border-left: 4px solid var(--brand); border-radius: 10px; padding: 1rem 1.2rem; color: var(--ink); }
.legal-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: .1rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; font-size: .9rem; }
.legal-aside-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
    padding: 0 .6rem .45rem; }
.legal-aside a { color: #334155; padding: .42rem .6rem; border-radius: 8px; }
.legal-aside a:hover { background: #f1f5f9; text-decoration: none; }
.legal-aside a.active { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.legal-aside-help { border-top: 1px solid var(--line); margin-top: .6rem; padding: .7rem .6rem 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 991.98px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: .25rem; }
    .legal-aside-title, .legal-aside-help { width: 100%; }
}
@media (max-width: 575.98px) { .legal { padding: 1.4rem 1.2rem; } }

/* How matching works */
.hmw { max-width: 920px; margin: 0 auto; }
.hmw .legal-lead { max-width: 720px; }
.hmw-steps { list-style: none; padding: 0; margin: .5rem 0 2rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.hmw-step { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.hmw-step:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15, 23, 42, .1); }
.hmw-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.hmw-icon .side-icon { width: 26px; height: 26px; }
.hmw-num { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hmw-step h2 { font-size: 1.2rem; margin: .1rem 0 .5rem; }
.hmw-step p, .hmw-step li { color: #475569; line-height: 1.65; }
.hmw-step p:last-child, .hmw-step ul:last-child { margin-bottom: 0; }
.hmw-step ul { list-style: none; padding: 0; }
.hmw-step ul li { position: relative; padding-left: 1.3rem; margin-bottom: .45rem; }
.hmw-step ul li::before { content: ""; position: absolute; left: .15rem; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .7; }
.hmw-pill { display: inline-flex; align-items: center; gap: .45rem; background: #ecfdf5; color: #065f46 !important; border: 1px solid #a7f3d0;
    border-radius: 999px; padding: .35rem .85rem; font-weight: 600; font-size: .9rem; }
.hmw-pill .side-icon { width: 16px; height: 16px; }
.hmw-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.hmw-note { background: #f1f5f9; border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.hmw-note h2 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.hmw-note h2 .side-icon { color: var(--brand); }
.hmw-note p { color: #475569; margin: 0; line-height: 1.6; }
.hmw-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #dbeafe; border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.hmw-cta h2 { color: #fff; font-size: 1.3rem; margin-bottom: .25rem; }
.hmw-cta a:not(.btn) { color: #fff; text-decoration: underline; }
.hmw-cta .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); font-weight: 700; }
.hmw-cta .btn-outline-primary { color: #fff; border-color: rgba(255,255,255,.6); }
.hmw-cta .btn-outline-primary:hover { background: #fff; color: var(--brand-dark); }
@media (max-width: 767.98px) { .hmw-notes { grid-template-columns: 1fr; } .hmw-step { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-page { max-width: 860px; margin: 0 auto; }
.faq-group { margin-bottom: 2rem; }
.faq-group-title { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: .85rem; }
.faq-group-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); }
.faq-group-icon .side-icon { width: 18px; height: 18px; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.faq-item:hover { border-color: #c7d2fe; box-shadow: 0 6px 18px rgba(30, 58, 138, .07); }
.faq-item[open] { border-color: #c7d2fe; box-shadow: 0 10px 26px rgba(30, 58, 138, .09); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.2rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 14px; }
.faq-chev { flex: 0 0 auto; color: var(--muted); transition: transform .2s; }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--brand); }
.faq-answer { padding: 0 1.2rem 1.1rem; color: #475569; line-height: 1.7; }

/* Signed-in notice (e.g. /for-lawyers) */
.signed-in-note { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line);
    border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.signed-in-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); }

/* Back link above page titles */
.back-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; font-weight: 600; color: var(--muted);
    margin-bottom: .75rem; }
.back-link:hover { color: var(--brand); text-decoration: none; }
.back-link .side-icon { width: 16px; height: 16px; }

/* Status callouts (verification pending, billing notices) */
.status-callout { display: flex; gap: .9rem; align-items: flex-start; border-radius: 14px; padding: 1rem 1.15rem; margin-bottom: 1.25rem; border: 1px solid; }
.status-callout-icon { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.status-callout-icon .side-icon { width: 20px; height: 20px; }
.status-pending { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.status-pending .status-callout-icon { background: #fef3c7; color: #b45309; }
.status-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.status-info .status-callout-icon { background: #dbeafe; color: #1d4ed8; }
.status-callout a { color: inherit; text-decoration: underline; font-weight: 600; }

/* Segmented tabs */
.seg-tabs { display: inline-flex; flex-wrap: wrap; gap: .25rem; background: #eef2f7; border-radius: 12px; padding: .3rem; margin-bottom: 1.1rem; }
.seg-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 9px; color: #475569;
    font-weight: 600; font-size: .9rem; }
.seg-tab:hover { color: var(--ink); text-decoration: none; background: rgba(255,255,255,.6); }
.seg-tab.active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.seg-count { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e2e8f0; color: #475569;
    font-size: .72rem; display: inline-grid; place-items: center; }
.seg-tab.active .seg-count { background: var(--brand); color: #fff; }

/* Compact empty state card */
.empty-card { max-width: 520px; margin: 1.5rem auto; text-align: center; background: #fff; border: 1px dashed #cbd5e1;
    border-radius: var(--radius); padding: 2rem 1.75rem; }
.empty-card-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 20px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-050), #e0e7ff); color: var(--brand); }
.empty-card-icon .side-icon { width: 30px; height: 30px; }
.empty-card h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.empty-card p { color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }

/* Required-field markers and inline validation */
.form-label.required::after, .req { content: "*"; color: #dc2626; margin-left: .2rem; font-weight: 700; }
.req { margin-left: 0; }
.is-invalid-group { border: 1px solid #dc2626; border-radius: 10px; padding: .5rem .25rem; margin: 0; }

/* ---------- Cookie banner (compact corner card; does not cover hero CTAs) ---------- */
.cookie-banner {
    position: fixed; right: 1rem; bottom: 1rem; left: auto; z-index: 20;
    display: none; flex-direction: column; align-items: stretch; gap: .65rem;
    max-width: 320px; width: min(320px, calc(100vw - 2rem));
    margin: 0; padding: .75rem .9rem;
    background: #0f172a; color: #e2e8f0; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.cookie-banner .cookie-text { font-size: .82rem; line-height: 1.4; }
.cookie-banner a { color: #7dd3fc; }
.cookie-banner .btn { align-self: flex-end; }
@media (max-width: 640px) {
    .cookie-banner { right: .75rem; bottom: .75rem; max-width: 280px; }
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 10px; font-weight: 600; padding: .5rem 1rem;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { border-radius: 8px; font-weight: 600; }
.btn-lg { border-radius: 12px; }
.btn:focus-visible { box-shadow: 0 0 0 .2rem rgba(30, 58, 138, .25); outline: none; }

.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-success { background: #16a34a; border-color: #16a34a; }
.btn-success:hover { background: #15803d; border-color: #15803d; }
.btn-outline-primary { color: var(--brand-dark); border-color: var(--brand); }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-outline-secondary { color: #475569; border-color: var(--line); }
.btn-outline-secondary:hover { background: #f1f5f9; border-color: #cbd5e1; color: var(--ink); }
.btn-outline-danger { color: #dc2626; border-color: #fecaca; }
.btn-outline-danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-outline-warning { color: #b45309; border-color: #fde68a; }
.btn-outline-warning:hover { background: var(--accent); border-color: var(--accent); color: #1a1206; }
.btn-danger { background: #dc2626; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.card > .card-body { padding: 1.25rem 1.35rem; }
.card h5, .card h6 { font-family: 'Poppins', sans-serif; }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border-radius: 10px; border-color: var(--line); padding: .55rem .8rem; color: var(--ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(30, 58, 138, .18);
}
.form-label { font-weight: 600; font-size: .9rem; color: #334155; margin-bottom: .3rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(30, 58, 138, .18); }

/* ---------- Tables ---------- */
.table thead th {
    border-bottom: 1px solid var(--line); color: var(--muted);
    font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em;
}
.table td, .table th { vertical-align: middle; }

/* ---------- Alerts / badges ---------- */
.alert { border-radius: 12px; border: 1px solid transparent; }
.badge { font-weight: 600; }
.badge.bg-secondary { background: #eef2f6 !important; color: #334155; }
.badge.bg-info { background: #e0f2fe !important; color: #075985 !important; }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center; padding: 2.75rem 1.25rem; color: var(--muted);
    background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty-state .empty-emoji { font-size: 2rem; display: block; margin-bottom: .5rem; opacity: .85; }
.empty-state h5 { color: var(--ink); margin-bottom: .35rem; }
.empty-state .btn { margin-top: 1rem; }

/* ---------- Page header + stat cards ---------- */
.page-head { margin-bottom: 1.25rem; }
.page-head h1 { margin-bottom: .2rem; }
.page-head .lead-sub { color: var(--muted); margin: 0; }

.stat { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.1rem 1.25rem; box-shadow: var(--shadow); height: 100%; }
.stat .stat-label { color: var(--muted); font-size: .85rem; }
.stat .stat-value { font-family: 'Poppins', sans-serif; font-size: 1.65rem; font-weight: 700; line-height: 1.15; }
.stat-brand { background: linear-gradient(135deg, var(--brand-050), #fff); border-color: #c7d2fe; }
.stat-amber { background: linear-gradient(135deg, #fffbeb, #fff); border-color: #fde68a; }
.stat-danger { background: linear-gradient(135deg, #fef2f2, #fff); border-color: #fecaca; }

.page-wrap { max-width: 1140px; margin: 0 auto; padding: 1.5rem 1rem 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; border-radius: 24px; overflow: hidden; margin: 1.5rem auto 0;
    max-width: 1140px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(1200px 400px at 90% -10%, rgba(201,162,39,.35), transparent 60%),
      linear-gradient(120deg, #0f1f3d, #1e3a8a 60%, #274690);
}
.hero-inner { position: relative; padding: 4.5rem 2.5rem; max-width: 720px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; opacity: .96; margin-bottom: 1.75rem; }
.hero .btn { border-radius: 999px; padding: .8rem 1.6rem; font-weight: 700; }
.hero .hero-crypto { margin-top: 1.15rem; margin-bottom: 0; display: block; font-size: .92rem; opacity: .88;
    color: #fff; background: transparent; border: none; padding: 0; border-radius: 0; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem; margin-bottom: .25rem; }
.hero-secondary-link {
    color: #fff; font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 3px;
    background: none; border: none; padding: .2rem 0;
}
.hero-secondary-link:hover { color: #fff; opacity: .9; }
.trust-pills { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; text-align: center; }
.trust-pill {
    background: #eef2ff; color: #1e3a8a; border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .95rem;
}
.example-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.example-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.35rem 1.25rem 1.2rem; box-shadow: var(--shadow);
}
.example-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.example-badge {
    display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: #9a3412; background: #ffedd5; border-radius: 999px; padding: .2rem .55rem; margin-bottom: .55rem;
}
.example-stars { color: #d97706; letter-spacing: .12em; margin: 0; font-size: 1rem; }
.example-pin { margin: .35rem 0 .4rem; }
.pricing-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pricing-table th, .pricing-table td { padding: .85rem 1rem; }
.btn-amber { background: var(--accent); color: #1a1206; border: none; }
.btn-amber:hover { background: #b08b1c; color: #1a1206; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- Category tiles ---------- */
.section { max-width: 1140px; margin: 3.25rem auto 0; padding: 0 1rem; }
.section-title { text-align: center; margin-bottom: .35rem; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 1.75rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; }
.cat-tile {
    position: relative; height: 170px; border-radius: var(--radius); overflow: hidden; color: #fff;
    box-shadow: var(--shadow); display: block;
}
.cat-tile:hover { text-decoration: none; transform: translateY(-3px); transition: transform .15s ease; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile .cat-label {
    position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem;
    background: linear-gradient(to top, rgba(2,6,23,.7), rgba(2,6,23,0) 60%); font-weight: 700; font-size: 1.1rem;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-050); color: var(--brand-dark); font-weight: 800; display: grid; place-items: center; margin-bottom: .8rem; font-family: 'Poppins'; }

/* ---------- CTA band ---------- */
.cta-band {
    max-width: 1140px; margin: 3.25rem auto 0; border-radius: 24px; padding: 3rem 2rem; text-align: center; color: #fff;
    background: linear-gradient(120deg, #0f1f3d, #1e3a8a);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .btn { border-radius: 999px; padding: .8rem 1.8rem; font-weight: 700; }

/* ---------- Auth ---------- */
.auth-card {
    max-width: 440px; margin-top: 3rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.25rem;
}
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.4rem 0 1.1rem; color: var(--muted); font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-btn { display: flex; align-items: center; justify-content: center; gap: .7rem; border-radius: 12px; font-weight: 600; border: 1px solid var(--line); }
.social-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.btn-google { background: #fff; color: #1f2937; border-color: #dadce0; }
.btn-google:hover { background: #f8f9fa; color: #1f2937; }
.btn-google .social-ico { background: #4285F4; }
.btn-facebook { background: #1877F2; color: #fff; border-color: #1877F2; }
.btn-facebook:hover { background: #166fe0; color: #fff; }
.btn-facebook .social-ico { background: #0b5fcc; }

/* ---------- Blazor defaults kept ---------- */
h1:focus { outline: none; }
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; }
.darker-border-checkbox.form-check-input { border-color: #929292; }

.blazor-error-boundary {
    background: #b32121; padding: 1rem 1rem 1rem 1rem; color: white;
}
.blazor-error-boundary::after { content: "An error has occurred." }

@media (max-width: 640px) {
    .main-nav a:not(.btn-nav-solid) { display: none; }
    .hero-inner { padding: 3rem 1.5rem; }
}


/* ================= FindLegal additions ================= */
.brand-mark { font-size: 1.05rem; }
.brand-dot { color: var(--accent); }
.hero h1, .cta-band h2 { color: #fff; }

.legal-note {
    background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: 12px;
    padding: .75rem 1rem; font-size: .9rem;
}
.safety-note {
    background: #fef2f2; border: 2px solid #fca5a5; color: #7f1d1d; border-radius: 12px;
    padding: .9rem 1.1rem; font-weight: 600;
}

/* Practice-area tiles (no photos: icon + gradient) */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.area-tile {
    display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.2rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); height: 100%;
    transition: transform .15s ease, border-color .15s ease;
}
.area-tile:hover { text-decoration: none; transform: translateY(-3px); border-color: #c7d2fe; }
.area-tile .area-icon {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem;
    background: var(--brand-050);
}
.area-tile strong { font-family: 'Poppins'; font-size: 1.02rem; }
.area-tile span.desc { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.badge-federal { font-size: .68rem; font-weight: 700; color: #1e3a8a; background: #e0e7ff; border-radius: 999px; padding: .1rem .45rem; align-self: flex-start; }

/* Provider cards */
.provider-card { display: flex; gap: 1rem; align-items: flex-start; }
.provider-avatar {
    width: 56px; height: 56px; flex: 0 0 56px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; font-weight: 800; font-family: 'Poppins'; font-size: 1.3rem;
}
.provider-avatar img { width: 100%; height: 100%; object-fit: cover; }
.type-chip { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; background: #eef2ff; color: #1e3a8a; }
.type-chip.nonatty { background: #fef3c7; color: #92400e; }
.sponsored-badge { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #92400e; background: #fef3c7; border-radius: 999px; padding: .15rem .55rem; }
.sponsored-box { border: 1px dashed #e9d27a; background: #fffdf5; border-radius: var(--radius); padding: 1rem; }
.stars { color: #c9a227; letter-spacing: .08em; }

/* Summary + chat */
.summary-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; text-align: left; }
.summary-box p, .summary-box li { text-align: left; hyphens: manual; line-height: 1.65; }
.summary-lead { font-size: 1.02rem; color: var(--ink); white-space: pre-line; margin-bottom: 1rem; }
.summary-sec { border-radius: 12px; padding: .85rem 1rem; margin-top: .75rem; background: #f8fafc; border: 1px solid #eef2f7; }
.summary-sec h6 { font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: var(--brand); margin: 0 0 .45rem; }
.summary-sec ul { margin: 0; padding-left: 1.1rem; }
.summary-sec li { margin-bottom: .25rem; color: #334155; }
.summary-sec p { margin: 0; color: #334155; }
.summary-sec.sec-dates { background: #fffbeb; border-color: #fde68a; }
.summary-sec.sec-dates h6 { color: #b45309; }
.summary-sec.sec-open { background: #f5f3ff; border-color: #ddd6fe; }
.summary-sec.sec-open h6 { color: #6d28d9; }
.summary-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.summary-pair .summary-sec { margin-top: .75rem; }
.summary-pair .summary-sec:only-child { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .summary-pair { grid-template-columns: 1fr; } }
.chat { display: flex; flex-direction: column; gap: .5rem; max-height: 420px; overflow-y: auto; padding: .75rem; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; }
.msg { max-width: 80%; padding: .55rem .8rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; }
.msg-me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.msg-row { display: flex; }
.msg-row-me { justify-content: flex-end; }
.msg-row-them { justify-content: flex-start; }
.msg-row .msg { max-width: 80%; }
.msg-them { background: #eef1f5; border-color: #e2e8f0; color: var(--ink); border-bottom-left-radius: 4px; }
.msg-row-me .msg-me { border-bottom-right-radius: 4px; }
.msg-ai { background: #eef2ff; border-color: #c7d2fe; }
.msg-meta { font-size: .72rem; opacity: .7; margin-top: .2rem; }

/* Plans */
.tier-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 1.5rem; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.tier-card.featured { border: 2px solid var(--accent); }
.tier-card .price { font-family: 'Poppins'; font-size: 2rem; font-weight: 800; }
.tier-card ul { padding-left: 1.1rem; flex: 1; }
.tier-card li { margin-bottom: .35rem; }

.consent-box { display: flex; align-items: flex-start; gap: .85rem; cursor: pointer; margin: 1.25rem 0 .5rem; padding: 1rem 1.1rem; border: 2px solid var(--brand); border-radius: 12px; background: var(--brand-050); }
.consent-box input { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; margin-top: .1rem; }
.consent-box-error { border-color: #dc3545; background: #fdecec; }

/* ---------- Toasts (Components/Shared/Notice.razor + findlegal.toast) ---------- */
.toast-host { position: fixed; top: 76px; right: 16px; z-index: 2000; display: flex; flex-direction: column; gap: 10px;
    width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.fl-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; background: #fff; color: #1f2937;
    border: 1px solid #e5e7eb; border-left: 4px solid #16a34a; border-radius: 10px; padding: 12px 12px 12px 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .12); font-size: .925rem; line-height: 1.4;
    opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
.fl-toast.show { opacity: 1; transform: none; }
.fl-toast-icon { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .8rem; color: #fff; background: #16a34a; margin-top: 1px; }
.fl-toast-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fl-toast-close { flex: 0 0 auto; border: 0; background: transparent; color: #6b7280; font-size: 1.25rem; line-height: 1; padding: 0 2px; cursor: pointer; }
.fl-toast-close:hover { color: #111827; }
.fl-toast-error { border-left-color: #dc2626; }
.fl-toast-error .fl-toast-icon { background: #dc2626; }
.fl-toast-info { border-left-color: #2563eb; }
.fl-toast-info .fl-toast-icon { background: #2563eb; }
.fl-toast-warning { border-left-color: #d97706; }
.fl-toast-warning .fl-toast-icon { background: #d97706; }
@media (max-width: 575.98px) { .toast-host { top: auto; bottom: 16px; right: 16px; left: 16px; width: auto; } }
.back-link .side-icon, .hmw-pill .side-icon, .hmw-note h2 .side-icon, .status-callout-icon .side-icon { flex: 0 0 auto; }

/* Password show/hide toggle + live match feedback */
.pw-wrap { position: relative; }
.pw-wrap > input.form-control { padding-right: 2.75rem; }
.pw-wrap > input.form-control.is-invalid, .pw-wrap > input.form-control.is-valid { background-image: none; padding-right: 2.75rem; }
.pw-toggle { position: absolute; top: 50%; right: .35rem; transform: translateY(-50%); border: 0; background: transparent;
    color: var(--muted); padding: .35rem; border-radius: 8px; line-height: 0; cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: #f1f5f9; }
.pw-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.pw-match { margin-top: .3rem; min-height: 0; }

/* Example request shown to providers awaiting verification */
.sample-request { position: relative; background: #fff; border: 2px dashed #cbd5e1; border-radius: var(--radius);
    padding: 2.1rem 1.4rem 1.3rem; margin-bottom: 1.5rem; }
.sample-ribbon { position: absolute; top: -.8rem; left: 1.2rem; background: #475569; color: #fff; font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: .25rem .75rem; }
.sample-request .summary-box { border: 0; padding: 0; }

/* ---------- Account settings (ManageLayout) ---------- */
.min-w-0 { min-width: 0; }
.manage-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.manage-nav-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; position: sticky; top: 88px; }
.manage-nav { display: flex; flex-direction: column; gap: .1rem; }
.manage-link { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 10px; color: #334155; font-weight: 500; font-size: .93rem; }
.manage-link .side-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted); }
.manage-link:hover { background: #f1f5f9; color: var(--ink); text-decoration: none; }
.manage-link.active { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.manage-link.active .side-icon { color: var(--brand); }
.manage-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem 2rem; min-height: 320px; }
.manage-content > h3, .manage-content > div > h3, .manage-content h3:first-child { font-size: 1.25rem; margin-bottom: 1rem; }
.manage-content .form-floating > .form-control { border-radius: 10px; }
.manage-content .row > .col-xl-6, .manage-content .row > .col-md-6.col-xl-6 { max-width: 560px; flex: 1 1 auto; width: 100%; }
.manage-content .btn-lg.w-100 { width: auto !important; padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1rem; }
@media (max-width: 991.98px) {
    .manage-grid { grid-template-columns: 1fr; }
    .manage-nav-card { position: static; }
    .manage-nav { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 575.98px) { .manage-content { padding: 1.25rem 1.1rem; } }

.settings-card { }
.settings-profile-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.settings-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #fff; font-weight: 800;
    font-size: 1.35rem; font-family: 'Poppins'; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.settings-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.settings-sub { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.settings-title { font-size: 1.25rem; margin-bottom: .25rem; }
.settings-h { font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .85rem; }
.settings-section + .settings-section { margin-top: 1.5rem; }
.settings-actions { display: flex; justify-content: flex-end; gap: .5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.1rem; }

/* Email preferences rows */
.pref-row { display: flex; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; margin-top: .9rem; }
.pref-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); }
.pref-icon-muted { background: #f1f5f9; color: #475569; }
.pref-body { flex: 1; min-width: 0; }
.pref-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .3rem; }
.pref-head h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; margin: 0; }
.pref-body p { color: #475569; margin-bottom: .6rem; line-height: 1.6; }
.pref-meta { font-size: .85rem; color: var(--muted) !important; }
.pill { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .15rem .6rem; font-size: .72rem; font-weight: 700; }
.pill-on { background: #dcfce7; color: #166534; }
.pill-off { background: #f1f5f9; color: #475569; }
.pill-fixed { background: #e0e7ff; color: #3730a3; }
.pill-new { background: #dbeafe; color: #1d4ed8; }

/* Alerts list */
.alerts-page { max-width: 860px; }
.alerts-group { font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.4rem 0 .6rem; }
.alert-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.alert-item { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem;
    transition: border-color .15s, box-shadow .15s; }
.alert-item:hover { border-color: #c7d2fe; box-shadow: 0 6px 18px rgba(30, 58, 138, .07); }
.alert-item.is-new { border-left: 4px solid var(--brand); background: #fbfcff; }
.alert-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: #f1f5f9; color: #475569; }
.alert-item.is-new .alert-icon { background: var(--brand-050); color: var(--brand); }
.alert-icon .side-icon { width: 20px; height: 20px; }
.alert-body { flex: 1; min-width: 0; }
.alert-msg { color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.alert-item.is-new .alert-msg { font-weight: 600; }
.alert-meta { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; font-size: .8rem; color: var(--muted); }
.alert-open { flex: 0 0 auto; }
@media (max-width: 575.98px) { .alert-item { flex-wrap: wrap; } .alert-open { margin-left: 54px; } }

/* ---------- Billable hours (/provider/time) ---------- */
.time-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.25rem; }
.time-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; align-items: start; }
.time-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.35rem; margin-bottom: 1.25rem; }
.time-form { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; }
.time-h { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.time-h .side-icon { color: var(--brand); flex: 0 0 auto; }
.timer-card.is-running { border: 2px solid #16a34a; background: linear-gradient(180deg, #f0fdf4, #fff); }
.timer-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #15803d; }
.timer-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; animation: timer-pulse 1.4s infinite; }
@keyframes timer-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.timer-clock { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.2rem; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: .02em; }
.time-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; border-bottom-width: 1px; }
.time-table td { padding-top: .75rem; padding-bottom: .75rem; }
.time-table tr.is-editing td { background: var(--brand-050); }
.time-table .btn-link { padding: .1rem .35rem; font-size: .85rem; text-decoration: none; }
@media (max-width: 1199.98px) { .time-grid { grid-template-columns: 1fr; } .time-form { position: static; } }
@media (max-width: 767.98px) { .time-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .timer-clock { font-size: 1.8rem; } }

/* ---------- Home: Billable hours feature highlight ---------- */
.feature-hours { background: linear-gradient(135deg, #0f1f3d 0%, #1e3a8a 100%); border-radius: 24px; padding: 3rem 2.5rem; color: #cbd5e1;
    max-width: 1140px; margin-left: auto; margin-right: auto; position: relative; overflow: hidden; }
.feature-hours::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .28), transparent 70%); pointer-events: none; }
.fh-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; align-items: center; }
.fh-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e2e8f0; margin-bottom: .8rem; }
.fh-new { background: var(--accent); color: #1a1206; border-radius: 999px; padding: .15rem .55rem; letter-spacing: .04em; }
.feature-hours h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .75rem; }
.fh-lead { font-size: 1.05rem; line-height: 1.65; color: #cbd5e1; margin-bottom: 1.25rem; }
.fh-points { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; }
.fh-points li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.fh-points .side-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.fh-points strong { color: #fff; }
.fh-ctas { display: flex; gap: .6rem; flex-wrap: wrap; }
.feature-hours .btn-primary { background: var(--accent); border-color: var(--accent); color: #1a1206; font-weight: 700; }
.feature-hours .btn-primary:hover { background: #b08b1c; border-color: #b08b1c; }
.feature-hours .btn-outline-primary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.feature-hours .btn-outline-primary:hover { background: #fff; color: var(--brand-dark); }
.fh-visual { position: relative; }
.fh-window { background: #fff; border-radius: 18px; padding: 1.1rem; box-shadow: 0 24px 50px rgba(2, 6, 23, .3); color: var(--ink); }
.fh-timer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 2px solid #16a34a; border-radius: 14px;
    background: linear-gradient(180deg, #f0fdf4, #fff); padding: .85rem 1rem; }
.fh-clock { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.fh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .8rem 0; }
.fh-stats > div { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .7rem; }
.fh-stats span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.fh-stats strong { font-family: 'Poppins', sans-serif; font-size: 1.1rem; }
.fh-rows { display: grid; gap: .4rem; }
.fh-row { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; }
.fh-row span { display: block; color: var(--muted); font-size: .8rem; }
.fh-row .pill { display: inline-flex; margin-top: .15rem; }
.fh-caption { text-align: right; font-size: .72rem; color: #94a3b8; margin-top: .6rem; }
@media (max-width: 991.98px) {
    .fh-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .feature-hours { padding: 2rem 1.25rem; border-radius: 18px; }
    .fh-stats strong { font-size: .95rem; }
}

/* Compact help/legal links at the bottom of the side menu (signed-in users have no site footer) */
.side-legal { margin: .25rem 1rem 0; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .74rem; line-height: 1.7; color: var(--muted); }
.side-legal a { color: var(--muted); }
.side-legal a:hover { color: var(--brand); }
.app-content > .app-main:last-child { padding-bottom: 2.5rem; }
.reg-next { display: grid; gap: .6rem; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; line-height: 1.55; }

/* Personal data actions */
.pd-actions { display: grid; gap: .8rem; max-width: 640px; }
.pd-action { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--line);
    border-radius: 14px; padding: 1rem 1.1rem; }
.pd-action form { margin: 0; }
.pd-danger { border-color: #fecaca; background: #fffafa; }

/* Minimal auth layout (reset password) */
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 2.5rem 1rem 1.5rem;
    background: radial-gradient(1200px 500px at 50% -10%, var(--brand-050), #f8fafc 60%); }
.auth-brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.3rem; margin-bottom: 1.75rem; color: var(--ink); }
.auth-brand:hover { text-decoration: none; }
.auth-main { width: 100%; flex: 1; }
.auth-foot { margin-top: 2rem; font-size: .8rem; color: var(--muted); }
.auth-foot a { color: var(--muted); }

/* Selects never let text run under the chevron */
.form-select { padding-right: 2.25rem; text-overflow: ellipsis; }
.form-select-sm { padding-right: 2rem; }

/* Links inside data tables look like links */
.table td a:not(.btn) { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(30, 58, 138, .35);
    text-underline-offset: 3px; }
.table td a:not(.btn):hover { text-decoration-color: currentColor; }
.time-card .form-select-sm { min-width: 170px; }

/* Provider verification checklist */
.verify-card { background: #fff; border: 1px solid #fde68a; border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.verify-head { display: flex; gap: .9rem; align-items: flex-start; }
.verify-head .status-callout-icon { background: #fef3c7; color: #b45309; flex: 0 0 38px; }
.verify-steps { list-style: none; padding: 0; margin: 1rem 0 1rem; display: grid; gap: .6rem; }
.verify-steps li { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem .8rem; border-radius: 12px; background: #f8fafc; }
.vs-dot { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: #e2e8f0; color: #475569; }
.verify-steps li.done .vs-dot { background: #16a34a; color: #fff; }
.verify-steps li.pending .vs-dot { background: #fef3c7; color: #b45309; }
.verify-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Upgrade page */
.upgrade-wrap { max-width: 980px; }
.upgrade-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.upgrade-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; }
.upgrade-side { border: 2px solid var(--accent); }
.upgrade-plan { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.upgrade-price { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--ink); }
.upgrade-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.upgrade-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.upgrade-list li { position: relative; padding-left: 1.6rem; color: #334155; }
.upgrade-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 800; }
@media (max-width: 767.98px) { .upgrade-grid { grid-template-columns: 1fr; } }

/* Secondary "ghost" action next to a primary button */
.btn-ghost-danger { color: #b91c1c; background: transparent; border: 1px solid #fecaca; border-radius: var(--bs-btn-border-radius, .375rem); }
.btn-ghost-danger:hover { background: #fef2f2; color: #991b1b; border-color: #fca5a5; }

/* CTA buttons on dark bands keep readable text on hover */
.hmw-cta .btn-primary:hover, .hmw-cta .btn-primary:focus-visible, .hmw-cta .btn-primary:active { background: #fff; border-color: #fff; color: var(--brand-dark); }

/* Hire confirmation */
.hire-confirm { margin-top: .75rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px;
    padding: 1rem 1.1rem; box-shadow: 0 10px 25px rgba(15, 23, 42, .08); }
.hire-confirm-title { font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.hire-confirm p { color: #475569; font-size: .92rem; margin-bottom: .8rem; }
.hire-confirm .btn { min-width: 110px; }

/* Pager */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.pager-info { font-size: .85rem; color: var(--muted); }

/* Chat bubbles hug their content (whitespace between the bubble's child elements must not render) */
.msg-row .msg { white-space: normal; padding: .45rem .75rem .35rem; line-height: 1.4; }
.msg-row .msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-row .msg-meta { margin-top: .15rem; font-size: .7rem; }

/* Provider request detail: more breathing room */
.prd-layout { --bs-gutter-x: 3rem; }
.prd-layout .summary-lead { line-height: 1.75; }
.prd-layout .summary-sec li { line-height: 1.6; margin-bottom: .35rem; }
.prd-section-h { margin-top: 2rem; margin-bottom: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Request status + withdraw, centred under the summary */
.request-status-box { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin-top: 1rem; }

/* Note on the provider feed about the client's own requests */
.own-note { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a !important; border-radius: 10px; padding: .6rem .8rem; text-align: left; }

/* Confirmation modal */
.fl-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1990; animation: flFade .15s ease; }
.fl-modal { position: fixed; z-index: 1991; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 32px));
    background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(2, 6, 23, .3); padding: 1.4rem 1.5rem; animation: flPop .15s ease; }
.fl-modal-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.fl-modal-body { color: #334155; margin-bottom: 1.1rem; }
.fl-modal-actions { display: flex; justify-content: flex-end; gap: .5rem; }
@keyframes flFade { from { opacity: 0; } }
@keyframes flPop { from { opacity: 0; transform: translate(-50%, -46%); } }

/* Buttons never underline (the global a:hover underline must not reach link-styled buttons) */
.btn, .btn:hover, .btn:focus, .btn:active, a.btn:hover { text-decoration: none !important; }

/* No-match guidance on the client's request page */
.nomatch-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: .9rem 1rem; margin: .75rem 0 1rem; color: #78350f; }
.nomatch-box ul { padding-left: 1.1rem; }

/* ---------- Onboarding / consent screens ---------- */
.onboard { display: flex; justify-content: center; padding: 1.5rem 0 1rem; }
.onboard-card { width: 100%; max-width: 640px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
    padding: 2.2rem 2.25rem; }
.onboard-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.onboard-icon .side-icon { width: 24px; height: 24px; }
.onboard-step { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.onboard-card h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: .5rem; }
.onboard-lead { color: #475569; line-height: 1.65; margin-bottom: 1.25rem; }
.doc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: .75rem; }
.doc-link { display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .15s, background .15s; }
.doc-link .side-icon { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.doc-link:hover { border-color: #c7d2fe; background: var(--brand-050); text-decoration: none; color: var(--brand); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: #334155; line-height: 1.55; }
.check-ic { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d;
    font-weight: 800; font-size: .75rem; margin-top: .1rem; }
/* Custom checkbox */
.agree { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; margin: 1.25rem 0 .9rem; padding: .95rem 1rem;
    border: 1px solid var(--line); border-radius: 14px; background: #f8fafc; color: #334155; line-height: 1.55; transition: border-color .15s, background .15s; }
.agree:hover { border-color: #c7d2fe; }
.agree:has(.agree-check:checked) { border-color: var(--brand); background: var(--brand-050); }
.agree-check { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin-top: .1rem; border: 2px solid #94a3b8;
    border-radius: 7px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.agree-check::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0);
    margin-top: -2px; transition: transform .12s; }
.agree-check:checked { background: var(--brand); border-color: var(--brand); }
.agree-check:checked::after { transform: rotate(45deg) scale(1); }
.agree-check:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.agree-error { border-color: #fca5a5; background: #fef2f2; }
.agree-msg { color: #b91c1c; font-weight: 600; font-size: .9rem; margin: -.4rem 0 .8rem; }
.onboard-alt { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; color: #334155; }
.alt-link { display: flex; align-items: center; gap: .55rem; padding: .45rem 0; color: #334155; text-decoration: none; }
.alt-link .side-icon { width: 17px; height: 17px; color: var(--muted); flex: 0 0 auto; }
.alt-link:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 575.98px) { .onboard-card { padding: 1.5rem 1.2rem; } .doc-links { grid-template-columns: 1fr; } }

/* Loading skeleton */
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 37%, #eef2f7 63%); background-size: 400% 100%; animation: skel 1.2s ease infinite; border-radius: 14px; }
.skeleton-row { height: 68px; margin-bottom: .6rem; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Profile photo editor */
.photo-edit { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.photo-preview { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 2.2rem;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
label.btn.disabled { pointer-events: none; opacity: .65; }
