/* One additive Solvyn landing section. Every new selector is prefixed `svp-`. */
.svp-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 2%, rgba(36,88,211,.08), transparent 29%),
    #ede8df;
}
.svp-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(36,88,211,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .12;
}
.svp-wrap { position: relative; z-index: 1; }
.svp-heading { max-width: 940px; margin-bottom: 46px; }
.svp-heading h2 {
  max-width: none;
  width: 100%;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .svp-heading h2 {
    white-space: normal;
  }
}
.svp-lead { max-width: 900px; margin: 0; color: var(--ink-2); font-size: 20px; line-height: 1.58; }
.svp-disclosure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
}

.svp-disclosure > .svp-disclosure-item {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  min-height: 34px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 0 12px;

  border: 1px solid rgba(198,190,178,.92);
  border-radius: 999px;

  color: var(--ink-2);
  background: rgba(255,253,250,.68);

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.svp-disclosure > .svp-disclosure-primary {
  color: var(--blue-dark);
  border-color: rgba(36,88,211,.20);
  background: rgba(231,238,252,.72);
}

.svp-disclosure > .svp-disclosure-primary i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;

  display: block;

  border-radius: 50%;

  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(36,88,211,.08);
}

.svp-workspace {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198,190,178,.95);
  border-radius: 28px;
  background: rgba(255,253,250,.92);
  box-shadow: 0 34px 90px rgba(19,32,51,.13), inset 0 1px 0 rgba(255,255,255,.95);
}
.svp-spectrum {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 6px;
  background: linear-gradient(180deg,#2458d3,#735ce8,#00a58e,#c28723,#2458d3);
  background-size: 100% 230%;
  animation: svp-spectrum-drift 16s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes svp-spectrum-drift { 0%,100% { background-position: 50% 0; } 50% { background-position: 50% 100%; } }
.svp-filebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 25px 20px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.52);
}
.svp-file-identity { min-width: 0; display: flex; align-items: baseline; gap: 13px; }
.svp-file-kind { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.svp-file-identity strong { overflow: hidden; font-size: 18px; font-weight: 800; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.svp-file-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.svp-file-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(36,88,211,.13);
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--surface-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.svp-tabbar {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-bottom: 1px solid var(--line);
  background: #e8e4dc;
}
.svp-tabbar button {
  min-height: 62px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.svp-tabbar button:last-child { border-right: 0; }
.svp-tabbar button[aria-selected="true"] { color: var(--blue-dark); background: var(--surface); box-shadow: inset 0 3px 0 var(--blue); }
.svp-body { display: grid; grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr); min-height: 600px; }
.svp-summary { min-width: 0; padding: 40px 36px 38px 42px; border-right: 1px solid var(--line); background: linear-gradient(145deg,#fffdfa,#f8f6f0); }
.svp-summary-label { display: block; margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.svp-summary h3 { max-width: 560px; margin-bottom: 16px; font-size: clamp(28px,3vw,39px); line-height: 1.08; letter-spacing: -.04em; }
.svp-summary-copy { margin-bottom: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.58; }
.svp-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.svp-facts > div { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 17px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.svp-facts dt { color: var(--ink-3); font-size: 10px; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.svp-facts dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.48; }
.svp-fact-limit dd { color: var(--ink-2); }
.svp-panels { min-width: 0; background: #f5f7fb; }
.svp-panel { min-height: 100%; padding: 34px 34px 36px; }
.svp-panel[hidden] { display: none !important; }
.svp-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.svp-panel-head > div > span { display: block; margin-bottom: 7px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.svp-panel-head h3 { max-width: 610px; margin: 0; font-size: 25px; line-height: 1.16; letter-spacing: -.03em; }
.svp-panel-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid rgba(36,88,211,.14); border-radius: 999px; color: var(--blue-dark); background: rgba(231,238,252,.72); font-size: 9px; font-weight: 900; letter-spacing: .055em; white-space: nowrap; }
.svp-timeline { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.svp-timeline li { position: relative; display: grid; grid-template-columns: 39px minmax(0,1fr) auto; gap: 12px; align-items: center; min-height: 65px; padding: 10px 12px; border: 1px solid #d8dfec; border-radius: 13px; background: rgba(255,255,255,.84); }
.svp-timeline li::after { content: ""; position: absolute; left: 31px; top: 100%; width: 1px; height: 8px; background: rgba(36,88,211,.22); }
.svp-timeline li:last-child::after { display: none; }
.svp-timeline li.is-terminal { border-color: rgba(22,115,91,.24); background: rgba(228,242,236,.72); }
.svp-step { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(36,88,211,.21); border-radius: 50%; color: var(--blue); font-size: 9px; font-weight: 900; }
.svp-timeline strong { display: block; font-size: 13px; line-height: 1.28; }
.svp-timeline small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 11.5px; line-height: 1.36; }
.svp-claim { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 8px; border-radius: 999px; font-size: 8.5px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.svp-claim.observed { color: var(--green); border: 1px solid rgba(22,115,91,.17); background: rgba(228,242,236,.88); }
.svp-claim.derived { color: var(--blue-dark); border: 1px solid rgba(36,88,211,.16); background: rgba(231,238,252,.82); }
.svp-claim.unknown { color: var(--amber); border: 1px solid rgba(162,104,18,.17); background: rgba(245,234,213,.84); }
.svp-claim-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.svp-claim-grid article { min-width: 0; padding: 16px; border: 1px solid #d8dfec; border-radius: 14px; background: rgba(255,255,255,.86); }
.svp-claim-grid article > strong { display: block; margin: 13px 0 7px; font-size: 14px; }
.svp-claim-grid article > p { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.svp-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 14px; }
.svp-boundary > div { padding: 16px; border: 1px solid #d8dfec; border-radius: 14px; background: rgba(255,255,255,.73); }
.svp-boundary span { display: block; margin-bottom: 8px; color: var(--ink-3); font-size: 10px; font-weight: 900; letter-spacing: .065em; text-transform: uppercase; }
.svp-boundary p { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.55; }
.svp-vector-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.svp-vector-tabs button { min-height: 36px; padding: 0 12px; border: 1px solid #d8dfec; border-radius: 9px; color: var(--ink-2); background: rgba(255,255,255,.75); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.svp-vector-tabs button.is-active { color: #fff; border-color: var(--blue); background: var(--blue); }
.svp-verdict { padding: 16px 17px; border: 1px solid rgba(22,115,91,.22); border-left: 4px solid var(--green); border-radius: 13px; background: rgba(228,242,236,.70); }
.svp-verdict[data-svp-verdict-tone="fail"] { border-color: rgba(156,70,61,.22); border-left-color: var(--red); background: rgba(250,235,233,.78); }
.svp-verdict[data-svp-verdict-tone="neutral"] { border-color: rgba(162,104,18,.22); border-left-color: var(--amber); background: rgba(245,234,213,.74); }
.svp-verdict > span { display: block; margin-bottom: 5px; color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .065em; }
.svp-verdict[data-svp-verdict-tone="fail"] > span { color: var(--red); }
.svp-verdict[data-svp-verdict-tone="neutral"] > span { color: var(--amber); }
.svp-verdict strong { display: block; font-size: 15px; }
.svp-verdict p { margin: 6px 0 0; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.svp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.svp-checks > div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 11px; align-items: start; padding: 11px; border: 1px solid #d8dfec; border-radius: 12px; background: rgba(255,255,255,.78); }
.svp-check { min-height: 25px; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.svp-check.pass { color: var(--green); border: 1px solid rgba(22,115,91,.17); background: var(--green-soft); }
.svp-check.fail { color: var(--red); border: 1px solid rgba(156,70,61,.17); background: #faebe9; }
.svp-check.neutral { color: var(--amber); border: 1px solid rgba(162,104,18,.16); background: var(--amber-soft); }
.svp-checks p { margin: 0; }
.svp-checks strong { display: block; font-size: 12px; }
.svp-checks small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 10.5px; line-height: 1.38; }
.svp-verify-note { margin: 13px 0 0; color: var(--ink-3); font-size: 11.5px; line-height: 1.48; }
.svp-format-layout { display: grid; grid-template-columns: minmax(190px,.72fr) minmax(0,1.28fr); gap: 18px; }
.svp-format-object { display: grid; gap: 7px; align-content: start; padding: 17px; border: 1px solid #d8dfec; border-radius: 14px; background: var(--night); color: var(--night-muted); }
.svp-format-object > span { color: #8192af; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; }
.svp-format-object code { padding-left: 16px; color: #dce7f8; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 12px; }
.svp-format-copy > p { margin: 0 0 14px; color: var(--ink-2); font-size: 13px; line-height: 1.58; }
.svp-format-layers { display: grid; gap: 9px; }
.svp-format-layers > div { padding: 13px; border: 1px solid #d8dfec; border-radius: 12px; background: rgba(255,255,255,.76); }
.svp-format-layers strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 12px; }
.svp-format-layers span { display: block; color: var(--ink-3); font-size: 11px; line-height: 1.45; }
.svp-format-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.svp-format-actions .button { min-height: 40px; padding-inline: 14px; font-size: 12px; }
.svp-footer { padding: 19px 24px 22px 30px; border-top: 1px solid var(--line); background: #fbfaf7; }
.svp-current-trust { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.73); }
.svp-current-trust > span { min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 11px; border-right: 1px solid var(--line); color: var(--ink-2); font-size: 9.5px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.svp-current-trust > span:last-child { border-right: 0; }
.svp-current-trust i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; }
.svp-current-trust i.pass { background: var(--green); box-shadow: 0 0 0 4px rgba(22,115,91,.08); }
.svp-current-trust i.neutral { background: var(--amber); box-shadow: 0 0 0 4px rgba(162,104,18,.08); }
.svp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.svp-actions .button { min-height: 43px; padding-inline: 16px; font-size: 13px; }
.svp-live-link { display: inline-flex; align-items: center; gap: 7px; min-height: 43px; margin-left: auto; padding: 0 4px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.svp-live-link span { transition: transform .18s ease; }
.svp-live-link:hover span { transform: translateX(3px); }
.svp-live-region { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1040px) {
  .svp-body { grid-template-columns: 1fr; }
  .svp-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .svp-claim-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 780px) {
  .svp-heading { margin-bottom: 34px; }
  .svp-lead { font-size: 18px; }
  .svp-disclosure { align-items: flex-start; border-radius: 14px; line-height: 1.42; }
  .svp-filebar { flex-direction: column; align-items: flex-start; padding: 20px 20px 17px 24px; }
  .svp-file-identity { flex-direction: column; gap: 4px; }
  .svp-file-meta { justify-content: flex-start; }
  .svp-tabbar { display: flex; overflow-x: auto; scrollbar-width: none; }
  .svp-tabbar::-webkit-scrollbar { display: none; }
  .svp-tabbar button { min-width: 170px; border-bottom: 0; }
  .svp-summary { padding: 30px 24px 28px; }
  .svp-facts > div { grid-template-columns: 1fr; gap: 5px; }
  .svp-panel { padding: 27px 20px 29px 24px; }
  .svp-panel-head { flex-direction: column; }
  .svp-timeline li { grid-template-columns: 39px minmax(0,1fr); }
  .svp-timeline .svp-claim { grid-column: 2; width: max-content; }
  .svp-claim-grid, .svp-boundary, .svp-checks, .svp-format-layout { grid-template-columns: 1fr; }
  .svp-current-trust { grid-template-columns: 1fr; }
  .svp-current-trust > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .svp-current-trust > span:last-child { border-bottom: 0; }
  .svp-actions { align-items: stretch; }
  .svp-actions .button, .svp-live-link { width: 100%; justify-content: center; margin-left: 0; }
}
@media (max-width: 430px) {
  .svp-section { padding-top: 82px; padding-bottom: 82px; }
  .svp-workspace { border-radius: 22px; }
  .svp-file-meta span { font-size: 9px; }
  .svp-summary h3 { font-size: 31px; }
  .svp-vector-tabs { display: grid; grid-template-columns: 1fr; }
  .svp-vector-tabs button { width: 100%; }
  .svp-checks > div { grid-template-columns: 1fr; }
  .svp-check { width: max-content; }
  .svp-format-actions .button { width: 100%; }
  .svp-footer { padding-left: 24px; }
  .svp-digest-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .svp-spectrum { animation: none; background-position: 50% 50%; }
  .svp-tabbar button, .svp-live-link span { transition: none; }
}
@media (forced-colors: active) {
  .svp-spectrum { background: Highlight; }
}


/* Final reference Case tab wrapper.
   Desktop preserves the original four-column tabs. */
.svp-tabnav {
  position: relative;
  display: block;
}

.svp-tab-arrow {
  display: none;
}



/* ============================================================
   FINAL REFERENCE CASE MOBILE CONTRACT
   ============================================================ */

@media (max-width: 1040px) {

  .svp-body {
    grid-template-columns: 1fr;
  }

  .svp-summary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 124px;
  }

  .svp-panel {
    scroll-margin-top: 124px;
  }

  .svp-workspace[data-svp-active-tab]:not([data-svp-active-tab="record"])
    .svp-summary {
    display: none;
  }
}


/* ============================================================
   PHONE RAIL

   Mirrors the established solvyn.com selector behavior:

   - continuous horizontal card rail
   - active card selected with border/bottom accent
   - adjacent card partially visible
   - circular arrows float over outer edges
   - arrows never consume layout space
   - unavailable direction disappears
   ============================================================ */

@media (max-width: 780px) {

  .svp-tabnav {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    padding: 12px 0 !important;
    margin: 0 !important;

    overflow: hidden !important;

    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;

    background: rgba(235,230,220,.78) !important;
  }


  /* TRACK */

  .svp-tabbar {
    position: relative !important;

    display: flex !important;
    align-items: stretch !important;

    grid-template-columns: none !important;

    gap: 12px !important;

    width: 100% !important;

    padding: 0 58px !important;
    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: visible !important;

    scroll-behavior: smooth !important;
    scroll-padding-inline: 58px !important;
    scroll-snap-type: x mandatory;

    scrollbar-width: none !important;

    border: 0 !important;

    background: transparent !important;
  }

  .svp-tabbar::-webkit-scrollbar {
    display: none !important;
  }


  /* CARDS */

  .svp-tabbar > button {
    position: relative !important;

    flex: 0 0 calc(58% - 6px) !important;

    width: auto !important;
    min-width: 0 !important;

    min-height: 92px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 16px 18px !important;
    margin: 0 !important;

    border: 1px solid rgba(198,190,178,.92) !important;
    border-radius: 20px !important;

    color: var(--ink-2) !important;
    background: rgba(255,253,250,.56) !important;

    box-shadow: none !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    text-align: center !important;
    white-space: normal !important;

    scroll-snap-align: center;
  }

  .svp-tabbar > button[aria-selected="true"] {
    color: var(--blue-dark) !important;

    border-color: rgba(36,88,211,.34) !important;

    background: rgba(255,253,250,.98) !important;

    /*
     * ONE active treatment only:
     * selected border/card + blue bottom edge.
     */
    box-shadow:
      inset 0 -4px 0 var(--blue),
      0 8px 24px rgba(19,32,51,.055)
      !important;
  }

  .svp-tabbar > button[aria-selected="true"]::after {
    content: none !important;
    display: none !important;
  }


  /* FLOATING ARROWS */

  .svp-tab-arrow {
    position: absolute !important;

    top: 50% !important;

    z-index: 30 !important;

    width: 52px !important;
    height: 52px !important;

    min-width: 52px !important;
    min-height: 52px !important;

    max-width: 52px !important;
    max-height: 52px !important;

    display: grid !important;
    place-items: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(198,190,178,.98) !important;
    border-radius: 50% !important;

    color: transparent !important;

    background: rgba(255,253,250,.98) !important;

    box-shadow:
      0 8px 24px rgba(19,32,51,.10)
      !important;

    font-size: 0 !important;
    line-height: 0 !important;

    transform: translateY(-50%) !important;

    cursor: pointer !important;

    overflow: visible !important;

    -webkit-tap-highlight-color: transparent !important;
  }


  /*
   * Draw our own chevron.
   * No text glyph / Safari geometry differences.
   */
  .svp-tab-arrow::before {
    content: "" !important;

    display: block !important;

    width: 12px !important;
    height: 12px !important;

    border-top: 3px solid var(--ink) !important;
    border-right: 3px solid var(--ink) !important;
  }


  /* PREVIOUS */

  [data-svp-tab-prev] {
    left: 18px !important;
    right: auto !important;
    bottom: auto !important;
  }

  [data-svp-tab-prev]::before {
    transform: rotate(-135deg) !important;
    margin-left: 4px !important;
  }


  /* NEXT */

  [data-svp-tab-next] {
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
  }

  [data-svp-tab-next]::before {
    transform: rotate(45deg) !important;
    margin-right: 4px !important;
  }


  /* INTERACTION */

  .svp-tab-arrow:hover:not(:disabled) {
    border-color: rgba(36,88,211,.27) !important;
    background: #fffdfa !important;

    box-shadow:
      0 10px 28px rgba(19,32,51,.13)
      !important;
  }

  .svp-tab-arrow:active:not(:disabled) {
    transform:
      translateY(-50%)
      scale(.96)
      !important;
  }


  /*
   * Critical:
   * dead directions do not leave grey controls behind.
   */
  .svp-tab-arrow:disabled {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }


  /* MOBILE SECTION DETAILS */

  .svp-heading {
    margin-bottom: 34px;
  }

  .svp-lead {
    font-size: 18px;
  }

  .svp-disclosure {
    width: 100%;
  }

  .svp-filebar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 17px 24px;
  }

  .svp-file-identity {
    flex-direction: column;
    gap: 4px;
  }

  .svp-file-meta {
    justify-content: flex-start;
  }

  .svp-summary {
    padding: 30px 24px 28px;
  }

  .svp-facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .svp-panel {
    padding: 27px 20px 29px 24px;
  }

  .svp-panel-head {
    flex-direction: column;
  }

  .svp-timeline li {
    grid-template-columns: 39px minmax(0,1fr);
  }

  .svp-timeline .svp-claim {
    grid-column: 2;
    width: max-content;
  }

  .svp-claim-grid,
  .svp-boundary,
  .svp-checks,
  .svp-format-layout {
    grid-template-columns: 1fr;
  }

  .svp-current-trust {
    grid-template-columns: 1fr;
  }

  .svp-current-trust > span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .svp-current-trust > span:last-child {
    border-bottom: 0;
  }

  .svp-actions {
    align-items: stretch;
  }

  .svp-actions .button,
  .svp-live-link {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}


/* SMALL PHONE */

@media (max-width: 430px) {

  .svp-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .svp-workspace {
    border-radius: 22px;
  }

  .svp-summary h3 {
    font-size: 31px;
  }

  .svp-tabnav {
    padding: 10px 0 !important;
  }

  .svp-tabbar {
    gap: 10px !important;

    padding:
      0
      52px !important;

    scroll-padding-inline:
      52px !important;
  }

  .svp-tabbar > button {
    flex-basis:
      calc(62% - 5px)
      !important;

    min-height:
      84px !important;

    padding:
      14px
      15px !important;

    border-radius:
      18px !important;

    font-size:
      15px !important;
  }

  .svp-tab-arrow {
    width: 48px !important;
    height: 48px !important;

    min-width: 48px !important;
    min-height: 48px !important;

    max-width: 48px !important;
    max-height: 48px !important;
  }

  [data-svp-tab-prev] {
    left: 14px !important;
  }

  [data-svp-tab-next] {
    right: 14px !important;
  }

  .svp-vector-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .svp-vector-tabs button {
    width: 100%;
  }

  .svp-checks > div {
    grid-template-columns: 1fr;
  }

  .svp-check {
    width: max-content;
  }

  .svp-format-actions .button {
    width: 100%;
  }

  .svp-footer {
    padding-left: 24px;
  }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .svp-tabbar {
    scroll-behavior: auto !important;
  }

  .svp-tab-arrow,
  .svp-tabbar > button {
    transition: none !important;
  }
}


/* SVP FINAL COMPACT SIZE TUNING
   Size/spacing only. No interaction or structural behavior changes. */

@media (max-width: 780px) {

  .svp-tabnav {
    padding: 7px 0 !important;
  }

  .svp-tabbar {
    gap: 9px !important;
    padding-left: 42px !important;
    padding-right: 42px !important;
    scroll-padding-inline: 42px !important;
  }

  .svp-tabbar > button {
    flex-basis: calc(54% - 5px) !important;
    min-height: 68px !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
  }

  .svp-tabbar > button[aria-selected="true"] {
    box-shadow:
      inset 0 -3px 0 var(--blue),
      0 6px 18px rgba(19,32,51,.05)
      !important;
  }

  .svp-tab-arrow {
    width: 40px !important;
    height: 40px !important;

    min-width: 40px !important;
    min-height: 40px !important;

    max-width: 40px !important;
    max-height: 40px !important;
  }

  .svp-tab-arrow::before {
    width: 9px !important;
    height: 9px !important;
    border-top-width: 2.5px !important;
    border-right-width: 2.5px !important;
  }

  [data-svp-tab-prev] {
    left: 5px !important;
  }

  [data-svp-tab-next] {
    right: 5px !important;
  }
}

@media (max-width: 430px) {

  .svp-tabnav {
    padding: 6px 0 !important;
  }

  .svp-tabbar {
    gap: 8px !important;
    padding-left: 38px !important;
    padding-right: 38px !important;
    scroll-padding-inline: 38px !important;
  }

  .svp-tabbar > button {
    flex-basis: calc(58% - 4px) !important;
    min-height: 62px !important;
    padding: 8px 11px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
  }

  .svp-tab-arrow {
    width: 36px !important;
    height: 36px !important;

    min-width: 36px !important;
    min-height: 36px !important;

    max-width: 36px !important;
    max-height: 36px !important;
  }

  [data-svp-tab-prev] {
    left: 4px !important;
  }

  [data-svp-tab-next] {
    right: 4px !important;
  }
}

/* SVP FINAL CHEVRON CENTERING OVERRIDE */
@media (max-width: 780px) {
  .svp-tabnav .svp-tab-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }

  .svp-tabnav .svp-tab-arrow::before {
    display: block;
    line-height: 1 !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    transform: translateY(-1px);
  }

  .svp-tabnav .svp-tab-arrow[data-svp-tab-prev]::before {
    content: "‹";
  }

  .svp-tabnav .svp-tab-arrow[data-svp-tab-next]::before {
    content: "›";
  }
}

/* SVP NATIVE RAIL CONTROL HANDOFF — FINAL
   Do not redraw or resize these controls here.
   solvyn.com global .tab-rail-control is the source of truth. */

@media (max-width: 780px) {

  .svp-tabnav.tab-rail-shell {
    /*
     * EXACT generic site rail values.
     */
    --rail-control-size: 38px;
    --rail-edge: 10px;

    isolation: isolate;
  }

  /*
   * Explicitly neutralize every earlier svp-specific pseudo-chevron.
   * The actual canonical SVG inside .tab-rail-control is rendered instead.
   */
  .svp-tabnav [data-svp-tab-prev]::before,
  .svp-tabnav [data-svp-tab-next]::before {
    content: none !important;
    display: none !important;
    border: 0 !important;
  }

  /*
   * The global site's .tab-rail-control owns exact geometry.
   * These declarations only undo old experimental overrides that used
   * the data attributes themselves.
   */
  .svp-tabnav > .tab-rail-control[data-svp-tab-prev] {
    left: var(--rail-edge) !important;
    right: auto !important;
  }

  .svp-tabnav > .tab-rail-control[data-svp-tab-next] {
    right: var(--rail-edge) !important;
    left: auto !important;
  }

  /*
   * Native site SVG contract:
   * identical to every other discoverable tab rail.
   */
  .svp-tabnav > .tab-rail-control svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}

/* SVP FINAL VERTICAL RHYTHM + CONTROL ALIGNMENT
   Final optical-alignment pass only.
   No content, interaction, rail behavior or desktop structure changes. */


/* ============================================================
   CONTROL / PILL TEXT ALIGNMENT
   ============================================================ */

/*
 * Normalize the line box inside all small interface controls.
 * Flex centering + explicit line-height prevents text from appearing
 * visually high or low inside a pill/button.
 */
#reference-case .svp-disclosure-item,
#reference-case .svp-file-meta > span,
#reference-case .svp-panel-chip,
#reference-case .svp-claim,
#reference-case .svp-check {
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  line-height: 1 !important;

  vertical-align: middle !important;
}


/* Buttons with potentially longer / wrapping labels */
#reference-case .svp-tabbar > button,
#reference-case .svp-vector-tabs > button,
#reference-case .svp-actions .button,
#reference-case .svp-format-actions .button {
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1.18 !important;

  text-align: center !important;
}


/*
 * Trust/status rows are left-aligned intentionally,
 * but their text must remain optically centered vertically.
 */
#reference-case .svp-current-trust > span {
  display: flex !important;
  align-items: center !important;

  line-height: 1.2 !important;
}


/*
 * Keep status dots themselves centered against their labels.
 */
#reference-case .svp-current-trust > span > i,
#reference-case .svp-disclosure-primary > i {
  align-self: center !important;
}


/* ============================================================
   MOBILE FILE HEADER RHYTHM

   Tighten:
   .solv Case
   SVN-REF-FIN-0001
   Financial integrity

   without compressing the rest of the Case.
   ============================================================ */

@media (max-width: 780px) {

  #reference-case .svp-filebar {
    gap: 10px !important;

    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }

  #reference-case .svp-file-identity {
    gap: 3px !important;
  }

  #reference-case .svp-file-identity strong {
    margin: 0 !important;

    line-height: 1.08 !important;
  }

  #reference-case .svp-file-kind {
    margin: 0 !important;

    line-height: 1 !important;
  }

  #reference-case .svp-file-meta {
    gap: 6px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  #reference-case .svp-file-meta > span {
    min-height: 30px !important;

    padding-left: 10px !important;
    padding-right: 10px !important;
  }


  /* ----------------------------------------------------------
     TOP STATUS PILLS
     ---------------------------------------------------------- */

  #reference-case .svp-disclosure {
    align-items: center !important;

    gap: 7px !important;
  }

  #reference-case .svp-disclosure-item {
    min-height: 32px !important;

    padding-left: 11px !important;
    padding-right: 11px !important;
  }


  /* ----------------------------------------------------------
     RECORD / EVIDENCE / VERIFY / FORMAT CARDS
     ---------------------------------------------------------- */

  #reference-case .svp-tabbar > button {
    align-items: center !important;
    justify-content: center !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }


  /* ----------------------------------------------------------
     OBSERVED / DERIVED / UNKNOWN
     ---------------------------------------------------------- */

  #reference-case .svp-claim {
    min-height: 26px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }


  /* ----------------------------------------------------------
     VERIFY CHECK CHIPS
     ---------------------------------------------------------- */

  #reference-case .svp-check {
    min-height: 25px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }


  /* ----------------------------------------------------------
     FORMAT / DOWNLOAD / VECTOR BUTTONS
     ---------------------------------------------------------- */

  #reference-case .svp-vector-tabs > button,
  #reference-case .svp-format-actions .button,
  #reference-case .svp-actions .button {
    align-items: center !important;
    justify-content: center !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}


/* ============================================================
   SMALL PHONE
   ============================================================ */

@media (max-width: 430px) {

  #reference-case .svp-filebar {
    gap: 9px !important;

    padding-top: 17px !important;
    padding-bottom: 15px !important;
  }

  #reference-case .svp-file-meta > span {
    min-height: 29px !important;
  }

  #reference-case .svp-disclosure-item {
    min-height: 31px !important;
  }
}

