@font-face {
    font-family:Poppins;
    src:url('/assets/fonts/poppins-400.ttf') format('truetype');
    font-weight:400;
    font-display:swap;
}

@font-face {
    font-family:Poppins;
    src:url('/assets/fonts/poppins-500.ttf') format('truetype');
    font-weight:500;
    font-display:swap;
}

@font-face {
    font-family:Poppins;
    src:url('/assets/fonts/poppins-600.ttf') format('truetype');
    font-weight:600;
    font-display:swap;
}

@font-face {
    font-family:Poppins;
    src:url('/assets/fonts/poppins-700.ttf') format('truetype');
    font-weight:700;
    font-display:swap;
}

:root {
    --purple:#8d34f2;
    --purple-dark:#7020c8;
    --ink:#0b0f0a;
    --muted:#686773;
    --line:#e9e7ed;
    --lavender:#f3edfd;
    --paper:#f8f9f6;
    --white:#fff;
    --radius:14px;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    color:var(--ink);
    font-family:Poppins,system-ui,sans-serif;
    font-size:14px;
    -webkit-font-smoothing:antialiased;
}

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

button,input {
    font:inherit;
}

button,a,input {
    touch-action:manipulation;
}

button {
    cursor:pointer;
}

img {
    max-width:100%;
    height:auto;
}

h1,h2,h3,p {
    margin-top:0;
}

h1,h2,h3 {
    font-weight:600;
    letter-spacing:-.055em;
}

button:focus-visible,a:focus-visible,input:focus-visible {
    outline:3px solid #b790ef;
    outline-offset:4px;
}

.skip-link {
    position:fixed;
    left:16px;
    top:-100px;
    background:white;
    padding:12px;
    z-index:20;
}

.skip-link:focus {
    top:12px;
}

.eyebrow {
    font-size:10px;
    letter-spacing:.18em;
    font-weight:500;
    color:var(--purple-dark);
    margin-bottom:18px;
}

.muted {
    color:var(--muted);
    line-height:1.8;
}

.dot {
    display:inline-block;
    width:7px;
    height:7px;
    flex-shrink:0;
    border-radius:50%;
    background:var(--purple);
}

.button {
    border:0;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    min-height:52px;
    padding:14px 22px;
    font-weight:500;
}

.primary {
    background:var(--purple);
    color:white;
    transition:background .15s;
}

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

.section-icon {
    width:44px;
    height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--purple);
    background:var(--lavender);
    border:1px solid #e9ddfa;
    border-radius:12px;
}

.login-layout {
    min-height:100dvh;
    display:grid;
    grid-template-columns:1.05fr 1fr;
}

.login-brand {
    background:var(--paper);
    padding:44px 9%;
    display:flex;
    flex-direction:column;
    position:relative;
    overflow:hidden;
}

.brand-logo {
    width:166px;
    align-self:flex-start;
}

.brand-story {
    margin:auto 0;
    padding:65px 0;
    max-width:570px;
}

.brand-story .eyebrow {
    display:flex;
    align-items:center;
    gap:12px;
}

.brand-story .eyebrow span {
    width:25px;
    height:1px;
    background:var(--purple);
}

.brand-story h2 {
    font-size:clamp(42px,3.9vw,70px);
    line-height:1.14;
    margin:0 0 28px;
    letter-spacing:-.065em;
}

.brand-story h2>span {
    color:var(--purple);
}

.brand-description {
    max-width:370px;
    font-size:15px;
    color:var(--muted);
    line-height:1.85;
}

.brand-details {
    margin-top:44px;
    border-top:1px solid #dddfd8;
    max-width:380px;
}

.brand-details>div {
    display:flex;
    align-items:center;
    gap:24px;
    border-bottom:1px solid #dddfd8;
    padding:13px 0;
}

.brand-details span {
    font-size:10px;
    color:var(--purple);
    font-family:monospace;
}

.brand-details p {
    margin:0;
    font-size:12px;
}

.brand-footer {
    font-size:9px;
    letter-spacing:.18em;
    color:var(--muted);
    margin:0;
}

.brand-footer span {
    margin:0 12px;
    color:var(--purple);
}

.login-form-side {
    display:flex;
    flex-direction:column;
    padding:44px 9% 28px;
}

.login-topline {
    font-size:11px;
    align-self:flex-end;
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--muted);
}

.login-card {
    width:100%;
    max-width:385px;
    margin:auto;
    padding:42px 0;
}

.login-card>.section-icon {
    margin-bottom:28px;
}

.login-card .eyebrow {
    margin-bottom:12px;
}

.login-card h1 {
    font-size:39px;
    line-height:1.2;
    margin-bottom:16px;
}

