/*
 * Professional mobile-first front UI for enterprise tax/accounting services.
 */
:root {
    --primary: #0f172a;
    --primary-2: #18324a;
    --accent: #1d4ed8;
    --accent-2: #0f766e;
    --warning: #b7791f;
    --danger: #b42318;
    --success: #087443;
    --ink: #0b1220;
    --text: #273449;
    --muted: #667085;
    --subtle: #8a98aa;
    --line: #d8e0ea;
    --line-soft: #e8edf3;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #f9fbfd;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 8px 22px rgba(16, 24, 40, .06);
    --shadow-strong: 0 18px 42px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    background: #f7f8fa;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, .btn, .bottom-nav a, .category-tile, .service-card, .order-card, .hero-quick-card, .direct-entry-card a { cursor: pointer; }

input, textarea, select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 11px 13px;
    background: var(--surface);
    color: var(--ink);
    outline: none;
    box-shadow: var(--shadow-xs);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, textarea:focus, select:focus {
    border-color: rgba(29, 78, 216, .72);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}
input[readonly] { background: #f6f8fb; color: var(--muted); }

.skip-link {
    position: fixed;
    left: 12px;
    top: -64px;
    z-index: 80;
    background: var(--primary);
    color: #fff;
    padding: 9px 12px;
    border-radius: 12px;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; }

.front-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
    background: rgba(250, 252, 255, .88);
    border-bottom: 1px solid rgba(216, 224, 234, .82);
    backdrop-filter: blur(18px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 850;
    letter-spacing: 0;
}
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    background: #10213f;
    box-shadow: none;
}
.brand-mark .icon { width: 19px; height: 19px; }
.header-action {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    color: var(--primary);
    background: #fff;
    box-shadow: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.header-action:active { transform: scale(.97); }

.front-main {
    width: min(100%, 780px);
    margin: 0 auto;
    padding: 18px 14px calc(100px + env(safe-area-inset-bottom));
}

.home-hero {
    padding: 20px 2px 14px;
}
.home-hero h1 {
    margin: 12px 0 8px;
    color: var(--ink);
    font-size: clamp(31px, 8vw, 44px);
    line-height: 1.08;
    font-weight: 880;
    letter-spacing: 0;
}
.home-hero p {
    margin: 0 0 18px;
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
}
.home-hero .direct-entry-card {
    margin-top: 8px;
    border-radius: 16px;
    box-shadow: none;
}
.home-category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -14px 14px;
    padding: 0 14px 4px;
    scrollbar-width: none;
}
.home-category-strip::-webkit-scrollbar { display: none; }
.home-category-strip a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid var(--line-soft);
    gap: 7px;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-xs);
}
.home-category-strip a .icon { width: 17px; height: 17px; color: #526173; }
.home-category-strip a span { white-space: nowrap; }
.home-service-section {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-band {
    position: relative;
    overflow: hidden;
    margin: -18px -14px 18px;
    padding: 24px 16px 18px;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 0%, rgba(29, 78, 216, .16), transparent 34%),
        radial-gradient(circle at 92% 22%, rgba(15, 118, 110, .12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 58%, #eef7f6 100%);
    border: 1px solid rgba(216, 224, 234, .86);
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
    box-shadow: 0 20px 46px rgba(16, 24, 40, .10);
}
.hero-band::before {
    content: "";
    position: absolute;
    inset: 12px 12px auto auto;
    width: 92px;
    height: 92px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .08), transparent),
        rgba(255,255,255,.48);
    border: 1px solid rgba(255,255,255,.72);
    transform: rotate(8deg);
    pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1, .page-head h1, .detail-hero h1, .auth-card h1, .pay-card h1 {
    margin: 10px 0 8px;
    color: inherit;
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}
.hero-copy p {
    max-width: 620px;
    margin: 0 0 18px;
    color: #526173;
    font-size: 15px;
}
.eyebrow, .tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    color: #344054;
    background: #f7f8fa;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}
.hero-band .eyebrow {
    color: #1d4ed8;
    background: rgba(29,78,216,.08);
    border-color: rgba(29,78,216,.14);
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(216,224,234,.92);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #344054;
    font-size: 13px;
    font-weight: 750;
    box-shadow: var(--shadow-xs);
}
.hero-points .icon { width: 16px; height: 16px; }
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
}
.hero-metrics div {
    min-height: 64px;
    padding: 10px;
    border: 1px solid rgba(216,224,234,.78);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    box-shadow: var(--shadow-xs);
}
.hero-metrics strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}
.hero-metrics span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.direct-entry-card, .search-card, .banner-card, .section-block, .soft-card, .content-card, .auth-card, .pay-card,
.panel-form, .result-card, .order-card, .profile-head, .empty-state, .service-card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: none;
}
.compact-card { margin-bottom: 12px; }
.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.quick-link-grid a {
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 76px;
    padding: 12px 8px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    color: var(--ink);
    background: #fff;
    font-size: 13px;
    font-weight: 820;
    text-align: center;
}
.quick-link-grid .icon { color: #10213f; }
.vault-picker {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: #f9fbfd;
}
.vault-picker > strong {
    color: var(--ink);
    font-size: 14px;
}
.contract-preview {
    margin: 0 0 14px;
    padding: 14px;
    white-space: pre-wrap;
    color: var(--ink);
    background: #f8fafc;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    font: inherit;
    line-height: 1.7;
}
.direct-entry-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 14px;
    border-color: var(--line);
}
.direct-entry-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #10213f;
    background: #f3f6fa;
    border: 1px solid var(--line-soft);
}
.direct-entry-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.direct-entry-copy strong {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 850;
}
.direct-entry-copy span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}
.search-card {
    position: relative;
    z-index: 1;
    padding: 14px;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: none;
}
.search-card label {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}
.search-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 3px 3px 3px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.search-row .icon { color: var(--subtle); }
.search-row input {
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.search-row input:focus { box-shadow: none; }
.search-row button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 820;
    line-height: 1.2;
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease;
}
.search-row button, .btn.primary {
    color: #fff;
    background: #10213f;
    box-shadow: none;
}
.btn.ghost { color: #1d4ed8; background: #edf4ff; }
.btn.danger { color: #fff; background: linear-gradient(135deg, #9f1f17, #dc2626); }
.btn.small { min-height: 36px; padding: 7px 10px; border-radius: 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.btn:active, .search-row button:active, .service-card:active, .category-tile:active, .hero-quick-card:active, .direct-entry-card a:active {
    transform: translateY(1px) scale(.99);
}

.hero-quick-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.hero-quick-card {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 12px;
    border: 1px solid rgba(216,224,234,.82);
    border-radius: 18px;
    color: #1f2a3d;
    background: rgba(255,255,255,.72);
    box-shadow: var(--shadow-xs);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.hero-quick-card:hover { background: #fff; border-color: rgba(29,78,216,.24); }
.hero-quick-card .icon { width: 18px; height: 18px; }
.hero-quick-card strong { min-width: 0; font-size: 14px; line-height: 1.25; }

.banner-card {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
}
.banner-card a {
    display: grid;
    gap: 5px;
    min-height: 120px;
    padding: 20px;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(29,78,216,.08), transparent 68%),
        linear-gradient(180deg, #ffffff, #f8fbfd);
}
.banner-card span { color: #1d4ed8; font-weight: 800; }
.banner-card strong { font-size: 22px; line-height: 1.25; font-weight: 850; }
.banner-card small { color: var(--muted); font-weight: 650; }

.section-block, .soft-card, .content-card, .panel-form, .auth-card, .pay-card {
    padding: 18px;
    margin-bottom: 16px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.section-title h2, .content-card h2, .soft-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.22;
    font-weight: 850;
}
.section-title a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.category-tile {
    position: relative;
    display: grid;
    gap: 7px;
    min-height: 126px;
    padding: 15px;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #f9fbfd);
    box-shadow: var(--shadow-xs);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.category-tile:hover { border-color: rgba(29, 78, 216, .22); box-shadow: 0 14px 28px rgba(16, 24, 40, .07); }
.category-tile span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #0f172a;
    border-radius: 15px;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
}
.category-tile strong { color: var(--ink); line-height: 1.24; }
.category-tile small, .service-card p, .page-head p, .muted-line, .detail-hero p, .pay-card p {
    color: var(--muted);
}
.category-tile small { line-height: 1.45; }

.service-list, .order-list { display: grid; gap: 12px; }
.service-card, .order-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    min-height: 132px;
    padding: 15px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-service-section .service-card {
    min-height: 106px;
    border-radius: 16px;
    box-shadow: none;
}
.home-service-section .service-card p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-service-section .service-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}
.service-card:hover, .order-card:hover {
    border-color: rgba(15, 23, 42, .18);
    box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
}
.service-icon {
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: #26364b;
    background: #f6f8fb;
    border: 1px solid var(--line-soft);
}
.service-icon .icon { width: 22px; height: 22px; }
.service-main { flex: 1; min-width: 0; }
.service-card h2, .service-card h3 {
    margin: 8px 0 4px;
    color: var(--ink);
    line-height: 1.22;
    font-size: 16px;
    font-weight: 850;
}
.service-card.large h2 { font-size: 19px; }
.service-card p { margin: 0; line-height: 1.48; }
.service-card small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: #475467;
    font-size: 13px;
    font-weight: 750;
}
.service-card small .icon { width: 15px; height: 15px; }
.price, .pay-amount {
    color: #9a6700;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price { align-self: flex-start; font-size: 20px; line-height: 1.15; }

.notice-list { display: grid; gap: 2px; }
.notice-line, .material-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
}
.notice-line:last-child, .material-line:last-child { border-bottom: 0; }
.notice-line span {
    flex: 0 0 auto;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
}
.notice-line strong {
    flex: 1;
    min-width: 0;
    color: var(--ink);
    font-size: 15px;
    overflow-wrap: anywhere;
}
.notice-line time, .material-line span, .material-line a {
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}
.material-line strong { color: var(--ink); overflow-wrap: anywhere; }
.material-line a { color: var(--accent); font-weight: 800; }
.coupon-line {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--line-soft);
}
.coupon-line strong { color: #9a6700; font-size: 15px; }
.coupon-line span { color: var(--muted); font-size: 13px; }
.archive-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}
.archive-card:last-child { border-bottom: 0; }
.archive-card strong, .archive-card span, .archive-card small { display: block; }
.archive-card strong { color: var(--ink); font-weight: 860; }
.archive-card span, .archive-card small { color: var(--muted); font-size: 13px; }
.archive-card .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.message-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}
.message-item {
    max-width: 92%;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #f9fbfd;
}
.message-item.user {
    justify-self: end;
    background: #eef4ff;
    border-color: #dbe7ff;
}
.message-item strong { display: block; color: var(--ink); font-size: 13px; }
.message-item p { margin: 5px 0; color: var(--text); }
.message-item span { color: var(--muted); font-size: 12px; }

.process-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}
.process-strip div {
    display: grid;
    gap: 6px;
    place-items: center;
    min-height: 82px;
    padding: 12px 6px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.process-strip strong {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    color: #fff;
    background: #0f172a;
    font-variant-numeric: tabular-nums;
}
.process-strip span { color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }
.soft-card {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}
.soft-card p, .content-card p { margin: 8px 0 0; color: var(--text); }

.page-head {
    padding: 10px 2px 14px;
}
.page-head h1 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 30px;
}
.page-head p { margin: 0; }
.pill-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 14px;
    scrollbar-width: none;
}
.pill-scroll::-webkit-scrollbar { display: none; }
.pill-scroll a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-xs);
}
.pill-scroll a.is-active {
    color: #fff;
    border-color: #0f172a;
    background: #0f172a;
}

