/* App-Schicht über intake.css (Canvas-Tokens, unverändert übernommen): echte Seitenbreiten statt 1440-px-Artboard,
   Dark mode automatisch nach Systemeinstellung (gleicher Token-Remap wie .ix.dark), Schrift lokal (keine Google-Anfrage). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

html, body { margin: 0; background: #f7f8fa; }
.ix { width: auto; min-height: 100vh; display: flex; flex-direction: column; }
.ix-main { width: 100%; flex: 1 0 auto; }
@media (prefers-color-scheme: dark) {
  html, body { background: #0b1220; }
  .ix:not(.light) {
  --ea-paper:#0b1220; --surface:#111a27; --ea-subtle:#16212e; --ea-line:#243244; --ea-field-line:#4a5c72;
  --ea-ink:#e8eef5; --ea-text-2:#aab6c4; --muted:#8b98a8; --muted-2:#7c8a9c;
  --ea-accent:#3b9ec4; --ea-accent-soft:#16324a; --ea-accent-line:#25536a; --ea-accent-ink:#9fd4ea;
  --btn-primary-bg:#1d2b3e; --btn-primary-line:#2d3e52; --btn-primary-hover:#24384e; --btn-primary-t:#ffffff;
  --neu-t:#c7d2de; --neu-s:#1a2533; --neu-b:#2d3e52;
  --ok-t:#6ee7b7; --ok-s:#10231b; --ok-b:#1e3a2c;
  --caut-t:#fcd34d; --caut-s:#241d0e; --caut-b:#3d3115;
  --fail-t:#fca5a5; --fail-s:#241315; --fail-b:#3d1f22;
  --info-t:#7dd3fc; --info-s:#0e1d30; --info-b:#17324a;
  color-scheme:dark;
}
  .ix:not(.light) .ix-brand svg { background: #ffffff; border-radius: 8px; padding: 3px; }
  .ix:not(.light) .ix-ft { color: var(--ea-text-2); }
}

/* Kleinere Bildschirme: Kontaktspalte unter den Inhalt, Kopf- und Fussleiste umbrechen (16 px Rand). */
@media (max-width: 1000px) {
  .ix-main { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 40px; column-gap: 0; }
  .ix-main > .ix-side { grid-column: 1; grid-row: auto; position: static; order: 99; }
  .ix-top__in { padding: 0 16px; height: auto; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
  .ix-bar__in, .ix-foot__in { padding-left: 16px; padding-right: 16px; flex-wrap: wrap; }
  .ix-brand span { display: none; }
  .ix-row { flex-direction: column; }
  ol.ix-how { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Bausteine, die im Canvas inline gestylt waren */
.ix-req { padding: 20px 24px; border-bottom: 1px solid var(--ea-line); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ix-req:last-child { border-bottom: 0; }
.ix-req.overdue { background: var(--caut-s); }
.ix-req.done { background: var(--ea-subtle); }
.ix-req__b { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ix-req__n { font-weight: 600; }
.ix-req .ix-btn, .ix-req .ix-req__a { min-width: 150px; }
.ix-cardhead { padding: 20px 24px; border-bottom: 1px solid var(--ea-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ix-card.flush { padding: 0; gap: 0; overflow: hidden; }
.ix-empty { padding: 32px 24px; color: var(--muted); }
.ix-langform { display: flex; gap: 8px; align-items: center; }
.ix-langform button { min-height: 44px; }
.js .ix-langform button { display: none; }
.ix-inline { display: inline; margin: 0; }
.ix-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 16px; color: var(--ea-accent-ink); text-decoration: underline; cursor: pointer; }
.ix-mail-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ix-col { display: flex; flex-direction: column; gap: 4px; }
.ix-strong { font-size: 20px; font-weight: 600; }
.ix-banner-draft { background: var(--caut-s); color: var(--caut-t); border-bottom: 1px solid var(--caut-b); font-size: 14px; padding: 6px 40px; }
.ix-how-n { width: 36px; height: 36px; font-size: 16px; }
.ix-err-list { margin: 0; padding-left: 20px; }
.ix-nowrap { white-space: nowrap; }
.ix-parts { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
/* Prüfen: Filter-Chips als Links, aufklappbare Eingaben in einer Tabellenzeile */
.ix-chips a.ix-tab { display: inline-flex; align-items: center; text-decoration: none; }
.ix-chips a.ix-tab.on { background: var(--ea-accent-soft); border-color: var(--ea-accent-line); color: var(--ea-accent-ink); font-weight: 600; }
.ix-q form { margin: 0; }
details.ix-more { display: inline-block; }
details.ix-more > summary { list-style: none; cursor: pointer; }
details.ix-more > summary::-webkit-details-marker { display: none; }
details.ix-more[open] { display: flex; flex-direction: column; gap: 8px; }
.ix-edit { display: inline-flex; gap: 8px; align-items: center; }
/* Prüfen-Tabelle: Antwortspalte breit genug, Schaltflächen nebeneinander (Canvas Check) */
.ix-table.check { table-layout: fixed; width: 100%; }
.ix-table.check th:nth-child(1) { width: 22%; }
.ix-table.check th:nth-child(2) { width: 11%; }
.ix-table.check th:nth-child(3) { width: 8%; }
.ix-table.check th:nth-child(5) { width: 15%; }
.ix-table.check .ix-q { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ix-table.check .ix-q .ix-btn { white-space: nowrap; }
html .ix-table.check td.src { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .ix-table.check { table-layout: auto; } }

/* Handy-Kopplung und Handy-Seiten (Canvas ScanConnect, PhoneScan, PhoneReview) */
.ix-qrbox { background: #ffffff; padding: 12px; border-radius: 12px; border: 1px solid var(--ea-line); line-height: 0; }
.ix-qrbox svg { width: 220px; height: 220px; }
.ix-qrbox svg path { fill: #0b1a2b; }
.ix-phone .ix-top__in { height: 56px; }
.ix-phone__main { padding: 16px; display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin: 0 auto; width: 100%; flex: 1 0 auto; }
.ix-phone__foot { padding: 16px; text-align: center; }
.ix-phone__to { gap: 6px; }
.ix-phone__list { display: flex; flex-direction: column; gap: 10px; }
.ix-phone__shots { display: flex; flex-direction: column; gap: 14px; }
.ix-phone__cam { min-height: 64px; font-size: 20px; gap: 12px; }
.ix-phone__pages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ix-phone__pages li { display: flex; flex-direction: column; gap: 6px; }
.ix-phone__pages img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 1px solid var(--ea-line); }
/* hidden muss gegen Komponenten mit eigenem display gewinnen (z. B. .ix-alert) */
[hidden] { display: none !important; }