/* SVP FINAL OPTICAL CENTERING PASS
   Corrects font optical centering without moving icons/dots themselves. */

/* ------------------------------------------------------------
   TRUST STRIP

   The font's visible glyph mass sits slightly above its line-box center.
   Move ONLY the label 1px downward relative to its status dot.
   ------------------------------------------------------------ */

#reference-case .svp-current-trust > span {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#reference-case .svp-current-trust > span > i {
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
}

#reference-case .svp-current-trust .svp-trust-label {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;

  /*
   * Optical correction for NanumSquareRound.
   * Intentionally text-only.
   */
  transform: translateY(1px) !important;
}


/* ------------------------------------------------------------
   STATUS / CLAIM PILLS

   Ensure icon and label geometry shares one center line.
   No additional vertical translation is needed here because these
   controls have their own compact line boxes.
   ------------------------------------------------------------ */

#reference-case .svp-disclosure-item,
#reference-case .svp-file-meta > span,
#reference-case .svp-claim,
#reference-case .svp-check,
#reference-case .svp-panel-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1 !important;
}

#reference-case .svp-disclosure-item > i,
#reference-case .svp-claim > i,
#reference-case .svp-check > i,
#reference-case .svp-panel-chip > i {
  flex: 0 0 auto !important;
  align-self: center !important;
}


