.b360 {
    --ink: #0c1a30;
    --muted: #6c7789;
    --line: #e6eaf0;
    --soft: #f5f7fa;
    --blue: #285bc5;
    --red: #d43b3b;
    --orange: #d97916;
    --green: #17815b;

    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
    color: var(--ink);
}

.b360 *,
.b360 *::before,
.b360 *::after {
    box-sizing: border-box;
}

.b360 a {
    color: inherit;
    text-decoration: none;
}

.b360-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
    min-height: 290px;
    padding: 38px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 87% 8%,
            rgba(82, 137, 255, .33),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #071426,
            #0d203c 58%,
            #163760
        );
    box-shadow: 0 28px 70px rgba(11, 28, 54, .2);
    color: #fff;
}

.b360-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #9fb0c8;
    font-size: 10px;
}

.b360-breadcrumb strong {
    color: #fff;
}

.b360-eyebrow {
    margin-bottom: 7px;
    color: #8390a2;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.b360-hero .b360-eyebrow {
    color: #a7bcdb;
}

.b360-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 790;
    letter-spacing: -.055em;
    line-height: 1;
}

.b360-address {
    margin: 15px 0 0;
    color: #c4d0e2;
    font-size: 14px;
}

.b360-owner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.b360-owner-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    background: rgba(255, 255, 255, .09);
    font-size: 13px;
    font-weight: 850;
}

.b360-owner small,
.b360-owner strong {
    display: block;
}

.b360-owner small {
    color: #91a5c3;
    font-size: 8px;
}

.b360-owner strong {
    margin-top: 3px;
    font-size: 11px;
}

.b360-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 27px;
}

.b360-button {
    display: inline-flex;
    align-items: center;
    min-height: 41px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 780;
    transition: transform .16s ease;
}

.b360-button:hover {
    transform: translateY(-2px);
}

.b360-button-primary {
    background: #fff;
    color: #0b1830 !important;
}

.b360-button-soft {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .09);
}

.b360-button-ghost {
    color: #c0cde0 !important;
}

.b360-completion {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.b360-ring {
    --score: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 166px;
    height: 166px;
    margin-bottom: 16px;
    border-radius: 50%;
    background:
        radial-gradient(
            closest-side,
            #102746 72%,
            transparent 73% 99%
        ),
        conic-gradient(
            #8eb2ff calc(var(--score) * 1%),
            rgba(255, 255, 255, .11) 0
        );
}

.b360-ring strong {
    font-size: 34px;
    letter-spacing: -.05em;
}

.b360-ring span {
    margin-top: 4px;
    color: #a8b9d2;
    font-size: 9px;
}

.b360-completion > small {
    color: #92a5c2;
    font-size: 8px;
}

.b360-completion > strong {
    margin-top: 5px;
    font-size: 12px;
}

.b360-completion > span {
    margin-top: 4px;
    color: #a7b5ca;
    font-size: 8px;
}

.b360-anchorbar {
    position: sticky;
    top: 8px;
    z-index: 30;
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 25px rgba(14, 32, 61, .06);
    backdrop-filter: blur(12px);
}

.b360-anchorbar a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 9px;
    color: #627086;
    font-size: 9px;
    font-weight: 780;
}

.b360-anchorbar a:hover {
    background: #eef3fa;
    color: #203a60;
}

.b360-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.b360-metric {
    display: flex;
    flex-direction: column;
    min-height: 115px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15, 32, 60, .045);
    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.b360-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 32, 60, .09);
}

.b360-metric > span {
    color: #657287;
    font-size: 9px;
    font-weight: 760;
}

.b360-metric > strong {
    margin-top: 12px;
    font-size: 29px;
    letter-spacing: -.045em;
    line-height: 1;
}

.b360-metric > small {
    margin-top: auto;
    padding-top: 11px;
    color: #98a2b0;
    font-size: 8px;
}

.b360-metric.is-alert {
    border-color: #f0d0bc;
    background: #fffaf6;
}

.b360-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(290px, .62fr);
    gap: 18px;
    align-items: start;
}

.b360-main,
.b360-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.b360-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 32, 60, .05);
    scroll-margin-top: 85px;
}

.b360-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 22px 17px;
    border-bottom: 1px solid #edf0f4;
}

