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

:root {
    --bg: #07111f;
    --bg-soft: #0c1729;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-soft: rgba(255, 255, 255, 0.62);
    --panel-dark: #07111f;
    --panel-dark-soft: #0e1c31;
    --text: #e8eef8;
    --muted: #8ea0ba;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(152, 182, 255, 0.26);
    --blue: #67a3ff;
    --blue-strong: #366eff;
    --blue-soft: rgba(103, 163, 255, 0.12);
    --danger: #be3c2e;
    --danger-soft: #fff1ef;
    --success: #1f7a52;
    --success-soft: #ebf8f1;
    --warning: #8d6521;
    --warning-soft: #fff7e6;
    --shadow-sm: 0 14px 32px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.28);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    overflow-x: hidden;
    font: 500 14px/1.58 "Inter", "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(103, 163, 255, 0.24), transparent 18%),
        radial-gradient(circle at 88% 12%, rgba(96, 72, 255, 0.18), transparent 22%),
        radial-gradient(circle at 50% 120%, rgba(0, 214, 201, 0.14), transparent 34%),
        linear-gradient(180deg, #050c18 0%, #08111f 40%, #0a1424 100%);
}


body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 38vw;
    height: 38vw;
    border-radius: 999px;
    filter: blur(58px);
    opacity: 0.38;
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 16s ease-in-out infinite;
}

body::before {
    top: -10vw;
    left: -8vw;
    background: rgba(103, 163, 255, 0.18);
}

body::after {
    right: -10vw;
    bottom: -14vw;
    background: rgba(87, 115, 255, 0.18);
    animation-delay: -8s;
}

@keyframes floatGlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, 18px, 0) scale(1.08); }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 17, 31, 0.62);
    backdrop-filter: blur(20px);
}

.topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(79, 141, 247, 0.28);
    background: linear-gradient(145deg, #101720 0%, #172334 60%, #21477f 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(33, 71, 127, 0.24);
    font: 700 1.05rem/1 "Fraunces", serif;
}

.brand-copy strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 800;
}

