
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* BUSINESSHUB SIGNATURE FINTECH */

:root {
    --primary: #6254e8;
    --purple: #9333ea;
    --green: #059669;
    --red: #dc2626;
    --background: #eef2fa;
    --surface: #ffffff;
    --surface-soft: #f7f8fc;
    --text: #142039;
    --muted: #697890;
    --border: #e3e8f2;
    --hover: #f0efff;
    --sidebar: #0c1428;
    --sidebar-width: 265px;
    --shadow: 0 5px 25px #263b7010;
}

body.dark {
    --background: #090f1d;
    --surface: #141e32;
    --surface-soft: #10192b;
    --text: #eef3ff;
    --muted: #9aaac5;
    --border: #28364f;
    --hover: #202d48;
    --sidebar: #080e1b;
    --shadow: 0 5px 25px #00000025;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}

button, input, select {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all .22s ease;
}

button:active {
    transform: scale(.97);
}

button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

button:focus-visible {
    outline: 3px solid #a5b4fc;
    outline-offset: 3px;
}

::selection {
    background: #c7d2fe;
    color: #312e81;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background: #8494b450;
    border-radius: 20px;
}

/* SIDEBAR */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    padding: 28px 18px;
    background:
        radial-gradient(
            ellipse at top left,
            #25245180,
            transparent 45%
        ),
        var(--sidebar);
    color: white;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 5px;
    margin-bottom: 30px;
}

.logo {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        #a78bfa,
        #6354ed 50%,
        #4338ca
    );
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    border: 1px solid #ffffff30;
    box-shadow: 0 7px 24px #6366f150;
}

.brand strong {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.9px;
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #9aa9c7;
    margin-top: 6px;
}

.workspace-profile {
    padding: 16px;
    border: 1px solid #ffffff12;
    border-radius: 14px;
    background: linear-gradient(
        120deg,
        #ffffff0b,
        #818cf810
    );
    margin-bottom: 28px;
}

.workspace-profile strong {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.workspace-profile small {
    color: #a5b4fc;
    font-size: 11px;
}

.nav-label {
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 700;
    color: #8493b0;
    margin: 0 12px 14px;
}

nav {
    display: grid;
    gap: 5px;
}

.nav-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 14px;
    border-radius: 11px;
    text-align: left;
    background: transparent;
    color: #a0aec8;
    font-size: 13px;
    font-weight: 500;
}

.nav-button svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.nav-button:hover {
    color: white;
    background: #ffffff0b;
    transform: translateX(3px);
}

.nav-button.active {
    color: white;
    font-weight: 600;
    background: linear-gradient(
        110deg,
        #5545d6,
        #7160ed
    );
    box-shadow: 0 5px 20px #6254e83d;
}

.nav-button.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 5px;
    background: #d8d4ff;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 28px;
}

.ai-preview {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #a78bfa25;
    background: linear-gradient(
        135deg,
        #27234d,
        #1a2340
    );
    margin-bottom: 20px;
}

.ai-preview::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #a78bfa15;
    right: -35px;
    top: -30px;
}

.ai-symbol {
    font-size: 25px;
    color: #c4b5fd;
    margin-bottom: 10px;
}

.ai-preview strong {
    display: block;
    font-size: 13px;
    color: white;
}

.ai-preview p {
    color: #a9b5d3;
    font-size: 11px;
    line-height: 1.6;
    margin: 8px 0 12px;
}

.coming-soon {
    display: inline-block;
    background: #a78bfa20;
    color: #c4b5fd;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 9px;
    font-weight: 600;
}

.theme-button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff08;
    border: 1px solid #ffffff12;
    color: #cbd5e1;
    margin-bottom: 9px;
    font-size: 12px;
}

.theme-button:hover {
    background: #ffffff15;
    color: white;
}

#founder-switch {
    background: linear-gradient(
        110deg,
        #4338ca,
        #7c3aed
    );
    color: white;
    border: none;
}

#cloud-logout {
    color: #fca5a5;
}

#cloud-logout:hover {
    background: #ef444420;
}

.version {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #8493b0;
    padding: 14px 4px 0;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #818cf8;
}

/* MAIN WORKSPACE */

.main {
    margin-left: var(--sidebar-width);
    padding: 30px 34px;
    min-height: 100vh;
    max-width: 2000px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.topbar small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 1.4px;
    margin-bottom: 7px;
}

.topbar strong {
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.9px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

#current-date {
    font-size: 12px;
    color: var(--muted);
}

.avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(
        145deg,
        #ddd6fe,
        #c7d2fe
    );
    border: 3px solid var(--surface);
    border-radius: 50%;
    color: #4338ca;
    font-weight: 800;
    box-shadow: var(--shadow);
}

/* SIGNATURE HERO */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 28px;
    background:
        radial-gradient(
            circle at 90% 15%,
            #a78bfa80,
            transparent 35%
        ),
        linear-gradient(
            115deg,
            #111c40,
            #34368c 55%,
            #7552db
        );
    color: white;
    box-shadow: 0 15px 35px #4338ca25;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-label {
    display: inline-block;
    padding: 7px 12px;
    background: #ffffff12;
    border: 1px solid #ffffff20;
    border-radius: 30px;
    color: #e0e7ff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -1.6px;
    margin: 18px 0 12px;
    max-width: 650px;
}

.hero p {
    color: #d5ddf8;
    line-height: 1.7;
    margin: 0 0 25px;
    font-size: 13px;
    max-width: 550px;
}

.hero-button {
    padding: 13px 21px;
    border-radius: 11px;
    background: white;
    color: #4338ca;
    box-shadow: 0 7px 20px #00000020;
}

.hero-button:hover {
    background: #eef2ff;
    transform: translateY(-3px);
}

.hero-decoration {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -55px;
    top: -110px;
    border-radius: 50%;
    border: 1px solid #ffffff20;
    box-shadow:
        0 0 0 30px #ffffff06,
        0 0 0 60px #ffffff05,
        0 0 0 90px #ffffff04;
    pointer-events: none;
    z-index: 0;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    inset: 55px;
    border-radius: 50%;
    border: 1px solid #ffffff20;
}

.hero-decoration::after {
    content: '';
    position: absolute;
    inset: 110px;
    border-radius: 50%;
    border: 1px solid #ffffff20;
}

.hero-art {
    position: absolute;
    right: 15px;
    bottom: 0;
    width: 37%;
    height: 85%;
    pointer-events: none;
    opacity: .65;
    z-index: 1;
}

/* FINANCIAL CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.metric {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    padding: 23px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    animation: appear .4s ease both;
    transition: transform .25s, box-shadow .25s;
}

.metric:has(.blue) {
    --accent: #5145cd;
    background: linear-gradient(
        140deg,
        #f5f3ff,
        #e3e5ff
    );
    border-color: #d8d5fa;
}

.metric:has(.green) {
    --accent: #047857;
    background: linear-gradient(
        140deg,
        #effdf6,
        #d6f5e7
    );
    border-color: #c8ebdc;
}

.metric:has(.orange) {
    --accent: #b45309;
    background: linear-gradient(
        140deg,
        #fffaf0,
        #ffecd0
    );
    border-color: #f4e0bf;
}

.metric:has(.purple) {
    --accent: #7e22ce;
    background: linear-gradient(
        140deg,
        #fcf5ff,
        #ecddff
    );
    border-color: #e4d4f6;
}

.metric::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    right: -25px;
    top: -30px;
    border-radius: 50%;
    border: 1px solid currentColor;
    box-shadow: 0 0 0 15px currentColor;
    color: var(--accent, #6254e8);
    opacity: .045;
    z-index: -1;
    pointer-events: none;
}

.metric:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px #263b7018;
}

.metric:nth-child(2) {
    animation-delay: .06s;
}

.metric:nth-child(3) {
    animation-delay: .12s;
}

.metric:nth-child(4) {
    animation-delay: .18s;
}

.metric-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #ffffffc9;
    box-shadow: 0 4px 15px #263b7009;
    margin-bottom: 18px;
}

.metric-icon svg {
    width: 23px;
    height: 23px;
}

.blue {
    color: #5145cd;
}

.green {
    color: #059669;
}

.orange {
    color: #d97706;
}

.purple {
    color: #9333ea;
}

.metric-label {
    color: var(--accent, var(--muted));
    font-size: 12px;
    font-weight: 600;
}

.metric-value {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(19px, 1.9vw, 29px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 10px;
    color: #172033;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.metric-caption {
    font-size: 10px;
    color: var(--accent, var(--muted));
    opacity: .9;
    line-height: 1.6;
    margin-top: 10px;
}

body.dark .metric:has(.blue) {
    --accent: #c7d2fe;
    background: linear-gradient(135deg, #202a50, #26234c);
    border-color: #393b6c;
}

body.dark .metric:has(.green) {
    --accent: #6ee7b7;
    background: linear-gradient(135deg, #123b35, #15302e);
    border-color: #24554b;
}

body.dark .metric:has(.orange) {
    --accent: #fcd34d;
    background: linear-gradient(135deg, #44321e, #34291d);
    border-color: #59452a;
}

body.dark .metric:has(.purple) {
    --accent: #d8b4fe;
    background: linear-gradient(135deg, #39244e, #2a203d);
    border-color: #503566;
}

body.dark .metric-value {
    color: #f8fafc;
}

body.dark .metric-icon {
    background: #ffffff10;
    color: var(--accent);
}

.positive {
    color: #059669;
}

.negative,
.metric-value.negative {
    color: #dc2626;
}

body.dark .positive {
    color: #34d399;
}

body.dark .negative,
body.dark .metric-value.negative {
    color: #fca5a5;
}

/* PANELS */

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 22px;
    min-width: 0;
    box-shadow: var(--shadow);
    animation: appear .4s ease both;
}

