/* New-order workspace. Keep form controls scoped so the shared date picker owns its UI. */
.shell.is-new-order-view > .main > .content {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9c5df #f7f7fd;
}
.no-screen {
  --no-brand: #6035ef;
  --no-brand-dark: #4c20d0;
  --no-soft: #f0ebff;
  --no-ink: #15182d;
  --no-muted: #737b94;
  --no-line: #dfe2ef;
  color: var(--no-ink);
  font-size: 13px;
  line-height: 1.4;
  width: 100%;
  min-width: 0;
}
.no-screen :is(h1,h2,h3) { letter-spacing: -.025em; text-wrap: initial; }
.no-screen .no-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 16px; }
.no-head > div { min-width: 0; }
.no-head h1 { font-size: 27px; line-height: 1.15; font-weight: 740; }
.no-head p { color: var(--no-muted); font-size: 12px; margin-top: 4px; }
.no-head .no-back { align-self: flex-start; flex: 0 0 36px; width: 36px; padding: 0; }
.no-head .no-title { flex: 1; }
.no-screen .no-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 3px 9px; border-radius: 8px; background: #eeedf6; color: #626880; font-size: 11px; font-weight: 650; white-space: nowrap; }
.no-format-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.no-screen .no-format { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 70px; min-width: 0; padding: 13px 15px; border: 1px solid var(--no-line); border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgb(36 24 80 / 4%); text-align: left; color: var(--no-ink); }
.no-format > :is(.icon,.co-icon) { width: 25px; height: 25px; color: #626882; }
.no-format > span:not(.no-radio-mark) { flex: 1; min-width: 0; }
.no-format strong { display: block; font-size: 14px; font-weight: 720; line-height: 1.2; }
.no-format small { display: block; font-size: 11px; color: #70758c; margin-top: 4px; font-weight: 450; }
.no-format::after { content: ""; display: block; flex: 0 0 17px; width: 17px; height: 17px; border: 1.5px solid #c6c9dd; border-radius: 50%; background: #fff; }
.no-screen .no-format:hover:not(:disabled) { border-color: #b8a7f9; background: #fcfbff; }
.no-screen .no-format.active { border-color: #9a7bff; background: #f1ecff; box-shadow: 0 0 0 1px rgb(96 53 239 / 6%); }
.no-format.active > :is(.icon,.co-icon) { color: var(--no-brand); }
.no-format.active::after { border: 5px solid var(--no-brand); }
.no-form { margin: 0; }
.no-form-fieldset { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
.no-form-fieldset > legend.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.no-layout { display: grid; grid-template-columns: minmax(0,2.35fr) minmax(300px,1fr); align-items: start; gap: 16px; }
.no-main,.no-aside { min-width: 0; display: grid; align-content: start; gap: 12px; }
.no-aside { position: sticky; top: 16px; }
.no-screen .no-card { min-width: 0; padding: 14px 16px; border: 1px solid var(--no-line); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgb(28 25 60 / 3%); }
.no-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px; }
.no-card-head > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.no-card-head :is(h2,h3) { font-size: 18px; font-weight: 720; line-height: 1.2; }
.no-card-head > small,.no-hint { color: var(--no-muted); font-size: 11px; }
.no-card-head > small { display: inline-flex; align-items: center; gap: 5px; }
.no-card-head > small :is(.icon,.co-icon) { width: 14px; height: 14px; }
.no-fields { display: grid; gap: 10px 14px; }
.no-main-fields,.no-location-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.no-contact-fields { grid-template-columns: 1fr 1.1fr 1fr; margin-top: 10px; }
.no-field { display: grid; gap: 4px; align-content: start; min-width: 0; margin: 0; }
.no-field > span:first-child,.no-field > label:first-child { font-size: 12px; line-height: 1.25; color: #31374f; font-weight: 610; }
.no-field > :is(input:not([type=radio],[type=checkbox]),select,textarea),
.no-input-row > :is(input:not([type=radio],[type=checkbox]),select),
.no-money-input > input,
.no-table :is(input,select),
.no-inline-add > :is(input,select) {
  min-height: 36px; min-width: 0; width: 100%; padding: 7px 10px; border: 1px solid #d8dbea; border-radius: 7px; background: #fff; color: var(--no-ink); font-size: 13px; line-height: 1.25;
}
.no-field > textarea { min-height: 70px; resize: vertical; }
.no-field > :is(input,select,textarea):focus,
.no-input-row > :is(input,select):focus,
.no-money-input > input:focus,
.no-table :is(input,select):focus { outline: 2px solid rgb(96 53 239 / 12%); outline-offset: 0; border-color: #a78afb; }
.no-field > :is(input,select,textarea):disabled,.no-table :is(input,select):disabled { background: #f6f6fa; color: #858aa0; }
.no-field > :is(input,textarea)::placeholder,.no-input-row > input::placeholder { color: #969bb0; }
.no-input-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.no-input-row > :is(input,select) { flex: 1; min-width: 0; }
.no-input-row > .no-btn { flex: 0 0 auto; }
.no-field > .no-search { position: relative; display: flex; align-items: center; }
.no-search > :is(.icon,.co-icon) { position: absolute; left: 10px; width: 15px; height: 15px; color: #7e849c; pointer-events: none; }
.no-search > input { width: 100%; min-width: 0; min-height: 36px; padding: 7px 10px 7px 32px; border: 1px solid #d8dbea; border-radius: 7px; font-size: 13px; }
.no-screen .no-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 10px; border: 1px solid #d8dbea; border-radius: 7px; background: #fff; color: #373e58; font-weight: 610; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.no-btn :is(.icon,.co-icon) { width: 16px; height: 16px; }
.no-screen .no-btn:hover:not(:disabled) { border-color: #bca9ff; color: var(--no-brand); background: #fbf9ff; }
.no-screen .no-btn:focus-visible,.no-format:focus-visible { outline: 2px solid var(--no-brand); outline-offset: 3px; }
.no-screen .no-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; width: fit-content; min-height: 25px; padding: 2px 0; border: 0; background: transparent; color: var(--no-brand); font-size: 12px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.no-link :is(.icon,.co-icon) { width: 15px; height: 15px; }
.no-screen .no-link:hover:not(:disabled) { color: var(--no-brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.no-screen .no-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; padding: 9px 14px; border: 1px solid var(--no-brand); border-radius: 8px; background: var(--no-brand); color: #fff; font-size: 14px; line-height: 1.25; font-weight: 680; box-shadow: 0 2px 4px rgb(96 53 239 / 13%); }
.no-screen .no-primary:hover:not(:disabled) { background: var(--no-brand-dark); border-color: var(--no-brand-dark); }
.no-primary :is(.icon,.co-icon) { width: 17px; height: 17px; }
.no-primary:disabled { opacity: .6; cursor: progress; }
.no-schedule-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 16px; }
.no-schedule-grid > div { min-width: 0; }
.no-schedule-grid > div + div { border-left: 1px solid #e7e7f0; padding-left: 16px; }
.no-schedule-grid > div > .no-field + .no-field { margin-top: 6px; }
.no-schedule-grid .no-field > input { font-variant-numeric: tabular-nums; font-size: 12px; padding-inline: 7px; }
.no-schedule-grid .no-event-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.no-schedule-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-top: 8px; color: var(--no-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.no-schedule-actions > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.no-quote-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.no-table-wrap { min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #cbc5e6 transparent; }
.no-table { width: 100%; min-width: 650px; font-size: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.no-table thead th { position: static; height: 29px; padding: 6px 7px; border: 0; background: #f0edf9; box-shadow: none; color: #5d6481; font-size: 11px; font-weight: 600; line-height: 1.25; }
.no-table thead th:first-child { border-radius: 6px 0 0 6px; }
.no-table thead th:last-child { border-radius: 0 6px 6px 0; }
.no-table tbody td { height: 49px; padding: 6px 7px; border-bottom: 1px solid #e7e8f0; line-height: 1.25; }
.no-table tbody tr:last-child td { border-bottom: 0; }
.no-table tbody tr:hover { background: #fcfbff; }
.no-table :is(th,td):first-child { padding-left: 10px; width: 43%; }
.no-table :is(th,td):last-child { width: 28px; padding-right: 0; text-align: right; }
.no-table :is(th,td):not(:first-child) { white-space: nowrap; }
.no-table :is(th,td).no-line-total { text-align: right; }
.no-table td > strong { display: block; font-size: 12px; font-weight: 680; overflow-wrap: anywhere; }
.no-table td > small { margin-top: 3px; color: #7b8198; font-size: 10.5px; }
.no-table :is(input,select) { min-height: 30px; height: 30px; padding: 4px 6px; font-size: 12px; }
.no-table input[type=number] { min-width: 58px; width: 75px; }
.no-table input[data-line-field=unit_price] { width: 90px; }
.no-table input[data-line-field=name] { min-width: 180px; }
.no-table .no-btn { min-height: 28px; padding: 4px 6px; background: transparent; border-color: transparent; }
.no-quote-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding-top: 9px; border-top: 1px solid #eeeaf7; }
.no-quote-footer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.no-quote-footer strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.no-quote-footer .no-alert { margin: 0; padding: 0; border: 0; background: transparent; }
.no-alert { display: flex; align-items: flex-start; gap: 7px; min-width: 0; padding: 9px 11px; border: 1px solid #dfe2ef; border-radius: 8px; color: #73798f; background: #f8f8fc; font-size: 11.5px; line-height: 1.4; }
.no-alert :is(.icon,.co-icon) { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; }
.no-alert.error { color: #c83854; border-color: #f2c9d2; background: #fff3f6; }
.no-alert.warning { color: #956222; border-color: #f0ddb2; background: #fffaec; }
.no-alert.success { color: #168447; border-color: #c6e9d4; background: #f1fbf5; }
.no-alert > div { min-width: 0; }
.no-location-fields { grid-template-columns: 1.1fr 1fr; }
.no-details { margin: 0; min-width: 0; }
.no-details > summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; cursor: pointer; list-style: none; color: var(--no-brand); font-size: 12px; font-weight: 610; }
.no-details > summary::-webkit-details-marker { display: none; }
.no-details > summary::after { content: "⌄"; margin-left: auto; color: var(--no-brand); font-size: 17px; font-weight: 500; line-height: 1; }
.no-details[open] > summary::after { transform: rotate(180deg); }
.no-details > summary > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.no-details > summary strong { color: var(--no-ink); font-size: 14px; font-weight: 700; }
.no-details > summary small { color: var(--no-muted); font-weight: 450; font-size: 11px; }
.no-details[open] > summary { margin-bottom: 12px; }
.no-details:not(.no-card) { margin-top: 8px; }
.no-details .no-fields { margin-top: 9px; }
.no-crew-list { display: grid; gap: 10px; }
.no-job { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px 10px; padding: 11px; border: 1px solid #e5e3f0; border-radius: 9px; background: #fdfcff; }
.no-job > .no-job-head { display: flex; align-items: center; justify-content: space-between; grid-column: 1/-1; color: #545d79; font-size: 12px; font-weight: 600; }
.no-job .no-btn { min-height: 28px; padding: 4px 7px; }
.no-job-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; }
.no-inline-add { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 10px; margin: 10px 0; border: 1px solid #ded6fc; border-radius: 9px; background: #fbf9ff; }
.no-inline-add > .no-fields { grid-column: 1/-1; }
.no-inline-add > .no-inline-actions { grid-column: 1/-1; }
.no-inline-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.no-empty { padding: 18px 12px; text-align: center; color: var(--no-muted); font-size: 12px; }
.no-screen .no-summary { padding: 17px 18px; }
.no-summary h2 { font-size: 20px; font-weight: 720; }
.no-summary h3 { font-size: 16px; font-weight: 710; line-height: 1.2; margin-bottom: 10px; }
.no-summary .no-money { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.no-money > :last-child { white-space: nowrap; }
.no-summary .no-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-block: 1px solid #e8e8f2; font-size: 18px; line-height: 1.2; font-weight: 740; font-variant-numeric: tabular-nums; }
.no-total > :last-child { white-space: nowrap; }
.no-discount { display: flex; align-items: center; gap: 7px; min-width: 0; }
.no-discount > input { width: 78px; min-width: 50px; min-height: 32px; padding: 5px 8px; border: 1px solid #d8dbea; border-radius: 7px; font-size: 12px; }
.no-discount > select { width: 62px; min-height: 32px; padding: 4px 5px; border-radius: 7px; font-size: 12px; }
.no-money-input { display: flex; align-items: stretch; min-width: 0; }
.no-money-input > input { flex: 1; border-radius: 7px 0 0 7px; font-variant-numeric: tabular-nums; }
.no-money-input > span { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid #d8dbea; border-left: 0; border-radius: 0 7px 7px 0; background: #f3f1fb; color: #707790; font-size: 12px; }
.no-summary .no-section { padding-top: 16px; margin-top: 15px; border-top: 1px solid #e8e8f2; }
.no-summary .no-section:first-of-type { border-top: 0; margin-top: 0; }
.no-radio { display: flex; align-items: center; gap: 8px; min-height: 28px; color: #343a51; font-size: 12px; line-height: 1.3; cursor: pointer; }
.no-radio > input { flex: 0 0 auto; width: 15px; height: 15px; margin: 0; accent-color: var(--no-brand); }
.no-radio + .no-field { margin-top: 9px; }
.no-summary .no-hint { display: block; margin-top: 6px; line-height: 1.4; font-size: 11px; }
.no-readiness { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; color: #343b52; font-size: 12px; }
.no-readiness > li { display: flex; align-items: center; gap: 7px; }
.no-readiness :is(.icon,.co-icon) { width: 15px; height: 15px; color: #a2a5b8; }
.no-readiness .complete :is(.icon,.co-icon),.no-readiness .success :is(.icon,.co-icon) { color: #1b9b4b; stroke-width: 3; }
.no-summary .no-primary { margin-top: 18px; }
.no-summary .no-cancel { display: flex; width: 100%; justify-content: center; margin-top: 7px; color: #575f79; }
.no-summary .no-footnote { padding-top: 12px; margin-top: 10px; border-top: 1px solid #efedf6; text-align: center; color: var(--no-muted); font-size: 11px; }
.no-screen .no-form-error { margin-bottom: 12px; }
.no-status { color: var(--no-muted); font-size: 12px; }
.no-crew-phases { color: var(--no-muted); font-size: 11px; margin-top: 3px; }
.no-head > div { display: flex; align-items: center; gap: 12px; }
.no-screen .no-draft-badge { display: inline-flex; padding: 4px 10px; border-radius: 9px; background: #eeedf6; color: #626880; font-size: 11px; font-weight: 650; white-space: nowrap; }
.no-format::after { display: none; }
.no-screen .no-format > .no-format-radio { display: inline-grid; place-items: center; flex: 0 0 19px; width: 19px; height: 19px; font-size: 23px; line-height: 1; font-weight: 400; color: #b8bdd2; }
.no-screen .no-format.active > .no-format-radio { color: var(--no-brand); }
.no-customer-field { position: relative; }
.no-customer-control { display: flex; align-items: center; gap: 8px; min-width: 0; }
.no-customer-control > input { min-height: 36px; width: 100%; min-width: 0; flex: 1; padding: 7px 10px; border: 1px solid #d8dbea; border-radius: 7px; font-size: 13px; }
.no-customer-control > input:focus { outline: 2px solid rgb(96 53 239 / 12%); outline-offset: 0; border-color: #a78afb; }
.no-customer-control > .no-btn { flex: 0 0 auto; color: var(--no-brand); border-color: #d9cdfd; }
.no-customer-field > [data-no-customer-results] { position: relative; }
.no-search-results { position: absolute; inset: 0 0 auto; z-index: 12; padding: 4px; border: 1px solid #d7cafa; border-radius: 9px; background: #fff; box-shadow: 0 8px 24px rgb(38 24 81 / 12%); max-height: 270px; overflow: auto; scrollbar-width: thin; }
.no-search-results > button { display: block; width: 100%; padding: 8px 9px; border: 0; border-radius: 6px; background: #fff; color: var(--no-ink); text-align: left; }
.no-search-results > button:is(:hover,[aria-selected=true]) { background: var(--no-soft); }
.no-search-results strong { display: block; font-size: 12px; font-weight: 650; }
.no-search-results small { display: block; color: var(--no-muted); margin-top: 2px; font-size: 11px; }
.no-search-results > p { padding: 8px 10px; font-size: 12px; color: var(--no-muted); }
.no-schedule .no-card-head { align-items: center; }
.no-schedule { container-type: inline-size; container-name: no-schedule; }
.no-schedule .no-card-head > .no-hint { display: flex; align-items: center; gap: 5px; }
.no-schedule .no-card-head > .no-hint :is(.icon,.co-icon) { width: 14px; height: 14px; }
.no-field-label { display: block; color: #31374f; font-weight: 610; font-size: 12px; margin-bottom: 4px; line-height: 1.25; }
.no-field-label small { font-size: 10px; font-weight: 450; color: var(--no-muted); margin-left: 3px; }
.no-event-times > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.no-event-times > div .no-field > span { font-size: 10px; color: var(--no-muted); font-weight: 450; }
.no-schedule-grid .no-field > input { font-size: 13px; }
.no-logistics { margin-top: 10px; padding: 11px; border: 1px solid #e5def9; border-radius: 8px; background: #fdfbff; }
.no-logistics > .no-hint { margin-top: 5px; }
.no-count { display: inline-flex; vertical-align: middle; padding: 3px 7px; margin-left: 6px; border-radius: 7px; background: #efebfc; color: #78728e; font-size: 10.5px; font-weight: 500; letter-spacing: 0; }
.no-item-title { display: flex; align-items: center; gap: 4px; min-width: 0; }
.no-item-title > .no-btn { width: 23px; flex: 0 0 23px; min-height: 26px; padding: 3px; margin-left: -5px; color: #6e5ba4; }
.no-item-title > div { min-width: 0; }
.no-item-title strong { display: block; font-size: 12.5px; font-weight: 680; overflow-wrap: anywhere; }
.no-item-title small { display: block; color: #7b8198; font-size: 10.5px; margin-top: 3px; }
.no-period { display: flex; align-items: center; gap: 5px; min-width: 0; }
.no-period > select { width: 92px; min-width: 82px; }
.no-table .no-period > input { width: 44px; min-width: 36px; }
.no-table input[data-no-line-field=price] { width: 86px; }
.no-table input[data-no-line-field=quantity] { width: 57px; min-width: 48px; }
.no-table :is(th,td):nth-child(5) { text-align: right; }
.no-kit-components td { background: #faf8ff; }
.no-kit-components span { display: inline-block; padding: 3px 7px; margin: 3px 5px 3px 0; border-radius: 5px; color: #776a9c; background: #f0ebfb; font-size: 11px; white-space: normal; }
.no-availability { display: flex; align-items: flex-start; gap: 6px; padding-block: 7px; margin: 0; color: #777d94; font-size: 11px; }
.no-availability :is(.icon,.co-icon) { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 1px; }
.no-availability.success { color: #148342; }
.no-availability.warning { color: #9c692a; }
.no-availability.error { color: #b73a54; }
.no-availability .no-link { padding: 0; min-height: 0; font-size: 11px; }
.no-quote-footer { justify-content: flex-start; gap: 6px 16px; }
.no-quote-footer > strong { margin-left: auto; }
.no-details > summary > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.no-details > summary > span > :is(.icon,.co-icon) { width: 17px; height: 17px; color: #767a94; }
.no-crew .no-details { margin: 0; }
.no-crew .no-details > summary > span:last-of-type { color: var(--no-brand); font-size: 11px; font-weight: 600; }
.no-crew .no-details > summary::after { display: none; }
.no-crew .no-details > .no-hint { margin-bottom: 10px; }
.no-job > .no-job-fields,.no-job > .no-job-times { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; grid-column: 1/-1; }
.no-job-times .no-field > input { font-size: 12px; padding-inline: 7px; }
.no-job + .no-link { margin-top: 8px; }
.no-details > textarea { width: 100%; min-height: 65px; padding: 8px 10px; border: 1px solid #d8dbea; border-radius: 7px; color: var(--no-ink); font-size: 13px; resize: vertical; }
.no-team-note { margin-top: -4px!important; }
.no-team-note > summary { justify-content: flex-start; }
.no-team-note > summary::after { display: none; }
.no-summary .no-confirmation,.no-summary .no-readiness { margin-top: 15px; padding-top: 15px; border-top: 1px solid #e8e8f2; }
.no-summary .no-confirmation { border-top: 0; padding-top: 0; }
.no-confirmation [data-no-advance] { margin-top: 9px; }
.no-discount > label { flex: 1; }
.no-segment { display: inline-flex; align-items: center; padding: 2px; border-radius: 7px; background: #efedf8; }
.no-segment > .no-btn { min-height: 28px; padding: 4px 9px; border: 0; border-radius: 5px; font-size: 12px; background: transparent; }
.no-segment > .no-btn.active { background: var(--no-brand); color: #fff; }
.no-readiness > ul { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.no-readiness > ul > li { display: flex; align-items: center; gap: 7px; }
.no-readiness .ready :is(.icon,.co-icon) { color: #1b9b4b; stroke-width: 3; }
.no-summary .no-reservation-hint { margin-top: 10px; text-align: center; font-size: 10.5px; }
.no-summary > .no-alert { margin-top: 12px; }
.no-aside-hint { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #e0ddef; border-radius: 9px; color: #777a91; background: #faf9ff; font-size: 11.5px; }
.no-aside-hint :is(.icon,.co-icon) { width: 16px; height: 16px; flex: 0 0 16px; }
.no-inline-add > .no-card-head,.no-inline-add > .no-product-results,.no-inline-add > h3,.no-inline-add > .no-service-fields,.no-inline-add > .no-alert { grid-column: 1/-1; }
.no-inline-add > input[data-no-add-search] { grid-column: 1/-1; }
.no-inline-add > .no-card-head { margin-bottom: 0; }
.no-inline-add > h3,.no-inline-add .no-card-head h3 { font-size: 14px; font-weight: 680; }
.no-product-results { display: grid; align-content: start; max-height: 260px; overflow: auto; scrollbar-width: thin; }
.no-product-results > button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; padding: 8px 9px; background: #fff; border: 0; border-bottom: 1px solid #eeebf7; text-align: left; border-radius: 5px; }
.no-product-results > button:hover { background: #f1ecff; }
.no-product-results > button > span:first-child { min-width: 0; }
.no-product-results strong { display: block; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.no-product-results small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--no-muted); }
.no-product-results > button > span:last-child { flex: 0 0 auto; color: var(--no-brand); white-space: nowrap; font-size: 11px; font-weight: 550; }
.no-product-results :is(.icon,.co-icon) { width: 14px; height: 14px; margin-left: 6px; }
.no-service-fields { display: grid; grid-template-columns: 1.7fr 1fr auto; align-items: end; gap: 9px; }
.no-service-fields .no-primary { min-height: 36px; font-size: 12px; }
.no-customer-add-fields { grid-template-columns: 1.3fr 1fr auto auto; align-items: end; }
.no-customer-add-fields > .no-primary { min-height: 36px; font-size: 12px; }
.no-customer-add-fields > .no-link { min-height: 36px; }
.no-note { margin-top: -3px; }
.no-note > summary { justify-content: flex-start; }
.no-note > summary::after { display: none; }
.no-screen [aria-invalid=true] { border-color: #d3546f; }
@media (min-width: 1650px) { .no-layout { grid-template-columns: minmax(0,2.5fr) minmax(340px,1fr); } }
@media (max-width: 1200px) {
  .no-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 12px; }
  .no-screen .no-card { padding: 13px; }
  .no-format { gap: 9px; }
  .no-format small { font-size: 10.5px; }
  .no-schedule-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .no-schedule-grid > div + div { padding-left: 0; border-left: 0; }
  .no-schedule-grid > div:nth-child(2) { grid-column: 1/-1; grid-row: 2; border-top: 1px solid #eeecf5; padding-top: 9px; }
  .no-screen .no-summary { padding: 15px; }
  .no-contact-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .no-contact-fields > :last-child { grid-column: 1/-1; }
  .no-job > .no-job-fields,.no-job > .no-job-times { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .no-job-fields > :last-child,.no-job-times > :last-child { grid-column: 1/-1; }
  .no-customer-add-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .no-customer-add-fields > :last-child { grid-column: auto; }
}
@media (max-width: 980px) {
  .no-layout { grid-template-columns: minmax(0,1fr); }
  .no-aside { position: static; }
  .no-format-grid { gap: 8px; }
  .no-screen .no-format { padding: 11px; min-height: 80px; gap: 8px; }
  .no-format > :is(.icon,.co-icon) { width: 20px; height: 20px; }
  .no-format strong { font-size: 13px; }
  .no-format::after { flex-basis: 15px; width: 15px; height: 15px; }
  .no-schedule-grid { grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; }
  .no-schedule-grid > div:nth-child(2) { grid-column: auto; grid-row: auto; border-top: 0; padding-top: 0; }
  .no-schedule-grid > div + div { border-left: 1px solid #e7e7f0; padding-left: 12px; }
  .no-aside .no-summary { max-width: none; }
}
@media (max-width: 680px) {
  .no-head { gap: 8px; margin-bottom: 12px; }
  .no-head h1 { font-size: 23px; }
  .no-format-grid { grid-template-columns: minmax(0,1fr); gap: 7px; margin-bottom: 12px; }
  .no-screen .no-format { min-height: 58px; padding: 10px 13px; }
  .no-format small { font-size: 11px; }
  .no-screen .no-card { padding: 12px; }
  .no-card-head :is(h2,h3) { font-size: 17px; }
  .no-main-fields,.no-contact-fields,.no-location-fields { grid-template-columns: minmax(0,1fr); }
  .no-fields { gap: 9px; }
  .no-schedule-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .no-schedule-grid > div + div { padding-left: 0; border-left: 0; }
  .no-schedule-grid > div:nth-child(2) { grid-column: 1/-1; grid-row: 2; border-top: 1px solid #eeecf5; padding-top: 9px; }
  .no-table { min-width: 620px; }
  .no-job { grid-template-columns: minmax(0,1fr); }
  .no-quote-footer { align-items: flex-start; }
  .no-quote-footer > div { gap: 9px; }
  .no-head .no-badge { display: none; }
  .no-inline-add { grid-template-columns: minmax(0,1fr); }
  .no-head .no-draft-badge { display: none; }
  .no-service-fields,.no-customer-add-fields { grid-template-columns: minmax(0,1fr); }
  .no-job > .no-job-fields,.no-job > .no-job-times { grid-template-columns: minmax(0,1fr); }
  .no-product-results > button { align-items: flex-start; flex-direction: column; gap: 5px; }
  .no-crew .no-details > summary > span:last-of-type { margin-left: 24px; }
}
@media (prefers-reduced-motion: reduce) { .no-screen * { scroll-behavior: auto; transition: none!important; } }
/* Date and time must stay visible: move the event pair to a full-width row when
   the actual form column is narrower, independently of the browser width. */
@container no-schedule (max-width: 1140px) {
  .no-schedule-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 14px; }
  .no-schedule-grid > div:first-child { grid-column: 1; grid-row: 1; }
  .no-schedule-grid > div:last-child { grid-column: 2; grid-row: 1; }
  .no-schedule-grid > div + div { padding-left: 0; border-left: 0; }
  .no-schedule-grid > div:nth-child(2) { grid-column: 1/-1; grid-row: 2; padding-top: 9px; border-top: 1px solid #eeecf5; }
  .no-event-times > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@container no-schedule (max-width: 440px) {
  .no-schedule-grid { grid-template-columns: minmax(0,1fr); }
  .no-schedule-grid > div:first-child { grid-column: 1; grid-row: 1; }
  .no-schedule-grid > div:last-child { grid-column: 1; grid-row: 3; padding-top: 9px; border-top: 1px solid #eeecf5; }
  .no-schedule-grid > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .no-event-times > div { grid-template-columns: minmax(0,1fr); }
}

/* Shared own-warehouse editor, embedded in both settings and order creation. */
.warehouse-settings { min-width: 0; border: 1px solid #dfe2ef; border-radius: 10px; background: #fff; color: #22283e; font-size: 13px; }
.warehouse-settings > .panel-head { min-height: 48px; padding: 11px 14px; border-bottom: 1px solid #eaeaf2; }
.warehouse-settings > .panel-head h3 { font-size: 16px; font-weight: 700; }
.warehouse-settings > .panel-body { padding: 12px 14px 14px; }
.warehouse-settings .muted { color: #798098; font-size: 12px; line-height: 1.45; }
.warehouse-settings .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 10px 14px; }
.warehouse-settings .field { display: grid; align-content: start; gap: 5px; margin: 0; min-width: 0; }
.warehouse-settings .field > span { font-size: 12px; font-weight: 600; color: #464d65; }
.warehouse-settings .field > :is(input:not([type=checkbox]),select) { width: 100%; min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid #d8dbea; border-radius: 7px; background: #fff; color: #22283e; font-size: 13px; }
.warehouse-settings .field > input[type=checkbox] { width: 17px; height: 17px; min-height: 0; margin: 5px 0; padding: 0; accent-color: #6035ef; }
.warehouse-settings .field > :is(input,select):focus { border-color: #a78afb; outline: 2px solid rgb(96 53 239 / 12%); outline-offset: 0; }
.warehouse-settings fieldset:disabled .field > :is(input,select) { background: #f7f7fb; color: #747b92; }
.warehouse-settings summary { line-height: 1.45; color: #414960; }
.warehouse-settings summary strong { color: #272d43; font-size: 13px; }
.warehouse-settings summary .badge { margin-inline: 5px; font-size: 10px; padding: 3px 6px; }
.warehouse-settings .form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin: 11px 0 0; padding: 0; }
.warehouse-settings .button { min-height: 33px; padding: 6px 10px; font-size: 12px; line-height: 1.25; border-radius: 7px; }
.warehouse-settings .button.primary { background: #6035ef; border-color: #6035ef; color: #fff; }
.warehouse-settings .button.primary:hover:not(:disabled) { background: #4c20d0; border-color: #4c20d0; }
.warehouse-settings .button.secondary { color: #544b76; border-color: #d8d1ed; }
.warehouse-settings .table-scroll { margin: 10px 0; max-height: 330px; overflow: auto; border: 1px solid #e6e3ef; border-radius: 7px; scrollbar-width: thin; }
.warehouse-settings table { min-width: 380px; font-size: 12px; }
.warehouse-settings thead th { padding: 7px 9px; background: #f1eef9; font-size: 11px; }
.warehouse-settings tbody td { padding: 6px 9px; height: 42px; }
.warehouse-settings tbody input { width: 90px; min-height: 30px; padding: 4px 6px; font-size: 12px; }
.warehouse-settings h4 { margin-bottom: 10px; font-size: 14px; }
.warehouse-settings .form-error { margin: 12px 0 0; padding: 9px 11px; color: #ba3750; background: #fff3f5; border: 1px solid #efc6ce; border-radius: 7px; font-size: 12px; }
@media (max-width: 680px) {
  .warehouse-settings > .panel-head { flex-wrap: wrap; align-items: center; }
  .warehouse-settings .form-grid { grid-template-columns: minmax(0,1fr); }
  .warehouse-settings > .panel-body { padding: 11px; }
}

/* Compact creation: one contact control, a date strip, and a warehouse snapshot. */
.no-basics-compact { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: start; gap: 18px; }
.no-title-field,.no-contact-combo { min-width: 0; }
.no-contact-combo { padding-left: 18px; border-left: 1px solid #e6e5ef; }
.no-basics-compact .no-field > span,.no-contact-combo > .no-field-label { font-size: 12px; font-weight: 610; margin-bottom: 0; }
.no-contact-combo > .no-field-label { margin-bottom: 4px; }
.no-contact-combo > .no-field-label > small { display: none; }
.no-title-field .no-field > input,.no-contact-combo > input { display: block; width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid #d8dbea; border-radius: 7px; background: #fff; color: #20253c; font-size: 13px; line-height: 1.35; }
.no-title-field .no-field > input { font-weight: 560; }
.no-contact-combo > input:focus { border-color: #a78afb; outline: 2px solid rgb(96 53 239 / 12%); outline-offset: 0; }
.no-contact-combo > input::placeholder { color: #969bb0; font-weight: 400; }
.no-contact-combo > [data-no-customer-results] { position: relative; }
.no-contact-hint { margin-top: 5px; min-width: 0; color: #8a8fa3; font-size: 11px; line-height: 1.4; }
.no-contact-selected { display: inline-flex; align-items: center; gap: 5px; color: #318357; }
.no-contact-selected > :is(.icon,.co-icon) { width: 13px; height: 13px; }
.no-contact-new { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; color: #8a819c; }
.no-contact-new .no-count { margin-left: 0; padding: 2px 5px; font-size: 10px; }
.no-contact-new > .no-link { min-height: 20px; padding: 0; margin-left: auto; font-size: 11px; }
.no-contact-name { margin-top: 8px; }
.no-contact-name > span:first-child { font-size: 11px; font-weight: 500; color: #8b819d; }
.no-contact-name > input { min-height: 33px; padding-block: 6px; font-size: 12px; }
.no-screen .no-schedule-compact { padding: 13px 16px 10px; }
.no-date-strip { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.no-date-point { min-width: 0; }
.no-date-point > .no-field-label { margin-bottom: 5px; font-size: 12px; font-weight: 560; color: #717991; }
.no-date-control { display: flex; align-items: center; gap: 8px; min-width: 0; }
.no-date-control > .no-date-field { flex: 1 1 150px; min-width: 0; }
.no-date-field > span { display: none; }
.no-date-field > input[type=date] { width: 100%; min-width: 0; min-height: 36px; height: 36px; padding: 6px 9px; border: 1px solid #d9dbea; border-radius: 7px; background: #fff; color: #30364f; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; }
.no-date-control > .no-link { min-height: 30px; padding: 4px 0; flex: 0 0 auto; font-size: 12px; white-space: nowrap; }
.no-clock-control { display: flex; align-items: center; flex: 0 0 auto; gap: 0; min-width: 0; }
.no-clock-control > input[type=time] { width: 79px; min-width: 0; min-height: 36px; height: 36px; padding: 6px 5px 6px 8px; border: 1px solid #d9dbea; border-radius: 7px; color: #45325f; background: #fbf9ff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; }
.no-clock-control > .no-btn { min-height: 28px; width: 20px; flex: 0 0 20px; padding: 3px; border: 0; background: transparent; color: #a29aa9; font-size: 17px; font-weight: 400; }
.no-clock-control > .no-btn:hover { color: #663ead; background: #f4effb; }
.no-date-arrow { display: grid; place-items: center; padding-top: 18px; color: #bab8ca; }
.no-date-arrow > :is(.icon,.co-icon) { width: 18px; height: 18px; }
.no-date-shortcuts { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; padding-left: 12px; border-left: 1px solid #eeeaf4; }
.no-date-shortcuts > small { display: inline-flex; align-items: center; gap: 4px; color: #9894a9; font-size: 10.5px; line-height: 1.2; white-space: nowrap; }
.no-date-shortcuts > small > :is(.icon,.co-icon) { width: 12px; height: 12px; }
.no-date-shortcuts > .no-btn { min-height: 30px; padding: 5px 9px; font-size: 11px; color: #6f50bd; border-color: #e1d8f9; background: #fdfbff; }
.no-schedule-compact .no-logistics-toggle { display: flex; justify-content: flex-end; margin-top: 5px; }
.no-logistics-toggle > .no-link { min-height: 20px; padding: 0; color: #8b7d9f; font-size: 10.5px; font-weight: 450; }
.no-schedule-compact .no-event-details { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #eeeaf4; }
.no-event-details > summary { min-height: 22px; font-size: 11px; font-weight: 500; color: #837391; }
.no-event-details > summary::after { font-size: 14px; color: #9b8aaf; }
.no-event-dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.no-event-dates .no-field > input { font-size: 13px; }
.no-schedule-compact > [data-no-date-warning]:not([hidden]) { margin-top: 8px; }
.no-schedule-compact > .no-field { margin-top: 8px; }
.no-schedule-compact > .dtp-panel,.no-date-strip > .dtp-panel { min-width: 0; width: 100%; grid-column: 1/-1; margin-top: 10px; }
.no-schedule-compact > .dtp-host,.no-date-strip > .dtp-host { min-width: 0; width: 100%; grid-column: 1/-1; }
.no-screen .no-product-adder { display: block; margin: 6px 0 10px; padding: 9px; }
.no-search-control { display: flex; align-items: center; gap: 5px; min-width: 0; }
.no-search-control > input[type=search] { flex: 1; width: 100%; min-width: 0; min-height: 36px; padding: 7px 10px; border: 1px solid #d8dbea; border-radius: 7px; background: #fff; font-size: 13px; }
.no-search-control > .no-btn { width: 27px; min-height: 29px; padding: 5px; border: 0; background: transparent; color: #9f92b8; }
.no-search-control > .no-btn > :is(.icon,.co-icon) { width: 16px; height: 16px; }
.no-product-adder > .no-hint { margin-top: 5px; color: #948caa; font-size: 10.5px; }
.no-product-adder > .no-product-results:not(:empty) { margin-top: 8px; }
.no-product-results:empty { display: none; }
.no-availability > small { flex: 0 0 auto; margin-left: auto; padding: 1px 5px; border-radius: 4px; color: #9298a7; background: #f4f4f8; font-size: 10px; white-space: nowrap; }
.no-screen .no-warehouse { padding: 13px 16px; }
.no-warehouse-body { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; min-width: 0; }
.no-warehouse-body > div:first-child { min-width: 0; flex: 1; }
.no-warehouse-body .no-field-label { font-size: 11px; color: #8b819e; font-weight: 500; margin-bottom: 5px; }
.no-warehouse-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; color: #363047; font-size: 14px; font-weight: 630; line-height: 1.35; }
.no-warehouse-name > :is(.icon,.co-icon) { width: 18px; height: 18px; color: #827098; flex: 0 0 18px; }
.no-warehouse-name .no-count { margin-left: 4px; font-size: 9px; background: #f2eff8; color: #a194ae; padding: 2px 5px; font-weight: 450; }
.no-warehouse-address { display: flex; align-items: baseline; gap: 5px; margin-top: 5px; color: #8e849b; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.no-warehouse-address > :is(.icon,.co-icon) { align-self: center; width: 13px; height: 13px; flex: 0 0 13px; color: #a99bb9; }
.no-warehouse-body > div:first-child > .no-hint { margin-top: 3px; color: #93899f; font-size: 10.5px; }
.no-warehouse-body .no-field { max-width: 330px; }
.no-warehouse-body .no-field > span { font-size: 10px; font-weight: 450; color: #9d93a8; }
.no-warehouse-body .no-field > select { min-height: 34px; padding-block: 6px; font-size: 12px; }
.no-warehouse-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
.no-warehouse-actions > .no-btn { min-height: 30px; padding: 5px 8px; font-size: 11px; color: #7e6b98; }
.no-warehouse-actions > .no-link { min-height: 25px; padding: 3px 0; font-size: 11px; font-weight: 500; }
.no-warehouse-actions :is(.icon,.co-icon) { width: 14px; height: 14px; }
.no-warehouse > [data-no-warehouse-settings] { margin-top: 13px; }
.no-warehouse > [data-no-warehouse-settings] + .no-link { margin-top: 7px; }
.no-warehouse > .no-hint { margin-top: 8px; }
.no-warehouse > .no-alert { margin-top: 9px; }
.no-summary .no-create-status { display: block; width: fit-content; margin: 8px auto 0; padding: 3px 8px; border-radius: 6px; color: #897798; background: #f2eef7; text-align: center; font-size: 10.5px; }
.no-crew .no-details > summary > span:last-of-type { color: inherit; font-size: 12px; font-weight: 610; margin-left: 0; }
.no-crew .no-details > summary > :is(.icon,.co-icon) { width: 15px; height: 15px; color: #a396b4; flex: 0 0 15px; }
@container no-schedule (max-width: 720px) {
  .no-date-strip { grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr); gap: 9px; }
  .no-date-shortcuts { grid-column: 1/-1; flex-direction: row; justify-content: flex-end; align-items: center; gap: 10px; padding-left: 0; padding-top: 6px; border-left: 0; border-top: 1px solid #f0edf5; }
  .no-date-control { flex-wrap: wrap; gap: 5px; }
  .no-date-control > .no-date-field { flex: 1 1 100%; }
  .no-date-control > .no-link { min-height: 23px; }
}
@container no-schedule (max-width: 390px) {
  .no-date-strip { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .no-date-arrow { display: none; }
  .no-date-point { grid-column: 1; }
  .no-date-control { flex-wrap: nowrap; }
  .no-date-control > .no-date-field { flex: 1 1 auto; }
  .no-date-shortcuts { grid-column: 1; }
  .no-event-dates { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 680px) {
  .no-basics-compact { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .no-contact-combo { padding-left: 0; padding-top: 12px; border-left: 0; border-top: 1px solid #ece7f2; }
  .no-screen .no-schedule-compact,.no-screen .no-warehouse { padding-inline: 12px; }
  .no-warehouse-body { flex-wrap: wrap; }
  .no-warehouse-actions { justify-content: flex-start; width: 100%; padding-left: 23px; }
  .no-warehouse-name .no-count { display: none; }
  .no-availability { flex-wrap: wrap; }
  .no-availability > small { margin-left: 20px; }
  .no-crew .no-details > summary > span:last-of-type { margin-left: 0; }
}
