:root {
    --bg: #07111f;
    --bg2: #081524;
    --panel: #0d1a2b;
    --panel2: #101f35;
    --panel3: #142842;
    --line: #1d334f;
    --line2: #244263;
    --text: #e8f0ff;
    --muted: #8fa3bd;
    --cyan: #27d6ff;
    --blue: #2f7bff;
    --red: #ff405c;
    --orange: #ff9a37;
    --green: #36d981;
    --purple: #8b5cf6;
    --yellow: #f6c453;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
* {
    box-sizing: border-box;
}
html,
body {
    min-height: 100%;
}
body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
    background: radial-gradient(circle at 16% -10%, rgba(47, 123, 255, 0.16), transparent 32%),
        radial-gradient(circle at 92% 4%, rgba(39, 214, 255, 0.11), transparent 28%),
        linear-gradient(180deg, #07111f, #06101c 55%, #050b14);
    color: var(--text);
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
.mp-shell {
    display: grid;
    grid-template-columns: 254px 1fr;
    min-height: 100vh;
}
.mp-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 18px 14px;
    background: linear-gradient(180deg, rgba(13, 26, 43, 0.98), rgba(7, 17, 31, 0.98));
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 9px;
}
.brand-shield {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #69dcff;
    background: linear-gradient(135deg, rgba(47, 123, 255, 0.22), rgba(39, 214, 255, 0.1));
    border: 1px solid rgba(39, 214, 255, 0.35);
    box-shadow: 0 0 36px rgba(39, 214, 255, 0.14);
    font-weight: 900;
}
.brand b {
    display: block;
    font-size: 22px;
    letter-spacing: 0.03em;
}
.brand small {
    display: block;
    color: #9cb3cd;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.13em;
}
.side-nav {
    display: grid;
    gap: 5px;
}
.side-nav a {
    padding: 12px 13px;
    border-radius: 13px;
    color: #a8bad2;
    font-weight: 780;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 11px;
    letter-spacing: -0.01em;
}
.side-nav a span {
    width: 20px;
    display: inline-grid;
    place-items: center;
    color: #83a6c9;
}
.side-nav a:hover,
.side-nav a.active {
    background: linear-gradient(90deg, rgba(47, 123, 255, 0.22), rgba(39, 214, 255, 0.08));
    border-color: rgba(69, 151, 255, 0.28);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--cyan);
}
.side-status {
    margin-top: auto;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 31, 53, 0.9), rgba(10, 22, 39, 0.88));
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.side-status small,
.muted {
    color: var(--muted);
}
.side-status strong {
    display: block;
    color: var(--green);
    font-size: 22px;
    margin: 6px 0;
}
.side-status span {
    display: block;
    color: #89a5c3;
    font-size: 13px;
}
.mp-main {
    padding: 20px 22px 38px;
    min-width: 0;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 17px;
}
.top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.hamb {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #0b1728;
    color: #cce4fb;
    display: grid;
    place-items: center;
}
.topbar h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.035em;
}
.topbar p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.top-search input,
.field,
.select,
textarea.field {
    height: 42px;
    border-radius: 11px;
    background: #0b1728;
    border: 1px solid var(--line);
    color: #dce9ff;
    padding: 0 13px;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
textarea.field {
    height: auto;
    padding: 12px;
}
.top-search input {
    width: 320px;
}
.pill,
.user-pill,
.icon-pill {
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    padding: 0 12px;
    background: #0d1b2e;
    border: 1px solid var(--line);
    color: #b8c9dd;
    font-weight: 850;
    font-size: 12px;
}
.pill.green {
    color: #70e69d;
    background: rgba(54, 217, 129, 0.08);
    border-color: rgba(54, 217, 129, 0.22);
}
.pill.green i {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}
.icon-pill {
    width: 39px;
    padding: 0;
    justify-content: center;
    position: relative;
}
.icon-pill.notify b {
    position: absolute;
    right: -5px;
    top: -7px;
    background: #198cff;
    color: white;
    border-radius: 999px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    font-size: 11px;
}
.mp-tabs {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 17px;
}
.mp-tabs a {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-radius: 8px;
    background: #0a1524;
    border: 1px solid var(--line);
    color: #b5c6d8;
    font-weight: 900;
    font-size: 13px;
}
.mp-tabs a:hover,
.mp-tabs a.active {
    border-color: rgba(39, 214, 255, 0.65);
    color: #fff;
    background: linear-gradient(180deg, rgba(39, 214, 255, 0.19), rgba(23, 54, 88, 0.42));
    box-shadow:
        0 0 0 1px rgba(39, 214, 255, 0.16),
        inset 0 -2px 0 rgba(39, 214, 255, 0.65);
}
.grid {
    display: grid;
    gap: 14px;
}
.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}
.stat-card,
.card,
.compact-panel {
    background: linear-gradient(180deg, rgba(15, 31, 53, 0.92), rgba(8, 18, 33, 0.92));
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.stat-card{
    --spark-color: var(--cyan);
    min-height:92px;
    padding:16px;
    display:flex;
    align-items:center;
    gap:14px;
    position:relative;
    overflow:hidden;
}

.spark{
    position:absolute;
    right:10px;
    bottom:8px;
    width:130px;
    height:42px;
    opacity:1;
    overflow:visible;
}

.spark-area{
    fill: color-mix(in srgb, var(--spark-color) 18%, transparent);
    stroke:none;
}

.spark-line{
    fill:none;
    stroke:var(--spark-color);
    stroke-width:2.6;
    stroke-linecap:round;
    stroke-linejoin:round;
    filter:drop-shadow(0 0 8px color-mix(in srgb, var(--spark-color) 45%, transparent));
}

.spark-point{
    fill:var(--spark-color);
    stroke:#071322;
    stroke-width:2;
    filter:drop-shadow(0 0 10px color-mix(in srgb, var(--spark-color) 65%, transparent));
}

.stat-card.red{ --spark-color: var(--red); }
.stat-card.orange{ --spark-color: var(--orange); }
.stat-card.green{ --spark-color: var(--green); }
.stat-card.purple{ --spark-color: var(--purple); }

.stat-card:before {
    content: "";
    position: absolute;
    inset: auto -22px -38px auto;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 214, 255, 0.17), transparent 65%);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 25px;
    background: rgba(47, 123, 255, 0.14);
    border: 1px solid rgba(47, 123, 255, 0.25);
}
.stat-card.red .stat-icon {
    background: rgba(255, 64, 92, 0.14);
    border-color: rgba(255, 64, 92, 0.28);
}
.stat-card.orange .stat-icon {
    background: rgba(255, 154, 55, 0.14);
    border-color: rgba(255, 154, 55, 0.28);
}
.stat-card.green .stat-icon {
    background: rgba(54, 217, 129, 0.12);
    border-color: rgba(54, 217, 129, 0.25);
}
.stat-card.purple .stat-icon {
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(139, 92, 246, 0.28);
}
.stat-label {
    color: #9fb1c7;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
}
.stat-value {
    font-size: 28px;
    font-weight: 950;
    margin-top: 3px;
    letter-spacing: 0.02em;
}
.stat-sub {
    font-size: 12px;
    color: #8fa3bd;
    margin-top: 2px;
}
.main-grid {
    grid-template-columns: minmax(0, 2.55fr) minmax(330px, 1fr);
    align-items: start;
}
.card {
    padding: 14px;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.card h2,
.card h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.card small {
    color: var(--muted);
}
.threat-map {
    height: 342px;
    border-radius: 10px;
    border: 1px solid #173556;
    background: radial-gradient(circle at 24% 45%, rgba(255, 64, 92, 0.36), transparent 6%),
        radial-gradient(circle at 47% 35%, rgba(255, 64, 92, 0.38), transparent 7%),
        radial-gradient(circle at 78% 48%, rgba(255, 64, 92, 0.4), transparent 8%),
        linear-gradient(180deg, #102541, #07172b);
    position: relative;
    overflow: hidden;
}
.threat-map:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
}
.threat-map:after {
    content: "";
    position: absolute;
    inset: 28px 18px 20px;
    background: rgba(64, 115, 157, 0.2);
    clip-path: polygon(
        9% 34%,
        15% 27%,
        23% 31%,
        31% 24%,
        39% 28%,
        46% 18%,
        56% 24%,
        63% 27%,
        74% 22%,
        84% 28%,
        94% 35%,
        86% 45%,
        78% 43%,
        73% 57%,
        65% 52%,
        54% 61%,
        46% 52%,
        38% 57%,
        31% 49%,
        22% 58%,
        13% 53%,
        7% 43%
    );
    filter: drop-shadow(0 0 25px rgba(39, 214, 255, 0.08));
}
.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.72;
    z-index: 2;
}
.map-dot {
    z-index: 3;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow:
        0 0 0 7px rgba(255, 64, 92, 0.12),
        0 0 26px rgba(255, 64, 92, 0.9);
    animation: pulse 1.8s infinite;
}
.map-dot.d1 {
    left: 20%;
    top: 42%;
}
.map-dot.d2 {
    left: 41%;
    top: 35%;
}
.map-dot.d3 {
    left: 75%;
    top: 49%;
}
.map-dot.d4 {
    left: 55%;
    top: 55%;
}
.map-dot.d5 {
    left: 10%;
    top: 39%;
}
.map-label {
    z-index: 3;
    position: absolute;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.map-label.l1 {
    left: 25%;
    top: 47%;
}
.map-label.l2 {
    left: 49%;
    top: 38%;
}
.map-label.l3 {
    left: 78%;
    top: 53%;
}
.map-legend {
    z-index: 4;
    position: absolute;
    left: 14px;
    bottom: 15px;
    width: 142px;
    background: rgba(4, 12, 23, 0.58);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
}
.legend-row {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #cfe1f5;
    font-size: 12px;
    line-height: 1.75;
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--cyan);
}
.legend-dot.medium {
    background: var(--orange);
}
.legend-dot.high {
    background: #ff6137;
}
.legend-dot.critical {
    background: var(--red);
}
@keyframes pulse {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(0.9);
    }
}
.side-grid {
    display: grid;
    gap: 14px;
}
.mini-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    margin-top: 14px;
}
.two-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}
.table-wrap {
    overflow: auto;
    border-radius: 10px;
    border: 1px solid var(--line);
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}
th,
td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(29, 51, 79, 0.75);
    text-align: left;
    font-size: 13px;
}
th {
    background: rgba(20, 38, 62, 0.9);
    color: #b9cce2;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.07em;
}
td {
    color: #d9e6f5;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}
.badge.critical {
    background: rgba(255, 64, 92, 0.14);
    color: #ff8fa0;
    border: 1px solid rgba(255, 64, 92, 0.26);
}
.badge.high {
    background: rgba(255, 154, 55, 0.14);
    color: #ffbf7b;
    border: 1px solid rgba(255, 154, 55, 0.26);
}
.badge.medium {
    background: rgba(47, 123, 255, 0.14);
    color: #85b4ff;
    border: 1px solid rgba(47, 123, 255, 0.26);
}
.badge.low,
.badge.allow,
.badge.allowed {
    background: rgba(54, 217, 129, 0.11);
    color: #7ee8a8;
    border: 1px solid rgba(54, 217, 129, 0.24);
}
.badge.block,
.badge.blocked {
    background: rgba(255, 64, 92, 0.14);
    color: #ff8fa0;
    border: 1px solid rgba(255, 64, 92, 0.26);
}
.badge.ignore {
    background: rgba(39, 214, 255, 0.13);
    color: #8ee9ff;
    border: 1px solid rgba(39, 214, 255, 0.26);
}
.btn {
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--line2);
    background: #10243d;
    color: #dcecff;
    font-weight: 900;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.btn:hover {
    filter: brightness(1.12);
}
.btn.primary {
    background: linear-gradient(135deg, #1f73ff, #1fd4ff);
    border-color: transparent;
    color: #fff;
}
.btn.danger {
    background: rgba(255, 64, 92, 0.12);
    border-color: rgba(255, 64, 92, 0.35);
    color: #ff96a6;
}
.btn.green {
    background: rgba(54, 217, 129, 0.12);
    border-color: rgba(54, 217, 129, 0.33);
    color: #8ff0b4;
}
.btn.ghost {
    background: #0b1728;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.stack {
    display: grid;
    gap: 10px;
}
.notice {
    border-radius: 12px;
    border: 1px solid rgba(54, 217, 129, 0.25);
    background: rgba(54, 217, 129, 0.08);
    padding: 12px;
    color: #8ff0b4;
    font-weight: 800;
}
.danger-notice {
    border-color: rgba(255, 64, 92, 0.28);
    background: rgba(255, 64, 92, 0.09);
    color: #ff9fac;
}
.module-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.module-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    background: rgba(13, 26, 43, 0.72);
    border-radius: 14px;
    padding: 14px;
}
.module-item b {
    display: block;
}
.module-item p {
    margin: 4px 0 0;
    color: #8fa3bd;
    font-size: 13px;
    line-height: 1.4;
}
.switch {
    position: relative;
    width: 54px;
    height: 30px;
    flex: 0 0 auto;
}
.switch input {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    border-radius: 999px;
    background: #26364d;
    border: 1px solid #334761;
    transition: 0.2s;
}
.slider:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #8193aa;
    transition: 0.2s;
}
input:checked + .slider {
    background: #16994f;
    border-color: #29d778;
}
input:checked + .slider:before {
    transform: translateX(24px);
    background: white;
}
.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 10%, rgba(47, 123, 255, 0.18), transparent 32%), #07111f;
}
.login-card {
    width: min(92vw, 460px);
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(15, 31, 53, 0.95), rgba(8, 18, 33, 0.95));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.login-card h1 {
    margin: 12px 0 8px;
}
.full {
    width: 100%;
}
.health-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(29, 51, 79, 0.7);
}
.health-row span:last-child {
    color: #70e69d;
    font-weight: 950;
}
.kpi-list {
    display: grid;
    gap: 10px;
}
.kpi-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #0a1627;
    padding: 12px;
}
.kpi-row b {
    color: #dff2ff;
}
.kpi-row small {
    display: block;
}
.footer-feed {
    display: flex;
    gap: 18px;
    align-items: center;
    overflow: auto;
    white-space: nowrap;
    color: #9eb4ce;
}
.footer-feed b {
    color: #fff;
}
.chart-box {
    height: 210px;
    position: relative;
}
.css-bars {
    height: 190px;
    display: flex;
    align-items: end;
    gap: 10px;
    padding: 18px 6px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.css-bars span {
    flex: 1;
    min-height: 8px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, rgba(39, 214, 255, 0.8), rgba(39, 214, 255, 0.18));
    box-shadow: 0 -12px 35px rgba(39, 214, 255, 0.12);
}
.donut-wrap {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 190px;
}
.donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        var(--blue) 0 38%,
        #35d4df 38% 69%,
        var(--orange) 69% 82%,
        #f06a3a 82% 95%,
        var(--red) 95% 100%
    );
    display: grid;
    place-items: center;
}
.donut:after {
    content: "";
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #091827;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.chart-legend {
    display: grid;
    gap: 8px;
}
.chart-legend div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #caddf0;
}
.chart-legend i {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    display: inline-block;
    margin-right: 7px;
}
.line-panel {
    height: 190px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.line-panel svg {
    position: absolute;
    inset: 12px 6px 10px;
    width: calc(100% - 12px);
    height: calc(100% - 22px);
}
.line-panel path.area {
    fill: rgba(39, 214, 255, 0.16);
}
.line-panel path.line {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 3;
}
.line-panel path.red-line {
    fill: none;
    stroke: var(--red);
    stroke-width: 3;
}
.empty-state {
    padding: 18px;
    color: #91a8c0;
}
.link-blue {
    color: #69dfff;
    font-weight: 900;
}
pre.code {
    white-space: pre-wrap;
    background: #07111f;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    color: #bfe7ff;
    overflow: auto;
}
.small-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hidden {
    display: none !important;
}
@media (max-width: 1300px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .main-grid,
    .mini-grid,
    .two-grid {
        grid-template-columns: 1fr;
    }
    .top-search input {
        width: 260px;
    }
}
@media (max-width: 950px) {
    .mp-shell {
        grid-template-columns: 1fr;
    }
    .mp-sidebar {
        position: relative;
        height: auto;
    }
    .topbar {
        display: grid;
        align-items: start;
    }
    .top-actions {
        justify-content: flex-start;
    }
    .top-search input {
        width: 100%;
    }
    .form-row,
    .module-list,
    .donut-wrap {
        grid-template-columns: 1fr;
    }
    .mp-main {
        padding: 16px;
    }
    .mp-tabs a {
        flex: 1;
        justify-content: center;
    }
    .stats {
        grid-template-columns: 1fr;
    }
}

/* === V3 Real World Threat Map === */
.threat-map.real-map {
    height: 366px;
    border-radius: 12px;
    border: 1px solid #173556;
    background: #07172b;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 -35px 80px rgba(0, 0, 0, 0.22);
}
.threat-map.real-map:after {
    content: none !important;
}
.threat-map.real-map:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
    background: radial-gradient(circle at 51% 36%, rgba(39, 214, 255, 0.17), transparent 24%),
        radial-gradient(circle at 80% 44%, rgba(255, 64, 92, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 25%, rgba(0, 0, 0, 0.14));
}
.world-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.world-grid path {
    fill: none;
    stroke: rgba(151, 195, 234, 0.075);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}
.world-land path {
    fill: url(#landGrad);
    stroke: rgba(91, 145, 188, 0.38);
    stroke-width: 1.35;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.22));
}
.map-baseline-nodes circle {
    fill: #52dfff;
    opacity: 0.45;
    filter: drop-shadow(0 0 7px rgba(82, 223, 255, 0.7));
}
.attack-layer .attack-arc {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.78;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 5 9;
    animation: dashMove 4s linear infinite;
}
.attack-layer .attack-arc.low {
    stroke: rgba(44, 219, 255, 0.45);
}
.attack-layer .attack-arc.medium {
    stroke: rgba(255, 176, 55, 0.72);
}
.attack-layer .attack-arc.high {
    stroke: rgba(255, 100, 55, 0.82);
}
.attack-layer .attack-arc.critical {
    stroke: rgba(255, 64, 92, 0.95);
}
.attack-pulse {
    opacity: 0.28;
    transform-origin: center;
    animation: mapPulse 2s ease-in-out infinite;
}
.attack-pulse.low {
    fill: #27d6ff;
}
.attack-pulse.medium {
    fill: #ffb037;
}
.attack-pulse.high {
    fill: #ff6137;
}
.attack-pulse.critical {
    fill: #ff405c;
}
.attack-dot {
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 1.2;
    filter: drop-shadow(0 0 13px rgba(255, 64, 92, 0.85));
}
.attack-dot.low {
    fill: #27d6ff;
}
.attack-dot.medium {
    fill: #ffb037;
}
.attack-dot.high {
    fill: #ff6137;
}
.attack-dot.critical {
    fill: #ff405c;
}
.target-ring {
    fill: none;
    stroke: #27d6ff;
    stroke-width: 1.7;
    opacity: 0.75;
    animation: mapPulse 1.7s ease-in-out infinite;
    filter: drop-shadow(0 0 14px rgba(39, 214, 255, 0.8));
}
.target-dot {
    fill: #27d6ff;
    stroke: white;
    stroke-width: 1;
    filter: drop-shadow(0 0 15px rgba(39, 214, 255, 0.95));
}
.map-text text {
    font-size: 12px;
    fill: #f5fbff;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    paint-order: stroke;
    stroke: rgba(2, 8, 15, 0.65);
    stroke-width: 3px;
    stroke-linejoin: round;
}
.map-toolbar {
    position: absolute;
    z-index: 5;
    left: 14px;
    top: 14px;
    display: grid;
    gap: 6px;
}
.map-toolbar button {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: rgba(7, 18, 33, 0.75);
    color: #bfe9ff;
    font-weight: 900;
    cursor: default;
}
.real-map .map-legend {
    left: 14px;
    bottom: 43px;
    background: rgba(4, 12, 23, 0.72);
    backdrop-filter: blur(8px);
}
.map-footer {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #9fb4ce;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}
.map-footer i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36d981;
    box-shadow: 0 0 10px rgba(54, 217, 129, 0.8);
    margin-right: 6px;
}
@keyframes dashMove {
    to {
        stroke-dashoffset: -56;
    }
}
@keyframes mapPulse {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.92);
    }
    50% {
        opacity: 0.58;
        transform: scale(1.12);
    }
}
@media (max-width: 950px) {
    .threat-map.real-map {
        height: 320px;
    }
    .map-text text {
        font-size: 10px;
    }
    .map-footer {
        left: 14px;
        right: 14px;
        justify-content: space-between;
        gap: 8px;
        font-size: 10px;
    }
    .real-map .map-legend {
        transform: scale(0.88);
        transform-origin: left bottom;
    }
}
.threat-map-card {
    overflow: hidden;
}

.mp-real-threat-map-wrap {
    position: relative;
    width: 100%;
    height: 820px;
    min-height: 620px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(54, 214, 255, 0.18);
    background: radial-gradient(circle at 50% 35%, rgba(39, 214, 255, 0.12), transparent 34%), #071625;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 -40px 100px rgba(0, 0, 0, 0.38),
        0 18px 55px rgba(0, 0, 0, 0.22);
}

.mp-real-threat-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #071625;
}

.mp-real-threat-map .leaflet-control-attribution {
    display: block !important;
    margin: 0 10px 52px 0 !important;
    padding: 3px 7px !important;
    border: 1px solid rgba(74, 144, 190, 0.18);
    border-radius: 6px;
    background: rgba(4, 13, 25, 0.72) !important;
    color: #7899af !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

.mp-real-threat-map .leaflet-control-attribution a {
    color: #8ecce7 !important;
}

.mp-real-threat-map .leaflet-control-zoom {
    border: 0 !important;
    margin: 14px 0 0 14px !important;
    box-shadow: none !important;
}

.mp-real-threat-map .leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    border-radius: 8px !important;
    margin-bottom: 7px;
    border: 1px solid rgba(74, 144, 190, 0.35) !important;
    background: rgba(7, 18, 33, 0.88) !important;
    color: #dff7ff !important;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.mp-real-threat-map.mp-map-osm-dark .leaflet-tile-pane {
    filter: grayscale(0.88) invert(0.94) hue-rotate(178deg) saturate(0.58) brightness(0.58) contrast(1.18);
}

.mp-real-threat-map-wrap:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 13, 24, 0.35), transparent 18%, transparent 82%, rgba(5, 13, 24, 0.45)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%, rgba(0, 0, 0, 0.18)),
        radial-gradient(circle at 72% 42%, rgba(255, 45, 85, 0.1), transparent 24%),
        radial-gradient(circle at 42% 34%, rgba(39, 214, 255, 0.1), transparent 25%);
}

.mp-map-overlay {
    position: absolute;
    z-index: 5;
    color: #dff7ff;
}

