.hubspot-room {
    --hubspot-orange: #ff7a59;
    --hubspot-orange-soft: rgba(255, 122, 89, .14);
    --hubspot-cyan: #5ce1e6;
    --hubspot-green: #55d6a6;
    --hubspot-yellow: #ffd166;
    --hubspot-red: #ff8d9a;
    --hubspot-ink: #edf5f5;
    --hubspot-muted: #aab8ba;
    --hubspot-panel: #111a1d;
    --hubspot-panel-soft: #0c1315;
    --hubspot-line: rgba(224, 244, 243, .14);
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
    color: var(--hubspot-ink);
    background:
        radial-gradient(circle at 5% 12%, rgba(255, 122, 89, .12), transparent 25rem),
        radial-gradient(circle at 92% 70%, rgba(92, 225, 230, .08), transparent 28rem),
        #070b0d;
}

.hubspot-room::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .24;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hubspot-room__container {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
}

.hubspot-room__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: 2rem;
}

.hubspot-room__heading h2,
.hubspot-room__first-lot h3 {
    max-width: 18ch;
    margin: 0;
    color: var(--hubspot-ink);
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 520;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.hubspot-room__heading > p,
.hubspot-room__first-lot p {
    margin: 0;
    color: var(--hubspot-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hubspot-room__kicker {
    margin: 0 0 1rem;
    color: var(--hubspot-orange);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hubspot-room__console {
    overflow: hidden;
    border: 1px solid var(--hubspot-line);
    border-radius: 24px;
    background: rgba(11, 17, 20, .94);
    box-shadow: 0 42px 110px rgba(0, 0, 0, .45);
}

.hubspot-room__topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--hubspot-line);
    background: linear-gradient(90deg, rgba(255, 122, 89, .08), rgba(92, 225, 230, .03));
}

.hubspot-room__identity,
.hubspot-room__identity > div,
.hubspot-room__panel-title,
.hubspot-room__panel-title > div {
    display: flex;
    align-items: center;
}

.hubspot-room__identity,
.hubspot-room__panel-title {
    gap: .75rem;
}

.hubspot-room__identity > div,
.hubspot-room__panel-title > div {
    align-items: flex-start;
    flex-direction: column;
}

.hubspot-room__identity small,
.hubspot-room__panel-title small,
.hubspot-room__event time,
.hubspot-room__event code,
.hubspot-room__records small,
.hubspot-room__association small,
.hubspot-room__fields small,
.hubspot-room__fields span,
.hubspot-room__receipt small,
.hubspot-room__receipt code,
.hubspot-room__exceptions small,
.hubspot-room__boundaries small {
    color: var(--hubspot-muted);
}

.hubspot-room__identity small,
.hubspot-room__panel-title small {
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hubspot-room__identity strong {
    color: var(--hubspot-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .82rem;
    letter-spacing: .03em;
}

.hubspot-room__mark {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 12px 4px 12px 12px;
    color: #160a06;
    background: var(--hubspot-orange);
    font-weight: 900;
}

.hubspot-room__scope {
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    justify-content: flex-end;
    margin: 0;
}

.hubspot-room__scope > div {
    min-width: 0;
}

.hubspot-room__scope dt,
.hubspot-room__scope dd {
    margin: 0;
}

.hubspot-room__scope dt {
    margin-bottom: .18rem;
    color: var(--hubspot-muted);
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hubspot-room__scope dd {
    overflow: hidden;
    color: var(--hubspot-ink);
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hubspot-room__status {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    min-height: 34px;
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 209, 102, .28);
    border-radius: 999px;
    color: var(--hubspot-yellow);
    background: rgba(255, 209, 102, .08);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hubspot-room__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(255, 209, 102, .1);
}

.hubspot-room__workspace {
    display: grid;
    grid-template-columns: .92fr 1.05fr 1.18fr;
}

.hubspot-room__workspace > section {
    min-width: 0;
    padding: clamp(1.25rem, 2.3vw, 2rem);
}

.hubspot-room__workspace > section + section {
    border-left: 1px solid var(--hubspot-line);
}

.hubspot-room__panel-title {
    margin-bottom: 1.35rem;
}

.hubspot-room__panel-title > span {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(255, 122, 89, .28);
    border-radius: 50%;
    color: var(--hubspot-orange);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .67rem;
    font-weight: 800;
}

.hubspot-room__panel-title h3 {
    margin: .1rem 0 0;
    color: var(--hubspot-ink);
    font-size: 1.05rem;
    line-height: 1.25;
}

.hubspot-room__event {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .35rem .75rem;
    padding: .85rem;
    border: 1px solid rgba(92, 225, 230, .16);
    border-radius: 14px;
    background: rgba(92, 225, 230, .045);
}

.hubspot-room__source {
    color: var(--hubspot-cyan);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .09em;
}

.hubspot-room__event time {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .69rem;
}

.hubspot-room__event strong,
.hubspot-room__event code {
    grid-column: 1 / -1;
}

.hubspot-room__event strong {
    font-size: .9rem;
}

.hubspot-room__event code {
    overflow-wrap: anywhere;
    font-size: .69rem;
}

.hubspot-room__payload {
    margin: .8rem 0;
}

.hubspot-room__payload > div {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: .7rem;
    padding: .65rem .2rem;
    border-bottom: 1px solid var(--hubspot-line);
}

.hubspot-room__payload dt,
.hubspot-room__payload dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.hubspot-room__payload dt {
    color: var(--hubspot-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .67rem;
}

.hubspot-room__payload dd {
    color: var(--hubspot-ink);
    font-size: .72rem;
    text-align: right;
}

.hubspot-room__warning {
    display: flex;
    gap: .65rem;
    margin: 0;
    padding: .8rem;
    border-radius: 12px;
    color: var(--hubspot-muted);
    background: var(--hubspot-orange-soft);
    font-size: .73rem;
    line-height: 1.5;
}

.hubspot-room__warning i {
    display: grid;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: 50%;
    color: #150a07;
    background: var(--hubspot-orange);
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
}

.hubspot-room__warning strong {
    display: block;
    color: var(--hubspot-ink);
}

.hubspot-room__records {
    display: grid;
    gap: .55rem;
}

.hubspot-room__records article {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .18rem .65rem;
    padding: .72rem .8rem .72rem 1rem;
    border: 1px solid var(--hubspot-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .018);
}

.hubspot-room__records article::before {
    position: absolute;
    top: 50%;
    left: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hubspot-cyan);
    content: "";
    transform: translateY(-50%);
}

.hubspot-room__records article.is-primary {
    border-color: rgba(255, 122, 89, .32);
    background: rgba(255, 122, 89, .07);
}

.hubspot-room__records article.is-primary::before {
    background: var(--hubspot-orange);
    box-shadow: 0 0 0 5px rgba(255, 122, 89, .1);
}

.hubspot-room__records span,
.hubspot-room__records strong,
.hubspot-room__records small {
    min-width: 0;
}

.hubspot-room__records span {
    color: var(--hubspot-orange);
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hubspot-room__records strong {
    grid-row: 2;
    color: var(--hubspot-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .78rem;
}

.hubspot-room__records small {
    grid-column: 1 / -1;
    grid-row: 3;
    overflow-wrap: anywhere;
    font-size: .67rem;
}

.hubspot-room__records b {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--hubspot-cyan);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hubspot-room__association {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: .8rem;
    padding: .8rem;
    border-left: 2px solid var(--hubspot-cyan);
    background: rgba(92, 225, 230, .045);
}

.hubspot-room__association > span {
    color: var(--hubspot-cyan);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hubspot-room__association code {
    overflow-wrap: anywhere;
    color: var(--hubspot-ink);
    font-size: .7rem;
}

.hubspot-room__association small {
    font-size: .66rem;
}

.hubspot-room__fields {
    display: grid;
    gap: .42rem;
}

.hubspot-room__fields article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .2rem .7rem;
    padding: .58rem .68rem;
    border: 1px solid var(--hubspot-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .018);
}

.hubspot-room__fields div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hubspot-room__fields code {
    overflow-wrap: anywhere;
    color: var(--hubspot-ink);
    font-size: .7rem;
}

.hubspot-room__fields strong {
    align-self: center;
    color: var(--hubspot-green);
    font-size: .65rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hubspot-room__fields span {
    grid-column: 2;
    font-size: .62rem;
    text-align: right;
}

.hubspot-room__fields .is-hold strong {
    color: var(--hubspot-yellow);
}

.hubspot-room__fields .is-deny strong {
    color: var(--hubspot-red);
}

.hubspot-room__receipt {
    margin-top: .8rem;
    padding: .85rem;
    border: 1px solid rgba(85, 214, 166, .24);
    border-radius: 14px;
    background: rgba(85, 214, 166, .055);
}

.hubspot-room__receipt > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.hubspot-room__receipt > div strong {
    color: var(--hubspot-green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .82rem;
}

.hubspot-room__receipt dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .35rem;
    margin: .7rem 0;
}

.hubspot-room__receipt dl div {
    padding: .4rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    text-align: center;
}

.hubspot-room__receipt dt,
.hubspot-room__receipt dd {
    margin: 0;
}

.hubspot-room__receipt dt {
    color: var(--hubspot-muted);
    font-size: .56rem;
}

.hubspot-room__receipt dd {
    color: var(--hubspot-ink);
    font-size: .78rem;
    font-weight: 750;
}

.hubspot-room__receipt code {
    display: block;
    overflow-wrap: anywhere;
    font-size: .64rem;
}

.hubspot-room__exceptions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hubspot-line);
    background: rgba(0, 0, 0, .18);
}

.hubspot-room__exceptions article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 1.2rem;
}

.hubspot-room__exceptions article + article {
    border-left: 1px solid var(--hubspot-line);
}

.hubspot-room__exceptions span {
    color: var(--hubspot-yellow);
    font-size: .6rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hubspot-room__exceptions strong {
    color: var(--hubspot-ink);
    font-size: .82rem;
}

.hubspot-room__exceptions small {
    font-size: .68rem;
    line-height: 1.45;
}

.hubspot-room__first-lot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    margin-top: 1.25rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid var(--hubspot-line);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 122, 89, .11), rgba(92, 225, 230, .04));
}

.hubspot-room__first-lot h3 {
    max-width: 24ch;
    margin-bottom: .8rem;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.hubspot-room__first-lot p:not(.hubspot-room__kicker) {
    max-width: 68ch;
}

.hubspot-room__cta {
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1rem;
    border: 1px solid var(--hubspot-orange);
    border-radius: 8px;
    color: #170a06;
    background: var(--hubspot-orange);
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.hubspot-room__cta:hover,
.hubspot-room__cta:focus-visible {
    border-color: #ff9a80;
    color: #170a06;
    background: #ff9a80;
    transform: translateY(-1px);
}

.hubspot-room__boundaries {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin-top: .8rem;
}

.hubspot-room__boundaries a {
    display: flex;
    min-width: 0;
    min-height: 118px;
    flex-direction: column;
    gap: .24rem;
    justify-content: flex-end;
    padding: .9rem;
    border: 1px solid var(--hubspot-line);
    border-radius: 14px;
    color: var(--hubspot-ink);
    background: rgba(255, 255, 255, .018);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.hubspot-room__boundaries a:hover,
.hubspot-room__boundaries a:focus-visible {
    border-color: rgba(255, 122, 89, .44);
    color: var(--hubspot-ink);
    background: rgba(255, 122, 89, .06);
    transform: translateY(-2px);
}

.hubspot-room__boundaries span {
    color: var(--hubspot-orange);
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hubspot-room__boundaries strong {
    font-size: .83rem;
}

.hubspot-room__boundaries small {
    overflow-wrap: anywhere;
    font-size: .66rem;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .hubspot-room__topbar {
        grid-template-columns: auto 1fr;
    }

    .hubspot-room__scope {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }

    .hubspot-room__status {
        justify-self: end;
    }

    .hubspot-room__workspace {
        grid-template-columns: 1fr 1fr;
    }

    .hubspot-room__workspace > section:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid var(--hubspot-line);
        border-left: 0;
    }

    .hubspot-room__fields {
        grid-template-columns: 1fr 1fr;
    }

    .hubspot-room__receipt {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .hubspot-room {
        padding: 4rem 0;
    }

    .hubspot-room__container {
        width: min(100% - 28px, 1220px);
    }

    .hubspot-room__heading,
    .hubspot-room__first-lot {
        grid-template-columns: 1fr;
    }

    .hubspot-room__heading h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hubspot-room__topbar,
    .hubspot-room__workspace,
    .hubspot-room__exceptions,
    .hubspot-room__boundaries {
        grid-template-columns: 1fr;
    }

    .hubspot-room__status {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .hubspot-room__scope {
        display: grid;
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: 1fr;
        gap: .75rem;
        width: 100%;
        padding-top: .9rem;
        border-top: 1px solid var(--hubspot-line);
    }

    .hubspot-room__scope dd {
        white-space: normal;
    }

    .hubspot-room__workspace > section,
    .hubspot-room__workspace > section:nth-child(3) {
        grid-column: 1;
        border-top: 1px solid var(--hubspot-line);
        border-left: 0;
    }

    .hubspot-room__workspace > section:first-child {
        border-top: 0;
    }

    .hubspot-room__fields {
        grid-template-columns: 1fr;
    }

    .hubspot-room__exceptions article + article {
        border-top: 1px solid var(--hubspot-line);
        border-left: 0;
    }

    .hubspot-room__first-lot {
        align-items: stretch;
    }

    .hubspot-room__cta {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .hubspot-room__boundaries a {
        min-height: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hubspot-room__cta,
    .hubspot-room__boundaries a {
        transition: none;
    }
}
