.pp-shell {
    padding: 28px;
    color: #edf2ff;
}

.pp-hero,
.pp-insight-card,
.pp-table-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 24, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 26px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.pp-hero {
    position: relative;
    padding: 30px;
    margin-bottom: 24px;
    overflow: hidden;
}

.pp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 30%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 26%);
    pointer-events: none;
}

.pp-page-head,
.pp-status-card,
.pp-coverage-card,
.pp-board {
    position: relative;
    z-index: 1;
}

.pp-page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    margin-bottom: 18px;
}

.pp-page-head-copy {
    min-width: 0;
}

.pp-page-head-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.pp-kicker,
.pp-coverage-kicker,
.pp-board-kicker,
.pp-lane-label,
.pp-table-title {
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.pp-kicker {
    font-size: 11px;
    font-weight: 800;
    color: #8ba3ff;
    margin-bottom: 10px;
}

.pp-title {
    margin: 0 0 10px;
    font-size: 46px;
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #f8fafc;
}

.pp-subtitle {
    max-width: 760px;
    margin: 0 0 14px;
    color: #c5d0e5;
    font-size: 15px;
    line-height: 1.55;
}

.pp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #9fb1cf;
    font-size: 14px;
}

.pp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    color: #e5efff;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
    white-space: nowrap;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.pp-back-btn:hover {
    transform: translateY(-1px);
    color: #f8fafc;
    background: rgba(37, 99, 235, 0.10);
    border-color: rgba(96, 165, 250, 0.30);
}

.pp-back-arrow {
    font-size: 14px;
    line-height: 1;
}

.pp-status-card {
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(13, 23, 42, 0.78), rgba(9, 15, 28, 0.88));
}

.pp-status-card-warning {
    border-color: rgba(245, 158, 11, 0.28);
    background: linear-gradient(180deg, rgba(82, 45, 9, 0.42), rgba(13, 23, 42, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pp-status-title {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f8fafc;
    margin-bottom: 10px;
}

.pp-status-line {
    color: #d5deee;
    font-size: 14px;
    line-height: 1.5;
}

.pp-status-card-warning .pp-status-line + .pp-status-line {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(245, 158, 11, 0.12);
}

.pp-coverage-card {
    margin-bottom: 18px;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: linear-gradient(180deg, rgba(9, 22, 47, 0.92), rgba(8, 16, 31, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pp-coverage-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    margin-bottom: 14px;
}

.pp-coverage-kicker {
    font-size: 10px;
    font-weight: 800;
    color: #8ba3ff;
    margin-bottom: 6px;
}

.pp-coverage-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

.pp-coverage-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 900;
    color: #eaf2ff;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.24);
}

.pp-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.pp-coverage-metric {
    padding: 14px 15px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.10);
}

.pp-coverage-value {
    font-size: 26px;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1;
    margin-bottom: 7px;
}

.pp-coverage-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9fb1cf;
}

.pp-coverage-summary {
    color: #cad5e7;
    font-size: 14px;
    line-height: 1.55;
}

.pp-board {
    padding: 22px 24px 18px;
    margin-bottom: 24px;
    background:
        radial-gradient(circle at top center, rgba(37, 99, 235, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(8, 17, 38, 0.99), rgba(3, 10, 24, 0.99));
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.pp-board-head {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: start;
    gap: 12px;
    margin-bottom: 18px;
}

.pp-board-side {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #f8fafc;
    padding-top: 10px;
    line-height: 1;
}

.pp-board-side-right {
    text-align: right;
}

.pp-board-center {
    text-align: center;
}

.pp-board-kicker {
    font-size: 10px;
    font-weight: 800;
    color: #8ba3ff;
    margin-bottom: 5px;
}

.pp-board-subtitle {
    font-size: 15px;
    color: #9fb1cf;
    line-height: 1.4;
}

.pp-board-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.42fr 28px 1.42fr 0.92fr;
    gap: 14px;
    align-items: start;
}

.pp-board-mid {
    display: flex;
    justify-content: center;
    align-self: stretch;
}

.pp-board-mid-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.18), transparent);
}

.pp-lane {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.pp-lane-label {
    font-size: 11px;
    font-weight: 800;
    color: #9fb1cf;
    padding: 0 2px 2px;
    line-height: 1;
}

.pp-lane-label-right {
    text-align: right;
}

.pp-slot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 84px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(12, 24, 52, 0.80), rgba(8, 17, 38, 0.94));
    border: 1px solid rgba(71, 85, 105, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
    transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.pp-slot:hover,
.pp-insight-row:hover,
.pp-team-link:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.32);
}

.pp-slot:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.pp-slot-playin {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr);
}