.detail-hero {
    padding: 22px;
    margin-bottom: 16px;
    color: #fff;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(135deg, #08111f, #172d46 52%, #1d4ed8);
    background-size: 20px 20px, 20px 20px, auto;
    box-shadow: var(--shadow-strong);
}
.detail-hero.compact { padding: 20px; }
.detail-hero .tag {
    color: #dbeafe;
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.18);
}
.detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 14px 0 16px;
}
.detail-price strong { color: #fff; font-size: 34px; line-height: 1; }
.detail-price del, .detail-price span { color: rgba(255,255,255,.72); }
.detail-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-hero .btn.ghost { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }

.content-card.article { white-space: normal; }
.panel-form, .auth-card, .pay-card { display: grid; gap: 14px; }
.panel-form fieldset {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #fff;
}
.panel-form legend {
    padding: 0 8px;
    color: var(--ink);
    font-weight: 850;
}
label { display: grid; gap: 7px; color: #344054; font-weight: 800; }
label small { color: var(--muted); font-weight: 500; }
.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.choice-row label, .pay-methods label, .check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
}
.choice-row input, .pay-methods input, .check-line input {
    width: auto;
    min-height: auto;
    box-shadow: none;
}
.check-line {
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #fff;
}
.check-line a { color: var(--accent); font-weight: 850; }

.pay-card { text-align: left; }
.pay-summary {
    display: grid;
    gap: 5px;
    margin: 4px 0 18px;
    padding: 18px;
    border: 1px solid #dbe7ff;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(29,78,216,.08), transparent 62%),
        #f8fbff;
}
.pay-summary span, .pay-summary small { color: var(--muted); font-weight: 800; }
.pay-amount { margin: 0; color: var(--ink); font-size: 42px; line-height: 1; }
.pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.pay-methods label {
    position: relative;
    justify-content: center;
    min-height: 66px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.pay-methods label:has(input:checked) {
    border-color: rgba(29, 78, 216, .46);
    background: #f3f7ff;
    box-shadow: 0 14px 30px rgba(29, 78, 216, .12);
}
.pay-methods label span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.pay-methods label .icon { width: 18px; height: 18px; }

.order-card b { display: block; color: var(--warning); font-variant-numeric: tabular-nums; }
.order-card em { display: block; color: var(--accent); font-style: normal; font-weight: 850; }
.timeline {
    position: relative;
    display: grid;
    gap: 0;
}
.timeline div {
    position: relative;
    padding: 0 0 18px 28px;
    border-left: 2px solid #dbe7ff;
}
.timeline div::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #1d4ed8;
    box-shadow: 0 0 0 4px #eef4ff;
}
.timeline div:first-child::before { border-color: #0f766e; box-shadow: 0 0 0 4px #e8faf5; }
.timeline div:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline strong { display: block; color: var(--ink); }
.timeline span { color: var(--muted); font-size: 14px; }
.timeline p { margin: 4px 0 0; color: var(--text); }

.profile-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.avatar {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    font-weight: 900;
}
.stack-form { display: grid; gap: 12px; }
.service-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.service-contact-grid div, .faq-item {
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.service-contact-grid strong, .service-contact-grid span, .service-contact-grid a { display: block; }
.service-contact-grid a { color: var(--accent); font-weight: 900; }
.result-card { padding: 18px; margin-bottom: 16px; }
.empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 30px 16px;
    text-align: center;
}
.empty-state h2 { margin: 0; color: var(--ink); }
.empty-state p { margin: 0; color: var(--muted); }
.empty-icon { color: var(--warning); }

.toast {
    position: sticky;
    top: 72px;
    z-index: 45;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.toast.success, .notice-card.success { color: #075f44; background: #e9f8f0; }
.toast.error { color: #991b1b; background: #feeceb; }

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 76px;
    padding: 8px max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    border-top: 1px solid rgba(216, 224, 234, .9);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
}
.bottom-nav a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-height: 56px;
    border-radius: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bottom-nav a .icon { width: 21px; height: 21px; }
.bottom-nav a.is-active {
    color: #0f172a;
    background: #eef4ff;
}

.install-body { background: var(--bg); }
.install-shell { width: min(100%, 980px); margin: 0 auto; padding: 20px; }
.install-card { display: grid; gap: 18px; }
.install-hero {
    padding: 28px;
    color: #fff;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(135deg, #08111f, #1d4ed8 72%, #0f766e);
    background-size: 20px 20px, 20px 20px, auto;
    box-shadow: var(--shadow-strong);
}
.check-grid, .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}
.check-item {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 13px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.check-item span { display: grid; gap: 3px; }
.check-item small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-all;
}
.check-item.ok { color: var(--success); }
.check-item.bad { color: var(--danger); }
.install-form {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}
.inline-result { min-height: 24px; color: var(--muted); font-weight: 800; }
.notice-card {
    padding: 16px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.notice-card.danger { color: #991b1b; background: #feeceb; }

@media (min-width: 760px) {
    .front-main { padding-inline: 20px; }
    .hero-band {
        margin-inline: 0;
        border-radius: 28px;
        padding: 36px 28px 24px;
    }
    .hero-copy p { font-size: 16px; }
    .hero-metrics { width: min(100%, 520px); }
    .hero-quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card.large { grid-column: span 1; }
    .service-contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .front-header { padding-inline: 12px; }
    .brand span:last-child {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .service-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }
    .service-card .price {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
    }
    .pay-methods { grid-template-columns: 1fr; }
    .process-strip span { font-size: 12px; }
    .hero-metrics strong { font-size: 18px; }
    .direct-entry-card {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .direct-entry-card .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/*
 * UI refresh: restrained mobile service desk.
 */
:root {
    --primary: #111827;
    --primary-2: #243244;
    --accent: #2563eb;
    --accent-2: #0d9488;
    --ink: #111827;
    --text: #314154;
    --muted: #6b7280;
    --subtle: #9ca3af;
    --line: #dce3eb;
    --line-soft: #edf1f5;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f9fafb;
    --radius: 18px;
    --radius-lg: 22px;
    --shadow-xs: 0 1px 2px rgba(17, 24, 39, .04);
    --shadow: 0 16px 40px rgba(17, 24, 39, .07);
    --shadow-strong: 0 28px 70px rgba(17, 24, 39, .14);
}

body {
    background:
        linear-gradient(180deg, #fbfcfd 0, #f6f7f9 240px),
        var(--bg);
    color: var(--text);
}

.front-header {
    height: 62px;
    background: rgba(255,255,255,.86);
    border-bottom-color: rgba(229, 234, 240, .86);
    box-shadow: 0 1px 0 rgba(17,24,39,.02);
}
.brand {
    gap: 9px;
    font-weight: 880;
}
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: #111827;
}
.header-action {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17,24,39,.06);
}

.front-main {
    padding-top: 16px;
}

.home-hero {
    position: relative;
    margin: 0 0 16px;
    padding: 24px 18px 18px;
    overflow: hidden;
    border: 1px solid rgba(220, 227, 235, .9);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .08), transparent 46%),
        linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    box-shadow: var(--shadow);
}
.home-hero::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(17,24,39,.08), rgba(13,148,136,.08));
    border: 1px solid rgba(255,255,255,.8);
    transform: rotate(8deg);
    pointer-events: none;
}
.home-hero .eyebrow {
    border: 0;
    color: #2563eb;
    background: #eff6ff;
}
.home-hero h1 {
    max-width: 320px;
    margin-top: 14px;
    font-size: 36px;
    line-height: 1.06;
    font-weight: 920;
}
.home-hero p {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: 15px;
}
.home-hero .direct-entry-card {
    margin-top: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    border-color: rgba(220,227,235,.9);
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
}

.direct-entry-card,
.section-block,
.soft-card,
.content-card,
.auth-card,
.pay-card,
.panel-form,
.result-card,
.profile-head,
.empty-state,
.service-card,
.order-card {
    border-color: rgba(226, 232, 240, .96);
    box-shadow: 0 10px 28px rgba(17,24,39,.045);
}
.direct-entry-icon,
.service-icon,
.stat-icon {
    color: #111827;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.btn {
    border-radius: 14px;
    min-height: 44px;
    font-weight: 860;
}
.btn.primary,
.search-row button {
    background: #111827;
    box-shadow: 0 12px 28px rgba(17,24,39,.12);
}
.btn.ghost {
    color: #1f3a66;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.btn.danger {
    background: #b42318;
    box-shadow: 0 12px 26px rgba(180,35,24,.12);
}

.home-category-strip {
    margin-bottom: 16px;
}
.home-category-strip a,
.pill-scroll a {
    border-color: #e5e7eb;
    background: rgba(255,255,255,.92);
    box-shadow: 0 6px 18px rgba(17,24,39,.035);
}

.section-title {
    margin-bottom: 12px;
}
.section-title h2,
.content-card h2,
.soft-card h2 {
    font-size: 17px;
    font-weight: 900;
}
.section-title a {
    color: #2563eb;
}

.service-list,
.order-list {
    gap: 10px;
}
.service-card,
.order-card {
    position: relative;
    min-height: 116px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, #ffffff, #fbfcfd);
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 14px auto 14px 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #2563eb, #0d9488);
    opacity: .72;
}
.service-card:hover,
.order-card:hover {
    border-color: rgba(37, 99, 235, .22);
    box-shadow: 0 14px 34px rgba(17,24,39,.08);
}
.service-card h2,
.service-card h3 {
    margin-top: 6px;
    font-weight: 900;
}
.service-card p {
    font-size: 14px;
}
.price,
.pay-amount {
    color: #8a5a00;
}
.tag,
.eyebrow {
    border-radius: 999px;
    font-weight: 860;
}

.enterprise-lookup-card,
.enterprise-search-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 28px rgba(17,24,39,.055);
}
.enterprise-lookup-card label,
.enterprise-search-panel label {
    color: #111827;
    font-size: 13px;
    font-weight: 880;
}
.enterprise-lookup-card small {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}
.home-hero .home-service-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: none;
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(183, 121, 31, .28);
    border-radius: 14px;
    color: #7a4b00;
    background: #fff8e7;
    font-size: 13px;
    font-weight: 780;
    line-height: 1.45;
}
.manual-entry-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 10px;
    padding: 0 12px;
    color: #475467;
    font-size: 14px;
    font-weight: 820;
}
.manual-entry-link.block-link {
    width: 100%;
    margin-top: 14px;
}
.enterprise-search-head {
    padding-bottom: 6px;
}
.enterprise-search-panel {
    margin-bottom: 16px;
}
.enterprise-result-title {
    margin: 2px 0 12px;
}
.enterprise-result-title > span {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}
.enterprise-result-list {
    display: grid;
    gap: 12px;
}
.company-result-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #fbfcfd);
    box-shadow: 0 10px 28px rgba(17,24,39,.045);
}
.company-result-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    color: #111827;
    background: #f3f4f6;
}
.company-result-main {
    min-width: 0;
}
.company-result-main h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 920;
    overflow-wrap: anywhere;
}
.company-result-main p {
    margin: 0;
    color: #475467;
    font-size: 13px;
    font-weight: 760;
    overflow-wrap: anywhere;
}
.company-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.company-result-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #344054;
    background: #f2f4f7;
    font-size: 12px;
    font-weight: 800;
}
.company-result-main small {
    display: block;
    margin-top: 9px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}
