.live-heading {
    font-size: 13px;
    font-weight: 650;
    color: var(--blue);
}
.rollout-timing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rollout-timing-fieldset { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; margin: 0; }
.rollout-timing-fieldset legend { font-size: 14px; font-weight: 650; padding: 0 6px; }
.rollout-timing-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rollout-timing-fields > .scope-select { min-width: 0; align-content: start; }
.rollout-timing-fields .scope-select select { min-width: 0; max-width: none; height: 42px; }
.rollout-timing-fields input[type="date"] { height: 42px; }
.rollout-timing-fields > .schedule-clock-field { grid-row: 2; }
.rollout-timing-fields > .schedule-weekdays { margin: 0; align-self: start; min-width: 0; }
.schedule-time-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; }
.schedule-time-picker select { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.device-task-table { min-width: 740px; width: 100%; }
.device-task-table td { vertical-align: middle; }
.device-task-table td small { display: block; color: var(--muted); margin-top: 4px; font-size: 11px; }
.device-task-table td .task-error { max-width: 250px; color: var(--red); white-space: normal; }
.task-date { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 12px; }
.task-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; padding-top: 14px; }
.task-pagination label { display: flex; align-items: center; gap: 6px; }
.task-pagination select { width: auto; padding: 5px 8px; }
.task-pagination > .row { margin-left: auto; }
.job-history-content { max-height: 55vh; overflow: auto; }
.job-history-caption { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.job-history-footer { display: block; }
.job-history-pagination { padding-top: 0; margin-bottom: 14px; }
@media (max-width: 900px) { .rollout-timing-grid { grid-template-columns: minmax(0, 1fr); } }
.schedule-selected-panel {
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}
.schedule-selected-panel h3 { margin: 0 0 12px; font-size: 14px; }
.schedule-selected-panel .schedule-store-list { max-height: 220px; }
.firmware-table { width: 100%; min-width: 980px; }
.firmware-table td { vertical-align: top; }
.firmware-skus { max-width: 340px; white-space: normal; overflow-wrap: anywhere; }
.firmware-file-cell { max-width: 300px; overflow-wrap: anywhere; }
.schedule-compatibility-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.schedule-compatibility-group { min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.schedule-compatibility-group > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.schedule-compatibility-group > header h3 { margin: 0; font-size: 15px; }
.schedule-compatibility-group.compatible > header { background: var(--green-soft); color: var(--green); }
.schedule-compatibility-group.incompatible > header { background: var(--red-soft); color: var(--red); }
.schedule-device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; }
.schedule-device-card { min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 12px 11px; background: var(--surface); overflow-wrap: anywhere; }
.schedule-device-card > strong { display: block; font-size: 17px; line-height: 1.4; font-weight: 650; }
.schedule-device-card > .schedule-device-meta { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.schedule-execution-status { margin-top: 14px; color: var(--muted); font-size: 12px; }
.schedule-execution-status summary { cursor: pointer; }
.schedule-execution-status p { margin: 6px 0; }
.schedule-preview-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; margin-top: auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.schedule-preview-pagination label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.schedule-preview-pagination label select { width: auto; padding: 4px 6px; }
.schedule-preview-range { margin-left: auto; white-space: nowrap; }
.schedule-preview-page-buttons { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.schedule-preview-page-buttons .btn { min-height: 30px; padding: 3px 10px; font-size: 16px; }
@media (max-width: 800px) { .schedule-compatibility-groups { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .schedule-device-grid { grid-template-columns: 1fr; } }
.live-bar {
    margin-bottom: 22px;
}
.live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.live-form {
    display: grid;
    gap: 16px;
    min-width: 0;
}
.live-form > *,
.live-form .field {
    min-width: 0;
}
.live-form input,
.live-form select,
.live-form textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.live-form .image-name,
.live-form .upload-zone p {
    overflow-wrap: anywhere;
}
.firmware-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}
.firmware-layout > section {
    min-width: 0;
}
.live-form textarea {
    min-height: 78px;
    resize: vertical;
}
.live-file {
    display: block;
    width: 100%;
    font-size: 12px;
}
.live-space {
    margin-top: 16px;
}
.live-hash {
    overflow-wrap: anywhere;
    font-family: var(--mono);
    font-size: 11px;
}
.live-jobs {
    display: grid;
    gap: 16px;
}
.live-job-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.live-log {
    max-height: 190px;
    overflow-y: auto;
    margin-top: 12px;
}
.live-log div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 11px;
}
.live-upload {
    margin-top: 16px;
}
.upload-progress-box {
    display: grid;
    gap: 9px;
    text-align: left;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}
.upload-progress-box progress {
    display: block;
    width: 100%;
    height: 12px;
    accent-color: var(--blue);
}
.upload-progress-box .form-error {
    margin: 0;
}
.upload-progress-box .text-link {
    justify-self: start;
}
.image-review-card {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.image-review-card .image-name {
    margin: 0;
    font-weight: 650;
}
.live-review-actions {
    flex-wrap: wrap;
    gap: 10px;
}
.live-review-history article {
    border-top: 1px solid var(--line);
    padding: 10px 0;
    overflow-wrap: anywhere;
}
.live-review-history h3 {
    font-size: 13px;
}
#image-review-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
#image-review-form .checkbox-label input {
    width: auto;
    flex: 0 0 auto;
    margin-top: 3px;
}
.live-label {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
}
.live-inline-error {
    margin-top: 18px;
}
.login-story .live-instrument {
    padding: 21px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    margin-top: 28px;
}
.live-instrument div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--line);
}
.live-instrument div:last-child {
    border: 0;
}
.live-empty {
    min-height: 180px;
    display: grid;
    align-content: center;
}
.login-shell {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
    border-color: #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 24px #11182712;
}
.login-page {
    background: #f3f4f6;
    padding: 24px;
}
.login-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: min(448px, 100%);
}
.login-logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
}
.login-form {
    padding: 32px;
    gap: 16px;
}
.login-brand {
    margin: 0 0 4px;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0;
}
.login-form .field > label {
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
}
.login-form input:not([type='checkbox']):not([type='file']) {
    width: 100%;
    border-color: #d1d5db;
}
.login-form .btn.primary {
    background: var(--blue);
    border-color: var(--blue);
}
.login-form .btn.primary:hover:not(:disabled) {
    background: #1d4ed8;
    border-color: #1d4ed8;
}
.searchable-select { position: relative; min-width: 0; width: 100%; }
.searchable-select select[hidden] { display: none !important; }
.searchable-trigger { width: 100%; min-height: 42px; padding: 9px 34px 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchable-trigger::after { content: '⌄'; position: absolute; right: 12px; color: var(--muted); }
.searchable-trigger:disabled { opacity: .55; cursor: not-allowed; }
.searchable-trigger:focus-visible, .searchable-query:focus-visible, .searchable-choice:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.searchable-panel { display: none; position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; min-width: 200px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 26px rgb(15 23 42 / 14%); }
.searchable-select.open .searchable-panel { display: block; }
.searchable-query { box-sizing: border-box; width: 100%; min-height: 38px; margin-bottom: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.searchable-choices { max-height: 240px; overflow-y: auto; }
.searchable-choice { display: block; width: 100%; min-height: 34px; padding: 8px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.searchable-choice:hover, .searchable-choice[aria-selected="true"] { background: #eff6ff; color: #1d4ed8; }
.searchable-choices > p { padding: 8px; margin: 0; }
.schedule-task-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 16px; }
.schedule-task-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.schedule-task-tabs button.active { border-bottom-color: var(--blue); color: var(--blue); }
.schedule-task-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.split-schedule-window { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 14px; min-width: 0; margin: 18px 0; }
.split-schedule-window legend { padding: 0 6px; font-weight: 650; font-size: 14px; }
.split-schedule-row { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(220px, 1fr); gap: 12px; align-items: end; margin-bottom: 12px; }
.split-schedule-row:last-child { margin-bottom: 0; }
.split-schedule-row .scope-select { min-width: 0; }
.split-schedule-row input[type="date"], .split-schedule-row input[type="time"] { width: 100%; min-height: 42px; }
.split-schedule-row input[type="time"] { font-family: var(--mono); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .split-schedule-row { grid-template-columns: minmax(0, 1fr); } }
.schedule-history-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: 90dvh; border-radius: 12px; }
.schedule-history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.schedule-history-head h2 { margin: 0; }
.schedule-history-body { display: block; padding: 0; max-height: calc(90dvh - 170px); overflow: auto; }
.schedule-history-body .table-wrap { overflow-x: auto; }
.schedule-history-table { width: 100%; min-width: 670px; }
.schedule-history-table th, .schedule-history-table td { padding: 13px 15px; }
.schedule-history-table td { vertical-align: middle; }
.schedule-history-table .schedule-history-error-row td { padding: 12px 15px; color: var(--red); background: var(--red-soft); white-space: normal; overflow-wrap: anywhere; }
.schedule-history-error-button { border: 0; background: transparent; color: var(--red); font: inherit; font-weight: 650; cursor: pointer; padding: 4px 0; }
.schedule-history-error-button:hover { text-decoration: underline; }
.schedule-history-error-button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.schedule-history-footer { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.schedule-history-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.schedule-history-pagination label { display: flex; align-items: center; gap: 6px; }
.schedule-history-pagination select { width: auto; padding: 5px 8px; }
@media (max-width: 700px) { .schedule-history-dialog .dialog-head, .schedule-history-dialog .dialog-actions { padding: 14px 16px; } }
.update-jobs {
    max-width: 1100px;
}
.scope-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
}
.scope-select,
.scope-search {
    display: grid;
    gap: 5px;
    min-width: 150px;
}
.scope-select > span,
.scope-search > span {
    color: var(--muted);
    font-size: 11px;
}
.scope-select select {
    min-width: 150px;
    max-width: 240px;
}
.scope-search {
    flex: 1 1 240px;
    max-width: 380px;
}
.scope-search input {
    width: 100%;
    min-width: 0;
}
.health-metrics {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    max-width: 640px;
    margin-bottom: 18px;
}
.health-metrics .metric {
    padding: 16px 19px;
}
.health-metrics .metric-value {
    margin: 2px 0 0;
    font-size: 29px;
}
.dashboard-health-card {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    padding: 16px;
    border-color: #d1d5db;
    border-style: dashed;
    border-radius: 8px;
    background: #f9fafb;
}
.dashboard-health-chart {
    position: relative;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
}
.dashboard-health-chart svg {
    display: block;
    width: 112px;
    height: 112px;
    transform: rotate(-90deg);
}
.dashboard-health-track,
.dashboard-health-segment {
    fill: none;
    stroke-width: 16;
}
.dashboard-health-track {
    stroke: #e5e7eb;
}
.dashboard-health-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
}
.dashboard-health-center strong {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.dashboard-health-center small {
    color: #4b5563;
    font-size: 11px;
}
.dashboard-health-legend {
    display: grid;
    gap: 6px;
    min-width: 120px;
    font-size: 12px;
}
.dashboard-health-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    color: #4b5563;
}
.dashboard-health-item strong {
    min-width: 25px;
    padding: 2px 5px;
    border-radius: 3px;
    background: #e5e7eb;
    color: #374151;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.dashboard-health-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}
.dashboard-health-dot.up { background: #22c55e; }
.dashboard-health-dot.down { background: #ef4444; }
.dashboard-health-dot.unknown { background: #9ca3af; }
.dashboard-switches {
    min-width: 940px;
}
.monitor-switches {
    min-width: 1320px;
}
.port-table {
    min-width: 720px;
}
.monitor-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 4px 0;
    color: var(--muted);
    font-size: 12px;
}
.store-order {
    display: inline-block;
    padding: 3px 8px;
    border-left: 2px solid var(--blue);
    border-radius: 3px;
    background: var(--blue-soft);
    color: #1d4ed8;
    font-weight: 600;
    white-space: nowrap;
}
.empty-cell {
    padding: 34px;
    color: var(--muted);
    text-align: center;
}
.assignment-card .card-body {
    display: grid;
    gap: 18px;
}
.assignment-history {
    border-top: 1px solid var(--line);
    padding-top: 13px;
}
.assignment-history summary {
    color: var(--blue);
    font-size: 12px;
    cursor: pointer;
}
.history-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.history-list > div {
    display: grid;
    gap: 3px;
    padding: 10px;
    border-left: 2px solid #cbd5e1;
    background: #f8fafc;
    font-size: 11px;
}
.history-list span,
.history-list small {
    color: var(--muted);
}
.schedule-card {
    margin-top: 20px;
}
.schedule-card > .card-body {
    display: grid;
    gap: 18px;
}
.schedule-card > .card-body + .card-body {
    border-top: 1px solid var(--line);
}
.schedule-pick {
    display: grid;
    gap: 12px;
}
.schedule-scope {
    margin: 0;
}
.schedule-scope .scope-select select {
    max-width: 280px;
}
.schedule-store-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 7px;
    max-height: 240px;
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}
.schedule-store-list > label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 8px;
    row-gap: 2px;
    padding: 8px;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 12px;
    cursor: pointer;
}
.schedule-store-list > label:hover {
    background: #eff6ff;
}
.schedule-store-list input {
    width: auto;
    grid-row: span 2;
    margin-top: 2px;
}
.schedule-store-list small {
    color: var(--muted);
}
.schedule-selection-summary {
    margin: -5px 0 0;
}
.schedule-form {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.schedule-time-fields {
    align-items: end;
    margin: 0;
}
.schedule-time-fields .scope-select {
    min-width: 140px;
}
.weekday-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    min-height: 63px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.weekday-picker legend {
    padding: 0 5px;
    color: var(--muted);
    font-size: 11px;
}
.weekday-picker label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}
.weekday-picker input {
    width: auto;
}
.schedule-actions {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.schedule-actions .checkbox-label {
    margin-right: auto;
}
.schedule-actions .checkbox-label input { width: auto; flex: 0 0 auto; }
.schedule-preview {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #f8fafc;
}
.schedule-preview-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}
.schedule-preview-list,
.schedule-exclusions {
    display: grid;
    gap: 6px;
    max-height: 220px;
    overflow: auto;
}
.schedule-preview-list > div,
.schedule-exclusions > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 5px;
    background: #fff;
    font-size: 11px;
}
.schedule-preview-list small,
.schedule-exclusions small {
    color: var(--muted);
}
.schedule-exclusions {
    padding: 10px;
    border: 1px solid #fde68a;
    border-radius: 8px;
    background: #fffbeb;
}
.schedule-exclusions summary {
    margin-bottom: 7px;
    font-size: 12px;
    cursor: pointer;
}
.schedule-list {
    display: grid;
    gap: 12px;
}
.schedule-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}
.schedule-item > p {
    margin: 0;
}
.schedule-targets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 6px;
}
.schedule-targets > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px;
    border-radius: 5px;
    background: #f8fafc;
    font-size: 11px;
}
.schedule-targets small {
    color: var(--muted);
    text-align: right;
}
.schedule-event-list {
    display: grid;
    gap: 8px;
}
.schedule-event-list article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 10px;
    border-bottom: 1px solid var(--line);
}
.schedule-event-list time {
    color: var(--muted);
    font-size: 11px;
}
.schedule-event-list p {
    grid-column: 1 / -1;
    margin: 0;
}
.port-admin-switch {
    position: relative;
    display: inline-block;
    width: 39px;
    height: 22px;
    vertical-align: middle;
    cursor: pointer;
}
.port-admin-switch input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 39px;
    height: 22px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.port-admin-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background 0.15s ease;
}
.port-admin-slider::before {
    position: absolute;
    content: '';
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px #0f172a33;
    transition: transform 0.15s ease;
}
.port-admin-switch input:checked + .port-admin-slider {
    background: #16a34a;
}
.port-admin-switch input:checked + .port-admin-slider::before {
    transform: translateX(17px);
}
.port-admin-switch input:focus-visible + .port-admin-slider {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}
.port-admin-switch.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.port-admin-switch input:disabled {
    cursor: not-allowed;
}
.schedule-form .schedule-field-error {
    display: block;
    color: #b91c1c;
    max-width: 24rem;
    white-space: normal;
    line-height: 1.5;
}
.schedule-form [aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 1px #dc2626;
}
.port-apply-card {
    margin: 16px 0;
}
@media (max-width: 800px) {
    .schedule-preview-summary,
    .schedule-targets > div {
        align-items: flex-start;
        flex-direction: column;
    }
    .schedule-card .card-head {
        align-items: flex-start;
    }
}
@media (max-width: 800px) {
    .live-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1180px) {
    .firmware-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 800px) {
    .scope-filters {
        align-items: stretch;
    }
    .scope-select,
    .scope-select select {
        width: 100%;
        max-width: none;
    }
    .scope-search {
        max-width: none;
    }
}
@media (max-width: 480px) {
    .health-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .health-metrics .metric-value {
        font-size: 25px;
    }
    .login-form {
        padding: 24px;
    }
    .dashboard-health-card {
        flex-direction: column;
    }
    .dashboard-health-legend {
        width: min(220px, 100%);
    }
}