.login-intro {
    font-size:13px;
    margin-bottom:31px;
}

.login-form {
    display:flex;
    flex-direction:column;
}

.login-form label {
    font-size:12px;
    font-weight:500;
    margin-bottom:9px;
}

.login-form input:not([type=hidden]) {
    width:100%;
    min-width:0;
    min-height:51px;
    border:1px solid #dedce4;
    background:#fff;
    border-radius:8px;
    padding:12px 15px;
    color:var(--ink);
    font-size:13px;
}

.login-form input::placeholder {
    color:#a09ca9;
}

.login-form>input[type=email] {
    margin-bottom:24px;
}

.password-field {
    position:relative;
}

.password-field input {
    padding-right:84px!important;
}

.reveal-password {
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    background:transparent;
    color:var(--muted);
    font-size:10px;
    padding:9px;
    border:0;
}

.login-submit {
    margin-top:28px;
    justify-content:space-between;
    font-size:13px;
}

.login-help {
    font-size:11px;
    text-align:center;
    margin:25px 0 0;
    line-height:1.9;
    color:var(--ink);
}

.login-help span {
    color:var(--muted);
}

.login-footer {
    font-size:9px;
    color:var(--muted);
    display:flex;
    justify-content:space-between;
    margin:0;
    gap:12px;
}

.mobile-logo {
    display:none;
}

.alert {
    background:#fff1f2;
    color:#9e2239;
    border:1px solid #f1c4ce;
    padding:12px 15px;
    border-radius:8px;
    font-size:12px;
    line-height:1.7;
    margin-bottom:22px;
}

.workspace-page {
    background:#f8f9fc;
}

.workspace-layout {
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    min-height:100dvh;
}

.sidebar {
    background:white;
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column;
    padding:32px 18px;
    position:sticky;
    top:0;
    height:100dvh;
}

.sidebar-logo {
    display:block;
    margin:0 13px 33px;
}

.workspace-label {
    margin:0 6px 35px;
    border:1px solid var(--line);
    padding:12px 10px;
    display:flex;
    align-items:center;
    gap:11px;
    border-radius:10px;
    font-size:11px;
    font-weight:500;
}

.workspace-monogram {
    background:var(--lavender);
    border-radius:8px;
    color:var(--purple);
    font-weight:600;
    display:grid;
    place-items:center;
    width:33px;
    height:35px;
}

.workspace-label small {
    display:block;
    color:var(--muted);
    font-weight:400;
    font-size:10px;
    margin-top:3px;
}

.nav-label {
    font-size:8px;
    letter-spacing:.14em;
    color:#8b8793;
    margin:0 14px 12px;
}

.nav-item {
    display:flex;
    align-items:center;
    gap:12px;
    border-radius:8px;
    padding:13px 14px;
    min-height:46px;
    font-size:11px;
    margin-bottom:4px;
    color:#575260;
}

.nav-item.active {
    color:var(--purple-dark);
    background:var(--lavender);
    font-weight:500;
}

.nav-item.disabled {
    color:#8b8793;
}

.nav-item small {
    margin-left:auto;
    white-space:nowrap;
    font-size:8px;
    color:#938b9e;
}

.nav-item:not(.disabled):hover {
    background:var(--lavender);
}

.nav-item svg {
    width:18px;
    flex-shrink:0;
}

.admin-nav {
    margin-top:35px;
}

.sidebar-bottom {
    margin:auto 10px 0;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:9px;
    color:var(--muted);
    line-height:1.8;
}

.sidebar-bottom .dot {
    width:5px;
    height:5px;
}

.workspace-main {
    display:flex;
    flex-direction:column;
    min-width:0;
}

.topbar {
    background:white;
    border-bottom:1px solid var(--line);
    height:91px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 44px;
    gap:18px;
}

.breadcrumb {
    font-size:10px;
    color:var(--muted);
}

.breadcrumb>span {
    color:#c2bec9;
    margin:0 14px;
}

.breadcrumb strong {
    font-weight:500;
    color:#403a49;
}

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

.avatar {
    background:var(--lavender);
    color:var(--purple-dark);
    border:1px solid #e6d8f9;
    width:36px;
    height:36px;
    flex-shrink:0;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:500;
    font-size:13px;
}

.profile strong,.profile small {
    display:block;
}

.profile strong {
    font-size:11px;
    font-weight:500;
}

.profile small {
    font-size:9px;
    color:var(--muted);
    margin-top:3px;
}

.logout-button {
    padding:8px;
    margin-left:8px;
    border:0;
    border-left:1px solid var(--line);
    background:transparent;
    color:var(--muted);
    display:flex;
}

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

.workspace-content {
    width:100%;
    max-width:1680px;
    padding:44px;
    margin:0 auto;
    flex:1;
}