.company-result-card .btn {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.page-head {
    margin-bottom: 10px;
    padding: 10px 2px 12px;
}
.page-head h1 {
    font-size: 31px;
    font-weight: 920;
}

.detail-hero {
    border-radius: 26px;
    background:
        linear-gradient(135deg, #111827 0%, #253044 58%, #0f766e 140%);
    box-shadow: var(--shadow-strong);
}
.detail-price strong {
    font-size: 36px;
}

.panel-form fieldset {
    border-radius: 20px;
    background: #fbfcfd;
}
input,
textarea,
select {
    border-radius: 15px;
    box-shadow: none;
}
.check-line,
.vault-picker,
.pay-summary,
.pay-methods label {
    border-radius: 18px;
}

.material-line,
.notice-line {
    min-height: 50px;
}
.archive-card {
    padding: 16px 0;
}
.quick-link-grid a {
    min-height: 82px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfcfd);
}

.bottom-nav {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 68px;
    border: 1px solid rgba(226,232,240,.92);
    border-radius: 24px;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    box-shadow: 0 18px 46px rgba(17,24,39,.14);
}
.bottom-nav a {
    min-height: 52px;
    border-radius: 18px;
}
.bottom-nav a.is-active {
    color: #111827;
    background: #f1f5f9;
}

@media (min-width: 760px) {
    .home-hero {
        padding: 34px 30px 26px;
    }
    .home-hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 420px) {
    .front-main {
        padding-inline: 12px;
        padding-bottom: calc(98px + env(safe-area-inset-bottom));
    }
    .home-hero {
        padding: 22px 16px 16px;
        border-radius: 24px;
    }
    .home-hero h1 {
        font-size: 34px;
    }
    .service-card {
        border-radius: 20px;
    }
}

/*
 * Blue client theme override.
 */
:root {
    --primary: #0b3a82;
    --primary-2: #0f4aa2;
    --accent: #2563eb;
    --accent-2: #38bdf8;
    --ink: #102033;
    --text: #2f4057;
    --line: #cfdcf2;
    --line-soft: #e5edf9;
    --bg: #f3f7fd;
    --surface-2: #f8fbff;
    --shadow: 0 12px 30px rgba(37, 99, 235, .08);
    --shadow-strong: 0 24px 58px rgba(30, 64, 175, .18);
}

body {
    background:
        linear-gradient(180deg, rgba(37, 99, 235, .06), transparent 260px),
        var(--bg);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(37, 99, 235, .72);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

.front-header {
    background: rgba(248, 251, 255, .9);
    border-bottom-color: rgba(207, 220, 242, .9);
}

.brand-mark,
.admin-avatar {
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .18);
}

.header-action {
    color: #1d4ed8;
    border-color: #dbeafe;
    background: #ffffff;
}

.home-hero {
    border-color: rgba(191, 219, 254, .96);
    background:
        radial-gradient(circle at 86% 8%, rgba(56, 189, 248, .18), transparent 30%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 54%, #eaf5ff 100%);
    box-shadow: 0 18px 44px rgba(37, 99, 235, .12);
}

.home-hero::after {
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(56, 189, 248, .15));
}

.home-hero .eyebrow,
.hero-band .eyebrow,
.tag {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.enterprise-lookup-card,
.enterprise-search-panel,
.company-result-card,
.direct-entry-card,
.section-block,
.soft-card,
.content-card,
.auth-card,
.pay-card,
.panel-form,
.result-card,
.profile-head,
.empty-state,
.service-card,
.order-card {
    border-color: rgba(191, 219, 254, .82);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .065);
}

.search-row {
    border-color: #bfdbfe;
    background: #ffffff;
}

.search-row .icon {
    color: #2563eb;
}

.btn.primary,
.search-row button {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .24);
}

