/* =========================================================
   VELIQANO DASHBOARD
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f5f7fb;
    --sidebar: #0d1726;
    --sidebar-soft: #152235;
    --sidebar-hover: #1b2a40;

    --primary: #16a36a;
    --primary-dark: #0c8755;
    --primary-soft: #e9f8f1;

    --blue: #3978f6;
    --blue-soft: #edf3ff;

    --purple: #7b61e8;
    --purple-soft: #f1eeff;

    --orange: #f39a3e;
    --orange-soft: #fff4e8;

    --red: #e5484d;
    --red-soft: #fff0f0;

    --text: #182230;
    --text-soft: #667085;
    --text-light: #98a2b3;

    --border: #e5eaf0;
    --white: #ffffff;

    --shadow: 0 4px 20px rgba(16, 24, 40, 0.055);
    --shadow-hover: 0 14px 32px rgba(16, 24, 40, 0.09);

    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   APP SHELL
========================================================= */

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


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    width: 260px;

    background:
        linear-gradient(
            180deg,
            #0b1625 0%,
            #101d2e 100%
        );

    color: white;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 24px 16px 18px;

    z-index: 100;

    overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 2px 9px 25px;

    text-decoration: none;
    color: white;
}

.brand-icon {
    width: 39px;
    height: 39px;

    border-radius: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #24c783,
            #11945e
        );

    font-size: 22px;
    font-weight: 700;

    box-shadow:
        0 7px 20px rgba(22, 163, 106, 0.27);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 21px;
    letter-spacing: -0.7px;
}

.brand-text strong span {
    color: #30d993;
}

