.tkx-app{--tkx-navy:#0b2545;--tkx-navy2:#13315c;--tkx-gold:#c9a227;--tkx-bg:#f4f6f9;--tkx-line:#dde3ea;
--tkx-AT:#e25c5c;--tkx-DE:#4f86c6;--tkx-CH:#9b6bd6;--tkx-HR:#2fa37a}
.tkx-app,.tkx-app *{box-sizing:border-box}
.tkx-app{font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;color:var(--tkx-navy);line-height:1.35;text-align:left;font-size:15px}
.tkx-app h1,.tkx-app h2,.tkx-app h3{font-family:inherit;color:var(--tkx-navy);line-height:1.25;text-transform:none;letter-spacing:normal;font-weight:700}
.tkx-app button,.tkx-app input,.tkx-app select{font-family:inherit;line-height:1.2}
.tkx-app img{max-width:none;border:0}
.tkx-head{display:flex;align-items:center;gap:16px;padding:12px 20px;background:var(--tkx-navy);color:#fff;border-bottom:6px solid var(--tkx-gold)}
.tkx-logo{flex:none;display:block;line-height:0}.tkx-logo img{width:64px;height:64px;border-radius:50%;display:block}
.tkx-htitle{flex:1;font-size:28px;font-weight:700;color:#fff;line-height:1.15}
.tkx-wrap{max-width:1180px;margin:0 auto;padding:14px 10px 30px}
.tkx-card{background:#fff;border-radius:12px;padding:14px;margin-bottom:14px;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.tkx-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tkx-btn{background:var(--tkx-gold);color:var(--tkx-navy);border:0;border-radius:7px;padding:8px 13px;font:inherit;font-weight:700;cursor:pointer}
.tkx-btn.s{background:#e7edf3}.tkx-btn.n{background:var(--tkx-navy);color:#fff}
.tkx-btn:disabled{opacity:.5;cursor:default}
.tkx-title{font-size:21px;font-weight:700;min-width:190px;text-align:center}
.tkx-sel{padding:7px;border:1px solid #b9c4d0;border-radius:7px;font:inherit;background:#fff}
.tkx-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:center}
.tkx-chip{display:flex;align-items:center;gap:6px;border:2px solid var(--c);border-radius:20px;padding:3px 6px 3px 10px;font-size:14px;font-weight:600;background:#fff;cursor:pointer;user-select:none}
.tkx-chip.on{background:var(--c);color:#fff}
.tkx-chip select{font:inherit;font-size:12px;border:0;border-radius:12px;padding:2px 4px;max-width:150px}
.tkx-grid{display:grid;grid-template-columns:34px repeat(7,1fr);border-top:1px solid var(--tkx-line);border-left:1px solid var(--tkx-line);margin-top:12px}
.tkx-grid>div{border-right:1px solid var(--tkx-line);border-bottom:1px solid var(--tkx-line)}
.tkx-wd{background:var(--tkx-navy);color:#fff;text-align:center;font-size:13px;font-weight:600;padding:5px 0}
.tkx-kw{background:#f3f6f9;font-size:11px;color:#6b7c8f;text-align:center;padding-top:6px}
.tkx-day{min-height:104px;padding:3px 4px 4px;cursor:pointer;position:relative;background:#fff;display:flex;flex-direction:column;gap:2px;overflow:hidden}
.tkx-day:hover{filter:brightness(.97)}.tkx-day.we{background:#f7f9fb}.tkx-day.out{opacity:.45}
.tkx-app .tg{background:#d9f2dc}.tkx-app .tb{background:#d6e8fb}.tkx-app .ty{background:#fff4c2}
.tkx-lwl{font-size:11px;color:#174a7c;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tkx-day.sel{outline:3px solid var(--tkx-gold);outline-offset:-3px}
.tkx-day.ph .tkx-num{color:#c0392b}
.tkx-num{font-weight:700;font-size:14px}.tkx-day.today .tkx-num{background:var(--tkx-navy);color:#fff;border-radius:50%;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center}
.tkx-hol{font-size:11px;line-height:1.25;color:#a52a2a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tkx-hol.reg{color:#b07a7a;font-style:italic}
.tkx-cc{display:inline-block;font-size:9px;font-weight:700;color:#fff;border-radius:3px;padding:0 3px;margin-right:3px;background:var(--c)}
.tkx-ev{font-size:11px;line-height:1.3;border-radius:4px;padding:1px 4px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--c)}
.tkx-more{font-size:11px;color:#6b7c8f}
.tkx-sch{display:flex;gap:2px;margin-top:auto}.tkx-sch span{flex:1;height:5px;border-radius:3px;background:var(--c)}
.tkx-dots{display:none;gap:3px;flex-wrap:wrap}.tkx-dots i{width:7px;height:7px;border-radius:50%;background:var(--c)}
.tkx-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#4a5b6e;margin-top:8px}
.tkx-legend b{display:inline-block;width:16px;height:5px;border-radius:3px;vertical-align:middle;margin-right:4px}
.tkx-legend b.sw{height:13px;width:16px;border:1px solid #b9c4d0}
.tkx-legend .sw.tg{background:#d9f2dc}.tkx-legend .sw.tb{background:#d6e8fb}.tkx-legend .sw.ty{background:#fff4c2}
.tkx-note{font-size:12px;color:#8a5a00;background:#fff6dc;border-radius:6px;padding:6px 9px;margin-top:8px}
.tkx-det h3{margin:0 0 8px;font-size:17px}.tkx-det ul{margin:4px 0 10px;padding-left:18px}.tkx-det li{margin:3px 0;font-size:14px}
.tkx-det .rg{color:#6b7c8f;font-size:12px}
.tkx-evrow{display:flex;gap:10px;align-items:flex-start;padding:8px;border-radius:8px;cursor:pointer;border:1px solid var(--tkx-line);margin-bottom:6px;background:#fff}
.tkx-evrow:hover{background:#fffaf0}.tkx-evrow .d{min-width:92px;font-weight:700;font-size:13px}
.tkx-evrow .t{font-weight:700}.tkx-evrow .m{font-size:12px;color:#4a5b6e}
.tkx-stripe{width:5px;align-self:stretch;border-radius:3px;background:var(--c)}
/* Lightbox */
.tkx-lb{position:fixed;inset:0;background:rgba(5,15,30,.72);display:none;z-index:100000;overflow:auto;padding:16px 8px}
.tkx-lb.on{display:block}.tkx-box{background:#fff;max-width:920px;margin:0 auto;border-radius:12px;padding:16px;position:relative}
.tkx-x{position:absolute;right:10px;top:8px;background:#e7edf3;border:0;border-radius:50%;width:34px;height:34px;font-size:20px;cursor:pointer;line-height:1}
.tkx-box h2{margin:0 40px 6px 0;font-size:20px}.tkx-meta{font-size:14px;color:#33475b;margin-bottom:8px}
.tkx-desc{white-space:pre-line;font-size:14px;margin:10px 0}
.tkx-sec{border-top:1px solid var(--tkx-line);margin-top:12px;padding-top:12px}
.tkx-sec h3{margin:0 0 8px;font-size:16px}
.tkx-wday{border:1px solid var(--tkx-line);border-radius:8px;margin-bottom:8px;overflow:hidden}
.tkx-wday .h{background:#f3f6f9;padding:6px 10px;font-weight:700;font-size:14px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.tkx-wday .h span{font-weight:400;color:#33475b}
.tkx-slots{display:flex;overflow-x:auto}.tkx-slot{flex:1;min-width:84px;text-align:center;padding:6px 4px;font-size:12px;border-right:1px solid var(--tkx-line)}
.tkx-slot:last-child{border-right:0}.tkx-slot .tm{font-weight:700}.tkx-slot .T{font-size:16px;font-weight:700}
.tkx-focus{display:flex;align-items:center;gap:10px;background:#fff6dc;border-radius:8px;padding:8px 10px;margin-bottom:8px;font-size:14px}
.tkx-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tkx-form label{font-size:13px;font-weight:600}.tkx-form input[type=text],.tkx-form input[type=datetime-local]{width:100%;padding:8px;border:1px solid #b9c4d0;border-radius:7px;font:inherit;margin-top:3px}
.tkx-req{color:#c0392b}.tkx-inrow{display:flex;gap:6px}.tkx-inrow input{flex:1}
.tkx-res{font-size:13px;border:1px solid var(--tkx-line);border-radius:7px;margin-top:4px;max-height:170px;overflow:auto;display:none}
.tkx-res div{padding:6px 8px;cursor:pointer;border-bottom:1px solid #eef1f4}.tkx-res div:hover{background:#fffaf0}
.tkx-picked{font-size:12px;color:#2f7a4f;margin-top:3px;min-height:15px}
.tkx-sum{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.tkx-sum div{background:#f3f6f9;border-radius:8px;padding:7px 11px;font-size:13px}.tkx-sum b{display:block;font-size:17px}
.tkx-mapw{position:relative}.tkx-map{height:420px;border-radius:10px}
.tkx-mapw.full{position:fixed;inset:0;z-index:100001;background:#fff}.tkx-mapw.full .tkx-map{height:100%;border-radius:0}
.tkx-gps{margin-top:6px;font-size:13px;padding:6px 10px;display:inline-flex;align-items:center;gap:6px}
.tkx-retbox{border:2px dashed var(--tkx-gold);border-radius:10px;padding:12px;margin-top:16px;background:#fffdf5}.tkx-retbox h3{margin:0 0 4px}
.tkx-mh{font-size:15px;margin:14px 0 6px;color:var(--tkx-navy2);border-bottom:2px solid var(--tkx-gold);padding-bottom:3px}
.tkx-fs{position:absolute;right:10px;top:10px;z-index:1000;background:#fff;border:2px solid rgba(0,0,0,.25);border-radius:6px;padding:5px 9px;font-weight:700;cursor:pointer;font:inherit;font-size:13px}
.tkx-mk{background:#fff;border:2px solid var(--tkx-navy);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 5px rgba(0,0,0,.35)}
.tkx-mk.se{border-color:var(--tkx-gold);border-width:3px}
.tkx-tbl{width:100%;border-collapse:collapse;font-size:13px;margin-top:10px}
.tkx-tbl th,.tkx-tbl td{padding:6px 5px;border-bottom:1px solid var(--tkx-line);text-align:left;vertical-align:middle}
.tkx-tbl th{background:#f3f6f9;font-size:12px}.tkx-tbl tr.cl{cursor:pointer}.tkx-tbl tr.cl:hover{background:#fffaf0}
.tkx-lim{display:inline-block;border:3px solid #c0392b;border-radius:50%;min-width:30px;height:30px;line-height:24px;text-align:center;font-weight:700;font-size:12px;background:#fff}
.tkx-hint{font-size:12px;color:#8a3b00}.tkx-small{font-size:12px;color:#5a6b7e}
.tkx-warn{background:#fde2e1;color:#7a1d1a;border-radius:7px;padding:8px 10px;font-size:13px;margin:8px 0}
.tkx-src{font-size:11px;color:#9fb0c3;text-align:center;margin-top:10px;line-height:1.5}
.tkx-src a{color:#c9a227}
.tkx-spin{display:inline-block;width:14px;height:14px;border:2px solid #c9a227;border-top-color:transparent;border-radius:50%;animation:tkxr .8s linear infinite;vertical-align:middle;margin-right:6px}
@keyframes tkxr{to{transform:rotate(360deg)}}
.leaflet-popup-content{font-family:"Segoe UI",Tahoma,sans-serif;font-size:13px;margin:10px 12px}
.tkx-bar1{margin-bottom:10px;justify-content:space-between}
.tkx-views{display:inline-flex;border:2px solid var(--tkx-navy);border-radius:8px;overflow:hidden}
.tkx-views button{background:#fff;color:var(--tkx-navy);border:0;padding:7px 14px;font-weight:700;font-size:14px;cursor:pointer}
.tkx-views button+button{border-left:2px solid var(--tkx-navy)}.tkx-views button.on{background:var(--tkx-navy);color:#fff}
.tkx-search{display:flex;gap:6px;flex:1;max-width:420px;min-width:220px;margin:0}
.tkx-search input{flex:1;padding:8px 10px;border:1px solid #b9c4d0;border-radius:7px;font-size:14px;min-width:0}
.tkx-lwb{display:inline-block;background:#d6e8fb;color:#174a7c;border-radius:10px;padding:1px 8px;font-size:11px;font-weight:600;margin-top:3px}
.tkx-lwbox{background:#e8f2fd;border-left:5px solid #4f86c6;border-radius:8px;padding:9px 12px;margin:10px 0;font-size:14px;color:#123a63}
.tkx-lwbox ul{margin:6px 0 0;padding-left:18px}.tkx-lwbox li{margin:4px 0}.tkx-lwbox .rg{color:#4a6584;font-size:12px}
/* Wochenansicht */
.tkx-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:12px}
.tkx-wcol{min-height:220px;border:1px solid var(--tkx-line);border-radius:8px;padding:6px;gap:4px}
.tkx-wh{font-size:13px;font-weight:600;border-bottom:1px solid rgba(0,0,0,.08);padding-bottom:4px;margin-bottom:2px}
.tkx-wl{font-size:12px;line-height:1.3}.tkx-wl.hol{color:#a52a2a}.tkx-wl.lw{color:#174a7c;font-weight:600}.tkx-wl.sch{color:#33475b}.tkx-wl i{color:#6b7c8f;font-size:11px}
.tkx-wev{font-size:12px;line-height:1.3;border-left:4px solid var(--c);background:#fff;border-radius:5px;padding:4px 6px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.tkx-wev:hover{background:#fffaf0}.tkx-wev small{color:#4a5b6e}
/* Jahresansicht */
.tkx-year{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:12px}
.tkx-mini{border:1px solid var(--tkx-line);border-radius:8px;padding:6px}
.tkx-mt{display:block;width:100%;background:var(--tkx-navy);color:#fff;border:0;border-radius:5px;padding:4px;font-weight:700;font-size:14px;cursor:pointer;margin-bottom:4px}
.tkx-mt:hover{background:var(--tkx-navy2)}
.tkx-mg{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center;font-size:12px}
.tkx-mw{font-weight:700;color:#6b7c8f;font-size:10px}
.tkx-md{padding:3px 0;border-radius:4px;cursor:pointer}.tkx-md.we{color:#6b7c8f}.tkx-md:hover{outline:2px solid var(--tkx-gold)}
.tkx-md.today{outline:2px solid var(--tkx-navy);font-weight:700}
.tkx-switch{display:inline-flex;align-items:center;gap:8px;background:#fff;border:2px solid #8aa1b9;border-radius:20px;padding:3px 12px 3px 4px;font-weight:600;font-size:14px;color:var(--tkx-navy);cursor:pointer}
.tkx-switch .k{width:34px;height:20px;border-radius:10px;background:#c5cfda;position:relative;transition:background .15s}
.tkx-switch .k:after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:left .15s}
.tkx-switch.on{border-color:var(--tkx-navy)}.tkx-switch.on .k{background:#2fa37a}.tkx-switch.on .k:after{left:16px}
.tkx-evrow.hl{background:#d9f2dc;border-color:#7cc488;box-shadow:0 0 0 2px #7cc488}
.tkx-ev{cursor:pointer}.tkx-ev:hover{filter:brightness(1.1)}
.tkx-loclink{font-weight:700;color:#174a7c;text-decoration:underline}
.tkx-lb2{z-index:100002;padding-top:40px}.tkx-box2{max-width:640px}.tkx-map2{height:380px;border-radius:8px}
.tkx-calbox{background:#f3f6f9;border-radius:8px;padding:10px 12px;margin:10px 0}
.tkx-caltip{font-size:13px;margin:2px 0 6px}.tkx-caltip summary{cursor:pointer;color:#174a7c;font-weight:600}.tkx-caltip p,.tkx-caltip ul{margin:6px 0}.tkx-caltip li{margin:4px 0}
.tkx-calbtns{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 6px}.tkx-calbtns a{text-decoration:none;font-size:14px;background:#fff;border:1px solid #b9c4d0}
.tkx-app .tx{background:#eef0f3}.tkx-app .td{background:#ffe8cc}
.tkx-legend .sw.td{background:#ffe8cc}
.tkx-dlp{display:flex;align-items:center;font-size:11px;line-height:1.3;color:#9a4d00;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;border-radius:4px;padding:1px 3px;background:rgba(230,126,34,.12)}
.tkx-dlp:hover{background:rgba(230,126,34,.25)}
.tkx-wdl{display:flex;align-items:flex-start;gap:2px;font-size:12px;line-height:1.3;color:#9a4d00;background:#fff3e3;border-left:4px solid #e67e22;border-radius:5px;padding:4px 6px;cursor:pointer}
.tkx-ev.cl{background:#b0b8c2;text-decoration:line-through;opacity:.85}
.tkx-wev.cl{color:#8a96a3;text-decoration:line-through;border-left-color:#b0b8c2;background:#f4f5f7}
.tkx-evrow.cl{background:#f4f5f7}.tkx-evrow.cl .t{text-decoration:line-through;color:#8a96a3}.tkx-evrow.cl .d{color:#8a96a3}.tkx-evrow.cl .tkx-stripe{background:#b0b8c2}
.tkx-dlb{display:inline-flex;align-items:center;background:#fff1d6;color:#8a4b00;border-radius:10px;padding:1px 8px;font-size:11px;font-weight:600;margin:3px 6px 0 0}
.tkx-dlb.x{background:#eceff2;color:#6b7c8f}
.tkx-dlbox{display:flex;gap:8px;align-items:flex-start;background:#fff3e3;border-left:5px solid #e67e22;border-radius:8px;padding:9px 12px;margin:8px 0;font-size:14px;color:#6b3a00}
.tkx-dlbox.lnk{cursor:pointer}.tkx-dlbox.lnk:hover{background:#ffe8cc}.tkx-dlbox a{color:#9a4d00;font-weight:700}
.tkx-dlx{background:#eceff2;color:#4a5b6e;border-left:5px solid #b0b8c2;border-radius:8px;padding:9px 12px;margin:8px 0;font-size:14px}
@media(max-width:1000px){.tkx-year{grid-template-columns:repeat(3,1fr)}.tkx-week{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){
 .tkx-grid{grid-template-columns:22px repeat(7,1fr)}
 .tkx-day{min-height:58px;padding:2px}.tkx-hol,.tkx-ev,.tkx-more,.tkx-lwl,.tkx-dlp{display:none}.tkx-dots{display:flex}
 .tkx-num{font-size:13px}.tkx-wd{font-size:11px}.tkx-kw{font-size:9px}
 .tkx-title{order:-1;flex-basis:100%;text-align:left;font-size:18px;min-width:0}
 .tkx-head{padding:10px 12px;gap:10px}.tkx-logo img{width:48px;height:48px}.tkx-htitle{font-size:19px}
 .tkx-search{max-width:none;flex-basis:100%;order:3}
 .tkx-week{grid-template-columns:1fr}.tkx-map2{height:300px}.tkx-wcol{min-height:0}
 .tkx-year{grid-template-columns:1fr 1fr;gap:8px}.tkx-mg{font-size:11px}.tkx-form{grid-template-columns:1fr}
 .tkx-map{height:340px}.tkx-tbl .hm{display:none}
}
