/* Variable Beschreibung; sämtliche Zahlen bleiben zusammen. */
.v20-paper-page .paper-table{table-layout:auto!important;width:100%}
.v20-paper-page .paper-table :is(th,td):not(:nth-child(4)){width:1%;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
.v20-paper-page .paper-table :is(th,td):nth-child(4){width:auto;white-space:normal;overflow-wrap:anywhere}
.v20-paper-page .paper-table td[colspan]{white-space:normal!important;width:auto}
.v2262-letter-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,30%);gap:1.5em}
.v20-paper-page .v2262-letter-top .paper-contact{position:static;align-self:end;margin-bottom:1em;overflow-wrap:anywhere}
.v20-paper-page .v2261-paper-introduction .paper-object-block{margin-top:0}
.v2262-letter-date{align-self:start}
.v2262-footer-editor .rich-editor{min-height:110px;--v2262-point:1pt}
.v2262-footer-editor .rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.v2262-footer-editor .rich-toolbar label{display:flex;gap:5px;align-items:center;margin-left:auto}
.v2262-footer-editor .rich-toolbar select{width:auto}
.paper-footer{overflow-wrap:anywhere}
.paper-footer span{line-height:1.25}
@media screen{
 .v20-paper-page{container-type:inline-size;--v2262-point:calc(100cqw / 595.2756)}
 .v20-paper-page .v2261-paper-header{margin-bottom:4.2857cqw}
 html[data-zaphi-theme="dark"] .v2262-footer-editor :is(.rich-editor,.rich-toolbar){background:#202b34;color:#edf2f6;border-color:#465560}
}
/* Mehr Platz für den tatsächlichen Termininhalt ohne eine Änderung der Zeitbreite. */
#planner .planner-row,#planner .employee-cell,#planner .day-cell{min-height:66px!important;height:66px!important}
#planner .appt.v20-appt{height:62px!important;top:2px!important;padding:5px 4px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:2px;font-family:var(--font-app,Arial,sans-serif)!important;color:var(--v2262-appt-text,#17212b)!important;text-shadow:none!important;overflow:hidden!important}
#planner .appt.v20-appt:has(.v211-appt-markerbar){padding-top:22px!important}
#planner .appt.v20-appt :is(.v20-appt-name,.v20-appt-address){display:block!important;padding:0!important;margin:0!important;min-width:0!important;width:100%!important;max-width:none!important;font-family:inherit!important;font-size:11px!important;line-height:16px!important;font-weight:600!important;letter-spacing:normal!important;color:inherit!important;text-shadow:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;flex:none}
#planner .appt.v20-appt .v20-appt-address{font-weight:400!important}
#planner .appt.v20-appt .v20-appt-phone{display:none!important}
#planner .appt.v20-appt .v211-appt-markerbar{height:18px!important;top:0!important;display:flex!important;overflow:hidden!important}
#planner .appt.v20-appt .v211-appt-markerbar i{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;height:18px!important;padding:1px 3px!important;line-height:16px!important;font-size:10px!important;color:var(--v211-marker-text,#17212b)!important;text-shadow:none!important;font-family:inherit!important;overflow:hidden!important;box-sizing:border-box}
#planner .appt.v20-appt .v211-appt-markerbar i span{display:block!important;line-height:16px!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#planner .appt.v20-appt .v20-appt-crew-pill{top:auto!important;bottom:2px!important;font-size:8px}
#v15BuilderSelectbar[hidden]{display:none!important}
.v2263-rich-field{min-width:0}
.v2263-rich-field>.rich-editor{min-height:110px;font-size:10pt;--v2262-point:1pt;white-space:pre-wrap}
.v2263-rich-field>.rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.v2263-rich-field .rich-toolbar label{margin-left:auto;display:flex;align-items:center;gap:6px}
.v2263-rich-field .rich-toolbar select{width:auto;max-width:90px}
.v197-fixed-row.v2263-fixed-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
html[data-zaphi-theme="dark"] .v2263-rich-field :is(.rich-editor,.rich-toolbar){background:#202b34;color:#edf2f6;border-color:#465560}

.v2263-fixed-row>select{grid-column:1/-1}

/* Gesammelte Korrekturen: kompakte Textwerkzeuge und durchgehende dunkle Dialoge. */
.v197-fixed-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.v197-fixed-head>strong{margin-right:auto}
.v197-fixed-head .v2263-panel-format{display:flex;align-items:center;gap:4px;flex:0 0 auto;margin:0;padding:0;border:0;background:transparent}
.v197-fixed-head .v2263-panel-format button{min-width:28px;min-height:30px;padding:3px 7px}
.v197-fixed-head .v2263-panel-format label{display:flex;align-items:center;gap:5px;margin:0;white-space:nowrap;font-size:11px}
.v197-fixed-head .v2263-panel-format select{width:auto;min-height:30px;padding:3px 5px}
#page-cases>.page-head>.toolbar{display:flex}
#page-cases>.page-head>.toolbar .btn.primary{background:#fa7b17!important;color:#fff!important;border-color:#fa7b17!important}
#dashCases>tr.clickable:is(:hover,:focus-within)>td{background:#fff0e3!important;cursor:pointer}
html[data-zaphi-theme="dark"] #dashCases>tr.clickable:is(:hover,:focus-within)>td{background:#493425!important;color:#edf2f6!important}
html[data-zaphi-theme="dark"] #v20AppointmentForm :is(.v20-marker-pick,.v20-participant-row,.v20-all-day-line,.v20-series-scope){background:#202b33!important;color:#edf2f6!important;border-color:#43535f!important}
html[data-zaphi-theme="dark"] #v20AppointmentForm :is(.v20-marker-pick span,.v20-participant-row strong,.v20-participant-row label,.v20-all-day-line span){color:#edf2f6!important}
html[data-zaphi-theme="dark"] #v20AppointmentForm :is(.v20-participant-same,.v20-participant-person small){color:#b8c5ce!important}
html[data-zaphi-theme="dark"] #v20AppointmentForm input:disabled{color:#c9d4dc!important;opacity:1}
html[data-zaphi-theme="dark"] :is(.v215-template-basics,.v215-template-document,.v215-template-catalog,.v215-template-actions,.v215-template-search,.v215-template-surcharges,.v215-template-block,.v215-template-flags .checkline,.v215-template-service){background:#202b33!important;color:#edf2f6!important;border-color:#43535f!important}
html[data-zaphi-theme="dark"] :is(.v215-template-basics,.v215-template-document,.v215-template-catalog) :is(label,legend,h3,strong,.checkline span){color:#edf2f6!important}
html[data-zaphi-theme="dark"] :is(.v215-template-basics,.v215-template-document,.v215-template-catalog) :is(small,.muted,.v215-template-result-count){color:#b8c5ce!important}
html[data-zaphi-theme="dark"] .v215-template-preview{background:#141d24!important}
html[data-zaphi-theme="dark"] :is(.v215-template-order,.v215-template-block-actions button){background:#2a3741!important;color:#edf2f6!important;border-color:#43535f!important}
html[data-zaphi-theme="dark"] :is(.v215-template-service:hover,.v215-template-tree>button:hover){background:#493425!important;color:#edf2f6!important}
html[data-zaphi-theme="dark"] .v215-template-mini-paper,html[data-zaphi-theme="dark"] .v215-mini-paper{background:#fff!important;color:#20262d!important}
html[data-zaphi-theme="dark"] .v215-mini-paper :is(label,h3,h4,strong,span,p,small){color:#20262d!important}

/* Der vollständige Auftrag bleibt in der Akte auch auf schmalen Geräten lesbar. */
.v2266-case-description{margin:12px 0;min-width:0}
.v2266-case-description h3{margin:0 0 8px}
.v2266-case-description>div{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
