/*
 * Omnizer on top of Sneat (core.css).
 * Colours: navy #0f1b2d and amber #f5a623 from omnizer.net; the primary blue is the navy family, light enough for buttons.
 */

:root,
[data-bs-theme=light] {
  --omz-navy: #0f1b2d;
  --omz-amber: #f5a623;
  --bs-primary: #1e5aa8;
  --bs-primary-rgb: 30, 90, 168;
  --bs-primary-bg-subtle: #dfe8f4;
  --bs-primary-border-subtle: #bccfe7;
  --bs-primary-text-emphasis: #12365f;
  --bs-link-color: #1e5aa8;
  --bs-link-color-rgb: 30, 90, 168;
  --bs-link-hover-color: #184a8b;
  --bs-link-hover-color-rgb: 24, 74, 139;
}

[data-bs-theme=dark] {
  --omz-navy: #dfe6f1;
  --bs-primary: #4f8fe0;
  --bs-primary-rgb: 79, 143, 224;
  --bs-primary-bg-subtle: #22324a;
  --bs-primary-border-subtle: #2f4d75;
  --bs-primary-text-emphasis: #a9c8f0;
  --bs-link-color: #4f8fe0;
  --bs-link-color-rgb: 79, 143, 224;
  --bs-link-hover-color: #7aaae8;
  --bs-link-hover-color-rgb: 122, 170, 232;
}

/* Brand: OMNI + ZER, as on omnizer.net */
.menu .app-brand.omnizer {
  height: 64px;
  margin-top: 16px; /* centred on the navbar beside it */
}

.app-brand-text.omnizer {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--omz-navy);
  text-transform: none;
}

.app-brand-text.omnizer .zer {
  color: var(--omz-amber);
}

/* With the menu closed (and not hovered) the word does not fit: show the mark, centred, instead */
.omz-brand-mark {
  display: none;
  line-height: 0;
}

@media (min-width: 1200px) {
  .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .omz-brand-mark {
    display: inline-flex;
  }

  .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .app-brand.omnizer {
    justify-content: center;
    padding-inline: 0;
  }

  .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .app-brand-text.omnizer {
    display: none;
  }
}

/* Fixed, detached navbar: keep the page below it (from Sneat's starter demo.css) */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}

.content-wrapper .navbar {
  z-index: auto;
}

/* An icon next to text is always centered on the text's line: badges, buttons and menu items */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dropdown-item {
  display: flex;
  align-items: center;
}

.badge > .icon-base,
.btn > .icon-base,
.dropdown-item > .icon-base {
  flex-shrink: 0;
}

