
/* PRAWNIKOM PRO — CENTRUM AML */

html body #app .aml-workspace {
    --aw-navy:#142641;
    --aw-gold:#b58a43;
    --aw-border:#d5dfeb;
    --aw-muted:#64748b;
    --aw-bg:#f0f4f8;

    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:20px 0 !important;
    background:#f0f4f8 !important;
    overflow:visible !important;
    font-family:"Segoe UI",Arial,sans-serif !important;
    color:#142641 !important;
}

.aml-workspace * {
    box-sizing:border-box;
}

.aml-workspace [hidden] {
    display:none !important;
}

/* NAGLOWEK AML */

html body #app .aml-workspace > .aw-hero {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:wrap !important;
    gap:28px !important;
    padding:32px !important;
    margin:0 0 18px !important;
    background:linear-gradient(120deg,#0d192c,#203b5c) !important;
    border:0 !important;
    border-bottom:3px solid #b58a43 !important;
    border-radius:0 !important;
}

html body #app .aw-hero > div {
    flex:1 1 420px !important;
    min-width:0 !important;
}

html body #app .aw-kicker {
    display:block !important;
    color:#96702d !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:1.5px !important;
}

html body #app .aw-hero .aw-kicker {
    color:#d5b16b !important;
}

html body #app .aw-hero h1 {
    font-family:Georgia,serif !important;
    font-size:clamp(28px,3vw,40px) !important;
    font-weight:500 !important;
    line-height:1.3 !important;
    color:#fff !important;
    margin:10px 0 !important;
}

html body #app .aw-hero p {
    color:#cbd5e1 !important;
    font-size:14px !important;
    line-height:1.8 !important;
    margin:0 !important;
}

html body #app .aw-hero-tags {
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    margin-top:20px !important;
}

html body #app .aw-hero-tags > span {
    display:inline-flex !important;
    align-items:center !important;
    padding:8px 12px !important;
    background:#ffffff0b !important;
    border:1px solid #ffffff25 !important;
    color:#e4bf79 !important;
    font-size:11px !important;
    border-radius:0 !important;
}

/* LICZNIK TECZEK */

html body #app .aw-hero > aside {
    display:flex !important;
    flex-direction:column !important;
    flex:0 1 260px !important;
    gap:12px !important;
    min-width:0 !important;
    padding:22px !important;
    background:#ffffff08 !important;
    border:1px solid #b58a43 !important;
    border-radius:0 !important;
}

html body #app .aw-hero > aside small {
    color:#d5b16b !important;
    font-size:11px !important;
    letter-spacing:1px !important;
}

html body #app .aw-hero > aside strong {
    display:block !important;
    color:#fff !important;
    font-family:Georgia,serif !important;
    font-size:46px !important;
    line-height:1.2 !important;
    font-variant-numeric:tabular-nums;
}

html body #app .aw-hero > aside p {
    font-size:12px !important;
}

/* ZRODLA WERYFIKACJI */

html body #app .aw-source-links {
    display:flex !important;
    align-items:stretch !important;
    flex-wrap:wrap !important;
    gap:0 !important;
    width:100% !important;
    padding:0 !important;
    margin:0 0 18px !important;
    background:#fff !important;
    border:1px solid #d5dfeb !important;
}

html body #app .aw-source-links > a {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    flex:1 1 150px !important;
    gap:6px !important;
    min-width:0 !important;
    padding:18px !important;
    background:#fff !important;
    border:0 !important;
    border-right:1px solid #d5dfeb !important;
    border-radius:0 !important;
    text-decoration:none !important;
}

html body #app .aw-source-links > a:last-child {
    border-right:0 !important;
}

html body #app .aw-source-links > a b {
    color:#142641 !important;
    font-size:18px !important;
    font-weight:700 !important;
}

html body #app .aw-source-links > a span {
    color:#64748b !important;
    font-size:12px !important;
    line-height:1.5 !important;
}

html body #app .aw-source-links > a:hover {
    background:#142641 !important;
}

html body #app .aw-source-links > a:hover b {
    color:#d5b16b !important;
}

html body #app .aw-source-links > a:hover span {
    color:#fff !important;
}

/* PANEL KATALOGU */

html body #app .aml-workspace > .aw-card {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    background:#fff !important;
    border:1px solid #d5dfeb !important;
    border-radius:0 !important;
    overflow:visible !important;
}

html body #app .aw-section-head {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:wrap !important;
    gap:16px !important;
    padding:24px !important;
    margin:0 !important;
    border-bottom:1px solid #d5dfeb !important;
}