/* ------------------------------------------------------------
   ACTION / TAB BUTTONS

   Keep text mathematically centered with equal usable vertical space.
   ------------------------------------------------------------ */

#reference-case .svp-tabbar > button,
#reference-case .svp-vector-tabs > button,
#reference-case .svp-actions .button,
#reference-case .svp-format-actions .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
}


/* ------------------------------------------------------------
   DOWNLOAD BUTTONS

   Prevent font baseline from making the label look high inside the
   large mobile buttons.
   ------------------------------------------------------------ */

@media (max-width: 780px) {

  #reference-case .svp-actions .button,
  #reference-case .svp-format-actions .button {
    line-height: 1 !important;
  }

  #reference-case .svp-current-trust .svp-trust-label {
    transform: translateY(1px) !important;
  }
}

/* SVP FINAL AUTHORITATIVE TIMELINE SPINE
   Single source of truth for the six-event sequence.

   Card horizontal inset: 12px
   Step grid column:       39px
   True step center-x:     31.5px
   Card-to-card gap:        7px
*/

#reference-case .svp-timeline {
  --svp-timeline-card-inset: 12px;
  --svp-timeline-step-column: 39px;
  --svp-timeline-gap: 7px;

  gap: var(--svp-timeline-gap) !important;
}


/* Keep every row on the same geometry. */
#reference-case .svp-timeline > li {
  position: relative !important;

  grid-template-columns:
    var(--svp-timeline-step-column)
    minmax(0, 1fr)
    auto !important;

  padding-left: var(--svp-timeline-card-inset) !important;
  padding-right: var(--svp-timeline-card-inset) !important;
}


