:root {
  --bg: #f5f7fb; --surface: #ffffff; --surface-soft: #f9fafc; --surface-raised: #ffffff;
  --text: #172033; --muted: #62708a; --subtle: #8894a9; --line: #e1e7f0; --line-strong: #ccd6e4;
  --primary: #3157d5; --primary-strong: #2446b8; --primary-soft: #edf1ff; --success: #087a5b;
  --success-soft: #e7f8f1; --warning: #aa6500; --warning-soft: #fff4dc; --danger: #bb2c41; --danger-soft: #ffeaed;
  --shadow: 0 10px 30px rgba(27, 42, 77, .08); --radius: 16px; --sidebar: #111b31; --sidebar-text: #d6def0;
  --sidebar-muted: #94a4c3; --focus: 0 0 0 3px rgba(49, 87, 213, .27);
}
[data-theme="dark"] {
  --bg: #0d1423; --surface: #141d2f; --surface-soft: #10192a; --surface-raised: #19243a;
  --text: #eff4ff; --muted: #afbdd4; --subtle: #7f90ad; --line: #2a3851; --line-strong: #3a4c6b;
  --primary: #8ba5ff; --primary-strong: #b3c4ff; --primary-soft: #1b2a53; --success: #54d0a7;
  --success-soft: #133c34; --warning: #ffc46b; --warning-soft: #49330c; --danger: #ff9baa; --danger-soft: #4e1f2a;
  --shadow: 0 14px 34px rgba(0, 0, 0, .26); --sidebar: #0b1120; --sidebar-text: #d8e3fb; --sidebar-muted: #8e9dbb;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); color: var(--text); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; } button { cursor: pointer; } a { color: inherit; text-decoration: none; } a:hover { color: var(--primary); }
:focus-visible { outline: none; box-shadow: var(--focus); } [hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; background: var(--primary); color: #fff; padding: 9px 13px; border-radius: 8px; transition: top .15s; }.skip-link:focus { top: 16px; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }.brand-mark { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #426ce9, #2749be); font-weight: 800; letter-spacing: -.06em; }.brand strong { display: block; line-height: 1.05; font-size: 17px; letter-spacing: -.035em; }.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; white-space: nowrap; }
.marketing-header { min-height: 68px; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }.marketing-inner { width: min(1180px, calc(100% - 32px)); margin: auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }.marketing-links { display: flex; align-items: center; gap: 18px; font-weight: 650; font-size: 14px; }.marketing-links > a:not(.button) { color: var(--muted); }.marketing-links > a:not(.button):hover { color: var(--text); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 14px; font-weight: 720; white-space: nowrap; transition: transform .15s, background .15s, border-color .15s; }.button:hover { transform: translateY(-1px); color: inherit; }.button-primary { color: #fff; background: var(--primary); }.button-primary:hover { color: #fff; background: var(--primary-strong); }.button-secondary { color: var(--text); background: var(--surface); border-color: var(--line-strong); }.button-danger { color: var(--danger); background: var(--danger-soft); }.button-sm { min-height: 36px; padding: 7px 11px; font-size: 13px; }
.theme-toggle, .icon-button { min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; }.theme-toggle:hover, .icon-button:hover { border-color: var(--primary); color: var(--primary); }.theme-toggle span:first-child { font-size: 18px; line-height: 1; }.theme-label { font-size: 12px; }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 250px; color: var(--sidebar-text); background: var(--sidebar); display: flex; flex-direction: column; transition: transform .2s ease; }.sidebar-brand { min-height: 82px; display: flex; align-items: center; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.09); }.sidebar .brand strong { color: #fff; }.sidebar .brand small { color: var(--sidebar-muted); }.sidebar nav { padding: 18px 12px; display: grid; gap: 4px; }.sidebar nav a { color: var(--sidebar-muted); padding: 11px 12px; border-radius: 9px; display: flex; gap: 12px; align-items: center; font-weight: 650; }.sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.06); }.sidebar nav a.active { color: #fff; background: rgba(103,133,248,.26); }.sidebar nav a span { width: 18px; text-align: center; font-size: 16px; }.sidebar-footer { margin-top: auto; padding: 16px 22px 24px; color: var(--sidebar-muted); font-size: 12px; }.sidebar-footer p { margin: 11px 0 0; line-height: 1.5; }.health-link { display: inline-flex; align-items: center; gap: 7px; }.health-dot { width: 8px; height: 8px; border-radius: 50%; background: #54d0a7; }.shell { min-height: 100vh; margin-left: 250px; }.topbar { min-height: 82px; padding: 14px clamp(20px, 3vw, 42px); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); position: sticky; top: 0; z-index: 25; backdrop-filter: blur(12px); }.topbar-context h1 { margin: 2px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.035em; }.eyebrow { text-transform: uppercase; color: var(--subtle); font-size: 10px; font-weight: 760; letter-spacing: .09em; }.topbar-actions { display: flex; align-items: center; gap: 9px; position: relative; }.profile-chip { border: 0; background: transparent; color: var(--text); padding: 3px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }.avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: #5d7196; border-radius: 50%; font-size: 13px; }.profile-menu { position: absolute; right: 0; top: calc(100% + 9px); width: 218px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: var(--surface-raised); box-shadow: var(--shadow); z-index: 70; }.profile-menu-title, .profile-menu-email { display: block; padding: 2px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.profile-menu-title { font-weight: 750; }.profile-menu-email { font-size: 12px; color: var(--muted); padding-bottom: 9px; border-bottom: 1px solid var(--line); }.profile-menu a, .profile-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 7px; color: var(--text); font-size: 13px; border-radius: 7px; }.profile-menu a:hover, .profile-menu button:hover { background: var(--surface-soft); color: var(--primary); }.mobile-menu-button, .bottom-nav, .nav-scrim { display: none; }
.main-content { width: min(1540px, 100%); margin: 0 auto; padding: clamp(21px, 3vw, 40px); }.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }.page-heading h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.055em; margin: 0; line-height: 1.1; }.page-heading p { margin: 7px 0 0; color: var(--muted); max-width: 690px; }.page-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.grid { display: grid; gap: 18px; }.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 18px; }.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2vw, 22px); box-shadow: 0 1px 1px rgba(20,35,58,.015); }.card h3 { margin: 0; letter-spacing: -.025em; font-size: 16px; }.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }.card-subtitle { color: var(--muted); font-size: 13px; margin: 5px 0 0; }.metric-card { position: relative; overflow: hidden; }.metric-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--metric, var(--primary)); }.metric-label { display: block; color: var(--muted); font-size: 13px; font-weight: 650; }.metric-value { font-size: clamp(23px, 2.3vw, 30px); line-height: 1.15; display: block; margin-top: 10px; letter-spacing: -.05em; }.metric-meta { margin: 7px 0 0; color: var(--subtle); font-size: 12px; }
.notice { border-radius: 12px; padding: 13px 15px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 13px; }.notice strong { color: var(--text); }.notice-info { background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 27%, var(--line)); color: var(--text); }.notice-warning { background: var(--warning-soft); border-color: color-mix(in srgb, var(--warning) 30%, var(--line)); color: var(--text); }.toast { border-radius: 10px; padding: 12px 14px; margin-bottom: 17px; font-weight: 650; border: 1px solid; }.toast-success { background: var(--success-soft); border-color: var(--success); color: var(--text); }.toast-error { background: var(--danger-soft); border-color: var(--danger); color: var(--text); }
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }.quick-action { min-height: 82px; display: flex; flex-direction: column; justify-content: center; gap: 4px; background: var(--surface-soft); padding: 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); font-weight: 720; }.quick-action:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }.quick-action small { color: var(--muted); font-weight: 550; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }.data-table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 13px; }.data-table th { background: var(--surface-soft); color: var(--muted); text-align: left; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; font-weight: 750; }.data-table th, .data-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); white-space: nowrap; }.data-table tbody tr:last-child td { border-bottom: 0; }.data-table tbody tr:hover { background: var(--surface-soft); }.align-right { text-align: right !important; }.table-primary { font-weight: 720; display: block; }.table-secondary { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 760; }.badge-success { color: var(--success); background: var(--success-soft); }.badge-warning { color: var(--warning); background: var(--warning-soft); }.badge-danger { color: var(--danger); background: var(--danger-soft); }
.form-card { max-width: 920px; }.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }.form-group { min-width: 0; }.form-group.full { grid-column: 1 / -1; }.form-group label { display: block; margin-bottom: 6px; color: var(--text); font-size: 13px; font-weight: 720; }.form-help { color: var(--muted); font-size: 12px; display: block; margin-top: 5px; }.form-group input, .form-group select, .form-group textarea { appearance: none; width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--text); }.form-group textarea { min-height: 92px; resize: vertical; }.form-group input::placeholder, .form-group textarea::placeholder { color: var(--subtle); }.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 19px; margin-top: 21px; border-top: 1px solid var(--line); }
.progress { height: 8px; overflow: hidden; border-radius: 10px; background: var(--line); }.progress > span { display: block; height: 100%; width: var(--value, 0%); background: var(--primary); border-radius: inherit; }.checklist { display: grid; gap: 0; }.checklist-row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }.checklist-row:last-child { border-bottom: 0; }.check-circle { flex: 0 0 auto; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--subtle); }.check-circle.done { background: var(--success); border-color: var(--success); color: #fff; }.checklist-row strong { display: block; font-size: 14px; }.checklist-row span:not(.check-circle) { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }.checklist-row .button { margin-left: auto; }
.empty-state { padding: clamp(28px, 6vw, 64px) 18px; text-align: center; }.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 23px; border-radius: 14px; margin: 0 auto 15px; }.empty-state h3 { font-size: 18px; }.empty-state p { color: var(--muted); max-width: 410px; margin: 8px auto 18px; }.loading-state { display: grid; gap: 11px; }.skeleton { height: 16px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-soft), var(--line), var(--surface-soft)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }.skeleton.short { width: 45%; } @keyframes shimmer { to { background-position: -200% 0; } }
.modal { position: fixed; z-index: 90; inset: 0; background: rgba(9, 15, 29, .56); padding: 18px; display: grid; place-items: center; }.modal-dialog { width: min(100%, 560px); max-height: calc(100vh - 36px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised); box-shadow: var(--shadow); }.modal-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }.modal-header h3 { margin: 0; }.modal-body { padding: 20px; }.modal-close { padding: 0; border: none; background: transparent; color: var(--muted); font-size: 22px; width: 30px; height: 30px; }
.status-layout { min-height: 100vh; padding: 35px 16px; display: grid; place-items: center; }.status-card { width: min(100%, 600px); }.status-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }.status-row:last-child { border: 0; }.status-row span { color: var(--muted); }.status-ok { color: var(--success); font-weight: 720; }.status-warn { color: var(--warning); font-weight: 720; }
.marketing-page { background: radial-gradient(circle at 78% -20%, var(--primary-soft), transparent 30%), var(--bg); }.hero { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: clamp(56px, 9vw, 112px) 0 60px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px, 7vw, 82px); }.hero-copy h1 { font-size: clamp(38px, 5.3vw, 67px); line-height: .99; letter-spacing: -.073em; margin: 13px 0 20px; max-width: 650px; }.hero-copy p { margin: 0; max-width: 550px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); }.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 28px; }.hero-points { display: flex; flex-wrap: wrap; gap: 13px 18px; color: var(--muted); font-size: 13px; margin-top: 25px; }.hero-points span::before { content: '✓'; color: var(--success); margin-right: 6px; font-weight: 800; }.dashboard-preview { padding: 18px; border-radius: 20px; background: var(--surface-raised); border: 1px solid var(--line); box-shadow: var(--shadow); }.preview-top { display: flex; align-items: center; gap: 7px; margin-bottom: 17px; }.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }.preview-title { width: 40%; height: 9px; background: var(--line-strong); border-radius: 99px; margin-left: 4px; }.preview-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.preview-metric { min-height: 79px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }.preview-metric span { display: block; height: 7px; width: 55%; background: var(--line-strong); border-radius: 99px; }.preview-metric b { display: block; height: 15px; width: 78%; background: var(--primary-soft); border-radius: 5px; margin-top: 13px; }.preview-chart { height: 147px; border: 1px solid var(--line); margin-top: 10px; border-radius: 11px; position: relative; overflow: hidden; background: linear-gradient(to bottom, transparent 24%, var(--line) 25%, transparent 26%, transparent 49%, var(--line) 50%, transparent 51%, transparent 74%, var(--line) 75%, transparent 76%); }.preview-chart::after { content: ''; position: absolute; inset: 32px 11px 17px; border: solid var(--primary); border-width: 0 0 3px 3px; clip-path: polygon(0 100%, 0 75%, 18% 65%, 29% 76%, 42% 49%, 57% 58%, 69% 20%, 81% 39%, 100% 4%, 100% 100%); background: color-mix(in srgb, var(--primary) 11%, transparent); }
.feature-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 58px 0 84px; }.section-intro { max-width: 650px; margin-bottom: 28px; }.section-intro h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.055em; }.section-intro p { color: var(--muted); margin: 10px 0 0; }.feature-card { padding: 22px; }.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--primary); background: var(--primary-soft); font-weight: 800; margin-bottom: 14px; }.feature-card p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.auth-layout { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: clamp(26px, 6vw, 64px) 16px; }.auth-card { width: min(100%, 480px); }.auth-card h1 { margin: 0; letter-spacing: -.05em; font-size: clamp(27px, 3vw, 34px); }.auth-card > p { color: var(--muted); margin: 8px 0 24px; }.auth-footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }.auth-footer a { color: var(--primary); font-weight: 700; }
.invoice-paper { background: #fff; color: #182238; border: 1px solid #d7ddea; box-shadow: var(--shadow); max-width: 880px; margin: 0 auto; padding: clamp(22px, 4vw, 52px); }.invoice-paper .invoice-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid #d7ddea; }.invoice-paper .invoice-head h2 { margin: 0; letter-spacing: -.05em; }.invoice-paper .invoice-muted { color: #68758a; }.invoice-paper table { width: 100%; border-collapse: collapse; margin-top: 28px; }.invoice-paper th, .invoice-paper td { padding: 11px 7px; border-bottom: 1px solid #e5e9f0; text-align: left; }.invoice-paper th { font-size: 11px; color: #68758a; text-transform: uppercase; }.invoice-total { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; margin-top: 23px; }.invoice-total strong { font-size: 20px; }.invoice-disclaimer { margin-top: 30px; padding: 10px 12px; background: #fff4dc; color: #543d10; border-radius: 7px; font-size: 12px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }.dashboard-grid { grid-template-columns: 1fr; }.quick-actions { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 860px) { .sidebar { transform: translateX(-102%); box-shadow: var(--shadow); }.sidebar.is-open { transform: translateX(0); }.nav-scrim { position: fixed; display: block; inset: 0; z-index: 45; background: rgba(6,12,23,.5); opacity: 0; visibility: hidden; transition: .2s; }.menu-open .nav-scrim { opacity: 1; visibility: visible; }.shell { margin-left: 0; padding-bottom: 67px; }.mobile-menu-button { display: inline-flex; flex-direction: column; gap: 4px; }.mobile-menu-button span { width: 17px; height: 2px; border-radius: 5px; background: currentColor; }.bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface-raised); border-top: 1px solid var(--line); }.bottom-nav a { display: grid; place-items: center; align-content: center; gap: 2px; padding: 6px 2px; color: var(--muted); font-size: 10px; font-weight: 650; text-align: center; }.bottom-nav a span { font-size: 16px; }.bottom-nav a.active { color: var(--primary); }.topbar { padding: 12px 17px; min-height: 68px; }.topbar-context { flex: 1; overflow: hidden; }.topbar-context h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.profile-name { display: none; }.topbar-actions { gap: 5px; }.topbar .theme-label { display: none; }.main-content { padding: 21px 16px; }.hero { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.hero-copy p, .hero-points { justify-content: center; margin-left: auto; margin-right: auto; }.hero-actions { justify-content: center; }.hero { padding-top: 48px; }.marketing-links > a:not(.button), .marketing-links .theme-label { display: none; }.marketing-links { gap: 9px; }.invoice-paper { padding: 22px; } }
@media (max-width: 580px) { .marketing-inner { width: calc(100% - 24px); }.brand small { display: none; }.page-heading { display: block; margin-bottom: 18px; }.page-actions { margin-top: 15px; }.grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }.form-group.full { grid-column: auto; }.quick-actions { grid-template-columns: 1fr 1fr; }.quick-action { min-height: 74px; padding: 11px; font-size: 13px; }.card { border-radius: 13px; padding: 16px; }.metric-value { font-size: 25px; }.dashboard-preview { margin: 0 -3px; }.preview-chart { height: 118px; }.auth-layout { padding: 31px 15px; }.auth-card { border: 0; background: transparent; padding: 0; box-shadow: none; }.auth-card .form-actions .button { width: 100%; }.checklist-row { align-items: flex-start; }.checklist-row .button { margin-left: 0; margin-top: 8px; }.checklist-row { flex-wrap: wrap; }.checklist-row > div { flex: 1; min-width: 150px; }.checklist-row .button { margin-left: 40px; }.invoice-paper .invoice-head { display: block; }.invoice-paper .invoice-head > div:last-child { margin-top: 17px; }.invoice-paper { margin: 0 -2px; }.status-layout { padding: 16px; } }
@media (min-width: 1440px) { .main-content { padding-left: 50px; padding-right: 50px; }.card { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
/* MeraBiz vNext UX layer */
.wow-card{position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.wow-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(25,43,82,.13);border-color:color-mix(in srgb,var(--primary) 32%,var(--line))}.feature-link{display:block}.feature-link small{display:block;color:var(--subtle);margin-top:12px}.card-arrow{position:absolute;right:18px;bottom:17px;color:var(--primary);font-size:20px;font-weight:800;transition:transform .2s}.wow-card:hover .card-arrow{transform:translateX(5px)}.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:0 0 18px}.breadcrumbs a{color:var(--primary);font-weight:700}.breadcrumbs strong{color:var(--text)}.input-action{display:flex;gap:7px}.input-action input{flex:1;min-width:0}.form-help[data-gstin-status]{min-height:18px}.inventory-card.is-low{border-color:color-mix(in srgb,var(--warning) 45%,var(--line));background:linear-gradient(145deg,var(--surface),var(--warning-soft))}.inventory-numbers{display:flex;align-items:baseline;gap:8px;margin:15px 0 3px}.inventory-numbers strong{font-size:34px;letter-spacing:-.06em}.inventory-numbers span,.mini-meta{color:var(--muted);font-size:12px}.filter-chips{display:flex;gap:8px;flex-wrap:wrap}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.password-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:36px;border:0;background:transparent;color:var(--muted);border-radius:8px}.password-eye:hover{background:var(--surface-soft);color:var(--primary)}.field-valid{border-color:var(--success)!important}.field-invalid{border-color:var(--danger)!important}.inline-error{display:block;color:var(--danger);font-size:12px;margin-top:5px}.inline-success{display:block;color:var(--success);font-size:12px;margin-top:5px}.topbar{box-shadow:0 1px 0 rgba(0,0,0,.015)}
@media (min-width:861px){.shell{min-width:0}.main-content{padding-top:30px}.sidebar-brand{min-height:82px}.sidebar nav{padding-top:16px}}

