/* Case equipment and workshop profile, within the existing fixed tab frame. */
[hidden] { display: none !important; }
.header-right { gap: 8px; }
.header-right .icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab-panel, #panel-test { padding-bottom: calc(var(--bottom-dock-height) + 16px); scroll-padding-bottom: calc(var(--bottom-dock-height) + 16px); }
.difficulty-label { display: inline-block; color: var(--amber); border: 1px solid #645234; background: #302c22; font: .6875rem var(--mono); padding: 4px 7px; border-radius: 3px; margin: 5px 0 12px; }
.customer-thumbnail { width: 76px; flex-shrink: 0; }
.customer-thumbnail img { display: block; width: 100%; height: 60px; object-fit: cover; border-radius: 4px; }
.customer-thumbnail small { display: block; margin-top: 7px; font: .6875rem var(--mono); color: var(--amber); }
.customer-difficulty { display: block; font-size: .75rem; margin-top: 7px; color: var(--muted); }
.inspection-photo { margin: 0 0 18px; }
.inspection-photo img { display: block; width: 100%; border: 1px solid #546069; border-radius: 6px; }
.inspection-photo figcaption { font-size: .75rem; color: var(--muted); margin-top: 7px; }
.visual-choices { border: 0; padding: 0; display: grid; gap: 8px; }
.visual-choices label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; background: #202d35; border: 1px solid #43535e; border-radius: 5px; cursor: pointer; }
.visual-choices label:has(input:checked) { border-color: var(--amber); background: #342f23; }
.visual-choices input { accent-color: var(--amber); width: 18px; height: 18px; flex-shrink: 0; }
.visual-choices span { font-size: .875rem; line-height: 1.5; }
#dialog-content .visual-cost { font-size: .75rem; margin-top: 15px; }
.inspection-feedback { padding: 16px; background: #222e36; border-left: 3px solid var(--amber); }
.inspection-feedback.identified { border-color: var(--green); }
.inspection-feedback p { margin: 0 !important; }
.evidence-photo { width: min(100%,500px); display: block; border-radius: 5px; margin: 10px 0 15px; }
.evidence-item header { flex-wrap: wrap; gap: 8px 12px; }
.evidence-item .reading { white-space: normal; }
.evidence-choice { flex-wrap: wrap; }
.evidence-choice > span { flex: 1 1 160px; }
.evidence-choice b { font-size: .75rem; }
.hotline-launcher { align-self: flex-end; flex: 0 0 auto; margin: 0 17px 12px 0; display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border: 1px solid #ae8a48; border-radius: 32px; background: #2c332f; color: #ffe5b2; box-shadow: 0 3px 15px #0006; }
.hotline-launcher img { display: block; height: 42px; width: 42px; object-fit: cover; border-radius: 50%; }
.hotline-launcher span { font-size: .75rem; font-weight: 600; }
.hotline-launcher[aria-expanded=true] { background: #51422c; }
.hotline-panel { position: absolute; right: 14px; bottom: calc(var(--bottom-dock-height) + 12px); width: min(380px,calc(100% - 28px)); max-height: calc(100% - var(--bottom-dock-height) - 24px); overflow-y: auto; overscroll-behavior: contain; z-index: 30; background: #202c34; border: 1px solid #7d6b47; border-radius: 10px; padding: 17px; box-shadow: 0 10px 35px #0009; }
.hotline-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hotline-heading > img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hotline-heading > div { flex: 1; min-width: 0; }
.hotline-heading .eyebrow { font-size: .6rem; color: var(--amber); margin: 0 0 5px; }
.hotline-heading h2 { font-family: var(--body); font-size: .8125rem; line-height: 1.4; font-weight: 600; }
.hotline-heading .icon-button { flex-shrink: 0; width: 32px; height: 32px; }
#hotline-message { font-size: .875rem; line-height: 1.65; }
#hotline-message p { margin-bottom: 15px; }
#hotline-message .reference-table { font-size: .75rem; }
.hotline-topics { display: flex; flex-wrap: wrap; gap: 7px; }
.hotline-topics button { font-size: .75rem; min-height: 38px; padding: 7px 9px; border: 1px solid #59666e; border-radius: 5px; background: #2b3a43; }
.hotline-topics button[aria-pressed=true] { color: var(--amber); border-color: #b18d4b; }
.hotline-note { color: var(--muted); font-size: .6875rem; margin-top: 13px; line-height: 1.5; }
#engine-bench { width: 100%; max-width: 850px; margin: 3px auto 0; flex: 0 0 auto; }
.equipment-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.equipment-picker button { display: flex; align-items: center; gap: 9px; padding: 9px 11px; min-height: 44px; background: #26343d; border: 1px solid #475963; border-radius: 5px; }
.equipment-picker button small { font: .6rem var(--mono); color: #a6bac7; border: 1px solid #5b6a73; padding: 4px 3px; border-radius: 3px; }
.equipment-picker button span { font-size: .8125rem; }
.equipment-picker button[aria-pressed=true] { background: #373025; border-color: #d0a24d; color: #ffdc96; }
.equipment-picker button[aria-pressed=true] small { color: #ffdc96; border-color: #a78545; }
.scanner-panel,.equipment-panel { background: #17232b; border: 1px solid #4d616f; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 0 #090f14; }
.instrument-heading { background: #2a3b46; border-bottom: 1px solid #4d616f; padding: 13px 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #acbfcc; font: .65rem var(--mono); }
.connection-status { color: #8bcbac; white-space: nowrap; }
.scanner-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.scanner-section-heading h3 { font: 600 1rem var(--body); margin: 0; }
.scanner-section-heading > span { font: .6rem var(--mono); color: #9dafbb; }
.fault-memory { padding: 17px; border-bottom: 1px solid #3e505d; }
.code-result { padding: 12px; background: #101a21; border: 1px solid #3c505e; border-radius: 4px; }
.code-result > p { display: flex; gap: 12px; margin: 0 0 8px; line-height: 1.5; }
.code-result p b { color: var(--amber); font: .875rem/1.5 var(--mono); flex-shrink: 0; }
.code-result p span { color: #c9d3da; font-size: .8125rem; }
.code-result > small { display: block; font-size: .75rem; line-height: 1.6; color: #adbdc8; }
.instrument-empty { font-size: .8125rem; color: #aebfca; line-height: 1.6; margin: 0 0 12px; }
.scanner-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.scanner-actions button { font-size: .8125rem; min-height: 42px; padding: 9px 12px; }
.scanner-actions small { color: #acbcc7; font-size: .6875rem; margin-left: 6px; }
.scanner-actions .text-button { padding-left: 0; }
.live-data { padding: 17px; }
.condition-picker { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.condition-picker button { text-align: left; background: #23333e; border: 1px solid #49616f; border-radius: 4px; padding: 11px 9px; min-width: 0; }
.condition-picker strong { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: 6px; }
.condition-picker small { display: block; font-size: .6875rem; color: #b0c0cb; line-height: 1.5; }
.condition-picker button[aria-pressed=true] { background: #354638; border-color: #8bba98; }
.capture-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 12px; min-height: 44px; font-size: .875rem; }
.capture-heading { margin: 19px 0 10px; }
.capture-heading label { display: block; color: #b6c5ce; font-size: .6875rem; margin-bottom: 7px; }
.capture-heading select { width: 100%; }
.capture-heading select,.data-view-options select { background: #253845; border: 1px solid #586e7c; border-radius: 4px; color: #edf0f2; min-height: 40px; font: .8125rem var(--body); padding: 8px; }
.capture-description { color: #c0cdd6; font-size: .8125rem; line-height: 1.65; margin-bottom: 14px; }
.data-view-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.segmented-control { display: flex; border: 1px solid #536876; border-radius: 5px; overflow: hidden; }
.segmented-control button { padding: 9px 14px; font-size: .8125rem; min-height: 40px; background: #20323d; }
.segmented-control button[aria-pressed=true] { background: #d8aa56; color: #161c20; }
.scan-graph { background: #0b171f; border: 1px solid #3a505e; border-radius: 4px; overflow: hidden; }
.scan-graph svg { display: block; width: 100%; height: auto; }
.scan-graph text { fill: #aec0cc; font: 13px var(--mono); }
.graph-grid { fill: none; stroke: #314450; stroke-dasharray: 3 5; }
.graph-cursor path { stroke: #dce6ec; stroke-width: 1.5; stroke-dasharray: 4 4; }
.graph-cursor circle { fill: #f3ca82; stroke: #0b171f; stroke-width: 2; }
.graph-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 10px 0; }
.graph-legend span { display: flex; align-items: center; gap: 6px; font-size: .6875rem; color: #c2cfd7; }
.graph-legend i { display: inline-block; width: 15px; height: 0; border-top: 2px solid var(--signal-color); }
.graph-legend i.dashed { border-top-style: dashed; }
.graph-legend b { color: #f3f4f2; font: .75rem var(--mono); }
.capture-timeline { margin: 15px 0 0; }
.capture-timeline label { display: flex; align-items: center; justify-content: space-between; font-size: .6875rem; color: #b4c4cf; }
.capture-timeline output { font-family: var(--mono); color: var(--amber); }
.capture-timeline input { display: block; width: 100%; min-height: 40px; accent-color: #eabd68; margin: 0; }
.data-table { width: 100%; border-collapse: collapse; background: #0e1c25; }
.data-table th,.data-table td { text-align: left; padding: 11px 9px; border-bottom: 1px solid #344c5c; font-size: .75rem; }
.data-table thead th { font-size: .6875rem; color: #a9bdcb; }
.data-table tbody th { font-weight: 400; }
.data-table td:nth-child(2) { color: var(--amber); font: .9375rem var(--mono); text-align: right; }
.data-table td:last-child { color: #a9bdcb; font-size: .6875rem; }
.data-placeholder { text-align: center; padding: 27px 12px 17px; margin-top: 16px; border: 1px dashed #425a69; border-radius: 5px; }
.data-placeholder svg { display: block; width: min(75%,220px); height: 56px; margin: 0 auto 9px; fill: none; stroke: #628270; stroke-width: 2; }
.data-placeholder p { color: #b7c7d1; font-size: .8125rem; margin-bottom: 6px; }
.data-placeholder small { color: #8fa6b5; font-size: .6875rem; line-height: 1.6; }
.equipment-panel > h3 { font: 600 1.25rem var(--body); margin: 25px 21px 12px; }
.equipment-panel > p { font-size: .875rem; color: #bccbd5; line-height: 1.7; margin: 0 21px 20px; }
.equipment-panel > .primary-button { margin: 0 21px 23px; font-size: .875rem; }
.equipment-panel > .primary-button span { margin-left: 20px; font-size: .75rem; }
.equipment-result { padding: 20px; background: #102018; border-top: 1px solid #4d6b5b; }
.equipment-result .eyebrow { color: #8bcbac; font-size: .6875rem; margin-bottom: 12px; }
.equipment-result > strong { font: 500 1.1rem/1.6 var(--mono); color: #bfe4ca; display: block; }
.equipment-result > p:last-child { margin-top: 12px; color: #c2d2c9; font-size: .875rem; line-height: 1.7; }
.profile-identity { display: flex; align-items: center; gap: 15px; margin: 6px 0 20px; }
.profile-mark { height: 62px; width: 62px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.profile-identity > div { min-width: 0; flex: 1; }
.profile-identity .eyebrow { color: var(--amber); font-size: .625rem; margin: 0 0 7px !important; }
#technician-name { width: 100%; max-width: 330px; font: 600 1.05rem var(--body); color: #eef2f4; background: #12212b; border: 1px solid #556a78; border-radius: 4px; padding: 10px; }
.profile-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: #11212b; border: 1px solid #3e5869; border-radius: 6px; margin-bottom: 14px; }
.profile-stats > div { padding: 15px 9px; text-align: center; }
.profile-stats > div + div { border-left: 1px solid #3e5869; }
.profile-stats b { display: block; font: 1.4rem var(--mono); color: var(--amber); }
.profile-stats span { display: block; font-size: .65rem; line-height: 1.5; margin-top: 7px; color: #b4c5d1; }
#dialog-content .profile-save-note,#dialog-content .profile-record-note { color: #b4c3ce; font-size: .75rem; line-height: 1.7; margin-bottom: 20px; }
.achievement-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 15px 0 24px; }
.achievement { display: flex; gap: 10px; padding: 12px; border: 1px solid #435866; border-radius: 5px; background: #1e2d37; }
.achievement > span { color: #8a9eac; font: 1.15rem var(--mono); }
.achievement strong { display: block; font-size: .8125rem; font-weight: 500; color: #b2c1cc; }
.achievement small { display: block; font-size: .6875rem; line-height: 1.55; color: #98adbb; margin-top: 6px; }
.achievement.earned { border-color: #67806b; background: #27382e; }
.achievement.earned > span { color: #92d9a8; }
.achievement.earned strong { color: #d5ebdd; }
.records-wrap { margin: 12px 0 26px; }
.profile-records { width: 100%; border-collapse: collapse; }
.profile-records th,.profile-records td { padding: 10px 7px; border-bottom: 1px solid #435764; font-size: .75rem; text-align: right; }
.profile-records th:first-child { text-align: left; }
.profile-records thead th { color: #aabcC9; font-size: .6875rem; font-weight: 400; }
.profile-records tbody th { font-weight: 400; }
.profile-records td { font-family: var(--mono); color: #e1ceaa; }
.advisor-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 10px; }
.advisor-picker label { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; padding: 9px; background: #24333d; border: 1px solid #5d6d76; border-radius: 7px; cursor: pointer; }
.advisor-picker label:has(input:checked) { border-color: var(--amber); background: #343124; }
.advisor-picker img { grid-row: 1; grid-column: 1 / -1; width: 100%; max-height: 170px; object-fit: cover; object-position: 50% 32%; border-radius: 4px; }
.advisor-picker input { grid-row: 2; width: 16px; height: 16px; margin: 3px; accent-color: var(--amber); }
.advisor-picker span { grid-row: 2; font-size: .875rem; }
.audio-settings { display: grid; gap: 1px; margin: 15px 0; border: 1px solid #4b6271; border-radius: 5px; overflow: hidden; }
.audio-settings label { padding: 10px 13px; min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #1c2b35; }
.audio-settings span { font-size: .8125rem; }
.audio-settings input[type=checkbox] { accent-color: #dfae58; width: 20px; height: 20px; flex-shrink: 0; }
.audio-settings input[type=range] { accent-color: #dfae58; min-height: 35px; width: min(58%,240px); }
@media (max-width: 750px) {
  .header-right { gap: 5px; }
  .header-right .icon-button { height: 36px; width: 36px; }
  .hotline-launcher { margin-right: 13px; }
  .equipment-picker { gap: 7px; }
  .equipment-picker button { padding: 8px; gap: 7px; }
  .equipment-picker button span { font-size: .75rem; }
  .instrument-heading { padding: 12px; font-size: .6rem; }
  .fault-memory,.live-data { padding: 13px; }
  .condition-picker { gap: 6px; }
  .condition-picker button { padding: 10px 7px; }
  .condition-picker strong { font-size: .75rem; }
  .condition-picker small { font-size: .625rem; }
  .code-result > p { display: block; }
  .code-result p span { display: block; margin-top: 3px; }
  .graph-legend { gap: 8px 11px; }
  .customer-card { padding: 12px; gap: 10px; }
  .customer-thumbnail { width: 62px; }
  .customer-thumbnail img { height: 53px; }
  .customer-case-title { font-size: 1.45rem; }
  .customer-arrow { display: none; }
  .achievement-list { grid-template-columns: 1fr; }
  .advisor-picker img { max-height: 145px; }
}
@media (prefers-reduced-motion: reduce) { .probe-node.snapped .node-ring { animation: none; } }