/* Keep every number circle centered inside column one. */
#reference-case .svp-timeline .svp-step {
  justify-self: center !important;
  align-self: center !important;

  margin: 0 !important;

  position: relative !important;
  z-index: 2 !important;
}


/*
 * THE SPINE
 *
 * Exact x-axis:
 *
 * 12px + (39px / 2) = 31.5px
 *
 * It starts 1px BEFORE the lower card edge and extends
 * through the entire 7px gap + 2px total overlap.
 *
 * This prevents anti-aliased gaps between the line and card borders.
 */
#reference-case .svp-timeline > li::after {
  content: "" !important;

  position: absolute !important;

  left:
    calc(
      var(--svp-timeline-card-inset) +
      (var(--svp-timeline-step-column) / 2)
    )
    !important;

  top: calc(100% + 1px) !important;

  width: 1px !important;

  height: var(--svp-timeline-gap) !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: translateX(-50%) !important;

  background: rgba(36,88,211,.22) !important;

  z-index: 0 !important;

  pointer-events: none !important;
}


/* Sequence terminates cleanly at event 06. */
#reference-case .svp-timeline > li:last-child::after {
  display: none !important;
}


/*
 * Mobile keeps the EXACT SAME first-column geometry.
 *
 * The third claim column moves below the body on mobile,
 * but the numbered step column does not move.
 */
