@font-face {
    font-family: Manrope;
    src: url("./assets/manrope-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #ffffff;
    color: #20211c;
    font:
        14px Manrope,
        sans-serif;
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
    color: inherit;
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 7px;
    padding: 9px 13px;
    transition:
        background 0.14s,
        border-color 0.14s;
}
button:hover {
    background: #f4f4ee;
    border-color: #deded7;
}
button:disabled {
    opacity: 0.4;
    cursor: default;
}
input,
select,
textarea {
    color: inherit;
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 7px;
    padding: 9px 12px;
}
select {
    cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid #b9c8d4;
    outline-offset: 3px;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1 {
    font-size: 28px;
    letter-spacing: -1px;
    font-weight: 650;
}
h2 {
    font-size: 19px;
    letter-spacing: -0.5px;
    font-weight: 650;
}
h3 {
    font-size: 15px;
    font-weight: 650;
}
p {
    color: #686b60;
    line-height: 1.7;
}
small {
    font-size: 12px;
}
button.primary {
    background: #f4f4ee;
    color: #686b60;
    border-color: #deded7;
    font-weight: 650;
}
button.primary:hover {
    background: #f4f4ee;
}
.danger {
    color: #efb4a2;
    border-color: #deded7;
}
.subtle {
    color: #686b60;
    font-size: 12px;
}
.sidebar {
    width: 224px;
    background: #ffffff;
    position: fixed;
    inset: 0 auto 0 0;
    padding: 27px 14px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #deded7;
}
.brand {
    height: 41px;
    padding-left: 12px;
}
.brand img {
    width: 101px;
    max-height: 31px;
}
.customer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 21px 6px 29px;
}
.customer strong {
    font-size: 13px;
}
.customer small {
    display: block;
    color: #686b60;
    margin-top: 3px;
}
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f4ee;
    color: #20211c;
    width: 33px;
    height: 33px;
    border: 1px solid #deded7;
    border-radius: 9px;
    font-weight: 650;
}
.avatar.small {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    font-size: 10px;
    margin-left: 18px;
    background: #f4f4ee;
    border-color: #deded7;
}
.nav-label {
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #686b60;
    padding: 0 12px;
    margin: 12px 0;
}
.nav {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    border: 0;
    background: transparent;
    color: #20211c;
    text-align: left;
    height: 39px;
    margin: 2px 0;
}
.nav span {
    font-size: 18px;
    color: #686b60;
}
.nav.active {
    background: #f4f4ee;
    color: #20211c;
}
.pool-nav {
    margin: 9px 0 23px;
}
.pool-nav button {
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    font-size: 11px;
    border: 0;
    background: transparent;
    color: #686b60;
    padding: 10px 7px 10px 21px;
    gap: 9px;
}
.pool-nav button:hover,
.pool-nav button.chosen {
    color: #20211c;
    background: #ffffff05;
}
.pool-nav i {
    width: 5px;
    height: 5px;
    background: #aec697;
    border-radius: 50%;
}
.pool-nav small {
    margin-left: auto;
    color: #686b60;
    font-size: 10px;
}
.sidebar-bottom {
    margin-top: auto;
    color: #686b60;
    font-size: 11px;
    padding: 14px 9px 0;
    border-top: 1px solid #deded7;
}
.sidebar-bottom small {
    display: block;
    font-size: 10px;
    color: #686b60;
    margin: 7px 0 0 14px;
}
.local-dot,
.live-dot,
.idle-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b8ce9e;
    margin-right: 7px;
    flex-shrink: 0;
}
.idle-dot {
    background: #f4f4ee;
}
.workspace {
    margin-left: 224px;
}
.topbar {
    height: 65px;
    border-bottom: 1px solid #deded7;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #686b60;
    font-size: 12px;
}
.topbar > div {
    display: flex;
    align-items: center;
}
.topbar select {
    font-size: 11px;
    padding: 6px 10px;
    border-color: #deded7;
    background: transparent;
}
.slash {
    margin: 0 13px;
    color: #686b60;
}
main {
    padding: 20px 36px 60px;
    max-width: 1900px;
    margin: auto;
}
.preview-note {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #686b60;
    font-size: 10px;
    margin: 0 0 25px;
}
.preview-note > span:first-child {
    font-size: 16px;
    color: #686b60;
}
.separator {
    color: #686b60;
}
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
}
.eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #686b60;
    margin-bottom: 9px;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 35px;
}
.hero-screen {
    border: 0;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    display: block;
}
.hero-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.hero-info h2 {
    font-size: 23px;
    line-height: 1.35;
    letter-spacing: -0.7px;
}
.hero-info p {
    font-size: 11px;
}
.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #deded7;
    border-radius: 5px;
    font-size: 10px;
    padding: 4px 8px;
    color: #686b60;
    white-space: nowrap;
}
.pill.green {
    background: #b7d59a0a;
    border-color: #a1bd7e35;
    color: #20211c;
}
.pill.amber {
    color: #dfac79;
    border-color: #866041;
}
.hero-details {
    display: grid;
    gap: 11px;
}
.hero-details > span {
    font-size: 10px;
    color: #686b60;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.hero-details strong {
    font-size: 10px;
    color: #20211c;
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: right;
}
.hero-info .primary {
    margin-top: auto;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}