html body #app .aw-section-head h2 {
    font-family:Georgia,serif !important;
    font-size:26px !important;
    line-height:1.4 !important;
    color:#142641 !important;
    margin:8px 0 0 !important;
}

html body #app .aw-counter {
    display:inline-flex !important;
    padding:10px 16px !important;
    background:#142641 !important;
    color:#d5b16b !important;
    font-size:12px !important;
    font-weight:700 !important;
}

/* FILTRY POZIOME */

html body #app .aml-workspace .aw-search {
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-end !important;
    flex-wrap:wrap !important;
    gap:14px !important;
    padding:24px !important;
    margin:0 !important;
    background:#fff !important;
    border:0 !important;
}

html body #app .aw-search > label {
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    flex:1 1 190px !important;
    min-width:0 !important;
    margin:0 !important;
}

html body #app .aw-search > label:first-child {
    flex:3 1 340px !important;
}

html body #app .aw-search > label > span:first-child {
    color:#142641 !important;
    font-size:12px !important;
    font-weight:700 !important;
}

html body #app .aw-search input,
html body #app .aw-search select,
html body #app .aw-search .smart-select-trigger {
    width:100% !important;
    min-width:0 !important;
    height:46px !important;
    min-height:46px !important;
    padding:10px 14px !important;
    margin:0 !important;
    background:#fff !important;
    color:#142641 !important;
    border:1px solid #cbd5e1 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    font-size:14px !important;
}

html body #app .aw-search .smart-select {
    display:block !important;
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
}

html body #app .aw-search .smart-select-trigger {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
}

html body #app .aw-search
.smart-select:has(> .smart-select-trigger)
> select[data-smart-select-ready="1"] {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    min-height:0 !important;
    padding:0 !important;
    margin:-1px !important;
    clip-path:inset(50%) !important;
    overflow:hidden !important;
    border:0 !important;
}

/* PRZYCISKI */

html body #app .aml-workspace .aw-button {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    min-height:42px !important;
    padding:10px 16px !important;
    background:#142641 !important;
    color:#fff !important;
    border:1px solid #142641 !important;
    border-radius:0 !important;
    font-size:12px !important;
    font-weight:600 !important;
    line-height:1.5 !important;
    text-decoration:none !important;
}

html body #app .aw-search > .aw-button {
    height:46px !important;
    flex:0 0 auto !important;
}

html body #app .aw-search > button[type="reset"] {
    background:#fff !important;
    color:#142641 !important;
    border:1px solid #cbd5e1 !important;
}

html body #app .aml-workspace .aw-button:hover {
    background:#203b5c !important;
    color:#d5b16b !important;
}

html body #app .aw-scope {
    padding:12px 24px !important;
    margin:0 !important;
    background:#f5f7fa !important;
    border-top:1px solid #d5dfeb !important;
    border-bottom:1px solid #d5dfeb !important;
    color:#64748b !important;
    font-size:12px !important;
    line-height:1.7 !important;
}

/* LISTA PODMIOTOW — WIERSZE */

html body #app .aml-workspace [data-aw-list] {
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
}

html body #app .aml-workspace article.aw-subject {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:18px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:100px !important;
    height:auto !important;
    padding:18px 24px !important;
    margin:0 !important;
    background:#fff !important;
    border:0 !important;
    border-bottom:1px solid #d5dfeb !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
}

html body #app .aw-subject:nth-child(even) {
    background:#f8fafc !important;
}

html body #app .aw-subject:hover {
    background:#edf2f7 !important;
}

html body #app .aw-subject-mark {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 48px !important;
    width:48px !important;
    height:48px !important;
    background:#142641 !important;
    color:#d5b16b !important;
    font-size:26px !important;
    border-radius:0 !important;
}

html body #app .aw-subject-copy {
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 0 !important;
    gap:5px !important;
    min-width:0 !important;
}

html body #app .aw-subject-copy > small {
    color:#96702d !important;
    font-size:11px !important;
    font-weight:600 !important;
}

html body #app .aw-subject-copy h3 {
    font-family:"Segoe UI",Arial,sans-serif !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.6 !important;
    color:#142641 !important;
    margin:0 !important;
}

html body #app .aw-subject-copy h3 a {
    color:#142641 !important;
    text-decoration:none !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
}

html body #app .aw-subject-copy p {
    color:#64748b !important;
    font-size:11px !important;
    line-height:1.5 !important;
    margin:0 !important;
}

/* IDENTYFIKATORY */

html body #app .aw-identifiers {
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
}

