/* Employee workspace: shared by Heute, Plan, Verfügbar, Stempel and Meine Daten. */
.employee-app {
  --bg: #f6f7f9;
  --ink: #18243b;
  --muted: #59657a;
  --line: #dde2eb;
  --radius: 10px;
  --radius-card: 18px;
  --shadow-card: 0 2px 8px rgb(24 36 59 / 3%);
  background: var(--bg);
}
.employee-app .shell { max-width: 960px; padding: 24px 32px 120px; }
.employee-app .shell .app-top {
  display: flex; position: static; background: none; backdrop-filter: none;
  padding: 0 0 20px; margin: 0; border-bottom: 1px solid var(--line);
}
.employee-app .brand { width: 100%; gap: 12px; }
.employee-app .brand .title { display: flex; align-items: center; gap: 10px; font-size: 20px; text-decoration: none; }
.employee-app .brand-mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: white; border-radius: 9px; font-size: 18px; line-height: 1; }
.employee-app .brand-area { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500; }
.employee-app .employee-heading { margin: 28px 0 24px; }
.employee-app .eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 10px; }
.employee-app .page-title, .employee-app .heute-greet { font-size: clamp(26px, 4.2vw, 38px); line-height: 1.15; letter-spacing: -.045em; font-weight: 750; margin: 0 0 10px; }
.employee-app .page-lede { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.employee-app .heute-date { font-size: 13px; margin-bottom: 8px; }
.employee-app .hint, .employee-app .meta-line { font-size: 12px; line-height: 1.6; }
.employee-app .sec-label { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; margin: 24px 0 8px; }
.employee-app .btn { border-radius: 10px; font-size: 14px; font-weight: 650; }
.employee-app .btn-primary { background: var(--accent); border-color: var(--accent); }
.employee-app .btn-primary:hover { background: #4338ca; }
.employee-app .btn-primary:disabled { color: #52607b; background: #e4e7f4; border-color: #d9deed; opacity: 1; }
.employee-app .btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.employee-app .btn-secondary:hover { background: #f0f2f7; }
.employee-app :is(button, a, summary, input, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.employee-app input, .employee-app textarea, .employee-app select { min-height: 46px; border-radius: 10px; font-size: 16px; }
.employee-app .card, .employee-app .plan-shift, .employee-app .clock-card { border: 1px solid var(--line); box-shadow: var(--shadow-card); background: #fff; border-radius: var(--radius-card); }
.employee-app .heute .status-card { padding: 32px; margin-top: 16px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); }
.employee-app .status-emblem { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 14px; color: var(--accent); background: #eef0ff; }
.employee-app .status-title { font-size: 26px; line-height: 1.25; }
.employee-app .status-sub { font-size: 14px; margin-top: 10px; }
.employee-app .status-card.is-now .status-kicker { color: var(--accent); }
.employee-app .btn.heute-cta { min-height: 56px; border-radius: 12px; margin: 4px 0 8px; font-size: 15px; }
.employee-app .btn.clock-action, .employee-app .punch .punch-primary { background: #15803d; border-color: #15803d; color: white; }
.employee-app .btn.clock-action:hover, .employee-app .punch .punch-primary:hover { background: #166534; }
.employee-app .punch .punch-primary:disabled { color: #52607b; background: #e4e7f4; border-color: #d9deed; }
.employee-app .tabs { max-width: 920px; left: 50%; right: auto; width: 100%; transform: translateX(-50%); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 20px rgb(24 36 59 / 4%); }
.employee-app .tabs a { gap: 5px; font-size: 12px; color: var(--muted); border-top: 0; }
.employee-app .tabs a.active { background: #eef0ff; color: #4338ca; box-shadow: inset 0 3px #4f46e5; }
.employee-app .tabs a:first-child { border-top-left-radius: 17px; }
.employee-app .tabs a:last-child { border-top-right-radius: 17px; }
.employee-app .tabs a:hover { text-decoration: none; background: #f3f4fb; }
.employee-app .week-chips { gap: 8px; margin: 12px 0; }
.employee-app .week-chip { border: 1px solid var(--line); border-radius: 12px; background: #fff; min-height: 54px; box-shadow: none; }
.employee-app .week-chip.active { color: #3730a3; background: #eef0ff; border-color: #a5a9ed; box-shadow: none; }
.employee-app .week-chip.active .range { color: #4338ca; }
.employee-app .roster .day-strip, .employee-app .punch .day-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 12px; margin: 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.employee-app .roster .day-strip { grid-template-columns: auto repeat(7, minmax(0, 1fr)); }
.employee-app .roster .day-strip .week-chip, .employee-app .punch .day-strip .week-chip { width: 100%; max-width: none; height: 54px; min-height: 44px; aspect-ratio: auto; border-radius: 10px; opacity: 1; border-color: transparent; color: var(--muted); }
.employee-app .roster .day-strip .week-chip .kw, .employee-app .punch .day-strip .week-chip .kw { font-size: 12px; }
.employee-app .roster .day-strip .week-chip .range, .employee-app .punch .day-strip .week-chip .range { font-size: 11px; }
.employee-app .roster .day-strip .week-chip.active, .employee-app .punch .day-strip .week-chip.active { background: var(--ink); color: white; }
.employee-app .roster .day-strip .week-chip.active .range, .employee-app .punch .day-strip .week-chip.active .range { color: white; }
.employee-app .roster .day-strip .week-chip[data-day="all"] { height: 54px; padding: 0 12px; }
.employee-app #shift_list { display: grid; gap: 12px; margin: 20px 0; }
.employee-app .roster .plan-shift { padding: 24px; border-left: 4px solid var(--accent); margin: 0; }
.employee-app .roster .plan-shift-time { font-size: 23px; margin-bottom: 10px; }
.employee-app .roster .plan-shift-meta { font-size: 13px; }
.employee-app .roster #page_lede { margin: 16px 0 8px; font-weight: 650; color: var(--ink); }
.employee-app .roster .plan-more { padding: 0; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.employee-app .roster .plan-more > summary { padding: 18px 20px; color: var(--ink); font-size: 13px; list-style: disclosure-closed; list-style-position: inside; min-height: 52px; }
.employee-app .roster .plan-more[open] > summary { border-bottom: 1px solid var(--line); margin: 0 0 16px; list-style-type: disclosure-open; }
.employee-app .roster .plan-more > :not(summary) { margin-left: 20px; margin-right: 20px; }
.employee-app .roster .plan-more > :last-child { margin-bottom: 20px; }
.employee-app .empty-card { padding: 24px; line-height: 1.5; }
.employee-app .clock-card { padding: 28px; margin: 20px 0 28px; }
.employee-app .punch-summary { align-items: center; margin-bottom: 24px; }
.employee-app .punch-tracked-kicker { font-size: 13px; margin-bottom: 10px; }
.employee-app .punch-tracked-time { font-size: 44px; }
.employee-app .punch .punch-actions { width: 48%; max-width: 300px; }
.employee-app .punch #btn_in, .employee-app .punch #btn_out { min-height: 72px; border-radius: 12px; font-size: 16px; }
.employee-app .punch-pause { border-top: 1px solid var(--line); padding-top: 20px; gap: 12px; }
.employee-app .punch .punch-list li { padding: 18px 24px 18px 36px; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
.employee-app .punch-list li::before { left: 16px; top: 24px; }
.employee-app .punch-list li::after { left: 20px; top: 33px; }
.employee-app .punch #btn_scan { border: 0; color: var(--muted); background: #f6f7f9; font-size: 12px; }
.employee-app .kann #form { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-top: 20px; }
.employee-app .kann #form > .row { margin-bottom: 28px; }
.employee-app .kann .field { display: block; font-size: 13px; font-weight: 650; margin-bottom: 12px; }
.employee-app .kann .seg { grid-template-columns: 1fr 1fr; background: #f1f3f8; padding: 5px; border-radius: 12px; }
.employee-app .kann .seg button { border: 1px solid transparent; background: transparent; border-radius: 8px; font-size: 12px; }
.employee-app .kann .seg button[aria-pressed="true"] { background: #fff; color: #3730a3; border-color: #d3d7ec; box-shadow: 0 1px 3px rgb(24 36 59 / 6%); }
.employee-app .kann .day-toggles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.employee-app .kann .day-toggles button { width: 100%; height: 48px; min-height: 44px; border-radius: 10px; opacity: 1; color: var(--muted); }
.employee-app .kann .day-toggles button[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.employee-app .kann .kann-hours { padding: 0 16px; background: #f6f7fb; border: 1px solid var(--line); box-shadow: none; border-radius: 12px; }
.employee-app .kann .kann-hours-row { min-height: 62px; }
.employee-app .kann .kann-hours-value { width: 130px; padding: 8px; background: white; border: 1px solid var(--line); }
.employee-app .kann .kann-more > summary { font-size: 13px; color: var(--accent); list-style: disclosure-closed; }
.employee-app .kann .kann-more > summary::after { content: '+'; margin-left: auto; font-size: 20px; }
.employee-app .kann .kann-more[open] > summary::after { content: '−'; }
.employee-app.kann .footer { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); max-width: 920px; left: 50%; right: auto; width: 100%; transform: translateX(-50%); padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.employee-app .footer-inner { max-width: none; display: flex; align-items: center; gap: 24px; }
.employee-app .save-context { color: var(--muted); font-size: 12px; flex: 1; }
.employee-app.kann .kann-save { width: auto; flex: 1; border-radius: 10px; font-size: 14px; }
.employee-app .kann.shell { padding-bottom: 200px; }
.employee-app .demand-banner:empty { display: none; }
.employee-app .demand-banner { border-radius: 12px; font-size: 13px; }
.employee-app .onboard #form { padding: 0; border: 0; background: none; box-shadow: none; }
.employee-app .profile-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; margin: 0 0 24px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.employee-app .profile-section legend { float: left; grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 4px; padding: 0; font-size: 15px; font-weight: 700; }
.employee-app .profile-section legend span { color: var(--accent); font-size: 12px; padding: 8px; background: #eef0ff; border-radius: 8px; }
.employee-app .profile-section .row { margin: 0; min-width: 0; }
.employee-app .profile-section label.field { font-size: 12px; font-weight: 600; }
.employee-app .profile-section input[readonly] { color: var(--muted); background: #f6f7f9; }
.employee-app .onboard-optional { padding: 20px 24px; background: #fff; border-radius: 16px; margin: 0 0 24px; }
.employee-app .onboard-optional summary { list-style: disclosure-closed; list-style-position: inside; font-size: 14px; }
.employee-app .onboard-optional[open] summary { margin-bottom: 20px; list-style-type: disclosure-open; }
.employee-app .onboard-progress { color: var(--muted); line-height: 1.6; font-size: 12px; margin-bottom: 20px; }
@media (min-width: 720px) {
  .employee-app .heute { max-width: 780px; }
  .employee-app .punch { max-width: 820px; }
  .employee-app #shift_list { grid-template-columns: 1fr 1fr; }
  .employee-app #shift_list .empty-card { grid-column: 1 / -1; }
  .employee-app #correction_form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .employee-app #correction_form .row { margin: 0; }
}
@media (max-width: 600px) {
  .employee-app .shell { padding: 16px 16px 104px; }
  .employee-app .shell .app-top { padding-bottom: 16px; }
  .employee-app .brand-area { font-size: 10px; }
  .employee-app .employee-heading { margin: 24px 0 20px; }
  .employee-app .tabs { border-radius: 0; border-left: 0; border-right: 0; }
  .employee-app .tabs a:first-child, .employee-app .tabs a:last-child { border-radius: 0; }
  .employee-app .heute .status-card { padding: 24px; min-height: 230px; }
  .employee-app .status-title { font-size: 23px; }
  .employee-app .roster .day-strip, .employee-app .punch .day-strip { gap: 2px; padding: 6px; }
  .employee-app .roster .day-strip .week-chip, .employee-app .punch .day-strip .week-chip { height: 48px; }
  .employee-app .roster .day-strip .week-chip[data-day="all"] { height: 48px; padding: 0 6px; }
  .employee-app .roster .day-strip .week-chip .kw { font-size: 11px; }
  .employee-app .roster .day-strip .week-chip .range { font-size: 10px; }
  .employee-app .roster .plan-shift { padding: 20px; }
  .employee-app .clock-card { padding: 20px; }
  .employee-app .punch-tracked-time { font-size: 36px; }
  .employee-app .punch .punch-actions { width: 50%; }
  .employee-app .punch #btn_in, .employee-app .punch #btn_out { font-size: 14px; }
  .employee-app .punch-pause { gap: 8px; }
  .employee-app .punch-pause .btn { font-size: 12px; padding: 8px; }
  .employee-app .kann #form { padding: 20px 16px; }
  .employee-app .kann .day-toggles { gap: 5px; }
  .employee-app .kann .day-toggles button { height: 44px; font-size: 12px; }
  .employee-app.kann .footer { padding: 12px 16px; border-radius: 0; border-left: 0; border-right: 0; }
  .employee-app .save-context { display: none; }
  .employee-app.kann .kann-save { width: 100%; }
  .employee-app .profile-section { grid-template-columns: 1fr; padding: 20px; }
  .employee-app .profile-section legend { font-size: 14px; }
}
.employee-app[data-worker-access="missing"] .footer { display: none; }
.employee-app[data-worker-access="active"] .employee-access { box-shadow: none; }
.employee-app input[type="time"] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.employee-app .kann .kann-hours-value { width: 130px; }

/* Identity is established by the account header; old code-entry coaching is redundant. */
.employee-app[data-worker-access="active"] .cadence-coach,
.employee-app .kann > #team_demand { display: none !important; }

/* Keep all four week options balanced on narrow screens. */
.employee-app #week_chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.employee-app #week_chips .week-chip { width: 100%; min-width: 0; }
@media (max-width: 600px) {
  .employee-app #week_chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