.mp-map-legend-box {
    left: 18px;
    bottom: 18px;
    width: 152px;
    display: grid;
    gap: 8px;
    padding: 14px 15px;
    border-radius: 12px;
    background: rgba(3, 12, 23, 0.72);
    border: 1px solid rgba(73, 151, 204, 0.24);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.mp-map-legend-box strong {
    font-size: 13px;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.mp-map-legend-box span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #b9cde4;
}

.mp-map-legend-box .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.mp-map-legend-box .dot.low {
    background: #27d6ff;
    box-shadow: 0 0 10px rgba(39, 214, 255, 0.7);
}
.mp-map-legend-box .dot.medium {
    background: #ffb020;
    box-shadow: 0 0 10px rgba(255, 176, 32, 0.7);
}
.mp-map-legend-box .dot.high {
    background: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.7);
}
.mp-map-legend-box .dot.critical {
    background: #ff385c;
    box-shadow: 0 0 12px rgba(255, 56, 92, 0.8);
}

.mp-map-status {
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(3, 12, 23, 0.62);
    border: 1px solid rgba(73, 151, 204, 0.2);
    color: #aebfd4;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.mp-map-status span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mp-map-status i {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #35df7e;
    box-shadow: 0 0 13px rgba(53, 223, 126, 0.9);
}

.mp-map-status b {
    color: #e8f7ff;
}

.mp-threat-marker {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    position: relative;
    background: #ff385c;
    border: 2px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 0 0 7px rgba(255, 56, 92, 0.14),
        0 0 24px rgba(255, 56, 92, 0.9),
        0 0 55px rgba(255, 56, 92, 0.28);
}

.mp-threat-marker:before,
.mp-threat-marker:after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 56, 92, 0.55);
    animation: mpThreatPulse 2s ease-out infinite;
}

.mp-threat-marker:after {
    inset: -20px;
    opacity: 0.55;
    animation-delay: 0.55s;
}

.mp-threat-marker.low {
    background: #27d6ff;
    box-shadow:
        0 0 0 7px rgba(39, 214, 255, 0.12),
        0 0 24px rgba(39, 214, 255, 0.8),
        0 0 55px rgba(39, 214, 255, 0.22);
}

.mp-threat-marker.medium {
    background: #ffb020;
    box-shadow:
        0 0 0 7px rgba(255, 176, 32, 0.14),
        0 0 24px rgba(255, 176, 32, 0.85),
        0 0 55px rgba(255, 176, 32, 0.24);
}

.mp-threat-marker.high {
    background: #ff6b35;
    box-shadow:
        0 0 0 7px rgba(255, 107, 53, 0.14),
        0 0 24px rgba(255, 107, 53, 0.9),
        0 0 55px rgba(255, 107, 53, 0.24);
}

.mp-threat-marker.critical {
    background: #ff385c;
}

.mp-origin-marker {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #27d6ff;
    border: 2px solid rgba(236, 252, 255, 0.95);
    box-shadow:
        0 0 0 9px rgba(39, 214, 255, 0.12),
        0 0 24px rgba(39, 214, 255, 0.9),
        0 0 70px rgba(39, 214, 255, 0.38);
}

.mp-map-popup .leaflet-popup-content-wrapper {
    background: rgba(5, 17, 31, 0.95);
    color: #dff7ff;
    border: 1px solid rgba(74, 144, 190, 0.35);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.mp-map-popup .leaflet-popup-tip {
    background: rgba(5, 17, 31, 0.95);
    border: 1px solid rgba(74, 144, 190, 0.25);
}

.mp-map-popup .leaflet-popup-content {
    margin: 12px 14px;
    min-width: 190px;
}

.mp-map-popup b {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.mp-map-popup small {
    display: block;
    color: #9db5ce;
    line-height: 1.55;
}

.mp-attack-arc {
    stroke: rgba(255, 56, 92, 0.68);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 8 10;
    fill: none;
    filter: drop-shadow(0 0 8px rgba(255, 56, 92, 0.65));
    animation: mpArcMove 1.6s linear infinite;
}

.mp-attack-arc.low {
    stroke: rgba(39, 214, 255, 0.58);
    filter: drop-shadow(0 0 8px rgba(39, 214, 255, 0.55));
}

.mp-attack-arc.medium {
    stroke: rgba(255, 176, 32, 0.62);
    filter: drop-shadow(0 0 8px rgba(255, 176, 32, 0.55));
}

.mp-attack-arc.high {
    stroke: rgba(255, 107, 53, 0.68);
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.6));
}

@keyframes mpThreatPulse {
    0% {
        transform: scale(0.45);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

@keyframes mpArcMove {
    to {
        stroke-dashoffset: -36;
    }
}

@media (max-width: 950px) {
    .mp-real-threat-map-wrap {
        height: 430px;
        min-height: 430px;
    }

    .mp-map-status {
        left: 18px;
        right: 18px;
        justify-content: space-between;
        font-size: 11px;
    }

    .mp-map-legend-box {
        transform: scale(0.88);
        transform-origin: left bottom;
    }
}

.dashboard-grid,
.security-dashboard-grid,
.mp-dashboard-grid {
    align-items: stretch;
}

.threat-map-card {
    min-height: 885px;
}

.threat-map-card .card-header {
    margin-bottom: 14px;
}
/* === MEDPOV Security Center v4.2 dashboard enhancements === */
.my-ip-control {
    margin: -2px 0 14px auto;
    width: min(520px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: 43px;          /* direkt kontrol */
    padding: 6px 10px;      /* iyice düşürdük */
    border-radius: 10px;
    border: 1px solid rgba(45, 217, 129, 0.26);
    background: linear-gradient(180deg, rgba(54, 217, 129, 0.1), rgba(11, 25, 38, 0.82));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.my-ip-control.is-watching {
    border-color: rgba(255, 176, 32, 0.3);
    background: linear-gradient(180deg, rgba(255, 176, 32, 0.1), rgba(11, 25, 38, 0.82));
}

.my-ip-actions .btn {
    height: 26px;           /* ana küçültme */
    padding: 0 10px;        /* dikey padding sıfır */
    font-size: 12px;        /* yazıyı küçült */
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
}

.my-ip-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #9feebc;
    font-weight: 900;
}
.my-ip-control.is-watching .my-ip-left {
    color: #ffce83;
}
.my-ip-left b {
    color: #dfffea;
    white-space: nowrap;
}
.my-ip-left strong {
    white-space: nowrap;
}
.my-ip-left small {
    color: #8ea5bd;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.my-ip-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(54, 217, 129, 0.16);
    border: 1px solid rgba(54, 217, 129, 0.28);
    color: #75eba3;
    font-weight: 950;
}
.is-watching .my-ip-icon {
    background: rgba(255, 176, 32, 0.15);
    border-color: rgba(255, 176, 32, 0.28);
    color: #ffce83;
}
.my-ip-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.inline-form {
    display: inline-flex;
    margin: 0;
}
.enhanced-main-grid {
    grid-template-columns: minmax(0, 2.12fr) minmax(355px, 0.88fr);
    align-items: start;
}
.enhanced-map-card {
    min-height: auto;
}
.enhanced-map-card .card-header {
    margin-bottom: 12px;
}
.mp-real-threat-map-wrap {
    height: 520px;
    min-height: 520px;
    border-radius: 14px;
}
.mp-real-threat-map .leaflet-overlay-pane {
    z-index: 420;
}
.mp-real-threat-map .leaflet-marker-pane {
    z-index: 530;
}
.mp-real-threat-map .leaflet-tooltip-pane {
    z-index: 650;
}
.mp-map-site-chip {
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    max-width: 420px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(3, 12, 23, 0.72);
    border: 1px solid rgba(73, 151, 204, 0.24);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}
.mp-map-site-chip span {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #9cecff;
    background: rgba(39, 214, 255, 0.12);
    border: 1px solid rgba(39, 214, 255, 0.24);
}
.mp-map-site-chip small {
    display: block;
    color: #8fa3bd;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
}
.mp-map-site-chip b {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-attack-line {
    stroke-dasharray: 8 12;
    stroke-linecap: round;
    filter: drop-shadow(0 0 9px rgba(255, 64, 92, 0.75));
    animation: mpArcMove 1.45s linear infinite;
}
.mp-attack-line.low {
    filter: drop-shadow(0 0 8px rgba(39, 214, 255, 0.62));
}
.mp-attack-line.medium {
    filter: drop-shadow(0 0 9px rgba(255, 176, 32, 0.65));
}
.mp-attack-line.high {
    filter: drop-shadow(0 0 9px rgba(255, 107, 53, 0.78));
}
.mp-attack-line.critical {
    filter: drop-shadow(0 0 12px rgba(255, 56, 92, 0.9));
}
.mp-map-label-tooltip {
    border: 0 !important;
    background: rgba(6, 17, 31, 0.72) !important;
    color: #eef8ff !important;
    border-radius: 10px !important;
    padding: 7px 9px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    backdrop-filter: blur(10px);
}
.mp-map-label-tooltip:before {
    display: none;
}
.mp-map-label-tooltip span {
    display: block;
    color: #9fb7cf;
    font-weight: 800;
    font-size: 10px;
    margin-top: 3px;
}
.mp-map-label-tooltip.protected {
    background: rgba(39, 214, 255, 0.16) !important;
    border: 1px solid rgba(39, 214, 255, 0.25) !important;
    color: #eaffff !important;
}
.mp-map-label-tooltip.critical {
    background: rgba(255, 56, 92, 0.16) !important;
}
.mp-map-label-tooltip.high {
    background: rgba(255, 107, 53, 0.15) !important;
}
.mp-map-label-tooltip.medium {
    background: rgba(255, 176, 32, 0.14) !important;
}
.incident-card {
    position: relative;
    overflow: hidden;
}
.incident-card:before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 214, 255, 0.16), transparent 67%);
    pointer-events: none;
}
.incident-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.incident-kpis > div {
    padding: 12px;
    border-radius: 12px;
    background: rgba(8, 20, 36, 0.78);
    border: 1px solid rgba(73, 151, 204, 0.18);
    min-width: 0;
}
.incident-kpis small {
    display: block;
    color: #8fa3bd;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.08em;
    font-weight: 950;
}
.incident-kpis b {
    display: block;
    margin-top: 5px;
    font-size: 29px;
    line-height: 1;
    font-weight: 950;
}
.incident-kpis em {
    display: block;
    margin-top: 6px;
    color: #899fb8;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
}
.danger-text {
    color: #ff7188;
}
.cyan-text {
    color: #7beaff;
}
.blue-text {
    color: #8ab7ff;
}
.incident-site {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(39, 214, 255, 0.08);
    border: 1px solid rgba(39, 214, 255, 0.18);
}
.incident-site span {
    color: #8fa3bd;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
}
.incident-site b {
    color: #e9fbff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.incident-chart {
    height: 170px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(11, 25, 45, 0.65), rgba(5, 13, 24, 0.55));
    border: 1px solid rgba(73, 151, 204, 0.15);
}
.incident-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}
.incident-foot span {
    padding: 10px;
    border-radius: 12px;
    background: rgba(7, 18, 33, 0.76);
    border: 1px solid rgba(73, 151, 204, 0.15);
    min-width: 0;
}
.incident-foot small {
    display: block;
    color: #8fa3bd;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.08em;
    font-weight: 950;
}
.incident-foot b {
    display: block;
    margin-top: 4px;
    color: #dcecff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}
.btn-xs {
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 11px;
}
.action-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.selected-row td {
    background: rgba(39, 214, 255, 0.055);
}
.event-detail-card {
    border-color: rgba(39, 214, 255, 0.26);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(39, 214, 255, 0.06);
}
.event-detail-hero {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 14px;
}
.event-detail-score {
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 64, 92, 0.15), rgba(7, 18, 33, 0.82));
    border: 1px solid rgba(255, 64, 92, 0.26);
    display: grid;
    align-content: center;
    gap: 5px;
}
.event-detail-score.high {
    background: linear-gradient(180deg, rgba(255, 154, 55, 0.15), rgba(7, 18, 33, 0.82));
    border-color: rgba(255, 154, 55, 0.26);
}
.event-detail-score.medium {
    background: linear-gradient(180deg, rgba(47, 123, 255, 0.15), rgba(7, 18, 33, 0.82));
    border-color: rgba(47, 123, 255, 0.26);
}
.event-detail-score.low {
    background: linear-gradient(180deg, rgba(54, 217, 129, 0.12), rgba(7, 18, 33, 0.82));
    border-color: rgba(54, 217, 129, 0.24);
}
.event-detail-score small {
    color: #9fb1c7;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 950;
}
.event-detail-score strong {
    font-size: 26px;
    line-height: 1;
    text-transform: uppercase;
}
.event-detail-score span {
    color: #a9bed6;
    font-weight: 900;
}
.event-detail-summary {
    padding: 16px;
    border-radius: 16px;
    background: rgba(8, 20, 36, 0.74);
    border: 1px solid rgba(73, 151, 204, 0.16);
}
.event-detail-summary h3 {
    margin: 0 0 8px;
    font-size: 20px;
    text-transform: none;
    letter-spacing: -0.02em;
}
.event-detail-summary p {
    margin: 0;
    color: #a9bed6;
    line-height: 1.5;
    word-break: break-word;
}
.event-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.event-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.event-detail-row {
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(7, 18, 33, 0.78);
    border: 1px solid rgba(73, 151, 204, 0.15);
    min-width: 0;
}
.event-detail-row span {
    display: block;
    color: #8fa3bd;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
}
.event-detail-row b {
    display: block;
    margin-top: 5px;
    color: #dcecff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.event-detail-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.event-detail-panels h3 {
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    color: #cbdcf0;
}
.detail-code {
    max-height: 210px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}
.health-row,
.kpi-row {
    border-bottom: 1px solid rgba(29, 51, 79, 0.65);
}
@media (max-width: 1280px) {
    .enhanced-main-grid {
        grid-template-columns: 1fr;
    }
    .mp-real-threat-map-wrap {
        height: 470px;
        min-height: 470px;
    }
    .incident-kpis {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 950px) {
    .my-ip-control {
        margin-top: 0;
        align-items: flex-start;
        flex-direction: column;
    }
    .my-ip-left {
        flex-wrap: wrap;
    }
    .enhanced-main-grid,
    .mini-grid,
    .two-grid,
    .event-detail-hero,
    .event-detail-panels {
        grid-template-columns: 1fr;
    }
    .event-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .incident-kpis {
        grid-template-columns: 1fr;
    }
    .mp-map-site-chip {
        left: 16px;
        right: 16px;
        max-width: none;
        min-width: 0;
    }
    .mp-real-threat-map-wrap {
        height: 430px;
        min-height: 430px;
    }
    .mp-map-status {
        bottom: 12px;
    }
    .mp-map-legend-box {
        bottom: 58px;
    }
}
@media (max-width: 560px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
    }
    .my-ip-actions {
        width: 100%;
        justify-content: space-between;
    }
    .my-ip-actions .btn,
    .my-ip-actions form {
        flex: 1;
    }
    .my-ip-actions form .btn {
        width: 100%;
    }
}

/* === MEDPOV Security Center v4.3 Compact Dashboard Layout Fix === */

.enhanced-main-grid {
    grid-template-columns: minmax(0, 2.15fr) minmax(360px, 0.85fr) !important;
    align-items: stretch !important;
    gap: 14px;
}

.enhanced-map-card {
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
}

.enhanced-map-card .card-header {
    flex-shrink: 0;
}

.enhanced-map-card .mp-real-threat-map-wrap {
    height: 500px !important;
    min-height: 500px !important;
    flex: 1 1 auto;
}

.incident-rail {
    display: grid;
    min-height: 0;
}

.incident-rail .incident-card {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.incident-rail .incident-chart {
    flex: 1 1 auto;
    height: auto;
    min-height: 185px;
}

.dashboard-control-grid {
    grid-template-columns: minmax(310px, 1.15fr) minmax(250px, 0.85fr) minmax(250px, 0.85fr) minmax(310px, 1fr);
    align-items: stretch;
    margin-top: 14px;
}

.dashboard-control-grid > .card {
    min-height: 100%;
}

.dashboard-control-grid .kpi-list {
    gap: 8px;
}

.dashboard-control-grid .health-row,
.dashboard-control-grid .kpi-row {
    padding-top: 9px;
    padding-bottom: 9px;
}

.mini-grid {
    margin-top: 14px;
}

@media (max-width: 1500px) {
    .enhanced-main-grid {
        grid-template-columns: minmax(0, 1.85fr) minmax(350px, 0.95fr) !important;
    }

    .enhanced-map-card .mp-real-threat-map-wrap {
        height: 460px !important;
        min-height: 460px !important;
    }

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

@media (max-width: 1280px) {
    .enhanced-main-grid {
        grid-template-columns: 1fr !important;
    }

    .incident-rail .incident-card {
        height: auto;
    }

    .incident-rail .incident-chart {
        height: 190px;
        min-height: 190px;
        flex: none;
    }

    .enhanced-map-card .mp-real-threat-map-wrap {
        height: 430px !important;
        min-height: 430px !important;
    }
}

@media (max-width: 950px) {
    .dashboard-control-grid {
        grid-template-columns: 1fr;
    }

    .enhanced-map-card .mp-real-threat-map-wrap {
        height: 390px !important;
        min-height: 390px !important;
    }
}

/* === MEDPOV Security Center v4.4 control center expansion === */
.mp-tabs-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 17px;
}
.mp-tabs {
    margin-bottom: 0;
}
.mp-tabs-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    max-width: 100%;
}
.mp-tabs-right .my-ip-control {
    margin: 0;
    width: auto;
    max-width: 100%;
    min-width: 430px;
}
.my-ip-left {
    flex-wrap: nowrap;
}
.modules-master-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.master-switch-card,
.compact-toggle-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.master-switch-card h2 {
    margin-top: 4px;
}
.master-switch-card p,
.compact-toggle-card small {
    margin: 6px 0 0;
    color: #8fa3bd;
    line-height: 1.45;
}
.compact-toggle-card b {
    display: block;
    margin-top: 4px;
    font-size: 24px;
}
.switch-xl {
    width: 62px;
    height: 34px;
}
.switch-xl .slider:before {
    width: 24px;
    height: 24px;
}
.switch-xl input:checked + .slider:before {
    transform: translateX(28px);
}
.modules-group-header {
    align-items: center;
}
.modules-group-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.preview-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.85), rgba(12, 24, 39, 0.86));
    padding: 20px;
    min-height: 100%;
}
.sys-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.sys-card {
    padding: 14px;
    border-radius: 14px;
    background: rgba(8, 20, 36, 0.78);
    border: 1px solid rgba(73, 151, 204, 0.18);
    min-width: 0;
}
.sys-card small {
    display: block;
    color: #8fa3bd;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
}
.sys-card b {
    display: block;
    margin-top: 7px;
    color: #eef7ff;
    font-size: 15px;
    word-break: break-word;
}
.extensions-box {
    max-height: 540px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #091525;
    padding: 14px;
}
.extensions-box ul {
    margin: 0;
    padding-left: 18px;
    columns: 2;
}
.extensions-box li {
    color: #dce8f5;
    padding: 3px 0;
    break-inside: avoid;
}
.side-status.warn strong {
    color: #ffce83;
}
.side-status.warn span {
    color: #cbb28a;
}
@media (max-width: 1500px) {
    .modules-master-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 1080px) {
    .mp-tabs-right {
        width: 100%;
    }
    .mp-tabs-right .my-ip-control {
        width: 100%;
        min-width: 0;
    }
    .sys-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 950px) {
    .mp-tabs-row {
        flex-direction: column;
        align-items: stretch;
    }
    .modules-master-grid,
    .sys-info-grid {
        grid-template-columns: 1fr;
    }
    .extensions-box ul {
        columns: 1;
    }
    .my-ip-left {
        flex-wrap: wrap;
    }
}

/* === 4.5.0 sidebar grouping + map mode controls === */
.side-nav-scroll {
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
}
.side-nav-scroll::-webkit-scrollbar {
    width: 8px;
}
.side-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(98, 128, 168, 0.28);
    border-radius: 999px;
}
.side-nav.side-nav-grouped {
    gap: 14px;
}
.side-nav-group {
    display: grid;
    gap: 8px;
    padding-top: 2px;
}
.side-nav-group + .side-nav-group {
    padding-top: 12px;
    border-top: 1px solid rgba(73, 151, 204, 0.1);
}
.side-nav-group-title {
    padding: 0 12px;
    color: #6f89a8;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.side-nav-group-links {
    display: grid;
    gap: 5px;
}
.mp-sidebar {
    gap: 14px;
}
.side-status {
    margin-top: 14px;
}

.threat-map-card-header {
    align-items: flex-start;
}
.threat-map-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.mp-map-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: rgba(7, 18, 33, 0.76);
    border: 1px solid rgba(73, 151, 204, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.mp-map-mode-btn {
    height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #a9bed6;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: 0.2s;
}
.mp-map-mode-btn:hover {
    color: #fff;
    background: rgba(39, 214, 255, 0.08);
}
.mp-map-mode-btn.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(39, 214, 255, 0.18), rgba(24, 53, 83, 0.68));
    border-color: rgba(39, 214, 255, 0.3);
    box-shadow:
        inset 0 -2px 0 rgba(39, 214, 255, 0.55),
        0 0 0 1px rgba(39, 214, 255, 0.05);
}

.mp-map-legend-box .dot.live {
    background: #36d981;
    box-shadow: 0 0 10px rgba(54, 217, 129, 0.75);
}
.mp-live-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #36d981;
    border: 2px solid rgba(223, 255, 240, 0.9);
    box-shadow:
        0 0 0 6px rgba(54, 217, 129, 0.16),
        0 0 22px rgba(54, 217, 129, 0.82);
    animation: pulse 1.7s infinite;
}
.mp-user-line {
    stroke-dasharray: 6 10;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(54, 217, 129, 0.85));
    animation: mpArcMove 1.35s linear infinite;
}
.mp-map-label-tooltip.live {
    background: rgba(54, 217, 129, 0.14) !important;
    border: 1px solid rgba(54, 217, 129, 0.26) !important;
    color: #ebfff2 !important;
}

