/* ==========================================================================
   Orga-Dokumente 2 – App-Rahmen und neue Bereiche
   ========================================================================== */

/* ---------- Rahmen mit Seitenleiste --------------------------------------- */
.shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.shell.compact { grid-template-columns: 68px minmax(0, 1fr); }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #1C1C1E; color: #E9E9EC;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; z-index: 40; }
.side-top { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; font-weight: 650; letter-spacing: -.01em; }
.side-top .dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: conic-gradient(from 200deg, #CE1127, #FFC000, #6F8D62, #18788F, #173E6A, #9B696B, #CE1127); color: #fff; }
.side-top .dot .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.side-nav { flex: 1; overflow: auto; padding: 4px 10px; display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; color: #C9C9CF;
  font-size: 14px; font-weight: 500; text-align: left; position: relative; transition: background .15s, color .15s; }
.nav-item .icon { width: 19px; height: 19px; }
.nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-item.on { background: rgba(255, 255, 255, .13); color: #fff; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #E5484D; color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.nav-sep { margin: 16px 10px 6px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: #7D7D85; }
.side-foot { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.side-foot .sf-txt { min-width: 0; }
.side-foot b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: #8E8E96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot small .icon { width: 12px; height: 12px; }
.av.sm { width: 30px; height: 30px; font-size: 11.5px; background: #3A3A3F; color: #fff; }
.shell.compact .side-title, .shell.compact .nav-item span, .shell.compact .nav-sep, .shell.compact .sf-txt { display: none; }
.shell.compact .nav-item { justify-content: center; padding: 10px 0; }
.shell.compact .nav-badge { position: absolute; top: 3px; right: 6px; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
.shell.compact .side-top, .shell.compact .side-foot { justify-content: center; padding-left: 0; padding-right: 0; }
.main { min-width: 0; }
@media (max-width: 1200px) { .shell { grid-template-columns: 68px minmax(0, 1fr); } .side-title, .nav-item span, .nav-sep, .sf-txt { display: none; }
  .nav-item { justify-content: center; padding: 10px 0; } .side-top, .side-foot { justify-content: center; } }

/* ---------- Seiten ----------------------------------------------------------- */
.page { max-width: 1180px; margin: 0 auto; padding: 34px 36px 60px; animation: rise .3s var(--ease) both; }
.page.wide { max-width: 1400px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-head h1 { font-family: var(--font-head); font-size: 32px; line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.page-head .lead { margin: 6px 0 0; font-size: 16px; color: var(--muted); }
.ph-left { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ph-left > .btn.ghost { margin-left: -14px; height: 34px; }
.ph-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.section-title { font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 26px 0 12px; display: flex; align-items: center; gap: 6px; }
.section-title.red { color: var(--danger); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-head .section-title, .section-head .sub-title { margin-bottom: 12px; }
.sub-title { font-size: 15px; font-weight: 650; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.sub-title.small { font-size: 13.5px; margin: 16px 0 8px; }
.sub-title .icon { width: 17px; height: 17px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.card.pad { padding: 20px 22px; margin-bottom: 16px; }
.card-list { display: grid; gap: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.two-col.wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .two-col, .two-col.wide-left { grid-template-columns: 1fr; } }
.row-start { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-end { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); margin: 6px 0; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace !important; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; background: var(--bg); padding: 1px 6px; border-radius: 5px; }
.empty-big { text-align: center; padding: 48px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty-big .icon { width: 46px; height: 46px; stroke-width: 1.3; }
.empty-big h3 { margin: 10px 0 4px; color: var(--text); font-size: 18px; }
.empty-big p { margin: 0 auto 16px; max-width: 460px; }
.empty-note { display: flex; gap: 8px; align-items: center; justify-content: center; }
.empty-note .icon { width: 16px; height: 16px; }
.info-block { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.info-block > .icon { width: 22px; height: 22px; color: var(--muted); flex: none; margin-top: 2px; }
.info-block p { margin: 0 0 8px; }
.info-block ul { margin: 0 0 10px; padding-left: 18px; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 650;
  background: color-mix(in srgb, var(--b, #556) 14%, #fff); color: var(--b, #445); white-space: nowrap; }
.badge.ok { --b: #17693F; } .badge.warn { --b: #8A5200; } .badge.err { --b: #B3261E; } .badge.plain { background: #EFEEEA; color: #666; }
.ochip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 650;
  background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); white-space: nowrap; }
.odot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 6px; vertical-align: 1px; flex: none; }
.sel-sm { width: auto !important; height: 40px !important; font-size: 14px !important; }
.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar .search { max-width: 360px; }
.check-row.small { font-size: 13.5px; }
.check-row.dis { opacity: .5; }
.inp.sm { height: 36px; font-size: 14px; padding: 0 10px; border-radius: 8px; }
.inp.sm.r { text-align: right; }
select.inp.sm { padding-right: 28px; background-position: right 8px center; }
.color-row { display: flex; align-items: center; gap: 10px; height: 46px; }
.color-row input[type=color], .field input[type=color] { width: 54px; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab { border: 0; background: none; padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); border-bottom-color: var(--text); }
.dropdown { position: relative; }
.dd-menu { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 30; min-width: 230px; }
.dropdown.open .dd-menu { display: block; }
.dd-menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 8px; text-align: left; font-size: 14px; }
.dd-menu button:hover { background: #F2F1ED; }

/* ---------- Tabellen -------------------------------------------------------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 6px 8px; border-bottom: 1px solid #F0EEE9; vertical-align: middle; }
.tbl td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.tbl .r { text-align: right; }
.tbl tr.off td { opacity: .6; }
.tbl.map td:first-child { max-width: 300px; }

/* ---------- Startseite ------------------------------------------------------ */
.quick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .quick-row { grid-template-columns: repeat(2, 1fr); } }
.org-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.org-card .logo-zone { height: 112px; }
.org-card .logo-zone img { max-height: 64px; }
.org-card.add { border-style: dashed; background: transparent; box-shadow: none; }
.org-card.add::before { display: none; }
.org-card.add .logo-zone { background: transparent; color: var(--muted); }
.org-card.add .logo-zone .icon { width: 34px; height: 34px; }
.home-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
@media (max-width: 1100px) { .home-cols { grid-template-columns: 1fr; } }
.link.more { margin: 6px auto 0; }
.frist-row, .doc-row, .pers-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-align: left; width: 100%; }
.pers-row { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.pers-row:hover { border-color: #CFCBC2; box-shadow: var(--shadow-sm); }
.frist-row .txt, .doc-row .txt, .pers-row .t { flex: 1; min-width: 0; }
.frist-row strong, .doc-row strong, .pers-row strong { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frist-row small, .doc-row small, .pers-row small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frist-row.done strong { text-decoration: line-through; color: var(--muted); }
.doc-row .mini { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.doc-row .mini .icon { width: 17px; height: 17px; }
.doc-row .mini.ok { background: #E7F5EE; color: var(--ok); }
.doc-row.err { color: var(--danger); }
.tick { width: 26px; height: 26px; border-radius: 99px; border: 1.5px solid #CFCBC2; background: #fff; display: grid; place-items: center; color: transparent; flex: none; padding: 0; }
.tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.tick:hover { border-color: var(--ok); color: var(--ok); }
.tick.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.due { font-size: 12.5px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.due.over { color: var(--danger); } .due.today, .due.soon { color: var(--warn); }
.date-box { width: 46px; text-align: center; flex: none; line-height: 1.1; }
.date-box b { display: block; font-size: 18px; }
.date-box small { font-size: 11px; color: var(--muted); text-transform: uppercase; }

/* ---------- Master-Detail (Kontakte) ----------------------------------------- */
.md { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-height: 640px; }
.md-side { border-right: 1px solid var(--line); background: #FBFAF8; display: flex; flex-direction: column; min-height: 0; }
.md-filter { padding: 14px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.md-filter .sel-sm { width: 100% !important; }
.md-list { overflow: auto; padding: 6px; max-height: 72vh; }
.md-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 10px; text-align: left; }
.md-item:hover { background: #F1F0EC; }
.md-item.on { background: #E9E7E1; }
.md-item .t { flex: 1; min-width: 0; }
.md-item strong { display: block; font-size: 14.5px; font-weight: 600; }
.md-item small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-item .av { background: #E4E2DC; color: #555; }
.dots { display: flex; gap: 2px; } .dots .odot { margin: 0; }
.md-main { min-width: 0; }
.md-main .empty-big { padding-top: 120px; }
.detail { padding: 24px 28px; }
.detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.detail-head h2 { margin: 0; font-size: 22px; } .detail-head h1 { margin: 0; }
.detail-head small { color: var(--muted); }
.av.big { width: 54px; height: 54px; font-size: 18px; background: #1D1D1F; color: #fff; }
.sticky-actions { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.note-add { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.note-add textarea { min-height: 46px; height: 46px; }
.timeline { display: grid; gap: 10px; }
.tl-item { display: flex; gap: 10px; }
.tl-ic { width: 30px; height: 30px; border-radius: 99px; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--muted); }
.tl-ic .icon { width: 15px; height: 15px; }
.tl-item.dokument .tl-ic { background: #EAF1FB; color: #2457A6; }
.tl-item.mail .tl-ic { background: #EEF6F1; color: #17694A; }
.tl-text { font-size: 14px; white-space: pre-wrap; }
.tl-item small { color: var(--muted); font-size: 12px; }

/* ---------- Organisationen verwalten ------------------------------------------ */
.org-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.org-admin { display: flex; align-items: stretch; text-align: left; padding: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; border-left: 5px solid var(--c); }
.org-admin:hover { box-shadow: var(--shadow); }
.org-admin .logo-zone { width: 120px; display: grid; place-items: center; padding: 12px; flex: none; }
.org-admin .logo-zone img { max-width: 100%; max-height: 54px; object-fit: contain; }
.org-admin .logo-zone .wordmark { font-size: 16px; }
.oa-body { padding: 14px 16px; display: grid; gap: 3px; min-width: 0; }
.oa-body strong { font-size: 15px; }
.oa-body small { color: var(--muted); font-size: 12.5px; display: flex; gap: 6px; align-items: center; }
.oa-body small .icon { width: 13px; height: 13px; }
.logo-edit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 46px; }
.logo-prev { max-height: 40px; max-width: 140px; object-fit: contain; }

/* ---------- Projekte -------------------------------------------------------- */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.proj-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: box-shadow .15s, transform .15s; }
.proj-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.proj-card strong { font-size: 16px; }
.proj-card small { color: var(--muted); font-size: 12.5px; }
.pc-top { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-frist { font-size: 12.5px; font-weight: 600; display: flex; gap: 6px; align-items: center; color: var(--muted); margin-top: 4px; }
.pc-frist .icon { width: 14px; height: 14px; }
.pc-frist.over { color: var(--danger); } .pc-frist.soon, .pc-frist.today { color: var(--warn); }
.prog { height: 6px; border-radius: 99px; background: #EEEDE8; overflow: hidden; margin-top: 4px; }
.prog i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.prog.big { height: 10px; margin: 14px 0 6px; }
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fin-grid small { display: block; color: var(--muted); font-size: 12px; }
.fin-grid b { font-size: 18px; font-variant-numeric: tabular-nums; }
.form-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.frist-edit { display: grid; grid-template-columns: 24px 1fr 160px 150px 36px; gap: 8px; align-items: center; padding: 4px 0; }
.frist-edit.done .inp { text-decoration: line-through; color: var(--muted); }
.prog-card .tbl { margin-top: 4px; }

/* ---------- Personal / Assistenten -------------------------------------------- */
.pers-row .av { background: #E4E2DC; color: #555; }
.cl-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid #F0EEE9; font-size: 14px; cursor: pointer; }
.cl-item input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ok); flex: none; }
.cl-item span { flex: 1; } .cl-item small { color: var(--muted); font-size: 12px; }
.cl-item.done span { text-decoration: line-through; color: var(--muted); }
.success.left { text-align: left; padding: 6px 0 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.success.left .ring { grid-row: span 2; margin: 0; width: 64px; height: 64px; }
.success.left .ring .icon { width: 30px; height: 30px; }
.success.left h2, .success.left .sub { margin: 0; }
.ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.ob-grid .span2 { grid-column: 1 / -1; }
.ob-grid .card { margin: 0; }
@media (max-width: 1100px) { .ob-grid { grid-template-columns: 1fr; } }
.ob-grid code { font-size: 13.5px; }
.ob-grid .icon-btn { height: 28px; min-width: 28px; padding: 0 6px; vertical-align: middle; }
.ob-grid .icon-btn .icon { width: 15px; height: 15px; }
.steps-list { margin: 0 0 14px; padding-left: 20px; line-height: 1.9; }
.copy-fields { display: flex; gap: 12px; flex-wrap: wrap; }
.copy-fields > div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; }
.copy-fields small { color: var(--muted); font-size: 11.5px; display: block; }
.plain-list { margin: 0; padding-left: 18px; line-height: 1.8; font-size: 14px; }
.plain-list ul { padding-left: 18px; }
.kontext-panel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--soft) 55%, var(--surface)); border: 1px solid var(--line); }
.kontext-panel label { font-weight: 600; font-size: 14px; }
.kontext-panel .inp { width: auto; min-width: 320px; height: 40px; }
.kontext-panel > .icon { color: var(--brand); }
.grp-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 22px 0 10px; font-weight: 650; }
.grp-title:first-of-type { margin-top: 4px; }

/* Positionen */
.pos-table { display: grid; gap: 8px; }
.pos-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 90px 140px 110px 36px; gap: 8px; align-items: start; }
.pos-row.head { font-size: 12px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .04em; align-items: end; }
.pos-row .inp { height: 46px; }
.pos-row textarea.inp { min-height: 46px; padding-top: 12px; }
.pos-nr { padding-top: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.pos-sum { padding-top: 13px; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.pos-table > .btn { justify-self: start; }

/* Formular-Baukasten */
.form-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.form-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; }
.form-card:hover { box-shadow: var(--shadow-sm); }
.form-card .ico { width: 40px; height: 40px; border-radius: 11px; background: #EEEDE8; display: grid; place-items: center; flex: none; }
.form-card .t { flex: 1; min-width: 0; }
.form-card strong { display: block; font-size: 15px; }
.form-card small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-card.add { border-style: dashed; background: transparent; }
.steps-edit { display: grid; gap: 8px; }
.step-edit { display: grid; grid-template-columns: 22px 220px 1fr 80px 36px; gap: 8px; align-items: center; }
.step-edit > .icon { color: var(--muted); }

/* Einstellungen */
.set-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F0EEE9; }
.set-row:last-child { border-bottom: 0; }
.set-row > .icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.set-row > div { flex: 1; min-width: 0; }
.set-row b { display: block; font-size: 14.5px; }
.set-row small { display: block; color: var(--muted); font-size: 12.5px; }

/* Archiv als Seite */
.page .arch-sums { padding: 0 0 12px; border: 0; }
.page table.arch th { background: #fff; }
.anh-list { display: grid; gap: 4px; }
.anh-list .check-row .icon { width: 15px; height: 15px; vertical-align: -2px; }

/* Ersteinrichtung */
.setup { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(1200px 600px at 20% -10%, #ECE8DF, transparent), #F4F3EF; }
.setup-card { max-width: 640px; background: #fff; border-radius: 22px; padding: 36px 40px; box-shadow: var(--shadow-lg); animation: rise .4s var(--ease) both; }
.setup-card h1 { font-size: 34px; margin: 22px 0 8px; letter-spacing: -.02em; }
.setup-card .lead { font-size: 17px; color: var(--muted); margin: 0 0 18px; }
.app-mark.big { font-size: 15px; }
.setup-tips { display: grid; gap: 12px; }
.setup-tips > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.setup-tips .icon { width: 20px; height: 20px; color: #6E6E73; flex: none; margin-top: 2px; }

/* Assistenten im Rahmen: Kopfzeile im Inhaltsbereich */
.main > .topbar { position: sticky; top: 0; }
.main .workspace { padding-top: 24px; }
.btn.danger { background: #B3261E; border-color: #B3261E; color: #fff; }
a.btn { text-decoration: none; }
.home-cols > section, .two-col > section { min-width: 0; }
.field label.check-row { justify-content: flex-start; font-weight: 500; font-size: 14px; }
.ob-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ob-grid .tbl code { word-break: break-all; }
.ob-grid .tbl td { vertical-align: top; }
.stage { min-width: 0; }
.tbl td:first-child .inp.sm { min-width: 0; }
.card .tbl input[data-e$=".nr"] { max-width: 70px; }
