:root {
    --sidebar: #151821;
    --sidebar-soft: #202430;
    --background: #f3f5f8;
    --surface: #ffffff;
    --surface-soft: #f8f9fb;
    --text: #20232b;
    --muted: #727886;
    --border: #e4e7ec;
    --accent: #d91f69;
    --accent-dark: #b71758;
    --accent-soft: #fce7f0;
    --success: #1c9b68;
    --shadow: 0 14px 34px rgba(25, 31, 45, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 24px 18px;
    background:
        radial-gradient(circle at top left, rgba(217, 31, 105, 0.24), transparent 34%),
        var(--sidebar);
    color: #fff;
}

.sidebar-brand,
.login-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.sidebar-brand {
    padding: 4px 10px 30px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #ff629c);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(217, 31, 105, 0.32);
}

.sidebar-brand strong,
.login-brand strong {
    display: block;
    font-size: 18px;
}

.sidebar-brand span,
.login-brand span {
    display: block;
    margin-top: 2px;
    color: #aeb4c2;
    font-size: 12px;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 13px;
    color: #bec4d0;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--sidebar-soft);
    color: #fff;
}

.nav-link.active {
    box-shadow: inset 3px 0 0 var(--accent);
}

.nav-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 15px;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-main {
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 78px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(500px, 48%);
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface-soft);
}

.topbar-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.user-area {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-left: auto;
}

.user-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 800;
}

.user-details strong,
.user-details span {
    display: block;
}

.user-details strong {
    font-size: 14px;
}

.user-details span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.logout-button {
    margin-left: 8px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
}

.logout-button:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.page-content {
    padding: 32px;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.page-heading h1,
.panel-heading h2,
.login-form-heading h2 {
    margin: 0;
}

.page-heading h1 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.035em;
}

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

.system-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid #d7eee5;
    border-radius: 12px;
    background: #f0faf6;
    color: #167a54;
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(28, 155, 104, 0.12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 22px;
}

.stat-card,
.panel {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 21px;
    border-radius: 16px;
}

.stat-label,
.stat-card small {
    display: block;
    color: var(--muted);
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin: 12px 0 4px;
    font-size: 27px;
    letter-spacing: -0.03em;
}

.stat-card small {
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: start;
}

.panel {
    padding: 24px;
    border-radius: var(--radius);
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.panel-heading h2 {
    font-size: 20px;
}

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

.module-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-soft);
    transition: 0.2s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    border-color: #efb3ca;
    background: #fff;
    box-shadow: 0 12px 24px rgba(26, 30, 42, 0.08);
}

.module-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.module-card strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.module-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.module-arrow {
    color: var(--accent);
    font-size: 20px;
}

.dashboard-side {
    display: grid;
    gap: 22px;
}

.counter-badge {
    display: grid;
    place-items: center;
    min-width: 29px;
    height: 29px;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
}

.notice-list,
.news-list {
    display: grid;
    gap: 12px;
}

.notice-item {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
}

.notice-item.important {
    border-color: #f1c3d5;
    background: #fff8fb;
}

.notice-type {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notice-item strong,
.news-list strong {
    display: block;
    font-size: 13px;
}

.notice-item p,
.news-list p {
    margin: 6px 0 11px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.notice-item button {
    padding: 8px 11px;
    border: 0;
    border-radius: 9px;
    background: var(--text);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.news-list article {
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}

.news-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.news-list time {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
}

.login-page {
    background: var(--sidebar);
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(420px, 1.15fr) minmax(390px, 0.85fr);
    min-height: 100vh;
}

.login-visual {
    display: flex;
    flex-direction: column;
    padding: 52px;
    background:
        radial-gradient(circle at 12% 15%, rgba(217, 31, 105, 0.4), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(217, 31, 105, 0.18), transparent 30%),
        #151821;
    color: #fff;
}

.login-message {
    max-width: 650px;
    margin: auto 0;
}

.login-message h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.login-message p {
    max-width: 580px;
    margin: 24px 0 0;
    color: #b8beca;
    font-size: 17px;
    line-height: 1.7;
}

.login-security {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #aeb4c2;
    font-size: 12px;
}

.login-security span {
    color: var(--success);
}

.login-form-panel {
    display: grid;
    place-items: center;
    padding: 35px;
    background: #f7f8fa;
}

.login-form {
    width: min(420px, 100%);
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(10, 14, 24, 0.13);
}

.login-form-heading {
    margin-bottom: 28px;
}

.login-form-heading h2 {
    font-size: 32px;
    letter-spacing: -0.035em;
}

.login-form-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.login-form label {
    display: block;
    margin: 16px 0 7px;
    font-size: 12px;
    font-weight: 700;
}

.login-form input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: 0;
    background: var(--surface-soft);
}

.login-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.primary-button {
    width: 100%;
    min-height: 49px;
    margin-top: 22px;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.primary-button:hover {
    background: var(--accent-dark);
}

.form-error {
    padding: 11px 13px;
    border: 1px solid #f0b6c9;
    border-radius: 11px;
    background: #fff2f6;
    color: #a3194c;
    font-size: 12px;
}

.login-help {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 850px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        z-index: 50;
        width: 270px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

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

    .menu-button {
        display: block;
    }

    .topbar {
        padding: 13px 17px;
    }

    .topbar-search {
        width: auto;
        flex: 1;
    }

    .user-details {
        display: none;
    }

    .page-content {
        padding: 22px 17px;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }
}

@media (max-width: 620px) {
    .topbar-search {
        display: none;
    }

    .logout-button {
        padding: 8px 10px;
        font-size: 11px;
    }

    .page-heading {
        display: block;
    }

    .system-status {
        width: fit-content;
        margin-top: 18px;
    }

    .stats-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 18px;
    }

    .login-form-panel {
        padding: 18px;
    }

    .login-form {
        padding: 26px 22px;
    }
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}


/* =========================================================
   NOWA STRONA STARTOWA — HERO, ZEGAR I ROLKI
   ========================================================= */

.portal-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    min-height: 310px;
    margin-bottom: 26px;
    padding: 48px;
    overflow: hidden;
    border-radius: 28px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(236, 0, 140, 0.34),
            transparent 34%
        ),
        linear-gradient(
            125deg,
            #141826 0%,
            #24152a 48%,
            #46142f 100%
        );
    box-shadow: 0 24px 60px rgba(20, 24, 38, 0.18);
}

.portal-hero::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -110px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(236, 0, 140, 0.17);
}

.portal-hero::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: 250px;
    top: -100px;
    border-radius: 50%;
    border: 32px solid rgba(255, 255, 255, 0.035);
}

.portal-hero__content,
.portal-clock {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #ff70b9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.portal-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.portal-hero__content > p {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button--primary {
    color: #ffffff;
    background: #ec008c;
}

.hero-button--secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.075);
}

.portal-clock {
    min-width: 320px;
    padding: 26px 30px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.portal-clock__time {
    color: #ffffff;
    font-size: clamp(44px, 4vw, 67px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
    font-variant-numeric: tabular-nums;
}

.portal-clock__date {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    line-height: 1.4;
}

.portal-clock__status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #baf6dc;
    font-size: 12px;
    font-weight: 700;
    background: rgba(38, 198, 128, 0.13);
}

.stories-section {
    margin-bottom: 26px;
    padding: 26px;
    border: 1px solid #e5e8ef;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(29, 36, 54, 0.055);
}

.stories-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.stories-heading h2 {
    margin: 5px 0 0;
    font-size: 24px;
}

.stories-manage-button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #e2e5eb;
    border-radius: 12px;
    color: #252a35;
    font-weight: 700;
    background: #f7f8fa;
    cursor: pointer;
}

.stories-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.story-card {
    min-width: 130px;
    padding: 16px 12px;
    border: 1px solid #e7e9ef;
    border-radius: 18px;
    text-align: center;
    background: #fafbfc;
    cursor: pointer;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.story-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 0, 140, 0.35);
    box-shadow: 0 12px 26px rgba(25, 31, 46, 0.08);
}

.story-card--active {
    border-color: rgba(236, 0, 140, 0.48);
    background: #fff7fb;
}

.story-card__image {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 13px;
    place-items: center;
    border: 4px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    font-weight: 850;
    box-shadow:
        0 0 0 3px #ec008c,
        0 8px 20px rgba(32, 37, 52, 0.14);
}

