.ehp-portal{--ehp-primary:#172f37;--ehp-muted:#586872;--ehp-border:#d6dee1;max-width:880px;margin:0 auto 35px;color:#202d34;font-family:inherit;font-size:15px;line-height:1.5}
.ehp-portal *{box-sizing:border-box}.ehp-portal .ehp-hero{background:#172f37;color:#fff;border-radius:18px;padding:27px 27px 24px;margin:10px 0 20px}
.ehp-portal .ehp-kicker{color:#a9cfd4;font-size:11px;letter-spacing:.11em;font-weight:800}.ehp-portal .ehp-hero h2{color:#fff;font-size:30px;line-height:1.2;margin:8px 0}.ehp-portal .ehp-hero p{color:#dbe9ea;margin:0}
.ehp-portal .ehp-card{background:#fff;border:1px solid var(--ehp-border);border-radius:15px;padding:22px;margin:14px 0;box-shadow:0 2px 9px #122d370b;color:#202d34}
.ehp-portal h3{font-size:20px;line-height:1.3;margin:0 0 12px}.ehp-portal h4{font-size:16px;margin:19px 0 9px}
.ehp-portal .ehp-form{display:flex;flex-direction:column;gap:12px;margin:14px 0}.ehp-portal .ehp-form label{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600;color:#21343c}
.ehp-portal .ehp-form input:not([type=checkbox]){background:#fff;color:#202d34;border:1px solid #b7c5cd;border-radius:9px;min-height:45px;font-size:16px;padding:9px 12px;width:100%;outline-offset:2px}
.ehp-portal button:not(.ehp-plain){border:1px solid #172f37;border-radius:9px;background:#172f37;color:#fff;padding:10px 16px;min-height:42px;cursor:pointer;font-weight:650;font-size:14px;width:max-content;max-width:100%}
.ehp-portal button:not(.ehp-plain):hover{background:#30525c}.ehp-portal .ehp-form .ehp-choice{display:flex;flex-direction:row;align-items:center;font-weight:400}
.ehp-portal .ehp-help,.ehp-portal .ehp-muted,.ehp-portal .ehp-small{color:var(--ehp-muted);font-size:13px}.ehp-portal a{color:#1b546a}.ehp-portal .ehp-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #e3e8eb}.ehp-portal .ehp-entry:last-child{border-bottom:0}
.ehp-portal .ehp-entry>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.ehp-portal .ehp-entry strong{font-size:15px}.ehp-portal .ehp-entry span{font-size:13px;overflow-wrap:anywhere}.ehp-portal .ehp-entry-right{display:flex;flex-direction:column;align-items:end;gap:8px}
.ehp-portal .ehp-chip{background:#eef4f4;color:#245057;border:1px solid #cedfe1;border-radius:30px;padding:5px 10px;font-size:12px;white-space:nowrap}
.ehp-portal .ehp-plain{border:0;background:none;padding:0;color:#256275;cursor:pointer;text-decoration:underline;font-size:13px;min-height:26px}
.ehp-portal .ehp-welcome{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:12px 3px}.ehp-portal .ehp-welcome h3{margin:0}
.ehp-portal .ehp-alert{padding:13px 15px;border-radius:9px;background:#ecf4f4;border:1px solid #b8d6d8;color:#214b55}
.ehp-portal .ehp-availability{border-top:1px solid var(--ehp-border);margin-top:15px;padding-top:5px}.ehp-portal .ehp-availability p{font-size:13px;color:var(--ehp-muted)}
.ehp-portal .ehp-footer{text-align:center;color:#6d7b82;font-size:12px;margin:25px 0}
@media(max-width:600px){.ehp-portal .ehp-card{padding:16px;border-radius:12px}.ehp-portal .ehp-hero{padding:20px}.ehp-portal .ehp-hero h2{font-size:25px}.ehp-portal .ehp-entry{align-items:flex-start;flex-wrap:wrap}.ehp-portal .ehp-entry-right{align-items:start}}

.ehp-portal .ehp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* Alpha 3 – Rückkehr zum Zeitraster aus V2/V6. Bewusst getrennt vom Theme. */
.ehp-portal{--ehp-primary:#17684f;--ehp-muted:#657a70;--ehp-border:#d9e5dc;max-width:1220px;color:#1b342c}
.ehp-portal .ehp-hero{background:#173e33;border-radius:14px;padding:25px 28px;margin-bottom:14px}
.ehp-portal .ehp-hero .ehp-kicker{color:#b2d9bc}
.ehp-portal .ehp-hero p{color:#d0e6d8}
.ehp-portal .ehp-hero h2{font-weight:790;font-size:30px;letter-spacing:-.5px}
.ehp-portal .ehp-card{border-color:#d8e5dd;box-shadow:0 2px 7px #25443308;border-radius:13px}
.ehp-portal .ehp-card h3{font-size:19px;color:#1c382e;font-weight:750}
.ehp-portal .ehp-event-picker{display:flex;gap:11px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid #d8e5dd;border-radius:13px;padding:12px 15px;margin-bottom:16px}
.ehp-portal .ehp-event-picker label{font-weight:700;white-space:nowrap;font-size:13px;color:#315d4b}
.ehp-portal .ehp-event-picker select{min-width:215px;max-width:100%;flex:1;background:#fff;color:#203b31;border:1px solid #bfd4c6;border-radius:9px;padding:10px 13px;font-size:14px}
.ehp-portal .ehp-event-picker .ehp-switch{min-height:40px}
.ehp-portal .ehp-welcome{background:#edf6ef;border:1px solid #d7e9db;padding:12px 17px;border-radius:11px}
.ehp-portal .ehp-welcome h3{font-size:17px;margin:0}
.ehp-portal .ehp-welcome .ehp-form{margin:0}
.ehp-portal .ehp-card-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.ehp-portal .ehp-card-heading h3{margin-bottom:3px}
.ehp-portal .ehp-event-tag{background:#ebf4ee;color:#286445;padding:5px 10px;border-radius:9px;font-size:12px;font-weight:700}
.ehp-portal .ehp-schedule{padding:20px 18px}
.ehp-portal .ehp-timewrap{max-width:100%;overflow-x:auto;scrollbar-color:#accbb8 #e9eee9;scrollbar-width:thin;padding-bottom:6px;outline-offset:2px}
.ehp-portal .ehp-timetable{border-collapse:separate;border-spacing:5px 5px;table-layout:fixed;width:100%;min-width:810px;margin:0;color:#193d2c}
.ehp-portal .ehp-timetable th{background:transparent;border:0;font-weight:700;font-size:12px;color:#5d7a68;padding:6px 5px;text-align:center}
.ehp-portal .ehp-timetable .ehp-area-head{min-width:140px;width:140px;text-align:left}
.ehp-portal .ehp-timetable .ehp-area-name{text-align:left;color:#233d31;min-width:140px;width:140px;font-size:12px;font-weight:750;padding-left:8px;vertical-align:middle;border-bottom:1px solid #e5eae5}
.ehp-portal .ehp-timetable .ehp-day-head{border-bottom:1px solid #d5e2da;font-weight:700}
.ehp-portal .ehp-timetable .ehp-hour-head{font-size:10px;white-space:nowrap;color:#527360;font-weight:700;padding:8px 2px}
.ehp-portal .ehp-timetable td{padding:0;border:0;min-width:63px}
.ehp-portal .ehp-timetable .ehp-empty-cell{background:#f3f7f3;border-radius:9px;min-height:57px}
.ehp-portal .ehp-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:64px;padding:7px 4px;width:100%;text-decoration:none;border:2px solid transparent!important;border-radius:9px!important;text-align:center;white-space:normal;line-height:1.2;color:#154b36!important;background:#e5f4e9!important;font-size:11px!important;box-shadow:none!important;transition:filter .12s,outline .12s}
.ehp-portal .ehp-slot:hover,.ehp-portal .ehp-slot:focus{filter:brightness(.96);outline:2px solid #19815e;outline-offset:0}
.ehp-portal .ehp-slot strong{font-size:15px;color:#103e2d;font-weight:800}
.ehp-portal .ehp-slot .ehp-slot-time{font-size:10px;color:#365c48}
.ehp-portal .ehp-slot .ehp-slot-remaining{font-size:10px;color:#366245}
.ehp-portal .ehp-slot .ehp-slot-own{font-size:9px;font-weight:750;background:#fff9;padding:2px 5px;border-radius:6px;margin-top:3px}
.ehp-portal .ehp-slot.ehp-slot-limited{background:#fff1c9!important;border-color:#fff1c9!important}
.ehp-portal .ehp-slot.ehp-slot-full{background:#fce6e3!important;border-color:#fce6e3!important}
.ehp-portal .ehp-grid-foot{font-size:11px;color:#5c806c;margin:11px 3px 0}
.ehp-portal .ehp-login{max-width:610px;margin-left:auto;margin-right:auto}
.ehp-portal .ehp-birthday{border:0;margin:0;padding:0;min-width:0}
.ehp-portal .ehp-birthday legend{padding:0;font-size:14px;font-weight:650;margin-bottom:5px;color:#21343c}
.ehp-portal .ehp-dob-row{display:flex;gap:8px;align-items:end;max-width:370px}
.ehp-portal .ehp-dob-row label{flex:1;min-width:0}
.ehp-portal .ehp-dob-row label.ehp-year{flex:1.7}
.ehp-portal .ehp-dob-row .ehp-dot{font-size:22px;padding-bottom:8px;color:#65806d}
.ehp-portal .ehp-dob-row input{text-align:center}
.ehp-portal button:not(.ehp-plain):not(.ehp-dialog-close){background:#17684f;border-color:#17684f}
.ehp-portal .ehp-dialog-close{width:auto!important;height:auto!important;background:#e8f1eb!important;color:#194e38!important;border:0!important;border-radius:9px!important;font-size:24px!important;min-height:36px!important;padding:0 11px!important}
.ehp-portal .ehp-chip{background:#eaf5ed;border:0;color:#17684f}
.ehp-portal .ehp-plain{color:#17684f}
.ehp-portal .ehp-availability{padding-top:12px}
.ehp-portal .ehp-form input{accent-color:#17684f}
.ehp-shift-dialog{max-width:min(540px,calc(100vw - 30px));width:100%;max-height:90vh;overflow:auto;border:1px solid #d8e7da;border-radius:15px;padding:24px;box-shadow:0 26px 70px #0b2f2150;color:#173c2a;background:#fff;box-sizing:border-box}
.ehp-shift-dialog::backdrop{background:#0b1c16a0}
.ehp-shift-dialog .ehp-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ehp-shift-dialog h3{font-size:20px;margin:10px 0 4px;color:#193d2e}
.ehp-shift-dialog .ehp-kicker{font-size:10px;color:#537961;font-weight:800;letter-spacing:1.3px}
.ehp-shift-dialog .ehp-dialog-date{color:#456c54;font-size:14px;margin:0 0 15px}
.ehp-shift-dialog .ehp-dialog-stats{display:flex;flex-direction:column;background:#ebf6ee;padding:14px;border-radius:9px;gap:3px;margin:14px 0;color:#1c5e40;font-size:13px}
.ehp-shift-dialog .ehp-dialog-stats strong{font-size:17px}
.ehp-shift-dialog .ehp-form{margin-top:17px}
.ehp-shift-dialog .ehp-form button,.ehp-shift-dialog .ehp-primary-link{display:inline-block;border:0;background:#17684f;color:#fff!important;font-weight:700;padding:12px 18px;border-radius:9px;text-decoration:none;cursor:pointer}
.ehp-shift-dialog .ehp-alert{background:#eff8f0;color:#17684f;padding:12px;border-radius:8px}
@media(max-width:640px){.ehp-portal .ehp-schedule{padding:14px 9px}.ehp-portal .ehp-hero{padding:20px 17px}.ehp-portal .ehp-timetable{min-width:720px}.ehp-portal .ehp-timetable .ehp-area-name,.ehp-portal .ehp-timetable .ehp-area-head{min-width:104px;width:104px}.ehp-portal .ehp-event-picker{padding:12px}.ehp-portal .ehp-event-picker select{flex-basis:100%}}

.ehp-portal .ehp-timetable button.ehp-slot,.ehp-portal .ehp-timetable a.ehp-slot{width:100%!important;max-width:none;box-sizing:border-box;}
.ehp-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ehp-profile-fields label{display:grid;gap:5px}.ehp-portal textarea{width:100%;min-height:85px}.ehp-confirmed-people{border:1px solid #d6e7d9;border-radius:10px;padding:10px 13px;background:#f3f9f4;margin:12px 0}@media(max-width:650px){.ehp-profile-fields{grid-template-columns:1fr}}
/* Alpha 5: statistische Crew-Auswertung, bewusst mit ruhigen, kompakten Tabellen. */
.ehp-portal .ehp-stats-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.ehp-portal .ehp-stat-line{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid #e3ebe4}
.ehp-portal .ehp-crew-stats h4{margin:4px 0 9px;color:#1b5239}
@media(max-width:640px){.ehp-portal .ehp-stats-columns{grid-template-columns:1fr}}
.ehp-portal .ehp-mini-bar{height:6px;background:#eff4ef;border-radius:8px;overflow:hidden;margin-bottom:8px}
.ehp-portal .ehp-mini-bar span{display:block;height:100%;background:#398866;border-radius:8px}
