:root {
    --ink: #141414;
    --navy: #0a0a0a;
    --navy-2: #000000;
    --paper: #f4f5f7;
    --card: #ffffff;
    --line: #e3e5ea;
    --copper: #c80f2e;
    --red: #c80f2e;
    --red-2: #9d0c24;
    --blue: #012269;
    --teal: #c80f2e;
    --teal-2: #9d0c24;
    --muted: #5c616a;
    --danger: #c80f2e;
    --ok: #0d6b45;
    --shadow: 0 18px 40px rgba(0, 0, 0, .08);
    --serif: Lato, Arial, sans-serif;
    --sans: Lato, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #222; font-family: Lato, Arial, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: var(--blue); }
img, video, svg, canvas { max-width: 100%; height: auto; }
img { display: inline-block; vertical-align: middle; object-fit: contain; }
h1, h2, h3 { font-family: Lato, Arial, sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #1a1a1a; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); margin: 0 0 .45em; }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.2rem); margin: 0 0 .4em; }
p, li, label, span, td, th, dd, dt { overflow-wrap: anywhere; }
p { margin: 0 0 .8em; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; min-width: 0; flex: none; }
.brand img { height: 48px; width: auto; max-width: min(220px, 52vw); display: block; object-fit: contain; }
.site-header { background: #fff; color: #1a1a1a; border-bottom: 1px solid #e6e6e6; position: sticky; top: 0; z-index: 40; }
.dash-header { background: #fff; color: #1a1a1a; border-bottom: 1px solid #e6e6e6; position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; position: relative; }
.nav, .dash-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 8px;
    border: 1px solid #dfe3ea;
    background: #fff;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex: none;
    z-index: 46;
    position: relative;
}
.menu-toggle span:not(.sr) {
    display: block;
    height: 2px;
    width: 100%;
    background: #101820;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 28, .45);
    z-index: 42;
}
body.site-nav-open .menu-toggle[data-site-nav] span:nth-child(2),
body.dash-nav-open .menu-toggle[data-dash-nav] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}
body.site-nav-open .menu-toggle[data-site-nav] span:nth-child(3),
body.dash-nav-open .menu-toggle[data-dash-nav] span:nth-child(3) {
    opacity: 0;
}
body.site-nav-open .menu-toggle[data-site-nav] span:nth-child(4),
body.dash-nav-open .menu-toggle[data-dash-nav] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}
.nav a, .dash-nav a, .dash-nav button { color: #1a1a1a; text-decoration: none; border: 0; background: none; font: 400 16px/1 Lato, Arial, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.site-header .nav a:not(.nav-cta):not(.nav-outline) { color: var(--blue); }
.dash-header .dash-nav a, .dash-header .dash-nav button { color: var(--blue); }
.dash-header .dash-nav a:hover, .dash-header .dash-nav button:hover { color: var(--red); }
.site-header .nav a.nav-cta, .site-header .nav a.nav-outline { border-radius: 3px; padding: 8px 14px; font-weight: 700; }
.site-header .nav a.nav-cta { background: var(--red); color: #fff; }
.site-header .nav a.nav-cta:hover { background: var(--red-2); }
.site-header .nav a.nav-outline { color: #fff; border: 0; background: var(--blue); }
.site-header .nav a.nav-outline:hover { background: #011a52; }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; padding: 13px 22px; text-decoration: none; border: 0; cursor: pointer; font: 700 16px/1 Lato, Arial, sans-serif; }
.nav-cta, .btn.primary { background: var(--teal); color: white; }
.btn.primary:hover, .nav-cta:hover { background: var(--teal-2); }
.btn.ghost, .btn.light { background: white; color: var(--navy); border: 1px solid var(--line); }
.btn.tiny { padding: .45rem .8rem; font-size: .92rem; background: var(--teal); color: white; }
.btn[disabled] { background: #d9d3c8; color: #7d756c; cursor: not-allowed; }
.icon { width: 18px; height: 18px; }
.slider { position: relative; min-height: 460px; background: var(--navy); color: white; overflow: hidden; }
.slide { display: none; min-height: 460px; align-items: center; background:
    radial-gradient(circle at 82% 18%, rgba(200, 15, 46, .42), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(1, 34, 105, .7), transparent 34%),
    #050505; }
.slide.is-on { display: flex; }
.tone-b { background: linear-gradient(155deg, #2a0610, #012269 72%); }
.tone-c { background: linear-gradient(155deg, #012269, #050505 68%); }
.slide-copy { padding: 84px 0 96px; max-width: 680px; }
.slide-copy h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3rem); }
.slide-copy p { color: #f2f2f2; max-width: 38rem; font-size: 17px; font-weight: 400; line-height: 1.5; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; font-weight: 700; color: #c80f2e; margin: 0 0 .7rem; }
.slide .eyebrow, .band .eyebrow { color: #ffd0d6; }
.dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); }
.dots button.is-on { background: white; }
.hero {
    position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden;
    background: #111 url('../facade.svg') right center / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.78) 34%, rgba(8,8,8,.28) 62%, rgba(8,8,8,.05) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 560px; padding: 72px 0; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: #fff; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 4.8vw, 3.35rem); max-width: 12ch; }
.hero-copy p { color: #f3f3f3; font-size: 17px; max-width: 36rem; }
.hero-btn { margin-top: 8px; }
.hero-note { margin-top: 16px; font-size: 15px; }
.hero-note a { color: #fff; }
.hero-pin { position: absolute; right: 7%; bottom: 22%; z-index: 1; margin: 0; background: #111; color: #fff; padding: 8px 12px; font-size: 14px; font-weight: 700; }

.nx-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    min-height: min(86vh, 700px);
    background: #f3f5f8;
}
.nx-hero-panel {
    display: flex;
    align-items: center;
    padding: 64px clamp(24px, 5vw, 72px);
    background:
        linear-gradient(160deg, #ffffff 0%, #eef2f7 58%, #e7edf5 100%);
    border-right: 1px solid #dde3ec;
}
.nx-hero-copy { max-width: 38rem; }
.nx-mark {
    margin: 0 0 14px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
}
.nx-mark.light { color: #9eb4d8; }
.nx-hero h1 {
    margin: 0 0 14px;
    color: #101820;
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    max-width: 18ch;
    line-height: 1.12;
}
.nx-lead { margin: 0 0 16px; color: #445062; font-size: 1.12rem; max-width: 34rem; font-weight: 600; }
.nx-hero-body {
    margin: 0 0 16px;
    color: #445062;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 36rem;
}
.nx-hero-tagline {
    margin: 0 0 26px;
    color: #101820;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: .01em;
    max-width: 36rem;
}
.nx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.nx-ghost {
    background: #fff;
    color: var(--blue);
    border: 1px solid #c9d3e2;
}
.btn.nx-ghost:hover { border-color: var(--blue); }
.btn.nx-ghost-dark {
    background: transparent;
    color: #101820;
    border: 1px solid #c9d3e2;
}
.nx-hero-meta {
    display: flex;
    gap: 28px;
    margin: 34px 0 0;
    padding-top: 22px;
    border-top: 1px solid #d5dde8;
}
.nx-hero-meta div { margin: 0; }
.nx-hero-meta dt {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #101820;
    letter-spacing: -.03em;
}
.nx-hero-meta dd { margin: 2px 0 0; color: #667486; font-size: .9rem; }
.nx-hero-stage {
    position: relative;
    overflow: hidden;
    background: #101820;
    min-height: 420px;
}
.nx-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .7s ease, transform .9s ease;
    pointer-events: none;
}
.nx-slide.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 1;
}
.nx-slide-photo {
    position: absolute;
    inset: 0;
    background: #1c2a3a url('../facade.svg') center / cover no-repeat;
}
.nx-slide-photo.cat-address { background-color: #012269; }
.nx-slide-photo.cat-extra { background-color: #7a1f2b; }
.nx-slide-photo.cat-accountancy { background-color: #0f4c5c; }
.nx-slide-photo.cat-formation { background-color: #3d4d68; }
.nx-slide-photo.cat-office { background-color: #1c2a3a; }
.nx-slide-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 16, 28, .08) 0%, rgba(10, 16, 28, .18) 45%, rgba(10, 16, 28, .62) 100%);
}
.nx-slide.has-image .nx-slide-photo,
.nx-slide-photo.has-image {
    background-image: var(--slide-image);
    background-size: cover;
    background-position: center;
}
.nx-slide-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 56px;
    z-index: 2;
    display: grid;
    gap: 4px;
    color: #fff;
    padding: 16px 18px;
    background: rgba(10, 16, 28, .72);
    backdrop-filter: blur(8px);
}
.nx-slide-caption strong { font-size: 1.35rem; }
.nx-slide-caption span { color: #d7deea; }
.nx-slide-caption em { font-style: normal; font-weight: 700; color: #fff; margin-top: 4px; }
.nx-slide-badge {
    display: inline-block;
    justify-self: start;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.nx-slide-badge.cat-address { background: #012269; }
.nx-slide-badge.cat-extra { background: #7a1f2b; }
.nx-slide-badge.cat-accountancy { background: #0f4c5c; }
.nx-slide-badge.cat-formation { background: #3d4d68; }
.nx-slide-nav {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.nx-slide-nav button {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 0;
}
.nx-slide-nav button.is-on { background: #fff; }

.nx-why-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}
.nx-why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.nx-why-list li {
    padding: 22px 0;
    border-bottom: 1px solid #e4e4e7;
}
.nx-why-list li:first-child { border-top: 1px solid #e4e4e7; }
.nx-why-list strong { display: block; margin-bottom: 6px; font-size: 1.08rem; color: #101820; }
.nx-why-list p { margin: 0; color: #555; }
.nx-section-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}
.nx-path-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.nx-path-track article {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-left: 4px solid var(--blue);
    padding: 22px 20px;
}
.nx-path-track h3 { margin: 0 0 8px; }
.nx-path-track p { margin: 0; color: #555; }
.nx-close { padding: 28px 0 72px; background: #f3f5f8; }
.nx-close-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    background: #fff;
    border: 1px solid #dbe2ec;
    padding: 36px 40px;
    box-shadow: 0 16px 40px rgba(16, 24, 32, .06);
}
.nx-close-box h2 { margin: 0 0 8px; max-width: 16ch; }
.nx-close-box p { margin: 0; color: #555; max-width: 34rem; }

.nx-partners { padding-top: 8px; }
.nx-partners-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 32px 48px;
    align-items: start;
    margin-bottom: 28px;
}
.nx-partners-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.25;
    color: #101820;
    max-width: 28ch;
}
.nx-partners-head p {
    margin: 0;
    color: #555;
    font-size: .98rem;
    line-height: 1.55;
}
.nx-partners-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(148px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.nx-partner-tile {
    display: grid;
    gap: 10px;
    align-content: start;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    min-width: 0;
}
.nx-partner-logo {
    display: block;
    height: 88px;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    background: #fff center / contain no-repeat;
    background-origin: content-box;
    padding: 14px 16px;
    box-sizing: border-box;
}
.nx-partner-perk {
    display: block;
    font-size: .82rem;
    line-height: 1.35;
    color: #555;
    min-height: 2.7em;
}
a.nx-partner-tile:hover .nx-partner-logo {
    border-color: #c9d0da;
}
.partner-preview {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
}
.ok-line { margin: 0; color: #0f6b3a; font-weight: 600; }

.nx-idv {
    background:
        linear-gradient(180deg, #f7f8fb 0%, #fff 100%);
    border-top: 1px solid #e8ebf0;
    border-bottom: 1px solid #e8ebf0;
}
.nx-idv-inner {
    text-align: center;
    max-width: 920px;
}
.nx-idv h2 {
    margin: 0 auto 14px;
    max-width: 22ch;
    color: #101820;
}
.nx-idv-lead {
    margin: 0 auto 22px;
    max-width: 46rem;
    color: #555;
    font-size: 1.02rem;
}
.nx-idv-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px 12px;
    margin: 0 0 32px;
    padding: 12px 18px;
    border: 1px solid #dbe2ec;
    background: #fff;
    color: #101820;
}
.nx-idv-price strong {
    font-size: 1.35rem;
    color: var(--blue);
}
.nx-idv-price span {
    color: #666;
    font-size: .95rem;
}
.nx-idv-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
    margin: 0 0 28px;
}
.nx-idv-points article {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-top: 3px solid var(--blue);
    padding: 22px 18px 20px;
}
.nx-idv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgba(1, 34, 105, .08);
    color: var(--blue);
}
.nx-idv-icon svg { width: 22px; height: 22px; }
.nx-idv-points h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}
.nx-idv-points p {
    margin: 0;
    color: #555;
    font-size: .94rem;
}
.nx-idv-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.nx-idv-actions form { margin: 0; }

.nx-support {
    background: #fff;
    border-top: 1px solid #e8ebf0;
}
.nx-support-inner {
    text-align: center;
    max-width: 720px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.nx-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
}
.nx-support-icon svg { width: 26px; height: 26px; }
.nx-support h2 {
    margin: 0 auto 12px;
    max-width: 18ch;
    color: #101820;
}
.nx-support-inner > p {
    margin: 0 auto 24px;
    max-width: 40rem;
    color: #555;
}
.nx-support-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}
.nx-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid #1a1a1a;
    background: #fff;
    color: #101820;
    text-decoration: none;
    font: 700 15px/1 Lato, Arial, sans-serif;
    cursor: pointer;
}
.nx-support-btn svg { width: 18px; height: 18px; flex: none; }
.nx-support-btn:hover { border-color: var(--blue); color: var(--blue); }
.nx-support-btn[hidden] { display: none !important; }
.nx-support-emails {
    margin: 0;
    color: #555;
    font-size: .95rem;
}
.nx-support-emails a { color: var(--blue); text-decoration: none; font-weight: 700; }
.nx-support-emails a:hover { color: var(--red); }

/* —— Live chat (visitor widget + admin console) —— */
.lc-root { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.lc-fab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: #012269;
    color: #fff;
    font: 700 14px/1 Lato, Arial, sans-serif;
    box-shadow: 0 14px 34px rgba(1, 34, 105, .32);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.lc-fab:hover { background: #011a52; transform: translateY(-1px); }
.lc-fab[hidden] { display: none !important; }
.lc-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(1, 34, 105, .35);
    animation: lc-pulse 2.2s ease-out infinite;
    pointer-events: none;
}
.lc-fab-icon { width: 18px; height: 18px; flex: none; }
.lc-fab-close { display: none; }
.lc-root.is-open .lc-fab-chat { display: none; }
.lc-root.is-open .lc-fab-close { display: block; }
.lc-root.is-open .lc-fab-label { display: none; }
.lc-root.is-open .lc-fab { padding: 14px; border-radius: 50%; }
.lc-fab-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
}
.lc-fab-badge[hidden] { display: none !important; }
@keyframes lc-pulse {
    0% { transform: scale(.92); opacity: .9; }
    100% { transform: scale(1.35); opacity: 0; }
}

.lc-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(380px, calc(100vw - 24px));
    height: min(560px, calc(100vh - 110px));
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(16, 24, 32, .22);
    transform-origin: bottom right;
    animation: lc-rise .22s ease;
}
.lc-panel[hidden],
.lc-start[hidden],
.lc-thread[hidden] { display: none !important; }
@keyframes lc-rise {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.lc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #012269 0%, #163a7a 100%);
    color: #fff;
}
.lc-agent { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lc-agent strong { display: block; font-size: .98rem; }
.lc-agent p {
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
}
.lc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: none;
    background: #c8102e;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
}
.lc-avatar-lg { width: 56px; height: 56px; font-size: 1.2rem; }
.lc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9aa6b5;
    flex: none;
}
.lc-dot.is-on { background: #35d07f; box-shadow: 0 0 0 3px rgba(53, 208, 127, .25); }
.lc-minimise {
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.lc-minimise:hover { background: rgba(255, 255, 255, .22); }

.lc-start, .lc-thread {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.lc-start {
    gap: 12px;
    padding: 16px;
    overflow: auto;
}
.lc-start label {
    display: grid;
    gap: 6px;
    text-align: left;
    font-size: .86rem;
    color: #445062;
    font-weight: 600;
}
.lc-start input, .lc-start textarea {
    width: 100%;
    border: 1px solid #d5dde8;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: #101820;
    background: #fff;
}
.lc-start textarea { resize: vertical; min-height: 72px; }
.lc-welcome {
    padding: 14px;
    border-radius: 14px;
    background: #f3f6fb;
    border: 1px solid #e4eaf2;
}
.lc-welcome-title { margin: 0 0 6px; font-weight: 700; color: #101820; }
.lc-welcome p { margin: 0; color: #556274; font-size: .9rem; line-height: 1.45; }
.lc-full { width: 100%; justify-content: center; }

.lc-thread { background: #eef2f7; }
.lc-log {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    min-height: 0;
}
.lc-bubble {
    max-width: 86%;
    display: grid;
    gap: 4px;
}
.lc-bubble.is-mine { align-self: flex-end; }
.lc-bubble.is-theirs { align-self: flex-start; }
.lc-bubble-meta {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 0 4px;
}
.lc-bubble-meta strong { font-size: .72rem; color: #667486; font-weight: 700; }
.lc-bubble-meta time { font-size: .7rem; color: #8a96a6; }
.lc-bubble-body {
    padding: 10px 12px;
    border-radius: 16px;
    font-size: .92rem;
    line-height: 1.45;
    color: #101820;
    white-space: pre-wrap;
    word-break: break-word;
}
.lc-bubble.is-theirs .lc-bubble-body {
    background: #fff;
    border: 1px solid #dde3ec;
    border-bottom-left-radius: 4px;
}
.lc-bubble.is-mine .lc-bubble-body {
    background: #012269;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.lc-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: end;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #dde3ec;
}
.lc-compose textarea {
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    resize: none;
    border: 1px solid #d5dde8;
    border-radius: 14px;
    padding: 11px 12px;
    font: inherit;
    line-height: 1.35;
    background: #f7f9fc;
}
.lc-compose textarea:focus {
    outline: 2px solid rgba(1, 34, 105, .18);
    border-color: #012269;
    background: #fff;
}
.lc-send {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #012269;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex: none;
}
.lc-send svg { width: 18px; height: 18px; }
.lc-send:hover { background: #011a52; }
.lc-send:disabled { opacity: .45; cursor: default; }
.lc-closed-note {
    margin: 0;
    padding: 14px 16px;
    background: #fff8e8;
    color: #6a4b00;
    border-top: 1px solid #f0dfb0;
    font-size: .9rem;
}

.lc-admin-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}
.lc-admin-top h1 { margin: 0 0 6px; }
.lc-presence {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #d5dde8;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}
.lc-presence.is-online { border-color: #b7e6c9; background: #effaf3; color: #0f6b3a; }
.lc-presence.is-offline { color: #667486; }

.lc-inbox {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    min-height: min(68vh, 640px);
    border: 1px solid #dde3ec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.lc-inbox-list {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid #dde3ec;
    background: #f7f9fc;
}
.lc-inbox-list > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #dde3ec;
    background: #fff;
}
.lc-inbox-count {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #012269;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    display: inline-grid;
    place-items: center;
}
.lc-inbox-scroll { overflow: auto; flex: 1; }
.lc-inbox-empty, .lc-inbox-hint-card {
    padding: 28px 22px;
    text-align: center;
    color: #667486;
}
.lc-inbox-empty strong, .lc-inbox-hint-card strong {
    display: block;
    margin: 10px 0 6px;
    color: #101820;
}
.lc-inbox-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #e6ebf2;
    background: #fff;
    transition: background .15s ease;
}
.lc-inbox-item:hover, .lc-inbox-item.is-active { background: #eef3fb; }
.lc-inbox-body { min-width: 0; display: grid; gap: 2px; }
.lc-inbox-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
}
.lc-inbox-row strong { font-size: .95rem; color: #101820; }
.lc-inbox-row time { font-size: .75rem; color: #8a96a6; flex: none; }
.lc-inbox-preview {
    font-size: .86rem;
    color: #445062;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lc-inbox-email { font-size: .75rem; color: #8a96a6; }
.lc-inbox-hint {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(1, 34, 105, .06), transparent 40%),
        #f3f6fb;
}
.lc-inbox-hint-card {
    max-width: 280px;
    display: grid;
    justify-items: center;
}

.lc-admin-shell {
    display: flex;
    flex-direction: column;
    min-height: min(72vh, 720px);
    border: 1px solid #dde3ec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.lc-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #dde3ec;
    background: #fff;
    flex-wrap: wrap;
}
.lc-admin-person { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.lc-admin-person h1 { margin: 0; font-size: 1.15rem; }
.lc-admin-person p { margin: 2px 0 0; color: #667486; font-size: .88rem; }
.lc-admin-thread {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background: #eef2f7;
}
.lc-admin-thread .lc-log {
    flex: 1;
    min-height: 280px;
    max-height: none;
}
.lc-compose-admin { margin-top: auto; }
.admin-body .lc-bubble.is-mine .lc-bubble-body { background: #012269; }
.admin-body .lc-bubble.is-theirs .lc-bubble-body { background: #fff; }

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.home-service {
    background: #fff;
    border: 1px solid #e4e4e7;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
    transition: transform .35s ease, box-shadow .35s ease;
}
.home-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .1);
}
.home-service-photo {
    aspect-ratio: 4 / 3;
    background: #1f2937 url('../facade.svg') center / cover no-repeat;
}
.home-service-photo.has-image { background-size: cover; background-position: center; }
.home-service-body { padding: 16px 16px 18px; display: grid; gap: 8px; }
.home-service-body h3 { margin: 0; font-size: 1.08rem; }
.home-service-sub { margin: 0; color: #666; font-style: italic; font-size: .92rem; }
.home-service-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.home-service-foot form { margin: 0; }

.home-flow-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}
.home-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.home-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e4e4e7;
}
.home-steps li:last-child { border-bottom: 0; }
.home-steps span {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--red);
    padding-top: 4px;
}
.home-steps h3 { margin: 0 0 6px; }
.home-steps p { margin: 0; color: #444; }

.home-close {
    background:
        linear-gradient(120deg, rgba(10, 16, 28, .94), rgba(1, 34, 105, .88)),
        #101820 url('../facade.svg') center / cover no-repeat;
    color: #fff;
    padding: 88px 0;
}
.home-close-inner { max-width: 36rem; }
.home-close h2 { color: #fff; margin: 0 0 12px; }
.home-close p { color: #d7deea; margin: 0 0 24px; }

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-in {
    opacity: 1;
    transform: none;
}
.nx-hero-copy[data-reveal] {
    transition-delay: .08s;
}
.nx-why-list li:nth-child(2) { transition-delay: .08s; }
.nx-why-list li:nth-child(3) { transition-delay: .16s; }
.nx-why-list li:nth-child(4) { transition-delay: .24s; }
.nx-path-track article:nth-child(2) { transition-delay: .1s; }
.nx-path-track article:nth-child(3) { transition-delay: .2s; }
.home-service:nth-child(2) { transition-delay: .06s; }
.home-service:nth-child(3) { transition-delay: .12s; }
.home-service:nth-child(4) { transition-delay: .18s; }
.home-service:nth-child(5) { transition-delay: .24s; }
.home-service:nth-child(6) { transition-delay: .3s; }
.home-steps li:nth-child(2) { transition-delay: .1s; }
.home-steps li:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .home-service { transition: none; }
}
.section { padding: 72px 0; }
.section.alt, .band-soft { background: #f6f5f3; }
.section-intro { max-width: 36rem; color: #444; margin-top: -.2rem; }
.section-head, .panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.text-link { color: #1a1a1a; font-weight: 700; text-decoration: none; border-bottom: 1px solid #1a1a1a; white-space: nowrap; }
.text-link:hover { color: var(--red); border-color: var(--red); }
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.place { background: #fff; border: 1px solid #eceae6; box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.place-photo { display: flex; flex-direction: column; justify-content: flex-end; min-height: 188px; padding: 16px; color: #fff; text-decoration: none; background: #2a2a2a url('../facade.svg') center / cover no-repeat; position: relative; }
.place-photo.has-image { background-size: cover; background-position: center; }
.place-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.62)); }
.place-photo strong, .place-photo span { position: relative; z-index: 1; }
.place-photo strong { font-size: 1.2rem; }
.place-photo span { font-size: .92rem; }
.place:nth-child(2) .place-photo:not(.has-image) { background-position: left center; }
.place:nth-child(3) .place-photo:not(.has-image) { background-position: right center; }
.place-tier { margin: 0; color: #fff; text-align: right; padding: 7px 14px; font-weight: 700; }
.place-tier.premium { background: var(--red); }
.place-tier.standard { background: var(--blue); }
.place-tier.budget { background: #5c6b86; }
.place-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 14px 18px; }
.place-foot p { margin: 0; }
.place-foot strong { font-size: 1.85rem; color: #111; letter-spacing: -.03em; }
.place-foot span { color: #555; }
.place-foot form { margin: 0; }
.place-buy {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 3px;
    padding: .55rem .9rem;
    color: #fff;
    background: var(--red);
}
.place-buy.premium { background: var(--red); }
.place-buy.standard { background: var(--blue); }
.place-buy.budget { background: #3d4d68; }
.place-buy:hover { filter: brightness(1.05); }
.place-note { margin-top: 16px; }
.place-summary { color: #444; margin: 10px 0 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.steps, .plain-points { list-style: none; margin: 0; padding: 0; }
.steps li, .plain-points li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #e4e1db; }
.plain-points li { grid-template-columns: 1fr; }
.steps li:first-child, .plain-points li:first-child { border-top: 0; padding-top: 0; }
.steps span { font-weight: 700; color: #777; }
.steps h3, .plain-points h3 { margin: 0 0 4px; font-size: 1.15rem; }
.faq details { border-bottom: 1px solid #e4e1db; padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: #666; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: #333; }
.close-band { padding-top: 36px; padding-bottom: 36px; }
.close-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.close-row p { margin: 0; color: #444; }
.grid-3, .grid-2, .stat-grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.info-card, .office-card, .panel, .auth-card, .summary { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.service-card { padding: 0; overflow: hidden; display: grid; }
.service-card-photo { min-height: 148px; background: #1f2937 url('../facade.svg') center / cover no-repeat; }
.service-card-photo.has-image { background-size: cover; background-position: center; }
.service-card-photo.cat-address,
.svc-tile-photo.cat-address,
.services-aside-photo.cat-address { background-color: #012269; }
.service-card-photo.cat-extra,
.svc-tile-photo.cat-extra,
.services-aside-photo.cat-extra { background-color: #7a1f2b; }
.service-card-photo.cat-accountancy,
.svc-tile-photo.cat-accountancy,
.services-aside-photo.cat-accountancy { background-color: #0f4c5c; }
.service-card-photo.cat-formation,
.svc-tile-photo.cat-formation,
.services-aside-photo.cat-formation { background-color: #3d4d68; }
.service-card h3, .service-card p, .service-card strong { margin-left: 22px; margin-right: 22px; }
.service-card h3 { margin-top: 18px; }
.service-card strong { margin-bottom: 20px; display: inline-block; }
.services-hero {
    background: linear-gradient(135deg, #101820 0%, #1c2a3a 55%, #012269 100%);
    color: #fff;
    padding: 56px 0 48px;
}
.services-hero-kicker {
    margin: 0 0 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    color: #ffb7c0;
}
.services-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.services-hero p { margin: 0; max-width: 38rem; color: #e8eef6; font-size: 1.05rem; }
.services-block { padding: 48px 0; border-bottom: 1px solid #e8e8e8; }
.services-block:nth-child(even) { background: #f7f8fa; }
.services-block-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}
.services-block-head h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.35rem); }
.services-block-banner {
    min-height: 160px;
    border-radius: 4px;
    background: #1f2937 url('../facade.svg') center / cover no-repeat;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}
.services-block-banner.has-image { background-size: cover; background-position: center; }
.svc-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.svc-promo {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
    display: grid;
    grid-template-rows: auto 1fr;
}
.svc-promo-photo {
    aspect-ratio: 16 / 10;
    background: #1f2937 url('../facade.svg') center / cover no-repeat;
}
.svc-promo-photo.has-image { background-size: cover; background-position: center; }
.svc-promo-body {
    padding: 16px 16px 18px;
    display: grid;
    gap: 8px;
    grid-template-rows: auto auto 1fr auto;
    align-content: start;
    min-height: 0;
}
.svc-promo-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.svc-promo-sub { margin: 0; color: #555; font-style: italic; }
.svc-promo-desc { margin: 0; color: #444; font-size: .95rem; }
.svc-promo-foot {
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #eceff3;
}
.svc-promo-price { display: grid; gap: 2px; }
.svc-promo-price span { font-size: .92rem; color: #555; font-style: italic; }
.svc-promo-price strong { font-size: 1.35rem; letter-spacing: -.02em; }
.svc-promo-foot form { margin: 0; }
.svc-buy { width: 100%; justify-content: center; }
.services-aside-inline { margin: 22px 0 0; color: #444; max-width: 46rem; }
.services-cta { padding: 42px 0 56px; background: #101820; }
.services-cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn.ghost-dark {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
}
.btn.ghost-dark:hover { background: rgba(255, 255, 255, .08); }
.banner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.office-card h2, .office-card h3 { margin: 8px 0 0; font-size: 1.35rem; }
.office-card-photo { display: block; min-height: 120px; border-radius: 3px; background: #2a2a2a url('../facade.svg') center / cover no-repeat; margin: 0 0 10px; }
.office-card-photo.has-image { background-size: cover; background-position: center; }
.office-card.chosen.has-media { grid-template-columns: 1fr; }
.office-card.pick.has-media { grid-template-columns: auto 1fr; }
.office-card.pick.has-media .office-card-photo { grid-column: 1 / -1; margin: -6px -6px 8px; min-height: 132px; border-radius: 2px; }
.media-upload { display: grid; gap: 10px; margin: 4px 0 8px; }
.media-preview { width: min(100%, 280px); min-height: 140px; border-radius: 6px; border: 1px solid var(--adm-line, #e4e4e7); background: #2a2a2a url('../facade.svg') center / cover no-repeat; }
.media-preview.has-image { background-size: cover; background-position: center; }
.media-preview.service-preview.cat-address { background-color: #012269; }
.media-preview.service-preview.cat-extra { background-color: #7a1f2b; }
.media-preview.service-preview.cat-accountancy { background-color: #0f4c5c; }
.media-preview.service-preview.cat-formation { background-color: #3d4d68; }
.table-thumb { display: inline-block; width: 48px; height: 36px; border-radius: 4px; background: #2a2a2a url('../facade.svg') center / cover no-repeat; vertical-align: middle; }
.table-thumb.is-empty { opacity: .55; }
.thumb-cell { width: 56px; }
.postcode, .office-card em { color: var(--copper); font-style: normal; font-weight: 620; }
.tier { display: inline-block; border-radius: 999px; padding: .15rem .55rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: #eceef2; color: #333; }
.tier.premium { background: #c80f2e; color: white; }
.tier.standard { background: #e7eef8; color: #012269; }
.tier.budget { background: #eceef2; color: #333; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-grid article { border-top: 2px solid #c80f2e; padding-top: 14px; background: transparent; border-radius: 0; box-shadow: none; padding-left: 0; padding-right: 8px; }
.step-no { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #c80f2e; margin-bottom: 8px; }
.page-head { padding: 42px 0 10px; }
.about-hero {
    position: relative;
    min-height: clamp(360px, 52vh, 520px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(8, 12, 24, .92) 0%, rgba(8, 12, 24, .72) 42%, rgba(8, 12, 24, .38) 100%),
        var(--about-hero) center / cover no-repeat;
    border-bottom: 1px solid #1a1a1a;
}
.about-hero-copy {
    padding: 72px 0 56px;
    max-width: 40rem;
}
.about-hero-copy[data-reveal] { opacity: 1; transform: none; }
.about-stats-row > div:nth-child(2) { transition-delay: .06s; }
.about-stats-row > div:nth-child(3) { transition-delay: .12s; }
.about-stats-row > div:nth-child(4) { transition-delay: .18s; }
.about-pillar-grid article:nth-child(2) { transition-delay: .08s; }
.about-pillar-grid article:nth-child(3) { transition-delay: .16s; }
.about-place:nth-child(2) { transition-delay: .06s; }
.about-place:nth-child(3) { transition-delay: .12s; }
.about-place:nth-child(4) { transition-delay: .18s; }
.about-hero h1 {
    color: #fff;
    margin: 0 0 12px;
    max-width: 16ch;
}
.about-hero .eyebrow { color: #ffd0d6; }
.about-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.05rem;
    max-width: 34rem;
}
.about-stats {
    background: #fff;
    border-bottom: 1px solid #e8ebf0;
}
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.about-stats-row > div {
    padding: 28px 22px;
    border-right: 1px solid #e8ebf0;
}
.about-stats-row > div:last-child { border-right: 0; }
.about-stats-row strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--blue);
    line-height: 1.1;
    margin-bottom: 6px;
}
.about-stats-row span {
    display: block;
    color: #667085;
    font-size: .92rem;
    max-width: 16ch;
}
.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px;
    align-items: center;
}
.about-story-photo {
    min-height: 360px;
    background: #1c2a3a url('../facade.svg') center / cover no-repeat;
    border: 1px solid #e4e4e7;
}
.about-story-copy h2 {
    margin: 0 0 14px;
    max-width: 16ch;
}
.about-story-copy p { color: #555; }
.about-story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}
.about-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.about-pillar-grid article {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-top: 3px solid var(--blue);
    padding: 22px 20px;
}
.about-pillar-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgba(1, 34, 105, .08);
    color: var(--blue);
}
.about-pillar-icon svg { width: 20px; height: 20px; }
.about-pillar-grid h3 { margin: 0 0 8px; font-size: 1.08rem; }
.about-pillar-grid p { margin: 0; color: #555; }
.about-place-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.about-place {
    background: #fff;
    border: 1px solid #e4e4e7;
    overflow: hidden;
}
.about-place-photo {
    aspect-ratio: 4 / 3;
    background: #1c2a3a url('../facade.svg') center / cover no-repeat;
}
.about-place-photo.has-image { background-size: cover; background-position: center; }
.about-place-body {
    padding: 14px 14px 16px;
    display: grid;
    gap: 4px;
}
.about-place-body .tier {
    display: inline-flex;
    width: fit-content;
    padding: 3px 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
}
.about-place-body .tier.premium { background: var(--red); }
.about-place-body strong { color: #101820; }
.about-place-body span { color: #667085; font-size: .9rem; }
.about-close { padding-top: 8px; }

.prose { max-width: 740px; }
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin: 1.5rem 0 .45rem; }
.legal h3 { font-size: 1.05rem; font-family: var(--sans); margin: 1rem 0 .3rem; }
.legal ol, .legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin: .35rem 0; }
.legal .updated { color: var(--muted); }
.legal-jump { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 1.2rem; }
.site-footer { background: #0a0a0a; color: #d5d5d5; margin-top: 0; padding: 28px 0 16px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid #c80f2e; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
.site-footer a { color: #f5f5f5; text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: .88rem; color: #a3a3a3; flex-wrap: wrap; }
.footer-base a { color: #d5d5d5; }
.footer-base span { min-width: 0; overflow-wrap: anywhere; }
.auth-body { min-height: 100vh; display: grid; place-items: center; background: #f4f5f7; }
.auth-body.auth-login-split {
    display: block;
    place-items: unset;
    background: #fff;
    min-height: 100vh;
}
.auth-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
}
.auth-login-panel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #fff;
    border-right: 1px solid #1a1a1a;
}
.auth-login-panel-inner {
    width: min(420px, 100%);
    padding: clamp(28px, 5vh, 56px) clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}
.auth-login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.auth-login-brand img { height: 52px; width: auto; display: block; }
.auth-login-copy { margin-bottom: 18px; }
.auth-login-copy h1 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: clamp(2rem, 3.4vw, 2.6rem);
}
.auth-login-welcome {
    margin: 0 0 10px;
    color: #667085;
    font-size: 1.02rem;
}
.auth-login-hint {
    margin: 0;
    color: #667085;
    font-size: .92rem;
}
.auth-login-split .auth-input-plain input {
    background: #ebf3ff;
    border-color: #d7e4f7;
    border-radius: 4px;
    padding: .85rem 2.6rem .85rem .9rem;
}
.auth-login-split .auth-input-plain input:focus {
    outline: 2px solid rgba(1, 34, 105, .16);
    border-color: var(--blue);
}
.auth-login-split .auth-submit {
    border-radius: 4px;
    margin-top: 8px;
}
.auth-login-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: flex-start;
    margin: 18px 0 0;
    color: #98a2b3;
}
.auth-login-links a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    font-size: .95rem;
}
.auth-login-links a:hover { color: var(--red); }
.auth-login-credit {
    margin-top: auto;
    padding-top: 28px;
    color: #98a2b3;
    font-size: .82rem;
}
.auth-login-media {
    position: relative;
    overflow: hidden;
    background: #101820;
    min-height: 100vh;
}
.auth-login-slide {
    position: absolute;
    inset: 0;
    background: #101820 center / cover no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .9s ease, transform 6s ease;
}
.auth-login-slide.is-on {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.auth-login-slide-fallback {
    background:
        linear-gradient(145deg, rgba(1, 34, 105, .88), rgba(200, 15, 46, .55)),
        #012269;
}
.auth-login-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.auth-login-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    padding: 0;
}
.auth-login-dots button.is-on { background: #fff; }
.auth-login-split .flash {
    width: 100%;
    margin: 0 0 14px;
}
.auth-shell { width: min(480px, calc(100% - 28px)); display: flex; flex-direction: column; align-items: center; }
.auth-shell .brand { display: flex; justify-content: center; width: 100%; }
.auth-card { margin-top: 16px; width: 100%; box-sizing: border-box; }
.auth-body.auth-gate {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    place-items: unset;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0%, rgba(200, 15, 46, .08), transparent 42%),
        radial-gradient(circle at 88% 100%, rgba(1, 34, 105, .08), transparent 40%),
        #f3f5f8;
}
.auth-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px clamp(18px, 4vw, 40px);
}
.auth-top-brand img { height: 42px; width: auto; display: block; }
.auth-top-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
}
.auth-top-link:hover { color: var(--red); }
.auth-gate-shell {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 8px 18px 40px;
}
.auth-gate-card {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .1);
}
.auth-gate-form {
    padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-welcome { text-align: center; margin-bottom: 22px; }
.auth-welcome-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(200, 15, 46, .1);
    color: var(--red);
}
.auth-welcome h1 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 2.8vw, 2.1rem);
}
.auth-welcome .lede { margin: 0; color: #667085; }
.auth-login-form { gap: 14px; }
.auth-field { gap: 8px; }
.auth-field-label {
    font-size: .88rem;
    font-weight: 700;
    color: #344054;
}
.auth-input {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    left: 14px;
    color: #98a2b3;
    display: grid;
    place-items: center;
    pointer-events: none;
}
.auth-input input {
    border-radius: 12px;
    border-color: #d0d5dd;
    padding: .85rem 2.6rem .85rem 2.7rem;
    background: #fff;
}
.auth-input input:focus {
    outline: 2px solid rgba(200, 15, 46, .18);
    border-color: var(--red);
}
.auth-eye {
    position: absolute;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}
.auth-eye:hover { color: var(--blue); }
.auth-form-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -4px;
}
.auth-forgot {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
    font-size: .92rem;
}
.auth-forgot:hover { text-decoration: underline; }
.auth-submit {
    width: 100%;
    border-radius: 12px;
    padding: .9rem 1rem;
    font-size: 1rem;
    margin-top: 4px;
}
.auth-switch {
    text-align: center;
    margin: 18px 0 0;
    color: #667085;
}
.auth-switch a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }
.auth-secure {
    margin: 22px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(200, 15, 46, .07);
    color: #5b6472;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.auth-secure svg { color: var(--red); flex: none; }
.auth-gate-side {
    background:
        radial-gradient(circle at 70% 18%, rgba(255, 255, 255, .55), transparent 36%),
        linear-gradient(165deg, #f8e9ec 0%, #f3dfe4 48%, #ebe4f0 100%);
    padding: clamp(24px, 3vw, 36px) clamp(18px, 3vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.auth-gate-visual {
    position: relative;
    height: 150px;
    margin: 4px 0 6px;
}
.auth-device {
    position: absolute;
    background: #fff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .12);
}
.auth-device-desk {
    left: 8%;
    top: 18px;
    width: 68%;
    height: 96px;
    border-radius: 12px;
    padding: 10px;
    display: grid;
    gap: 8px;
}
.auth-device-desk span {
    display: block;
    height: 10px;
    border-radius: 99px;
    background: #f2f4f7;
}
.auth-device-desk span:first-child { width: 42%; background: rgba(200, 15, 46, .2); }
.auth-device-desk span:nth-child(2) { width: 78%; }
.auth-device-desk span:nth-child(3) { width: 62%; }
.auth-device-phone {
    right: 10%;
    top: 36px;
    width: 54px;
    height: 96px;
    border-radius: 10px;
    padding: 8px 6px;
    display: grid;
    gap: 6px;
    align-content: start;
}
.auth-device-phone span {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: #f2f4f7;
}
.auth-device-phone span:first-child { width: 70%; background: rgba(1, 34, 105, .2); }
.auth-gate-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.auth-gate-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
}
.auth-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: none;
    background: rgba(200, 15, 46, .1);
    color: var(--red);
}
.auth-gate-features strong {
    display: block;
    margin: 0 0 2px;
    font-size: .95rem;
    color: #1a1a1a;
}
.auth-gate-features p {
    margin: 0;
    color: #667085;
    font-size: .86rem;
    line-height: 1.4;
}
.auth-gate-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
    color: #667085;
    font-size: .82rem;
    font-weight: 700;
}
.ticket-attachment { margin: 12px 0 0; }
.ticket-attachment .btn { display: inline-flex; }

.phone-field { display: grid; gap: 8px; }
.phone-field-label { font-size: .95rem; font-weight: 700; color: #344054; }
.phone-field-row {
    display: grid;
    grid-template-columns: minmax(160px, .95fr) minmax(0, 1.35fr);
    gap: 10px;
}
.phone-dial-wrap,
.phone-national-wrap { display: grid; gap: 0; margin: 0; }
.phone-field-hint { margin: 0; }
.phone-field select,
.phone-field input {
    min-height: 46px;
}
@media (max-width: 640px) {
    .phone-field-row { grid-template-columns: 1fr; }
}

.stack, .field { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: .95rem; }
input, select, textarea { width: 100%; border: 1px solid #d5d8de; border-radius: 4px; padding: .7rem .8rem; font: inherit; background: white; color: inherit; }
input[type="checkbox"], input[type="radio"] { width: 1.35rem; height: 1.35rem; flex: none; accent-color: #012269; margin: 0; }
.check, .radio-line { display: flex; gap: 10px; align-items: flex-start; }
.check > span { min-width: 0; }
.check a { white-space: nowrap; }
.check input, .radio-line input, .office-card.pick input { width: auto; margin-top: .25rem; }
.lede, .muted, .fine { color: var(--muted); }
.demo-box, .callout { background: #f3f4f6; border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.credential { display: grid; gap: 8px; }
.credential div { display: flex; justify-content: space-between; gap: 12px; background: #f7f8fa; padding: 10px 12px; border-radius: 10px; }
.flash { width: min(1120px, calc(100% - 32px)); margin: 14px auto; padding: 12px 14px; border-radius: 12px; }
.flash.ok { background: #e5f4ec; color: var(--ok); }
.flash.error { background: #fde8e4; color: var(--danger); }
.dash-header { background: #fff; color: #1a1a1a; }
.dash-header > .header-row {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}
.dash-nav a, .dash-nav button { color: var(--blue); padding: .35rem .1rem; }
.dash-nav b { background: #c80f2e; color: white; border-radius: 99px; padding: 0 .4rem; font-size: .75rem; }
.ticket-new { color: #c80f2e; font-style: normal; font-weight: 700; }
.band { background:
    linear-gradient(100deg, rgba(1, 34, 105, .35), rgba(0, 0, 0, .2)),
    #012269; }
.band-row, .continue-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 108px; }
.who { display: flex; gap: 14px; align-items: center; }
.who p { margin: 0; color: #fff; font-size: .95rem; }
.who .welcome-kicker { opacity: 0.88; }
.who strong, .who .welcome-greeting { display: block; color: #fff; font-size: 1.15rem; letter-spacing: .02em; }
.band-photo-nudge {
    display: inline-block;
    margin-top: 6px;
    color: #ffd7dc;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.band-photo-nudge:hover { color: #fff; }
.avatar { width: 74px; height: 74px; border-radius: 50%; background: #f4f5f7; color: #012269; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; position: relative; overflow: hidden; }
.avatar img, .avatar-preview { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; }
.avatar-preview { display: grid; place-items: center; background: #012269; color: #fff; font-weight: 700; }
.profile-menu { position: relative; }
.profile-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; overflow: hidden; cursor: pointer; background: #012269; color: #fff; font: 700 13px/1 Lato, Arial, sans-serif; display: grid; place-items: center; }
.profile-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-drop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 220px; background: #fff; color: #141414; border: 1px solid #e4e4e7; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.16); padding: 8px; }
.profile-id { margin: 0; padding: 8px 10px 10px; border-bottom: 1px solid #eee; font-weight: 700; }
.profile-id small { display: block; font-weight: 400; color: #5c616a; }
.profile-drop a, .profile-drop button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; margin: 0; color: #141414; text-decoration: none; font: 700 15px/1.3 Lato, Arial, sans-serif; cursor: pointer; border-radius: 6px; }
.dash-header .profile-drop a, .dash-header .profile-drop button, .dash-header .dash-nav .profile-drop a, .dash-header .dash-nav .profile-drop button { display: block; width: 100%; color: #141414; background: none; padding: 8px 10px; font-weight: 700; }
.profile-drop a:hover, .profile-drop button:hover, .dash-header .profile-drop a:hover, .dash-header .profile-drop button:hover { background: #f4f4f5; }
.admin-body .profile-drop { background: var(--adm-surface); color: var(--adm-text); border-color: var(--adm-line); }
.admin-body .profile-drop a, .admin-body .profile-drop button, .admin-body .profile-id { color: var(--adm-text); }
.admin-body .profile-id small { color: var(--adm-muted); }
.admin-body .profile-id { border-bottom-color: var(--adm-line); }
.admin-body .profile-drop a:hover, .admin-body .profile-drop button:hover { background: var(--adm-soft); }
.avatar a { position: absolute; bottom: -6px; font-size: .72rem; background: white; color: var(--teal); text-decoration: none; border-radius: 99px; padding: 0 .4rem; }
.activity-aside {
    /* Fixed slot on the right so the heading never shifts while the preview types */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: min(420px, 52vw);
    flex: 0 0 auto;
    align-self: center;
    text-align: right;
}
.activity-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}
.activity-link:hover { color: #ffffff; opacity: 0.88; }
.activity-typo {
    margin: 0;
    width: 100%;
    height: 2.8em; /* reserved space — only this line animates, heading stays put */
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.4;
    overflow: hidden;
    text-align: right;
}
.activity-typo [data-activity-typo-text] {
    color: #ffffff;
    overflow-wrap: anywhere;
}
.activity-typo-cursor {
    display: inline-block;
    width: 0.55ch;
    margin-left: 1px;
    border-right: 2px solid #ffffff;
    color: #ffffff;
    animation: activity-cursor-blink 0.9s steps(1) infinite;
    vertical-align: -0.05em;
    height: 1em;
}
@keyframes activity-cursor-blink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.activity-full-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.activity-full-head h2 { margin: 0.15rem 0 0.35rem; }
.activity-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.activity-timeline li {
    display: grid;
    gap: 4px;
    padding: 14px 0 14px 16px;
    border-left: 2px solid var(--line);
    margin-left: 4px;
    position: relative;
}
.activity-timeline li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 1.15em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal, #012269);
}
.activity-timeline time {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 700;
}
.activity-timeline p {
    margin: 0;
    font-size: 1rem;
}
.continue-bar { background: var(--teal); }
.continue-row p { margin: 0; }
.continue-row a { color: white; }
.continue-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.continue-actions form { margin: 0; }
.continue-row .btn.ghost-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #fff;
}
.continue-row .btn.ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.continue-pending-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.continue-pending-list li {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}
.continue-pending-list strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.continue-pending-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.continue-pending-actions form { margin: 0; }
.ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255,255,255,.28) 0); flex: none; }
.ring span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); font-size: .85rem; }
.dash-main { padding: 22px 0 40px; display: grid; gap: 16px; }
.panel-icon { color: var(--copper); }
.balance { font-family: var(--serif); font-size: 2rem; }
.balance small, .filing p { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.filing, .order-block, .message { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; }
.note-list, .ticket-list, .letter-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.note-list li, .ticket-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.letter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.letter-meta { display: grid; gap: 4px; min-width: min(100%, 280px); flex: 1 1 240px; }
.letter-meta strong { font-size: 1.02rem; }
.letter-meta span { color: var(--muted); font-size: 0.92rem; }
.letter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.letter-actions form { margin: 0; }
.btn.danger-outline {
    background: transparent;
    color: var(--danger, #b42318);
    border: 1px solid currentColor;
}
.btn.danger-outline:hover { background: rgba(180, 35, 24, 0.08); }
.center-title { text-align: center; font-size: 2rem; }
.thread { display: block; }
.message { display: block; }
.message header { display: flex; justify-content: space-between; gap: 8px; }
.format-bar { display: flex; gap: 6px; }
.format-bar button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: white; font-weight: 700; }
.quick-links { display: flex; justify-content: center; gap: 18px; }
.text-btn { background: none; border: 0; color: var(--teal); cursor: pointer; font: inherit; padding: 0; }
.text-btn.danger { color: var(--danger); }
.badge { border-radius: 99px; padding: .15rem .55rem; background: #eceef2; text-transform: capitalize; }
.badge.active { background: #e5f4ec; color: var(--ok); }
.badge.unpaid, .badge.failed { background: #fde8e4; color: var(--danger); }
.badge.refunded { background: #eef0f4; color: #5c616a; }
.badge.pending_kyc, .badge.suspended { background: #fde8e4; color: var(--danger); }
.invoice-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 10px;
    font-size: 1.05rem;
}
.invoice-home-counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.invoices-table td, .invoices-table th { vertical-align: middle; }
.invoice-row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.invoice-brand-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.invoice-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}
.invoice-logo {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}
.invoice-from {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.invoice-from strong {
    font-size: 1.05rem;
    color: var(--navy, #012269);
}
.invoice-from p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    max-width: 22rem;
}
.invoice-title-block { margin: 0 0 16px; }
.invoice-title-block h2 { margin: 0 0 0.35rem; }
.invoice-detail-status { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.invoice-print-status { display: none; }
.invoice-meta, .invoice-totals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px 16px;
    margin: 0 0 18px;
}
.invoice-meta div, .invoice-totals div { margin: 0; }
.invoice-meta dt, .invoice-totals dt {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.invoice-meta dd, .invoice-totals dd { margin: 2px 0 0; font-weight: 700; }
.invoice-totals { border-top: 1px solid var(--line); padding-top: 14px; max-width: 360px; margin-left: auto; }
.invoice-totals .grand dd { font-size: 1.2rem; }
.invoice-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}
.invoice-footer strong { display: block; color: var(--ink, #111); margin-bottom: 4px; }
.invoice-footer p { margin: 0 0 2px; }
.invoice-footer-contacts { text-align: right; }
.invoice-footer a { color: var(--navy, #012269); text-decoration: none; font-weight: 700; }
.print-only { display: none !important; }
@media print {
    .dash-header,
    .dash-nav,
    .back-link,
    .no-print,
    .lc-root,
    .live-chat,
    body > footer,
    .site-footer,
    .flash,
    .invoice-detail-status,
    .callout .btn { display: none !important; }
    .print-only { display: block !important; }
    .dash-main, .panel, .invoice-detail {
        box-shadow: none !important;
        border: 0 !important;
        background: #fff !important;
    }
    .invoice-logo { height: 48px; max-width: 180px; }
    .invoice-footer { break-inside: avoid; page-break-inside: avoid; }
    a[href]::after { content: none !important; }
}
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 22px; align-items: start; }
.back-link { display: inline-block; font-weight: 700; text-decoration: none; margin: 0 0 12px; }
.checkout-lead { font-size: 1.05rem; color: #333; max-width: 40rem; }
.wizard { width: min(760px, calc(100% - 32px)); margin: 36px auto 72px; }
.wizard-wide { width: min(1120px, calc(100% - 32px)); }
.wizard-panel { max-width: 820px; width: 100%; }
.path-list { display: grid; gap: 12px; margin: 8px 0 18px; }
.path-option { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 2px solid #e3e5ea; border-radius: 4px; font-weight: 700; font-size: 1.15rem; cursor: pointer; background: #fff; }
.path-option span { display: grid; gap: 2px; min-width: 0; }
.path-option small { font-weight: 400; color: #333; font-size: 1rem; }
.path-option:has(input:checked) { border-color: #012269; background: #f4f7fc; box-shadow: inset 4px 0 0 #012269; }
.name-row { display: flex; gap: 10px; align-items: stretch; margin: 8px 0 16px; }
.name-row input { flex: 1; min-width: 0; width: auto; }
.name-row select { width: 150px; flex: none; font-weight: 700; }
.name-row .btn { flex: none; min-height: 48px; }
.name-miss, .name-hit { padding: 16px 18px; margin: 0 0 16px; border-radius: 4px; }
.name-miss { background: #fdecee; border-left: 4px solid #c80f2e; }
.name-hit { background: #eef8f2; border-left: 4px solid #0d6b45; }
.name-miss p, .name-hit p { margin: 8px 0 0; }
.match-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.match-list li { display: grid; gap: 2px; }
.match-list strong { font-size: 1.15rem; }
.name-lock { border-left: 4px solid #012269; margin: 0 0 16px; padding: 10px 14px; font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; }
.office-card.chosen { margin: 0 0 18px; display: grid; gap: 4px; }
@media (max-width: 700px) {
    .name-row { flex-direction: column; }
    .name-row select, .name-row .btn { width: 100%; }
}
.checkout-next { min-height: 52px; padding: 16px 28px; font-size: 1.05rem; margin-top: 8px; }
.summary { position: sticky; top: 90px; }
.summary-title { margin: 0 0 12px; font-size: 1.25rem; font-weight: 700; }
.summary-office { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.summary-office em, .summary-office span { display: block; font-style: normal; }
.summary-office em { color: var(--red); font-weight: 700; }
.summary-lines { list-style: none; padding: 0; margin: 0; }
.summary-lines li, .totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.summary-lines li span { min-width: 0; }
.totals { margin: 8px 0 0; }
.totals .grand { font-size: 1.25rem; font-weight: 700; border-top: 2px solid #1a1a1a; padding-top: 12px; }
.is-hidden { display: none; }
.choice { display: grid; grid-template-columns: auto 88px 1fr; gap: 14px; align-items: start; margin: 0 0 12px; padding: 16px 18px; border: 2px solid #e3e5ea; border-radius: 4px; background: #fff; cursor: pointer; }
.choice:has(> input:checked),
.choice:has(> .choice-main > input:checked) { border-color: #012269; background: #f4f7fc; box-shadow: inset 4px 0 0 #012269; }
.choice.is-off { opacity: .55; cursor: not-allowed; background: #f6f6f6; }
.choice-main { display: contents; }
.choice-media { width: 88px; height: 72px; border-radius: 4px; background: #1f2937 url('../facade.svg') center / cover no-repeat; flex: none; }
.choice-media.has-image { background-size: cover; background-position: center; }
.choice-media.cat-address { background-color: #012269; }
.choice-media.cat-extra { background-color: #7a1f2b; }
.choice-media.cat-accountancy { background-color: #0f4c5c; }
.choice-media.cat-formation { background-color: #3d4d68; }
.choice-body { display: grid; gap: 6px; min-width: 0; }
.choice-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.choice-top strong { font-size: 1.08rem; line-height: 1.3; min-width: 0; }
.choice-top em { font-style: normal; font-weight: 700; white-space: nowrap; font-size: 1.05rem; }
.choice-desc, .choice-note, .off-note { display: block; color: #333; }
.choice-note { color: #444; }
.handling { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; background: #f7f7f8; border-radius: 4px; padding: 14px; }
.handling label, .choice > .check { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.choice > .check { grid-column: 1 / -1; font-weight: 400; }
label.office-card.pick { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; cursor: pointer; }
label.office-card.pick input { grid-row: 2 / span 4; align-self: center; }
label.office-card.pick .office-card-photo { grid-column: 1 / -1; }
label.office-card.pick .tier,
label.office-card.pick strong,
label.office-card.pick span:not(.office-card-photo),
label.office-card.pick small { grid-column: 2; }
label.office-card.pick .tier { justify-self: start; }
label.office-card.pick:has(input:checked) { border-color: #012269; background: #f4f7fc; box-shadow: inset 4px 0 0 #012269; }
.country-pick { display: none; }
.country-pick.is-open { display: grid; }
.help { margin: 14px 0 28px; }
.narrow { max-width: 760px; }
.pay-box { display: grid; gap: 12px; }
.secure { background: #e7eef8; border-radius: 12px; padding: 12px; }
.pay-methods {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}
.pay-methods legend {
    padding: 0;
    margin: 0 0 8px;
    font-weight: 700;
}
.pay-method {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d5d8de;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.pay-method.is-restricted {
    opacity: .92;
}
.pay-method.is-restricted small { color: var(--red); }
.dd-dialog {
    border: 0;
    padding: 0;
    width: min(440px, calc(100vw - 24px));
    border: 1px solid #dbe2ec;
    box-shadow: 0 24px 60px rgba(16, 24, 32, .18);
}
.dd-dialog::backdrop { background: rgba(10, 16, 28, .4); }
.dd-dialog-panel { margin: 0; background: #fff; }
.dd-dialog-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #e4e4e7;
}
.dd-dialog-panel header strong { color: #101820; font-size: 1.05rem; }
.dd-dialog-close {
    border: 0;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.dd-dialog-body {
    padding: 20px 18px 22px;
    display: grid;
    gap: 12px;
    text-align: center;
}
.dd-dialog-body p { margin: 0; color: #555; }
.dd-mark {
    display: inline-block;
    justify-self: center;
    margin: 4px auto 8px !important;
    padding: 8px 14px;
    border: 2px solid var(--blue);
    color: var(--blue) !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .85rem;
}
.dd-dialog-body .btn { justify-self: center; min-width: 120px; }
.pay-method:has(input:checked) {
    border-color: var(--blue);
    background: #f3f6fb;
    box-shadow: inset 0 0 0 1px var(--blue);
}
.pay-method input { margin-top: .2rem; }
.pay-method span { display: grid; gap: 2px; }
.pay-method strong { color: #1a1a1a; }
.pay-method small { color: #667085; font-weight: 400; }
.pay-panel {
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #f8f9fb;
}
.pay-panel[hidden],
.pay-panel.is-hidden {
    display: none !important;
}
.grid-2.tight { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promo { display: flex; gap: 8px; align-items: end; margin-top: 10px; }
.promo-panel { margin: 0 0 1rem; }
.promo-panel h2 { margin: 0; font-size: 1.15rem; }
.promo-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 0; }
.promo-field { flex: 1 1 220px; margin: 0; }
.promo-field input { width: 100%; text-transform: uppercase; }
.promo-applied { margin: 0; color: #1b7a4a; font-size: .95rem; }
.modal-back { position: fixed; inset: 0; background: rgba(8, 16, 24, .72); display: grid; place-items: center; z-index: 20; padding: 18px; }
.modal { width: min(520px, 100%); background: white; border-radius: 16px; padding: 28px 22px; text-align: center; }
.modal-x { float: right; color: var(--ink); text-decoration: none; font-size: 1.4rem; }
.warn-mark { width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid #e0a15a; color: #e0a15a; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; }
.table { width: 100%; border-collapse: collapse; background: white; }
.table th, .table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.option-block { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.option-row { display: flex; gap: 8px; align-items: center; margin: 0; flex-wrap: wrap; flex: 1; }
.bulk-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin: 0 0 14px;
    padding: 12px 14px;
    background: var(--adm-surface, #fff);
    border: 1px solid var(--adm-line, #e4e4e7);
    border-radius: 10px;
}
.bulk-bar select { width: auto; min-width: 180px; }
.bulk-bar .check { margin: 0; align-items: center; }
.row-actions, .ticket-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form { display: inline; margin: 0; }
.inline-form .text-btn { background: none; border: 0; padding: 0; color: var(--adm-link, #2563eb); font: inherit; cursor: pointer; text-decoration: underline; }
.kyc-approve-form,
[data-backup-restore] { display: grid; gap: 8px; min-width: min(280px, 100%); align-items: start; }
.admin-card code { font-size: .88rem; }
.kyc-approve-form.inline-form { display: grid; margin: 8px 0; }
.kyc-confirm-field { display: grid; gap: 6px; font-size: .88rem; margin: 0; }
.kyc-confirm-field.is-hidden { display: none; }
.kyc-confirm-field input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .02em;
}
.ticket-actions { margin: 0 0 18px; }
.row-actions form { margin: 0; }
.danger-form { margin: -8px 0 22px; }
.btn.danger, .admin-body .btn.danger, .admin-body .btn.tiny.danger { background: transparent; color: #c80f2e; border: 1px solid #c80f2e; }
.btn.danger:hover:not([disabled]), .admin-body .btn.danger:hover:not([disabled]), .admin-body .btn.tiny.danger:hover:not([disabled]) { background: #c80f2e; color: #fff; }
.btn.danger:not([disabled]), .admin-body .btn.danger:not([disabled]) { cursor: pointer; }
.btn.danger[disabled], .admin-body .btn.danger[disabled] { opacity: .55; cursor: not-allowed; }
.option-row input, .option-row select { width: auto; }
.logo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 8px; }
.logo-upload { display: grid; gap: 10px; align-content: start; }
.logo-upload img { height: 56px; width: auto; max-width: 180px; object-fit: contain; background: transparent; border-radius: 8px; padding: 6px; }
.logo-swatch { display: grid; gap: 4px; justify-items: start; }
.logo-swatch span { font-size: 12px; color: var(--adm-muted, #71717a); }
.logo-swatch.on-light img { background: #fff; border: 1px solid #e4e4e7; }
.logo-swatch.on-dark img { background: #0a0a0a; }
@media (max-width: 860px) {
    .logo-pair { grid-template-columns: 1fr; }
}
.filters { display: flex; gap: 12px; align-items: end; margin: 12px 0 18px; flex-wrap: wrap; }
.filters input, .filters select { width: auto; min-width: 0; }
.filings-filters {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, .9fr)) minmax(160px, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 12px;
    margin: 0 0 18px;
}
.filings-filters label {
    display: grid;
    gap: 6px;
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    color: #556274;
}
.filings-filters input,
.filings-filters select { width: 100%; min-width: 0; }
.filings-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.filings-table .seq-cell {
    width: 44px;
    color: #8a96a6;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.filings-table td { vertical-align: middle; }
.filings-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
}
.filings-inline input[type="date"],
.filings-inline select {
    width: auto;
    min-width: 0;
    max-width: 170px;
}
.filings-table .badge { margin-left: 8px; }
.kyc-filters { margin-bottom: 18px; }
.kyc-table .row-actions { max-width: 280px; }
.kyc-viewer {
    padding: 0;
    overflow: hidden;
    min-height: min(70vh, 720px);
    background: #101820;
}
.kyc-viewer-image {
    display: block;
    max-width: 100%;
    max-height: min(78vh, 860px);
    margin: 0 auto;
    object-fit: contain;
}
.kyc-viewer-frame {
    width: 100%;
    min-height: min(78vh, 860px);
    border: 0;
    background: #fff;
}
html[data-admin-theme="dark"] {
    --adm-bg: #09090b;
    --adm-surface: #18181b;
    --adm-line: #27272a;
    --adm-text: #fafafa;
    --adm-muted: #a1a1aa;
    --adm-soft: #27272a;
    --adm-field: #09090b;
    --adm-link: #93c5fd;
    --adm-primary: #fafafa;
    --adm-primary-text: #18181b;
}
html[data-admin-theme="light"] {
    --adm-bg: #fafafa;
    --adm-surface: #ffffff;
    --adm-line: #e4e4e7;
    --adm-text: #18181b;
    --adm-muted: #71717a;
    --adm-soft: #f4f4f5;
    --adm-field: #ffffff;
    --adm-link: #2563eb;
    --adm-primary: #18181b;
    --adm-primary-text: #ffffff;
}
html[data-admin-theme="dark"] .theme-sun, html[data-admin-theme="light"] .theme-moon { display: none; }
.admin-body {
    margin: 0;
    background: var(--adm-bg);
    color: var(--adm-muted);
    font-family: Inter, Arial, sans-serif;
    overflow-x: clip;
}
.admin-body h1, .admin-body h2, .admin-body h3 { font-family: Inter, Arial, sans-serif; color: var(--adm-text); font-weight: 600; }
.admin-shell {
    display: flex;
    min-height: 100vh;
    gap: 16px;
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
}
.side {
    width: 240px;
    flex: none;
    background: var(--adm-surface);
    border: 1px solid var(--adm-line);
    border-radius: 12px;
    color: var(--adm-muted);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 16px;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
}
.side-brand { display: flex; align-items: center; text-decoration: none; padding: 16px 14px 8px; }
.side-brand img { height: 42px; width: auto; display: block; }
html[data-admin-theme="dark"] .logo-on-light { display: none; }
html[data-admin-theme="light"] .logo-on-dark { display: none; }
.side-nav { overflow: auto; padding: 8px 12px 16px; flex: 1; }
.side-label { margin: 16px 8px 6px; color: var(--adm-muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.side-nav a {
    display: flex; align-items: center; gap: 10px;
    color: var(--adm-muted); text-decoration: none;
    border-radius: 8px; padding: .55rem .7rem; margin: 2px 0; font-size: .92rem; font-weight: 500;
}
.side-nav a .icon { width: 18px; height: 18px; flex: none; }
.side-nav a b { margin-left: auto; background: #ef4444; color: white; border-radius: 99px; min-width: 1.3rem; text-align: center; font-size: .72rem; }
.side-nav a.is-current, .side-nav a:hover { background: var(--adm-soft); color: var(--adm-text); }
.side-foot { border-top: 1px solid var(--adm-line); padding: 14px 16px 16px; }
.side-foot p { margin: 0 0 8px; color: var(--adm-text); }
.side-foot small { display: block; color: var(--adm-muted); }
.side-foot button { background: none; border: 0; color: var(--adm-muted); padding: 0; cursor: pointer; font: inherit; }
.admin-column { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.admin-top {
    position: sticky; top: 16px; z-index: 5;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: var(--adm-surface);
    border: 1px solid var(--adm-line);
    border-radius: 12px;
}
.nav-toggle {
    display: none; width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--adm-line); background: var(--adm-surface); padding: 10px;
    flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--adm-text); border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.crumb { min-width: 0; max-width: min(42vw, 420px); }
.crumb small { display: block; color: var(--adm-muted); letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.crumb strong {
    display: block;
    font-size: .95rem;
    color: var(--adm-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-search { flex: 1; min-width: 0; }
.top-search input {
    width: min(360px, 100%);
    background: var(--adm-bg); color: var(--adm-text);
    border: 1px solid var(--adm-line); border-radius: 10px; padding: .62rem .9rem;
}
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative; color: var(--adm-muted); width: 38px; height: 38px;
    display: grid; place-items: center; border-radius: 10px; background: transparent;
    border: 0; cursor: pointer; padding: 0;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--adm-soft); color: var(--adm-text); }
.icon-btn b { position: absolute; top: 2px; right: 2px; background: #ef4444; color: white; border-radius: 99px; font-size: .65rem; padding: 0 .28rem; }
.who-chip { display: flex; align-items: center; gap: 8px; }
.who-chip span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #012269; color: #fff; font-size: .75rem; }
.who-chip em { font-style: normal; font-size: .86rem; color: var(--adm-text); }
.who-chip small { display: block; color: var(--adm-muted); }
.admin-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-content: start;
    min-width: 0;
}
.admin-body .admin-main > * { min-width: 0; max-width: 100%; }
.admin-body .admin-main > h1 { margin: 0; font-size: 1.45rem; }
.admin-body a { color: var(--adm-link); }
.ea-hello, .admin-card header, .metric { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.ea-hello { align-items: end; }
.ea-hello h1 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 0 0 4px; overflow-wrap: anywhere; }
.ea-hello p, .metric small, .activity small, .cell-sub, .ea-stat p, .ea-hero small { color: var(--adm-muted); margin: 0; overflow-wrap: anywhere; }
.ea-hello-actions, .admin-card header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Customer page: main data + account rail — collapses before content is crushed */
.ea-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 16px;
    align-items: start;
}
.ea-stack, .ea-pair { display: grid; gap: 16px; min-width: 0; }
.ea-pair { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Stat cards wrap instead of squeezing into unreadable 6-across strips */
.cust-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 12px;
}
.cust-metrics .ea-stat strong.cust-date { font-size: 1rem; line-height: 1.3; }
.cust-metrics .cust-warn { border-color: #c80f2e; }
.cust-alert { border-color: #c80f2e; }
.cust-facts { display: grid; gap: 10px; margin: 0; }
.cust-facts div { display: grid; gap: 2px; }
.cust-facts dt { color: var(--adm-muted); font-size: .78rem; }
.cust-facts dd { margin: 0; color: var(--adm-text); font-weight: 650; overflow-wrap: anywhere; }
.metric, .admin-card, .admin-body .panel {
    background: var(--adm-surface);
    border: 1px solid var(--adm-line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: none;
    color: var(--adm-muted);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.ea-hero-top, .ea-stat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ea-hero p { margin: 0; font-size: .88rem; }
.ea-hero h2 { margin: 6px 0 4px; font-size: 1.85rem; letter-spacing: -.02em; }
.ea-chip, .ea-dot {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none;
    background: var(--adm-soft); color: var(--adm-text);
}
.ea-dot .icon { width: 16px; height: 16px; }
.ea-dot.green { background: #dcfce7; color: #15803d; }
.ea-dot.blue { background: #dbeafe; color: #1d4ed8; }
html[data-admin-theme="dark"] .ea-dot.green { background: #14532d; color: #86efac; }
html[data-admin-theme="dark"] .ea-dot.blue { background: #1e3a8a; color: #93c5fd; }
.ea-stat strong { display: block; margin: 14px 0 2px; font-size: clamp(1.15rem, 2.2vw, 1.7rem); color: var(--adm-text); overflow-wrap: anywhere; }
.ea-stat p { font-size: .9rem; }
.admin-card header { margin-bottom: 10px; }
.admin-card h2 { margin: 0; font-size: 1rem; }
.pulse { width: 100%; height: auto; display: block; margin-top: 8px; }
.pulse text { fill: var(--adm-muted); font-size: 12px; font-family: Inter, Arial, sans-serif; }
.activity strong { overflow-wrap: anywhere; color: var(--adm-text); }
.activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.activity li { display: flex; gap: 10px; align-items: flex-start; }
.activity li .ea-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.activity strong, .cell-sub { display: block; }
.ea-queue { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--adm-line); display: grid; gap: 8px; }
.ea-queue p { display: flex; justify-content: space-between; margin: 0; }
.ea-queue strong { color: var(--adm-text); }
.table-scroll { overflow-x: auto; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; }
.admin-body .admin-main > .table-scroll { background: var(--adm-surface); border: 1px solid var(--adm-line); border-radius: 12px; padding: 6px 12px 10px; }
.admin-body .admin-card .table-scroll {
    margin: 0 -4px;
    padding: 0 4px;
}
.admin-body .table {
    background: transparent;
    color: var(--adm-text);
    min-width: 0;
    width: 100%;
    border-collapse: collapse;
}
.admin-body .table th { color: var(--adm-muted); font-weight: 500; font-size: .8rem; }
.admin-body .table th, .admin-body .table td {
    border-bottom-color: var(--adm-line);
    vertical-align: top;
    padding: 10px 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* Wide multi-column tables scroll inside the card instead of crushing the page */
.admin-body .admin-card .table-scroll .table {
    min-width: min(100%, 720px);
}
.admin-body .admin-card .table-scroll .table.table-wide {
    min-width: 720px;
}
.admin-body .badge.active, .admin-body .badge.filed { background: #dcfce7; color: #166534; }
.admin-body .badge.due { background: #fef3c7; color: #92400e; }
.admin-body .badge.overdue { background: #fee2e2; color: #991b1b; }
.admin-body .badge.unknown { background: var(--adm-soft); color: var(--adm-muted); }
.admin-body .badge.pending_kyc, .admin-body .badge.suspended { background: #fee2e2; color: #991b1b; }
html[data-admin-theme="dark"] .admin-body .badge.active, html[data-admin-theme="dark"] .admin-body .badge.filed { background: #14532d; color: #86efac; }
html[data-admin-theme="dark"] .admin-body .badge.due { background: #78350f; color: #fde68a; }
html[data-admin-theme="dark"] .admin-body .badge.overdue { background: #7f1d1d; color: #fecaca; }
html[data-admin-theme="dark"] .admin-body .badge.pending_kyc, html[data-admin-theme="dark"] .admin-body .badge.suspended { background: #7f1d1d; color: #fecaca; }
.admin-body label { color: var(--adm-text); }
.admin-body input, .admin-body select, .admin-body textarea {
    background: var(--adm-field); color: var(--adm-text); border-color: var(--adm-line);
}
.admin-body .btn.primary, .admin-body .btn.tiny { background: var(--adm-primary); color: var(--adm-primary-text); border-color: var(--adm-primary); }
.admin-body .btn.ghost { background: transparent; color: var(--adm-text); border-color: var(--adm-line); }
.admin-body .text-btn { color: var(--adm-link); }
.admin-body .callout, .admin-body .flash.ok { background: #dcfce7; color: #14532d; }
.admin-body .flash.error { background: #fee2e2; color: #7f1d1d; }
html[data-admin-theme="dark"] .admin-body .callout, html[data-admin-theme="dark"] .admin-body .flash.ok { background: #14532d; color: #dcfce7; }
html[data-admin-theme="dark"] .admin-body .flash.error { background: #7f1d1d; color: #fecaca; }
.admin-body .muted { color: var(--adm-muted); }
.cron-guide .cron-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 16px;
}
.cron-guide .cron-actions form { margin: 0; }
.cron-step { margin-bottom: 14px; }
.cron-olist { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; line-height: 1.45; }
.cron-copy-label {
    display: block;
    margin: 14px 0 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--adm-text);
}
.cron-copy-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.cron-copy-row code {
    flex: 1;
    min-width: min(100%, 280px);
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--adm-bg);
    border: 1px solid var(--adm-line);
    color: var(--adm-text);
    font-size: .82rem;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(9, 9, 11, .55); z-index: 20; }
body.admin-nav-open .nav-backdrop { display: block; }

/* Large laptops: keep data readable — stack account rail before it squeezes tables */
@media (max-width: 1400px) {
    .ea-board { grid-template-columns: 1fr; }
    .ea-board > aside.ea-stack {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
    }
}
@media (max-width: 1100px) {
    .ea-board, .step-grid { grid-template-columns: 1fr; }
    .svc-promo-grid, .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-why-layout { gap: 32px; }
    .nx-path-track { grid-template-columns: 1fr; }
    .auth-login-shell { grid-template-columns: minmax(300px, 46%) minmax(0, 54%); }
    .admin-shell { gap: 12px; padding: 12px; }
    .side { width: 220px; }
    .admin-body .admin-card .table-scroll .table { min-width: 560px; }
}
/* Tablet / zoomed desktop: drawer nav so the main pane gets full width */
@media (max-width: 1200px) {
    .nav-toggle { display: flex; }
    .admin-shell { padding: 10px; }
    .side {
        position: fixed; z-index: 30; left: 10px; top: 10px;
        width: min(260px, 86vw);
        transform: translateX(calc(-100% - 20px));
        transition: transform .2s ease;
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
    }
    body.admin-nav-open .side { transform: none; }
    .admin-column { width: 100%; }
    .crumb { max-width: min(50vw, 280px); }
}
@media (max-width: 860px) {
    .filters { display: grid; grid-template-columns: minmax(0, 1fr); }
    .filings-filters { grid-template-columns: 1fr; }
    .ea-hello-actions .btn { width: 100%; text-align: center; }
    .who-chip em, .crumb small { display: none; }
    .admin-top { padding: 8px 10px; gap: 8px; top: 10px; flex-wrap: wrap; }
    .ea-hello, .ea-hello-actions { align-items: stretch; flex-direction: column; }
    .ea-pair { grid-template-columns: 1fr; }
    .cust-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .top-search { display: none; }
    .option-row input, .option-row select, .filters input, .filters select { width: 100%; }
    .admin-body .grid-2, .admin-body .grid-2.tight { grid-template-columns: 1fr; }
    .admin-body .admin-card .table-scroll .table { min-width: 480px; }
}
@media (max-width: 900px) {
    .grid-3, .grid-2, .checkout-grid, .footer-grid, .handling, .grid-2.tight, .step-grid, .place-grid, .split,
    .services-block-head, .svc-promo-grid, .banner-grid, .home-service-grid, .nx-why-layout,
    .nx-path-track, .home-flow-grid, .nx-partners-head, .nx-idv-points,
    .about-story-grid, .about-pillar-grid, .about-place-grid, .about-stats-row { grid-template-columns: 1fr; }
    .about-stats-row > div { border-right: 0; border-bottom: 1px solid #e8ebf0; }
    .about-stats-row > div:last-child { border-bottom: 0; }
    .about-place-grid { grid-template-columns: 1fr 1fr; }
    .nx-idv h2 { max-width: none; }
    .nx-partners-track { grid-auto-columns: minmax(132px, 70%); }
    .svc-promo-grid, .home-service-grid { grid-template-columns: 1fr; }
    .brand img { height: 40px; max-width: min(180px, 48vw); }
    .menu-toggle { display: flex; }
    .site-header .header-row,
    .dash-header > .header-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        padding: 8px 0;
        min-height: 64px;
    }
    .site-header .nav,
    .dash-header .dash-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 45;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 78px 18px 24px;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        background: #fff;
        border-left: 1px solid #e6e6e6;
        box-shadow: -16px 0 40px rgba(10, 16, 28, .12);
        transform: translateX(105%);
        transition: transform .22s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.site-nav-open .site-header .nav,
    body.dash-nav-open .dash-header .dash-nav {
        transform: none;
    }
    body.site-nav-open,
    body.dash-nav-open {
        overflow: hidden;
    }
    .site-header .nav a,
    .dash-header .dash-nav a,
    .dash-header .dash-nav button {
        width: 100%;
        min-height: 44px;
        padding: 12px 10px;
        justify-content: flex-start;
        font-size: 1rem;
    }
    .site-header .nav a.nav-cta,
    .site-header .nav a.nav-outline {
        justify-content: center;
        margin-top: 6px;
    }
    .dash-header .dash-nav .profile-menu {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eef0f4;
    }
    .dash-header .dash-nav .profile-btn {
        width: 100%;
        height: auto;
        border-radius: 8px;
        justify-content: flex-start;
        gap: 10px;
        padding: 8px 10px;
        background: #f4f7fc;
        color: #012269;
    }
    .header-row, .band-row, .continue-row { align-items: flex-start; flex-direction: column; padding: 12px 0; }
    .band-row, .continue-row { gap: 14px; }
    .activity-aside {
        align-items: flex-start;
        text-align: left;
        width: 100%;
        align-self: stretch;
    }
    .activity-typo { text-align: left; }
    .continue-row .btn { width: 100%; }
    .hero { min-height: 420px; background-position: center; }
    .nx-hero { grid-template-columns: 1fr; min-height: 0; }
    .nx-hero-panel { border-right: 0; border-bottom: 1px solid #dde3ec; padding: 40px 20px; }
    .nx-hero h1 { max-width: none; font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .nx-hero-stage { min-height: min(52vw, 360px); }
    .nx-slide-caption {
        left: 12px;
        right: 12px;
        bottom: 48px;
        padding: 12px 14px;
    }
    .nx-slide-caption strong { font-size: 1.15rem; }
    .nx-hero-meta { gap: 18px; flex-wrap: wrap; }
    .nx-section-bar, .nx-close-box { flex-direction: column; align-items: flex-start; }
    .nx-close-box { padding: 24px 18px; }
    .section { padding: 48px 0; }
    .text-link, .check a { white-space: normal; }
    .auth-gate-card { grid-template-columns: 1fr; }
    .auth-gate-side { order: -1; }
    .auth-gate-visual { display: none; }
    .auth-gate-features li:nth-child(n + 3) { display: none; }
    .auth-login-shell { grid-template-columns: 1fr; min-height: 100vh; }
    .auth-login-media { min-height: 36vh; max-height: 42vh; order: -1; }
    .auth-login-panel { border-right: 0; border-top: 1px solid #e4e4e7; }
    .auth-login-panel-inner { min-height: 0; padding: 24px 18px 36px; width: min(420px, 100%); }
    .auth-top { padding-left: 16px; padding-right: 16px; }
    .hero-pin { display: none; }
    .close-row, .footer-top, .footer-base, .section-head { flex-direction: column; align-items: flex-start; }
    .footer-links { justify-content: flex-start; gap: 12px 18px; }
    .summary { position: static; }
    .checkout-next, .btn.primary { max-width: 100%; }
    .checkout-next { width: 100%; }
    .path-option { font-size: 1.05rem; padding: 14px 14px; }
    .choice-top { flex-wrap: wrap; }
    .choice-top em { white-space: normal; }
    .office-card.pick.has-media { grid-template-columns: 1fr; }
    .table-scroll, .dash-main .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
    .dash-main .table { min-width: 560px; }
    .quick-links { flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
    .filing, .order-block, .message header { flex-wrap: wrap; }
    .place-foot { flex-wrap: wrap; }
    .place-buy { white-space: normal; width: 100%; text-align: center; }
    .place-foot strong { font-size: clamp(1.35rem, 6vw, 1.85rem); }
    .services-block { padding: 36px 0; }
    .services-block-banner { min-height: 160px; }
    .svc-promo-foot { flex-wrap: wrap; }
    .svc-promo-foot .btn { width: 100%; }
    .auth-gate-shell { padding: 16px; }
    .auth-gate-form, .auth-gate-side { padding-left: 18px; padding-right: 18px; }
    .credential div { flex-wrap: wrap; }
}
@media (max-width: 700px) {
    .wrap { width: min(1120px, calc(100% - 24px)); }
    .wizard, .wizard-wide { width: min(760px, calc(100% - 24px)); margin: 24px auto 48px; }
    .about-place-grid { grid-template-columns: 1fr; }
    .nx-hero-stage { min-height: 280px; }
    .nx-hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .nx-hero-meta dt { font-size: 1.2rem; }
    .nx-hero-meta dd { font-size: .8rem; }
    .nx-partners-track { grid-auto-columns: minmax(140px, 78%); }
    .home-service-foot { flex-wrap: wrap; }
    .home-service-foot .btn { width: 100%; }
    .auth-login-media { min-height: 28vh; max-height: 34vh; }
    .auth-login-brand img { height: 44px; }
    .ea-pair { grid-template-columns: 1fr; }
    .cust-metrics { grid-template-columns: 1fr; }
    .ea-board > aside.ea-stack { grid-template-columns: 1fr; }
    .band .who { align-items: flex-start; }
    .continue-row { text-align: left; }
    .flash { width: min(1120px, calc(100% - 24px)); }
}
@media (max-width: 480px) {
    .wrap, .wizard, .wizard-wide, .flash { width: calc(100% - 20px); }
    .brand img { height: 34px; max-width: min(150px, 46vw); }
    .menu-toggle { width: 38px; height: 38px; padding: 8px; }
    .lc-root { right: 12px; bottom: 12px; }
    .lc-fab-label { display: none; }
    .lc-fab { padding: 14px; border-radius: 50%; }
    .lc-panel {
        width: min(100vw - 16px, 380px);
        height: min(72vh, 560px);
        right: -4px;
    }
    .lc-inbox { grid-template-columns: 1fr; min-height: 0; }
    .lc-inbox-hint { display: none; }
    .lc-inbox-list { border-right: 0; max-height: 70vh; }
    .lc-admin-top { flex-direction: column; }
    .site-header .nav,
    .dash-header .dash-nav { width: min(100vw - 48px, 300px); padding-top: 70px; }
    .nx-hero-panel { padding: 28px 16px; }
    .nx-hero-actions .btn { width: 100%; }
    .nx-slide-caption { bottom: 40px; left: 10px; right: 10px; }
    .nx-close-box { padding: 20px 14px; }
    .section { padding: 36px 0; }
    .btn, .nav-cta { padding: 12px 16px; }
    .path-option { font-size: 1rem; }
    .footer-links { gap: 10px 14px; }
    .footer-links a { font-size: .95rem; }
}
@media (min-width: 1400px) {
    .wrap { width: min(1200px, calc(100% - 48px)); }
    .nx-hero { min-height: min(82vh, 760px); }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .nav,
    .dash-header .dash-nav,
    .menu-toggle span:not(.sr) {
        transition: none;
    }
}

/* Dashboard services cards */
.svc-dash { display: grid; gap: 18px; }
.svc-dash-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.svc-dash-head h2 { margin: 0 0 4px; font-size: 1.55rem; }
.svc-dash-head .muted { margin: 0; }
.svc-dash-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.add-service-promo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.add-service-hub .add-service-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.add-service-hub h2 { margin: 0.15rem 0 0.4rem; }
.add-service-credit {
    margin: 0;
    text-align: right;
    font-size: 0.9rem;
    color: var(--muted);
}
.add-service-credit strong {
    display: block;
    color: var(--ink, #141414);
    font-size: 1.35rem;
    margin-top: 2px;
}
.add-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.add-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fafbfc;
    text-align: left;
}
.add-service-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.add-service-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.add-service-card .btn { align-self: flex-start; }
.add-service-foot { margin-top: 18px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; justify-content: center; }
@media (max-width: 720px) {
    .add-service-grid { grid-template-columns: 1fr; }
    .add-service-credit { text-align: left; }
}
.svc-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.svc-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px 8px 0 0; text-decoration: none; color: #555; font-weight: 700; border: 1px solid transparent; border-bottom: 0; }
.svc-tab span { min-width: 1.4rem; height: 1.4rem; border-radius: 99px; background: #eceef2; display: grid; place-items: center; font-size: .78rem; }
.svc-tab.is-active { color: #012269; background: #f4f7fc; border-color: var(--line); }
.svc-tab.is-active span { background: #012269; color: #fff; }
.svc-companies { border: 1px solid #d9e4f5; background: #f5f8fd; border-radius: 10px; padding: 12px 14px; }
.svc-companies .eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; color: #5b6b85; font-weight: 700; }
.svc-companies ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-companies li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.svc-companies span, .svc-companies em { color: #5b6b85; font-style: normal; font-size: .92rem; }
.svc-empty { margin: 8px 0; }
.svc-card-list { display: grid; gap: 14px; }
.svc-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, .7fr) auto;
    gap: 18px;
    align-items: start;
    padding: 18px;
    border: 1px solid #e3e5ea;
    border-radius: 12px;
    background: #fff;
}
.svc-card-main { display: flex; gap: 14px; min-width: 0; }
.svc-card-icon {
    width: 48px; height: 48px; border-radius: 50%; flex: none;
    display: grid; place-items: center; background: #e8eef8; color: #012269;
}
.svc-icon-accounts { background: #eef6f1; color: #0d6b45; }
.svc-icon-doc { background: #eef2ff; color: #3146a3; }
.svc-card-copy { min-width: 0; display: grid; gap: 8px; }
.svc-card-title { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.svc-card-title h3 { margin: 0; font-size: 1.08rem; }
.svc-card-copy > p { margin: 0; color: #555; font-size: .95rem; }
.svc-address-box, .svc-company-box {
    border-radius: 8px; padding: 10px 12px; font-size: .92rem; line-height: 1.35;
}
.svc-address-box { background: #eef4fb; color: #16325c; border: 1px solid #d5e3f5; }
.svc-company-box { background: #f7faf7; border: 1px solid #d7eadc; display: grid; gap: 2px; }
.svc-company-box.is-empty { background: #fafafa; border-color: #e5e5e5; color: #666; }
.svc-company-box .eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; color: #5b6b85; font-weight: 700; }
.svc-company-box strong { font-size: .98rem; }
.svc-company-box span { color: #5b6b85; }
.svc-card-meta { display: grid; gap: 14px; }
.svc-renew, .svc-fee { display: flex; gap: 10px; align-items: flex-start; }
.svc-renew svg { color: #5b6b85; margin-top: 2px; flex: none; }
.svc-renew .eyebrow, .svc-fee .eyebrow { display: block; margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; font-weight: 700; }
.svc-renew strong, .svc-fee strong { display: block; font-size: .98rem; }
.svc-renew em { display: block; font-style: normal; color: #6b7280; font-size: .88rem; }
.svc-fee { flex-direction: column; gap: 4px; }
.svc-card-actions { display: grid; gap: 8px; justify-items: stretch; min-width: 148px; }
.svc-renew-btn, .svc-details-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.svc-details { width: 100%; }
.svc-details > summary { list-style: none; cursor: pointer; }
.svc-details > summary::-webkit-details-marker { display: none; }
.svc-details-panel { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; display: grid; gap: 10px; }
.svc-details-panel p { margin: 0; font-size: .92rem; }
.svc-link-form label { font-size: .9rem; }
.svc-add-wrap { margin-top: 4px; }
.svc-add-btn { width: 100%; min-height: 48px; }
.svc-import-form { max-width: 640px; }
.summary-company { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.summary-company .eyebrow { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; font-weight: 700; }
.company-mode-panel { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #e3e5ea; border-radius: 8px; background: #fafbfd; }
.company-mode-panel[hidden] { display: none !important; }
.credit-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.credit-preset { cursor: pointer; }
.credit-preset input { position: absolute; opacity: 0; pointer-events: none; }
.credit-preset span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 88px; padding: 10px 14px; border: 2px solid #e3e5ea; border-radius: 8px;
    font-weight: 700; background: #fff;
}
.credit-preset input:checked + span { border-color: #012269; background: #f4f7fc; color: #012269; }
.credit-topup-form { max-width: 480px; }
.credit-checkout { padding: 14px 16px; margin: 0 0 16px; }
.credit-checkout p { margin: 0; }
.credit-checkout form { margin: 4px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.table .is-spend { color: var(--danger); }
@media (max-width: 960px) {
    .svc-card { grid-template-columns: 1fr; }
    .svc-card-actions { min-width: 0; grid-template-columns: 1fr 1fr; }
    .svc-details { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .svc-card-actions { grid-template-columns: 1fr; }
    .svc-tabs { gap: 4px; }
    .svc-tab { padding: 8px 10px; font-size: .92rem; }
}
