/* ════════════════════════════════════════════════════════════════
   NEUER AUFTRAG — Assistent (public/js/pages/new-order.js)
   Nutzt die Tokens aus app.css und Bausteine aus ui.css.
   ════════════════════════════════════════════════════════════════ */

.no-page {
    max-width: 1080px; margin: 0 auto; width: 100%;
    display: flex; flex-direction: column; gap: var(--s-5);
}
.no-page [data-station="intake"]      { --c: var(--st-intake); }
.no-page [data-station="workshop_in"] { --c: var(--st-workshop_in); }
.no-page [data-station="goldsmith"]   { --c: var(--st-goldsmith); }
.no-page [data-station="watchmaker"]  { --c: var(--st-watchmaker); }
.no-page [data-station="engraving"]   { --c: var(--st-engraving); }
.no-page [data-station="office"]      { --c: var(--st-office); }
.no-page [data-station="external"]    { --c: var(--st-external); }
.no-page [data-station="ready"]       { --c: var(--st-ready); }

/* ─── Schrittanzeige ─── */
.no-steps {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.no-step {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    padding: 4px 8px 4px 4px; border-radius: 12px; text-align: left; color: var(--ink-mute);
}
button.no-step { cursor: pointer; transition: background var(--duration-fast); }
button.no-step:hover { background: var(--surface-hover); }
button.no-step:hover .no-step-label { text-decoration: underline; text-underline-offset: 3px; }
.no-step-num {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 14px; font-weight: 600;
    border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink-mute);
}
.no-step-num .ico { width: 16px; height: 16px; stroke-width: 2.5; }
.no-step.is-done .no-step-num { background: var(--st-ready); border-color: var(--st-ready); color: #fff; }
.no-step.is-current .no-step-num {
    background: var(--ink); border-color: var(--ink); color: var(--accent-on);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--ink) 12%, transparent);
}
.no-step.is-current.is-done .no-step-num { background: var(--st-ready); border-color: var(--st-ready); color: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--st-ready) 20%, transparent); }
.no-step-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.no-step-label { font-size: 14px; font-weight: 600; white-space: nowrap; }
.no-step.is-done .no-step-label, .no-step.is-current .no-step-label { color: var(--ink); }
.no-step-sub { font-size: 12px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.no-step-line { flex: 1; height: 2px; min-width: 12px; border-radius: 2px; background: var(--border); }
.no-step-line.is-done { background: var(--st-ready); }

/* ─── Karte mit Frage ─── */
.no-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
    padding: var(--s-8) var(--s-8) var(--s-10);
}
.no-head { margin-bottom: var(--s-6); }
.no-head-step {
    font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 6px;
}
.no-q { font-size: 28px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.no-q-2 { font-size: 24px; }
.no-hint { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.no-subhead { margin: var(--s-10) 0 var(--s-2); padding-top: var(--s-8); border-top: 1px solid var(--divider); }
.no-block { margin-top: var(--s-5); }

/* ─── Große Auswahlkarten ─── */
.no-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.no-choice, .no-type {
    position: relative; display: flex; align-items: center; gap: var(--s-4);
    width: 100%; min-height: 84px; padding: var(--s-4) var(--s-5);
    background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--r-lg);
    text-align: left; cursor: pointer; color: var(--ink);
    transition: border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast), transform 80ms;
}
.no-choice:hover, .no-type:hover { border-color: var(--ink-3); background: var(--surface-2); }
.no-choice:active, .no-type:active { transform: translateY(1px); }
.no-choice-icon, .no-type-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--bg-inset); color: var(--ink-2);
    transition: background var(--duration-fast), color var(--duration-fast);
}
.no-choice-icon .ico, .no-type-icon .ico { width: 24px; height: 24px; }
.no-choice-body, .no-type-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.no-choice-title, .no-type-title { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.no-choice-sub, .no-type-sub { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.no-choice-check {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    border: 1.5px solid var(--border-strong); background: var(--surface); color: transparent;
}
.no-choice-check .ico { width: 14px; height: 14px; stroke-width: 3; }
.no-choice.is-active {
    border-color: var(--ink); background: var(--surface);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 10%, transparent);
}
.no-choice.is-active .no-choice-icon { background: var(--ink); color: var(--accent-on); }
.no-choice.is-active .no-choice-check { background: var(--ink); border-color: var(--ink); color: var(--accent-on); }

.no-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.no-type { --c: var(--ink); }
.no-type-icon { background: color-mix(in oklab, var(--c) 12%, var(--surface)); color: var(--c); }
.no-type.is-active {
    border-color: var(--c);
    background: color-mix(in oklab, var(--c) 7%, var(--surface));
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--c) 18%, transparent);
}
.no-type.is-active .no-type-icon { background: var(--c); color: #fff; }
.no-type.is-active .no-choice-check { background: var(--c); border-color: var(--c); color: #fff; }

/* ─── Gruppen, Felder ─── */
.no-group { margin-top: var(--s-8); }
.no-group-head { margin-bottom: var(--s-3); }
.no-group-head h3 { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.no-group-head p { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.no-field { margin-bottom: var(--s-5); min-width: 0; }
.no-field:last-child { margin-bottom: 0; }
.no-label {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px;
}
.no-optional {
    font-size: 11px; font-weight: 500; letter-spacing: .02em;
    padding: 1px 7px; border-radius: 999px;
    background: var(--bg-inset); color: var(--ink-mute);
}
.no-help { font-size: 13px; color: var(--ink-mute); margin-top: 8px; line-height: 1.45; }
.no-help .ico, .no-hint-ok .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.no-hint-ok { color: var(--st-ready); font-weight: 550; }
.no-warn { color: var(--pri-high); font-weight: 550; }
.no-note {
    display: flex; gap: 8px; align-items: flex-start; margin-top: var(--s-4);
    font-size: 13px; color: var(--ink-3); line-height: 1.45;
}
.no-note .ico { width: 16px; height: 16px; color: var(--st-intake); margin-top: 1px; }
.no-page .form-input.is-invalid, .no-page .form-textarea.is-invalid {
    border-color: var(--pri-urgent);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--pri-urgent) 14%, transparent);
}
.no-page .form-textarea { min-height: 0; }
.no-chips { gap: 8px; }
.no-chips .chip { min-height: 46px; }
.no-chips .chip-check .ico { width: 14px; height: 14px; stroke-width: 3; color: var(--accent-on); }

/* ─── Kundensuche ─── */
.no-search { position: relative; }
.no-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); pointer-events: none; }
.no-search-icon .ico { width: 20px; height: 20px; }
.no-page .no-search-input { height: 58px; padding-left: 52px; font-size: 17px; border-radius: var(--r-lg); }
.no-results { margin-top: var(--s-3); display: flex; flex-direction: column; gap: 6px; }
.no-results-idle, .no-results-count {
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); padding: 4px 4px;
}
.no-results-idle .ico { width: 16px; height: 16px; }
.no-results-empty {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
    padding: var(--s-4) var(--s-5); border-radius: var(--r-lg);
    border: 1px dashed var(--border-strong); background: var(--surface-2); font-size: 14px; color: var(--ink-3);
}
.no-results-empty strong { color: var(--ink); }
.no-cust-row {
    display: flex; align-items: center; gap: var(--s-3); width: 100%; text-align: left;
    padding: 10px var(--s-4) 10px 10px; border-radius: var(--r-lg);
    border: 1px solid var(--border); background: var(--surface); color: var(--ink);
    transition: border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
}
.no-cust-row:hover, .no-cust-row:focus-visible { border-color: var(--ink-3); background: var(--surface-2); box-shadow: var(--shadow-md); }
.no-cust-row .avatar { width: 40px; height: 40px; font-size: 13px; }
.no-cust-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.no-cust-name { font-weight: 620; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.no-cust-meta { display: flex; gap: var(--s-3); font-size: 13px; color: var(--ink-3); min-width: 0; }
.no-cust-meta > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.no-cust-meta .ico { width: 13px; height: 13px; color: var(--ink-mute); }
.no-cust-no {
    font-size: 12px; font-weight: 600; color: var(--ink-3);
    padding: 3px 8px; border-radius: 6px; background: var(--bg-inset); white-space: nowrap;
}
.no-cust-go { color: var(--ink-faint); display: grid; }
.no-cust-row.is-first .no-cust-go { color: var(--ink-2); }

.no-picked {
    display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap;
    padding: var(--s-4) var(--s-5); border-radius: var(--r-lg);
    border: 1.5px solid color-mix(in oklab, var(--st-ready) 45%, var(--border));
    background: color-mix(in oklab, var(--st-ready) 6%, var(--surface));
}
.no-picked .avatar { background: var(--st-ready); color: #fff; }
.no-picked-main { flex: 1; min-width: 200px; }
.no-picked-label {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--st-ready);
}
.no-picked-label .ico { width: 13px; height: 13px; stroke-width: 3; }
.no-picked-name { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.no-picked-meta { display: flex; flex-wrap: wrap; gap: 4px var(--s-4); font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.no-picked-meta span { display: inline-flex; align-items: center; gap: 5px; }
.no-picked-meta .ico { width: 14px; height: 14px; color: var(--ink-mute); }

.no-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-4); }
.no-form-grid .no-field { margin-bottom: 0; }
.no-form-grid .is-wide { grid-column: 1 / -1; }

/* ─── Optionen (Gravur, KVA, Eile, Benachrichtigung) ─── */
.no-opts { display: grid; gap: var(--s-2); }
.no-opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.no-opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.no-opts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Benachrichtigung: Anruf | E-Mail, SMS | WhatsApp, „Kommt vorbei“ über die ganze Breite */
@media (min-width: 641px) {
    .no-opts-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .no-opts-5 > .no-opt:last-child { grid-column: 1 / -1; }
}
.no-opt {
    --c: var(--ink);
    display: flex; align-items: center; gap: var(--s-3); min-width: 0;
    min-height: 60px; padding: 10px var(--s-4) 10px 10px; text-align: left;
    background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
    color: var(--ink-2); cursor: pointer;
    transition: border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
}
.no-opt:hover { border-color: var(--ink-3); background: var(--surface-2); }
.no-opt-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--bg-inset); color: var(--ink-3);
}
.no-opt-icon .ico { width: 18px; height: 18px; }
.no-opt-body { display: flex; flex-direction: column; min-width: 0; }
.no-opt-title { font-size: 15px; font-weight: 620; color: var(--ink); }
.no-opt-sub { font-size: 12.5px; color: var(--ink-mute); margin-top: 1px; overflow-wrap: anywhere; }
.no-opt.is-active {
    border-color: var(--c);
    background: color-mix(in oklab, var(--c) 6%, var(--surface));
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--c) 12%, transparent);
}
.no-opt.is-active .no-opt-icon { background: var(--c); color: var(--surface); }
.no-opts.is-engr .no-opt { --c: var(--st-engraving); }
.no-opts.is-engr .no-opt[data-engraving=""] { --c: var(--ink); }
#kvaToggle .no-opt[data-kva="1"] { --c: var(--pri-high); }
#kvaToggle .no-opt[data-kva="0"] { --c: var(--st-ready); }
#kvaToggle .no-opt.is-active .no-opt-icon, .no-opts.is-engr .no-opt[data-engraving="only"].is-active .no-opt-icon,
.no-opts.is-engr .no-opt[data-engraving="after"].is-active .no-opt-icon { color: #fff; }

.no-opts-compact .no-opt { min-height: 48px; justify-content: center; padding: 8px 10px; }
.no-opts-compact .no-opt-body { align-items: center; }
.no-opt.pri-low    { --c: var(--pri-low); }
.no-opt.pri-normal { --c: var(--ink); }
.no-opt.pri-high   { --c: var(--pri-high); }
.no-opt.pri-urgent { --c: var(--pri-urgent); }
.no-opt.pri-high.is-active .no-opt-title, .no-opt.pri-urgent.is-active .no-opt-title { color: var(--c); }

.no-engr-details {
    margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-lg);
    background: color-mix(in oklab, var(--st-engraving) 6%, var(--surface));
    border: 1px solid color-mix(in oklab, var(--st-engraving) 25%, var(--border));
}
.no-engr-details[hidden] { display: none; }

