@import '_content/CleanArch.Base.Presentation.Client/CleanArch.Base.Presentation.Client.736tnchz12.bundle.scp.css';

/* /ClaudeStatus/RunList.razor.rz.scp.css */
.run-list[b-psve8yz39l] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
}

/* With no runs, the empty state sits in the middle of the space the runs would fill */
.run-list[b-psve8yz39l]  .empty-state {
    flex: 1;
}

.run-list-items[b-psve8yz39l] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.run-list-placeholder[b-psve8yz39l] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    padding: 16px;
}

.run-list-placeholder-lines[b-psve8yz39l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* /ClaudeStatus/RunRow.razor.rz.scp.css */
.run-row[b-wgoph63ti3] {
    --status-light-size: 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 16px;
    border: 1px solid transparent;
    transition: background-color var(--motion-standard) var(--motion-easing),
                border-color var(--motion-standard) var(--motion-easing);
}

/* Lines the light up with the project name's first line */
.run-row[b-wgoph63ti3]  .status-light {
    margin-top: 4px;
}

/* Waiting on the user: noticeable from across the room, without shouting */
.run-row-waiting[b-wgoph63ti3] {
    background-color: color-mix(in srgb, var(--tone) 14%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--tone) 40%, transparent);
}

.run-row-body[b-wgoph63ti3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.run-row-heading[b-wgoph63ti3] {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.run-row-heading[b-wgoph63ti3]  .run-row-project {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.run-row-heading[b-wgoph63ti3]  .run-row-time {
    flex: none;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

.run-row-progress[b-wgoph63ti3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.run-row-progress[b-wgoph63ti3]  .mud-progress-linear {
    flex: 1;
}

.run-row-progress[b-wgoph63ti3]  .run-row-count {
    flex: none;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

.run-row-body[b-wgoph63ti3]  .run-row-detail {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.run-row-body[b-wgoph63ti3]  .run-row-detail-toned {
    font-weight: 600;
}

/* The bar takes the run's tone, like its light, on a faint track of the same */
.run-row-progress[b-wgoph63ti3]  .run-row-bar {
    background-color: color-mix(in srgb, var(--tone) 20%, transparent);
}

.run-row-progress[b-wgoph63ti3]  .run-row-bar .mud-progress-linear-bar {
    background-color: var(--tone);
}
/* /Components/EmptyState.razor.rz.scp.css */
.empty-state[b-3ot26n7vps] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 16px;
    text-align: center;
}

.empty-state[b-3ot26n7vps]  .empty-state-icon {
    width: 32px;
    height: 32px;
    color: var(--mud-palette-text-disabled);
}
/* /Components/StatusLight.razor.rz.scp.css */
.status-light[b-emns3ireiy] {
    --status-light-size-resolved: var(--status-light-size, 8px);
    display: inline-block;
    flex: none;
    width: var(--status-light-size-resolved);
    height: var(--status-light-size-resolved);
    border-radius: 50%;
    background-color: var(--tone);
    /* A soft halo, so the light reads as lit rather than as a flat dot */
    box-shadow: 0 0 0 calc(var(--status-light-size-resolved) / 4) color-mix(in srgb, var(--tone) 22%, transparent);
    transition: background-color var(--motion-standard) var(--motion-easing),
                box-shadow var(--motion-standard) var(--motion-easing);
}

.status-light-pulsing[b-emns3ireiy] {
    animation: status-light-breathe-b-emns3ireiy 1.6s ease-in-out infinite;
}

@keyframes status-light-breathe-b-emns3ireiy {
    50% { opacity: 0.35; }
}
/* /Components/StatusPill.razor.rz.scp.css */
.status-pill[b-pvptkvbzv2] {
    --status-light-size: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background-color: color-mix(in srgb, var(--tone) 12%, transparent);
    color: var(--mud-palette-text-primary);
    font-size: var(--mud-typography-subtitle2-size);
    font-weight: var(--mud-typography-subtitle2-weight);
    white-space: nowrap;
    transition: background-color var(--motion-standard) var(--motion-easing);
}
/* /Dashboard/ConnectionBar.razor.rz.scp.css */
.connection-bar[b-181pvirrht] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
}

.connection-bar-host[b-181pvirrht] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.connection-bar-host[b-181pvirrht]  .connection-bar-host-icon {
    flex: none;
    color: var(--mud-palette-text-secondary);
}

.connection-bar-host[b-181pvirrht]  .connection-bar-host-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Dashboard/Dashboard.razor.rz.scp.css */
/*
 * Portrait: the connection bar on top, the runs below it, and now playing at the bottom, where the thumb reaches its
 * controls. The runs take the room they need and scroll once space runs short; now playing takes the rest, so it leads
 * when there are few runs. Landscape and wide screens: now playing beside the runs.
 */
.dashboard[b-odrbelw33v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    max-width: 640px;
    margin: 0 auto;
    padding:
        max(8px, env(safe-area-inset-top))
        max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left));
}

.dashboard-bar[b-odrbelw33v] {
    flex: none;
}

.dashboard-runs[b-odrbelw33v] {
    position: relative;
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Phones overlay their own while scrolling; a desktop's permanent bar would only add clutter */
    scrollbar-width: none;
    /* Room for the rows' halo and border at the edges, and for the fade below the last row */
    margin: -4px;
    padding: 4px 4px 24px;
    /* Rows fade out at the bottom edge, a cue that more are below */
    mask-image: linear-gradient(to bottom, black calc(100% - 24px), transparent);
}

.dashboard-playing[b-odrbelw33v] {
    flex: 1 0 200px;
    min-height: 200px;
}

@media (orientation: landscape) and (min-width: 600px) {
    .dashboard[b-odrbelw33v] {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        grid-template-rows: auto minmax(0, 1fr);
        grid-template-areas:
            "bar bar"
            "playing runs";
        max-width: 1200px;
        column-gap: 24px;
    }

    .dashboard-bar[b-odrbelw33v] {
        grid-area: bar;
    }

    .dashboard-runs[b-odrbelw33v] {
        grid-area: runs;
    }

    .dashboard-playing[b-odrbelw33v] {
        grid-area: playing;
        min-height: 0;
    }
}
/* /HostCalls/HostCallFailureNotice.razor.rz.scp.css */
.host-call-failure[b-w4cxx6x0jv] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.host-call-failure[b-w4cxx6x0jv]  .host-call-failure-icon {
    flex: none;
    color: var(--mud-palette-error);
}

.host-call-failure[b-w4cxx6x0jv]  .host-call-failure-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.host-call-failure[b-w4cxx6x0jv]  .host-call-failure-retry {
    flex: none;
    min-height: 48px;
}
/* /Media/MediaControls.razor.rz.scp.css */
/*
 * A band across the bottom of the card, over the progress. It fades from clear to the card's surface (a gradient rather
 * than a full overlay), so the title, artist and art above it stay readable while the controls are up.
 */
.media-controls[b-crwlgyjgv3] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 32px 16px 12px;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    background: linear-gradient(to bottom,
        transparent,
        color-mix(in srgb, var(--mud-palette-surface) 92%, transparent) 40%,
        var(--mud-palette-surface));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--motion-standard) var(--motion-easing),
                visibility 0s linear var(--motion-standard);
}

.media-controls-shown[b-crwlgyjgv3] {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--motion-standard) var(--motion-easing);
}

