:root {
    --bg:#101116;
    --surface:#191a22;
    --surface-2:#20212c;
    --border:#2c2d3a;
    --text:#f2f1f8;
    --muted:#a1a0b4;
    --violet:#a18aff;
    --pink:#ed8cc3;
    --green:#7ed9b4;
    font-family:Inter,"Segoe UI",Arial,sans-serif;
    color-scheme:dark;
    font-size:14px;
}
* {
    box-sizing:border-box;
}
body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}
a {
    color:inherit;
    text-decoration:none;
}
button,input {
    font:inherit;
}
button,a,input {
    touch-action:manipulation;
}
button {
    cursor:pointer;
}
button:focus-visible,a:focus-visible,input:focus-visible {
    outline:2px solid #b69aff;
    outline-offset:4px;
}
input {
    width:100%;
    margin-top:8px;
    padding:13px 15px;
    background:#15161e;
    border:1px solid #383846;
    border-radius:9px;
    color:var(--text);
}
input:focus {
    border-color:var(--violet);
}
input::placeholder {
    color:#767689;
}
h1,h2,h3,p {
    margin-top:0;
}
h1 {
    font-size:36px;
    line-height:1.2;
    letter-spacing:-1.3px;
    margin-bottom:12px;
}
h2 {
    font-size:19px;
    line-height:1.35;
    font-weight:600;
}
h3 {
    font-size:16px;
}
small {
    font-size:12px;
}
.muted {
    color:var(--muted);
}
.eyebrow {
    display:block;
    font-size:10px;
    font-weight:650;
    letter-spacing:1.8px;
    color:var(--violet);
    margin-bottom:14px;
}
.button {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    padding:12px 18px;
    border:1px solid transparent;
    border-radius:9px;
    font-weight:600;
    font-size:13px;
    min-height:44px;
}
.button span {
    margin-left:auto;
}
.primary {
    background:linear-gradient(105deg,#8760df,#a268d5);
    color:#fff;
}
.primary:hover {
    filter:brightness(1.12);
}
.secondary {
    background:var(--surface-2);
    border-color:var(--border);
}
.light {
    background:#f6efff;
    color:#332441;
    font-size:12px;
}
.form-stack {
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:27px;
}
.form-stack label {
    font-size:12px;
    font-weight:600;
    display:block;
}
.form-stack small {
    display:block;
    font-weight:400;
}
.form-columns {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.form-footnote {
    font-size:11px;
    color:var(--muted);
    text-align:center;
    margin:24px 0 0;
}
.notice {
    padding:12px 14px;
    border-radius:8px;
    font-size:13px;
    margin:20px 0;
    border:1px solid;
}
.notice.error {
    background:#351e2d;
    border-color:#6b334c;
    color:#ffbbd1;
}
.notice.success {
    background:#172e29;
    border-color:#2c6550;
    color:#ace5ce;
}
.skip-link {
    position:fixed;
    top:-80px;
    left:15px;
    z-index:100;
    background:#fff;
    color:#222;
    padding:10px;
}
.skip-link:focus {
    top:10px;
}
[hidden] {
    display:none!important;
}
.brand {
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
    width:240px;
    max-width:100%;
    line-height:1.1;
}
.brand small {
    display:block;
    font-size:8px;
    letter-spacing:2px;
    color:var(--muted);
    margin-top:0;
}
.page-actions { display:flex; flex-wrap:wrap; gap:12px; }
.panel > .history-pagination { padding:18px 22px; }
.evoliz-value { max-width:280px; overflow-wrap:anywhere; white-space:normal; }
.crm-table td small { display:block; margin-top:6px; color:var(--muted); max-width:340px; white-space:normal; }
[data-sync-status] { margin:12px 0; }

.sales-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.crm-related-actions { margin-bottom:25px; }
.sales-search { display:flex; align-items:center; gap:14px; padding:18px 22px; margin-bottom:14px; }
.sales-search input { margin:0; max-width:480px; }
.sales-hint { font-size:11px; margin-bottom:20px; }
.sales-description { margin-top:25px; }
.overdue { display:block; color:#f1a1b7; font-size:11px; margin-top:4px; }
.dashboard-task-list { padding:15px 23px 22px; }
.kanban { display:flex; overflow-x:auto; gap:16px; padding:2px 2px 20px; align-items:stretch; scrollbar-color:#63516c #18151e; }
.kanban-column { flex:0 0 278px; min-height:420px; background:#181922; border:1px solid #302d3d; border-radius:12px; transition:border-color .15s; }
.kanban-heading { padding:19px 17px; border-top:3px solid #8f71bc; border-radius:12px 12px 0 0; border-bottom:1px solid #302d3d; }
.kanban-heading>div { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.kanban-heading h2 { font-size:13px; margin:0; }
.kanban-heading>strong { display:block; font-size:21px; font-weight:550; }
.kanban-heading>small { color:var(--muted); font-size:10px; }
.stage-discovery .kanban-heading { border-top-color:#7294c5; }
.stage-proposal .kanban-heading { border-top-color:#b284c7; }
.stage-quote_sent .kanban-heading { border-top-color:#c789a6; }
.stage-negotiation .kanban-heading { border-top-color:#ccb17b; }
.stage-won .kanban-heading { border-top-color:#79bfa3; }
.stage-lost .kanban-heading { border-top-color:#b57283; }
.kanban-cards { padding:12px; }
.deal-card { padding:17px 15px; border:1px solid #393243; background:#22202b; border-radius:9px; margin-bottom:12px; }
.deal-card[draggable=true] { cursor:grab; }
.deal-card.dragging { opacity:.4; }
.kanban-column.drag-over { border-color:#c59fee; background:#292033; }
.deal-card .record-link { display:block; font-size:13px; overflow-wrap:anywhere; }
.deal-card>p { color:var(--muted); font-size:11px; margin:5px 0 20px; overflow-wrap:anywhere; }
.deal-amount { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:16px; }
.deal-amount strong { font-size:16px; font-weight:550; }
.deal-amount>span { font-size:10px; padding:2px 7px; border-radius:5px; background:#393045; color:#c8b1e3; }
.deal-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:7px; font-size:9px; color:var(--muted); padding-top:12px; border-top:1px solid #3b3346; margin-bottom:12px; }
.deal-card>.text-link { font-size:10px; }
.kanban-empty { color:#8e849b; text-align:center; font-size:11px; padding:35px 10px; }
.kanban-more { display:block; padding:0 17px 20px; }
@media(max-width:760px) {
    .sales-search { flex-wrap:wrap; padding:17px; }
    .sales-search input { flex-basis:100%; }
    .kanban-column { flex-basis:270px; }
}

/* CRM: accessible forms, scoped lists and record detail pages. */
select, textarea {
    width:100%; margin-top:8px; padding:12px 14px; font:inherit;
    color:var(--text); background:#15161e; border:1px solid #383846; border-radius:9px;
}
textarea { resize:vertical; min-height:90px; }
select:focus-visible, textarea:focus-visible { outline:2px solid var(--violet); outline-offset:3px; }
.text-link { color:#c4a7fa; font-size:12px; }
.text-link:hover { text-decoration:underline; }
.back-link { display:inline-block; margin-bottom:20px; }
.dashboard-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.crm-filters { display:flex; gap:14px; align-items:end; flex-wrap:wrap; padding:23px; background:#1c1c27; }
.crm-filters label { flex:1 1 130px; font-size:11px; color:var(--muted); }
.crm-filters .search-field { flex:2 1 240px; }
.crm-filters .text-link { padding:12px 0; }
.list-summary { display:flex; justify-content:space-between; gap:12px; padding:17px 23px; color:var(--muted); font-size:12px; }
.list-summary strong { color:var(--text); }
.record-link { font-size:13px; font-weight:600; }
.record-link:hover { color:var(--violet); }
.table-subtitle { display:block; color:var(--muted); margin-top:4px; font-size:11px; }
.row-open { font-size:20px; color:var(--violet); padding:10px; }
.crm-status { display:inline-block; padding:4px 10px; border-radius:6px; font-size:11px; white-space:nowrap; background:#303047; color:#c9bafa; }
.status-qualified { background:#243549; color:#9dc8ef; }
.status-client { background:#243c33; color:#a0dbc0; }
.status-not_interested { background:#37323b; color:#c3bac9; }
.spacious { padding:64px 20px; }
.spacious .button { margin-top:22px; }
.crm-edit-grid, .crm-detail-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(270px,1fr); gap:24px; }
.crm-edit-grid>*, .crm-detail-grid>* { min-width:0; }
.form-panel { padding:26px; margin-bottom:22px; }
.form-panel>h2 { font-size:16px; margin-bottom:10px; }
.form-panel>.muted, .form-panel label { font-size:12px; }
.form-panel .section-heading { margin:0 0 20px; }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:22px; }
.crm-form label { font-weight:500; }
.service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:20px 0 25px; }
.service-option { display:flex; align-items:center; gap:10px; border:1px solid #363142; padding:10px 12px; border-radius:8px; cursor:pointer; }
.service-option:has(input:checked) { background:#352843; border-color:#9670b7; }
.service-option input, .duplicate-confirm input { width:17px; height:17px; flex-shrink:0; margin:0; accent-color:#ad80df; }
.save-panel { display:flex; flex-direction:column; gap:12px; }
.duplicate-confirm { display:flex; gap:10px; align-items:flex-start; padding:16px; background:#342338; border:1px solid #664664; border-radius:9px; font-size:12px; }
.company-picker { border:0; padding:0; margin:30px 0 0; min-width:0; }
.company-picker legend { font-size:14px; font-weight:600; margin-bottom:15px; }
.company-picker small { display:block; margin-top:10px; }
.company-picker p { font-size:11px; margin:10px 0 0; }
.picker-search { display:flex; gap:10px; margin-bottom:16px; align-items:center; }
.picker-search input { margin:0; min-width:0; }
.crm-detail-grid .section-heading>span { max-width:none; }
.detail-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; margin:0; }
.detail-list div { min-width:0; }
.detail-list dt { font-size:10px; letter-spacing:.6px; color:var(--muted); margin-bottom:6px; }
.detail-list dd { margin:0; font-size:13px; overflow-wrap:anywhere; }
.service-tags { display:flex; flex-wrap:wrap; gap:9px; margin:20px 0; }
.service-tag { padding:5px 10px; border:1px solid #655077; background:#32263f; color:#d0b7eb; border-radius:7px; font-size:11px; }
.preserve-lines { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; }
.contact-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; border-bottom:1px solid var(--border); }
.contact-row:last-of-type { margin-bottom:15px; }
.contact-row strong { font-size:13px; }
.contact-row small { display:block; color:var(--muted); }
.contact-row>span { color:var(--violet); }
.crm-timeline { list-style:none; border-left:1px solid #494056; margin:25px 0 0 4px; padding:0 0 0 19px; }
.crm-timeline li { position:relative; margin-bottom:25px; }
.crm-timeline li:before { content:''; position:absolute; left:-24px; top:7px; width:8px; height:8px; background:#ad85ce; border-radius:50%; }
.crm-timeline strong { display:block; font-size:12px; font-weight:500; }
.crm-timeline small { display:block; color:var(--muted); font-size:10px; margin-top:5px; }
.crm-timeline p { font-size:10px; color:#bda8d0; margin:7px 0 0; overflow-wrap:anywhere; }
.history-pagination { display:flex; gap:15px; justify-content:space-between; }
.archive-panel p { font-size:12px; }
.archive-notice { color:#d0badc; border-color:#64516d; background:#2e2438; }
.record-title { overflow-wrap:anywhere; }
.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; }
@media(max-width:1100px) {
    .crm-edit-grid, .crm-detail-grid { grid-template-columns:minmax(0,1fr); }
    .crm-form-aside { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.7fr); gap:22px; }
}
@media(max-width:760px) {
    .page-heading { flex-wrap:wrap; }
    .field-grid, .detail-list, .crm-form-aside { grid-template-columns:minmax(0,1fr); }
    .crm-form-aside { gap:0; }
    .service-grid { grid-template-columns:minmax(0,1fr); }
    .form-panel { padding:20px; }
    .crm-filters { padding:18px; }
    .list-summary { padding:16px 18px; }
    .list-summary small { max-width:130px; text-align:right; }
    .crm-detail-grid .section-heading>span { display:inline-block; }
    .picker-search { flex-wrap:wrap; }
}
.brand-logo {
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:2 / 1;
    overflow:hidden;
    border-radius:8px;
}
.brand-logo img {
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    height:auto;
    transform:translateY(-50%);
}
.auth-shell {
    min-height:100vh;
    display:grid;
    grid-template-columns:1.05fr 1fr;
}
.auth-story {
    padding:50px 65px 30px;
    display:flex;
    flex-direction:column;
    background:radial-gradient(ellipse at 20% 55%,#7446652b,transparent 65%),radial-gradient(ellipse at 85% 30%,#4a36804a,transparent 65%),#16141f;
    position:relative;
    overflow:hidden;
}
.auth-story:after {
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border:1px solid #ffffff08;
    border-radius:50%;
    right:-180px;
    top:100px;
    box-shadow:0 0 0 70px #ffffff02,0 0 0 140px #ffffff02;
    pointer-events:none;
}
.story-copy {
    margin:auto 0;
    padding:80px 0;
    position:relative;
    z-index:1;
}
.story-copy h1 {
    font-size:clamp(36px,4vw,62px);
    line-height:1.14;
    letter-spacing:-2.6px;
    font-weight:550;
}
.story-copy h1 span {
    background:linear-gradient(90deg,#b293fa,#edb3d0);
    background-clip:text;
    color:transparent;
}
.story-copy p {
    font-size:16px;
    color:#af9fb7;
    line-height:1.8;
    margin-top:25px;
}
.story-footer {
    font-size:9px;
    letter-spacing:2px;
    color:#9d8caa;
    margin:0;
}
.film-line {
    display:flex;
    gap:9px;
    align-items:center;
    margin-top:45px;
    width:175px;
}
.film-line span {
    height:1px;
    background:#83658f;
    flex:1;
}
.film-line i {
    width:5px;
    height:5px;
    background:#9d79a7;
    border-radius:50%;
}
.auth-form-panel {
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px 40px;
}
.auth-card {
    width:100%;
    max-width:420px;
}
.auth-card h2 {
    font-size:29px;
    letter-spacing:-1px;
    margin-bottom:12px;
}
.auth-card>.button {
    margin-top:20px;
}
.sidebar {
    position:fixed;
    inset:0 auto 0 0;
    width:247px;
    background:#15161d;
    border-right:1px solid #242530;
    display:flex;
    flex-direction:column;
    padding:31px 20px 20px;
    z-index:20;
    overflow-y:auto;
}
.sidebar>.brand {
    padding:0 9px;
}
.workspace-label {
    margin:34px 0 23px;
    background:#1e1f29;
    border:1px solid #2c2d39;
    padding:10px;
    border-radius:7px;
    font-size:11px;
    display:flex;
    align-items:center;
    gap:9px;
}
.workspace-dot {
    width:8px;
    height:8px;
    background:#b49af6;
    border-radius:2px;
}
.local-label {
    font-size:8px;
    color:#aaa2bb;
    border:1px solid #434052;
    border-radius:3px;
    padding:0 4px;
    margin-left:auto;
}
.nav-heading {
    font-size:9px;
    letter-spacing:1.5px;
    color:#8f8b9f;
    margin:20px 12px 9px;
}
.sidebar> .nav-heading {
    margin-top:0;
}
.nav-link {
    display:flex;
    align-items:center;
    gap:11px;
    padding:10px 12px;
    border-radius:7px;
    font-size:12px;
    margin-bottom:3px;
    min-height:40px;
}
.nav-link.active {
    color:#cfbfff;
    background:linear-gradient(90deg,#342947,#29243a);
}
a.nav-link:hover {
    background:#252331;
}
.nav-icon {
    font-size:18px;
    line-height:1;
    width:19px;
    text-align:center;
}
.unavailable {
    color:#92909f;
    cursor:default;
}
.soon-dot {
    margin-left:auto;
    width:4px;
    height:4px;
    background:#655d72;
    border-radius:50%;
}
.sidebar-bottom {
    display:flex;
    align-items:center;
    gap:10px;
    border-top:1px solid var(--border);
    margin-top:auto;
    padding-top:18px;
}
.sidebar-bottom strong {
    font-size:11px;
    display:block;
    max-width:130px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.sidebar-bottom small {
    font-size:10px;
    display:block;
    color:var(--muted);
}
.sidebar-bottom form {
    margin-left:auto;
}
.avatar {
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#373043;
    color:#d4bfea;
    width:35px;
    height:35px;
    flex-shrink:0;
}
.logout {
    border:0;
    background:none;
    color:#aaa0b5;
    font-size:20px;
    padding:6px;
}
.main-shell {
    margin-left:247px;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
.topbar {
    height:75px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    border-bottom:1px solid #25252f;
    font-size:11px;
    gap:12px;
}
.breadcrumb {
    color:#8e8b9e;
}
.breadcrumb-separator {
    margin:0 14px;
    color:#5f5b6f;
}
.status-pill {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:10px;
    color:#aca6bc;
    border:1px solid #33303e;
    border-radius:20px;
    padding:5px 11px;
    white-space:nowrap;
}
.status-pill span,.small-dot {
    display:inline-block;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#837f97;
}
.status-pill span {
    background:#9e88d3;
}
.main-content {
    padding:37px 40px;
    max-width:1600px;
    width:100%;
    margin:auto;
    flex:1;
}
.page-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:26px;
    gap:16px;
}
.page-heading .eyebrow {
    font-size:9px;
    margin-bottom:10px;
}
.page-heading p {
    margin-bottom:0;
    font-size:12px;
}
.accent-dot {
    color:#b094f3;
}
.date-chip {
    font-size:10px;
    color:#aca7b9;
    background:#1b1b24;
    border:1px solid #302c3d;
    border-radius:7px;
    padding:8px 13px;
    white-space:nowrap;
}
.welcome-banner {
    position:relative;
    overflow:hidden;
    background:linear-gradient(105deg,#302442,#372746 55%,#433049);
    border:1px solid #584060;
    border-radius:13px;
    padding:29px 32px;
    min-height:240px;
    display:flex;
    align-items:center;
}
.welcome-banner>div:first-child {
    position:relative;
    z-index:2;
}
.welcome-banner .tag {
    font-size:8px;
    letter-spacing:1.7px;
    color:#d2badb;
    display:block;
    margin-bottom:12px;
}
.welcome-banner h2 {
    font-size:27px;
    line-height:1.25;
    letter-spacing:-.6px;
    margin-bottom:12px;
}
.welcome-banner p {
    max-width:395px;
    font-size:11px;
    color:#baaacb;
    margin-bottom:22px;
}
.sunset-art {
    position:absolute;
    right:0;
    top:0;
    width:40%;
    height:100%;
    overflow:hidden;
}
.orb {
    position:absolute;
    width:183px;
    height:183px;
    top:53px;
    right:62px;
    border-radius:50%;
    background:linear-gradient(180deg,#e6b6c6 0,#b075a7 42%,#79558b 73%,#443249);
    box-shadow:0 0 80px #bc7cae20;
}
.horizon {
    position:absolute;
    height:44%;
    bottom:0;
    width:100%;
    background:repeating-linear-gradient(0deg,#37263f80 0 2px,transparent 3px 11px);
}
.orbit {
    width:310px;
    height:150px;
    border:1px solid #ca9ac745;
    border-radius:50%;
    position:absolute;
    right:-1px;
    top:84px;
    transform:rotate(-30deg);
}
.orbit-two {
    transform:rotate(32deg);
    width:350px;
    height:130px;
    right:-30px;
    top:91px;
}
.sunset-art>span {
    position:absolute;
    right:111px;
    top:100px;
    line-height:1.1;
    font-size:24px;
    letter-spacing:6px;
    color:#fff9;
    font-weight:300;
}
.sunset-art b {
    font-weight:650;
}
.section-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin:31px 0 15px;
}
.section-heading h2 {
    font-size:14px;
    margin:0;
}
.section-heading>span {
    font-size:10px;
}
.stat-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:15px;
}
.stat-card {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:10px;
    padding:19px 20px;
}
.stat-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    font-size:10px;
    color:#b8b3c4;
}
.stat-symbol {
    display:flex;
    align-items:center;
    justify-content:center;
    width:29px;
    height:29px;
    border-radius:8px;
    background:#362b48;
    color:#bc9ff2;
    font-size:17px;
    flex-shrink:0;
}
.symbol-1 {
    background:#253344;
    color:#92b8e8;
}
.symbol-2 {
    background:#3c2c3d;
    color:#d3a0bf;
}
.symbol-3 {
    background:#263a35;
    color:#94c8b4;
}
.stat-card>strong {
    font-size:30px;
    display:block;
    margin:9px 0;
    color:#cfc8dc;
    font-weight:400;
}
.stat-card>small {
    font-size:9px;
    color:#9490a3;
    display:flex;
    gap:6px;
    align-items:center;
}
.dashboard-grid {
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:20px;
    margin-top:25px;
}
.panel {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:11px;
    overflow:hidden;
}
.panel-heading {
    padding:20px 23px;
    border-bottom:1px solid #2b2b37;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}
.panel-heading h2 {
    font-size:13px;
    margin:0;
}
.pill {
    display:inline-block;
    border:1px solid #3e384b;
    padding:3px 8px;
    border-radius:5px;
    color:#b7a9ca;
    font-size:9px;
    letter-spacing:.6px;
}
.empty-state {
    text-align:center;
    padding:32px 15px;
}
.empty-icon {
    display:inline-flex;
    width:49px;
    height:49px;
    align-items:center;
    justify-content:center;
    background:#252330;
    border:1px solid #373041;
    border-radius:13px;
    color:#a88bc6;
    font-size:22px;
    margin-bottom:16px;
}
.empty-state h3 {
    font-size:12px;
    font-weight:500;
    margin-bottom:8px;
}
.empty-state p {
    font-size:11px;
    color:#9790a8;
    line-height:1.8;
    margin:0;
}
.ready-list {
    list-style:none;
    margin:0;
    padding:20px 24px;
    display:flex;
    flex-direction:column;
    gap:15px;
}
.ready-list li {
    display:flex;
    gap:13px;
    align-items:center;
}
.ready-list li>span {
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#29342f;
    border-radius:50%;
    color:#9bd2b8;
    font-size:11px;
}
.ready-list strong {
    display:block;
    font-size:11px;
    font-weight:500;
}
.ready-list small {
    display:block;
    font-size:10px;
    color:#9b94aa;
}
.green {
    background:var(--green);
}
.next-step {
    padding:15px 23px;
    background:#211e2b;
    border-top:1px solid #302a3d;
}
.next-step>span {
    font-size:8px;
    letter-spacing:1px;
    color:#a694b9;
}
.next-step>strong {
    display:flex;
    justify-content:space-between;
    margin-top:5px;
    font-size:11px;
    font-weight:500;
    color:#c8b5e6;
}
.app-footer {
    display:flex;
    justify-content:space-between;
    padding:0 40px 20px;
    color:#767184;
    font-size:9px;
}
.menu-toggle {
    display:none;
    border:0;
    background:none;
    color:#fff;
    font-size:20px;
}
.account-grid {
    display:grid;
    grid-template-columns:1fr 1.6fr;
    gap:22px;
}
.profile-panel {
    padding:40px;
    text-align:center;
    align-self:start;
}
.avatar.large {
    width:70px;
    height:70px;
    font-size:28px;
    margin:0 auto 20px;
}
.profile-panel h2 {
    margin-bottom:6px;
}
.password-panel {
    padding:28px;
    max-width:650px;
}
.password-panel>.muted {
    font-size:12px;
}
.table-scroll {
    overflow:auto;
}
table {
    width:100%;
    border-collapse:collapse;
    text-align:left;
    font-size:11px;
}
th {
    padding:15px 20px;
    color:#aaa0ba;
    font-weight:500;
    font-size:10px;
    background:#1e1d29;
}
td {
    padding:16px 20px;
    border-top:1px solid var(--border);
    white-space:nowrap;
}
td strong {
    font-weight:500;
}
.request-id {
    display:block;
    color:#777185;
    font-size:9px;
}
.result {
    padding:4px 8px;
    border-radius:5px;
    font-size:10px;
}
.result.ok {
    color:#9ed5ba;
    background:#22352e;
}
.result.warning {
    color:#e6b5bd;
    background:#3a2832;
}
.pagination {
    display:flex;
    justify-content:flex-end;
    gap:20px;
    align-items:center;
    padding:18px;
    font-size:12px;
}
@media(min-width:1500px) {
    .main-content {
        padding:45px 55px;
    }
    .welcome-banner {
        min-height:270px;
    }
    .welcome-banner h2 {
        font-size:32px;
    }
    .sunset-art {
        right:30px;
    }
    .stat-card {
        padding:22px;
    }
    .dashboard-grid {
        margin-top:30px;
    }
    .empty-state {
        padding:43px 20px;
    }
}
@media(max-width:1100px) {
    .sidebar {
        width:215px;
        padding:25px 14px 18px;
    }
    .main-shell {
        margin-left:215px;
    }
    .topbar {
        padding:0 25px;
    }
    .main-content {
        padding:28px 25px;
    }
    .brand {
        font-size:19px;
    }
    .stat-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .welcome-banner {
        padding:26px;
    }
    .welcome-banner p {
        max-width:300px;
    }
    .sunset-art {
        opacity:.65;
        right:-55px;
        width:45%;
    }
    .dashboard-grid {
        grid-template-columns:1fr 1fr;
    }
    .section-heading>span {
        max-width:180px;
        text-align:right;
    }
    .auth-story {
        padding:35px;
    }
    .story-copy h1 {
        font-size:44px;
    }
    .account-grid {
        grid-template-columns:1fr;
    }
    .profile-panel {
        padding:25px;
    }
    .app-footer {
        padding:0 25px 20px;
    }
}
@media(max-width:760px) {
    .sidebar {
        transform:translateX(-100%);
        width:245px;
        transition:transform .2s;
    }
    .nav-open .sidebar {
        transform:translateX(0);
        box-shadow:20px 0 80px #0009;
    }
    .nav-open .topbar {
        position:relative;
        z-index:25;
    }
    .nav-open .menu-toggle {
        margin-left:auto;
    }
    .nav-open .topbar>div,.nav-open .status-pill {
        display:none;
    }
    .main-shell {
        margin-left:0;
    }
    .menu-toggle {
        display:block;
    }
    .topbar {
        height:64px;
        padding:0 20px;
        justify-content:flex-start;
    }
    .status-pill {
        margin-left:auto;
    }
    .breadcrumb,.breadcrumb-separator {
        display:none;
    }
    .main-content {
        padding:25px 20px;
    }
    .page-heading {
        align-items:flex-start;
    }
    .page-heading h1 {
        font-size:29px;
    }
    .page-heading .eyebrow {
        font-size:8px;
    }
    .date-chip {
        display:none;
    }
    .welcome-banner {
        min-height:255px;
        padding:25px;
    }
    .welcome-banner h2 {
        font-size:25px;
    }
    .welcome-banner p {
        max-width:250px;
    }
    .sunset-art {
        right:-80px;
        opacity:.3;
        width:70%;
    }
    .welcome-banner>div:first-child {
        width:100%;
    }
    .stat-grid {
        gap:12px;
    }
    .stat-card {
        padding:15px;
    }
    .stat-top {
        font-size:10px;
    }
    .stat-symbol {
        width:25px;
        height:25px;
    }
    .section-heading>span {
        display:none;
    }
    .dashboard-grid {
        grid-template-columns:1fr;
    }
    .app-footer {
        padding:0 20px 20px;
    }
    .app-footer>span:last-child {
        display:none;
    }
    .auth-shell {
        grid-template-columns:1fr;
    }
    .auth-story {
        padding:25px 25px 18px;
        min-height:150px;
    }
    .story-copy {
        padding:26px 0 0;
        margin:0;
    }
    .story-copy h1 {
        font-size:30px;
        letter-spacing:-1px;
    }
    .story-copy h1 br {
        display:none;
    }
    .story-copy .eyebrow,.story-copy p,.film-line,.story-footer {
        display:none;
    }
    .auth-form-panel {
        padding:32px 25px 45px;
        align-items:flex-start;
    }
    .auth-card h2 {
        font-size:25px;
    }
    .auth-card .eyebrow {
        font-size:9px;
    }
    .form-columns {
        grid-template-columns:1fr;
    }
    .auth-story:after {
        width:200px;
        height:200px;
        right:-30px;
        top:0;
    }
    .account-grid {
        gap:18px;
    }
    .password-panel {
        padding:22px;
    }
}
@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior:auto!important;
        transition:none!important;
    }
}

.email-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.email-copy,.email-footer-preview{white-space:pre-wrap;overflow-wrap:anywhere}.email-copy{line-height:1.8;padding:20px 0}.email-footer-preview{border-top:1px solid var(--border);padding-top:20px;color:var(--muted)}@media(max-width:850px){.email-steps{grid-template-columns:1fr}}
.email-separator{border:0;border-top:1px solid var(--border);width:100%;margin:18px 0}

.growth-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.growth-member{padding:18px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.growth-member summary{cursor:pointer;font-weight:600;padding:10px 0}.growth-bar{display:grid;gap:10px;margin:22px 0}.growth-bar progress{width:100%;height:12px;accent-color:#a879ee}.growth-bar span{color:var(--muted);font-size:13px}@media(max-width:850px){.growth-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.growth-metrics{grid-template-columns:1fr}}
.work-permissions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.work-permissions label,.work-check{display:flex;align-items:flex-start;gap:10px}.work-permissions input[type=checkbox],.work-check input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:3px 0;accent-color:#a172e8}.work-permissions small{display:block;font-size:11px;margin-top:4px}.work-url{overflow-wrap:anywhere}.form-panel fieldset{min-width:0;border:1px solid #343440;border-radius:12px;padding:16px}.form-panel ol li{margin:12px 0;line-height:1.7}@media(max-width:700px){.work-permissions{grid-template-columns:1fr}}