.no-sendout {
    display: flex; gap: var(--s-3); align-items: flex-start;
    margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-lg);
    background: color-mix(in oklab, var(--st-external) 8%, var(--surface));
    border: 1px solid color-mix(in oklab, var(--st-external) 30%, var(--border));
    color: var(--ink-2); line-height: 1.45;
}
.no-sendout[hidden] { display: none; }
.no-sendout strong { color: var(--ink); }
.no-sendout-icon { color: var(--st-external); flex-shrink: 0; margin-top: 1px; }
.no-sendout-icon svg { width: 22px; height: 22px; }
.no-sendkind { margin-top: var(--s-4); max-width: 420px; }

/* ─── Fotos ─── */
.no-photos { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-start; }
.no-photo-btn {
    width: 104px; height: 104px; border-radius: var(--r-lg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border: 1.5px dashed var(--border-strong); background: var(--surface-2); color: var(--ink-3);
    font-size: 13px; font-weight: 550; cursor: pointer;
}
.no-photo-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.no-photo-btn .ico { width: 24px; height: 24px; }
.no-photo-btn.is-primary { border-style: solid; background: var(--ink); color: var(--accent-on); border-color: var(--ink); }
.no-photo-list { display: contents; }
.no-photo-thumb img { width: 104px; height: 104px; object-fit: cover; border-radius: var(--r-lg); display: block; }
.no-camera { position: relative; margin-top: var(--s-3); max-width: 480px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-inset); }
.no-camera video { width: 100%; display: block; }