.panel h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 0 0 22px;
}

.panel p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 13px;
}

.split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 22px;
}

.line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.line:last-child {
    border-bottom: none;
}

.line span {
    color: var(--muted);
    font-size: 13px;
}

.line strong {
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

/* BUTTONS */

.btn {
    padding: 13px 18px;
    border-radius: 11px;
    background: linear-gradient(
        110deg,
        #5145cd,
        #7561ee
    );
    color: white;
    font-size: 13px;
    box-shadow: 0 4px 12px #6254e820;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #6254e830;
}

.btn-secondary {
    background: #eeecff;
    color: #5145cd;
    box-shadow: none;
}

.btn-danger {
    background: #fef2f2;
    color: #dc2626;
    box-shadow: none;
}

.btn-small {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
}

body.dark .btn-secondary {
    background: #2c3457;
    color: #c7d2fe;
}

body.dark .btn-danger {
    background: #48232d;
    color: #fca5a5;
}

/* FORMS */

.fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: end;
}

label {
    display: grid;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

input, select {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    background: var(--surface-soft);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    transition: all .2s;
}

input:hover, select:hover {
    border-color: #a5b4fc;
}

input:focus, select:focus {
    border-color: #7561ee;
    box-shadow: 0 0 0 4px #7561ee15;
    background: var(--surface);
}

input::placeholder {
    color: var(--muted);
    opacity: .8;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.toolbar input, .toolbar select {
    max-width: 320px;
}

/* TRANSACTION TABLES */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    text-align: left;
    font-size: 13px;
}

th, td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

td {
    font-variant-numeric: tabular-nums;
}

tbody tr {
    transition: background .2s;
}

tbody tr:hover {
    background: var(--hover);
}

tbody tr:last-child td {
    border-bottom: none;
}

td button {
    margin-right: 5px;
}

.empty {
    padding: 45px 20px;
    color: var(--muted);
    text-align: center;
}

/* ANALYTICS CHART */

.chart {
    display: flex;
    align-items: stretch;
    gap: 14px;
    height: 250px;
    padding-top: 20px;
    background-image: repeating-linear-gradient(
        to top,
        transparent 0,
        transparent 48px,
        var(--border) 49px,
        transparent 50px
    );
}

.chart-column {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.chart-value {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
}

.chart-bar {
    width: 70%;
    max-width: 58px;
    min-height: 3px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(
        180deg,
        #a78bfa,
        #7561ee 50%,
        #5145cd
    );
    box-shadow: 0 5px 15px #6254e825;
    animation: grow .7s ease both;
    transform-origin: bottom;
    transition: filter .2s;
}

.chart-bar:hover {
    filter: brightness(1.2);
}

.chart-label {
    font-size: 11px;
    color: var(--muted);
    padding: 5px 0;
}

/* FINANCIAL PLANNING */

.progress-track {
    height: 13px;
    border-radius: 30px;
    background: var(--border);
    overflow: hidden;
    margin: 24px 0;
}

.progress-fill {
    height: 100%;
    border-radius: 30px;
    background: linear-gradient(
        90deg,
        #5145cd,
        #8b5cf6,
        #c084fc
    );
    transition: width .4s;
}

.result-box {
    margin-top: 22px;
    padding: 20px;
    border-radius: 15px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.result-box:empty {
    display: none;
}

/* ORDER AND DEBT STATUS */

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

.status-paid,
.status-completed {
    background: #d1fae5;
    color: #047857;
}

.status-open,
.status-pending {
    background: #fef3c7;
    color: #b45309;
}

.status-overdue,
.status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

/* CLOUD SYNCHRONIZATION */

.cloud-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

#cloud-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

#cloud-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

#cloud-status[data-state="saved"] {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

#cloud-status[data-state="saving"] {
    color: #5145cd;
    background: #eef2ff;
    border-color: #c7d2fe;
}

#cloud-status[data-state="saving"]::before {
    animation: cloud-pulse 1s infinite;
}

#cloud-status[data-state="error"] {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fecaca;
    border-radius: 12px;
}