/* Copyright at the foot of the left menu (there is no page footer, so long grids need no second scrollbar) */
.omz-menu-footer {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.layout-menu-collapsed:not(.layout-menu-hover, .layout-menu-offcanvas, .layout-menu-fixed-offcanvas) .omz-menu-footer {
  visibility: hidden;
}

/* The printable mailbox guide (/guides/mailbox, 34δ): on paper the links carry their addresses, a provider's steps
   stay together where they fit, and the card's frame goes. */
@media print {
    .omz-guide a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
    .omz-guide section { break-inside: avoid-page; }
    .card:has(.omz-guide) { border: 0; box-shadow: none; }
}

/* Long texts written in several languages (a Help panel, the Assistant, a guide, a [data-lt] block): ONE shows, the screens'
   language when the block has it, else English (help.js marks it .omz-lt-on); before the script runs, English. Never two side by side. */
.omz-help-text:not([lang="en"]):not(.omz-lt-on),
.omz-help-text.omz-lt-off {
  display: none !important;
}

/* A long text's language code in its corner (_LangSwitch): EN, ΕΛ, ES… — never a flag; small, so it never moves the title. */
.omz-lt-switch {
  min-width: 2.4rem;
  padding: 0.125rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.omz-lt-switch[hidden] { display: none !important; }

/* The other language on hover (lang.js): floats over the page (fixed), so nothing moves; under the word, or above it at the bottom. */
.omz-alt-tip {
  position: fixed;
  z-index: 2000;
  max-width: min(22rem, calc(100vw - 16px));
  padding: 0.25rem 0.55rem;
  border-radius: 0.375rem;
  background: #0f1b2d;
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 0.25rem 0.75rem rgba(15, 27, 45, 0.25);
}
.omz-alt-tip.show { opacity: 1; visibility: visible; }

/* The language picker (_LanguagePicker): the short code beside the globe, the list of languages; the compact one is a details. */
.omz-lang-code { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.omz-lang-menu .dropdown-item, .omz-lang-list .dropdown-item { display: flex; align-items: center; }
.omz-lang-menu .omz-lang-code, .omz-lang-list .omz-lang-code { min-width: 1.8rem; color: var(--bs-secondary-color); }
.omz-lang-details { position: relative; }
.omz-lang-details > summary { list-style: none; cursor: pointer; }
.omz-lang-details > summary::-webkit-details-marker { display: none; }
.omz-lang-details > .omz-lang-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.25rem);
  z-index: 1080;
  min-width: 12rem;
  padding: 0.5rem 0;
  border-radius: 0.375rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.25rem 1rem rgba(15, 27, 45, 0.18);
}
.omz-hover-switch:not(.active) { opacity: 0.55; }

/* Longer words (Polish, Lithuanian, Greek are up to half again as long as English): a menu item of the open menu wraps onto a
   second line instead of being cut with "…"; buttons and badges keep their words whole. */
html:not([lang="en"]):not(.layout-menu-collapsed) .menu-vertical .menu-item .menu-link > div:not(.badge) {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
html:not([lang="en"]) .menu-header-text { white-space: normal; }

/* Gurmukhi (Punjabi) is drawn with Noto Sans Gurmukhi, served by Omnizer (fonts/noto-sans-gurmukhi); the other scripts keep the theme's stack. */
:root {
  --bs-font-sans-serif: "Public Sans", "Noto Sans Gurmukhi", -apple-system, blinkmacsystemfont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
html[lang="pa-Guru"] body { line-height: 1.6; }

/* A form's error summary shows only when there are errors */
.validation-summary-valid {
  display: none;
}

/* Messages: a solid box in a deep shade of their colour with white text, easy to read in light and dark mode
   (each shade has at least 5:1 contrast with white). */
.alert-success { --omz-alert: #2e7d32; }
.alert-danger { --omz-alert: #c62828; }
.alert-warning { --omz-alert: #a35200; }
.alert-info { --omz-alert: #0b6e8f; }
.alert-primary { --omz-alert: #1e5aa8; }
.alert-secondary { --omz-alert: #4b5563; }

.alert-success,
.alert-danger,
.alert-warning,
.alert-info,
.alert-primary,
.alert-secondary {
  --bs-alert-bg: var(--omz-alert);
  --bs-alert-border-color: var(--omz-alert);
  --bs-alert-color: #fff;
  --bs-alert-link-color: #fff;
  --bs-alert-link-hover-color: #fff;
  --bs-alert-hr: rgba(255, 255, 255, 0.4);
  --bs-alert-close-icon: #fff;
  --bs-alert-icon-bg: #fff;
  --bs-alert-icon-color: var(--omz-alert);
}

.alert a:not(.btn) {
  color: #fff;
  text-decoration: underline;
}

.alert .text-body-secondary,
.alert .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Status labels (Posted, Paid, Draft, Void...): the same deep shades, white text. The theme's pale labels use
   !important, so these do too. */
.badge.bg-label-success { background-color: #2e7d32 !important; color: #fff !important; }
.badge.bg-label-danger { background-color: #c62828 !important; color: #fff !important; }
.badge.bg-label-warning { background-color: #a35200 !important; color: #fff !important; }
.badge.bg-label-info { background-color: #0b6e8f !important; color: #fff !important; }
.badge.bg-label-primary { background-color: #1e5aa8 !important; color: #fff !important; }
.badge.bg-label-secondary { background-color: #5b6472 !important; color: #fff !important; }
.badge.bg-label-dark { background-color: #1f2937 !important; color: #fff !important; }

/* Load stops: the stop number is a round badge with the number in its middle */
.omz-stop-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  line-height: 1;
}

/* A PDF shown in the page (contracts and forms): the height of the window, less the header */
.omz-pdf-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 12rem);
  min-height: 32rem;
  border: 0;
  border-radius: var(--bs-card-inner-border-radius, 0.375rem);
}

/* The template editor: a monospace text area, and the field list beside it */
textarea.omz-template-body {
  font-family: var(--bs-font-monospace);
  font-size: 0.8125rem;
  line-height: 1.5;
  min-height: 34rem;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: auto;
  tab-size: 2;
}

.omz-field-list {
  max-height: 34rem;
  overflow-y: auto;
}

.omz-field-list button {
  text-align: left;
  width: 100%;
}

/* A field Auto Import filled in from the file: the office checks it against the file before saving. */
.omz-auto {
  border-color: var(--bs-info) !important;
  background-color: rgba(var(--bs-info-rgb), .07) !important;
}

/* "Read more in the manual" under a Help panel's title */
.omz-help-manual {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.omz-help-manual a {
  display: inline-flex;
  align-items: center;
}

/* The manual (Help > Manual): the chapter list beside the text, which stays in view while reading on a wide screen */
@media (min-width: 992px) {
  .omz-manual-nav {
    position: sticky;
    top: 90px; /* below the fixed navbar */
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}

.omz-manual-nav .list-group-item {
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  border-inline: 0;
}

.omz-manual-nav .list-group-item:first-child {
  border-top: 0;
}

.omz-manual-nav > .btn {
  display: flex;
  align-items: center;
}

.omz-manual-step {
  max-width: 100%;
}

.omz-manual-step .icon-base {
  flex-shrink: 0;
}

/* The chapter's text: a comfortable line length and spacing */
.omz-manual {
  line-height: 1.65;
  overflow-wrap: break-word;
}

.omz-manual > * {
  max-width: 60rem;
}

.omz-manual h1 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
}

.omz-manual h2 {
  font-size: 1.25rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.omz-manual h3 {
  font-size: 1.0625rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.omz-manual h4 {
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* A heading reached by a link (#part) is not hidden under the fixed navbar */
.omz-manual [id] {
  scroll-margin-top: 90px;
}

.omz-manual ul,
.omz-manual ol {
  padding-left: 1.5rem;
}

.omz-manual li + li,
.omz-manual li > ul,
.omz-manual li > ol {
  margin-top: 0.25rem;
}

.omz-manual code {
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.omz-manual pre {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background-color: var(--bs-tertiary-bg);
}

/* The review notes ("Ask your CPA: ..."): a quote in the primary colour's pale shade */
.omz-manual blockquote {
  font-size: inherit;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--bs-primary);
  border-radius: 0.375rem;
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-body-color);
}

.omz-manual blockquote > :last-child {
  margin-bottom: 0;
}

.omz-manual .table-responsive {
  margin-bottom: 1rem;
}

.omz-manual table {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.omz-manual table td,
.omz-manual table th {
  vertical-align: top;
  min-width: 7rem;
}

.omz-manual table thead th {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.875rem;
}

/* Pictures of the screens: framed, never wider than the text, full size on a click (manual.js) */
.omz-manual img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  cursor: zoom-in;
}

/* The glossary: a search box and the letters, then the terms */
.omz-glossary-tools {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.omz-glossary-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  font-weight: 500;
}

.omz-glossary-letters a.disabled {
  color: var(--bs-secondary-color);
  opacity: 0.5;
  pointer-events: none;
}

.omz-glossary-list {
  margin-bottom: 0;
}

.omz-glossary-term {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--bs-border-color);
}

.omz-glossary-term:last-child {
  border-bottom: 0;
}

.omz-glossary-term[hidden],
[data-glossary-group][hidden] {
  display: none;
}

.omz-glossary-term dt {
  font-weight: 600;
  color: var(--bs-heading-color);
}

.omz-glossary-term dd {
  margin: 0.125rem 0 0;
}

.omz-glossary-aka {
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.omz-glossary-aka strong {
  font-weight: 500;
}

.omz-glossary-other {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}

/* A menu entry whose module the company has turned off: dimmed, with its "Off" label; it still opens, read only. */
.menu-link.omz-module-off > i,
.menu-link.omz-module-off > div:not(.badge) {
  opacity: 0.55;
}

/* The apply page (queue item 24): a field only robots fill in, and the disclosures in a calm, readable block. */
.omz-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.omz-disclosure { font-size: 0.9375rem; line-height: 1.6; }

/* The field-by-field part of a help panel (UX item 4): each field, its document, how to write it, where it is used. */
.omz-help-text .omz-help-fields dt { margin-top: 0.6rem; font-weight: 600; }
.omz-help-text .omz-help-fields dd { margin-bottom: 0.2rem; }

/* A law's name linked to its official text (CiteLink, the citations catalog): on one line, with a small
   external-link mark centred on the capitals beside it; a glossary term's links under its meaning. */
.omz-cite { white-space: nowrap; }
.omz-cite .omz-cite-icon { width: 0.8em; height: 0.8em; margin-left: 0.2em; vertical-align: -0.05em; }
/* A law's link inside a solid badge (My carrier → the Truth-in-Leasing check): the badge's white text, underlined, never blue on grey. */
.badge .omz-cite { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.omz-glossary-cite { margin-top: 0.125rem; font-size: 0.875rem; }

/* The page header (queue item UX2ε): the sub-pages of a section are tabs under the title, the same on each of them;
   Help (and Fill from documents before it) sit first at the right, parted from the page's own buttons by a thin line
   that shows only when buttons follow. */
.nav-tabs.omz-section-tabs { border-bottom: 1px solid var(--bs-border-color); gap: 0.25rem; }
.nav-tabs.omz-section-tabs .nav-link {
    display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.55rem 0.875rem; margin-bottom: -1px; inline-size: auto;
    border: 0; border-top: 2px solid transparent; border-bottom: 2px solid transparent; /* the same above and below: the text sits at the exact center */
    border-radius: 0; color: var(--bs-body-color); text-transform: none; box-shadow: none;
}
.nav-tabs.omz-section-tabs .nav-link .icon-base { font-size: 1.125rem; }
.nav-tabs.omz-section-tabs .nav-link:hover, .nav-tabs.omz-section-tabs .nav-link:focus { color: var(--bs-primary); border-color: transparent; }
.nav-tabs.omz-section-tabs .nav-link.active, .nav-tabs.omz-section-tabs .nav-link.active:hover, .nav-tabs.omz-section-tabs .nav-link.active:focus { color: var(--bs-primary); background: transparent; border-color: transparent; border-bottom-color: var(--bs-primary); font-weight: 500; box-shadow: none; }
.omz-help-btn:not(:last-child) { margin-right: 0.5rem; position: relative; }
.omz-help-btn:not(:last-child)::after { content: ""; position: absolute; right: -0.625rem; top: 0.375rem; bottom: 0.375rem; border-right: 1px solid var(--bs-border-color); }
/* The Help partial's group (Help and the Assistant): one item in the page's header row, with the same separator before the buttons after it */
.omz-help-group { display: inline-flex; align-items: center; }
.omz-help-group:not(:last-child) { margin-right: 0.5rem; position: relative; }
.omz-help-group:not(:last-child)::after { content: ""; position: absolute; right: -0.625rem; top: 0.375rem; bottom: 0.375rem; border-right: 1px solid var(--bs-border-color); }

/* The Assistant's panel (queue item 32, "Ask Omnizer"): the chat beside Help; bubbles, links and sources, the closed gate */
#assistant-panel { width: 30rem; }
@media (max-width: 575.98px) { #assistant-panel { width: 100vw; } }
.omz-assistant-messages { display: flex; flex-direction: column; gap: 0.75rem; overflow-y: auto; }
.omz-assistant-msg { max-width: 92%; padding: 0.6rem 0.9rem; border-radius: 0.75rem; font-size: 0.9rem; line-height: 1.45; }
.omz-assistant-msg p { margin-bottom: 0.5rem; }
.omz-assistant-msg p:last-child { margin-bottom: 0; }
.omz-assistant-msg.from-user { align-self: flex-end; background: var(--bs-primary); color: #fff; border-bottom-right-radius: 0.25rem; }
.omz-assistant-msg.from-assistant { align-self: flex-start; background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-bottom-left-radius: 0.25rem; }
.omz-assistant-msg.omz-assistant-pending { color: var(--bs-secondary-color); font-style: italic; }
.omz-assistant-msg.omz-assistant-problem { border-color: var(--bs-warning); }
.omz-assistant-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.omz-assistant-links .btn { display: inline-flex; align-items: center; }
.omz-assistant-sources { font-size: 0.78rem; color: var(--bs-secondary-color); margin-top: 0.5rem; }
.omz-assistant-composer textarea { resize: none; }
.omz-assistant-footer { font-size: 0.78rem; }
.omz-assistant-footer a { display: inline-flex; align-items: center; }
.omz-assistant-gate { font-size: 0.9rem; }

/* The top bar on a phone (item 46, part 3): the year's calendar is one more icon, so below 576px the icons sit closer, the
   year's menu loses its arrow and the company's name gives up some room, and the bar stays within the screen. */
@media (max-width: 575.98px) {
  #layout-navbar .navbar-nav-right .nav-item.me-3 {
    margin-right: 0.5rem !important;
  }
  #layout-navbar [data-omz-year] .dropdown-toggle::after {
    display: none;
  }
  #layout-navbar > .text-truncate {
    max-width: 26vw !important;
    margin-right: 0.5rem !important;
  }
}

/* A list's status tabs (Open, Delivered, Invoiced, Cancelled, All) do not wrap: on a phone they scroll inside their own row
   rather than pushing the page sideways. */
@media (max-width: 575.98px) {
  [data-status-filter],
  .btn-group[role="group"][aria-label="Status"] {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

/* History: a long text's change (a note, a description; the owner's layout of 11/06). "Before:" and "After:" in a column
   of their own, each text beside its label with its line breaks kept, only the lines that changed; in After the words
   that changed softly marked (dark text on pale green, light text on dark green: readable in both themes). */
.omz-text-change {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.5rem;
  row-gap: 0.15rem;
  align-items: baseline;
}
.omz-text-label { color: var(--bs-secondary-color); }
.omz-text-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.omz-text-changed {
  padding: 0 0.1rem;
  border-radius: 0.2rem;
  background-color: #d9efd9;
  color: var(--bs-emphasis-color);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
[data-bs-theme=dark] .omz-text-changed { background-color: #2f4f34; }
.omz-text-gap { color: var(--bs-secondary-color); }
.omz-full-text summary { cursor: pointer; }
.omz-full-text[open] summary { margin-bottom: 0.15rem; }

/* Invoice design: the accent colors to choose from, each a swatch with its name; the chosen one is ringed */
.omz-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 2rem;
  cursor: pointer;
}
.omz-swatch:has(input[type="radio"]:checked) {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.25);
}
.omz-swatch:has(input[type="radio"]:focus-visible) {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}
.omz-swatch-color {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
/* On the dark card the navy and black swatches would vanish: a light ring shows each one */
[data-bs-theme="dark"] .omz-swatch-color {
  border-color: rgba(255, 255, 255, 0.45);
}
.omz-swatch-picker {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* The → beside an amount owed (Views/Shared/_FillAmount.cshtml, js/fill-amount.js): the amount and its button on one centered line. */
.omz-fill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  white-space: nowrap;
  vertical-align: middle;
}
.omz-fill-btn.btn-icon {
  width: 1.625rem;
  height: 1.625rem;
  padding: 0;
  flex: none;
}
.omz-fill-btn .icon-base {
  font-size: 1.125rem;
}

/* The load form's compact parts (2026-11-16, the owner: nothing cut). Scoped classes only: the full-width form grids keep their look.
   .select-fit: a select as wide as its longest choice (field-sizing), never wider than its place; browsers without field-sizing
   get a fixed width that holds the longest Greek choice. */
.select-fit {
  width: auto;
  max-width: 100%;
  min-width: 9rem;
  field-sizing: content;
}
@supports not (field-sizing: content) {
  .select-fit {
    min-width: 16rem;
  }
}
/* A charge's detail: a light inset panel under its line, spanning the description and the amount, a label above every value. */
.omz-charge-detail {
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
}
.omz-charge-detail .form-label {
  white-space: nowrap;
}
.omz-charge-detail .omz-qty-input {
  width: 7.5rem;
}
.omz-charge-detail .omz-ref-input {
  min-width: 12rem;
}
/* "$" and a five-digit amount with cents (12,345.67) always show whole. */
.omz-money-input {
  flex-wrap: nowrap;
  min-width: 10.5rem;
}
.omz-money-input .form-control {
  min-width: 7.5rem;
}
/* Numbers typed into these parts carry no spinner arrows that would hide the value. */
.omz-no-spin input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.omz-no-spin input[type="number"]::-webkit-outer-spin-button,
.omz-no-spin input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* A card whose choices do not apply here (the owner-operator pay for a company truck): muted, its note says why. */
.omz-card-off .card-title,
.omz-card-off .form-label,
.omz-card-off .form-select,
.omz-card-off .form-control,
.omz-card-off .input-group-text {
  opacity: 0.6;
}
/* A stop's two groups of times (the appointment, the actual times), and the yard's. */
.omz-time-group legend {
  font-size: 0.8125rem;
}