.brand-text small {
    margin-top: 2px;

    color: #8492a6;

    font-size: 9px;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-label {
    color: #617087;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;

    padding: 8px 13px;
    margin-bottom: 4px;
}

.nav-label-second {
    margin-top: 19px;
}

.nav-item {
    position: relative;

    width: 100%;

    border: 0;
    outline: 0;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 13px;

    border-radius: 9px;

    background: transparent;

    color: #a9b5c5;

    font-size: 13.5px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.nav-item:hover {
    background: var(--sidebar-hover);
    color: white;
}

.nav-item.active {
    background:
        linear-gradient(
            90deg,
            rgba(22, 163, 106, 0.20),
            rgba(22, 163, 106, 0.08)
        );

    color: #ffffff;
}

.nav-item.active::before {
    content: "";

    position: absolute;

    left: -16px;

    width: 3px;
    height: 26px;

    background: #26cf8b;

    border-radius: 0 6px 6px 0;
}

.nav-icon {
    width: 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}

.nav-badge {
    margin-left: auto;

    padding: 3px 7px;

    border-radius: 20px;

    background: rgba(39, 208, 139, 0.14);

    color: #32d893;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.7px;
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    margin-top: 28px;
}

.plan-card {
    padding: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 13px;

    display: grid;

    grid-template-columns: 32px 1fr;
    gap: 10px;
}

.plan-icon {
    width: 31px;
    height: 31px;

    border-radius: 8px;

    background: rgba(41, 205, 139, 0.14);

    color: #30d993;

    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card strong {
    font-size: 12px;
}

.plan-card p {
    color: #8997aa;

    font-size: 10px;

    margin-top: 3px;
}

.plan-card button {
    grid-column: 1 / -1;

    margin-top: 3px;

    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;

    background: rgba(255, 255, 255, 0.06);

    color: white;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.plan-card button:hover {
    background: rgba(255, 255, 255, 0.11);
}

.user-card {
    margin-top: 15px;

    padding: 13px 7px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #23c983,
            #1476d4
        );

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;
}

.user-info {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 11px;
}

.user-info small {
    margin-top: 2px;

    color: #718096;

    font-size: 9px;
}

.user-menu {
    border: 0;

    background: transparent;

    color: #7e8b9e;

    font-size: 18px;

    cursor: pointer;
}


/* =========================================================
   MAIN AREA
========================================================= */

.main-area {
    margin-left: 260px;
    min-height: 100vh;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {
    height: 76px;

    padding: 0 34px;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;

    z-index: 80;

    backdrop-filter: blur(10px);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-left h1 {
    font-size: 17px;
    font-weight: 700;

    letter-spacing: -0.3px;
}

.topbar-left p {
    margin-top: 3px;

    color: var(--text-soft);

    font-size: 10.5px;
}

.mobile-menu {
    display: none;

    border: 0;

    background: transparent;

    font-size: 22px;

    cursor: pointer;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}

.icon-button {
    position: relative;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: white;

    color: var(--text-soft);

    cursor: pointer;
}

.notification-dot {
    position: absolute;

    width: 6px;
    height: 6px;

    top: 7px;
    right: 8px;

    border-radius: 50%;

    background: #f04438;

    border: 1px solid white;
}

.primary-action {
    height: 39px;

    padding: 0 15px;

    border: 0;
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #18aa70,
            #108d5b
        );

    color: white;

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 11.5px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(22, 163, 106, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-action:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(22, 163, 106, 0.25);
}


/* =========================================================
   PAGE
========================================================= */

.page {
    display: none;

    padding: 32px 34px 50px;

    max-width: 1500px;

    margin: auto;
}

.page.active-page {
    display: block;
}


/* =========================================================
   WELCOME
========================================================= */

.welcome-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 27px;
}

.eyebrow {
    display: inline-block;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;

    margin-bottom: 8px;
}

.welcome-row h2,
.section-title-row h2 {
    font-size: 23px;
    font-weight: 700;

    letter-spacing: -0.7px;
}

.welcome-row p {
    margin-top: 7px;

    color: var(--text-soft);

    font-size: 12px;
}

.system-status {
    min-width: 190px;

    padding: 11px 14px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: white;

    display: flex;
    align-items: center;
    gap: 10px;

    box-shadow: var(--shadow);
}

.status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #22b573;

    box-shadow:
        0 0 0 5px rgba(34, 181, 115, 0.10);
}

.system-status div {
    display: flex;
    flex-direction: column;
}

.system-status strong {
    font-size: 10.5px;
}

.system-status small {
    margin-top: 2px;

    color: var(--text-light);

    font-size: 9px;
}


/* =========================================================
   SUMMARY CARDS
========================================================= */

.summary-grid {
    display: grid;

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

    gap: 16px;

    margin-bottom: 35px;
}

.summary-card {
    min-height: 150px;

    padding: 19px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    box-shadow: var(--shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow-hover);
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 16px;
}

.summary-icon {
    width: 34px;
    height: 34px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 700;
}

.summary-icon.green {
    background: var(--primary-soft);
    color: var(--primary);
}

.summary-icon.blue {
    background: var(--blue-soft);
    color: var(--blue);
}

.summary-icon.purple {
    background: var(--purple-soft);
    color: var(--purple);
}

.summary-icon.orange {
    background: var(--orange-soft);
    color: var(--orange);
}

.summary-tag {
    color: #a0a9b7;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}

.summary-card > p {
    color: var(--text-soft);

    font-size: 10.5px;

    margin-bottom: 5px;
}

.summary-card h3 {
    font-size: 26px;
    font-weight: 700;

    letter-spacing: -0.7px;
}

.summary-card h3.status-value {
    color: var(--primary);

    font-size: 21px;
}

.summary-card > small {
    display: block;

    margin-top: 7px;

    color: var(--text-light);

    font-size: 9px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title-row {
    margin-bottom: 16px;
}

.section-title-row h2 {
    font-size: 18px;
}


/* =========================================================
   ACTION CARDS
========================================================= */

.action-grid {
    display: grid;

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

    gap: 16px;

    margin-bottom: 31px;
}

.action-card {
    min-height: 196px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    color: var(--text);

    text-align: left;

    cursor: pointer;

    box-shadow: var(--shadow);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.action-card:hover {
    transform: translateY(-3px);

    border-color: #cfd8e3;

    box-shadow: var(--shadow-hover);
}

.action-card.featured {
    border-color: #bcebd6;

    background:
        linear-gradient(
            145deg,
            #ffffff 45%,
            #f2fcf7 100%
        );
}

.action-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.action-icon {
    width: 41px;
    height: 41px;

    border-radius: 11px;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
    font-weight: 700;
}

.action-icon.soft-blue {
    background: var(--blue-soft);
    color: var(--blue);
}

.action-icon.soft-purple {
    background: var(--purple-soft);
    color: var(--purple);
}

.action-arrow {
    color: #a3adba;

    font-size: 19px;

    transition: 0.2s ease;
}

.action-card:hover .action-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.action-card h3 {
    font-size: 14px;
    font-weight: 700;

    margin-bottom: 7px;
}

.action-card p {
    max-width: 330px;

    color: var(--text-soft);

    font-size: 10.5px;
    line-height: 1.6;
}

.action-footer {
    margin-top: 19px;

    padding-top: 13px;

    border-top: 1px solid #edf0f4;

    color: #8793a4;

    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   GENERAL PANEL
========================================================= */

.panel {
    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.panel-header {
    padding: 19px 20px;

    border-bottom: 1px solid #edf0f4;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.panel-header .eyebrow {
    margin-bottom: 5px;
}

.panel-header h3 {
    font-size: 13.5px;
    font-weight: 700;
}

.text-button {
    border: 0;

    background: transparent;

    color: var(--primary);

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;
}


/* =========================================================
   LOWER GRID
========================================================= */

.dashboard-lower-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.75fr);

    gap: 16px;

    margin-bottom: 16px;
}


/* =========================================================
   EMPTY ACTIVITY
========================================================= */

.empty-activity {
    min-height: 250px;

    padding: 35px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.empty-icon {
    width: 45px;
    height: 45px;

    margin-bottom: 13px;

    border-radius: 12px;

    background: #f3f6f9;

    color: #8794a5;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.empty-activity h4 {
    font-size: 12px;
}

.empty-activity p {
    max-width: 270px;

    margin-top: 6px;

    color: var(--text-soft);

    font-size: 10px;
    line-height: 1.5;
}

.empty-activity button {
    margin-top: 15px;

    padding: 9px 13px;

    border: 1px solid #dce2e9;
    border-radius: 8px;

    background: white;

    color: var(--text);

    font-size: 9.5px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.empty-activity button:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* =========================================================
   CAPABILITIES
========================================================= */

.capability-list {
    padding: 7px 20px 12px;
}

.capability-item {
    display: flex;
    gap: 11px;

    padding: 13px 0;

    border-bottom: 1px solid #edf0f4;
}

.capability-item:last-child {
    border-bottom: 0;
}

.capability-icon {
    flex: 0 0 auto;

    width: 26px;
    height: 26px;

    border-radius: 7px;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 800;
}

.capability-item strong {
    display: block;

    font-size: 10.5px;
}

.capability-item p {
    margin-top: 4px;

    color: var(--text-soft);

    font-size: 9px;
    line-height: 1.45;
}


/* =========================================================
   BANKS
========================================================= */

.banks-panel {
    margin-bottom: 20px;
}

.bank-count {
    padding: 5px 8px;

    border-radius: 20px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.bank-grid {
    padding: 18px 20px;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 9px;
}

.bank-chip {
    min-height: 49px;

    padding: 8px;

    border: 1px solid #e8ecf1;
    border-radius: 9px;

    background: #fbfcfd;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition: 0.2s ease;
}

.bank-chip:hover {
    background: white;

    border-color: #bde9d6;

    transform: translateY(-1px);
}

.bank-chip span {
    color: #556171;

    font-size: 9.5px;
    font-weight: 600;
}


/* =========================================================
   CONVERT PAGE HEADER
========================================================= */

.convert-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 22px;
}

.convert-page-header h2 {
    font-size: 24px;
    font-weight: 700;

    letter-spacing: -0.7px;
}

.convert-page-header p {
    max-width: 620px;

    margin-top: 7px;

    color: var(--text-soft);

    font-size: 11px;
    line-height: 1.6;
}

.convert-page-badge {
    flex: 0 0 auto;

    min-height: 35px;

    padding: 0 12px;

    border: 1px solid #c9ecdc;
    border-radius: 9px;

    background: var(--primary-soft);

    color: var(--primary-dark);

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.3px;
}


/* =========================================================
   CONVERT LAYOUT
========================================================= */

.convert-layout {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.72fr)
        minmax(520px, 1.45fr);

    gap: 18px;

    align-items: start;
}


/* =========================================================
   CONVERT INFO PANEL
========================================================= */

.convert-info-panel {
    padding: 25px;

    border-radius: 17px;

    background:
        linear-gradient(
            155deg,
            #0d1928 0%,
            #13253a 100%
        );

    color: white;

    box-shadow:
        0 12px 30px rgba(13, 25, 40, 0.12);
}

.convert-info-panel .eyebrow {
    color: #3ad99a;
}

.convert-info-panel h3 {
    max-width: 300px;

    font-size: 21px;
    line-height: 1.25;

    letter-spacing: -0.6px;
}

.convert-info-panel h3 span {
    color: #35d394;
}

.convert-info-intro {
    margin-top: 11px;

    color: #9eabbc;

    font-size: 10px;
    line-height: 1.65;
}

.convert-steps {
    margin-top: 27px;
}

.convert-step {
    display: grid;

    grid-template-columns: 34px 1fr;

    gap: 12px;

    align-items: start;
}

.convert-step-number {
    width: 32px;
    height: 32px;

    border-radius: 9px;

    background: rgba(49, 211, 147, 0.12);

    color: #3ad99a;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;
    font-weight: 800;
}

.convert-step strong {
    display: block;

    padding-top: 2px;

    font-size: 10.5px;
}

.convert-step p {
    margin-top: 4px;

    color: #8797aa;

    font-size: 9px;
    line-height: 1.5;
}

.convert-step-line {
    width: 1px;
    height: 17px;

    margin: 3px 0 3px 15px;

    background: rgba(255, 255, 255, 0.10);
}

.convert-security-box {
    margin-top: 25px;

    padding: 13px;

    border:
        1px solid rgba(58, 217, 154, 0.12);

    border-radius: 11px;

    background:
        rgba(58, 217, 154, 0.06);

    display: flex;
    gap: 10px;
}

.convert-security-icon {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    border-radius: 8px;

    background:
        rgba(58, 217, 154, 0.12);

    color: #3ad99a;

    display: flex;
    align-items: center;
    justify-content: center;
}

.convert-security-box strong {
    display: block;

    color: #eaf6f1;

    font-size: 9.5px;
}

.convert-security-box p {
    margin-top: 4px;

    color: #8293a6;

    font-size: 8.5px;
    line-height: 1.5;
}


/* =========================================================
   CONVERT FORM CARD
========================================================= */

.convert-form-card {
    position: relative;

    overflow: hidden;

    padding: 0 25px 24px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: white;

    box-shadow: var(--shadow);
}

.convert-card-accent {
    height: 3px;

    margin: 0 -25px 0;

    background:
        linear-gradient(
            90deg,
            #19ad72,
            #38d69a,
            #19ad72
        );
}

.convert-form-header {
    padding: 22px 0 18px;

    border-bottom: 1px solid #edf0f4;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 21px;
}

.convert-form-header h3 {
    font-size: 16px;
    font-weight: 700;

    letter-spacing: -0.3px;
}

.convert-form-header p {
    margin-top: 5px;

    color: var(--text-soft);

    font-size: 9.5px;
}

.xlsx-badge {
    padding: 6px 9px;

    border-radius: 7px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.8px;
}


/* =========================================================
   CONVERT FIELDS
========================================================= */

.convert-field {
    margin-bottom: 21px;
}

.convert-field-heading {
    margin-bottom: 9px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;
}

.convert-field-heading label {
    display: block;

    color: #263342;

    font-size: 10.5px;
    font-weight: 700;
}

.convert-field-heading small {
    display: block;

    margin-top: 3px;

    color: var(--text-light);

    font-size: 8.5px;
}

.convert-recommended,
.convert-optional,
.convert-file-limit {
    color: var(--text-light);

    font-size: 7.5px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.convert-recommended {
    color: var(--primary);
}


/* =========================================================
   BANK SELECT
========================================================= */

.convert-select-wrapper {
    position: relative;
}

.convert-select-wrapper::after {
    content: "⌄";

    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-55%);

    color: #7f8b99;

    pointer-events: none;

    font-size: 15px;
}

.convert-select-wrapper select {
    width: 100%;
    height: 44px;

    padding: 0 42px 0 13px;

    border: 1px solid #dfe5eb;
    border-radius: 9px;

    outline: none;

    background: #fbfcfd;

    color: #263342;

    font-size: 10.5px;
    font-weight: 500;

    appearance: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.convert-select-wrapper select:hover {
    background: white;
}

.convert-select-wrapper select:focus {
    background: white;

    border-color: #55c899;

    box-shadow:
        0 0 0 3px rgba(22, 163, 106, 0.08);
}


/* =========================================================
   MODE CARDS
========================================================= */

.convert-mode-grid {
    display: grid;

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

    gap: 9px;
}

.convert-mode-card {
    display: block;

    cursor: pointer;
}

.convert-mode-card input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.convert-mode-inner {
    min-height: 72px;

    padding: 12px;

    border: 1px solid #e0e5eb;
    border-radius: 10px;

    background: #fbfcfd;

    display: flex;
    align-items: center;

    gap: 9px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.convert-mode-card:hover .convert-mode-inner {
    background: white;

    border-color: #cfd8e2;

    transform: translateY(-1px);
}

.convert-mode-card input:checked + .convert-mode-inner {
    border-color: #59c99c;

    background: #f5fcf9;

    box-shadow:
        0 0 0 2px rgba(22, 163, 106, 0.06);
}

.convert-mode-icon {
    flex: 0 0 auto;

    width: 31px;
    height: 31px;

    border-radius: 8px;

    background: #eef3f7;

    color: #687687;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 800;
}

.convert-mode-card input:checked +
.convert-mode-inner .convert-mode-icon {
    background: var(--primary-soft);
    color: var(--primary);
}

.convert-mode-copy {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.convert-mode-copy strong {
    font-size: 9.5px;
}

.convert-mode-copy small {
    margin-top: 3px;

    color: var(--text-light);

    font-size: 7.5px;
}

.convert-radio {
    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    border: 1.5px solid #c7d0da;
    border-radius: 50%;

    background: white;

    position: relative;
}

.convert-mode-card input:checked +
.convert-mode-inner .convert-radio {
    border-color: var(--primary);
}

.convert-mode-card input:checked +
.convert-mode-inner .convert-radio::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    left: 2.5px;
    top: 2.5px;

    border-radius: 50%;

    background: var(--primary);
}


/* =========================================================
   UPLOAD BOX
========================================================= */

.convert-upload-box {
    min-height: 135px;

    padding: 18px;

    border: 1.5px dashed #cfd7e0;
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #fbfcfd,
            #f7faf9
        );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.convert-upload-box:hover {
    border-color: #57c899;

    background: #f5fcf9;

    transform: translateY(-1px);
}

.convert-upload-icon {
    width: 34px;
    height: 34px;

    margin-bottom: 8px;

    border-radius: 9px;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    font-weight: 700;
}

.convert-upload-box strong {
    font-size: 10.5px;
}

.convert-upload-box p {
    margin-top: 4px;

    color: var(--text-light);

    font-size: 8.5px;
}

.convert-browse-button {
    margin-top: 9px;

    padding: 6px 10px;

    border: 1px solid #d8e0e7;
    border-radius: 7px;

    background: white;

    color: #485568;

    font-size: 8px;
    font-weight: 700;
}

.convert-hidden-file {
    display: none;
}


/* =========================================================
   SELECTED FILE
========================================================= */

.convert-selected-files {
    display: none;

    margin-top: 9px;
}

.convert-selected-files.visible,
.convert-selected-files:not(:empty) {
    display: block;
}

.convert-selected-files .selected-file,
.convert-selected-files > div {
    padding: 10px 11px;

    border: 1px solid #e2e7ed;
    border-radius: 8px;

    background: #f9fbfc;

    color: #536173;

    font-size: 9px;

    word-break: break-word;
}


/* =========================================================
   PASSWORD
========================================================= */

.convert-password-wrapper {
    height: 44px;

    padding: 0 12px;

    border: 1px solid #dfe5eb;
    border-radius: 9px;

    background: #fbfcfd;

    display: flex;
    align-items: center;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.convert-password-wrapper:focus-within {
    background: white;

    border-color: #55c899;

    box-shadow:
        0 0 0 3px rgba(22, 163, 106, 0.08);
}

.convert-password-icon {
    margin-right: 8px;

    color: #8d99a8;

    font-size: 11px;
}

.convert-password-wrapper input {
    flex: 1;

    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 10px;
}

.convert-password-wrapper input::placeholder {
    color: #a5aebb;
}


/* =========================================================
   MAIN CONVERT BUTTON
========================================================= */

.convert-main-button {
    width: 100%;
    height: 48px;

    padding: 0 15px;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #18aa70,
            #0d8a57
        );

    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10.5px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(22, 163, 106, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.convert-main-button:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 10px 23px rgba(22, 163, 106, 0.27);
}

.convert-main-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}

.convert-button-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.convert-button-arrow {
    font-size: 15px;
}


/* =========================================================
   CONVERSION STATUS
========================================================= */

.convert-status {
    display: none;

    margin-top: 12px;

    padding: 11px 12px;

    border-radius: 9px;

    font-size: 9px;
    font-weight: 600;

    line-height: 1.5;
}

.convert-status:not(:empty) {
    display: block;
}

.convert-status.success {
    border: 1px solid #bfe9d5;

    background: #eefaf4;

    color: #08764a;
}

.convert-status.error {
    border: 1px solid #f2c6c6;

    background: #fff3f3;

    color: #b42318;
}

.convert-status.info,
.convert-status.loading {
    border: 1px solid #cddcf7;

    background: #f2f6ff;

    color: #315da8;
}

.convert-status.warning {
    border: 1px solid #f3d6aa;

    background: #fff8ec;

    color: #a05a00;
}


/* =========================================================
   TRUST ROW
========================================================= */

.convert-trust-row {
    margin-top: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #909baa;

    font-size: 7.5px;
    font-weight: 600;

    text-align: center;
}

.convert-trust-row i {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #c4ccd5;
}


/* =========================================================
   PLACEHOLDER PAGES
========================================================= */

.placeholder-page {
    min-height: calc(100vh - 150px);

    border: 1px dashed #d8dee7;
    border-radius: 18px;

    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;
}

.placeholder-page h2 {
    font-size: 25px;
    letter-spacing: -0.8px;
}

.placeholder-page p {
    max-width: 430px;

    margin-top: 9px;

    color: var(--text-soft);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE - 1150
========================================================= */

@media (max-width: 1150px) {

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

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

    .convert-layout {
        grid-template-columns:
            minmax(240px, 0.65fr)
            minmax(450px, 1.35fr);
    }

}


/* =========================================================
   RESPONSIVE - 950
========================================================= */

@media (max-width: 950px) {

    .sidebar {
        transform: translateX(-100%);

        transition: transform 0.25s ease;
    }

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

    .main-area {
        margin-left: 0;
    }

    .mobile-menu {
        display: block;
    }

    .dashboard-lower-grid {
        grid-template-columns: 1fr;
    }

    .convert-layout {
        grid-template-columns: 1fr;
    }

    .convert-info-panel {
        order: 2;
    }

    .convert-form-card {
        order: 1;
    }

}


/* =========================================================
   RESPONSIVE - 760
========================================================= */

@media (max-width: 760px) {

    .topbar {
        padding: 0 18px;
    }

    .page {
        padding:
            24px 18px
            40px;
    }

    .topbar-left p {
        display: none;
    }

    .primary-action {
        padding: 0 11px;
    }

    .primary-action span + span {
        display: none;
    }

    .welcome-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .system-status {
        width: 100%;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

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

    .convert-page-header {
        flex-direction: column;
    }

    .convert-mode-grid {
        grid-template-columns: 1fr;
    }

    .convert-form-card {
        padding:
            0 18px
            20px;
    }

    .convert-card-accent {
        margin:
            0 -18px
            0;
    }

}


/* =========================================================
   RESPONSIVE - 520
========================================================= */

@media (max-width: 520px) {

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .topbar-actions .icon-button {
        display: none;
    }

    .welcome-row h2 {
        font-size: 20px;
    }

    .bank-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .convert-page-header h2 {
        font-size: 21px;
    }

    .convert-info-panel {
        padding: 20px;
    }

    .convert-form-header {
        flex-direction: column;
    }

    .convert-field-heading {
        align-items: flex-start;
    }

    .convert-trust-row {
        flex-wrap: wrap;
    }

}

/* =========================================================
   BATCH CONVERSION
========================================================= */
.batch-layout .convert-info-panel{align-self:start}.batch-output-note{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 18px;padding:12px 14px;border:1px solid var(--border);border-radius:11px;background:#f8fafc;font-size:10.5px;color:var(--text-soft)}.batch-output-note strong{color:var(--text);margin-right:3px}.batch-output-note span{padding:5px 8px;border-radius:20px;background:white;border:1px solid var(--border)}.batch-file-item{padding:12px 13px;margin-top:8px;border:1px solid var(--border);border-radius:10px;background:#fff}.batch-file-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.batch-file-name{min-width:0;font-size:11px;font-weight:650;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-file-size{flex:none;font-size:9px;color:var(--text-light)}.batch-lock{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:20px;background:#fff4e8;color:#b96816;font-size:8px;font-weight:800}.batch-file-password{width:100%;height:40px;margin-top:10px;padding:0 12px;border:1px solid var(--border);border-radius:8px;outline:none;background:#fff;color:var(--text)}.batch-file-password:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(22,163,106,.09)}


/* =========================================================
   BATCH CONVERSION — POLISHED UI
========================================================= */
#batchPage .convert-form-card{overflow:hidden}
#batchPage .convert-field{margin-bottom:24px}
#batchPage .convert-field-heading{margin-bottom:12px}
#batchPage .batch-mode-grid{gap:12px}
#batchPage .batch-mode-grid .convert-mode-card{min-width:0}
#batchPage .batch-mode-grid .convert-mode-inner{position:relative;min-height:112px;padding:16px 14px 14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;border:1px solid var(--border);border-radius:13px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}
#batchPage .batch-mode-grid .convert-mode-card:hover .convert-mode-inner{transform:translateY(-1px);border-color:#b9dcca;box-shadow:0 8px 22px rgba(16,24,40,.06)}
#batchPage .batch-mode-grid .convert-mode-card input:checked + .convert-mode-inner{border-color:var(--primary);background:linear-gradient(145deg,#fff 35%,#f0fbf6 100%);box-shadow:0 0 0 3px rgba(22,163,106,.08)}
#batchPage .batch-mode-grid .mode-check{position:absolute;top:12px;right:12px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2f6;color:transparent;font-size:12px;font-weight:800;transition:.18s ease}
#batchPage .batch-mode-grid .convert-mode-card input:checked + .convert-mode-inner .mode-check{background:var(--primary);color:#fff}
#batchPage .batch-mode-icon{width:31px;height:31px;margin-bottom:3px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);font-size:14px;font-weight:800}
#batchPage .batch-mode-grid strong{font-size:12.5px;color:var(--text)}
#batchPage .batch-mode-grid small{font-size:9.5px;line-height:1.4;color:var(--text-soft)}
#batchPage .convert-upload-box{min-height:174px;border-width:1.5px;background:linear-gradient(180deg,#fbfffd 0%,#f5fcf8 100%)}
#batchPage .convert-upload-box:hover{border-color:var(--primary);background:#f3fbf7}
#batchPage .convert-selected-files.visible{display:block;margin-top:14px}
#batchPage .batch-files-heading{margin:2px 0 8px;font-size:10px;font-weight:800;letter-spacing:.45px;text-transform:uppercase;color:var(--text-soft)}
#batchPage .batch-file-item{padding:13px 14px;margin-top:8px;border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.035)}
#batchPage .batch-file-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
#batchPage .batch-file-info{min-width:0;display:flex;flex-direction:column;gap:3px}
#batchPage .batch-file-info strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--text)}
#batchPage .batch-file-info small{font-size:9px;color:var(--text-light)}
#batchPage .batch-file-badge{flex:none;padding:5px 8px;border-radius:20px;background:var(--primary-soft);color:var(--primary-dark);font-size:8.5px;font-weight:800}
#batchPage .batch-file-badge.protected{background:#fff4e8;color:#b96816}
#batchPage .batch-file-password{width:100%;height:42px;margin-top:11px;padding:0 13px;border:1px solid #e2e8f0;border-radius:9px;outline:none;background:#fbfcfe;color:var(--text);font-size:10.5px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
#batchPage .batch-file-password::placeholder{color:#9aa6b5}
#batchPage .batch-file-password:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px rgba(22,163,106,.09)}
#batchPage .batch-output-note{margin-top:4px}
@media(max-width:720px){#batchPage .batch-mode-grid{grid-template-columns:1fr}#batchPage .batch-mode-grid .convert-mode-inner{min-height:96px}}


/* =========================================================
   BATCH MANUAL BANK FALLBACK
========================================================= */
.batch-file-badge.undetected{background:#fff1df;color:#b86412}
.batch-file-bank-wrap{margin-top:10px;padding:10px 11px;border:1px solid #e6eaf0;border-radius:9px;background:#f8fafc}
.batch-file-bank-label{display:block;margin-bottom:7px;font-size:9px;font-weight:700;color:var(--text-soft)}
.batch-file-bank-select{width:100%;height:40px;padding:0 34px 0 11px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:10.5px;outline:none;cursor:pointer}
.batch-file-bank-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(22,163,106,.09)}


/* =========================================================
   COMBINED LEDGER
========================================================= */
.ledger-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.ledger-page-header h2{font-size:24px;letter-spacing:-.7px}.ledger-page-header p{margin-top:7px;color:var(--text-soft);font-size:11.5px;line-height:1.6}.ledger-upload-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin-bottom:18px;border:1px solid #cfe8dc;border-radius:15px;background:linear-gradient(135deg,#fff 45%,#f2fbf7 100%);box-shadow:var(--shadow)}.ledger-upload-copy{display:flex;align-items:center;gap:13px}.ledger-upload-icon{width:43px;height:43px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);font-size:20px}.ledger-upload-copy strong{font-size:13px}.ledger-upload-copy p{margin-top:4px;color:var(--text-soft);font-size:10px}.ledger-upload-button,.ledger-export-button,.ledger-secondary-button{height:40px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}.ledger-upload-button,.ledger-export-button{padding:0 14px;border:0;background:linear-gradient(135deg,#18aa70,#108d5b);color:#fff;box-shadow:0 5px 15px rgba(22,163,106,.16)}.ledger-secondary-button{padding:0 13px;border:1px solid var(--border);background:#fff;color:var(--text-soft)}.ledger-hidden{display:none!important}.ledger-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:14px}.ledger-summary-card{min-height:104px;padding:15px;border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:var(--shadow);display:flex;align-items:flex-start;gap:11px}.ledger-summary-icon{width:34px;height:34px;flex:none;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:800}.ledger-summary-icon.green{background:var(--primary-soft);color:var(--primary)}.ledger-summary-icon.blue{background:var(--blue-soft);color:var(--blue)}.ledger-summary-icon.orange{background:var(--orange-soft);color:var(--orange)}.ledger-summary-icon.purple{background:var(--purple-soft);color:var(--purple)}.ledger-summary-card small{display:block;color:var(--text-light);font-size:7.5px;font-weight:800;letter-spacing:.7px}.ledger-summary-card strong{display:block;margin-top:5px;font-size:17px;color:var(--text);letter-spacing:-.4px}.ledger-summary-card p{margin-top:4px;color:var(--text-light);font-size:8.5px}.ledger-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 150px 132px 132px auto auto;gap:8px;padding:12px;margin-bottom:12px;border:1px solid var(--border);border-radius:12px;background:#fff}.ledger-search-wrap{height:40px;padding:0 11px;border:1px solid var(--border);border-radius:9px;display:flex;align-items:center;gap:8px;background:#fbfcfd}.ledger-search-wrap span{color:var(--text-light);font-size:16px}.ledger-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:10.5px}.ledger-filter{height:40px;padding:0 10px;border:1px solid var(--border);border-radius:9px;outline:0;background:#fbfcfd;color:var(--text);font-size:10px}.ledger-filter:focus,.ledger-search-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(22,163,106,.07)}.ledger-meta-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 2px 9px;color:var(--text-soft);font-size:9.5px}.ledger-meta-row>div{display:flex;align-items:center;gap:8px}.ledger-meta-row strong{color:var(--text);font-size:10.5px}.ledger-mode-badge{padding:4px 7px;border-radius:20px;background:var(--primary-soft);color:var(--primary-dark);font-size:7.5px;font-weight:800;letter-spacing:.5px}.ledger-table-card{border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.ledger-table-scroll{overflow:auto;max-height:520px}.ledger-table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px}.ledger-table th{position:sticky;top:0;z-index:2;padding:11px 12px;border-bottom:1px solid var(--border);background:#f8fafc;color:#697586;font-size:8px;font-weight:800;letter-spacing:.55px;text-transform:uppercase;text-align:left;white-space:nowrap}.ledger-table td{padding:10px 12px;border-bottom:1px solid #eef1f4;color:#344054;font-size:9.5px;line-height:1.45;vertical-align:top}.ledger-table tbody tr:hover td{background:#fbfdfc}.ledger-table tbody tr:last-child td{border-bottom:0}.ledger-table td.ledger-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ledger-table td.ledger-description{min-width:260px;max-width:430px}.ledger-empty{padding:42px 20px;text-align:center;color:var(--text-soft)}.ledger-empty div{font-size:26px;color:var(--text-light)}.ledger-empty strong{display:block;margin-top:7px;font-size:12px;color:var(--text)}.ledger-empty p{margin-top:5px;font-size:9.5px}.ledger-workspace>.convert-status{margin-top:12px}@media(max-width:1180px){.ledger-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-toolbar{grid-template-columns:1fr 1fr 1fr}.ledger-search-wrap{grid-column:1/-1}}@media(max-width:700px){.ledger-page-header,.ledger-upload-card{flex-direction:column}.ledger-upload-button{width:100%}.ledger-summary-grid{grid-template-columns:1fr}.ledger-toolbar{grid-template-columns:1fr}.ledger-search-wrap{grid-column:auto}.ledger-meta-row{align-items:flex-start;flex-direction:column}.ledger-date{width:100%}}


/* =========================================================
   INSIGHTS
========================================================= */
.insights-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.insights-page-header h2{font-size:24px;letter-spacing:-.7px}.insights-page-header p{margin-top:7px;color:var(--text-soft);font-size:11.5px}.insights-ready-badge{padding:8px 11px;border-radius:20px;background:var(--purple-soft);color:var(--purple);font-size:9px;font-weight:800}.insights-upload-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin-bottom:16px;border:1px solid #dbe5ef;border-radius:15px;background:linear-gradient(135deg,#fff 45%,#f6f9ff 100%);box-shadow:var(--shadow)}.insights-upload-copy{display:flex;align-items:center;gap:13px}.insights-upload-icon{width:43px;height:43px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--blue-soft);color:var(--blue);font-size:20px}.insights-upload-copy strong{font-size:13px}.insights-upload-copy p{margin-top:4px;color:var(--text-soft);font-size:10px}.insights-upload-button{height:40px;padding:0 14px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(135deg,#18aa70,#108d5b);color:#fff;font-size:10.5px;font-weight:700;cursor:pointer}.insights-hidden{display:none!important}.insights-filterbar{display:grid;grid-template-columns:minmax(220px,1fr) 160px 135px 135px auto;gap:8px;padding:11px;margin-bottom:14px;border:1px solid var(--border);border-radius:12px;background:#fff}.insights-file-meta{display:flex;align-items:center;gap:8px;padding:0 7px;min-width:0}.insights-file-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px}.insights-file-meta span{padding:4px 7px;border-radius:20px;background:var(--primary-soft);color:var(--primary-dark);font-size:7px;font-weight:800}.insights-filterbar select,.insights-filterbar input,.insights-filterbar button{height:38px;border:1px solid var(--border);border-radius:8px;background:#fbfcfd;color:var(--text);font-size:9.5px;padding:0 9px}.insights-filterbar button{background:#fff;font-weight:700;cursor:pointer}.insights-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:14px}.insights-kpi{min-height:108px;padding:15px;border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:var(--shadow);display:flex;gap:11px;align-items:flex-start}.ik-icon{width:34px;height:34px;flex:none;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:800}.ik-icon.green{background:var(--primary-soft);color:var(--primary)}.ik-icon.orange{background:var(--orange-soft);color:var(--orange)}.ik-icon.blue{background:var(--blue-soft);color:var(--blue)}.ik-icon.purple{background:var(--purple-soft);color:var(--purple)}.insights-kpi small{display:block;color:var(--text-light);font-size:7.5px;font-weight:800;letter-spacing:.65px}.insights-kpi strong{display:block;margin-top:5px;font-size:17px;letter-spacing:-.4px}.insights-kpi p{margin-top:4px;color:var(--text-light);font-size:8.5px}.insights-chart-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:14px;margin-bottom:14px}.insights-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.insights-panel{padding:17px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow);min-width:0}.insights-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:13px}.insights-panel-head h3{font-size:13px}.insights-panel-head .eyebrow{margin-bottom:4px;font-size:7.5px}.insights-panel-head>small{color:var(--text-light);font-size:8px}.insights-chart-wrap{position:relative;height:270px}.insights-chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--text-light);font-size:10px}.insights-ranking{display:flex;flex-direction:column;gap:8px}.insights-rank-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #edf0f3;border-radius:9px;background:#fbfcfd}.insights-rank-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px}.insights-rank-row small{display:block;margin-top:3px;color:var(--text-light);font-size:8px}.insights-rank-value{text-align:right;font-size:9px;font-weight:700;color:var(--text-soft)}.insights-no-data{padding:28px 10px;text-align:center;color:var(--text-light);font-size:9.5px}@media(max-width:1150px){.insights-kpi-grid{grid-template-columns:repeat(2,1fr)}.insights-chart-grid{grid-template-columns:1fr}.insights-filterbar{grid-template-columns:1fr 1fr 1fr}.insights-file-meta{grid-column:1/-1}}@media(max-width:700px){.insights-page-header,.insights-upload-card{flex-direction:column}.insights-upload-button{width:100%}.insights-kpi-grid,.insights-bottom-grid{grid-template-columns:1fr}.insights-filterbar{grid-template-columns:1fr}.insights-file-meta{grid-column:auto}.insights-chart-wrap{height:235px}}

.insights-bottom-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1250px){.insights-bottom-grid-three{grid-template-columns:1fr 1fr}.insights-bottom-grid-three .insights-panel:last-child{grid-column:1/-1}}
@media(max-width:700px){.insights-bottom-grid-three{grid-template-columns:1fr}.insights-bottom-grid-three .insights-panel:last-child{grid-column:auto}}


/* =========================================================
   ASK VELIQANO AI
========================================================= */
.ai-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.ai-page-header h2{font-size:24px;letter-spacing:-.7px}.ai-page-header p{margin-top:7px;color:var(--text-soft);font-size:11.5px}.ai-private-badge{padding:8px 11px;border-radius:20px;background:var(--primary-soft);color:var(--primary-dark);font-size:9px;font-weight:800}.ai-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:15px;align-items:stretch}.ai-side-card,.ai-chat-card{border:1px solid var(--border);border-radius:15px;background:#fff;box-shadow:var(--shadow)}.ai-side-card{padding:22px}.ai-orb{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eefaf5,#edf3ff);color:var(--primary);font-size:21px}.ai-side-card h3{margin-top:15px;font-size:15px}.ai-side-card>p{margin-top:7px;color:var(--text-soft);font-size:10px;line-height:1.6}.ai-upload-button{height:42px;margin-top:17px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(135deg,#18aa70,#108d5b);color:#fff;font-size:10.5px;font-weight:700;cursor:pointer}.ai-hidden{display:none!important}.ai-file-card{margin-top:11px;padding:10px;border:1px solid #dce9e3;border-radius:10px;background:#f8fcfa;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px}.ai-file-card>span{color:var(--primary);font-size:17px}.ai-file-card strong{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px}.ai-file-card small{display:block;margin-top:3px;color:var(--text-light);font-size:8px}.ai-file-card button{border:0;background:transparent;color:var(--text-light);font-size:18px;cursor:pointer}.ai-data-note{margin-top:17px;padding:12px;border-radius:10px;background:#f7f9fc}.ai-data-note strong{font-size:9.5px;color:var(--text)}.ai-data-note p{margin-top:5px;color:var(--text-light);font-size:8.5px;line-height:1.5}.ai-chat-card{min-height:610px;display:flex;flex-direction:column;overflow:hidden}.ai-chat-head{height:62px;padding:0 17px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.ai-chat-head>div{display:flex;align-items:center;gap:9px}.ai-status-dot{width:8px;height:8px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.ai-chat-head strong{display:block;font-size:11px}.ai-chat-head small{display:block;margin-top:2px;color:var(--text-light);font-size:8px}.ai-chat-head button{border:0;background:transparent;color:var(--text-soft);font-size:9px;font-weight:700;cursor:pointer}.ai-messages{flex:1;min-height:340px;max-height:440px;overflow-y:auto;padding:20px;background:linear-gradient(180deg,#fbfcfd 0%,#fff 100%)}.ai-message{display:flex;gap:9px;margin-bottom:15px}.ai-message.ai-user{justify-content:flex-end}.ai-avatar{width:28px;height:28px;flex:none;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);font-size:12px}.ai-bubble{max-width:78%;padding:11px 13px;border:1px solid var(--border);border-radius:4px 12px 12px 12px;background:#fff}.ai-bubble strong{font-size:10.5px}.ai-bubble p{margin-top:4px;color:var(--text-soft);font-size:10px;line-height:1.6;white-space:pre-line}.ai-user .ai-bubble{border:0;border-radius:12px 4px 12px 12px;background:#122033;color:#fff}.ai-user .ai-bubble p{margin:0;color:#fff}.ai-calculation{margin-top:8px;padding-top:8px;border-top:1px solid #edf0f3;color:var(--text-light);font-size:8.5px;line-height:1.5}.ai-suggestions{padding:10px 15px 0;display:flex;gap:7px;flex-wrap:wrap}.ai-suggestions button{padding:7px 9px;border:1px solid var(--border);border-radius:20px;background:#fff;color:var(--text-soft);font-size:8.5px;cursor:pointer}.ai-suggestions button:hover{border-color:#b7dfcd;color:var(--primary-dark);background:var(--primary-soft)}.ai-composer{margin:11px 15px 0;padding:7px 7px 7px 12px;border:1px solid var(--border);border-radius:11px;display:flex;align-items:flex-end;gap:8px;background:#fff}.ai-composer:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(22,163,106,.07)}.ai-composer textarea{flex:1;min-height:34px;max-height:90px;padding:8px 0;border:0;outline:0;resize:none;color:var(--text);font:inherit;font-size:10.5px}.ai-composer button{width:36px;height:36px;flex:none;border:0;border-radius:9px;background:var(--primary);color:#fff;cursor:pointer}.ai-composer button:disabled,.ai-composer textarea:disabled{opacity:.45;cursor:not-allowed}.ai-status{min-height:28px;padding:7px 16px 12px;color:var(--text-light);font-size:8.5px}.ai-status.error{color:var(--red)}@media(max-width:900px){.ai-shell{grid-template-columns:1fr}.ai-chat-card{min-height:560px}}@media(max-width:700px){.ai-page-header{flex-direction:column}.ai-bubble{max-width:90%}.ai-suggestions{overflow-x:auto;flex-wrap:nowrap}.ai-suggestions button{white-space:nowrap}}

/* =========================================================
   CONVERSION HISTORY
========================================================= */
.history-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.history-header h2{font-size:23px;letter-spacing:-.6px}.history-header p{margin-top:7px;color:var(--text-soft);font-size:12px}.history-clear-btn{height:38px;padding:0 14px;border:1px solid #f2c7c9;border-radius:9px;background:#fff;color:var(--red);font-size:11px;font-weight:700;cursor:pointer}.history-clear-btn:hover{background:var(--red-soft)}.history-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.history-summary-card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:17px 18px;box-shadow:var(--shadow)}.history-summary-card span{display:block;color:var(--text-soft);font-size:10px;font-weight:600;margin-bottom:7px}.history-summary-card strong{font-size:22px;letter-spacing:-.5px}.history-panel{background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.history-toolbar{padding:15px 16px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(220px,1fr) 160px 180px;gap:10px}.history-search-wrap{height:38px;border:1px solid var(--border);border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 11px}.history-search-wrap span{color:var(--text-light);font-size:17px}.history-search-wrap input{border:0;outline:0;width:100%;font-size:11px;color:var(--text);background:transparent}.history-toolbar select{height:38px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);padding:0 10px;font-size:11px;outline:0}.history-table-wrap{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;min-width:820px}.history-table th{padding:11px 16px;text-align:left;background:#fafbfc;color:var(--text-soft);font-size:9px;text-transform:uppercase;letter-spacing:.65px;border-bottom:1px solid var(--border)}.history-table td{padding:14px 16px;border-bottom:1px solid #eef1f4;font-size:11px;color:var(--text-soft)}.history-table tbody tr:hover{background:#fbfcfd}.history-file{display:flex;align-items:center;gap:9px;color:var(--text);font-weight:600}.history-file-icon{width:29px;height:29px;border-radius:7px;background:var(--primary-soft);color:var(--primary);display:inline-flex;align-items:center;justify-content:center;font-size:13px}.history-mode{display:inline-flex;padding:4px 8px;border-radius:20px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.history-mode.quick{background:var(--blue-soft);color:var(--blue)}.history-mode.tax{background:var(--orange-soft);color:#c56c12}.history-mode.accounting{background:var(--purple-soft);color:var(--purple)}.history-mode.batch{background:#f2f4f7;color:#667085}.history-status{display:inline-flex;align-items:center;gap:5px;color:var(--primary-dark);font-size:10px;font-weight:700}.history-status::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--primary)}.history-empty{text-align:center;padding:58px 20px;color:var(--text-soft)}.history-empty div{font-size:27px;color:var(--text-light);margin-bottom:8px}.history-empty strong{display:block;color:var(--text);font-size:12px}.history-empty p{font-size:10px;margin-top:5px}.history-empty.history-hidden{display:none}@media(max-width:900px){.history-summary-grid{grid-template-columns:repeat(2,1fr)}.history-toolbar{grid-template-columns:1fr 1fr}.history-search-wrap{grid-column:1/-1}}@media(max-width:560px){.history-header{align-items:flex-start;flex-direction:column}.history-summary-grid{grid-template-columns:1fr 1fr}.history-toolbar{grid-template-columns:1fr}.history-search-wrap{grid-column:auto}}

/* =========================================================
   SETTINGS
========================================================= */
.settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.settings-header h2{font-size:23px;letter-spacing:-.6px}.settings-header p{margin-top:7px;color:var(--text-soft);font-size:12px}.settings-saved-badge{padding:7px 10px;border-radius:20px;background:var(--primary-soft);color:var(--primary-dark);font-size:8.5px;font-weight:800}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-card{padding:19px;border:1px solid var(--border);border-radius:15px;background:#fff;box-shadow:var(--shadow)}.settings-card-head{display:flex;align-items:flex-start;gap:11px;padding-bottom:15px;border-bottom:1px solid #eef1f4}.settings-icon{width:36px;height:36px;flex:none;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800}.settings-icon.green{background:var(--primary-soft);color:var(--primary)}.settings-icon.blue{background:var(--blue-soft);color:var(--blue)}.settings-icon.purple{background:var(--purple-soft);color:var(--purple)}.settings-icon.orange{background:var(--orange-soft);color:var(--orange)}.settings-card-head h3{font-size:13px}.settings-card-head p{margin-top:4px;color:var(--text-soft);font-size:9.5px}.settings-field,.settings-toggle-row{min-height:67px;padding:13px 0;border-bottom:1px solid #f0f2f4;display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-field:last-child,.settings-toggle-row:last-child{border-bottom:0}.settings-field strong,.settings-toggle-row strong{display:block;font-size:10.5px}.settings-field small,.settings-toggle-row small{display:block;margin-top:4px;color:var(--text-light);font-size:8.5px;line-height:1.4}.settings-field select{width:180px;height:36px;flex:none;border:1px solid var(--border);border-radius:8px;background:#fbfcfd;padding:0 9px;color:var(--text);font-size:9.5px;outline:0}.settings-switch{position:relative;width:38px;height:22px;flex:none}.settings-switch input{position:absolute;opacity:0;pointer-events:none}.settings-switch i{position:absolute;inset:0;border-radius:20px;background:#d9dee5;cursor:pointer;transition:.2s}.settings-switch i:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.15);transition:.2s}.settings-switch input:checked+i{background:var(--primary)}.settings-switch input:checked+i:after{transform:translateX(16px)}.settings-info-box{margin-top:14px;padding:13px;border-radius:10px;background:#f7f9fc}.settings-info-box strong{font-size:9.5px}.settings-info-box p{margin-top:5px;color:var(--text-soft);font-size:8.5px;line-height:1.55}.settings-engine-row{min-height:48px;border-bottom:1px solid #f0f2f4;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9.5px}.settings-engine-row:last-child{border-bottom:0}.settings-engine-row span{color:var(--text-soft)}.settings-engine-row strong{text-align:right;font-size:9.5px}.settings-ok{color:var(--primary-dark)}.settings-actions{margin-top:15px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-actions strong{font-size:11px}.settings-actions p{margin-top:4px;color:var(--text-light);font-size:8.5px}.settings-actions>div:last-child{display:flex;gap:8px}.settings-reset,.settings-save{height:37px;padding:0 13px;border-radius:8px;font-size:9.5px;font-weight:700;cursor:pointer}.settings-reset{border:1px solid var(--border);background:#fff;color:var(--text-soft)}.settings-save{border:0;background:linear-gradient(135deg,#18aa70,#108d5b);color:#fff}.settings-save{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,opacity .18s ease;min-width:108px}.settings-save:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 16px rgba(22,163,106,.22)}.settings-save:active:not(:disabled){transform:translateY(1px)}.settings-save.saving{opacity:.78;cursor:wait}.settings-save.saved{background:linear-gradient(135deg,#12925e,#087448);box-shadow:0 0 0 3px rgba(22,163,106,.12)}.settings-save:disabled{cursor:wait}.compact-tables .history-table td{padding-top:9px;padding-bottom:9px}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}}@media(max-width:600px){.settings-header,.settings-actions{flex-direction:column;align-items:flex-start}.settings-actions>div:last-child{width:100%}.settings-reset,.settings-save{flex:1}.settings-field{align-items:flex-start;flex-direction:column}.settings-field select{width:100%}}

/* =========================================================
   VELIQANO — SMART RULES + ACCOUNTING FORM VISUAL FIX
   Scoped to the two pages; no backend or conversion changes.
========================================================= */
#accountingPage .upload-box {
    min-height: 148px; width: 100%; padding: 20px 16px;
    border: 1.5px dashed #cbd8d3; border-radius: 12px;
    background: linear-gradient(145deg,#fbfefd,#f4faf7);
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 7px; text-align: center;
    cursor: pointer; transition: border-color .2s, background .2s;
}
#accountingPage .upload-box:hover { border-color: var(--primary); background:#f1faf5; }
#accountingPage .upload-box .upload-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-soft); color: var(--primary); font-size: 19px;
}
#accountingPage .upload-box strong { display:block; font-size: 12px; color:var(--text); }
#accountingPage .upload-box #accountingUploadHint { display:block; font-size:10px; color:var(--text-soft); }
#accountingPage .upload-box .browse-button {
    display:inline-flex; align-items:center; justify-content:center;
    padding:7px 14px; border:1px solid #dce6e0; border-radius:7px;
    background:#fff; color:#3c5348; font-size:10px; font-weight:700;
}
#accountingPage .selected-files:not(:empty) {
    margin-top: 10px; padding: 10px 12px; background:#f8fbf9;
    border:1px solid var(--border); border-radius:9px;
    color:var(--text-soft); font-size:10px; overflow-wrap:anywhere;
}
#accountingPage .convert-input, #rulesPage .convert-input {
    display:block; width:100%; min-width:0; height:44px;
    padding:0 13px; border:1px solid #dfe5eb; border-radius:9px;
    outline:none; background:#fbfcfd; color:var(--text);
    font-size:11px; line-height:1.4; transition:border-color .2s,box-shadow .2s;
}
#accountingPage .convert-input:focus, #rulesPage .convert-input:focus {
    background:#fff; border-color:#55c899;
    box-shadow:0 0 0 3px rgba(22,163,106,.09);
}
#accountingPage .convert-submit, #rulesPage .convert-submit {
    min-height:46px; padding:0 17px; border:0; border-radius:10px;
    background:linear-gradient(135deg,#18aa70,#0d8a57); color:#fff;
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    font-size:11px; font-weight:700; cursor:pointer;
    box-shadow:0 7px 18px rgba(22,163,106,.17);
    transition:transform .2s,box-shadow .2s;
}
#accountingPage .convert-submit { width:100%; }
#accountingPage .convert-submit:hover:not(:disabled), #rulesPage .convert-submit:hover:not(:disabled) {
    transform:translateY(-1px); box-shadow:0 10px 23px rgba(22,163,106,.23);
}
#accountingPage .convert-submit:disabled, #rulesPage .convert-submit:disabled {opacity:.65;cursor:not-allowed;}
#rulesPage .convert-form-card {max-width:900px;}
#rulesPage #smartRuleForm {gap:17px !important;}
#rulesPage #smartRuleForm > label {
    display:flex; flex-direction:column; gap:8px; width:100%;
    color:#263342; font-size:11px; font-weight:700;
}
#rulesPage #smartRuleForm > label > input,
#rulesPage #smartRuleForm > label > select {font-weight:500;}
#rulesPage #smartRuleForm > div:has(> #smartRuleSubmit) {align-items:center;}
#rulesPage #smartRuleSubmit {min-width:135px;justify-content:center;}
#rulesPage #smartRuleCancel {
    min-height:46px; padding:0 18px !important; border:1px solid var(--border);
    border-radius:9px; background:#fff; color:var(--text-soft);
    font-size:11px; font-weight:700; cursor:pointer;
}
#rulesPage #smartRuleStatus:not(:empty) {font-size:11px;line-height:1.5;}
#rulesPage #smartRulesList {font-size:11px;overflow-wrap:anywhere;}
#rulesPage #smartRulesList button {
    padding:8px 12px; border:1px solid var(--border); border-radius:8px;
    background:#fff; font-size:10px; font-weight:600; cursor:pointer;
}
@media(max-width:600px) {
    #rulesPage .convert-form-card {padding:18px !important;}
    #rulesPage #smartRuleSubmit {width:100% !important;}
    #rulesPage #smartRuleForm > div:has(> #smartRuleSubmit) {flex-direction:column;align-items:stretch;}
}

/* Bank-to-books reconciliation */
.recon-panel {padding:28px;margin-bottom:20px}
.recon-panel h3 {margin-bottom:12px}
.recon-note {color:var(--text-soft);font-size:13px;line-height:1.7;margin:10px 0 22px}
.recon-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.recon-field {display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}
.recon-field span {font-size:12px;color:var(--text-soft)}
.recon-field input {max-width:100%;font-size:12px}
.recon-submit {width:max-content;max-width:100%;height:auto;min-height:42px;padding:12px 20px}
.recon-submit:disabled {opacity:.65;cursor:wait}
.recon-status {font-size:13px;margin-top:14px;min-height:22px;color:var(--text-soft)}
.recon-help p {line-height:1.7}
@media(max-width:750px){.recon-fields{grid-template-columns:1fr}.recon-panel{padding:18px}}

/* Manual reconciliation review */
.manual-review-panel{margin-top:24px;padding:22px;border:1px solid #d8e3e1;border-radius:16px;background:#f7faf9}
.manual-review-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.manual-review-selects label{display:flex;flex-direction:column;gap:8px;font-weight:600}
.manual-review-selects select{max-width:100%;min-width:0;padding:12px;border:1px solid #b9cac7;border-radius:8px;background:white}
.manual-review-actions{display:flex;flex-wrap:wrap;gap:10px}
#manualReviewStatus{margin:12px 0;color:#274a43}
@media(max-width:800px){.manual-review-selects{grid-template-columns:1fr}}

/* =========================================================
   VELIQANO — PREMIUM SUBSCRIPTION PAGE (CSS ONLY)
   Scoped to #billingPage so other pages remain unchanged.
   ========================================================= */
#billingPage{--sub-green:#0ba66a;--sub-ink:#13233a;--sub-muted:#64748b;--sub-line:#e4eaf1;color:var(--sub-ink);padding-top:25px}
#billingPage .history-header{margin-bottom:22px}
#billingPage .history-header .eyebrow{font-size:10px;letter-spacing:1.7px;color:#0b9865}
#billingPage .history-header h2{font-size:clamp(23px,2.5vw,32px);letter-spacing:-1px;margin:5px 0 7px}
#billingPage .history-header p{font-size:12.5px;line-height:1.7;color:var(--sub-muted)}
#billingPage .history-header::after{content:"Convert smarter. Grow without limits.";display:block;flex:1;min-width:210px;padding:19px 24px;border:1px solid #b9ebd4;border-radius:17px;background:linear-gradient(110deg,#e8fbf2,#f3fffb 58%,#eaf6ff);color:#117950;font-size:16px;font-weight:750;letter-spacing:-.35px;text-align:center}
#billingPage > .settings-card{padding:26px !important;margin:0 !important;border:1px solid #e4eaf0;border-radius:21px;background:#fff;box-shadow:0 12px 35px rgba(18,40,64,.045)}
#billingPage > .settings-card > h3{font-size:19px;letter-spacing:-.4px;margin:0 0 8px;color:#15243b}
#billingPage #vqPlanStatus{display:inline-flex;align-items:center;min-height:31px;max-width:100%;padding:7px 13px;border:1px solid #c5efdb;border-radius:99px;background:#edfbf4;color:#127b53;font-size:11px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
#billingPage #vqPlanCards{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:17px !important;margin:23px 0 33px !important}
#billingPage #vqPlanCards > div{position:relative;min-width:0;min-height:207px;padding:23px 21px 22px !important;border:1px solid #e0e7ef !important;border-radius:17px !important;background:linear-gradient(165deg,#fff,#fafcff);box-shadow:0 5px 15px rgba(25,48,74,.035);transition:transform .2s,box-shadow .2s,border-color .2s}
#billingPage #vqPlanCards > div:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(25,48,74,.09)}
#billingPage #vqPlanCards > div::before{content:"✦";display:grid;place-items:center;width:43px;height:43px;margin-bottom:15px;border-radius:14px;background:#e8f9f1;color:#0ca86d;font-size:23px}
#billingPage #vqPlanCards > div:nth-child(2){border:1.5px solid #19bb7d !important;background:linear-gradient(150deg,#fff 40%,#eefcf5);box-shadow:0 9px 27px rgba(13,164,104,.09)}
#billingPage #vqPlanCards > div:nth-child(2)::before{content:"↗";background:#dcfaeb;color:#079b61;font-weight:800}
#billingPage #vqPlanCards > div:nth-child(2)::after{content:"POPULAR";position:absolute;right:16px;top:19px;padding:6px 10px;border-radius:99px;background:#e2f9ed;color:#087f52;font-size:9px;font-weight:800;letter-spacing:.5px}
#billingPage #vqPlanCards > div:nth-child(3){background:linear-gradient(155deg,#fff 35%,#f6f2ff);border-color:#e4d9ff !important}
#billingPage #vqPlanCards > div:nth-child(3)::before{content:"♛";background:#eee6ff;color:#7047d9}
#billingPage #vqPlanCards h3{margin:0 0 10px;font-size:16px;color:#15243b}
#billingPage #vqPlanCards p{margin:6px 0;color:#64748b;font-size:12px;line-height:1.5}
#billingPage #vqPlanCards p[style]{margin:9px 0 10px !important;font-size:29px !important;font-weight:800 !important;letter-spacing:-1px;color:#10233c}
#billingPage #vqPlanCards > div:nth-child(3) p[style]{color:#673ad2}
#billingPage #vqPlanCards p:last-child{display:inline-block;margin-top:8px;padding:7px 12px;border-radius:99px;background:#eef3f8;color:#4d5f74;font-size:11px;font-weight:750}
#billingPage #vqPlanCards > div:nth-child(2) p:last-child{background:#dff8eb;color:#087d51}
#billingPage #vqPlanCards > div:nth-child(3) p:last-child{background:#eee6ff;color:#7044d2}
#billingPage > .settings-card > h3:nth-of-type(2){padding-top:27px;border-top:1px solid #edf0f4;margin-bottom:6px}
#billingPage #vqInstructions{padding:15px 17px;margin:14px 0 19px !important;border:1px solid #dbece7;border-radius:12px;background:#f5fcf8;color:#3e6456;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#billingPage #vqPaymentForm{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px !important;max-width:none !important;margin:0 0 15px}
#billingPage #vqPaymentForm label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#34445a}
#billingPage #vqPaymentForm label:nth-child(3){grid-column:1/-1}
#billingPage #vqPaymentForm input,#billingPage #vqPaymentForm select{width:100%;min-width:0;height:46px;padding:0 14px !important;border:1px solid #dce4ed;border-radius:10px;background:#fbfcfe;color:#20314a;font-size:12px;font-weight:500;outline:none;transition:border-color .2s,box-shadow .2s}
#billingPage #vqPaymentForm input:focus,#billingPage #vqPaymentForm select:focus{border-color:#18b47a;box-shadow:0 0 0 4px rgba(24,180,122,.1);background:#fff}
#billingPage #vqPaymentForm input::placeholder{color:#9ba7b5}
#billingPage #vqPaymentForm button{grid-column:1/-1;min-height:47px;border:0;border-radius:11px;background:linear-gradient(110deg,#12b97a,#088f5e);color:#fff;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px rgba(12,165,105,.16);transition:transform .2s,box-shadow .2s}
#billingPage #vqPaymentForm button:hover{transform:translateY(-1px);box-shadow:0 12px 23px rgba(12,165,105,.24)}
#billingPage #vqPaymentStatus:not(:empty){margin:13px 0;padding:13px 15px;border:1px solid #cfe9df;border-radius:10px;background:#f0faf5;color:#27674e;font-size:12px;line-height:1.6}
#billingPage > .settings-card > h3:nth-of-type(3){padding-top:25px;margin-top:27px !important;border-top:1px solid #edf0f4}
#billingPage #vqMyRequests{margin-top:14px;min-height:65px;padding:16px 18px;border:1px solid #e7edf3;border-radius:12px;background:#f9fbfe;color:#64748b;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
#billingPage #vqMyRequests p{font-size:12px;line-height:1.65}
@media(max-width:1100px){#billingPage .history-header::after{display:none}}
@media(max-width:760px){#billingPage #vqPlanCards{grid-template-columns:1fr !important}#billingPage #vqPlanCards > div{min-height:0}#billingPage #vqPaymentForm{grid-template-columns:1fr}#billingPage #vqPaymentForm label:nth-child(3){grid-column:auto}#billingPage #vqPaymentForm button{grid-column:auto}#billingPage > .settings-card{padding:18px !important}}

/* =========================================================
   VELIQANO — PREMIUM ADMIN WORKSPACE
   Scoped to #adminPage; keeps billing/converter styles intact.
   ========================================================= */
#adminPage{--ad-ink:#14243a;--ad-muted:#6b7b8f;--ad-line:#e3eaf1;padding-top:27px;color:var(--ad-ink)}
#adminPage .history-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:23px;padding:25px 29px;border:1px solid #d6eee2;border-radius:19px;background:linear-gradient(112deg,#e9faf1 0%,#f5fffa 54%,#f1f7ff 100%);box-shadow:0 8px 30px rgba(22,55,42,.035)}
#adminPage .history-header .eyebrow{font-size:10px;letter-spacing:1.7px;color:#0c9b64}
#adminPage .history-header h2{margin:4px 0 7px;font-size:clamp(24px,2.7vw,32px);font-weight:800;letter-spacing:-.9px;color:#123048}
#adminPage .history-header p{font-size:12px;line-height:1.6;color:#5f7b75}
#adminPage #adminRefresh{min-height:41px;padding:0 19px;border:1px solid #b7e5d0;border-radius:10px;background:#fff;color:#0a895b;font-size:12px;font-weight:750;box-shadow:0 4px 12px rgba(15,111,73,.07);cursor:pointer;transition:transform .2s,box-shadow .2s}
#adminPage #adminRefresh:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,111,73,.13)}
#adminPage .history-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}
#adminPage .history-summary-card{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:145px;padding:23px 20px 20px;border:1px solid #e4eaf1;border-radius:17px;background:#fff;box-shadow:0 5px 20px rgba(20,38,62,.04);overflow:hidden;transition:transform .2s,box-shadow .2s}
#adminPage .history-summary-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(20,38,62,.09)}
#adminPage .history-summary-card::before{content:'◉';display:grid;place-items:center;width:37px;height:37px;margin-bottom:16px;border-radius:11px;background:#e7f8ef;color:#0e9d67;font-size:18px}
#adminPage .history-summary-card:nth-child(2)::before{content:'✓';background:#eaf3ff;color:#3978f6}
#adminPage .history-summary-card:nth-child(3)::before{content:'♧';background:#f0ebff;color:#7757d9}
#adminPage .history-summary-card:nth-child(4)::before{content:'↗';background:#fff2e5;color:#d58a32}
#adminPage .history-summary-card span{font-size:11px;font-weight:650;color:#718094;line-height:1.5}
#adminPage .history-summary-card strong{display:block;margin-top:7px;font-size:29px;font-weight:800;line-height:1.1;letter-spacing:-1px;color:#14263d}
#adminPage .history-panel{overflow:hidden;border:1px solid #e4eaf1;border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(20,38,62,.04)}
#adminPage .history-toolbar{padding:19px 21px;border-bottom:1px solid #eef1f5;background:#fff}
#adminPage .history-search-wrap{max-width:420px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #dce5ee;border-radius:11px;background:#f9fbfd}
#adminPage .history-search-wrap span{font-size:19px;color:#91a0af}
#adminPage #adminSearch{width:100%;min-width:0;height:42px;border:0;outline:0;background:transparent;color:#253a51;font-size:12px}
#adminPage .history-search-wrap:focus-within{border-color:#1bb47a;box-shadow:0 0 0 3px rgba(27,180,122,.09)}
#adminPage .history-table-wrap{overflow-x:auto}
#adminPage .history-table{width:100%;border-collapse:collapse;min-width:720px}
#adminPage .history-table th{padding:16px 18px;background:#f7fafc;color:#697b8d;font-size:10px;font-weight:800;letter-spacing:.45px;text-transform:uppercase;text-align:left;border-bottom:1px solid #e7edf3}
#adminPage .history-table td{padding:16px 18px;border-bottom:1px solid #eef2f5;font-size:11.5px;color:#415169;vertical-align:middle;overflow-wrap:anywhere}
#adminPage .history-table tbody tr:hover{background:#f8fcfa}
#adminPage .history-table tbody tr:last-child td{border-bottom:0}
#adminPage #adminEmpty{padding:25px;text-align:center;color:#6d7c8c}
#adminPage > .settings-card{position:relative;margin-top:23px!important;padding:25px 26px!important;border:1px solid #e1e9f0;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(20,38,62,.04)}
#adminPage > .settings-card::before{content:'BANK TRANSFER VERIFICATION';display:block;margin-bottom:10px;color:#0b9d67;font-size:10px;font-weight:800;letter-spacing:1.3px}
#adminPage > .settings-card > h3{font-size:20px;font-weight:800;letter-spacing:-.5px;color:#152b41}
#adminPage > .settings-card > p{margin:8px 0 21px;font-size:12px;line-height:1.65;color:#697b8b}
#adminPage #vqAdminPayments{display:grid;gap:12px;font-size:12px;color:#52677a}
#adminPage #vqAdminPayments > div{margin:0;padding:18px 19px!important;border:1px solid #e4ebf1!important;border-radius:13px;background:linear-gradient(135deg,#fff,#fbfdfd);overflow-wrap:anywhere;line-height:1.7}
#adminPage #vqAdminPayments > div strong{color:#1b3448;font-size:13px}
#adminPage #vqAdminPayments > div p{margin:8px 0 12px;color:#607287;font-size:11.5px;line-height:1.6}
#adminPage #vqAdminPayments button{min-height:36px;padding:8px 16px;margin:4px 7px 0 0;border:1px solid #cdeadd;border-radius:9px;background:#e8f8ef;color:#087e53;font-size:11px;font-weight:750;cursor:pointer;transition:transform .2s,filter .2s}
#adminPage #vqAdminPayments button[data-vq-decision="reject"]{border-color:#f3d5d6;background:#fff0f1;color:#b33c43}
#adminPage #vqAdminPayments button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.97)}
#adminPage #vqAdminPayments button:disabled{opacity:.55;cursor:wait}
@media(max-width:1100px){#adminPage .history-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#adminPage .history-header{padding:20px}#adminPage .history-summary-grid{gap:10px}#adminPage .history-summary-card{min-height:126px;padding:15px}#adminPage .history-summary-card strong{font-size:25px}#adminPage > .settings-card{padding:19px!important}#adminPage .history-toolbar{padding:14px}}
@media(max-width:380px){#adminPage .history-summary-grid{grid-template-columns:1fr}}


/* VELIQANO — refined bank reconciliation experience (scoped, non-invasive) */
#reconciliationPage {--recon-ink:#13243b;--recon-green:#10966a;--recon-line:#e1eaf0;}
#reconciliationPage .convert-page-header h2,
#reconciliationPage .history-header h2 {color:var(--recon-ink);letter-spacing:-.65px}
#reconciliationPage .recon-panel {border:1px solid var(--recon-line);border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(19,36,59,.045);padding:29px}
#reconciliationPage .recon-panel h3 {font-size:19px;color:var(--recon-ink);letter-spacing:-.3px}
#reconciliationPage .recon-note {font-size:12px;color:#65768b;line-height:1.75}
#reconciliationPage .recon-fields {gap:18px;margin:22px 0}
#reconciliationPage .recon-field {padding:23px;border:1px solid #e0e8ef;border-radius:15px;background:linear-gradient(150deg,#f8fafc,#f2f7fb);transition:border-color .2s,box-shadow .2s}
#reconciliationPage .recon-field:focus-within {border-color:#66cda5;box-shadow:0 0 0 4px rgba(16,150,106,.08)}
#reconciliationPage .recon-field input[type=file] {width:100%;padding:10px;border:1px dashed #b7cad2;border-radius:9px;background:#fff;color:#3c4f63}
#reconciliationPage .recon-field input[type=file]::file-selector-button {border:0;border-radius:7px;background:#e3f7ee;color:#08784e;padding:8px 12px;margin-right:12px;font-weight:700;cursor:pointer}
#reconciliationPage .recon-submit {border-radius:10px;box-shadow:0 7px 16px rgba(14,152,98,.14);font-weight:700}
#reconciliationPage .manual-review-panel {background:linear-gradient(155deg,#f7fcfa,#f4f9fc);border:1px solid #d5e8df;border-radius:17px;padding:26px;box-shadow:0 8px 24px rgba(13,83,65,.04)}
#reconciliationPage .manual-review-panel h3 {color:#173d36;font-size:18px}
#reconciliationPage .manual-review-selects select {min-height:46px;border:1px solid #cbdcd7;border-radius:10px;box-shadow:0 2px 6px rgba(20,40,50,.025)}
#reconciliationPage .manual-review-selects select:focus {outline:2px solid #a1dec4;outline-offset:1px}
#reconciliationPage .manual-review-actions button {min-height:39px;padding:10px 15px;border-radius:9px;font-weight:700;transition:filter .15s,transform .15s}
#reconciliationPage .manual-review-actions button:hover {filter:brightness(.96);transform:translateY(-1px)}
#reconciliationPage #manualReviewStatus {line-height:1.6;font-size:12px;color:#315e51}
@media(max-width:750px){#reconciliationPage .recon-panel{padding:19px}#reconciliationPage .manual-review-panel{padding:18px}}

/* Reviewable transaction working table */
.vq-review-table{width:100%;border-collapse:collapse;min-width:960px;font-size:12px}.vq-review-table th{position:sticky;top:0;background:#eaf5ef;color:#123c35;text-align:left;padding:12px 9px;z-index:2}.vq-review-table td{border-bottom:1px solid #e5eaf0;padding:7px}.vq-review-table input,.vq-review-table select{width:100%;min-width:105px;border:1px solid #d4dee5;border-radius:6px;padding:8px;font-size:12px;background:white}.vq-review-table .vq-desc{min-width:260px}.vq-review-table .vq-cat{min-width:180px}.vq-review-table .vq-bad{background:#fff5e9}.vq-review-table td:last-child{min-width:120px;color:#aa6000}

/* Advanced Insights indicators (scoped to Insights page) */
#insightsPage .vq-finance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0 10px}
#insightsPage .vq-finance-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:19px;min-width:0;box-shadow:var(--shadow)}
#insightsPage .vq-finance-card small{display:block;color:var(--text-soft);font-size:10px;letter-spacing:.65px;font-weight:700}
#insightsPage .vq-finance-card strong{display:block;margin:10px 0;font-size:19px;overflow-wrap:anywhere;color:var(--text)}
#insightsPage .vq-finance-card p,#insightsPage .vq-finance-disclaimer{color:var(--text-soft);font-size:11px;line-height:1.6}
#insightsPage .vq-finance-disclaimer{margin:0 0 18px}
@media(max-width:1150px){#insightsPage .vq-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#insightsPage .vq-finance-grid{grid-template-columns:1fr}}

/* Financial report export — Insights only */
.vq-report-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;margin:12px 0 18px;border:1px solid var(--border);border-radius:13px;background:#fff;flex-wrap:wrap}
.vq-report-bar strong{font-size:14px;color:var(--text)}
.vq-report-bar p{font-size:11px;color:var(--text-soft);margin-top:5px}
.vq-report-bar .primary-action{cursor:pointer;white-space:nowrap}
@media(max-width:650px){.vq-report-bar .primary-action{width:100%;justify-content:center}}

/* QuickBooks / Xero bank CSV export */
.vq-export-panel{margin-top:25px;padding:25px;max-width:1100px}
.vq-export-panel h3{font-size:20px;margin:7px 0 8px}
.vq-export-panel>p{color:var(--text-soft);font-size:13px;line-height:1.6}
.vq-export-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:15px;margin:20px 0}
.vq-export-controls label{display:flex;flex-direction:column;gap:8px;font-size:12px}
.vq-export-controls input,.vq-export-controls select{width:100%;padding:11px;border:1px solid var(--border);border-radius:9px;background:#fff}
.vq-export-actions{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}
.vq-export-actions button{min-height:42px}
#vqExportStatus{margin:12px 0;white-space:pre-line;font-weight:600}
.vq-export-panel .vq-export-note{font-size:11px;color:#667085}
@media(max-width:700px){.vq-export-controls{grid-template-columns:1fr}}

/* =========================================================
   VELIQANO PROFESSIONAL FINISH — frontend-only enhancements
   ========================================================= */
:root { --radius: 14px; --shadow: 0 3px 16px rgba(15, 23, 42, .045); --shadow-hover: 0 12px 30px rgba(15, 23, 42, .095); }
body { -webkit-font-smoothing: antialiased; }
.sidebar { box-shadow: 10px 0 35px rgba(6, 16, 28, .07); }
.nav-item { min-height: 42px; }
.nav-item:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(22,163,106,.42); outline-offset: 3px; }
.topbar { box-shadow: 0 1px 3px rgba(16,24,40,.025); }
.page { animation: vqPageReveal .22s ease-out; }
@keyframes vqPageReveal { from { opacity: .6; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.summary-card, .action-card, .panel { border-color: #e6ebf0; }
.summary-card h3 { font-variant-numeric: tabular-nums; }
.action-card { position: relative; overflow: hidden; }
.action-card:focus-visible { outline-offset: 4px; }
.vq-replay-tour { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; padding: 10px 14px; border: 1px solid #cfe9dd; border-radius: 10px; color: #087a50; background: #f0fbf5; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.vq-replay-tour:hover { background: #e2f7ec; transform: translateY(-1px); }
.vq-tour-open { overflow: hidden; }
.vq-tour-overlay[hidden] { display: none !important; }
.vq-tour-overlay { position: fixed; inset: 0; z-index: 12000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 18, 31, .67); backdrop-filter: blur(6px); }
.vq-tour-dialog { width: min(520px, 100%); max-height: min(90vh, 760px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 95px rgba(0,0,0,.25); }
.vq-tour-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px 0; }
.vq-tour-brand { color: #172638; font-size: 20px; font-weight: 800; letter-spacing: -.7px; }
.vq-tour-brand > span:last-child { color: #16a36a; }
.vq-tour-brand-icon { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 7px; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#23c985,#11945e); }
.vq-tour-close { border: 0; background: #f3f6f8; border-radius: 9px; width: 32px; height: 32px; font-size: 23px; color: #667085; cursor: pointer; }
.vq-tour-illustration { display: flex; align-items: center; flex-direction: column; gap: 10px; justify-content: center; min-height: 148px; margin: 20px 28px 0; border-radius: 16px; background: radial-gradient(circle at 25% 10%,#d9f9e9,transparent 55%), linear-gradient(135deg,#f2fbf7,#edf5ff); border: 1px solid #e2f2ea; }
.vq-tour-illustration-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(135deg,#1db77a,#0f805b); box-shadow: 0 10px 25px rgba(22,163,106,.2); color: white; font-size: 30px; }
.vq-tour-illustration-label { font-size: 11px; color: #507264; font-weight: 650; }
.vq-tour-content { padding: 24px 28px 28px; }
.vq-tour-tag { color: #138c60; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.vq-tour-content h2 { font-size: clamp(21px, 4vw, 26px); line-height: 1.25; letter-spacing: -.65px; margin: 10px 0; color: #172638; }
.vq-tour-content p { font-size: 13px; color: #607086; line-height: 1.75; min-height: 68px; }
.vq-tour-visit { margin-top: 14px; border: 0; background: none; color: #0e9561; font-size: 12px; font-weight: 750; cursor: pointer; padding: 6px 0; }
.vq-tour-visit:hover { text-decoration: underline; }
.vq-tour-progress { margin-top: 21px; width: 100%; height: 5px; background: #e8edf1; border-radius: 999px; overflow: hidden; }
.vq-tour-progress > span { display: block; height: 100%; background: linear-gradient(90deg,#16a36a,#39c792); border-radius: inherit; transition: width .2s ease; }
.vq-tour-bottom { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 20px; font-size: 11px; color: #8692a2; }
.vq-tour-dots { display: flex; gap: 5px; }
.vq-tour-dot { height: 6px; width: 6px; border-radius: 50%; background: #d5dee5; }
.vq-tour-dot.active { width: 17px; border-radius: 8px; background: #16a36a; }
.vq-tour-actions, .vq-tour-actions > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vq-tour-actions button { min-height: 40px; border-radius: 9px; padding: 0 13px; font-size: 12px; font-weight: 700; cursor: pointer; }
.vq-tour-secondary { border: 1px solid #e4eaf0; background: #fff; color: #607086; }
.vq-tour-secondary:disabled { opacity: .35; cursor: not-allowed; }
.vq-tour-primary { border: 1px solid #108e5e; background: #139c68; color: white; box-shadow: 0 5px 12px rgba(22,163,106,.16); }
.vq-tour-primary:hover { background: #0d8758; }
@media (max-width: 760px) { .welcome-row { flex-wrap: wrap; } .vq-replay-tour { width: 100%; } .vq-tour-top { padding: 18px 19px 0; } .vq-tour-content { padding: 20px 19px 22px; } .vq-tour-illustration { margin: 16px 19px 0; min-height: 120px; } .vq-tour-content p { min-height: 0; } .vq-tour-actions { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } .vq-tour-progress > span { transition: none; } }

/* Veliqano feature refresh and batch PDF remove */
.vq-feature-refresh{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 15px;background:#fff;color:#116149;border:1px solid #b7ddcf;border-radius:11px;font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:background .18s,box-shadow .18s,transform .18s}
.vq-feature-refresh:hover{background:#edf9f3;box-shadow:0 4px 12px rgba(17,97,73,.09);transform:translateY(-1px)}
.vq-feature-refresh:focus-visible,.vq-batch-remove:focus-visible{outline:3px solid #14b8a6;outline-offset:2px}
.batch-file-row{display:flex;align-items:center;gap:10px;min-width:0}
.batch-file-info{flex:1;min-width:0;overflow-wrap:anywhere}
.vq-batch-remove{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #fecaca;border-radius:10px;background:#fff5f5;color:#b91c1c;font:inherit;font-size:23px;line-height:1;cursor:pointer;transition:background .18s,transform .18s}
.vq-batch-remove:hover{background:#fee2e2;transform:scale(1.04)}
.vq-batch-remove:disabled{opacity:.45;cursor:not-allowed;transform:none}
@media(max-width:640px){.vq-feature-refresh{padding:0 10px;min-height:38px}.vq-feature-refresh span:last-child{display:none}.batch-file-row{flex-wrap:wrap}.batch-file-info{flex-basis:55%}.vq-batch-remove{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.vq-feature-refresh,.vq-batch-remove{transition:none;transform:none!important}}