@media (max-width: 780px) {

  #reference-case .svp-timeline > li {
    grid-template-columns:
      var(--svp-timeline-step-column)
      minmax(0, 1fr)
      !important;
  }

  #reference-case .svp-timeline .svp-step {
    justify-self: center !important;
  }
}


/* SVP FINAL STEP NUMBER OPTICAL CENTERING
   Moves only the numeral glyphs, never the circles or timeline spine. */

#reference-case .svp-step .svp-step-label {
  display: block;
  line-height: 1;
  transform: translateY(1px);
}


/* ======================================================================
   SVP BROWSER-FIRST ARTIFACT EXPERIENCE
   Zero-install artifact understanding, progressive disclosure and sharing.
   ====================================================================== */

.svp-artifact-shelf {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(198,190,178,.88);
  border-radius: 18px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.78),rgba(244,247,255,.56));
}

.svp-artifact-shelf-head {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 16px;
}

.svp-artifact-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.svp-artifact-shelf-head strong {
  display: block;
  max-width: 650px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -.018em;
}

.svp-artifact-shelf-head p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}

.svp-artifact-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.svp-artifact-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #d8dfec;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.svp-artifact-card-primary {
  border-color: rgba(36,88,211,.23);
  background:
    linear-gradient(145deg,rgba(244,247,255,.97),rgba(255,255,255,.86));
}