.b360-panel-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 790;
    letter-spacing: -.035em;
}

.b360-panel-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.b360-panel-link {
    color: var(--blue) !important;
    font-size: 9px;
    font-weight: 790;
    white-space: nowrap;
}

.b360-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 31px;
    height: 31px;
    padding: 0 8px;
    border-radius: 9px;
    background: var(--soft);
    color: #59677d;
    font-size: 9px;
    font-weight: 850;
}

.b360-decisions {
    padding: 7px;
}

.b360-decision {
    display: grid;
    grid-template-columns:
        29px
        9px
        minmax(0, 1fr)
        auto;
    gap: 13px;
    align-items: center;
    min-height: 79px;
    padding: 13px;
    border-bottom: 1px solid #eef1f4;
    border-radius: 12px;
    transition:
        background .16s ease,
        transform .16s ease;
}

.b360-decision:last-child {
    border-bottom: 0;
}

.b360-decision:hover {
    transform: translateX(2px);
    background: #f8fafc;
}

.b360-rank {
    color: #adb6c3;
    font-size: 8px;
    font-weight: 850;
}

.b360-decision > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, .11);
}

.b360-decision.is-critical > i {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(212, 59, 59, .11);
}

.b360-decision.is-warning > i {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(217, 121, 22, .11);
}

.b360-decision.is-information > i {
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(40, 91, 197, .11);
}

.b360-decision-body small,
.b360-decision-body strong,
.b360-decision-body > span {
    display: block;
}

.b360-decision-body small {
    color: #8a94a4;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.b360-decision-body strong {
    margin-top: 4px;
    font-size: 11px;
}

.b360-decision-body > span {
    margin-top: 4px;
    color: #697588;
    font-size: 9px;
    line-height: 1.45;
}

.b360-decision > b {
    color: #35435a;
    font-size: 9px;
    white-space: nowrap;
}

.b360-units {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #edf0f4;
}

.b360-unit {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        auto
        18px;
    gap: 11px;
    align-items: center;
    padding: 16px 17px;
    background: #fff;
}

.b360-unit:hover {
    background: #f8fafc;
}

.b360-unit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #eef3fa;
    color: #34517b;
    font-size: 10px;
}

.b360-unit-main {
    min-width: 0;
}

.b360-unit-main small,
.b360-unit-main strong,
.b360-unit-main > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b360-unit-main small {
    color: #929cab;
    font-size: 7px;
    text-transform: uppercase;
}

.b360-unit-main strong {
    margin-top: 3px;
    font-size: 11px;
}

.b360-unit-main > span {
    margin-top: 4px;
    color: #687588;
    font-size: 8px;
}

.b360-link-counts {
    display: flex;
    gap: 4px;
}

.b360-link-counts span {
    padding: 5px 6px;
    border-radius: 7px;
    background: #f1f4f8;
    color: #617087;
    font-size: 7px;
    font-weight: 850;
}

.b360-unit > b {
    color: #aab3c0;
}

.b360-timeline {
    padding: 10px 17px 16px;
}

.b360-event {
    display: grid;
    grid-template-columns:
        72px
        16px
        minmax(0, 1fr)
        18px;
    gap: 10px;
    align-items: stretch;
    min-height: 61px;
}

.b360-event time {
    align-self: center;
    color: #939dab;
    font-size: 8px;
    text-align: right;
}

.b360-event-line {
    position: relative;
    display: flex;
    justify-content: center;
}

.b360-event-line::before {
    content: "";
    position: absolute;
    inset: 0 auto;
    width: 1px;
    background: #e1e6ec;
}

.b360-event-line i {
    position: relative;
    z-index: 1;
    align-self: center;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #708198;
    box-shadow: 0 0 0 2px #dfe5ec;
}

.b360-event.is-anomaly .b360-event-line i {
    background: var(--orange);
}

.b360-event.is-event .b360-event-line i {
    background: var(--blue);
}

.b360-event-body {
    align-self: center;
    min-width: 0;
}

.b360-event-body small,
.b360-event-body strong {
    display: block;
}

.b360-event-body small {
    color: #8e98a7;
    font-size: 7px;
    font-weight: 820;
    text-transform: uppercase;
}

