@import url("labos-archive.css");
@import url("labos-navigation.css?v=mobile-secondary-20260920");
@import url("labos-recordings.css");
@import url("labos-analysis.css");
@import url("labos-comparison.css?v=stack-1");
/* LabOS product surfaces. Existing data and chart components keep their behavior. */
.labos-recorded-canvas { display: block; width: 100%; height: 230px; color: var(--labos-muted); }
.labos-recorded-canvas.is-empty { display: none; }
.labos-chart-surface { position: relative; min-width: 0; margin: 12px 0; }
.labos-chart-surface .labos-recorded-canvas { margin: 0; }
.labos-chart-hover-guide { position: absolute; width: 1px; background: var(--labos-ink); opacity: .5; pointer-events: none; z-index: 1; }
.labos-chart-inspector { position: absolute; top: 8px; right: 8px; z-index: 2; max-width: min(290px, 72%); max-height: calc(100% - 16px); overflow: hidden; padding: 8px 10px; border: 1px solid var(--labos-border); border-radius: 8px; background: var(--labos-surface); box-shadow: 0 4px 16px #10162f22; color: var(--labos-ink); font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: pre-line; pointer-events: none; }
.labos-chart-hover-guide[hidden], .labos-chart-inspector[hidden] { display: none; }
.labos-workspace-heading h1 { overflow-wrap: anywhere; }
.labos-archive-channel-list { max-height: 54vh; overflow: auto; margin: 12px 0; }
.labos-channel-search { width: 100%; padding: 10px 12px; border: 1px solid var(--labos-border); border-radius: 8px; background: var(--labos-surface); color: var(--labos-ink); }
.labos-field-label { display: block; color: var(--labos-muted); font-size: 12px; margin: 12px 0 6px; }
.labos-archive-error { color: #b42318; background: #fff1ed; padding: 16px; border-radius: 12px; margin: 16px 0; }
.labos-point-inspector { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; color: var(--labos-ink); }
.labos-point-inspector input, .labos-replay-toolbar input[type=number] { width: 112px; padding: 8px; background: var(--labos-surface); color: var(--labos-ink); border: 1px solid var(--labos-border); border-radius: 8px; }
.labos-point-inspector output { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.labos-loading-recording { position: sticky; bottom: 12px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px; background: var(--labos-surface); color: var(--labos-ink); border: 1px solid var(--labos-border); border-radius: 12px; }
:root {
    --labos-ink: #10162f;
    --labos-muted: #59667c;
    --labos-accent: #315de8;
    --labos-surface: #fff;
    --labos-canvas: #f4f6fa;
    --labos-border: #dde3ee;
}
.tip-dark {
    --labos-ink: #e9edf7;
    --labos-muted: #a5b2c9;
    --labos-accent: #8caaff;
    --labos-surface: #131d30;
    --labos-canvas: #0c1425;
    --labos-border: #2e3c55;
}
.tip-app-shell, .labos-auth {
    --tip-font-sans: "Segoe UI Variable Text", "Segoe UI", sans-serif;
    --tip-font-display: "Segoe UI Variable Display", "Segoe UI", sans-serif;
    --tip-font-utility: "Segoe UI Variable Text", "Segoe UI", sans-serif;
    font-family: var(--tip-font-sans);
}
.tip-app-shell { background: var(--labos-canvas); }
.tip-app-shell .tip-screen-home { background-image: none; }
.tip-sidebar { background: #0b1029; border-right: 1px solid #252b43; }
.tip-sidebar::before { background: none; }
.tip-sidebar-brand { min-height: 96px; justify-content: space-between; }
.labos-brand-link { display: block; flex-shrink: 0; }
.labos-brand-image { display: block; width: 140px; height: 64px; object-fit: contain; border-radius: 4px; }
.main-sidebar.sidebar-collapsed .labos-brand-image { width: 44px; height: 40px; }
.tip-sidebar .sidebar-link { border-radius: 8px; }
.tip-sidebar .sidebar-link.active { background: #263c85; color: #fff; box-shadow: inset 3px 0 0 #80a4ff; }
.tip-sidebar .sidebar-link:hover { background: #1b2444; }
.tip-sidebar .labos-modules-nav { margin: 8px 10px; border: 1px solid #323c60; }
.labos-workspace-nav { margin: 16px 0; }
.labos-nav-caption { color: #8f9ebb; padding: 0 22px 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.labos-workspace-nav .labos-nav-link { display: block; margin: 3px 12px; padding: 12px 10px; font-size: 13px; }
.labos-nav-link > span { display: flex; align-items: center; gap: 12px; }
.labos-nav-link svg, .labos-nav-group summary svg { width: 19px; height: 19px; flex-shrink: 0; }
.labos-nav-divider { height: 1px; margin: 22px; background: #2c3550; }
.labos-nav-group { margin: 6px 12px; }
.labos-nav-group summary { display: flex; align-items: center; gap: 12px; list-style: none; padding: 12px 10px; cursor: pointer; color: #b9c5dc; font-size: 12px; border-radius: 8px; }
.labos-nav-group summary::-webkit-details-marker { display: none; }
.labos-nav-group summary:hover { color: #fff; background: #1b2444; }
.labos-nav-group summary:focus-visible { outline: 2px solid #82a1ff; outline-offset: 2px; }
.labos-nav-chevron { margin-left: auto; transition: transform .15s; }
.labos-nav-group[open] .labos-nav-chevron { transform: rotate(180deg); }
.labos-nav-group-items { margin: 0 6px 12px 20px; padding-left: 12px; border-left: 1px solid #3c4968; }
.labos-workspace-nav .labos-nav-sublink { display: block; padding: 9px 8px; margin: 2px 0; font-size: 12px; }
.main-sidebar.sidebar-collapsed .labos-nav-caption, .main-sidebar.sidebar-collapsed .labos-nav-chevron { display: none; }
.main-sidebar.sidebar-collapsed .labos-nav-group { margin: 4px; }
.main-sidebar.sidebar-collapsed .labos-nav-group summary { padding: 10px; justify-content: center; }
.main-sidebar.sidebar-collapsed .labos-nav-group-items { margin: 0; padding: 0; border: 0; }
.main-sidebar.sidebar-collapsed .labos-nav-group-items .sidebar-text { display: block; font-size: 9px; text-align: center; white-space: normal; }
.labos-workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 8px 0 14px; color: var(--labos-ink); }
.labos-workspace-heading h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
.labos-workspace-heading p:not(.labos-eyebrow) { margin-top: 14px; color: var(--labos-muted); font-size: 14px; line-height: 1.7; max-width: 660px; }
.labos-workspace-heading > a { flex-shrink: 0; }
.labos-workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 16px 0 30px; }
.labos-workflow-card { display: flex; flex-direction: column; color: var(--labos-ink); background: var(--labos-surface); border: 1px solid var(--labos-border); border-radius: 14px; padding: 24px; text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.labos-workflow-card:hover { border-color: var(--labos-accent); transform: translateY(-2px); }
.labos-workflow-card:focus-visible { outline: 3px solid #82a1ff; outline-offset: 3px; }
.labos-workflow-top { display: flex; justify-content: space-between; gap: 12px; color: var(--labos-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; }
.labos-workflow-top > span:last-child { color: var(--labos-accent); font-size: 20px; line-height: 1; }
.labos-workflow-art { height: 70px; width: 100%; margin: 28px 0 22px; stroke: var(--labos-accent); stroke-width: 1.5; }
.labos-workflow-art path + path { stroke: #18a9a3; opacity: .55; }
.labos-workflow-card h2 { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.labos-workflow-card p { font-size: 13px; line-height: 1.65; margin: 12px 0 22px; color: var(--labos-muted); }
.labos-workflow-action { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--labos-border); margin-top: auto; font-size: 12px; font-weight: 600; color: var(--labos-accent); }
.labos-inventory { color: var(--labos-ink); }
.labos-inventory-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--labos-surface); border: 1px solid var(--labos-border); border-radius: 12px; overflow: hidden; }
.labos-inventory-strip > a { padding: 24px; min-width: 0; border-right: 1px solid var(--labos-border); }
.labos-inventory-strip > a:last-child { border-right: 0; }
.labos-inventory-strip > a:hover { background: var(--labos-canvas); }
.labos-inventory-strip span { display: block; color: var(--labos-muted); font-size: 12px; }
.labos-inventory-strip strong { display: block; margin-top: 8px; font-size: 34px; letter-spacing: -.04em; font-weight: 500; font-variant-numeric: tabular-nums; }
.labos-inventory-strip small { font-size: 11px; color: var(--labos-muted); }
.labos-inventory-details { margin-top: 12px; border: 1px solid var(--labos-border); border-radius: 10px; }
.labos-inventory-details summary { display: flex; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-size: 12px; color: var(--labos-muted); }
.labos-inventory-details dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; padding: 0 20px 18px; }
.labos-inventory-details dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--labos-border); font-size: 12px; }
.labos-inventory-details dt { color: var(--labos-muted); }
.labos-inventory-details dd { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
    .labos-workflow-card { padding: 18px; }
    .labos-workflow-card h2 { font-size: 17px; }
    .labos-inventory-strip > a { padding: 18px; }
}
@media (max-width: 767px) {
    .labos-workspace-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .labos-workflow-grid { grid-template-columns: 1fr; gap: 12px; }
    .labos-workflow-art { height: 45px; margin: 16px 0; }
    .labos-inventory-strip { grid-template-columns: 1fr 1fr; }
    .labos-inventory-strip > a { border-bottom: 1px solid var(--labos-border); }
    .labos-inventory-strip > a:nth-child(even) { border-right: 0; }
    .labos-inventory-strip strong { font-size: 28px; }
    .labos-inventory-details dl { grid-template-columns: 1fr; }
    /* Override the legacy mobile menu rule that hides every secondary item. */
    #main-sidebar .labos-workspace-nav.tip-sidebar-nav > .labos-nav-group { display: block !important; }
    .main-sidebar.sidebar-collapsed .labos-nav-group summary { justify-content: flex-start; }
    .main-sidebar.sidebar-collapsed .labos-nav-group-items .sidebar-text { font-size: 12px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .labos-workflow-card, .labos-nav-chevron { transition: none; }
    .labos-workflow-card:hover { transform: none; }
}
.tip-topbar { background: var(--labos-surface); border-color: var(--labos-border); box-shadow: none; }
.labos-eyebrow { margin: 0 0 12px; color: var(--labos-accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.labos-measurement-workspace { max-width: 1600px; margin: 0 auto; color: var(--labos-ink); }
.labos-demo-notice { display: flex; gap: 16px; align-items: baseline; padding: 14px 18px; margin: 12px 0 24px; border: 1px solid #cbd7f7; border-radius: 10px; background: #edf2ff; color: #344a79; font-size: 12px; line-height: 1.6; }
.labos-demo-notice strong { flex-shrink: 0; font-size: 10px; letter-spacing: .08em; }
.tip-dark .labos-demo-notice { background: #162443; border-color: #334b77; color: #bbcff6; }
.labos-measurement-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.labos-channel-picker { border: 1px solid var(--labos-border); border-radius: 12px; background: var(--labos-surface); padding: 20px 16px; }
.labos-channel-picker h2 { font-size: 14px; font-weight: 650; display: flex; justify-content: space-between; margin-bottom: 18px; }
.labos-channel-picker h2 > span { font-size: 11px; color: var(--labos-muted); }
.labos-channel-choice { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; border-top: 1px solid var(--labos-border); }
.labos-channel-choice input { accent-color: #315de8; width: 16px; height: 16px; }
.labos-channel-choice strong { font-size: 12px; display: block; font-weight: 600; }
.labos-channel-choice small { font-size: 10px; display: block; margin-top: 5px; color: var(--labos-muted); }
.labos-channel-explanation { border-top: 1px solid var(--labos-border); margin-top: 16px; padding-top: 16px; }
.labos-channel-explanation h3 { font-size: 11px; font-weight: 650; margin-bottom: 8px; }
.labos-channel-explanation p { font-size: 11px; line-height: 1.7; color: var(--labos-muted); }
.labos-measurement-content { min-width: 0; }
.labos-replay-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; }
.labos-replay-toolbar button { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.labos-replay-toolbar label { margin-left: auto; font-size: 11px; color: var(--labos-muted); }
.labos-replay-toolbar label strong { color: var(--labos-ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 8px; }
.labos-replay-toolbar input[type=range] { flex: 1; min-width: 120px; max-width: 240px; accent-color: #315de8; }
.labos-timeline { display: flex; flex-direction: column; gap: 14px; }
.labos-channel-lane { border: 1px solid var(--labos-border); border-radius: 12px; background: var(--labos-surface); padding: 18px; }
.labos-channel-lane header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.labos-channel-lane h2 { font-size: 13px; font-weight: 650; }
.labos-channel-lane h2 span { margin-left: 8px; font-size: 11px; color: var(--labos-muted); font-weight: 400; }
.labos-channel-chart-details { margin:.7rem 0; }
.labos-channel-chart-details summary { cursor:pointer; color:var(--labos-muted); font-size:.82rem; }
.labos-channel-lane header p { font-size: 10px; color: var(--labos-muted); margin-top: 5px; }
.labos-channel-reading { text-align: right; }
.labos-channel-reading strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.labos-channel-reading small { font-size: 11px; font-weight: 400; }
.labos-channel-reading > span { display: block; font-size: 10px; color: var(--labos-muted); margin-top: 3px; }
.labos-signal-chart { display: block; width: 100%; height: auto; min-height: 130px; margin-top: 12px; overflow: visible; }
.labos-chart-grid line { stroke: var(--labos-border); stroke-width: 1; }
.labos-chart-grid text, .labos-chart-labels text { fill: var(--labos-muted); font-size: 11px; }
.labos-signal-line { fill: none; stroke: #315de8; stroke-width: 1.8; }
.labos-signal-point { fill: #315de8; stroke: var(--labos-surface); stroke-width: .7; }
.tip-dark .labos-signal-line { stroke: #8caaff; }
.tip-dark .labos-signal-point { fill: #8caaff; }
.labos-channel-lane[data-channel=temperature] .labos-signal-line { stroke: #139989; }
.labos-channel-lane[data-channel=temperature] .labos-signal-point { fill: #139989; }
.labos-channel-lane[data-channel=power] .labos-signal-line { stroke: #9660d9; }
.labos-channel-lane[data-channel=power] .labos-signal-point { fill: #9660d9; }
.labos-signal-point.is-calculated { fill: var(--labos-surface) !important; stroke: #9660d9; stroke-width: 2; }
.labos-signal-gap { fill: #d68319; }
.labos-signal-line.labos-signal-calculated-line { stroke: #9660d9; stroke-dasharray: 5 4; }
.labos-signal-gap.labos-signal-invalid { fill: var(--labos-surface); stroke: #bf4455; stroke-width: 1.8; }
.tip-dark .labos-signal-gap.labos-signal-invalid { stroke: #f28b98; }
.labos-chart-cursor { stroke: #7a899f; stroke-width: 1; stroke-dasharray: 3 4; }
.labos-recording-note { font-size: 10px; color: var(--labos-muted); line-height: 1.7; margin: 16px 0; overflow-wrap: anywhere; }
.labos-empty-channels { padding: 50px 24px; border: 1px dashed var(--labos-border); text-align: center; color: var(--labos-muted); }
.labos-raw-records { border: 1px solid var(--labos-border); border-radius: 10px; }
.labos-raw-records summary { cursor: pointer; padding: 16px; font-size: 12px; }
.labos-raw-scroll { max-height: 340px; overflow: auto; border-top: 1px solid var(--labos-border); }
.labos-raw-scroll table { width: 100%; text-align: left; white-space: nowrap; border-collapse: collapse; font-size: 11px; }
.labos-raw-scroll th { background: var(--labos-surface); position: sticky; top: 0; }
.labos-raw-scroll th, .labos-raw-scroll td { padding: 10px 14px; border-bottom: 1px solid var(--labos-border); }
@media (max-width: 1100px) {
    .labos-measurement-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 16px; }
    .labos-demo-notice { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 767px) {
    .labos-measurement-layout { grid-template-columns: 1fr; }
    .labos-channel-picker { display: flex; flex-wrap: wrap; gap: 8px 16px; }
    .labos-channel-picker h2 { width: 100%; margin-bottom: 0; }
    .labos-channel-choice { border: 0; padding: 8px 0; }
    .labos-channel-explanation { width: 100%; margin: 0; padding-top: 12px; }
    .labos-channel-lane { padding: 12px; }
    .labos-replay-toolbar label { margin-left: 0; }
    .labos-replay-toolbar input[type=range] { flex-basis: 100%; max-width: none; }
    .labos-signal-chart { min-height: 100px; }
}
.labos-modules-page { max-width: 1320px; margin: 0 auto; color: var(--labos-ink); }
.labos-product-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; padding: 40px; border: 1px solid var(--labos-border); border-radius: 20px; background: var(--labos-surface); }
.labos-product-hero h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.04em; }
.labos-hero-description { color: var(--labos-muted); max-width: 620px; margin: 16px 0 0; font-size: 16px; line-height: 1.7; }
.labos-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.labos-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 11px 18px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.labos-button-primary { color: #fff; background: #315de8; }
.labos-button-primary:hover { background: #2149cb; color: #fff; }
.labos-button-secondary { color: var(--labos-ink); border-color: var(--labos-border); background: var(--labos-surface); }
.labos-button:focus-visible, .labos-brand-link:focus-visible { outline: 3px solid #82a1ff; outline-offset: 3px; }
.labos-flow { display: flex; flex-direction: column; justify-content: center; gap: 12px; border-left: 1px solid var(--labos-border); padding-left: 32px; }
.labos-flow span { display: flex; align-items: center; gap: 18px; color: var(--labos-accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.labos-flow strong { color: var(--labos-ink); font-size: 15px; font-weight: 500; padding: 8px 0; }
.labos-section-heading { margin: 32px 0 18px; }
.labos-section-heading h2 { font-size: 20px; font-weight: 650; margin: 0 0 8px; }
.labos-section-heading p { color: var(--labos-muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 900px; }
.labos-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.labos-module-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--labos-border); border-radius: 14px; background: var(--labos-surface); }
.labos-module-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.labos-module-symbol { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--labos-border); border-radius: 9px; color: var(--labos-accent); font-size: 24px; }
.labos-module-status { padding: 4px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; color: var(--labos-muted); border: 1px solid var(--labos-border); }
.labos-module-status.is-enabled { color: #14583d; background: #e7f5ed; border-color: #b6ddc8; }
.tip-dark .labos-module-status.is-enabled { color: #b2edcc; background: #143428; border-color: #285e45; }
.labos-module-card h3 { font-size: 18px; letter-spacing: -.02em; font-weight: 650; margin: 22px 0 10px; }
.labos-module-card p { color: var(--labos-muted); font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.labos-module-footer { margin-top: auto; border-top: 1px solid var(--labos-border); padding-top: 14px; color: var(--labos-muted); font-size: 12px; }
.labos-auth { display: grid; min-height: 100dvh; grid-template-columns: 1fr 1fr; background: var(--labos-surface); color: var(--labos-ink); }
.labos-auth-story { background: #0b1029; color: #f2f5ff; padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.labos-auth-logo { width: 190px; height: auto; display: block; }
.labos-auth-story h1 { font-size: clamp(32px, 4vw, 64px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; margin: 50px 0 24px; max-width: 520px; }
.labos-auth-story p { color: #b2bdd8; font-size: 16px; line-height: 1.75; max-width: 440px; }
.labos-auth-wave { width: 100%; height: 130px; margin-top: 30px; overflow: visible; }
.labos-auth-caption { color: #8e9ab8; letter-spacing: .16em; font-size: 10px; margin-top: 36px; text-transform: uppercase; }
.labos-auth-form-panel { display: flex; justify-content: center; align-items: center; padding: 48px 28px; }
.tip-screen-auth.labos-auth { background: #fff; background-image: none; }
.tip-screen-auth.labos-auth .labos-auth-form-panel { background: #fff; color: #10162f; color-scheme: light; --labos-ink: #10162f; --labos-muted: #59667c; --labos-canvas: #f4f6fa; --labos-border: #dde3ee; --labos-surface: #fff; }
.labos-auth-form { width: 100%; max-width: 380px; }
.labos-auth-form h2 { font-size: 30px; letter-spacing: -.035em; font-weight: 650; margin: 0 0 10px; }
.labos-auth-description { color: var(--labos-muted); font-size: 14px; line-height: 1.65; margin: 0 0 34px; }
.labos-auth-form label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 9px; }
.labos-auth-form input { box-sizing: border-box; display: block; width: 100%; height: 48px; padding: 10px 14px; margin: 0 0 22px; color: var(--labos-ink); background: var(--labos-canvas); border: 1px solid var(--labos-border); border-radius: 8px; font-size: 15px; }
.labos-auth-form input:focus { outline: 3px solid #315de830; border-color: #315de8; }
.labos-auth-form button[type=submit] { width: 100%; margin-top: 6px; cursor: pointer; }
.labos-auth-form button:disabled { opacity: .65; cursor: wait; }
.labos-auth-error { background: #fff0ef; color: #9d2824; border: 1px solid #f4c3bf; border-radius: 8px; padding: 12px; font-size: 14px; margin-bottom: 16px; }
.labos-auth-footer { margin-top: 32px; color: var(--labos-muted); font-size: 12px; text-align: center; }
@media (max-width: 1100px) {
    .labos-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .labos-product-hero { grid-template-columns: minmax(0, 1fr); }
    .labos-flow { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 24px; border-left: 0; border-top: 1px solid var(--labos-border); padding: 18px 0 0; }
}
@media (max-width: 700px) {
    .labos-auth { grid-template-columns: 1fr; }
    .labos-auth-story { padding: 24px; }
    .labos-auth-logo { width: 120px; }
    .labos-auth-story h1 { font-size: 30px; margin: 26px 0 12px; }
    .labos-auth-story p { margin: 0; font-size: 14px; }
    .labos-auth-wave, .labos-auth-caption { display: none; }
    .labos-auth-form-panel { padding: 36px 24px; }
    .labos-product-hero { padding: 24px; gap: 24px; border-radius: 14px; }
    .labos-module-grid { grid-template-columns: 1fr; }
    .labos-module-card { padding: 22px; }
}

.labos-account-page { max-width: 1040px; margin: 0 auto; padding: 36px 24px 64px; color: var(--labos-ink); }
.labos-account-page h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.035em; font-weight: 650; margin: 12px 0; }
.labos-account-intro { color: var(--labos-muted); margin-bottom: 32px; }
.labos-account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.labos-account-card { background: var(--labos-surface); border: 1px solid var(--labos-border); border-radius: 18px; padding: 30px; }
.labos-account-grid h2 { font-size: 19px; font-weight: 650; margin-bottom: 24px; }
.labos-account-card label { display: block; font-size: 13px; font-weight: 600; margin: 22px 0 8px; }
.labos-account-card input { display: block; width: 100%; min-width: 0; background: var(--labos-canvas); color: var(--labos-ink); border: 1px solid var(--labos-border); border-radius: 9px; padding: 12px; }
.labos-account-card input:focus { outline: 2px solid var(--labos-accent); outline-offset: 2px; }
.labos-account-card input[readonly] { color: var(--labos-muted); }
.labos-account-help { font-size: 12px; color: var(--labos-muted); margin-top: 8px; line-height: 1.6; }
.labos-account-card button { width: 100%; margin-top: 24px; }
.labos-account-card button:disabled { opacity: .6; }
.labos-account-error { color: #b42318; border-left: 3px solid currentColor; padding-left: 12px; margin-top: 20px; line-height: 1.6; }
.tip-dark .labos-account-error { color: #ffb5a7; }
.labos-account-note { padding: 24px 8px; color: var(--labos-muted); line-height: 1.8; }
.labos-account-note h2 { color: var(--labos-ink); margin: 20px 0 12px; }
.labos-account-note p + p { margin-top: 20px; }
.labos-account-symbol { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--labos-border); border-radius: 14px; color: var(--labos-accent); font-size: 26px; }
.labos-login-notice { padding: 12px; margin: 16px 0; background: var(--labos-canvas); color: var(--labos-ink); border-left: 3px solid var(--labos-accent); border-radius: 6px; line-height: 1.6; }
@media (max-width: 720px) { .labos-account-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .labos-account-page { padding: 24px 16px; } .labos-account-card { padding: 22px; } }

/* LabOS station workspace. Only presentation changes: native controls, refresh,
   sample evidence and per-station fault indicators keep their existing meaning. */
.tip-app-shell .tip-screen-stations {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
    gap: 12px 24px;
    padding: 24px;
    min-width: 0;
    background: var(--labos-canvas);
    color: var(--labos-ink);
    border-radius: 0;
}
.tip-screen-stations > .tip-page-heading-row {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 12px;
    /* The old heading has inline padding; keep the override local to this page. */
    padding: 0 0 22px !important;
    border-bottom: 1px solid var(--labos-border);
    background: none;
    box-shadow: none;
    align-items: flex-end;
}
.tip-screen-stations .tip-page-heading { padding: 0; }
.tip-screen-stations .tip-page-heading::before { display: none; }
.tip-screen-stations .tip-page-eyebrow {
    color: var(--labos-accent);
    font-size: 10px;
    letter-spacing: .16em;
    margin-bottom: 12px;
}
.tip-screen-stations .tip-page-title {
    color: var(--labos-ink);
    font-size: clamp(27px, 2.8vw, 36px);
    line-height: 1.15;
    letter-spacing: -.04em;
    font-weight: 650;
}
.tip-screen-stations > .tip-page-heading-row .text-gray-500 { color: var(--labos-muted); }
.tip-screen-stations > .tip-station-filter-rack {
    grid-column: 1;
    grid-row: 2 / 6;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    align-self: start;
    gap: 22px;
    padding: 22px 18px;
    margin: 0;
    min-width: 0;
    max-height: 100%;
    overflow: auto;
    background: var(--labos-surface);
    border: 1px solid var(--labos-border);
    border-radius: 14px;
    box-shadow: none;
}
.tip-screen-stations .tip-station-filter-rack > div { min-width: 0; gap: 8px; }
.tip-screen-stations .tip-station-filter-rack label {
    font-size: 11px;
    color: var(--labos-muted);
    letter-spacing: .025em;
}
.tip-screen-stations .tip-station-filter-rack > label {
    padding: 16px 0 0;
    border-top: 1px solid var(--labos-border);
    font-size: 13px;
    white-space: normal;
    min-height: 44px;
}
.tip-screen-stations .tip-station-filter-rack select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 13px;
    color: var(--labos-ink);
    background-color: var(--labos-canvas);
    border: 1px solid var(--labos-border);
    border-radius: 8px;
    box-shadow: none;
}
.tip-screen-stations .tip-station-filter-rack select:disabled { opacity: .65; cursor: not-allowed; }
.tip-screen-stations .tip-station-filter-rack input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--labos-accent); flex-shrink: 0; }
.tip-screen-stations .tip-station-filter-rack > span { color: var(--labos-muted); white-space: normal; padding: 0; }
.tip-screen-stations > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    color: var(--labos-muted);
    margin: 0;
    min-width: 0;
    line-height: 1.7;
}
.tip-screen-stations > p {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--labos-muted);
    overflow-wrap: anywhere;
}
.tip-screen-stations > [data-testid=station-refresh-warning] { grid-column: 2; grid-row: 4; margin: 0; }
.tip-screen-stations > div:last-child:not(.tip-station-filter-rack) { grid-column: 2; grid-row: 5; }
.tip-app-shell .tip-screen-stations .tip-station-board {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
    min-height: 0;
    padding: 0 0 12px;
    overflow: auto;
    scrollbar-color: var(--labos-border) transparent;
}
.tip-app-shell .tip-screen-stations .tip-station-column {
    flex: 1 0 264px;
    max-width: 420px;
    min-height: 0;
    max-height: 100%;
    align-self: stretch;
    background: var(--labos-surface);
    border: 1px solid var(--labos-border);
    border-radius: 14px;
    overflow: hidden;
}
.tip-screen-stations .tip-station-column > div:first-child {
    padding: 18px;
    flex-shrink: 0;
    border-radius: 0;
    background: var(--labos-surface);
    border-bottom: 1px solid var(--labos-border);
}
.tip-screen-stations .tip-station-column > div:first-child .text-gray-800 { color: var(--labos-ink); font-size: 15px; }
.tip-screen-stations .tip-station-column > div:first-child .text-gray-500 { color: var(--labos-muted); }
.tip-screen-stations .tip-station-column > div:first-child .bg-gray-200 { background: var(--labos-border); }
.tip-app-shell .tip-screen-stations .tip-station-cards {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    padding: 12px;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
}
.tip-screen-stations .tip-station-cards > :is(button, [data-testrun-href]) {
    min-height: 58px;
    padding: 14px 12px;
    border-radius: 9px;
    box-shadow: none;
    transition: border-color .15s, background-color .15s;
}
.tip-screen-stations .tip-station-cards > .bg-white { background: var(--labos-canvas); }
.tip-screen-stations .tip-station-cards > .border-gray-200 { border-color: var(--labos-border); }
.tip-screen-stations .tip-station-cards > .bg-white :is(.text-gray-400, .text-gray-500) { color: var(--labos-muted); }
.tip-screen-stations .tip-station-cards > .bg-white :is(.text-gray-800, .station-test-link > div:first-child > span:first-child) { color: var(--labos-ink); }
.tip-screen-stations .station-idle-card.bg-white > div:first-child > span:first-child { color: var(--labos-ink); font-weight: 600; }
.tip-screen-stations .tip-station-cards > .bg-white:hover { border-color: var(--labos-accent); }
.tip-screen-stations .tip-station-cards > .col-span-full { color: var(--labos-muted); padding: 24px 12px; font-size: 13px; }
.tip-screen-stations :is(select, input, button):focus-visible { outline: 3px solid var(--labos-accent); outline-offset: 3px; }
.tip-screen-stations > .tip-empty-state {
    display: grid;
    place-items: center;
    color: var(--labos-muted);
    background: var(--labos-surface);
    border-color: var(--labos-border);
    border-radius: 14px;
    line-height: 1.7;
}
@media (max-width: 1199px) {
    .tip-app-shell .tip-screen-stations { display: flex; flex-direction: column; padding: 18px; gap: 14px; }
    .tip-screen-stations > .tip-page-heading-row { margin: 0; align-items: flex-start; }
    .tip-screen-stations > .tip-station-filter-rack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; padding: 18px; max-height: none; overflow: visible; }
    .tip-screen-stations .tip-station-filter-rack > label { padding: 0; border: 0; }
    .tip-screen-stations .tip-station-filter-rack > span { align-self: center; grid-column: span 2; }
    .tip-app-shell .tip-screen-stations .tip-station-board { min-height: 280px; }
}
@media (max-width: 767px) {
    .tip-app-shell .tip-screen-stations { padding: 16px 8px; gap: 14px; }
    .tip-screen-stations > .tip-page-heading-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .tip-screen-stations > .tip-page-heading-row .tip-page-heading > div { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tip-screen-stations > .tip-station-filter-rack { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; }
    .tip-screen-stations .tip-station-filter-rack > span { grid-column: auto; }
    .tip-screen-stations > div:nth-child(3) > span:last-child { margin-left: 0; }
    .tip-app-shell .tip-screen-stations .tip-station-column { flex: 0 0 88%; max-width: 360px; max-height: 65dvh; }
    .tip-app-shell .tip-screen-stations .tip-station-board { flex: none; max-height: 65dvh; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .tip-screen-stations .tip-station-cards > :is(button, [data-testrun-href]) { transition: none; }
}