@media (max-width: 1180px) {
    .threat-map-card-header {
        gap: 12px;
    }
    .threat-map-header-actions {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 950px) {
    .side-nav-scroll {
        overflow: visible;
        padding-right: 0;
    }
    .mp-map-mode-switch {
        width: 100%;
        justify-content: space-between;
    }
    .mp-map-mode-btn {
        flex: 1;
        justify-content: center;
    }
    .threat-map-header-actions {
        flex-direction: column;
        align-items: stretch;
    }
}



/* === 4.8.0 functional fixes + grouped feeds === */
.brand-shield svg,
.nav-svg-icon svg,
.hamb svg,
.icon-pill svg {
    width: 18px;
    height: 18px;
    display: block;
}
.brand-shield svg {
    width: 20px;
    height: 20px;
}
.nav-svg-icon {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    color: #83a6c9;
    flex-shrink: 0;
}
.nav-label {
    min-width: 0;
}
.brand-copy {
    min-width: 0;
}
.hamb,
.icon-pill-link,
.icon-pill-button {
    cursor: pointer;
}
.icon-pill-link:hover,
.icon-pill-button:hover,
.hamb:hover {
    border-color: rgba(39, 214, 255, 0.34);
    color: #fff;
    background: rgba(16, 33, 53, 0.95);
}
.icon-pill-button {
    appearance: none;
}
.top-actions .notify {
    text-decoration: none;
}
.top-actions .notify b {
    font-weight: 900;
}
.mp-shell.sidebar-collapsed {
    grid-template-columns: 88px 1fr;
}
.mp-shell.sidebar-collapsed .brand {
    justify-content: center;
}
.mp-shell.sidebar-collapsed .brand-copy,
.mp-shell.sidebar-collapsed .side-nav-group-title,
.mp-shell.sidebar-collapsed .side-status small,
.mp-shell.sidebar-collapsed .side-status strong,
.mp-shell.sidebar-collapsed .side-status span,
.mp-shell.sidebar-collapsed .nav-label {
    display: none;
}
.mp-shell.sidebar-collapsed .side-nav a {
    justify-content: center;
    padding-inline: 0;
}
.mp-shell.sidebar-collapsed .side-status {
    padding: 14px;
    min-height: 56px;
}
.mp-shell.sidebar-collapsed .side-nav-group + .side-nav-group {
    border-top-color: transparent;
}
.mp-action-menu {
    position: relative;
}
.mp-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: rgba(7, 18, 33, 0.96);
    border: 1px solid rgba(73, 151, 204, 0.22);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    padding: 8px;
    display: none;
    z-index: 90;
}
.mp-action-menu.is-open .mp-dropdown-menu {
    display: grid;
    gap: 4px;
}
.mp-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    color: #d7e7fb;
    font-weight: 800;
}
.mp-dropdown-menu a:hover {
    background: rgba(39, 214, 255, 0.08);
    color: #fff;
}
.toolbar-card-header {
    align-items: flex-start;
    gap: 14px;
}
.header-actions-stack {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.toolbar-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.toolbar-form .field,
.toolbar-form .select {
    min-width: 150px;
}
.metric-stack {
    display: inline-grid;
    gap: 2px;
}
.metric-stack b {
    font-size: 13px;
    line-height: 1.2;
}
.metric-stack small {
    color: #8fa3bd;
    font-size: 11px;
}
.metric-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 255, 0.18);
    background: rgba(39, 214, 255, 0.08);
    color: #dff9ff;
    font-size: 12px;
    font-weight: 900;
}
.group-summary-row > td {
    vertical-align: middle;
}
.group-detail-row td {
    background: rgba(5, 14, 25, 0.72);
}
.group-detail-cell {
    padding: 0 !important;
}
.inner-log-table-wrap {
    padding: 12px 14px 14px;
}
.inner-log-table {
    width: 100%;
    border-collapse: collapse;
}
.inner-log-table th,
.inner-log-table td {
    padding: 10px 12px;
    border-top: 1px solid rgba(73, 151, 204, 0.12);
    font-size: 12px;
}
.inner-log-table thead th {
    color: #8fa3bd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-top: 0;
}
.maintenance-stack {
    display: grid;
    gap: 12px;
}
.maintenance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(73, 151, 204, 0.16);
    background: rgba(7, 18, 33, 0.5);
}
.maintenance-row b {
    display: block;
}
.maintenance-row p {
    margin: 5px 0 0;
    color: #8fa3bd;
    font-size: 12px;
}
.incident-actions-menu .icon-pill {
    width: 40px;
}
@media (max-width: 950px) {
    .mp-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 254px;
        z-index: 120;
        transition: transform 0.22s ease;
    }
    .mp-main {
        min-width: 0;
    }
    .mp-shell {
        grid-template-columns: 1fr;
    }
    .mp-shell.sidebar-collapsed .mp-sidebar {
        transform: translateX(-100%);
    }
    .toolbar-form,
    .header-actions-stack,
    .maintenance-row {
        width: 100%;
        justify-content: stretch;
    }
    .toolbar-form .field,
    .toolbar-form .select,
    .toolbar-form .btn,
    .maintenance-row .btn {
        width: 100%;
    }
    .maintenance-row {
        flex-direction: column;
        align-items: stretch;
    }
}


/* === 4.9.0 sidebar nowrap + integration guide === */
.mp-shell {
    grid-template-columns: 272px 1fr;
}
.side-nav a {
    min-width: 0;
    flex-wrap: nowrap;
}
.side-nav a .nav-label,
.brand-copy,
.brand-copy b,
.brand-copy small {
    white-space: nowrap;
}

.side-nav-group-links {
    min-width: 0;
}
.integration-shortcuts-grid,
.integration-top-grid,
.integration-detail-grid {
    align-items: start;
}
.integration-shortcut-card .notice {
    margin-top: 14px;
}
.integration-quick-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.integration-quick-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 21, 36, 0.82);
    padding: 12px;
}
.integration-quick-head,
.integration-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.integration-checklist,
.integration-rule-list {
    display: grid;
    gap: 12px;
}
.integration-check-item,
.integration-rule-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(73, 151, 204, 0.16);
    background: rgba(10, 21, 36, 0.78);
}
.integration-check-item span,
.integration-rule-item span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: #dff7ff;
    background: linear-gradient(180deg, rgba(39, 214, 255, 0.24), rgba(29, 72, 112, 0.32));
    border: 1px solid rgba(39, 214, 255, 0.2);
}
.integration-check-item b,
.integration-rule-item b {
    display: block;
    margin-bottom: 4px;
}
.integration-check-item small,
.integration-rule-item small {
    color: #8fa3bd;
    line-height: 1.45;
}
.integration-hero-card {
    position: relative;
    overflow: hidden;
}
.integration-hero-card:before {
    content: "";
    position: absolute;
    inset: -80px auto auto -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 214, 255, 0.18), transparent 68%);
    pointer-events: none;
}
.integration-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 255, 0.16);
    background: rgba(11, 24, 41, 0.72);
    color: #95dbf1;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.integration-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
    gap: 16px;
    align-items: center;
}
.integration-hero-card h2 {
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1.1;
    text-transform: none;
}
.integration-hero-copy {
    margin: 0;
    color: #b2c7dd;
    line-height: 1.7;
}
.integration-hero-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.integration-mini-stat {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(73, 151, 204, 0.18);
    background: linear-gradient(180deg, rgba(11, 24, 41, 0.88), rgba(7, 16, 28, 0.82));
    text-align: center;
}
.integration-mini-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 950;
    color: #fff;
}
.integration-mini-stat span {
    display: block;
    margin-top: 4px;
    color: #8fa3bd;
    font-size: 12px;
}
.integration-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.integration-guide-shell {
    overflow: hidden;
}
.integration-tab-bar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.integration-tab-btn {
    appearance: none;
    border: 1px solid rgba(73, 151, 204, 0.16);
    background: rgba(8, 18, 33, 0.75);
    border-radius: 16px;
    padding: 14px 12px;
    text-align: left;
    color: #a9bed6;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.integration-tab-btn span {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: #e7f1fc;
}
.integration-tab-btn small {
    display: block;
    margin-top: 6px;
    color: #84a0be;
    line-height: 1.35;
}
.integration-tab-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(39, 214, 255, 0.28);
}
.integration-tab-btn.is-active {
    background: linear-gradient(180deg, rgba(39, 214, 255, 0.12), rgba(18, 40, 63, 0.9));
    border-color: rgba(39, 214, 255, 0.34);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18), inset 0 -2px 0 rgba(39, 214, 255, 0.48);
}
.integration-panels {
    position: relative;
}
.integration-panel {
    display: none;
    animation: integrationFade .28s ease;
}
.integration-panel.is-active {
    display: block;
}
@keyframes integrationFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.integration-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.integration-panel-head h3 {
    margin: 0 0 8px;
    font-size: 24px;
    text-transform: none;
}
.integration-panel-head p {
    margin: 0;
    color: #9fb4ca;
    line-height: 1.65;
    max-width: 860px;
}
.integration-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.integration-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 255, 0.16);
    background: rgba(11, 24, 41, 0.82);
    color: #99ebff;
    font-size: 12px;
    font-weight: 800;
}
.integration-inner-card {
    padding: 14px;
}
.integration-list,
.integration-steps {
    margin: 0;
    padding-left: 18px;
    color: #d6e6f8;
}
.integration-list li,
.integration-steps li {
    margin-bottom: 10px;
    line-height: 1.62;
}
.integration-file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.integration-file-list span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(73, 151, 204, 0.16);
    background: rgba(10, 21, 36, 0.82);
    color: #d7eaff;
    font-size: 12px;
    font-weight: 800;
}
.integration-code-block {
    margin-top: 10px;
}
.integration-verify-list li::marker {
    color: #59e59b;
}
@media (max-width: 1400px) {
    .integration-tab-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1180px) {
    .mp-shell {
        grid-template-columns: 254px 1fr;
    }
    .integration-hero-grid,
    .integration-quick-grid,
    .integration-top-grid,
    .integration-detail-grid {
        grid-template-columns: 1fr;
    }
    .integration-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 950px) {
    .integration-tab-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .integration-hero-stats {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .integration-tab-bar {
        grid-template-columns: 1fr;
    }
    .integration-quick-head,
    .integration-code-header,
    .integration-panel-head {
        flex-direction: column;
        align-items: stretch;
    }
}

.iplookup-toolbar {
    justify-content: flex-start;
}
.iplookup-search {
    min-width: min(520px, 100%);
}
.iplookup-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: #0b1728;
    color: #aecdde;
    font-size: 12px;
    font-weight: 850;
}
.iplookup-check input {
    margin: 0;
}
.iplookup-actions-grid {
    grid-template-columns: 180px 1fr repeat(3, auto);
}
.iplookup-split-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.iplookup-code {
    max-height: 420px;
}
@media (max-width: 1100px) {
    .iplookup-actions-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 950px) {
    .iplookup-search,
    .iplookup-check {
        width: 100%;
        min-width: 0;
    }
    .iplookup-split-list {
        grid-template-columns: 1fr;
    }
}


/* === MEDPOV Security Center v5.6.1 Responsive Hardening Patch === */
html {
    overflow-x: hidden;
}
body.mp-body,
.login-body {
    overflow-x: hidden;
}
img,
svg,
canvas,
video {
    max-width: 100%;
}
.card,
.stat-card,
.compact-panel,
.module-item,
.kpi-row,
.health-row,
.event-detail-row,
.sys-card,
.integration-inner-card,
.integration-quick-item,
.integration-mini-stat,
.preview-panel,
.notice,
.danger-notice {
    min-width: 0;
}
.card-header,
.toolbar-card-header,
.modules-group-header,
.integration-panel-head,
.integration-quick-head,
.integration-code-header,
.threat-map-card-header {
    min-width: 0;
}
.card-header > *,
.toolbar-card-header > *,
.modules-group-header > *,
.integration-panel-head > *,
.integration-quick-head > *,
.integration-code-header > *,
.threat-map-card-header > * {
    min-width: 0;
}
.card h2,
.card h3,
.topbar h1,
.topbar p,
.stat-label,
.stat-sub,
.kpi-row b,
.kpi-row small,
.health-row span,
.module-item b,
.module-item p,
.incident-site b,
.event-detail-row b,
.metric-stack b,
.metric-stack small,
.integration-mini-stat span,
.integration-tab-btn span,
.integration-tab-btn small {
    overflow-wrap: anywhere;
}
.field,
.select,
textarea.field,
.top-search input {
    max-width: 100%;
}
pre,
pre.code,
.detail-code,
.iplookup-code {
    max-width: 100%;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
.table-wrap {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}
table td,
table th {
    overflow-wrap: anywhere;
}
.action-cell,
.small-actions,
.header-actions-stack,
.toolbar-form,
.modules-group-actions,
.integration-chip-row,
.integration-file-list,
.my-ip-actions {
    min-width: 0;
}
.mp-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    backdrop-filter: blur(3px);
}
body.mp-sidebar-open .mp-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}
body.mp-sidebar-open {
    overflow: hidden;
}

@media (max-width: 1500px) {
    .mp-main {
        padding-inline: 18px;
    }
    .dashboard-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1180px) {
    .mp-shell {
        grid-template-columns: 254px 1fr;
    }
    .topbar {
        align-items: flex-start;
    }
    .top-actions {
        flex: 1 1 100%;
    }
    .toolbar-card-header,
    .card-header,
    .modules-group-header {
        flex-wrap: wrap;
    }
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .main-grid,
    .enhanced-main-grid,
    .dashboard-control-grid,
    .integration-hero-grid,
    .integration-top-grid,
    .integration-detail-grid,
    .iplookup-split-list,
    .two-grid,
    .mini-grid {
        grid-template-columns: 1fr !important;
    }
    .modules-master-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .form-row,
    .form-row[style],
    .iplookup-actions-grid,
    .sys-info-grid,
    .event-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 950px) {
    .mp-shell,
    .mp-shell.sidebar-collapsed {
        display: block;
        grid-template-columns: 1fr !important;
        min-height: 100vh;
    }
    .mp-sidebar {
        position: fixed !important;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(286px, 88vw);
        height: 100vh !important;
        max-height: 100vh;
        z-index: 120;
        overflow: hidden;
        transform: translateX(0);
        transition: transform .22s ease;
        box-shadow: 24px 0 70px rgba(0, 0, 0, .42);
    }
    .mp-shell.sidebar-collapsed .mp-sidebar {
        transform: translateX(-105%) !important;
    }
    .side-nav-scroll {
        overflow: auto !important;
        padding-right: 6px;
    }
    .side-status {
        margin-top: 12px;
    }
    .mp-main {
        padding: 14px 12px 30px !important;
        width: 100%;
        min-width: 0;
    }
    .topbar {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    .top-left {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }
    .topbar h1 {
        font-size: clamp(20px, 5.4vw, 26px);
        line-height: 1.14;
    }
    .top-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, auto));
        justify-content: start;
        gap: 8px;
    }
    .top-search {
        grid-column: 1 / -1;
        width: 100%;
    }
    .top-search input {
        width: 100% !important;
    }
    .top-actions .pill,
    .top-actions .user-pill {
        grid-column: span 2;
        justify-content: center;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mp-tabs-row {
        display: block;
        overflow: hidden;
        margin-bottom: 12px;
    }
    .mp-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 8px;
        padding: 1px 2px 8px;
        margin: 0 -2px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .mp-tabs::-webkit-scrollbar {
        height: 6px;
    }
    .mp-tabs::-webkit-scrollbar-thumb {
        background: rgba(98, 128, 168, .34);
        border-radius: 999px;
    }
    .mp-tabs a {
        flex: 0 0 auto !important;
        white-space: nowrap;
        min-width: max-content;
        height: 40px;
        padding: 0 14px;
        scroll-snap-align: start;
    }
    .mp-tabs-right {
        width: 100%;
        margin: 10px 0 0;
    }
    .mp-tabs-right .my-ip-control,
    .my-ip-control {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 10px !important;
        align-items: stretch !important;
    }
    .my-ip-left {
        flex-wrap: wrap !important;
        gap: 7px;
    }
    .my-ip-left small,
    .my-ip-left b,
    .my-ip-left strong {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    .card {
        padding: 12px;
        border-radius: 14px;
    }
    .card-header {
        align-items: flex-start;
    }
    .stats,
    .modules-master-grid,
    .form-row,
    .form-row[style],
    .module-list,
    .sys-info-grid,
    .event-detail-grid,
    .event-detail-hero,
    .event-detail-panels,
    .incident-foot,
    .integration-hero-stats,
    .integration-quick-grid,
    .integration-tab-bar,
    .iplookup-actions-grid,
    .iplookup-split-list,
    .dashboard-control-grid {
        grid-template-columns: 1fr !important;
    }
    .stat-card {
        min-height: 86px;
        padding: 14px;
    }
    .stat-value {
        font-size: 24px;
    }
    .spark {
        width: 104px;
        opacity: .78;
    }
    .toolbar-form,
    .header-actions-stack,
    .modules-group-actions,
    .maintenance-row,
    .small-actions {
        width: 100%;
        justify-content: stretch;
    }
    .toolbar-form .field,
    .toolbar-form .select,
    .toolbar-form .btn,
    .header-actions-stack .btn,
    .modules-group-actions .btn,
    .small-actions .btn,
    .maintenance-row .btn {
        flex: 1 1 160px;
        min-width: 0;
    }
    .field,
    .select,
    textarea.field {
        width: 100%;
    }
    .module-item,
    .master-switch-card,
    .compact-toggle-card,
    .maintenance-row,
    .health-row,
    .kpi-row,
    .incident-site {
        align-items: flex-start;
    }
    .module-item,
    .master-switch-card,
    .compact-toggle-card,
    .maintenance-row {
        flex-direction: column;
    }
    .switch,
    .switch-xl {
        align-self: flex-start;
    }
    .enhanced-map-card .mp-real-threat-map-wrap,
    .mp-real-threat-map-wrap {
        height: clamp(330px, 62vh, 430px) !important;
        min-height: 330px !important;
        border-radius: 13px;
    }
    .threat-map.real-map,
    .threat-map {
        height: clamp(290px, 56vh, 380px) !important;
    }
    .mp-map-site-chip {
        top: 12px;
        left: 12px !important;
        right: 12px !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 9px 10px;
    }
    .mp-map-site-chip b {
        white-space: normal;
    }
    .mp-map-status {
        left: 12px !important;
        right: 12px !important;
        bottom: 10px !important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }
    .mp-map-legend-box,
    .real-map .map-legend {
        left: 12px !important;
        bottom: 64px !important;
        transform: scale(.86);
        transform-origin: left bottom;
    }
    .mp-map-mode-switch {
        width: 100%;
        overflow-x: auto;
    }
    .mp-map-mode-btn {
        flex: 1 0 max-content;
        white-space: nowrap;
    }
    .chart-box {
        height: 230px;
    }
    .login-card {
        width: min(94vw, 460px);
        padding: 24px;
        border-radius: 22px;
    }
}

@media (max-width: 760px) {
    .table-wrap {
        border: 0;
        overflow: visible;
        background: transparent;
    }
    .table-wrap table,
    .inner-log-table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
    }
    .table-wrap thead,
    .inner-log-table thead {
        display: none;
    }
    .table-wrap tbody,
    .table-wrap tr,
    .table-wrap td,
    .inner-log-table tbody,
    .inner-log-table tr,
    .inner-log-table td {
        display: block;
        width: 100%;
    }
    .table-wrap tbody,
    .inner-log-table tbody {
        display: grid;
        gap: 10px;
    }
    .table-wrap tr,
    .inner-log-table tr {
        border: 1px solid rgba(73, 151, 204, 0.17);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(10, 22, 38, .88), rgba(6, 16, 29, .88));
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(0,0,0,.14);
    }
    .table-wrap td,
    .inner-log-table td {
        display: grid;
        grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(73, 151, 204, 0.12) !important;
        font-size: 12px;
    }
    .table-wrap td:last-child,
    .inner-log-table td:last-child {
        border-bottom: 0 !important;
    }
    .table-wrap td::before,
    .inner-log-table td::before {
        content: attr(data-label);
        color: #7f98b4;
        font-size: 10px;
        font-weight: 950;
        letter-spacing: .08em;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }
    .table-wrap td[data-label=""]::before,
    .inner-log-table td[data-label=""]::before {
        display: none;
    }
    .table-wrap tr.mp-colspan-row,
    .inner-log-table tr.mp-colspan-row {
        display: block;
    }
    .table-wrap tr.mp-colspan-row > td,
    .inner-log-table tr.mp-colspan-row > td,
    .table-wrap td[colspan],
    .inner-log-table td[colspan] {
        display: block;
        padding: 0 !important;
    }
    .table-wrap tr.mp-colspan-row > td::before,
    .inner-log-table tr.mp-colspan-row > td::before,
    .table-wrap td[colspan]::before,
    .inner-log-table td[colspan]::before {
        display: none;
    }
    .inner-log-table-wrap {
        padding: 10px;
    }
    .action-cell,
    td .small-actions {
        justify-content: stretch;
    }
    .action-cell .btn,
    td .small-actions .btn,
    td form .btn {
        width: 100%;
    }
    td form {
        width: 100%;
    }
    .badge {
        width: fit-content;
        max-width: 100%;
    }
    .event-detail-summary h3,
    .integration-hero-card h2,
    .integration-panel-head h3 {
        font-size: 21px;
    }
}

