/* Ohmix answers: readable structure, restrained colour, unchanged evidence.
   Component colours inherit the application's measured light/dark tokens.
   Teal highlights the next action, never diagnosis certainty or repair approval. */
.ohmix-answer,.answer-presentation{
  --answer-ink:var(--ink,#0E1922);
  --answer-muted:var(--ink-dim,#475A6A);
  --answer-link:var(--accent-press,var(--accent,#075A50));
  --answer-surface:var(--surface,#FFFFFF);
  --answer-soft:var(--bg-2,#F6F8FA);
  --answer-line:var(--line,rgba(16,40,55,.12));
  color:var(--answer-ink);
  font:400 1rem/1.7 var(--font-sans,system-ui,sans-serif);
  max-width:82ch;
  min-width:0;
  margin:1.35rem 0;
  overflow-wrap:anywhere;
}
/* The dealer view has ID-scoped base typography; keep this component above it. */
.rsec>summary,.case-vehicle-details>summary,.report-history>summary,.decision-record-details>summary{
  cursor:pointer;min-height:44px;display:list-item;padding:.7rem .9rem;font-weight:650;line-height:1.5;
}
.rsec>summary:focus-visible,.case-vehicle-details>summary:focus-visible,.report-history>summary:focus-visible,
.decision-record-details>summary:focus-visible,.ohmix-answer :is(button,a,summary,input,textarea):focus-visible{
  outline:3px solid var(--accent,#087f79);outline-offset:3px;
}
.decision-state{border:1px solid var(--line,#c7d6db);border-radius:10px;padding:.75rem;max-width:27ch}
.decision-state strong{font-size:.95rem}.decision-state p{font-size:.78rem;line-height:1.55;margin:.35rem 0 0}
.dacts button{min-height:44px}.report-history{margin:1rem 0}.case-vehicle-details{margin:.7rem 0}
@media(max-width:640px){.decision-state{max-width:none}.case-thread{grid-template-columns:1fr}}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(p,ul,ol,blockquote,dl){
  font-size:inherit;
  line-height:1.7;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) p{
  margin:.65rem 0;
  max-width:76ch;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(ul,ol){
  margin:.7rem 0;
  padding-inline-start:1.4rem;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) li{
  padding:.12rem 0;
  margin:.3rem 0;
  line-height:1.7;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) strong{
  font-weight:700;
  color:var(--answer-ink);
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(h3,h4,h5){
  color:var(--answer-ink);
  font-family:var(--font-sans,system-ui,sans-serif);
  font-weight:700;
  letter-spacing:-.015em;
  line-height:1.4;
  text-transform:none;
  text-wrap:balance;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) h3{
  font-size:1.08rem;
  margin:1.35rem 0 .55rem;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) h4{
  font-size:.98rem;
  margin:1rem 0 .4rem;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) h5{
  font-size:.92rem;
  margin:.85rem 0 .35rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-title,.ds-reply-heading){
  font-size:1.12rem;
  margin:0 0 .6rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-kicker,.answer-label){
  display:block;
  font:650 .76rem/1.45 var(--font-sans,system-ui,sans-serif);
  letter-spacing:.035em;
  color:var(--answer-muted);
  margin:0 0 .4rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-conclusion,.answer-intro){
  padding:.15rem 0 .8rem;
  margin-bottom:.65rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-conclusion,.answer-intro)>:first-child{
  margin-top:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-next,.answer-next){
  padding:1.1rem 1.25rem;
  margin:1rem 0 1.25rem;
  border:1px solid var(--answer-line);
  border-inline-start:4px solid var(--accent,#0A7568);
  border-radius:var(--r-2,12px);
  background:var(--answer-soft);
  background:color-mix(in srgb,var(--answer-surface) 96%,var(--accent,#0A7568));
  min-width:0;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(.ohmix-answer-next,.answer-next)>:is(h3,h4):first-child{
  color:var(--answer-link);
  margin-top:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-next,.answer-next)>:last-child{
  margin-bottom:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-evidence,.answer-evidence){
  margin:1.25rem 0;
  padding:.1rem 0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-evidence,.answer-evidence)>:first-child{
  margin-top:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-section-title,.answer-section-title){
  font-size:.98rem;
  font-weight:700;
  margin:0 0 .6rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-outcomes,.answer-branches,.ds-result-paths){
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
  margin:1rem 0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-outcomes,.answer-branches,.ds-result-paths)>:is(.ohmix-answer-section-title,.answer-section-title,h3,h4){
  grid-column:1/-1;
  margin:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-outcome,.answer-branch,.ds-result-paths>div){
  min-width:0;
  padding:.9rem 1rem;
  border:1px solid var(--answer-line);
  border-radius:var(--r-1,8px);
  background:var(--answer-soft);
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(.ohmix-answer-outcome,.answer-branch,.ds-result-paths>div)>:first-child{
  margin-top:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-outcome,.answer-branch,.ds-result-paths>div)>:last-child{
  margin-bottom:0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-details,.answer-details){
  display:block;
  border:1px solid var(--answer-line);
  border-radius:var(--r-2,12px);
  background:var(--answer-surface);
  padding:.7rem 1rem;
  margin:1rem 0;
  font-size:.92rem;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(.ohmix-answer-details,.answer-details)>summary{
  cursor:pointer;
  color:var(--answer-muted);
  font:650 .9rem/1.6 var(--font-sans,system-ui,sans-serif);
  min-height:1.6rem;
  padding:.1rem 0;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-details,.answer-details)>summary::marker{
  color:var(--answer-muted);
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-details,.answer-details)[open]>summary{
  border-bottom:1px solid var(--answer-line);
  margin-bottom:.7rem;
  padding-bottom:.6rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-prose,.ds-reply-block){
  min-width:0;
  max-width:76ch;
}
:is(.ohmix-answer,.answer-presentation) .ds-reply-block + .ds-reply-block{
  margin-top:1.3rem;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-citations,.ds-reply-citations){
  display:flex;
  flex-wrap:wrap;
  gap:.35rem .5rem;
  align-items:center;
  margin:.7rem 0 .2rem;
  font-size:.8rem;
  color:var(--answer-muted);
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(.ohmix-answer-citation,.ds-inline-citation){
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:32px;
  margin:0;
  padding:.25rem .55rem;
  border:1px solid var(--answer-line);
  border-radius:var(--r-1,8px);
  background:var(--answer-surface);
  color:var(--answer-link);
  font:600 .78rem/1.5 var(--font-sans,system-ui,sans-serif);
  text-align:start;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-citation,.ds-inline-citation):hover{
  border-color:var(--accent,#0A7568);
  text-decoration:underline;
  text-underline-offset:.18em;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) a{
  color:var(--answer-link);
  text-underline-offset:.18em;
}
:is(.ohmix-answer,.answer-presentation) :is(a,button,summary):focus-visible{
  outline:2px solid var(--accent,#0A7568);
  outline-offset:3px;
}
:is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-table-scroll,.ds-table-scroll){
  max-width:100%;
  overflow-x:auto;
  margin:.9rem 0;
  border:1px solid var(--answer-line);
  border-radius:var(--r-1,8px);
}
:is(.ohmix-answer,.answer-presentation) table{
  width:100%;
  border-collapse:collapse;
  font-size:.88rem;
  text-align:start;
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(th,td){
  padding:.65rem .8rem;
  border-bottom:1px solid var(--answer-line);
  vertical-align:top;
  line-height:1.6;
  overflow-wrap:anywhere;
}
:is(.ohmix-answer,.answer-presentation) th{
  background:var(--answer-soft);
  font-weight:650;
  color:var(--answer-muted);
}
:is(.ohmix-answer,.answer-presentation) tr:last-child td{border-bottom:0}
:is(.ohmix-answer,.answer-presentation) :is(code,pre){
  font-family:var(--font-mono,monospace);
  font-size:.86em;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
:is(.ohmix-answer,.answer-presentation) code{
  border-radius:4px;
  padding:.1rem .3rem;
  background:var(--answer-soft);
}
:is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) blockquote{
  border-inline-start:3px solid var(--answer-line);
  margin:.8rem 0;
  padding:.5rem .85rem;
  background:var(--answer-soft);
}
@media(max-width:650px){
  .ohmix-answer,.answer-presentation{font-size:.94rem;max-width:100%;margin:1.05rem 0}
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-outcomes,.answer-branches,.ds-result-paths){grid-template-columns:1fr}
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-next,.answer-next){padding:.9rem 1rem}
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-details,.answer-details){padding:.65rem .85rem}
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-title,.ds-reply-heading){font-size:1.04rem}
}
@media(prefers-reduced-motion:reduce){
  :is(.ohmix-answer,.answer-presentation) *{scroll-behavior:auto;transition:none}
}
@media print{
  .ohmix-answer,.answer-presentation{
    --answer-ink:#111111;--answer-muted:#333333;--answer-link:#111111;
    --answer-surface:#FFFFFF;--answer-soft:#FFFFFF;--answer-line:#B8B8B8;
    color:#111111;font-size:10.5pt;line-height:1.5;max-width:none;margin:10pt 0;
  }
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-next,.answer-next,.ohmix-answer-outcome,.answer-branch,.ds-result-paths>div){
    background:#FFFFFF;border-color:#B8B8B8;box-shadow:none;break-inside:avoid;
  }
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-next,.answer-next){border-inline-start-color:#555555}
  :is(.ohmix-answer,.answer-presentation) :is(h3,h4,h5,summary){break-after:avoid;color:#111111}
  :is(.ohmix-answer,.answer-presentation) details::details-content{content-visibility:visible;height:auto;display:block}
  :is(.ohmix-answer,.answer-presentation) details>:not(summary){display:block!important}
  :is(.ohmix-answer,.answer-presentation) details>summary{list-style:none}
  :is(.ohmix-answer,.answer-presentation) details>summary::marker{content:''}
  :is(.ohmix-answer,.answer-presentation) :is(.ohmix-answer-table-scroll,.ds-table-scroll){overflow:visible}
  :is(.ohmix-answer,.answer-presentation,#dealer-start-root .answer-presentation) :is(a,.ohmix-answer-citation,.ds-inline-citation){
    color:#111111;background:#FFFFFF;box-shadow:none;text-decoration:underline;
  }
}
/* Network controls retain usable targets and identifiers on narrow screens. */
.network-settings { margin-block: 1.5rem; overflow-wrap: anywhere; }
.network-settings summary { min-height: 44px; cursor: pointer; padding-block: .6rem; }
.network-settings :is(button,input,select) { min-height: 44px; max-width: 100%; }
.network-settings :is(button,input,select,summary):focus-visible { outline: 3px solid var(--accent, #247c71); outline-offset: 3px; }
.network-settings form { margin-block: 1rem; }
.network-settings label.check { display: flex; align-items: flex-start; gap: .65rem; }
.network-settings label.check input[type="checkbox"] { width: 24px; min-width: 24px; min-height: 24px; flex: none; margin: .2rem 0 0; }
