:root{--bg:#080b0d;--bg2:#0d1218;--panel:#111820;--panel2:#151d27;--text:#f4f0e8;--muted:#8f98a8;--line:#242c38;--gold:#c7a04a;--gold2:#efcf75;--danger:#e53935;--good:#68d391;--shadow:0 24px 80px rgba(0,0,0,.32)}
html[data-theme="light"]{--bg:#f4f1ea;--bg2:#fffaf0;--panel:#ffffff;--panel2:#fbf7ee;--text:#111827;--muted:#647084;--line:#e5dccb;--gold:#a87f22;--gold2:#c79c40;--shadow:0 24px 80px rgba(40,31,12,.12)}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,var(--bg),var(--bg2));color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;font-size:15px;min-height:100vh}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:rgba(6,10,15,.72);border-right:1px solid var(--line);padding:28px 22px;display:flex;flex-direction:column;gap:28px;backdrop-filter:blur(18px)}html[data-theme="light"] .sidebar{background:#111820;color:#fff}.brand,.login-brand{display:flex;align-items:center;gap:14px;text-transform:uppercase;letter-spacing:.08em}.brand strong,.login-brand strong{display:block;font-size:22px}.brand span,.login-brand span{display:block;color:var(--gold2);font-size:12px;font-weight:800;letter-spacing:.22em}.brand-mark{width:38px;height:38px;display:grid;place-items:center;color:var(--gold2);font-size:32px;font-weight:900;transform:skew(-12deg)}.brand-mark.big{width:64px;height:64px;font-size:54px}.nav{display:flex;flex-direction:column;gap:8px}.nav a{padding:13px 14px;border-radius:12px;color:#dce4ef}.nav a:hover{background:rgba(199,160,74,.14);color:#fff}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}.main{padding:34px 42px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:28px}.eyebrow{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em}h1,h2,h3,p{margin-top:0}h1{font-size:34px;margin-bottom:4px}h2{font-size:20px;margin-bottom:8px}.top-actions{display:flex;gap:12px;align-items:center}.user-pill{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:10px 14px;font-weight:800}.user-pill span{display:block;color:var(--muted);font-size:12px;font-weight:500}.btn{border:1px solid var(--line);border-radius:12px;padding:11px 16px;background:var(--panel2);color:var(--text);font-weight:800;cursor:pointer;display:inline-flex;justify-content:center;align-items:center}.btn.primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111;border:0}.btn.outline{background:transparent;border-color:rgba(199,160,74,.45);color:var(--gold2)}.btn.ghost{background:transparent}.btn.small{font-size:13px;padding:8px 12px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.kpi,.panel,.project-card{background:linear-gradient(180deg,var(--panel),var(--panel2));border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.kpi{padding:22px}.kpi span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.kpi strong{display:block;font-size:34px;margin:10px 0;color:var(--text)}.kpi em{font-style:normal;color:var(--good);font-size:13px}.panel{padding:24px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.panel-head p,.panel p{color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.project-card{padding:18px}.project-card p{color:var(--muted);font-size:13px}.sparkline{height:38px;margin:16px 0;border-bottom:2px solid var(--gold);background:linear-gradient(160deg,transparent 55%,rgba(199,160,74,.18));clip-path:polygon(0 90%,12% 65%,25% 78%,37% 50%,52% 62%,68% 30%,84% 42%,100% 10%,100% 100%,0 100%)}.project-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.project-metrics span{font-weight:900}.project-metrics small{display:block;color:var(--muted);font-size:11px;font-weight:500}.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.project-title p{color:var(--muted)}.bar-chart{height:230px;display:flex;align-items:end;gap:5px;border-bottom:1px solid var(--line);padding-top:20px}.bar-chart div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.bar-chart span{display:block;width:100%;max-width:18px;background:linear-gradient(180deg,var(--gold2),var(--gold));border-radius:6px 6px 0 0}.bar-chart small{color:var(--muted);font-size:10px}.list-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);padding:13px 10px}.table th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.badge{padding:5px 9px;border-radius:999px;font-size:12px}.badge.good{background:rgba(104,211,145,.12);color:var(--good)}code,.code-box{font-family:Consolas,Menlo,monospace}.code-box{background:rgba(0,0,0,.22);border:1px solid var(--line);padding:18px;border-radius:14px;white-space:pre-wrap;overflow:auto;margin:16px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:14px;align-items:end}.form-grid label,.login-card label{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-weight:700}input{background:var(--panel2);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:12px}.report-list{display:grid;gap:12px}.report-list div,.info-grid div{border:1px solid var(--line);border-radius:14px;padding:16px;background:rgba(255,255,255,.02);display:flex;justify-content:space-between;gap:12px}.report-list span,.info-grid span{color:var(--muted)}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.kpi-grid,.project-grid,.grid-2,.grid-3,.info-grid{grid-template-columns:1fr}.login-body{grid-template-columns:1fr}.login-card{margin:20px}.form-grid{grid-template-columns:1fr}}


/* Premium Login v0.3.4 */
.login-body.premium-login{
    min-height:100vh;
    overflow:hidden;
    background:
        radial-gradient(circle at 16% 72%, rgba(199,160,74,.26), transparent 24%),
        radial-gradient(circle at 78% 22%, rgba(199,160,74,.15), transparent 28%),
        linear-gradient(135deg,#05070b 0%,#0b1017 45%,#090c11 100%);
    color:#f4f0e8;
    position:relative;
}

.login-body.premium-login:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg, rgba(199,160,74,.07) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(199,160,74,.055) 0 1px, transparent 1px 100%);
    background-size:74px 74px;
    mask-image:radial-gradient(circle at 42% 42%, black, transparent 62%);
    opacity:.18;
    pointer-events:none;
}

.login-orb{
    position:absolute;
    border-radius:999px;
    filter:blur(8px);
    pointer-events:none;
}

.orb-one{
    width:520px;
    height:520px;
    left:-160px;
    bottom:-220px;
    background:radial-gradient(circle, rgba(199,160,74,.18), transparent 68%);
}

.orb-two{
    width:460px;
    height:460px;
    right:18%;
    top:-220px;
    background:radial-gradient(circle, rgba(239,207,117,.12), transparent 66%);
}

.login-stage{
    position:relative;
    z-index:2;
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(0,1fr) 540px;
    align-items:center;
    gap:70px;
    padding:70px clamp(40px,6vw,110px);
}

.premium-hero{
    min-height:650px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:0;
}

.premium-brand{
    margin-bottom:74px;
}

.premium-brand .brand-mark.big{
    width:78px;
    height:78px;
    font-size:68px;
    color:#d8b24c;
    text-shadow:0 0 34px rgba(199,160,74,.24);
}

.premium-brand strong{
    font-size:23px;
    letter-spacing:.16em;
}

.premium-brand span{
    color:#efcf75;
    letter-spacing:.34em;
}

.login-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#efcf75;
    text-transform:uppercase;
    letter-spacing:.22em;
    font-weight:900;
    font-size:12px;
    margin-bottom:18px;
}

.login-kicker:before{
    content:"";
    width:34px;
    height:1px;
    background:linear-gradient(90deg,#efcf75,transparent);
}

.login-copy h1{
    font-size:clamp(56px,6vw,98px);
    line-height:.92;
    letter-spacing:-.075em;
    margin:0 0 24px;
    color:#fff8e8;
    text-shadow:0 30px 80px rgba(0,0,0,.55);
}

.login-copy p{
    max-width:620px;
    color:#c7ced9;
    font-size:18px;
    line-height:1.75;
    margin:0;
}

.login-benefits{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,150px));
    gap:14px;
    margin-top:46px;
}

.login-benefits div{
    border:1px solid rgba(239,207,117,.14);
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
    border-radius:20px;
    padding:18px;
    box-shadow:0 18px 60px rgba(0,0,0,.18);
}

.login-benefits b{
    display:block;
    font-size:28px;
    color:#efcf75;
    line-height:1;
    margin-bottom:8px;
}

.login-benefits span{
    color:#9ca8b8;
    font-size:13px;
    line-height:1.35;
}

.login-panel-wrap{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
}

.login-card.premium-card{
    position:relative;
    margin:0;
    padding:34px;
    border-radius:32px;
    border:1px solid rgba(239,207,117,.16);
    background:
        linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028)),
        rgba(12,17,24,.82);
    box-shadow:
        0 34px 120px rgba(0,0,0,.54),
        inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter:blur(22px);
    overflow:hidden;
}

.login-card.premium-card:before{
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(239,207,117,.55),transparent);
}

.login-card.premium-card:after{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    border-radius:999px;
    right:-120px;
    top:-120px;
    background:radial-gradient(circle,rgba(239,207,117,.13),transparent 65%);
    pointer-events:none;
}

.login-card-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    margin-bottom:28px;
    position:relative;
    z-index:1;
}

.login-mini{
    display:inline-flex;
    color:#efcf75;
    font-size:12px;
    font-weight:900;
    letter-spacing:.18em;
    text-transform:uppercase;
    margin-bottom:10px;
}

.login-card.premium-card h2{
    font-size:30px;
    margin:0 0 8px;
    letter-spacing:-.04em;
    color:#fff8e8;
}

.login-card.premium-card p{
    color:#aeb8c6;
    margin:0;
}

.login-lock{
    width:46px;
    height:46px;
    border-radius:16px;
    display:grid;
    place-items:center;
    border:1px solid rgba(239,207,117,.22);
    background:rgba(239,207,117,.08);
    color:#efcf75;
    font-size:26px;
    transform:rotate(-12deg);
}

.login-card.premium-card form{
    display:grid;
    gap:16px;
    margin-top:24px;
    position:relative;
    z-index:1;
}

.login-card.premium-card label{
    display:grid;
    gap:8px;
    color:#8793a5;
    font-weight:800;
}

.login-card.premium-card label span{
    font-size:13px;
}