@media (max-width: 640px) {
    .top-actions {
        grid-template-columns: repeat(4, 1fr);
    }
    .top-actions .pill,
    .top-actions .user-pill {
        grid-column: 1 / -1;
        width: 100%;
    }
    .icon-pill {
        width: 100%;
        min-width: 42px;
    }
    .stat-card {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    .spark {
        right: 4px;
        bottom: 4px;
        width: 86px;
        opacity: .45;
    }
    .my-ip-control {
        gap: 10px;
    }
    .my-ip-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
    .my-ip-actions .btn,
    .my-ip-actions form,
    .my-ip-actions form .btn {
        width: 100%;
    }
    .toolbar-form .field,
    .toolbar-form .select,
    .toolbar-form .btn,
    .header-actions-stack .btn,
    .modules-group-actions .btn,
    .small-actions .btn {
        flex-basis: 100%;
        width: 100%;
    }
    .mp-map-legend-box {
        width: 142px;
    }
    .mp-map-status {
        font-size: 10px;
    }
    .mp-real-threat-map .leaflet-control-zoom {
        margin-top: 72px !important;
    }
    .integration-check-item,
    .integration-rule-item {
        grid-template-columns: 34px 1fr;
        gap: 10px;
    }
    .integration-check-item span,
    .integration-rule-item span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .login-card .brand {
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .mp-main {
        padding-inline: 10px !important;
    }
    .top-left {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .hamb {
        width: 40px;
        height: 40px;
    }
    .card,
    .login-card {
        padding: 18px;
    }
    .card {
        padding: 11px;
    }
    .table-wrap td,
    .inner-log-table td {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .table-wrap td::before,
    .inner-log-table td::before {
        font-size: 9px;
    }
    .mp-tabs a {
        height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }
    .btn {
        min-height: 38px;
        height: auto;
        padding-block: 8px;
        text-align: center;
    }
    .event-detail-score strong,
    .incident-kpis b,
    .integration-mini-stat strong {
        font-size: 23px;
    }
}

/* v5.6.9 i18n language switcher */
.mp-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(13, 27, 46, .96), rgba(8, 18, 33, .94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.mp-lang-option {
    min-width: 38px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #8fa3bd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mp-lang-option:hover {
    color: #dce9ff;
    background: rgba(255,255,255,.055);
}
.mp-lang-option.is-active {
    color: #07111f;
    background: linear-gradient(135deg, #36d981, #27d6ff);
    box-shadow: 0 8px 22px rgba(39,214,255,.18);
}
.login-card .mp-language-switch {
    margin: 12px 0 18px;
    width: fit-content;
}
.settings-language-switch {
    min-width: 94px;
}
@media (max-width: 950px) {
    .topbar-language {
        grid-column: span 2;
        justify-self: stretch;
    }
    .topbar-language .mp-lang-option {
        flex: 1;
    }
}

/* Notification read-state polish */
.notification-read-card em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}
.notification-read-notice {
    border-color: rgba(54, 217, 129, 0.24);
    background: linear-gradient(135deg, rgba(54, 217, 129, 0.10), rgba(39, 214, 255, 0.06));
}
.icon-pill.notify[data-notification-unread="0"] {
    opacity: .78;
}

/* MEDPOV Security Center v5.8 - Admin 2FA */
.two-factor-card .badge.low {
    background: rgba(54, 217, 129, 0.12);
    color: #77f0aa;
    border-color: rgba(54, 217, 129, 0.28);
}
.two-factor-card .badge.medium {
    background: rgba(246, 196, 83, 0.12);
    color: #f9d77a;
    border-color: rgba(246, 196, 83, 0.28);
}
.two-factor-setup-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
    gap: 14px;
    margin-top: 14px;
}
.two-factor-secret-box,
.two-factor-status-box,
.two-factor-recovery-box {
    border: 1px solid rgba(39, 214, 255, 0.18);
    background:
        radial-gradient(circle at 12% 0%, rgba(39, 214, 255, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(13, 27, 46, 0.98), rgba(8, 20, 35, 0.96));
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}
.two-factor-secret-box small,
.two-factor-status-box small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.two-factor-secret-box strong {
    display: block;
    color: #eaffff;
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.3;
    letter-spacing: 0.12em;
    word-break: break-word;
    margin-bottom: 12px;
}
.two-factor-status-box b {
    display: block;
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}
.two-factor-status-box p,
.two-factor-recovery-box p {
    color: var(--muted);
    margin: 6px 0 0;
    line-height: 1.55;
}
.two-factor-recovery-box {
    margin-bottom: 14px;
    border-color: rgba(246, 196, 83, 0.3);
    background:
        radial-gradient(circle at 12% 0%, rgba(246, 196, 83, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(35, 28, 14, 0.7), rgba(13, 27, 46, 0.98));
}
.two-factor-recovery-box b {
    color: #fff2c2;
    font-size: 16px;
}
.two-factor-recovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}
.two-factor-recovery-grid code {
    display: block;
    border: 1px solid rgba(246, 196, 83, 0.22);
    background: rgba(0, 0, 0, 0.18);
    color: #fff6d6;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-align: center;
}
.two-factor-code-input {
    letter-spacing: 0.16em;
    font-weight: 900;
    text-align: center;
}
.two-factor-danger-actions .small-actions {
    align-items: stretch;
}
.login-card .two-factor-code-input {
    height: 48px;
    font-size: 20px;
}
@media (max-width: 900px) {
    .two-factor-setup-panel {
        grid-template-columns: 1fr;
    }
    .two-factor-recovery-grid {
        grid-template-columns: 1fr;
    }
}


/* MEDPOV Security Center v5.8 - Premium local QR 2FA setup */
.two-factor-premium-section {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    gap: 14px;
}
.two-factor-premium-card,
.two-factor-safety-card {
    position: relative;
    overflow: hidden;
}
.two-factor-premium-card::before,
.two-factor-safety-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 0%, rgba(39, 214, 255, 0.16), transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(118, 91, 255, 0.14), transparent 32%);
}
.two-factor-premium-card > *,
.two-factor-safety-card > * {
    position: relative;
    z-index: 1;
}
.two-factor-premium-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}
.two-factor-hero-copy h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -.03em;
}
.two-factor-hero-copy p {
    max-width: 780px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}
.two-factor-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #78edff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
}
.two-factor-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #27d6ff;
    box-shadow: 0 0 0 5px rgba(39, 214, 255, .12);
}
.two-factor-kicker.warning {
    color: #ffe39c;
}
.two-factor-kicker.warning::before {
    background: #f6c453;
    box-shadow: 0 0 0 5px rgba(246, 196, 83, .12);
}
.two-factor-app-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.two-factor-app-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .045);
    color: #cfe7ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}
.two-factor-hero-status {
    min-width: 210px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .045);
    border-radius: 18px;
    padding: 13px;
}
.two-factor-hero-status .badge {
    margin-bottom: 10px;
}
.two-factor-hero-status small {
    display: block;
    color: var(--muted);
    line-height: 1.45;
    font-weight: 700;
}
.two-factor-empty-state {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(39, 214, 255, .18);
    background:
        radial-gradient(circle at 0% 0%, rgba(39, 214, 255, .13), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .028));
    border-radius: 24px;
    padding: 18px;
}
.two-factor-empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #7ff2ff;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(145deg, rgba(39, 214, 255, .16), rgba(118, 91, 255, .12));
    border: 1px solid rgba(39, 214, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.22);
}
.two-factor-empty-state b {
    color: #fff;
    display: block;
    font-size: 17px;
    margin-bottom: 5px;
}
.two-factor-empty-state p {
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}
.two-factor-setup-grid {
    display: grid;
    grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
    gap: 16px;
}
.two-factor-qr-card,
.two-factor-manual-card {
    border: 1px solid rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 50% 0%, rgba(39, 214, 255, .14), transparent 34%),
        linear-gradient(180deg, rgba(13, 27, 46, .96), rgba(8, 20, 35, .94));
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
}
.two-factor-qr-card {
    text-align: center;
}
.two-factor-qr-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    border-radius: 28px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, rgba(39, 214, 255, .85), rgba(118, 91, 255, .62), rgba(54, 217, 129, .48)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 24px 70px rgba(39, 214, 255, .13),
        inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.two-factor-qr-svg {
    display: block;
    width: min(238px, 100%);
    height: auto;
    border-radius: 16px;
}
.two-factor-qr-error {
    color: #fff2c2;
    background: rgba(246, 196, 83, .12);
    border: 1px solid rgba(246, 196, 83, .24);
    border-radius: 16px;
    padding: 14px;
    line-height: 1.5;
}
.two-factor-qr-meta {
    max-width: 320px;
    margin: 14px auto 0;
}
.two-factor-qr-meta b {
    display: block;
    color: #fff;
    font-size: 17px;
    margin-bottom: 5px;
}
.two-factor-qr-meta p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}
.two-factor-qr-actions {
    justify-content: center;
    margin-top: 14px;
}
.two-factor-step-row {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.two-factor-step-row > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(39, 214, 255, .11);
    color: #78edff;
    font-size: 12px;
    font-weight: 950;
    border: 1px solid rgba(39, 214, 255, .22);
}
.two-factor-step-row b {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}
.two-factor-step-row small {
    color: var(--muted);
    line-height: 1.5;
}
.two-factor-secret-box.premium {
    margin: 0;
    border-color: rgba(39, 214, 255, .22);
    background:
        radial-gradient(circle at 0% 0%, rgba(39, 214, 255, .18), transparent 32%),
        rgba(255, 255, 255, .045);
}
.two-factor-secret-box.premium strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(15px, 1.65vw, 20px);
    letter-spacing: .09em;
}
.two-factor-confirm-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, .75fr);
    gap: 12px;
    align-items: end;
    margin-top: 14px;
}
.two-factor-status-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.two-factor-status-strip > div {
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    border-radius: 16px;
    padding: 12px;
}
.two-factor-status-strip small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 5px;
}
.two-factor-status-strip b {
    color: #fff;
    font-size: 14px;
}
.two-factor-recovery-premium {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr);
    gap: 16px;
    align-items: start;
}
.two-factor-safety-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.two-factor-safety-card .integration-check-item {
    background: rgba(255,255,255,.04);
}
@media (max-width: 1180px) {
    .two-factor-premium-section {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 840px) {
    .two-factor-premium-hero,
    .two-factor-setup-grid,
    .two-factor-recovery-premium {
        grid-template-columns: 1fr;
        display: grid;
    }
    .two-factor-hero-status {
        width: 100%;
    }
    .two-factor-empty-state {
        grid-template-columns: 1fr;
    }
    .two-factor-confirm-form,
    .two-factor-status-strip {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 520px) {
    .two-factor-premium-card,
    .two-factor-safety-card {
        padding: 16px;
    }
    .two-factor-qr-frame {
        padding: 9px;
        border-radius: 22px;
    }
    .two-factor-qr-svg {
        width: 100%;
        max-width: 230px;
    }
    .two-factor-app-pills span {
        width: 100%;
        justify-content: center;
    }
}

/* v6.0 Security Operations Center patch */
.soc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.soc-hero-card {
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}
.soc-hero-card:before {
    content: "";
    position: absolute;
    inset: -80px -120px auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 214, 255, .18), transparent 68%);
    pointer-events: none;
}
.soc-muted {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 13px;
}
.soc-section-card { margin-top: 14px; }
.soc-check-list,
.soc-recommend-list,
.soc-playbook {
    display: grid;
    gap: 10px;
}
.soc-check-item,
.soc-recommend-item,
.soc-playbook > div {
    border: 1px solid rgba(39, 214, 255, .12);
    background: rgba(5, 15, 29, .45);
    border-radius: 14px;
    padding: 13px;
}
.soc-check-item.ok { border-color: rgba(54, 217, 129, .22); }
.soc-check-item.warn { border-color: rgba(255, 154, 55, .28); }
.soc-check-item.fail { border-color: rgba(255, 64, 92, .34); }
.soc-check-main,
.soc-recommend-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.soc-check-main b,
.soc-recommend-item b,
.soc-playbook b {
    display: block;
    color: #f1f7ff;
    font-size: 13px;
    margin-bottom: 4px;
}
.soc-check-main p,
.soc-recommend-item p {
    margin: 0;
    color: #b8cae0;
    line-height: 1.55;
    font-size: 13px;
}
.soc-check-main small,
.soc-playbook span {
    display: block;
    color: #8499b5;
    margin-top: 6px;
    line-height: 1.5;
}
.soc-recommend-item form { margin-left: auto; }
.soc-playbook > div {
    border-left: 3px solid rgba(39, 214, 255, .45);
}
.soc-two-grid { align-items: start; }
.toolbar-form select {
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--line2);
    background: #0b1728;
    color: #dcecff;
    font-weight: 800;
    padding: 0 10px;
}
.small-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.action-cell .small-actions form { display: inline-flex; }
code {
    color: #aeefff;
    background: rgba(39, 214, 255, .08);
    border: 1px solid rgba(39, 214, 255, .12);
    border-radius: 7px;
    padding: 2px 5px;
}
@media (max-width: 1100px) {
    .soc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .soc-two-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .soc-stats { grid-template-columns: 1fr; }
    .soc-check-main,
    .soc-recommend-item { flex-direction: column; }
    .soc-recommend-item form { margin-left: 0; width: 100%; }
    .soc-recommend-item .btn { width: 100%; }
}

/* v6.0.2 health-audit explanation rows */
.soc-check-extra {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}
.soc-check-extra-row {
    border: 1px solid rgba(39, 214, 255, .12);
    background: rgba(6, 18, 34, .48);
    border-radius: 12px;
    padding: 9px 10px;
}
.soc-check-extra-row span {
    display: block;
    color: #7fdfff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 5px;
}
.soc-check-extra-row p {
    margin: 0;
    color: #b8cae0;
    line-height: 1.55;
    font-size: 12px;
}
.soc-check-extra-row code {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-right: 8px;
}
.mini-link {
    color: #7fdfff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}
.mini-link:hover { text-decoration: underline; }

/* Protected Site Security Badge settings */
.badge-settings-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
    gap: 14px;
    align-items: start;
}
.badge-settings-card {
    position: relative;
    overflow: hidden;
}
.badge-settings-card::before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 214, 255, 0.13), transparent 68%);
    pointer-events: none;
}
.badge-settings-card > * {
    position: relative;
    z-index: 1;
}
.badge-settings-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(39, 214, 255, 0.16);
    background: rgba(39, 214, 255, 0.08);
    color: #9ce8ff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.badge-settings-form {
    gap: 14px;
}
.badge-settings-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(104, 164, 226, 0.16);
    background: linear-gradient(180deg, rgba(12, 27, 47, 0.78), rgba(7, 17, 31, 0.68));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.badge-settings-panel h3 {
    margin: 0 0 4px;
    color: #f4f9ff;
    font-size: 15px;
    letter-spacing: -0.01em;
}
.badge-settings-panel p {
    margin: 0;
    color: #91a8c2;
    line-height: 1.55;
    font-size: 13px;
}
.badge-settings-panel code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(1, 7, 14, 0.5);
    border: 1px solid rgba(125, 166, 221, 0.12);
    color: #bff2ff;
}
.badge-settings-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}
.badge-settings-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.badge-position-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.badge-position-option {
    position: relative;
    min-height: 88px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 12px 8px 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 18px;
    border: 1px solid rgba(125, 166, 221, 0.15);
    background:
        radial-gradient(circle at var(--dot-x, 50%) var(--dot-y, 50%), rgba(39, 214, 255, 0.18), transparent 34px),
        rgba(6, 16, 30, 0.72);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.badge-position-option:nth-child(1) { --dot-x: 18%; --dot-y: 20%; }
.badge-position-option:nth-child(2) { --dot-x: 50%; --dot-y: 20%; }
.badge-position-option:nth-child(3) { --dot-x: 82%; --dot-y: 20%; }
.badge-position-option:nth-child(4) { --dot-x: 18%; --dot-y: 50%; }
.badge-position-option:nth-child(5) { --dot-x: 50%; --dot-y: 50%; }
.badge-position-option:nth-child(6) { --dot-x: 82%; --dot-y: 50%; }
.badge-position-option:nth-child(7) { --dot-x: 18%; --dot-y: 80%; }
.badge-position-option:nth-child(8) { --dot-x: 50%; --dot-y: 80%; }
.badge-position-option:nth-child(9) { --dot-x: 82%; --dot-y: 80%; }
.badge-position-option:hover,
.badge-position-option.is-active {
    transform: translateY(-2px);
    border-color: rgba(39, 214, 255, 0.42);
    background:
        radial-gradient(circle at var(--dot-x, 50%) var(--dot-y, 50%), rgba(39, 214, 255, 0.31), transparent 42px),
        linear-gradient(180deg, rgba(17, 52, 78, 0.76), rgba(7, 20, 36, 0.88));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.badge-position-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.badge-position-dot {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(39, 214, 255, 0.32);
    background: radial-gradient(circle, rgba(39, 214, 255, 0.45), rgba(39, 214, 255, 0.08) 58%, transparent 60%);
    box-shadow: 0 0 20px rgba(39, 214, 255, 0.14);
}
.badge-position-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #c8f7ff;
    box-shadow: 0 0 14px rgba(136, 238, 255, 0.9);
}
.badge-position-option b {
    color: #dff7ff;
    font-size: 12px;
    line-height: 1.25;
}
.badge-preview-card {
    position: sticky;
    top: 16px;
}
.badge-preview-stage {
    position: relative;
    min-height: 360px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(125, 166, 221, 0.16);
    background:
        radial-gradient(circle at 18% 24%, rgba(39, 214, 255, 0.14), transparent 26%),
        radial-gradient(circle at 82% 76%, rgba(46, 123, 255, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(9, 20, 36, 0.96), rgba(5, 11, 22, 0.98));
}
.badge-preview-browser {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 16px;
    border: 1px solid rgba(125, 166, 221, 0.12);
    background: rgba(255, 255, 255, 0.04);
}
.badge-preview-browser span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(180, 206, 238, 0.5);
}
.badge-preview-grid-lines {
    position: absolute;
    inset: 66px 14px 14px;
    border-radius: 18px;
    opacity: 0.6;
    background:
        linear-gradient(90deg, transparent calc(33.333% - 1px), rgba(125,166,221,.12) calc(33.333% - 1px), rgba(125,166,221,.12) calc(33.333% + 1px), transparent calc(33.333% + 1px)),
        linear-gradient(90deg, transparent calc(66.666% - 1px), rgba(125,166,221,.12) calc(66.666% - 1px), rgba(125,166,221,.12) calc(66.666% + 1px), transparent calc(66.666% + 1px)),
        linear-gradient(0deg, transparent calc(33.333% - 1px), rgba(125,166,221,.12) calc(33.333% - 1px), rgba(125,166,221,.12) calc(33.333% + 1px), transparent calc(33.333% + 1px)),
        linear-gradient(0deg, transparent calc(66.666% - 1px), rgba(125,166,221,.12) calc(66.666% - 1px), rgba(125,166,221,.12) calc(66.666% + 1px), transparent calc(66.666% + 1px));
}
.badge-preview-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
    padding: 12px 14px;
    border-radius: 999px;
    color: #eef8ff;
    background: linear-gradient(135deg, rgba(5, 14, 28, 0.86), rgba(13, 31, 54, 0.76));
    border: 1px solid rgba(102, 211, 255, 0.38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: top 0.28s ease, right 0.28s ease, bottom 0.28s ease, left 0.28s ease, transform 0.28s ease, opacity 0.2s ease;
    animation: badgePreviewPulse 2.8s ease-in-out infinite;
}
.badge-preview-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(102, 220, 255, 0.22);
    background: rgba(39, 214, 255, 0.09);
}
.badge-preview-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.badge-preview-item b {
    display: block;
    max-width: 185px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}