.page-heading {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    margin:0 0 35px;
}

.page-heading .eyebrow {
    font-size:9px;
    margin-bottom:12px;
}

.page-heading h1 {
    font-size:31px;
    line-height:1.3;
    margin-bottom:10px;
}

.page-heading .muted {
    font-size:11px;
    margin:0;
}

.status-pill {
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:#f0e9fa;
    border:1px solid #e6d9f5;
    color:#7733b9;
    padding:6px 10px;
    font-size:9px;
    white-space:nowrap;
    border-radius:20px;
}

.status-pill .dot {
    width:5px;
    height:5px;
}

.welcome-panel {
    display:grid;
    grid-template-columns:1.5fr 1fr;
    border:1px solid #e7def1;
    border-radius:var(--radius);
    background:#f1ebf8;
    overflow:hidden;
    margin-bottom:36px;
}

.welcome-copy {
    padding:35px 38px;
}

.tag {
    font-family:monospace;
    font-size:9px;
    letter-spacing:.15em;
    color:var(--purple-dark);
    display:inline-block;
    margin-bottom:21px;
}

.welcome-copy h2 {
    font-size:36px;
    line-height:1.18;
    margin-bottom:17px;
}

.welcome-copy p {
    font-size:11px;
    line-height:1.9;
    color:#6d6279;
    max-width:420px;
    margin-bottom:0;
}

.welcome-note {
    background:#e9e0f3;
    border-left:1px solid #e0d4ec;
    padding:35px 38px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.large-number {
    font-size:58px;
    letter-spacing:-.08em;
    line-height:1;
    color:var(--purple);
    font-weight:500;
}

.note-line {
    width:34px;
    height:1px;
    background:#baa1d4;
    margin:22px 0;
}

.welcome-note strong {
    font-size:12px;
    font-weight:500;
}

.welcome-note p {
    font-size:10px;
    line-height:1.9;
    color:#6d6279;
    margin:8px 0 0;
}

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

.section-heading h2 {
    font-size:17px;
    margin:0;
    letter-spacing:-.035em;
}

.section-heading>span {
    font-size:9px;
    color:var(--muted);
}

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

.module-card {
    background:white;
    border:1px solid var(--line);
    border-radius:12px;
    padding:24px 21px;
}

.module-card-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
    gap:10px;
}

.module-icon {
    color:var(--purple);
    background:#f7f3fc;
    width:39px;
    height:39px;
    border-radius:10px;
    display:grid;
    place-items:center;
}

.soon-badge {
    font-size:8px;
    color:#867b91;
    background:#f7f5f9;
    border:1px solid #eee9f3;
    border-radius:5px;
    padding:3px 7px;
    white-space:nowrap;
}

.module-card h3 {
    font-size:14px;
    letter-spacing:-.025em;
    margin-bottom:9px;
}

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

.account-link {
    display:flex;
    align-items:center;
    gap:16px;
    background:white;
    border:1px solid var(--line);
    border-radius:12px;
    margin-top:24px;
    padding:20px 24px;
}

.account-link strong {
    display:block;
    font-size:11px;
    font-weight:500;
}

.account-link small {
    display:block;
    font-size:10px;
    color:var(--muted);
    margin-top:5px;
}

.account-link>svg {
    margin-left:auto;
    color:var(--purple);
}

.account-link:hover {
    border-color:#c3a0ed;
}

.account-link .section-icon {
    width:36px;
    height:36px;
}

.workspace-footer {
    display:flex;
    justify-content:space-between;
    gap:12px;
    border-top:1px solid var(--line);
    padding:20px 44px;
    font-size:9px;
    color:#928b9b;
}

.users-panel {
    background:white;
    border:1px solid var(--line);
    border-radius:12px;
    overflow:hidden;
}

.table-scroll {
    max-height:65dvh;
    overflow:auto;
}

table {
    width:100%;
    border-collapse:collapse;
    text-align:left;
    white-space:nowrap;
}

th {
    font-size:10px;
    font-weight:500;
    color:var(--muted);
    background:#fbfafd;
    padding:18px 22px;
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:1;
}

td {
    padding:22px;
    font-size:11px;
    border-bottom:1px solid #f4f1f6;
}

.table-user {
    display:flex;
    align-items:center;
    gap:12px;
}

.table-user strong {
    font-weight:500;
}

tbody tr:last-child td {
    border-bottom:0;
}

.count-pill {
    background:white;
    border:1px solid var(--line);
    padding:8px 14px;
    border-radius:20px;
    font-size:10px;
    color:var(--muted);
}

.account-help {
    font-size:11px;
    line-height:1.8;
    color:var(--muted);
    margin-top:23px;
}

