.sttv-widget{max-width:380px;font:15px Arial,sans-serif;color:#222}.sttv-widget h3{font-size:22px;margin:0 0 14px}.sttv-widget h3 small{font-size:12px;font-weight:normal}.sttv-calendar{width:285px;max-width:100%}.sttv-month{border:1px solid #bbb;background:#fff;box-shadow:0 1px 3px #ccc}.sttv-month-header{display:flex;align-items:center;justify-content:space-between;min-height:32px;color:#777;font-weight:bold}.sttv-month-header button{border:0;background:transparent;cursor:pointer;color:#789;font-size:20px;padding:2px 8px}.sttv-month-header button:hover{color:#222}.sttv-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}.sttv-table th,.sttv-table td{border:1px solid #d0d0d0;text-align:center;padding:0;height:34px;font-size:12px}.sttv-table th{height:28px;background:#fafafa;color:#444}.sttv-day{display:block;width:100%;height:34px;padding:0;border:0;background:#fff;color:#555;cursor:pointer;font-size:12px}.sttv-day:hover{outline:2px solid #444;outline-offset:-2px}.sttv-day:disabled{cursor:default;opacity:.35}.sttv-day.sttv-open{background:#44c54b;color:#111}.sttv-day.sttv-closed{background:#d60000;color:#fff;cursor:not-allowed}.sttv-day.sttv-picked{background:#276cbd;color:#fff;font-weight:bold}.sttv-legend{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0}.sttv-key{width:18px;height:18px;display:inline-block}.sttv-free{background:#44c54b}.sttv-full{background:#f5c4a5}.sttv-locked{background:#d60000}.sttv-day.sttv-full{background:#f5c4a5;color:#703b10;cursor:not-allowed}.sttv-day.sttv-full:disabled{opacity:1}.sttv-selected{background:#276cbd}.sttv-choice{font-size:13px}.sttv-form label{display:block;margin:12px 0 6px}.sttv-form input:not([type=checkbox]),.sttv-form textarea{display:block;width:100%;max-width:300px;box-sizing:border-box;margin-top:5px;padding:8px;border:1px solid #ccc;border-radius:4px}.sttv-form .sttv-checkbox{display:flex;align-items:center;gap:5px}.sttv-form button{padding:8px 15px;cursor:pointer}.sttv-notice{color:#8a4a00;background:#fff5d9;border-left:3px solid #d89b24;padding:9px;font-size:13px}.sttv-message{font-weight:bold}.sttv-admin-controls{margin:16px 0}.sttv-year-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;max-width:1300px}.sttv-year-grid .sttv-month{box-shadow:none}.sttv-year-grid .sttv-table td,.sttv-year-grid .sttv-table th{height:27px}.sttv-year-grid .sttv-day{height:27px}.sttv-year-grid .sttv-day:not(:disabled){cursor:default}.sttv-year-grid .sttv-month-header{justify-content:center}.sttv-year-grid .sttv-month-header button{display:none}
.sttv-admin-form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 20px}.sttv-admin-form label{display:inline-flex;align-items:center;gap:6px}.sttv-course-list{margin:12px 0}.sttv-year-grid .sttv-day:not(:disabled){cursor:pointer}.sttv-year-grid .sttv-day:not(:disabled):hover{outline:2px solid #222;outline-offset:-2px}.sttv-admin h2 a{text-decoration:none}.sttv-admin .sttv-notice{max-width:700px}

/* Gleiche Signalfarben auch für nicht anklickbare Tage */
.sttv-day.sttv-closed:disabled{opacity:1;background:#d60000;color:#fff;cursor:not-allowed}.sttv-day.sttv-open:disabled{opacity:.65}.sttv-year-grid .sttv-day.sttv-closed{opacity:1}
.sttv-form select{display:block;width:100%;max-width:300px;padding:8px;margin-top:5px}.sttv-form .sttv-choice-option{display:block;margin:5px 0}.sttv-fields-table{max-width:1250px}.sttv-fields-table td{vertical-align:middle}.sttv-fields-table input[type=text]{width:100%;min-width:140px}.sttv-fields-table textarea{width:100%;min-width:140px}.sttv-fields-table td:first-child{white-space:nowrap}.sttv-fields-table .button{margin:2px}

.sttv-manage{max-width:700px}.sttv-manage-day{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #ddd}.sttv-manage-day button{cursor:pointer}.sttv-manage-success{padding:10px;border-left:4px solid #16803d;background:#f0fff4}

/* v1.1.32: Anmeldeschluss erreicht, Kurstag bleibt sichtbar. */
.sttv-deadline-key{background:#dce2e8}.sttv-widget .sttv-day.sttv-cutoff{background:#dce2e8;color:#364152;cursor:not-allowed}.sttv-widget .sttv-day.sttv-cutoff:disabled{opacity:1}

/* v1.1.39: Personal confirmation links show all future course dates. */
.sttv-manage-139 .sttv-manage-upcoming{border-top:1px solid #ddd;margin:16px 0}
.sttv-manage-139 .sttv-manage-entry{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid #ddd}
.sttv-manage-139 .sttv-manage-entry small{display:block;color:#555;margin-top:3px}
.sttv-manage-139 .sttv-manage-action{margin:0;flex-shrink:0}
.sttv-manage-139 .sttv-manage-info{font-size:13px;color:#555;margin-top:22px}
@media(max-width:520px){.sttv-manage-139 .sttv-manage-entry{align-items:flex-start;flex-direction:column;gap:9px}}

/* 1.1.48: green bookable, pastel green unavailable, red fully booked, blue picked. */
.sttv-widget .sttv-day.sttv-open{background:#44c54b;color:#111}
.sttv-widget .sttv-day.sttv-full,.sttv-widget .sttv-day.sttv-full:disabled{background:#d83b3b;color:#fff;opacity:1}
.sttv-widget .sttv-day.sttv-cutoff,.sttv-widget .sttv-day.sttv-cutoff:disabled{background:#b7deb1;color:#326038;opacity:1;cursor:default}
.sttv-widget .sttv-free{background:#44c54b}.sttv-widget .sttv-full{background:#d83b3b}.sttv-widget .sttv-deadline-key{background:#b7deb1}.sttv-widget .sttv-selected{background:#276cbd}
.sttv-widget .sttv-message{min-height:20px}.sttv-widget.sttv-booked .sttv-message{background:#e9f7ed;border-left:4px solid #278542;padding:12px 14px;margin-top:14px;line-height:1.5}.sttv-widget.sttv-booked button[type=submit]{opacity:.65;cursor:default}
.sttv-manage{max-width:850px}.sttv-manage-card{border:1px solid #d9dfe3;border-radius:8px;background:#fff;margin:14px 0;padding:18px}.sttv-manage-card h4{font-size:18px;margin:0 0 14px}.sttv-manage-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-top:1px solid #edf0f1}.sttv-manage-entry:first-of-type{border-top:0}.sttv-manage-date{font-weight:650}.sttv-manage .sttv-cancel-expired{font-size:13px;color:#636870}.sttv-manage .sttv-manage-action{margin:0}.sttv-manage .sttv-manage-action button{background:#09a0bb;color:#fff;border:0;border-radius:4px;padding:9px 14px;cursor:pointer;font-weight:600}.sttv-manage .sttv-manage-action button:hover{background:#07869e}.sttv-manage-notice{font-size:13px;color:#555}@media(max-width:540px){.sttv-manage-entry{align-items:flex-start;flex-direction:column}.sttv-manage-card{padding:12px}}
/* 1.1.48.1: picked must override open in theme and plugin CSS cascade. */
.sttv-widget .sttv-day.sttv-picked,.sttv-widget .sttv-day.sttv-picked.sttv-open{background:#276cbd!important;color:#fff!important;font-weight:700!important;opacity:1!important}
/* Typed entries stay readable even when the active theme shrinks form elements. */
.sttv-widget .sttv-form input:not([type=checkbox]):not([type=radio]),.sttv-widget .sttv-form textarea,.sttv-widget .sttv-form select{font-size:16px!important;line-height:1.5!important;color:#202930!important;min-height:44px!important;padding:9px 11px!important;background:#fff!important}
.sttv-widget .sttv-form input[type=checkbox]{accent-color:#0b9fbb}
/* Customer account page: intentional card layout and clear spacing on desktop and mobile. */
.sttv-manage{max-width:900px!important;margin:10px auto 30px!important;font-size:15px!important;line-height:1.6!important;color:#253241!important}
.sttv-manage>h3{font-size:25px!important;line-height:1.25!important;margin:0 0 8px!important}
.sttv-manage>p{margin:8px 0 20px!important;line-height:1.5!important}
.sttv-manage .sttv-manage-card{box-sizing:border-box!important;display:block!important;max-width:100%!important;border:1px solid #d3dbe2!important;border-radius:8px!important;background:#fff!important;box-shadow:0 2px 7px rgba(20,35,50,.06)!important;margin:18px 0!important;padding:18px 22px!important}
.sttv-manage .sttv-manage-card h4{font-size:19px!important;font-weight:700!important;color:#1f303d!important;line-height:1.35!important;margin:0 0 8px!important}
.sttv-manage .sttv-manage-entry{display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 18px!important;margin:0!important;padding:13px 0!important;border-top:1px solid #e6ebef!important}
.sttv-manage .sttv-manage-date{white-space:nowrap!important;min-width:105px!important;font-size:16px!important;font-weight:650!important;letter-spacing:.1px}
.sttv-manage .sttv-cancel-expired{font-size:13px!important;line-height:1.5!important;color:#626f7c!important;flex:1 1 180px!important;text-align:right!important}
.sttv-manage .sttv-manage-action{margin:0!important;padding:0!important;display:block!important}
.sttv-manage .sttv-manage-action button{background:#0ba0be!important;border:0!important;color:#fff!important;font-size:14px!important;border-radius:5px!important;padding:10px 16px!important;cursor:pointer!important;min-width:108px!important;min-height:39px!important;font-weight:600!important}
.sttv-manage .sttv-manage-action button:hover{background:#087a96!important}
.sttv-manage .sttv-manage-info{font-size:13px!important;line-height:1.6!important;color:#55626f!important;margin-top:18px!important}
@media(max-width:600px){.sttv-manage .sttv-manage-card{padding:13px 15px!important}.sttv-manage .sttv-manage-entry{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}.sttv-manage .sttv-cancel-expired{text-align:left!important}.sttv-manage .sttv-manage-card h4{font-size:18px!important}}
.sttv-manage .sttv-manage-card-note{background:#f3f7fa;border-radius:5px;padding:9px 12px;margin:10px 0 0!important;font-size:13px!important;line-height:1.5!important}

/* v1.1.49: clear spacing between lookup email and submit button. */
.sttv-manage .sttv-lookup-request-form button[type="submit"]{display:inline-block!important;margin-top:16px!important;}