.b360-event-body strong {
    margin-top: 4px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b360-event > b {
    align-self: center;
    color: #aab2bf;
}

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

.b360-list {
    padding: 5px 8px 9px;
}

.b360-list > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 58px;
    padding: 11px 10px;
    border-bottom: 1px solid #eef1f4;
    border-radius: 9px;
}

.b360-list > a:last-child {
    border-bottom: 0;
}

.b360-list > a:hover {
    background: #f8fafc;
}

.b360-list strong,
.b360-list small {
    display: block;
}

.b360-list strong {
    max-width: 310px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b360-list small {
    max-width: 330px;
    margin-top: 4px;
    overflow: hidden;
    color: #8994a4;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b360-list b {
    color: #8994a4;
    font-size: 7px;
    white-space: nowrap;
}

.b360-list em {
    padding: 5px 7px;
    border-radius: 7px;
    background: #fff6e8;
    color: #b66808;
    font-size: 7px;
    font-style: normal;
    font-weight: 850;
}

.b360-info {
    margin: 0;
    padding: 6px 18px 15px;
}

.b360-info > div {
    padding: 12px 0;
    border-bottom: 1px solid #eef1f4;
}

.b360-info > div:last-child {
    border-bottom: 0;
}

.b360-info dt {
    color: #8f99a8;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.b360-info dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    color: #24334b;
    font-size: 9px;
    font-weight: 700;
}

.b360-info dd.is-danger {
    color: var(--red);
}

.b360-checks {
    padding: 12px 17px 17px;
}

.b360-checks > div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 35px;
}

.b360-checks span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    font-size: 8px;
    font-weight: 850;
}

.b360-checks strong {
    font-size: 8px;
}

.b360-checks .is-valid span {
    background: #eaf9f2;
    color: var(--green);
}

.b360-checks .is-missing span {
    background: #fff2f2;
    color: var(--red);
}

.b360-checks .is-missing strong {
    color: #9a6370;
}

.b360-resources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #edf0f4;
}

.b360-resources a {
    display: flex;
    flex-direction: column;
    min-height: 82px;
    padding: 14px;
    background: #fff;
}

.b360-resources a:hover {
    background: #f8fafc;
}

.b360-resources span {
    color: #788497;
    font-size: 8px;
}

.b360-resources strong {
    margin-top: auto;
    font-size: 21px;
    letter-spacing: -.04em;
}

.b360-connections {
    padding: 12px 17px 17px;
}

.b360-connections > div {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        8px;
    gap: 10px;
    align-items: center;
    min-height: 55px;
}

.b360-connections > div > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #102540;
    color: #fff;
    font-size: 9px;
    font-weight: 850;
}

.b360-connections p {
    margin: 0;
}

.b360-connections strong,
.b360-connections small {
    display: block;
}

.b360-connections strong {
    font-size: 9px;
}

.b360-connections small {
    margin-top: 3px;
    color: #8e98a7;
    font-size: 7px;
}

.b360-connections i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c7ced8;
}

.b360-connections i.is-active {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(23, 129, 91, .1);
}

.b360-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    padding: 25px;
    text-align: center;
}

.b360-empty-large {
    min-height: 250px;
}

.b360-empty > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    margin-bottom: 11px;
    border-radius: 13px;
    background: #eef3fa;
    color: #31517e;
    font-size: 14px;
    font-weight: 850;
}

.b360-empty strong {
    font-size: 11px;
}

.b360-empty small {
    max-width: 430px;
    margin-top: 6px;
    color: #8994a4;
    font-size: 8px;
    line-height: 1.5;
}

.b360-empty a {
    margin-top: 14px;
    color: var(--blue);
    font-size: 9px;
    font-weight: 790;
}

@media (max-width: 1260px) {
    .b360-metrics {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .b360-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 790px) {
    .b360-hero {
        grid-template-columns: 1fr;
        padding: 27px 21px;
        border-radius: 22px;
    }

    .b360-completion {
        display: none;
    }

    .b360-hero h1 {
        font-size: 39px;
    }

    .b360-metrics,
    .b360-units,
    .b360-double,
    .b360-side {
        grid-template-columns: 1fr;
    }

    .b360-decision {
        grid-template-columns:
            24px
            8px
            minmax(0, 1fr);
    }

    .b360-decision > b {
        display: none;
    }
}
