:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #eef6f8;
    --surface-strong: #10233f;
    --text: #111827;
    --muted: #667085;
    --line: #dbe4ee;
    --primary: #0f766e;
    --primary-dark: #0b5f59;
    --accent: #2563eb;
    --success: #16864a;
    --danger: #dc2626;
    --warning: #c46a00;
    --info: #2563eb;
    --radius: 10px;
    --shadow: 0 16px 40px rgba(15, 35, 64, .10);
    --shadow-soft: 0 6px 18px rgba(15, 35, 64, .07);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
    background:
        radial-gradient(circle at 10% -10%, rgba(37, 99, 235, .10), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(15, 118, 110, .12), transparent 26%),
        var(--bg);
}

body {
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .70);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    left: 14px;
    top: 14px;
    z-index: 999;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: 4px;
    background: #0f766e;
    color: #fff;
    font-weight: 900;
    transition: transform .18s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 292px);
    background: linear-gradient(180deg, #0f233e 0%, #122842 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .10);
    transform: translateX(-105%);
    transition: transform .22s ease;
    z-index: 40;
    box-shadow: 24px 0 60px rgba(15, 35, 64, .26);
    padding-bottom: 20px;
    overflow-y: auto;
}

.menu-open .sidebar {
    transform: translateX(0);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    padding: 20px 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #14b8a6, #2563eb);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(20, 184, 166, .22);
}

.brand-logo,
.auth-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(20, 184, 166, .24);
}

.auth-logo {
    width: 48px;
    height: 48px;
}

.ui-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex: 0 0 auto;
}

.nav-list {
    display: grid;
    gap: 6px;
    padding: 10px;
}

.nav-list a {
    color: rgba(255, 255, 255, .76);
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list a.active,
.nav-list a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.nav-list a::before {
    content: none;
}

.main-content {
    min-height: 100vh;
    padding: 14px 14px 102px;
}

.topbar {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(260px, 980px) minmax(140px, 1fr);
    align-items: center;
    gap: 12px;
    margin: -14px -14px 0px -14px;
    padding: 14px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(219, 228, 238, .86);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-user {
    min-width: 0;
    justify-self: start;
    width: min(100%, 230px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-user-logo {
    display: none;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    object-fit: cover;
}

.topbar-user-text {
    min-width: 0;
}

.topbar-user strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar span {
    display: block;
    color: var(--muted);
    font-size: .88rem;
}

.topbar-balances-shell {
    justify-self: center;
    position: relative;
    width: 100%;
    min-width: 0;
}

.topbar-balances {
    --balance-marquee-duration: 24s;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    padding: 2px 0 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

.topbar-balances::-webkit-scrollbar,
.mobile-top-nav::-webkit-scrollbar {
    height: 8px;
}

.topbar-balances::-webkit-scrollbar-track,
.mobile-top-nav::-webkit-scrollbar-track {
    background: transparent;
}

.topbar-balances::-webkit-scrollbar-thumb,
.mobile-top-nav::-webkit-scrollbar-thumb {
    background: var(--primary);
    border: 0;
}

.topbar-balances::-webkit-scrollbar-button,
.mobile-top-nav::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.topbar-balances-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 100%;
    width: max-content;
}

.topbar-balances:not(.is-scrolling) .topbar-balances-track {
    justify-content: center;
    width: 100%;
}

.topbar-balances-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-right: 8px;
}

.topbar-balances-copy {
    display: none;
}

.topbar-balances.is-scrolling .topbar-balances-track {
    justify-content: flex-start;
    animation: none;
}

.topbar-balances.is-scrolling .topbar-balances-copy {
    display: none;
}

.topbar-balances.is-scrolling:hover .topbar-balances-track,
.topbar-balances.is-scrolling.is-paused .topbar-balances-track {
    animation-play-state: paused;
}

@keyframes balance-marquee {
    to {
        transform: translateX(-50%);
    }
}

.balance-chip {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 132px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4faf9;
    border: 1px solid rgba(15, 118, 110, .12);
}

.balance-chip small {
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.1;
    white-space: nowrap;
}

.balance-chip strong {
    color: var(--text);
    font-size: .92rem;
    line-height: 1.1;
}

.balance-total {
    background: linear-gradient(135deg, #10233f, #0f766e);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(15, 35, 64, .16);
}

.balance-total small,
.balance-total strong {
    color: #fff;
}

.mobile-top-nav-shell {
    position: sticky;
    top: var(--topbar-sticky-offset, 73px);
    z-index: 9;
    max-width: calc(100% + 28px);
    margin: 0px -14px 18px -14px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 12px 28px rgba(15, 35, 64, .18);
}

.mobile-top-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 10px 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .82) transparent;
    overscroll-behavior-x: contain;
}

.mobile-top-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    white-space: nowrap;
}

.mobile-top-nav a.active {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(15, 35, 64, .16);
}

.mobile-top-nav a.mobile-logout-link {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #fff;
    padding-inline: 10px;
    text-decoration: underline;
}

.scroll-hint-arrow {
    position: absolute;
    top: calc(50% - 4px);
    z-index: 2;
    display: none;
    width: 30px;
    height: 34px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .94);
    color: var(--primary-dark);
    border: 1px solid var(--line);
    line-height: 0;
    cursor: pointer;
    padding: 0;
}