.login-card.premium-card input{
    height:52px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(6,10,15,.72);
    color:#fff8e8;
    padding:0 16px;
    outline:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.login-card.premium-card input:focus{
    border-color:rgba(239,207,117,.52);
    box-shadow:0 0 0 4px rgba(239,207,117,.08);
}

.login-submit{
    height:54px;
    border-radius:16px;
    margin-top:6px;
    background:linear-gradient(135deg,#efcf75,#c7a04a 55%,#aa8229);
    color:#10141a;
    box-shadow:0 18px 46px rgba(199,160,74,.22);
}

.login-demo-box{
    margin-top:18px;
    padding:15px 16px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.035);
    display:flex;
    justify-content:space-between;
    gap:12px;
    color:#9ca8b8;
    font-size:13px;
    position:relative;
    z-index:1;
}

.login-demo-box strong{
    color:#efcf75;
    font-weight:900;
}

.login-footer-note{
    text-align:center;
    color:#6f7b8b;
    font-size:12px;
}

@media(max-width:1100px){
    .login-stage{
        grid-template-columns:1fr;
        padding:38px 22px;
        gap:34px;
    }

    .premium-hero{
        min-height:auto;
    }

    .premium-brand{
        margin-bottom:34px;
    }

    .login-copy h1{
        font-size:52px;
    }

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



/* Logo integration v0.3.5 */
.velion-logo{
    display:block;
    object-fit:contain;
    user-select:none;
    -webkit-user-drag:none;
}

.logo-brand,
.sidebar-logo-brand{
    display:flex;
    align-items:center;
    text-transform:none;
    letter-spacing:0;
}

.login-logo{
    width:min(360px,80vw);
    height:auto;
    filter:
        drop-shadow(0 22px 44px rgba(0,0,0,.42))
        drop-shadow(0 0 28px rgba(199,160,74,.12));
}

.sidebar-logo{
    width:178px;
    max-width:100%;
    height:auto;
    margin:0 auto 2px;
    filter:drop-shadow(0 12px 30px rgba(0,0,0,.34));
}

.premium-brand.logo-brand{
    margin-bottom:70px;
}

.sidebar .brand.sidebar-logo-brand{
    justify-content:flex-start;
    padding:0 2px 8px;
}

@media(max-width:1100px){
    .login-logo{
        width:min(280px,76vw);
    }

    .premium-brand.logo-brand{
        margin-bottom:34px;
    }
}


/* v0.4 Campaigns */
select{
    background:var(--panel2);
    border:1px solid var(--line);
    border-radius:10px;
    color:var(--text);
    padding:12px;
}

.alert.success{
    background:rgba(104,211,145,.12);
    color:#9ef0bd;
    border:1px solid rgba(104,211,145,.25);
    border-radius:14px;
    padding:14px 16px;
    margin-bottom:18px;
}

.copy-input{
    width:min(420px,100%);
    font-size:12px;
    padding:10px;
}

.btn.tiny{
    padding:8px 10px;
    border-radius:10px;
    font-size:12px;
}

.table-sub{
    color:var(--muted);
    font-size:12px;
}

.info-grid.one{
    grid-template-columns:1fr;
}

.muted-block{
    color:var(--muted);
    line-height:1.6;
    margin-top:16px;
}


/* v0.5 Premium responsive refinements */
:root{
    --radius-lg:22px;
    --radius-md:16px;
}

body{
    background:
      radial-gradient(circle at 18% 10%, rgba(199,160,74,.10), transparent 28%),
      radial-gradient(circle at 85% 4%, rgba(122,74,210,.06), transparent 26%),
      linear-gradient(135deg,var(--bg),var(--bg2)) !important;
}

.main{
    max-width: 1660px;
    width: 100%;
}

.sidebar{
    position:sticky;
    top:0;
    height:100vh;
}

.sidebar-logo{
    width:176px !important;
    max-height:92px;
    object-fit:contain;
    margin:0 0 12px !important;
}

.sidebar .nav a{
    position:relative;
    font-weight:750;
    font-size:14px;
}

.sidebar .nav a:hover{
    transform:translateX(2px);
}

.panel,.kpi,.project-card,.login-card{
    border-radius:var(--radius-lg) !important;
    box-shadow:0 22px 70px rgba(0,0,0,.10);
}

html[data-theme="dark"] .panel,
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .project-card{
    background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
    border-color:rgba(255,255,255,.09);
    box-shadow:0 22px 80px rgba(0,0,0,.32);
}

html[data-theme="light"] .panel,
html[data-theme="light"] .kpi,
html[data-theme="light"] .project-card{
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(14px);
}

.kpi-grid{
    gap:18px;
}

.kpi{
    min-height:126px;
    padding:24px !important;
}

.kpi span{
    color:var(--muted);
    letter-spacing:.13em;
    text-transform:uppercase;
    font-size:12px;
    font-weight:900;
}

.kpi strong{
    font-size:34px;
    letter-spacing:-.04em;
}

.kpi em{
    color:var(--good);
    font-style:normal;
}

.project-title{
    align-items:flex-end;
    margin-bottom:22px;
}

.project-title h2{
    font-size:22px;
}

.table{
    width:100%;
}

.table th{
    color:var(--muted);
    font-size:12px;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.table td{
    vertical-align:middle;
}

.btn{
    white-space:nowrap;
}

.mobile-menu-toggle,
.mobile-backdrop{
    display:none;
}

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

.form-grid label{
    display:grid;
    gap:8px;
    color:var(--muted);
    font-weight:800;
}

.form-grid .btn{
    align-self:end;
}

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

    .main{
        padding:28px 26px;
    }

    .kpi-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .grid-2,.grid-3{
        grid-template-columns:1fr;
    }
}

@media(max-width:860px){
    body{
        overflow-x:hidden;
    }

    .mobile-menu-toggle{
        display:grid;
        position:fixed;
        top:16px;
        left:16px;
        z-index:1100;
        width:46px;
        height:46px;
        border:1px solid rgba(199,160,74,.32);
        border-radius:14px;
        place-items:center;
        background:rgba(10,14,20,.92);
        color:#efcf75;
        font-size:22px;
        box-shadow:0 18px 50px rgba(0,0,0,.25);
    }

    .mobile-backdrop{
        display:block;
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.45);
        z-index:998;
        opacity:0;
        pointer-events:none;
        transition:.2s ease;
    }

    body.sidebar-open .mobile-backdrop{
        opacity:1;
        pointer-events:auto;
    }

    .app-shell{
        display:block;
    }

    .sidebar{
        position:fixed;
        z-index:999;
        left:0;
        top:0;
        width:min(310px,86vw);
        height:100vh;
        transform:translateX(-105%);
        transition:.25s ease;
        overflow-y:auto;
    }

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

    .main{
        padding:78px 16px 28px;
    }

    .topbar{
        flex-direction:column;
        gap:14px;
        margin-bottom:20px;
    }

    .top-actions{
        width:100%;
        justify-content:space-between;
        flex-wrap:wrap;
    }

    .top-actions form,
    .top-actions .btn{
        width:100%;
    }

    .user-pill{
        width:100%;
        justify-content:space-between;
    }

    h1{
        font-size:30px;
        line-height:1.1;
    }

    .project-title{
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
    }

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

    .kpi{
        min-height:112px;
    }

    .bar-chart{
        min-height:180px;
        overflow-x:auto;
    }

    .responsive-table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr{
        display:block;
    }

    .responsive-table thead{
        display:none;
    }

    .responsive-table tr{
        border:1px solid var(--line);
        border-radius:16px;
        padding:12px;
        margin-bottom:12px;
        background:rgba(255,255,255,.03);
    }

    .responsive-table td{
        border:0 !important;
        display:flex;
        justify-content:space-between;
        gap:16px;
        padding:9px 0 !important;
    }

    .responsive-table td:before{
        content:attr(data-label);
        color:var(--muted);
        font-weight:900;
        font-size:12px;
        text-transform:uppercase;
        letter-spacing:.08em;
    }

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

    .copy-input{
        width:100%;
        max-width:100%;
    }
}

@media(max-width:560px){
    .main{
        padding-left:12px;
        padding-right:12px;
    }

    .panel{
        padding:18px !important;
    }

    .kpi{
        padding:20px !important;
    }

    .kpi strong{
        font-size:30px;
    }

    .sidebar-logo{
        width:154px !important;
    }
}

.panel{overflow-x:auto;}


/* v0.5.1 Premium dashboard/mobile refinement */
:root{
  --va-sidebar-w: 250px;
  --va-content-max: 1540px;
}

body{
  background:
    radial-gradient(circle at 18% 4%, rgba(199,160,74,.08), transparent 28%),
    radial-gradient(circle at 90% 6%, rgba(128,72,204,.055), transparent 24%),
    linear-gradient(135deg,var(--bg),var(--bg2)) !important;
}

.app-shell{
  grid-template-columns: var(--va-sidebar-w) minmax(0,1fr) !important;
}

.sidebar{
  width:var(--va-sidebar-w);
  padding:24px 20px !important;
  overflow:hidden;
}

.sidebar .brand.sidebar-logo-brand{
  height:auto;
  min-height:88px;
  padding:0 0 22px !important;
  margin:0 0 8px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.sidebar-logo{
  width:168px !important;
  max-width:168px !important;
  max-height:82px !important;
  object-fit:contain !important;
  margin:0 !important;
}

.nav{
  gap:6px !important;
}

.nav a{
  border-radius:14px !important;
  padding:12px 12px !important;
  font-size:14px;
  transition:.18s ease;
}

.nav a:hover{
  background:linear-gradient(90deg,rgba(199,160,74,.16),rgba(199,160,74,.045)) !important;
  color:#fff !important;
}

.sidebar-footer{
  margin-top:auto;
}

.main{
  padding:34px 36px !important;
  max-width:var(--va-content-max);
  margin:0 auto;
}

.topbar{
  align-items:center !important;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.06);
  margin-bottom:28px !important;
}

.eyebrow{
  color:var(--gold2) !important;
  opacity:.72;
  letter-spacing:.18em !important;
}

h1{
  font-size:38px !important;
  line-height:1.05;
  letter-spacing:-.04em;
}

h2{
  letter-spacing:-.025em;
}

.panel,
.kpi,
.project-card{
  border-radius:24px !important;
  border:1px solid rgba(255,255,255,.09) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.028)) !important;
  box-shadow:
    0 28px 90px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}

html[data-theme="light"] .panel,
html[data-theme="light"] .kpi,
html[data-theme="light"] .project-card{
  border:1px solid rgba(168,127,34,.18) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.72)) !important;
  box-shadow:0 28px 90px rgba(40,31,12,.10) !important;
}

.grid-2{
  gap:22px !important;
}

.kpi-grid{
  gap:18px !important;
}

.form-grid{
  align-items:end;
}

.form-grid input,
.form-grid select,
input,
select{
  min-height:46px;
  border-radius:14px !important;
}

.btn{
  border-radius:14px !important;
  font-weight:900;
}

