@media (min-width: 901px) {
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    align-items: start;
    gap: 14px 18px;
    width: min(1120px, calc(100vw - 48px));
    max-width: 1120px;
    max-height: 92dvh;
    overflow: auto;
    padding: 24px;
    border: 1px solid #c9e5eb;
    border-radius: 10px;
    background: #fff;
    color: #172633;
    color-scheme: light;
    box-shadow: 0 22px 70px #17263338;
    font-size: 13px;
    line-height: 1.5;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open]::backdrop {
    background: #17263370;
    backdrop-filter: blur(2px);
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > header,
  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > .fh-service-note,
  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > [data-status],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] > [data-service-identity],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > [data-status] {
    grid-column: 1 / -1;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c9e5eb;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > header h2 {
    min-width: 0;
    margin: 0;
    color: #172633;
    font-size: 20px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > header h2 {
    flex: 1;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > header button {
    flex: 0 0 auto;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > .fh-service-note {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #b9e3ec;
    border-left: 3px solid #087f9c;
    border-radius: 6px;
    background: #f1fafc;
    color: #3f626d;
    font-size: 13px;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] > [data-service-identity] {
    margin: 0;
    color: #075f7c;
    font-size: 12px;
    font-weight: 700;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > [data-status],
  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs)[open] [data-page-status],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] .fh-service-status {
    min-width: 0;
    margin: 0;
    color: #536572;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs)[open] > [data-status]:empty {
    margin-block: -14px;
    padding: 0;
    border: 0;
    line-height: 0;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] > section,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > .fh-service-form {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #c9e5eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px #1726330d;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] > section,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > .fh-service-history,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > .fh-service-form,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > section[aria-label="Preview source and revisions"],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > section[aria-label="Preview limitations"],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > section[aria-label="Projected service rules"] {
    grid-column: 1 / -1;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] > section,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > .fh-service-history,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > section[aria-label="Preview source and revisions"],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > section[aria-label="Preview limitations"] {
    min-width: 0;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > .fh-service-history {
    padding: 12px 14px;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] > .fh-service-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 11px 12px;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-form > h3,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-cost-lines,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-field:has([name="invoice_reference"]),
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-document-choice,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-field:has([name="reason"]),
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-form > .fh-service-note,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-form > [data-total],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-form > [type="submit"] {
    grid-column: 1 / -1;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-cost-lines {
    display: grid;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 11px;
    border: 1px solid #d5e8ec;
    border-radius: 6px;
    background: #f7fbfc;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] [data-lines] {
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-cost-line {
    display: grid;
    grid-template-columns: minmax(110px, .8fr) minmax(220px, 2fr) minmax(150px, 1.1fr) auto;
    align-items: end;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #dce8eb;
    border-radius: 6px;
    background: #fff;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-cost-line > label,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-field {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: #536572;
    font-size: 12px;
    font-weight: 600;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    background: #fff;
    color: #172633;
    font: inherit;
    font-size: 13px;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] textarea {
    min-height: 76px;
    resize: vertical;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-form > .fh-service-note {
    padding: 10px 12px;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    background: #f7f9fb;
    color: #536572;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] [data-total] {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #c9e5eb;
    border-radius: 6px;
    background: #f1fafc;
    color: #172633;
    font-weight: 700;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] > section > h3,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] :is(.fh-service-history, .fh-service-form) > h3,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] > section > h3 {
    margin: 0 0 10px;
    color: #172633;
    font-size: 15px;
    line-height: 1.4;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] [data-links],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] [data-library],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] [data-items],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] [data-rules] {
    display: grid;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] [data-items] > li,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] .fh-service-document-item,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] .fh-service-rule-preview-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid #d5e8ec;
    border-radius: 6px;
    background: #f7fbfc;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] :is([data-items], [data-links], [data-rules]) :is(p, h4) {
    margin: 7px 0 0;
    color: #536572;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] .fh-service-document-choice,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-document-choice label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    margin-top: 8px;
    padding: 9px;
    border: 1px solid #dce8eb;
    border-radius: 5px;
    background: #fff;
    color: #334a57;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] .fh-service-document-choice > input[type="radio"][name="document_id"],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] .fh-service-document-choice label > input[type="radio"][name="cost_document_link"] {
    box-sizing: border-box;
    flex: 0 0 16px;
    width: 16px !important;
    min-width: 16px;
    max-width: 16px;
    height: 16px !important;
    min-height: 16px;
    max-height: 16px;
    margin: 2px 0 0;
    padding: 0;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] .fh-service-document-choice > input[type="radio"][name="document_id"] + span {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] [data-file-filter],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] [data-source-warning],
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] :is([data-source], [data-revisions], [data-evaluated], [data-limitations]) {
    min-width: 0;
    margin: 8px 0;
    color: #536572;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] [data-limitations] {
    padding-left: 20px;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] :is(.fh-service-rule-baseline, .fh-service-rule-preview-incomplete) {
    margin-top: 9px;
    padding: 10px;
    border: 1px solid #dce8eb;
    border-radius: 5px;
    background: #fff;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] button {
    min-height: 34px;
    margin: 6px 6px 0 0;
    padding: 7px 10px;
    border: 1px solid #b9dce4;
    border-radius: 6px;
    background: #fff;
    color: #075f7c;
    font: inherit;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] button:hover:not(:disabled) {
    border-color: #087f9c;
    background: #f0f9fb;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] :is(button, input, textarea, select):focus-visible {
    outline: 2px solid #087f9c;
    outline-offset: 2px;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] button:disabled {
    border-color: #dce3eb;
    background: #f2f5f7;
    color: #718191;
    cursor: not-allowed;
    opacity: 1;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] button[data-submit]:not(:disabled),
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] :is(button[data-attach], button[data-upload]):not(:disabled),
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] button[data-action="apply"]:not(:disabled) {
    border-color: #087f9c !important;
    background: #087f9c !important;
    color: #fff !important;
    font-weight: 700 !important;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] button[data-submit]:hover:not(:disabled),
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] :is(button[data-attach], button[data-upload]):hover:not(:disabled),
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] button[data-action="apply"]:hover:not(:disabled) {
    border-color: #066b84 !important;
    background: #066b84 !important;
  }

  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-costs[open] button[data-submit]:disabled,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-documents[open] :is(button[data-attach], button[data-upload]):disabled,
  body.fh-console-nav.fh-clarity dialog.fh-vehicle-service-rule-preview[open] button[data-action="apply"]:disabled {
    border-color: #dce3eb !important;
    background: #f2f5f7 !important;
    color: #718191 !important;
    font-weight: 600 !important;
    cursor: not-allowed;
    opacity: 1;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] :is([data-status], [data-page-status], .fh-service-status, [data-source-warning])[data-error="true"] {
    padding: 9px 11px;
    border: 1px solid #f2c4c7;
    border-left: 3px solid #b42332;
    border-radius: 6px;
    background: #fff1f1;
    color: #8f1d2c;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs)[open] [data-page-status]:not(:empty) {
    margin-top: 10px;
    padding: 9px 11px;
    border: 1px solid #c9e5eb;
    border-radius: 6px;
    background: #f7fbfc;
  }

  body.fh-console-nav.fh-clarity :is(dialog.fh-vehicle-service-documents, dialog.fh-vehicle-service-costs, dialog.fh-vehicle-service-rule-preview)[open] [hidden] {
    display: none !important;
  }
}