.badge-preview-item small {
    display: block;
    margin-top: 3px;
    color: #aeeeff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.badge-preview-stage[data-position="top-left"] .badge-preview-item { top: 76px; left: 22px; }
.badge-preview-stage[data-position="top-center"] .badge-preview-item { top: 76px; left: 50%; transform: translateX(-50%); }
.badge-preview-stage[data-position="top-right"] .badge-preview-item { top: 76px; right: 22px; }
.badge-preview-stage[data-position="middle-left"] .badge-preview-item { top: 50%; left: 22px; transform: translateY(-50%); }
.badge-preview-stage[data-position="center"] .badge-preview-item { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.badge-preview-stage[data-position="middle-right"] .badge-preview-item { top: 50%; right: 22px; transform: translateY(-50%); }
.badge-preview-stage[data-position="bottom-left"] .badge-preview-item { bottom: 22px; left: 22px; }
.badge-preview-stage[data-position="bottom-center"] .badge-preview-item { bottom: 22px; left: 50%; transform: translateX(-50%); }
.badge-preview-stage[data-position="bottom-right"] .badge-preview-item { bottom: 22px; right: 22px; }
@keyframes badgePreviewPulse {
    0%, 100% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24), 0 0 0 rgba(39, 214, 255, 0), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
    50% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24), 0 0 30px rgba(39, 214, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
}
.badge-rule-list {
    margin-top: 0;
}
@media (max-width: 1180px) {
    .badge-settings-shell {
        grid-template-columns: 1fr;
    }
    .badge-preview-card {
        position: static;
    }
}
@media (max-width: 760px) {
    .badge-settings-three,
    .badge-position-picker {
        grid-template-columns: 1fr;
    }
    .badge-position-option {
        min-height: 66px;
        grid-template-columns: 34px 1fr;
        justify-items: start;
        text-align: left;
        padding: 10px 12px;
    }
    .badge-preview-stage {
        min-height: 320px;
    }
    .badge-preview-item {
        max-width: calc(100% - 36px);
    }
}

/* MEDPOV Security Center version display */
.mp-version{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:rgba(170,213,255,.72)!important;font-size:11px;font-weight:800;letter-spacing:.02em}
.mp-version-pill{border-color:rgba(96,165,250,.28)!important;background:rgba(37,99,235,.12)!important;color:#bfdbfe!important}


/* MEDPOV Security Center - Professional Log Pages Patch */
.mp-log-pro{
    --mp-bg-a:rgba(4,12,24,.74);
    --mp-bg-b:rgba(7,22,39,.88);
    --mp-border:rgba(122,226,255,.18);
    --mp-border-strong:rgba(122,226,255,.32);
    --mp-cyan:#78e7ff;
    --mp-blue:#4f8cff;
    --mp-green:#6fffc3;
    --mp-orange:#ffbd63;
    --mp-red:#ff5c7c;
    --mp-muted:rgba(221,242,255,.68);
    position:relative;
    display:block;
    margin-top:4px;
}
.mp-log-pro:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:0;
    opacity:.35;
    background:
        radial-gradient(circle at 18% 18%, rgba(120,231,255,.12), transparent 28%),
        radial-gradient(circle at 78% 12%, rgba(79,140,255,.14), transparent 30%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 58px);
}
.mp-log-pro > *{position:relative;z-index:1}
.mp-log-hero{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
    gap:16px;
    margin-bottom:16px;
}
.mp-log-hero-main,.mp-log-hero-side,.mp-log-card,.mp-stat-card{
    border:1px solid var(--mp-border);
    background:
        linear-gradient(135deg, rgba(6,18,35,.94), rgba(8,27,48,.84)),
        radial-gradient(circle at top right, rgba(120,231,255,.16), transparent 35%);
    box-shadow:0 22px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter:blur(14px);
}
.mp-log-hero-main{
    position:relative;
    overflow:hidden;
    min-height:220px;
    padding:28px;
    border-radius:24px;
}
.mp-log-hero-main:before{
    content:"";
    position:absolute;
    right:-120px;
    top:-130px;
    width:360px;
    height:360px;
    border-radius:50%;
    border:1px solid rgba(120,231,255,.26);
    background:radial-gradient(circle, rgba(120,231,255,.12), transparent 55%);
    animation:mpRadarSpin 9s linear infinite;
}
.mp-log-hero-main:after{
    content:"";
    position:absolute;
    right:42px;
    top:34px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--mp-green);
    box-shadow:0 0 22px var(--mp-green), -70px 80px 0 rgba(120,231,255,.72), -142px 38px 0 rgba(255,92,124,.78);
    animation:mpPulse 1.8s ease-in-out infinite;
}
.mp-kicker,.mp-section-label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--mp-cyan);
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.mp-kicker:before,.mp-section-label:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--mp-cyan);
    box-shadow:0 0 16px var(--mp-cyan);
}
.mp-log-hero-main h2{
    max-width:760px;
    margin:12px 0 10px;
    color:#f7fbff;
    font-size:clamp(26px,3.2vw,44px);
    line-height:1.04;
    letter-spacing:-.045em;
}
.mp-log-hero-main p{
    max-width:760px;
    margin:0;
    color:var(--mp-muted);
    font-size:15px;
    line-height:1.72;
}
.mp-log-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    margin-top:20px;
}
.mp-log-hero-side{
    position:relative;
    overflow:hidden;
    display:flex;
    min-height:220px;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:28px;
    border-radius:24px;
}
.mp-log-hero-side:before{
    content:"";
    position:absolute;
    inset:auto -70px -100px auto;
    width:245px;
    height:245px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(79,140,255,.25), transparent 68%);
}
.mp-log-hero-side b{
    color:#fff;
    font-size:58px;
    line-height:.95;
    letter-spacing:-.06em;
}
.mp-log-hero-side span{margin-top:10px;color:#eaf8ff;font-weight:800}
.mp-log-hero-side small{margin-top:8px;color:var(--mp-muted)}
.mp-orbit-dot{
    position:absolute;
    right:30px;
    top:30px;
    width:56px;
    height:56px;
    border-radius:50%;
    border:1px solid rgba(120,231,255,.26);
    background:radial-gradient(circle, rgba(120,231,255,.17), transparent 62%);
    animation:mpFloat 3.5s ease-in-out infinite;
}
.mp-orbit-dot:after{
    content:"";
    position:absolute;
    inset:12px;
    border-radius:50%;
    background:var(--mp-cyan);
    box-shadow:0 0 24px var(--mp-cyan);
}
.mp-stat-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-bottom:16px;
}
.mp-stat-card{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:118px;
    padding:18px!important;
    border-radius:20px!important;
    overflow:hidden;
}
.mp-stat-card div{display:flex;flex-direction:column;gap:4px}
.mp-stat-card small{color:var(--mp-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.mp-stat-card b{color:#fff;font-size:34px;line-height:1;letter-spacing:-.04em}
.mp-stat-card span{color:rgba(234,248,255,.62);font-size:12px}
.mp-stat-card .badge,.mp-stat-card a.badge{font-style:normal;text-decoration:none;white-space:nowrap}
.mp-log-layout{align-items:start;margin-top:14px}
.mp-log-card{
    border-radius:22px!important;
    overflow:hidden;
}
.mp-feed-card{min-width:0}
.mp-card-header-pro{
    align-items:flex-start!important;
    gap:16px;
    padding:18px 18px 14px!important;
    border-bottom:1px solid rgba(122,226,255,.12);
}
.mp-card-header-pro h2{margin:5px 0 4px!important;color:#f7fbff;letter-spacing:-.02em}
.mp-card-header-pro small{color:var(--mp-muted)!important;line-height:1.5}
.mp-filter-bar{
    display:flex!important;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:center;
    gap:8px!important;
    min-width:min(100%,540px);
}
.mp-filter-bar .select{min-width:160px!important}
.mp-filter-bar input{min-width:260px!important;flex:1 1 260px}
.mp-filter-bar button,.mp-filter-bar .btn{height:39px;display:inline-flex;align-items:center;justify-content:center}
.mp-log-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 18px;
    border-bottom:1px solid rgba(122,226,255,.1);
    color:var(--mp-muted);
    font-size:12px;
}
.mp-log-pagination.single{border-top:0}
.mp-log-pages{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.mp-page-btn,.mp-page-dots{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    height:34px;
    padding:0 10px;
    border-radius:12px;
    border:1px solid rgba(122,226,255,.18);
    background:rgba(255,255,255,.04);
    color:#dff8ff;
    text-decoration:none;
    font-weight:800;
    transition:.2s ease;
}
.mp-page-btn:hover{transform:translateY(-1px);border-color:var(--mp-border-strong);box-shadow:0 0 20px rgba(120,231,255,.12)}
.mp-page-btn.active{background:linear-gradient(135deg, rgba(120,231,255,.25), rgba(79,140,255,.25));border-color:rgba(120,231,255,.45);color:#fff}
.mp-page-btn.disabled{opacity:.42;pointer-events:none}
.mp-page-dots{border-color:transparent;background:transparent;color:rgba(221,242,255,.5)}
.mp-pro-table-wrap{
    max-height:none!important;
    border-radius:0!important;
}
.mp-pro-table{min-width:940px}
.mp-pro-table thead th{
    position:sticky;
    top:0;
    z-index:2;
    background:rgba(5,17,31,.96)!important;
    border-bottom:1px solid rgba(122,226,255,.16)!important;
    color:rgba(234,248,255,.78)!important;
    font-size:11px!important;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.mp-pro-table tbody tr{transition:.18s ease}
.mp-pro-table tbody tr:hover{background:rgba(120,231,255,.055)!important}
.mp-pro-table td{vertical-align:middle!important}
.mp-time-cell{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;color:#dff8ff;font-size:12px;white-space:nowrap}
.mp-ip-link{color:#dff8ff;text-decoration:none;font-weight:800}
.mp-ip-link:hover{color:var(--mp-cyan);text-decoration:underline}
.mp-side-panel{padding:18px!important}
.mp-side-panel .mp-card-header-pro{padding:0 0 14px!important}
.mp-source-list{gap:10px!important;margin-top:14px}
.mp-source-row{
    border:1px solid rgba(122,226,255,.12);
    background:rgba(255,255,255,.035);
    border-radius:16px;
    padding:13px!important;
}
.mp-info-panel{
    margin-top:18px;
    padding:16px;
    border-radius:18px;
    border:1px solid rgba(122,226,255,.14);
    background:linear-gradient(135deg,rgba(120,231,255,.075),rgba(255,255,255,.03));
}
.mp-info-panel p{margin:10px 0;color:var(--mp-muted);line-height:1.65}
.mp-info-panel ul{margin:10px 0 0;padding-left:18px;color:rgba(234,248,255,.7);line-height:1.8;font-size:13px}
.mp-read-notice{margin:0 0 14px!important;border-color:rgba(120,231,255,.18)!important;background:rgba(120,231,255,.08)!important}
.mp-type-badge{text-transform:uppercase}
@keyframes mpPulse{0%,100%{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}
@keyframes mpFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
@keyframes mpRadarSpin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
@media (max-width:1180px){
    .mp-log-hero{grid-template-columns:1fr}
    .mp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mp-filter-bar{justify-content:flex-start;min-width:100%}
}
@media (max-width:760px){
    .mp-log-hero-main,.mp-log-hero-side{padding:20px;border-radius:20px}
    .mp-log-hero-main h2{font-size:28px}
    .mp-log-hero-side b{font-size:44px}
    .mp-stat-grid{grid-template-columns:1fr}
    .mp-log-pagination{align-items:flex-start;flex-direction:column}
    .mp-log-pages{justify-content:flex-start}
    .mp-filter-bar input,.mp-filter-bar .select,.mp-filter-bar button,.mp-filter-bar .btn{width:100%;min-width:0!important}
}


/* MEDPOV Security Center - Events / Traffic Professional Pages Add-on
   Append this block to: main/security-center/public/assets/css/app.css
   Requires the previous mp-log-pro base styles already added for login-history/logs pages. */

.mp-events-page .mp-log-hero-main,
.mp-global-traffic-page .mp-log-hero-main,
.mp-live-traffic-page .mp-log-hero-main{
    min-height:230px;
}

.mp-events-page .mp-stat-card,
.mp-global-traffic-page .mp-stat-card,
.mp-live-traffic-page .mp-stat-card{
    position:relative;
}

.mp-events-page .mp-stat-card:after,
.mp-global-traffic-page .mp-stat-card:after,
.mp-live-traffic-page .mp-stat-card:after{
    content:"";
    position:absolute;
    inset:auto 14px 12px 14px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(120,231,255,.36),transparent);
    opacity:.65;
}

.mp-chart-pro-card{
    margin-top:14px;
}

.mp-pro-chart-box{
    height:360px!important;
    margin:0 18px 18px;
    padding:16px;
    border-radius:20px;
    border:1px solid rgba(122,226,255,.14);
    background:linear-gradient(135deg,rgba(3,13,27,.62),rgba(8,27,48,.42));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.mp-detail-pro-card{
    margin-bottom:14px;
}

.mp-detail-pro-card .event-detail-hero,
.mp-events-page .event-detail-hero{
    margin:18px;
    padding:18px;
    border-radius:22px;
    border:1px solid rgba(122,226,255,.14);
    background:linear-gradient(135deg,rgba(120,231,255,.08),rgba(255,255,255,.03));
}

.mp-detail-pro-card .event-detail-grid,
.mp-events-page .event-detail-grid{
    margin:0 18px 18px;
}

.mp-detail-pro-card .event-detail-panels,
.mp-events-page .event-detail-panels{
    margin:0 18px 18px;
}

.mp-detail-pro-card .detail-code,
.mp-events-page .detail-code{
    max-height:260px;
    overflow:auto;
    white-space:pre-wrap;
    word-break:break-word;
}

.mp-events-page .toolbar-form.mp-filter-bar,
.mp-global-traffic-page .toolbar-form.mp-filter-bar,
.mp-live-traffic-page .toolbar-form.mp-filter-bar{
    max-width:980px;
}

.mp-events-page .toolbar-form.mp-filter-bar .field,
.mp-global-traffic-page .toolbar-form.mp-filter-bar .field,
.mp-live-traffic-page .toolbar-form.mp-filter-bar .field{
    min-width:240px!important;
}

.mp-events-page .toolbar-form.mp-filter-bar .select,
.mp-global-traffic-page .toolbar-form.mp-filter-bar .select,
.mp-live-traffic-page .toolbar-form.mp-filter-bar .select{
    min-width:142px!important;
}

.mp-events-page .header-actions-stack,
.mp-global-traffic-page .header-actions-stack,
.mp-live-traffic-page .header-actions-stack{
    align-items:flex-end;
}

.mp-events-page .inline-form,
.mp-live-traffic-page .inline-form{
    display:flex;
    justify-content:flex-end;
    gap:8px;
}

.mp-events-page .mp-pro-table,
.mp-global-traffic-page .mp-pro-table,
.mp-live-traffic-page .mp-pro-table{
    min-width:1040px;
}

.mp-events-page .inner-log-table,
.mp-global-traffic-page .inner-log-table,
.mp-live-traffic-page .inner-log-table{
    min-width:780px;
}

.mp-events-page .group-detail-cell,
.mp-global-traffic-page .group-detail-cell,
.mp-live-traffic-page .group-detail-cell{
    background:rgba(2,9,20,.46)!important;
}

.mp-events-page .inner-log-table-wrap,
.mp-global-traffic-page .inner-log-table-wrap,
.mp-live-traffic-page .inner-log-table-wrap{
    border:1px solid rgba(122,226,255,.12);
    border-radius:16px;
    overflow:auto;
    background:rgba(255,255,255,.025);
}

.mp-events-page .group-summary-row,
.mp-global-traffic-page .group-summary-row,
.mp-live-traffic-page .group-summary-row{
    background:linear-gradient(90deg,rgba(120,231,255,.035),transparent)!important;
}

.mp-events-page .selected-row,
.mp-global-traffic-page .selected-row,
.mp-live-traffic-page .selected-row{
    outline:1px solid rgba(120,231,255,.42);
    background:rgba(120,231,255,.09)!important;
}

.mp-events-page .metric-badge,
.mp-global-traffic-page .metric-badge,
.mp-live-traffic-page .metric-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 10px;
    border-radius:999px;
    border:1px solid rgba(122,226,255,.18);
    background:rgba(120,231,255,.08);
    color:#dff8ff;
    font-weight:800;
    font-size:12px;
    white-space:nowrap;
}

.mp-events-page .metric-stack,
.mp-global-traffic-page .metric-stack,
.mp-live-traffic-page .metric-stack{
    display:flex;
    min-width:0;
    flex-direction:column;
    gap:4px;
}

.mp-events-page .metric-stack b,
.mp-global-traffic-page .metric-stack b,
.mp-live-traffic-page .metric-stack b{
    color:#f5fbff;
    font-size:13px;
    line-height:1.25;
}

.mp-events-page .metric-stack small,
.mp-global-traffic-page .metric-stack small,
.mp-live-traffic-page .metric-stack small{
    color:rgba(221,242,255,.58);
    font-size:11px;
    line-height:1.35;
}

.mp-events-page .action-cell,
.mp-global-traffic-page .action-cell,
.mp-live-traffic-page .action-cell{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
}

.mp-events-page .badge.allowed,
.mp-global-traffic-page .badge.allowed,
.mp-live-traffic-page .badge.allowed{
    background:rgba(111,255,195,.12)!important;
    color:#9dffd7!important;
    border-color:rgba(111,255,195,.28)!important;
}

.mp-events-page .badge.blocked,
.mp-global-traffic-page .badge.blocked,
.mp-live-traffic-page .badge.blocked,
.mp-events-page .badge.blocked_resolved{
    background:rgba(255,92,124,.12)!important;
    color:#ffb6c4!important;
    border-color:rgba(255,92,124,.3)!important;
}

.mp-events-page .badge.logged{
    background:rgba(120,231,255,.1)!important;
    color:#bdf5ff!important;
    border-color:rgba(120,231,255,.24)!important;
}

.mp-global-traffic-page .dashboard-control-grid.mp-log-layout{
    margin-top:14px;
}

.mp-global-traffic-page .mp-source-list{
    padding:0 18px 18px;
}

@media (max-width:1180px){
    .mp-events-page .header-actions-stack,
    .mp-global-traffic-page .header-actions-stack,
    .mp-live-traffic-page .header-actions-stack{
        width:100%;
        align-items:stretch;
    }
    .mp-events-page .inline-form,
    .mp-live-traffic-page .inline-form{
        justify-content:flex-start;
    }
    .mp-pro-chart-box{
        height:320px!important;
    }
}

@media (max-width:760px){
    .mp-pro-chart-box{
        height:280px!important;
        margin:0 12px 12px;
        padding:10px;
        border-radius:16px;
    }
    .mp-detail-pro-card .event-detail-hero,
    .mp-events-page .event-detail-hero,
    .mp-detail-pro-card .event-detail-grid,
    .mp-events-page .event-detail-grid,
    .mp-detail-pro-card .event-detail-panels,
    .mp-events-page .event-detail-panels{
        margin-left:12px;
        margin-right:12px;
    }
    .mp-events-page .inline-form .btn,
    .mp-live-traffic-page .inline-form .btn{
        width:100%;
    }
}

/* === MEDPOV Security Center v6.0.8-9 Dashboard polish + responsive rail fix === */
body.mp-body,
.mp-shell,
.mp-main {
    max-width: 100%;
    overflow-x: clip;
}
.mp-main {
    min-width: 0;
}
.enhanced-main-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1.72fr) minmax(340px, 0.82fr) !important;
    align-items: stretch !important;
}
.enhanced-main-grid > *,
.incident-rail,
.incident-rail > *,
.enhanced-map-card,
.dashboard-control-grid > .card {
    min-width: 0;
}
.incident-rail {
    width: 100%;
    overflow: hidden;
    align-content: start;
    gap: 12px;
}
.my-ip-control {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 46px;
    padding: 8px 10px !important;
    overflow: hidden;
}
.my-ip-left {
    min-width: 0;
    flex: 1 1 auto;
}
.my-ip-left strong,
.my-ip-left b,
.my-ip-left small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.my-ip-left small {
    max-width: 180px;
}
.my-ip-actions {
    flex: 0 0 auto;
}
.incident-card {
    width: 100%;
    max-width: 100%;
    border-color: rgba(120, 231, 255, .16);
    background:
        radial-gradient(circle at 92% 8%, rgba(39,214,255,.12), transparent 30%),
        linear-gradient(180deg, rgba(13,31,53,.92), rgba(7,18,32,.92));
}
.incident-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.incident-kpis > div,
.incident-foot span {
    min-width: 0;
}
.dashboard-control-grid {
    grid-template-columns: minmax(280px, 1.02fr) minmax(240px, .9fr) minmax(320px, 1fr) minmax(280px, .95fr) !important;
}
.dashboard-control-grid .card:nth-child(3) {
    overflow: hidden;
}
.dashboard-control-grid .card:nth-child(3) .health-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}
.dashboard-control-grid .card:nth-child(3) .health-row > span:first-child {
    min-width: 0;
}
.dashboard-control-grid .card:nth-child(3) .health-row > span:first-child b {
    display: block;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dashboard-control-grid .card:nth-child(3) .health-row > span:first-child small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    color: #9eb6d1;
}
.dashboard-control-grid .card:nth-child(3) .badge {
    width: 52px;
    height: 52px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    flex: 0 0 52px;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    word-break: normal;
    overflow-wrap: normal;
    white-space: nowrap;
    letter-spacing: .02em;
    box-shadow: 0 10px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.03);
}
.dashboard-control-grid .card:nth-child(3) .badge.block,
.dashboard-control-grid .card:nth-child(3) .badge.blocked {
    color: #7dffc0;
    border-color: rgba(255, 76, 122, .42);
    background: radial-gradient(circle at 50% 20%, rgba(255,76,122,.24), rgba(255,76,122,.12));
}
.dashboard-control-grid .card:nth-child(3) .badge.allow,
.dashboard-control-grid .card:nth-child(3) .badge.allowed,
.dashboard-control-grid .card:nth-child(3) .badge.ignore {
    color: #7dffc0;
}
.card,
.stat-card {
    box-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025);
}
.card:hover,
.stat-card:hover {
    border-color: rgba(120,231,255,.22);
}
@media (max-width: 1680px) {
    .enhanced-main-grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(330px, .9fr) !important;
    }
    .dashboard-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 1320px) {
    .enhanced-main-grid {
        grid-template-columns: 1fr !important;
    }
    .incident-rail {
        grid-template-columns: 1fr;
    }
    .incident-card {
        height: auto !important;
    }
    .incident-chart {
        height: 210px !important;
        min-height: 210px !important;
    }
}
@media (max-width: 760px) {
    .dashboard-control-grid {
        grid-template-columns: 1fr !important;
    }
    .my-ip-control {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .my-ip-actions,
    .my-ip-actions .btn,
    .inline-form {
        width: 100%;
    }
    .my-ip-actions .btn {
        justify-content: center;
    }
    .my-ip-left {
        flex-wrap: wrap !important;
    }
    .my-ip-left small {
        max-width: 100%;
        flex-basis: 100%;
    }
    .incident-kpis,
    .incident-foot {
        grid-template-columns: 1fr !important;
    }
    .dashboard-control-grid .card:nth-child(3) .badge {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 9px;
    }
}

/* IP Rules page */
.mp-ip-rules-header {
    align-items: flex-start;
    gap: 18px;
}

.mp-ip-filter-form {
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 520px;
}

.mp-ip-filter-form .field {
    min-width: 220px;
}

.mp-ip-filter-form .select {
    min-width: 180px;
}

.mp-ip-filter-form .btn {
    min-width: 140px;
}

.mp-ip-rules-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.mp-ip-rules-table {
    width: 100%;
    min-width: 1280px;
    table-layout: fixed;
}

.mp-ip-rules-table th,
.mp-ip-rules-table td {
    vertical-align: middle;
}

.mp-ip-rules-table th {
    white-space: nowrap;
}

.mp-ip-rules-table .col-ip {
    width: 140px;
}

.mp-ip-rules-table .col-rule {
    width: 120px;
    text-align: center;
}

.mp-ip-rules-table .col-reason {
    width: auto;
}

.mp-ip-rules-table .col-hits {
    width: 80px;
    text-align: center;
}

.mp-ip-rules-table .col-expires {
    width: 160px;
}

.mp-ip-rules-table .col-created {
    width: 160px;
}

.mp-ip-rules-table .col-action {
    width: 110px;
    text-align: center;
}

.mp-ip-cell strong {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.mp-rule-cell {
    text-align: center;
}

.mp-rule-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 30px;
    padding: 0 12px;
    white-space: nowrap;
    word-break: normal;
    line-height: 1;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mp-reason-cell {
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: anywhere;
}

.mp-center-cell {
    text-align: center;
    white-space: nowrap;
}

.mp-date-cell {
    white-space: normal;
    word-break: normal;
    line-height: 1.35;
}

.mp-action-cell {
    text-align: center;
    white-space: nowrap;
}

.mp-action-cell form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.mp-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 34px;
    padding: 0 14px;
    white-space: nowrap;
    line-height: 1;
}

.mp-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.mp-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mp-pagination .disabled {
    opacity: .45;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .mp-ip-rules-header {
        flex-direction: column;
    }

    .mp-ip-filter-form {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .mp-ip-filter-form .field,
    .mp-ip-filter-form .select,
    .mp-ip-filter-form .btn {
        min-width: 180px;
        flex: 1 1 180px;
    }
}

/* =========================================================
   MEDPOV Global Real Brand Icon - Admin / Login / Install
   ========================================================= */

.brand-shield-real,
.brand-shield {
    overflow: visible;
}

.brand-shield-real {
    background: transparent !important;
    border-color: rgba(39, 214, 255, .24) !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 0 32px rgba(39,214,255,.16) !important;
}

.brand-shield-real::before,
.brand-shield-real::after {
    display: none !important;
    content: none !important;
}

.mpsec-brand-icon-img {
    display: block;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
}

.mpsec-brand-icon-img--admin-brand,
.mpsec-brand-icon-img--login,
.mpsec-brand-icon-img--install {
    width: 42px;
    height: 42px;
    filter:
        drop-shadow(0 0 8px rgba(39,214,255,.55))
        drop-shadow(0 0 18px rgba(47,123,255,.28));
}

.mpsec-brand-icon-img--inline {
    width: 19px;
    height: 19px;
    filter:
        drop-shadow(0 0 5px rgba(39,214,255,.45))
        drop-shadow(0 0 10px rgba(47,123,255,.22));
}

.nav-svg-icon .mpsec-brand-icon-img,
.stat-icon .mpsec-brand-icon-img {
    width: 20px;
    height: 20px;
}

.brand-shield svg {
    display: none !important;
}

@media (max-width: 760px) {
    .mpsec-brand-icon-img--admin-brand,
    .mpsec-brand-icon-img--login,
    .mpsec-brand-icon-img--install {
        width: 38px;
        height: 38px;
    }
}

/* MEDPOV F.R.I.D.A.Y Center page */
.friday-hero{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:20px;
    align-items:stretch;
    margin:0 0 18px;
}
.friday-hero-copy,
.friday-core-card,
.friday-card{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(126,219,255,.14);
    background:
        radial-gradient(circle at 10% 10%, rgba(39,214,255,.18), transparent 32%),
        linear-gradient(145deg, rgba(11,22,41,.92), rgba(7,12,25,.96));
    box-shadow:0 20px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
}
.friday-hero-copy{
    border-radius:26px;
    padding:28px;
}
.friday-hero-copy::after,
.friday-core-card::after,
.friday-card::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,.05), transparent);
    transform:translateX(-100%);
    animation:fridaySheen 8s linear infinite;
}
@keyframes fridaySheen{0%,60%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.friday-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border:1px solid rgba(39,214,255,.22);
    border-radius:999px;
    color:#8ee7ff;
    background:rgba(39,214,255,.08);
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.friday-hero h2{
    margin:16px 0 10px;
    font-size:clamp(28px,4vw,48px);
    line-height:1.02;
    max-width:820px;
}
.friday-hero p{
    margin:0;
    color:var(--muted);
    max-width:850px;
    line-height:1.7;
}
.friday-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}
.friday-core-card{
    border-radius:26px;
    padding:24px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:260px;
}
.friday-core-card small{
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:800;
    font-size:11px;
}
.friday-core-card strong{
    display:block;
    margin-top:8px;
    font-size:26px;
}
.friday-core-card p{font-size:13px;margin-top:10px;}
.friday-core-orb{
    position:relative;
    width:124px;
    height:124px;
    border-radius:50%;
    display:grid;
    place-items:center;
    margin-left:auto;
    background:radial-gradient(circle, rgba(39,214,255,.18), rgba(39,214,255,.04) 58%, transparent 61%);
    box-shadow:0 0 60px rgba(39,214,255,.15);
}
.friday-core-orb::before,
.friday-core-orb::after,
.friday-core-orb span,
.friday-core-orb i{
    content:"";
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(126,219,255,.5);
}
.friday-core-orb::before{inset:10px;animation:fridaySpin 9s linear infinite;border-style:dashed;}
.friday-core-orb::after{inset:26px;border-color:rgba(255,255,255,.18);animation:fridayPulse 2.4s ease-in-out infinite;}
.friday-core-orb span{inset:42px;background:linear-gradient(145deg, rgba(39,214,255,.55), rgba(124,92,255,.45));box-shadow:0 0 24px rgba(39,214,255,.45);border:0;}
.friday-core-orb i{inset:0;border-color:rgba(124,92,255,.35);animation:fridaySpin 14s linear reverse infinite;}
.friday-core-card.is-waiting .friday-core-orb{filter:saturate(.55);opacity:.78;}
@keyframes fridaySpin{to{transform:rotate(360deg)}}
@keyframes fridayPulse{0%,100%{transform:scale(.92);opacity:.45}50%{transform:scale(1.04);opacity:1}}
.friday-stats{margin-bottom:18px;}
.friday-main-grid{align-items:start;margin-top:18px;}
.friday-card{border-radius:22px;}
.friday-cap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.friday-capability{
    display:grid;
    grid-template-columns:48px 1fr;
    gap:14px;
    padding:16px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.035);
}
.friday-capability-icon{
    width:48px;height:48px;border-radius:16px;display:grid;place-items:center;
    color:#9beaff;background:rgba(39,214,255,.09);border:1px solid rgba(39,214,255,.18);
    font-size:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.friday-capability h3{margin:0 0 8px;font-size:15px;}
.friday-capability ul{margin:0;padding-left:18px;color:var(--muted);line-height:1.55;font-size:13px;}
.friday-command-list{display:grid;gap:10px;}
.friday-command-row{
    display:grid;
    grid-template-columns:180px 1fr;
    gap:12px;
    align-items:center;
    padding:12px;
    border-radius:16px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.07);
}
.friday-command-row code,
.friday-connection-box code{
    display:inline-flex;
    max-width:100%;
    overflow:auto;
    padding:7px 9px;
    border-radius:10px;
    color:#b9f2ff;
    background:rgba(0,0,0,.24);
    border:1px solid rgba(126,219,255,.12);
    white-space:nowrap;
}
.friday-command-row span{color:var(--muted);font-size:13px;line-height:1.45;}
.friday-connection-box{display:grid;gap:12px;}
.friday-connection-box>div{
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:12px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:16px;
    background:rgba(255,255,255,.035);
}
.friday-connection-box span{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;}
.friday-notice{margin-top:14px;}
.friday-table-wrap{max-height:360px;overflow:auto;}
.friday-history-card{margin-top:18px;}
.friday-timeline{position:relative;display:grid;gap:12px;}
.friday-timeline::before{
    content:"";position:absolute;left:17px;top:12px;bottom:12px;width:1px;
    background:linear-gradient(180deg, rgba(39,214,255,.35), rgba(124,92,255,.12));
}
.friday-timeline-item{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;}
.friday-timeline-dot{
    position:relative;z-index:1;width:34px;height:34px;border-radius:50%;
    background:rgba(39,214,255,.1);border:1px solid rgba(39,214,255,.28);
    box-shadow:0 0 24px rgba(39,214,255,.13);
}
.friday-timeline-item.write .friday-timeline-dot{background:rgba(255,189,89,.1);border-color:rgba(255,189,89,.3);box-shadow:0 0 24px rgba(255,189,89,.12);}
.friday-timeline-body{
    padding:14px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.035);
}
.friday-timeline-head{display:flex;justify-content:space-between;gap:12px;align-items:center;}
.friday-timeline-body p{margin:8px 0;color:var(--muted);font-size:13px;line-height:1.5;}
.friday-timeline-body small{display:block;color:#dceeff;margin-bottom:8px;}
.friday-timeline-body em{display:block;color:var(--muted);font-size:12px;font-style:normal;}
.friday-empty{border:1px dashed rgba(126,219,255,.22);border-radius:18px;}
@media (max-width:1180px){
    .friday-hero{grid-template-columns:1fr;}
    .friday-core-card{min-height:210px;}
    .friday-core-orb{margin:0;}
}
@media (max-width:760px){
    .friday-hero-copy{padding:20px;}
    .friday-cap-grid{grid-template-columns:1fr;}
    .friday-command-row,
    .friday-connection-box>div{grid-template-columns:1fr;}
    .friday-core-card{min-height:0;gap:18px;}
    .friday-core-orb{width:104px;height:104px;}
}


/* =========================================================
   MEDPOV F.R.I.D.A.Y CENTER
   Path: public/assets/css/app.css
   ========================================================= */


.mp-friday-page,
.mp-friday-page * {
    box-sizing: border-box;
}

.mp-friday-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 8%, rgba(0, 255, 209, .12), transparent 34%),
        radial-gradient(circle at 8% 12%, rgba(31, 183, 255, .1), transparent 34%),
        linear-gradient(135deg, rgba(2, 10, 22, .98), rgba(4, 16, 32, .96));
}