/* Presses get through only once the band has settled; see NowPlayingCard.ControlsArmAfter */
.media-controls-armed[b-crwlgyjgv3] {
    pointer-events: auto;
}

.media-controls-buttons[b-crwlgyjgv3] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.media-controls-buttons[b-crwlgyjgv3]  .media-control {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.media-controls-buttons[b-crwlgyjgv3]  .media-control .mud-icon-root {
    width: 32px;
    height: 32px;
}

.media-controls-buttons[b-crwlgyjgv3]  .media-control-main {
    width: 64px;
    height: 64px;
}

.media-controls-buttons[b-crwlgyjgv3]  .media-control-main .mud-icon-root {
    width: 36px;
    height: 36px;
}
/* /Media/NowPlayingCard.razor.rz.scp.css */
/*
 * The card fills the space the dashboard gives it, and sizes its art to that space: beside the text when the card is
 * short, above it, as large as fits, when the card is tall.
 */
.now-playing[b-qeuhs4ssks] {
    container: now-playing / size;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    height: 100%;
    padding: 16px;
    overflow: hidden;
}

.now-playing-main[b-qeuhs4ssks] {
    --art-size: clamp(72px, min(100cqh - 80px, 40cqw), 160px);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

@container now-playing (min-height: 400px) {
    .now-playing-main[b-qeuhs4ssks] {
        --art-size: clamp(120px, min(100cqw - 32px, 100cqh - 220px), 400px);
        flex-direction: column;
    }
}

/* With nothing to show, a small quiet stand-in rather than a large empty square */
.now-playing-main.now-playing-main-quiet[b-qeuhs4ssks] {
    --art-size: 96px;
    flex-direction: row;
    align-items: center;
}

.now-playing[b-qeuhs4ssks]  .now-playing-art {
    flex: none;
    width: var(--art-size);
    height: var(--art-size);
    border-radius: var(--radius-medium);
    object-fit: cover;
}

.now-playing-art-stand-in[b-qeuhs4ssks],
.now-playing-art-empty[b-qeuhs4ssks] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.now-playing-art-stand-in[b-qeuhs4ssks] {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--mud-palette-primary) 30%, var(--mud-palette-surface)),
        color-mix(in srgb, var(--mud-palette-primary) 8%, var(--mud-palette-surface)));
    color: color-mix(in srgb, var(--mud-palette-primary) 70%, var(--mud-palette-text-primary));
}

/* Nothing to show: the same quiet colours as an empty state */
.now-playing-art-empty[b-qeuhs4ssks] {
    background-color: var(--mud-palette-action-disabled-background);
    color: var(--mud-palette-text-disabled);
}

.now-playing-art-stand-in[b-qeuhs4ssks]  .mud-icon-root,
.now-playing-art-empty[b-qeuhs4ssks]  .mud-icon-root {
    width: calc(var(--art-size) * 0.4);
    height: calc(var(--art-size) * 0.4);
}

.now-playing-text[b-qeuhs4ssks] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.now-playing-text[b-qeuhs4ssks]  .now-playing-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.now-playing-text[b-qeuhs4ssks]  .now-playing-artist,
.now-playing-text[b-qeuhs4ssks]  .now-playing-app {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
}

.now-playing-progress[b-qeuhs4ssks] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.now-playing-times[b-qeuhs4ssks] {
    display: flex;
    justify-content: space-between;
    color: var(--mud-palette-text-secondary);
    font-size: var(--mud-typography-body2-size);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Transparent, over the card's content: the card itself is what's tapped */
.now-playing-reveal[b-qeuhs4ssks] {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 0;
    border: none;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--motion-quick) var(--motion-easing);
}

.now-playing-reveal:active[b-qeuhs4ssks] {
    background-color: color-mix(in srgb, var(--mud-palette-text-primary) 6%, transparent);
}

.now-playing-reveal:focus-visible[b-qeuhs4ssks] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}