.mini-event {
    font-size: 9px;
    color: #686b60;
}
.pool-section {
    margin-top: 32px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}
.section-heading p {
    font-size: 11px;
    margin-top: 6px;
}
.count {
    display: inline-block;
    font-size: 10px;
    vertical-align: middle;
    color: #686b60;
    background: #f4f4ee;
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 7px;
}
.text-button {
    border: 0;
    background: transparent;
    padding: 6px 0;
    font-size: 11px;
    color: #20211c;
}
.text-button span {
    margin-left: 10px;
}
.stream-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.stream-card {
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    min-width: 0;
}
.stream-card:hover {
    background: none;
}
.stream-card:hover .desktop {
    outline: 1px solid #8c9a80;
}
.stream-title {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 12px;
}
.stream-title strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    font-weight: 600;
}
.stream-title > span {
    margin-left: auto;
    color: #686b60;
    font-size: 14px;
    padding-left: 7px;
}
.stream-meta {
    font-size: 10px;
    color: #686b60;
    margin: 6px 0 5px 13px;
}
.stream-meta > span {
    margin: 0 4px;
    color: #686b60;
}
.session-type {
    font-size: 9px;
    color: #686b60;
    margin-left: 13px;
}
.desktop {
    position: relative;
    background: #f4f4ee;
    aspect-ratio: 16/10;
    border-radius: 6px;
    overflow: hidden;
    color: #686b60;
    container-type: inline-size;
    text-align: left;
    isolation: isolate;
}
.desktop-browser {
    height: 10%;
    background: #f4f4ee;
    display: flex;
    align-items: center;
    gap: 3%;
    padding: 0 3%;
    font-size: 1.65cqw;
    color: #686b60;
}
.desktop-browser > div {
    background: #f4f4ee;
    border-radius: 10px;
    flex: 1;
    padding: 1% 4%;
    font-size: 1.4cqw;
}
.desktop-app {
    height: 90%;
    display: flex;
}
.desk-rail {
    width: 7%;
    background: #f4f4ee;
    color: #20211c;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8%;
    padding-top: 3%;
    font-size: 2.8cqw;
}
.desk-rail b {
    color: #20211c;
    font-size: 3.5cqw;
}
.desk-content {
    flex: 1;
    padding: 0 3%;
    background: #f4f4ee;
}
.desk-top {
    font-size: 1.5cqw;
    border-bottom: 1px solid #deded7;
    padding: 2.4% 0;
    font-weight: 700;
}
.desk-top > span {
    float: right;
    font-size: 1.1cqw;
    color: #686b60;
    font-weight: 400;
}
.desk-heading {
    margin-top: 4%;
    font-weight: 750;
    font-size: 2.8cqw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.desk-heading .desk-new {
    font-size: 1.1cqw;
    padding: 1% 2%;
    border-radius: 3px;
    background: #f4f4ee;
    color: white;
    border: 0;
    pointer-events: none;
}
.desk-tabs {
    font-size: 1.3cqw;
    color: #686b60;
    border-bottom: 1px solid #deded7;
    padding: 2.5% 0;
}
.desk-search {
    margin: 3% 0;
    font-size: 1.25cqw;
    background: white;
    border: 1px solid #deded7;
    border-radius: 3px;
    padding: 1.5%;
    color: #686b60;
}
.desk-row {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr 0.7fr;
    padding: 2.2% 1%;
    font-size: 1.2cqw;
    border-bottom: 1px solid #deded7;
    gap: 2%;
    background: white;
}
.desk-row.th {
    font-size: 1cqw;
    color: #686b60;
    background: transparent;
}
.desk-row.highlight {
    background: #f4f4ee;
}
.desk-row em {
    font-style: normal;
    color: #686b60;
    font-size: 1.05cqw;
}
.desk-notice {
    margin-top: 3%;
    font-size: 1.2cqw;
    color: #686b60;
    display: flex;
    align-items: center;
    gap: 2%;
}
.spinner {
    width: 1.4cqw;
    height: 1.4cqw;
    border: 1px solid #deded7;
    border-top-color: #deded7;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}
.cursor {
    position: absolute;
    left: 67%;
    top: 60%;
    font-size: 3cqw;
    color: #686b60;
    filter: drop-shadow(1px 1px white);
    animation: cursor 12s ease-in-out infinite;
}
.stream-overlay {
    position: absolute;
    inset: auto 0 0;
    height: 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3%;
    background: #162622e6;
    color: #20211c;
    font-size: 1.3cqw;
}
.preview-badge {
    font-size: 1.2cqw;
    letter-spacing: 0.3px;
}
.documents .desk-rail {
    background: #f4f4ee;
}
.documents .desk-content {
    background: #f4f4ee;
}
.intake .desk-rail {
    background: #f4f4ee;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes cursor {
    0%,
    100% {
        transform: translate(0, 0);
    }
    35% {
        transform: translate(-60px, -30px);
    }
    65% {
        transform: translate(-20px, 15px);
    }
}
.title-button {
    border: 0;
    background: none;
    padding: 0;
    font-size: 28px;
    letter-spacing: -1px;
    font-weight: 650;
}
.title-button span {
    font-size: 18px;
    color: #686b60;
    padding-left: 10px;
}
.pool-selector {
    position: relative;
}
.pool-selector p {
    font-size: 11px;
    margin-top: 8px;
}
.dropdown {
    position: absolute;
    top: 65px;
    left: 0;
    width: 310px;
    z-index: 5;
    background: #ffffff;
    border: 1px solid #deded7;
    box-shadow: 0 12px 40px #0006;
    border-radius: 8px;
    padding: 10px;
}
.dropdown input:not([type="checkbox"]) {
    width: 100%;
    margin-bottom: 8px;
}
.dropdown label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    padding: 11px 7px;
}
.dropdown label[hidden] {
    display: none;
}
.analytics {
    border-top: 1px solid #deded7;
    padding-top: 20px;
}
.chart-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.chart-toolbar > div:last-child {
    display: flex;
    gap: 8px;
}
.segmented {
    display: flex;
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 7px;
    padding: 3px;
}
.segmented button {
    font-size: 11px;
    border: 0;
    background: none;
    padding: 7px 12px;
    color: #686b60;
}
.segmented .selected {
    background: #f4f4ee;
    color: #20211c;
}
.chart-toolbar select {
    font-size: 11px;
}
.chart-title {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin: 24px 0 10px;
}
.chart-title span {
    color: #686b60;
}
.chart {
    width: 100%;
    height: 260px;
    overflow: visible;
}
.chart text {
    fill: #888;
    font:
        10px Manrope,
        sans-serif;
}
.chart rect:hover {
    fill: #d6e7c9;
}
.brush {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #deded7;
    padding: 10px 0 24px;
    color: #686b60;
    font-size: 10px;
}
.brush input {
    width: 30%;
    accent-color: #bed1ab;
    padding: 0;
    height: 15px;
}
.brush > span:last-child {
    margin-left: auto;
}
.stats {
    display: flex;
    gap: 0;
    margin: 25px 0 6px;
}
.stats > div {
    flex: 1;
    border-right: 1px solid #deded7;
    padding: 0 26px;
}
.stats > div:first-child {
    padding-left: 0;
}
.stats > div:last-child {
    border: 0;
}
.stats span {
    display: block;
    font-size: 11px;
    color: #686b60;
}
.stats strong {
    font-size: 28px;
    font-weight: 600;
    display: block;
    margin: 8px 0;
}
.stats p {
    font-size: 10px;
}
.stats b {
    font-weight: 400;
    color: #20211c;
    margin-left: 9px;
}
.stats .positive {
    color: #20211c;
}
.peek-scrim {
    position: fixed;
    inset: 0;
    background: #0005;
    z-index: 9;
}
.peek {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(590px, 95vw);
    background: #ffffff;
    border-left: 1px solid #deded7;
    z-index: 10;
    box-shadow: -10px 0 70px #0004;
    overflow: auto;
}
.peek-header {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid #deded7;
    color: #686b60;
    font-size: 12px;
}
.peek-header button {
    border: 0;
    background: none;
    font-size: 22px;
    padding: 2px 8px;
}
.peek-header button:last-child {
    margin-left: auto;
}
.peek-body {
    padding: 30px;
}
.peek-body h2 {
    font-size: 24px;
    margin: 15px 0 6px;
}
.peek-body p {
    font-size: 11px;
    margin-bottom: 24px;
}
.peek-summary {
    display: flex;
    justify-content: space-between;
    color: #686b60;
    font-size: 10px;
    margin: 14px 0 30px;
}
.event-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 20px;
}
.event {
    display: flex;
    gap: 13px;
    padding: 0 0 23px;
    position: relative;
}
.event > i {
    width: 6px;
    height: 6px;
    background: #f4f4ee;
    border-radius: 50%;
    margin-top: 6px;
    margin-right: 0;
}
.event > i.live-dot {
    background: #f4f4ee;
}
.event:after {
    position: absolute;
    content: "";
    left: 2px;
    top: 16px;
    bottom: 5px;
    width: 1px;
    background: #f4f4ee;
}
.event:last-child:after {
    display: none;
}
.event strong {
    display: block;
    font-size: 11px;
    font-weight: 500;
}
.event span {
    display: block;
    font-size: 10px;
    color: #686b60;
    margin-top: 5px;
}
.event time {
    font-size: 9px;
    color: #686b60;
    margin-left: auto;
}
.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 28px;
}
.back {
    margin-bottom: 18px;
}
.watch-player .desktop {
    border-radius: 8px 8px 0 0;
}
.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 10px;
    color: #686b60;
}
.player-controls button {
    border: 0;
    background: none;
    font-size: 20px;
}
.watch-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 22px 0;
}
.watch-title h1 {
    font-size: 22px;
}
.watch-title p {
    font-size: 10px;
    margin-top: 8px;
}
.watch-title button {
    white-space: nowrap;
    font-size: 11px;
}
.watch-rail h3 {
    margin-bottom: 15px;
}
.related {
    display: flex;
    gap: 11px;
    text-align: left;
    padding: 0;
    border: 0;
    background: none;
    margin: 0 0 17px;
    width: 100%;
}
.related .desktop {
    width: 120px;
    flex-shrink: 0;
    align-self: flex-start;
}
.related strong {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}
.related span:not(.preview-badge):not(.spinner) {
    font-size: 9px;
    color: #686b60;
}
.related > div:last-child > span {
    display: block;
    margin-top: 6px;
}
.control-banner,
.warning {
    background: #9c794113;
    border: 1px solid #88724b55;
    color: #d9bd8b;
    padding: 14px 16px;
    border-radius: 7px;
    font-size: 11px;
    margin: 15px 0;
}
.warning > span {
    float: right;
    color: #9d8766;
}
.tabs {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid #deded7;
    margin-bottom: 27px;
}
.tabs button {
    background: none;
    border: 0;
    border-radius: 0;
    color: #686b60;
    padding: 10px 0 15px;
    font-size: 12px;
}
.tabs .active {
    border-bottom: 2px solid #deded7;
    color: #20211c;
}
.alert-count {
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #f4f4ee;
    color: #e3bb82;
    margin-left: 6px;
}
.table-wrap {
    overflow: auto;
    border: 1px solid #deded7;
    border-radius: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}
