/* © 2026 Gerhard Reidt · Schwalmserver */
.tc-header h2{font:normal clamp(26px,3vw,38px) Georgia,serif;margin:0}.tc-header .toolbar>div{min-width:0}.tc-header .toolbar p{margin:10px 0}.tc-controls{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:22px 0}.tc-filters{display:grid;grid-template-columns:1fr 1fr 1.3fr auto;align-items:end;gap:16px;margin:20px 0}.tc-filters label{margin:0}.tc-filters button{min-height:50px}.tc-legend{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 12px}.tc-key{padding:5px 10px;border-radius:6px;font-size:12px;border:1px solid #c8d5c7}.tc-confirmed{background:#e5f0e5;border-left:4px solid #376b43}.tc-open{background:#fff2d4;border-left:4px solid #a97a27}.tc-proposed{background:#e8eefa;border-left:4px solid #596eaa}.tc-conflict{outline:2px solid #b44934;outline-offset:-2px}.tc-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:0 0 24px}.tc-day{min-width:0;border:1px solid #d4dcd0;background:#fcfdf9;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.tc-day.tc-today{border:2px solid #b98943}.tc-day-heading{flex-direction:row;padding:13px 10px;display:flex;align-items:center;gap:6px;justify-content:space-between;background:#e9ede6;border:0}.tc-day-heading h3{font-size:15px;margin:0}.tc-day-heading h3 a{text-decoration:none}.tc-add{font-size:23px;line-height:1;text-decoration:none;width:28px;height:28px;border:1px solid #becbb9;border-radius:6px;text-align:center;background:#fff}.tc-day-events{padding:8px;flex:1}.tc-event{display:flex;flex-direction:column;gap:3px;text-decoration:none;border-radius:7px;padding:9px;margin:0 0 9px;font-size:12px;line-height:1.4;overflow-wrap:anywhere;color:#243b37;box-shadow:0 2px 5px #243b3708}.tc-event:hover{box-shadow:0 2px 8px #243b3730}.tc-event strong{font-size:14px}.tc-event-time{font-weight:700}.tc-event small{font-size:11px}.tc-day-new{padding:10px;text-align:center;font-size:13px;text-decoration:none;background:#edf1e9;border-top:1px solid #d4dcd0}.tc-day-events>.muted{font-size:12px;text-align:center}.tc-plan{padding:24px 18px}.tc-scroll{overflow:auto;max-height:72vh;border:1px solid #d5dccf;border-radius:8px;overscroll-behavior:contain}.tc-timeline{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:1900px;width:100%;font-size:12px}.tc-timeline caption{text-align:left;padding:10px;color:#626e68}.tc-timeline th,.tc-timeline td{padding:0;border-right:1px solid #e1e7dc;border-bottom:1px solid #e1e7dc;vertical-align:top}.tc-timeline thead th{position:sticky;top:0;background:#e9ede6;z-index:3;padding:12px 3px;text-align:center;font-size:11px}.tc-timeline .tc-table-heading{position:sticky;left:0;z-index:2;background:#f7f9f2;width:94px;min-width:94px;padding:12px 8px;text-align:left;font-size:13px;border-right:2px solid #bfcdb8}.tc-timeline thead .tc-table-heading{z-index:4;background:#e9ede6}.tc-table-heading small{display:block;font-weight:400;font-size:10px}.tc-room-row th{background:#dde5d7;text-align:left;padding:9px 12px;letter-spacing:1px;font-size:12px}.tc-empty{min-width:44px}.tc-empty>a{display:grid;place-items:center;min-height:76px;text-decoration:none;color:#c6cebf;font-size:17px}.tc-empty>a:hover,.tc-empty>a:focus{background:#e5eddd;color:#355b39;outline:2px solid #b98943;outline-offset:-2px}.tc-timeline .tc-occupied{padding:3px;background:#f9fbf6}.tc-occupied>.tc-event{height:100%;min-height:70px;margin:0;font-size:11px;padding:6px;overflow:hidden}.tc-occupied>.tc-event strong{font-size:12px}.tc-occupied>.tc-event span{white-space:normal}.tc-unassigned{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.tc-help{margin-top:24px}.tc-help h3{margin-top:0}.tc-help input{font-size:13px}.tc-editor{max-width:850px;margin:0 auto 24px}.tc-editor>h2{font-size:30px}.tc-cancel{margin-top:30px;border-top:1px solid #dedfd7;padding-top:20px}.tc-cancel summary{color:#934333;cursor:pointer;font-weight:600}.tc-cancel form{margin-top:20px}.tc-editor .table-warning .check{font-size:14px}.tc-event:focus-visible,.tc-day-heading a:focus-visible,.tc-day-new:focus-visible{outline:3px solid #b98943;outline-offset:2px}@media(min-width:1000px){body:has(.tc-week) main,body:has(.tc-plan) main{max-width:1520px}}@media(max-width:1100px){.tc-week{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:740px){.tc-week{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-filters{grid-template-columns:1fr 1fr}.tc-header .toolbar{flex-direction:column;align-items:stretch}.tc-controls .actions{gap:7px}.tc-controls .button{font-size:13px;padding:10px 12px}.tc-header,.tc-plan{padding:18px 12px}.tc-help input{font-size:12px}.tc-day-heading{padding:10px}.tc-scroll{max-height:65vh}}@media(max-width:400px){.tc-week{grid-template-columns:1fr}.tc-filters{grid-template-columns:1fr}}@media print{.tc-controls,.tc-filters,.tc-add,.tc-day-new,.tc-help,.tc-cancel,.tc-empty>a{display:none!important}.tc-week{display:block}.tc-day{break-inside:avoid;margin-bottom:12px}.tc-day-heading{padding:8px}.tc-day-events{display:flex;gap:10px;flex-wrap:wrap}.tc-event{min-width:160px;print-color-adjust:exact}.tc-scroll{max-height:none;overflow:visible}.tc-timeline{min-width:0;font-size:8px}.tc-timeline caption{font-size:11px}.tc-timeline .tc-table-heading{position:static;width:40px;min-width:40px;font-size:9px;padding:3px}.tc-timeline thead th{position:static;font-size:7px;padding:2px 0}.tc-plan{break-inside:auto}.tc-occupied>.tc-event{min-width:0;font-size:8px;min-height:30px;padding:2px}.tc-occupied>.tc-event strong{font-size:8px}.tc-occupied>.tc-event small{font-size:7px}.tc-empty{height:32px}.tc-header>.muted,.tc-plan>p{display:none}}
