:root{--bg:#070b11;--panel:#0d141e;--panel2:#101923;--line:#1c2938;--line2:#27384b;--text:#d8e2ef;--muted:#728197;--blue:#2962ff;--cyan:#53b9ff;--green:#20c77a;--red:#ef5350;--amber:#f0b429}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font:12px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}.topbar{height:56px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#090f17;position:sticky;top:0;z-index:30}.brandbox{width:270px;padding:0 16px;display:flex;align-items:center;gap:9px}.brand{font-weight:900;letter-spacing:.12em;font-size:16px;color:#fff}.market{font-size:9px;border:1px solid #244768;color:#85c9ff;border-radius:3px;padding:3px 6px}nav{display:flex;height:100%;overflow:auto}.nav{background:none;border:0;border-bottom:2px solid transparent;color:#8190a4;padding:0 16px;cursor:pointer;white-space:nowrap}.nav:hover,.nav.active{color:#fff;border-bottom-color:var(--blue)}.top-actions{margin-left:auto;padding:0 18px;display:flex;gap:18px;align-items:center}.clock{font-variant-numeric:tabular-nums;color:#8090a5}.logout{color:#9cacbf;text-decoration:none}.logout:hover{color:#fff}.layout{display:grid;grid-template-columns:270px 1fr;min-height:calc(100vh - 56px)}aside{background:#0a111a;border-right:1px solid var(--line);padding:14px}.watch-title{font-size:10px;letter-spacing:.16em;color:#63738a;margin:2px 4px 12px}.panel{border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:13px;margin-bottom:12px}.panel h3{font-size:10px;letter-spacing:.13em;color:#7d8ca0;margin:0 0 10px;text-transform:uppercase}.filters label{display:block;color:#8492a6;margin:9px 0 5px}.filters input,.filters select,.pending-form input{width:100%;border:1px solid #243245;background:#081019;color:#dbe5f2;padding:8px 9px;border-radius:4px;outline:none}.filters input:focus,.filters select:focus,.pending-form input:focus{border-color:#3c78d8}.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wide{width:100%;margin-top:10px}.ghost{background:#111b28;border:1px solid #283a4f;color:#a9b7c8;padding:7px 10px;border-radius:4px;cursor:pointer}.rule{color:#9aa8b9;font-size:11px}.rule div+div{margin-top:8px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.good{background:var(--green)}.warn{background:var(--amber)}main{padding:14px;min-width:0}.ticker{display:flex;gap:22px;border:1px solid var(--line);background:#0b121c;border-radius:5px;padding:9px 12px;margin-bottom:10px;color:#78869a;font-size:10px;overflow:auto;white-space:nowrap}.ticker b{color:#dfe8f4}.up{color:var(--green)!important}.stats{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px;margin-bottom:10px}.stat{background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:12px}.stat span{font-size:9px;color:#78879a;letter-spacing:.08em}.stat b{display:block;font-size:23px;color:#edf4ff;margin:2px 0;font-weight:650}.stat small{color:#617086}.table-toolbar{height:43px;border:1px solid var(--line);border-bottom:0;background:#0d1520;border-radius:5px 5px 0 0;display:flex;align-items:center;gap:14px;padding:0 12px}.table-toolbar button{margin-left:auto;background:#111d2b;color:#9eb0c6;border:1px solid #29394d;padding:6px 10px;border-radius:4px;cursor:pointer}.tablewrap{overflow:auto;border:1px solid var(--line);background:#0b121b;border-radius:0 0 5px 5px;max-height:calc(100vh - 260px)}.tablewrap.standalone{max-height:calc(100vh - 145px);border-radius:5px}table{border-collapse:collapse;width:100%;min-width:1480px}thead th{position:sticky;top:0;background:#101a27;z-index:2;text-align:left;padding:9px 10px;border-bottom:1px solid #263448;color:#77869b;font-size:9px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}td{padding:9px 10px;border-bottom:1px solid #182433;vertical-align:middle;white-space:nowrap}tbody tr:hover{background:#101a27}.offer{color:#e2eaf6;text-decoration:none;font-weight:650;cursor:pointer}.offer:hover{color:#73b7ff}.muted{color:var(--muted);font-size:10px}.score{display:inline-flex;justify-content:center;min-width:34px;padding:3px 5px;border-radius:3px;background:#132d62;color:#a9caff;font-weight:700}.price{font-weight:650}.discount.goodtxt{color:var(--green)}.phone a{color:#69c7ff;text-decoration:none;font-weight:700}.status{font-size:9px;padding:3px 6px;border-radius:3px;background:#183020;color:#72d99e}.status.deadline{background:#3b2f0a;color:#f6d76b}.status.price_down{background:#17314b;color:#6dc8ff}.status.pending_contact{background:#4a2f13;color:#ffc36b}.source-pill{font-size:9px;color:#9cb0c8;border:1px solid #2b3b4f;border-radius:3px;padding:2px 5px}.star{background:none;border:0;color:#5f6e82;font-size:17px;cursor:pointer;padding:0}.star.on{color:#f6c453}.section-head{display:flex;align-items:center;margin-bottom:12px}.section-head h2{margin:0;font-size:18px}.section-head p{margin:4px 0;color:#738399}.sources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px}.source-card{border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:13px}.source-card h3{font-size:14px;margin:0 0 7px}.source-card .meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px}.tag{font-size:9px;border:1px solid #2a3a4e;border-radius:3px;padding:2px 5px;color:#90a1b7}.tag.ok{border-color:#1f6e4a;color:#78d6a7}.tag.off{border-color:#543d1a;color:#d5ad63}.source-card a{color:#66b8ff}.source-card .scan{margin-top:9px;padding-top:9px;border-top:1px solid #1b2939;color:#77869a;font-size:10px}.pending-form{display:flex;gap:5px;align-items:center}.pending-form input{width:130px;padding:6px 7px}.pending-form button{background:#17314b;border:1px solid #285377;color:#79c7ff;border-radius:4px;padding:6px 8px;cursor:pointer}.drawer-backdrop{position:fixed;inset:56px 0 0;background:#0008;z-index:49}.detail-drawer{position:fixed;z-index:50;right:0;top:56px;bottom:0;width:min(560px,96vw);background:#0b121b;border-left:1px solid #2a3b50;padding:18px;overflow:auto;box-shadow:-20px 0 60px #0007}.drawer-close{position:sticky;top:0;float:right;background:#111d2b;border:1px solid #2b3b4f;color:#b8c5d5;border-radius:4px;font-size:20px;width:34px;height:34px;cursor:pointer}.detail-drawer h2{font-size:20px;margin:4px 45px 4px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.detail-box{border:1px solid var(--line);background:#0f1824;border-radius:5px;padding:10px}.detail-box span{display:block;color:#738399;font-size:9px;text-transform:uppercase}.detail-box b{font-size:14px}.desc{white-space:pre-wrap;color:#aeb9c8;line-height:1.65}.history{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.history-row{display:flex;justify-content:space-between;border-bottom:1px dashed #1b2938;padding:6px 0}.system-stats{grid-template-columns:repeat(4,1fr)}.login-body{display:grid;place-items:center;min-height:100vh;background:radial-gradient(circle at 50% 15%,#14243a 0,#080d14 38%)}.login-card{width:min(430px,92vw);border:1px solid #22334a;background:#0c141f;padding:28px;border-radius:8px;box-shadow:0 30px 70px #0008}.terminal-mark{font-weight:900;letter-spacing:.14em;color:#7fc5ff}.login-card h1{font-size:21px;margin:8px 0 4px}.login-card p{color:#74859b;margin:0 0 22px}.login-card label{display:block;color:#98a7b9;margin:9px 0 6px}.login-card input{width:100%;background:#09111a;color:#fff;border:1px solid #2a3a50;border-radius:5px;padding:11px}.primary{margin-top:14px;width:100%;border:0;background:#2962ff;color:white;padding:11px;border-radius:5px;font-weight:700;cursor:pointer}.login-error{background:#35151a;border:1px solid #6a2730;color:#ff9aa5;padding:9px;border-radius:4px;margin-bottom:10px}.login-card small{display:block;color:#5e6d82;margin-top:15px}@media(max-width:1100px){.layout{grid-template-columns:1fr}aside{position:static;border-right:0;border-bottom:1px solid var(--line)}.brandbox{width:auto}.stats{grid-template-columns:repeat(2,1fr)}.tablewrap{max-height:none}.system-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){nav{max-width:50vw}.top-actions .clock{display:none}.stats,.system-stats{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}}


/* SKYNET MARKET TABS */

.market-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 12px 0;
    padding:8px;
    border:1px solid #263241;
    border-radius:10px;
    background:#10161d;
}