html body #app .aw-identifiers:empty {
    display:none !important;
}

html body #app .aw-identifiers > span {
    display:inline-flex !important;
    gap:7px !important;
    padding:5px 9px !important;
    background:#edf2f7 !important;
    color:#64748b !important;
    font-size:11px !important;
}

html body #app .aw-identifiers b {
    color:#142641 !important;
    font-variant-numeric:tabular-nums;
}

html body #app .aw-quality-label {
    align-self:flex-start !important;
    padding:4px 8px !important;
    background:#fff5df !important;
    color:#92400e !important;
    border-left:2px solid #b58a43 !important;
    font-size:11px !important;
}

/* OCENA RYZYKA */

html body #app .aw-subject > aside {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex:0 1 auto !important;
    gap:14px !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
}

html body #app .aw-risk {
    display:flex !important;
    flex-direction:column !important;
    gap:5px !important;
    min-width:165px !important;
    padding:10px 14px !important;
    background:#f0f4f8 !important;
    color:#142641 !important;
    border-left:3px solid #94a3b8 !important;
    border-radius:0 !important;
}

html body #app .aw-risk small {
    font-size:9px !important;
    font-weight:600 !important;
    letter-spacing:.6px !important;
    color:inherit !important;
}

html body #app .aw-risk b {
    font-size:12px !important;
    color:inherit !important;
}

html body #app .aw-risk.medium {
    background:#fff5df !important;
    color:#92400e !important;
    border-left-color:#b58a43 !important;
}

html body #app .aw-risk.high {
    background:#fef2f2 !important;
    color:#991b1b !important;
    border-left-color:#dc2626 !important;
}

html body #app .aw-risk.low {
    background:#f0fdf4 !important;
    color:#166534 !important;
    border-left-color:#16834b !important;
}

/* PAGINACJA */

html body #app .aw-pager {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    padding:20px 24px !important;
    margin:0 !important;
    background:#fff !important;
    border:0 !important;
}

html body #app .aw-pager > span {
    color:#64748b !important;
    font-size:12px !important;
}

html body #app .aw-pager > button {
    min-height:40px !important;
    padding:10px 16px !important;
    background:#142641 !important;
    color:#fff !important;
    border:1px solid #142641 !important;
    border-radius:0 !important;
}

html body #app .aw-pager > button:disabled {
    opacity:.4 !important;
    cursor:not-allowed !important;
}

/* ETAPY WERYFIKACJI */

html body #app .aw-review-guide {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:18px !important;
    padding:20px !important;
    margin:18px 0 0 !important;
    background:#fff !important;
    border:1px solid #d5dfeb !important;
    border-left:3px solid #b58a43 !important;
}

html body #app .aw-review-guide > span {
    color:#142641 !important;
    font-size:13px !important;
    font-weight:600 !important;
}

html body #app .aw-review-guide > i {
    color:#96702d !important;
    font-style:normal !important;
}

/* DOSTEPNOSC */

html body #app .aml-workspace
:is(a,button,input,select):focus-visible {
    outline:2px solid #b58a43 !important;
    outline-offset:3px !important;
}

/* TABLET */

@media(max-width:1200px) {

    html body #app .aw-subject > aside {
        flex-direction:column !important;
        align-items:stretch !important;
        gap:8px !important;
    }

}

/* TELEFON */

@media(max-width:700px) {

    html body #app .aml-workspace > .aw-hero {
        padding:20px !important;
    }

    html body #app .aw-hero > aside {
        flex:1 1 100% !important;
    }

    html body #app .aw-search {
        padding:14px !important;
    }

    html body #app .aw-search > label {
        flex:1 1 100% !important;
    }

    html body #app .aw-search > .aw-button {
        flex:1 1 auto !important;
    }

    html body #app .aml-workspace article.aw-subject {
        flex-wrap:wrap !important;
        gap:12px !important;
        padding:14px !important;
    }

    html body #app .aw-subject-copy {
        flex:1 1 calc(100% - 65px) !important;
    }

    html body #app .aw-subject > aside {
        flex:1 1 100% !important;
        flex-direction:row !important;
        flex-wrap:wrap !important;
        justify-content:space-between !important;
    }

    html body #app .aw-risk {
        flex:1 1 150px !important;
        min-width:0 !important;
    }

    html body #app .aw-source-links > a {
        flex:1 1 130px !important;
        border-bottom:1px solid #d5dfeb !important;
    }

    html body #app .aw-section-head {
        padding:16px !important;
    }

    html body #app .aw-section-head h2 {
        font-size:22px !important;
    }

}