.scroll-hint-arrow.is-held {
    filter: brightness(.96);
}

.scroll-hint-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scroll-hint-left {
    left: 0;
}

.scroll-hint-right {
    right: 0;
}

.mobile-top-nav-shell .scroll-hint-arrow {
    top: calc(50% - 4px);
    background: rgba(15, 35, 64, .76);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
}

.has-horizontal-scroll > .scroll-hint-left,
.has-horizontal-scroll > .scroll-hint-right {
    display: inline-flex;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 8px;
}

.mobile-more-wrap {
    display: none;
    position: relative;
}

.mobile-more-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--primary-dark);
    cursor: pointer;
}

.mobile-more-button svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.mobile-more-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 32;
    display: grid;
    min-width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(15, 35, 64, .18);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.mobile-more-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-more-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 10px;
    color: var(--text);
    font-weight: 800;
}

.mobile-more-menu a.active,
.mobile-more-menu a:hover {
    background: #f0fdfa;
    color: var(--primary-dark);
}

.notification-button {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--primary-dark);
    cursor: pointer;
}

.notification-wrap {
    position: relative;
}

.notification-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 28px));
    max-height: min(460px, calc(100vh - 120px));
    overflow: auto;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(15, 35, 64, .20);
    z-index: 30;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.notification-popover.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.notification-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.notification-popover-head span {
    font-size: .78rem;
    color: var(--muted);
}

.notification-popover-list {
    display: grid;
    gap: 0;
}

.notification-popover-list a,
.notification-popover-list p {
    margin: 0;
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

.notification-popover-list a.unread {
    background: #f0fdfa;
}

.notification-popover-list a span {
    color: var(--muted);
    font-size: .88rem;
}

.notification-popover-list a small {
    color: var(--muted);
    font-size: .76rem;
}

.notification-popover-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.notification-popover-actions a,
.notification-popover-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 5px 12px;
    border: 0;
    border-right: 1px solid var(--line);
    background: #fff;
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
}

.notification-popover-actions a {
    border-right: 0;
}

.notification-popover-actions button:disabled {
    color: var(--muted);
    cursor: default;
}