.brand-copy small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a,
.nav-button {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: #dbe7fb;
    font-size: 0.86rem;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover,
.nav-button:hover {
    background: rgba(103, 163, 255, 0.12);
    color: #ffffff;
}

.page-shell {
    flex: 1;
    padding: 18px 0 42px;
}

.flash,
.notice-banner {
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    box-shadow: var(--shadow-sm);
}

.flash-ok { background: var(--success-soft); border-color: #c8ead9; }
.flash-error { background: var(--danger-soft); border-color: #f2cbc4; }
.notice-banner { background: var(--blue-soft); border-color: #cddfff; color: #1f4d97; }

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.hero,
.compact-hero,
.grid-two,
.stats-grid,
.feature-grid,
.plan-grid,
.showcase-grid,
.showcase-admin-grid,
.grid-form,
.landing-row,
.landing-layout,
.landing-stage-grid,
.compact-list {
    display: grid;
    gap: 14px;
}

.hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: stretch;
    margin-bottom: 18px;
}

.compact-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    align-items: start;
}

.hero-copy,
.hero-aside,
.form-card,
.section-block,
.note-card,
.stat-card,
.feature-card,
.showcase-card {
    padding: 18px;
}

.hero-copy {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(198, 214, 232, 0.88);
    background:
        radial-gradient(circle at top left, rgba(103, 163, 255, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
    box-shadow: var(--shadow-md);
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -42px -62px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(79, 141, 247, 0.14), transparent 68%);
    pointer-events: none;
}

.hero-aside {
    display: grid;
    gap: 12px;
    color: #f5f7fb;
    background: linear-gradient(180deg, rgba(6, 14, 27, 0.98) 0%, rgba(11, 24, 43, 0.98) 100%);
    border-color: rgba(79, 141, 247, 0.16);
    box-shadow: var(--shadow-md);
}

.aside-item {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(142, 176, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.aside-item span,
.stat-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-aside .aside-item span { color: rgba(225, 233, 246, 0.68); }
.hero-aside strong { font-size: 0.96rem; font-weight: 700; }

.hero-copy h1,
.page-head h1 {
    margin: 0 0 10px;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-copy p,
.section-title p,
.page-head p,
.plan-card p,
.showcase-body p,
.feature-card p,
.note-card li,
.muted,
.auth-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.58;
}

.kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    border: 1px solid rgba(79, 141, 247, 0.24);
    background: var(--blue-soft);
    color: #28569d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions,
.feature-list,
.table-actions,
.inline-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions,
.feature-list { margin-top: 18px; }

.landing-hero {
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
    margin-bottom: 16px;
    border-radius: 28px;
    position: relative;
    background:
        radial-gradient(circle at 10% 18%, rgba(103, 163, 255, 0.22), transparent 22%),
        radial-gradient(circle at 90% 20%, rgba(96, 72, 255, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.07) 52%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.landing-copy {
    position: relative;
    z-index: 1;
    padding: 34px 34px 28px;
}

.landing-copy h1 {
    margin: 0 0 12px;
    max-width: 620px;
    font: 700 clamp(2.2rem, 4.6vw, 3.6rem)/0.96 "Fraunces", serif;
    letter-spacing: -0.03em;
}

.landing-copy p {
    max-width: 480px;
    font-size: 0.9rem;
}

.landing-actions,
.landing-badges,
.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-actions { margin: 20px 0 14px; }

.landing-stage {
    display: grid;
    gap: 14px;
    padding: 22px;
    position: relative;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.98) 0%, rgba(9, 20, 37, 0.98) 100%);
    color: #f5f7fb;
}

.stage-head {
    display: grid;
    gap: 6px;
    padding: 2px 2px 6px;
}

.stage-kicker {
    color: rgba(221, 232, 248, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stage-head strong {
    font: 700 1.18rem/1.18 "Manrope", sans-serif;
}

.stage-head p {
    color: rgba(223, 230, 242, 0.74);
    font-size: 0.86rem;
    line-height: 1.5;
}

.stage-card {
    padding: 14px 16px;
    border: 1px solid rgba(142, 176, 255, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.stage-card span {
    display: block;
    margin-bottom: 6px;
    color: rgba(223, 230, 242, 0.7);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stage-card strong {
    font: 700 1.2rem/1.14 "Manrope", sans-serif;
}

.landing-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}

.landing-mini {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
}

.landing-mini strong {
    color: var(--blue);
    font: 800 0.76rem/1 "Manrope", sans-serif;
    letter-spacing: 0.08em;
}

.landing-mini h3,
.pricing-aside h3,
.compact-item strong,
.confirm-title {
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.landing-mini h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.landing-mini p {
    font-size: 0.88rem;
}

.landing-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    align-items: start;
    margin-bottom: 18px;
}

.pricing-panel,
.pricing-aside {
    padding: 18px;
}

.compact-list {
    gap: 10px;
}

.compact-item {
    padding: 14px 14px 13px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.compact-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.96rem;
    font-weight: 800;
}

.compact-item span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.52;
}

.button,
.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
    color: #ffffff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(79, 141, 247, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button-secondary,
.nav-button.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #1d314d;
    border-color: var(--line-strong);
    box-shadow: none;
}

.button:hover,
.nav-button:hover {
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button.tiny {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.8rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #d3e1f5;
    background: #f7fbff;
    color: #29508e;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.section-block { margin-bottom: 18px; }
.section-title { margin-bottom: 12px; }
.section-title h2 {
    margin: 0 0 6px;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.48rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.page-head {
    margin-bottom: 14px;
    padding: 0 2px;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
}

.admin-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.stat-card {
    display: grid;
    gap: 2px;
}

.stat-card strong {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.32rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.plan-grid { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }

.plan-card {
    display: grid;
    align-content: start;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 16px;
}

.plan-card-trial {
    border-color: rgba(79, 141, 247, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan-top strong {
    font: 800 0.96rem/1.1 "Manrope", sans-serif;
    color: #151f2d;
}

.plan-card h3,
.showcase-body h3,
.feature-card h3,
.auth-card h2,
.card h3 {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.plan-card p,
.showcase-body p,
.feature-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-grid,
.showcase-admin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-card,
.showcase-card,
.note-card {
    position: relative;
}

.feature-card::before,
.showcase-card::before,
.note-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue) 0%, rgba(79, 141, 247, 0) 100%);
}

.showcase-card {
    overflow: hidden;
    padding: 0;
}

.showcase-media {
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.showcase-media.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #111827 0%, #1a2536 60%, #30589b 100%);
    color: #ffffff;
    font: 700 1.05rem/1 "Fraunces", serif;
}

.showcase-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.bullet-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.profile-list {
    margin: 0;
    display: grid;
    gap: 12px;
}

.profile-list div {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.profile-list dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
}

.profile-list dd {
    margin: 0;
    font-weight: 700;
}

.form-stack,
.compact-form {
    display: grid;
    gap: 11px;
}

.inline-form {
    display: inline-flex;
    gap: 8px;
    margin: 0;
}

.grid-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-actions { display: flex; align-items: end; }

label {
    display: grid;
    gap: 7px;
    color: #dfe9f8;
    font-size: 0.84rem;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: 500 0.9rem/1.5 "Inter", "Manrope", sans-serif;
    outline: none;
}

textarea {
    min-height: 104px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(103, 163, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(103, 163, 255, 0.16);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 20px;
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

th,
td {
    padding: 11px 9px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

td { font-size: 0.86rem; }

.table-actions {
    align-items: flex-start;
}

.compact-form,
.inline-form {
    align-items: start;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.confirm-layer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.42);
}

.confirm-layer[hidden] {
    display: none;
}

.confirm-dialog {
    width: min(420px, 100%);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
}

.confirm-title {
    margin: 0 0 8px;
    font-size: 1.04rem;
    font-weight: 800;
}

.confirm-text {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.56;
}

body.modal-open {
    overflow: hidden;
}

.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning,
.badge-pending { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-muted { background: #eef2f7; color: var(--muted); }

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
}

.footer-inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 0.84rem;
}


.hero-copy,
.hero-aside,
.plan-card,
.showcase-card,
.landing-mini,
.stat-card,
.compact-item,
.pricing-panel,
.pricing-aside {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.plan-card:hover,
.showcase-card:hover,
.landing-mini:hover,
.stat-card:hover,
.compact-item:hover,
.pricing-panel:hover,
.pricing-aside:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 163, 255, 0.24);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.button,
.nav-button {
    position: relative;
    overflow: hidden;
}

.button::after,
.nav-button::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -140%;
    width: 120%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    transition: transform 420ms ease;
}

.button:hover::after,
.nav-button:hover::after {
    transform: translateX(220%);
}

.landing-mini,
.compact-item,
.plan-card,
.stat-card,
.showcase-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.07) 100%);
}

.showcase-media {
    height: 210px;
}

.plan-card p,
.showcase-body p,
.feature-card p {
    -webkit-line-clamp: 2;
}

.landing-badges .tag,
.plan-top .tag,
.showcase-body .tag {
    background: rgba(255,255,255,0.08);
    border-color: rgba(152, 182, 255, 0.24);
    color: #dbe7fb;
}

.table-wrap, table, th, td {
    color: #e8eef8;
}

th {
    color: #9aaece;
}

.showcase-card::before,
.note-card::before,
.feature-card::before {
    background: linear-gradient(90deg, #67a3ff 0%, rgba(103, 163, 255, 0) 100%);
}

.flash, .notice-banner {
    background: rgba(255,255,255,0.1);
    color: #e8eef8;
}

.page-home .section-title p,
.page-home .stage-head p,
.page-home .pricing-aside .compact-item span,
.page-home .landing-mini p {
    font-size: 0.84rem;
}

.page-home .showcase-body p {
    display: none;
}

.page-home .section-block .section-title p {
    display: none;
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(7, 17, 31, 0.55);
}

.brand-copy small, .footer-inner, .muted, .page-head p, .section-title p, .auth-card p, .landing-mini p, .compact-item span, .plan-card p, .showcase-body p {
    color: #9aaece;
}

.brand-mark {
    box-shadow: 0 16px 40px rgba(54, 110, 255, 0.26);
}

@media (max-width: 1180px) {
    .hero,
    .compact-hero,
    .grid-two,
    .feature-grid,
    .plan-grid,
    .showcase-grid,
    .showcase-admin-grid,
    .grid-form,
    .stats-grid,
    .admin-stats,
    .landing-row,
    .landing-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .container { width: min(100% - 20px, 1160px); }
    .site-header { position: static; }
    .topbar {
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .main-nav,
    .hero-actions,
    .feature-list,
    .landing-actions,
    .landing-badges,
    .confirm-actions,
    .table-actions,
    .inline-gap {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .button,
    .nav-button {
        width: 100%;
    }
    .hero-copy,
    .hero-aside,
    .form-card,
    .section-block,
    .note-card,
    .stat-card,
    .feature-card,
    .showcase-body,
    .pricing-panel,
    .pricing-aside {
        padding: 18px;
    }
    .hero-copy h1,
    .page-head h1 {
        font-size: clamp(1.55rem, 6vw, 2rem);
    }
    .landing-hero,
    .compact-hero {
        grid-template-columns: 1fr;
    }
    .landing-copy {
        padding: 22px 20px 18px;
    }
    .landing-copy h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }
}

@media (max-width: 640px) {
    .hero,
    .compact-hero,
    .grid-two,
    .feature-grid,
    .plan-grid,
    .showcase-grid,
    .showcase-admin-grid,
    .grid-form,
    .stats-grid,
    .admin-stats,
    .landing-row,
    .landing-layout {
        grid-template-columns: 1fr;
    }
    table { min-width: 600px; }
    .footer-inner {
        padding: 14px 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* ===== Light redesign override ===== */
:root {
    --bg: #f6f7fb;
    --bg-soft: #ffffff;
    --panel: #ffffff;
    --panel-soft: #ffffff;
    --panel-dark: #ffffff;
    --panel-dark-soft: #f7f8fc;
    --text: #111111;
    --muted: #6b7280;
    --line: #e6e8ef;
    --line-strong: #d7dce7;
    --blue: #111111;
    --blue-strong: #2b2b2b;
    --blue-soft: #f3f4f6;
    --danger: #b42318;
    --danger-soft: #fff3f2;
    --success: #027a48;
    --success-soft: #ecfdf3;
    --warning: #b54708;
    --warning-soft: #fffaeb;
    --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 44px rgba(15, 23, 42, 0.08);
}

body {
    color: var(--text);
    background: linear-gradient(180deg, #fafbff 0%, #f3f5f9 100%);
}
body::before, body::after { display:none; }
.site-header {
    border-bottom: 1px solid #e8ebf2;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
}
.brand-mark {
    border-color: #dfe3ec;
    background: #111111;
    color: #ffffff;
    box-shadow: none;
}
.brand-copy strong,
.hero-copy h1,
.page-head h1,
.section-title h2,
.plan-card h3,
.showcase-body h3,
.feature-card h3,
.auth-card h2,
.card h3,
.landing-copy h1,
.stage-head strong,
.stat-card strong,
.profile-list dd,
.confirm-title { color:#111111; }
.brand-copy small,
.footer-inner,
.muted,
.page-head p,
.section-title p,
.auth-card p,
.landing-mini p,
.compact-item span,
.plan-card p,
.showcase-body p,
.landing-copy p,
.stage-head p,
.confirm-text,
.profile-list dt,
th { color: var(--muted) !important; }
.main-nav a,
.nav-button { color:#111111; }
.main-nav a:hover,
.nav-button:hover { background:#f3f4f6; color:#111111; }
.card,
.flash,
.notice-banner,
.confirm-dialog,
.hero-copy,
.hero-aside,
.landing-hero,
.landing-stage,
.landing-mini,
.compact-item,
.plan-card,
.stat-card,
.showcase-card,
.pricing-panel,
.pricing-aside {
    background: #ffffff !important;
    border: 1px solid #e7eaf1 !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: none;
}
.hero-copy::after,
.showcase-card::before,
.note-card::before,
.feature-card::before,
.button::after,
.nav-button::after { display:none; }
.hero-copy,
.landing-copy,
.pricing-panel,
.pricing-aside,
.form-card,
.section-block,
.note-card,
.stat-card,
.feature-card,
.showcase-body { color:#111111; }
.landing-hero {
    background:#ffffff !important;
    gap: 0;
}
.landing-stage {
    background:#f8f9fc !important;
    color:#111111;
}
.stage-kicker,
.stage-card span,
.hero-aside .aside-item span { color:#6b7280 !important; }
.stage-card,
.aside-item {
    border:1px solid #e5e7eb;
    background:#ffffff;
}
.kicker,
.tag,
.landing-badges .tag,
.plan-top .tag,
.showcase-body .tag {
    background:#f3f4f6 !important;
    border-color:#e5e7eb !important;
    color:#111111 !important;
}
.button,
.nav-button {
    background: #111111 !important;
    color:#ffffff !important;
    border-color:#111111 !important;
    box-shadow:none;
}
.button-secondary,
.nav-button.ghost {
    background:#ffffff !important;
    color:#111111 !important;
    border-color:#d1d5db !important;
}
.button:hover,
.nav-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
}
label { color:#374151; }
input, textarea, select {
    background:#ffffff !important;
    color:#111111 !important;
    border:1px solid #d8dde7 !important;
}
input:focus, textarea:focus, select:focus {
    border-color:#111111 !important;
    box-shadow: 0 0 0 3px rgba(17,17,17,.08);
}
.table-wrap {
    border:1px solid #e6e8ef;
    background:#ffffff;
}
table, th, td { color:#111111 !important; }
table { min-width: 100%; }
th, td { border-bottom:1px solid #eceef4; }
tr:last-child td { border-bottom:none; }
.badge-success { background:#ecfdf3; color:#027a48; }
.badge-warning, .badge-pending { background:#fffaeb; color:#b54708; }
.badge-danger { background:#fff1f3; color:#c01048; }
.badge-muted { background:#f3f4f6; color:#6b7280; }
.site-footer {
    border-top:1px solid #e8ebf2 !important;
    background:#ffffff !important;
}
.page-shell { padding: 18px 0 34px; }
.page-head { margin-bottom: 12px; }
.stats-grid { gap: 12px; }
.admin-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-two { align-items:start; }
.landing-layout-home { margin-bottom:16px; }
.license-grid,
.admin-user-grid {
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
.admin-user-card {
    padding: 16px;
    display:grid;
    gap: 14px;
}
.admin-user-top {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}
.admin-user-top h3 { margin:0 0 4px; }
.admin-user-top p { margin:0; color:var(--muted); }
.detail-pairs {
    margin:0;
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 14px;
}
.detail-pairs div {
    padding:10px 12px;
    border:1px solid #eceef4;
    border-radius:14px;
    background:#fafbfc;
}
.detail-pairs dt {
    margin:0 0 4px;
    font-size:.74rem;
    font-weight:700;
    color:var(--muted);
}
.detail-pairs dd {
    margin:0;
    font-size:.9rem;
    font-weight:700;
    color:#111111;
}
.card-actions,
.card-form-stack {
    display:grid;
    gap:10px;
}
.compact-inline {
    display:grid;
    grid-template-columns: 1fr auto;
    gap:10px;
    align-items:center;
}
.compact-form,
.inline-form {
    width:100%;
}
.inline-form .button,
.compact-inline .button { white-space: nowrap; }
.empty-card {
    align-content:center;
    text-align:left;
}
.page-dashboard .grid-two,
.page-admin .grid-two { gap:14px; }
.page-home .section-block .section-title p,
.page-home .showcase-body p { display:block; }
@media (max-width: 1180px) {
    .admin-stats,
    .license-grid,
    .admin-user-grid,
    .detail-pairs {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 860px) {
    .admin-stats,
    .license-grid,
    .admin-user-grid,
    .detail-pairs,
    .compact-inline {
        grid-template-columns: 1fr;
    }
    .admin-user-top {
        flex-direction:column;
        align-items:flex-start;
    }
}

/* ===== Final layout cleanup ===== */
html, body {
    overflow-x: hidden;
}
body {
    color: #111111;
    background: linear-gradient(180deg, #fbfbfd 0%, #f2f4f8 100%);
}
.site-header {
    border-bottom: 1px solid #e6e9f0 !important;
    background: rgba(255,255,255,.97) !important;
}
.topbar {
    min-height: 82px;
    padding: 14px 0;
    align-items: center;
    gap: 20px;
}
.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}
.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-links {
    justify-content: center;
    flex: 1;
}
.nav-actions {
    justify-content: flex-end;
    flex-shrink: 0;
}
.main-nav a,
.nav-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: .92rem;
    line-height: 1;
    white-space: nowrap;
}
.nav-button-primary {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}
.nav-button.ghost {
    background: #ffffff !important;
}
.nav-logout {
    margin: 0;
}
.page-shell {
    padding-top: 24px;
}
.section-title-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.grid-two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.page-dashboard .grid-two,
.page-admin .grid-two {
    align-items: start;
}
.page-dashboard .card,
.page-admin .card,
.page-profile .card {
    overflow: hidden;
}
.form-stack,
.compact-form,
.inline-form {
    display: grid;
    gap: 12px;
}
label span {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 700;
}
.button,
.nav-button {
    min-height: 44px;
}
.button.tiny {
    min-height: 38px;
    padding: 0 14px;
}
.compact-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.compact-inline input,
.compact-inline select {
    min-width: 0;
}
.table-wrap {
    overflow-x: auto;
    border-radius: 18px;
}
.admin-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(180px, .7fr));
    gap: 10px;
    width: min(100%, 760px);
}
.admin-summary-grid,
.admin-chart-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.admin-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.simple-chart-card {
    padding: 18px;
}
.simple-chart {
    display: grid;
    gap: 12px;
}
.chart-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 46px;
    gap: 12px;
    align-items: center;
}
.chart-row span,
.chart-row strong {
    white-space: nowrap;
}
.chart-bar-track {
    height: 12px;
    border-radius: 999px;
    background: #eef1f6;
    overflow: hidden;
}
.chart-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #111111 0%, #3a3a3a 100%);
}
.chart-bar-muted {
    background: linear-gradient(90deg, #a7b0bf 0%, #d2d7e0 100%);
}
.chart-bar-dark {
    background: linear-gradient(90deg, #111111 0%, #595959 100%);
}
.admin-users-table th:last-child,
.admin-users-table td:last-child {
    text-align: right;
    width: 96px;
}
.user-identity {
    display: grid;
    gap: 4px;
}
.user-identity strong {
    display: block;
}
.user-identity span {
    color: #6b7280;
    font-size: .85rem;
}
.table-actions-cell {
    white-space: nowrap;
}
.admin-empty-state {
    margin: 14px 0 0;
    color: #6b7280;
}
.user-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
}
.user-modal[hidden] {
    display: none;
}
.user-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
}
.user-modal-dialog {
    position: relative;
    width: min(760px, calc(100% - 24px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 20px auto;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid #e6e9f0;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .18);
}
.user-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.user-modal-head h3 {
    margin: 6px 0 4px;
}
.user-modal-head p {
    margin: 0;
    color: #6b7280;
}
.user-modal-body {
    display: grid;
    gap: 16px;
}
.modal-close-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #d5dbe6;
    border-radius: 999px;
    background: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.page-dashboard .license-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-dashboard .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.page-dashboard .section-block,
.page-admin .section-block {
    padding: 20px;
}
.page-dashboard .note-card ul,
.page-dashboard .note-card li {
    max-width: 100%;
}
.page-dashboard td,
.page-admin td {
    word-break: break-word;
}
@media (max-width: 1180px) {
    .topbar,
    .main-nav {
        flex-wrap: wrap;
    }
    .main-nav {
        width: 100%;
    }
    .nav-links {
        justify-content: flex-start;
    }
    .admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .grid-two,
    .page-dashboard .license-grid,
    .page-dashboard .stats-grid,
    .admin-chart-grid {
        grid-template-columns: 1fr;
    }
    .admin-toolbar {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
@media (max-width: 860px) {
    .main-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-links,
    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .main-nav a,
    .nav-button {
        width: auto;
    }
}
@media (max-width: 640px) {
    .admin-summary-grid,
    .detail-pairs {
        grid-template-columns: 1fr;
    }
    .chart-row {
        grid-template-columns: 1fr;
    }
}

/* ===== v3 fixes ===== */
body {
    color: #111111;
    background: linear-gradient(180deg, #fbfbfd 0%, #f3f5f8 100%);
}
.container {
    width: min(1220px, calc(100% - 40px));
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid #e5e7eb !important;
}
.topbar {
    min-height: 88px;
    padding: 14px 0;
    gap: 18px;
}
.brand {
    flex: 0 0 auto;
}
.brand-copy strong,
.brand-copy small,
.main-nav a,
.nav-user-chip,
.page-head h1,
.page-head p,
.section-title h2,
.section-title p,
.card,
label,
.profile-list dd,
.profile-list dt,
table,
th,
td,
.footer-inner {
    color: #111111;
}
.brand-copy small,
.page-head p,
.section-title p,
.profile-list dt,
.footer-inner,
.user-identity span,
.admin-empty-state,
.admin-user-top p,
.confirm-text,
.notice-banner,
th {
    color: #6b7280;
}
.card,
.flash,
.notice-banner,
.confirm-dialog,
.site-footer {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    backdrop-filter: none;
}
.main-nav {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}
.nav-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
    align-items: end;
}
.nav-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-user-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    font-size: .86rem;
    white-space: nowrap;
}
.nav-user-chip strong {
    font-weight: 800;
}
.main-nav a,
.nav-button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #111111 !important;
    font-weight: 700;
}
.main-nav a:hover,
.nav-button:hover {
    background: #f3f4f6;
    color: #111111 !important;
}
.nav-button-primary {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}
.nav-button.ghost {
    background: #ffffff !important;
    border-color: #d1d5db !important;
}
.nav-logout,
.nav-logout .nav-button {
    margin: 0;
}
.page-shell {
    padding-top: 26px;
}
.grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}
.page-dashboard .grid-two,
.page-admin .grid-two,
.page-profile .grid-two {
    align-items: start;
}
.page-profile .card,
.page-dashboard .card,
.page-home .card,
.page-admin .card {
    overflow: hidden;
}
.profile-list div {
    padding: 12px 0;
}
.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.button-row .button {
    min-width: 180px;
}
.page-home .plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.page-home .plan-card,
.page-plans .plan-card {
    min-height: 100%;
}
.page-home .plan-card p,
.page-plans .plan-card p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    color: #4b5563;
    min-height: 72px;
}
.page-home .plan-top,
.page-plans .plan-top {
    align-items: flex-start;
}
.page-home .plan-top strong,
.page-plans .plan-top strong {
    font-size: 1.02rem;
    line-height: 1.15;
}
.table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}
table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}
th,
td {
    padding: 12px 12px;
    vertical-align: top;
    word-break: break-word;
    white-space: normal;
}
.page-dashboard table th:nth-child(1),
.page-dashboard table td:nth-child(1) {
    width: 26%;
}
.page-dashboard table th:nth-child(2),
.page-dashboard table td:nth-child(2) {
    width: 28%;
}
.page-dashboard table th:nth-child(3),
.page-dashboard table td:nth-child(3) {
    width: 22%;
}
.page-dashboard table th:nth-child(4),
.page-dashboard table td:nth-child(4) {
    width: 24%;
}
.badge,
.badge-success,
.badge-warning,
.badge-pending,
.badge-danger,
.badge-muted {
    white-space: normal;
    text-align: center;
}
.detail-pairs div {
    background: #f9fafb;
    border-color: #e5e7eb;
}
.user-modal-dialog {
    background: #ffffff;
}
@media (max-width: 1220px) {
    .main-nav {
        grid-template-columns: 1fr;
    }
    .nav-links {
        justify-content: flex-start;
    }
    .nav-actions {
        justify-items: start;
    }
    .nav-action-row {
        justify-content: flex-start;
    }
}
@media (max-width: 900px) {
    .grid-two,
    .page-dashboard .stats-grid,
    .page-dashboard .license-grid,
    .admin-summary-grid,
    .admin-chart-grid {
        grid-template-columns: 1fr;
    }
    .button-row {
        flex-direction: column;
    }
    .button-row .button {
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 700px) {
    .container {
        width: min(100% - 24px, 1220px);
    }
    .topbar {
        align-items: flex-start;
    }
    .nav-links,
    .nav-action-row {
        width: 100%;
    }
    .nav-links a,
    .nav-action-row .nav-button,
    .nav-action-row form {
        width: 100%;
    }
    .nav-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .page-home .plan-grid {
        grid-template-columns: 1fr;
    }
    table {
        min-width: 620px;
        table-layout: auto;
    }
}

/* ===== v4 final fixes ===== */
.site-header,
.page-profile .card,
.page-dashboard .card,
.page-home .card,
.page-plans .card {
    overflow: visible;
}

.topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
}

.main-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px 8px;
    flex-wrap: wrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-user-chip,
.nav-button,
.main-nav a {
    min-height: 42px;
}

.nav-user-chip {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-head h1,
.section-title h2,
.profile-list dd,
.profile-list dt,
.plan-card h3,
.plan-card p,
th,
td,
.notice-banner,
.mini-note {
    overflow: visible;
}

.page-head h1 {
    line-height: 1.18;
    padding-top: 2px;
}

.section-title h2 {
    line-height: 1.26;
    padding-top: 2px;
}

.page-profile .grid-two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.page-profile .card,
.page-profile .section-title,
.page-profile .profile-list,
.page-profile form,
.page-profile label {
    width: 100%;
    min-width: 0;
}

.page-profile .card {
    padding: 24px;
}

.page-profile .profile-list {
    gap: 0;
}

.page-profile .profile-list div {
    padding: 14px 0;
}

.page-profile input {
    min-height: 44px;
}

.button-row {
    align-items: center;
}

.notice-banner.notice-banner-success {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: #166534;
    background: #eefbf3;
    border-color: #cdebd7;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
}

.mini-note {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    color: #4b5563;
    line-height: 1.6;
}

.page-home .plan-grid,
.page-plans .plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
}

.page-home .plan-card,
.page-plans .plan-card {
    height: 100%;
    min-height: 332px;
    grid-template-rows: auto auto minmax(92px, 1fr) auto;
}

.page-home .plan-card p,
.page-plans .plan-card p {
    min-height: 96px;
    line-height: 1.62;
    margin-bottom: 4px;
}

.page-home .plan-top strong,
.page-plans .plan-top strong {
    min-width: 0;
    text-align: right;
    white-space: normal;
}

.page-dashboard table,
.page-admin table {
    table-layout: auto;
    min-width: 720px;
}

.page-dashboard td,
.page-dashboard th,
.page-admin td,
.page-admin th {
    white-space: nowrap;
    word-break: normal;
}

.page-dashboard td:last-child,
.page-dashboard th:last-child {
    white-space: normal;
}

@media (max-width: 1220px) {
    .topbar {
        grid-template-columns: 1fr;
    }
    .main-nav {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .nav-links {
        justify-content: flex-start;
    }
    .nav-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .page-profile .grid-two {
        grid-template-columns: 1fr;
    }
    .nav-actions,
    .nav-action-row {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .nav-actions,
    .nav-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-user-chip,
    .nav-button,
    .nav-action-row form {
        width: 100%;
        max-width: none;
    }
    .page-home .plan-card,
    .page-plans .plan-card {
        min-height: 0;
        grid-template-rows: auto auto auto auto;
    }
    .page-home .plan-card p,
    .page-plans .plan-card p {
        min-height: 0;
    }
}

/* ===== v5 cleanup ===== */
body {
    background: #f3f4f6;
    color: #111827;
}
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}
.topbar {
    min-height: 92px;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
    align-items: center;
}
.main-nav {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    min-width: 0;
    width: 100%;
}
.nav-links {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
}
.nav-links a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height: 42px;
    padding: 0 10px;
    color:#111827 !important;
    font-weight:700;
    white-space:nowrap;
    font-size: .9rem;
    flex: 0 1 auto;
}
.nav-actions {
    display:flex;
    flex-direction: column;
    align-items:flex-end;
    justify-content:flex-end;
    gap: 4px;
    flex-wrap: nowrap;
    min-width: 0;
}
.nav-action-row {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    flex-wrap:nowrap;
    flex: 0 0 auto;
}
.nav-account-meta {
    display:block;
    color:#667085;
    font-size:.78rem;
    line-height:1.25;
    text-align:right;
    white-space:nowrap;
}
.nav-account-meta strong {
    color:#111827;
    font-weight:700;
}
.nav-user-chip {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding: 0 14px;
    border:1px solid #d1d5db;
    border-radius:999px;
    background:#fff;
    color:#111827;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
    flex: 0 1 auto;
}
.nav-button,
.nav-action-row .nav-button,
.nav-action-row a.nav-button {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding: 0 16px;
    border-radius:999px;
    border:1px solid #d1d5db;
    background:#fff;
    color:#111827 !important;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
    text-decoration:none;
    flex: 0 0 auto;
}
.nav-button-primary {
    min-width: 178px;
    background:#111111 !important;
    color:#ffffff !important;
    border-color:#111111 !important;
}
.nav-button.ghost,
.nav-logout .nav-button {
    min-width: 132px;
    background:#fff !important;
    color:#111827 !important;
    border-color:#d1d5db !important;
}
.nav-logout,
.nav-logout.inline-form {
    display: inline-flex !important;
    width: auto !important;
    margin: 0;
    flex: 0 0 auto;
}
.page-head h1,
.section-title h2,
.card h3,
.confirm-title {
    line-height: 1.24;
    overflow: visible;
    padding-top: 4px;
}
.section-title {
    margin-bottom: 14px;
}
.card,
.section-block,
.page-profile .card,
.page-dashboard .card,
.page-home .card,
.page-plans .card,
.page-admin .card {
    overflow: visible;
}
.page-profile .grid-two {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 20px;
    align-items:start;
}
.page-profile .card {
    padding: 22px;
    min-width: 0;
}
.page-profile .profile-list,
.page-profile form,
.page-profile label {
    min-width:0;
}
.page-profile input {
    width:100%;
}
.page-dashboard .table-wrap,
.page-admin .table-wrap {
    overflow-x:auto;
    overflow-y:visible;
}
.page-dashboard table,
.page-admin table {
    min-width: 760px;
    table-layout: auto;
}
.page-dashboard td,
.page-dashboard th,
.page-admin td,
.page-admin th {
    white-space: normal;
    word-break: keep-all;
}
.page-dashboard .section-title,
.page-profile .section-title,
.page-home .section-title,
.page-admin .section-title {
    padding-top: 2px;
}
.page-home .plan-grid,
.page-plans .plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}
.page-home .plan-card,
.page-plans .plan-card {
    display:grid;
    grid-template-rows:auto auto minmax(120px,1fr) auto;
    min-height: 360px;
    padding: 18px;
}
.page-home .plan-card p,
.page-plans .plan-card p {
    min-height: 120px;
    overflow: visible;
    display: block;
    line-height:1.65;
}
.page-home .plan-top,
.page-plans .plan-top {
    gap: 12px;
}
.page-home .plan-top strong,
.page-plans .plan-top strong {
    flex: 0 0 auto;
    text-align: right;
}
.notice-banner {
    line-height:1.6;
}
.page-admin .section-block {
    margin-bottom: 20px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow:none;
}
.admin-stats {
    margin-bottom: 20px;
}
.admin-users-section,
.page-admin .section-block > .card,
.admin-collapse {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background:#fff;
    box-shadow: 0 10px 28px rgba(15,23,42,.06);
}
.admin-toolbar {
    display:grid;
    grid-template-columns: minmax(240px,1fr) 190px 190px;
    gap: 12px;
}
.admin-summary-grid,
.admin-chart-grid {
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap:14px;
}
.admin-chart-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    margin: 16px 0 18px;
}
.admin-users-table-wrap {
    border:none;
    background:transparent;
    padding:0;
}
.admin-users-table {
    min-width: 980px;
}
.admin-collapse {
    margin-bottom: 20px;
}
.admin-collapse summary {
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.admin-collapse summary::-webkit-details-marker {
    display:none;
}
.admin-collapse-body {
    margin-top: 18px;
}
.admin-collapse .grid-two {
    grid-template-columns: repeat(2, minmax(0,1fr));
}
.admin-collapse .showcase-admin-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 16px;
}
.simple-chart-card,
.admin-summary-grid .stat-card {
    background:#fff;
}
@media (max-width: 1180px) {
    .topbar,
    .main-nav {
        grid-template-columns: 1fr;
    }
    .nav-links,
    .nav-actions {
        justify-content:flex-start;
    }
    .nav-links,
    .nav-actions,
    .nav-action-row {
        flex-wrap: wrap;
    }
    .admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 900px) {
    .page-profile .grid-two,
    .admin-chart-grid,
    .admin-collapse .grid-two {
        grid-template-columns: 1fr;
    }
    .admin-toolbar {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .nav-user-chip,
    .nav-button,
    .nav-button-primary,
    .nav-logout .nav-button {
        width: 100%;
        min-width: 0;
    }
    .nav-actions,
    .nav-action-row {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-account-meta {
        width:100%;
        text-align:left;
        white-space:normal;
    }
    .nav-action-row form {
        width:100%;
    }
    .page-home .plan-grid,
    .page-plans .plan-grid,
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

body::before, body::after { display:none; }

/* ===== Patch v6: readable light palette and stronger contrast ===== */
:root {
    --bg: #f5f7fb;
    --bg-soft: #eef2f7;
    --panel: #ffffff;
    --panel-soft: #ffffff;
    --panel-dark: #111827;
    --text: #111827;
    --muted: #667085;
    --line: #e5e7eb;
    --line-strong: #d0d5dd;
}
html, body {
    background: #f5f7fb !important;
    color: #111827 !important;
}
body {
    background-image: none !important;
}
.site-header {
    background: rgba(255,255,255,.96) !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 6px 24px rgba(15,23,42,.04);
}
.page-shell {
    background: #f5f7fb;
}
.card,
.hero-copy,
.hero-aside,
.form-card,
.section-block,
.note-card,
.stat-card,
.feature-card,
.showcase-card,
.pricing-panel,
.pricing-aside,
.admin-users-section,
.page-admin .section-block > .card,
.admin-collapse,
.simple-chart-card {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 30px rgba(15,23,42,.05) !important;
}
.page-head h1,
.section-title h2,
.card h3,
.card h2,
.card h1,
.hero-copy h1,
.hero-copy h2,
.hero-copy h3,
.stat-card strong,
.plan-card h3,
.showcase-body h3,
.profile-list dd,
.confirm-title,
label,
label span,
strong {
    color: #111827 !important;
}
p,
small,
.profile-list dt,
.page-head p,
.section-title p,
.muted,
th,
.stage-head p,
.showcase-body p,
.plan-card p,
.auth-card p {
    color: #667085 !important;
}
a,
a:visited {
    color: #111827;
}
.flash,
.notice-banner {
    color: #111827 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.04) !important;
}
.flash-ok {
    background: #ecfdf3 !important;
    border-color: #abefc6 !important;
    color: #027a48 !important;
}
.flash-error {
    background: #fef3f2 !important;
    border-color: #fecdca !important;
    color: #b42318 !important;
}
.notice-banner {
    background: #eff8ff !important;
    border-color: #b2ddff !important;
    color: #175cd3 !important;
}
.nav-user-chip {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d0d5dd !important;
}
.nav-user-chip strong {
    color: #111827 !important;
}
.main-nav a {
    color: #111827 !important;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    background: #f2f4f7 !important;
    color: #111827 !important;
}
.nav-button,
.nav-action-row .nav-button,
.nav-action-row a.nav-button,
button.nav-button {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d0d5dd !important;
    box-shadow: none !important;
}
.nav-button:hover,
.nav-action-row .nav-button:hover,
.nav-action-row a.nav-button:hover,
button.nav-button:hover {
    background: #f9fafb !important;
    color: #111827 !important;
    border-color: #98a2b3 !important;
}
a.nav-button.nav-button-primary,
.nav-button.nav-button-primary,
.nav-action-row a.nav-button.nav-button-primary,
.nav-action-row .nav-button.nav-button-primary {
    background: #111827 !important;
    color: #ffffff !important;
    border-color: #111827 !important;
}
a.nav-button.nav-button-primary:hover,
.nav-button.nav-button-primary:hover,
.nav-action-row a.nav-button.nav-button-primary:hover,
.nav-action-row .nav-button.nav-button-primary:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}
.nav-button.ghost,
.nav-logout .nav-button {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d0d5dd !important;
}
.button,
button.button,
a.button {
    background: #111827 !important;
    color: #ffffff !important;
    border-color: #111827 !important;
    box-shadow: none !important;
}
.button:hover,
button.button:hover,
a.button:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}
.button-secondary,
button.button-secondary,
a.button-secondary {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d0d5dd !important;
}
.button-secondary:hover,
button.button-secondary:hover,
a.button-secondary:hover {
    background: #f9fafb !important;
    color: #111827 !important;
}
input, textarea, select {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d0d5dd !important;
}
input::placeholder,
textarea::placeholder {
    color: #98a2b3 !important;
}
input:focus, textarea:focus, select:focus {
    border-color: #98a2b3 !important;
    box-shadow: 0 0 0 4px rgba(17,24,39,.08) !important;
    outline: none;
}
.tag,
.kicker,
.landing-badges .tag,
.plan-top .tag,
.showcase-body .tag {
    background: #f2f4f7 !important;
    color: #344054 !important;
    border-color: #e4e7ec !important;
}
.badge,
.badge-success,
.badge-warning,
.badge-pending,
.badge-danger,
.badge-muted {
    font-weight: 700;
    border: 1px solid transparent;
}
.badge-success { background: #ecfdf3 !important; color: #027a48 !important; border-color: #abefc6 !important; }
.badge-warning,
.badge-pending { background: #fffaeb !important; color: #b54708 !important; border-color: #fedf89 !important; }
.badge-danger { background: #fef3f2 !important; color: #b42318 !important; border-color: #fecdca !important; }
.badge-muted { background: #f2f4f7 !important; color: #475467 !important; border-color: #e4e7ec !important; }
.table-wrap,
.admin-users-table-wrap {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
}
table {
    background: #ffffff;
}
thead th {
    background: #f8fafc;
    color: #475467 !important;
}
tbody td {
    color: #111827 !important;
    border-top: 1px solid #eaecf0 !important;
}
.plan-card,
.pricing-panel .plan-card,
.page-home .plan-card,
.page-plans .plan-card {
    background: #ffffff !important;
    color: #111827 !important;
}
.plan-card p,
.page-home .plan-card p,
.page-plans .plan-card p {
    color: #667085 !important;
}
.admin-collapse summary,
.admin-collapse summary strong,
.admin-collapse summary span {
    color: #111827 !important;
}
.simple-chart-bar {
    background: linear-gradient(180deg, #111827 0%, #344054 100%) !important;
}
.footer-inner {
    color: #667085 !important;
}
.button-disabled {
    opacity: 0.55;
    pointer-events: none;
}
.compact-grid {
    gap: 14px;
}
.searchable-select {
    position: relative;
    display: block;
}
.searchable-select-native {
    position: absolute !important;
    inset: 0 auto auto 0;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.searchable-select-trigger {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}
.searchable-select-trigger:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}
.searchable-select.is-open .searchable-select-trigger {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}
.searchable-select-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.searchable-select-caret {
    flex: 0 0 auto;
    color: #667085;
    font-size: 12px;
}
.searchable-select-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    padding: 10px;
    border: 1px solid #d0d5dd;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 8px;
}
.searchable-select-panel[hidden] {
    display: none !important;
}
.searchable-select-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
}
.searchable-select-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}
.searchable-select-list {
    display: grid;
    gap: 4px;
    max-height: 220px;
    overflow-y: auto;
}
.searchable-select-option,
.searchable-select-empty {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: left;
    font-size: 14px;
}
.searchable-select-option {
    border: 0;
    background: #f8fafc;
    color: #111827;
    cursor: pointer;
}
.searchable-select-option:hover,
.searchable-select-option:focus {
    outline: none;
    background: #eef4ff;
}
.searchable-select-option.is-selected {
    background: #dbeafe;
    color: #1d4ed8;
}
.searchable-select-option:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
.searchable-select-empty {
    background: #f8fafc;
    color: #667085;
}
.payment-card {
    border: 1px solid #dbe4f0;
}
.admin-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}
.admin-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
    font-weight: 700;
    text-decoration: none;
}
.admin-tab-link.is-active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}
.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.admin-overview-card {
    display: grid;
    gap: 12px;
    align-content: start;
}
.admin-overview-card p {
    margin: 0;
    color: #667085;
}
.price-stack {
    display: grid;
    gap: 3px;
    justify-items: end;
}
.price-old {
    color: #98a2b3;
    font-size: 0.78rem;
    text-decoration: line-through;
    font-weight: 600;
}
.price-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 700;
}
.admin-plan-editor-grid {
    align-items: start;
}
.plan-admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.admin-plan-card {
    display: grid;
    gap: 14px;
    align-content: start;
}
.plan-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-meta-grid dd {
    word-break: break-word;
}
.admin-payment-grid {
    align-items: start;
}
.payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr);
    gap: 18px;
    align-items: start;
}
.payment-grid.payment-grid-no-qr {
    grid-template-columns: minmax(0, 1fr);
}
.payment-main {
    display: grid;
    gap: 14px;
}
.payment-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #475467;
}
.payment-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.payment-fields label {
    display: grid;
    gap: 6px;
}
.payment-fields label span {
    font-size: 12px;
    font-weight: 600;
    color: #475467;
}
.payment-fields input[readonly] {
    background: #f8fafc !important;
    color: #111827 !important;
    font-weight: 600;
    cursor: text;
}
.payment-qr-block {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #f8fbff;
    text-align: center;
}
.payment-qr-image {
    width: min(100%, 260px);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    padding: 10px;
}
@media (max-width: 760px) {
    .admin-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .payment-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .payment-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

.payment-status-card {
    display: grid;
    gap: 14px;
    align-items: center;
}

.payment-modal-dialog {
    width: min(420px, 100%);
    text-align: center;
}

.payment-modal-body {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.payment-modal-qr-shell {
    width: 100%;
    max-width: 280px;
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.payment-modal-qr,
.payment-modal-qr-empty {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
}

.payment-modal-qr {
    object-fit: contain;
}

.payment-modal-qr-empty {
    display: grid;
    place-items: center;
    border: 1px dashed #d0d5dd;
    background: #f8fafc;
    color: #667085;
    font-weight: 700;
}

.payment-modal-summary {
    display: grid;
    gap: 6px;
    justify-items: center;
    color: #344054;
}

.payment-modal-summary strong {
    font-size: 1rem;
}

.payment-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.payment-countdown.is-expired {
    background: #b42318;
}

.payment-modal-status[data-state="success"] {
    color: #027a48 !important;
}

.payment-modal-status[data-state="warning"] {
    color: #b54708 !important;
}

.payment-modal-status[data-state="error"] {
    color: #b42318 !important;
}

.payment-modal-hint {
    margin: 0;
    color: #667085;
    font-size: 0.84rem;
    line-height: 1.5;
}
