.firm-sheet{background:#fff;padding:22px;color:#000;font:13px Arial,sans-serif;min-width:1450px}.firm-sheet h2{font:700 19px Arial;margin:0 0 8px}.firm-site{text-align:right;margin-bottom:14px}.firm-grid{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0!important;border:2px solid #000}.firm-grid col.firm-function{width:20%}.firm-grid col.firm-time{width:20%}.firm-grid col.firm-day{width:auto}.firm-grid th,.firm-grid td{font:12px Arial;color:#000;background:#fff;border:1px solid #777;padding:3px 2px;height:23px;white-space:nowrap;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;width:auto!important}.firm-grid th{font-weight:700;text-align:center}.firm-grid .firm-month{background:#92d050;font-size:14px;border:2px solid #000}.firm-grid thead tr:nth-child(1)>td,.firm-grid thead tr:nth-child(2)>td{font-size:14px;text-align:left;border:0}.firm-grid .firm-group th{text-align:left;border-top:2px solid #000;border-bottom:2px solid #000;height:24px}.firm-grid tbody td:nth-child(n+3){text-align:center;font-size:11px}.firm-grid .firm-day-start{border-left:1px solid #000}.firm-grid .firm-weekend{background:repeating-linear-gradient(135deg,#eee,#eee 2px,#fff 2px,#fff 4px)}.firm-legend{margin:18px 0 8px;font-size:12px}.firm-legend>div{display:flex;align-items:center;gap:12px;margin:3px 0}.firm-legend span{display:inline-block;border:1px solid #000;width:36px;text-align:center;padding:2px}.firm-footer{display:flex;justify-content:space-between;gap:20px;font-size:12px}.firm-footer>div:first-child{flex:1;white-space:pre-wrap}.firm-print{margin:20px}.firm-print .firm-sheet{min-width:0;padding:0}#personal-options{background:#fff;border:1px solid #d5dfe7;padding:16px;margin:12px 0;border-radius:6px}#personal-options .row{display:flex;flex-wrap:wrap;gap:12px}#personal-options label{min-width:160px;flex:1}#personal-options input{width:100%}@page{size:A3 landscape;margin:10mm}@media print{.firm-print>button{display:none}.firm-print{margin:0}.firm-grid th,.firm-grid td{font-size:9px;height:16px;padding:2px 1px}.firm-grid tbody td:nth-child(n+3){font-size:9px}.firm-grid thead{display:table-header-group}.firm-grid tr{break-inside:avoid}.firm-sheet h2{font-size:15px}.firm-legend{margin:8px 0}.firm-footer,.firm-legend{font-size:10px}}

/* GAV_PRINT_COLORS_V1 */
.firm-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact}

/* NIGHT_BRIDGE_CELLS_V1 */
.firm-grid td.firm-night-bridge{text-align:center;border-left:1px solid #777;border-right:1px solid #777;-webkit-print-color-adjust:exact;print-color-adjust:exact}.firm-night-note{font:11px Arial,sans-serif;margin:8px 0;color:#333}@media print{.firm-night-note{font-size:8pt}}

/* FIRM_STICKY_V1 */
@media screen{
 .firm-scroll{overflow:auto;border:1px solid #c9d3dc;position:relative}
 .firm-grid thead.firm-sticky-head{position:sticky;top:0;z-index:3;background:#fff;box-shadow:0 2px 0 #000}
 .firm-grid thead.firm-sticky-head tr{background:#fff}
 .firm-grid thead.firm-sticky-head td{box-shadow:0 0 0 4px #fff}
 .firm-grid thead.firm-sticky-head th{box-shadow:0 -4px 0 #fff,inset 0 0 0 .6px #777}
 .firm-grid thead.firm-sticky-head th.firm-month{box-shadow:0 -4px 0 #fff,inset 0 0 0 2px #000}
 .firm-grid .firm-sticky-l{position:sticky;z-index:2;background:#fff}
 .firm-grid thead .firm-sticky-l{z-index:4}
 .firm-grid tbody .firm-sticky-l{box-shadow:inset -1px 0 0 #777}
 .firm-grid thead th.firm-hl{background:#ffd23f!important;outline:2px solid #b8860b;outline-offset:-2px}
 .firm-grid tbody tr.firm-hl td{box-shadow:inset 0 2px 0 #b8860b,inset 0 -2px 0 #b8860b}
}
@media print{.firm-scroll{max-height:none!important;overflow:visible!important;border:0}.firm-grid thead.firm-sticky-head,.firm-grid .firm-sticky-l{position:static!important;box-shadow:none}}

/* FIRM_GROUPDAYS_V1: Datum in jeder Gruppen-Zeile */
.firm-grid .firm-group td.firm-gday{font:700 10px Arial;color:#333;text-align:center;border-top:2px solid #000;border-bottom:2px solid #000;background:#f1f5ee;padding:1px 0;line-height:1.05}
.firm-grid .firm-group td.firm-gday small{display:block;font:400 8px Arial;color:#666}
.firm-grid .firm-group td.firm-gday.firm-weekend{background:repeating-linear-gradient(135deg,#e4e8e1,#e4e8e1 2px,#f1f5ee 2px,#f1f5ee 4px)}
.firm-grid .firm-group th.firm-glabel{background:#f1f5ee}
@media screen{.firm-grid .firm-group td.firm-hl{background:#ffd23f!important}}