.notification-popover-actions .notification-action-read {
    background: linear-gradient(135deg, var(--primary), #0ea5a3);
    color: #fff;
}

.notification-popover-actions .notification-action-all {
    background: linear-gradient(135deg, var(--primary), #0ea5a3);
    color: #fff;
    border-right: 0;
}

.notification-popover-actions .ui-icon {
    width: 18px;
    height: 18px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff !important;
    font-size: .72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.payment-notification-modal .modal-box {
    width: min(100%, 480px);
}

.card-payment-notification-modal .modal-box {
    width: min(100%, 480px);
}

.mobile-app-nav-shell {
    display: none;
}

.subscription-success-card {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 12px;
    max-width: 560px;
    margin: 44px auto;
}

.subscription-success-card h1 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.subscription-success-card p {
    margin: 0;
    color: var(--muted);
}

.success-check {
    display: inline-flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    background: #ecfdf3;
    color: var(--success);
    border: 1px solid #bbf7d0;
}

.success-check .ui-icon {
    width: 42px;
    height: 42px;
    stroke-width: 2.4;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-actions-header {
    justify-content: center;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    letter-spacing: 0;
}

.page-header p {
    margin: 4px 0 0;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.grid-2,
.grid-3,
.grid-4 {
    grid-template-columns: 1fr;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 16px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, rgba(15, 118, 110, .85), rgba(37, 99, 235, .65), rgba(220, 38, 38, .32));
    opacity: .48;
}

.card h2,
.card h3 {
    margin: 0 0 12px;
    font-size: 1.02rem;
}

.support-type-card {
    margin-top: 12px;
}

.support-type-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.support-type-head h2 {
    margin: 0;
}

.support-type-head span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
}

.metric {
    display: grid;
    gap: 5px;
    min-height: 120px;
    align-content: center;
}

.metric span {
    color: var(--muted);
    font-size: .88rem;
}

.metric strong {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    letter-spacing: 0;
}

.metric small {
    color: var(--muted);
}

.metric.success strong {
    color: var(--success);
}

.metric.danger strong {
    color: var(--danger);
}

.metric.warning strong {
    color: var(--warning);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    padding: 10px 15px;
    font-weight: 800;
    cursor: pointer;
    color: var(--text);
    background: #e8eef6;
    box-shadow: 0 2px 0 rgba(15, 35, 64, .04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0ea5a3);
    color: #fff !important;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-warning {
    background: var(--warning);
    color: #fff;
}

.btn-muted {
    background: #f2f7fb;
    color: var(--primary-dark);
    border: 1px solid var(--line);
}

.btn-small {
    min-height: 36px;
    padding: 8px 10px;
    font-size: .86rem;
}

.btn-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.quick-action-buttons {
    justify-content: center;
    gap: 14px;
}

.quick-action-buttons .btn {
    width: 132px;
    height: 100px;
    aspect-ratio: 1;
    flex-direction: column;
    font-size: 1rem;
}

.quick-action-buttons .ui-icon {
    width: 28px;
    height: 28px;
}

.app-footer {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 18px 0 4px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social-links a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary-dark);
}

.footer-social-links svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-store-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary-dark);
    font-size: .84rem;
    font-weight: 800;
}

.footer-store-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.form-stack {
    display: grid;
    gap: 12px;
}

.form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.recaptcha-field {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.recaptcha-field .g-recaptcha {
    transform-origin: center top;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #eef6f8;
    color: var(--primary-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle-slash {
    opacity: 0;
}

.password-toggle.is-visible .password-toggle-slash {
    opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(15, 118, 110, .58);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .10);
}

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

.check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.check-line input {
    width: auto;
    min-height: auto;
}

.inline-form {
    display: inline;
}

.link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
}

.alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    background: #fff;
    transition: opacity .24s ease, transform .24s ease;
}

.alert.is-hiding {
    opacity: 0;
    transform: translateY(-6px);
}

.alert-success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.table-wrap {
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.compact-filter {
    display: flex;
    align-items: end;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
}

.compact-filter label {
    gap: 4px;
    min-width: 130px;
    flex: 0 1 150px;
    font-size: .78rem;
    color: var(--muted);
}

.compact-filter input,
.compact-filter select {
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: .9rem;
}

.data-list {
    display: grid;
    gap: 10px;
}

.data-row {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.data-row-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.data-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--muted);
    font-size: .84rem;
}