.mp-friday-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .32;
    background-image:
        linear-gradient(rgba(51, 225, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 225, 255, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 72%);
}

.mp-friday-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 22px;
    min-height: 390px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(37, 227, 255, .28);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(7, 23, 43, .96), rgba(4, 12, 24, .91)),
        radial-gradient(circle at 80% 42%, rgba(41, 255, 206, .15), transparent 32%);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 255, 255, .07);
}

.mp-friday-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .86;
    background:
        radial-gradient(circle at 74% 44%, rgba(0, 255, 204, .12), transparent 25%),
        linear-gradient(90deg, rgba(5, 18, 34, .2), rgba(7, 31, 54, .1), rgba(0, 0, 0, 0)),
        repeating-linear-gradient(90deg, rgba(28, 231, 255, .055) 0 1px, transparent 1px 62px),
        repeating-linear-gradient(0deg, rgba(28, 231, 255, .035) 0 1px, transparent 1px 48px);
}

.mp-friday-hero-bg::before,
.mp-friday-hero-bg::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(33, 238, 255, .36);
    opacity: .82;
}

.mp-friday-hero-bg::before {
    top: 18px;
    left: 18px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 18px 0 0 0;
}

.mp-friday-hero-bg::after {
    right: 18px;
    bottom: 18px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 18px 0;
}

.mp-friday-hero-copy,
.mp-friday-core-panel {
    position: relative;
    z-index: 2;
}

.mp-friday-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.mp-friday-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    margin-bottom: 18px;
    color: var(--friday-green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mp-friday-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--friday-green);
    box-shadow: 0 0 0 5px rgba(49, 255, 179, .12), 0 0 22px rgba(49, 255, 179, .8);
    animation: mpFridayPulse 1.65s ease-in-out infinite;
}

.mp-friday-hero h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.8vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
    text-shadow: 0 0 26px rgba(86, 218, 255, .16);
}

.mp-friday-hero-copy > p {
    max-width: 700px;
    margin: 18px 0 0;
    color: #c2d4e8;
    font-size: 15px;
    line-height: 1.78;
}

.mp-friday-last-seen {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    width: min(720px, 100%);
    margin-top: 22px;
    padding: 12px 14px;
    border: 1px solid rgba(34, 219, 255, .18);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(5, 27, 48, .92), rgba(6, 18, 32, .62));
    color: #b7c9dc;
}

.mp-friday-last-seen span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--friday-cyan);
}

.mp-friday-last-seen svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-friday-last-seen strong {
    color: #eaf7ff;
    font-size: 13px;
}

.mp-friday-last-seen em {
    color: #a9bfd6;
    font-size: 13px;
    font-style: normal;
}

.mp-friday-hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
    width: min(780px, 100%);
    margin-top: 18px;
}

.mp-friday-hero-metrics article {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(39, 219, 255, .2);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(8, 31, 53, .86), rgba(4, 14, 27, .76));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.mp-friday-hero-metrics article span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--friday-cyan);
    border: 1px solid rgba(43, 235, 255, .28);
    border-radius: 13px;
    background: rgba(25, 209, 255, .09);
    box-shadow: inset 0 0 18px rgba(31, 233, 255, .08);
}

.mp-friday-hero-metrics svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-friday-hero-metrics small {
    color: #91a8bd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-friday-hero-metrics strong {
    overflow: hidden;
    color: var(--friday-green);
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-friday-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.mp-friday-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    color: #dcf7ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mp-friday-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.mp-friday-btn.primary {
    border: 1px solid rgba(49, 255, 179, .42);
    background:
        linear-gradient(135deg, rgba(13, 212, 157, .32), rgba(15, 107, 255, .16));
    box-shadow: 0 12px 30px rgba(0, 255, 201, .12);
}

.mp-friday-btn.ghost {
    border: 1px solid rgba(42, 218, 255, .24);
    background: rgba(8, 31, 53, .48);
}

.mp-friday-btn.primary:hover,
.mp-friday-btn.ghost:hover {
    border-color: rgba(49, 255, 220, .64);
    box-shadow: 0 16px 42px rgba(0, 218, 255, .16);
}

.mp-friday-core-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.mp-friday-core-status {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.mp-friday-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(49, 255, 179, .28);
    border-radius: 999px;
    background: rgba(6, 24, 39, .72);
    color: var(--friday-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-friday-status-pill i {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: currentColor;
    box-shadow: 0 0 18px currentColor;
}

.mp-friday-orbit-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: min(430px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    filter: drop-shadow(0 0 36px rgba(0, 255, 198, .24));
}

.mp-friday-orbit-glow {
    position: absolute;
    inset: 18%;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(49, 255, 179, .36), rgba(24, 232, 255, .1) 38%, transparent 70%);
    filter: blur(12px);
    animation: mpFridayBreath 2.8s ease-in-out infinite;
}

.mp-friday-ring {
    position: absolute;
    inset: var(--inset, 0);
    border-radius: 999px;
    pointer-events: none;
}

.mp-friday-ring::before,
.mp-friday-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.mp-friday-ring.ring-a {
    --inset: 0;
    border: 1px solid rgba(49, 255, 209, .34);
    animation: mpFridaySpin 18s linear infinite;
}

.mp-friday-ring.ring-a::before {
    background:
        conic-gradient(
            from 0deg,
            transparent 0 14deg,
            rgba(49, 255, 190, .95) 15deg 48deg,
            transparent 49deg 82deg,
            rgba(31, 233, 255, .85) 83deg 102deg,
            transparent 103deg 154deg,
            rgba(49, 255, 190, .78) 155deg 196deg,
            transparent 197deg 256deg,
            rgba(31, 233, 255, .88) 257deg 284deg,
            transparent 285deg 360deg
        );
    mask: radial-gradient(circle, transparent 66%, #000 67%, #000 73%, transparent 74%);
    filter: drop-shadow(0 0 12px rgba(49, 255, 209, .82));
}

.mp-friday-ring.ring-b {
    --inset: 28px;
    border: 1px dashed rgba(36, 225, 255, .22);
    animation: mpFridaySpinReverse 12s linear infinite;
}

.mp-friday-ring.ring-b::before {
    background:
        conic-gradient(
            transparent 0 22deg,
            rgba(33, 255, 202, .82) 23deg 44deg,
            transparent 45deg 96deg,
            rgba(33, 255, 202, .62) 97deg 118deg,
            transparent 119deg 180deg,
            rgba(33, 255, 202, .82) 181deg 215deg,
            transparent 216deg 300deg,
            rgba(33, 255, 202, .72) 301deg 330deg,
            transparent 331deg 360deg
        );
    mask: radial-gradient(circle, transparent 60%, #000 61%, #000 69%, transparent 70%);
}

.mp-friday-ring.ring-c {
    --inset: 58px;
    animation: mpFridaySpin 9s linear infinite;
}

.mp-friday-ring.ring-c::before {
    background:
        repeating-conic-gradient(
            from 8deg,
            rgba(83, 255, 214, .75) 0 2deg,
            transparent 2deg 7deg
        );
    mask: radial-gradient(circle, transparent 75%, #000 76%, #000 78%, transparent 79%);
    opacity: .72;
}

.mp-friday-ring.ring-d {
    --inset: 88px;
    border: 1px solid rgba(0, 198, 255, .22);
    animation: mpFridaySpinReverse 20s linear infinite;
}

.mp-friday-ring.ring-d::before {
    background:
        conic-gradient(
            from 90deg,
            transparent 0 36deg,
            rgba(0, 225, 255, .58) 37deg 55deg,
            transparent 56deg 128deg,
            rgba(55, 255, 181, .52) 129deg 155deg,
            transparent 156deg 244deg,
            rgba(0, 225, 255, .58) 245deg 266deg,
            transparent 267deg 360deg
        );
    mask: radial-gradient(circle, transparent 58%, #000 59%, #000 64%, transparent 65%);
}

.mp-friday-ring.ring-e {
    --inset: 124px;
    border: 1px solid rgba(49, 255, 179, .16);
    box-shadow: inset 0 0 24px rgba(49, 255, 179, .1);
    animation: mpFridayBreath 3.5s ease-in-out infinite;
}

.mp-friday-scanline {
    position: absolute;
    left: 50%;
    top: 5%;
    width: 1px;
    height: 90%;
    background: linear-gradient(180deg, transparent, rgba(49, 255, 209, .42), transparent);
    transform-origin: 50% 50%;
    animation: mpFridaySpin 5.8s linear infinite;
    box-shadow: 0 0 22px rgba(49, 255, 209, .48);
}


.mp-friday-core::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: inherit;
    border: 1px solid rgba(49, 255, 209, .16);
    background:
        linear-gradient(rgba(49, 255, 209, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 255, 209, .06) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .52;
}

.mp-friday-core strong,
.mp-friday-core small {
    position: relative;
    z-index: 3;
    display: block;
    text-align: center;
}

.mp-friday-core strong {
    color: #fff;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 1000;
    letter-spacing: .08em;
    text-shadow: 0 0 18px rgba(49, 255, 209, .52);
}

.mp-friday-core small {
    margin-top: 7px;
    color: #dffcff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.mp-friday-core-footer {
    width: min(420px, 100%);
    margin: 8px auto 0;
    padding: 13px 15px;
    border: 1px solid rgba(31, 233, 255, .18);
    border-radius: 18px;
    background: rgba(4, 18, 32, .58);
}

.mp-friday-core-footer span,
.mp-friday-core-footer small {
    display: block;
    color: #8ea7bd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mp-friday-core-footer strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 15px;
}

.mp-friday-core-footer small {
    margin-top: 3px;
    color: var(--friday-green);
    text-transform: none;
    letter-spacing: 0;
}

.mp-friday-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.mp-friday-stat {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(34, 219, 255, .18);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(8, 29, 51, .86), rgba(3, 12, 23, .72));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255, 255, 255, .045);
}

.mp-friday-stat::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--stat-glow, rgba(31, 233, 255, .22)), transparent 70%);
    opacity: .78;
}

.mp-friday-stat span {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    color: var(--stat-color, var(--friday-cyan));
    border: 1px solid color-mix(in srgb, var(--stat-color, var(--friday-cyan)) 50%, transparent);
    border-radius: 15px;
    background: color-mix(in srgb, var(--stat-color, var(--friday-cyan)) 12%, transparent);
}

.mp-friday-stat svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-friday-stat small {
    display: block;
    color: #8fa8c0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-friday-stat strong {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    color: #fff;
    font-size: 28px;
    font-weight: 1000;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-friday-stat em {
    display: block;
    overflow: hidden;
    margin-top: 9px;
    color: #a8bed4;
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-friday-stat.online,
.mp-friday-stat.green {
    --stat-color: var(--friday-green);
    --stat-glow: rgba(49, 255, 179, .22);
}

.mp-friday-stat.cyan {
    --stat-color: var(--friday-cyan);
    --stat-glow: rgba(31, 233, 255, .22);
}

.mp-friday-stat.danger {
    --stat-color: var(--friday-red);
    --stat-glow: rgba(255, 85, 119, .2);
}

.mp-friday-stat.amber {
    --stat-color: var(--friday-amber);
    --stat-glow: rgba(255, 189, 73, .2);
}

.mp-friday-stat.blue {
    --stat-color: var(--friday-blue);
    --stat-glow: rgba(76, 167, 255, .2);
}

.mp-friday-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
    gap: 20px;
    align-items: end;
    margin: 28px 0 14px;
}

.mp-friday-section-head span {
    display: block;
    color: var(--friday-green);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mp-friday-section-head h3 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(24px, 2.4vw, 36px);
    letter-spacing: -.035em;
}

.mp-friday-section-head p {
    margin: 0;
    color: #9fb5cc;
    font-size: 14px;
    line-height: 1.65;
}

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

.mp-friday-capability {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 15px;
    min-width: 0;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(34, 219, 255, .18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(31, 233, 255, .09), transparent 34%),
        linear-gradient(145deg, rgba(7, 27, 48, .84), rgba(3, 12, 24, .74));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.mp-friday-capability::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(49, 255, 209, .55), transparent);
    opacity: .62;
}

.mp-friday-cap-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--friday-cyan);
    border: 1px solid rgba(31, 233, 255, .28);
    border-radius: 18px;
    background: rgba(31, 233, 255, .08);
    box-shadow: inset 0 0 26px rgba(31, 233, 255, .08);
}

.mp-friday-cap-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-friday-capability h4 {
    margin: 0;
    color: #fff;
    font-size: 17px;
}

.mp-friday-capability p {
    margin: 8px 0 13px;
    color: #a9bed2;
    font-size: 13px;
    line-height: 1.58;
}

.mp-friday-capability ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-friday-capability li {
    position: relative;
    padding-left: 18px;
    color: #d7eaff;
    font-size: 12.5px;
    line-height: 1.45;
}

.mp-friday-capability li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: var(--friday-green);
    box-shadow: 0 0 14px rgba(49, 255, 179, .68);
}

.mp-friday-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 16px;
    margin-top: 16px;
}

.mp-friday-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid rgba(34, 219, 255, .18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(31, 233, 255, .075), transparent 34%),
        linear-gradient(145deg, rgba(7, 27, 48, .86), rgba(3, 12, 24, .76));
    box-shadow:
        0 18px 46px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .045);
}

.mp-friday-dashboard-grid .mp-friday-card {
    margin-top: 0;
}

.mp-friday-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(34, 219, 255, .12);
}

.mp-friday-card-head > div {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.mp-friday-card-head span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: var(--friday-cyan);
    border: 1px solid rgba(31, 233, 255, .24);
    border-radius: 12px;
    background: rgba(31, 233, 255, .07);
}

.mp-friday-card-head svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-friday-card-head h4 {
    margin: 0;
    color: #fff;
    font-size: 17px;
    letter-spacing: -.015em;
}

.mp-friday-card-head small {
    color: #8fa8bd;
    font-size: 12px;
    text-align: right;
}

.mp-friday-command-list {
    display: grid;
    gap: 10px;
}

.mp-friday-command-row {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(34, 219, 255, .13);
    border-radius: 15px;
    background: rgba(3, 14, 25, .48);
}

.mp-friday-command-row code {
    display: block;
    overflow: hidden;
    padding: 9px 10px;
    color: var(--friday-green);
    border: 1px solid rgba(49, 255, 179, .2);
    border-radius: 11px;
    background: rgba(49, 255, 179, .055);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-friday-command-row span {
    color: #c9dcef;
    font-size: 13px;
    line-height: 1.48;
}

.mp-friday-connection-list {
    display: grid;
    gap: 11px;
}

.mp-friday-connection-list > div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(34, 219, 255, .13);
    border-radius: 15px;
    background: rgba(3, 14, 25, .48);
}

.mp-friday-connection-list span {
    color: #8fa8bd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-friday-connection-list code {
    display: block;
    overflow: hidden;
    color: #dffaff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-friday-security-note {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 189, 73, .22);
    border-radius: 16px;
    background: rgba(255, 189, 73, .065);
}

.mp-friday-security-note svg {
    width: 22px;
    height: 22px;
    color: var(--friday-amber);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-friday-security-note p {
    margin: 0;
    color: #dcc9a6;
    font-size: 13px;
    line-height: 1.55;
}

.mp-friday-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(34, 219, 255, .12);
    border-radius: 18px;
}

.mp-friday-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.mp-friday-table th,
.mp-friday-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(34, 219, 255, .1);
    text-align: left;
    vertical-align: middle;
}

.mp-friday-table th {
    color: #94adc5;
    background: rgba(31, 233, 255, .045);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mp-friday-table td {
    color: #dceeff;
    font-size: 13px;
}

.mp-friday-table tr:last-child td {
    border-bottom: 0;
}

.mp-friday-table code {
    color: var(--friday-green);
    font-size: 12px;
}

.mp-friday-history-card {
    margin-bottom: 18px;
}

.mp-friday-timeline {
    position: relative;
    display: grid;
    gap: 12px;
    max-height: 620px;
    overflow: auto;
    padding-right: 6px;
}

.mp-friday-timeline::-webkit-scrollbar {
    width: 8px;
}

.mp-friday-timeline::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(31, 233, 255, .24);
}

.mp-friday-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(34, 219, 255, .13);
    border-radius: 18px;
    background: rgba(3, 14, 25, .46);
}

.mp-friday-timeline-item.write {
    border-color: rgba(255, 189, 73, .22);
    background:
        linear-gradient(135deg, rgba(255, 189, 73, .06), rgba(3, 14, 25, .46));
}

.mp-friday-timeline-dot {
    position: relative;
    width: 12px;
    height: 12px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--friday-cyan);
    box-shadow: 0 0 0 5px rgba(31, 233, 255, .08), 0 0 22px rgba(31, 233, 255, .52);
}

.mp-friday-timeline-item.write .mp-friday-timeline-dot {
    background: var(--friday-amber);
    box-shadow: 0 0 0 5px rgba(255, 189, 73, .1), 0 0 22px rgba(255, 189, 73, .5);
}

.mp-friday-timeline-body {
    min-width: 0;
}

.mp-friday-timeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mp-friday-timeline-head strong {
    color: #fff;
    font-size: 14px;
}

.mp-friday-timeline-body p {
    margin: 7px 0 0;
    color: #c3d7eb;
    font-size: 13px;
    line-height: 1.55;
}

.mp-friday-timeline-body code {
    color: var(--friday-green);
    font-size: 12px;
}

.mp-friday-timeline-body small {
    display: block;
    margin-top: 7px;
    color: #a7bdd2;
    font-size: 12px;
    line-height: 1.5;
}

.mp-friday-timeline-body em {
    display: block;
    margin-top: 8px;
    color: #7f98b0;
    font-size: 11px;
    font-style: normal;
}

.mp-friday-empty,
.mp-friday-page .empty-state {
    padding: 22px;
    color: #a8bed4;
    text-align: center;
}

.mp-friday-page .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mp-friday-page .badge.low {
    color: #92ffd7;
    border: 1px solid rgba(49, 255, 179, .24);
    background: rgba(49, 255, 179, .08);
}