.btn.ghost {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.service-icon,
.direct-entry-icon,
.company-result-icon {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.home-category-strip a,
.pill-scroll a {
    color: #1e3a8a;
    border-color: #dbeafe;
    background: rgba(255, 255, 255, .94);
}

.pill-scroll a.is-active,
.home-category-strip a:hover {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

.service-card::before {
    background: linear-gradient(180deg, #1d4ed8, #38bdf8);
}

.service-card:hover,
.order-card:hover {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 16px 38px rgba(37, 99, 235, .12);
}

.section-title a,
.material-line a,
.check-line a,
.order-card em,
.service-contact-grid a {
    color: #2563eb;
}

.price,
.pay-amount {
    color: #1d4ed8;
}

.detail-hero,
.auth-card {
    background: linear-gradient(135deg, #0b3a82 0%, #1d4ed8 62%, #38bdf8 132%);
    box-shadow: var(--shadow-strong);
}

.timeline div {
    border-left-color: #bfdbfe;
}

.timeline div::before {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px #dbeafe;
}

.timeline div:first-child::before {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px #e0f2fe;
}

.bottom-nav {
    border-color: rgba(191, 219, 254, .94);
    box-shadow: 0 18px 46px rgba(37, 99, 235, .16);
}

.bottom-nav a {
    color: #52657f;
}

.bottom-nav a.is-active {
    color: #1d4ed8;
    background: #eff6ff;
}

.annual-home-section {
    margin: 0 0 16px;
}

.annual-home-section .section-title {
    margin-bottom: 10px;
    padding: 0 2px;
}

.annual-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.annual-entry-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    margin: 0 0 14px;
    padding: 14px;
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 22px;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .1), transparent 70%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .065);
}

.annual-entry-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    color: #1d4ed8;
    background: #eff6ff;
}

.annual-entry-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.annual-entry-copy strong {
    color: #102033;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 920;
}

.annual-entry-copy small {
    color: #52657f;
    font-size: 12px;
    line-height: 1.35;
}

.annual-entry-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    background: #2563eb;
    font-size: 13px;
    font-weight: 880;
}