.market-tab{
    appearance:none;
    border:1px solid #334254;
    background:#151d26;
    color:#b9c6d3;
    border-radius:7px;
    padding:9px 13px;
    cursor:pointer;
    font-size:12px;
    font-weight:700;
    letter-spacing:.2px;
}

.market-tab:hover{
    border-color:#5b7895;
    color:#fff;
}

.market-tab.active{
    color:#79d6ff;
    border-color:#4eaad8;
    background:#132532;
    box-shadow:0 0 12px rgba(55,174,255,.16);
}

.market-tab span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    margin-left:5px;
    padding:0 5px;
    border-radius:10px;
    background:#202c38;
    color:#fff;
    font-size:10px;
}

.special-market-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin:12px 0;
    padding:12px 14px;
    border:1px solid #263241;
    border-radius:9px;
    background:#10161d;
}

.special-market-head strong{
    color:#79d6ff;
    font-size:15px;
}

.special-market-head .muted{
    margin-top:4px;
}

@media(max-width:800px){
    .market-tabs{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .market-tab{
        width:100%;
    }

    .special-market-head{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* SKYNET V2 */

.alert-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 6px;
    margin-left:4px;
    border-radius:999px;
    background:#be2f3d;
    color:#fff;
    font-size:10px;
    font-weight:800;
}

.threshold-panel{
    margin:12px 0;
    border:1px solid #283747;
    background:#10171e;
    border-radius:10px;
    padding:12px;
}

.threshold-head{
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:flex-start;
    margin-bottom:10px;
}

.threshold-head strong{
    color:#79d6ff;
}

.threshold-input{
    width:130px;
}

.alerts-list{
    display:grid;
    gap:10px;
    padding-bottom:30px;
}

.alert-card{
    border:1px solid #2b3948;
    border-left:4px solid #60798f;
    background:#10171e;
    border-radius:9px;
    padding:14px;
}

.alert-card.read{
    opacity:.58;
}

.alert-info{
    border-left-color:#59a8dd;
}

.alert-warning{
    border-left-color:#d8a742;
}

.alert-high{
    border-left-color:#ef7a36;
}

.alert-critical{
    border-left-color:#e44455;
    box-shadow:
        0 0 18px
        rgba(228,68,85,.08);
}

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

.alert-severity{
    font-size:10px;
    font-weight:900;
    letter-spacing:.8px;
    color:#79d6ff;
}

.alert-card h3{
    margin:4px 0 7px 0;
    color:#fff;
}

.alert-card p{
    margin:0 0 10px 0;
    color:#b9c5d1;
}

.alert-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.alert-actions a{
    font-weight:700;
}

@media(max-width:800px){

    .threshold-head{
        flex-direction:column;
    }

}


/* =========================================================
   SKYNET LOCAL INTELLIGENCE
   ========================================================= */

.skynet-icon{
    display:inline-block;
    color:#79d6ff !important;
    font-weight:900;
    font-style:normal;
    text-shadow:
        0 0 5px rgba(121,214,255,.95),
        0 0 12px rgba(55,174,255,.72),
        0 0 23px rgba(55,174,255,.38);
}

.nav:hover .skynet-icon,
.nav.active .skynet-icon,
.market-tab:hover .skynet-icon,
.market-tab.active .skynet-icon{
    color:#c3efff !important;
    text-shadow:
        0 0 6px rgba(195,239,255,1),
        0 0 14px rgba(55,174,255,.95),
        0 0 30px rgba(55,174,255,.62);
}


/* STATS */

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

.intel-stat{
    display:flex;
    align-items:center;
    gap:13px;
    padding:14px;
    border:1px solid #283747;
    border-radius:10px;
    background:#10171e;
}

.intel-stat .skynet-icon{
    font-size:25px;
}

.intel-stat small{
    display:block;
    color:#8092a4;
    font-size:10px;
    font-weight:800;
    letter-spacing:.7px;
}

.intel-stat b{
    display:block;
    margin-top:3px;
    font-size:22px;
    color:#eaf8ff;
}


/* TOP OPPORTUNITIES */

.intel-top{
    display:grid;
    gap:9px;
}

.intel-card{
    display:grid;
    grid-template-columns:
        85px 1fr;
    gap:15px;
    padding:14px;
    border:1px solid #293846;
    border-radius:10px;
    background:#10171e;
}

.intel-card:hover{
    border-color:#46728f;
}

.intel-score{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-right:1px solid #263542;
}

.intel-score .skynet-icon{
    font-size:24px;
}

.intel-score strong{
    margin-top:5px;
    color:#79d6ff;
    font-size:28px;
}

.intel-score small{
    color:#718393;
}

.intel-head{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
}

.intel-level{
    color:#79d6ff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.8px;
}

.intel-main h3{
    margin:7px 0;
    color:#f0f6fa;
}

.intel-data{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:8px;
    color:#bac8d3;
}

.intel-reasons{
    margin:9px 0;
    color:#8295a6;
    font-size:12px;
    line-height:1.55;
}


/* REPORTS */

.intel-subhead{
    margin-top:24px;
}

.intel-reports{
    display:grid;
    gap:16px;
    padding-bottom:40px;
}

.intel-report{
    padding:16px;
    border:1px solid #293846;
    border-radius:10px;
    background:#10171e;
}

.intel-report.latest{
    border-color:#4eaad8;
    box-shadow:
        0 0 20px
        rgba(55,174,255,.12);
}

.intel-report-meta{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    color:#748899;
    font-size:11px;
}

.intel-report h2{
    margin:9px 0 12px;
    color:#79d6ff;
}

.intel-report pre{
    margin:0;
    padding:14px;
    white-space:pre-wrap;
    word-break:break-word;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    line-height:1.65;
    color:#d7e1e9;
    border:1px solid #202e3a;
    background:#0b1117;
    border-radius:8px;
}


/* Responsive */

@media(max-width:1000px){

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

}

@media(max-width:650px){

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

    .intel-card{
        grid-template-columns:1fr;
    }

    .intel-score{
        flex-direction:row;
        gap:8px;
        justify-content:flex-start;
        border-right:0;
        border-bottom:1px solid #263542;
        padding-bottom:9px;
    }

}
/* SKYNET COMPACT LOGO */

.skynet-logo-link{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    line-height:0;
    text-decoration:none;
}

.skynet-site-logo{
    display:block;
    width:auto;
    height:58px;
    max-width:170px;
    object-fit:contain;

    filter:
        drop-shadow(0 0 5px rgba(121,214,255,.85))
        drop-shadow(0 0 12px rgba(55,174,255,.45));

    transition:
        transform .18s ease,
        filter .18s ease;
}

.skynet-logo-link:hover .skynet-site-logo{
    transform:scale(1.035);

    filter:
        drop-shadow(0 0 7px rgba(121,214,255,1))
        drop-shadow(0 0 18px rgba(55,174,255,.65));
}

@media(max-width:800px){

    .skynet-site-logo{
        height:48px;
        max-width:145px;
    }

}

@media(max-width:480px){

    .skynet-site-logo{
        height:42px;
        max-width:125px;
    }

}

/* SKYNET BRAND FINAL */

.skynet-brand{
    display:inline-block;
    color:#79d6ff !important;
    font-weight:900 !important;
    letter-spacing:.5px;

    text-shadow:
        0 0 4px rgba(121,214,255,1),
        0 0 10px rgba(55,174,255,.90),
        0 0 20px rgba(55,174,255,.55),
        0 0 34px rgba(55,174,255,.25);

    transition:
        color .18s ease,
        text-shadow .18s ease;
}

.skynet-brand:hover{
    color:#c8f1ff !important;

    text-shadow:
        0 0 5px rgba(200,241,255,1),
        0 0 13px rgba(55,174,255,1),
        0 0 26px rgba(55,174,255,.70),
        0 0 40px rgba(55,174,255,.35);
}


/* =========================================================
   SKYNET CENTERED BRAND FINAL
   ========================================================= */

/*
   Główny napis SkyNet
*/

.skynet-brand{
    display:block !important;

    width:max-content;
    max-width:100%;

    margin-left:auto !important;
    margin-right:auto !important;

    text-align:center !important;

    color:#79d6ff !important;

    font-weight:900 !important;
    letter-spacing:.7px;

    text-shadow:
        0 0 5px rgba(121,214,255,1),
        0 0 12px rgba(55,174,255,.90),
        0 0 22px rgba(55,174,255,.55),
        0 0 36px rgba(55,174,255,.25);
}


/*
   Market Intelligence Software
*/

.skynet-subtitle{
    display:block !important;

    width:max-content;
    max-width:100%;

    margin:
        4px auto 0 auto !important;

    text-align:center !important;

    color:#79d6ff !important;

    font-size:11px !important;
    font-weight:700 !important;

    letter-spacing:
        1.8px !important;

    text-transform:uppercase;

    text-shadow:
        0 0 4px rgba(121,214,255,.95),
        0 0 10px rgba(55,174,255,.70),
        0 0 18px rgba(55,174,255,.35);
}


/*
   Jeżeli branding siedzi w typowym kontenerze topbara,
   centrujemy jego zawartość bez ruszania menu.
*/

.topbar .brand,
header .brand{
    text-align:center;
}


/*
   Mobile
*/

@media(max-width:700px){

    .skynet-brand{
        font-size:16px !important;
    }

    .skynet-subtitle{
        font-size:9px !important;
        letter-spacing:1.2px !important;
    }

}


/* =========================================================
   SKYNET CENTERED BRAND FINAL
   ========================================================= */

/*
   Główny napis SkyNet
*/

.skynet-brand{
    display:block !important;

    width:max-content;
    max-width:100%;

    margin-left:auto !important;
    margin-right:auto !important;

    text-align:center !important;

    color:#79d6ff !important;

    font-weight:900 !important;
    letter-spacing:.7px;

    text-shadow:
        0 0 5px rgba(121,214,255,1),
        0 0 12px rgba(55,174,255,.90),
        0 0 22px rgba(55,174,255,.55),
        0 0 36px rgba(55,174,255,.25);
}


/*
   Market Intelligence Software
*/

.skynet-subtitle{
    display:block !important;

    width:max-content;
    max-width:100%;

    margin:
        4px auto 0 auto !important;

    text-align:center !important;

    color:#79d6ff !important;

    font-size:11px !important;
    font-weight:700 !important;

    letter-spacing:
        1.8px !important;

    text-transform:uppercase;

    text-shadow:
        0 0 4px rgba(121,214,255,.95),
        0 0 10px rgba(55,174,255,.70),
        0 0 18px rgba(55,174,255,.35);
}


/*
   Jeżeli branding siedzi w typowym kontenerze topbara,
   centrujemy jego zawartość bez ruszania menu.
*/

.topbar .brand,
header .brand{
    text-align:center;
}


/*
   Mobile
*/

@media(max-width:700px){

    .skynet-brand{
        font-size:16px !important;
    }

    .skynet-subtitle{
        font-size:9px !important;
        letter-spacing:1.2px !important;
    }

}


/* =========================================================
   SKYNET EXPANSION V23
   ========================================================= */

.expansion-meta{
    margin-top:5px;
    color:#7f93a6;
    font-size:11px;
    line-height:1.45;
}

.expansion-score{
    color:#79d6ff;
    font-weight:800;

    text-shadow:
        0 0 5px rgba(121,214,255,.70),
        0 0 10px rgba(55,174,255,.35);
}

.market-tab[data-expansion-mode] .skynet-icon{
    color:#79d6ff !important;

    text-shadow:
        0 0 5px rgba(121,214,255,.95),
        0 0 12px rgba(55,174,255,.60);
}

.market-tab[data-expansion-mode].active{
    border-color:#4eaad8;
}

.market-tab[data-expansion-mode].active .skynet-icon{
    color:#c8f1ff !important;

    text-shadow:
        0 0 6px rgba(200,241,255,1),
        0 0 15px rgba(55,174,255,.85);
}