.amount-positive {
    color: var(--success);
}

.amount-negative {
    color: var(--danger);
}

.amount-neutral {
    color: var(--accent);
}

.dashboard-section {
    margin-top: 12px;
}

.summary-card {
    display: grid;
    gap: 12px;
}

.summary-card strong {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

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

.summary-split div {
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.action-icon {
    width: 38px;
    height: 38px;
    padding: 0;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.pagination a,
.pagination span {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.form-hint {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: .86rem;
}

.field-hidden {
    display: none !important;
}

.radio-row,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-weight: 800;
}

.icon-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
    gap: 8px;
}

.icon-option {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-dark);
    cursor: pointer;
}

.icon-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.icon-option:has(input:checked) {
    background: #ecfdf5;
    border-color: rgba(15, 118, 110, .45);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .10);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .54);
    z-index: 80;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-box {
    width: min(100%, 430px);
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .32);
}

.modal-box h3 {
    margin: 0 0 8px;
}

.modal-box p {
    margin: 0 0 16px;
    color: var(--muted);
}

.trial-tolerance-modal .modal-box {
    width: min(100%, 500px);
}

.main-content,
.app-shell,
section,
article {
    min-width: 0;
}

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

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

th {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 0;
    background: #f8fafc;
}

tbody tr:hover {
    background: #fbfdff;
}

tr:last-child td {
    border-bottom: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #334155;
}

.notification-status-pill {
    align-self: flex-start;
    flex: 0 0 auto;
    min-height: 20px;
    padding: 2px 7px;
    font-size: .72rem;
    line-height: 1;
}

.status-pago,
.status-ativa,
.status-approved,
.status-gratis {
    background: #dcfce7;
    color: #166534;
}

.status-pendente,
.status-pending,
.status-trial {
    background: #fef3c7;
    color: #92400e;
}

.status-vencida,
.status-bloqueada,
.status-rejected,
.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-tolerancia,
.status-respondido,
.status-cancelamento_agendado {
    background: #dbeafe;
    color: #1d4ed8;
}

.mobile-list {
    display: grid;
    gap: 10px;
}

.mobile-item {
    display: grid;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
}

.mobile-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.muted {
    color: var(--muted);
}

.danger-text {
    color: var(--danger);
}

.success-text {
    color: var(--success);
}

.warning-text {
    color: var(--warning);
}

.chart-box {
    width: 100%;
    min-height: 230px;
}

.chart-box canvas {
    width: 100%;
    height: 230px;
    display: block;
}

.landing-page {
    min-height: 100vh;
    background: #f7fafc;
    color: #152033;
}

.landing-page a {
    color: inherit;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 14px clamp(16px, 5vw, 64px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #dbe4ee;
    backdrop-filter: blur(10px);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.landing-brand img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.landing-nav,
.landing-nav-menu,
.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-nav a {
    padding: 9px 11px;
    border-radius: 999px;
    color: #526173;
    font-weight: 800;
}

.landing-nav a:hover {
    background: #eef5f4;
    color: #0f766e;
}

.landing-link-button {
    border: 1px solid #cbd8e6;
    border-radius: 4px !important;
}

.landing-cta-small {
    background: #0f766e;
    color: #fff !important;
    border-radius: 4px !important;
}

.landing-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #cbd8e6;
    border-radius: 4px;
    background: #fff;
    padding: 9px;
    cursor: pointer;
}

.landing-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #152033;
    border-radius: 99px;
}

.landing-hero,
.landing-section,
.landing-alert,
.landing-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-alert {
    margin-top: 18px;
    transition: opacity .25s ease, transform .25s ease;
}

.landing-alert.is-hiding {
    opacity: 0;
    transform: translateY(-6px);
}

