:root{font-family:system-ui,-apple-system,sans-serif;color:#f0f2f5;background:#0b1729;color-scheme:dark;line-height:1.55}*{box-sizing:border-box}body{margin:0;background:linear-gradient(#091527b8,#091527ec),url('/background.webp') center/cover fixed;min-height:100vh}a{color:#edce8f;text-underline-offset:4px}a:hover{color:white}.shell{max-width:1050px;margin:auto;padding:24px}header{display:flex;flex-direction:column;border-bottom:1px solid #b99c63;padding:12px 0 22px}header a{font-size:1.5rem;text-decoration:none;letter-spacing:.08em}header small,footer{color:#c2ceda}nav,.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}nav form{margin:0}h1{font-weight:500;font-size:1.9rem}h2{font-weight:500;font-size:1.25rem}h3{font-weight:550;font-size:1.05rem}.card{padding:24px;margin:18px 0;background:#11233aef;border:1px solid #9b8356;border-radius:16px;box-shadow:0 12px 35px #0003}.narrow{max-width:470px;margin:32px auto}form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:14px 0}label{display:flex;flex-direction:column;gap:6px;flex:1 1 180px;font-size:.9rem}input,button,.button{font:inherit;min-height:46px;border-radius:7px;border:1px solid #a78d5b;padding:10px 12px}input{background:#0a1829;color:white;max-width:100%;width:100%}button,.button{background:#d6b873;color:#101c2d;font-weight:650;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#f4d99f;color:#101c2d}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #fff;outline-offset:3px}.danger{background:#442838;color:white}.entry{border-top:1px solid #748297;padding:12px 0}p{overflow-wrap:anywhere}.weeks{padding:0;list-style:none}.weeks li{display:flex;gap:15px;justify-content:space-between;padding:14px 0;border-bottom:1px solid #6a7890}.check{flex-direction:row;align-items:center}.check input{width:22px;min-height:22px}.tripgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.trip{border:1px solid #7a8898;border-radius:6px;padding:10px;overflow-wrap:anywhere;break-inside:avoid}.trip p{white-space:pre-wrap}.totals{max-width:600px;break-inside:avoid}.totals p{display:flex;justify-content:space-between;gap:20px}.totals p:last-child{font-size:1.2rem;border-top:1px solid;padding-top:10px}table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:.85rem}th,td{text-align:left;border-bottom:1px solid #78889a;padding:8px 4px;overflow-wrap:anywhere}thead{display:table-header-group}tr{break-inside:avoid}summary{cursor:pointer;min-height:44px}footer{padding:20px 0;font-size:.8rem}.print-only{background:white;color:#111;max-width:1000px;margin:auto;padding:24px}.print-only .tripgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.calendar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.calendar-grid td,.calendar-grid th{text-align:center;padding:1px}.calendar-grid td{height:44px}.marked{display:flex;align-items:center;justify-content:center;background:#d6b873;color:#101c2d;min-height:44px;border-radius:5px;font-weight:700}
@media(max-width:650px){.shell{padding:14px}.card{padding:16px}h1{font-size:1.5rem}header a{font-size:1.15rem}.tripgrid,.print-only .tripgrid{grid-template-columns:1fr}form>label{flex-basis:100%}.weeks li{flex-direction:column;gap:3px}.report table{font-size:.7rem}button,.button{width:100%}nav form{width:100%}nav a{min-height:44px;padding:8px}}
@media print{@page{size:A4;margin:16mm}html,:root,body,.print-only{background:white!important;color:#111!important;color-scheme:light;font:10pt Arial,sans-serif;margin:0;padding:0}header,nav,footer,button,.noprint{display:none!important}.report{width:100%;max-width:none}.tripgrid,.print-only .tripgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.trip{box-shadow:none;border-color:#aaa}.totals{break-inside:avoid}h2,h3{break-after:avoid}table{font-size:9pt}th,td{padding:6px 3px}a{color:black}.card{background:white;box-shadow:none;color:black}.trip p{orphans:2;widows:2}}

/* AP02: matched A4 report typography and bounded numeric columns. */
.report-brand{font-size:8pt;font-weight:700;letter-spacing:.12em;border-bottom:1px solid #aeb6c0;padding-bottom:10px}.report .totals strong{white-space:nowrap}.print-only .tripgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media print{@page{size:A4;margin:16mm 15mm 18mm;@bottom-right{content:"Seite " counter(page) " / " counter(pages);font:8pt Arial;color:#555}}.report h1{font-size:20pt;margin:12px 0}.report h2{font-size:12pt;margin:18px 0 8px}.report table{font-size:9pt}.report .tripgrid,.print-only .tripgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.report .trip{padding:6px;border:0;border-bottom:1px solid #bbb;border-radius:0;font-size:9pt}.report .trip p{margin:5px 0}.report .totals{max-width:none}.report .totals p{font-size:10pt;margin:7px 0}.report .totals p:last-child{background:#eef1f5;padding:10px;font-size:12pt}.report th:nth-child(1){width:16%}.report th:nth-child(2),.report th:nth-child(3){width:13%}.report th:nth-child(4){width:22%}.report th:nth-child(5){width:36%}}

.mfa-qr{display:block;max-width:100%;height:auto;margin:1rem auto;background:white;image-rendering:pixelated}.mfa-qr[hidden]{display:none}