.btn.primary{
  background:linear-gradient(135deg,#efcf75,#c7a04a 58%,#aa8229) !important;
  color:#10141a !important;
  box-shadow:0 14px 36px rgba(199,160,74,.18);
}

.btn.ghost,
.btn.outline{
  border-color:rgba(199,160,74,.30) !important;
}

.user-pill{
  border-radius:16px !important;
}

.table th{
  padding-top:16px !important;
  padding-bottom:16px !important;
}

.table td{
  padding-top:16px !important;
  padding-bottom:16px !important;
}

.mobile-menu-toggle,
.mobile-backdrop{
  display:none;
}

@media(max-width:1180px){
  .app-shell{
    grid-template-columns: 232px minmax(0,1fr) !important;
  }

  .sidebar{
    width:232px;
  }

  .sidebar-logo{
    width:150px !important;
    max-width:150px !important;
    max-height:74px !important;
  }

  .main{
    padding:30px 24px !important;
  }
}

@media(max-width:900px){
  .mobile-menu-toggle{
    display:grid !important;
    position:fixed;
    top:14px;
    left:14px;
    z-index:1200;
    width:46px;
    height:46px;
    border:1px solid rgba(239,207,117,.32);
    border-radius:15px;
    place-items:center;
    background:rgba(10,14,20,.94);
    color:#efcf75;
    font-size:24px;
    box-shadow:0 18px 50px rgba(0,0,0,.32);
  }

  .mobile-backdrop{
    display:block !important;
    position:fixed;
    inset:0;
    z-index:998;
    background:rgba(0,0,0,.55);
    opacity:0;
    pointer-events:none;
    transition:.2s ease;
  }

  body.sidebar-open .mobile-backdrop{
    opacity:1;
    pointer-events:auto;
  }

  .app-shell{
    display:block !important;
  }

  .sidebar{
    position:fixed !important;
    z-index:999;
    top:0;
    left:0;
    width:min(300px,86vw) !important;
    height:100vh;
    transform:translateX(-105%);
    transition:.25s ease;
    overflow-y:auto;
    padding:78px 20px 24px !important;
    box-shadow:40px 0 90px rgba(0,0,0,.42);
  }

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

  .sidebar .brand.sidebar-logo-brand{
    min-height:auto;
    padding-bottom:18px !important;
  }

  .sidebar-logo{
    width:150px !important;
    max-width:150px !important;
    max-height:74px !important;
  }

  .main{
    padding:76px 16px 30px !important;
    max-width:100%;
  }

  .topbar{
    flex-direction:column;
    align-items:flex-start !important;
    gap:16px;
  }

  .top-actions{
    width:100%;
    display:grid !important;
    grid-template-columns:1fr;
    gap:10px;
  }

  .top-actions form,
  .top-actions .btn,
  .user-pill{
    width:100%;
  }

  .user-pill{
    justify-content:space-between;
  }

  h1{
    font-size:32px !important;
  }

  .project-title{
    flex-direction:column;
    align-items:flex-start !important;
    gap:14px;
  }

  .kpi-grid,
  .grid-2,
  .grid-3,
  .project-grid{
    grid-template-columns:1fr !important;
  }

  .panel,
  .kpi{
    padding:20px !important;
  }

  .form-grid{
    grid-template-columns:1fr !important;
  }

  .responsive-table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table th,
  .responsive-table td,
  .responsive-table tr{
    display:block !important;
  }

  .responsive-table thead{
    display:none !important;
  }

  .responsive-table tr{
    border:1px solid var(--line);
    border-radius:18px;
    padding:12px 14px;
    margin-bottom:12px;
    background:rgba(255,255,255,.035);
  }

  .responsive-table td{
    border:0 !important;
    display:flex !important;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    padding:10px 0 !important;
  }

  .responsive-table td:before{
    content:attr(data-label);
    color:var(--muted);
    font-weight:900;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.1em;
    min-width:112px;
  }

  .copy-input{
    width:100% !important;
  }

  .bar-chart{
    overflow-x:auto;
    min-width:620px;
  }
}

@media(max-width:560px){
  .main{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .panel,
  .kpi{
    border-radius:20px !important;
  }

  .kpi strong{
    font-size:30px !important;
  }

  .table td{
    font-size:13px;
  }
}


/* v0.6 Project/Campaign logic */
.button-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}

.mt{
    margin-top:16px;
}

.copy-input.wide{
    width:100%;
    max-width:100%;
    font-size:13px;
    min-height:48px;
}

.bar-chart.compact{
    min-height:220px;
}

.table .btn + .btn{
    margin-left:6px;
}

@media(max-width:900px){
    .button-row{
        display:grid;
        grid-template-columns:1fr;
    }

    .table .btn + .btn{
        margin-left:0;
        margin-top:6px;
    }
}


/* v0.7 reports */
.report-list a.btn{
    align-self:center;
}

@media(max-width:900px){
    .report-list div{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:8px !important;
    }
}


/* v0.7.1 compact premium login */
.login-body.compact-login{
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(199,160,74,.16), transparent 29%),
    radial-gradient(circle at 86% 8%, rgba(109,63,206,.13), transparent 28%),
    linear-gradient(135deg,#05070a 0%,#0a1017 52%,#090d13 100%) !important;
}

.login-body.compact-login:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(circle at center, black, transparent 72%);
}

.login-aura{
  position:fixed;
  width:420px;
  height:420px;
  border-radius:50%;
  filter:blur(76px);
  opacity:.34;
  pointer-events:none;
}

.gold-aura{
  left:-110px;
  bottom:-130px;
  background:rgba(199,160,74,.36);
}

.violet-aura{
  right:-130px;
  top:-140px;
  background:rgba(116,66,210,.32);
}

.compact-login-shell{
  min-height:100vh;
  width:min(1180px,calc(100% - 44px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) 430px;
  align-items:center;
  gap:54px;
  position:relative;
  z-index:1;
}

.compact-login-card{
  max-width:650px;
}

.compact-brand{
  margin-bottom:54px;
}

.compact-brand img{
  width:232px;
  height:auto;
  display:block;
  filter:drop-shadow(0 22px 50px rgba(0,0,0,.45));
}

.compact-copy span{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#efcf75;
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:12px;
  font-weight:950;
  margin-bottom:20px;
}

.compact-copy span:before{
  content:"";
  width:46px;
  height:1px;
  background:linear-gradient(90deg,transparent,#efcf75);
}

.compact-copy h1{
  color:#fff7e8;
  font-size:clamp(46px,5vw,76px) !important;
  line-height:.94;
  letter-spacing:-.075em;
  max-width:760px;
  margin:0 0 22px;
  text-wrap:balance;
}

.compact-copy p{
  color:#c2ccda;
  font-size:18px;
  line-height:1.7;
  max-width:600px;
  margin:0;
}

.compact-metrics{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:38px;
}

.compact-metrics div{
  min-width:130px;
  padding:17px 18px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
  border:1px solid rgba(239,207,117,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 18px 48px rgba(0,0,0,.22);
}

.compact-metrics strong{
  display:block;
  font-size:24px;
  color:#efcf75;
  letter-spacing:-.04em;
  margin-bottom:5px;
}

.compact-metrics span{
  display:block;
  color:#aeb9c8;
  font-size:12px;
}

.compact-login-panel{
  width:100%;
}

.login-card.compact-card{
  padding:30px !important;
  border-radius:24px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035)) !important;
  border:1px solid rgba(239,207,117,.18) !important;
  box-shadow:
    0 32px 100px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.045) !important;
  backdrop-filter:blur(22px);
}

.compact-card .login-card-head{
  margin-bottom:22px !important;
}

.compact-card .login-mini{
  color:#efcf75;
  letter-spacing:.23em;
  font-size:11px;
  font-weight:950;
}

.compact-card h2{
  font-size:28px !important;
  letter-spacing:-.045em;
  margin-top:10px;
}

.compact-card p{
  color:#aeb9c8;
}

.compact-card .login-lock{
  width:44px !important;
  height:44px !important;
  border-radius:15px !important;
  display:grid;
  place-items:center;
  color:#efcf75;
  font-weight:950;
  transform:rotate(-9deg);
  background:rgba(239,207,117,.07);
  border:1px solid rgba(239,207,117,.22);
}

.compact-card form{
  display:grid;
  gap:16px;
}

.compact-card label span{
  font-size:12px;
  letter-spacing:.03em;
}

.compact-card input{
  min-height:48px !important;
  border-radius:15px !important;
  background:rgba(3,7,12,.58) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

.compact-card input:focus{
  border-color:rgba(239,207,117,.45) !important;
  box-shadow:0 0 0 4px rgba(239,207,117,.08);
}

.compact-card .login-submit{
  min-height:52px;
  margin-top:2px;
  border-radius:16px !important;
}

.compact-card .login-demo-box{
  margin-top:16px !important;
  padding:14px 16px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.045) !important;
}

.compact-note{
  margin-top:16px;
  text-align:center;
  color:#68778b;
  font-size:12px;
}

@media(max-width:980px){
  .login-body.compact-login{
    overflow:auto;
  }

  .compact-login-shell{
    min-height:auto;
    padding:42px 0;
    grid-template-columns:1fr;
    gap:28px;
    width:min(620px,calc(100% - 28px));
  }

  .compact-brand{
    margin-bottom:30px;
  }

  .compact-brand img{
    width:190px;
  }

  .compact-copy h1{
    font-size:44px !important;
  }

  .compact-copy p{
    font-size:16px;
  }

  .compact-metrics{
    margin-top:24px;
  }
}

@media(max-width:560px){
  .compact-login-shell{
    padding:24px 0;
  }

  .compact-brand img{
    width:164px;
  }

  .compact-copy span{
    font-size:10px;
    letter-spacing:.2em;
  }

  .compact-copy h1{
    font-size:38px !important;
  }

  .compact-metrics{
    display:grid;
    grid-template-columns:1fr;
  }

  .login-card.compact-card{
    padding:22px !important;
  }

  .compact-card h2{
    font-size:25px !important;
  }
}


/* v0.8 campaign management */
.inline-form{
    display:inline;
}

.mini-title{
    margin:18px 0 8px;
    font-size:13px;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.12em;
}

.badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:6px 10px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.08);
    color:var(--muted);
    font-size:12px;
    font-weight:900;
}

.badge.good{
    color:#48d17f;
    background:rgba(72,209,127,.12);
    border-color:rgba(72,209,127,.18);
}

@media(max-width:900px){
    .inline-form{
        display:block;
        margin-top:6px;
    }
}


/* v0.9 Geo map */
.geo-map-wrap{
    width:100%;
    overflow:hidden;
    border-radius:24px;
    background:
        radial-gradient(circle at 45% 30%, rgba(239,207,117,.10), transparent 26%),
        linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    border:1px solid rgba(239,207,117,.15);
    padding:18px;
}

.geo-map{
    display:block;
    width:100%;
    height:auto;
    max-height:620px;
}