.landing-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    min-height: auto;
    padding: clamp(36px, 6vw, 64px) 0 42px;
    scroll-margin-top: 86px;
}

.landing-glow {
    display: none;
}

.glow-a {
    left: -90px;
    top: 80px;
    background: #14b8a6;
}

.glow-b {
    right: 60px;
    bottom: 60px;
    background: #7c3aed;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid #cfe6e2;
    border-radius: 999px;
    background: #ecfdf8;
    color: #0f766e;
    font-weight: 900;
    font-size: .82rem;
}

.landing-hero h1,
.landing-section h2 {
    margin: 14px 0 14px;
    letter-spacing: 0;
    line-height: 1.02;
}

.landing-hero h1 {
    font-size: clamp(2.35rem, 7vw, 5rem);
    max-width: 780px;
}

.landing-hero p,
.landing-section-head p,
.benefit-copy p,
.landing-footer p,
.plan-card p {
    color: #64748b;
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-glass {
    color: #0f766e;
    background: #fff;
    border: 1px solid #cbd8e6;
}

.panel-preview,
.plan-card,
.feature-card,
.landing-desktop-shot,
.landing-mobile-shot,
.youtube-placeholder,
.store-card {
    border: 1px solid #dbe4ee;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20, 32, 51, .08);
}

.landing-dashboard-mock {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    animation: none;
}

.landing-device-showcase {
    position: relative;
    min-height: 430px;
}

.landing-desktop-shot,
.landing-mobile-shot,
.youtube-placeholder {
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 900;
}

.landing-desktop-shot {
    min-height: 330px;
    border-radius: 18px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #0f766e, #2563eb) border-box;
    border: 1px solid transparent;
}

.landing-mobile-shot {
    position: absolute;
    right: 22px;
    bottom: 0;
    width: min(34%, 178px);
    min-height: 270px;
    border-radius: 26px;
    border-width: 6px;
}

.youtube-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #edf7f5);
}

.mock-card,
.preview-card {
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    border: 1px solid #dbe4ee;
}

.mock-card span,
.preview-card span {
    display: block;
    color: #64748b;
    font-size: .88rem;
}

.mock-card strong,
.preview-card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.45rem;
}

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

.mock-chart {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #eef5f4;
}

.mock-chart span,
.chart-preview span {
    flex: 1;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, #22c55e, #2563eb);
}

.mock-transactions {
    display: grid;
    gap: 8px;
}

.mock-transactions div,
.transactions-preview div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.landing-section {
    padding: 42px 0;
    scroll-margin-top: 86px;
}

.landing-section-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.landing-section h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.feature-grid,
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.plan-card {
    border-radius: 22px;
    padding: 20px;
    transition: transform .18s ease, border-color .18s ease;
}

.feature-card:hover,
.plan-card:hover {
    border-color: #99d8cf;
}

.feature-card h3,
.plan-card h3 {
    margin: 14px 0 8px;
}

.feature-card p,
.plan-card li {
    color: #64748b;
}

.benefit-section {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: center;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.benefit-list div {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dbe4ee;
    font-weight: 800;
}

.panel-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    border-radius: 26px;
    padding: 18px;
}

.chart-preview {
    grid-column: span 2;
    display: flex;
    align-items: end;
    min-height: 190px;
    gap: 12px;
}

.chart-preview span:nth-child(1) { height: 42%; }
.chart-preview span:nth-child(2) { height: 78%; }
.chart-preview span:nth-child(3) { height: 60%; }
.chart-preview span:nth-child(4) { height: 88%; }

.transactions-preview {
    display: grid;
    align-content: start;
}

.plans-grid {
    grid-template-columns: minmax(0, 520px);
    justify-content: start;
}

.plan-card-highlight {
    background: #0f766e;
    color: #fff;
}

.plan-card-highlight p,
.plan-card-highlight span {
    color: rgba(255, 255, 255, .78);
}

.plan-card h3 {
    font-size: 2.4rem;
    margin-bottom: 2px;
}

