:root{font-family:Arial,Helvetica,sans-serif;color:#25272b;background:#f5f5f6;font-size:14px;--brand:#c90119;--pw:96px;--page-font:10px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a.button{border:1px solid #dedfe2;background:white;border-radius:6px;padding:8px 11px;color:#25272b;cursor:pointer;text-decoration:none;white-space:nowrap}button:hover,a.button:hover{border-color:#9a9da3;background:#fafafa}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button:disabled{opacity:.4;cursor:default}input,select,textarea{border:1px solid #cfd1d5;border-radius:5px;padding:8px;background:white;min-width:0;color:inherit}input[type=checkbox]{accent-color:#27984b;padding:0}input[type=color]{height:36px}textarea{resize:vertical;line-height:1.5}label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:bold}small,.muted{color:#62656b;font-size:12px;font-weight:normal}h1,h2,h3,p{margin:0}h1{font-size:21px}h2{font-size:19px}h3{font-size:14px}a{color:var(--brand)}.top{background:#fff;border-top:5px solid var(--brand);border-bottom:1px solid #dedfe2;padding:13px 24px;display:flex;justify-content:space-between;align-items:center;gap:18px}.brand{font-size:25px;font-weight:bold;letter-spacing:-1px;white-space:nowrap;color:var(--brand)}.brand span{font-size:14px;color:#25272b;letter-spacing:0;margin-left:12px;font-weight:normal}.row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.grow{flex:1}.top small{display:block;margin-top:3px}.tabs{display:flex;gap:4px}.tabs button{border-color:transparent;background:transparent}.tabs button.active{background:#fbedef;color:var(--brand);font-weight:bold}.toolbar{padding:12px 24px;background:#fff;border-bottom:1px solid #dedfe2;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.toolbar select{max-width:260px}.stand{margin-left:auto;color:#62656b;font-size:12px;line-height:1.5;text-align:right}.workarea{display:flex;align-items:stretch;min-height:70vh}.plan{padding:22px 25px 32px;flex:1;min-width:0}.section-label{font-size:11px;letter-spacing:.07em;font-weight:bold;color:#62656b;text-transform:uppercase;margin-bottom:13px}.covers{display:flex;gap:28px;margin-bottom:24px}.spreads{display:grid;grid-template-columns:repeat(auto-fill,minmax(calc(var(--pw)*2 + 14px),1fr));gap:24px 18px;align-items:start}.spread{display:flex;width:calc(var(--pw)*2 + 4px);position:relative;gap:2px;align-items:flex-start}.spread.signature:before{content:attr(data-signature);position:absolute;top:-15px;left:0;width:100%;border-top:1px dashed #a7aab0;font-size:9px;color:#62656b;padding-top:1px}.pagewrap{width:var(--pw);flex-shrink:0;position:relative;user-select:none}.pagewrap.empty{visibility:hidden}.heading{height:20px;line-height:17px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--page-font);text-align:center;padding:0 2px;color:#444;font-weight:600}.page{height:calc(var(--pw)*1.414);position:relative;border:1px solid #c6c8cc;border-radius:1px;background:#fff;box-shadow:0 1px 2px #0000000d;cursor:pointer;outline:2px solid transparent;outline-offset:2px;overflow:hidden}.selected .page{outline-color:var(--brand);box-shadow:0 0 0 4px #fff}.page:after{content:"";position:absolute;z-index:4;top:-1px;right:-1px;width:10px;height:10px;background:linear-gradient(225deg,#f5f5f6 48%,#91949b 50%,#fff8 57%);pointer-events:none}.left .page:after{left:-1px;right:auto;background:linear-gradient(135deg,#f5f5f6 48%,#91949b 50%,#fff8 57%)}.page-lines{position:absolute;inset:7px;display:flex;gap:4px;pointer-events:none;opacity:.18}.page-lines i{flex:1;border-right:1px solid #62656b}.page-lines i:last-child{border:0}.article{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:6px;line-height:1.26;font-size:var(--page-font);white-space:pre-wrap;overflow-wrap:anywhere}.ad{position:absolute;border:1px solid #7779;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:var(--page-font);line-height:1.2;padding:4px 3px 14px;overflow:hidden;background:#c9cbcf;z-index:2;cursor:pointer;overflow-wrap:anywhere}.ad.self{background:#ffe264}.ad.ready{background:#a6df45}.ad strong{font-size:inherit}.ad small{font-size:calc(var(--page-font) - 1px);color:#333;margin-top:3px}.ad input{position:absolute;bottom:1px;right:1px;width:12px;height:12px;margin:1px;cursor:pointer}.pagefoot{height:20px;display:flex;align-items:center;gap:5px;font-size:11px;padding-top:4px}.pagefoot .number{font-weight:bold}.pagefoot input{width:12px;height:12px;margin:0}.left .pagefoot{justify-content:flex-start}.right .pagefoot{flex-direction:row-reverse;justify-content:flex-start}.insert-before:before{content:"";position:absolute;top:17px;bottom:18px;left:-9px;width:4px;background:var(--brand);z-index:10;border-radius:3px;box-shadow:0 -4px 0 2px var(--brand)}.editor{background:#fff;border-left:1px solid #dedfe2;width:310px;flex-shrink:0;padding:20px;position:sticky;top:0;max-height:100vh;overflow:auto}.editor form{display:flex;flex-direction:column;gap:13px}.editor h2{font-size:17px;margin-bottom:12px}.editor .section-label{margin:20px 0 10px}.editor textarea{min-height:92px}.swatches{display:flex;gap:5px;flex-wrap:wrap}.swatch{width:25px;height:25px;border-radius:50%;padding:0;border:1px solid #8884}.swatch.active{outline:2px solid #25272b;outline-offset:1px}.aditem{padding:10px;border:1px solid #dedfe2;border-radius:6px;margin-top:8px}.aditem .row{gap:5px}.aditem button{padding:5px;font-size:11px}.footer{padding:14px 24px 10px;background:white;border-top:1px solid #dedfe2}.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px}.dot{display:inline-block;width:10px;height:10px;border:1px solid #0002;border-radius:50%;margin-right:4px;vertical-align:-1px}.footer .counts{margin:10px 0;color:#62656b;font-size:12px}.imprint{border-top:1px solid #eee;padding-top:9px;margin-top:12px;display:flex;justify-content:space-between;gap:16px;color:#777;font-size:10px}.content{max-width:1500px;padding:25px;margin:auto}.card{background:white;border:1px solid #dedfe2;border-radius:9px;padding:20px;margin-bottom:20px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:18px 0}.metric{background:white;border:1px solid #dedfe2;border-radius:8px;padding:18px}.metric strong{display:block;font-size:28px;letter-spacing:-.5px;margin:8px 0 4px}.metric.primary{border-top:3px solid var(--brand)}.tablebox{overflow:auto;border:1px solid #dedfe2;border-radius:7px;background:white}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{background:#f5f5f6;color:#62656b;font-size:11px;white-space:nowrap}th,td{padding:12px 10px;border-bottom:1px solid #eee;vertical-align:top}tr:last-child td{border-bottom:0}.money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.pill{display:inline-flex;align-items:center;padding:4px 7px;border-radius:12px;background:#eee;font-size:11px;white-space:nowrap}.pill.booked{background:#dff0e4;color:#1d6636}.pill.promised{background:#fff0b7;color:#705700}.pill.cancelled{color:#888;text-decoration:line-through}.pill.open{background:#f9dfe2;color:#8c2230}.twocol{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.bars{display:flex;flex-direction:column;gap:20px}.bar-label{display:flex;justify-content:space-between;margin-bottom:6px;font-size:13px}.track{height:12px;background:#eee;border-radius:3px;overflow:hidden}.track i{display:block;height:100%;background:var(--brand)}.notice{padding:12px;background:#fff4d5;border-radius:5px;font-size:12px;line-height:1.5}.testbadge{background:#fff4d5;padding:3px 7px;border-radius:4px;color:#755900;font-size:10px}.login{width:min(410px,94vw);margin:12vh auto;background:#fff;border:1px solid #dedfe2;border-top:5px solid var(--brand);padding:30px;border-radius:9px}.login form{display:flex;flex-direction:column;gap:18px;margin-top:22px}.check{flex-direction:row;align-items:center;font-weight:normal}.login p{line-height:1.6;margin-top:12px;color:#62656b}.error{color:#b5001b;line-height:1.5;font-size:13px}.hint{line-height:1.5;color:#62656b;font-size:12px;margin:8px 0}.empty-state{padding:70px 25px;text-align:center;color:#62656b}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:1000;background:#25272b;color:white;padding:12px 18px;border-radius:7px;max-width:85vw;display:none;box-shadow:0 3px 18px #0002}dialog{border:1px solid #dedfe2;border-radius:10px;width:min(760px,95vw);padding:26px;max-height:90vh;overflow:auto}dialog::backdrop{background:#0005}dialog form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.full{grid-column:1/-1}.dialogtitle{display:flex;justify-content:space-between;align-items:center}.subnav{margin-bottom:20px}.report-list{font-size:12px;line-height:1.8}.cursor-cartridge button,.cursor-cartridge .page,.cursor-cartridge .ad,.cursor-cartridge select,.cursor-cartridge a{cursor:url('/static/cartridge-cursor.svg') 2 2,pointer}.cursor-cartridge input,.cursor-cartridge textarea{cursor:text}.cursor-cartridge input[type=checkbox]{cursor:pointer}.danger{color:#a00}button.icon{padding:5px 9px;font-size:17px}.checkbox-note{font-size:11px;color:#62656b}.print-only{display:none}@media(max-width:1000px){.top{padding:12px}.top .brand span{display:none}.toolbar{padding:10px 12px}.plan{padding:20px 14px}.editor{width:275px;padding:15px}.metrics{grid-template-columns:repeat(2,1fr)}.twocol{grid-template-columns:1fr}.stand{font-size:10px}}@media(max-width:680px){.top{flex-wrap:wrap}.tabs button{padding:8px}.editor{position:fixed;bottom:0;top:auto;right:0;width:95vw;max-height:60vh;z-index:20;border:1px solid #ccc;box-shadow:0 0 30px #0003}.covers{gap:14px}.metrics{gap:8px}.metric{padding:12px}.metric strong{font-size:22px}.imprint{display:block}dialog form{grid-template-columns:1fr}.content{padding:15px}}@media(pointer:coarse){#cursor-switch{display:none}}

.ad strong,.ad span{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3;max-width:100%;flex-shrink:0}.ad strong{-webkit-line-clamp:2}.ad small{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.page-lines{opacity:.10}

.dragging,.dragging .page{cursor:grabbing!important}.pagewrap{touch-action:pan-y}

.ad.narrow strong{-webkit-line-clamp:6}.ad.narrow span{-webkit-line-clamp:5}
/* Revision 3 */
.page{height:calc(var(--pw)*var(--page-ratio,1.414))}.ad{padding:4px 3px}.ad input{background:white;box-shadow:0 0 0 1px #fff}.aditem .primary{white-space:normal;text-align:left}.add-ad{margin-top:15px;border:1px dashed #c9cbd0;border-radius:6px;padding:10px}.add-ad summary{font-size:12px;font-weight:bold;cursor:pointer;margin-bottom:9px}.placement-fields{display:grid;gap:12px}.signature-between:before{content:"";position:absolute;left:calc(var(--pw) + 1px);top:9px;bottom:0;border-left:1px dashed #686c73;z-index:5;pointer-events:none}.signature-between:after{content:attr(data-signature);position:absolute;left:0;right:0;top:-10px;font-size:9px;color:#62656b;text-align:center;white-space:nowrap}.tablebox tbody tr:nth-child(even){background:#f4f5f6}.tablebox thead th{color:#981519;background:#f8e9eb}.content> .row h1{color:var(--brand)}.issue-choice{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.issue-chip{font-size:12px;text-align:left}.issue-chip small{display:block;font-size:9px;margin-top:3px}.issue-chip.working,.issue-card.working{border-left:4px solid var(--brand)}.issue-chip.selected{background:#fbedef;border-color:var(--brand);color:var(--brand)}.selected-issue{font-size:11px;color:#62656b}.toolbar>.issue-choice{flex:1}.issue-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:15px}.issue-card{display:flex;flex-direction:column;gap:8px;text-align:left;white-space:normal;padding:16px}.issue-card strong{font-size:17px}.series-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.series-cell{border:1px solid #ddd;padding:10px;border-radius:5px}.series-cell .check{font-weight:bold}.series-cell input{max-width:100%}dialog.wide{width:min(1450px,97vw)}.import-table{max-height:52vh}.import-table table{min-width:1130px}.import-table th{position:sticky;top:0;z-index:2}.import-table td{padding:7px;max-width:240px;min-width:130px}.import-table td:first-child{min-width:70px}.import-table input:not([type=checkbox]),.import-table select,.import-table textarea{width:100%;margin-bottom:4px;font-size:12px;padding:6px}.import-table textarea{min-height:55px}.review-note{font-size:11px;line-height:1.4;background:#fff1c9;padding:6px;margin-bottom:5px}.import-table .check{font-size:10px}.import-table label{font-size:10px}details>summary{cursor:pointer;padding:9px 0}.stand{min-width:210px}@media(max-width:800px){.series-grid{grid-template-columns:repeat(2,1fr)}.tabs{flex-wrap:wrap}.issue-choice .issue-chip:nth-child(n+3){display:none}}

/* Dezentes, durchgehend sichtbares Satzspiegelraster. Anzeigen überdecken die Linien. */
.page-lines{opacity:1;inset:7px;gap:0;z-index:0}.page-lines i{border-right:1px solid rgba(62,76,98,.20)}.page-lines.cover-grid{display:none}.article{z-index:1}.pagefoot .number{font-size:13px;line-height:1}.signature-between:before{border-left:1px dashed #c90119}.signature-between:after{color:#b60018;font-weight:600}

.plan-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:14px 0}.plan-metric strong{display:block;font-size:13px;line-height:1.45}.plan-metric small{display:block;font-size:11px;margin-top:4px;line-height:1.4}@media(max-width:1000px){.plan-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Kompakter Jahresverlauf. Keine externen Schrift- oder Diagrammressourcen. */
.revenue-history{margin-top:18px;border-top:3px solid #c90119;padding-bottom:12px}
.history-head h2{font-size:19px}.history-head .hint{margin:5px 0}
.history-view{margin-top:12px;gap:12px}.history-view button{font-size:11px;padding:6px 9px}.history-view small{font-size:10px}.history-difference{line-height:1.6;color:#454951}
.history-controls{gap:14px}.history-controls label{gap:4px;font-size:10px;color:#62656b}
.history-controls select{min-width:95px;font-size:13px;color:#25272b}
.history-active{border-color:#c90119;color:#c90119;background:#fbedef}
.history-modes{display:flex;border:1px solid #d7d9de;border-radius:6px;padding:3px;gap:3px;background:#f5f5f6}
.history-modes button{padding:7px 10px;border:0;background:transparent;font-size:12px}
.history-modes button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #0002;color:#a40016;font-weight:bold}
.history-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:16px 0 8px}
.history-total{border-left:3px solid #c90119;padding-left:12px}
.history-total.format{border-color:#2464ac}.history-total.market{border-color:#087c73}
.history-total span{font-size:12px;display:block}.history-total strong{display:block;font-size:24px;letter-spacing:-.5px;margin:4px 0;font-variant-numeric:tabular-nums}
.history-total.total strong{color:#b00018}.history-total small{font-size:10px;line-height:1.4;display:block}
.history-total i,.history-detail i{display:inline-block;width:16px;height:3px;vertical-align:3px;margin-right:6px;border-radius:2px}
.history-chart-scroll{overflow-x:auto;margin-top:10px}.history-chart{display:block;width:100%;min-width:720px;max-height:275px}
.history-chart text{font:13px Arial,Helvetica,sans-serif;fill:#62656b;pointer-events:none}
.history-line{fill:none;stroke-linejoin:round;stroke-linecap:round}
.history-month{cursor:crosshair;outline:none}.history-month:focus rect{fill:#c901190a;stroke:#c90119;stroke-width:1;stroke-dasharray:3 3}
.history-month:hover text,.history-month:focus text{fill:#a40016;font-weight:bold}
.history-detail{background:#f5f5f6;border-radius:6px;padding:10px 13px;display:grid;grid-template-columns:160px 1fr;gap:4px 14px;margin-top:8px;font-size:12px}
.history-period strong,.history-period small{display:block}.history-period small{font-size:10px;margin-top:4px}
.history-detail-values{display:flex;align-items:center;flex-wrap:wrap;gap:7px 25px}.history-detail-values strong{font-variant-numeric:tabular-nums;margin-left:5px;white-space:nowrap}
.history-issues{grid-column:2;font-size:10px;color:#62656b;line-height:1.5}
.history-foot{display:flex;gap:25px;justify-content:space-between;margin-top:4px}.history-foot .hint{font-size:10px;max-width:800px}.history-stand{white-space:nowrap;text-align:right}
.history-table{font-size:11px}.history-table summary{color:#62656b;padding:5px 0}.history-table table{font-size:11px}.history-table th,.history-table td{padding:8px}
.history-empty{padding:25px 10px;color:#62656b;text-align:center;line-height:1.8;font-size:13px}
@media(max-width:1000px){.history-detail{grid-template-columns:130px 1fr}.history-detail-values{gap:8px 14px}.history-foot{display:block}.history-stand{text-align:left}.history-total strong{font-size:22px}}
@media(max-width:680px){.history-controls{width:100%;justify-content:space-between;gap:6px}.history-controls select{min-width:80px}.history-modes button{font-size:10px;padding:7px}.history-totals{gap:8px}.history-total{padding-left:7px}.history-total span{font-size:10px}.history-total strong{font-size:17px;letter-spacing:-.3px}.history-total small{font-size:9px}.history-total i{width:10px;margin-right:3px}.history-detail{grid-template-columns:1fr}.history-issues{grid-column:1}.history-detail-values{font-size:11px}.revenue-history{padding:13px}.history-chart-scroll{margin-top:14px}}