.geo-germany{
    fill:url(#mapFill);
    stroke:rgba(239,207,117,.55);
    stroke-width:3;
    filter:drop-shadow(0 24px 42px rgba(0,0,0,.28));
}

.geo-line{
    fill:none;
    stroke:rgba(255,255,255,.07);
    stroke-width:2;
}

.geo-label{
    fill:rgba(239,207,117,.76);
    font-size:16px;
    font-weight:900;
    letter-spacing:.12em;
    text-anchor:middle;
    text-transform:uppercase;
}

.geo-marker circle:first-child{
    fill:rgba(239,207,117,.38);
    stroke:rgba(239,207,117,.88);
    stroke-width:2;
}

.geo-marker circle:last-child{
    fill:#fff7e8;
}

.geo-marker:hover circle:first-child{
    fill:rgba(239,207,117,.55);
}

@media(max-width:900px){
    .geo-map-wrap{
        padding:10px;
    }
}


/* v0.9.1 realistic geo map refinement */
.geo-map-wrap{
    background:
        radial-gradient(circle at 50% 42%, rgba(239,207,117,.12), transparent 29%),
        radial-gradient(circle at 22% 75%, rgba(122,74,210,.08), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
}

.geo-map-realistic{
    max-height:680px;
}

.geo-map-layer{
    transform-origin:center;
}

.geo-germany.realistic{
    fill:url(#mapFill);
    stroke:rgba(239,207,117,.68);
    stroke-width:3;
    stroke-linejoin:round;
    filter:drop-shadow(0 28px 50px rgba(0,0,0,.38));
}

.geo-inner-glow{
    fill:url(#mapGold);
    stroke:none;
    opacity:.8;
}

.geo-state-line{
    fill:none;
    stroke:rgba(255,255,255,.105);
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-dasharray:2 7;
}

.geo-city-labels text{
    fill:rgba(205,215,230,.36);
    font-size:10px;
    font-weight:800;
    letter-spacing:.02em;
}

.geo-marker circle:first-child{
    fill:rgba(239,207,117,.42) !important;
    stroke:rgba(239,207,117,.96) !important;
    stroke-width:2.4 !important;
}

.geo-marker circle:last-child{
    fill:#fff9e8 !important;
    stroke:#111827;
    stroke-width:1.4;
}

.geo-label{
    fill:rgba(239,207,117,.88) !important;
}


/* v0.9.2 map scope selector / Europe / World */
.geo-continent{
    fill:url(#continentFill);
    stroke:rgba(239,207,117,.58);
    stroke-width:2.5;
    stroke-linejoin:round;
    filter:drop-shadow(0 22px 42px rgba(0,0,0,.32));
}

.geo-continent.small{
    opacity:.82;
}

.geo-map-world .geo-continent{
    fill:url(#worldFill);
}

.geo-marker-label{
    fill:#fff7e8;
    font-size:13px;
    font-weight:950;
    paint-order:stroke;
    stroke:#0b1017;
    stroke-width:4;
    stroke-linejoin:round;
}

.geo-map-europe,
.geo-map-world{
    max-height:620px;
}

.geo-map-europe .geo-label,
.geo-map-world .geo-label{
    font-size:17px;
    font-weight:950;
    letter-spacing:.16em;
    text-anchor:middle;
    text-transform:uppercase;
}


/* v0.9.3 real local SVG maps */
.geo-map-local{
    width:100%;
    height:auto;
    display:block;
    max-height:720px;
}

.geo-map-local image{
    filter:drop-shadow(0 28px 52px rgba(0,0,0,.38));
}

.geo-map-de{
    max-height:720px;
}

.geo-map-eu{
    max-height:640px;
}

.geo-map-world{
    max-height:560px;
}

.geo-marker-label{
    fill:#fff7e8;
    font-size:13px;
    font-weight:950;
    paint-order:stroke;
    stroke:#0b1017;
    stroke-width:4;
    stroke-linejoin:round;
}

.geo-map-local .geo-marker circle:first-child{
    fill:rgba(239,207,117,.42) !important;
    stroke:rgba(239,207,117,.98) !important;
    stroke-width:2.4 !important;
}

.geo-map-local .geo-marker circle:last-child{
    fill:#fff9e8 !important;
    stroke:#111827;
    stroke-width:1.4;
}


/* v0.9.4 Geo details / heatmap */
.geo-marker{
    cursor:pointer;
    transition:.16s ease;
}

.geo-marker:hover{
    transform:scale(1.035);
    transform-origin:center;
}

.geo-marker.heat-1 circle:first-child{
    fill:rgba(239,207,117,.28) !important;
    stroke:rgba(239,207,117,.76) !important;
}

.geo-marker.heat-2 circle:first-child{
    fill:rgba(239,207,117,.38) !important;
    stroke:rgba(239,207,117,.86) !important;
}

.geo-marker.heat-3 circle:first-child{
    fill:rgba(239,207,117,.50) !important;
    stroke:rgba(239,207,117,.98) !important;
}

.geo-marker.heat-4 circle:first-child{
    fill:rgba(255,168,76,.56) !important;
    stroke:rgba(255,202,118,.98) !important;
}

.geo-marker.heat-5 circle:first-child{
    fill:rgba(255,111,76,.62) !important;
    stroke:rgba(255,218,148,.98) !important;
}

.table-link{
    color:var(--gold2);
    text-decoration:none;
    font-weight:900;
}

.table-link:hover{
    text-decoration:underline;
}

.geo-map-local a{
    text-decoration:none;
}


/* v0.9.5 Bundesländer filter / capitals */
.geo-state-overlay{
    opacity:.92;
    pointer-events:none;
}

.geo-capital circle{
    fill:#fff7e8;
    stroke:#0b1017;
    stroke-width:1.2;
    filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));
}

.geo-capital text{
    fill:rgba(233,240,251,.68);
    font-size:10.5px;
    font-weight:850;
    paint-order:stroke;
    stroke:#0b1017;
    stroke-width:3.2px;
    stroke-linejoin:round;
}

.geo-capital.muted{
    opacity:.35;
}

.state-filter-row{
    max-height:245px;
    overflow:auto;
    padding-right:4px;
}

.state-filter-row::-webkit-scrollbar{
    width:8px;
}

.state-filter-row::-webkit-scrollbar-thumb{
    background:rgba(239,207,117,.25);
    border-radius:999px;
}

@media(max-width:900px){
    .geo-capital text{
        font-size:9px;
    }
}


/* v0.9.6 Bundesland map level */
.geo-map-de image[href*="/states/"],
.geo-map-de image[href*="state-"]{
    filter:drop-shadow(0 30px 56px rgba(0,0,0,.42));
}

.geo-map-local.geo-map-de{
    max-height:720px;
}

.geo-map-local.geo-map-de[viewBox*="520"]{
    max-height:520px;
}

.state-filter-row .btn.primary{
    box-shadow:0 12px 32px rgba(239,207,117,.16);
}


/* v0.9.7 precision map preparation */
.precision-box{
    border:1px solid rgba(239,207,117,.16);
    background:linear-gradient(135deg,rgba(239,207,117,.075),rgba(255,255,255,.025));
    border-radius:18px;
    padding:16px;
}

.precision-box h3{
    margin:0 0 8px;
    font-size:14px;
    color:var(--gold2);
}

.precision-box p{
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
    margin:0 0 12px;
}

.precision-status{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.precision-status span{
    display:inline-flex;
    align-items:center;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
    border-radius:999px;
    padding:7px 9px;
    font-size:12px;
    font-weight:850;
    color:var(--text);
}


/* v0.9.8 exact political map style */
.geo-map-local.geo-map-de[viewBox*="860"]{
    max-height:920px;
}

.geo-map-local.geo-map-eu{
    max-height:820px;
}

.geo-map-local.geo-map-world{
    max-height:820px;
}

.geo-state-overlay.solid{
    opacity:.95;
    filter:drop-shadow(0 2px 2px rgba(255,255,255,.25));
}

.geo-state-overlay.dashed{
    opacity:.95;
}

.geo-map-local image[href*="political"]{
    filter:drop-shadow(0 28px 52px rgba(0,0,0,.25));
}

.geo-map-local .geo-marker circle:first-child{
    mix-blend-mode:multiply;
}

.geo-map-local .geo-marker-label{
    font-size:14px;
}


/* v0.9.9 exact GeoJSON maps */
.geo-map-local.geo-map-de[viewBox*="980"]{
    max-height:1080px;
}

.geo-map-local.geo-map-de[viewBox*="760"]{
    max-height:620px;
}

.geo-map-local image[href*="/exact/"]{
    filter:drop-shadow(0 30px 58px rgba(0,0,0,.24));
}

.geo-state-overlay[href*="exact"],
.geo-state-overlay.dashed{
    opacity:.98;
}

.geo-map-local .geo-marker{
    cursor:pointer;
}

.geo-map-local .geo-marker circle:first-child{
    stroke:rgba(255,255,255,.66);
    stroke-width:1.4;
}


/* v0.9.9.1 force exact Germany maps */
.geo-map-local image[href*="/exact/"]{
    filter:drop-shadow(0 30px 58px rgba(0,0,0,.22)) !important;
}

.geo-map-de .geo-state-overlay{
    opacity:.98;
}

.precision-box strong,
.btn.primary{
    letter-spacing:.02em;
}


/* v0.9.9.2 premium exact map polish */
.geo-map-local.geo-map-de[viewBox*="1040"]{
    max-height:1120px;
}

.geo-map-local.geo-map-de[viewBox*="860"]{
    max-height:680px;
}

.geo-map-wrap{
    background:
        radial-gradient(circle at 50% 42%, rgba(239,207,117,.10), transparent 31%),
        radial-gradient(circle at 22% 72%, rgba(41,118,166,.12), transparent 33%),
        linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.022)) !important;
}

.geo-map-local image[href*="/exact/"]{
    filter:drop-shadow(0 34px 66px rgba(0,0,0,.28)) !important;
}

.geo-map-local .geo-marker circle:first-child{
    fill:rgba(215,174,82,.50) !important;
    stroke:rgba(255,249,232,.74) !important;
    stroke-width:1.6 !important;
}

.geo-map-local .geo-marker circle:last-child{
    fill:#fff9e8 !important;
    stroke:#0b1017 !important;
}

.geo-map-local .geo-marker-label{
    fill:#fff9e8;
    font-size:14px;
    font-weight:950;
    stroke:#07111c;
    stroke-width:4.5;
}


/* v0.9.9.3 Premium Clean Maps */
.geo-map-local.geo-map-eu[viewBox*="1180"],
.geo-map-local.geo-map-world[viewBox*="1500"]{
    max-height:820px;
}

.geo-map-local image[href*="/premium/"]{
    filter:drop-shadow(0 34px 66px rgba(0,0,0,.24)) !important;
}

.geo-map-local image[href*="germany-states-exact"]{
    filter:drop-shadow(0 34px 66px rgba(0,0,0,.22)) !important;
}

.geo-map-wrap{
    background:
        radial-gradient(circle at 50% 42%, rgba(239,207,117,.075), transparent 31%),
        radial-gradient(circle at 22% 72%, rgba(41,118,166,.13), transparent 33%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02)) !important;
}


/* v0.9.9.4 Executive Maps */
.geo-map-local image[href*="/executive/"]{
    filter:drop-shadow(0 36px 72px rgba(0,0,0,.46)) !important;
}

.geo-map-local.geo-map-eu[viewBox*="1180"],
.geo-map-local.geo-map-world[viewBox*="1500"],
.geo-map-local.geo-map-de[viewBox*="1040"]{
    max-height:1120px;
}

.geo-map-wrap{
    background:
        radial-gradient(circle at 50% 42%, rgba(239,207,117,.12), transparent 33%),
        radial-gradient(circle at 70% 15%, rgba(62,110,160,.12), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012)) !important;
}

.geo-map-local .geo-marker circle:first-child{
    fill:rgba(215,174,82,.58) !important;
    stroke:rgba(255,239,190,.88) !important;
    stroke-width:1.7 !important;
}

.geo-map-local .geo-marker circle:last-child{
    fill:#fff9e8 !important;
    stroke:#05080d !important;
}

.geo-map-local .geo-marker-label{
    fill:#fff9e8;
    font-size:14px;
    font-weight:950;
    stroke:#02050a;
    stroke-width:4.8;
}


/* v0.9.9.5 Executive Force + Marker Fix */
.geo-map-local image[href*="/executive/"]{
    filter:drop-shadow(0 38px 76px rgba(0,0,0,.52)) !important;
}

.geo-map-wrap{
    background:
        radial-gradient(circle at 50% 42%, rgba(239,207,117,.14), transparent 34%),
        radial-gradient(circle at 70% 15%, rgba(62,110,160,.13), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012)) !important;
}