/* ─── Schritt 3: Prüfen ─── */
.no-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: var(--s-8); align-items: start; }
.no-review-form > .no-group:first-child { margin-top: 0; }
.no-money-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.no-money-grid .no-field { margin-bottom: 0; }
.no-money-grid .no-label { min-height: 22px; }
.no-rest {
    height: 48px; display: flex; align-items: center; padding: 0 var(--s-4);
    border-radius: var(--r-md); background: var(--bg-inset); color: var(--ink); font-weight: 600; font-size: 15px;
}
.no-date { margin-top: var(--s-4); }
.no-date-add {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 var(--s-4); border-radius: var(--r-md);
    border: 1.5px dashed var(--border-strong); background: transparent; color: var(--ink-2);
    font-size: 14px; font-weight: 550; cursor: pointer;
}
.no-date-add:hover { border-color: var(--ink-3); color: var(--ink); background: var(--surface-2); }
.no-date-add .ico { width: 17px; height: 17px; }
.no-date-add[hidden], .no-date-field[hidden] { display: none; }
.no-date-row { display: flex; gap: var(--s-2); align-items: center; }
.no-date-row .form-input { max-width: 240px; }
.no-date-row .btn .ico { width: 14px; height: 14px; }
.no-date .no-help { margin-top: 6px; }