.svp-artifact-card-top {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.svp-artifact-audience,
.svp-artifact-extension {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .045em;
}

.svp-artifact-audience {
  color: var(--blue-dark);
  border: 1px solid rgba(36,88,211,.13);
  background: var(--surface-blue);
  text-transform: uppercase;
}

.svp-artifact-extension {
  color: var(--ink-3);
  border: 1px solid rgba(198,190,178,.75);
  background: rgba(255,253,250,.74);
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.svp-artifact-card h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.svp-artifact-card > p {
  margin: 0 0 13px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.5;
}

.svp-artifact-card code {
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size: .92em;
}

.svp-artifact-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: auto;
}

.svp-artifact-card-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 11px;
}

.svp-artifact-text-link {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.svp-artifact-text-link:hover {
  color: var(--blue);
}

.svp-artifact-details {
  margin: -2px 0 13px;
}

.svp-artifact-details summary {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.svp-artifact-details p {
  margin: 7px 0 0;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.45;
}

.svp-artifact-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(216,210,200,.82);
}

.svp-artifact-guidance p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.5;
}

.svp-artifact-guidance strong {
  color: var(--ink-2);
}

.svp-artifact-guidance code {
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.svp-live-bridge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.svp-live-bridge span {
  transition: transform .18s ease;
}

.svp-live-bridge:hover span {
  transform: translateX(3px);
}

html.svp-dialog-open {
  overflow: hidden;
}

.svp-artifact-dialog {
  width: min(900px,calc(100% - 32px));
  max-width: 900px;
  max-height: min(88vh,860px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(198,190,178,.92);
  border-radius: 23px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 36px 110px rgba(19,32,51,.28);
}

.svp-artifact-dialog::backdrop {
  background: rgba(19,32,51,.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.svp-artifact-dialog-shell {
  max-height: min(88vh,860px);
  display: flex;
  flex-direction: column;
}

.svp-artifact-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 19px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 0,rgba(36,88,211,.08),transparent 42%),
    rgba(255,253,250,.98);
}

.svp-artifact-dialog-role {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.svp-artifact-dialog-head h3 {
  margin: 0 0 7px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.svp-artifact-dialog-head p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.svp-artifact-dialog-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  background: rgba(255,255,255,.8);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.svp-artifact-dialog-status {
  margin: 22px 26px;
  padding: 18px;
  border: 1px solid #d8dfec;
  border-radius: 13px;
  color: var(--ink-2);
  background: var(--surface-blue);
  font-size: 12px;
}

.svp-artifact-dialog-status.is-error {
  color: var(--red);
  border-color: rgba(156,70,61,.2);
  background: #faebe9;
}

.svp-artifact-dialog-content {
  min-height: 0;
  padding: 22px 26px;
  overflow-y: auto;
}

.svp-solv-readable {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr);
  gap: 14px;
  margin-bottom: 18px;
}

.svp-solv-readable-main,
.svp-solv-readable-grid {
  border: 1px solid #d8dfec;
  border-radius: 14px;
  background: rgba(244,247,255,.62);
}

.svp-solv-readable-main {
  padding: 17px;
}

.svp-solv-readable-main > span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.svp-solv-readable-main > strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.svp-solv-readable-main > p {
  margin: 9px 0 0;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.5;
}

.svp-solv-readable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  overflow: hidden;
}

.svp-solv-readable-grid > div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid #d8dfec;
  border-bottom: 1px solid #d8dfec;
}

.svp-solv-readable-grid > div:nth-child(2n) {
  border-right: 0;
}

.svp-solv-readable-grid > div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.svp-solv-readable-grid dt {
  margin-bottom: 4px;
  color: var(--ink-3);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.svp-solv-readable-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.svp-artifact-source-shell {
  overflow: hidden;
  border: 1px solid rgba(20,32,56,.16);
  border-radius: 14px;
  background: var(--night);
}

.svp-artifact-source-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: var(--night-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.svp-artifact-source-toolbar button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: var(--night-text);
  background: rgba(255,255,255,.06);
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.svp-artifact-source-shell pre {
  max-height: 380px;
  margin: 0;
  padding: 17px;
  overflow: auto;
  color: #e8edf7;
  background: transparent;
  font: 11px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space: pre;
  tab-size: 2;
}

.svp-artifact-source-shell code {
  font: inherit;
}

.svp-artifact-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 26px 20px;
  border-top: 1px solid var(--line);
  background: rgba(246,243,236,.74);
}

.svp-artifact-dialog-foot > p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.5;
}

.svp-artifact-dialog-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.svp-artifact-dialog-actions .button {
  min-height: 39px;
  padding: 0 13px;
  font-size: 11px;
}

@media (max-width: 1040px) {
  .svp-artifact-shelf-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .svp-artifact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svp-artifact-guidance {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .svp-solv-readable {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .svp-artifact-shelf {
    padding: 15px;
  }

  .svp-artifact-grid {
    grid-template-columns: 1fr;
  }

  .svp-artifact-card-actions .button {
    flex: 1 1 auto;
  }

  .svp-artifact-dialog {
    width: calc(100% - 18px);
    max-height: 92vh;
    border-radius: 18px;
  }

  .svp-artifact-dialog-shell {
    max-height: 92vh;
  }

  .svp-artifact-dialog-head,
  .svp-artifact-dialog-content,
  .svp-artifact-dialog-foot {
    padding-left: 17px;
    padding-right: 17px;
  }

  .svp-artifact-dialog-head {
    padding-top: 19px;
  }

  .svp-artifact-dialog-head h3 {
    font-size: 21px;
  }

  .svp-artifact-dialog-foot {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .svp-artifact-dialog-actions {
    width: 100%;
  }

  .svp-artifact-dialog-actions .button {
    flex: 1 1 0;
  }

  .svp-solv-readable-grid {
    grid-template-columns: 1fr;
  }

  .svp-solv-readable-grid > div,
  .svp-solv-readable-grid > div:nth-child(2n),
  .svp-solv-readable-grid > div:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid #d8dfec;
  }

  .svp-solv-readable-grid > div:last-child {
    border-bottom: 0;
  }

  .svp-artifact-source-shell pre {
    max-height: 310px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svp-live-bridge span {
    transition: none;
  }
}


/* ======================================================================
   SVP FINAL ARTIFACT MODAL STATE ISOLATION

   The artifact viewer reuses one dialog for the portable Case, schema and
   profile. Hidden content must never be re-exposed by authored display
   declarations.
   ====================================================================== */

#reference-case .svp-artifact-dialog [hidden] {
  display: none !important;
}
