:root { --navy: #12283a; --acc: #1a7f6b; --acc-d: #146353; --bg: #f4f6f8; --card: #fff; --line: #dfe5ea; --line2: #c5cfd8; --txt: #17212b; --mut: #5d6b79; --red: #b3261e; --amb: #9a6400; --amb-bg: #fff4d6; --grn-bg: #e3f4ee; --red-bg: #fde8e6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--txt); font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
a { color: var(--acc-d); }
h1 { font-size: 1.45rem; margin: 0 0 14px; }
h2 { font-size: 1.05rem; margin: 0 0 10px; }

header.top { background: var(--navy); color: #fff; }
header.top .in { max-width: 1100px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 54px; }
.brand { font-weight: 700; font-size: 1.05rem; margin-right: 18px; letter-spacing: .2px; }
.brand small { display: block; font-weight: 400; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
nav a { color: #d5dee6; text-decoration: none; padding: 7px 12px; border-radius: 7px; font-size: .95rem; display: inline-flex; align-items: center; gap: 7px; }
nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
nav a.on { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.badge { background: #f08a5d; color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; line-height: 19px; font-weight: 700; }
.who { margin-left: auto; font-size: .88rem; color: #d5dee6; display: flex; align-items: center; gap: 12px; }
.who button { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 7px; padding: 5px 11px; font: inherit; cursor: pointer; }

main { max-width: 1100px; margin: 0 auto; padding: 22px 16px 70px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grow { flex: 1; min-width: 180px; }
.mut { color: var(--mut); }
.small { font-size: .86rem; }

label { display: block; font-size: .84rem; font-weight: 600; color: var(--mut); margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=date], input[type=password], input[type=search], select, textarea { width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line2); border-radius: 8px; padding: 9px 11px; }
textarea { min-height: 220px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.btn { font: inherit; font-weight: 600; border: 1px solid var(--line2); background: #fff; color: var(--txt); border-radius: 8px; padding: 9px 16px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--mut); }
.btn.pri { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn.pri:hover { background: var(--acc-d); }
.btn.danger { color: var(--red); }
.btn.rec { background: var(--red); border-color: var(--red); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }

.login { max-width: 380px; margin: 9vh auto 0; }
.login h1 { text-align: center; }
.err { color: var(--red); font-size: .9rem; min-height: 1.3em; margin-top: 8px; }

.ask textarea { min-height: 84px; font-size: 1.05rem; }
.answer { white-space: pre-wrap; font-size: 1.02rem; }
.srcs { margin: 0; padding: 0; list-style: none; }
.srcs li { border-top: 1px solid var(--line); padding: 10px 0; }
.srcs li:first-child { border-top: 0; }
.num { display: inline-block; min-width: 24px; text-align: center; border: 1px solid var(--line2); border-radius: 6px; font-size: .8rem; font-weight: 700; margin-right: 8px; color: var(--mut); }
mark { background: #ffe9a8; padding: 0 2px; border-radius: 3px; }
.note { background: var(--amb-bg); border: 1px solid #ecd59a; border-radius: 8px; padding: 10px 12px; font-size: .92rem; margin: 10px 0; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid var(--line); padding: 12px 2px; cursor: pointer; }
.list li:first-child { border-top: 0; }
.list li:hover { background: #f8fafb; }
.list .t { font-weight: 600; }
.meta { font-size: .82rem; color: var(--mut); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 3px; }
.pill { font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 1px 9px; border: 1px solid var(--line2); color: var(--mut); background: #fff; }
.pill.freigegeben { background: var(--grn-bg); border-color: #b5dccf; color: var(--acc-d); }
.pill.eingereicht { background: var(--amb-bg); border-color: #ecd59a; color: var(--amb); }
.pill.abgelehnt { background: var(--red-bg); border-color: #f1c1bc; color: var(--red); }
.empty { text-align: center; color: var(--mut); padding: 30px 10px; }

.body { white-space: pre-wrap; overflow-wrap: anywhere; }
.files { list-style: none; padding: 0; margin: 8px 0 0; }
.files li { font-size: .9rem; padding: 3px 0; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
label.btn { margin: 0; font-size: inherit; color: var(--txt); }
.filebtn { position: relative; overflow: hidden; }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

#toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,.22); z-index: 50; max-width: 92vw; }
#toast.bad { background: var(--red); }

@media (max-width: 640px) {
  header.top .in { padding: 8px 12px; }
  .brand { width: 100%; margin: 0 0 4px; }
  .who { width: 100%; margin: 4px 0 0; justify-content: space-between; }
  main { padding: 14px 10px 60px; }
  .card { padding: 14px; }
}

textarea.low { min-height: 78px; }
.steps { padding-left: 22px; margin: 14px 0; }
.steps li { margin-bottom: 12px; }
.steps li.open b { color: var(--amb); }
.step { border: 1px solid var(--line); border-radius: 9px; padding: 10px; margin-bottom: 10px; background: #fafbfc; }
.step textarea { margin-top: 8px; }
.btn.big { padding: 14px 24px; font-size: 1.05rem; text-decoration: none; display: inline-block; }
a.btn { text-decoration: none; display: inline-block; }
.run h1 { font-size: 1.6rem; margin: 16px 0 10px; }
.bigtext { font-size: 1.08rem; }
.bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; background: var(--acc); border-radius: 999px; }

.msgs { display: flex; flex-direction: column; gap: 10px; max-height: 52vh; overflow-y: auto; padding: 4px 2px 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ai { align-self: flex-start; background: #eef2f5; border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--acc); color: #fff; border-bottom-right-radius: 4px; max-height: 220px; overflow: hidden; }
.msg.ok { background: var(--grn-bg); }
.prop { border: 2px solid var(--acc); border-radius: 10px; padding: 14px; margin: 4px 0 14px; background: #fbfdfc; }
.prop h2 { margin: 2px 0 4px; font-size: 1.15rem; }
.prop .body { margin: 10px 0; max-height: 40vh; overflow-y: auto; }
.chat form textarea { min-height: 70px; }

.stepimg { display: block; max-width: 100%; max-height: 62vh; border-radius: 10px; border: 1px solid var(--line); margin: 10px 0; }
.stepimg.small { max-height: 220px; }
.thumb { height: 64px; border-radius: 6px; border: 1px solid var(--line); }
h2.sub { margin-top: 16px; }
.prep { margin: 12px 0; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #fafbfc; }
.prep summary { cursor: pointer; font-weight: 600; }

label.chk { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; color: var(--txt); font-size: .95rem; margin: 12px 0 0; }
label.chk input { margin-top: 4px; }
label.btn.pri { color: #fff; }

.tablewrap { overflow-x: auto; }
table.acc { border-collapse: collapse; width: 100%; font-size: .9rem; }
table.acc th { font-size: .74rem; font-weight: 600; color: var(--mut); padding: 6px 4px; vertical-align: bottom; text-align: center; max-width: 86px; }
table.acc th:first-child, table.acc td:first-child { text-align: left; min-width: 170px; }
table.acc td { border-top: 1px solid var(--line); padding: 8px 4px; text-align: center; }
table.acc td.std { background: #eef2f5; }
table.acc input { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.chip { font-size: .82rem; text-decoration: none; color: var(--txt); background: #eef2f5; border: 1px solid var(--line); border-radius: 999px; padding: 2px 11px; }
.chip span { color: var(--mut); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; margin-right: 3px; }
.chip:hover { border-color: var(--acc); }
b.rec { color: var(--acc-d); }

.btn.small { padding: 4px 10px; font-size: .82rem; font-weight: 500; }
.list li.off { opacity: .7; cursor: default; }

.ask textarea { min-height: 150px; font-size: 1.15rem; line-height: 1.5; }
.answer { font-size: 1.1rem; line-height: 1.7; }
.card:has(> .answer) { padding: 22px 24px; }
input[type=text], input[type=email], input[type=date], input[type=password], input[type=search], select, textarea { font-size: 16px; }
@media (max-width: 640px) {
  .ask .tools { flex-direction: column; align-items: stretch; }
  .ask .tools .row { display: grid; grid-template-columns: 1fr 1fr; }
  .ask textarea { min-height: 130px; }
  .btn.big { padding: 15px 12px; text-align: center; }
  nav a { padding: 8px 10px; }
  .msgs { max-height: none; }
  .msg { max-width: 94%; }
  .row > select.grow, .row > input.grow { min-width: 100%; }
  h1 { font-size: 1.25rem; }
}

.ask { position: relative; }
.ask textarea { padding-right: 46px; }
.clr { position: absolute; top: 26px; right: 26px; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--mut); font-size: 22px; line-height: 1; cursor: pointer; }
.clr:hover { color: var(--txt); border-color: var(--mut); }
.asked { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; background: var(--grn-bg); border: 1px solid #b5dccf; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 1.05rem; overflow-wrap: anywhere; }
@media (max-width: 640px) { .clr { top: 22px; right: 22px; } }

.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pics .stepimg { margin: 0; max-height: 260px; width: 100%; object-fit: contain; background: #fafbfc; }
.body .stepimg { white-space: normal; }

.pdfbox { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin: 12px 0; background: #fafbfc; }
iframe.pdf { width: 100%; height: 78vh; border: 0; border-radius: 6px; margin-top: 8px; background: #fff; }
table.tb { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: .95rem; }
table.tb th, table.tb td { border: 1px solid var(--line2); padding: 7px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
table.tb th { background: #eef2f5; }
@media (max-width: 640px) { iframe.pdf { height: 60vh; } }

.backbar { position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; justify-content: space-between; padding: 8px 0; margin: -8px 0 6px; background: var(--bg); }
.backbar .btn { box-shadow: 0 1px 4px rgba(0,0,0,.08); }
details.pdfbox > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; list-style: none; }
details.pdfbox > summary::-webkit-details-marker { display: none; }
details.pdfbox > summary span { border: 1px solid var(--line2); border-radius: 8px; padding: 4px 12px; font-size: .86rem; font-weight: 600; background: #fff; white-space: nowrap; }
details.pdfbox[open] .pdfo, details.pdfbox:not([open]) .pdfx { display: none; }

.askchat { display: flex; flex-direction: column; min-height: calc(100vh - 150px); max-width: 860px; margin: 0 auto; }
.askhead h1 { margin: 0; }
.alog { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px 0 20px; }
.amsg { overflow-wrap: anywhere; scroll-margin-top: 70px; }
.amsg.me { align-self: flex-end; max-width: 85%; background: var(--acc); color: #fff; padding: 10px 16px; border-radius: 18px 18px 4px 18px; white-space: pre-wrap; font-size: 1.05rem; }
.amsg.ai { align-self: stretch; background: var(--card); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 16px 18px; }
.amsg.ai.err { color: var(--red); }
.amsg.ai .answer { font-size: 1.06rem; line-height: 1.65; }
a.num { text-decoration: none; margin: 0 2px; }
a.num:hover { border-color: var(--acc); color: var(--acc-d); }
.asrc { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.asrc summary { cursor: pointer; color: var(--mut); font-size: .88rem; font-weight: 600; }
.composer { position: sticky; bottom: 0; display: flex; align-items: flex-end; gap: 8px; background: var(--card); border: 1px solid var(--line2); border-radius: 24px; padding: 8px 8px 8px 16px; box-shadow: 0 -6px 18px rgba(244,246,248,.95), 0 4px 16px rgba(0,0,0,.08); margin-bottom: 6px; }
.composer:focus-within { border-color: var(--acc); }
.composer textarea { flex: 1; border: 0; outline: 0; resize: none; min-height: 0; padding: 9px 0; font-size: 1.05rem; line-height: 1.45; background: transparent; max-height: 40vh; }
.composer textarea:focus { outline: 0; }
.btn.round { width: 44px; height: 44px; padding: 0; border-radius: 999px; font-size: 1.15rem; flex: none; }
.askfoot { text-align: center; padding: 4px 0 2px; position: sticky; bottom: -30px; }
.ahello { margin: auto; text-align: center; padding: 30px 10px; }
.ahello .big { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.exs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.exs .chip { cursor: pointer; font: inherit; font-size: .92rem; padding: 7px 14px; }
.dots i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mut); margin-right: 3px; animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (max-width: 640px) { .askchat { min-height: calc(100vh - 230px); } .amsg.ai { padding: 13px 14px; } .composer { border-radius: 20px; } }

.askhead { display: flex; justify-content: flex-end; min-height: 0; }
.composer textarea { min-height: 84px; }
.composer { border-radius: 20px; padding: 10px 10px 10px 18px; }
.askchat { min-height: calc(100vh - 130px); }

.apics { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 14px; }
.apics a { display: block; text-decoration: none; color: var(--txt); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafbfc; }
.apics a:hover { border-color: var(--acc); }
.apics img { display: block; width: 100%; height: 150px; object-fit: cover; background: #e9eef2; }
.apics span { display: block; padding: 6px 8px; font-size: .8rem; line-height: 1.3; max-height: 3.4em; overflow: hidden; }
@media (max-width: 640px) { .apics { grid-template-columns: repeat(2, 1fr); } .apics img { height: 120px; } }

.lhgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 14px; }
.lhgrid label { margin-top: 8px; }
table.mail tr[data-m] { cursor: pointer; } table.mail tr[data-m]:hover td { background: #f8fafb; }
.letter { position: relative; width: 210mm; min-height: 297mm; margin: 0 auto 20px; background: #fff; color: #000; box-shadow: 0 2px 14px rgba(0,0,0,.15); padding: 20mm 20mm 34mm 25mm; font: 11pt/1.45 Arial, Helvetica, sans-serif; }
.lhead { text-align: right; height: 25mm; } .lname { font-size: 20pt; font-weight: 700; color: #12283a; } .lsub { font-size: 9pt; letter-spacing: .25em; text-transform: uppercase; color: #5d6b79; }
.laddr { width: 85mm; height: 45mm; float: left; } .lret { font-size: 7pt; border-bottom: .5pt solid #777; padding-bottom: 1mm; margin-bottom: 3mm; white-space: nowrap; overflow: hidden; } .lto { white-space: pre-wrap; }
.linfo { float: right; width: 62mm; font-size: 9pt; } .linfo div { display: flex; gap: 3mm; margin-bottom: 1mm; } .linfo span { width: 22mm; color: #5d6b79; flex: none; }
.lsubj { clear: both; font-weight: 700; padding-top: 8mm; margin-bottom: 7mm; } .lbody { white-space: pre-wrap; overflow-wrap: anywhere; }
.lsign { margin-top: 6mm; page-break-inside: avoid; } .lsign img { max-height: 22mm; max-width: 70mm; display: block; }
.lfoot { position: absolute; left: 25mm; right: 20mm; bottom: 10mm; border-top: .5pt solid #777; padding-top: 2mm; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm; font-size: 7.5pt; line-height: 1.35; color: #333; }
@media (max-width: 900px) { .letter { width: 100%; min-height: 0; padding: 8mm; } .lfoot { position: static; margin-top: 10mm; grid-template-columns: 1fr 1fr; } .laddr, .linfo { float: none; width: auto; height: auto; margin-bottom: 6mm; } }
@page { size: A4; margin: 0; }
@media print { header.top, .noprint, #toast { display: none !important; } body { background: #fff; } main { max-width: none; padding: 0; margin: 0; } .letter { box-shadow: none; margin: 0; width: 210mm; min-height: 297mm; padding: 20mm 20mm 34mm 25mm; } .lfoot { position: absolute; grid-template-columns: repeat(4, 1fr); } .laddr { float: left; width: 85mm; height: 45mm; } .linfo { float: right; width: 62mm; } }

/* ----- Menü links ----- */
.shell { display: flex; min-height: 100vh; }
.side { width: 236px; flex: none; background: var(--navy); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 14px 10px; }
.side .brand { padding: 4px 10px 14px; margin: 0; font-size: 1.15rem; }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side .grp { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8fa3b5; padding: 14px 10px 4px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #d5dee6; text-decoration: none; font-size: .95rem; }
.side nav a i { font-style: normal; width: 22px; text-align: center; flex: none; }
.side nav a span { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.side nav a b { font-weight: 600; } .side nav a small { font-size: .72rem; color: #8fa3b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side nav a.on { background: rgba(255,255,255,.16); color: #fff; } .side nav a.on small { color: #c5d2dd; }
.side .badge { font-style: normal; flex: none; }
.side .who { margin: 12px 0 0; padding: 12px 10px 4px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: center; gap: 8px; width: auto; }
.content { flex: 1; min-width: 0; }
.mtop { display: none; }
.shade { display: none; }
@media (max-width: 900px) {
  .side { position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-105%); transition: transform .18s; box-shadow: 4px 0 24px rgba(0,0,0,.3); }
  .side.open { transform: none; }
  .shade.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; }
  .mtop { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 8px 12px; position: sticky; top: 0; z-index: 30; }
  .mtop button { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; font-size: 1.2rem; width: 42px; height: 38px; }
  .backbar { top: 54px; }
}
@media print { .side, .mtop, .shade { display: none !important; } .shell { display: block; } }

.latt { margin-top: 8mm; font-size: 9.5pt; }
table.mail th:nth-child(n+2), table.mail td:nth-child(n+2) { white-space: nowrap; overflow-wrap: normal; width: 1%; }
table.mail td:first-child { min-width: 220px; }
main.drop { outline: 3px dashed var(--acc); outline-offset: -8px; background: var(--grn-bg); border-radius: 14px; }
.mfil select, .mfil input { margin: 0; } .mfil { gap: 8px; flex-wrap: wrap; } .mbulk { gap: 12px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
table.mail th[data-so] { cursor: pointer; user-select: none; } table.mail td:nth-child(2) { white-space: normal; overflow-wrap: anywhere; width: auto; min-width: 220px; } table.mail td:first-child { min-width: 0; }
.lpaper { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; } .letter.paper > :not(.lpaper) { position: relative; z-index: 1; }
.letter.paper .lhead > *, .letter.paper .lfoot { visibility: hidden; }
@media print { .letter.paper .lpaper { width: 210mm; height: 297mm; } }
table.mail th:nth-child(2) { width: auto; }
.mfil > select, .mfil > input, .mfil > button { width: auto; flex: 0 1 auto; } .mfil > #mq { flex: 1 1 240px; }
.pxtop { background: var(--navy); color: #fff; display: flex; gap: 14px; align-items: center; padding: 12px 20px; } .pxtop span { flex: 1; opacity: .8; font-size: .9rem; } .pxmain { max-width: 1100px; margin: 0 auto; padding: 20px; }
.pxk { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0; } .pxk .chk { margin: 2px 0; }
.pxnotes { list-style: none; padding: 0; margin: 8px 0; } .pxnotes li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 6px 0; white-space: pre-wrap; } .pxnotes li.p { background: var(--amb-bg); } .pxnotes li.o { background: #f8fafb; }
.pxlink input { width: 100%; margin: 6px 0; font-size: .82rem; }
table.mail.px td:first-child { white-space: normal; overflow-wrap: anywhere; width: auto; min-width: 220px; } table.mail.px th:first-child { width: auto; } table.mail.px td:nth-child(2) { white-space: nowrap; min-width: 0; width: 1%; }
.adocs { display: grid; gap: 8px; margin: 12px 0; } .adoc { border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; } .adoc .adt { flex: 1 1 260px; min-width: 0; } .adoc .num { margin-right: 6px; } .adoc .row { gap: 6px; }
.srcstand { background: var(--grn-bg); border: 1px solid #b5dccf; border-radius: 10px; padding: 10px 12px; margin: 10px 0; } .srcstand .meta { margin-top: 4px; } .srcstand .bar { margin-top: 8px; }
.lcomp { display: flex; gap: 8px; align-items: stretch; } .lcomp textarea { flex: 1; min-height: 320px; margin: 0; } .lside { display: flex; flex-direction: column; gap: 8px; } .lside .btn { min-width: 64px; white-space: nowrap; } #ladr { margin-top: 12px; }
@media (max-width: 700px) { .lcomp { flex-direction: column; } .lside { flex-direction: row; } }
.paytag.ok { color: var(--acc-d); font-weight: 600; } .paytag.warn { color: var(--amb); font-weight: 600; } .paytag.bad { color: var(--red); font-weight: 600; }
.paybig { border-radius: 10px; padding: 10px 12px; margin: 10px 0 6px; border: 1px solid var(--line); } .paybig.ok { background: var(--grn-bg); border-color: #b5dccf; } .paybig.warn { background: var(--amb-bg); border-color: #ecd9a2; } .paybig.bad { background: var(--red-bg); border-color: #f1c1bc; }
.mhead { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 12px; align-items: end; margin-top: 12px; } .mhead label { margin: 0; font-size: .82rem; color: var(--mut); display: block; } .mhead input, .mhead select { display: block; width: 100%; margin: 4px 0 0; height: 42px; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 10px; background: #fff; color: var(--txt); } .mhead .btn { height: 42px; white-space: nowrap; }
@media (max-width: 760px) { .mhead { grid-template-columns: 1fr 1fr; } }
.pxdrop { border: 2px dashed var(--line2); border-radius: 14px; padding: 34px 20px; text-align: center; background: #fff; } main.drop .pxdrop { border-color: var(--acc); background: var(--grn-bg); } .pxdrop .big { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.pxups { list-style: none; padding: 0; margin: 0; } .pxups li { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 2px; } .pxups li:last-child { border-bottom: 0; } .pxups .nm { min-width: 0; overflow-wrap: anywhere; }
.cotag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--acc-d); background: var(--grn-bg); border: 1px solid #b5dccf; border-radius: 20px; padding: 1px 8px; margin: 0 6px 3px 0; vertical-align: middle; }
.corow { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.mhead { grid-template-columns: 1fr 1fr 1.2fr 1.2fr auto; }
@media (max-width: 760px) { .mhead { grid-template-columns: 1fr 1fr; } }
.lhintbox { background: #f3f7ff; border-color: #c9d8f5; margin: 0 0 10px; } .lhintbox div { white-space: pre-wrap; }
.lres { font-size: .9rem; margin: 0 0 8px; color: var(--txt); } .lsrc { display: inline-block; vertical-align: top; margin-left: 6px; font-size: .82rem; } .lsrc summary { cursor: pointer; color: var(--mut); } .lsrc a { display: inline-block; margin-top: 3px; }
.tts { display: inline-flex; gap: 6px; } .ttsrow { display: flex; justify-content: flex-end; margin: 4px 0; } .lside .btn[data-tts], .lside .btn[data-ttsr] { font-size: .8rem; padding-left: 8px; padding-right: 8px; }
table.paytx { font-size: .86rem; margin: 6px 0; } table.paytx td.neg { color: var(--red); white-space: nowrap; font-weight: 600; } table.paytx td.pos { color: var(--acc-d); white-space: nowrap; font-weight: 600; } table.paytx td:first-child { white-space: nowrap; }

/* Externe Zugänge */
.pxhow { margin: 6px 0 8px 20px; padding: 0; } .pxhow li { margin: 6px 0; }
.pxstep { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin: 20px 0 10px; } .pxstep span { width: 26px; height: 26px; border-radius: 50%; background: #0f6b4f; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; }
.pxtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.pxtile { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #d8e0e6; border-radius: 12px; padding: 14px; cursor: pointer; margin: 0; background: #fff; }
.pxtile:has(input:checked) { border-color: #0f6b4f; background: #f0f8f5; } .pxtile input { margin-top: 4px; flex: none; width: auto; } .pxtile b { display: block; font-size: 1rem; margin-bottom: 4px; } .pxtile span { display: block; font-size: .86rem; color: #5b6b78; font-weight: 400; line-height: 1.45; }
.pxform { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 16px; align-items: end; } .pxform label { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.pxgrp { font-size: .95rem; margin: 16px 0 6px; }
#pe { min-height: 96px; }

.pxmail { margin-top: 8px; background: #fff; border: 1px solid #e3e8ec; border-radius: 10px; padding: 8px 12px; } .pxmail label { display: block; margin-top: 8px; font-size: .82rem; } .pxmail textarea { width: 100%; font-size: .86rem; line-height: 1.45; min-height: 220px; } .pxmail input { width: 100%; }

/* Fragebogen */
.fqs { display: grid; gap: 10px; margin: 10px 0; } .fq { border: 1px solid #e3e8ec; border-left: 4px solid #0f6b4f; border-radius: 8px; padding: 8px 12px; background: #fff; } .fq.miss { border-left-color: #e08a1e; background: #fff8ee; } .fq.chk { border-left-color: #c9b458; } .fq label { display: block; margin: 0 0 6px; font-weight: 400; } .fq textarea { width: 100%; min-height: 40px; }