.annual-home-section .annual-entry-card {
    grid-column: 1 / -1;
    margin: 0;
}

.annual-mini-card {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    min-height: 82px;
    padding: 12px;
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 20px;
    color: #1d4ed8;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .06);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.annual-mini-card .icon {
    width: 24px;
    height: 24px;
}

.annual-report-panel {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.annual-report-hero,
.annual-risk-card {
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, .7);
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .32), transparent 34%),
        linear-gradient(135deg, #1d4ed8 0%, #2587f8 58%, #38bdf8 125%);
    box-shadow: 0 16px 40px rgba(37, 99, 235, .18);
}

.annual-report-hero {
    padding: 18px 16px 16px;
    text-align: center;
}

.annual-report-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 12px;
    font-weight: 850;
}

.annual-report-hero h2 {
    margin: 12px 0 14px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 920;
    text-shadow: 0 2px 8px rgba(15, 23, 42, .18);
}

.annual-report-hero h1 {
    margin: 12px 0 14px;
    color: #ffffff;
    font-size: 31px;
    line-height: 1.14;
    font-weight: 940;
    text-shadow: 0 2px 8px rgba(15, 23, 42, .18);
}

.annual-report-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.annual-report-icons a {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 82px;
    padding: 12px 6px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 18px;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(10px);
}