body.dark #cloud-status[data-state="saved"] {
    color: #6ee7b7;
    background: #10392e;
    border-color: #166534;
}

body.dark #cloud-status[data-state="saving"] {
    color: #c7d2fe;
    background: #252d50;
    border-color: #4338ca;
}

body.dark #cloud-status[data-state="error"] {
    color: #fca5a5;
    background: #48232d;
    border-color: #991b1b;
}

[inert] {
    opacity: .65;
    cursor: wait;
}

/* PREMIUM LOADING SCREEN */

.cloud-gate {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    background:
        radial-gradient(
            circle at 10% 15%,
            #4338ca50,
            transparent 40%
        ),
        radial-gradient(
            circle at 90% 85%,
            #9333ea40,
            transparent 40%
        ),
        #0c1428;
    color: white;
    text-align: center;
}

.gate-card {
    width: 100%;
    max-width: 440px;
    padding: 48px 35px;
    border-radius: 28px;
    background: #ffffff08;
    border: 1px solid #ffffff20;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 80px #00000040;
    animation: appear .5s ease;
}

.gate-card .logo {
    width: 65px;
    height: 65px;
    font-size: 36px;
    margin: 0 auto 30px;
    border-radius: 20px;
}

.gate-card h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    letter-spacing: -.8px;
}

.gate-card p {
    color: #a5b4ce;
    font-size: 13px;
    line-height: 1.7;
}

.cloud-loader {
    width: 36px;
    height: 36px;
    border: 3px solid #ffffff15;
    border-top-color: #a78bfa;
    border-radius: 50%;
    margin: 28px auto;
    animation: cloud-spin .8s linear infinite;
}

/* NOTIFICATIONS */

#toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    max-width: calc(100% - 56px);
    padding: 16px 24px;
    border-radius: 14px;
    background: #172033;
    border: 1px solid #ffffff15;
    color: white;
    font-size: 13px;
    box-shadow: 0 12px 35px #00000030;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .25s;
    z-index: 100;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
}

.main-footer {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    padding: 24px 0;
}

/* ANIMATIONS */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes grow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

@keyframes cloud-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cloud-pulse {
    50% {
        opacity: .3;
    }
}

/* TABLETS */

@media (max-width: 1300px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: 1fr;
    }

    .main {
        padding: 26px;
    }
}

/* MOBILE DEVICES */

@media (max-width: 750px) {
    .sidebar {
        position: static;
        width: 100%;
        padding: 20px 16px;
    }

    .brand {
        margin-bottom: 20px;
    }

    .workspace-profile,
    .nav-label,
    .ai-preview,
    .version {
        display: none;
    }

    nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .nav-button {
        width: auto;
        flex-shrink: 0;
        white-space: nowrap;
        padding: 12px;
    }

    .sidebar-bottom {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 15px;
    }

    .theme-button {
        width: auto;
        flex: 1;
        min-width: 90px;
        margin-bottom: 0;
    }

    .main {
        margin-left: 0;
        padding: 17px;
    }

    .topbar strong {
        font-size: 21px;
    }

    #current-date {
        display: none;
    }

    .hero {
        padding: 28px 23px;
        border-radius: 21px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-art {
        opacity: .15;
        width: 55%;
    }

    .hero-decoration {
        opacity: .4;
    }

    .cards {
        gap: 12px;
    }

    .metric {
        padding: 17px;
    }

    .metric-value {
        font-size: 19px;
    }

    .metric-icon {
        width: 40px;
        height: 40px;
    }

    .panel {
        padding: 18px;
    }

    .fields {
        grid-template-columns: 1fr;
    }

    .cloud-toolbar {
        justify-content: flex-start;
    }

    #cloud-status {
        max-width: 100%;
    }

    .chart {
        gap: 7px;
    }

    .chart-value {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .main {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* END OF SIGNATURE FINTECH STYLESHEET */
