/*
 * Opt.Studio NPU dashboard template
 * Visual direction: true black/white, high-legibility UI type, compact chart scales.
 * Shared by the standalone product mockups and the landing-page product preview.
 */

:root {
  --npu-black: #050505;
  --npu-ink: #111111;
  --npu-muted: #626262;
  --npu-faint: #8a8a8a;
  --npu-line: #dedede;
  --npu-line-soft: #eeeeee;
  --npu-surface: #ffffff;
  --npu-surface-soft: #f7f7f7;
  --npu-radius-sm: 6px;
  --npu-radius-md: 10px;
  --npu-shadow: 0 18px 55px rgba(0, 0, 0, .12);
  --npu-font: 'Segoe UI', Arial, sans-serif;
}

/* Export workflow v4 — focused, sequential conversion UX */
.npu-dashboard-theme .brand { gap: 0; }
.npu-dashboard-theme .brand > div { display: grid; gap: 2px; }
.npu-dashboard-theme .brand b { font-size: 18px; letter-spacing: -.35px; }
.npu-dashboard-theme .brand span { font-size: 11px; letter-spacing: .04em; }
.npu-dashboard-theme .export-head { margin-bottom: 24px; }
.npu-dashboard-theme .export-head h1 { font-size: 36px; }
.npu-dashboard-theme .export-head p { font-size: 15px; }
.npu-dashboard-theme .flow-rail {
  display: grid;
  grid-template-columns: minmax(124px,1fr) minmax(42px,.32fr) minmax(124px,1fr) minmax(42px,.32fr) minmax(124px,1fr) minmax(42px,.32fr) minmax(124px,1fr);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto 28px;
  padding: 0 8px;
}
.npu-dashboard-theme .flow-rail > i { height: 1px; background: #cfd5dc; }
.npu-dashboard-theme .flow-rail button {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: #8a939e;
  text-align: left;
  cursor: pointer;
}
.npu-dashboard-theme .flow-rail button:disabled { cursor: default; opacity: .62; }
.npu-dashboard-theme .flow-rail button span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6e9ed;
  color: #69737f;
  font-size: 13px;
  font-weight: 700;
}
.npu-dashboard-theme .flow-rail button b { color: inherit; font-size: 14px; font-weight: 650; }
.npu-dashboard-theme .flow-rail button small { font-size: 11px; }
.npu-dashboard-theme .flow-rail button.active,
.npu-dashboard-theme .flow-rail button.done { color: #111820; opacity: 1; }
.npu-dashboard-theme .flow-rail button.active span { background: #111820; color: #fff; }
.npu-dashboard-theme .flow-rail button.done span { background: #dceee1; color: #26713c; }
.npu-dashboard-theme .flow-rail button.done span::after { content: '✓'; position: absolute; }
.npu-dashboard-theme .flow-rail button.done span { font-size: 0; position: relative; }
.npu-dashboard-theme .flow-screen:not(.on) { display: none; }
.npu-dashboard-theme .wizard-surface {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(22,31,43,.055);
}
.npu-dashboard-theme .wizard-title,
.npu-dashboard-theme .conversion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.npu-dashboard-theme .wizard-title h2,
.npu-dashboard-theme .conversion-header h2,
.npu-dashboard-theme .package-surface h2 { margin: 4px 0 7px; color: #18212b; font-size: 27px; line-height: 1.15; letter-spacing: -.45px; }
.npu-dashboard-theme .wizard-title p,
.npu-dashboard-theme .conversion-header p,
.npu-dashboard-theme .package-surface > p { margin: 0; color: #687483; font-size: 14px; line-height: 1.55; }
.npu-dashboard-theme .eyebrow { display: block; color: #7a8592; font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.npu-dashboard-theme .wizard-form,
.npu-dashboard-theme .quant-fields { display: grid; gap: 14px; }
.npu-dashboard-theme .flow-field { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: start; gap: 22px; }
.npu-dashboard-theme .flow-field > label { margin-top: 13px; color: #34404c; font-size: 14px; font-weight: 600; }
.npu-dashboard-theme .flat-control,
.npu-dashboard-theme .flat-select-trigger,
.npu-dashboard-theme .flow-field input,
.npu-dashboard-theme .flow-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 0 !important;
  outline: 0;
  border-radius: 7px;
  background: #f1f3f5;
  color: #1e2833;
  font-family: var(--npu-font);
  font-size: 14px;
}
.npu-dashboard-theme .flat-control:focus,
.npu-dashboard-theme .flat-select-trigger:focus-visible { box-shadow: 0 0 0 3px rgba(26,35,45,.12); }
.npu-dashboard-theme .flat-select-trigger {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) 16px;
  align-items: center;
  gap: 12px;
  height: auto;
  padding: 9px 14px;
  text-align: left;
  cursor: pointer;
}
.npu-dashboard-theme .flat-select-trigger > span:nth-child(2),
.npu-dashboard-theme .flat-select-trigger > span:first-child:not(.model-logo) { display: grid; gap: 3px; }
.npu-dashboard-theme .flat-select-trigger b { color: #1d2732; font-size: 14px; font-weight: 650; }
.npu-dashboard-theme .flat-select-trigger small { overflow: hidden; color: #727d89; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.npu-dashboard-theme .flat-select-trigger > svg { width: 16px; }
.npu-dashboard-theme .model-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: #fff; }
.npu-dashboard-theme .model-logo img { width: 18px; height: 18px; object-fit: contain; }
.npu-dashboard-theme .model-logo.logo-qwen img,
.npu-dashboard-theme .model-logo.logo-gemma img { width: 24px; height: 24px; }
.npu-dashboard-theme .model-logo.logo-kakao { background: #FEE500; }
.npu-dashboard-theme .model-logo.logo-lg { background: #fff1f5; }
.npu-dashboard-theme .model-logo.logo-meta { background: #eef5ff; }
.npu-dashboard-theme .model-picker > div,
.npu-dashboard-theme .method-picker > div { position: relative; min-width: 0; }
.npu-dashboard-theme .model-menu,
.npu-dashboard-theme .method-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  overflow: auto;
  max-height: 340px;
  padding: 7px;
  border: 0 !important;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18,27,37,.18);
}
.npu-dashboard-theme .model-option,
.npu-dashboard-theme .method-option {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 11px 12px;
  border: 0 !important;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.npu-dashboard-theme .model-option:hover,
.npu-dashboard-theme .method-option:hover,
.npu-dashboard-theme .model-option[aria-selected='true'],
.npu-dashboard-theme .method-option[aria-selected='true'] { background: #f1f3f5; }
.npu-dashboard-theme .model-option > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.npu-dashboard-theme .model-option strong { color: #222d38; font-size: 14px; }
.npu-dashboard-theme .model-option small { overflow: hidden; color: #74808d; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.npu-dashboard-theme .model-option em { color: #317244; font-size: 11px; font-style: normal; font-weight: 650; }
.npu-dashboard-theme .method-option { grid-template-columns: minmax(88px,.4fr) minmax(0,1fr) auto; }
.npu-dashboard-theme .method-option strong { font-size: 13.5px; }
.npu-dashboard-theme .method-option span { color: #687483; font-size: 12px; line-height: 1.4; }
.npu-dashboard-theme .method-option em { color: #798490; font-size: 10.5px; font-style: normal; }
.npu-dashboard-theme .field-help { margin: 7px 2px 0; color: #737f8b; font-size: 12px; line-height: 1.45; }
.npu-dashboard-theme .paired-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.npu-dashboard-theme .paired-controls > div { display: grid; gap: 6px; }
.npu-dashboard-theme .paired-controls > div > span { color: #697582; font-size: 12px; font-weight: 550; }
.npu-dashboard-theme .info-button { position: relative; width: 17px; height: 17px; margin-left: 3px; padding: 0; border: 0; border-radius: 50%; background: #dfe3e7; color: #56616d; font: 700 10px/17px var(--npu-font); cursor: help; }
.npu-dashboard-theme .info-button::after {
  content: attr(data-tip);
  position: absolute;
  z-index: 40;
  bottom: calc(100% + 8px);
  left: 50%;
  width: 230px;
  padding: 9px 11px;
  border-radius: 6px;
  background: #171e26;
  color: #fff;
  font-size: 11.5px;
  font-weight: 450;
  line-height: 1.45;
  text-align: left;
  transform: translate(-50%,5px);
  opacity: 0;
  pointer-events: none;
  transition: .15s ease;
}
.npu-dashboard-theme .info-button:hover::after,
.npu-dashboard-theme .info-button:focus-visible::after { opacity: 1; transform: translate(-50%,0); }
.npu-dashboard-theme .quantization-block { margin: 32px -36px -32px; padding: 28px 36px 0; border: 0; background: #f7f8f9; border-radius: 0 0 10px 10px; }
.npu-dashboard-theme .section-copy { display: grid; grid-template-columns: 180px minmax(0,1fr); column-gap: 22px; margin-bottom: 20px; }
.npu-dashboard-theme .section-copy .eyebrow { margin-top: 7px; }
.npu-dashboard-theme .section-copy h3 { margin: 0 0 4px; color: #202a35; font-size: 18px; }
.npu-dashboard-theme .section-copy p { grid-column: 2; margin: 0; color: #6f7b87; font-size: 13px; }
.npu-dashboard-theme .quant-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0 202px; }
.npu-dashboard-theme .quant-note p { margin: 0; color: #5f6b77; font-size: 12.5px; }
.npu-dashboard-theme .wizard-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 28px; padding: 20px 0 22px; }
.npu-dashboard-theme .wizard-actions .text-button:first-child { margin-right: auto; }
.npu-dashboard-theme .quantization-block > .wizard-actions { margin-right: 0; margin-left: 0; }
.npu-dashboard-theme .review-layout,
.npu-dashboard-theme .package-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 18px; max-width: 1040px; margin: 0 auto; }
.npu-dashboard-theme .review-layout .wizard-surface,
.npu-dashboard-theme .package-layout .wizard-surface { width: 100%; margin: 0; }
.npu-dashboard-theme .review-summary,
.npu-dashboard-theme .conversion-summary,
.npu-dashboard-theme .package-meta { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; margin: 0 0 24px; border-radius: 8px; background: #e3e7eb; }
.npu-dashboard-theme .review-summary > div,
.npu-dashboard-theme .conversion-summary > div,
.npu-dashboard-theme .package-meta > div { display: grid; gap: 5px; padding: 14px; background: #f2f4f6; }
.npu-dashboard-theme .review-summary span,
.npu-dashboard-theme .conversion-summary span,
.npu-dashboard-theme .package-meta span { color: #7a8591; font-size: 11px; }
.npu-dashboard-theme .review-summary b,
.npu-dashboard-theme .conversion-summary b,
.npu-dashboard-theme .package-meta b { overflow: hidden; color: #293440; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.npu-dashboard-theme .validation-list { display: grid; gap: 7px; }
.npu-dashboard-theme .validation-item { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 7px; background: #f5f7f8; }
.npu-dashboard-theme .validation-item > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dceee1; color: #287442; font-size: 12px; font-weight: 800; }
.npu-dashboard-theme .validation-item.fail > span { background: #f6dedd; color: #a43d38; }
.npu-dashboard-theme .validation-item b { color: #2d3844; font-size: 13px; }
.npu-dashboard-theme .validation-item p { margin: 2px 0 0; color: #75808c; font-size: 11.5px; }
.npu-dashboard-theme .validation-item em { color: #37734a; font-size: 11px; font-style: normal; font-weight: 650; }
.npu-dashboard-theme .validation-item.fail em { color: #a43d38; }
.npu-dashboard-theme .review-aside { padding: 28px 25px; border-radius: 10px; background: #171e26; color: #fff; }
.npu-dashboard-theme .review-aside .eyebrow { color: #aab3bd; }
.npu-dashboard-theme .review-aside h3 { margin: 10px 0; font-size: 19px; }
.npu-dashboard-theme .review-aside p { margin: 0 0 28px; color: #c2c9d0; font-size: 12.5px; line-height: 1.65; }
.npu-dashboard-theme .review-aside > div { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid #343c45; }
.npu-dashboard-theme .review-aside > div span { color: #969fa8; font-size: 11px; }
.npu-dashboard-theme .review-aside > div b { font-size: 13px; }
.npu-dashboard-theme .conversion-header > div:last-child { display: flex; align-items: center; gap: 8px; }
.npu-dashboard-theme .conversion-surface { max-width: none; margin-bottom: 18px; }
.npu-dashboard-theme .conversion-surface .stepper { margin: 5px 0 16px; }
.npu-dashboard-theme .conversion-surface .prog { display: block; height: 5px; margin-bottom: 22px; background: #e6e9ec; }
.npu-dashboard-theme .conversion-summary { margin-bottom: 0; }
.npu-dashboard-theme .operations-grid { grid-template-columns: minmax(270px,.7fr) minmax(0,1.3fr); gap: 18px; }
.npu-dashboard-theme .operations-grid .wizard-surface { max-width: none; margin: 0; padding: 24px; }
.npu-dashboard-theme .package-check { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: #dceee1; color: #287442; font-size: 20px; font-weight: 800; }
.npu-dashboard-theme .package-meta { margin: 28px 0 6px; }
.npu-dashboard-theme .artifact-summary h3 { margin: 7px 0 17px; color: #27323e; font-size: 19px; }
.npu-dashboard-theme .artifact-summary .artifact-list > div { padding: 11px 0; }

@media (max-width: 980px) {
  .npu-dashboard-theme .flow-rail { grid-template-columns: repeat(4,1fr); gap: 5px; }
  .npu-dashboard-theme .flow-rail > i { display: none; }
  .npu-dashboard-theme .review-layout,
  .npu-dashboard-theme .package-layout,
  .npu-dashboard-theme .operations-grid { grid-template-columns: 1fr; }
  .npu-dashboard-theme .review-aside { display: none; }
}
@media (max-width: 700px) {
  .npu-dashboard-theme .wizard-surface { padding: 24px 20px; }
  .npu-dashboard-theme .flow-rail button { grid-template-columns: 28px 1fr; }
  .npu-dashboard-theme .flow-rail button span { width: 28px; height: 28px; }
  .npu-dashboard-theme .flow-rail button small { display: none; }
  .npu-dashboard-theme .flow-field,
  .npu-dashboard-theme .section-copy { grid-template-columns: 1fr; gap: 6px; }
  .npu-dashboard-theme .flow-field > label { margin-top: 0; }
  .npu-dashboard-theme .section-copy p { grid-column: 1; }
  .npu-dashboard-theme .paired-controls,
  .npu-dashboard-theme .review-summary,
  .npu-dashboard-theme .conversion-summary,
  .npu-dashboard-theme .package-meta { grid-template-columns: 1fr 1fr; }
  .npu-dashboard-theme .quantization-block { margin: 28px -20px -24px; padding: 24px 20px 0; }
  .npu-dashboard-theme .quant-note { margin-left: 0; }
  .npu-dashboard-theme .wizard-title,
  .npu-dashboard-theme .conversion-header { flex-direction: column; }
  .npu-dashboard-theme .conversion-header > div:last-child { flex-wrap: wrap; }
}

/* Standalone application mockup */
body.npu-dashboard-theme {
  --ink: var(--npu-black);
  --paper: var(--npu-surface);
  --surface: var(--npu-surface);
  --surface-2: var(--npu-surface-soft);
  --surface-3: #fbfbfb;
  --rule: var(--npu-line);
  --rule-2: var(--npu-line-soft);
  --text: var(--npu-ink);
  --muted: var(--npu-muted);
  --faint: var(--npu-faint);
  --w16-bg: #ededed;
  --w16-fg: #111111;
  --w8-bg: #d9d9d9;
  --w8-fg: #111111;
  --w4-bg: #bdbdbd;
  --w4-fg: #050505;
  --fp-bg: #111111;
  --fp-fg: #ffffff;
  background: #fff;
  color: var(--npu-ink);
  font-family: var(--npu-font);
  font-size: 17px;
  line-height: 1.55;
}

.npu-dashboard-theme .win { background: #fff; }
.npu-dashboard-theme .titlebar {
  height: 42px;
  padding-inline: 16px;
  background: #f7f7f7;
  border-color: #dedede;
}
.npu-dashboard-theme .titlebar__t,
.npu-dashboard-theme .kbd { font-size: 12px; }
.npu-dashboard-theme .dots i,
.npu-dashboard-theme .dots i:hover { background: #bdbdbd; }
.npu-dashboard-theme .body { grid-template-columns: 252px minmax(0, 1fr); }
.npu-dashboard-theme .side {
  padding: 24px 16px 18px;
  background: #fbfbfb;
  border-color: #dedede;
}
.npu-dashboard-theme .brand { padding: 2px 8px 24px; }
.npu-dashboard-theme .brand b { font-size: 21px; letter-spacing: -.025em; }
.npu-dashboard-theme .brand span { font-size: 11px; letter-spacing: .1em; }
.npu-dashboard-theme .sect { margin-top: 22px; font-size: 12px; letter-spacing: .09em; }
.npu-dashboard-theme .tgl { padding: 8px 11px; font-size: 13.5px; }
.npu-dashboard-theme .nav button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 16px;
}
.npu-dashboard-theme .nav button[aria-current='true'] {
  background: #050505;
  border-color: #050505;
  color: #fff;
}
.npu-dashboard-theme .nav button[aria-current='true'] svg { opacity: 1; }
.npu-dashboard-theme .nav b { font-size: 11px; }
.npu-dashboard-theme .stat { font-size: 13px; color: #111; }
.npu-dashboard-theme .stat i { background: #111; }
.npu-dashboard-theme .gpu { font-size: 12px; color: #777; }
.npu-dashboard-theme .main { padding: 34px 38px 54px; background: #fff; }
.npu-dashboard-theme .head { margin-bottom: 30px; }
.npu-dashboard-theme .head h1 { font-size: 38px; letter-spacing: -.045em; }
.npu-dashboard-theme .head p { margin-top: 7px; font-size: 16px; }
.npu-dashboard-theme .btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 15px;
}
.npu-dashboard-theme .btn--stop,
.npu-dashboard-theme .btn--stop:hover { border-color: #111; background: #111; color: #fff; }
.npu-dashboard-theme .tabs { gap: 30px; margin-bottom: 26px; }
.npu-dashboard-theme .tabs button { padding-bottom: 12px; font-size: 15.5px; }
.npu-dashboard-theme .grid { gap: 14px; }
.npu-dashboard-theme .mb { margin-bottom: 14px; }
.npu-dashboard-theme .card,
.npu-dashboard-theme .mcard {
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
}
.npu-dashboard-theme .card:not([data-m]),
.npu-dashboard-theme .mcard,
.npu-dashboard-theme .card.soft { background: transparent; }
.npu-dashboard-theme .k { margin-bottom: 10px; font-size: 12px; color: #6b6b6b; }
.npu-dashboard-theme .v { font-size: 31px; }
.npu-dashboard-theme .v small { font-size: 16px; }
.npu-dashboard-theme .s { font-size: 13.5px; }
.npu-dashboard-theme .ch { margin-bottom: 20px; }
.npu-dashboard-theme .ch strong { font-size: 17px; }
.npu-dashboard-theme .ch em { font-size: 12.5px; }
.npu-dashboard-theme .tag { padding: 4px 8px; border-radius: 1px; font-size: 12px; }
.npu-dashboard-theme .tag.fp { background: #111; color: #fff; }
.npu-dashboard-theme .f { margin-bottom: 17px; }
.npu-dashboard-theme .f label { margin-bottom: 4px; font-size: 12px; color: #666; }
.npu-dashboard-theme .f input,
.npu-dashboard-theme .f select {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  background-color: transparent;
  font-size: 15px;
}
.npu-dashboard-theme .f input.bad { border-color: #111; background: #f5f5f5; }
.npu-dashboard-theme .sw { padding-block: 12px; }
.npu-dashboard-theme .sw span { font-size: 15px; }
.npu-dashboard-theme .sw span em { font-size: 12px; }
.npu-dashboard-theme .chip { padding: 5px 9px; border-radius: 1px; font-size: 12px; }
.npu-dashboard-theme .chip.err { background: #111; border-color: #111; color: #fff; }
.npu-dashboard-theme .chip.err i { background: #fff; }
.npu-dashboard-theme .term,
.npu-dashboard-theme .yaml {
  border: 1px solid #2f2f2f;
  border-radius: 2px;
  background: #111;
  color: #d7d7d7;
  font-size: 13.5px;
  line-height: 1.8;
}
.npu-dashboard-theme .term .g,
.npu-dashboard-theme .term .ok,
.npu-dashboard-theme .term .wr,
.npu-dashboard-theme .term .er,
.npu-dashboard-theme .term .empty,
.npu-dashboard-theme .yaml .c,
.npu-dashboard-theme .yaml .v,
.npu-dashboard-theme .yaml .n,
.npu-dashboard-theme .yaml .b { color: #a7a7a7; }
.npu-dashboard-theme table.t { font-size: 15px; }
.npu-dashboard-theme table.t th { padding-bottom: 12px; font-size: 11.5px; color: #777; }
.npu-dashboard-theme table.t td { padding-block: 12px; }
.npu-dashboard-theme table.t td.m { font-size: 13.5px; }
.npu-dashboard-theme table.t tr.click:hover td,
.npu-dashboard-theme .ritem:hover { background: #f5f5f5; }
.npu-dashboard-theme .strip div[data-bw='16'] { background: #e8e8e8; }
.npu-dashboard-theme .strip div[data-bw='8'] { background: #a8a8a8; }
.npu-dashboard-theme .strip div[data-bw='4'] { background: #111; }
.npu-dashboard-theme .legend,
.npu-dashboard-theme .readout { font-size: 12.5px; }
.npu-dashboard-theme .mcard strong { font-size: 16px; }
.npu-dashboard-theme .mcard p { font-size: 13.5px; }
.npu-dashboard-theme .search input { font-size: 15px; }
.npu-dashboard-theme .filters button { padding: 8px 14px; font-size: 14px; }
.npu-dashboard-theme .ritem { padding: 13px 14px; }
.npu-dashboard-theme .ritem b { font-size: 15px; }
.npu-dashboard-theme .ritem em,
.npu-dashboard-theme .vrow { font-size: 13.5px; }
.npu-dashboard-theme .vrow span.m { font-size: 13px; }

/* Export is one continuous NPU work surface, divided by rules instead of cards. */
.npu-dashboard-theme [data-pane='export'] #methodCards {
  gap: 0;
  margin-bottom: 34px;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}
.npu-dashboard-theme [data-pane='export'] #methodCards > .method-card {
  min-height: 174px;
  padding: 24px 22px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-radius: 0;
  background: #fff;
  color: #111;
}
.npu-dashboard-theme [data-pane='export'] #methodCards > .method-card:last-child { border-right: 0; }
.npu-dashboard-theme [data-pane='export'] #methodCards > .method-card.is-active {
  background: #050505;
  color: #fff;
}
.npu-dashboard-theme .method-card .method-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.npu-dashboard-theme .method-card .method-desc {
  min-height: 43px;
  margin: 7px 0 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.npu-dashboard-theme .method-card.is-active .k,
.npu-dashboard-theme .method-card.is-active .method-desc { color: #aaa; }
.npu-dashboard-theme [data-pane='export'] > .grid.g3 {
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}
.npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card {
  min-width: 0;
  padding: 26px 28px 30px;
  border: 0;
  border-right: 1px solid var(--rule);
}
.npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card:first-child { padding-left: 0; }
.npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card:last-child {
  padding-right: 0;
  border-right: 0;
}
.npu-dashboard-theme [data-pane='export'] .v { font-size: 22px !important; }
.npu-dashboard-theme svg[role='img'] text {
  font-family: var(--npu-font) !important;
  font-size: 8px !important;
  fill: #777 !important;
}

/* Landing page and its embedded product surface */
body.npu-platform-site {
  --w16-bg: #ededed;
  --w16-fg: #111;
  --w8-bg: #d8d8d8;
  --w8-fg: #111;
  --w4-bg: #b8b8b8;
  --w4-fg: #050505;
  --fp-bg: #111;
  --fp-fg: #fff;
}
.npu-platform-site .app { border-color: #111; box-shadow: var(--npu-shadow); }
.npu-platform-site .app__body { background: #fff; }
.npu-platform-site .app .side { background: #fafafa; }
.npu-platform-site .app__dots i { background: #bdbdbd; }
.npu-platform-site .app .side__status { color: #111; }
.npu-platform-site .app .side__status i { background: #111; }
.npu-platform-site .app .console .ok,
.npu-platform-site .app .console .k { color: #aaa; }
.npu-platform-site .code .c,
.npu-platform-site .code .v,
.npu-platform-site .code .n,
.npu-platform-site .code .s { color: #aaa; }
.npu-platform-site .app .mini--warn { border-color: #111; background: #111; color: #fff; }
.npu-platform-site .app .side__nav button { font-size: .75rem; }
.npu-platform-site .app .side__label { font-size: .625rem; }
.npu-platform-site .app .card__s,
.npu-platform-site .app .chip,
.npu-platform-site .app table { font-size: .6875rem; }
.npu-platform-site .app svg[role='img'] text { font-size: 7.5px !important; fill: #777 !important; }

/* Main index product preview: light editorial stage, white NPU application */
body.npu-platform-page .launchHero {
  background: radial-gradient(circle at 50% 68%, #eef1f4 0, #fff 62%);
  color: #050505;
}
body.npu-platform-page {
  --font: 'Pretendard', Arial, sans-serif;
  font-family: var(--font);
}
.npu-platform-page .launchIntro h1 { color: #050505; }
.npu-platform-page .launchIntro p { color: #606a74; }
.npu-platform-page .launchActions button { border: 0; background: #111820; color: #fff; }
.npu-platform-page .launchActions button:hover { background: #2c333c; }
.npu-platform-page .launchActions button:active { background: #0a0f14; }
.npu-platform-page .launchSoon { border: 0; background: #edeff2; color: #6b7480; }
.npu-platform-page .launchSoon:before { background: #a5adb8; }
.npu-platform-page .deviceScreen { border-color: #111820; box-shadow: 0 28px 72px rgba(15, 23, 32, .18); }
.npu-platform-page .sideScreen { filter: saturate(.75); opacity: .68; }
.npu-platform-page .launchHero .mainScreen { border-width: 7px; border-color: #111820; }
.npu-platform-page .productApp { background: #fff; color: #111; }
.npu-platform-page .productSide { background: #fafafa; }
.npu-platform-page .productBrand b { font-size: 14px; }
.npu-platform-page .productBrand small { font-size: 7px; }
.npu-platform-page .navLabel { font-size: 8px; }
.npu-platform-page .targetOption { font-size: 9px; }
.npu-platform-page .appNav button { min-height: 31px; font-size: 11px; }
.npu-platform-page .sideStatus { font-size: 9px; }
.npu-platform-page .sideStatus b { color: #111; }
.npu-platform-page .sideStatus small { font-size: 8px; }
.npu-platform-page .productHead h2 { font-size: 23px; }
.npu-platform-page .productHead p { font-size: 11px; }
.npu-platform-page .productActions button,
.npu-platform-page .bottomAction { font-size: 10px; }
.npu-platform-page .methodCard small,
.npu-platform-page .panelTitle span,
.npu-platform-page .panelTitle em,
.npu-platform-page .configFields label,
.npu-platform-page .resourceStat span,
.npu-platform-page .hardwareMeta { font-size: 8px; }
.npu-platform-page .methodCard strong { font-size: 13px; }
.npu-platform-page .methodCard span { font-size: 9px; }
.npu-platform-page .panelTitle strong { font-size: 12px; }
.npu-platform-page .configFields input,
.npu-platform-page .runState,
.npu-platform-page .conversionActions button { font-size: 9px; }
.npu-platform-page .resourceLegend { font-size: 8px; }
.npu-platform-page .resourceStat b { font-size: 17px; }
.npu-platform-page .pipelineStep { font-size: 7px; }
.npu-platform-page .pipelineStep::before { font-size: 7px; }
.npu-platform-page .logConsole { font-size: 8.5px; }
.npu-platform-page .launchMetrics {
  background: rgba(255, 255, 255, .94);
  border-color: #d6d6d6;
  color: #050505;
}

@media (max-width: 900px) {
  body.npu-dashboard-theme { overflow-x: hidden; }
  .npu-dashboard-theme .body { grid-template-columns: 1fr; }
  .npu-dashboard-theme .side { max-width: 100vw; }
  .npu-dashboard-theme .nav { min-width: max-content; }
  .npu-dashboard-theme .main { padding: 28px 20px 42px; }
  .npu-dashboard-theme .head h1 { font-size: 32px; }
  .npu-dashboard-theme .head .r {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
  }
  .npu-dashboard-theme .head .r .btn {
    min-width: 0;
    justify-content: center;
    white-space: normal;
  }
  .npu-dashboard-theme [data-pane='export'] #methodCards {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }
  .npu-dashboard-theme [data-pane='export'] #methodCards > .method-card {
    flex: 0 0 238px;
    min-height: 166px;
    scroll-snap-align: start;
  }
  .npu-dashboard-theme [data-pane='export'] > .grid.g3 {
    grid-template-columns: 1fr;
  }
  .npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card,
  .npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card:first-child,
  .npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card:last-child {
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .npu-dashboard-theme [data-pane='export'] > .grid.g3 > .card:last-child { border-bottom: 0; }
}

/* Workflow redesign v3 */
@font-face {
  font-family: 'Pretendard';
  src: url('./opt.studio mockup/assets/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('./opt.studio mockup/assets/fonts/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('./opt.studio mockup/assets/fonts/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('./opt.studio mockup/assets/fonts/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body.npu-dashboard-theme {
  --npu-font: 'Pretendard', Arial, sans-serif;
  --sans: var(--npu-font);
  --mono: var(--npu-font);
  --ink: #111827;
  --text: #111827;
  --muted: #5f6b7a;
  --faint: #7d8896;
  --paper: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #f8fafc;
  --rule: #dce1e7;
  --rule-2: #e8ebef;
  --success: #138a47;
  --success-bg: #eaf7ef;
  --info: #1f63d3;
  --info-bg: #eaf1ff;
  --warning: #a75b05;
  --warning-bg: #fff4dc;
  --danger: #c33d42;
  --danger-bg: #fdecee;
  background: var(--paper);
  color: var(--text);
  font-family: var(--npu-font);
  font-size: 16px;
  letter-spacing: -.01em;
}
.npu-dashboard-theme button,
.npu-dashboard-theme input,
.npu-dashboard-theme select,
.npu-dashboard-theme textarea { font-family: var(--npu-font); }
.npu-dashboard-theme .titlebar {
  height: 42px;
  background: #fff;
  border-color: var(--rule);
}
.npu-dashboard-theme .titlebar__t,
.npu-dashboard-theme .kbd {
  color: #6b7280;
  font-size: 12px;
  text-transform: none;
  letter-spacing: .02em;
}
.npu-dashboard-theme .body { grid-template-columns: 252px minmax(0, 1fr); }
.npu-dashboard-theme .side {
  padding: 22px 16px 18px;
  border: 0;
  background: #111820;
  color: #f8fafc;
}
.npu-dashboard-theme .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 7px 24px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.npu-dashboard-theme .brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: invert(1);
}
.npu-dashboard-theme .brand b { color: #fff; font-size: 20px; font-weight: 700; }
.npu-dashboard-theme .brand span { color: #8fa0b0; font-size: 11px; letter-spacing: .05em; }
.npu-dashboard-theme .sect,
.npu-dashboard-theme .k,
.npu-dashboard-theme .f label,
.npu-dashboard-theme table.t th {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.npu-dashboard-theme .sect {
  margin: 22px 7px 8px;
  color: #91a0af;
  font-size: 13px;
  font-weight: 500;
}
.npu-dashboard-theme .targets { gap: 7px; }
.npu-dashboard-theme .tgl {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  color: #dce4eb;
  font-size: 14px;
}
.npu-dashboard-theme .tgl:hover { background: rgba(255,255,255,.08); }
.npu-dashboard-theme .tgl[aria-pressed='true'] {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.1);
  color: #fff;
}
.npu-dashboard-theme .tgl i { background: #718096; }
.npu-dashboard-theme .tgl[aria-pressed='true'] i { background: #4f86e8; box-shadow: 0 0 0 3px rgba(79,134,232,.18); }
.npu-dashboard-theme .nav { gap: 3px; }
.npu-dashboard-theme .nav button {
  min-height: 43px;
  padding: 10px 11px;
  border: 0;
  border-radius: 7px;
  color: #dce4eb;
  font-size: 15px;
  font-weight: 500;
}
.npu-dashboard-theme .nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.npu-dashboard-theme .nav button[aria-current='true'] {
  background: #252f3a;
  color: #fff;
}
.npu-dashboard-theme .nav button svg { opacity: .78; }
.npu-dashboard-theme .nav button b {
  margin-left: auto;
  border: 0;
  background: rgba(255,255,255,.1);
  color: #bec8d2;
  font-size: 11px;
}
.npu-dashboard-theme .nav button b.tbd {
  padding: 2px 7px;
  border-radius: 5px;
  color: #c8d1da;
}
.npu-dashboard-theme .sidefoot { border-color: rgba(255,255,255,.1); }
.npu-dashboard-theme .stat { color: #dce4eb; font-size: 13px; }
.npu-dashboard-theme .stat i { background: #28a45c; }
.npu-dashboard-theme .gpu { color: #8fa0b0; font-size: 12px; line-height: 1.65; }
.npu-dashboard-theme .main {
  padding: 32px 34px 60px;
  background: var(--paper);
}
.npu-dashboard-theme .head { margin-bottom: 24px; }
.npu-dashboard-theme .head h1 { color: #0f1720; font-size: 36px; font-weight: 700; letter-spacing: -.04em; }
.npu-dashboard-theme .head p { margin-top: 5px; color: var(--muted); font-size: 16px; }
.npu-dashboard-theme .btn {
  min-height: 42px;
  padding: 9px 15px;
  border-color: #cfd5dc;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
}
.npu-dashboard-theme .btn:hover { border-color: #9ca6b3; background: #f8fafc; }
.npu-dashboard-theme .btn--dark,
.npu-dashboard-theme .btn--dark:hover,
.npu-dashboard-theme .btn--stop,
.npu-dashboard-theme .btn--stop:hover { border-color: #111820; background: #111820; color: #fff; }

.npu-dashboard-theme .surface,
.npu-dashboard-theme .card,
.npu-dashboard-theme .mcard {
  border: 1px solid var(--rule);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,32,.025);
}
.npu-dashboard-theme .card,
.npu-dashboard-theme .mcard { padding: 20px; }
.npu-dashboard-theme .card.soft { background: #fff; }
.npu-dashboard-theme .panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.npu-dashboard-theme .panel-heading.compact { align-items: center; margin-bottom: 16px; }
.npu-dashboard-theme .panel-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.npu-dashboard-theme .panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.npu-dashboard-theme .status-chip,
.npu-dashboard-theme .tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  padding: 3px 8px;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none !important;
  white-space: nowrap;
}
.npu-dashboard-theme .status-ready,
.npu-dashboard-theme .status-success,
.npu-dashboard-theme .tag.w8 { background: var(--success-bg); color: var(--success); }
.npu-dashboard-theme .status-info,
.npu-dashboard-theme .tag.w16 { background: var(--info-bg); color: var(--info); }
.npu-dashboard-theme .status-warning,
.npu-dashboard-theme .tag.w4 { background: var(--warning-bg); color: var(--warning); }
.npu-dashboard-theme .status-danger,
.npu-dashboard-theme .tag.fp { background: var(--danger-bg); color: var(--danger); }
.npu-dashboard-theme .status-neutral,
.npu-dashboard-theme .tag:not(.w8):not(.w16):not(.w4):not(.fp) { background: #eef1f4; color: #5e6977; }

.npu-dashboard-theme .export-setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
  margin-bottom: 14px;
}
.npu-dashboard-theme .setup-surface,
.npu-dashboard-theme .quant-surface,
.npu-dashboard-theme .conversion-surface,
.npu-dashboard-theme .operations-grid > .surface { padding: 22px; }
.npu-dashboard-theme .setup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 14px;
}
.npu-dashboard-theme .setup-fields > .method-picker,
.npu-dashboard-theme .setup-fields > .f:nth-child(4),
.npu-dashboard-theme .setup-fields > .f2 { grid-column: 1 / -1; }
.npu-dashboard-theme .f { position: relative; margin-bottom: 15px; }
.npu-dashboard-theme .f label,
.npu-dashboard-theme .bit-control label {
  display: block;
  margin-bottom: 6px;
  color: #364152;
  font-size: 13px;
  font-weight: 600;
}
.npu-dashboard-theme .f input,
.npu-dashboard-theme .f select,
.npu-dashboard-theme .bit-control select,
.npu-dashboard-theme .select-trigger {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cfd5dc;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
}
.npu-dashboard-theme .f input:focus,
.npu-dashboard-theme .f select:focus,
.npu-dashboard-theme .bit-control select:focus,
.npu-dashboard-theme .select-trigger:focus { border-color: #4e7fd2; outline: 3px solid rgba(78,127,210,.12); }
.npu-dashboard-theme .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.npu-dashboard-theme .f2 .f { margin-bottom: 0; }
.npu-dashboard-theme .select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}
.npu-dashboard-theme .select-trigger span { display: grid; gap: 2px; }
.npu-dashboard-theme .select-trigger b { font-size: 14px; }
.npu-dashboard-theme .select-trigger small { color: var(--muted); font-size: 12px; }
.npu-dashboard-theme .select-trigger svg { width: 17px; flex: none; }
.npu-dashboard-theme .field-help { margin: 7px 2px 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.npu-dashboard-theme .method-menu {
  position: absolute;
  z-index: 30;
  top: 72px;
  right: 0;
  left: 0;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #cfd5dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,32,.15);
}
.npu-dashboard-theme .method-option {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 3px 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.npu-dashboard-theme .method-option:hover,
.npu-dashboard-theme .method-option[aria-selected='true'] { background: #f2f5f8; }
.npu-dashboard-theme .method-option strong { color: #18212b; font-size: 14px; }
.npu-dashboard-theme .method-option span { grid-column: 1; color: var(--muted); font-size: 12px; line-height: 1.4; }
.npu-dashboard-theme .method-option em { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #657181; font-size: 11px; font-style: normal; }
.npu-dashboard-theme .runtime-card {
  margin-top: 7px;
  padding: 15px;
  border-radius: 8px;
  background: #f5f7fa;
}
.npu-dashboard-theme .runtime-title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.npu-dashboard-theme .runtime-title strong { font-size: 14px; }
.npu-dashboard-theme .runtime-title span { color: var(--info); font-size: 13px; font-weight: 600; }
.npu-dashboard-theme .runtime-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.npu-dashboard-theme .runtime-grid div { min-width: 0; }
.npu-dashboard-theme .runtime-grid span { display: block; color: #75808e; font-size: 11.5px; }
.npu-dashboard-theme .runtime-grid b { display: block; overflow: hidden; margin-top: 2px; color: #263140; font-size: 12.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.npu-dashboard-theme .runtime-card > p { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #dfe4ea; color: var(--info); font-size: 12px; }

.npu-dashboard-theme .bit-setting {
  display: grid;
  grid-template-columns: 155px minmax(0,1fr);
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--rule-2);
}
.npu-dashboard-theme .bit-setting:first-of-type { border-top: 0; padding-top: 2px; }
.npu-dashboard-theme .bit-setting strong { color: #273241; font-size: 14px; }
.npu-dashboard-theme .bit-setting p { margin: 4px 0 9px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.npu-dashboard-theme .impact-list { overflow: hidden; margin-top: 8px; border: 1px solid var(--rule); border-radius: 8px; }
.npu-dashboard-theme .impact-list > div {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 9px 11px;
  border-top: 1px solid var(--rule-2);
}
.npu-dashboard-theme .impact-list > div:first-child { border-top: 0; }
.npu-dashboard-theme .impact-list span { font-size: 13px; font-weight: 600; }
.npu-dashboard-theme .impact-list p { margin: 0; color: var(--muted); font-size: 12px; }
.npu-dashboard-theme .conversion-surface { margin-bottom: 14px; }
.npu-dashboard-theme .stepper { display: flex; align-items: flex-start; overflow-x: auto; padding: 4px 0 1px; }
.npu-dashboard-theme .step {
  position: relative;
  flex: 1 0 100px;
  min-width: 0;
  text-align: center;
}
.npu-dashboard-theme .step:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 15px;
  left: calc(50% + 15px);
  width: calc(100% - 30px);
  height: 2px;
  background: #d7dde4;
}
.npu-dashboard-theme .step.done:not(:last-child)::after { background: var(--success); }
.npu-dashboard-theme .step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 7px;
  border: 1px solid #cbd2da;
  border-radius: 50%;
  background: #fff;
  color: #667281;
  font-size: 12px;
  font-weight: 700;
}
.npu-dashboard-theme .step.done .step-marker { border-color: var(--success); background: var(--success); color: #fff; }
.npu-dashboard-theme .step.now .step-marker { border-color: var(--info); background: var(--info); color: #fff; }
.npu-dashboard-theme .step strong { display: block; color: #263140; font-size: 12px; font-weight: 600; }
.npu-dashboard-theme .step small { display: block; margin-top: 2px; color: #8993a0; font-size: 11px; }
.npu-dashboard-theme .step.done small { color: var(--success); }
.npu-dashboard-theme .step.now small { color: var(--info); }

.npu-dashboard-theme .operations-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr) minmax(0,1.15fr);
  gap: 14px;
}
.npu-dashboard-theme .operations-grid > .surface { min-width: 0; }
.npu-dashboard-theme .resource-surface > svg { width: 100%; height: 86px; }
.npu-dashboard-theme .resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 13px; margin-top: 15px; }
.npu-dashboard-theme .resource-grid span { display: block; color: #657181; font-size: 11.5px; }
.npu-dashboard-theme .resource-grid b { display: block; margin-top: 3px; color: #1e2936; font-size: 17px; }
.npu-dashboard-theme .resource-grid small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.npu-dashboard-theme #mVram small { display: inline; margin: 0; font-size: 12px; }
.npu-dashboard-theme .resource-grid .bar { margin-top: 6px; }
.npu-dashboard-theme .bar { height: 5px; border-radius: 5px; background: #e5e9ee; }
.npu-dashboard-theme .bar i { border-radius: inherit; background: var(--success); }
.npu-dashboard-theme .text-button { padding: 4px 0; border: 0; background: transparent; color: var(--info); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.npu-dashboard-theme .term,
.npu-dashboard-theme .yaml {
  border: 0;
  border-radius: 7px;
  background: #111820;
  color: #d8e0e8;
  font-family: var(--npu-font);
  font-size: 12px;
  line-height: 1.65;
}
.npu-dashboard-theme .log-surface .term { height: 226px; }
.npu-dashboard-theme .artifact-list { border-top: 1px solid var(--rule); }
.npu-dashboard-theme .artifact-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; border-bottom: 1px solid var(--rule-2); }
.npu-dashboard-theme .artifact-list span { overflow: hidden; color: #303b49; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.npu-dashboard-theme .tbd-surface { display: grid; justify-items: start; max-width: 760px; padding: 34px; }
.npu-dashboard-theme .tbd-surface h2 { margin: 16px 0 8px; font-size: 24px; }
.npu-dashboard-theme .tbd-surface p { max-width: 610px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.npu-dashboard-theme .tbd-roadmap { display: flex; align-items: center; width: 100%; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
.npu-dashboard-theme .tbd-roadmap span { color: #657181; font-size: 13px; font-weight: 600; }
.npu-dashboard-theme .tbd-roadmap i { flex: 1; height: 1px; margin: 0 14px; background: #d7dde4; }

.npu-dashboard-theme .ch { margin-bottom: 18px; }
.npu-dashboard-theme .ch strong { font-size: 18px; }
.npu-dashboard-theme .ch em { font-size: 12.5px; }
.npu-dashboard-theme .k { color: #647080; font-size: 13px; font-weight: 600; }
.npu-dashboard-theme .s { color: var(--muted); font-size: 13px; }
.npu-dashboard-theme table.t { font-size: 14px; }
.npu-dashboard-theme table.t th { color: #657181; font-size: 12px; font-weight: 600; }
.npu-dashboard-theme table.t td.m { color: #455160; font-size: 13.5px; }
.npu-dashboard-theme .grid { gap: 14px; }
.npu-dashboard-theme .g12 { grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); }
.npu-dashboard-theme .rlist { padding: 8px !important; }
.npu-dashboard-theme .ritem { min-height: 66px; padding: 11px 12px; border-radius: 7px; }
.npu-dashboard-theme .ritem b { color: #202b38; font-size: 14px; font-weight: 600; }
.npu-dashboard-theme .ritem em { margin-top: 3px; color: #687483; font-size: 12.5px; }
.npu-dashboard-theme .ritem[aria-current='true'] { background: #eef3f9; }
.npu-dashboard-theme #yName { font-family: var(--npu-font); font-size: 15px !important; font-weight: 600; }
.npu-dashboard-theme [data-pane='recipes'] .card.pad0 > div:first-child .k { font-size: 14px; }
.npu-dashboard-theme [data-pane='recipes'] .yaml { font-size: 13px; }
.npu-dashboard-theme .yaml .k,
.npu-dashboard-theme .yaml .v,
.npu-dashboard-theme .yaml .n,
.npu-dashboard-theme .yaml .b {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
}
.npu-dashboard-theme .model-library { overflow: hidden; padding: 0; }
.npu-dashboard-theme .model-row {
  display: grid;
  grid-template-columns: minmax(210px,1.4fr) minmax(180px,.8fr) minmax(140px,.65fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 78px;
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid var(--rule-2);
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.npu-dashboard-theme .model-row:first-child { border-top: 0; }
.npu-dashboard-theme .model-row:hover { background: #f8fafc; }
.npu-dashboard-theme .model-row strong { display: block; color: #1d2733; font-size: 15px; font-weight: 600; }
.npu-dashboard-theme .model-row small { display: block; margin-top: 3px; color: #74808e; font-size: 12.5px; }
.npu-dashboard-theme .model-compression span { display: flex; justify-content: space-between; color: #687483; font-size: 12px; }
.npu-dashboard-theme .model-compression i { font-style: normal; }
.npu-dashboard-theme .model-compression .bar { margin-top: 8px; }
.npu-dashboard-theme .model-methods { color: #4e5a68; font-size: 13px; }
.npu-dashboard-theme .model-tags { display: flex; justify-content: flex-end; gap: 6px; }
.npu-dashboard-theme .filters { margin-bottom: 14px; }
.npu-dashboard-theme .filters button { min-height: 36px; border-radius: 6px; font-size: 13px; }
.npu-dashboard-theme .search input { font-size: 14px; }
.npu-dashboard-theme svg[role='img'] text { font-family: var(--npu-font) !important; font-size: 8px !important; }

@media (min-width: 901px) {
  .npu-dashboard-theme .setup-fields { display: block; }
  .npu-dashboard-theme .setup-fields > .f {
    display: grid;
    grid-template-columns: 128px minmax(0,1fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 10px;
  }
  .npu-dashboard-theme .setup-fields > .f > label { margin: 11px 0 0; }
  .npu-dashboard-theme .setup-fields > .method-picker > .field-help { grid-column: 2; margin-top: -2px; }
  .npu-dashboard-theme .setup-fields > .method-picker .method-menu { top: 48px; left: 140px; }
  .npu-dashboard-theme .setup-fields > .f2 { margin-left: 140px; }
}

@media (max-width: 1120px) {
  .npu-dashboard-theme .export-setup-grid,
  .npu-dashboard-theme .operations-grid { grid-template-columns: 1fr; }
  .npu-dashboard-theme .runtime-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .npu-dashboard-theme .log-surface .term { height: 210px; }
  .npu-dashboard-theme .model-row { grid-template-columns: minmax(200px,1.2fr) minmax(160px,.8fr) auto; }
  .npu-dashboard-theme .model-methods { display: none; }
}

@media (max-width: 900px) {
  .npu-dashboard-theme .body { grid-template-columns: 1fr; }
  .npu-dashboard-theme .side { max-width: 100vw; padding: 15px 16px 12px; }
  .npu-dashboard-theme .brand,
  .npu-dashboard-theme .targets,
  .npu-dashboard-theme .side .sect,
  .npu-dashboard-theme .sidefoot { display: none; }
  .npu-dashboard-theme .nav { display: flex; overflow-x: auto; min-width: 0; }
  .npu-dashboard-theme .nav + .nav { margin-top: 5px; }
  .npu-dashboard-theme .nav button { flex: 0 0 auto; }
  .npu-dashboard-theme .main { padding: 26px 18px 42px; }
  .npu-dashboard-theme .head { align-items: flex-start; }
  .npu-dashboard-theme .head h1 { font-size: 32px; }
  .npu-dashboard-theme .head .r { width: 100%; }
  .npu-dashboard-theme .setup-fields { grid-template-columns: 1fr; }
  .npu-dashboard-theme .setup-fields > .f { display: block; }
  .npu-dashboard-theme .setup-fields > .f > label { margin: 0 0 6px; }
  .npu-dashboard-theme .setup-fields > .method-picker .method-menu { top: 72px; left: 0; }
  .npu-dashboard-theme .setup-fields > .method-picker,
  .npu-dashboard-theme .setup-fields > .f:nth-child(4),
  .npu-dashboard-theme .setup-fields > .f2 { grid-column: auto; }
  .npu-dashboard-theme .runtime-grid { grid-template-columns: 1fr 1fr; }
  .npu-dashboard-theme .bit-setting { grid-template-columns: 1fr; }
  .npu-dashboard-theme .impact-list > div { grid-template-columns: 1fr auto; }
  .npu-dashboard-theme .impact-list p { grid-column: 1 / -1; grid-row: 2; }
  .npu-dashboard-theme .step { flex-basis: 108px; }
  .npu-dashboard-theme .g12 { grid-template-columns: 1fr; }
  .npu-dashboard-theme .model-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px 14px; }
  .npu-dashboard-theme .model-compression { grid-column: 1 / -1; }
  .npu-dashboard-theme .model-tags { grid-column: 2; grid-row: 1; }
  .npu-dashboard-theme .tbd-roadmap { align-items: flex-start; flex-direction: column; gap: 12px; }
  .npu-dashboard-theme .tbd-roadmap i { width: 1px; height: 20px; margin: 0 0 0 8px; flex: none; }
}

/* v4 cascade guards */
.npu-dashboard-theme .brand { display: block; gap: 0; padding: 3px 8px 27px; }
.npu-dashboard-theme .brand > div { display: grid; gap: 2px; }
.npu-dashboard-theme .brand b { color: #fff; font-size: 18px; letter-spacing: -.35px; }
.npu-dashboard-theme .brand span { color: #8fa0b0; font-size: 11px; letter-spacing: .04em; }
.npu-dashboard-theme .brand span,
.npu-dashboard-theme .eyebrow { text-transform: none; letter-spacing: .02em; }
.npu-dashboard-theme .flow-rail button.done span::after { font-size: 13px; }
.npu-dashboard-theme .model-menu,
.npu-dashboard-theme .method-menu { top: calc(100% + 7px); right: 0; left: 0; width: auto; max-height: 340px; padding: 7px; border: 0; border-radius: 9px; box-shadow: 0 16px 40px rgba(18,27,37,.18); }
.npu-dashboard-theme .method-option { grid-template-columns: minmax(88px,.4fr) minmax(0,1fr) auto; gap: 12px; padding: 11px 12px; border: 0; border-radius: 7px; }
.npu-dashboard-theme .method-option strong { grid-column: 1; grid-row: 1; font-size: 13.5px; }
.npu-dashboard-theme .method-option span { grid-column: 2; grid-row: 1; color: #687483; font-size: 12px; }
.npu-dashboard-theme .method-option em { grid-column: 3; grid-row: 1; }
.npu-dashboard-theme .conversion-surface { max-width: none; margin-bottom: 18px; padding: 32px 36px; }
.npu-dashboard-theme .operations-grid { grid-template-columns: minmax(270px,.7fr) minmax(0,1.3fr); gap: 18px; }
.npu-dashboard-theme .flow-field input.bad { box-shadow: 0 0 0 2px #d86a65; }
@media (max-width: 980px) { .npu-dashboard-theme .operations-grid { grid-template-columns: 1fr; } }