.annual-report-icons .icon {
    width: 28px;
    height: 28px;
}

.annual-report-icons span {
    font-size: 13px;
    font-weight: 850;
}

.annual-report-hero > strong {
    display: block;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 940;
    letter-spacing: 0;
}

.annual-report-hero p {
    margin: 8px auto 0;
    max-width: 420px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
}

.annual-risk-card {
    padding: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(96, 165, 250, .32), transparent 32%),
        linear-gradient(180deg, #2563eb 0%, #1d70ee 100%);
}

.annual-risk-card > span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,.14);
    font-size: 12px;
    font-weight: 850;
}

.annual-risk-card h3 {
    margin: 10px 0 14px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.24;
    font-weight: 920;
}

.annual-risk-card h2 {
    margin: 10px 0 14px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.24;
    font-weight: 920;
}

.annual-risk-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.annual-risk-list div {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
}

.annual-risk-list em {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    color: #1d4ed8;
    background: #ffffff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.annual-risk-list strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
}

.annual-risk-list p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.55;
}

.annual-risk-card .btn {
    color: #1d4ed8;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}

.annual-report-page {
    margin-top: 2px;
}

.annual-report-page .annual-report-hero {
    display: flex;
    flex-direction: column;
}

.annual-report-page .annual-report-hero .btn {
    margin-top: auto;
    color: #1d4ed8;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}

.annual-more-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.annual-more-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 14px;
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .065);
}