.plan-daily-price {
    display: block;
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.plan-card ul {
    display: grid;
    gap: 9px;
    padding-left: 18px;
}

.app-store-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-top: 0;
}

.store-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
    border-radius: 16px;
    padding: 18px;
}

.store-card span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 900;
}

.store-card strong {
    grid-column: 2;
}

.store-icon {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    fill: #0f766e;
}

.landing-social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-start !important;
    flex-wrap: wrap;
}

.landing-social-links a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe4ee;
    color: #0f766e;
    font-size: .78rem;
    font-weight: 900;
}

.landing-social-links svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-float-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    box-shadow: 0 18px 35px rgba(15, 118, 110, .28);
    cursor: pointer;
}

.support-float-panel {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 81;
    display: none;
    width: min(440px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(20, 32, 51, .18);
}

.support-float-panel.is-open {
    display: block;
}

.support-float-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.support-float-head button {
    width: 32px;
    height: 32px;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.landing-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 28px 0 42px;
    border-top: 1px solid #dbe4ee;
}

.landing-footer-brand {
    display: grid;
    gap: 8px;
}

.landing-footer-right {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.landing-footer nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-footer a,
.landing-footer span {
    color: #64748b;
}

.landing-footer .footer-social-links a,
.app-footer .footer-social-links a,
.landing-footer .footer-store-button,
.app-footer .footer-store-button {
    color: var(--primary-dark);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-focus-pulse {
    animation: landingFocusPulse .75s ease;
}

@keyframes landingFocusPulse {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.025);
    }
    100% {
        transform: scale(1);
    }
}

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

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@keyframes floatPanel {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(15, 118, 110, .20), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(37, 99, 235, .18), transparent 28%),
        var(--bg);
}