/* Zusammenfassung */
.no-summary {
    position: sticky; top: var(--s-4);
    background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: var(--s-5); font-size: 14px;
}
.no-sum-head { display: flex; align-items: center; gap: var(--s-3); padding-bottom: var(--s-4); border-bottom: 1px solid var(--border); }
.no-sum-type {
    --c: var(--ink); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
    background: color-mix(in oklab, var(--c) 14%, var(--surface)); color: var(--c);
}
.no-sum-type .ico { width: 21px; height: 21px; }
.no-sum-kicker { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.no-sum-title { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.no-sum-sec { padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.no-sum-sec:last-child { border-bottom: none; padding-bottom: 0; }
.no-sum-sec-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-2); }
.no-sum-sec-head h4 { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.no-new { font-size: 10px; letter-spacing: .04em; padding: 1px 6px; border-radius: 999px; background: color-mix(in oklab, var(--st-intake) 14%, var(--surface)); color: var(--st-intake); }
.no-sum-edit {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 550; color: var(--st-intake);
    padding: 4px 8px; margin-right: -8px; border-radius: 8px;
}
.no-sum-edit:hover { background: color-mix(in oklab, var(--st-intake) 10%, var(--surface)); }
.no-sum-edit .ico { width: 14px; height: 14px; }
.no-page dl { display: flex; flex-direction: column; gap: 8px; }
.no-sum-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-3); align-items: baseline; }
.no-sum-row dt { font-size: 12.5px; color: var(--ink-mute); }
.no-sum-row dd { color: var(--ink); overflow-wrap: anywhere; line-height: 1.45; }
.no-sum-text { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.no-pre { white-space: pre-wrap; }
.no-tag {
    display: inline-block; margin: 0 4px 4px 0; padding: 2px 8px; border-radius: 6px;
    font-size: 12.5px; font-weight: 550; background: var(--bg-inset); color: var(--ink-2); border: 1px solid var(--border);
}
.no-sum-engr {
    display: block; padding: 6px 10px; border-radius: 8px; font-weight: 550;
    background: color-mix(in oklab, var(--st-engraving) 9%, var(--surface));
    border-left: 3px solid var(--st-engraving);
}
.no-sum-engr-mode { display: block; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--st-engraving); }
.no-sum-flag.is-kva { color: var(--pri-high); font-weight: 600; }
.no-sum-pri { font-weight: 600; }
.no-sum-pri.pri-low { color: var(--pri-low); }
.no-sum-pri.pri-high { color: var(--pri-high); }
.no-sum-pri.pri-urgent { color: var(--pri-urgent); }
.no-route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.no-route-node {
    --c: var(--ink-mute);
    display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px 0 6px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
    background: color-mix(in oklab, var(--c) 12%, var(--surface)); color: var(--c);
}
.no-route-node .ico { width: 15px; height: 15px; }
.no-route-arrow { color: var(--ink-faint); display: grid; }
.no-route-arrow .ico { width: 14px; height: 14px; }