.annual-more-card > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #bfdbfe;
    border-radius: 15px;
    color: #1d4ed8;
    background: #eff6ff;
}

.annual-more-card strong,
.annual-more-card small {
    display: block;
}

.annual-more-card strong {
    color: #102033;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 920;
}

.annual-more-card small {
    margin-top: 4px;
    color: #52657f;
    font-size: 12px;
    line-height: 1.38;
}

.annual-more-card em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    background: #2563eb;
    font-size: 13px;
    font-style: normal;
    font-weight: 880;
}

.annual-story-section,
.annual-faq-section {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.annual-section-head {
    display: grid;
    gap: 4px;
    padding: 0 2px;
    text-align: center;
}

.annual-section-head span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.annual-section-head h2 {
    margin: 0;
    color: #102033;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 940;
}

.annual-case-card,
.annual-review-card,
.annual-faq-card {
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .065);
}

.annual-case-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.annual-case-card p {
    margin: 0;
    color: #102033;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 760;
}

.annual-case-preview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #eff6ff;
}

.annual-case-preview > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: #1d4ed8;
    background: #ffffff;
}

.annual-case-preview strong,
.annual-case-preview small {
    display: block;
}

.annual-case-preview strong {
    color: #102033;
    font-size: 15px;
    font-weight: 900;
}