.auth-card {
    width: min(100%, 440px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.auth-brand {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.auth-brand h1 {
    margin: 0;
    font-size: 1.55rem;
}

.auth-brand p {
    margin: 0;
    color: var(--muted);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn-google {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
    background: #fff;
    color: #111827;
    border: 1px solid var(--line);
}

.google-svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.auth-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 14px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
}

.auth-separator::before,
.auth-separator::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.google-account-summary {
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.google-account-summary span {
    color: var(--muted);
    font-size: .92rem;
}

.terms-card {
    width: min(100%, 760px);
}

.terms-content {
    display: grid;
    gap: 10px;
    max-height: 68vh;
    overflow: auto;
    padding-right: 8px;
}

.terms-content h2 {
    margin: 10px 0 0;
    font-size: 1rem;
}

.terms-content p {
    margin: 0;
    color: var(--muted);
}

.danger-zone {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: right;
}

.delete-account-form {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.delete-account-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--danger);
    font-size: .82rem;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
}

.delete-account-form.is-confirming .delete-account-trigger {
    display: none;
}

.delete-account-confirm {
    width: min(100%, 320px);
    display: grid;
    gap: 10px;
    text-align: left;
}

.delete-account-confirm .btn {
    justify-self: end;
}

.public-support-box {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #f2f7fb;
    border: 1px solid var(--line);
}

.public-support-box span {
    color: var(--muted);
    font-size: .92rem;
}

.split-list {
    display: grid;
    gap: 10px;
}

.split-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.split-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.message {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
}

.message.admin {
    background: #eff6ff;
}

.color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.print-json {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 320px;
    overflow: auto;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: var(--radius);
    padding: 12px;
}

@media (max-width: 380px) {
    .recaptcha-field {
        min-height: 70px;
    }

    .recaptcha-field .g-recaptcha {
        transform: scale(.88);
    }
}

@media (min-width: 760px) {
    .app-shell {
        display: grid;
        grid-template-columns: 240px 1fr;
    }

    .sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        transform: none;
        width: 240px;
        box-shadow: none;
    }

    .mobile-top-nav-shell {
        display: none;
    }

    .main-content {
        padding: 24px;
    }

    .topbar {
        margin: -24px -24px 24px;
        padding: 16px 24px;
    }

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

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

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

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 520px) {
    .page-header {
        display: grid;
    }

    .topbar {
        align-items: center;
    }

    .topbar-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .btn {
        width: 100%;
    }

    .btn-row .btn,
    .topbar .btn {
        width: auto;
    }

    .notification-button {
        width: 40px;
        height: 40px;
    }

    .quick-action-buttons .btn {
        width: min(42vw, 132px);
    }
}

@media (max-width: 759px) {
    .topbar-user-logo {
        display: block;
    }

    .main-content {
        padding-bottom: 132px;
    }

    .mobile-more-wrap {
        display: block;
    }

    .mobile-app-nav-shell {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 39;
        display: block;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid rgba(219, 228, 238, .92);
        box-shadow: 0 -14px 40px rgba(15, 35, 64, .14);
        backdrop-filter: blur(12px);
    }

    .mobile-app-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        max-width: 520px;
        margin: 0 auto;
    }

    .mobile-app-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        background: #f8fafc;
        border: 1px solid var(--line);
        color: var(--primary-dark);
        box-shadow: 0 8px 20px rgba(15, 35, 64, .08);
    }

    .mobile-app-nav a.active {
        background: linear-gradient(135deg, var(--primary), #0ea5a3);
        border-color: transparent;
        color: #fff;
    }

    .mobile-app-nav .ui-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 900px) {
    .landing-menu-button {
        display: inline-block;
        order: 4;
    }

    .landing-nav {
        position: static;
        display: flex;
        justify-content: flex-end;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        order: 3;
        margin-left: auto;
    }

    .landing-nav-menu {
        position: fixed;
        inset: 70px 16px auto 16px;
        display: none;
        grid-template-columns: 1fr;
        padding: 12px;
        border-radius: 0;
        background: #fff;
        border: 1px solid #dbe4ee;
        box-shadow: 0 26px 70px rgba(20, 32, 51, .18);
    }

    .landing-nav.is-open .landing-nav-menu {
        display: grid;
    }

    .landing-nav-actions {
        display: flex;
        justify-content: flex-end;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 32px;
    }

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

    .benefit-section,
    .plans-grid,
    .landing-footer {
        grid-template-columns: 1fr;
    }

    .landing-footer-right {
        justify-items: start;
    }

    .panel-preview {
        grid-template-columns: 1fr;
    }

    .chart-preview {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .topbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .landing-header {
        padding-inline: 14px;
        gap: 8px;
        justify-content: flex-end;
    }

    .landing-brand span {
        display: none;
    }

    .landing-brand {
        margin-right: auto;
    }

    .landing-menu-button {
        width: 38px;
        height: 38px;
        padding: 7px;
    }

    .landing-nav,
    .landing-nav-actions {
        gap: 6px;
    }

    .landing-nav a {
        padding: 8px 9px;
        font-size: .86rem;
    }

    .landing-hero,
    .landing-section,
    .landing-footer {
        width: min(100% - 24px, 1180px);
    }

    .landing-actions .btn {
        width: 100%;
    }

    .feature-grid,
    .benefit-list,
    .mock-grid,
    .plans-grid,
    .app-store-section {
        grid-template-columns: 1fr;
    }

    .landing-device-showcase {
        min-height: 350px;
    }

    .landing-mobile-shot {
        width: 42%;
        min-height: 220px;
    }

    .landing-dashboard-mock {
        padding: 12px;
        border-radius: 18px;
    }

    .topbar-user {
        grid-column: 1;
        grid-row: 1;
        width: auto;
    }

    .topbar-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .topbar-balances-shell {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .compact-filter label {
        flex: 1 1 132px;
    }

    .data-row-head,
    .summary-split {
        grid-template-columns: 1fr;
    }
}

*,
*::before,
*::after {
    border-radius: 0 !important;
}