.pp-slot-main {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pp-slot-logo,
.pp-logo {
    object-fit: contain;
    display: block;
}

.pp-slot-logo {
    width: 28px;
    height: 28px;
}

.pp-logo {
    width: 34px;
    height: 34px;
}

.pp-logo-sm {
    width: 22px;
    height: 22px;
}

.pp-slot-copy {
    min-width: 0;
}

.pp-slot-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pp-slot-seed {
    min-width: 16px;
    font-size: 18px;
    font-weight: 900;
    color: #8ba3ff;
    line-height: 1;
}

.pp-slot-name {
    min-width: 0;
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-slot-record {
    margin-top: 4px;
    font-size: 13px;
    color: #9fb1cf;
    line-height: 1.1;
    white-space: nowrap;
}

.pp-slot-metrics {
    width: 90px;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.pp-pill,
.pp-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.pp-chip,
.pp-pill {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.pp-chip {
    color: #e5efff;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.24);
}

.pp-chip-muted,
.pp-pill-soft {
    color: #d3dceb;
    background: rgba(148, 163, 184, 0.09);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.pp-pill {
    background: rgba(59, 130, 246, 0.14);
    color: #dbe7ff;
    border: 1px solid rgba(96, 165, 250, 0.24);
}

.pp-pill-soft {
    color: #cbd5e1;
}

.pp-insights,
.pp-tables {
    display: grid;
    gap: 16px;
}

.pp-insights {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 24px;
}

.pp-insight-card {
    padding: 20px;
}

.pp-insight-title {
    font-size: 17px;
    font-weight: 900;
    color: #f8fafc;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.pp-insight-subtitle {
    color: #93a4bf;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.pp-insight-list {
    display: grid;
    gap: 10px;
}

.pp-insight-row,
.pp-team-link {
    text-decoration: none;
    color: inherit;
}

.pp-insight-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    background: rgba(13, 23, 42, 0.54);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.pp-insight-team,
.pp-team-link {
    display: flex;
    align-items: center;
    gap: 11px;
}

.pp-table-card {
    padding: 20px;
}

.pp-table-title {
    font-size: 11px;
    font-weight: 800;
    color: #8ba3ff;
    margin-bottom: 14px;
}

.pp-table-wrap {
    overflow-x: auto;
}

.pp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    min-width: 980px;
}

.pp-table th {
    text-align: left;
    padding: 0 12px 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #7f93b2;
    white-space: nowrap;
}

.pp-table td {
    padding: 14px 12px;
    background: rgba(9, 18, 34, 0.72);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    white-space: nowrap;
    vertical-align: middle;
}

.pp-table tbody tr td:first-child {
    border-left: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 16px 0 0 16px;
}

.pp-table tbody tr td:last-child {
    border-right: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 0 16px 16px 0;
}

.pp-table tbody tr:hover td {
    background: rgba(12, 24, 45, 0.88);
    border-top-color: rgba(96, 165, 250, 0.16);
    border-bottom-color: rgba(96, 165, 250, 0.16);
}

.pp-table-seed {
    width: 54px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #8ba3ff;
}

.pp-table-team {
    min-width: 220px;
}

.pp-table-team-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}

.pp-table-team-name {
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
}

.pp-table-team-meta {
    font-size: 12px;
    color: #8ea0bc;
}

.pp-table-record {
    min-width: 94px;
}

.pp-table-record-main {
    font-size: 15px;
    font-weight: 900;
    color: #f8fafc;
}

.pp-table-record-sub {
    margin-top: 3px;
    font-size: 12px;
    color: #8ea0bc;
}

.pp-table-prob {
    min-width: 74px;
    font-size: 15px;
    font-weight: 900;
    color: #f8fafc;
}

.pp-table-prob-soft {
    color: #c9d3e4;
    font-weight: 800;
}

.pp-table-seedexp {
    min-width: 74px;
    font-size: 15px;
    font-weight: 800;
    color: #d9e2f1;
}

.pp-table-heur {
    min-width: 70px;
}

.pp-score {
    min-width: 52px;
    padding: 5px 9px;
    font-size: 11px;
}

.pp-score-low {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.16);
}

.pp-score-medium {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.16);
}

.pp-score-high {
    background: rgba(239, 68, 68, 0.12);
    color: #fda4af;
    border: 1px solid rgba(239, 68, 68, 0.16);
}

@media (max-width: 1280px) {
    .pp-board-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pp-board-mid {
        display: none;
    }

    .pp-lane-label-right {
        text-align: left;
    }

    .pp-insights {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .pp-shell {
        padding: 18px;
    }

    .pp-hero {
        padding: 22px;
    }

    .pp-page-head {
        grid-template-columns: 1fr;
    }

    .pp-page-head-actions {
        justify-content: flex-start;
    }

    .pp-title {
        font-size: 38px;
    }

    .pp-subtitle {
        font-size: 14px;
    }

    .pp-coverage-head,
    .pp-coverage-grid,
    .pp-board-head,
    .pp-board-grid {
        grid-template-columns: 1fr;
    }

    .pp-board {
        padding: 18px 16px 16px;
    }

    .pp-board-side,
    .pp-board-side-right,
    .pp-lane-label-right {
        text-align: left;
        padding-top: 0;
    }

    .pp-board-subtitle {
        font-size: 14px;
    }

    .pp-insights {
        grid-template-columns: 1fr;
    }

    .pp-slot {
        grid-template-columns: minmax(0, 1fr) 82px;
    }

    .pp-slot-metrics {
        width: 82px;
        min-width: 82px;
    }
}

@media (max-width: 640px) {
    .pp-shell {
        padding: 14px;
    }

    .pp-title {
        font-size: 34px;
    }

    .pp-meta {
        font-size: 13px;
    }

    .pp-coverage-card,
    .pp-table-card,
    .pp-insight-card,
    .pp-status-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}