.annual-case-preview small {
    margin-top: 4px;
    color: #52657f;
    font-size: 12px;
    line-height: 1.45;
}

.annual-case-card > a {
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
}

.annual-review-card {
    padding: 16px;
}

.annual-review-card h2,
.annual-review-card h3 {
    margin: 0 0 6px;
    color: #102033;
    font-size: 19px;
    font-weight: 940;
}

.annual-review-list article {
    padding: 14px 0;
    border-bottom: 1px solid #e5edf9;
}

.annual-review-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.annual-review-list strong,
.annual-review-list time {
    display: block;
}

.annual-review-list strong {
    color: #102033;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
}

.annual-review-list time {
    margin-top: 8px;
    color: #8a98aa;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.annual-review-list p {
    margin: 10px 0 0;
    color: #2f4057;
    font-size: 15px;
    line-height: 1.75;
}

.annual-faq-card {
    padding: 4px 16px;
}

.annual-faq-card article {
    padding: 16px 0;
    border-bottom: 1px solid #e5edf9;
}

.annual-faq-card article:last-child {
    border-bottom: 0;
}

.annual-faq-card strong {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: #102033;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 920;
}

.annual-faq-card strong span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #ffffff;
    background: #2563eb;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.annual-faq-card p {
    margin: 10px 0 0 33px;
    color: #2f4057;
    font-size: 15px;
    line-height: 1.72;
}

@media (min-width: 760px) {
    .annual-report-panel {
        grid-template-columns: .92fr 1.08fr;
        align-items: stretch;
    }
    .annual-report-hero,
    .annual-risk-card {
        min-height: 100%;
    }
    .annual-story-section {
        grid-template-columns: .9fr 1.1fr;
    }
    .annual-story-section .annual-section-head,
    .annual-faq-section .annual-section-head {
        grid-column: 1 / -1;
    }
    .annual-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