.mp-friday-page .badge.medium {
    color: #ffe0a0;
    border: 1px solid rgba(255, 189, 73, .28);
    background: rgba(255, 189, 73, .09);
}

.mp-friday-page .badge.critical {
    color: #ff9bad;
    border: 1px solid rgba(255, 85, 119, .28);
    background: rgba(255, 85, 119, .09);
}

.mp-friday-page.is-standby .mp-friday-live-dot,
.mp-friday-page.is-standby .mp-friday-status-pill i {
    background: var(--friday-amber);
    color: var(--friday-amber);
    box-shadow: 0 0 0 5px rgba(255, 189, 73, .12), 0 0 22px rgba(255, 189, 73, .58);
}

.mp-friday-page.is-standby .mp-friday-status-pill {
    color: var(--friday-amber);
    border-color: rgba(255, 189, 73, .28);
}

@keyframes mpFridaySpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes mpFridaySpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes mpFridayPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(.76);
        opacity: .62;
    }
}

@keyframes mpFridayBreath {
    0%,
    100% {
        opacity: .72;
        transform: scale(.985);
    }

    50% {
        opacity: 1;
        transform: scale(1.025);
    }
}

@keyframes mpFridayLogoFloat {
    0%,
    100% {
        transform: scale(1);
        filter:
            saturate(1.18)
            contrast(1.08)
            drop-shadow(0 0 20px rgba(49, 255, 179, .38));
    }

    50% {
        transform: scale(1.025);
        filter:
            saturate(1.26)
            contrast(1.12)
            drop-shadow(0 0 30px rgba(49, 255, 179, .52));
    }
}