.geo-map-local .geo-marker circle:first-child{
    fill:rgba(215,174,82,.64) !important;
    stroke:rgba(255,239,190,.95) !important;
    stroke-width:1.8 !important;
}

.geo-map-local .geo-marker-label{
    fill:#fff9e8;
    font-size:14px;
    font-weight:950;
    stroke:#02050a;
    stroke-width:5;
}


/* v0.9.9.6 World marker + executive state detail */
.geo-map-local image[href*="/exact/states/"]{
    filter:drop-shadow(0 36px 72px rgba(0,0,0,.52)) !important;
}

.geo-map-local .geo-marker circle:first-child{
    fill:rgba(215,174,82,.70) !important;
    stroke:rgba(255,239,190,1) !important;
    stroke-width:1.9 !important;
}

.geo-map-local .geo-marker circle:last-child{
    fill:#fff9e8 !important;
    stroke:#05080d !important;
}

.geo-map-local .geo-marker-label{
    fill:#fff9e8;
    font-size:15px;
    font-weight:950;
    stroke:#02050a;
    stroke-width:5;
}


/* v0.9.9.7 inset position and small-state visibility */
.geo-map-local image[href*="/exact/states/"]{
    filter:drop-shadow(0 36px 72px rgba(0,0,0,.52)) !important;
}


/* v0.9.9.8 marker projection + inset final */
.geo-map-local.geo-map-de[viewBox*="900"]{
    max-height:720px;
}

.geo-map-local image[href*="/exact/states/"]{
    filter:drop-shadow(0 36px 76px rgba(0,0,0,.54)) !important;
}

.geo-map-local .geo-marker circle:first-child{
    fill:rgba(215,174,82,.74) !important;
    stroke:rgba(255,239,190,1) !important;
    stroke-width:1.95 !important;
}


/* v0.9.9.9 state detail layout */
.geo-map-local.geo-map-de[viewBox*="940"]{
    max-height:1030px;
}

.geo-map-local image[href*="/exact/states/"]{
    filter:drop-shadow(0 36px 76px rgba(0,0,0,.54)) !important;
}


/* v0.9.9.10 marker projection fix */


/* v1.0 project lifecycle */
textarea{
    width:100%;
    min-height:90px;
    resize:vertical;
    border:1px solid rgba(255,255,255,.10);
    border-radius:14px;
    padding:12px 14px;
    background:rgba(255,255,255,.045);
    color:var(--text);
    outline:none;
}

textarea:focus{
    border-color:rgba(239,207,117,.40);
    box-shadow:0 0 0 4px rgba(239,207,117,.08);
}

.badge.warn{
    background:rgba(245,158,11,.14);
    color:#f8d084;
    border:1px solid rgba(245,158,11,.26);
}

.badge.muted{
    background:rgba(148,163,184,.12);
    color:#b8c1cc;
    border:1px solid rgba(148,163,184,.20);
}

.btn.danger{
    background:linear-gradient(135deg,rgba(180,55,55,.92),rgba(120,22,22,.92));
    color:#fff;
    border:1px solid rgba(255,180,180,.20);
}

.btn.danger:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(180,55,55,.22);
}

.alert.danger{
    border-color:rgba(248,113,113,.35);
    background:rgba(127,29,29,.20);
    color:#fecaca;
}

.danger-zone{
    border-color:rgba(248,113,113,.18) !important;
    background:
        radial-gradient(circle at 20% 10%, rgba(248,113,113,.08), transparent 28%),
        linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.018)) !important;
}

.action-card{
    display:block;
    padding:16px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.035);
    margin-bottom:14px;
}

.action-card strong{
    display:block;
    font-size:15px;
    color:var(--text);
    margin-bottom:6px;
}

.action-card p{
    margin:0 0 12px;
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}