th {
    font-size: 10px;
    font-weight: 500;
    color: #686b60;
    background: #ffffff;
    padding: 13px 18px;
}
/* A header that explains itself on hover says so. */
th[data-tip] {
    cursor: help;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}
.tip {
    position: fixed;
    z-index: 100;
    max-width: 280px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--popover);
    color: var(--popover-foreground);
    box-shadow: 0 4px 12px rgb(0 0 0 / 8%);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    pointer-events: none;
}
td {
    font-size: 11px;
    padding: 17px 18px;
    border-top: 1px solid #deded7;
    color: #20211c;
}
td strong {
    font-weight: 550;
    color: #20211c;
}
td small {
    display: block;
    color: #686b60;
    font-size: 9px;
    margin-top: 5px;
}
td button {
    font-size: 10px;
}
.machine-row {
    background: #ffffff;
}
.indent {
    padding-left: 34px;
    color: #686b60;
}
.meter {
    display: flex;
    align-items: center;
    gap: 12px;
}
.meter > div {
    width: 130px;
    height: 4px;
    background: #f4f4ee;
    border-radius: 3px;
    overflow: hidden;
}
.meter i {
    height: 100%;
    display: block;
    border-radius: 3px;
}
.meter span {
    font-size: 10px;
    color: #686b60;
}
.action-machine {
    border: 1px solid #deded7;
    border-radius: 8px;
    padding: 18px 21px;
    margin-bottom: 17px;
}
.action-machine h3 .subtle {
    font-size: 10px;
    margin-left: 13px;
}
.action-machine button {
    font-size: 10px;
    margin-left: 8px;
}
.action-session {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid #deded7;
    font-size: 11px;
}
.action-session small {
    margin-left: 17px;
    color: #686b60;
    font-size: 10px;
}
.empty {
    padding: 70px 25px;
    text-align: center;
    border: 1px dashed #deded7;
    border-radius: 8px;
    margin: 24px 0;
    color: #686b60;
}
.empty p {
    margin: 10px 0 24px;
    font-size: 12px;
}
.empty-icon {
    font-size: 32px;
    color: #20211c;
    margin-bottom: 20px;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: #0009;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal {
    background: #ffffff;
    border: 1px solid #deded7;
    box-shadow: 0 24px 100px #0007;
    border-radius: 14px;
    padding: 26px;
    width: 510px;
    max-height: 95vh;
    overflow: auto;
}
.modal .section-heading button {
    border: 0;
    background: none;
    font-size: 22px;
    padding: 0 5px;
}
.modal > label,
.form-row > label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    font-size: 11px;
    color: #686b60;
}
.modal label[hidden] {
    display: none;
}
.modal textarea {
    min-height: 100px;
    resize: vertical;
}
.modal p {
    font-size: 12px;
    margin: 15px 0;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-row input,
.form-row select {
    width: 100%;
    font-size: 11px;
}
#toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    transition: 0.2s;
    z-index: 30;
    pointer-events: none;
    border: 1px solid #deded7;
    background: #f4f4ee;
    color: #20211c;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 12px;
    box-shadow: 0 5px 30px #0006;
}
#toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
[hidden] {
    display: none !important;
}
@media (min-width: 1550px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) 290px;
    }
    .hero-screen .desktop {
        max-height: 440px;
        aspect-ratio: auto;
        height: 440px;
    }
    .hero-info {
        padding: 32px;
    }
    .hero-info h2 {
        font-size: 28px;
    }
}
@media (max-width: 1150px) {
    .sidebar {
        width: 190px;
    }
    .workspace {
        margin-left: 190px;
    }
    main {
        padding: 20px 24px;
    }
    .topbar {
        padding: 0 24px;
    }
    .hero {
        grid-template-columns: minmax(0, 1fr) 205px;
    }
    .hero-info {
        padding: 17px;
        gap: 10px;
    }
    .hero-info h2 {
        font-size: 19px;
    }
    .hero-details {
        gap: 7px;
    }
    .hero-info p {
        font-size: 10px;
    }
    .hero .desktop {
        height: 100%;
        aspect-ratio: 16/11;
    }
    .stream-grid {
        gap: 13px;
    }
    .watch-layout {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
    .related .desktop {
        width: 90px;
    }
    .stats p {
        font-size: 9px;
    }
    .stats b {
        display: block;
        margin: 3px 0;
    }
}
@media (max-width: 900px) {
    .stream-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-info {
        display: none;
    }
    .hero .desktop {
        aspect-ratio: 16/10;
    }
    .watch-layout {
        grid-template-columns: 1fr;
    }
    .watch-rail {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .watch-rail h3 {
        grid-column: 1/-1;
    }
    .chart-toolbar {
        flex-wrap: wrap;
    }
    .stats > div {
        padding: 0 14px;
    }
    .action-session small {
        display: block;
        margin-left: 15px;
    }
    .section-heading {
        flex-wrap: wrap;
    }
    .tabs {
        gap: 16px;
    }
    .title-button {
        font-size: 23px;
    }
}
@media (max-width: 600px) {
    .sidebar {
        width: 62px;
        padding: 22px 8px;
    }
    .brand {
        padding: 0;
        height: 25px;
        overflow: hidden;
    }
    .brand img {
        width: 70px;
        max-width: none;
    }
    .customer,
    .nav-label,
    .pool-nav,
    .sidebar-bottom {
        display: none;
    }
    .nav {
        font-size: 0;
        padding: 9px;
        justify-content: center;
        margin-top: 15px;
    }
    .nav span {
        font-size: 21px;
    }
    .workspace {
        margin-left: 62px;
    }
    .topbar {
        padding: 0 16px;
        height: 56px;
    }
    .topbar .avatar {
        display: none;
    }
    main {
        padding: 17px 16px;
    }
    .preview-note {
        font-size: 9px;
        display: block;
        line-height: 1.7;
    }
    .page-heading h1 {
        font-size: 24px;
    }
    .page-heading > .subtle {
        display: none;
    }
    .stream-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        margin-bottom: 24px;
    }
    .chart {
        height: 200px;
    }
    .stats strong {
        font-size: 22px;
    }
    .stats p {
        font-size: 8px;
    }
    .stats span {
        font-size: 9px;
    }
    .tabs {
        gap: 12px;
        overflow: auto;
    }
    .tabs button {
        font-size: 10px;
    }
    .watch-title {
        flex-wrap: wrap;
    }
    .watch-rail {
        display: block;
    }
    .peek-body {
        padding: 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .brush {
        gap: 7px;
    }
}
.chart-legend {
    font-size: 10px;
    text-align: right;
    margin: -10px 0 10px;
}
.desk-content .desk-row {
    padding: 1.7% 1%;
}
.desk-content .desk-heading {
    margin-top: 3%;
}
.desk-content .desk-search {
    margin: 2% 0;
}
.execution-help {
    font-size: 11px;
    margin: -10px 0 20px;
}
.status-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #deded7;
    border-radius: 5px;
    color: #20211c;
    background: #ffffff;
    font-size: 10px;
    white-space: nowrap;
}
.status-badge.active,
.status-badge.preparing,
.status-badge.human_controlled {
    color: #aac9e0;
    background: #f4f4ee;
    border-color: #385466;
}
.status-badge.released {
    color: #b7d5a2;
    background: #f4f4ee;
    border-color: #deded7;
}
.status-badge.failed,
.status-badge.lost,
.status-badge.quarantined {
    color: #dfae98;
    background: #f4f4ee;
    border-color: #634735;
}
.execution-panel {
    border: 1px solid #deded7;
    border-radius: 9px;
    overflow: hidden;
}
.execution-quick,
.execution-filters,
.execution-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #deded7;
    background: #ffffff;
}
.execution-quick button {
    border: 0;
    background: transparent;
    font-size: 11px;
    color: #20211c;
}
.execution-quick input {
    margin-left: auto;
    min-width: 260px;
    font-size: 11px;
}
.execution-filters button {
    font-size: 11px;
}
.execution-filters > .subtle {
    margin-left: auto;
    font-size: 10px;
}
.execution-filters .filter-chip {
    background: #f4f4ee;
    border-color: #deded7;
    color: #20211c;
}
.execution-panel .table-wrap {
    border: 0;
    border-radius: 0;
}
.execution-footer {
    border-bottom: 0;
    border-top: 1px solid #deded7;
}
.execution-footer select {
    font-size: 10px;
}
.execution-footer > span {
    margin-left: auto;
    font-size: 11px;
    color: #686b60;
}
.execution-link {
    padding: 0;
    border: 0;
    background: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 11px;
}
.field-list {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    max-height: 360px;
    overflow: auto;
}
.field-list button {
    text-align: left;
    border: 0;
    background: none;
}
.field-list small {
    display: block;
    color: #686b60;
    margin-top: 5px;
}
.execution-details {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    font-size: 12px;
}
.execution-details dt {
    color: #686b60;
}
.execution-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}
#filter-error {
    color: #e6ad99;
}
.execution-panel .empty {
    border: 0;
    margin: 0;
}
.recording-modal {
    width: min(1120px, 95vw);
}
.recording-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
}
.recording-layout video {
    width: 100%;
    display: block;
    border-radius: 8px;
    background: #ffffff;
}
.recording-layout aside {
    border-left: 1px solid #deded7;
    padding-left: 20px;
}
.recording-events {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.recording-events button {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: transparent;
    border-color: transparent;
    font-size: 11px;
}
.recording-events time {
    color: #20211c;
    font-variant-numeric: tabular-nums;
}
.recording-events span {
    flex: 1;
}
.recording-events .current-event {
    background: #f4f4ee;
    border-color: #deded7;
}
.recording-events button:disabled {
    opacity: 0.7;
}
.recording-layout .empty {
    margin: 0;
    padding: 45px 15px;
}
@media (max-width: 800px) {
    .recording-layout {
        grid-template-columns: 1fr;
    }
    .recording-layout aside {
        border: 0;
        padding: 0;
    }
}
.time-window {
    border-bottom: 1px solid #deded7;
    padding: 10px 0 23px;
}
.window-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #686b60;
    font-size: 11px;
}
.window-caption button {
    font-size: 10px;
    background: transparent;
    padding: 5px 9px;
}
.timeline-brush {
    position: relative;
    height: 66px;
    border: 1px solid #deded7;
    background: #ffffff;
    border-radius: 5px;
    touch-action: none;
    user-select: none;
    cursor: crosshair;
    overflow: visible;
}
.timeline-brush svg {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
.brush-shade {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #151515ad;
    pointer-events: none;
}
.brush-shade.before {
    left: 0;
}
.brush-shade.after {
    right: 0;
}
.brush-selection {
    position: absolute;
    top: -1px;
    bottom: -1px;
    border: 1px solid #deded7;
    background: #adc89715;
    cursor: grab;
    touch-action: none;
}
.brush-selection:active {
    cursor: grabbing;
}
.brush-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 31px;
    border: 1px solid #deded7;
    background: #f4f4ee;
    color: #20211c;
    padding: 0;
    font-size: 12px;
    border-radius: 3px;
    cursor: ew-resize;
    touch-action: none;
}
.brush-handle.left {
    left: -8px;
}
.brush-handle.right {
    right: -8px;
}
.window-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #686b60;
    font-size: 9px;
}
.window-axis span:nth-child(2) {
    color: #686b60;
}
@media (max-width: 800px) {
    .window-axis span:nth-child(2) {
        display: none;
    }
}
.watch-full {
    width: 100%;
    min-width: 0;
}
.watch-full .watch-player .desktop {
    aspect-ratio: 16/9;
}
.watch-sessions {
    padding: 24px 0;
    border-top: 1px solid #deded7;
    border-bottom: 1px solid #deded7;
    margin-top: 24px;
}
.watch-sessions .stream-card {
    width: 100%;
}
.recommendation-pool {
    margin: 10px 0 0 13px;
}
.watch-activity {
    margin-top: 28px;
}
.watch-below {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    border-top: 1px solid #deded7;
    padding-top: 26px;
    margin-top: 24px;
    align-items: start;
}
.watch-below .watch-activity,
.watch-below .watch-sessions {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.watch-below .event-title {
    margin-top: 0;
}
.watch-below .watch-sessions .stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.watch-below .watch-sessions h2 {
    font-size: 15px;
}
.watch-below .watch-sessions .section-heading {
    align-items: flex-start;
}
.watch-below .watch-sessions {
    border-left: 1px solid #deded7;
    padding-left: 28px;
}
@media (max-width: 700px) {
    .watch-below {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .watch-below .watch-sessions {
        border-left: 0;
        border-top: 1px solid #deded7;
        padding: 24px 0 0;
    }
}
/* Expanded session recommendations remain a single vertical list. */
.watch-below .watch-sessions .stream-grid {
    grid-template-columns: minmax(0, 1fr);
}
.watch-below .watch-sessions .stream-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    column-gap: 14px;
    text-align: left;
    align-content: start;
}
.watch-below .watch-sessions .stream-card > .desktop {
    grid-column: 1;
    grid-row: 1/4;
    width: 100%;
    align-self: start;
}
.watch-below .watch-sessions .stream-title {
    grid-column: 2;
    margin-top: 3px;
}
.watch-below .watch-sessions .stream-title strong {
    white-space: normal;
}
.watch-below .watch-sessions .stream-meta,
.watch-below .watch-sessions .session-type {
    grid-column: 2;
    margin-left: 0;
}
@media (max-width: 1000px) {
    .watch-below .watch-sessions .stream-card {
        grid-template-columns: 105px minmax(0, 1fr);
        column-gap: 10px;
    }
}
.sidebar-admin {
    margin-top: 0;
}
.status-totals #toggle-status-detail {
    margin-left: auto;
    font-size: 10px;
}
.status-breakdown {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #deded7;
    border-radius: 7px;
    margin: -6px 0 20px;
}
.status-breakdown > div > span {
    display: block;
    font-size: 10px;
    color: #686b60;
    margin-bottom: 8px;
    text-transform: capitalize;
}
.status-breakdown > div > div {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.execution-filter-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}
.execution-filter-summary #execution-refresh {
    font-size: 19px;
    line-height: 1;
    background: transparent;
    border: 0;
    padding: 6px;
    color: #686b60;
}
.execution-filter-summary #execution-refresh:hover {
    color: #20211c;
    background: #f4f4ee;
}
.usage-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.pool-filter-button {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.usage-filters .dropdown {
    top: 44px;
}
.usage-table {
    margin-top: 24px;
}
.usage-table th,
.usage-table td {
    padding: 11px 14px;
}
.usage-table th:not(:first-child),
.usage-table td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.usage-table tbody tr:nth-child(even) {
    background: #ffffff;
}
.usage-table tfoot {
    background: #ffffff;
    font-weight: 650;
}
.usage-table tfoot td {
    border-top: 1px solid #deded7;
    color: #20211c;
}
.machine-expand {
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    gap: 9px;
    align-items: center;
    text-align: left;
}
.machine-expand:hover {
    background: transparent;
    color: #20211c;
}
.session-assignment td {
    background: #ffffff;
}
.session-assignment .indent {
    padding-left: 18px;
}
.session-task {
    padding-left: 31px;
    max-width: 230px;
    white-space: normal;
}
.admin-session-link {
    background: none;
    border: 0;
    padding: 0 0 0 18px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.admin-session-panel {
    border: 1px solid #deded7;
    border-radius: 9px;
    padding: 20px;
    margin-bottom: 24px;
    scroll-margin-top: 20px;
}
.admin-session-panel h2 .subtle {
    margin-left: 10px;
}
.admin-session-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}
.admin-session-panel .admin-desktop {
    max-width: 100%;
    margin: auto;
}
.admin-desktop .desktop {
    aspect-ratio: 16/9;
    max-height: 65vh;
}
.admin-session-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    color: #686b60;
    font-size: 11px;
}
.admin-session-footer button {
    font-size: 11px;
}

