/* Ausbildungsnachweis */
.journal-shell {
  --journal-ink: #112d3b;
  --journal-muted: #4e6770;
  --journal-rule: #cfdfdf;
  --journal-teal: #08685c;
  --journal-paper: #fff;
  display: grid;
  gap: clamp(.9rem, 2vw, 1.5rem);
  color: var(--journal-ink);
}
.journal-shell > *, .journal-choices > *, .journal-week > *, .journal-file > * { min-width: 0; }
.journal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.4rem, 4.5vw, 3.6rem);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(112deg, #122d40 12%, #124657 66%, #126662);
}
.journal-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 0 0 47%;
  background: repeating-linear-gradient(-33deg, transparent 0 20px, #8fc6bc30 21px 22px, transparent 23px 39px);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.journal-hero :is(h1,h2) {
  max-width: 26ch;
  margin: .25rem 0;
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  letter-spacing: -.045em;
  line-height: 1.06;
  overflow-wrap: break-word;
}
.journal-hero p { max-width: 61ch; margin: .7rem 0 0; color: #deedee; }
.journal-hero :is(.eyebrow,.kicker,small) { color: #a9f3dd; }
.journal-choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(.7rem, 2vw, 1.25rem); }
.journal-choice {
  display: block;
  width: 100%;
  min-height: 8rem;
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
  border: 1px solid var(--journal-rule, #cfdfdf);
  border-radius: 17px;
  background: #fff;
  text-align: left;
  color: #173b43;
  box-shadow: 0 2px 8px #102e3b09;
}
.journal-choice > svg { display: block; width: 29px; height: 29px; margin-block-end: .55rem; color: #087665; }
.journal-choice:nth-child(2) > svg { color: #35628b; }
.journal-choice :is(h2,h3,b,strong) { display: block; margin: .2rem 0 .15rem; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.25; }
.journal-choice :is(p,small) { display: block; margin: .35rem 0 0; color: #51666e; }
.journal-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.journal-tools :is(button,a), .journal-shell .btn { min-height: 44px; text-decoration: none; }
.journal-tools button:not(.btn), .journal-tools a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  border: 1px solid #cbdbdc;
  border-radius: 10px;
  background: #fff;
  font-size: .95rem;
  font-weight: 650;
  color: #165848;
}
.journal-tools :is(.selected,[aria-current="page"],[aria-pressed="true"]) { background: #deefe8; border-color: #5ea58c; color: #0a493c; }
.journal-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: .3rem;
  max-width: 44rem;
  margin-block: .8rem 1rem;
}
.journal-calendar .dow { text-align: center; color: #51666f; font-weight: 650; font-size: .875rem; padding-block: .35rem; }
.journal-calendar button {
  display: grid;
  place-content: center;
  position: relative;
  min-height: 44px;
  min-width: 0;
  padding: .45rem 0;
  border: 1px solid #d7e2e2;
  border-radius: 9px;
  background: #fff;
  color: #213d47;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.journal-calendar button.filled { background: #e1f3ec; color: #095c4c; border-color: #8cbcab; }
.journal-calendar button.filled::after {
  content: '';
  position: absolute;
  bottom: .22rem;
  left: calc(50% - .17rem);
  width: .34rem;
  height: .34rem;
  border-radius: 50%;
  background: currentColor;
}
.journal-calendar button.selected { background: #11584e; color: #fff; border: 2px solid #0b4038; }
.journal-week { display: grid; gap: .45rem; }
.journal-week > :is(article,button), .journal-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem 1rem;
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid #d5e1e2;
  border-radius: 11px;
  background: #fff;
  color: #15333d;
  text-align: left;
}
.journal-week article > button { min-height: 44px; }
.journal-week :is(p,small), .journal-file :is(p,small) { margin-block: .15rem; color: #4c6570; }
.journal-week article:has(.selected), .journal-week > button.selected { border-color: #478b7c; background: #ecf5f1; }
.journal-file { overflow-wrap: anywhere; }
.journal-file + .journal-file { margin-block-start: .45rem; }
.journal-entry, .journal-reminders, .journal-settings {
  border: 1px solid #d2e0df;
  border-radius: 15px;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  background: #fff;
}
.journal-reminders { background: #eff7f4; border-inline-start: 4px solid #4b9380; }
.journal-entry :is(h2,h3), .journal-reminders :is(h2,h3), .journal-settings :is(h2,h3) { margin-block: 0 .55rem; }
.journal-entry textarea { min-height: 7.5rem; line-height: 1.5; }
.journal-entry :is(textarea,input,select), .journal-settings :is(textarea,input,select) { font-size: 1rem; max-width: 100%; }
.journal-shell :is(a,button,summary,input,textarea,select):focus-visible {
  outline: 3px solid #1588ac;
  outline-offset: 3px;
}
@media (hover: hover) {
  .journal-choice:hover, .journal-week > button:hover, button.journal-file:hover {
    border-color: #6aab9e;
    background: #f4faf8;
  }
  .journal-calendar button:not(:disabled):not(.selected):hover { border-color: #367c70; }
}
@media (max-width: 600px) {
  .journal-choices { grid-template-columns: minmax(0,1fr); }
  .journal-choice { min-height: 0; }
  .journal-hero { padding: 1.3rem 1.1rem; border-radius: 16px; }
  .journal-calendar { gap: .15rem; }
  .journal-tools { gap: .38rem; }
  .journal-file, .journal-week > :is(article,button) { padding: .7rem .75rem; }
}

.journal-hero{display:block}.journal-hero .btn{margin-top:1rem}.journal-choice>svg{fill:none;stroke:currentColor;stroke-width:1.7}.journal-file img{object-fit:cover;border-radius:6px}.journal-file small,.journal-choice span{display:block}.journal-file{margin-block:.5rem}.journal-file strong,.journal-week span{overflow-wrap:anywhere}.journal-file .buttons{flex-wrap:wrap}.journal-entry input[type=file]{max-width:100%}
.jr-status,.jr-compact{display:inline-flex;align-items:center;gap:.35rem;color:#49485f}
button.jr-status{border:0;border-radius:1rem;background:#f3faf9;padding:.35rem .7rem;font-size:.88rem;margin:.25rem 0}
.jr-check{font-style:normal;font-weight:800;color:#707282}.jr-check.pending,.jr-check.read{color:#166cc2}.jr-check.approved{color:#138048}.jr-check.returned{color:#bf3046}.jr-compact .jr-state{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.journal-export label[hidden]{display:none}