/* ─── Aktionsleiste (klebt unten) ─── */
.no-bar { position: sticky; bottom: var(--s-4); z-index: 20; }
.no-bar-inner {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-3); border-radius: var(--r-xl);
    background: color-mix(in oklab, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.no-bar-spacer { width: 1px; }
.no-bar-msg {
    flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
    font-size: 14px; color: var(--ink-mute); text-align: right;
}
.no-bar-msg .ico { width: 18px; height: 18px; flex-shrink: 0; }
.no-bar-msg.is-error { color: var(--pri-urgent); font-weight: 600; animation: noShake 360ms var(--ease-out); }
@keyframes noShake {
    0%, 100% { transform: none; }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}
.no-bar .btn-lg { min-width: 140px; }
.no-next { min-width: 170px !important; }
.no-create .ico { width: 18px; height: 18px; stroke-width: 2.5; }
.no-next:disabled { opacity: 0.35; }

/* ─── Schritt 4: angelegt, drucken ─── */
.no-done-head {
    display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap;
    padding-bottom: var(--s-6); border-bottom: 1px solid var(--divider);
}
.no-done-mark {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; background: var(--st-ready); color: #fff;
    box-shadow: 0 0 0 6px color-mix(in oklab, var(--st-ready) 18%, transparent);
}
.no-done-mark .ico { width: 28px; height: 28px; stroke-width: 2.5; }
.no-done-headtext { flex: 1; min-width: 200px; }
.no-done-sub { color: var(--ink-3); font-size: 15px; margin-top: 2px; }
.no-done-no {
    padding: 8px 16px; border-radius: var(--r-lg); background: var(--bg-inset);
    font-size: 30px !important; letter-spacing: -0.01em;
}
.no-done-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: var(--s-8); margin-top: var(--s-6); align-items: start; }
.no-done-h { font-size: 18px; font-weight: 650; margin-bottom: var(--s-3); }
.no-print-list { display: flex; flex-direction: column; gap: var(--s-3); }
.no-autoprint {
    display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3);
    padding: var(--s-3) var(--s-4); border-radius: var(--r-lg);
    background: var(--bg-inset); color: var(--ink-2); font-weight: 600; font-size: 15px;
}
.no-autoprint .ico { width: 18px; height: 18px; flex: none; }
.no-autoprint.is-ok { background: color-mix(in oklab, var(--green) 14%, var(--surface)); color: var(--green); }
.no-autoprint.is-error { background: color-mix(in oklab, var(--red) 12%, var(--surface)); color: var(--red); }
.no-print-step {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center;
    padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4); border-radius: var(--r-lg);
    border: 1px solid var(--border); background: var(--surface);
}
.no-print-num {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-mono); font-weight: 700; background: var(--ink); color: var(--accent-on);
}
.no-print-title { font-weight: 650; font-size: 16px; }
.no-print-text { font-size: 14px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.no-print-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.no-print-actions .btn .ico { width: 16px; height: 16px; }
.no-done-next { margin-top: var(--s-5); }
.no-sticker-wrap { margin-top: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: var(--bg-inset); }
.no-done-kv { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.no-done-kv dl { margin-top: var(--s-3); }

/* ─── Tablet ─── */
@media (max-width: 1180px) {
    .no-type-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
    .no-bar { bottom: calc(var(--bottomnav-h) + var(--s-2)); }
}
@media (max-width: 960px) {
    .no-review, .no-done-grid { grid-template-columns: 1fr; }
    .no-summary { position: static; }
}
@media (max-width: 820px) {
    .no-type-grid { grid-template-columns: 1fr; }
    .no-type { min-height: 68px; padding: var(--s-3) var(--s-4); }
    .no-opts-3 { grid-template-columns: 1fr; }
    .no-step-sub { display: none; }
}

/* ─── Telefon ─── */
@media (max-width: 640px) {
    .no-page { gap: var(--s-3); }
    .no-card { padding: var(--s-5) var(--s-4) var(--s-6); border-radius: var(--r-lg); }
    .no-q { font-size: 23px; }
    .no-q-2 { font-size: 21px; }
    .no-hint { font-size: 14px; }
    .no-head { margin-bottom: var(--s-5); }
    .no-steps { padding: var(--s-2) var(--s-3); gap: 6px; }
    .no-step { padding: 2px; }
    .no-step:not(.is-current) .no-step-text { display: none; }
    .no-step-num { width: 28px; height: 28px; font-size: 13px; }
    .no-choice-grid { grid-template-columns: 1fr; gap: var(--s-2); }
    .no-choice { min-height: 68px; padding: var(--s-3) var(--s-4); }
    .no-choice-icon, .no-type-icon { width: 40px; height: 40px; }
    .no-form-grid { grid-template-columns: 1fr; }
    .no-opts-2, .no-opts-3 { grid-template-columns: 1fr; }
    .no-opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #notifyToggle { grid-template-columns: 1fr; }
    .no-money-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .no-money-grid .no-field:last-child { grid-column: 1 / -1; }
    .no-subhead { margin-top: var(--s-8); padding-top: var(--s-6); }
    .no-group { margin-top: var(--s-6); }
    .no-cust-no { display: none; }
    .no-cust-mail { display: none !important; }
    .no-date-row { flex-wrap: wrap; }
    .no-date-row .form-input { max-width: none; flex: 1 1 180px; }
    .no-bar-inner { padding: var(--s-2); gap: var(--s-2); border-radius: var(--r-lg); flex-wrap: wrap; }
    .no-bar-msg { order: -1; flex: 1 1 100%; justify-content: center; text-align: center; font-size: 13px; }
    .no-bar-msg:empty { display: none; }
    .no-bar .btn-lg { min-width: 0; flex: 1; height: 50px; padding: 0 var(--s-3); }
    .no-bar .no-next { flex: 1.6; min-width: 0 !important; }
    .no-bar-spacer { display: none; }
    .no-photo-btn, .no-photo-thumb img { width: 88px; height: 88px; }
    .no-done-no { font-size: 24px !important; width: 100%; text-align: center; }
    .no-print-step { grid-template-columns: 32px minmax(0, 1fr); padding: var(--s-4); }
    .no-print-num { width: 32px; height: 32px; }
    .no-print-actions { grid-column: 1 / -1; }
    .no-sum-row { grid-template-columns: 76px minmax(0, 1fr); }
    .no-sticker-wrap { padding: var(--s-3); }
}

.no-engr-details { margin-bottom: var(--s-4); }
.no-opts.no-kva { max-width: 320px; }

/* Reklamation: Hinweis oben in Schritt 2 */
.no-complaint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: var(--s-5);
    border-radius: 12px; background: color-mix(in oklab, var(--pri-urgent) 8%, var(--surface)); color: var(--ink); }
.no-complaint .ico { width: 18px; height: 18px; color: var(--pri-urgent); flex-shrink: 0; margin-top: 2px; }
.no-complaint strong { display: block; }
.no-complaint span { font-size: 13px; color: var(--ink-mute); }

/* Dublettenwarnung beim Neukunden */
.no-dupe-list { display: grid; gap: 8px; }
.no-dupe-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; text-align: left;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.no-dupe-item:hover { border-color: var(--ink-mute); }
.no-dupe-name { font-weight: 600; }
.no-dupe-sub { grid-column: 1; font-size: 13px; color: var(--ink-mute); overflow-wrap: anywhere; }
.no-dupe-take { grid-column: 2; grid-row: 1 / span 2; font-size: 14px; font-weight: 600; color: var(--accent, var(--ink)); }

/* ─── Bestellung: Lieferzeit ─── */
.no-delivery { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.no-delivery .chip { min-height: 44px; }
.no-delivery .form-input { width: auto; min-width: 180px; flex: 0 1 220px; }

/* Anzahlungsnummer (Crystal Works) unter den Beträgen, nur mit Anzahlung */
.no-deposit-nr { margin-top: var(--s-4); max-width: 320px; }
.no-deposit-nr[hidden] { display: none; }