.story-card__image--news {
    background: linear-gradient(145deg, #ec008c, #ff4cab);
}

.story-card__image--products {
    background: linear-gradient(145deg, #7b3cff, #b16cff);
}

.story-card__image--machines {
    background: linear-gradient(145deg, #1468e8, #44a4ff);
}

.story-card__image--events {
    background: linear-gradient(145deg, #ff7a18, #ffb348);
}

.story-card__image--training {
    background: linear-gradient(145deg, #008b72, #2fc49e);
}

.story-card__image--important {
    background: linear-gradient(145deg, #d11f42, #ff4967);
}

.story-card__title {
    display: block;
    color: #20242e;
    font-size: 14px;
    font-weight: 800;
}

.story-card small {
    display: block;
    margin-top: 5px;
    color: #818895;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 1200px) {
    .portal-hero {
        grid-template-columns: 1fr;
    }

    .portal-clock {
        width: 100%;
        min-width: 0;
        max-width: 480px;
    }

    .stories-track {
        grid-template-columns: repeat(6, 145px);
    }
}

@media (max-width: 767px) {
    .portal-hero {
        min-height: 0;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .portal-hero h1 {
        font-size: 38px;
    }

    .portal-hero__content > p {
        font-size: 15px;
    }

    .portal-clock {
        padding: 22px 18px;
    }

    .portal-clock__time {
        font-size: 43px;
    }

    .stories-section {
        padding: 20px 16px;
    }

    .stories-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   INVENTINI PORTAL 2026 — PREMIUM WORKSPACE UI
   ========================================================= */
:root {
    --bg: #f5f6f8;
    --bg-elevated: rgba(255,255,255,.78);
    --surface-2: #f8f9fb;
    --ink: #12141a;
    --ink-soft: #5f6572;
    --line: rgba(20,24,34,.08);
    --pink: #ec008c;
    --pink-2: #ff4faf;
    --pink-soft-2: rgba(236,0,140,.10);
    --shadow-soft: 0 18px 50px rgba(18,20,28,.08);
    --shadow-hover: 0 26px 70px rgba(18,20,28,.13);
}

html[data-theme="dark"] {
    --background: #0c0e13;
    --bg: #0c0e13;
    --surface: #14171e;
    --surface-soft: #181b23;
    --surface-2: #181b23;
    --text: #f4f5f7;
    --ink: #f4f5f7;
    --muted: #959ca9;
    --ink-soft: #959ca9;
    --border: rgba(255,255,255,.08);
    --line: rgba(255,255,255,.08);
    --bg-elevated: rgba(20,23,30,.82);
    --shadow-soft: 0 18px 50px rgba(0,0,0,.22);
    --shadow-hover: 0 26px 80px rgba(0,0,0,.32);
}

body { background: var(--bg); overflow-x: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ambient-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(100px); opacity: .12; background: var(--pink); animation: ambientFloat 16s ease-in-out infinite alternate; }
.ambient-orb--one { top: -190px; right: 8%; }
.ambient-orb--two { bottom: -230px; left: 28%; animation-delay: -7s; opacity: .07; }
@keyframes ambientFloat { to { transform: translate3d(60px, 45px, 0) scale(1.12); } }

.app-shell { grid-template-columns: 252px minmax(0,1fr); }
.sidebar { width: 252px; padding: 22px 14px; background: radial-gradient(circle at 8% 2%, rgba(236,0,140,.22), transparent 25%), linear-gradient(180deg,#12151d 0%,#0e1016 100%); border-right: 1px solid rgba(255,255,255,.05); }
.sidebar-brand { padding: 5px 10px 27px; gap: 11px; }
.brand-logo-wrap { width: 44px; height: 44px; display:grid; place-items:center; border-radius:14px; background:linear-gradient(135deg,rgba(236,0,140,.22),rgba(255,255,255,.07)); border:1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 10px 30px rgba(236,0,140,.12); }
.brand-logo { width: 30px; height: 30px; }
.brand-copy strong { font-size:17px; letter-spacing:-.02em; }
.brand-copy span { color:#777f90; font-size:11px; text-transform:uppercase; letter-spacing:.12em; font-weight:700; }
.sidebar-section-label { padding:0 13px 10px; color:#626978; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.15em; }
.sidebar-nav { gap:4px; }
.nav-link { position:relative; min-height:46px; padding:9px 12px; border-radius:12px; color:#8f96a5; overflow:hidden; }
.nav-link::before { content:""; position:absolute; inset:0; opacity:0; background:linear-gradient(90deg,rgba(236,0,140,.12),rgba(255,255,255,.035)); transition:.25s ease; }
.nav-link > * { position:relative; z-index:1; }
.nav-link:hover::before,.nav-link.active::before { opacity:1; }
.nav-link:hover,.nav-link.active { background:transparent; color:#fff; transform:translateX(2px); }
.nav-link.active { box-shadow:none; }
.nav-link.active::after { content:""; position:absolute; left:0; top:11px; bottom:11px; width:3px; border-radius:0 4px 4px 0; background:linear-gradient(var(--pink-2),var(--pink)); box-shadow:0 0 16px rgba(236,0,140,.8); }
.nav-icon { background:transparent; border:0; width:28px; height:28px; color:#747c8d; font-size:19px; }
.nav-link:hover .nav-icon,.nav-link.active .nav-icon { color:#ff63b8; }
.nav-pulse { margin-left:auto; width:6px; height:6px; border-radius:50%; background:#ff5db5; box-shadow:0 0 0 4px rgba(236,0,140,.13); }
.nav-badge { margin-left:auto; min-width:22px; height:20px; padding:0 6px; display:grid; place-items:center; border-radius:7px; background:rgba(236,0,140,.16); color:#ff72be; font-size:10px; }
.sidebar-spacer { flex:1; }
.sidebar-mini-status { display:flex; gap:10px; align-items:center; margin:18px 6px 10px; padding:12px; border:1px solid rgba(255,255,255,.06); border-radius:13px; background:rgba(255,255,255,.025); }
.sidebar-mini-status strong,.sidebar-mini-status small { display:block; }
.sidebar-mini-status strong { font-size:10px; color:#d5d8df; }.sidebar-mini-status small { margin-top:2px; font-size:9px; color:#687080; }
.sidebar-mini-status .status-dot { width:7px; height:7px; flex:0 0 7px; }
.sidebar-footer { margin-top:0; padding-top:10px; }

.topbar { min-height:72px; padding:12px 28px; background:var(--bg-elevated); border-bottom:1px solid var(--line); backdrop-filter:blur(22px) saturate(160%); -webkit-backdrop-filter:blur(22px) saturate(160%); }
.topbar-left { display:flex; align-items:center; gap:12px; flex:1; }
.icon-button { width:40px; height:40px; display:grid; place-items:center; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--muted); cursor:pointer; transition:.2s ease; }
.icon-button:hover { transform:translateY(-1px); color:var(--pink); border-color:rgba(236,0,140,.25); box-shadow:0 10px 24px rgba(20,24,32,.08); }
.icon-button svg { font-size:20px; }
.menu-button { display:none; }
.topbar-search { width:min(520px,55%); min-height:42px; display:flex; align-items:center; gap:10px; padding:0 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); color:var(--muted); cursor:pointer; text-align:left; transition:.2s ease; }
.topbar-search:hover { background:var(--surface); border-color:rgba(236,0,140,.2); box-shadow:0 8px 30px rgba(17,20,29,.06); }
.topbar-search svg { font-size:18px; }.topbar-search span { flex:1; font-size:12px; }
kbd { display:inline-flex; align-items:center; justify-content:center; min-height:22px; padding:0 7px; border:1px solid var(--line); border-bottom-width:2px; border-radius:6px; background:var(--surface); color:var(--muted); font-size:9px; font-family:inherit; font-weight:700; }
.user-area { gap:8px; }.user-profile { display:flex; align-items:center; gap:10px; margin:0 4px 0 2px; }.user-avatar { width:38px; height:38px; border-radius:12px; background:linear-gradient(135deg,var(--pink-soft-2),rgba(236,0,140,.2)); border:1px solid rgba(236,0,140,.12); color:var(--pink); }
.user-details strong { font-size:12px; }.user-details span { font-size:9px; }
.notification-button { position:relative; }.notification-dot { position:absolute; width:7px; height:7px; right:8px; top:8px; border:2px solid var(--surface); border-radius:50%; background:var(--pink); }
.logout-button { min-height:40px; display:flex; align-items:center; gap:7px; margin-left:0; padding:0 11px; border-color:var(--line); background:var(--surface); }.logout-button svg { font-size:17px; }
.theme-icon--moon { display:none; } html[data-theme="dark"] .theme-icon--sun { display:none; } html[data-theme="dark"] .theme-icon--moon { display:block; }

.page-content { max-width:1600px; margin:0 auto; padding:28px clamp(20px,3vw,42px) 48px; }
.dashboard-v2 { position:relative; }
.reveal { opacity:0; transform:translateY(18px); transition:opacity .65s cubic-bezier(.2,.7,.2,1),transform .65s cubic-bezier(.2,.7,.2,1); }.reveal.is-visible { opacity:1; transform:none; }.reveal-delay-1 { transition-delay:.08s; }.reveal-delay-2 { transition-delay:.15s; }
[data-spotlight] { position:relative; isolation:isolate; }.stat-card[data-spotlight]::before,.module-card[data-spotlight]::before,.action-panel[data-spotlight]::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; border-radius:inherit; background:radial-gradient(350px circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(236,0,140,.08),transparent 40%); transition:opacity .2s; pointer-events:none; }.stat-card[data-spotlight]:hover::before,.module-card[data-spotlight]:hover::before,.action-panel[data-spotlight]:hover::before { opacity:1; }

.portal-hero { min-height:360px; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:46px; padding:46px 48px; border:1px solid rgba(255,255,255,.08); border-radius:28px; background:linear-gradient(128deg,#0f1219 0%,#17101a 48%,#2a0b1d 100%); box-shadow:0 28px 80px rgba(12,14,20,.22); }
.portal-hero::before,.portal-hero::after { display:none; }.hero-grid { position:absolute; inset:0; opacity:.12; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to right,black,transparent 72%); }.hero-glow { position:absolute; border-radius:50%; filter:blur(12px); opacity:.55; pointer-events:none; }.hero-glow--one { width:420px;height:420px;right:-140px;top:-180px;background:radial-gradient(circle,rgba(236,0,140,.42),transparent 67%); animation:heroPulse 7s ease-in-out infinite alternate; }.hero-glow--two { width:260px;height:260px;left:34%;bottom:-180px;background:radial-gradient(circle,rgba(255,62,167,.18),transparent 70%); animation:heroPulse 9s ease-in-out infinite alternate-reverse; }@keyframes heroPulse{to{transform:translate3d(30px,15px,0) scale(1.15)}}
.hero-meta { display:flex; align-items:center; gap:12px; margin-bottom:18px; color:#9399a6; font-size:10px; text-transform:uppercase; letter-spacing:.13em; font-weight:800; }.live-pill { display:inline-flex; align-items:center; gap:7px; padding:6px 9px; border:1px solid rgba(255,255,255,.09); border-radius:999px; background:rgba(255,255,255,.05); color:#fff; font-size:9px; }.live-pill i,.online-badge i,.activity-live i { width:6px;height:6px;border-radius:50%;background:#35d392;box-shadow:0 0 0 4px rgba(53,211,146,.1); animation:softPulse 2s ease-in-out infinite; }@keyframes softPulse{50%{opacity:.45;box-shadow:0 0 0 7px rgba(53,211,146,0)}}
.portal-hero h1 { max-width:760px; font-size:clamp(44px,5vw,72px); letter-spacing:-.058em; }.gradient-text { background:linear-gradient(90deg,#fff 10%,#ff69bd 92%); -webkit-background-clip:text; background-clip:text; color:transparent; }.portal-hero__content>p { max-width:670px; color:#a9afbb; font-size:15px; line-height:1.7; }.hero-actions { margin-top:27px; }.hero-button { min-height:48px; gap:9px; padding:0 18px; border-radius:13px; border:1px solid transparent; font-size:12px; }.hero-button svg { font-size:17px; }.hero-button--primary { background:linear-gradient(135deg,var(--pink),#ff3ba7); box-shadow:0 14px 30px rgba(236,0,140,.25); }.hero-button--primary:hover { box-shadow:0 18px 40px rgba(236,0,140,.36); }.hero-button--secondary { border-color:rgba(255,255,255,.1); background:rgba(255,255,255,.05); backdrop-filter:blur(12px); }.hero-button--secondary kbd { margin-left:3px; border-color:rgba(255,255,255,.1); background:rgba(255,255,255,.06); color:#9da3af; }
.hero-live-card { position:relative; z-index:2; padding:24px; border:1px solid rgba(255,255,255,.1); border-radius:22px; background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 30px 60px rgba(0,0,0,.16); backdrop-filter:blur(20px); transition:transform .15s ease; }.hero-clock-row { display:flex; align-items:center; justify-content:space-between; color:#8f96a3; font-size:10px; text-transform:uppercase; letter-spacing:.1em; font-weight:700; }.online-badge { display:flex;align-items:center;gap:7px;color:#c9d0d8;text-transform:none;letter-spacing:0; }.portal-clock__time { margin-top:30px; font-size:clamp(52px,5vw,74px); }.portal-clock__date { color:#969da9; font-size:11px; }.hero-mini-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:25px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08); }.hero-mini-grid div { min-width:0; }.hero-mini-grid strong,.hero-mini-grid span { display:block; }.hero-mini-grid strong { font-size:19px;color:#fff; }.hero-mini-grid span { margin-top:3px;color:#747b89;font-size:8px;line-height:1.25; }

.quick-strip { display:grid;grid-template-columns:1.05fr repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:center;margin:18px 0 34px;padding:10px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 8px 30px rgba(18,20,28,.035); }.quick-strip__intro { padding:8px 12px; }.quick-strip__intro .eyebrow { margin-bottom:3px;font-size:8px; }.quick-strip__intro strong { font-size:12px; }.quick-event { min-width:0;display:flex;align-items:center;gap:10px;padding:9px 10px;border-left:1px solid var(--line); }.quick-icon { width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:8px;font-weight:800; }.quick-icon--pink { background:var(--pink-soft-2);color:var(--pink); }.quick-event strong,.quick-event small { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }.quick-event strong { font-size:10px; }.quick-event small { margin-top:3px;color:var(--muted);font-size:8px; }.quick-more,.text-button,.panel-action { border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:10px;font-weight:700; }.quick-more { padding:10px 12px; }.quick-more:hover,.text-button:hover,.panel-action:hover { color:var(--pink); }
.section-heading { display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 15px; }.section-heading h2 { margin:0;font-size:22px;letter-spacing:-.03em; }.section-date { color:var(--muted);font-size:10px;text-transform:capitalize; }

.stats-grid--modern { gap:13px;margin-bottom:22px; }.stats-grid--modern .stat-card { position:relative;min-height:186px;padding:18px;border-color:var(--line);border-radius:17px;background:var(--surface);box-shadow:0 10px 34px rgba(18,20,28,.045);overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }.stats-grid--modern .stat-card:hover { border-color:rgba(236,0,140,.18);box-shadow:var(--shadow-hover); }.stat-top { display:flex;align-items:center;justify-content:space-between;gap:10px; }.stat-icon { width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--surface-soft);color:var(--muted); }.stat-icon svg { font-size:17px; }.stat-card--attention .stat-icon { background:var(--pink-soft-2);color:var(--pink); }.trend-chip,.activity-live { padding:5px 7px;border-radius:999px;background:var(--pink-soft-2);color:var(--pink);font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.05em; }.trend-chip--neutral { background:var(--surface-soft);color:var(--muted); }.activity-live { display:flex;align-items:center;gap:6px;background:rgba(53,211,146,.08);color:#239a6e; }.stat-number { margin:17px 0 1px!important;font-size:32px!important; }.stat-number--word { font-size:23px!important;margin-top:21px!important; }.stats-grid--modern .stat-label { color:var(--ink);font-size:11px; }.stats-grid--modern small { margin-top:10px;color:var(--muted);font-size:8px; }.stat-progress { height:4px;margin-top:12px;border-radius:99px;background:var(--surface-soft);overflow:hidden; }.stat-progress i { display:block;width:var(--progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pink),var(--pink-2));animation:loadProgress 1s .25s both;transform-origin:left; }@keyframes loadProgress{from{transform:scaleX(0)}}
.spark-bars { height:20px;display:flex;align-items:end;gap:3px;margin-top:9px; }.spark-bars i { width:5px;border-radius:4px;background:rgba(236,0,140,.22); }.spark-bars i:nth-child(1){height:35%}.spark-bars i:nth-child(2){height:60%}.spark-bars i:nth-child(3){height:45%}.spark-bars i:nth-child(4){height:82%}.spark-bars i:nth-child(5){height:63%}.spark-bars i:nth-child(6){height:100%;background:var(--pink)}
.avatar-stack { display:flex;margin-top:10px; }.avatar-stack span,.avatar-stack b { width:24px;height:24px;display:grid;place-items:center;margin-left:-5px;border:2px solid var(--surface);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:7px; }.avatar-stack span:first-child { margin-left:0;background:var(--pink-soft-2);color:var(--pink); }.avatar-stack b { background:var(--ink);color:var(--surface);font-weight:700; }.activity-line { position:relative;height:22px;margin-top:8px;overflow:hidden; }.activity-line::before { content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--line); }.activity-line i { position:absolute;left:-30%;top:calc(50% - 1px);width:45%;height:2px;background:linear-gradient(90deg,transparent,#35d392,transparent);animation:activityScan 2.2s linear infinite; }@keyframes activityScan{to{left:100%}}

.dashboard-grid--modern { grid-template-columns:minmax(0,1.45fr) minmax(310px,.65fr);gap:18px; }.panel { border-color:var(--line);box-shadow:0 12px 38px rgba(18,20,28,.05); }.modules-panel { padding:22px; }.panel-heading p { margin:5px 0 0;color:var(--muted);font-size:9px; }.panel-action { padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft); }.panel-action span { margin-left:5px;color:var(--pink); }
.module-grid--modern { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }.module-grid--modern .module-card { min-height:132px;padding:16px;border-color:var(--line);border-radius:15px;background:linear-gradient(145deg,var(--surface-soft),var(--surface));box-shadow:none;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }.module-grid--modern .module-card:hover { background:var(--surface);border-color:rgba(236,0,140,.2);box-shadow:0 18px 46px rgba(18,20,28,.09); }.module-grid--modern .module-icon { width:43px;height:43px;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--pink);font-size:20px; }.module-copy { min-width:0; }.module-kicker { display:block;margin-bottom:4px;color:var(--muted);font-size:7px;text-transform:uppercase;letter-spacing:.1em;font-weight:800; }.module-grid--modern .module-card strong { font-size:12px; }.module-grid--modern .module-card p { font-size:9px;line-height:1.5; }.module-grid--modern .module-arrow { align-self:start;width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:13px;transition:.2s; }.module-grid--modern .module-card:hover .module-arrow { color:var(--pink);border-color:rgba(236,0,140,.2);transform:translate(2px,-2px); }.module-card--featured { border-color:rgba(236,0,140,.16)!important; }.module-card--featured .module-icon { background:var(--pink-soft-2); }.module-badge { position:absolute;right:13px;bottom:12px;padding:4px 7px;border-radius:7px;background:var(--pink-soft-2);color:var(--pink);font-size:7px;font-weight:800; }.module-glow { position:absolute;width:120px;height:120px;right:-70px;bottom:-70px;border-radius:50%;background:var(--pink);filter:blur(50px);opacity:.08; }
.dashboard-side--modern { gap:18px; }.action-panel,.news-panel { padding:20px; }.pulse-badge { animation:badgePulse 2.8s ease-in-out infinite; }@keyframes badgePulse{50%{box-shadow:0 0 0 7px rgba(236,0,140,0)}}
.notice-item { padding:14px;border-color:var(--line);background:var(--surface-soft);transition:.2s ease; }.notice-item:hover { transform:translateX(2px);border-color:rgba(236,0,140,.16); }.notice-item.important { background:linear-gradient(145deg,rgba(236,0,140,.07),var(--surface));border-color:rgba(236,0,140,.15); }.notice-row { display:flex;justify-content:space-between;align-items:center; }.notice-row time { color:var(--muted);font-size:8px; }.notice-type { margin:0;font-size:7px; }.notice-item strong { margin-top:8px;font-size:11px; }.notice-item p { font-size:9px; }.notice-item button { display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--line);background:var(--ink);font-size:8px; }.notice-item button:hover span { transform:translateX(2px); }.notice-item button span { transition:.2s; }
.news-timeline { display:grid;gap:0; }.news-timeline article { position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;padding:0 0 18px; }.news-timeline article:not(:last-child)::before { content:"";position:absolute;left:5px;top:12px;bottom:0;width:1px;background:var(--line); }.timeline-dot { position:relative;z-index:1;width:11px;height:11px;margin-top:2px;border:3px solid var(--surface);border-radius:50%;background:var(--pink);box-shadow:0 0 0 1px rgba(236,0,140,.25); }.timeline-dot--muted { background:#a5abb6;box-shadow:0 0 0 1px var(--line); }.news-timeline time { display:block;color:var(--pink);font-size:7px;font-weight:700; }.news-timeline strong { display:block;margin-top:5px;font-size:10px; }.news-timeline p { margin:4px 0 0;color:var(--muted);font-size:8px;line-height:1.55; }

.command-palette { position:fixed;inset:0;z-index:200;display:grid;place-items:start center;padding-top:min(18vh,160px);opacity:0;visibility:hidden;transition:.18s ease; }.command-palette.is-open { opacity:1;visibility:visible; }.command-backdrop { position:absolute;inset:0;border:0;background:rgba(8,10,15,.58);backdrop-filter:blur(8px);cursor:default; }.command-dialog { position:relative;width:min(620px,calc(100vw - 28px));overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 40px 120px rgba(0,0,0,.3);transform:translateY(-12px) scale(.985);transition:.2s cubic-bezier(.2,.8,.2,1); }.command-palette.is-open .command-dialog { transform:none; }.command-input-wrap { display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:17px;border-bottom:1px solid var(--line); }.command-input-wrap svg { font-size:20px;color:var(--pink); }.command-input-wrap input { width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px; }.command-results { display:grid;gap:4px;max-height:360px;overflow:auto;padding:9px; }.command-results a { display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:11px;font-size:11px;font-weight:700; }.command-results a:hover { background:var(--pink-soft-2);color:var(--pink); }.command-results a span { color:var(--muted);font-size:8px;font-weight:600; }.command-results a[hidden] { display:none; }.command-footer { display:flex;justify-content:space-between;padding:10px 14px;border-top:1px solid var(--line);color:var(--muted);font-size:8px; }.palette-open { overflow:hidden; }

@media (max-width:1200px){.portal-hero{grid-template-columns:1fr;}.hero-live-card{max-width:600px}.quick-strip{grid-template-columns:1fr 1fr}.quick-strip__intro,.quick-more{display:none}.quick-event{border-left:0}.stats-grid--modern{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid--modern{grid-template-columns:1fr}}
@media (max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{width:252px}.menu-button{display:grid}.topbar{padding:11px 15px}.page-content{padding:18px 14px 36px}.portal-hero{padding:30px 24px;border-radius:22px}.user-profile .user-details{display:none}.logout-button span{display:none}.topbar-search{width:auto;flex:1}.quick-strip{grid-template-columns:1fr}.quick-event:nth-of-type(n+3){display:none}.section-heading{align-items:flex-start}.section-date{display:none}}
@media (max-width:620px){.topbar-search span{display:block}.topbar-search kbd{display:none}.notification-button{display:none}.portal-hero{min-height:auto;gap:26px}.portal-hero h1{font-size:42px}.portal-hero__content>p{font-size:13px}.hero-actions{display:grid}.hero-button{width:100%}.hero-live-card{padding:19px}.portal-clock__time{font-size:50px}.stats-grid--modern,.module-grid--modern{grid-template-columns:1fr}.module-grid--modern .module-card{min-height:118px}.quick-strip{margin-bottom:28px}.panel-heading{align-items:flex-start}.panel-action{display:none}.command-footer{display:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}.ambient-orb{display:none}}

/* =========================================================
   INVENTINI HUB V2 — COMPACT INTRANET LAYOUT
   ========================================================= */
.hub-dashboard{max-width:1540px;margin:0 auto;display:grid;gap:14px}.page-content:has(.hub-dashboard){padding:20px 24px 38px}.hub-dashboard h1,.hub-dashboard h2,.hub-dashboard h3,.hub-dashboard p{margin-top:0}.hub-dashboard button{font:inherit}.hub-kicker{display:block;color:var(--pink);font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.hub-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:4px 2px 2px}.hub-welcome h1{margin:4px 0 3px;font-size:27px;letter-spacing:-.035em}.hub-welcome p{margin:0;color:var(--muted);font-size:11px}.hub-welcome__tools{display:flex;align-items:center;gap:10px}.hub-search-button{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--muted);font-size:10px;cursor:pointer}.hub-search-button svg{font-size:15px}.hub-search-button kbd{margin-left:18px;padding:3px 6px;border:1px solid var(--line);border-radius:5px;background:var(--surface-soft);font-size:7px}.hub-date{min-width:110px;padding-left:12px;border-left:1px solid var(--line);text-align:right}.hub-date span,.hub-date strong{display:block}.hub-date span{color:var(--muted);font-size:8px}.hub-date strong{margin-top:2px;font-size:15px}.hub-alert{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 13px;overflow:hidden;border:1px solid rgba(236,0,140,.16);border-radius:13px;background:linear-gradient(100deg,rgba(236,0,140,.10),var(--surface) 42%)}.hub-alert::after{content:"";position:absolute;right:-35px;top:-60px;width:160px;height:160px;border-radius:50%;background:var(--pink);filter:blur(70px);opacity:.07}.hub-alert__icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:var(--pink);color:#fff;font-weight:900;box-shadow:0 6px 18px rgba(236,0,140,.24)}.hub-alert span,.hub-alert strong,.hub-alert small{display:block}.hub-alert>div:nth-child(2)>span{color:var(--pink);font-size:7px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.hub-alert strong{margin:2px 0;font-size:11px}.hub-alert small{color:var(--muted);font-size:8px}.hub-alert button{position:relative;z-index:1;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--ink);color:var(--surface);font-size:8px;font-weight:800;cursor:pointer}.hub-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(290px,.8fr);gap:14px;align-items:start}.hub-main,.hub-right{display:grid;gap:14px}.hub-top-grid{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(270px,.68fr);gap:14px}.hub-section{min-width:0;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:0 8px 28px rgba(18,20,28,.035)}.hub-section__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.hub-section__head h2{margin:2px 0 0;font-size:15px;letter-spacing:-.025em}.hub-section__head button{border:0;background:transparent;color:var(--muted);font-size:8px;font-weight:750;cursor:pointer}.hub-section__head button:hover{color:var(--pink)}.featured-card{display:grid;grid-template-columns:44% 1fr;min-height:188px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft)}.featured-card__visual{position:relative;min-height:188px;overflow:hidden;background:radial-gradient(circle at 32% 42%,rgba(255,255,255,.8) 0 3%,transparent 4%),radial-gradient(circle at 58% 34%,rgba(236,0,140,.58),transparent 17%),radial-gradient(circle at 45% 65%,rgba(78,94,255,.42),transparent 24%),linear-gradient(145deg,#171b24,#262b38)}.visual-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:22px 22px;transform:perspective(250px) rotateX(50deg) scale(1.5);transform-origin:bottom}.visual-orb{position:absolute;width:95px;height:95px;left:calc(50% - 47px);top:calc(50% - 47px);border-radius:50%;border:1px solid rgba(255,255,255,.5);box-shadow:inset -17px -12px 40px rgba(236,0,140,.28),0 0 55px rgba(236,0,140,.28);animation:hubOrb 7s ease-in-out infinite}@keyframes hubOrb{50%{transform:translateY(-7px) rotate(8deg) scale(1.04)}}.featured-badge{position:absolute;left:10px;top:10px;padding:4px 7px;border-radius:6px;background:rgba(12,14,19,.65);backdrop-filter:blur(9px);color:#fff;font-size:7px;font-weight:900;letter-spacing:.08em}.featured-card__copy{display:flex;flex-direction:column;justify-content:center;padding:18px}.featured-card__copy>span{color:var(--pink);font-size:8px;font-weight:800}.featured-card__copy h3{margin:6px 0 8px;font-size:18px;line-height:1.1;letter-spacing:-.035em}.featured-card__copy p{margin:0 0 12px;color:var(--muted);font-size:9px;line-height:1.55}.featured-card__copy button{align-self:start;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:8px;font-weight:800;cursor:pointer}.event-list{display:grid;gap:6px}.event-list article{position:relative;display:grid;grid-template-columns:44px 1fr;align-items:center;gap:9px;padding:7px;border-radius:10px;background:var(--surface-soft);transition:.18s}.event-list article:hover{transform:translateX(2px);background:var(--pink-soft-2)}.event-list time{display:grid;place-items:center;align-content:center;width:42px;height:42px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.event-list time strong{font-size:14px;line-height:1}.event-list time span{margin-top:3px;color:var(--pink);font-size:6px;font-weight:900}.event-list article>div strong,.event-list article>div span{display:block}.event-list article>div strong{font-size:9px}.event-list article>div span{margin-top:3px;color:var(--muted);font-size:7px}.event-list article i{position:absolute;right:8px;top:8px;width:6px;height:6px;border-radius:50%;background:#35d392;box-shadow:0 0 0 4px rgba(53,211,146,.10)}.compact-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.compact-module{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;min-height:66px;padding:9px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);transition:.18s}.compact-module:hover{transform:translateY(-2px);border-color:rgba(236,0,140,.24);background:var(--surface);box-shadow:0 9px 24px rgba(18,20,28,.07)}.compact-icon{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--surface);border:1px solid var(--line);color:var(--pink);font-size:9px;font-weight:900}.compact-module strong{align-self:end;font-size:9px}.compact-module small{align-self:start;color:var(--muted);font-size:7px}.compact-module b{position:absolute;right:7px;top:7px;min-width:16px;height:16px;display:grid;place-items:center;border-radius:5px;background:var(--pink);color:#fff;font-size:6px}.compact-module--forum{background:linear-gradient(145deg,rgba(236,0,140,.08),var(--surface-soft));border-color:rgba(236,0,140,.16)}.news-mosaic{display:grid;grid-template-columns:1.35fr .65fr .65fr;grid-template-rows:92px 92px;gap:8px}.news-card{display:grid;grid-template-columns:42% 1fr;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);transition:.18s}.news-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(18,20,28,.07)}.news-card--large{grid-row:1/3;grid-template-columns:1fr;grid-template-rows:112px 1fr}.news-card:nth-child(4){grid-column:2/4}.news-visual{position:relative;overflow:hidden;background:linear-gradient(135deg,#252a38,#13161e)}.news-visual span{position:absolute;width:62px;height:62px;left:calc(50% - 31px);top:calc(50% - 31px);border-radius:18px;transform:rotate(20deg);background:linear-gradient(135deg,rgba(236,0,140,.8),rgba(78,94,255,.42));box-shadow:0 0 35px rgba(236,0,140,.24);animation:newsFloat 8s ease-in-out infinite alternate}@keyframes newsFloat{to{transform:translate(8px,-5px) rotate(48deg)}}.news-visual--two{background:linear-gradient(145deg,#122431,#173b47)}.news-visual--two span{border-radius:50%;background:linear-gradient(135deg,#43d8ca,#087f97)}.news-visual--three{background:linear-gradient(145deg,#312416,#49341c)}.news-visual--three span{background:linear-gradient(135deg,#ffab45,#ec008c)}.news-visual--four{background:linear-gradient(145deg,#201c33,#34244b)}.news-visual--four span{background:linear-gradient(135deg,#a668ff,#ec008c)}.news-card>div:last-child{padding:9px}.news-card>div:last-child>span{color:var(--pink);font-size:6px;font-weight:850;text-transform:uppercase}.news-card h3{margin:4px 0 0;font-size:9px;line-height:1.25}.news-card--large h3{font-size:13px}.news-card p{margin:5px 0 0;color:var(--muted);font-size:7px;line-height:1.45}.recent-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recent-list a{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.file-symbol{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:var(--surface);color:var(--pink);font-size:7px;font-weight:900}.recent-list strong,.recent-list small{display:block}.recent-list strong{font-size:8px}.recent-list small{margin-top:3px;color:var(--muted);font-size:6px}.recent-list>a>span:last-child{color:var(--muted)}.hub-right .hub-section{padding:14px}.forum-new{padding:6px 8px!important;border:1px solid rgba(236,0,140,.18)!important;border-radius:7px!important;background:var(--pink-soft-2)!important;color:var(--pink)!important}.forum-list{display:grid;gap:4px}.forum-thread{position:relative;display:grid;grid-template-columns:31px minmax(0,1fr);gap:8px;padding:8px;border-radius:10px;transition:.18s;cursor:pointer}.forum-thread:hover{background:var(--surface-soft)}.forum-thread--hot{background:linear-gradient(100deg,rgba(236,0,140,.08),transparent)}.forum-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--surface-soft);border:1px solid var(--line);color:var(--pink);font-size:7px;font-weight:900}.forum-category{display:block;margin-bottom:2px;color:var(--pink);font-size:6px;font-weight:850;text-transform:uppercase}.forum-thread strong,.forum-thread small{display:block}.forum-thread strong{font-size:8px;line-height:1.3}.forum-thread small{margin-top:3px;color:var(--muted);font-size:6px}.thread-status{position:absolute;right:5px;top:6px;color:#35d392;font-size:8px}.forum-all{width:100%;margin-top:8px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);color:var(--ink);font-size:8px;font-weight:800;cursor:pointer}.confirm-list{display:grid;gap:7px}.confirm-list article{position:relative;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.confirm-list article>span{display:block;color:var(--pink);font-size:6px;font-weight:900}.confirm-list strong,.confirm-list small{display:block}.confirm-list strong{margin-top:3px;padding-right:48px;font-size:8px}.confirm-list small{margin-top:3px;color:var(--muted);font-size:6px}.confirm-list button{position:absolute;right:8px;bottom:8px;padding:5px 7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:6px;font-weight:800}.hub-count{min-width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--pink);color:#fff;font-size:8px;font-weight:900}.activity-feed{display:grid}.activity-feed>div{display:grid;grid-template-columns:8px 1fr auto;gap:8px;align-items:start;padding:8px 1px;border-bottom:1px solid var(--line)}.activity-feed>div:last-child{border-bottom:0}.activity-feed i{width:6px;height:6px;margin-top:3px;border-radius:50%;background:var(--pink);box-shadow:0 0 0 4px var(--pink-soft-2)}.activity-feed p{margin:0}.activity-feed strong,.activity-feed span{display:block}.activity-feed strong{font-size:7px}.activity-feed span,.activity-feed time{margin-top:2px;color:var(--muted);font-size:6px}.online-badge{display:flex;align-items:center;gap:5px;color:#35a277;font-size:7px;font-weight:800}.online-badge i{width:6px;height:6px;border-radius:50%;background:#35d392;box-shadow:0 0 0 4px rgba(53,211,146,.09)}

/* more compact shell for this dashboard */
@media (min-width:851px){body:has(.hub-dashboard) .app-shell{grid-template-columns:224px minmax(0,1fr)}body:has(.hub-dashboard) .sidebar{width:224px;padding:17px 11px}body:has(.hub-dashboard) .sidebar-brand{padding-bottom:19px}body:has(.hub-dashboard) .nav-link{min-height:42px;padding:8px 10px;font-size:12px}body:has(.hub-dashboard) .topbar{min-height:60px;padding:9px 22px}body:has(.hub-dashboard) .topbar-search{min-height:38px;width:min(460px,48%)}body:has(.hub-dashboard) .user-avatar{width:36px;height:36px;border-radius:10px}}
@media(max-width:1250px){.hub-layout{grid-template-columns:1fr}.hub-right{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.forum-widget{grid-column:span 1}.compact-modules{grid-template-columns:repeat(4,1fr)}}
@media(max-width:930px){.hub-top-grid{grid-template-columns:1fr}.hub-right{grid-template-columns:1fr 1fr}.forum-widget{grid-column:1/-1}.news-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:auto}.news-card--large{grid-row:auto;grid-column:1/-1;grid-template-columns:38% 1fr;grid-template-rows:150px}.news-card:nth-child(4){grid-column:auto}.compact-modules{grid-template-columns:repeat(2,1fr)}.recent-list{grid-template-columns:1fr}.hub-welcome{align-items:flex-start}.hub-welcome__tools{display:none}}
@media(max-width:620px){.page-content:has(.hub-dashboard){padding:14px 10px 28px}.hub-layout,.hub-main,.hub-right,.hub-dashboard{gap:10px}.hub-right{grid-template-columns:1fr}.hub-section{padding:12px;border-radius:13px}.hub-alert{grid-template-columns:30px 1fr}.hub-alert button{display:none}.featured-card{grid-template-columns:1fr}.featured-card__visual{min-height:130px}.compact-modules{grid-template-columns:1fr 1fr}.news-mosaic{display:grid;grid-template-columns:1fr}.news-card,.news-card--large{grid-column:auto!important;grid-row:auto;grid-template-columns:35% 1fr;grid-template-rows:92px}.hub-welcome h1{font-size:23px}.hub-welcome p{font-size:10px}}

/* =========================================================
   INVENTINI — READABLE WORKSPACE DASHBOARD (2026-08)
   Dashboard v2: prostszy, czytelniejszy i responsywny.
   ========================================================= */
.workspace-dashboard {
    width: min(1480px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 20px;
    color: var(--ink);
}
.workspace-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 540px);
    align-items: center;
    gap: 28px;
    padding: 28px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.workspace-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--pink);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.workspace-hero h1 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -.035em;
}
.workspace-hero p {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}
.workspace-search {
    min-height: 54px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--ink-soft);
    text-align: left;
    background: var(--surface-2);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.workspace-search:hover {
    transform: translateY(-1px);
    border-color: rgba(236,0,140,.30);
    box-shadow: 0 10px 30px rgba(18,20,28,.07);
}
.workspace-search svg { font-size: 21px; }
.workspace-search span { overflow: hidden; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.workspace-search kbd { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); font: 700 10px/1 system-ui; background: var(--bg-elevated); }
.attention-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(236,0,140,.19);
    border-radius: 18px;
    background: linear-gradient(110deg, rgba(236,0,140,.10), var(--bg-elevated) 45%);
}
.attention-card__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    background: var(--pink);
    box-shadow: 0 8px 22px rgba(236,0,140,.22);
}
.attention-card h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.attention-card p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.attention-card__action { display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 11px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; background: var(--pink); }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(330px, .75fr); gap: 20px; align-items: start; }
.workspace-main, .workspace-side { display: grid; gap: 20px; min-width: 0; }
.workspace-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg-elevated);
    box-shadow: 0 12px 36px rgba(18,20,28,.055);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.workspace-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.workspace-panel__head h2 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.text-action, .chat-new, .chat-all { border: 0; color: var(--pink); font-size: 12px; font-weight: 800; background: transparent; cursor: pointer; }
.recent-items { display: grid; gap: 9px; }
.recent-item {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) 28px;
    align-items: center;
    gap: 13px;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--ink);
    text-decoration: none;
    background: var(--surface-2);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.recent-item:hover { transform: translateX(2px); border-color: rgba(236,0,140,.20); }
.recent-type { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; color: #bc2146; font-size: 10px; font-weight: 900; background: rgba(209,31,66,.10); }
.recent-type--product { color: #7b3cff; background: rgba(123,60,255,.10); }
.recent-type--laser { color: #1468e8; background: rgba(20,104,232,.10); }
.recent-item strong, .recent-item small { display: block; }
.recent-item strong { font-size: 14px; line-height: 1.35; }
.recent-item small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.recent-arrow { color: var(--ink-soft); font-size: 18px; text-align: center; }
.live-label { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 11px; font-weight: 750; }
.live-label i { width: 7px; height: 7px; border-radius: 50%; background: #28b97b; box-shadow: 0 0 0 4px rgba(40,185,123,.10); }
.workspace-activity { display: grid; }
.workspace-activity article { display: grid; grid-template-columns: 12px minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 14px 2px; border-top: 1px solid var(--line); }
.workspace-activity article:first-child { padding-top: 2px; border-top: 0; }
.activity-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(236,0,140,.08); }
.workspace-activity strong { display: block; font-size: 13px; line-height: 1.4; }
.workspace-activity p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.workspace-activity time { color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.count-badge { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: 12px; font-weight: 850; background: var(--pink); }
.confirmation-items { display: grid; gap: 11px; }
.confirmation-item { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.confirmation-item--urgent { border-color: rgba(236,0,140,.22); background: linear-gradient(135deg, rgba(236,0,140,.07), var(--surface-2)); }
.confirmation-meta { display: flex; justify-content: space-between; gap: 10px; }
.confirmation-meta span { color: var(--pink); font-size: 9px; font-weight: 900; letter-spacing: .07em; }
.confirmation-meta time { color: var(--ink-soft); font-size: 10px; }
.confirmation-item h3 { margin: 9px 0 0; font-size: 14px; line-height: 1.4; }
.confirmation-item p { margin: 4px 0 12px; color: var(--ink-soft); font-size: 11px; }
.confirmation-item button { width: 100%; min-height: 38px; border: 0; border-radius: 10px; color: #fff; font-size: 12px; font-weight: 800; background: var(--pink); cursor: pointer; }
.chat-list { display: grid; gap: 4px; }
.chat-row { width: 100%; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 8px; border: 0; border-radius: 12px; color: var(--ink); text-align: left; background: transparent; cursor: pointer; }
.chat-row:hover { background: var(--surface-2); }
.chat-row--unread { background: rgba(236,0,140,.055); }
.chat-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #fff; font-size: 10px; font-weight: 850; background: linear-gradient(135deg, #242936, #525c73); }
.chat-row--unread .chat-avatar { background: linear-gradient(135deg, var(--pink), var(--pink-2)); }
.chat-copy { min-width: 0; }
.chat-copy strong, .chat-copy small { display: block; }
.chat-copy strong { font-size: 12px; }
.chat-copy small { margin-top: 3px; overflow: hidden; color: var(--ink-soft); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.chat-time { align-self: start; margin-top: 3px; color: var(--ink-soft); font-size: 9px; white-space: nowrap; }
.chat-all { width: 100%; margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }

/* Menu ma być jedynym miejscem pokazującym dostępne moduły. */
body:has(.workspace-dashboard) .sidebar-section-label { font-size: 10px; }
body:has(.workspace-dashboard) .nav-link { min-height: 46px; font-size: 13px; }
body:has(.workspace-dashboard) .sidebar-mini-status strong { font-size: 11px; }
body:has(.workspace-dashboard) .sidebar-mini-status small { font-size: 10px; }

@media (max-width: 1200px) {
    .workspace-grid { grid-template-columns: minmax(0, 1fr) 340px; }
    .workspace-hero { grid-template-columns: 1fr; }
    .workspace-search { width: 100%; }
}
@media (max-width: 980px) {
    .workspace-grid { grid-template-columns: 1fr; }
    .workspace-side { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .confirmations-panel { min-width: 0; }
}
@media (max-width: 850px) {
    .workspace-dashboard { gap: 14px; }
    .workspace-hero { padding: 22px; border-radius: 18px; }
    .attention-card { grid-template-columns: 42px minmax(0,1fr); padding: 16px; }
    .attention-card__action { grid-column: 2; justify-self: start; }
    .workspace-panel { padding: 18px; border-radius: 17px; }
    body.menu-open::after { content:""; position:fixed; inset:0; z-index:34; background:rgba(6,8,12,.48); backdrop-filter:blur(2px); }
    body.menu-open .sidebar { z-index:35; }
}
@media (max-width: 640px) {
    .page-content:has(.workspace-dashboard) { padding: 12px 10px 28px; }
    .workspace-hero { padding: 19px 17px; }
    .workspace-hero h1 { font-size: 27px; }
    .workspace-hero p { font-size: 13px; }
    .workspace-search { grid-template-columns: 20px minmax(0,1fr); min-height: 50px; }
    .workspace-search kbd { display: none; }
    .attention-card { gap: 12px; }
    .attention-card__icon { width: 38px; height: 38px; border-radius: 11px; font-size: 18px; }
    .attention-card h2 { font-size: 15px; }
    .attention-card p { font-size: 12px; }
    .workspace-side { grid-template-columns: 1fr; }
    .workspace-panel { padding: 16px 14px; }
    .workspace-panel__head h2 { font-size: 18px; }
    .recent-item { grid-template-columns: 44px minmax(0,1fr); min-height: 68px; padding: 9px; }
    .recent-arrow { display: none; }
    .recent-item strong { font-size: 13px; }
    .workspace-activity article { grid-template-columns: 10px minmax(0,1fr); }
    .workspace-activity time { grid-column: 2; margin-top: -7px; }
    .chat-row { grid-template-columns: 36px minmax(0,1fr); }
    .chat-time { display: none; }
}

/* =========================================================
   PRODUKTY / KARTY PRACY - v0.1
   ========================================================= */
.products-page,.product-detail{max-width:1480px;margin:0 auto;padding:8px 0 48px}.products-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.products-hero h1,.product-detail-intro h1{margin:4px 0 8px;font-size:clamp(32px,4vw,54px);letter-spacing:-.045em;line-height:1}.products-hero p,.product-detail-intro>p{max-width:760px;margin:0;color:var(--text-muted,#6c7280);font-size:16px;line-height:1.65}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#d41b75}.btn-primary,.btn-secondary,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;font-weight:800;text-decoration:none;border:1px solid transparent;white-space:nowrap}.btn-primary{background:#df1f7b;color:#fff}.btn-secondary{background:var(--surface,#fff);border-color:var(--border-color,rgba(20,24,34,.12));color:var(--text-primary,#20232d)}.btn-ghost{color:var(--text-muted,#6c7280)}.products-toolbar{display:flex;gap:10px;align-items:center;padding:14px;border:1px solid var(--border-color,rgba(20,24,34,.1));border-radius:18px;background:var(--surface,#fff);margin-bottom:22px}.product-search{flex:1;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;background:var(--surface-soft,#f7f8fb);border-radius:12px}.product-search svg{width:19px;fill:none;stroke:currentColor;stroke-width:1.8;color:var(--text-muted,#777)}.product-search input{width:100%;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:15px}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{display:block;overflow:hidden;border-radius:20px;border:1px solid var(--border-color,rgba(20,24,34,.1));background:var(--surface,#fff);color:inherit;text-decoration:none;box-shadow:0 10px 32px rgba(31,35,48,.055);transition:.2s transform,.2s box-shadow,.2s border-color}.product-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(31,35,48,.1);border-color:rgba(223,31,123,.3)}.product-card-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#f2f2f4}.product-card-media img,.product-detail-cover img{width:100%;height:100%;object-fit:cover;display:block}.product-card-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:60px;font-weight:900;color:#d41b75;background:linear-gradient(145deg,#ffeaf4,#f3f4f8)}.product-status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.product-card-media .product-status{position:absolute;top:12px;right:12px;backdrop-filter:blur(8px)}.product-status--active{background:#e8f8ee;color:#167344}.product-status--draft{background:#fff2d7;color:#8a5b00}.product-status--archived{background:#eceef3;color:#686f80}.product-card-body{padding:18px}.product-card-meta{display:flex;justify-content:space-between;gap:12px;color:var(--text-muted,#737986);font-size:12px;font-weight:700}.product-card h2{font-size:21px;margin:8px 0 7px;letter-spacing:-.02em}.product-card p{margin:0;color:var(--text-muted,#737986);line-height:1.55;min-height:48px}.product-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid var(--border-color,rgba(20,24,34,.08));font-size:12px}.product-card-footer strong{color:#d41b75}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:180px;border:1px dashed var(--border-color,rgba(20,24,34,.2));border-radius:18px;color:var(--text-muted,#777);text-align:center}.empty-state.compact{min-height:80px;padding:16px}.back-link{display:inline-flex;margin-bottom:14px;color:var(--text-muted,#6c7280);font-weight:750;text-decoration:none}.product-detail-hero{position:relative;display:grid;grid-template-columns:minmax(270px,390px) 1fr;gap:30px;padding:24px;border:1px solid var(--border-color,rgba(20,24,34,.1));border-radius:24px;background:var(--surface,#fff);box-shadow:0 12px 36px rgba(31,35,48,.055)}.product-detail-cover{overflow:hidden;min-height:280px;border-radius:18px;background:#f1f2f4}.product-detail-badges{display:flex;gap:8px;flex-wrap:wrap}.soft-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--surface-soft,#f1f2f6);font-size:11px;font-weight:850}.product-detail-intro{align-self:center}.product-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 0}.product-facts div{padding:12px;border-radius:13px;background:var(--surface-soft,#f6f7fa)}.product-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted,#727887);font-weight:800}.product-facts dd{margin:5px 0 0;font-weight:850}.product-edit-btn{position:absolute;right:18px;top:18px}.product-anchor-nav{position:sticky;top:10px;z-index:8;display:flex;gap:6px;overflow-x:auto;margin:18px 0;padding:8px;background:rgba(255,255,255,.9);border:1px solid rgba(20,24,34,.08);border-radius:16px;backdrop-filter:blur(14px)}html[data-theme="dark"] .product-anchor-nav{background:rgba(24,26,31,.9)}.product-anchor-nav a{padding:9px 12px;border-radius:10px;color:inherit;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap}.product-anchor-nav a:hover{background:var(--surface-soft,#f4f5f8);color:#d41b75}.product-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.75fr);gap:18px;align-items:start}.product-detail-main,.product-detail-side{display:grid;gap:18px}.product-section-block,.side-panel{scroll-margin-top:86px;padding:20px;border:1px solid var(--border-color,rgba(20,24,34,.1));border-radius:20px;background:var(--surface,#fff)}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.section-heading h2{margin:2px 0 0;font-size:22px;letter-spacing:-.02em}.section-heading>a{color:#d41b75;text-decoration:none;font-size:12px;font-weight:850}.section-count{font-size:12px;color:var(--text-muted,#777)}.workcard-sections{display:grid;gap:10px}.workcard-step{border:1px solid var(--border-color,rgba(20,24,34,.1));border-radius:15px;overflow:hidden}.workcard-step summary{display:grid;grid-template-columns:42px 1fr 24px;gap:10px;align-items:center;padding:13px 14px;cursor:pointer;list-style:none}.workcard-step summary::-webkit-details-marker{display:none}.step-number{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff0f7;color:#c81767;font-weight:900;font-size:12px}.step-title{display:flex;flex-direction:column;gap:3px}.step-title strong{font-size:15px}.step-title small{font-size:11px;color:var(--text-muted,#777)}.step-chevron{font-weight:900;color:var(--text-muted,#777)}.step-content{padding:0 16px 18px 66px;color:var(--text-secondary,#444b5a);line-height:1.72;font-size:14px}.materials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.material-mini-card{display:grid;grid-template-columns:70px 1fr;gap:12px;padding:11px;border:1px solid var(--border-color,rgba(20,24,34,.08));border-radius:14px}.material-thumb{display:grid;place-items:center;height:70px;border-radius:10px;overflow:hidden;background:var(--surface-soft,#f2f3f6);font-size:24px;font-weight:900;color:#d41b75}.material-thumb img{width:100%;height:100%;object-fit:cover}.material-mini-card p{margin:4px 0;font-size:12px;color:var(--text-muted,#747b89);line-height:1.4}.material-mini-card small{display:block;color:#d41b75;font-weight:750}.file-list,.relation-list,.version-list{display:grid;gap:8px}.file-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:12px;background:var(--surface-soft,#f6f7f9)}.file-row--archived{opacity:.62}.file-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#fff0f7;color:#cf176c;font-weight:900}.file-row div{display:flex;flex-direction:column}.file-row strong{font-size:12px}.file-row small{font-size:10px;color:var(--text-muted,#777)}.file-row a{color:#d41b75;font-size:11px;font-weight:850;text-decoration:none}.file-awaiting{font-size:10px;color:var(--text-muted,#888)}.relation-list a{display:flex;flex-direction:column;gap:2px;padding:11px 12px;border-radius:12px;background:var(--surface-soft,#f6f7f9);text-decoration:none;color:inherit}.relation-list a span{color:#d41b75;text-transform:uppercase;font-size:9px;letter-spacing:.09em;font-weight:900}.relation-list a strong{font-size:13px}.relation-list a small{font-size:10px;color:var(--text-muted,#777)}.change-timeline{display:grid;gap:0}.change-item{display:grid;grid-template-columns:18px 1fr;gap:12px;position:relative}.change-item:not(:last-child):before{content:"";position:absolute;left:6px;top:20px;bottom:-6px;width:1px;background:var(--border-color,rgba(20,24,34,.12))}.change-dot{width:13px;height:13px;margin-top:5px;border-radius:50%;background:#d41b75;box-shadow:0 0 0 4px #fff0f7}.change-content{padding:0 0 20px}.change-top{display:flex;justify-content:space-between;gap:12px}.change-top time{font-size:11px;color:var(--text-muted,#777)}.change-scope{display:inline-flex;margin-top:3px;color:#d41b75;font-size:10px;font-weight:850}.change-content p{margin:7px 0 0;color:var(--text-muted,#69707f);font-size:13px;line-height:1.55}.ack-badge{display:inline-flex;margin-top:8px;padding:4px 7px;border-radius:999px;background:#fff2d7;color:#855c06;font-size:10px;font-weight:850}.version-row{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:10px;border-radius:12px;background:var(--surface-soft,#f6f7f9);font-size:11px}.version-row span{color:var(--text-muted,#777)}.version-row a{color:#d41b75;font-weight:850}.material-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.material-catalog-card{overflow:hidden;border:1px solid var(--border-color,rgba(20,24,34,.1));border-radius:18px;background:var(--surface,#fff)}.material-catalog-image{display:grid;place-items:center;aspect-ratio:4/3;background:var(--surface-soft,#f4f5f8);font-size:46px;font-weight:900;color:#d41b75}.material-catalog-image img{width:100%;height:100%;object-fit:cover}.material-catalog-body{padding:15px}.material-catalog-body h2{margin:0 0 7px;font-size:17px}.material-catalog-body p{margin:0;color:var(--text-muted,#747b89);font-size:12px;line-height:1.5}.material-catalog-body small{display:block;margin-top:12px;color:var(--text-muted,#777)}.material-note{margin-top:10px;padding:9px;border-radius:10px;background:#fff4e3;color:#7d570d;font-size:11px;font-weight:700}
@media(max-width:1150px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-layout{grid-template-columns:1fr}.product-detail-side{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-side .side-panel:last-child{grid-column:1/-1}.material-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.products-page,.product-detail{padding-top:0}.products-hero{align-items:flex-start;flex-direction:column}.products-toolbar{align-items:stretch;flex-wrap:wrap}.product-search{flex-basis:100%}.product-detail-hero{grid-template-columns:1fr;padding:16px}.product-detail-cover{min-height:220px;max-height:360px}.product-edit-btn{position:static;width:max-content}.product-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-side{grid-template-columns:1fr}.product-detail-side .side-panel:last-child{grid-column:auto}.materials-grid{grid-template-columns:1fr}.material-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.products-grid,.material-catalog-grid{grid-template-columns:1fr}.product-card-body{padding:15px}.product-facts{grid-template-columns:1fr 1fr}.product-section-block,.side-panel{padding:15px}.step-content{padding:0 14px 16px}.workcard-step summary{grid-template-columns:38px 1fr 18px}.step-content{padding-left:14px}.material-mini-card{grid-template-columns:58px 1fr}.material-thumb{height:58px}.product-anchor-nav{margin-left:-4px;margin-right:-4px}.products-hero h1,.product-detail-intro h1{font-size:34px}}


/* =========================================================
   LOGOWANIE V2 — INVENTINI
   ========================================================= */
.login-page-v2 {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #10131b;
}

.login-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 25%, rgba(236, 0, 112, .24), transparent 34%),
        radial-gradient(circle at 73% 82%, rgba(236, 0, 112, .13), transparent 34%),
        linear-gradient(125deg, #11141d 0%, #17131c 52%, #11141b 100%);
}

.login-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to right, #000, transparent 70%);
}

.login-stage-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(34px, 4.5vw, 68px);
    color: #fff;
}

.login-brand-v2,
.login-mobile-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.login-brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f72585, #d61b67);
    box-shadow: 0 12px 34px rgba(236, 0, 112, .28);
    color: #fff;
    font-weight: 900;
}

.login-brand-v2 strong {
    display: block;
    font-size: 19px;
    line-height: 1.1;
}

.login-brand-v2 span:not(.login-brand-mark) {
    display: block;
    margin-top: 4px;
    color: #aeb4c0;
    font-size: 11px;
}

.login-copy-v2 {
    max-width: 690px;
    margin: auto 0;
}

.login-copy-v2 .eyebrow,
.login-form-heading-v2 .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #ff2d8c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.login-copy-v2 h1 {
    max-width: 670px;
    margin: 0;
    font-size: clamp(44px, 5.6vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.login-copy-v2 p {
    max-width: 580px;
    margin: 26px 0 0;
    color: #c0c5cf;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.7;
}

.login-security-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aeb5c2;
    font-size: 12px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #28c98b;
    box-shadow: 0 0 0 5px rgba(40, 201, 139, .08);
}

.login-panel-v2 {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: clamp(28px, 4vw, 60px);
    background: rgba(247,248,251,.97);
    box-shadow: -30px 0 90px rgba(0,0,0,.18);
}

.login-card-v2 {
    width: min(430px, 100%);
    padding: clamp(30px, 3.2vw, 44px);
    border: 1px solid #e1e4ea;
    border-radius: 26px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 30px 80px rgba(16,19,27,.12);
}

.login-mobile-brand {
    display: none;
    margin-bottom: 30px;
}

.login-mobile-brand strong {
    font-size: 18px;
}

.login-form-heading-v2 {
    margin-bottom: 28px;
}

.login-form-heading-v2 h2 {
    margin: 0;
    color: #161922;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.login-form-heading-v2 p {
    margin: 9px 0 0;
    color: #747b89;
    font-size: 13px;
}

.login-field {
    margin-top: 17px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    color: #242832;
    font-size: 12px;
    font-weight: 800;
}

.login-card-v2 input[type="text"],
.login-card-v2 input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d8dce4;
    border-radius: 13px;
    outline: none;
    background: #f8f9fb;
    color: #171a22;
    font-size: 15px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-card-v2 input:focus {
    border-color: #ef1680;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239,22,128,.10);
}

.login-submit-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #ef0078, #d91f69);
    box-shadow: 0 14px 30px rgba(225,18,108,.22);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.login-submit-v2:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(225,18,108,.30);
}

.login-submit-v2 span {
    font-size: 18px;
    line-height: 1;
}

.login-card-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eceef2;
    color: #8a909d;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 980px) {
    .login-stage {
        grid-template-columns: 1fr;
        min-height: 100svh;
        background:
            radial-gradient(circle at 18% 12%, rgba(236,0,112,.25), transparent 36%),
            #11141d;
    }

    .login-stage-brand {
        display: none;
    }

    .login-panel-v2 {
        min-height: 100svh;
        padding: 28px 18px;
        background: transparent;
        box-shadow: none;
    }

    .login-card-v2 {
        border-color: rgba(255,255,255,.12);
        box-shadow: 0 26px 70px rgba(0,0,0,.28);
    }

    .login-mobile-brand {
        display: flex;
    }
}

@media (max-width: 520px) {
    .login-card-v2 {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .login-form-heading-v2 h2 {
        font-size: 30px;
    }
}


/* LOGIN V2 FIX */
.login-page-v2, .login-page-v2 * { box-sizing: border-box; }
.login-page-v2 input, .login-page-v2 button { font: inherit; }

/* =========================================================
   LOGOWANIE V3 — INVENTINI BRAND EXPERIENCE
   ========================================================= */
.login-page-v3 { min-height:100vh; margin:0; overflow-x:hidden; background:#11131a; color:#171923; }
.login-page-v3 * { box-sizing:border-box; }
.login-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(440px,.85fr); min-height:100vh; min-height:100svh; }
.login-brand-panel { position:relative; isolation:isolate; display:flex; flex-direction:column; min-height:100vh; min-height:100svh; padding:clamp(34px,4.8vw,72px); overflow:hidden; color:#fff; background:linear-gradient(145deg,#10121a 0%,#18131b 54%,#11131a 100%); }
.login-brand-panel::before { content:""; position:absolute; z-index:-2; width:min(48vw,720px); aspect-ratio:1; left:-9%; top:12%; border-radius:50%; background:radial-gradient(circle,rgba(226,22,112,.34),rgba(226,22,112,.08) 44%,transparent 70%); filter:blur(2px); }
.login-brand-panel::after { content:""; position:absolute; z-index:-1; inset:0; opacity:.18; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:64px 64px; mask-image:linear-gradient(110deg,#000,transparent 76%); }
.login-brand-lockup,.login-mobile-lockup { display:flex; align-items:center; gap:14px; }
.login-logo-frame { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; padding:8px; border:1px solid rgba(255,255,255,.14); border-radius:17px; background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.04)); box-shadow:0 16px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.14); }
.login-logo-frame img { display:block; width:100%; height:100%; object-fit:contain; }
.login-brand-name { display:flex; flex-direction:column; }
.login-brand-name strong { color:inherit; font-size:21px; line-height:1.05; letter-spacing:-.025em; }
.login-brand-name small { margin-top:5px; color:#9da3b1; font-size:11px; letter-spacing:.035em; }
.login-brand-message { max-width:760px; margin:auto 0; padding:70px 0; }
.login-kicker { display:inline-block; color:#f72a89; font-size:10px; font-weight:900; letter-spacing:.17em; }
.login-brand-message h1 { margin:19px 0 0; color:#f9f9fb; font-size:clamp(48px,5.5vw,84px); font-weight:760; line-height:.98; letter-spacing:-.058em; }
.login-brand-message h1 em { color:#f32987; font-style:normal; }
.login-brand-message p { max-width:610px; margin:28px 0 0; color:#b8bdc8; font-size:clamp(15px,1.25vw,18px); line-height:1.72; }
.login-brand-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; color:#858c9a; font-size:11px; }
.login-brand-footer span { display:flex; align-items:center; gap:9px; }
.login-brand-footer i { width:7px; height:7px; border-radius:50%; background:#2ed39a; box-shadow:0 0 0 5px rgba(46,211,154,.09); }
.login-form-panel { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100vh; min-height:100svh; padding:54px clamp(28px,5vw,78px) 34px; background:#f4f5f7; box-shadow:-30px 0 90px rgba(0,0,0,.2); }
.login-form-shell { width:min(430px,100%); }
.login-mobile-lockup { display:none; margin-bottom:45px; color:#171923; }
.login-mobile-lockup .login-logo-frame { background:#171923; border-color:#171923; box-shadow:0 12px 28px rgba(17,19,26,.15); }
.login-heading { margin-bottom:32px; }
.login-heading h2 { margin:10px 0 0; color:#171923; font-size:clamp(36px,3.2vw,46px); line-height:1; letter-spacing:-.05em; }
.login-heading p { margin:12px 0 0; color:#747a87; font-size:14px; }
.login-form-v3 { display:grid; gap:19px; }
.login-alert { display:grid; grid-template-columns:34px 1fr; gap:11px; align-items:center; padding:12px 13px; border:1px solid #f4c8d8; border-radius:13px; background:#fff0f5; color:#941440; }
.login-alert>span { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:#d91f69; color:#fff; font-weight:900; }
.login-alert div { display:flex; flex-direction:column; gap:2px; }
.login-alert strong { font-size:12px; }
.login-alert small { color:#a64a6a; font-size:11px; }
.login-field-v3 label { display:block; margin:0 0 8px; color:#30333d; font-size:12px; font-weight:800; }
.login-input-wrap { position:relative; }
.login-input-wrap>svg { position:absolute; z-index:1; left:16px; top:50%; width:19px; transform:translateY(-50%); fill:none; stroke:#8b919d; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.login-form-v3 input[type="text"],.login-form-v3 input[type="password"] { width:100%; height:56px; padding:0 16px 0 48px; border:1px solid #d8dbe1; border-radius:14px; outline:none; background:#fff; color:#191c24; font-size:15px; box-shadow:0 5px 16px rgba(23,25,35,.03); transition:border-color .18s,box-shadow .18s,transform .18s; }
.login-form-v3 input::placeholder { color:#a4a8b1; }
.login-form-v3 input:focus { border-color:#e21b74; box-shadow:0 0 0 4px rgba(226,27,116,.09),0 9px 22px rgba(23,25,35,.06); }
.login-input-wrap:focus-within>svg { stroke:#d91f69; }
.login-button-v3 { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:56px; margin-top:5px; padding:0 18px 0 21px; border:0; border-radius:14px; background:linear-gradient(135deg,#ed1378,#d51667); box-shadow:0 15px 32px rgba(213,22,103,.24); color:#fff; font-size:14px; font-weight:850; cursor:pointer; transition:transform .18s,box-shadow .18s,filter .18s; }
.login-button-v3 svg { width:21px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s; }
.login-button-v3:hover { transform:translateY(-2px); filter:saturate(1.06); box-shadow:0 19px 38px rgba(213,22,103,.31); }
.login-button-v3:hover svg { transform:translateX(3px); }
.login-button-v3:focus-visible { outline:3px solid rgba(226,27,116,.25); outline-offset:3px; }
.login-support { display:flex; align-items:flex-start; gap:11px; margin-top:30px; padding-top:22px; border-top:1px solid #dee1e6; color:#878d99; font-size:11px; line-height:1.55; }
.login-support svg { width:18px; flex:0 0 18px; fill:none; stroke:#9da2ad; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.login-support strong { color:#626874; font-weight:750; }
.login-copyright { margin-top:auto; padding-top:46px; color:#a2a6af; font-size:10px; }
@media (max-width:980px) { .login-layout{grid-template-columns:1fr;background:radial-gradient(circle at 50% 0,rgba(226,22,112,.22),transparent 42%),#11131a}.login-brand-panel{display:none}.login-form-panel{padding:34px 20px 24px;background:transparent;box-shadow:none}.login-form-shell{padding:clamp(27px,7vw,42px);border:1px solid rgba(255,255,255,.12);border-radius:26px;background:rgba(247,248,250,.98);box-shadow:0 28px 80px rgba(0,0,0,.32)}.login-mobile-lockup{display:flex}.login-copyright{margin-top:0;padding-top:24px;color:#747986} }
@media (max-width:520px) { .login-form-panel{justify-content:flex-start;padding:16px 12px}.login-form-shell{width:100%;padding:27px 20px;border-radius:22px}.login-mobile-lockup{margin-bottom:34px}.login-logo-frame{width:47px;height:47px;flex-basis:47px;border-radius:15px}.login-heading{margin-bottom:27px}.login-heading h2{font-size:35px}.login-form-v3{gap:16px}.login-copyright{padding-top:17px} }
@media (prefers-reduced-motion:reduce) { .login-page-v3 *{scroll-behavior:auto!important;transition:none!important} }

/* =========================================================
   LOGOWANIE V4 — PRODUCT HERO / DARK PREMIUM
   ========================================================= */
.login-page-v4 { min-height:100vh; margin:0; overflow-x:hidden; background:#080d13; color:#f7f8fb; }
.login-page-v4 * { box-sizing:border-box; }
.login-premium { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr) minmax(430px,620px); min-height:100vh; min-height:100svh; overflow:hidden; }
.login-premium-photo { position:absolute; z-index:-3; inset:0; background:url("../img/login/inventini-product-hero.f8d1e8db6e06.webp") center center/cover no-repeat; transform:scale(1.002); }
.login-premium-shade { position:absolute; z-index:-2; inset:0; background:linear-gradient(90deg,rgba(3,8,13,.20) 0%,rgba(3,8,13,.07) 42%,rgba(5,9,14,.72) 66%,rgba(5,9,14,.94) 100%),linear-gradient(180deg,rgba(3,7,12,.36),transparent 28%,transparent 70%,rgba(3,7,12,.56)); }
.login-premium-brand { position:absolute; z-index:3; top:clamp(28px,4.2vw,62px); left:clamp(28px,4.2vw,68px); display:flex; align-items:center; gap:14px; text-shadow:0 2px 20px rgba(0,0,0,.3); }
.login-premium-logo { display:grid; place-items:center; width:51px; height:51px; padding:7px; border:1px solid rgba(255,255,255,.24); border-radius:17px; background:rgba(7,11,17,.62); box-shadow:0 14px 34px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter:blur(16px); }
.login-premium-logo img { display:block; width:100%; height:100%; object-fit:contain; }
.login-premium-brand>span:last-child { display:flex; flex-direction:column; }
.login-premium-brand strong { font-size:20px; letter-spacing:-.025em; line-height:1; }
.login-premium-brand small { margin-top:6px; color:rgba(255,255,255,.7); font-size:11px; letter-spacing:.03em; }
.login-premium-caption { align-self:end; max-width:560px; margin:0 0 clamp(42px,6vw,84px) clamp(28px,4.2vw,68px); text-shadow:0 3px 26px rgba(0,0,0,.58); }
.login-premium-caption span { color:#ff2a87; font-size:10px; font-weight:900; letter-spacing:.18em; }
.login-premium-caption p { margin:11px 0 0; color:#fff; font-size:clamp(21px,2.1vw,32px); font-weight:760; letter-spacing:-.035em; }
.login-premium-panel { grid-column:2; display:grid; place-items:center; min-height:100vh; min-height:100svh; padding:clamp(28px,4vw,62px); border-left:1px solid rgba(255,255,255,.10); background:rgba(6,10,16,.44); box-shadow:-30px 0 90px rgba(0,0,0,.20); backdrop-filter:blur(20px); }
.login-premium-card { width:min(430px,100%); padding:clamp(30px,3.2vw,44px); border:1px solid rgba(255,255,255,.14); border-radius:26px; background:linear-gradient(145deg,rgba(18,24,33,.93),rgba(9,14,21,.91)); box-shadow:0 32px 90px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08); }
.login-premium-heading>span { color:#ff2b87; font-size:10px; font-weight:900; letter-spacing:.17em; }
.login-premium-heading h1 { margin:13px 0 0; color:#fff; font-size:clamp(36px,3vw,46px); line-height:1; letter-spacing:-.052em; }
.login-premium-heading p { margin:12px 0 0; color:#9ca6b4; font-size:13px; }
.login-premium-form { display:grid; gap:18px; margin-top:31px; }
.login-premium-field label { display:block; margin:0 0 8px; color:#d9dde4; font-size:11px; font-weight:800; }
.login-premium-input { position:relative; }
.login-premium-input>svg { position:absolute; z-index:1; left:16px; top:50%; width:19px; transform:translateY(-50%); fill:none; stroke:#778394; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.login-premium-form input[type="text"],.login-premium-form input[type="password"] { width:100%; height:55px; padding:0 16px 0 48px; border:1px solid rgba(255,255,255,.13); border-radius:14px; outline:none; background:rgba(255,255,255,.065); color:#fff; caret-color:#ff2b87; font-size:15px; box-shadow:inset 0 1px 0 rgba(255,255,255,.025); transition:border-color .18s,background .18s,box-shadow .18s; }
.login-premium-form input:hover { background:rgba(255,255,255,.085); }
.login-premium-form input:focus { border-color:#ef267e; background:rgba(255,255,255,.10); box-shadow:0 0 0 4px rgba(239,38,126,.12); }
.login-premium-input:focus-within>svg { stroke:#ff2b87; }
.login-premium-submit { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:55px; margin-top:4px; padding:0 18px 0 21px; border:0; border-radius:14px; background:linear-gradient(135deg,#f51d7e,#d71266); box-shadow:0 16px 34px rgba(224,19,105,.29); color:#fff; font-size:13px; font-weight:850; cursor:pointer; transition:transform .18s,box-shadow .18s,filter .18s; }
.login-premium-submit svg { width:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s; }
.login-premium-submit:hover { transform:translateY(-2px); filter:saturate(1.08); box-shadow:0 20px 40px rgba(224,19,105,.37); }
.login-premium-submit:hover svg { transform:translateX(3px); }
.login-premium-submit:focus-visible { outline:3px solid rgba(255,43,135,.3); outline-offset:3px; }
.login-premium-alert { display:grid; grid-template-columns:32px 1fr; gap:10px; align-items:center; padding:11px 12px; border:1px solid rgba(255,86,147,.28); border-radius:13px; background:rgba(187,21,83,.16); color:#ffd4e3; }
.login-premium-alert>span { display:grid; place-items:center; width:31px; height:31px; border-radius:10px; background:#dc176a; font-weight:900; }
.login-premium-alert div { display:flex; flex-direction:column; gap:2px; }
.login-premium-alert strong { font-size:11px; }
.login-premium-alert small { color:#dda9bd; font-size:10px; }
.login-premium-help { display:flex; gap:10px; align-items:flex-start; margin-top:27px; padding-top:21px; border-top:1px solid rgba(255,255,255,.09); }
.login-premium-status { width:7px; height:7px; flex:0 0 7px; margin-top:4px; border-radius:50%; background:#2cd49b; box-shadow:0 0 0 5px rgba(44,212,155,.08); }
.login-premium-help p { margin:0; color:#c0c6cf; font-size:10px; line-height:1.5; }
.login-premium-help small { color:#747f8e; font-size:9px; }
.login-premium-footer { position:absolute; z-index:3; right:clamp(28px,4vw,62px); bottom:22px; color:rgba(255,255,255,.35); font-size:9px; }
@media(max-width:980px) { .login-premium{display:block}.login-premium-photo{background-position:48% center}.login-premium-shade{background:linear-gradient(180deg,rgba(3,8,13,.22),rgba(3,8,13,.47) 42%,rgba(3,8,13,.82))}.login-premium-brand{top:26px;left:24px}.login-premium-caption{display:none}.login-premium-panel{display:flex; align-items:flex-end; justify-content:center; min-height:100svh; padding:110px 18px 28px; border:0; background:transparent; box-shadow:none; backdrop-filter:none}.login-premium-card{width:min(460px,100%);background:linear-gradient(145deg,rgba(17,23,32,.94),rgba(7,12,18,.94));backdrop-filter:blur(18px)}.login-premium-footer{display:none} }
@media(max-width:520px) { .login-premium-brand{top:18px;left:18px}.login-premium-logo{width:45px;height:45px;flex-basis:45px;border-radius:14px}.login-premium-brand strong{font-size:18px}.login-premium-panel{padding:88px 10px 10px}.login-premium-card{padding:27px 20px;border-radius:22px}.login-premium-heading h1{font-size:35px}.login-premium-form{margin-top:26px;gap:16px}.login-premium-help{margin-top:23px} }
@media(prefers-reduced-motion:reduce) { .login-page-v4 *{transition:none!important} }