@media (max-width: 1380px) {
    .mp-friday-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 1120px) {
    .mp-friday-hero {
        grid-template-columns: 1fr;
    }

    .mp-friday-core-status {
        justify-content: flex-start;
    }

    .mp-friday-orbit-stage {
        width: min(390px, 100%);
    }

    .mp-friday-dashboard-grid,
    .mp-friday-section-head {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .mp-friday-hero {
        padding: 20px;
        border-radius: 22px;
    }

    .mp-friday-hero-metrics,
    .mp-friday-stats-grid,
    .mp-friday-capabilities {
        grid-template-columns: 1fr;
    }

    .mp-friday-hero h3 {
        font-size: 42px;
    }

    .mp-friday-command-row,
    .mp-friday-connection-list > div {
        grid-template-columns: 1fr;
    }

    .mp-friday-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mp-friday-card-head small {
        text-align: left;
    }

    .mp-friday-orbit-stage {
        width: min(310px, 100%);
    }
}

@media (max-width: 520px) {
    .mp-friday-hero {
        padding: 16px;
    }

    .mp-friday-hero h3 {
        font-size: 36px;
    }

    .mp-friday-capability {
        grid-template-columns: 1fr;
    }

    .mp-friday-core-footer {
        text-align: center;
    }
}

.mp-friday-core {
    overflow: visible !important;
}

.mp-friday-core img {
    width: 68% !important;
    height: 68% !important;
    max-width: 68% !important;
    max-height: 68% !important;
}

/* Logo çok parlak/taşmış görünmesin diye daha kontrollü glow */
@keyframes mpFridayLogoFloatCentered {
    0%,
    100% {
        transform: translateX(0) scale(1);
        filter:
            saturate(1.14)
            contrast(1.06)
            drop-shadow(0 0 14px rgba(49, 255, 179, .34));
    }

    50% {
        transform: translateX(0) scale(1.018);
        filter:
            saturate(1.2)
            contrast(1.1)
            drop-shadow(0 0 22px rgba(49, 255, 179, .48));
    }
}
/* === MEDPOV Security Center v6.0.8-22 Unified License UI === */
.mp-license-alert{margin:0 0 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(2,6,23,.72));box-shadow:0 18px 50px rgba(0,0,0,.22);position:relative;overflow:hidden}
.mp-license-alert:before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 10% 20%,rgba(56,189,248,.16),transparent 36%),radial-gradient(circle at 96% 0%,rgba(239,68,68,.14),transparent 32%);pointer-events:none}
.mp-license-alert>*{position:relative;z-index:1}.mp-license-alert strong{display:block;color:#eef9ff;font-size:14px;letter-spacing:.01em}.mp-license-alert span{display:block;margin-top:3px;color:#aebfd2;font-size:12px;line-height:1.45}.mp-license-alert a{white-space:nowrap;text-decoration:none;color:#c7f9ff;border:1px solid rgba(125,211,252,.28);background:rgba(14,165,233,.12);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800}.mp-license-alert.success{border-color:rgba(34,197,94,.34)}.mp-license-alert.success:before{background:radial-gradient(circle at 12% 20%,rgba(34,197,94,.18),transparent 38%)}.mp-license-alert.warning{border-color:rgba(245,158,11,.36)}.mp-license-alert.danger,.mp-license-alert.error{border-color:rgba(239,68,68,.42)}
.mp-license-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mp-license-status-item{border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px;background:rgba(15,23,42,.48)}.mp-license-status-item small{display:block;color:#8ea0b7;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.mp-license-status-item b{display:block;margin-top:4px;color:#edf8ff;font-size:13px;word-break:break-word}.mp-license-code-row{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.mp-license-actions{display:flex;gap:10px;flex-wrap:wrap}.mp-license-secret-note{font-size:12px;color:#8ea0b7;line-height:1.55}@media(max-width:860px){.mp-license-alert{display:block}.mp-license-alert a{display:inline-flex;margin-top:10px}.mp-license-status-grid,.mp-license-code-row{grid-template-columns:1fr}}


/* === v6.0.8-22 license mandatory status rows === */
.mp-license-locked-row{
    display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(0,210,255,.22);
    border-radius:14px;background:linear-gradient(135deg,rgba(0,210,255,.10),rgba(45,212,191,.06));
    color:#dbeafe;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
}
.mp-license-locked-row b{display:block;font-weight:900;color:#ffffff;letter-spacing:.01em}
.mp-license-locked-row small{display:block;color:#9fb6d8;margin-top:2px;line-height:1.35}
.mp-license-lock-dot{width:13px;height:13px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12),0 0 18px rgba(34,197,94,.7);flex:0 0 auto}

/* v6.0.8-22 MedPOV panel license response card */
.mp-side-license-card{margin:12px 10px 0;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(2,6,23,.72));box-shadow:0 18px 50px rgba(0,0,0,.22);position:relative;overflow:hidden}
.mp-side-license-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 5% 0%,rgba(34,197,94,.18),transparent 44%),radial-gradient(circle at 96% 100%,rgba(59,130,246,.16),transparent 34%);pointer-events:none}.mp-side-license-card>*{position:relative;z-index:1}
.mp-side-license-card.warning{border-color:rgba(245,158,11,.35)}.mp-side-license-card.warning:before{background:radial-gradient(circle at 0% 0%,rgba(245,158,11,.18),transparent 42%),radial-gradient(circle at 100% 100%,rgba(239,68,68,.14),transparent 36%)}
.mp-side-license-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.mp-side-license-head strong{color:#f4fbff;font-size:13px;font-weight:900}.mp-side-license-head span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:rgba(99,102,241,.55);color:#fff;font-size:10px;font-weight:900;text-transform:uppercase}
.mp-side-license-card p{margin:9px 0;color:#b7c7d9;font-size:11px;line-height:1.45}.mp-side-license-meta{display:grid;gap:7px;margin-top:10px}.mp-side-license-meta span{color:#9fb0c7;font-size:11px}.mp-side-license-meta b{color:#fff;font-weight:900}.mp-side-license-actions{display:flex;gap:8px;margin-top:12px}.mp-side-license-actions a{flex:1;text-align:center;text-decoration:none;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:900;color:#fff;background:rgba(14,165,233,.22);border:1px solid rgba(125,211,252,.25)}.mp-side-license-actions a:first-child{background:linear-gradient(135deg,#22c55e,#14b8a6);border-color:rgba(34,197,94,.45)}
.mp-license-remote-card{border:1px solid rgba(34,197,94,.22);background:linear-gradient(135deg,rgba(5,78,48,.34),rgba(15,23,42,.66));border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 18px 48px rgba(0,0,0,.16);position:relative;overflow:hidden}.mp-license-remote-card.warning{border-color:rgba(245,158,11,.34);background:linear-gradient(135deg,rgba(120,53,15,.28),rgba(15,23,42,.66))}.mp-license-remote-title{display:flex;align-items:center;gap:12px}.mp-license-remote-title b{display:block;color:#f8fdff;font-size:14px;font-weight:900}.mp-license-remote-title small{display:block;color:#a8bad0;margin-top:2px;line-height:1.4}.mp-license-remote-title em{margin-left:auto;font-style:normal;border-radius:999px;padding:5px 9px;background:rgba(99,102,241,.55);color:#fff;font-size:10px;font-weight:900;text-transform:uppercase}.mp-license-remote-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.mp-license-remote-grid div{border:1px solid rgba(255,255,255,.08);background:rgba(2,6,23,.28);border-radius:13px;padding:10px}.mp-license-remote-grid small{display:block;color:#8fa1b9;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.mp-license-remote-grid b{display:block;margin-top:4px;color:#f4fbff;font-size:12px;word-break:break-word}@media(max-width:960px){.mp-license-remote-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.mp-license-remote-grid{grid-template-columns:1fr}}

/* ============================================================
   MEDPOV Security Center v7.0.0 - Multi-Site Control Center
   ============================================================ */
.mp-site-switcher{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;border:1px solid rgba(65,125,180,.35);background:rgba(8,25,43,.82);border-radius:12px;min-width:240px;max-width:380px}.mp-site-switcher select{appearance:none;border:0;outline:0;background:transparent;color:#e8f4ff;font-weight:800;font-size:12px;min-width:0;max-width:330px;cursor:pointer}.mp-site-switcher select option{background:#0b1c30;color:#e8f4ff}.mp-site-switch-status,.mp-site-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#64748b;box-shadow:0 0 0 4px rgba(100,116,139,.12);flex:0 0 auto}.mp-site-switch-status.online,.mp-site-switch-status.local,.mp-site-dot.online,.mp-site-dot.local{background:#2ee6a6;box-shadow:0 0 0 4px rgba(46,230,166,.12),0 0 12px rgba(46,230,166,.45)}.mp-site-switch-status.offline,.mp-site-dot.offline{background:#ff4f70;box-shadow:0 0 0 4px rgba(255,79,112,.12)}.mp-site-switch-status.waiting,.mp-site-dot.waiting{background:#f7a531;box-shadow:0 0 0 4px rgba(247,165,49,.12)}.mp-site-switch-status.degraded,.mp-site-dot.degraded{background:#f7a531;box-shadow:0 0 0 4px rgba(247,165,49,.12),0 0 12px rgba(247,165,49,.28)}
.mp-site-hero,.mp-integration-hero{background:linear-gradient(135deg,rgba(10,32,55,.96),rgba(7,25,43,.94));border-color:rgba(38,160,210,.35)}.mp-site-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0 2px}.mp-site-flow span{padding:8px 11px;border:1px solid rgba(60,130,180,.32);border-radius:999px;background:rgba(9,27,46,.75);font-size:11px;font-weight:800;color:#b9d3e9}.mp-site-flow span.done{color:#71f0c2;border-color:rgba(46,230,166,.35);background:rgba(16,91,70,.18)}.mp-site-flow i{font-style:normal;color:#4f7798}
.mp-sites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:14px}.mp-site-card{border:1px solid rgba(65,125,180,.28);background:linear-gradient(180deg,rgba(9,28,48,.94),rgba(6,20,35,.94));border-radius:14px;padding:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}.mp-site-card.active{border-color:rgba(43,192,235,.72);box-shadow:0 0 0 1px rgba(43,192,235,.13),0 12px 36px rgba(0,0,0,.15)}.mp-site-card.archived{opacity:.86;border-style:dashed}.mp-site-card.purged{opacity:.58}.mp-site-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.mp-site-card-head>div:first-child{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.mp-site-card-head b{font-size:15px;color:#f3f8ff}.mp-site-card-head small{grid-column:2;color:#7fa6c3;margin-top:3px}.mp-site-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mp-site-meta span{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid rgba(66,124,168,.18);background:rgba(3,16,29,.35);border-radius:9px;font-size:11px;color:#7fa6c3}.mp-site-meta b{color:#dcecff;font-weight:800;text-align:right;overflow:hidden;text-overflow:ellipsis}.mp-site-card .small-actions{margin-top:13px;display:flex;flex-wrap:wrap;gap:7px}.mp-site-card form{display:inline}.mp-site-danger{margin-top:12px;border-top:1px solid rgba(88,132,165,.16);padding-top:8px}.mp-site-danger summary{cursor:pointer;color:#8daec6;font-size:11px}.mp-site-architecture{display:grid;gap:9px;margin-bottom:13px}.mp-site-architecture>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px;border:1px solid rgba(66,124,168,.2);border-radius:10px;background:rgba(5,18,32,.4)}.mp-site-architecture span{font-size:11px;color:#86a8c0}.mp-site-mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.mp-site-mini-stats span{padding:9px 6px;border-radius:9px;background:rgba(3,16,29,.5);border:1px solid rgba(66,124,168,.18);text-align:center;font-size:10px;color:#7fa6c3}.mp-site-mini-stats b{display:block;color:#e7f4ff;font-size:16px}.mp-keyline{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid rgba(66,124,168,.14)}.mp-keyline span{font-size:11px;color:#82a4bd}.mp-keyline code{max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#70dcff}.mp-code-block,.mp-folder-tree{white-space:pre-wrap;word-break:break-word;padding:14px;border:1px solid rgba(58,132,178,.28);border-radius:10px;background:#04111e;color:#bdeaff;overflow:auto;font-size:12px;line-height:1.55}
.mp-remote-tool-banner{border:1px solid rgba(118,97,255,.32);background:linear-gradient(135deg,rgba(40,29,89,.3),rgba(8,27,46,.85));border-radius:13px;padding:14px;margin-bottom:14px}.mp-job-list{display:grid;gap:9px}.mp-job-row{display:grid;grid-template-columns:minmax(130px,.8fr) 110px 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid rgba(66,124,168,.2);border-radius:10px;background:rgba(5,18,32,.35)}.mp-job-row code{font-size:10px;color:#73ccec}.mp-job-result{white-space:pre-wrap;max-height:360px;overflow:auto;background:#04111e;border:1px solid rgba(66,124,168,.2);border-radius:10px;padding:12px;color:#bad9ee;font-size:11px}
@media(max-width:1100px){.mp-site-switcher{min-width:190px;max-width:250px}.mp-site-switcher select{max-width:205px}.mp-site-mini-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.mp-site-switcher{order:-1;width:100%;max-width:none}.mp-site-switcher select{max-width:none;width:100%}.mp-sites-grid{grid-template-columns:1fr}.mp-site-meta{grid-template-columns:1fr}.mp-job-row{grid-template-columns:1fr}.mp-site-flow i{display:none}.mp-site-flow span{font-size:10px}}


/* === v7.0.0 HF3: integration status + consistent page card rhythm === */
.mp-integration-hero{margin-bottom:0}
.mp-integration-section{margin-top:14px!important}
.mp-remote-tool-section{margin-top:14px!important}
.mp-site-flow span.done::before{content:"✓";display:inline-block;margin-right:5px;font-weight:950;color:#2ee6a6}
.mp-site-flow span.done{box-shadow:inset 0 0 0 1px rgba(46,230,166,.05),0 0 18px rgba(46,230,166,.035)}


/* === v7.0.0 HF4: selected-site flow state on Protected Sites === */
.mp-site-list-section{margin-top:14px!important}
.mp-site-flow-context{display:flex;align-items:center;gap:7px;margin-top:8px;color:#86a8c0;font-size:11px}
.mp-site-flow-context b{color:#dcecff;font-weight:900}
.mp-site-flow-context .mp-site-dot{margin-left:4px}

/* === v7.0.0 HF7: premium protected-site picker === */
.mp-site-picker{
    position:relative;
    min-width:310px;
    max-width:390px;
    z-index:96;
}
.mp-site-picker-trigger{
    width:100%;
    min-height:52px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:6px 10px 6px 9px;
    border:1px solid rgba(65,145,205,.34);
    border-radius:15px;
    color:#eef8ff;
    background:
        radial-gradient(circle at 12% 0%,rgba(40,210,255,.13),transparent 34%),
        linear-gradient(135deg,rgba(8,28,48,.96),rgba(5,20,36,.97));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 8px 24px rgba(0,0,0,.14);
    cursor:pointer;
    text-align:left;
    transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.mp-site-picker-trigger:hover,.mp-site-picker.is-open .mp-site-picker-trigger{
    border-color:rgba(48,205,239,.58);
    background:
        radial-gradient(circle at 12% 0%,rgba(42,224,255,.18),transparent 36%),
        linear-gradient(135deg,rgba(9,34,57,.98),rgba(6,23,40,.98));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 30px rgba(0,0,0,.2),0 0 0 3px rgba(39,199,239,.045);
}
.mp-site-picker-trigger:focus-visible{outline:2px solid rgba(53,214,255,.8);outline-offset:2px}
.mp-site-picker-signal{
    position:relative;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:rgba(100,116,139,.09);
    border:1px solid rgba(100,116,139,.18);
}
.mp-site-picker-signal:before{
    content:"";
    width:9px;
    height:9px;
    border-radius:50%;
    background:#64748b;
    box-shadow:0 0 0 5px rgba(100,116,139,.1);
}
.mp-site-picker-signal i{position:absolute;inset:3px;border-radius:9px;border:1px solid rgba(255,255,255,.025)}
.mp-site-picker-signal.online,.mp-site-picker-signal.local{background:rgba(46,230,166,.08);border-color:rgba(46,230,166,.2)}
.mp-site-picker-signal.online:before,.mp-site-picker-signal.local:before{background:#2ee6a6;box-shadow:0 0 0 5px rgba(46,230,166,.11),0 0 15px rgba(46,230,166,.58)}
.mp-site-picker-signal.degraded,.mp-site-picker-signal.waiting{background:rgba(247,165,49,.08);border-color:rgba(247,165,49,.2)}
.mp-site-picker-signal.degraded:before,.mp-site-picker-signal.waiting:before{background:#f7a531;box-shadow:0 0 0 5px rgba(247,165,49,.11),0 0 14px rgba(247,165,49,.38)}
.mp-site-picker-signal.offline{background:rgba(255,79,112,.08);border-color:rgba(255,79,112,.2)}
.mp-site-picker-signal.offline:before{background:#ff4f70;box-shadow:0 0 0 5px rgba(255,79,112,.1),0 0 14px rgba(255,79,112,.38)}
.mp-site-picker-current{min-width:0;display:grid;line-height:1.08}
.mp-site-picker-current small{margin-bottom:3px;color:#6387a7;font-size:8px;font-weight:950;letter-spacing:.12em}
.mp-site-picker-current strong{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4fbff;font-size:12px;font-weight:950;letter-spacing:-.01em}
.mp-site-picker-current em{max-width:210px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#86a8c2;font-size:10px;font-style:normal;font-weight:750}
.mp-site-picker-side{display:flex;align-items:center;gap:7px;color:#708fa8}
.mp-site-picker-side>svg{width:16px;height:16px;transition:transform .2s ease}
.mp-site-picker.is-open .mp-site-picker-side>svg{transform:rotate(180deg)}
.mp-site-picker-state{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border-radius:999px;border:1px solid rgba(100,116,139,.22);background:rgba(100,116,139,.1);color:#a8b7c7;font-size:8px;font-weight:950;letter-spacing:.07em}
.mp-site-picker-state.online,.mp-site-picker-state.local{border-color:rgba(46,230,166,.2);background:rgba(46,230,166,.08);color:#5af0bd}
.mp-site-picker-state.degraded,.mp-site-picker-state.waiting{border-color:rgba(247,165,49,.22);background:rgba(247,165,49,.08);color:#ffc266}
.mp-site-picker-state.offline{border-color:rgba(255,79,112,.22);background:rgba(255,79,112,.08);color:#ff7992}
.mp-site-picker-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:min(410px,calc(100vw - 28px));
    display:none;
    overflow:hidden;
    border:1px solid rgba(59,145,202,.3);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(8,27,46,.99),rgba(5,18,32,.995));
    box-shadow:0 28px 80px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter:blur(18px);
    z-index:150;
}
.mp-site-picker.is-open .mp-site-picker-menu{display:block;animation:mpSitePickerIn .16s ease-out}
@keyframes mpSitePickerIn{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.mp-site-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 12px;border-bottom:1px solid rgba(76,132,174,.14);background:linear-gradient(135deg,rgba(30,186,224,.07),transparent 55%)}
.mp-site-picker-head strong{display:block;color:#f3f9ff;font-size:13px;font-weight:950}
.mp-site-picker-head small{display:block;margin-top:2px;color:#7799b4;font-size:10px;font-weight:700}
.mp-site-picker-head>span{flex:0 0 auto;padding:5px 8px;border:1px solid rgba(70,160,214,.2);border-radius:999px;background:rgba(31,146,194,.08);color:#8edcf8;font-size:9px;font-weight:950;letter-spacing:.08em}
.mp-site-picker-list{max-height:330px;overflow:auto;padding:8px}
.mp-site-picker-list::-webkit-scrollbar{width:6px}.mp-site-picker-list::-webkit-scrollbar-thumb{border-radius:99px;background:rgba(88,145,185,.3)}
.mp-site-picker-option{display:block;margin:0;padding:0}
.mp-site-picker-option+ .mp-site-picker-option{margin-top:4px}
.mp-site-picker-option button{
    width:100%;
    min-height:58px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border:1px solid transparent;
    border-radius:12px;
    color:#dcecff;
    background:transparent;
    cursor:pointer;
    text-align:left;
    transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.mp-site-picker-option button:hover{background:rgba(31,153,205,.08);border-color:rgba(63,161,211,.14);transform:translateX(1px)}
.mp-site-picker-option.is-active button{background:linear-gradient(135deg,rgba(21,188,209,.105),rgba(29,100,170,.075));border-color:rgba(47,198,223,.28)}
.mp-site-picker-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;border:1px solid rgba(93,142,178,.2);background:linear-gradient(135deg,rgba(23,71,107,.65),rgba(11,38,63,.8));color:#b9eaff;font-size:12px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.mp-site-picker-avatar.online,.mp-site-picker-avatar.local{border-color:rgba(46,230,166,.2);background:linear-gradient(135deg,rgba(21,122,96,.42),rgba(9,57,52,.55));color:#8dffda}
.mp-site-picker-avatar.degraded,.mp-site-picker-avatar.waiting{border-color:rgba(247,165,49,.22);background:linear-gradient(135deg,rgba(117,80,20,.38),rgba(54,42,16,.5));color:#ffd083}
.mp-site-picker-avatar.offline{border-color:rgba(255,79,112,.2);background:linear-gradient(135deg,rgba(116,35,55,.4),rgba(59,22,36,.52));color:#ff9aae}
.mp-site-picker-copy{min-width:0;display:grid;line-height:1.15}
.mp-site-picker-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eef8ff;font-size:12px;font-weight:900}
.mp-site-picker-copy small{margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7296b2;font-size:10px;font-weight:700}
.mp-site-picker-option-side{display:flex;align-items:center;gap:6px}
.mp-site-picker-option-side .mp-site-dot{width:7px;height:7px;box-shadow:none}
.mp-site-picker-option-side em{color:#6f91aa;font-size:8px;font-style:normal;font-weight:950;letter-spacing:.07em}
.mp-site-picker-check{width:20px;height:20px;display:grid;place-items:center;margin-left:2px;border-radius:7px;background:rgba(46,230,166,.1);border:1px solid rgba(46,230,166,.22);color:#62f0c2;font-size:11px;font-weight:950}
.mp-site-picker-footer{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px;border-top:1px solid rgba(76,132,174,.14);background:rgba(2,12,23,.28)}
.mp-site-picker-footer a{min-height:36px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(69,137,184,.18);border-radius:10px;background:rgba(14,49,76,.3);color:#a9cbe3;text-decoration:none;font-size:10px;font-weight:850;transition:background .16s ease,border-color .16s ease,color .16s ease}
.mp-site-picker-footer a:hover{border-color:rgba(44,199,232,.28);background:rgba(24,111,148,.18);color:#eefaff}
.mp-site-picker-footer a span{font-size:13px;color:#53d9f7}
@media(max-width:1180px){.mp-site-picker{min-width:280px;max-width:340px}.mp-site-picker-current strong,.mp-site-picker-current em{max-width:175px}.mp-site-picker-state{display:none}}
@media(max-width:950px){.mp-site-picker{grid-column:1/-1;width:100%;max-width:none;min-width:0}.mp-site-picker-trigger{width:100%}.mp-site-picker-current strong,.mp-site-picker-current em{max-width:none}.mp-site-picker-state{display:inline-flex}.mp-site-picker-menu{left:0;right:auto;width:min(430px,100%)}}
@media(max-width:520px){.mp-site-picker-menu{width:100%}.mp-site-picker-footer{grid-template-columns:1fr}.mp-site-picker-option-side em{display:none}.mp-site-picker-current small{display:none}.mp-site-picker-trigger{min-height:48px}.mp-site-picker-state{display:none}}

/* === v8.3.5: professional status hierarchy + compact lifecycle UI === */
.mp-status-panel{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 11px;margin:9px 0;border:1px solid rgba(87,132,164,.18);border-radius:11px;background:rgba(6,23,39,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.mp-status-panel.compact{min-height:44px;padding:8px 9px;margin:8px 0}
.mp-status-panel .mp-status-icon{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;border-radius:8px;border:1px solid rgba(126,153,177,.18);background:rgba(114,139,163,.08);color:#a6bad0;font-size:13px;font-weight:950}
.mp-status-panel .mp-status-copy{min-width:0;display:grid;gap:2px;line-height:1.2}
.mp-status-panel .mp-status-copy b{color:#e9f4fd;font-size:11px;font-weight:900;letter-spacing:.01em}
.mp-status-panel .mp-status-copy small{color:#799ab4;font-size:9.5px;font-weight:650;line-height:1.35}
.mp-status-panel .mp-status-tags{margin-left:auto;display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.mp-status-panel .mp-status-tags span{padding:4px 6px;border:1px solid rgba(84,139,177,.16);border-radius:999px;background:rgba(32,78,108,.16);color:#8fb4cd;font-size:7.5px;font-weight:950;letter-spacing:.07em;white-space:nowrap}
.mp-status-panel.success{border-color:rgba(46,230,166,.16);background:linear-gradient(90deg,rgba(26,114,88,.095),rgba(5,24,37,.42))}
.mp-status-panel.success .mp-status-icon{border-color:rgba(46,230,166,.18);background:rgba(46,230,166,.075);color:#62eebb}
.mp-status-panel.info{border-color:rgba(49,176,229,.18);background:linear-gradient(90deg,rgba(30,112,166,.11),rgba(5,24,37,.42))}
.mp-status-panel.info .mp-status-icon{border-color:rgba(55,181,232,.2);background:rgba(49,176,229,.08);color:#70d6fa}
.mp-status-panel.warning{border-color:rgba(247,165,49,.2);background:linear-gradient(90deg,rgba(124,79,21,.11),rgba(5,24,37,.42))}
.mp-status-panel.warning .mp-status-icon{border-color:rgba(247,165,49,.2);background:rgba(247,165,49,.08);color:#ffc872}
.mp-status-panel.danger{border-color:rgba(255,79,112,.22);background:linear-gradient(90deg,rgba(125,34,55,.12),rgba(5,24,37,.42))}
.mp-status-panel.danger .mp-status-icon{border-color:rgba(255,79,112,.22);background:rgba(255,79,112,.08);color:#ff8da1}

.mp-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 7px;border:1px solid rgba(100,130,155,.18);border-radius:999px;background:rgba(92,120,143,.08);color:#9bb2c5;font-size:7.5px;font-weight:950;letter-spacing:.07em;white-space:nowrap}
.mp-status-pill.success{border-color:rgba(46,230,166,.18);background:rgba(46,230,166,.07);color:#66eebd}
.mp-status-pill.info{border-color:rgba(49,176,229,.2);background:rgba(49,176,229,.07);color:#75d7f8}
.mp-status-pill.warning{border-color:rgba(247,165,49,.2);background:rgba(247,165,49,.07);color:#ffc56c}
.mp-status-pill.danger{border-color:rgba(255,79,112,.22);background:rgba(255,79,112,.07);color:#ff8ba0}

.mp-agent-update-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;margin:9px 0;padding:8px 9px;border:1px solid rgba(79,127,162,.16);border-radius:10px;background:rgba(5,21,36,.44)}
.mp-agent-update-row>div{min-width:0;display:grid;gap:2px}
.mp-agent-update-row b{color:#e6f2fb;font-size:10.5px;font-weight:900}
.mp-agent-update-row small{color:#7898b0;font-size:9px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-agent-update-row>a{flex:0 0 auto;min-height:26px;display:inline-flex;align-items:center;padding:0 8px;border:1px solid rgba(54,164,218,.2);border-radius:8px;background:rgba(35,126,174,.09);color:#87dafa;text-decoration:none;font-size:8px;font-weight:900;letter-spacing:.03em}
.mp-agent-update-row.info{border-color:rgba(49,176,229,.17)}
.mp-agent-update-row.success{border-color:rgba(46,230,166,.13);background:rgba(21,78,62,.07)}
.mp-agent-update-row.warning{border-color:rgba(247,165,49,.18);background:rgba(105,70,22,.07)}

.mp-card-actions{align-items:center}
.mp-card-actions .btn{min-height:33px;padding:7px 10px}
.mp-job-strip{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:7px;min-height:34px;margin-top:8px;padding:6px 8px;border:1px solid rgba(73,123,158,.14);border-radius:9px;background:rgba(3,17,29,.42);color:#7597b0;font-size:8.5px}
.mp-job-strip>b{font-size:8px;letter-spacing:.06em;color:#a9bed0}
.mp-job-strip>code{justify-self:end;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6e96b1;font-size:8px}
.mp-job-strip.completed{border-color:rgba(46,230,166,.13)}
.mp-job-strip.completed>b{color:#62e9b9}
.mp-job-strip.queued,.mp-job-strip.running{border-color:rgba(49,176,229,.16)}
.mp-job-strip.queued>b,.mp-job-strip.running>b{color:#71d3f5}
.mp-job-strip.failed{border-color:rgba(255,79,112,.18)}
.mp-job-strip.failed>b{color:#ff879d}

.mp-compact-details{margin-top:7px;border:1px solid rgba(76,127,163,.14);border-radius:9px;background:rgba(4,18,31,.38);overflow:hidden}
.mp-compact-details summary{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;cursor:pointer;list-style:none;color:#9fb8cb;font-size:9px;font-weight:850}
.mp-compact-details summary::-webkit-details-marker{display:none}
.mp-compact-details summary:after{content:'+';margin-left:auto;color:#678ba7;font-size:12px;line-height:1}
.mp-compact-details[open] summary:after{content:'−'}
.mp-detail-summary-note{min-width:0;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f91aa;font-size:8px;font-weight:700}
.mp-detail-body{padding:9px;border-top:1px solid rgba(76,127,163,.12);color:#89a6bb;font-size:9px;line-height:1.45;word-break:break-word}
.mp-compact-details.success{border-color:rgba(46,230,166,.13)}
.mp-compact-details.danger{border-color:rgba(255,79,112,.18)}
.mp-compact-details.danger summary{color:#ff93a6}
.mp-trust-details{margin-top:10px}
.mp-trust-grid{display:flex;flex-wrap:wrap;gap:6px;padding:9px;border-top:1px solid rgba(76,127,163,.12)}
.mp-trust-grid span{padding:5px 7px;border-radius:8px;border:1px solid rgba(76,127,163,.14);background:rgba(17,48,70,.18);color:#86a6bd;font-size:8px;font-weight:750}
.mp-release-authority .mp-site-meta{margin-top:3px}

/* Reduce visual weight on fleet cards while preserving state clarity. */
.mp-sites-grid .mp-site-card{padding:12px}
.mp-sites-grid .mp-site-card-head{margin-bottom:8px}
.mp-sites-grid .mp-site-card .mp-site-meta{gap:6px}
.mp-sites-grid .mp-site-card .mp-site-meta span{min-height:32px;padding:7px 8px}
.mp-sites-grid .mp-site-card .small-actions{margin-top:9px}
.mp-site-mini-stats{margin:9px 0}
.mp-site-mini-stats span{padding:7px 5px}
.mp-site-mini-stats b{font-size:14px}

@media(max-width:900px){.mp-status-panel .mp-status-tags{display:none}.mp-job-strip{grid-template-columns:auto auto}.mp-job-strip>code{grid-column:1/-1;justify-self:start}.mp-detail-summary-note{max-width:58%}}
@media(max-width:560px){.mp-agent-update-row{align-items:flex-start}.mp-status-panel{align-items:flex-start}.mp-compact-details summary{align-items:flex-start}.mp-detail-summary-note{display:none}}

/* === v8.3.5: lifecycle action discipline + manual cron + auto-update policy UX === */
.btn.primary-soft{background:rgba(33,145,205,.12);border-color:rgba(51,183,232,.28);color:#95e5ff}
.btn.danger-quiet{background:rgba(255,79,112,.055);border-color:rgba(255,79,112,.22);color:#ff94a6}
.btn.is-static{cursor:default;pointer-events:none;background:rgba(46,230,166,.055);border-color:rgba(46,230,166,.16);color:#79e7bc}

.mp-fleet-actions{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:8px;align-items:center}
.mp-fleet-actions .btn{width:100%;min-width:0;height:36px;padding:0 12px;white-space:nowrap}

.mp-lifecycle-card .mp-status-panel{margin-bottom:8px}
.mp-primary-action-grid{display:grid;gap:7px;margin-top:8px}
.mp-primary-action-grid.one{grid-template-columns:1fr}
.mp-primary-action-grid .btn,.mp-secondary-action-grid .btn{width:100%;height:35px;min-width:0;padding:0 10px;font-size:10.5px;letter-spacing:.005em}
.mp-secondary-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}

.mp-policy-details{margin-top:10px;border-top:1px solid rgba(77,126,159,.14);padding-top:1px}
.mp-policy-details>summary{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 1px;cursor:pointer;list-style:none;color:#d7e9f6;font-size:11px;font-weight:850}
.mp-policy-details>summary::-webkit-details-marker{display:none}
.mp-policy-details>summary:before{content:'›';width:18px;height:18px;display:grid;place-items:center;flex:0 0 18px;border-radius:6px;background:rgba(49,176,229,.07);border:1px solid rgba(49,176,229,.14);color:#75cfee;transform:rotate(0deg);transition:transform .15s ease}
.mp-policy-details[open]>summary:before{transform:rotate(90deg)}
.mp-policy-summary{margin-left:auto;min-width:0;display:grid;justify-items:end;gap:2px;text-align:right}
.mp-policy-summary b{color:#a8c6d9;font-size:8.5px;letter-spacing:.05em;text-transform:uppercase}
.mp-policy-summary small{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6588a1;font-size:8px;font-weight:650}
.mp-policy-body{display:grid;gap:10px;padding:11px;border:1px solid rgba(74,128,165,.14);border-radius:11px;background:rgba(4,17,30,.43)}
.mp-policy-intro{color:#7395ad;font-size:9px;line-height:1.45}
.mp-policy-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.mp-policy-option{position:relative;cursor:pointer}
.mp-policy-option input{position:absolute;opacity:0;pointer-events:none}
.mp-policy-option>span{min-height:64px;display:grid;align-content:center;gap:4px;padding:9px;border:1px solid rgba(74,127,163,.17);border-radius:10px;background:rgba(8,28,45,.48);transition:border-color .15s ease,background .15s ease,transform .15s ease}
.mp-policy-option>span b{color:#d8e9f5;font-size:9.5px;font-weight:900}
.mp-policy-option>span small{color:#6d8ea6;font-size:8px;line-height:1.25}
.mp-policy-option:hover>span{border-color:rgba(65,171,219,.28);background:rgba(10,40,62,.55)}
.mp-policy-option input:checked+span{border-color:rgba(47,190,229,.42);background:linear-gradient(135deg,rgba(26,110,157,.16),rgba(6,30,46,.58));box-shadow:inset 0 0 0 1px rgba(54,184,224,.07)}
.mp-policy-option input:checked+span b{color:#aeeaff}
.mp-policy-window{display:grid;grid-template-columns:110px 110px minmax(0,1fr);gap:8px}
.mp-policy-window label{display:grid;gap:5px}
.mp-policy-window label>span{color:#7596ad;font-size:8px;font-weight:800}
.mp-policy-window .field{height:36px;min-width:0;font-size:10px}

.mp-site-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.mp-site-action-grid form{display:block!important}
.mp-site-action-grid .btn{height:35px;min-width:0;padding:0 9px;font-size:10px}
.mp-site-danger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}
.mp-site-danger-grid form{display:block!important}
.mp-site-danger-grid .btn{height:34px;padding:0 8px;font-size:9.5px}
.mp-site-danger-grid .mp-danger-span{grid-column:1/-1}

@media(max-width:1100px){.mp-fleet-actions{grid-template-columns:1fr}.mp-policy-window{grid-template-columns:1fr 1fr}.mp-policy-window .timezone{grid-column:1/-1}}
@media(max-width:620px){.mp-secondary-action-grid,.mp-site-action-grid,.mp-site-danger-grid{grid-template-columns:1fr}.mp-site-danger-grid .mp-danger-span{grid-column:auto}.mp-policy-mode-grid{grid-template-columns:1fr}.mp-policy-window{grid-template-columns:1fr}.mp-policy-window .timezone{grid-column:auto}.mp-policy-summary small{display:none}}

/* === v9.0.1 Global Remote Job Center === */
.side-nav a .mp-nav-count {
    margin-left: auto;
    width: auto;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(47, 123, 255, .18);
    border: 1px solid rgba(47, 123, 255, .34);
    color: #9ac3ff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
}
.side-nav a .mp-nav-count.attention {
    background: rgba(255, 64, 92, .16);
    border-color: rgba(255, 64, 92, .34);
    color: #ff9bab;
}
.mp-job-queue-shortcut.has-attention b {
    background: #ff405c;
}
.mp-job-focus-banner {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(39, 214, 255, .22);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(39, 214, 255, .09), rgba(47, 123, 255, .07));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.mp-job-focus-banner.attention {
    border-color: rgba(255, 64, 92, .3);
    background: linear-gradient(135deg, rgba(255, 64, 92, .09), rgba(255, 154, 55, .06));
}
.mp-job-focus-banner strong,
.mp-job-focus-banner span { display: block; }
.mp-job-focus-banner strong { color: #eaf5ff; font-size: 13px; }
.mp-job-focus-banner span { margin-top: 3px; color: #91aaca; font-size: 12px; }
.mp-job-focus-banner a { color: #86eaff; font-weight: 900; font-size: 12px; white-space: nowrap; }

.mp-job-center-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.mp-job-center-toolbar,
.mp-job-center-list {
    margin-top: 14px;
}
.mp-job-filters {
    display: grid;
    grid-template-columns: 170px minmax(220px, 1.2fr) minmax(220px, 1fr) minmax(240px, 1.3fr) auto auto;
    gap: 10px;
    align-items: end;
}
.mp-job-filters label { min-width: 0; }
.mp-job-filters label > span {
    display: block;
    margin: 0 0 6px;
    color: #8ea8c6;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.mp-job-filters select,
.mp-job-filters input {
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--line2);
    border-radius: 10px;
    background: #0b1b2e;
    color: #e4f1ff;
    padding: 0 11px;
    outline: 0;
}
.mp-job-filters select:focus,
.mp-job-filters input:focus {
    border-color: rgba(39, 214, 255, .42);
    box-shadow: 0 0 0 3px rgba(39, 214, 255, .06);
}
.mp-live-queue-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7edfa7;
    font-size: 11px;
    font-weight: 900;
}
.mp-live-queue-indicator i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(54, 217, 129, .75);
    animation: pulse 1.8s infinite;
}
.mp-global-job-list {
    display: grid;
    gap: 10px;
}
.mp-global-job-row {
    display: grid;
    grid-template-columns: minmax(180px, .95fr) minmax(220px, 1.1fr) minmax(300px, 1.35fr) minmax(200px, .9fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(34, 68, 105, .82);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(12, 29, 49, .92), rgba(8, 22, 38, .92));
    padding: 13px 14px;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.mp-global-job-row:hover {
    border-color: rgba(39, 214, 255, .26);
    transform: translateY(-1px);
}
.mp-global-job-row.is-unread {
    border-color: rgba(39, 214, 255, .34);
    box-shadow: inset 3px 0 0 rgba(39, 214, 255, .8);
    background: linear-gradient(90deg, rgba(39, 214, 255, .055), rgba(12, 29, 49, .94) 22%);
}
.mp-global-job-site,
.mp-global-job-task,
.mp-global-job-meta,
.mp-global-job-actions { min-width: 0; }
.mp-global-job-site {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}
.mp-global-job-site b,
.mp-global-job-site small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-global-job-site b { color: #eaf4ff; font-size: 13px; }
.mp-global-job-site small { margin-top: 3px; color: #7e9bbc; font-size: 11px; }
.mp-global-job-task-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.mp-global-job-task > b { display: block; color: #eaf4ff; font-size: 13px; }
.mp-global-job-task code { display: block; margin-top: 4px; color: #75bfe7; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-new-result-pill {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(39, 214, 255, .11);
    border: 1px solid rgba(39, 214, 255, .22);
    color: #83edff;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .05em;
}
.mp-global-job-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.mp-global-job-times span {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(31, 60, 92, .72);
    border-radius: 10px;
    background: rgba(5, 16, 28, .38);
}
.mp-global-job-times small,
.mp-global-job-times b { display: block; }
.mp-global-job-times small { color: #6f8cab; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.mp-global-job-times b { margin-top: 3px; color: #cfe0f1; font-size: 10px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-global-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    color: #7e98b5;
    font-size: 10px;
}
.mp-global-job-meta span b { color: #d7e6f5; }
.mp-global-job-meta p {
    flex-basis: 100%;
    margin: 4px 0 0;
    color: #ff9bab;
    font-size: 10px;
    line-height: 1.45;
}
.mp-global-job-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.mp-global-job-actions form { margin: 0; }
.mp-global-job-actions .muted { max-width: 180px; font-size: 10px; text-align: right; }

@media (max-width: 1500px) {
    .mp-job-center-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mp-job-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mp-global-job-row { grid-template-columns: minmax(180px, .9fr) minmax(220px, 1fr) minmax(320px, 1.4fr); }
    .mp-global-job-meta { grid-column: 1 / 3; }
    .mp-global-job-actions { grid-column: 3; grid-row: 2; }
}
@media (max-width: 980px) {
    .mp-job-center-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mp-job-filters { grid-template-columns: 1fr 1fr; }
    .mp-global-job-row { grid-template-columns: 1fr; }
    .mp-global-job-meta,
    .mp-global-job-actions { grid-column: auto; grid-row: auto; }
    .mp-global-job-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .mp-job-center-stats,
    .mp-job-filters { grid-template-columns: 1fr; }
    .mp-global-job-times { grid-template-columns: 1fr; }
    .mp-job-focus-banner { align-items: flex-start; flex-direction: column; }
}

.mp-shell.sidebar-collapsed .side-nav a .mp-nav-count {
    position: absolute;
    right: 6px;
    top: 5px;
}
.mp-shell.sidebar-collapsed .side-nav a { position: relative; }

/* v9.0.3 · Global Job Queue UX */
.mp-job-filter-notice{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mp-job-filter-notice a{font-weight:900;color:#8bdcff;text-decoration:none}.mp-job-filter-notice a:hover{text-decoration:underline}.mp-job-state-note{display:block;margin-top:7px;color:#8fa8c5;font-size:10px;line-height:1.45}.mp-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid rgba(125,166,221,.12)}.mp-page-link{min-width:36px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid rgba(125,166,221,.18);background:#0b1728;color:#dce9ff;text-decoration:none;font-weight:900;font-size:12px;transition:.18s ease}.mp-page-link:hover{border-color:rgba(39,214,255,.55);background:rgba(39,214,255,.08);transform:translateY(-1px)}.mp-page-link.is-current{background:linear-gradient(135deg,#2478ff,#24d7f2);border-color:transparent;color:#fff;box-shadow:0 8px 22px rgba(36,120,255,.22)}.mp-page-gap{color:#718aa8;font-weight:900;padding:0 2px}
.mp-job-strip-note{margin-top:6px;color:#8fa8c5;font-size:10px;line-height:1.45}

/* v9.0.4 · Full Module Runtime Verification */
.module-verification-card .card-header{align-items:flex-start}.module-verification-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:8px}.module-verification-summary small{margin-left:auto;color:#7f9bb9;font-size:10px}.module-item-verified{align-items:center}.module-item-verified .module-copy{min-width:0;flex:1}.module-runtime-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.module-runtime-proof{min-width:128px;text-align:right}.module-runtime-proof small{display:block;margin-top:5px;color:#6f8aa8;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.module-runtime-detail{margin:-1px 14px 10px;padding:8px 11px;border:1px solid rgba(240,180,70,.16);border-top:0;border-radius:0 0 10px 10px;background:rgba(240,180,70,.035);color:#9eb1c7;font-size:10px;line-height:1.45}.module-runtime-detail.is-failed{border-color:rgba(255,83,113,.22);background:rgba(255,83,113,.045);color:#ff9bae}
@media(max-width:760px){.module-item-verified{align-items:flex-start}.module-runtime-actions{align-items:flex-end;flex-direction:column;gap:9px}.module-runtime-proof{min-width:0}.module-verification-summary small{width:100%;margin-left:0}}

/* v9.0.5 · API-key-free OpenStreetMap basemap */