/* v0.3 Magic UX: launchpad, calculator, contextual creation */
.launchpad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.launch-card{position:relative;display:flex;align-items:center;gap:12px;min-height:92px;padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 12px rgba(27,42,77,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.launch-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(27,42,77,.12);border-color:color-mix(in srgb,var(--primary) 30%,var(--line));color:var(--text)}
.launch-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;background:var(--primary-soft);color:var(--primary);font-size:19px;font-weight:800}.launch-card strong{display:block;font-size:14px}.launch-card small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.launch-arrow{margin-left:auto;color:var(--primary);font-size:18px}
.dashboard-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.dashboard-intro .eyebrow{color:var(--primary)}
.calculator{width:min(360px,calc(100vw - 28px));padding:14px;background:var(--surface-raised);border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 60px rgba(12,24,50,.22);position:fixed;z-index:120;display:none}.calculator.is-open{display:block;animation:calcIn .15s ease}.calculator-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.calculator-display{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);font-size:18px;text-align:right}.calculator-result{font-size:12px;color:var(--muted);text-align:right;min-height:19px;margin:5px 2px}.calculator-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.calculator-grid button{min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-weight:700}.calculator-grid button:hover{background:var(--primary-soft);color:var(--primary);border-color:var(--primary)}.calculator-grid .calc-equals{background:var(--primary);color:#fff;border-color:var(--primary)}.calculator-grid .calc-use{grid-column:span 2}.calculator-grid .calc-clear{color:var(--danger)}
.calc-wrap{position:relative}.calc-trigger{position:absolute;right:6px;top:50%;transform:translateY(-50%);height:34px;min-width:34px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--primary);font-weight:800;z-index:2}.calc-wrap input{padding-right:48px!important}.context-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.context-link{font-size:11px;color:var(--primary);font-weight:700}.context-link:hover{text-decoration:underline}
@keyframes calcIn{from{opacity:0;transform:translateY(5px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:1100px){.launchpad{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.launchpad{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-intro{align-items:flex-start;flex-direction:column}}
@media(max-width:430px){.launchpad{grid-template-columns:1fr 1fr;gap:9px}.launch-card{min-height:78px;padding:11px}.launch-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}.launch-card strong{font-size:13px}.launch-card small{font-size:10px}.calculator{width:calc(100vw - 20px)}}

/* v0.5 Access + theme polish */
.theme-switch{min-width:76px!important;padding:0 8px!important;gap:6px!important;border-radius:999px!important;height:38px!important}.theme-track{width:34px;height:20px;border-radius:999px;background:var(--line);position:relative;display:inline-block}.theme-thumb{position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:var(--surface-raised);box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .2s ease}.theme-sun,.theme-moon{font-size:14px;line-height:1}.theme-moon{opacity:.65}.theme-switch:hover .theme-track{background:var(--primary-soft)}[data-theme="dark"] .theme-thumb{transform:translateX(14px)}
.access-profile{min-height:150px}.muted{color:var(--muted)}
.logo-editor{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:18px;align-items:center}.logo-preview-box{min-height:140px;border:1px dashed var(--line);border-radius:16px;background:var(--surface-soft);display:grid;place-items:center;padding:16px}.logo-preview-box img{max-width:100%;max-height:120px;object-fit:contain}.logo-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:580px){.logo-editor{grid-template-columns:1fr}.theme-switch{min-width:66px!important}.theme-sun,.theme-moon{display:none}}
.logo-crop-stage{display:grid;place-items:center;padding:10px;background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;margin-bottom:14px}.logo-crop-stage canvas{width:min(280px,70vw);height:min(280px,70vw);border-radius:12px;background:#fff;object-fit:contain}.logo-crop-stage+label{display:block;margin-top:8px}.logo-crop-stage+label input{width:100%}

/* rAneT.in brand system — v0.6 */
.brand { gap: 9px; }
.brand-logo { display:block; object-fit:contain; width:140px; height:54px; flex:0 0 auto; }
.brand-logo-dark { display:none; }
[data-theme="dark"] .brand-logo-light { display:none; }
[data-theme="dark"] .brand-logo-dark { display:block; }
.brand-copy { min-width:0; }
.brand-copy strong { display:block; }
.brand-copy small { display:block; max-width:190px; white-space:normal; line-height:1.25; }
.site-footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 18px; padding:14px clamp(16px,3vw,42px); border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.site-footer a { color:var(--primary); font-weight:700; text-decoration:none; }
.site-footer a:hover { text-decoration:underline; }
.sidebar .brand-logo { width:126px; height:48px; }
.sidebar .brand-copy small { max-width:150px; font-size:9px; }
@media(max-width:640px) { .site-footer { justify-content:center; text-align:center; padding-bottom:calc(14px + env(safe-area-inset-bottom)); } .brand-logo { width:112px; height:43px; } .brand-copy small { max-width:155px; } }


/* MeraBiz GUIUX2 v1.6 — unified premium design layer */
:root {
  --bg:#f4f7fc; --surface:#ffffff; --surface-soft:#f7f9fd; --surface-raised:#ffffff;
  --text:#101b32; --muted:#596982; --subtle:#77869e; --line:#dfe6f1; --line-strong:#c8d4e5;
  --primary:#3156d8; --primary-strong:#2444b7; --primary-soft:#eaf0ff;
  --success:#087d60; --success-soft:#e5f8f1; --warning:#996000; --warning-soft:#fff4dc;
  --danger:#b62942; --danger-soft:#ffebef; --radius:18px; --sidebar:#101a31; --sidebar-text:#eef3ff;
  --sidebar-muted:#aab8d2; --shadow:0 14px 38px rgba(23,42,82,.075); --focus:0 0 0 3px rgba(49,86,216,.24);
}
[data-theme="dark"] {
  --bg:#0b1220; --surface:#121c2e; --surface-soft:#0e1728; --surface-raised:#18243a;
  --text:#f1f5ff; --muted:#b3c0d7; --subtle:#8798b5; --line:#293850; --line-strong:#3b4f6d;
  --primary:#91a9ff; --primary-strong:#b5c5ff; --primary-soft:#1a2a51; --success:#5cd4ad;
  --success-soft:#143d34; --warning:#ffd17e; --warning-soft:#49370f; --danger:#ff9eae; --danger-soft:#4a202d;
  --sidebar:#080e1b; --sidebar-text:#f0f4ff; --sidebar-muted:#98a9c8; --shadow:0 16px 42px rgba(0,0,0,.28);
}
html { scroll-padding-top:100px; }
body { letter-spacing:-.008em; }
::selection { background:color-mix(in srgb,var(--primary) 24%,transparent); }
.brand { gap:12px; }
.brand-logo { width:184px; height:68px; object-position:left center; }
.sidebar .brand-logo { width:166px; height:61px; }
.brand-copy strong { font-size:16px; font-weight:850; letter-spacing:-.04em; }
.brand-copy small { max-width:180px; line-height:1.25; font-size:10px; }
.marketing-header { min-height:82px; background:color-mix(in srgb,var(--surface) 88%,transparent); box-shadow:0 1px 0 var(--line); }
.marketing-inner { min-height:82px; width:min(1320px,calc(100% - 48px)); }
.marketing-links { gap:14px; }
.marketing-links > a:not(.button) { padding:10px 3px; }
.button { min-height:44px; border-radius:12px; padding:11px 16px; font-weight:760; box-shadow:0 1px 1px rgba(14,30,62,.03); }
.button-primary { background:linear-gradient(135deg,#365fe7,#4d45d5); box-shadow:0 8px 18px rgba(49,86,216,.18); }
[data-theme="dark"] .button-primary { color:#0c1530; background:linear-gradient(135deg,#a7b8ff,#8b9cff); }
.button-secondary { background:var(--surface); border-color:var(--line-strong); }
.button-danger { border:1px solid color-mix(in srgb,var(--danger) 25%,var(--line)); }
.theme-toggle { border-radius:999px; width:72px; height:40px; background:var(--surface); border:1px solid var(--line-strong); position:relative; }
.theme-toggle .theme-track { width:34px; height:19px; border-radius:999px; background:var(--primary-soft); position:relative; }
.theme-toggle .theme-thumb { width:15px; height:15px; border-radius:50%; position:absolute; top:2px; left:2px; background:var(--primary); transition:transform .18s ease; }
[data-theme="dark"] .theme-toggle .theme-thumb { transform:translateX(15px); }
.sidebar { width:274px; box-shadow:8px 0 30px rgba(10,22,48,.06); }
.sidebar-brand { min-height:104px; padding:17px 19px; }
.sidebar nav { padding:16px 13px; gap:5px; }
.sidebar nav a { min-height:46px; border-radius:12px; padding:11px 13px; color:var(--sidebar-muted); transition:background .16s,color .16s,transform .16s; }
.sidebar nav a:hover { transform:translateX(2px); }
.sidebar nav a.active { background:linear-gradient(100deg,rgba(91,124,255,.28),rgba(91,124,255,.12)); box-shadow:inset 3px 0 0 #8ea5ff; }
.sidebar-footer { padding:18px 20px 24px; }
.shell { margin-left:274px; }
.topbar { min-height:88px; padding:15px clamp(20px,3vw,44px); border-bottom-color:var(--line); background:color-mix(in srgb,var(--bg) 90%,transparent); }
.topbar-context h1 { font-size:clamp(18px,1.6vw,23px); }
.main-content { width:min(1600px,100%); padding:clamp(22px,3vw,44px); }
.page-heading { align-items:center; margin-bottom:26px; }
.page-heading h2 { font-size:clamp(26px,2.35vw,36px); letter-spacing:-.06em; }
.page-heading p { line-height:1.65; max-width:760px; }
.card { border-radius:20px; padding:clamp(18px,2vw,26px); box-shadow:0 3px 12px rgba(20,39,80,.025); transition:border-color .16s,box-shadow .16s,transform .16s; }
.card h3 { font-size:17px; }
.card-subtitle { line-height:1.55; }
.metric-card { border-color:color-mix(in srgb,var(--line) 82%,var(--primary)); }
.metric-card::after { height:4px; }
.metric-value { font-weight:820; letter-spacing:-.06em; }
.launch-card,.quick-action { border:1px solid var(--line); border-radius:15px; background:linear-gradient(145deg,var(--surface),var(--surface-soft)); transition:transform .16s,border-color .16s,box-shadow .16s; }
.launch-card:hover,.quick-action:hover,.wow-card:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--primary) 40%,var(--line)); box-shadow:var(--shadow); }
.launch-icon,.feature-icon { box-shadow:inset 0 1px 0 rgba(255,255,255,.55); }
.form-group label { font-size:13px; font-weight:760; }
.form-group input,.form-group select,.form-group textarea { min-height:46px; padding:11px 13px; border-radius:12px; border-color:var(--line-strong); transition:border-color .15s,box-shadow .15s,background .15s; }
.form-group textarea { min-height:110px; }
.form-group input:hover,.form-group select:hover,.form-group textarea:hover { border-color:color-mix(in srgb,var(--primary) 40%,var(--line-strong)); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { background:var(--surface-raised); }
.form-help { line-height:1.55; }
.auth-layout { position:relative; min-height:calc(100vh - 82px); padding:clamp(28px,5vw,64px) 22px; overflow:hidden; isolation:isolate; }
.auth-layout::before { content:""; position:absolute; z-index:-1; width:640px; height:640px; top:5%; left:50%; transform:translateX(-50%); background:radial-gradient(circle,rgba(79,108,232,.12),rgba(105,75,225,.06) 42%,transparent 70%); pointer-events:none; }
.auth-card { width:min(100%,560px); border:1px solid color-mix(in srgb,var(--line) 80%,var(--primary)); border-radius:24px; padding:clamp(25px,4vw,40px); background:color-mix(in srgb,var(--surface) 96%,transparent); box-shadow:0 22px 70px rgba(28,48,96,.09); }
.auth-card h1 { font-size:clamp(29px,3.3vw,39px); line-height:1.12; letter-spacing:-.065em; }
.auth-card > p { line-height:1.65; }
.auth-card .form-grid { row-gap:19px; }
.auth-card .form-actions .button { min-height:48px; }
.password-wrap { position:relative; }
.password-wrap input { padding-right:54px!important; }
.password-eye { position:absolute; top:50%; right:7px; transform:translateY(-50%); border:1px solid transparent; background:var(--surface-soft); color:var(--muted); border-radius:9px; min-width:38px; min-height:34px; padding:5px 8px; }
.password-eye:hover { color:var(--primary); border-color:var(--line); }
.inline-error { display:block; color:var(--danger); font-size:12px; margin-top:5px; }
.inline-success { display:block; color:var(--success); font-size:12px; margin-top:5px; }
.field-invalid { border-color:var(--danger)!important; box-shadow:0 0 0 2px color-mix(in srgb,var(--danger) 14%,transparent)!important; }
.field-valid { border-color:var(--success)!important; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:9px; align-items:center; color:var(--muted); font-size:13px; margin:0 0 20px; }
.breadcrumbs strong { color:var(--text); }
.badge { border-radius:999px; padding:5px 10px; font-size:11px; letter-spacing:.01em; }
.notice { border-radius:14px; padding:15px 17px; line-height:1.6; }
.toast { border-radius:13px; padding:14px 16px; }
.data-table th { background:var(--surface-soft); color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.data-table th,.data-table td { padding:14px 15px; }
.site-footer { padding:22px clamp(20px,3vw,44px) 26px; gap:10px 20px; font-size:12px; color:var(--muted); }
.site-footer a { color:var(--primary); font-weight:800; }
.progress { height:9px; border-radius:999px; background:var(--line); overflow:hidden; }
.progress span { border-radius:inherit; background:linear-gradient(90deg,#3d6ae8,#7555dc); }
.checklist-row { padding:13px 0; }
.empty-state { padding:34px 18px; }
/* Focused content hierarchy and mobile touch targets */
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--primary); outline-offset:3px; }
@media (max-width:1100px) { .sidebar{width:258px}.shell{margin-left:258px}.main-content{padding:25px}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:860px) {
 .sidebar{width:min(310px,86vw)} .shell{margin-left:0}.main-content{padding:22px 18px 30px}.topbar{min-height:76px;padding:11px 17px}
 .brand-logo{width:156px;height:58px}.sidebar .brand-logo{width:166px;height:61px}
 .auth-layout{min-height:calc(100vh - 76px)}.bottom-nav{box-shadow:0 -8px 28px rgba(14,29,60,.06)}
}
@media (max-width:580px) {
 .marketing-inner{width:calc(100% - 20px);min-height:70px}.marketing-header{min-height:70px}.marketing-links{gap:7px}.marketing-links .button{padding:8px 10px;min-height:38px;font-size:12px}
 .brand-logo{width:122px;height:46px}.brand-copy strong{font-size:14px}.brand-copy small{display:none}
 .main-content{padding:19px 13px 26px}.topbar{padding:10px 12px;gap:9px}.topbar-context h1{font-size:17px}.topbar-actions{gap:5px}.theme-toggle{width:58px;min-width:58px;height:36px}.theme-toggle .theme-track{width:28px}.theme-toggle .theme-thumb{width:13px;height:13px}.data-table th,.data-table td{padding:11px 12px}
 .auth-layout{padding:24px 12px}.auth-card{padding:23px 17px;border-radius:20px}.auth-card h1{font-size:29px}.auth-card .form-grid{grid-template-columns:1fr}.auth-card .form-group.full{grid-column:auto}
 .page-heading h2{font-size:27px}.card{padding:16px;border-radius:16px}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.launchpad{grid-template-columns:1fr 1fr}.quick-actions{grid-template-columns:1fr 1fr}.site-footer{padding-left:14px;padding-right:14px}
}
@media (max-width:360px) { .brand-logo{width:104px;height:40px}.brand-copy{display:none}.marketing-links .button{font-size:11px;padding:7px 8px}.launchpad,.quick-actions{grid-template-columns:1fr}.theme-toggle{min-width:48px;width:48px} }
@media (prefers-reduced-motion:reduce) { .card,.launch-card,.quick-action,.sidebar nav a,.button{transition:none!important} }
