:root {
    --bg: #f4f7fb;
    --surface: rgba(255,255,255,0.88);
    --surface-strong: #ffffff;
    --surface-soft: #eef4ff;
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(148,163,184,0.22);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: rgba(37,99,235,0.10);
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --shadow: 0 10px 30px rgba(15,23,42,0.08);
    --shadow-soft: 0 4px 16px rgba(15,23,42,0.06);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --sidebar-width: 290px;
    --sidebar-collapsed-width: 92px;
}
body.dark {
    --bg: #091120;
    --surface: rgba(15,23,42,0.88);
    --surface-strong: #0f172a;
    --surface-soft: #152238;
    --text: #e5edf9;
    --muted: #94a3b8;
    --border: rgba(148,163,184,0.16);
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-soft: rgba(59,130,246,0.14);
    --shadow: 0 10px 40px rgba(2,6,23,0.45);
    --shadow-soft: 0 4px 16px rgba(2,6,23,0.32);
}
*,*::before,*::after{box-sizing:border-box} html{font-size:16px} body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;background:radial-gradient(circle at top left, rgba(59,130,246,.10), transparent 28%), radial-gradient(circle at top right, rgba(37,99,235,.08), transparent 22%), var(--bg);color:var(--text);transition:background .25s ease,color .25s ease} body.sidebar-mobile-open{overflow:hidden} a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit}
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) 1fr;transition:grid-template-columns .25s ease}.app-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-width) 1fr}
.sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;background:rgba(255,255,255,.65);backdrop-filter:blur(18px);border-right:1px solid var(--border);display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;overflow-x:hidden;z-index:10}.dark .sidebar{background:rgba(8,15,29,.72)}.sidebar-top{display:flex;flex-direction:column;gap:22px}.brand{display:flex;align-items:center;gap:14px;padding:10px 10px 6px}.brand-logo{width:46px;height:46px;min-width:46px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#60a5fa);color:#fff;display:grid;place-items:center;font-weight:800;font-size:1.1rem;box-shadow:0 10px 22px rgba(37,99,235,.22)}.brand-copy{display:flex;flex-direction:column;min-width:0}.brand-title{font-size:1.05rem;font-weight:800;letter-spacing:-.02em}.brand-subtitle{font-size:.85rem;color:var(--muted)}
.company-pill{padding:16px;border-radius:var(--radius-lg);background:linear-gradient(180deg,var(--surface-soft),transparent);border:1px solid var(--border);box-shadow:var(--shadow-soft)}.company-pill-label{display:block;font-size:.76rem;color:var(--muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.08em}.company-pill-name{display:block;font-size:1rem;line-height:1.4;word-break:break-word}.company-switcher-form{margin-top:14px;display:flex;flex-direction:column;gap:8px}.company-switcher-label{font-size:.78rem;font-weight:700;color:var(--muted)}.company-switcher-select{min-height:44px;width:100%;padding:0 14px;border-radius:12px;border:1px solid var(--border);background:var(--surface-strong);color:var(--text)}.company-switcher-button{width:100%}
.nav{display:flex;flex-direction:column;gap:10px;margin-top:10px}.nav-link{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 16px;border-radius:16px;color:var(--muted);font-weight:600;transition:.2s ease}.nav-link:hover{background:var(--surface-soft);color:var(--text)}.nav-link.active{background:linear-gradient(135deg,var(--primary),#3b82f6);color:#fff;box-shadow:0 14px 26px rgba(37,99,235,.24)}.nav-icon{width:22px;min-width:22px;text-align:center;font-size:1rem}.sidebar-bottom{display:flex;flex-direction:column;gap:12px;margin-top:18px}.app-shell.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed-width);padding-left:12px;padding-right:12px}.app-shell.sidebar-collapsed .brand{justify-content:center;padding-left:0;padding-right:0}.app-shell.sidebar-collapsed .brand-copy,.app-shell.sidebar-collapsed .company-pill,.app-shell.sidebar-collapsed .theme-toggle,.app-shell.sidebar-collapsed .logout-link,.app-shell.sidebar-collapsed .nav-link span:last-child{display:none}.app-shell.sidebar-collapsed .nav-link{justify-content:center;padding:0}.app-shell.sidebar-collapsed .nav-icon{width:auto}.sidebar-overlay{display:none}
.theme-toggle,.logout-link,.button,.button-secondary{min-height:48px;border-radius:14px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;font-weight:700;cursor:pointer;transition:.2s ease}.theme-toggle,.button-secondary,.logout-link{background:var(--surface);border-color:var(--border);color:var(--text)}.theme-toggle:hover,.button-secondary:hover,.logout-link:hover{transform:translateY(-1px);box-shadow:var(--shadow-soft)}.button,.primary-button,.auth-submit{background:linear-gradient(135deg,var(--primary),#3b82f6);color:#fff;border:0;box-shadow:0 14px 28px rgba(37,99,235,.22)}.button:hover,.primary-button:hover,.auth-submit:hover{background:linear-gradient(135deg,var(--primary-hover),var(--primary));transform:translateY(-1px)}.button-secondary{white-space:nowrap}.button-danger{min-height:40px;padding:0 14px;border-radius:12px;border:0;background:linear-gradient(135deg,#dc2626,#ef4444);color:#fff;font-weight:700;cursor:pointer;transition:.2s ease}.button-danger:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(220,38,38,.20)}
.main-area{min-width:0;padding:28px}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.topbar-left{display:flex;align-items:flex-start;gap:14px;min-width:0}.sidebar-toggle{width:48px;min-width:48px;height:48px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:14px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow-soft)}.page-title{margin:0;font-size:2rem;line-height:1.1;letter-spacing:-.03em}.page-subtitle{margin:8px 0 0;color:var(--muted);font-size:.98rem}.topbar-user{min-width:170px;padding:14px 16px;border-radius:16px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);text-align:right}.topbar-user-label{display:block;color:var(--muted);font-size:.8rem;margin-bottom:4px}.content{display:flex;flex-direction:column;gap:22px}
.grid-4,.stats-grid,.dashboard-stats-grid,.products-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);padding:22px;box-shadow:var(--shadow);backdrop-filter:blur(16px)}.card-subtitle{margin:0;color:var(--muted);font-size:.95rem}.section-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.section-header p{margin:6px 0 0}.section-title{margin:0;font-size:1.2rem;font-weight:800;letter-spacing:-.02em}.table-wrap{overflow-x:auto;border-radius:18px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:15px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.table th{font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:800}.table tbody tr:hover{background:var(--primary-soft)}
.badge{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;font-size:.8rem;font-weight:700;background:var(--surface-soft);color:var(--text);border:1px solid var(--border)}.badge-success{background:rgba(22,163,74,.10);color:var(--success);border-color:rgba(22,163,74,.18)}.badge-warning{background:rgba(217,119,6,.10);color:var(--warning);border-color:rgba(217,119,6,.18)}.badge-danger{background:rgba(220,38,38,.10);color:var(--danger);border-color:rgba(220,38,38,.18)}.badge-neutral{background:rgba(100,116,139,.10);color:var(--muted);border-color:rgba(100,116,139,.18)}
.form-card{max-width:1100px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group.full{grid-column:1/-1}label{font-size:.92rem;font-weight:700}input[type="text"],input[type="email"],input[type="number"],input[type="date"],input[type="password"],select,textarea{width:100%;min-height:52px;padding:0 16px;border-radius:14px;border:1px solid var(--border);background:var(--surface-strong);color:var(--text);outline:none;transition:.2s ease}textarea{min-height:130px;padding:14px 16px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:rgba(37,99,235,.46);box-shadow:0 0 0 4px rgba(37,99,235,.10)}select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%),linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:40px}.form-actions,.button-row{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}.form-note{margin-top:6px;font-size:.84rem;color:var(--muted);line-height:1.5}
.stat-card{position:relative;overflow:hidden}.stat-card::after{content:"";position:absolute;inset:auto -20px -35px auto;width:100px;height:100px;background:radial-gradient(circle, rgba(37,99,235,.14), transparent 65%);pointer-events:none}.stat-label{display:block;color:var(--muted);font-size:.82rem;margin-bottom:12px;text-transform:uppercase;letter-spacing:.08em}.stat-value{font-size:2rem;font-weight:800;letter-spacing:-.04em;margin:0}.stat-meta{margin-top:10px;color:var(--muted);font-size:.92rem}
.hero-card,.dashboard-hero{overflow:hidden;position:relative}.eyebrow{display:inline-flex;align-self:flex-start;margin-bottom:16px;padding:8px 12px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.dashboard-hero-grid,.dashboard-quick-grid{display:grid;grid-template-columns:1.5fr .9fr;gap:20px;align-items:stretch}.dashboard-quick-grid{grid-template-columns:1.2fr .8fr}.dashboard-hero-title{margin:0 0 14px;font-size:2.2rem;line-height:1.08;letter-spacing:-.04em;max-width:820px}.dashboard-hero-text{margin:0;color:var(--muted);font-size:1rem;line-height:1.75;max-width:760px}.dashboard-hero-side{display:flex;flex-direction:column;gap:16px}.dashboard-highlight-card{padding:18px;border-radius:20px;background:linear-gradient(180deg,var(--surface-soft),var(--surface));border:1px solid var(--border);box-shadow:var(--shadow-soft)}.dashboard-highlight-label{display:block;margin-bottom:8px;color:var(--muted);font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.dashboard-highlight-value{display:block;font-size:1.12rem;font-weight:800;line-height:1.4;letter-spacing:-.02em}.dashboard-highlight-meta{margin-top:10px;color:var(--muted);font-size:.92rem;line-height:1.6}.dashboard-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-shortcut-card{display:flex;gap:14px;align-items:flex-start;padding:16px;border-radius:18px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);transition:.2s ease}.dashboard-shortcut-card:hover{transform:translateY(-2px);background:var(--surface-soft)}.dashboard-shortcut-icon{width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);font-weight:800;flex-shrink:0}.dashboard-shortcut-card strong{display:block;margin-bottom:4px;font-size:.98rem;letter-spacing:-.02em}.dashboard-shortcut-card span:last-child{color:var(--muted);font-size:.9rem;line-height:1.5}.dashboard-summary-list{display:flex;flex-direction:column;gap:2px}.dashboard-summary-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--border)}.dashboard-summary-row:last-child{border-bottom:0}.dashboard-summary-row span{color:var(--muted)}.dashboard-summary-row.total strong{font-size:1.12rem;font-weight:800}
.kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kpi-card{padding:18px;border-radius:20px;border:1px solid var(--border);background:linear-gradient(180deg,var(--surface),var(--surface-soft));box-shadow:var(--shadow-soft)}.kpi-card-label{display:block;color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;font-weight:800}.kpi-card-value{font-size:1.5rem;font-weight:800;letter-spacing:-.03em}.kpi-card-meta{margin-top:8px;color:var(--muted);font-size:.9rem;line-height:1.5}.alert-list{display:flex;flex-direction:column;gap:12px}.alert-card{padding:16px 18px;border-radius:18px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft)}.alert-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.alert-card-title{font-size:1rem;font-weight:800}.alert-card p{margin:0;color:var(--muted);line-height:1.6}.alert-card-danger{border-color:rgba(220,38,38,.18);background:rgba(220,38,38,.05)}.alert-card-warning{border-color:rgba(217,119,6,.18);background:rgba(217,119,6,.05)}.widget-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.widget-card{padding:18px;border-radius:18px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft)}.widget-card .value{display:block;font-size:1.35rem;font-weight:800;letter-spacing:-.03em;margin-bottom:6px}.widget-card .label{display:block;color:var(--muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.widget-card .meta{color:var(--muted);font-size:.9rem;line-height:1.5}.empty-state{padding:34px 20px;text-align:center;color:var(--muted)}.alert{padding:14px 16px;border-radius:14px;font-weight:600;margin-bottom:18px}.alert-danger{background:rgba(220,38,38,.10);color:var(--danger);border:1px solid rgba(220,38,38,.18)}.alert-success{background:rgba(22,163,74,.10);color:var(--success);border:1px solid rgba(22,163,74,.18)}
.actions-cell{min-width:240px;width:240px;vertical-align:top}.invoice-actions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;min-width:170px;width:100%}.invoice-actions-grid .action-form{margin:0;width:100%}.invoice-actions-grid .action-button{width:100%;min-height:38px;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;border-radius:12px;font-weight:700;font-size:12px;padding:0 8px}.product-name-cell{display:flex;flex-direction:column;gap:4px}.product-name-main{font-weight:800;color:var(--text);line-height:1.35}.product-name-sub,.product-row-note,.product-usage-count{font-size:.78rem;color:var(--muted);line-height:1.45}.product-usage-box{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.invoice-summary{width:100%;max-width:380px;margin-left:auto;margin-top:24px;padding:18px 20px;border-radius:20px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft)}.invoice-summary-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border)}.invoice-summary-row:last-child{border-bottom:0}.invoice-summary-row.total{font-size:1.08rem;font-weight:800}
.auth-page{min-height:100vh;margin:0;background:radial-gradient(circle at top center, rgba(37,99,235,.16), transparent 30%),linear-gradient(180deg,#eef4ff 0%,#f7faff 45%,#eef3fb 100%);color:#0f172a}.auth-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 20px}.auth-card{width:100%;max-width:520px;padding:42px 38px 34px;border-radius:28px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border:1px solid rgba(148,163,184,.20);box-shadow:0 20px 60px rgba(15,23,42,.10)}body.auth-page.dark{background:radial-gradient(circle at top center, rgba(59,130,246,.16), transparent 24%),linear-gradient(180deg,#071226 0%,#09162d 50%,#081120 100%);color:#e5edf9}body.auth-page.dark .auth-card{background:rgba(8,15,29,.88);border:1px solid rgba(148,163,184,.16);box-shadow:0 20px 60px rgba(2,6,23,.42)}.auth-logo-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;margin-bottom:28px;text-align:center}.auth-logo{width:84px;height:84px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;font-size:2rem;font-weight:800;box-shadow:0 18px 35px rgba(37,99,235,.25)}.auth-brand{font-size:1.8rem;font-weight:800;letter-spacing:-.03em;color:#0f172a}body.auth-page.dark .auth-brand{color:#fff}.auth-heading{text-align:center;margin-bottom:28px}.auth-heading h1{margin:0 0 10px;font-size:2rem;line-height:1.1;letter-spacing:-.04em;font-weight:800}.auth-heading p{margin:0;font-size:1rem;color:#64748b;line-height:1.7}body.auth-page.dark .auth-heading p{color:#94a3b8}.auth-form{display:flex;flex-direction:column;gap:18px}.auth-form .form-group{display:flex;flex-direction:column;gap:8px}.auth-form label{font-size:.95rem;font-weight:700;color:inherit}.auth-form input[type="email"],.auth-form input[type="text"],.auth-form input[type="password"]{width:100%;height:58px;min-height:58px;max-height:58px;padding:0 18px;border-radius:16px;border:1px solid rgba(148,163,184,.22);background:#fff;color:#0f172a;font-size:1rem;transition:all .2s ease;box-sizing:border-box}body.auth-page.dark .auth-form input[type="email"],body.auth-page.dark .auth-form input[type="text"],body.auth-page.dark .auth-form input[type="password"]{background:#0f172a;color:#e5edf9;border:1px solid rgba(148,163,184,.18)}.auth-form input:focus{outline:none;border-color:rgba(37,99,235,.55);box-shadow:0 0 0 4px rgba(37,99,235,.10)}.auth-submit{width:100%;height:58px;margin-top:8px;border-radius:16px;font-size:1rem;font-weight:800;cursor:pointer}.auth-demo-box{margin-top:20px;padding:16px 18px;border-radius:16px;background:rgba(37,99,235,.06);border:1px solid rgba(37,99,235,.12);font-size:.94rem;line-height:1.7;color:#334155}body.auth-page.dark .auth-demo-box{background:rgba(59,130,246,.10);border:1px solid rgba(59,130,246,.16);color:#cbd5e1}.auth-footer-text{margin-top:24px;text-align:center;font-size:.95rem;color:#64748b;font-weight:600}body.auth-page.dark .auth-footer-text{color:#94a3b8}
@media (max-width:1200px){.grid-4,.stats-grid,.dashboard-stats-grid,.products-stats-grid,.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-hero-grid,.dashboard-quick-grid{grid-template-columns:1fr}.widget-list{grid-template-columns:1fr}} @media (max-width:980px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar,.app-shell.sidebar-collapsed .sidebar{position:fixed;top:0;left:0;width:min(320px,86vw);height:100vh;z-index:1100;transform:translateX(-100%);border-right:1px solid var(--border);padding:24px 18px}body.sidebar-mobile-open .sidebar{transform:translateX(0)}.sidebar-overlay{position:fixed;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(2px);z-index:1090}body.sidebar-mobile-open .sidebar-overlay{display:block}.main-area{padding:20px}.topbar{flex-direction:column;align-items:stretch}.topbar-user{text-align:left}.form-grid,.dashboard-shortcuts{grid-template-columns:1fr}.invoice-summary{max-width:100%}} @media (max-width:640px){.grid-4,.stats-grid,.products-stats-grid,.dashboard-stats-grid,.kpi-grid{grid-template-columns:1fr}.page-title{font-size:1.65rem}.dashboard-hero-title{font-size:1.8rem}.card{padding:18px}.sidebar-toggle{width:44px;min-width:44px;height:44px}.auth-card{padding:32px 22px 26px;border-radius:22px}.auth-logo{width:72px;height:72px;font-size:1.7rem;border-radius:20px}.auth-brand{font-size:1.55rem}.auth-heading h1{font-size:1.7rem}.auth-form input[type="email"],.auth-form input[type="text"],.auth-form input[type="password"],.auth-submit{height:54px;min-height:54px;max-height:54px}}


/* =========================
   PRO CORE PACK - UI 2026
   ========================= */
:root { --pro-blue: #2563eb; --pro-indigo: #4f46e5; --pro-cyan: #06b6d4; --pro-green: #16a34a; --pro-red: #dc2626; --pro-amber: #d97706; }
body.dark { --bg: #07111f; --surface: rgba(15, 23, 42, 0.88); --surface-strong: #0b1220; --surface-soft: #111c31; --text: #e5edf9; --muted: #9fb0c7; --border: rgba(148, 163, 184, 0.16); --border-strong: rgba(148, 163, 184, 0.28); --shadow: 0 18px 50px rgba(0, 0, 0, 0.42); background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 30%), radial-gradient(circle at top right, rgba(6, 182, 212, 0.10), transparent 24%), var(--bg); }
body.dark .card, body.dark .topbar-user, body.dark .company-pill, body.dark .dashboard-highlight-card, body.dark .dashboard-shortcut-card, body.dark .invoice-meta-item, body.dark .invoice-summary, body.dark .search-result-card, body.dark .export-card, body.dark .notification-row, body.dark .notification-chip { background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(11, 18, 32, 0.86)); border-color: var(--border); }
body.dark input, body.dark select, body.dark textarea { background-color: #0b1220; color: var(--text); border-color: var(--border-strong); }
.topbar-right-pro { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.global-search-form { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.global-search-form input { width: min(340px, 36vw); min-height: 38px; border: 0; background: transparent; padding: 0 10px; box-shadow: none; }
.global-search-form input:focus { box-shadow: none; }
.global-search-form button, .notification-button { min-height: 38px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #3b82f6); color: #fff; font-weight: 800; padding: 0 14px; cursor: pointer; }
.notification-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; text-decoration: none; }
.notification-button strong { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: #ef4444; color: #fff; font-size: 0.72rem; border: 2px solid var(--surface-strong); }
.notification-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.notification-chip { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.notification-chip strong, .notification-row strong { font-size: 0.92rem; }
.notification-chip span, .notification-row p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.notification-chip.danger, .notification-row.danger { border-color: rgba(220, 38, 38, 0.34); }
.notification-chip.warning, .notification-row.warning { border-color: rgba(217, 119, 6, 0.34); }
.notification-chip.info, .notification-row.info { border-color: rgba(37, 99, 235, 0.30); }
.notification-list { display: flex; flex-direction: column; gap: 10px; }
.notification-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.notification-list.compact .notification-row { padding: 12px 14px; }
.kpi-grid, .exports-grid, .search-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.widget-card .label { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.widget-card .value { display: block; font-size: 1.45rem; letter-spacing: -0.04em; margin-bottom: 8px; }
.widget-card .meta { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.search-panel { margin-bottom: 18px; background: var(--surface-soft) !important; }
.search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.search-result-card, .export-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-soft); transition: 0.2s ease; }
.search-result-card:hover, .export-card:hover, .notification-row:hover, .notification-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.search-result-card p, .export-card span { margin: 0; color: var(--muted); line-height: 1.55; }
.inline-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pro-hero { background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30%), linear-gradient(135deg, rgba(255,255,255,0.86), rgba(238,244,255,0.70)); }
body.dark .pro-hero { background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.20), transparent 30%), linear-gradient(135deg, rgba(15,23,42,0.95), rgba(8,15,29,0.88)); }
.company-switcher-form { margin-top: 12px; }
.company-switcher-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.company-switcher-select { min-height: 42px; border-radius: 12px; font-size: 0.9rem; }
@media (max-width: 1200px) { .notification-strip, .kpi-grid, .exports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .topbar-right-pro { justify-content: stretch; } .global-search-form, .global-search-form input { width: 100%; } .notification-strip, .kpi-grid, .exports-grid, .search-results { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .notification-row { align-items: flex-start; flex-direction: column; } .global-search-form { flex-direction: column; align-items: stretch; } }


/* =========================
   GROWTH / SALES PRO PACK
   ========================= */
.growth-grid,
.sales-pro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.growth-card-link {
    display: block;
    transition: 0.2s ease;
}

.growth-card-link:hover {
    transform: translateY(-2px);
    background: var(--surface-soft);
}

.sales-document-total {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.timeline-list,
.crm-note-list,
.cashflow-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-row,
.crm-note,
.cashflow-row {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.cashflow-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.stock-positive { color: var(--success); font-weight: 800; }
.stock-negative { color: var(--danger); font-weight: 800; }
.stock-zero { color: var(--muted); font-weight: 800; }

@media (max-width: 980px) {
    .growth-grid,
    .sales-pro-grid {
        grid-template-columns: 1fr;
    }

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


/* =========================
   IMPORT PRO
   ========================= */
.import-dropzone {
    border: 1px dashed var(--border-strong);
    background: linear-gradient(180deg, var(--surface-soft), var(--surface));
    border-radius: 22px;
    padding: 22px;
}
.import-confidence-low { color: var(--danger); }
.import-confidence-mid { color: var(--warning); }
.import-confidence-high { color: var(--success); }
.notification-row.import strong::before,
.dashboard-shortcut-icon.import::before { content: '⇪'; }
.table select[name^="targets"] { min-width: 170px; }
.schema-ok { color: var(--success); font-weight: 800; }
.schema-problem { color: var(--danger); font-weight: 800; }


/* =========================================================
   INVORA INF-STYLE PACK - original layout inspired by modern SaaS UX
   ========================================================= */
:root {
    --inf-bg: #f1f3f5;
    --inf-surface: #ffffff;
    --inf-tab: #e9ecef;
    --inf-border: #d6dbe0;
    --inf-border-strong: #bfc7cf;
    --inf-blue: #1e91e6;
    --inf-blue-dark: #0b83dd;
    --inf-text: #171b20;
    --inf-muted: #68717a;
    --inf-radius: 14px;
    --inf-font: Lato, "Segoe UI", Arial, sans-serif;
}
html, body { font-family: var(--inf-font); }
.workspace-body { margin:0; background:var(--inf-bg); color:var(--inf-text); font-family:var(--inf-font); min-height:100vh; }
.workspace-body.dark { background:var(--inf-bg); color:var(--inf-text); }
.workspace-ksef-bar { height:38px; display:flex; align-items:center; justify-content:center; gap:6px; background:linear-gradient(90deg,#aa3bbf 0%,#ef4c5e 100%); color:#fff; font-weight:900; font-size:16px; letter-spacing:-.01em; position:sticky; top:0; z-index:5000; }
.workspace-ksef-bar a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }
.workspace-header{ background:#fff; border-bottom:1px solid var(--inf-border); position:sticky; top:38px; z-index:4000; box-shadow:0 1px 0 rgba(0,0,0,.03); }
.workspace-main-nav{ height:62px; display:flex; align-items:stretch; padding:0 24px; gap:4px; }
.workspace-logo{ width:54px; min-width:54px; border:1px solid var(--inf-border); border-bottom:0; display:grid; place-items:center; background:#fff; margin-top:7px; border-radius:9px 9px 0 0; }
.workspace-logo-mark{ width:31px; height:36px; position:relative; display:block; }
.workspace-logo-mark:before{ content:""; width:28px; height:28px; background:var(--inf-blue); border-radius:50% 55% 45% 55%; position:absolute; left:0; bottom:0; transform:rotate(-32deg); }
.workspace-logo-mark:after{ content:""; width:9px; height:9px; background:var(--inf-blue); border-radius:50%; position:absolute; right:0; top:0; }
.workspace-logo-mark span{ position:absolute; left:8px; top:8px; width:10px; height:20px; background:#fff; border-radius:12px; transform:rotate(28deg); z-index:2; }
.workspace-tabs{ display:flex; align-items:flex-end; gap:4px; overflow-x:auto; scrollbar-width:none; }
.workspace-tab{ height:54px; min-width:118px; padding:0 24px; display:flex; align-items:center; justify-content:center; background:var(--inf-tab); border:1px solid var(--inf-border); border-bottom:0; border-radius:9px 9px 0 0; color:#4a5159; font-size:22px; font-weight:900; text-decoration:none; margin-top:8px; white-space:nowrap; }
.workspace-tab.active{ background:#fff; color:var(--inf-blue); border-color:var(--inf-border-strong); }
.workspace-actions{ margin-left:auto; display:flex; align-items:center; gap:18px; min-width:0; }
.workspace-icon-btn{ width:25px; height:25px; position:relative; display:inline-flex; color:#434a52; text-decoration:none; flex:0 0 auto; }
.workspace-icon-btn:before,.workspace-icon-btn:after{ content:""; position:absolute; box-sizing:border-box; }
.workspace-icon-add:before{ width:18px; height:18px; border:3px solid currentColor; border-radius:6px; left:0; bottom:0; opacity:.75; }.workspace-icon-add:after{ width:16px;height:16px;border-top:3px solid currentColor;border-left:3px solid currentColor;right:0;top:0;transform:rotate(45deg); }.workspace-icon-add em,.workspace-icon-help em{ position:absolute; right:-5px; top:-5px; width:8px; height:8px; background:#ff8a00; border-radius:50%; }
.workspace-icon-search:before{ width:17px; height:17px; border:3px solid currentColor; border-radius:50%; left:1px; top:1px; }.workspace-icon-search:after{ width:10px; height:3px; background:currentColor; transform:rotate(45deg); right:1px; bottom:4px; border-radius:4px; }
.workspace-icon-chart:before{ width:22px;height:22px;border:3px solid currentColor;border-radius:50%;clip-path:polygon(50% 0,100% 0,100% 100%,50% 100%);left:1px;top:1px; }.workspace-icon-chart:after{ width:11px;height:11px;border-left:3px solid currentColor;border-bottom:3px solid currentColor;left:3px;top:3px; }
.workspace-icon-folder:before{ width:24px;height:18px;border:3px solid currentColor;border-radius:3px;bottom:1px;left:0; }.workspace-icon-folder:after{ width:11px;height:6px;border-top:3px solid currentColor;border-left:3px solid currentColor;left:2px;top:3px;border-radius:3px 0 0 0; }
.workspace-icon-gear:before{ width:22px;height:22px;border:3px solid currentColor;border-radius:50%;left:1px;top:1px; }.workspace-icon-gear:after{ width:6px;height:6px;background:currentColor;border-radius:50%;left:9px;top:9px; }
.workspace-icon-help:before{ content:"?"; width:23px;height:23px;border:3px solid currentColor;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:15px;line-height:1; }
.workspace-company-select select,.workspace-user-pill{ height:38px; max-width:230px; border:1px solid var(--inf-border); border-radius:9px; background:#fff; padding:0 36px 0 14px; font-family:var(--inf-font); font-weight:700; color:#3d444c; font-size:15px; }
.workspace-menu-btn{ width:24px;height:24px;display:flex;flex-direction:column;gap:4px;justify-content:center; }.workspace-menu-btn span{height:3px;background:#39414a;border-radius:4px;display:block;}
.workspace-subnav{ height:53px; display:flex; align-items:flex-end; padding:0 40px; gap:28px; overflow-x:auto; background:#fff; border-top:1px solid var(--inf-border); }
.workspace-subnav a{ height:53px; display:flex; align-items:center; color:#424951; font-size:18px; font-weight:700; text-decoration:none; border-bottom:3px solid transparent; white-space:nowrap; }
.workspace-subnav a.active{ color:var(--inf-blue); border-bottom-color:var(--inf-blue); }
.workspace-content{ padding:34px 24px 70px; max-width:none; gap:22px; }
.content.workspace-content{ display:block; }
.workspace-chat{ position:fixed; left:16px; bottom:18px; width:64px; height:64px; background:var(--inf-blue); border-radius:50%; box-shadow:0 12px 30px rgba(30,145,230,.3); z-index:4500; display:grid; place-items:center; }
.workspace-chat span{ width:30px;height:18px;background:#fff;border-radius:14px;position:relative; }.workspace-chat span:after{ content:"";position:absolute;left:5px;bottom:-5px;border-width:6px 6px 0 0;border-style:solid;border-color:#fff transparent transparent transparent; }
.inf-list-head,.inf-start-head{ display:grid; grid-template-columns:1fr minmax(260px,360px) 1fr; align-items:center; gap:20px; margin:0 0 28px; }
.inf-start-head{ display:flex; justify-content:space-between; }
.inf-start-head p{ margin:0 0 6px; font-size:15px; color:#4e5761; }.inf-list-head h1,.inf-start-head h1{ margin:0; font-size:39px; line-height:1.05; letter-spacing:-.05em; font-weight:900; color:#05070a; }
.inf-center-search{ height:42px; position:relative; }.inf-center-search input{ width:100%;height:42px;border:1px solid var(--inf-border-strong);border-radius:9px;background:#fff;padding:0 16px 0 43px;font-size:16px;color:#1c2228;font-family:var(--inf-font); }.inf-center-search span:before{content:"";position:absolute;left:14px;top:12px;width:13px;height:13px;border:2px solid #69737d;border-radius:50%;z-index:1}.inf-center-search span:after{content:"";position:absolute;left:26px;top:25px;width:8px;height:2px;background:#69737d;transform:rotate(45deg);z-index:1}
.inf-page-actions{ display:flex; justify-content:flex-end; align-items:center; gap:0; }.inf-primary-btn,.inf-secondary-btn,.inf-small-button{ min-height:40px;padding:0 18px;border:0;border-radius:9px;background:var(--inf-blue);color:#fff;font-weight:900;font-size:15px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-family:var(--inf-font); }.inf-primary-btn:hover{background:var(--inf-blue-dark)}.inf-secondary-btn{background:#fff;color:var(--inf-blue);}.inf-more-btn{height:40px;min-width:42px;border:0;border-left:1px solid rgba(255,255,255,.2);border-radius:0 9px 9px 0;background:var(--inf-blue);color:#fff;font-weight:900;font-size:18px;}.inf-page-actions .inf-primary-btn{border-radius:9px 0 0 9px}.inf-page-actions .inf-secondary-btn + .inf-primary-btn{border-radius:9px;margin-left:14px}.inf-page-actions .inf-secondary-btn{border-radius:9px}.inf-filter-row{display:flex;align-items:center;gap:10px;overflow-x:auto;margin:-6px 0 12px;padding-bottom:2px}.inf-filter-row a{height:38px;padding:0 14px;border:1px solid #c7cdd3;border-radius:999px;background:#f6f7f8;color:#4e5760;font-weight:700;text-decoration:none;display:flex;align-items:center;gap:7px;white-space:nowrap}.inf-filter-row a.active{background:#fff;border:2px solid var(--inf-blue);color:var(--inf-blue)}.inf-filter-row em{font-style:normal;background:#e0e3e6;border-radius:999px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.inf-filter-row .divider{height:34px;width:1px;background:#c9ced3;margin:0 8px}.inf-filter-row .new-pill{position:relative}.inf-filter-row .new-pill:before{content:"NEW";position:absolute;top:-15px;left:50%;transform:translateX(-50%);background:#d94a91;color:#fff;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:900}.inf-white-board{min-height:337px;background:#fff;border-radius:15px;padding:22px;margin-bottom:26px;display:flex;align-items:stretch;justify-content:center}.inf-empty-large{min-height:260px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#1f252b}.inf-empty-icon{font-size:54px;color:#b7bdc3;line-height:1;margin-bottom:10px}.inf-empty-large strong{font-size:18px;font-weight:700}.inf-empty-large span{font-size:15px;color:#5d6570;margin-top:4px}.inf-empty-large a{margin-top:18px;background:#dff0ff;color:var(--inf-blue);font-weight:900;text-decoration:none;border-radius:8px;padding:10px 18px}.inf-discover h2{font-size:28px;margin:0 0 18px;font-weight:900;letter-spacing:-.03em}.inf-discover>div{display:flex;gap:16px;flex-wrap:wrap}.inf-discover article{width:260px;height:250px;background:var(--inf-blue);border-radius:14px;color:#fff;padding:18px;position:relative;overflow:hidden}.inf-discover article:after{content:"";width:130px;height:90px;background:rgba(255,255,255,.9);border-radius:18px;position:absolute;left:48px;bottom:25px;transform:rotate(-8deg);box-shadow:30px 8px 0 rgba(36,178,87,.8)}.inf-discover article button{position:absolute;right:12px;top:12px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(0,0,0,.12);color:#fff;font-size:18px}.inf-discover strong{font-size:18px}.inf-discover p{font-size:16px;line-height:1.35;margin:7px 0 0;color:#e6f5ff}.inf-start-grid{display:grid;grid-template-columns:minmax(360px, 1fr) minmax(420px, 1fr);gap:22px;align-items:start}.inf-onboarding-card,.inf-documents-card{background:#fff;border-radius:15px;overflow:hidden;min-height:520px}.inf-blue-top{height:96px;background:var(--inf-blue);color:#fff;display:flex;align-items:center;gap:15px;padding:0 20px;font-size:16px}.inf-blue-top strong{font-size:24px}.mini-avatar,.auth-accountant-badge span{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#d8efff,#fff);color:var(--inf-blue);display:grid;place-items:center;font-weight:900}.inf-onboarding-body{padding:22px}.inf-onboarding-body h2{font-size:24px;margin:0 0 18px}.inf-onboarding-body p{line-height:1.45}.inf-icon-box{float:left;width:48px;height:48px;border:1px solid var(--inf-border);border-radius:12px;display:grid;place-items:center;margin-right:18px;color:#59626b}.inf-choice{display:block;border:1px solid var(--inf-border);border-radius:9px;padding:14px 14px;margin:12px 0;text-decoration:none;color:var(--inf-text);position:relative}.inf-choice.active{border:2px solid var(--inf-blue)}.inf-choice:after{content:"";position:absolute;right:14px;top:22px;width:12px;height:12px;border:2px solid #bbc1c7;border-radius:50%}.inf-choice.active:after{border-color:var(--inf-blue);box-shadow:inset 0 0 0 3px #fff;background:var(--inf-blue)}.inf-choice strong{display:block}.inf-choice span{color:#6b737c}.inf-small-button{margin-top:18px;min-height:32px;padding:0 12px;font-size:14px}.inf-card-title{padding:24px 24px 16px;border-bottom:1px solid #e6e9ec}.inf-card-title span{color:#6a737c;font-size:16px}.inf-card-title h2{margin:3px 0 0;font-size:24px;letter-spacing:-.02em}.inf-clean-table th,.inf-clean-table td{font-size:14px}.search-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%}.simple-result-list{margin:10px 0 0;padding-left:18px;line-height:1.9}
/* Auth split */
.auth-split-page{margin:0;font-family:var(--inf-font);background:#fff;color:#20262d}.auth-back{position:fixed;top:52px;left:36px;width:42px;height:42px;background:#f1f3f5;border-radius:50%;display:grid;place-items:center;text-decoration:none;color:#6b737c;font-size:34px;z-index:10}.auth-split{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-left{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 40px}.auth-left-scroll{justify-content:flex-start;padding-top:72px;overflow:auto}.auth-brand-logo{position:absolute;top:82px;left:50%;transform:translateX(-50%);font-size:34px;font-weight:900;color:var(--inf-blue);text-decoration:none;font-style:italic;letter-spacing:-.06em}.auth-panel{width:100%;max-width:440px;margin-top:90px}.register-panel{margin-top:80px}.auth-minimal-form{display:flex;flex-direction:column}.auth-input-stack{border:1px solid #b8c0c8;border-radius:8px;overflow:hidden;background:#fff}.auth-input-stack label{height:0;overflow:hidden;position:absolute}.auth-input-stack input{width:100%;height:64px;border:0;border-bottom:1px solid #dde1e5;border-radius:0;background:#fff;padding:0 16px;font-size:20px;font-family:var(--inf-font);outline:none}.auth-input-stack input:last-child{border-bottom:0}.auth-password-line{position:relative}.auth-password-line input{padding-right:54px}.auth-eye{position:absolute;right:14px;top:18px;border:0;background:transparent;font-size:18px;color:#6f7780}.auth-forgot{align-self:flex-end;margin:17px 0 24px;color:#333b44;text-decoration:none;font-size:17px}.auth-blue-button,.auth-google-button{height:56px;border-radius:8px;border:0;background:var(--inf-blue);color:#fff;font-size:18px;font-weight:900;display:flex;align-items:center;justify-content:center;text-decoration:none;font-family:var(--inf-font)}.auth-separator{display:flex;align-items:center;gap:12px;margin:24px 0;color:#9aa2aa;font-size:16px}.auth-separator:before,.auth-separator:after{content:"";height:1px;background:#c8ced4;flex:1}.auth-google-button{background:#fff;color:#171b20;border:1px solid #c2c8ce;gap:14px}.auth-google-button span{font-weight:900;color:#4285f4;font-size:22px}.auth-bottom-note{position:absolute;bottom:28px;left:0;right:0;text-align:center;font-size:16px;color:#4f5861}.auth-bottom-note a{color:var(--inf-blue);text-decoration:none}.auth-right{background:linear-gradient(145deg,#1289e3 0%,#45a8ed 100%);color:#fff;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.auth-right:before,.auth-right:after{content:"";position:absolute;border:2px solid rgba(255,255,255,.22);border-radius:50%;width:520px;height:520px}.auth-right:before{right:-120px;top:-180px}.auth-right:after{left:-140px;bottom:-160px}.auth-right-content{position:relative;z-index:1;width:min(560px,78%)}.auth-accountant-badge{display:flex;align-items:flex-end;margin-bottom:20px}.auth-accountant-badge span{width:82px;height:82px;font-size:22px}.auth-accountant-badge em{width:18px;height:18px;background:#37b34a;border:3px solid #fff;border-radius:50%;margin-left:-14px}.auth-right h1{font-size:44px;line-height:1.08;margin:0 0 32px;font-weight:900;letter-spacing:-.04em}.auth-right ul{list-style:none;margin:0 0 40px;padding:0}.auth-right li{font-size:21px;margin:18px 0;line-height:1.35}.auth-right li:before{content:"✓";font-weight:900;margin-right:10px}.auth-right a{color:#fff;font-size:18px;font-weight:900;text-underline-offset:7px}.password-rules{background:#f0f2f4;border-radius:0 0 8px 8px;padding:12px 16px;display:flex;flex-direction:column;gap:8px;color:#444d56}.auth-check{display:flex;gap:12px;margin:16px 0 0;line-height:1.35;color:#3d4650}.auth-check input{width:28px;height:28px;min-width:28px;border-radius:8px}.register-mode .auth-blue-button{margin-top:22px}
/* Public home */
.public-home{margin:0;font-family:var(--inf-font);color:#171b20;background:#fff}.public-nav{height:70px;max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:34px;padding:0 24px}.public-logo{font-size:31px;font-weight:900;color:var(--inf-blue);font-style:italic;text-decoration:none;letter-spacing:-.06em}.public-nav nav{display:flex;gap:28px;flex:1}.public-nav nav a,.public-link{color:#111820;text-decoration:none;font-weight:700;font-size:14px}.public-login{background:var(--inf-blue);color:#fff;text-decoration:none;border-radius:5px;padding:10px 18px;font-weight:900;margin-left:15px}.public-hero{background:linear-gradient(180deg,#e7f5ff 0%,#fff 100%)}.public-hero-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 520px;align-items:center;min-height:520px;padding:0 24px}.public-hotline{color:#127fd5;font-weight:900;margin-bottom:18px}.public-hero h1{font-size:54px;line-height:.98;letter-spacing:-.06em;margin:0 0 28px;font-weight:900;max-width:540px}.public-hero p{font-size:17px;line-height:1.5;color:#3d4650;max-width:510px}.public-hero-actions{display:flex;gap:18px;margin-top:30px}.public-primary,.public-secondary{height:44px;padding:0 22px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900}.public-primary{background:var(--inf-blue);color:#fff}.public-secondary{background:#fff;color:var(--inf-blue)}.public-primary.small{height:38px;font-size:14px}.public-hero-visual{height:480px;position:relative}.public-hero-visual:before{content:"";position:absolute;right:40px;bottom:0;width:280px;height:420px;background:linear-gradient(#d8e7f2,#94b8d0);border-radius:140px 140px 20px 20px}.public-person-card{position:absolute;left:20px;top:90px;background:#fff;border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.12);padding:16px;display:flex;gap:12px;align-items:center;z-index:2}.public-person-card span{display:block;color:#6b7480}.public-avatar{width:54px;height:54px;border-radius:16px;background:var(--inf-blue);display:grid;place-items:center;color:#fff;font-weight:900}.public-phone-mock{position:absolute;right:265px;top:160px;width:120px;height:210px;background:#111;border-radius:28px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;z-index:3}.public-phone-mock strong{font-size:20px}.public-stamp{position:absolute;right:10px;top:90px;width:100px;height:100px;border-radius:50%;background:#d84f89;color:#fff;display:grid;place-items:center;text-align:center;font-weight:900;font-size:13px;transform:rotate(-12deg);z-index:4}.public-benefits,.public-modules,.public-trust,.public-app-preview,.public-help,.public-footer{max-width:1180px;margin:0 auto;padding:70px 24px}.public-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;text-align:center}.public-benefits span{font-size:34px}.public-benefits p{color:#4e5862;line-height:1.45}.public-trust{text-align:center}.public-trust h2,.public-modules h2,.public-app-preview h2{font-size:40px;line-height:1.12;letter-spacing:-.04em;max-width:800px;margin:0 auto 20px;font-weight:900;text-align:center}.public-rating-row{display:flex;justify-content:center;gap:18px;margin-top:28px}.public-rating-row span{border:1px solid #e0e4e8;border-radius:10px;padding:14px 28px;background:#fff}.public-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin-top:55px}.public-module-img{height:150px;border-radius:8px;background:#cfeaff;display:grid;place-items:center;color:#fff;font-size:26px;font-weight:900}.card-blue,.phone-blue{background:var(--inf-blue)}.person-blue{background:linear-gradient(135deg,#e6eef4,#aac9df);color:var(--inf-blue)}.public-module-grid h3{font-size:26px;margin:20px 0 10px}.public-module-grid li{margin:12px 0}.public-module-grid a{color:var(--inf-blue);font-weight:900}.public-app-preview{text-align:center}.public-laptop{height:330px;position:relative;margin:30px auto;max-width:760px}.public-window{position:absolute;left:60px;right:120px;bottom:25px;height:250px;border:8px solid #333;border-bottom-width:18px;border-radius:16px;background:#f8fafc;padding:30px;text-align:left;box-shadow:0 35px 0 -20px #7a848e}.public-window div{height:30px;background:#e5eef6;border-radius:7px;margin:16px 0}.public-mobile-window{position:absolute;right:40px;bottom:40px;width:120px;height:220px;border:7px solid #333;border-radius:28px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.public-icon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin:50px 0}.public-help{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}.public-help-img{height:260px;border-radius:14px;background:linear-gradient(135deg,#d7f0ff,#74bbe9)}.public-help h2{font-size:42px;line-height:1.1;letter-spacing:-.04em}.public-help p{line-height:1.6;color:#4a535d}.public-footer{background:#f1f3f5;max-width:none;display:grid;grid-template-columns:repeat(4,1fr);gap:40px;padding-left:max(24px,calc((100vw - 1180px)/2));padding-right:max(24px,calc((100vw - 1180px)/2))}.public-footer a{display:block;margin:8px 0;color:#27313b;text-decoration:none}
@media (max-width: 980px){.workspace-main-nav{padding:0 10px}.workspace-actions{gap:10px}.workspace-company-select{display:none}.workspace-tab{font-size:18px;min-width:auto;padding:0 16px}.workspace-subnav{padding:0 16px;gap:20px}.inf-list-head{grid-template-columns:1fr;align-items:start}.inf-page-actions{justify-content:flex-start}.inf-start-grid{grid-template-columns:1fr}.auth-split{grid-template-columns:1fr}.auth-right{display:none}.auth-brand-logo{top:38px}.auth-panel{margin-top:75px}.auth-back{top:25px;left:20px}.public-nav nav{display:none}.public-hero-inner,.public-module-grid,.public-benefits,.public-help{grid-template-columns:1fr}.public-hero-visual{display:none}.public-hero h1{font-size:42px}.public-icon-grid,.public-footer{grid-template-columns:1fr 1fr}.workspace-ksef-bar{font-size:13px;text-align:center;padding:0 8px}.search-group-grid{grid-template-columns:1fr}}
@media (max-width: 640px){.workspace-tabs{gap:2px}.workspace-tab{font-size:16px;padding:0 12px;height:48px}.workspace-logo{width:46px;min-width:46px}.workspace-actions .workspace-icon-chart,.workspace-actions .workspace-icon-folder,.workspace-actions .workspace-icon-gear,.workspace-actions .workspace-icon-help{display:none}.workspace-subnav a{font-size:15px}.inf-list-head h1,.inf-start-head h1{font-size:31px}.inf-white-board{padding:12px;border-radius:10px}.public-icon-grid,.public-footer{grid-template-columns:1fr}.auth-left{padding:64px 20px}.auth-panel{max-width:100%}.auth-input-stack input{font-size:17px}.inf-discover article{width:100%}}

/* ===== 2026-05 fidelity refinement / infakt-like workspace ===== */
.workspace-shell{background:#fff;border-bottom:1px solid #d9e1e8;box-shadow:none}
.workspace-topbar{min-height:76px;padding:0 18px;gap:14px}
.workspace-logo{width:46px;height:46px;border-radius:12px;background:#fff;box-shadow:none}
.workspace-tabs{gap:4px;flex-wrap:nowrap}
.workspace-tab{min-width:128px;height:64px;padding:0 26px;border-radius:12px 12px 0 0;border:1px solid #cfd8e1;border-bottom:0;background:#f1f4f7;color:#495564;font-size:17px;font-weight:800;box-shadow:none}
.workspace-tab:hover{background:#f6f8fa;color:#228cf0}
.workspace-tab.active{background:#fff;color:#228cf0;border-color:#cfd8e1;box-shadow:none}
.workspace-actions{gap:14px}
.workspace-icon-btn{width:30px;height:30px;opacity:.85}
.workspace-icon-btn:hover{transform:none;opacity:1}
.workspace-company-select select,.workspace-user-pill{height:46px;min-width:245px;padding:0 44px 0 16px;border-radius:12px;background:#02102d;border:1px solid #15223f;color:#fff;font-size:14px;font-weight:800;box-shadow:none}
.workspace-company-select:after{right:16px;color:#fff;opacity:.9}
.workspace-menu-btn{width:38px;height:26px;border-radius:0;background:transparent;box-shadow:none}
.workspace-menu-btn span{height:3px;border-radius:999px;background:#4b5563}
.workspace-subnav{min-height:60px;padding:0 28px;background:#fff;border-top:1px solid #dfe5ec;gap:30px;overflow-x:auto}
.workspace-subnav a{padding:18px 0 16px;font-size:16px;font-weight:800;color:#334155;white-space:nowrap}
.workspace-subnav a.active{color:#228cf0;box-shadow:inset 0 -3px 0 #228cf0}
.workspace-content{padding:22px 20px 28px;background:#edf1f4}

.inf-list-head,.inf-start-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.inf-list-head h1,.inf-start-head h1{margin:0;font-size:34px;line-height:1.05;letter-spacing:-.04em;color:#0f172a;font-weight:900}
.inf-start-head p{margin:0 0 8px;font-size:14px;color:#667085;font-weight:700}
.inf-center-search{position:relative;flex:0 1 456px;max-width:456px;height:50px;border-radius:12px;border:1px solid #d7dee7;background:#fff;box-shadow:none}
.inf-center-search span{position:absolute;left:16px;top:50%;width:18px;height:18px;border:2px solid #7a8798;border-radius:50%;transform:translateY(-55%)}
.inf-center-search span::after{content:"";position:absolute;right:-5px;bottom:-6px;width:8px;height:2px;border-radius:999px;background:#7a8798;transform:rotate(45deg)}
.inf-center-search input{width:100%;height:100%;border:0;outline:none;background:transparent;padding:0 16px 0 46px;font-size:15px;font-weight:700;color:#0f172a}
.inf-center-search input::placeholder{color:#98a3b1}
.inf-page-actions{display:flex;align-items:center;gap:12px}
.inf-primary-btn,.inf-secondary-btn,.inf-more-btn,.inf-small-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border-radius:12px;font-size:15px;font-weight:800;box-shadow:none;transition:.15s ease}
.inf-primary-btn{background:#2b91ef;border:1px solid #2b91ef;color:#fff}
.inf-primary-btn:hover{background:#1f84e3;border-color:#1f84e3;color:#fff;transform:none}
.inf-secondary-btn{background:#fff;border:1px solid #e2e8f0;color:#2b91ef}
.inf-secondary-btn:hover{background:#f9fbfd;color:#1f84e3;transform:none}
.inf-more-btn{min-width:52px;padding:0 14px;border:1px solid #2b91ef;background:#2b91ef;color:#fff;font-size:22px;line-height:1;border-radius:0 12px 12px 0;margin-left:-12px}
.inf-page-actions .inf-primary-btn + .inf-more-btn{margin-left:-12px}
.inf-page-actions .inf-primary-btn{border-radius:12px 0 0 12px}
.inf-page-actions .inf-secondary-btn + .inf-primary-btn{margin-left:8px}
.inf-filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px;padding:0}
.inf-filter-row a,.inf-filter-row .new-pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;border:1px solid #d4dbe3;background:#fff;color:#4b5563;font-size:14px;font-weight:800;white-space:nowrap}
.inf-filter-row a:hover,.inf-filter-row .new-pill:hover{color:#228cf0;border-color:#c9d7e8}
.inf-filter-row a.active{color:#228cf0;border-color:#228cf0;background:#fff}
.inf-filter-row a em{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;margin-left:8px;border-radius:999px;background:#eef2f6;color:#6b7280;font-style:normal;font-size:13px}
.inf-filter-row .divider{width:1px;height:42px;background:#d6dde5;margin:0 2px}
.inf-filter-row .new-pill{position:relative;padding-top:2px}
.inf-filter-row .new-pill::before{content:"";position:absolute;left:12px;right:12px;top:-2px;height:3px;border-radius:999px;background:#f048a7}

.inf-white-board,.inf-documents-card,.inf-onboarding-card{background:#fff;border:1px solid #e3e8ee;border-radius:22px;box-shadow:none}
.inf-white-board{padding:22px 26px}
.inf-start-grid{display:grid;grid-template-columns:minmax(360px,580px) minmax(420px,1fr);gap:18px;align-items:start}
.inf-onboarding-card{overflow:hidden}
.inf-blue-top{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#2890f0;color:#fff;font-size:15px;font-weight:700}
.mini-avatar{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.22);font-weight:900}
.inf-onboarding-body{padding:18px 20px 20px}
.inf-onboarding-body span{display:block;color:#667085;font-size:13px;font-weight:700}
.inf-onboarding-body h2{margin:4px 0 12px;font-size:22px;line-height:1.2;color:#111827}
.inf-onboarding-body p{margin:0 0 16px;color:#475467;line-height:1.55}
.inf-choice{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid #d8e1ea;border-radius:12px;color:#111827;background:#fff;margin-bottom:14px;position:relative}
.inf-choice::after{content:"";position:absolute;right:16px;top:50%;width:14px;height:14px;border-radius:50%;border:2px solid #c6d0db;transform:translateY(-50%)}
.inf-choice.active{border-color:#2b91ef;box-shadow:inset 0 0 0 1px #2b91ef}
.inf-choice.active::after{border-color:#2b91ef;box-shadow:inset 0 0 0 4px #fff;background:#2b91ef}
.inf-choice strong{font-size:16px}
.inf-small-button{min-height:42px;padding:0 18px;border-radius:10px;background:#2b91ef;color:#fff;border:1px solid #2b91ef}
.inf-documents-card{padding:0;overflow:hidden}
.inf-card-title{padding:18px 20px;border-bottom:1px solid #eaedf1}
.inf-card-title span{display:block;color:#667085;font-size:14px}
.inf-card-title h2{margin:2px 0 0;font-size:22px;color:#111827}

.inf-white-board .table,.inf-documents-card .table{width:100%;border-collapse:collapse}
.inf-white-board .table thead th,.inf-documents-card .table thead th{padding:14px 18px 16px;border-bottom:1px solid #e8edf3;color:#a6b3c3;font-size:13px;letter-spacing:.04em;font-weight:900;text-transform:uppercase}
.inf-white-board .table tbody td,.inf-documents-card .table tbody td{padding:20px 18px;border-bottom:1px solid #edf1f4;font-size:14px;color:#0f172a;vertical-align:middle}
.inf-white-board .table tbody tr:last-child td,.inf-documents-card .table tbody tr:last-child td{border-bottom:0}
.inf-white-board .table td .button-secondary,.inf-documents-card .table td .button-secondary{min-height:44px;padding:0 18px;border-radius:16px;background:#27324d;border:1px solid #27324d;color:#fff;font-weight:800}
.inf-white-board .table td .button-secondary:hover,.inf-documents-card .table td .button-secondary:hover{background:#1d2740;border-color:#1d2740;transform:none}
.inf-clean-table td .button-secondary{background:#2b91ef;border-color:#2b91ef;color:#fff}
.inf-clean-table td .button-secondary:hover{background:#1f84e3;border-color:#1f84e3}
.inf-clean-table .badge,.inf-clean-table .badge-success,.inf-clean-table .badge-warning,.inf-clean-table .badge-danger,.inf-clean-table .badge-draft,.inf-clean-table .badge-unpaid{display:inline-flex;align-items:center;justify-content:center;min-width:106px;min-height:36px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:800;border:1px solid transparent;white-space:nowrap}
.inf-clean-table .badge-draft{background:#27324d;color:#fff;border-color:#27324d}
.inf-clean-table .badge-success{background:#e9f8ee;color:#20a758;border-color:#caecd6}
.inf-clean-table .badge-warning{background:#fff5e6;color:#cc7a00;border-color:#f7ddb2}
.inf-clean-table .badge-danger{background:#feeaea;color:#cf4444;border-color:#f7c8c8}
.inf-clean-table .badge-unpaid{background:#eef2f7;color:#607086;border-color:#dae1ea}
.inf-empty-large{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;gap:8px;text-align:center;color:#64748b}
.inf-empty-large strong{font-size:28px;line-height:1.2;color:#111827}
.inf-empty-large a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;background:#e8f3ff;color:#2b91ef;font-weight:800}
.inf-empty-icon{font-size:44px;color:#b9c4d1}
.inf-discover h2{font-size:32px;letter-spacing:-.04em}

.dashboard-hero.pro-hero{padding:0;border:0;background:transparent;box-shadow:none}
.dashboard-hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) 320px;gap:20px;padding:26px 28px;border-radius:28px;background:radial-gradient(circle at 18% 12%, rgba(255,255,255,.10), rgba(255,255,255,0) 30%),linear-gradient(135deg,#1f2a43 0%,#0a1429 100%);color:#fff}
.eyebrow{display:inline-flex;align-items:center;min-height:34px;padding:0 16px;border-radius:999px;background:#1f4fa4;color:#66a6ff;font-size:15px;font-weight:800;letter-spacing:0;text-transform:uppercase}
.dashboard-hero-title{max-width:860px;margin:16px 0 18px;font-size:30px;line-height:1.15;letter-spacing:-.04em;color:#f8fbff}
.dashboard-hero-text{max-width:840px;color:#d1dae7;font-size:15px;line-height:1.75}
.dashboard-hero .button-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}
.dashboard-hero .button-secondary{min-height:54px;padding:0 22px;border-radius:16px;background:#0d1830;border:1px solid rgba(255,255,255,.12);color:#fff}
.dashboard-hero-side{display:grid;gap:18px}
.dashboard-highlight-card,.stats-grid.dashboard-stats-grid .stat-card{border-radius:22px;background:radial-gradient(circle at 75% 85%, rgba(80,130,255,.12), rgba(80,130,255,0) 28%),linear-gradient(135deg,#121d34 0%,#071225 100%);border:1px solid rgba(255,255,255,.07);color:#fff;box-shadow:none}
.dashboard-highlight-card{padding:22px 24px;min-height:160px}
.dashboard-highlight-label,.stats-grid.dashboard-stats-grid .stat-label{display:block;margin-bottom:12px;color:#b5c2d5;font-size:14px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.dashboard-highlight-value,.stats-grid.dashboard-stats-grid .stat-value{display:block;font-size:38px;line-height:1;font-weight:900;color:#fff}
.dashboard-highlight-meta,.stats-grid.dashboard-stats-grid .stat-meta{display:block;margin-top:12px;color:#d5dfec;line-height:1.55}
.stats-grid.dashboard-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.stats-grid.dashboard-stats-grid .stat-card{padding:26px 26px 30px}
.stats-grid.dashboard-stats-grid .stat-value{margin:14px 0 6px;color:#fff}

.inf-cashflow-hero{margin-bottom:20px}
.inf-cashflow-panel{padding:28px;border-radius:28px;background:radial-gradient(circle at 18% 12%, rgba(255,255,255,.10), rgba(255,255,255,0) 30%),linear-gradient(135deg,#1f2a43 0%,#0a1429 100%);color:#fff;min-height:230px;box-shadow:0 22px 45px rgba(7,18,37,.18)}
.inf-cashflow-panel h1{margin:0 0 10px;font-size:26px;letter-spacing:-.04em;color:#f8fbff}
.inf-cashflow-panel p{margin:0;color:#d1dae7;font-size:16px;line-height:1.6}
.inf-cashflow-empty{display:flex;align-items:center;justify-content:center;min-height:130px;color:#cbd5e1;font-size:18px;text-align:center}
.inf-cashflow-list{margin-top:18px;background:#fff;border:1px solid #e3e8ee;border-radius:22px;padding:8px 22px}
.cashflow-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #edf1f4}
.cashflow-row:last-child{border-bottom:0}
.cashflow-row > div:first-child strong{display:block;margin-bottom:4px;font-size:16px;color:#0f172a}
.cashflow-row > div:first-child span{color:#667085}
.cashflow-row > div:last-child strong{font-size:16px;color:#0f172a}

@media (max-width: 1180px){
  .workspace-topbar{flex-wrap:wrap;padding:12px 16px}
  .workspace-tabs{order:2;width:100%;overflow-x:auto}
  .workspace-actions{margin-left:auto}
  .inf-start-grid,.dashboard-hero-grid,.stats-grid.dashboard-stats-grid{grid-template-columns:1fr}
  .inf-list-head,.inf-start-head{flex-wrap:wrap;align-items:flex-start}
  .inf-center-search{flex:1 1 100%;max-width:none;order:3}
}
@media (max-width: 760px){
  .workspace-content{padding:16px}
  .workspace-subnav{padding:0 16px;gap:18px}
  .workspace-tab{min-width:118px;height:58px;padding:0 20px;font-size:16px}
  .inf-list-head h1,.inf-start-head h1{font-size:28px}
  .inf-white-board{padding:16px}
  .inf-white-board .table thead{display:none}
  .inf-white-board .table tbody tr,.inf-documents-card .table tbody tr{display:grid;padding:12px 0}
  .inf-white-board .table tbody td,.inf-documents-card .table tbody td{padding:8px 0;border-bottom:0}
  .inf-page-actions{width:100%;flex-wrap:wrap}
  .inf-secondary-btn,.inf-primary-btn,.inf-more-btn{width:auto}
}

/* ===== 2026-05 header/menu fidelity hotfix ===== */
.workspace-header{background:#fff;border-bottom:1px solid #d6dde5;box-shadow:none}
.workspace-main-nav{height:82px;padding:0 18px 0 20px;gap:6px;align-items:stretch}
.workspace-logo{width:58px;min-width:58px;height:58px;margin-top:15px;border-radius:10px 10px 0 0;border:1px solid #cfd8e1;border-bottom:0}
.workspace-logo-mark{width:33px;height:38px}
.workspace-tabs{gap:6px;align-items:stretch}
.workspace-tab{height:58px;min-width:158px;margin-top:14px;padding:0 18px;border-radius:10px 10px 0 0;border:1px solid #cfd8e1;border-bottom:0;background:#eceff3;color:#495566;font-size:22px;font-weight:800;letter-spacing:-.02em}
.workspace-tab.active{background:#fff;color:#228cf0}
.workspace-actions{gap:14px;padding-left:10px}
.workspace-icon-btn{width:28px;height:28px;color:#4b535d;opacity:1}
.workspace-company-select{position:relative;display:flex;align-items:center}
.workspace-company-select::after{content:"";position:absolute;right:16px;top:50%;width:10px;height:10px;border-right:2px solid #727c87;border-bottom:2px solid #727c87;transform:translateY(-65%) rotate(45deg);pointer-events:none}
.workspace-company-select select,.workspace-user-pill{appearance:none;-webkit-appearance:none;height:44px;min-width:242px;max-width:242px;padding:0 38px 0 16px;border-radius:12px;background:#fff;border:1px solid #d3dae3;color:#48525e;font-size:15px;font-weight:700;box-shadow:none}
.workspace-user-pill{display:inline-flex;align-items:center;justify-content:flex-start;text-decoration:none}
.workspace-user-menu-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-width:32px}
.workspace-menu-btn{width:30px;height:24px;padding:0;border:0;background:transparent;display:inline-flex;flex-direction:column;justify-content:center;gap:5px;cursor:pointer}
.workspace-menu-btn span{display:block;width:30px;height:3px;border-radius:999px;background:#4d5560}
.workspace-menu-btn:focus-visible{outline:2px solid #2b91ef;outline-offset:4px;border-radius:6px}
.workspace-user-menu{position:absolute;right:-8px;top:calc(100% + 14px);width:418px;padding:12px 14px 10px;border-radius:12px;background:#f2f4f7;border:1px solid #cfd7e2;box-shadow:0 18px 36px rgba(15,23,42,.14);z-index:4500}
.workspace-user-menu-card{background:#fff;border-radius:20px;padding:0;overflow:hidden;border:1px solid #e5e9ee}
.workspace-user-menu + .workspace-user-menu-card{margin-top:14px}
.workspace-user-menu-period{margin-bottom:14px}
.workspace-user-menu-link{display:block;padding:18px 44px 18px 20px;text-decoration:none;color:#1f2937;position:relative}
.workspace-user-menu-link-arrow::after{content:"›";position:absolute;right:18px;top:50%;transform:translateY(-53%);font-size:28px;line-height:1;color:#4b5563}
.workspace-user-menu-title{display:block;font-size:20px;font-weight:700;line-height:1.2;margin-bottom:6px;color:#18202a}
.workspace-user-menu-subtitle{display:block;font-size:13px;line-height:1.35;color:#596270}
.workspace-user-menu-cta{display:flex;align-items:center;justify-content:center;height:46px;border-radius:11px;background:#2c8fe8;color:#fff;text-decoration:none;font-size:17px;font-weight:700;margin-bottom:14px}
.workspace-user-menu-list{padding:12px 0;margin-bottom:14px}
.workspace-user-menu-item{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 18px;text-decoration:none;color:#303842;font-size:17px;font-weight:400}
.workspace-user-menu-item:hover{background:#f7f9fb}
.workspace-user-menu-icon{width:28px;display:inline-flex;align-items:center;justify-content:center;color:#6b7280;font-size:18px;line-height:1}
.workspace-user-menu-footer{display:flex;align-items:center;gap:8px;padding:0 2px 2px 4px;font-size:14px;color:#3f4752}
.workspace-user-menu-footer a{color:#1f8ef1;text-decoration:none;font-weight:700}
.workspace-ksef-status{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.workspace-ksef-status i{width:10px;height:10px;border-radius:50%;display:inline-block;background:#ef4444}
.workspace-ksef-status.is-online i{background:#16a34a}
.workspace-ksef-status.is-offline{color:#ef4444}
.workspace-subnav{min-height:58px;padding:0 28px;background:#fff;border-top:1px solid #dfe5ec;gap:30px}
.workspace-subnav a{height:58px;padding:0 0 3px;font-size:18px;font-weight:700;color:#364152;border-bottom:3px solid transparent}
.workspace-subnav a.active{color:#228cf0;border-bottom-color:#228cf0;box-shadow:none}

@media (max-width: 1200px){
  .workspace-tab{min-width:132px;font-size:18px}
  .workspace-company-select select,.workspace-user-pill{min-width:210px;max-width:210px}
  .workspace-user-menu{width:360px}
}
@media (max-width: 980px){
  .workspace-main-nav{height:auto;min-height:74px;padding:0 12px 8px;flex-wrap:wrap}
  .workspace-logo{margin-top:10px}
  .workspace-tab{height:50px;min-width:auto;font-size:18px;margin-top:10px}
  .workspace-actions{margin-left:auto;gap:12px}
  .workspace-company-select{display:none}
  .workspace-user-menu{right:0;width:min(92vw,380px)}
}

/* ===== 2026-05 pixel header correction v2 ===== */
body.workspace-body .workspace-header{background:#fff !important;border-bottom:1px solid #d8dfe7 !important;box-shadow:none !important}
body.workspace-body .workspace-ksef-bar{height:48px !important;padding:0 16px !important;background:linear-gradient(90deg,#a545c7 0%,#ee5a5d 100%) !important;font-size:16px !important;font-weight:800 !important;letter-spacing:-.01em !important}
body.workspace-body .workspace-ksef-bar a{font-weight:800 !important;text-decoration:underline !important}
body.workspace-body .workspace-main-nav{height:77px !important;padding:0 15px 0 45px !important;gap:6px !important;align-items:flex-start !important;overflow:visible}
body.workspace-body .workspace-logo{width:59px !important;min-width:59px !important;height:60px !important;margin-top:17px !important;border-radius:12px 12px 0 0 !important;border:1px solid #cfd7df !important;border-bottom:none !important;background:#fff !important}
body.workspace-body .workspace-logo-mark{width:34px !important;height:38px !important}
body.workspace-body .workspace-tabs{gap:6px !important;align-items:flex-start !important}
body.workspace-body .workspace-tab{height:60px !important;margin-top:17px !important;padding:0 25px !important;border:1px solid #cfd7df !important;border-bottom:none !important;border-radius:12px 12px 0 0 !important;background:#eceff3 !important;color:#4b5561 !important;font-size:21px !important;font-weight:800 !important;line-height:1 !important;letter-spacing:-.025em !important;box-shadow:none !important;min-width:0 !important}
body.workspace-body .workspace-tab.active{background:#eceff3 !important;color:#238ef0 !important}
body.workspace-body .workspace-actions{margin-left:auto !important;display:flex !important;align-items:center !important;gap:16px !important;padding-top:22px !important;padding-left:8px !important}
body.workspace-body .workspace-icon-btn{width:27px !important;height:27px !important;color:#4f5863 !important;opacity:1 !important;flex:0 0 27px}
body.workspace-body .workspace-icon-help em{right:-1px !important;top:-2px !important;width:9px !important;height:9px !important;background:#f59e0b !important}
body.workspace-body .workspace-user-summary{display:flex !important;align-items:center !important;margin-left:8px !important}
body.workspace-body .workspace-user-pill{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;height:46px !important;min-width:282px !important;max-width:282px !important;padding:0 14px 0 15px !important;border:1px solid #d2d8df !important;border-radius:12px !important;background:#fff !important;color:#4b5563 !important;font-size:16px !important;font-weight:700 !important;line-height:1 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;box-shadow:none !important}
body.workspace-body .workspace-user-pill-text{display:block !important;min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important}
body.workspace-body .workspace-user-pill-close{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:18px !important;height:18px !important;color:#6b7280 !important;font-size:18px !important;font-weight:700 !important;line-height:1 !important;flex:0 0 18px}
body.workspace-body .workspace-user-menu-wrap{min-width:auto !important;margin-left:4px !important}
body.workspace-body .workspace-menu-btn{width:31px !important;height:24px !important;padding:0 !important;display:inline-flex !important;flex-direction:column !important;justify-content:center !important;gap:5px !important;background:transparent !important;border:0 !important}
body.workspace-body .workspace-menu-btn span{width:31px !important;height:3px !important;border-radius:999px !important;background:#525b67 !important}
body.workspace-body .workspace-subnav{min-height:58px !important;padding:0 38px !important;background:#fff !important;border-top:1px solid #dde3ea !important;gap:28px !important}
body.workspace-body .workspace-subnav a{height:58px !important;padding:0 0 3px !important;font-size:18px !important;font-weight:700 !important;color:#36414d !important;border-bottom:3px solid transparent !important}
body.workspace-body .workspace-subnav a.active{color:#238ef0 !important;border-bottom-color:#238ef0 !important}
@media (max-width: 1280px){
  body.workspace-body .workspace-main-nav{padding-left:20px !important}
  body.workspace-body .workspace-user-pill{min-width:250px !important;max-width:250px !important}
}
@media (max-width: 980px){
  body.workspace-body .workspace-main-nav{height:auto !important;min-height:74px !important;padding:0 12px 10px !important;align-items:flex-start !important}
  body.workspace-body .workspace-actions{padding-top:12px !important;gap:12px !important}
  body.workspace-body .workspace-user-pill{min-width:220px !important;max-width:220px !important;height:42px !important;font-size:14px !important}
  body.workspace-body .workspace-subnav{padding:0 16px !important;gap:18px !important;overflow-x:auto !important}
}

/* ===== Invora public home 2026 replacement ===== */
.public-home-2026 {
    --home-blue: #168be8;
    --home-blue-dark: #0b78d0;
    --home-ink: #0e1624;
    --home-muted: #4b5b6f;
    --home-soft: #edf8ff;
    --home-line: rgba(15, 23, 42, 0.10);
    --home-pink: #db4d8a;
    margin: 0;
    min-height: 100vh;
    font-family: Lato, "Segoe UI", Arial, sans-serif;
    color: var(--home-ink);
    background: #ffffff;
}

.public-nav-2026 {
    height: 76px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 32px;
    background: transparent;
}

.public-logo-2026 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--home-blue);
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
    font-style: normal;
    letter-spacing: -0.06em;
    text-decoration: none;
}

.public-logo-mark-2026 {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1495ef, #0878d8);
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
    font-style: italic;
    box-shadow: 0 14px 28px rgba(22, 139, 232, 0.18);
}

.public-nav-2026 nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 27px;
}

.public-nav-2026 nav a,
.public-register-2026 {
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.92;
}

.public-nav-2026 nav a:hover,
.public-register-2026:hover {
    color: var(--home-blue);
}

.public-nav-actions-2026 {
    display: flex;
    align-items: center;
    gap: 18px;
}

.public-login-2026 {
    min-height: 36px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--home-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 22px rgba(22, 139, 232, 0.18);
}

.public-hero-2026 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 35%, rgba(35, 145, 231, 0.12), transparent 33%),
        linear-gradient(180deg, #e9f7ff 0%, #f7fcff 44%, #ffffff 100%);
}

.public-hero-2026::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.36), rgba(255,255,255,0)),
        radial-gradient(circle at 12% 18%, rgba(22, 139, 232, 0.08), transparent 20%);
    pointer-events: none;
}

.public-hero-inner-2026 {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    min-height: 620px;
    margin: 0 auto;
    padding: 56px 28px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 70px;
}

.public-hero-copy-2026 {
    max-width: 660px;
}

.public-hotline-2026 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--home-blue-dark);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.public-hotline-dot-2026 {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--home-blue);
    box-shadow: 0 0 0 5px rgba(22, 139, 232, 0.12);
}

.public-hero-copy-2026 h1 {
    margin: 0 0 26px;
    max-width: 680px;
    font-size: clamp(48px, 5.05vw, 78px);
    line-height: 0.965;
    letter-spacing: -0.085em;
    font-weight: 900;
    color: #101828;
}

.public-hero-copy-2026 p {
    margin: 0;
    max-width: 570px;
    color: #26384d;
    font-size: 21px;
    line-height: 1.48;
    letter-spacing: -0.02em;
}

.public-hero-actions-2026 {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.public-primary-2026,
.public-secondary-2026 {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.public-primary-2026 {
    background: var(--home-blue);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(22, 139, 232, 0.22);
}

.public-primary-2026:hover {
    background: var(--home-blue-dark);
    transform: translateY(-1px);
}

.public-secondary-2026 {
    background: rgba(255,255,255,0.75);
    color: var(--home-blue-dark);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.public-secondary-2026:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.public-hero-proof-2026 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.public-hero-proof-2026 span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #36506b;
    border: 1px solid rgba(22, 139, 232, 0.10);
    font-size: 13px;
    font-weight: 900;
}

.public-hero-visual-2026 {
    position: relative;
    height: 520px;
    min-height: 520px;
}

.public-hero-visual-2026::before {
    content: "";
    position: absolute;
    right: 38px;
    top: 24px;
    width: 420px;
    height: 500px;
    border-radius: 220px 220px 34px 34px;
    background:
        linear-gradient(180deg, rgba(200, 224, 238, 0.72), rgba(126, 177, 207, 0.78));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 34px 65px rgba(53, 119, 159, 0.16);
}

.public-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.55);
    pointer-events: none;
}

.public-orbit-one {
    right: 54px;
    top: 26px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
}

.public-orbit-two {
    right: 24px;
    bottom: 28px;
    width: 230px;
    height: 230px;
    border-radius: 44% 56% 48% 52%;
}

.public-assistant-card-2026 {
    position: absolute;
    left: 20px;
    top: 72px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 330px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 24px 48px rgba(20, 66, 103, 0.14);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(18px);
}

.public-assistant-icon-2026 {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(145deg, #1997f1, #0b7dd9);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 21px;
    font-weight: 900;
}

.public-assistant-card-2026 strong {
    display: block;
    color: #0f172a;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.public-assistant-card-2026 span {
    display: block;
    margin-top: 4px;
    color: #506075;
    font-size: 17px;
}

.public-dashboard-card-2026 {
    position: absolute;
    z-index: 5;
    left: 160px;
    top: 190px;
    width: 185px;
    min-height: 270px;
    padding: 24px 20px;
    border-radius: 34px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.24);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.public-dashboard-card-2026::after {
    content: "";
    position: absolute;
    inset: auto -50px -50px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(22, 139, 232, 0.28);
}

.public-dashboard-top-2026 {
    position: absolute;
    left: 20px;
    top: 18px;
    display: flex;
    gap: 5px;
}

.public-dashboard-top-2026 span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
}

.public-dashboard-title-2026 {
    margin-bottom: 14px;
    color: rgba(255,255,255,0.78);
    font-size: 18px;
    font-weight: 700;
}

.public-dashboard-card-2026 strong {
    display: block;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.public-dashboard-card-2026 small {
    margin-top: 10px;
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    font-weight: 700;
}

.public-dashboard-bars-2026 {
    width: 100%;
    margin-top: 28px;
    display: grid;
    gap: 8px;
}

.public-dashboard-bars-2026 i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
}

.public-dashboard-bars-2026 i:nth-child(2) { width: 72%; }
.public-dashboard-bars-2026 i:nth-child(3) { width: 52%; }

.public-floating-panel-2026 {
    position: absolute;
    z-index: 6;
    min-width: 166px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 20px 44px rgba(20, 66, 103, 0.14);
    border: 1px solid rgba(255,255,255,0.8);
}

.public-floating-panel-2026 span {
    display: block;
    color: var(--home-blue-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.public-floating-panel-2026 strong {
    display: block;
    margin-top: 4px;
    color: #132033;
    font-size: 14px;
    font-weight: 900;
}

.public-floating-panel-ksef {
    right: 18px;
    top: 235px;
}

.public-floating-panel-tax {
    left: 12px;
    bottom: 68px;
}

.public-stamp-2026 {
    position: absolute;
    z-index: 7;
    right: 10px;
    top: 76px;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e05293, #cf3b7d);
    color: #ffffff;
    text-align: center;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 900;
    transform: rotate(-11deg);
    box-shadow: 0 24px 44px rgba(219, 77, 138, 0.22);
}

.public-benefits-2026 {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 28px 72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px;
    text-align: center;
}

.public-benefits-2026 article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.public-benefit-icon-2026 {
    position: relative;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    display: inline-grid;
    place-items: center;
    border-radius: 20px;
    background: #f3f9ff;
    border: 1px solid rgba(22, 139, 232, 0.11);
}

.public-benefit-icon-2026::before,
.public-benefit-icon-2026::after {
    content: "";
    position: absolute;
    display: block;
}

.public-benefit-icon-doc::before {
    width: 22px;
    height: 28px;
    border: 3px solid #111827;
    border-radius: 4px;
}
.public-benefit-icon-doc::after {
    width: 12px;
    height: 12px;
    right: 17px;
    top: 14px;
    border-top: 3px solid #111827;
    border-right: 3px solid #111827;
}

.public-benefit-icon-shield::before {
    width: 28px;
    height: 32px;
    border: 3px solid #111827;
    border-radius: 16px 16px 18px 18px;
    transform: rotate(45deg) scale(.78);
}
.public-benefit-icon-shield::after {
    width: 15px;
    height: 8px;
    border-left: 3px solid var(--home-blue);
    border-bottom: 3px solid var(--home-blue);
    transform: rotate(-45deg);
}

.public-benefit-icon-chart::before {
    left: 15px;
    bottom: 15px;
    width: 30px;
    height: 24px;
    border-left: 3px solid #111827;
    border-bottom: 3px solid #111827;
}
.public-benefit-icon-chart::after {
    left: 20px;
    top: 24px;
    width: 27px;
    height: 14px;
    border-top: 3px solid var(--home-blue);
    border-right: 3px solid var(--home-blue);
    transform: skew(-18deg);
}

.public-benefit-icon-lock::before {
    width: 28px;
    height: 22px;
    bottom: 14px;
    border: 3px solid #111827;
    border-radius: 5px;
}
.public-benefit-icon-lock::after {
    width: 20px;
    height: 18px;
    top: 13px;
    border: 3px solid #111827;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
}

.public-benefits-2026 strong {
    display: block;
    margin-bottom: 10px;
    color: #111827;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.public-benefits-2026 p {
    margin: 0;
    max-width: 240px;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
}

.public-trust-2026,
.public-modules-2026 {
    max-width: 1240px;
    margin: 0 auto;
    padding: 76px 28px;
}

.public-trust-2026 {
    text-align: center;
}

.public-trust-2026 h2,
.public-modules-2026 h2 {
    max-width: 840px;
    margin: 0 auto 18px;
    color: #111827;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.065em;
    font-weight: 900;
    text-align: center;
}

.public-trust-2026 p {
    max-width: 760px;
    margin: 0 auto;
    color: #475569;
    font-size: 18px;
    line-height: 1.6;
}

.public-rating-row-2026 {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
}

.public-rating-row-2026 span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    box-shadow: 0 16px 35px rgba(15,23,42,0.05);
    color: #334155;
    font-weight: 700;
}

.public-module-grid-2026 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.public-module-grid-2026 article {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #e4ebf2;
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.06);
}

.public-module-grid-2026 h3 {
    margin: 20px 0 12px;
    color: #111827;
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.public-module-grid-2026 ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.public-module-grid-2026 li {
    position: relative;
    margin: 12px 0;
    padding-left: 24px;
    color: #475569;
    line-height: 1.45;
}

.public-module-grid-2026 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--home-blue);
    border-bottom: 2px solid var(--home-blue);
    transform: rotate(-45deg);
}

.public-module-grid-2026 a {
    color: var(--home-blue-dark);
    text-decoration: none;
    font-weight: 900;
}

.public-module-grid-2026 a:hover {
    text-decoration: underline;
}

.public-module-grid-2026 .public-module-img {
    height: 168px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.05em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}

.module-invoices-2026 {
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.28), transparent 22%),
        linear-gradient(145deg, #239af1, #0a75d0);
}

.module-accounting-2026 {
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.22), transparent 24%),
        linear-gradient(145deg, #101827, #21345c);
}

.module-company-2026 {
    background:
        radial-gradient(circle at 75% 26%, rgba(255,255,255,.26), transparent 26%),
        linear-gradient(145deg, #db4d8a, #8b5cf6);
}

.public-footer-2026 {
    max-width: none;
    margin-top: 30px;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(35,154,241,0.10), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
    border-top: 1px solid #dbe5ef;
}

.public-footer-shell-2026 {
    max-width: 1240px;
    margin: 0 auto;
    padding: 68px 28px 24px;
}

.public-footer-top-2026 {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(240px, 1.05fr) repeat(3, minmax(150px, 0.8fr));
    gap: 34px;
    align-items: start;
}

.public-footer-brand-2026 p {
    max-width: 360px;
    margin: 18px 0 0;
    color: #526072;
    font-size: 15px;
    line-height: 1.72;
}

.public-footer-logo-2026 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    text-decoration: none;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.07em;
}

.public-footer-logo-2026::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #239af1, #8b5cf6);
    box-shadow: 0 0 0 8px rgba(35,154,241,0.12);
}

.public-footer-badges-2026 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.public-footer-badges-2026 span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid #d8e3ee;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15,23,42,0.05);
}

.public-footer-contact-2026 {
    padding: 22px 22px 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.78);
    border: 1px solid #dbe5ef;
    box-shadow: 0 18px 45px rgba(15,23,42,0.06);
}

.public-footer-col-2026 h3,
.public-footer-contact-2026 h3 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.public-footer-col-2026 a,
.public-footer-contact-2026 a {
    display: block;
    width: fit-content;
    margin: 0 0 12px;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color .18s ease, transform .18s ease;
}

.public-footer-col-2026 a:hover,
.public-footer-contact-2026 a:hover,
.public-footer-bottom-links-2026 a:hover {
    color: #0a7dde;
    transform: translateX(2px);
}

.public-footer-cta-2026 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px !important;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #239af1, #0a7dde);
    color: #ffffff !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 32px rgba(35,154,241,0.26);
}

.public-footer-cta-2026:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.public-footer-bottom-2026 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid #dbe5ef;
    color: #64748b;
    font-size: 14px;
}

.public-footer-bottom-links-2026 {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.public-footer-bottom-links-2026 a {
    color: #526072;
    text-decoration: none;
    font-weight: 600;
    transition: color .18s ease, transform .18s ease;
}

@media (max-width: 1080px) {
    .public-nav-2026 nav {
        display: none;
    }

    .public-hero-inner-2026 {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: auto;
        padding-top: 48px;
    }

    .public-hero-visual-2026 {
        height: 430px;
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

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

@media (max-width: 720px) {
    .public-nav-2026 {
        height: auto;
        padding: 18px;
        flex-wrap: wrap;
    }

    .public-nav-actions-2026 {
        width: 100%;
        justify-content: space-between;
    }

    .public-hero-inner-2026 {
        padding: 34px 18px 54px;
    }

    .public-hero-copy-2026 h1 {
        font-size: 44px;
    }

    .public-hero-copy-2026 p {
        font-size: 18px;
    }

    .public-hero-actions-2026 {
        flex-direction: column;
        align-items: stretch;
    }

    .public-primary-2026,
    .public-secondary-2026 {
        width: 100%;
    }

    .public-hero-visual-2026 {
        display: none;
    }

    .public-benefits-2026,
    .public-module-grid-2026,
    .public-rating-row-2026 {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .public-benefits-2026,
    .public-trust-2026,
    .public-modules-2026 {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 1080px) {
    .public-footer-top-2026 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .public-footer-shell-2026 {
        padding: 54px 18px 22px;
    }

    .public-footer-top-2026 {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .public-footer-contact-2026 {
        padding: 20px 18px 22px;
    }

    .public-footer-bottom-2026 {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-footer-bottom-links-2026 {
        gap: 14px;
    }
}
