/* Neuer Prüfweg innerhalb der bestehenden Ordina-Appfläche. */
.wr-page{max-width:980px;margin:0 auto}.wr-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.wr-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0}.wr-heading small{display:block;margin-top:8px;font-size:14px;color:#526078}.wr-heading button{flex:none}.wr-person{background:#f8faff;border:1px solid #dbe3ef;border-radius:13px;box-shadow:0 1px 3px #1220340d;overflow:hidden}.wr-person-head{display:flex;gap:12px;align-items:center;width:100%;padding:14px;border:0;background:transparent;color:#172033;text-align:left;font:inherit;min-height:76px;cursor:pointer}.wr-person-head:hover{background:#edf3ff}.wr-person-head .rt{display:grid;gap:4px;min-width:0;flex:1}.wr-person-head strong{overflow-wrap:anywhere}.wr-person-head small{display:flex;align-items:center;gap:5px;color:#526078;font-size:14px}.wr-person-head small svg{width:16px;height:16px}.wr-hours{display:grid;gap:8px;justify-items:end;font-size:15px;font-weight:700;white-space:nowrap}.wr-hours svg{width:18px;height:18px;color:#526078}.wr-alerts{padding:0 12px 10px 62px;margin:0;list-style:none;display:grid;gap:2px}.wr-alert-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:9px;align-items:start;min-height:48px;width:100%;padding:10px 6px;border:0;border-radius:8px;background:transparent;text-align:left;color:#172033;font:inherit;font-size:13px;line-height:1.5;cursor:pointer}.wr-alert-row:hover{background:#eaf1ff}.wr-alert-row>svg{width:18px;height:18px;margin-top:1px;color:#c23f38}.wr-alert-row>span{min-width:0;overflow-wrap:anywhere}.wr-alert-row b{font-weight:600}.wr-alert-row time{color:#526078}.wr-alert-row .wr-row-action{font-size:13px;font-weight:650;color:#245ace;white-space:nowrap;align-self:center}.wr-alert-row .wr-row-action svg{width:15px;height:15px;vertical-align:middle}.wr-repeat{display:block;color:#986200;font-size:12px;margin-top:2px}.wr-history-link{display:flex;gap:8px;align-items:center}.wr-history-link .task-pill-count{font-size:12px;background:#eaf1ff;color:#245ace}.wr-page .time-card-head{flex-wrap:wrap}.wr-count{font-size:13px;color:#526078;font-weight:500}.wr-empty{display:flex;gap:10px;align-items:center;padding:18px;color:#526078;background:#f8faff;border:1px solid #dbe3ef;border-radius:13px}.wr-empty svg{color:#0f7345;flex:none}.wr-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#e8f7ef;border:1px solid #bfdccd;border-radius:13px;padding:10px 14px;margin:0 0 16px;font-size:14px}.wr-feedback>span{flex:1}.wr-feedback>svg{color:#0f7345;flex:none}.wr-feedback button{min-height:44px}.wr-muted{color:#526078;font-size:14px;line-height:1.55}.wr-back{margin:0 0 12px;min-height:44px}.wr-history-list{display:grid;gap:8px;padding:8px;margin:0;list-style:none;background:#edf2fa;border-radius:16px}.wr-history-item{padding:16px;border:1px solid #dbe3ef;border-radius:13px;background:#f8faff;box-shadow:0 1px 3px #1220340d;min-width:0;overflow-wrap:anywhere}.wr-history-item header{display:flex;justify-content:space-between;gap:10px;align-items:start}.wr-history-item h3{font-size:15px;line-height:1.5;margin:12px 0 8px}.wr-history-item p{margin:5px 0;font-size:13px;color:#526078;line-height:1.55}.wr-history-item .wr-note{color:#3d4a5c;padding-left:10px;border-left:2px solid #ccd7e8;white-space:pre-wrap}.wr-tag{display:inline-flex;align-items:center;gap:5px;color:#346d53;background:#e8f7ef;border-radius:7px;padding:4px 7px;font-size:12px;font-weight:600;white-space:nowrap}.wr-tag svg{width:14px;height:14px}.wr-tag.is-open{color:#976300;background:#fff5df}.wr-history-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px}.wr-history-actions button{min-height:44px}.wr-filter{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-size:14px}.wr-filter select{min-height:44px;max-width:100%;padding:8px 36px 8px 10px;border:1px solid #ccd7e8;border-radius:10px;background-color:#fff;color:#172033;font:inherit}.wr-sheet{width:min(560px,calc(100% - 32px));max-width:560px;max-height:calc(100dvh - 32px);border:1px solid #dbe3ef;border-radius:22px;padding:0;background:white;color:#172033;box-shadow:0 24px 70px #17203333;overflow:auto}.wr-sheet::backdrop{background:rgb(23 32 51 / 32%);backdrop-filter:blur(3px)}.wr-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e4e9f1}.wr-sheet h2{font-size:20px;line-height:1.3;margin:0;letter-spacing:-.3px}.wr-sheet-body{display:grid;gap:16px;padding:20px;overflow-wrap:anywhere}.wr-sheet-body>p{margin:0}.wr-subject{display:flex;align-items:center;gap:12px}.wr-subject>div{display:grid;gap:4px}.wr-subject small{color:#526078;font-size:13px}.wr-warning{display:flex;align-items:start;gap:10px;border:1px solid #dce5f3;border-radius:13px;background:#f7faff;padding:14px;font-size:15px;line-height:1.55}.wr-warning>svg{width:20px;height:20px;flex:none;color:#c23f38;margin-top:2px}.wr-warning p{margin:5px 0 0;color:#526078;font-size:13px}.wr-sheet .wr-field{display:grid;gap:8px;font-size:14px;font-weight:600;margin:0}.wr-field>span>small{font-size:13px;font-weight:400;color:#526078}.wr-field textarea{width:100%;resize:vertical;min-height:90px;padding:12px;border:1px solid #bfcddd;border-radius:10px;color:#172033;background:white;font:inherit;font-size:16px;font-weight:400;line-height:1.5}.wr-sheet>footer{display:flex;flex-direction:row-reverse;gap:8px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid #e4e9f1;background:#fff;position:sticky;bottom:0}.wr-sheet>footer button{min-height:44px}.wr-sheet .wr-error{padding:12px;background:#fff1ef;border:1px solid #e6b8b2;border-radius:10px;font-size:14px;line-height:1.5}.wr-error p{margin:0}.wr-error button{margin-top:8px}.wr-sheet .wr-audit{margin:0;border-top:1px solid #e4e9f1}.wr-audit summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px;color:#526078}.wr-audit ol{padding-left:20px;font-size:13px;display:grid;gap:12px;line-height:1.5;margin:4px 0 8px}.wr-audit small{display:block;color:#526078}.wr-booking{display:grid;gap:10px;border:1px solid #dce5f3;background:#f7faff;padding:14px;border-radius:13px}.wr-booking p{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:14px}.wr-booking p+small{color:#526078}.wr-page :is(button,a,select):focus-visible,.wr-sheet :is(button,textarea,summary):focus-visible{outline:3px solid #2563eb;outline-offset:3px}.wr-page button,.wr-sheet button{cursor:pointer}.wr-page [hidden],.wr-sheet [hidden]{display:none!important}.wr-page svg,.wr-sheet svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.wr-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.wr-sheet button:disabled{cursor:default;opacity:.55}.wr-minor{font-size:13px;color:#526078}.wr-no-right{max-width:700px;margin:0 auto}.wr-person-head .avatar{flex:none}
@media(max-width:600px){.wr-heading{gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}.wr-heading h1{font-size:26px}.wr-heading small{margin-top:6px}.wr-history-link{font-size:13px;padding:8px 10px}.wr-person-head{padding:12px;gap:10px}.wr-person-head .avatar{width:38px;height:38px}.wr-person-head small{font-size:12px}.wr-hours{font-size:13px}.wr-alerts{padding:0 8px 8px}.wr-alert-row{padding:10px 6px;grid-template-columns:18px minmax(0,1fr) 20px;gap:8px}.wr-row-action .wr-action-word{display:none}.wr-sheet{width:100%;max-width:100%;margin:auto 0 0;max-height:calc(100dvh - 24px);border-radius:22px 22px 0 0}.wr-sheet>header{padding:14px 16px}.wr-sheet-body{padding:18px 16px;gap:14px}.wr-sheet>footer{padding:14px 16px max(16px,env(safe-area-inset-bottom));flex-direction:column}.wr-sheet>footer button{width:100%}.wr-history-item{padding:13px}.wr-filter{align-items:flex-start;flex-direction:column;gap:6px}.wr-filter select{width:100%}.wr-feedback{padding:8px 12px}.wr-feedback>span{flex-basis:190px}}

/* Auch die einzeln bedienbaren Warnungen verwenden den gemeinsamen Listenrhythmus. */
.wr-alerts{padding:8px;margin:0 12px 12px 62px;gap:8px;background:#edf2fa;border-radius:16px}.wr-alert-row{padding:10px;border:1px solid #dbe3ef;border-radius:13px;background:#f8faff;box-shadow:0 1px 3px #1220340d}.wr-alert-row:hover{background:#edf3ff}@media(max-width:600px){.wr-alerts{margin:0 4px 8px;padding:8px}.wr-alert-row{padding:10px 8px}}

.wr-alert-row>[data-icon]{color:#c23f38}.wr-warning>[data-icon]{flex:none;color:#c23f38}.wr-alert-row svg{width:18px;height:18px}.wr-row-action svg{width:15px;height:15px}.wr-heading [data-icon],.wr-feedback [data-icon]{display:flex;flex:none}.wr-audit .wr-note{white-space:pre-wrap}.te-person .wr-history-link{margin-left:auto}.wr-history .wr-audit ol{padding-left:20px;display:grid;gap:12px;font-size:13px;line-height:1.5}.wr-history .wr-audit small{display:block;color:#526078}.wr-history .wr-audit summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px;color:#526078}.wr-history .wr-audit{border-top:1px solid #e4e9f1}.te-alert:has(.wr-alert-row){padding:0!important;display:block}.te-alert .wr-alert-row{box-shadow:none;border:0}.wr-history :focus-visible,.wr-alert-row:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.wr-history .wr-history-list{margin-bottom:12px}.wr-history .wr-tag{white-space:normal;text-align:right}.wr-feedback button:disabled{opacity:.6}.wr-sheet .wr-audit[open]{max-height:260px;overflow:auto}@media(max-width:600px){.te-person{flex-wrap:wrap}.te-person .wr-history-link{margin-left:0}.wr-history-item header{flex-wrap:wrap}}

.wr-period{color:#526078}.wr-context{display:block;margin-top:2px;color:#526078;font-size:12px}

/* Heute im Dienst */
.time-card-head:has(.status-count) { gap: 8px; align-items: center; flex-wrap: wrap; }
.time-card-head .status-count {
  width: auto;
  height: auto;
  white-space: normal;
  text-align: center;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 650;
}
.wr-person-head .attendance-fact { display: inline-flex; gap: 5px; align-items: center; }
.absence-fact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}
.absence-fact.is-sick { color: #226e64; background: #e6f4f1; }
.absence-fact.is-leave { color: #815300; background: #fff2d9; }
.absence-fact.is-unavailable { color: #475569; background: #edf1f7; }
.time-page .absence-fact [data-icon], .time-page .absence-fact svg {
  display: block;
  width: 15px;
  height: 15px;
  flex: none;
  color: inherit;
}
.time-page .time-people .meta-facts:has(.absence-fact) { align-items: center; row-gap: 3px; }
.attendance-marker {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin: 0 2px;
  border-radius: 50%;
  box-sizing: border-box;
}
.attendance-marker.is-in { background: #188452; }
.attendance-marker.is-out { background: #bd4d47; }
.attendance-marker.is-idle { border: 1.6px solid #68778c; }
@media (forced-colors: active) {
  .attendance-marker.is-in, .attendance-marker.is-out { background: CanvasText; forced-color-adjust: none; }
}
.auto-pause .time-people { gap: 4px; }
.time-people > .wr-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.time-page .time-people .wr-person-head {
  min-height: 60px;
  padding: 6px 12px;
  gap: 10px;
}
.time-page .time-people .wr-person-head .rt { gap: 2px; }
.time-page .time-people .wr-hours {
  grid-template-columns: auto auto;
  gap: 0 6px;
  align-items: center;
}
.time-page .time-people .wr-hours > small { grid-column: 1; font-weight: 400; }
.time-page .time-people .wr-hours > .time-hours { grid-column: 1; }
.time-page .time-people .wr-hours > [data-icon] { grid-column: 2; grid-row: 1 / 3; }
.time-people .team-sick-entry {
  margin: 0 8px 0 0;
  padding: 6px 10px;
  max-width: none;
}
.time-people .wr-alerts { grid-column: 1 / -1; }
.time-people .wr-person button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }
.team-sick-short { display: none; }

@media (max-width: 600px) {
  .time-page .time-people .wr-person-head {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 7px 6px;
    gap: 2px 6px;
    align-content: center;
  }
  .time-page .time-people .wr-person-head .avatar {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .time-page .time-people .wr-person-head .rt { display: contents; }
  .time-people .rt > strong { grid-column: 2; grid-row: 1; }
  .time-people .rt > .meta-facts { grid-column: 2 / -1; grid-row: 2; gap: 0 8px; }
  .time-card-head .status-count { font-size: 12px; padding: 4px 8px; }
  .time-people .rt .meta-fact { white-space: normal; }
  .time-people .rt > .pause-person-message { grid-column: 2 / -1; }
  .time-page .time-people .wr-hours { grid-column: 3; grid-row: 1; gap: 0 2px; }
  .time-page .time-people .wr-hours svg { width: 14px; height: 14px; }
  .time-people .wr-today-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .time-people .team-sick-entry {
    padding: 4px;
    margin-right: 4px;
    width: 52px;
    justify-content: center;
    line-height: 1.15;
    font-size: 12px;
  }
  .time-people .team-sick-entry > [data-icon], .team-sick-full { display: none; }
  .team-sick-short { display: inline; }
}