.back-home {
    text-decoration: none;
    padding: 9px 13px;
    margin-bottom: 20px;
}
.back-home:hover {
    background: #f4f4ee;
}
/* Live mode: a running lease's frame until live viewing is connected, and
   the sign-in form the portal shows first. */
.desktop.live-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        135deg,
        #f4f4ef 0 12px,
        #efefe8 12px 24px
    );
}
.desktop.live-frame > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.desktop.live-frame strong {
    font-size: 18px;
}
.desktop.live-frame small {
    color: #686b60;
}
.signin {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.signin .modal {
    width: min(380px, 100%);
}
#sign-out {
    margin-left: 12px;
}
.lease-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 14px;
}
/* A pool's kind: fixed pools keep sessions added by hand; dynamic pools make their own. */
.pill.kind.fixed {
    background: #e7eff6;
    color: #355e7c;
    border-color: #c3d4df;
}
.pill.kind.dynamic {
    background: #eef3cc;
    color: #536320;
    border-color: #d6dfa8;
}
.section-heading h2 .pill.kind {
    vertical-align: middle;
    margin-left: 6px;
    font-size: 10px;
}
/* The pool editor groups a dynamic pool's scaling and machine template. */
.modal fieldset {
    border: 1px solid #deded7;
    border-radius: 8px;
    margin: 18px 0 0;
    padding: 4px 14px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}
.modal fieldset[hidden] {
    display: none;
}
.modal legend {
    font-size: 11px;
    color: #686b60;
    padding: 0 4px;
}
.modal fieldset > label,
#start-session-pick > label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    font-size: 11px;
    color: #686b60;
}
.modal label.check {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #20211c;
}
.modal fieldset > label.check {
    grid-column: 1/-1;
}
/* View live: running leases stream, view only, into their frames. */
.switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    font-size: 12px;
    color: #20211c;
    cursor: pointer;
}
.switch input {
    accent-color: #8a9c30;
}
.desktop.live-frame.streaming {
    background: #111;
}
.live-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #111;
    pointer-events: none;
}