@media(min-width:1600px) {
    .login-brand {
        padding-left:12%;
        padding-right:12%;
    }
    .login-form-side {
        padding-left:14%;
        padding-right:14%;
    }
    .workspace-content {
        padding:58px;
    }
    .welcome-copy,.welcome-note {
        padding:44px;
    }
    .module-card {
        padding:30px;
    }
    .module-card p {
        font-size:12px;
    }
    .page-heading h1 {
        font-size:36px;
    }
    .welcome-copy h2 {
        font-size:43px;
    }
    .welcome-copy p {
        font-size:13px;
    }
    .workspace-content .muted {
        font-size:13px;
    }
}

@media(max-width:1150px) {
    .workspace-layout {
        grid-template-columns:218px minmax(0,1fr);
    }
    .topbar {
        padding:0 28px;
    }
    .workspace-content {
        padding:32px 28px;
    }
    .module-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .welcome-copy,.welcome-note {
        padding:28px;
    }
    .welcome-copy h2 {
        font-size:29px;
    }
    .welcome-note strong {
        font-size:11px;
    }
    .workspace-footer {
        padding:20px 28px;
    }
    .sidebar {
        padding:28px 12px;
    }
    .nav-item {
        font-size:10px;
        gap:9px;
    }
    .nav-item small {
        font-size:7px;
    }
    .login-brand,.login-form-side {
        padding-left:8%;
        padding-right:8%;
    }
    .brand-story h2 {
        font-size:46px;
    }
}

@media(max-width:760px) {
    .login-layout {
        grid-template-columns:1fr;
    }
    .login-brand {
        display:none;
    }
    .login-form-side {
        min-height:100dvh;
        padding:25px 28px;
    }
    .login-topline {
        font-size:10px;
    }
    .mobile-logo {
        display:block;
        margin-bottom:38px;
    }
    .login-card {
        padding:28px 0 40px;
        max-width:420px;
    }
    .login-card>.section-icon {
        display:none;
    }
    .login-card h1 {
        font-size:35px;
    }
    .login-footer {
        font-size:8px;
    }
    .workspace-layout {
        display:block;
    }
    .sidebar {
        position:relative;
        height:auto;
        padding:18px;
        border-right:0;
        border-bottom:1px solid var(--line);
    }
    .sidebar-logo {
        margin:0 0 18px;
    }
    .sidebar-logo img {
        width:124px;
    }
    .workspace-label,.nav-label,.sidebar-bottom,.nav-item.disabled {
        display:none;
    }
    .sidebar nav {
        display:flex;
        flex-wrap:wrap;
        gap:8px;
    }
    .nav-item {
        font-size:10px;
        margin:0;
        padding:9px 11px;
        min-height:36px;
    }
    .topbar {
        height:auto;
        min-height:75px;
        padding:17px 20px;
    }
    .breadcrumb {
        display:none;
    }
    .profile {
        width:100%;
    }
    .profile form {
        margin-left:auto;
    }
    .logout-button {
        border:0;
    }
    .workspace-content {
        padding:28px 20px;
    }
    .page-heading {
        align-items:flex-start;
        gap:12px;
        margin-bottom:25px;
    }
    .page-heading h1 {
        font-size:27px;
    }
    .page-heading>.status-pill {
        display:none;
    }
    .page-heading .muted {
        font-size:11px;
    }
    .welcome-panel {
        grid-template-columns:1fr;
    }
    .welcome-copy {
        padding:27px;
    }
    .welcome-copy h2 {
        font-size:32px;
    }
    .welcome-note {
        border-left:0;
        border-top:1px solid #e0d4ec;
        padding:22px 27px;
    }
    .large-number,.note-line {
        display:none;
    }
    .welcome-note p br {
        display:none;
    }
    .section-heading {
        align-items:flex-start;
    }
    .section-heading>span {
        max-width:120px;
        text-align:right;
        line-height:1.6;
    }
    .module-grid {
        gap:12px;
    }
    .module-card {
        padding:18px 15px;
    }
    .module-card-top {
        margin-bottom:18px;
    }
    .module-card p {
        font-size:10px;
    }
    .account-link {
        padding:18px 15px;
        gap:12px;
    }
    .account-link strong {
        font-size:10px;
    }
    .account-link small {
        font-size:9px;
        line-height:1.7;
    }
    .account-link .section-icon {
        flex-shrink:0;
    }
    .workspace-footer {
        padding:18px 20px;
        font-size:8px;
    }
    .workspace-footer span {
        max-width:160px;
        text-align:right;
    }
    .count-pill {
        font-size:9px;
        flex-shrink:0;
    }
    th,td {
        padding:16px;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition:none!important;
        scroll-behavior:auto!important;
    }
}

.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