.table-actions{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.table small{
    color:var(--muted);
}


/* v1.1 geo heatmap */
.heatmap-wrap{
    border:1px solid rgba(239,207,117,.16);
    border-radius:24px;
    overflow:hidden;
    background:
        radial-gradient(circle at 44% 42%, rgba(239,207,117,.10), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.heatmap-svg{
    width:100%;
    height:auto;
    display:block;
    background:#07111c;
}

.hm-bg{
    fill:url(#hmBg);
}

.heatmap-svg .hm-bg{
    fill:#07111c;
}

.hm-title{
    fill:#f1d77e;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    font-size:30px;
    font-weight:950;
    letter-spacing:.12em;
}

.hm-sub{
    fill:#9fb2c7;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    font-size:12px;
    font-weight:850;
    letter-spacing:.04em;
}

.hm-state{
    stroke:rgba(239,207,117,.24);
    stroke-width:1.1;
    stroke-linejoin:round;
    transition:.18s ease;
}

.hm-state:hover{
    stroke:rgba(255,243,196,.92);
    stroke-width:2.1;
    filter:drop-shadow(0 0 10px rgba(215,174,82,.40));
}

.hm-state.intensity-0{
    fill:#14263a;
}

.hm-state.intensity-1{
    opacity:.82;
}

.hm-state.intensity-2{
    opacity:.88;
}

.hm-state.intensity-3,
.hm-state.intensity-4,
.hm-state.intensity-5{
    opacity:.96;
}

.hm-marker circle:first-child{
    fill:rgba(215,174,82,.72);
    stroke:rgba(255,239,190,.94);
    stroke-width:1.7;
    filter:drop-shadow(0 0 10px rgba(215,174,82,.48));
}

.hm-marker circle:nth-child(2){
    fill:#fff9e8;
    stroke:#05080d;
    stroke-width:1.2;
}

.hm-marker text{
    fill:#fff9e8;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    font-size:14px;
    font-weight:950;
    paint-order:stroke;
    stroke:#02050a;
    stroke-width:4.4px;
    stroke-linejoin:round;
}

.heat-legend{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:12px 4px 0;
    color:var(--muted);
    font-size:12px;
    font-weight:800;
}

.heat-legend span{
    display:inline-flex;
    align-items:center;
    gap:7px;
}

.heat-dot{
    width:13px;
    height:13px;
    border-radius:999px;
    display:inline-block;
    border:1px solid rgba(255,255,255,.18);
}

.heat-0{background:#16283c}
.heat-1{background:#2c4353}
.heat-3{background:#a7803f}
.heat-5{background:#f1d77e}

.heat-pill{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 9px;
    font-size:12px;
    font-weight:900;
    border:1px solid rgba(255,255,255,.10);
}

.heat-pill-0{background:rgba(255,255,255,.04);color:#9fb2c7}
.heat-pill-1{background:rgba(44,67,83,.55);color:#d6e3ef}
.heat-pill-2{background:rgba(114,91,52,.55);color:#f1d7a8}
.heat-pill-3{background:rgba(167,128,63,.62);color:#fff0c7}
.heat-pill-4{background:rgba(215,174,82,.68);color:#111827}
.heat-pill-5{background:#f1d77e;color:#07111c}

.heat-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.heat-row span{
    color:var(--text);
    font-weight:850;
}

.heat-row strong{
    color:var(--gold2);
}

.heat-row .heat-bar{
    grid-column:1 / -1;
    display:block;
    height:6px;
    border-radius:999px;
    background:rgba(255,255,255,.07);
    overflow:hidden;
}

.heat-bar-1{background:linear-gradient(90deg,#2c4353 22%,rgba(255,255,255,.07) 22%) !important}
.heat-bar-2{background:linear-gradient(90deg,#725b34 40%,rgba(255,255,255,.07) 40%) !important}
.heat-bar-3{background:linear-gradient(90deg,#a7803f 60%,rgba(255,255,255,.07) 60%) !important}
.heat-bar-4{background:linear-gradient(90deg,#d7ae52 80%,rgba(255,255,255,.07) 80%) !important}
.heat-bar-5{background:linear-gradient(90deg,#f1d77e 100%,rgba(255,255,255,.07) 100%) !important}

.soft-sep{
    border:0;
    border-top:1px solid rgba(255,255,255,.08);
    margin:14px 0;
}


/* v1.2 regional decision reports */
.executive-report{
    background:
        radial-gradient(circle at 16% 20%, rgba(239,207,117,.12), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.015)) !important;
    border-color:rgba(239,207,117,.18) !important;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:14px;
}

.summary-card{
    padding:16px;
    border-radius:18px;
    background:rgba(3,8,16,.34);
    border:1px solid rgba(239,207,117,.14);
}

.summary-card span{
    display:block;
    color:var(--gold2);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:950;
    margin-bottom:8px;
}

.summary-card strong{
    color:var(--text);
    font-size:15px;
    line-height:1.45;
}

.score-pill{
    width:46px;
    height:46px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:950;
    border:1px solid rgba(255,255,255,.10);
}

.score-0{background:rgba(255,255,255,.04);color:#9fb2c7}
.score-1{background:rgba(44,67,83,.55);color:#d6e3ef}
.score-2{background:rgba(114,91,52,.55);color:#f1d7a8}
.score-3{background:rgba(167,128,63,.62);color:#fff0c7}
.score-4{background:rgba(215,174,82,.68);color:#111827}
.score-5{background:#f1d77e;color:#07111c}

.recommendation-pill{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:950;
    margin-bottom:6px;
    border:1px solid rgba(255,255,255,.10);
}

.rec-strong{background:#f1d77e;color:#07111c}
.rec-good{background:rgba(215,174,82,.70);color:#07111c}
.rec-mid{background:rgba(167,128,63,.55);color:#fff3c4}
.rec-watch{background:rgba(44,67,83,.58);color:#d6e3ef}
.rec-low{background:rgba(148,163,184,.12);color:#b8c1cc}

.region-table small{
    display:block;
    color:var(--muted);
    line-height:1.45;
    max-width:320px;
}

.decision-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:14px;
}

.decision-grid div{
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
    border-radius:18px;
    padding:16px;
}

.decision-grid span{
    display:inline-flex;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--gold2);
    font-weight:950;
    margin-bottom:7px;
}

.decision-grid strong{
    display:block;
    color:var(--text);
    margin-bottom:7px;
}

.decision-grid p{
    margin:0;
    color:var(--muted);
    line-height:1.55;
    font-size:13px;
}


/* v1.3 campaign x region */
.compact-title{
    margin-top:14px;
    margin-bottom:14px;
}

.region-table td[data-label="Kampagne"],
.region-table td[data-label="Top-Kampagne"]{
    max-width:280px;
    word-break:break-word;
}

.region-table td[data-label="Empfehlung"] small{
    display:block;
    margin-top:6px;
    color:var(--muted);
    line-height:1.45;
}

.kpi em{
    white-space:normal;
}


/* v1.3.3 PLZ fallback database */
code{
    color:var(--gold2);
}


/* v1.3.4 PLZ enrichment */
.grid-2-inner{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.plz-enrich-form input{
    font-variant-numeric:tabular-nums;
}

@media (max-width: 780px){
    .grid-2-inner{
        grid-template-columns:1fr;
    }
}


/* v1.3.5 Sidebar UX & Menüstruktur */
.sidebar{
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(239,207,117,.28) transparent;
}

.sidebar::-webkit-scrollbar{
    width:6px;
}

.sidebar::-webkit-scrollbar-thumb{
    background:rgba(239,207,117,.26);
    border-radius:999px;
}

.grouped-nav{
    gap:0;
    padding-top:6px;
}

.nav-section{
    padding:10px 0 12px;
    border-bottom:1px solid rgba(255,255,255,.055);
}

.nav-section:last-child{
    border-bottom:0;
}

.nav-label{
    font-size:10px;
    line-height:1;
    font-weight:950;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:rgba(239,207,117,.70);
    padding:0 14px 8px;
}

.grouped-nav a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:34px;
    padding:9px 14px 9px 18px;
    border-radius:12px;
    margin:2px 8px;
    color:rgba(236,242,250,.80);
    font-size:13px;
    font-weight:850;
    letter-spacing:-.01em;
    border:1px solid transparent;
    background:transparent;
    transition:.16s ease;
}

.grouped-nav a::before{
    content:"";
    position:absolute;
    left:7px;
    top:50%;
    width:4px;
    height:4px;
    border-radius:999px;
    background:rgba(239,207,117,.24);
    transform:translateY(-50%);
    transition:.16s ease;
}

.grouped-nav a:hover{
    color:#fff7e8;
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.055);
}

.grouped-nav a:hover::before{
    background:rgba(239,207,117,.88);
    box-shadow:0 0 12px rgba(239,207,117,.55);
}

.grouped-nav a.active{
    color:#07111c;
    background:linear-gradient(135deg,#f1d77e,#d7ae52);
    border-color:rgba(255,243,196,.34);
    box-shadow:0 10px 24px rgba(215,174,82,.16);
}

.grouped-nav a.active::before{
    background:#07111c;
    box-shadow:none;
}

.grouped-nav a span{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.sidebar-footer{
    margin-top:10px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.07);
}

.sidebar-footer a{
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
    border-radius:14px;
    padding:10px 12px;
    color:rgba(236,242,250,.78);
    font-weight:900;
}

.sidebar-footer a:hover{
    color:#fff7e8;
    border-color:rgba(239,207,117,.22);
    background:rgba(239,207,117,.08);
}

@media (max-width: 980px){
    .grouped-nav a{
        min-height:40px;
        font-size:14px;
    }

    .nav-label{
        padding-top:4px;
    }
}


/* v1.3.6 PLZ Center */
.plz-status-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:18px;
}

.plz-status-grid div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.07);
}

.plz-status-grid span{
    color:var(--muted);
    font-size:12px;
    font-weight:850;
}

.plz-status-grid strong{
    color:var(--text);
    font-size:13px;
    text-align:right;
}

.plz-enrich-form{
    gap:14px;
}


/* v1.3.8 Premium UI Polish */
:root{
    --velion-bg-0:#03070d;
    --velion-bg-1:#07111c;
    --velion-bg-2:#0b1624;
    --velion-panel:rgba(11,22,36,.72);
    --velion-panel-2:rgba(16,28,45,.68);
    --velion-border:rgba(239,207,117,.14);
    --velion-border-soft:rgba(255,255,255,.075);
    --velion-gold:#d7ae52;
    --velion-gold-light:#f1d77e;
    --velion-blue:#2f6ea5;
    --velion-glow:rgba(215,174,82,.16);
}

body{
    background:
        radial-gradient(circle at 14% 8%, rgba(215,174,82,.10), transparent 28%),
        radial-gradient(circle at 82% 4%, rgba(47,110,165,.14), transparent 32%),
        radial-gradient(circle at 55% 92%, rgba(215,174,82,.055), transparent 30%),
        linear-gradient(135deg,var(--velion-bg-0),var(--velion-bg-1) 48%,#050b14) !important;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:0;
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
    background-size:42px 42px;
    mask-image:linear-gradient(to bottom, rgba(0,0,0,.65), transparent 72%);
}

.app-shell{
    position:relative;
    z-index:1;
}

.sidebar{
    background:
        linear-gradient(180deg, rgba(5,10,18,.96), rgba(7,17,28,.92)),
        radial-gradient(circle at 40% 0%, rgba(239,207,117,.11), transparent 34%) !important;
    border-right:1px solid rgba(239,207,117,.12) !important;
    box-shadow:18px 0 60px rgba(0,0,0,.30);
}

.sidebar-logo-brand{
    padding-bottom:18px !important;
    border-bottom:1px solid rgba(239,207,117,.10);
}

.topbar{
    background:
        linear-gradient(135deg, rgba(11,22,36,.78), rgba(5,10,18,.48)) !important;
    border:1px solid rgba(239,207,117,.11);
    border-radius:26px;
    padding:18px 20px;
    margin-bottom:22px;
    box-shadow:
        0 24px 60px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter:blur(18px);
}

.eyebrow{
    color:rgba(241,215,126,.82) !important;
    letter-spacing:.16em !important;
    font-weight:950 !important;
}

.topbar h1{
    letter-spacing:-.035em;
}

.main{
    background:
        radial-gradient(circle at 40% 4%, rgba(239,207,117,.055), transparent 22%),
        radial-gradient(circle at 96% 16%, rgba(47,110,165,.07), transparent 28%);
}

.panel,
.kpi,
.project-title{
    background:
        linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
        radial-gradient(circle at 18% 0%, rgba(239,207,117,.09), transparent 34%) !important;
    border:1px solid rgba(239,207,117,.13) !important;
    box-shadow:
        0 24px 70px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.055) !important;
    backdrop-filter:blur(18px);
}

.panel{
    border-radius:26px !important;
}

.project-title{
    border-radius:28px !important;
    padding:22px 24px !important;
}

.project-title h2,
.panel h2{
    letter-spacing:-.025em;
}

.panel h2::after{
    content:"";
    display:block;
    width:42px;
    height:2px;
    margin-top:8px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--velion-gold-light),rgba(215,174,82,0));
}

.kpi{
    border-radius:24px !important;
    position:relative;
    overflow:hidden;
}

.kpi::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 80% 10%, rgba(241,215,126,.12), transparent 28%),
        linear-gradient(90deg, rgba(255,255,255,.035), transparent 52%);
    pointer-events:none;
}

.kpi span,
.kpi em{
    position:relative;
    z-index:1;
}

.kpi strong{
    position:relative;
    z-index:1;
    background:linear-gradient(135deg,#fff7e8,#f1d77e 55%,#d7ae52);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent !important;
    letter-spacing:-.045em;
}

.btn{
    border-radius:14px !important;
    font-weight:950 !important;
    letter-spacing:-.01em;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.btn.primary{
    background:
        linear-gradient(135deg,#f1d77e,#d7ae52 48%,#a7803f) !important;
    color:#07111c !important;
    border:1px solid rgba(255,243,196,.38) !important;
    box-shadow:
        0 14px 34px rgba(215,174,82,.18),
        inset 0 1px 0 rgba(255,255,255,.35) !important;
}

.btn.outline,
.btn.ghost{
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(239,207,117,.16) !important;
    color:#fff7e8 !important;
}

.btn.outline:hover,
.btn.ghost:hover{
    background:rgba(239,207,117,.10) !important;
    border-color:rgba(239,207,117,.30) !important;
    transform:translateY(-1px);
}

.table{
    border-collapse:separate !important;
    border-spacing:0 8px !important;
}

.table thead th{
    color:rgba(241,215,126,.82) !important;
    font-size:11px !important;
    text-transform:uppercase;
    letter-spacing:.10em;
    border-bottom:0 !important;
}

.table tbody tr{
    background:
        linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.018)) !important;
    border:1px solid rgba(255,255,255,.065);
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}

.table tbody td{
    border-top:1px solid rgba(255,255,255,.055) !important;
    border-bottom:1px solid rgba(255,255,255,.055) !important;
}

.table tbody td:first-child{
    border-left:1px solid rgba(255,255,255,.055);
    border-radius:14px 0 0 14px;
}

.table tbody td:last-child{
    border-right:1px solid rgba(255,255,255,.055);
    border-radius:0 14px 14px 0;
}

input,
select,
textarea{
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
    border:1px solid rgba(239,207,117,.13) !important;
    border-radius:16px !important;
    color:var(--text) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

input:focus,
select:focus,
textarea:focus{
    border-color:rgba(241,215,126,.46) !important;
    box-shadow:
        0 0 0 4px rgba(241,215,126,.08),
        inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.badge{
    border-radius:999px !important;
    font-weight:950 !important;
    letter-spacing:.01em;
}

.info-grid div,
.summary-card,
.decision-grid div,
.action-card{
    background:
        linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.018)) !important;
    border:1px solid rgba(239,207,117,.11) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.geo-map-wrap,
.heatmap-wrap{
    border:1px solid rgba(239,207,117,.16) !important;
    box-shadow:
        0 30px 80px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.alert{
    border-radius:18px !important;
    box-shadow:0 16px 40px rgba(0,0,0,.18);
}

.user-pill{
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(239,207,117,.14) !important;
    border-radius:999px !important;
}

::-selection{
    background:rgba(241,215,126,.32);
    color:#fff;
}

@media (max-width: 780px){
    .topbar,
    .project-title,
    .panel,
    .kpi{
        border-radius:20px !important;
    }

    .table{
        border-spacing:0 10px !important;
    }

    .table tbody td:first-child,
    .table tbody td:last-child{
        border-radius:0;
    }
}


/* v1.3.9 Light Mode Premium Fix */
html[data-theme="light"]{
    --bg:#f1eadf;
    --bg2:#e7dccb;
    --panel:#fffaf0;
    --panel2:#f2e7d7;
    --text:#172130;
    --muted:#66758a;
    --line:#d8c7ac;
    --gold:#a97c28;
    --gold2:#c89b3e;
    --good:#1c9b5b;
    --shadow:0 26px 70px rgba(73,54,22,.14);
    --velion-light-panel:rgba(255,250,240,.88);
    --velion-light-panel-2:rgba(246,238,224,.86);
    --velion-light-border:rgba(169,124,40,.20);
}

html[data-theme="light"] body{
    background:
        radial-gradient(circle at 11% 7%, rgba(201,155,62,.18), transparent 28%),
        radial-gradient(circle at 86% 0%, rgba(47,110,165,.13), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(169,124,40,.10), transparent 35%),
        linear-gradient(135deg,#f3ede3 0%,#e9ddcb 46%,#d8cab5 100%) !important;
    color:var(--text);
}

html[data-theme="light"] body::before{
    background:
        linear-gradient(rgba(61,45,20,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61,45,20,.028) 1px, transparent 1px);
    background-size:44px 44px;
    mask-image:linear-gradient(to bottom, rgba(0,0,0,.36), transparent 78%);
}

html[data-theme="light"] .main{
    background:
        radial-gradient(circle at 42% 4%, rgba(201,155,62,.16), transparent 24%),
        radial-gradient(circle at 96% 16%, rgba(47,110,165,.08), transparent 30%) !important;
}

html[data-theme="light"] .sidebar{
    background:
        linear-gradient(180deg, rgba(7,14,24,.98), rgba(10,22,36,.96)),
        radial-gradient(circle at 35% 0%, rgba(239,207,117,.16), transparent 36%) !important;
    color:#f7efe2;
    border-right:1px solid rgba(201,155,62,.22) !important;
}

html[data-theme="light"] .topbar{
    background:
        linear-gradient(135deg, rgba(255,250,240,.76), rgba(238,226,205,.66)),
        radial-gradient(circle at 2% 0%, rgba(201,155,62,.12), transparent 30%) !important;
    border:1px solid rgba(169,124,40,.20) !important;
    box-shadow:
        0 24px 70px rgba(73,54,22,.13),
        inset 0 1px 0 rgba(255,255,255,.75) !important;
}

html[data-theme="light"] .topbar h1{
    color:#182232 !important;
    text-shadow:none !important;
    opacity:1 !important;
}

html[data-theme="light"] .eyebrow{
    color:#a17425 !important;
}

html[data-theme="light"] .user-pill{
    background:rgba(255,250,240,.76) !important;
    border-color:rgba(169,124,40,.22) !important;
    color:#172130 !important;
}

html[data-theme="light"] .user-pill span{
    color:#66758a !important;
}

html[data-theme="light"] .panel,
html[data-theme="light"] .kpi,
html[data-theme="light"] .project-title,
html[data-theme="light"] .project-card{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82)),
        radial-gradient(circle at 18% 0%, rgba(201,155,62,.13), transparent 34%) !important;
    border:1px solid rgba(169,124,40,.20) !important;
    box-shadow:
        0 26px 70px rgba(73,54,22,.13),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
    color:#172130 !important;
}

html[data-theme="light"] .panel h2,
html[data-theme="light"] .project-title h2,
html[data-theme="light"] .panel h3{
    color:#121b29 !important;
}

html[data-theme="light"] .panel p,
html[data-theme="light"] .panel-head p,
html[data-theme="light"] .project-card p,
html[data-theme="light"] .muted,
html[data-theme="light"] .muted-block{
    color:#62718a !important;
}

html[data-theme="light"] .kpi strong{
    background:linear-gradient(135deg,#1b2637,#654617 55%,#a17425) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
    color:transparent !important;
}

html[data-theme="light"] .kpi span{
    color:#607087 !important;
}

html[data-theme="light"] .kpi em{
    color:#1f9a5d !important;
}

html[data-theme="light"] .table tbody tr{
    background:
        linear-gradient(135deg, rgba(255,255,255,.62), rgba(244,235,219,.72)) !important;
    box-shadow:0 10px 28px rgba(73,54,22,.075) !important;
}

html[data-theme="light"] .table tbody td{
    color:#172130 !important;
    border-top:1px solid rgba(169,124,40,.12) !important;
    border-bottom:1px solid rgba(169,124,40,.12) !important;
}

html[data-theme="light"] .table tbody td:first-child{
    border-left:1px solid rgba(169,124,40,.12) !important;
}

html[data-theme="light"] .table tbody td:last-child{
    border-right:1px solid rgba(169,124,40,.12) !important;
}

html[data-theme="light"] .table thead th{
    color:#b6842e !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{
    background:rgba(255,250,240,.84) !important;
    border:1px solid rgba(169,124,40,.22) !important;
    color:#172130 !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{
    color:#8a95a6 !important;
}

html[data-theme="light"] .btn{
    color:#172130 !important;
}

html[data-theme="light"] .btn.primary{
    background:linear-gradient(135deg,#f5d978,#c89b3e 50%,#a97c28) !important;
    color:#111827 !important;
    border:1px solid rgba(255,255,255,.62) !important;
}

html[data-theme="light"] .btn.outline,
html[data-theme="light"] .btn.ghost{
    background:rgba(255,250,240,.62) !important;
    border-color:rgba(169,124,40,.28) !important;
    color:#5c4218 !important;
}

html[data-theme="light"] .badge.good{
    background:rgba(31,154,93,.12) !important;
    color:#137344 !important;
    border-color:rgba(31,154,93,.22) !important;
}

html[data-theme="light"] .badge.warn{
    background:rgba(201,155,62,.14) !important;
    color:#7a561b !important;
    border-color:rgba(201,155,62,.28) !important;
}

html[data-theme="light"] .info-grid div,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .decision-grid div,
html[data-theme="light"] .action-card,
html[data-theme="light"] .plz-status-grid div{
    background:rgba(255,250,240,.66) !important;
    border-color:rgba(169,124,40,.18) !important;
    color:#172130 !important;
}

html[data-theme="light"] .geo-map-wrap,
html[data-theme="light"] .heatmap-wrap{
    background:linear-gradient(145deg, rgba(255,250,240,.84), rgba(235,223,202,.80)) !important;
    border:1px solid rgba(169,124,40,.22) !important;
    box-shadow:0 28px 80px rgba(73,54,22,.15) !important;
}

html[data-theme="light"] .alert{
    color:#172130 !important;
}

html[data-theme="light"] .nav-label{
    color:rgba(239,207,117,.78) !important;
}

html[data-theme="light"] .grouped-nav a{
    color:rgba(247,239,226,.84) !important;
}

html[data-theme="light"] .grouped-nav a.active{
    color:#101827 !important;
}


/* v1.4 Landingpage-Empfehlungen */
.lp-filter-grid{
    grid-template-columns:1fr 1fr auto;
    align-items:end;
}

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

.lp-rec-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    padding:20px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
        radial-gradient(circle at 20% 0%, rgba(239,207,117,.16), transparent 34%);
    border:1px solid rgba(239,207,117,.15);
    box-shadow:0 22px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
}

.lp-rec-card::after{
    content:"";
    position:absolute;
    right:-60px;
    top:-60px;
    width:160px;
    height:160px;
    border-radius:999px;
    background:rgba(239,207,117,.08);
}

.lp-rec-top{
    position:relative;
    z-index:1;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
}

.lp-rec-top strong{
    font-size:22px;
    color:var(--gold2);
}

.lp-rec-card h3{
    position:relative;
    z-index:1;
    margin:0 0 10px;
    font-size:20px;
    letter-spacing:-.03em;
}

.lp-rec-card p{
    position:relative;
    z-index:1;
    color:var(--muted);
    line-height:1.55;
}

.lp-meta{
    position:relative;
    z-index:1;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:16px 0;
}

.lp-meta span{
    font-size:12px;
    font-weight:850;
    color:var(--text);
    padding:7px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.07);
}

.lp-rec-card code,
.table code{
    font-size:12px;
    word-break:break-word;
}

.lp-decision-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.table td small{
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}

.badge.neutral{
    background:rgba(148,163,184,.12);
    color:#cbd5e1;
    border:1px solid rgba(148,163,184,.22);
}

html[data-theme="light"] .lp-rec-card{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82)),
        radial-gradient(circle at 20% 0%, rgba(201,155,62,.16), transparent 34%) !important;
    border-color:rgba(169,124,40,.20) !important;
    box-shadow:0 24px 70px rgba(73,54,22,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html[data-theme="light"] .lp-rec-top strong{
    color:#a17425;
}

html[data-theme="light"] .lp-meta span{
    background:rgba(255,250,240,.66);
    border-color:rgba(169,124,40,.16);
}

html[data-theme="light"] .badge.neutral{
    background:rgba(100,116,139,.10);
    color:#475569;
    border-color:rgba(100,116,139,.20);
}

@media (max-width: 980px){
    .lp-filter-grid,
    .lp-card-grid,
    .lp-decision-grid{
        grid-template-columns:1fr;
    }
}


/* v1.5 Conversion-Funnel Analyse */
.funnel-filter-grid{
    grid-template-columns:1fr 1fr 1fr auto;
    align-items:end;
}

.funnel-steps{
    display:grid;
    gap:14px;
}

.funnel-step{
    border-radius:22px;
    padding:18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
        radial-gradient(circle at 12% 0%, rgba(239,207,117,.11), transparent 34%);
    border:1px solid rgba(239,207,117,.13);
    box-shadow:0 16px 44px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.045);
}

.funnel-step-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:12px;
}

.funnel-step-head span{
    display:block;
    color:var(--muted);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.funnel-step-head strong{
    display:block;
    margin-top:4px;
    font-size:18px;
    letter-spacing:-.02em;
}

.funnel-count{
    text-align:right;
}

.funnel-count strong{
    font-size:26px;
    color:var(--gold2);
}

.funnel-count span{
    color:var(--muted);
}

.funnel-bar{
    height:14px;
    border-radius:999px;
    overflow:hidden;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.07);
    margin:12px 0;
}

.funnel-bar div{
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--gold2),var(--gold));
    box-shadow:0 0 24px rgba(239,207,117,.28);
}

.funnel-step-foot{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    color:var(--muted);
    font-size:13px;
}

.funnel-recommendation{
    padding:18px;
    border-radius:20px;
    background:rgba(239,207,117,.075);
    border:1px solid rgba(239,207,117,.16);
}

.funnel-recommendation strong{
    display:block;
    font-size:18px;
    color:var(--gold2);
    margin-bottom:10px;
}

.compact-table td,
.compact-table th{
    padding-top:10px !important;
    padding-bottom:10px !important;
}

.badge.danger{
    background:rgba(239,68,68,.14);
    color:#fecaca;
    border:1px solid rgba(239,68,68,.25);
}

html[data-theme="light"] .funnel-step{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82)),
        radial-gradient(circle at 12% 0%, rgba(201,155,62,.15), transparent 34%) !important;
    border-color:rgba(169,124,40,.18) !important;
    box-shadow:0 18px 48px rgba(73,54,22,.10), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

html[data-theme="light"] .funnel-bar{
    background:rgba(73,54,22,.08);
    border-color:rgba(169,124,40,.14);
}

html[data-theme="light"] .funnel-count strong,
html[data-theme="light"] .funnel-recommendation strong{
    color:#a17425;
}

html[data-theme="light"] .funnel-recommendation{
    background:rgba(201,155,62,.10);
    border-color:rgba(169,124,40,.20);
}

html[data-theme="light"] .badge.danger{
    background:rgba(220,38,38,.10);
    color:#991b1b;
    border-color:rgba(220,38,38,.22);
}

@media (max-width: 980px){
    .funnel-filter-grid{
        grid-template-columns:1fr;
    }

    .funnel-step-foot{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* v1.6 Kampagnen-ROI */
.roi-filter-grid{
    grid-template-columns:1fr auto;
    align-items:end;
}

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

.roi-edit-card{
    display:grid;
    gap:14px;
    border-radius:24px;
    padding:20px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
        radial-gradient(circle at 18% 0%, rgba(239,207,117,.12), transparent 34%);
    border:1px solid rgba(239,207,117,.14);
    box-shadow:0 18px 50px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.045);
}

.roi-edit-head{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:flex-start;
}

.roi-edit-head h3{
    margin:0 0 6px;
}

.roi-edit-head p{
    margin:0;
    color:var(--muted);
}

.roi-edit-card textarea{
    resize:vertical;
    width:100%;
}

.roi-decision-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

html[data-theme="light"] .roi-edit-card{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82)),
        radial-gradient(circle at 18% 0%, rgba(201,155,62,.15), transparent 34%) !important;
    border-color:rgba(169,124,40,.18) !important;
    box-shadow:0 18px 48px rgba(73,54,22,.10), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

@media (max-width: 980px){
    .roi-filter-grid,
    .roi-edit-grid,
    .roi-decision-grid{
        grid-template-columns:1fr;
    }
}


/* v1.7 PDF-Reports */
.report-filter-grid{
    grid-template-columns:1fr 1fr auto;
    align-items:end;
}

.pdf-report{
    border-radius:30px;
    overflow:hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
        radial-gradient(circle at 20% 0%, rgba(239,207,117,.12), transparent 34%);
    border:1px solid rgba(239,207,117,.14);
    box-shadow:0 30px 90px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
    margin-bottom:32px;
}

.pdf-cover{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    padding:34px;
    border-bottom:1px solid rgba(239,207,117,.13);
    background:
        radial-gradient(circle at 0% 0%, rgba(239,207,117,.16), transparent 38%),
        linear-gradient(135deg, rgba(9,14,23,.9), rgba(17,28,44,.78));
}

.pdf-eyebrow{
    color:var(--gold2);
    text-transform:uppercase;
    letter-spacing:.16em;
    font-size:12px;
    font-weight:950;
    margin-bottom:12px;
}

.pdf-cover h1{
    margin:0 0 8px;
    font-size:42px;
    letter-spacing:-.04em;
}

.pdf-cover p{
    color:var(--muted);
    margin:0;
}

.pdf-brand{
    text-align:right;
    color:var(--gold2);
    text-transform:uppercase;
    letter-spacing:.10em;
}

.pdf-brand strong{
    display:block;
    font-size:26px;
}

.pdf-brand span{
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}

.pdf-section{
    padding:28px 34px;
    border-bottom:1px solid rgba(255,255,255,.07);
}

.pdf-section h2{
    margin-bottom:18px;
}

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

.pdf-kpi-grid div{
    border-radius:20px;
    padding:18px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(239,207,117,.12);
}

.pdf-kpi-grid span{
    display:block;
    color:var(--muted);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.10em;
    margin-bottom:8px;
}

.pdf-kpi-grid strong{
    font-size:24px;
    color:var(--gold2);
}

.pdf-recommendations{
    margin:0;
    padding-left:22px;
    display:grid;
    gap:10px;
}

.pdf-recommendations li{
    line-height:1.6;
}

.pdf-table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
}

.pdf-table th{
    text-align:left;
    color:var(--gold2);
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:11px;
    border-bottom:1px solid rgba(239,207,117,.18);
    padding:12px 10px;
}

.pdf-table td{
    border-bottom:1px solid rgba(255,255,255,.08);
    padding:12px 10px;
}

.pdf-footer{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:20px 34px;
    color:var(--muted);
    font-size:12px;
}

html[data-theme="light"] .pdf-report{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82)),
        radial-gradient(circle at 20% 0%, rgba(201,155,62,.14), transparent 34%) !important;
    border-color:rgba(169,124,40,.20) !important;
    box-shadow:0 26px 70px rgba(73,54,22,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html[data-theme="light"] .pdf-cover{
    background:
        radial-gradient(circle at 0% 0%, rgba(201,155,62,.16), transparent 38%),
        linear-gradient(135deg, rgba(255,250,240,.95), rgba(235,223,202,.84)) !important;
    border-bottom-color:rgba(169,124,40,.18);
}

html[data-theme="light"] .pdf-cover h1,
html[data-theme="light"] .pdf-kpi-grid strong{
    color:#172130;
}

html[data-theme="light"] .pdf-kpi-grid div{
    background:rgba(255,250,240,.66);
    border-color:rgba(169,124,40,.18);
}

html[data-theme="light"] .pdf-table th{
    color:#a17425;
    border-bottom-color:rgba(169,124,40,.22);
}

html[data-theme="light"] .pdf-table td{
    border-bottom-color:rgba(169,124,40,.12);
}

@media (max-width: 980px){
    .report-filter-grid,
    .pdf-kpi-grid{
        grid-template-columns:1fr;
    }
    .pdf-cover{
        flex-direction:column;
    }
    .pdf-brand{
        text-align:left;
    }
}

@media print{
    @page{
        size:A4;
        margin:12mm;
    }

    body{
        background:#fff !important;
        color:#111 !important;
    }

    body::before,
    .sidebar,
    .topbar,
    .no-print,
    .sidebar-footer{
        display:none !important;
    }

    .app-shell{
        display:block !important;
        min-height:auto !important;
    }

    .main{
        padding:0 !important;
        margin:0 !important;
        background:#fff !important;
    }

    .pdf-report{
        box-shadow:none !important;
        border:0 !important;
        border-radius:0 !important;
        background:#fff !important;
        color:#111 !important;
        margin:0 !important;
    }

    .pdf-cover{
        background:#111820 !important;
        color:#fff !important;
        -webkit-print-color-adjust:exact;
        print-color-adjust:exact;
        border-radius:0 !important;
    }

    .pdf-section{
        break-inside:avoid;
        page-break-inside:avoid;
    }

    .pdf-kpi-grid div{
        background:#f4f1ea !important;
        color:#111 !important;
        -webkit-print-color-adjust:exact;
        print-color-adjust:exact;
    }

    .pdf-table th,
    .pdf-table td{
        color:#111 !important;
        border-color:#ddd !important;
    }

    a{
        text-decoration:none !important;
    }
}


/* v1.8 Executive Projekt-/Marken-Dashboard */
.executive-status-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.executive-status-grid div,
.executive-priority-list div{
    border-radius:20px;
    padding:18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
    border:1px solid rgba(239,207,117,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.executive-status-grid span{
    color:var(--muted);
    font-size:11px;
    font-weight:950;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.executive-status-grid strong{
    display:block;
    color:var(--gold2);
    font-size:34px;
    margin:8px 0 2px;
}

.executive-status-grid em{
    color:var(--muted);
    font-style:normal;
    font-size:13px;
}

.executive-priority-list{
    display:grid;
    gap:12px;
}

.executive-priority-list strong{
    display:block;
    margin-bottom:6px;
}

.executive-priority-list span{
    color:var(--muted);
    font-size:13px;
}

.score-ring{
    --score:0;
    width:54px;
    height:54px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:
        conic-gradient(var(--gold2) calc(var(--score) * 1%), rgba(255,255,255,.08) 0);
    position:relative;
}

.score-ring::before{
    content:"";
    position:absolute;
    inset:5px;
    border-radius:inherit;
    background:var(--panel);
}

.score-ring strong{
    position:relative;
    z-index:1;
    color:var(--gold2);
    font-size:15px;
}

.executive-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-bottom:32px;
}

.executive-project-card{
    border-radius:28px;
    padding:22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
        radial-gradient(circle at 18% 0%, rgba(239,207,117,.13), transparent 34%);
    border:1px solid rgba(239,207,117,.15);
    box-shadow:0 24px 70px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.05);
}

.executive-project-top{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
}

.executive-project-top span:not(.badge){
    display:block;
    color:var(--gold2);
    font-size:11px;
    font-weight:950;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:8px;
}

.executive-project-top h3{
    margin:0 0 6px;
    font-size:24px;
    letter-spacing:-.03em;
}

.executive-project-top p,
.executive-reco{
    color:var(--muted);
    line-height:1.55;
}

.executive-mini-kpis{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:18px 0;
}

.executive-mini-kpis div{
    padding:13px;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.07);
}

.executive-mini-kpis span{
    display:block;
    color:var(--muted);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.10em;
}

.executive-mini-kpis strong{
    display:block;
    margin-top:5px;
    color:var(--text);
}

.executive-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

html[data-theme="light"] .score-ring::before{
    background:#fffaf0;
}

html[data-theme="light"] .executive-status-grid div,
html[data-theme="light"] .executive-priority-list div,
html[data-theme="light"] .executive-project-card{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82)),
        radial-gradient(circle at 18% 0%, rgba(201,155,62,.14), transparent 34%) !important;
    border-color:rgba(169,124,40,.18) !important;
    box-shadow:0 18px 48px rgba(73,54,22,.10), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

html[data-theme="light"] .executive-mini-kpis div{
    background:rgba(255,250,240,.66);
    border-color:rgba(169,124,40,.16);
}

html[data-theme="light"] .executive-status-grid strong,
html[data-theme="light"] .score-ring strong{
    color:#a17425;
}

@media (max-width: 980px){
    .executive-status-grid,
    .executive-card-grid,
    .executive-mini-kpis{
        grid-template-columns:1fr;
    }
}


/* v1.9 Lead-Score + LeadBridge */
.leadbridge-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.lead-export-preview{
    border-radius:20px;
    background:#050a10;
    border:1px solid rgba(239,207,117,.13);
    overflow:auto;
    max-height:360px;
}

.lead-export-preview pre{
    margin:0;
    padding:18px;
    color:#dbe7f3;
    font-size:12px;
    line-height:1.55;
}

.lead-score-factor-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}

.lead-score-factor-grid div{
    border-radius:18px;
    padding:16px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
    border:1px solid rgba(239,207,117,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.lead-score-factor-grid strong{
    display:block;
    color:var(--gold2);
    font-size:24px;
    margin-bottom:8px;
}

.lead-score-factor-grid span{
    color:var(--muted);
    font-size:12px;
    line-height:1.4;
}

html[data-theme="light"] .lead-export-preview{
    background:#172130;
    border-color:rgba(169,124,40,.18);
}

html[data-theme="light"] .lead-score-factor-grid div{
    background:
        linear-gradient(145deg, rgba(255,250,240,.92), rgba(243,234,219,.82));
    border-color:rgba(169,124,40,.18);
}

html[data-theme="light"] .lead-score-factor-grid strong{
    color:#a17425;
}

@media (max-width: 1100px){
    .lead-score-factor-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 780px){
    .leadbridge-grid,
    .lead-score-factor-grid{
        grid-template-columns:1fr;
    }
}


/* v1.9.1 Dropdown-Kontrast-Hotfix */
/* Native Browser-Selects brauchen explizite Farben für aufgeklappte Optionen. */
select,
select option,
select optgroup{
    background-color:#101822 !important;
    color:#f7f1e5 !important;
}

select option:checked,
select option:hover,
select option:focus{
    background-color:#1f6ed4 !important;
    color:#ffffff !important;
}

html[data-theme="light"] select,
html[data-theme="light"] select option,
html[data-theme="light"] select optgroup{
    background-color:#fffaf0 !important;
    color:#172130 !important;
}

html[data-theme="light"] select option:checked,
html[data-theme="light"] select option:hover,
html[data-theme="light"] select option:focus{
    background-color:#1f6ed4 !important;
    color:#ffffff !important;
}

/* Firefox/Edge/Chrome Fallback für bessere Lesbarkeit */
select{
    color-scheme:dark;
}

html[data-theme="light"] select{
    color-scheme:light;
}
