/* MedEngel – platform components on top of the medengel.de stylesheet (site.css + footer.css).
   Uses the main site's tokens (--green, --ink, --text, --line, --bg, --mint …). Global look comes from site.css. */

:root {
  --se-red: #A3322A; --se-red-soft: #F7DEDB;
  --se-amber-soft: #FBEBCB; --se-ok: #14532D;
  --se-radius: 18px; --se-radius-sm: 12px;
  --se-shadow: 0 1px 2px rgba(20,35,31,.05), 0 10px 28px rgba(20,35,31,.07);
}

.env-banner { background: var(--amber); color: var(--ink); text-align: center; font-weight: 700; font-size: 14px; padding: 6px 12px; }
.inline-form { display: inline; margin: 0; }
.btn-block { width: 100%; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-danger { background: #fff; color: var(--se-red); border: 2px solid var(--se-red); }
.btn-danger:hover { background: var(--se-red-soft); color: var(--se-red); }
button.btn { font-family: inherit; cursor: pointer; }

/* Content area: site.css resets p margins to 0 – restore readable spacing inside the platform */
.se { display: block; }
.se p { margin: 0 0 1em; }
.se p:last-child { margin-bottom: 0; }
.se .lead { color: var(--text); margin-bottom: 1.2em; }
.se h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: .35em; }
.se h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: .5em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 780px; }
.narrower { max-width: 500px; }
.flash { background: var(--mint); color: var(--ink); border-radius: var(--se-radius-sm); padding: 12px 16px; margin: 20px 0 0; font-weight: 600; }

/* ---------- Landing ---------- */
.se-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); }
.se-hero .copy { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.se-hero .copy p { margin: 0; }
.se-split { margin-top: clamp(28px, 4vw, 44px); }
.se-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.se-steps li { counter-increment: s; position: relative; padding-left: 56px; color: var(--text); }
.se-steps li strong { color: var(--ink); }
.se-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green); font-weight: 800; }
.on-dark .se-steps li { color: var(--on-dark); }
.on-dark .se-steps li strong { color: #fff; }
.on-dark .se-steps li::before { background: rgba(221,238,230,.14); color: var(--amber-soft); }
.se-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.se-facts { display: grid; gap: 14px; }
.se-facts .card { padding: 22px 22px; gap: 6px; }
.se-facts .card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.on-dark .se-facts .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.on-dark .se-facts .card p { color: var(--on-dark); }
.se-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--se-radius-sm); padding: 0 20px; margin-bottom: 10px; }
.se-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
.se-faq details p { color: var(--text); padding-bottom: 16px; }
.se-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.se-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 8px 0 0; font-weight: 600; font-size: 15px; color: var(--text); }
.se-badges li::before { content: "✓ "; color: var(--green); }

/* ---------- Forms ---------- */
.form-page { padding: clamp(32px, 5vw, 56px) 0 72px; }
.se-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--se-shadow); margin-bottom: 20px; }
.form-section { font-family: var(--font-body) !important; font-size: 18px !important; font-weight: 800; letter-spacing: 0; margin: 28px 0 12px !important; padding-top: 20px; border-top: 1px solid var(--line); }
.form-section:first-of-type { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--se-red); }
.se input[type=text], .se input[type=email], .se input[type=password], .se input[type=tel], .se input[type=date], .se input[type=number], .se input[type=file], .se select, .se textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--se-radius-sm); background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font-body); }
.se input[type=file] { padding: 10px; min-height: 0; }
.se textarea { min-height: 110px; }
.se input:focus, .se select:focus, .se textarea:focus { border-color: var(--green); outline: 3px solid var(--mint); outline-offset: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--se-red) !important; }
.field-hint { font-size: 14px; color: var(--muted); margin: 6px 0 0 !important; }
.field-error { font-size: 14px; color: var(--se-red); font-weight: 600; margin: 6px 0 0 !important; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.grid-zip { display: grid; grid-template-columns: 130px 1fr; gap: 0 16px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line-strong); border-radius: var(--se-radius-sm); padding: 13px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.choice-card:has(input:checked) { border-color: var(--green); background: var(--mint-soft); }
.choice-card input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.choice-title { display: block; font-weight: 700; color: var(--ink); }
.choice-hint { display: block; font-size: 14px; color: var(--muted); }
.check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; cursor: pointer; color: var(--text); }
.check-label input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.math { background: var(--bg); border-radius: var(--se-radius-sm); padding: 14px 16px; }
.math input { max-width: 140px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { text-align: center; margin: 16px 0 0 !important; font-size: 15px; }
.alert { background: var(--se-red-soft); color: var(--se-red); border-radius: var(--se-radius-sm); padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.alert p { margin: 0 !important; }
.notice { background: var(--se-amber-soft); color: #5C3A06; border-radius: var(--se-radius-sm); padding: 12px 16px; margin-bottom: 18px; }

/* ---------- Status / account ---------- */
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--line); color: var(--ink); margin-bottom: 8px; }
.badge-green { background: var(--mint); color: var(--se-ok); }
.badge-amber { background: var(--se-amber-soft); color: #7A4A06; }
.badge-red { background: var(--se-red-soft); color: var(--se-red); }
.mini-steps { padding-left: 22px; margin: 12px 0 16px; }
.mini-steps li { margin-bottom: 6px; color: var(--muted); }
.mini-steps li.done { color: var(--green); }
.mini-steps li.current { color: var(--ink); font-weight: 700; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 20px; }
.details dt { font-weight: 700; color: var(--muted); }
.details dd { margin: 0; }
.progress { display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--line); overflow: hidden; appearance: none; -webkit-appearance: none; }
.progress::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--green); border-radius: 999px; }
.progress::-moz-progress-bar { background: var(--green); border-radius: 999px; }
.progress-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 18px 0; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--se-radius); text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--green); color: var(--ink); }
.tile .t-title { font-weight: 800; }
.tile .t-sub { font-size: 14px; color: var(--muted); }
.tile.done .t-title::after { content: " ✓"; color: var(--green); }

/* ---------- Wizard ---------- */
.se-wizard { max-width: 680px; margin: 0 auto; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--muted); font-weight: 600; }
.wizard-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--se-shadow); }
.wizard-card h1 { font-size: clamp(26px, 3.6vw, 36px) !important; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; flex-wrap: wrap; }
.wizard-nav .btn { min-width: 150px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: 15px; background: #fff; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.exp-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.exp-row:last-child { border-bottom: 0; }
.exp-row label { font-weight: 600; }
.tip { display: flex; gap: 10px; background: var(--mint-soft); border-radius: var(--se-radius-sm); padding: 12px 14px; font-size: 15px; color: var(--text); margin-top: 18px; }
.tip::before { content: "💡"; }

/* ---------- Documents ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--se-radius); padding: 16px 18px; }
.doc-title { font-weight: 800; }
.doc-meta { font-size: 14px; color: var(--muted); }
.doc form { margin: 0; }
.doc-upload { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 170px auto; gap: 10px; align-items: end; }
.doc-upload .field { margin: 0; }

/* ---------- App install ---------- */
.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.install-steps { counter-reset: i; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.install-steps li { counter-increment: i; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.install-steps li::before { content: counter(i); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; }
.install-steps img { width: 100%; max-width: 260px; border-radius: 18px; border: 1px solid var(--line); margin-top: 8px; display: block; }
.qr-box { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr-box img { width: 168px; height: 168px; background: #fff; padding: 10px; border-radius: 14px; border: 1px solid var(--line); }

/* ---------- Admin ---------- */
.admin-page { padding: 32px 0 64px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.admin-head h1 { margin: 0 !important; font-size: 2rem !important; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.admin-tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 16px; }
.filters label { font-weight: 700; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.filters select { min-width: 200px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--se-radius); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.empty { text-align: center; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-actions .se-card h2 { font-family: var(--font-body); font-size: 17px !important; font-weight: 800; letter-spacing: 0; }
.admin-actions .field { font-weight: 600; font-size: 14px; }
.log { list-style: none; padding: 16px 20px; font-size: 14px; }
.log li { padding: 4px 0; }
.pager { display: flex; justify-content: center; gap: 20px; margin: 20px 0; }

@media (max-width: 900px) {
  .se-two, .admin-grid, .install-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .se-card, .wizard-card { padding: 20px 16px; border-radius: 20px; }
  .grid-zip { grid-template-columns: 110px 1fr; }
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 8px; }
  .doc-upload { grid-template-columns: 1fr; }
  .exp-row { grid-template-columns: 1fr 100px; }
  .wizard-nav .btn { flex: 1; min-width: 0; }
  .header-actions .inline-form { display: none; }
}

/* ---------- Availability calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.cal-head { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); padding-bottom: 4px; }
.cal-day { position: relative; }
.cal-day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cal-day span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 15px; }
.cal-day small { font-size: 11px; color: var(--muted); }
.cal-day input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.cal-day input:checked + span small { color: #DDEEE6; }
.cal-day input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.cal-day.past span { opacity: .4; }
.photo-preview { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; vertical-align: middle; margin-right: 12px; }
.qr-target { width: 180px; height: 180px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.qr-target svg { width: 100%; height: 100%; }
.recovery { columns: 2; list-style: none; padding: 0; margin: 0 0 18px; }
.recovery li { padding: 4px 0; }

/* Neutralise site.css ".field input" for choice controls inside platform forms */
.se .field input[type=checkbox], .se .field input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; border-radius: 4px; box-shadow: none; background: none; }
.se .chip input[type=checkbox], .se .chip input[type=radio], .se .cal-day input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; }
.se .field .chip span, .se .field .choice-title { font-size: 15px; }

/* ---------- Facility portal (phase 3) ---------- */
.portal-tabs { margin-bottom: 22px; }
.se input[type=time] { min-height: 46px; padding: 8px 10px; border: 1.5px solid var(--line-strong); border-radius: var(--se-radius-sm); background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font-body); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row form { margin: 0; }
.dept-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dept h2 { font-size: 22px !important; margin-bottom: .2em; }
.shift-list { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shift-list li { background: var(--mint-soft); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.shift-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.shift-row:last-of-type { border-bottom: 0; }
.shift-times { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 0 28px; }
.shift-times label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.inline-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.inline-row .field { margin: 0; }
.invite-form { margin-top: 20px; }
.invite-form h2, .sign-options h2 { font-size: 22px !important; }
.sign-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.contract-box summary { cursor: pointer; font-weight: 800; }
.contract-scroll { max-height: 460px; overflow-y: auto; margin-top: 14px; padding-right: 8px; }
.contract { font-size: 15px; line-height: 1.6; color: var(--text); }
.contract h2 { font-size: 24px !important; margin: 0 0 .2em; }
.contract h3 { font-family: var(--font-body); font-size: 16px; font-weight: 800; letter-spacing: 0; margin: 1.4em 0 .4em; color: var(--ink); }
.contract-meta { color: var(--muted); font-size: 14px; }
.contract-draft { background: var(--se-amber-soft); color: #5C3A06; border-radius: var(--se-radius-sm); padding: 10px 14px; font-weight: 700; }
.contract-table { border-collapse: collapse; margin: 0 0 1em; min-width: 280px; }
.contract-table td { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line); }
.contract-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.contract-sign { margin-top: 1.6em; padding-top: 1em; border-top: 2px solid var(--ink); }
.contract-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted); margin: 0 0 .3em; }
.contract-sub { color: var(--muted); margin-top: 0; }
.contract ol { padding-left: 1.4em; }
.contract ol li { margin-bottom: .5em; }
.contract-parties { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; margin: .6em 0 1em; }
.contract-parties p { margin: 0 0 .4em; }
.contract-and { align-self: center; color: var(--muted); }
.contract-check { margin: .4em 0 .4em; padding-left: 2.2em; text-indent: -2.2em; }
.contract-note { font-size: 14px; background: var(--se-amber-soft); color: #5C3A06; border-radius: var(--se-radius-sm); padding: 8px 12px; }
.contract-annex { list-style: none; padding: 0; }
.contract-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 2em; padding-top: 1em; border-top: 2px solid var(--ink); }
.contract-signatures p { margin: 0 0 .5em; }
.contract-esign { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 6px; }
.contract-table-wide { width: 100%; border-collapse: collapse; margin: .6em 0 1em; font-size: 14px; }
.contract-table-wide th, .contract-table-wide td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.contract-table-wide th { background: var(--ivory, #F6F4EE); font-weight: 700; }
.contract-wrap-table { overflow-x: auto; }
.sub-fields { margin: -4px 0 16px; padding: 12px 14px 2px; border-left: 3px solid var(--se-green-soft, #DDEBE4); }
.contract-questions { margin-bottom: 8px; }
.sign-how { margin-top: 8px; }
.sign-how .se-form-section { margin-top: 14px; }
@media (max-width: 640px) {
  .contract-parties, .contract-signatures { grid-template-columns: 1fr; }
  .contract-and { align-self: start; }
}
.ok-box { background: #E3F1EA; border: 1.5px solid #1F6B52; color: #14231F; border-radius: var(--se-radius-sm); padding: 14px 18px; margin: 0 0 20px; }
.ok-box p { margin: 0 0 6px; color: #1F6B52; }
.ok-box ul { margin: 0; padding-left: 1.2em; }
.ok-box li { margin: 2px 0; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0 2px; font-size: 15px; }
.price-table th { text-align: left; font-weight: 800; padding: 10px 12px 6px; color: #14231F; }
.price-table td { padding: 8px 12px; }
.price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; color: #14231F; }
.price-table tbody td:first-child { border-radius: 6px 0 0 6px; }
.price-table tbody td:last-child { border-radius: 0 6px 6px 0; }
.pt-rates td { background: #B9DCCA; }
.pt-surcharges td { background: #DDEFE5; }
.pt-flat td { background: #F6FBF8; border: 1px solid #DDEFE5; }
.contract-inline { margin: 8px 0 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.term-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 6px 0 12px; }
.term-facts dt { font-size: 13px; color: var(--muted); }
.term-facts dd { margin: 0; font-weight: 800; color: var(--ink); }
.terminate { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.terminate summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.ic-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.renew-box .btn-row { margin-top: 8px; }
.running-table td { vertical-align: top; }
.pool-known { margin: 4px 0 8px; font-size: 14px; color: var(--ink); }
.pool-free { margin: 10px 0; padding: 10px 12px; background: #F1F8F4; border-radius: var(--se-radius-sm); }
.pool-free-title { font-size: 13px; font-weight: 700; color: #1F6B52; margin: 0 0 6px !important; }
.day-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.day-chip { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1.5px solid #B9DCCA; font-size: 13px; font-weight: 600; color: #14231F; text-decoration: none; }
.day-chip:hover, .day-chip:focus { border-color: #1F6B52; background: #DDEFE5; }
.topic-list { display: grid; gap: 14px; margin-bottom: 18px; }
.topic-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; text-decoration: none; color: inherit; border: 1.5px solid transparent; }
.topic-card:hover, .topic-card:focus { border-color: #B9DCCA; }
.topic-main { display: flex; flex-direction: column; gap: 3px; min-width: 220px; flex: 1; }
.topic-title { font-weight: 800; font-size: 17px; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.topic-last { font-size: 14px; color: var(--text); margin-top: 4px; }
.topic-team { display: flex; flex-wrap: wrap; gap: 12px; }
.topic-team-inline { align-items: center; margin: -6px 0 14px; }
.topic-person { display: inline-flex; gap: 8px; align-items: center; }
.topic-person small { display: block; color: var(--muted); font-size: 12px; }
.topic-person strong { font-size: 14px; }
.msg-ref { font-size: 12px; color: #1F6B52; font-weight: 700; margin-bottom: 3px; }
.chat-ref { grid-column: 1 / -1; margin: 0; }
.ask-link { margin: 0 0 14px; }
.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 6px 0; }
.rate-row .stars { margin: 0; }
.rate-row .stars label { font-size: 26px; }
.rate-label { font-weight: 600; font-size: 15px; color: var(--ink); }
.rate-rebook { margin-top: 12px; }
.rate-rebook .check-label { display: inline-flex; margin-right: 18px; }
.contract { min-width: 0; overflow-wrap: break-word; }
.contract-wrap-table { max-width: 100%; }
.contract-box { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .running-table thead { display: none; }
  .running-table, .running-table tbody, .running-table tr, .running-table td { display: block; width: 100%; }
  .running-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .running-table td { border: 0 !important; padding: 2px 4px !important; }
  .running-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 13px; }
}
.given-row { border-top: 1px solid var(--line); padding: 8px 0; }
.given-row p { margin: 2px 0; font-size: 14px; }
.social-login { display: grid; gap: 10px; margin-bottom: 6px; }
.social-btn { font-weight: 700; border: 1.5px solid #D5DCD8; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.social-google { background: #fff; color: #1f1f1f; }
.social-google:hover, .social-google:focus { background: #F6F8F7; }
.social-apple { background: #000; color: #fff; border-color: #000; }
.social-apple:hover, .social-apple:focus { background: #222; color: #fff; }
.nurse-home h1 { margin-bottom: 6px; }
.nh-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.nh-code { font-weight: 800; letter-spacing: .06em; font-size: 13px; color: #1F6B52; background: #DDEFE5; border-radius: 999px; padding: 3px 10px; }
.nh-action { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--se-radius, 16px); background: #fff; border: 1.5px solid #B9DCCA; text-decoration: none; color: var(--ink); margin-bottom: 16px; box-shadow: 0 6px 18px rgba(20,35,31,.06); }
.nh-action:hover, .nh-action:focus { border-color: #1F6B52; }
.nh-action-hot { background: #1F6B52; border-color: #1F6B52; color: #F6F4EE; }
.nh-action-hot:hover, .nh-action-hot:focus { background: #195944; }
.nh-action-icon { font-size: 26px; line-height: 1; }
.nh-action-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.nh-action-text strong { font-size: 17px; }
.nh-action-text span { font-size: 14px; opacity: .85; }
.nh-action-text .progress { margin-top: 6px; }
.nh-action-go { font-size: 22px; font-weight: 700; }
.nh-next { display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; border: 1.5px solid transparent; }
.nh-next:hover, .nh-next:focus { border-color: #B9DCCA; }
.nh-next-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 68px; padding: 8px 6px; border-radius: 14px; background: #14231F; color: #F6F4EE; line-height: 1.1; }
.nh-next-day { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #F3C77A; }
.nh-next-num { font-family: Fraunces, serif; font-size: 30px; font-weight: 700; }
.nh-next-month { font-size: 12px; }
.nh-next-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nh-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #1F6B52; }
.nh-next-body strong { font-size: 18px; color: var(--ink); }
.nh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.nh-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: #fff; border-radius: 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
a.nh-stat:hover, a.nh-stat:focus { border-color: #B9DCCA; }
.nh-stat-num { font-family: Fraunces, serif; font-size: 26px; font-weight: 700; color: #14231F; }
.nh-stat-label { font-size: 13px; color: var(--muted); }
.nh-stat .progress { margin-top: 6px; }
.nh-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 4px 0 14px; counter-reset: st; flex-wrap: wrap; }
.nh-steps li { flex: 1; min-width: 120px; font-size: 13px; padding: 8px 10px 8px 34px; border-radius: 10px; background: #F1F4F2; color: var(--muted); position: relative; counter-increment: st; }
.nh-steps li::before { content: counter(st); position: absolute; left: 9px; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: #D5DCD8; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.nh-steps li.done { background: #DDEFE5; color: #1F6B52; }
.nh-steps li.done::before { content: "✓"; background: #1F6B52; }
.nh-steps li.current { background: #FFF4DF; color: #5C3A06; font-weight: 700; }
.nh-steps li.current::before { background: #E8A33D; }
.nh-list { list-style: none; padding: 0; margin: 0; }
.nh-list li a { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nh-push summary { cursor: pointer; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.nh-foot { font-size: 13px; margin-top: 18px; }
@media (max-width: 640px) {
  .nh-stats { grid-template-columns: repeat(2, 1fr); }
}
.nh-head { display: flex; gap: 18px; align-items: center; margin-bottom: 4px; }
.nh-photo { margin: 0; }
.nh-photo-label { position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; cursor: pointer; }
.nh-photo-label img, .nh-photo-initials { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; background: #1F6B52; color: #F6F4EE; font-family: Fraunces, serif; font-size: 30px; font-weight: 700; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(20,35,31,.15); }
.nh-photo-edit { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); background: #E8A33D; color: #14231F; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.nh-photo-label:hover .nh-photo-edit, .nh-photo-label:focus-within .nh-photo-edit { background: #F3C77A; }
.nh-photo-status { font-size: 13px; color: #5C3A06; margin: 0 0 4px; }
.nh-head h1 { margin-top: 0; }
#nh-photo-input:focus-visible + * , .nh-photo:focus-within .nh-photo-label { outline: 3px solid #F3C77A; outline-offset: 3px; border-radius: 50%; }
@media (max-width: 640px) { .nh-photo-label, .nh-photo-label img, .nh-photo-initials { width: 64px; height: 64px; font-size: 24px; } }
.km-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; white-space: nowrap; }
.km-row .km-input { width: 130px !important; flex: none; font-size: 18px; font-weight: 700; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.focus-mode .shell-main { margin-left: 0; }
.focus-mode .shell-top { display: flex !important; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: #14231F; color: #fff; padding: 10px 20px; pointer-events: auto; }
.focus-brand { display: inline-flex; align-items: center; gap: 8px; color: #F6F4EE; text-decoration: none; font-family: Fraunces, serif; font-weight: 700; font-size: 18px; }
.focus-brand img { filter: brightness(0) invert(1); }
.focus-exit { color: #F3C77A; font-weight: 700; font-size: 14px; text-decoration: none; }
.focus-mode .shell-env { display: none; }
.slides { max-width: 640px; margin: 0 auto; }
.slide-dots { display: flex; gap: 6px; margin: 4px 0 8px; }
.slide-dot { flex: 1; height: 6px; border-radius: 999px; background: #DCE3DF; }
.slide-dot.done { background: #1F6B52; }
.slide-dot.current { background: #E8A33D; }
.slide-count { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.slide-card h1 { font-size: clamp(26px, 5vw, 34px); margin: 0 0 6px; }
.slide-nav { position: sticky; bottom: 0; background: linear-gradient(to top, #fff 75%, rgba(255,255,255,0)); padding: 14px 0 6px; margin-top: 18px; }
.slide-nav-static { position: static; background: none; border-top: 1px solid var(--line); }
.slide-who { font-size: 13px; color: var(--muted); margin-top: 14px; }
.slide-photo { display: flex; gap: 16px; align-items: center; margin: 14px 0 18px; padding: 12px; background: #F6F8F7; border-radius: 14px; }
.file-compact { font-size: 13px; margin-top: 6px; max-width: 100%; }
.stations { display: grid; gap: 8px; margin: 12px 0; }
.station { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.station-form { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 4px; }
.skill-group legend { color: #1F6B52; }
.profile-preview { margin-top: 20px; }
.profile-preview > .nh-label { margin-bottom: 8px; }
.profile-preview > .field-hint { margin-top: 10px; }
.optional-docs { margin: 14px 0; }
.optional-docs summary { cursor: pointer; padding: 8px 0; }
.summary-list { list-style: none; padding: 0; margin: 12px 0; }
.summary-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.summary-list li.done { color: var(--ink); }
.summary-list li.done span { color: #1F6B52; font-weight: 600; }
.slide-head { display: flex; gap: 12px; align-items: center; margin: 2px 0 14px; }
.slide-icon { font-size: 34px; line-height: 1; width: 52px; height: 52px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(20,35,31,.08); flex: none; }
.slide-head .slide-count { margin: 0; }
.slide-intro { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.slide-card { animation: slideIn .35s ease-out; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide-card { animation: none; } }
.chip input:checked + span { transform: scale(1.03); }
.chip span { transition: transform .12s ease, background-color .12s ease; }
.contact-verified { padding: 12px 14px; border-radius: 14px; background: #F1F8F4; margin-bottom: 16px; }
.verified-value { margin: 4px 0 0; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upload-tile { padding: 12px 14px; border: 1.5px dashed #B9DCCA; border-radius: 14px; background: #FAFCFB; }
.stations-table td, .stations-table th { vertical-align: top; }
.exp-total { font-weight: 700; color: #1F6B52; margin: 8px 0 14px; }
.more-skills summary { cursor: pointer; color: #1F6B52; font-weight: 700; margin: 4px 0 12px; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pick-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 6px 6px 12px; border-radius: 999px; background: #1F6B52; color: #fff; font-weight: 600; font-size: 14px; animation: slideIn .2s ease-out; }
.pick-x { background: rgba(255,255,255,.18); border: 0; color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.health-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.health-upload { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: -4px; }
.health-upload .field { margin: 0; min-width: 180px; }
@media (max-width: 640px) {
  .stations-table thead { display: none; }
  .stations-table, .stations-table tbody, .stations-table tr, .stations-table td { display: block; width: 100%; }
  .stations-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .stations-table td { border: 0 !important; padding: 2px 4px !important; }
}
.station-add { margin: 12px 0; }
.station-add > summary { list-style: none; cursor: pointer; }
.station-add > summary::-webkit-details-marker { display: none; }
.station-add[open] > summary { display: none; }
.period-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.period-selects { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; }
.period-selects select { width: 100%; min-height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; font: inherit; background: #fff; }
@media (max-width: 640px) { .period-row { grid-template-columns: 1fr; } }
.copy-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.contract-hash { font-size: 12px; word-break: break-all; }
.pool-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; align-items: end; }
.pool-filters .field { margin-bottom: 14px; }
.pool-filter-actions { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.pool-tabs { margin: 6px 0 10px; }
.pool-count { margin: 6px 0 14px !important; }
.pool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pool-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--se-radius); padding: 18px; box-shadow: var(--se-shadow); }
.pool-card.is-fav { border-color: var(--amber); }
.pool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pool-head .badge { margin: 0; }
.pool-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: .02em; margin-right: auto; }
.se .pool-title { font-weight: 800; color: var(--ink); margin: 0; }
.se .pool-summary { font-size: 15px; color: var(--text); margin: 0; }
.pool-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pool-facts li { font-size: 13px; background: var(--bg); border-radius: 999px; padding: 4px 10px; color: var(--text); }
.se .pool-distance { font-size: 14px; font-weight: 600; margin: 0; color: var(--ink); }
.pool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.pool-actions form { margin: 0; }
.pool-empty { grid-column: 1 / -1; }
.pool-teaser { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.pool-teaser:hover { border-color: var(--green); color: var(--ink); }
.pool-teaser .t-title { font-weight: 800; font-size: 18px; }
.price-form .grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.admin-actions hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.admin-actions details summary { cursor: pointer; }
.admin-actions details form { margin-top: 14px; }
@media (max-width: 760px) {
  .sign-options { grid-template-columns: minmax(0, 1fr); }
  .inline-row { grid-template-columns: 1fr; }
  .dept-head { flex-direction: column; }
}
@media print {
  .site-header, .me-footer, .env-banner, .no-print, .skip-link, .mobile-menu { display: none !important; }
  .se-card { box-shadow: none; border: 0; padding: 0; }
  .contract-scroll { max-height: none; overflow: visible; }
  body { background: #fff; }
}
.pool-filter-actions { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .portal-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .portal-tabs a { white-space: nowrap; flex: none; }
}

/* ---------- Requests & bookings (phase 4) ---------- */
.shift-days { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.shift-days li { background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 15px; }
.shift-days li .badge { margin: 0 0 0 6px; }
.shift-days li.is-cancelled { text-decoration: line-through; color: var(--muted); }
.estimate { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0 6px; }
.estimate > div { background: var(--mint-soft); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.estimate > div span { font-size: 13px; }
.estimate strong { font-size: 18px; color: var(--ink); }
.estimate .estimate-total { background: var(--green); color: #fff; }
.estimate .estimate-total strong { color: #fff; font-size: 22px; }
.req-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 16px 20px; }
.req-row:hover { border-color: var(--green); color: var(--ink); }
.req-row.is-unread { border-left: 4px solid var(--green); }
.req-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.req-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; flex: none; }
.req-side .badge { margin: 0; }
.req-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--muted); }
.pick-head { font-weight: 800; margin: 10px 0 6px !important; }
.pick-list { display: grid; gap: 6px; max-height: 320px; overflow-y: auto; padding: 2px; }
.pick { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; font-size: 15px; }
.pick:has(input:checked) { border-color: var(--green); background: var(--mint-soft); }
.se .pick input { width: 18px; height: 18px; accent-color: var(--green); flex: none; margin: 0; }
.date-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 10px; }
.wb-req { display: flex; align-items: flex-end; padding-bottom: 12px; }
.quiet-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; }
.se .quiet-form select { width: auto; min-height: 42px; padding: 6px 10px; }
.push-card h2 { font-size: 22px !important; }
.offer-actions .btn-lg { min-height: 56px; font-size: 18px; }
.decline-form { margin-top: 14px; }
.actions-cell { white-space: nowrap; text-align: right; }
.actions-cell form { margin: 0 0 6px; }
.booked p { margin: 0 0 4px !important; }
@media (max-width: 560px) {
  .req-row { flex-direction: column; align-items: flex-start; }
  .req-side { align-items: flex-start; text-align: left; }
}

/* ---------- Timesheets & ratings (phase 5) ---------- */
.time-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.time-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14px; }
.se .time-row input { min-height: 48px; width: 100%; padding: 8px 10px; border: 1.5px solid var(--line-strong); border-radius: var(--se-radius-sm); font: 400 16px/1.4 var(--font-body); }
.sig-box { border: 2px dashed var(--line-strong); border-radius: 14px; background: #fff; margin-bottom: 8px; touch-action: none; }
.sig-box canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; touch-action: none; cursor: crosshair; }
.geo-box { margin: 10px 0; }
.sig-img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.due-row { border-color: var(--amber); }
.dispute-box summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 10px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 32px; color: var(--line-strong); cursor: pointer; line-height: 1; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--amber); }
.stars input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.counter-card .progress-label { font-size: 15px; }
@media (max-width: 560px) { .time-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Hiring (phase 6) ---------- */
.slot-day { font-family: var(--font-body) !important; font-size: 17px !important; font-weight: 800; letter-spacing: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot-grid form { margin: 0; }
.slot { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; font-family: inherit; color: var(--ink); }
.slot:hover, .slot:focus-visible { border-color: var(--green); background: var(--mint-soft); }
.slot span { font-size: 12px; color: var(--muted); }
.hiring-panel .mini-steps { font-size: 14px; }
.hiring-panel form { margin: 0 0 8px; }
.hiring-panel details summary { cursor: pointer; margin-top: 8px; }
.hire-form { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px !important; }
.applicant-card h2 { font-size: 22px !important; }

/* ---------- Employee area & chat (phase 7) ---------- */
.sick-cta { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border: 2px solid var(--amber); }
.sick-cta:hover { background: var(--se-amber-soft); color: var(--ink); }
.sick-cta .t-title { font-weight: 800; font-size: 20px; }
.plain-list { margin: 6px 0; padding-left: 20px; }
.chat-list { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px 2px 10px; }
.msg { display: flex; flex-direction: column; max-width: 82%; align-self: flex-start; }
.msg-me { align-self: flex-end; align-items: flex-end; }
.msg-bubble { padding: 10px 14px; border-radius: 16px; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45; word-break: break-word; }
.msg-me .msg-bubble { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.msg:not(.msg-me) .msg-bubble { border-bottom-left-radius: 4px; }
.msg-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.se .chat-form textarea { min-height: 60px; }
.absence-form .inline-row { grid-template-columns: 200px 1fr; }
@media (max-width: 560px) { .chat-form { grid-template-columns: 1fr; } .absence-form .inline-row { grid-template-columns: 1fr; } }

/* ---------- Admin login, team, account (spec 7a) ---------- */
.btn-link { background: none; border: 0; padding: 8px 0; color: var(--se-green, #1F6B52); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.two-factor-code { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.team-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-actions form { margin: 0; }
.account-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1fr 1fr; } }
.team-phone { display: flex; gap: 6px; align-items: center; }
.team-phone input { min-height: 40px; width: 170px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--se-radius-sm); font: inherit; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.team-list { display: grid; gap: 14px; margin-bottom: 24px; }
.team-member h2 { font-size: 20px; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.team-member h2 .badge { margin: 0; }
.team-member-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.team-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.team-areas .badge { margin: 0; }
.team-edit summary { cursor: pointer; font-weight: 600; color: var(--se-green, #1F6B52); padding: 6px 0; }
.team-edit[open] summary { margin-bottom: 12px; }
.team-edit .team-phone { margin-top: 14px; }
.area-grid { display: grid; gap: 8px; margin-bottom: 14px; }
@media (min-width: 760px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--se-radius-sm); background: #fff; cursor: pointer; }
.area-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: #1F6B52; flex: none; }
.area-option strong { display: block; font-size: 15px; }
.area-option small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.form-section-sub { margin: 8px 0 10px; }
/* Team photo + job title in the chat (spec 7a) */
.team-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--mint, #E3EFE9); }
.team-avatar-initials { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #1F6B52; }
.msg-sender { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.msg-sender strong { display: block; font-size: 14px; }
.msg-sender small { display: block; font-size: 13px; color: var(--muted); }
.msg-me .msg-sender { justify-content: flex-end; }
.team-profile-preview { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--se-radius-sm); margin-bottom: 14px; }
.team-member-head .team-avatar { width: 52px; height: 52px; }
.team-member-id { display: flex; gap: 12px; align-items: flex-start; }
/* Internal team chat */
.team-chat { display: grid; gap: 16px; }
@media (min-width: 900px) { .team-chat { grid-template-columns: 280px 1fr; align-items: start; } }
.team-chat-list { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 899px) { .team-chat-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; } .team-chat-list a { flex: none; } }
.team-chat-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--se-radius-sm); background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.team-chat-list a.active { border-color: #1F6B52; box-shadow: 0 0 0 1px #1F6B52 inset; }
.tc-name strong { display: block; font-size: 15px; }
.tc-name small { display: block; font-size: 12px; color: var(--muted); }
.tc-unread, .tab-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E8A33D; color: #14231F; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tab-count { margin-left: 6px; }
.tc-title { font-size: 20px; margin: 0 0 10px; }
.notif-list { display: grid; gap: 8px; margin-top: 10px; }

/* ================= Admin shell: sidebar layout (10.11.2026) ================= */
.admin-shell { background: #F3F1EA; min-height: 100vh; }
.admin-shell .sb { position: fixed; inset: 0 auto 0 0; width: 264px; background: #14231F; color: #DDE7E2; display: flex; flex-direction: column; z-index: 40; }
.sb-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; }
.sb-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.sb-brand img { filter: brightness(0) invert(1); opacity: .95; }
.sb-brand strong { display: block; font-family: var(--font-head, 'Fraunces', serif); font-size: 19px; font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.sb-brand small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #F3C77A; }
.sb-close { display: none; background: none; border: 0; color: #DDE7E2; padding: 6px; cursor: pointer; }
.sb-nav { flex: 1; overflow-y: auto; padding: 4px 12px 16px; scrollbar-width: thin; scrollbar-color: #2E4640 transparent; }
.sb-group { margin: 18px 10px 6px !important; font-size: 11px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7F968F !important; }
.sb-link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; margin: 1px 0; border-radius: 10px; color: #DDE7E2; text-decoration: none; font-size: 15px; font-weight: 500; transition: background .15s, color .15s; }
.sb-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sb-link.active { background: #1F6B52; color: #fff; box-shadow: inset 3px 0 0 #F3C77A; }
.sb-link .ico { flex: none; opacity: .9; }
.sb-count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: #E8A33D; color: #14231F; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.sb-user { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.sb-me { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: #fff; text-decoration: none; }
.sb-me:hover, .sb-me.active { background: rgba(255,255,255,.07); color: #fff; }
.sb-me .team-avatar { width: 38px; height: 38px; }
.sb-me .team-avatar-initials { background: #F3C77A; color: #14231F; font-size: 14px; }
.sb-me strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-me small { display: block; font-size: 12px; color: #9FB3AC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-me > span { min-width: 0; }
.sb-user form { margin: 0; }
.sb-logout { background: none; border: 0; color: #9FB3AC; padding: 10px; border-radius: 10px; cursor: pointer; }
.sb-logout:hover { color: #fff; background: rgba(255,255,255,.07); }
.shell-main { margin-left: 264px; min-height: 100vh; display: flex; flex-direction: column; }
.shell-top { display: none; }
.env-short { display: none; }
.shell-env { font-size: 12px; font-weight: 700; color: #7A4A06; background: #F3C77A; padding: 4px 10px; border-radius: 999px; }
.shell-content { flex: 1; padding: 28px 36px 56px; max-width: 1320px; width: 100%; }
.admin-shell .shell-content > .flash { margin: 0 0 18px; }
.admin-shell .admin-page { padding: 0; }
.admin-shell .admin-page > .wrap, .admin-shell .shell-content .wrap { max-width: none; padding: 0; margin: 0; }
.admin-shell .admin-head { margin-bottom: 18px; }
.admin-shell .admin-head h1 { font-size: 1.85rem !important; }
.admin-shell .lead { max-width: 760px; }
.admin-shell .se-card { border-radius: 14px; box-shadow: 0 1px 2px rgba(20,35,31,.04), 0 4px 16px rgba(20,35,31,.04); }
/* Desktop: env banner as small pill top right */
@media (min-width: 1025px) {
  .shell-top { display: flex; position: sticky; top: 0; z-index: 20; justify-content: flex-end; padding: 10px 36px 0; background: transparent; pointer-events: none; }
  .shell-top .shell-menu, .shell-top .shell-title { display: none; }
  .shell-env { pointer-events: auto; }
}
/* Tablet & phone: off-canvas sidebar */
@media (max-width: 1024px) {
  .admin-shell .sb { transform: translateX(-100%); transition: transform .22s ease; }
  .admin-shell.sb-open .sb { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .env-long { display: none; }
  .env-short { display: inline; }
  .sb-close { display: inline-flex; }
  .sb-backdrop { position: fixed; inset: 0; background: rgba(20,35,31,.45); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .admin-shell.sb-open .sb-backdrop { opacity: 1; pointer-events: auto; }
  .shell-main { margin-left: 0; }
  .shell-top { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20; background: #14231F; color: #fff; padding: 10px 14px; }
  .shell-menu { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; display: inline-flex; }
  .shell-title { font-weight: 700; font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shell-content { padding: 20px 16px 48px; }
}

/* Admin dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-head h1 { margin: 0 !important; font-size: 2rem !important; }
.dash-date { margin: 0 0 4px !important; color: var(--muted); font-size: 14px; font-weight: 600; }
.dash-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.dash-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(20,35,31,.04); transition: transform .12s, box-shadow .12s; position: relative; overflow: hidden; }
.dash-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,35,31,.08); color: var(--ink); }
.dash-tile::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #CFD8D4; }
.dash-tile.tone-amber::before { background: #E8A33D; }
.dash-tile.tone-red::before { background: #C0392B; }
.dash-tile.tone-ok::before { background: #1F6B52; }
.dt-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.dt-value { font-family: var(--font-head, 'Fraunces', serif); font-size: 34px; font-weight: 600; line-height: 1.1; }
.dt-hint { font-size: 12.5px; color: var(--muted); }
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 1100px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.dash-panel { padding: 18px 20px !important; margin: 0 !important; }
.dash-panel header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.dash-panel h2 { font-family: var(--font-body); font-size: 16px !important; font-weight: 800; margin: 0 !important; }
.dash-panel header a { font-size: 14px; font-weight: 600; }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.dash-row:first-of-type { border-top: 0; }
a.dash-row:hover strong { color: #1F6B52; }
.dash-row .badge { margin: 0; flex: none; }
.dash-row.is-unread strong::before { content: '● '; color: #E8A33D; }
.dr-main { min-width: 0; }
.dr-main strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-main small { display: block; color: var(--muted); font-size: 13px; }
.dash-empty { color: var(--muted); margin: 6px 0 2px !important; font-size: 14px; }
/* Statistics (single-series bars, brand green; current month darker) */
.stats-grid { display: grid; gap: 16px; margin-bottom: 26px; }
@media (min-width: 1000px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-chart { margin: 0 !important; padding: 18px 20px 10px !important; }
.stat-chart figcaption { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.bars-svg { width: 100%; height: auto; display: block; overflow: visible; }
.bars-axis { stroke: #D9DED9; stroke-width: 1; }
.bar { fill: #7FB09B; }
.bar-current { fill: #1F6B52; }
.bar-hit { fill: transparent; }
.bar-g:hover .bar { fill: #14523F; }
.bar-val { font: 600 15px var(--font-body, Figtree, sans-serif); fill: #14231F; }
.bar-label { font: 500 13px var(--font-body, Figtree, sans-serif); fill: #5E6B66; }
.stats-table td, .stats-table th { white-space: nowrap; }
.sb-search { position: relative; margin: 2px 14px 6px; }
.sb-search .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #7F968F; width: 17px; height: 17px; }
.sb-search input { width: 100%; height: 38px; padding: 0 10px 0 36px; border-radius: 10px; border: 1px solid #2E4640; background: #1B2E29; color: #fff; font: inherit; font-size: 14px; }
.sb-search input::placeholder { color: #7F968F; }
.sb-search input:focus { outline: 2px solid #F3C77A; outline-offset: 0; border-color: transparent; }
.search-big { display: flex; gap: 10px; margin-bottom: 18px; max-width: 760px; }
.search-big input { flex: 1; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; }
.se-form > .area-option { margin-bottom: 8px; }
/* Segmented group switch (employees / applicants) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.seg a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.seg a:hover { background: #F3F1EA; color: var(--ink); }
.seg a.active { background: #14231F; color: #fff; }
.seg-n { font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(20,35,31,.08); }
.seg a.active .seg-n { background: rgba(255,255,255,.18); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-green { background: #1F6B52; } .dot-amber { background: #E8A33D; } .dot-gray { background: #9AA6A1; }
.title-badge { font-family: var(--font-body); font-size: 14px !important; vertical-align: middle; margin: 0 0 0 10px !important; }
/* Einsatzplan (weekly) */
.plan-nav { display: flex; gap: 6px; }
.plan-summary { margin: 0 0 14px !important; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-summary .badge { margin: 0; }
.plan-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: start; }
@media (max-width: 1180px) { .plan-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plan-week { grid-template-columns: 1fr; } }
.plan-day { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-height: 120px; }
.plan-day.is-today { border-color: #1F6B52; box-shadow: 0 0 0 1px #1F6B52 inset; }
.plan-day.is-past { opacity: .72; }
.plan-day header { font-size: 14px; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.plan-holiday { font-size: 11px; font-weight: 700; color: #7A4A06; background: #FBEBD0; padding: 1px 6px; border-radius: 999px; }
.plan-shift { display: flex; flex-direction: column; gap: 1px; padding: 8px 9px; margin-bottom: 6px; border-radius: 10px; background: #EEF5F1; border-left: 3px solid #1F6B52; color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.35; }
.plan-shift:hover { background: #E2EEE7; color: var(--ink); }
.plan-shift.is-open { background: #FDF0EE; border-left-color: #C0392B; }
.plan-shift.is-urgent { box-shadow: 0 0 0 2px #C0392B inset; }
.ps-time { font-weight: 800; }
.ps-where { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-dept { color: var(--muted); font-size: 12px; }
.ps-nurse { color: #14523F; font-weight: 600; }
.ps-missing { color: #A93226; font-weight: 800; }
.plan-empty { color: #B5BDB9; margin: 6px 0 !important; text-align: center; }
/* Internal nurse notes */
.notes-card { margin-bottom: 18px; }
.notes-card h2 { font-family: var(--font-body); font-size: 17px !important; font-weight: 800; }
.notes-card h2 .muted { font-weight: 500; font-size: 14px; }
.notes-form textarea { width: 100%; min-height: 70px; }
.notes-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 14px; flex-wrap: wrap; }
.note { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.note.is-pinned { background: #FFF8EA; margin: 0 -12px; padding: 12px 12px 4px; border-radius: 10px; border-top-color: transparent; }
.note-head { display: flex; align-items: center; gap: 10px; }
.note-head .team-avatar { width: 34px; height: 34px; font-size: 12px; }
.note-head strong { display: block; font-size: 14px; }
.note-head small { display: block; color: var(--muted); font-size: 12px; }
.note-tools { margin-left: auto; display: flex; gap: 12px; }
.note-tools form { margin: 0; }
.note-tools .btn-link { font-size: 13px; padding: 0; }
.note p { margin: 8px 0 6px 44px !important; font-size: 15px; }
/* Bulk actions */
.bulk-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 10px 14px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.bulk-bar button[disabled] { opacity: .45; cursor: not-allowed; }
.bulk-bar .muted { font-size: 13px; }
.col-check { width: 36px; }
.col-check input { width: 18px; height: 18px; accent-color: #1F6B52; }
.nowrap { white-space: nowrap; }
/* Facility timeline */
.fac-timeline { display: block; list-style: none; padding: 14px 18px !important; margin: 0 0 18px; }
.tl-item { position: relative; display: flex; gap: 12px; padding: 8px 0 8px; }
.tl-item + .tl-item::before { content: ''; position: absolute; left: 15px; top: -8px; height: 14px; border-left: 2px solid var(--line); }
.tl-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F3F1EA; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.tl-item.tone-ok .tl-icon { background: #E3EFE9; }
.tl-item.tone-amber .tl-icon { background: #FBEBD0; }
.tl-item.tone-red .tl-icon { background: #FBE3E0; }
.tl-body { min-width: 0; font-size: 14.5px; line-height: 1.4; }
.tl-body a { color: var(--ink); font-weight: 600; text-decoration: none; }
.tl-body a:hover { color: #1F6B52; text-decoration: underline; }
.tl-body small { display: block; color: var(--muted); font-size: 12.5px; }
.admin-shell .admin-grid > div > h2, .admin-shell .admin-grid > div > .admin-head h2 { font-size: 1.35rem !important; margin: 22px 0 10px !important; }
/* Login: facility switch */
.login-switch { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-bottom: 18px; border: 1px solid #CFE2D8; background: #F1F7F4; }
.login-switch:hover { border-color: #1F6B52; color: var(--ink); }
.login-switch strong { display: block; font-size: 16px; }
.login-switch small { display: block; color: var(--muted); font-size: 14px; }
.ls-icon { font-size: 26px; }
.ls-arrow { margin-left: auto; font-size: 20px; color: #1F6B52; font-weight: 700; }
.login-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 12px !important; }
.login-or::before, .login-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.register-choice { margin: 18px 0 22px; }
/* Facility portal in the sidebar shell */
.sb-org { margin: -6px 18px 10px !important; font-size: 13px !important; color: #F3C77A !important; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-cta { padding: 4px 14px 8px; }
.sb-cta .btn { width: 100%; justify-content: center; }
.admin-shell .form-page { padding: 0; }
.admin-shell .wrap.narrow, .admin-shell .wrap.narrower { max-width: 920px !important; }
.admin-shell .se-wizard, .admin-shell .wizard-card { margin-left: 0 !important; margin-right: auto !important; }

.visually-hidden { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Gerätepass entries on the Kompetenzen slide */
.device-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.device-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #fff; border: 1px solid rgba(20, 35, 31, .12); border-radius: 12px; }
.device-list .device-name { flex: 1; }
.device-add { display: grid; gap: .25rem; padding: 1rem; border: 1px dashed rgba(31, 107, 82, .4); border-radius: 14px; background: rgba(31, 107, 82, .04); }
.device-add .btn-outline { justify-self: start; }

/* Anonymous profile card (pool, proposals, preview), spec 5.7 */
.ncard { display: grid; gap: 14px; }
.ncard-full { background: #fff; border-radius: 20px; padding: 0 18px 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,35,31,.06), 0 10px 30px -12px rgba(20,35,31,.22); border: 1px solid rgba(20,35,31,.06); }
.ncard-top { display: flex; align-items: center; gap: 14px; margin: 0 -18px; padding: 18px; background: linear-gradient(135deg, #1F6B52 0%, #14231F 100%); color: #F6F4EE; position: relative; }
.ncard-top::after { content: ""; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(243,199,122,.35), transparent 70%); }
.ncard-avatar { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(246,244,238,.14); border: 1px solid rgba(246,244,238,.25); }
.ncard-id { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ncard-code { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.ncard-top .ncard-role { color: rgba(246,244,238,.85); font-size: .92rem; }
.ncard-badge { position: relative; z-index: 1; background: #F3C77A; color: #14231F; }
.ncard-role-inline { margin: 0; font-weight: 600; color: var(--ink, #14231F); }
.ncard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 6px; }
.ncard-stats > div { background: #F6F4EE; border-radius: 12px; padding: 10px 8px; text-align: center; display: grid; gap: 2px; }
.ncard-stats strong { font-family: Fraunces, Georgia, serif; font-size: 1.3rem; color: #1F6B52; line-height: 1.1; }
.ncard-stats span { font-size: .7rem; hyphens: auto; color: var(--muted, #5b6b66); line-height: 1.2; }
.ncard-h { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1F6B52; }
.ncard-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ncard-bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr auto; align-items: center; gap: 10px; font-size: .9rem; }
.ncard-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncard-bar { height: 8px; border-radius: 99px; background: #E9EFEC; overflow: hidden; }
.ncard-bar-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2E8A6A, #1F6B52); }
.ncard-bar-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .85rem; color: #14231F; min-width: 3.2em; text-align: right; }
.ncard-bar-fill.w1 { width: 10%; }
.ncard-bar-fill.w2 { width: 20%; }
.ncard-bar-fill.w3 { width: 30%; }
.ncard-bar-fill.w4 { width: 40%; }
.ncard-bar-fill.w5 { width: 50%; }
.ncard-bar-fill.w6 { width: 60%; }
.ncard-bar-fill.w7 { width: 70%; }
.ncard-bar-fill.w8 { width: 80%; }
.ncard-bar-fill.w9 { width: 90%; }
.ncard-bar-fill.w10 { width: 100%; }
.ncard-pills, .ncard-wb { display: flex; flex-wrap: wrap; gap: 6px; }
.ncard-pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 99px; font-size: .82rem; line-height: 1.2; background: #E6F2EC; color: #17513E; }
.ncard-pill b { font-weight: 700; color: #1F6B52; }
.ncard-pill-soft { background: #fff; border: 1px solid rgba(20,35,31,.14); color: #14231F; }
.ncard-pill-amber { background: #FBEBCB; color: #6B4610; font-weight: 600; }
.ncard-pill-more { background: transparent; border: 1px dashed #9CC7B4; }
.ncard-split { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ncard-quote { margin: 0; padding: 12px 14px 12px 38px; background: #F6F4EE; border-radius: 14px; position: relative; font-style: italic; color: #2b3a36; }
.ncard-quote::before { content: "\201C"; position: absolute; left: 12px; top: 2px; font-family: Fraunces, Georgia, serif; font-size: 2.2rem; color: #E8A33D; }
.ncard-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; border-top: 1px solid rgba(20,35,31,.08); font-size: .86rem; color: var(--muted, #5b6b66); }

/* Focus mode (profile slides): centred column on wide screens */
.focus-mode .shell-content { max-width: none; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); }
.focus-mode .se-wizard.slides { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.focus-mode .slides .wizard-card { margin-left: 0 !important; margin-right: 0 !important; }
.focus-mode .se-wizard.slides-ueber-mich { max-width: 1120px; }

/* Über mich: text left, live preview right */
.about-grid { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
  .about-grid .profile-preview { margin-top: 0; position: sticky; top: 72px; }
  .about-grid .about-form textarea { min-height: 220px; }
}
.ncard-full { padding: 0 22px 22px; gap: 18px; }
.ncard-top { margin: 0 -22px; padding: 20px 22px; }

/* Verified contact data with edit pencil (slide Persönliches) */
.contact-verified { display: grid; gap: 14px; padding: 16px 18px; }
.contact-row { display: grid; gap: 4px; }
.contact-label { font-weight: 600; font-size: .95rem; }
.inline-edit > summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.inline-edit > summary::-webkit-details-marker { display: none; }
.inline-edit .verified-value { margin: 0; }
.edit-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #1F6B52; background: #fff; border: 1px solid rgba(31,107,82,.25); flex: none; transition: background .15s; }
.inline-edit > summary:hover .edit-btn, .inline-edit[open] .edit-btn { background: #1F6B52; color: #fff; }
.inline-edit-body { margin-top: 10px; padding: 12px 14px; background: #fff; border-radius: 12px; border: 1px solid rgba(20,35,31,.1); }
.inline-edit-body .field:last-child { margin-bottom: 0; }

/* Admin: generated employment contract */
.contract-box { margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(31,107,82,.25); border-radius: 12px; background: #F6FAF8; }
.contract-box > summary { cursor: pointer; }
.contract-box .btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.contract-box .stamp-form { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(20,35,31,.15); }
.contract-status { margin: 10px 0; }

/* Nurse: employment contract page */
.contract-page h1 { margin-bottom: 14px; }
.contract-wait, .contract-done { text-align: center; padding: 28px 22px; }
.cw-icon { font-size: 2.4rem; margin: 0 0 6px; }
.cw-steps { list-style: none; padding: 0; margin: 18px auto 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; counter-reset: cw; }
.cw-steps li { counter-increment: cw; padding: 6px 12px; border-radius: 99px; background: #F3F1EA; font-size: .85rem; color: var(--muted, #5b6b66); }
.cw-steps li::before { content: counter(cw) ". "; font-weight: 700; }
.cw-steps li.done { background: #E6F2EC; color: #17513E; }
.cw-steps li.done::before { content: "✓ "; }
.contract-doc { display: flex; gap: 16px; align-items: flex-start; }
.cd-icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: linear-gradient(135deg, #1F6B52, #14231F); }
.cd-body { flex: 1; min-width: 0; }
.cd-body h2 { margin: 0 0 4px; }
.cd-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.cd-copies { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .88rem; color: var(--muted, #5b6b66); }
.cd-copies li.done { color: #17513E; }
.sign-options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 14px; }
.sign-options form { display: contents; }
.sign-option { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid rgba(20,35,31,.14); background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.sign-option:hover { border-color: #1F6B52; }
.sign-option.active { border-color: #1F6B52; box-shadow: 0 0 0 3px rgba(31,107,82,.15); background: #F6FAF8; }
.so-icon { font-size: 1.6rem; }
.so-text { font-size: .86rem; color: var(--muted, #5b6b66); }
.upload-steps { margin: 6px 0 14px; padding-left: 1.2rem; display: grid; gap: 4px; }

/* Nurse: messages – whole team + individual team members (spec 5.11) */
.team-chat-page { max-width: 980px; }
.team-all, .team-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid rgba(20,35,31,.1); border-radius: 18px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.team-all:hover, .team-card:hover { border-color: #1F6B52; box-shadow: 0 8px 24px -14px rgba(20,35,31,.35); transform: translateY(-1px); }
.team-all { background: linear-gradient(135deg, #1F6B52, #14231F); color: #F6F4EE; border: 0; margin: 14px 0 6px; }
.team-all .tc-resp, .team-all .tc-last { color: rgba(246,244,238,.8); }
.team-all-icon { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(246,244,238,.14); }
.chat-head .team-all-icon { background: #E6F2EC; }
.tc-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.tc-title { font-size: .88rem; color: #1F6B52; font-weight: 600; }
.tc-resp { font-size: .85rem; color: var(--muted, #5b6b66); }
.tc-last { font-size: .82rem; color: var(--muted, #5b6b66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; }
.tc-unread { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: #E8A33D; color: #14231F; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.tc-go { font-size: 1.6rem; opacity: .7; }
.tc-cta { font-size: .82rem; font-weight: 600; color: #1F6B52; padding: 6px 12px; border-radius: 99px; background: #E6F2EC; flex: none; }
.team-card { flex-wrap: wrap; align-items: flex-start; align-content: space-between; }
.team-card .tc-body { flex: 1 1 160px; }
.team-card .tc-cta { order: 3; margin-left: 74px; }
.team-card .tc-unread { position: absolute; top: 14px; right: 14px; }
.team-chat-page .form-section { margin-top: 28px !important; }
.team-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin-bottom: 14px; }
.team-card .tc-photo .team-avatar { width: 60px; height: 60px; border-radius: 18px; font-size: 1.1rem; }
.chat-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.chat-head h1 { margin: 0; font-size: 1.7rem !important; }
.chat-head p { margin: 2px 0 0; }
.chat-head .team-avatar { width: 60px; height: 60px; border-radius: 18px; }
.msg-channel { display: inline-block; font-size: .72rem; font-weight: 600; color: #1F6B52; background: #E6F2EC; padding: 2px 8px; border-radius: 99px; margin-bottom: 4px; }
.chat-form-admin { flex-wrap: wrap; }
.chat-channel { width: 100%; display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted, #5b6b66); }
.chat-channel select { width: auto; padding: 6px 10px; }

.overview-preview { max-width: 720px; margin-top: 28px; }
.overview-preview > h2 { margin: 0 0 12px; }

/* Availability calendar (Minijob, decision 11.11.2026) */
.av-page { max-width: 900px; }
.av-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 14px; }
.av-month { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(20,35,31,.1); text-decoration: none; color: inherit; }
.av-month span { font-size: .8rem; color: var(--muted, #5b6b66); }
.av-month.active { background: #1F6B52; border-color: #1F6B52; color: #fff; }
.av-month.active span { color: rgba(255,255,255,.8); }
.av-card { padding: 20px; }
.av-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.av-head h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1.5rem; }
.av-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: var(--muted, #5b6b66); }
.av-legend-label { margin-right: 8px; }
.av-chip { display: inline-grid; place-items: center; min-width: 24px; height: 18px; padding: 0 4px; border-radius: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .02em; }
.av-chip[hidden] { display: none; }
.av-frueh { background: #F3C77A; color: #5a3a06; }
.av-spaet { background: #1F6B52; color: #fff; }
.av-nacht { background: #14231F; color: #F3C77A; }
.av-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.av-wd { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted, #5b6b66); padding: 4px 0; }
.av-day { position: relative; min-height: 72px; border-radius: 14px; background: #F7F6F1; border: 1.5px solid transparent; }
.av-day > summary { list-style: none; cursor: pointer; height: 100%; min-height: 72px; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 12px; }
.av-day > summary::-webkit-details-marker { display: none; }
.av-day b { font-size: 1rem; }
.av-day.we { background: #F1EFE7; }
.av-day.today b { color: #E8A33D; }
.av-day:hover { border-color: rgba(31,107,82,.35); }
.av-day.has { background: #E6F2EC; border-color: #1F6B52; }
.av-day[open] { border-color: #1F6B52; box-shadow: 0 0 0 3px rgba(31,107,82,.18); z-index: 5; }
.av-dots { display: flex; flex-wrap: wrap; gap: 3px; }
.av-off { display: block; padding: 8px; color: rgba(20,35,31,.3); background: transparent; }
.av-out b { font-weight: 400; }
.av-pop { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: 230px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 18px 40px -12px rgba(20,35,31,.35); border: 1px solid rgba(20,35,31,.1); z-index: 20; }
.av-grid > .av-day:nth-child(7n+1) .av-pop, .av-grid > .av-day:nth-child(7n+2) .av-pop { left: 0; transform: none; }
.av-grid > .av-day:nth-child(7n) .av-pop, .av-grid > .av-day:nth-child(7n+6) .av-pop { left: auto; right: 0; transform: none; }
.av-pop-title { margin: 0 0 8px; font-weight: 700; font-size: .9rem; }
.av-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; cursor: pointer; border: 1.5px solid rgba(20,35,31,.1); margin-bottom: 6px; }
.av-opt input { position: absolute; opacity: 0; pointer-events: none; }
.av-opt-icon { font-size: 1.2rem; }
.av-opt-label { flex: 1; font-weight: 600; }
.av-check { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid rgba(20,35,31,.25); display: grid; place-items: center; color: transparent; font-weight: 800; }
.av-opt:has(input:checked) { border-color: #1F6B52; background: #F2F8F5; }
.av-opt input:checked ~ .av-check { background: #1F6B52; border-color: #1F6B52; color: #fff; }
.av-opt input:focus-visible ~ .av-check { outline: 2px solid #E8A33D; outline-offset: 2px; }
.av-pop-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; white-space: nowrap; }
.av-pop-actions .btn { margin-left: auto; }
.av-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(20,35,31,.08); position: sticky; bottom: 0; background: #fff; }
@media (max-width: 560px) {
  .av-card { padding: 12px; }
  .av-grid { gap: 4px; }
  .av-day, .av-day > summary { min-height: 58px; }
  .av-day > summary { padding: 6px 4px; }
  .av-chip { min-width: 0; font-size: .55rem; padding: 0 2px; height: 14px; }
  .av-pop { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; transform: none; width: auto; }
  .av-grid > .av-day .av-pop { left: 12px; right: 12px; transform: none; }
}

/* Document hub (decision 11.11.2026) */
.dh-page { max-width: 1040px; }
.dh-privacy { font-size: .85rem; color: var(--muted, #5b6b66); margin: -4px 0 16px; }
.dh-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-bottom: 18px; }
.dh-tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(20,35,31,.1); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dh-tile:hover { border-color: #1F6B52; transform: translateY(-1px); box-shadow: 0 8px 22px -14px rgba(20,35,31,.35); }
.dh-tile.active { background: linear-gradient(135deg, #1F6B52, #14231F); border-color: transparent; color: #F6F4EE; }
.dh-tile-icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: #F3F1EA; }
.dh-tile.active .dh-tile-icon { background: rgba(246,244,238,.14); }
.dh-tile-label { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.dh-tile-count { font-size: .78rem; color: var(--muted, #5b6b66); }
.dh-tile.active .dh-tile-count { color: rgba(246,244,238,.75); }
.dh-tile-badge { position: absolute; top: -7px; right: 10px; background: #E8A33D; color: #14231F; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.dh-section { padding: 22px; }
.dh-section-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.dh-section-head h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1.45rem !important; }
.dh-section-head p { margin: 2px 0 0; }
.dh-section-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: #E6F2EC; flex: none; }
.dh-progress { padding: 12px 14px; border-radius: 14px; background: #F7F6F1; margin-bottom: 14px; }
.dh-progress .field-hint { margin: 6px 0 0; }
.dh-sub { font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; color: #1F6B52; margin: 18px 0 8px !important; }
.dh-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dh-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(20,35,31,.09); background: #fff; flex-wrap: wrap; }
.dh-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-weight: 800; background: #F3F1EA; color: #5b6b66; }
.dh-ok .dh-icon { background: #E6F2EC; color: #1F6B52; }
.dh-wait .dh-icon { background: #FBEBCB; color: #8a5a0f; }
.dh-bad .dh-icon { background: #FBE3DF; color: #a1362b; }
.dh-missing { border-style: dashed; border-color: rgba(232,163,61,.7); background: #FFFCF6; }
.dh-missing .dh-icon { background: #FFF1D6; color: #8a5a0f; }
.dh-main { flex: 1 1 220px; min-width: 0; display: grid; gap: 2px; }
.dh-title { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dh-meta { font-size: .82rem; color: var(--muted, #5b6b66); }
.dh-note { font-size: .82rem; color: #a1362b; }
.dh-new { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #E8A33D; color: #14231F; padding: 1px 7px; border-radius: 99px; }
.dh-pill { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #F3F1EA; color: #5b6b66; white-space: nowrap; }
.dh-pill-ok { background: #E6F2EC; color: #17513E; }
.dh-pill-wait { background: #FBEBCB; color: #6B4610; }
.dh-pill-bad { background: #FBE3DF; color: #8f2c22; }
.dh-pill-missing { background: #FFF1D6; color: #6B4610; }
.dh-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dh-actions:empty { display: none; }
.dh-quick { margin: 0; }
.dh-upload { position: relative; }
.dh-upload > summary { list-style: none; cursor: pointer; }
.dh-upload > summary::-webkit-details-marker { display: none; }
.dh-upload-form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; width: 260px; display: grid; gap: 6px; padding: 12px; background: #fff; border-radius: 14px; border: 1px solid rgba(20,35,31,.12); box-shadow: 0 16px 36px -14px rgba(20,35,31,.35); font-size: .85rem; }
.dh-more { margin-top: 14px; }
.dh-more > summary { cursor: pointer; font-weight: 600; color: #1F6B52; padding: 8px 0; }
.dh-empty { padding: 22px; text-align: center; color: var(--muted, #5b6b66); background: #F7F6F1; border-radius: 14px; }
.dh-cta { margin-bottom: 12px; }
@media (max-width: 560px) {
  .dh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dh-tile { grid-template-columns: 1fr; padding: 12px; }
  .dh-tile-icon { grid-row: auto; margin-bottom: 6px; width: 36px; height: 36px; }
  .dh-section { padding: 14px; }
  .dh-upload-form { position: static; width: auto; margin-top: 8px; }
}

/* Gespräche (decision 11.11.2026) */
.mt-page { max-width: 900px; }
.mt-upcoming, .mt-open { display: grid; gap: 12px; }
.mt-card { display: flex; gap: 16px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(20,35,31,.1); }
.mt-confirmed { border-color: rgba(31,107,82,.35); box-shadow: 0 10px 28px -18px rgba(20,35,31,.4); }
.mt-date { width: 64px; flex: none; height: 72px; border-radius: 16px; display: grid; place-content: center; text-align: center; background: linear-gradient(160deg, #1F6B52, #14231F); color: #F6F4EE; }
.mt-date b { font-family: Fraunces, Georgia, serif; font-size: 1.7rem; line-height: 1; }
.mt-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #F3C77A; }
.mt-date-open { background: #F3F1EA; color: inherit; }
.mt-date-open b { font-size: 1.6rem; }
.mt-body { flex: 1; min-width: 0; display: grid; gap: 6px; justify-items: start; }
.mt-body h3 { margin: 2px 0 0; font-size: 1.15rem; }
.mt-when { margin: 0; font-weight: 600; color: #1F6B52; }
.mt-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: #F7F6F1; font-size: .9rem; }
.mt-cancel { font-size: .85rem; color: var(--muted, #5b6b66); }
.mt-staff { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #F2F8F5; width: 100%; margin-top: 4px; }
.mt-staff .team-avatar { width: 56px; height: 56px; border-radius: 16px; }
.mt-staff-body { display: grid; gap: 2px; min-width: 0; }
.mt-staff-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5b6b66); }
.mt-contact { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; margin-top: 2px; }
.mt-intro { margin: 16px 0 4px; }
.mt-choose { width: 100%; margin-top: 6px; }
.mt-types { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.mt-type { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1.5px solid rgba(20,35,31,.12); cursor: pointer; background: #fff; }
.mt-type input { position: absolute; opacity: 0; pointer-events: none; }
.mt-type-icon { font-size: 1.5rem; }
.mt-type-body { display: grid; gap: 2px; }
.mt-type-body small { color: var(--muted, #5b6b66); font-size: .82rem; }
.mt-type:has(input:checked) { border-color: #1F6B52; background: #F2F8F5; box-shadow: 0 0 0 3px rgba(31,107,82,.15); }
.mt-type:has(input:focus-visible) { outline: 2px solid #E8A33D; outline-offset: 2px; }
.mt-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mt-mode input { position: absolute; opacity: 0; pointer-events: none; }
.mt-mode span { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; border: 1.5px solid rgba(20,35,31,.12); cursor: pointer; font-weight: 600; font-size: .9rem; background: #fff; }
.mt-mode b { font-size: 1.4rem; }
.mt-mode input:checked + span { border-color: #1F6B52; background: #F2F8F5; box-shadow: 0 0 0 3px rgba(31,107,82,.15); }
.mt-mode input:focus-visible + span { outline: 2px solid #E8A33D; outline-offset: 2px; }
.mt-admin-urgent { border-left: 4px solid #c0392b; }
.mt-admin-grid { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 560px) { .mt-card { flex-direction: column; gap: 10px; } .mt-date { width: 100%; height: auto; padding: 8px; grid-auto-flow: column; gap: 8px; align-items: baseline; } }

/* Nurse account settings */
.st-page { max-width: 980px; }
.st-me { display: flex; align-items: center; gap: 14px; }
.st-me .team-avatar { width: 64px; height: 64px; border-radius: 18px; font-size: 1.2rem; }
.st-me > div { flex: 1; display: grid; gap: 2px; }
.st-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-top: 14px; }
.st-section h2 { margin: 0 0 10px; font-size: 1.15rem !important; }
.st-list { margin: 0; display: grid; gap: 0; }
.st-list > div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(20,35,31,.08); flex-wrap: wrap; }
.st-list dt { width: 130px; font-size: .82rem; color: var(--muted, #5b6b66); }
.st-list dd { margin: 0; flex: 1; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.st-list a { font-size: .85rem; }
.st-pass { margin-top: 12px; }
.st-pass > summary { cursor: pointer; font-weight: 600; color: #1F6B52; }
.st-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.st-danger { border-color: rgba(192,57,43,.3); }
.st-logout { margin-top: 18px; text-align: center; }

.verified-badge { display: inline-flex; vertical-align: -3px; margin-left: 4px; }
.nh-birthday { background: linear-gradient(135deg, #F3C77A, #E8A33D); color: #14231F; border: 0; text-align: center; }
.nh-birthday h2 { margin: 4px 0; }
.sb-pnr { margin: -6px 18px 10px; font-size: .78rem; color: rgba(246,244,238,.7); }
.deletion-banner { border-left: 4px solid #c0392b; }
.sb-star { margin-left: auto; width: 22px; height: 22px; border-radius: 999px; background: #E8A33D; color: #14231F; font-size: 13px; display: inline-grid; place-items: center; animation: sbPulse 2s ease-in-out infinite; }
@keyframes sbPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,163,61,.5); } 50% { box-shadow: 0 0 0 6px rgba(232,163,61,0); } }
@media (prefers-reduced-motion: reduce) { .sb-star { animation: none; } }

/* Online-Unterweisungen (decision 11.11.2026) */
.tr-page { max-width: 980px; }
.tr-note { padding: 10px 14px; border-radius: 12px; background: #FBEBCB; color: #6B4610; font-weight: 600; font-size: .9rem; }
.tr-grid { display: grid; gap: 12px; margin-top: 14px; }
.tr-card { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(20,35,31,.1); flex-wrap: wrap; }
.tr-card.tr-passed { border-color: rgba(31,107,82,.35); }
.tr-icon { width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(160deg, #E6F2EC, #F6F4EE); }
.tr-passed .tr-icon { background: linear-gradient(160deg, #1F6B52, #14231F); }
.tr-body { flex: 1 1 260px; display: grid; gap: 4px; justify-items: start; }
.tr-body h2 { margin: 0; font-size: 1.15rem !important; }
.tr-body p { margin: 0; }
.tr-meta { font-size: .82rem; color: var(--muted, #5b6b66); }
.tr-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tr-lecture { text-align: left; }
.tr-lecture-icon { font-size: 3rem; margin-bottom: 4px; }
.tr-points { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.tr-points li { position: relative; padding: 12px 14px 12px 44px; border-radius: 14px; background: #F7F6F1; line-height: 1.5; }
.tr-points li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 6px; background: #1F6B52; color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 800; }
.tr-quiz-dot { background: #F3C77A !important; }
.slide-dot.tr-ok { background: #1F6B52; }
.slide-dot.tr-bad { background: #c0392b; }
.tr-question h1 { font-size: clamp(22px, 3.4vw, 28px) !important; }
.tr-options { display: grid; gap: 8px; margin: 14px 0; }
.tr-option { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid rgba(20,35,31,.12); cursor: pointer; background: #fff; }
.tr-option input { position: absolute; opacity: 0; pointer-events: none; }
.tr-letter { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: #F3F1EA; }
.tr-text { flex: 1; }
.tr-option:has(input:checked) { border-color: #1F6B52; background: #F2F8F5; }
.tr-option:has(input:checked) .tr-letter { background: #1F6B52; color: #fff; }
.tr-option:has(input:focus-visible) { outline: 2px solid #E8A33D; outline-offset: 2px; }
.tr-option.right { border-color: #1F6B52; background: #E6F2EC; }
.tr-option.right .tr-letter { background: #1F6B52; color: #fff; }
.tr-option.wrong { border-color: #c0392b; background: #FBE3DF; }
.tr-option.wrong .tr-letter { background: #c0392b; color: #fff; }
.tr-mark { font-weight: 800; font-size: 1.2rem; }
.tr-option.right .tr-mark { color: #1F6B52; }
.tr-option.wrong .tr-mark { color: #c0392b; }
.tr-feedback { padding: 14px 16px; border-radius: 14px; margin-bottom: 8px; }
.tr-feedback p { margin: 4px 0 0; }
.tr-feedback.ok { background: #E6F2EC; color: #17513E; }
.tr-feedback.bad { background: #FBEBCB; color: #6B4610; }
.tr-finish { margin-top: 14px; }
.tr-result { text-align: center; padding: 30px 22px; }
.tr-result.passed { background: linear-gradient(160deg, #F2F8F5, #fff); border-color: rgba(31,107,82,.35); }
.tr-score { font-size: 1.1rem; }
.tr-score b { font-family: Fraunces, Georgia, serif; font-size: 2.6rem; color: #1F6B52; }
.btn-row.center { justify-content: center; display: flex; gap: 8px; flex-wrap: wrap; }
.tr-matrix th { font-size: .8rem; }
.tr-option.right, .tr-option.right:has(input:checked) { border-color: #1F6B52; background: #E6F2EC; }
.tr-option.right:not(.picked) { border-style: dashed; background: #F2F8F5; }
.tr-option.wrong, .tr-option.wrong:has(input:checked) { border-color: #c0392b; background: #FBE3DF; }
.tr-option.wrong .tr-letter, .tr-option.wrong:has(input:checked) .tr-letter { background: #c0392b; color: #fff; }
.tr-option:not(.right):not(.wrong):has(input:disabled) { opacity: .7; }

/* Existing staff: create, profile "im Auftrag", invitation (decision 11.11.2026) */
.badge-blue { background: #e3eefc; color: #1d5fb8; }
.acting-banner { border-left: 4px solid var(--se-amber, #E8A33D); }
.staff-steps { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 2px; }
.staff-steps li { display: flex; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 8px; font-size: 15px; }
.staff-steps li a { display: flex; gap: 8px; color: inherit; text-decoration: none; width: 100%; }
.staff-steps li a:hover { color: var(--se-green, #1F6B52); }
.staff-steps li span[aria-hidden] { color: #9aa7a2; width: 16px; }
.staff-steps li.done span[aria-hidden] { color: var(--se-green, #1F6B52); font-weight: 700; }
.staff-steps li:nth-child(odd) { background: #f7f8f6; }
.staff-flow { list-style: none; counter-reset: sf; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 0; margin: 0 0 20px; }
.staff-flow li { counter-increment: sf; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 46px; position: relative; display: grid; }
.staff-flow li::before { content: counter(sf); position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--se-green, #1F6B52); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.staff-flow li span { color: #5b6b66; font-size: 13px; }

/* Admin sidebar: folding groups (decision 11.11.2026) */
.sb-fold { margin: 2px 0; }
.sb-fold-head { list-style: none; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: #DDE7E2; font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; transition: background .15s, color .15s; }
.sb-fold-head::-webkit-details-marker { display: none; }
.sb-fold-head:hover { background: rgba(255,255,255,.06); color: #fff; }
.sb-fold-head .ico { flex: none; opacity: .9; }
.sb-fold-head .sb-chev { margin-left: auto; flex: none; color: #7F968F; transition: transform .2s; }
.sb-fold-head .sb-fold-count { margin-left: auto; }
.sb-fold-head .sb-fold-count + .sb-chev { margin-left: 6px; }
.sb-fold[open] > .sb-fold-head .sb-chev { transform: rotate(90deg); }
.sb-fold[open] > .sb-fold-head .sb-fold-count { display: none; }
.sb-fold[open] > .sb-fold-head .sb-chev { margin-left: auto; }
.sb-fold-body { position: relative; margin: 2px 0 6px 21px; padding-left: 10px; border-left: 1px solid #2E4640; }
.sb-fold-body .sb-link { font-size: 14px; padding: 7px 10px; gap: 10px; }
.sb-fold-body .sb-link .ico { width: 16px; height: 16px; opacity: .7; }
.sb-fold[data-sb-current] > .sb-fold-head { color: #fff; }
.install-now { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 2px solid var(--green); }
.install-now[hidden] { display: none; }
.install-now h2 { margin: 0 0 4px; }
.push-banner { display: flex; align-items: center; gap: 14px; border: 2px solid var(--green); background: #f1f6f3; }
.push-banner[hidden] { display: none; }
.push-banner .pb-icon { font-size: 28px; }
.push-banner .pb-body { flex: 1; }
.push-banner .pb-body p { margin: 2px 0 6px; }
@media (max-width: 520px) { .push-banner { flex-wrap: wrap; } .push-banner .btn-primary { width: 100%; } }

/* Legal pages (privacy notice, terms) */
.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; scroll-margin-top: 90px; }
.legal-page h3 { margin-top: 1.2rem; font-size: 1.05rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-toc { background: var(--ivory, #F6F4EE); border-radius: 14px; padding: 14px 20px; margin: 1.2rem 0; }
.legal-toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 18px; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
.legal-table { overflow-x: auto; margin: 1rem 0; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th { text-align: left; background: #1F6B52; color: #fff; padding: 8px 10px; }
.legal-table td { border-bottom: 1px solid var(--line, #e3ebe7); padding: 8px 10px; vertical-align: top; }
.legal-table td:first-child { width: 42%; }

/* Login choice: nurse login folds open like a card */
.lead-muted { color: var(--muted); margin: -6px 0 18px; }
.login-nurse { display: block; padding: 0; }
.login-nurse > summary { display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; list-style: none; }
.login-nurse > summary::-webkit-details-marker { display: none; }
.login-nurse .ls-arrow { transition: transform .2s; font-size: 26px; line-height: 1; }
.login-nurse[open] .ls-arrow { transform: rotate(90deg); }
.login-nurse[open] { background: #fff; border-color: #1F6B52; }
.login-nurse[open] > summary { border-bottom: 1px solid var(--line); }
.login-nurse-body { padding: 20px 24px 18px; }
.login-team { display: flex; justify-content: center; gap: 8px; margin: 22px 0 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.login-team:hover { color: #1F6B52; text-decoration: underline; }
.login-new { margin-top: 4px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.login-new a { font-weight: 700; }

/* Languages slide: language + level per row; birth date or age side by side */
.lang-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
.birth-or-age { margin-bottom: 0; }
.birth-hint { margin-top: -8px !important; margin-bottom: 18px !important; }
.birth-or-age { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.birth-or-age input { min-width: 0; width: 100%; }

/* Admin: profile completeness of nurses */
.adm-complete { margin: 4px 0 18px; }
.adm-complete-missing { margin: 8px 0 0 !important; font-size: 14px; }
.adm-complete-mini { display: inline-flex; align-items: center; gap: 8px; min-width: 120px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.adm-complete-mini .progress { width: 80px; height: 6px; }
.progress-done::-webkit-progress-value { background: #2fb37a; }
.progress-done::-moz-progress-bar { background: #2fb37a; }
.station-actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.station-actions form { margin: 0; }
.slide-nav-note { align-self: center; font-size: 14px; }
/* Profile card (decision 11.11.2026): bigger strengths, German level as a stat */
.ncard-strengths .ncard-pills { gap: 8px; }
.ncard-strengths .ncard-pill { font-size: .92rem; padding: 7px 13px; font-weight: 600; }
.ncard-stat-lang strong { font-size: 1.15rem; white-space: nowrap; }
.profile-pdf-box { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #FBEBCB; display: grid; gap: 8px; justify-items: start; }
.profile-pdf-box p { margin: 0; color: #4d3409; }
.pool-pdf { margin: 6px 0 0; font-size: 14px; }
/* Profile card v3 (decision 11.11.2026): availability, hours, shift grid, booked shifts for Minijob */
.ncard-avail { display: flex; flex-wrap: wrap; gap: 8px; }
.avail-chip { display: inline-flex; gap: 6px; align-items: center; background: #FBEBCB; color: #6B4610; font-weight: 700; border-radius: 99px; padding: 6px 12px; font-size: .84rem; }
.avail-chip.avail-green { background: #E6F2EC; color: #17513E; }
.ncard-shifts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ncard-shift { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #F6F4EE; font-size: .84rem; }
.ncard-shift i { font-style: normal; font-weight: 700; color: #1F6B52; }
.ncard-shift.off { opacity: .45; text-decoration: line-through; }
.ncard-shift.off i { color: #9aa6a2; }
.ncard-booked { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ncard-booked li { background: #F6F4EE; border-radius: 10px; padding: 9px 12px; font-size: .9rem; }
@media (max-width: 520px) { .ncard-shifts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ncard-pill-course { background: #FBF3E2; color: #5c3d0d; border: 1px solid #F3C77A; }
.dh-complete { margin: 0 0 6px; font-weight: 700; color: #17513E; }
/* Admin: status bar of a nurse */
.status-bar { display: grid; gap: 14px; }
.status-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 12px; overflow: hidden; }
.status-steps li { text-align: center; padding: 10px 6px; background: #F6F4EE; font-size: 13px; font-weight: 700; color: #7b8a85; }
.status-steps li.done { background: #E6F2EC; color: #17513E; }
.status-steps li.cur { background: #1F6B52; color: #fff; }
.status-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.status-acts form { margin: 0; }
.status-employee > summary { list-style: none; cursor: pointer; }
.status-employee > summary::-webkit-details-marker { display: none; }
.status-employee-form { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; min-width: min(420px, 100%); }
.btn-amber { background: #E8A33D; border-color: #E8A33D; color: #14231F; }
@media (max-width: 560px) { .status-steps { grid-template-columns: 1fr 1fr; } }
.sb-sub { margin: 10px 0 2px; padding: 0 10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(232,238,235,.5); font-weight: 700; }
/* Admin: document viewer */
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-reason { margin: 6px 0 0 !important; grid-column: 1 / -1; }
.doc-viewer { width: min(1100px, 96vw); height: min(92vh, 1000px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.doc-viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.doc-viewer::backdrop { background: rgba(20,35,31,.6); }
.dv-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dv-head .muted { flex: 1; font-size: 14px; }
.dv-close { border: 0; background: #F6F4EE; border-radius: 50%; width: 36px; height: 36px; font-size: 22px; line-height: 1; cursor: pointer; }
.dv-body { background: #E9EDEB; overflow: auto; display: grid; place-items: center; min-height: 0; }
.dv-file { width: 100%; height: 100%; border: 0; background: #fff; }
img.dv-file { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.dv-decide { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); margin: 0; }
.dv-field { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.dv-reject > summary { list-style: none; cursor: pointer; display: inline-flex; }
.dv-reject > summary::-webkit-details-marker { display: none; }
.dv-reject[open] { flex-basis: 100%; display: grid; gap: 8px; }
.dv-reason textarea { width: 100%; font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.dv-reject > summary { justify-self: start; }
/* Admin: facility contact persons */
.contact-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-meta { font-size: 14px; margin-top: 2px; }
.contact-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.contact-acts form { margin: 0; }
.contact-sent { font-size: 13px; }
.contact-edit > summary, .contact-add > summary { list-style: none; cursor: pointer; display: inline-flex; }
.contact-edit > summary::-webkit-details-marker, .contact-add > summary::-webkit-details-marker { display: none; }
.contact-edit[open] { flex-basis: 100%; }
/* Minijob offer (decision 11.11.2026) */
.mj-pay { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.mj-pay dt, .mj-pay dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.mj-pay dt:first-of-type, .mj-pay dt:first-of-type + dd { border-top: 0; }
.mj-pay dd { font-weight: 600; text-align: right; padding-left: 12px; white-space: nowrap; }
.mj-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #1F6B52; color: #fff; border-radius: 14px; padding: 12px 16px; margin-top: 10px; }
.mj-total strong { font-size: 1.6rem; }
.mj-budget { background: #E3EFE9; color: #1F6B52; border-radius: 12px; padding: 10px 14px; font-weight: 600; margin: 0 0 18px; }
/* Wage card on Mein Bereich (decision 12.11.2026) */
.wage-big { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: #1F6B52; color: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 6px; }
.wage-big strong { font-size: 1.7rem; }
.wage-rows { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.wage-rows dt, .wage-rows dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.wage-rows dd { font-weight: 600; text-align: right; padding-left: 12px; white-space: nowrap; }
.wage-opt { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.wage-opt-head { display: flex; justify-content: space-between; gap: 12px; }
.wage-opt-head span { color: #1F6B52; font-weight: 700; white-space: nowrap; }
.wage-opt .wage-rows dt:first-child, .wage-opt .wage-rows dt:first-child + dd { border-top: 0; }
.wage-type { margin: 0 0 4px; font-weight: 600; }
/* Bulk upload (decision 12.11.2026) */
.bulk-upload summary { cursor: pointer; }
.bulk-rows { display: grid; gap: 8px; margin: 12px 0; }
.bulk-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 150px; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.bulk-row select, .bulk-row input { width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid #cfcabd; border-radius: 10px; font: inherit; font-size: .9rem; background: #fff; }
.bulk-name { grid-column: 1 / -1; overflow-wrap: anywhere; font-size: .9rem; font-weight: 600; }
@media (max-width: 720px) { .bulk-row { grid-template-columns: 1fr; } }
/* Nurse sign-up dialog (decision 13.11.2026) */
dialog.signup { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 28px; padding: 18px 22px 16px; background: var(--ivory, #F6F4EE); color: #14231F; box-shadow: 0 24px 60px rgba(20,35,31,.28); overflow: auto; }
dialog.signup::backdrop { background: rgba(20,35,31,.45); backdrop-filter: blur(2px); }
.su-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.su-back, .su-close { background: none; border: 0; font-size: 22px; line-height: 1; color: #5d6b66; cursor: pointer; padding: 4px 6px; }
.su-close { margin-left: auto; font-size: 18px; }
.su-bar { flex: 1; height: 6px; background: #e3dfd4; border-radius: 99px; overflow: hidden; }
.su-bar i { display: block; height: 100%; width: 0; background: #1F6B52; border-radius: 99px; transition: width .35s ease; }
.su-step { display: flex; flex-direction: column; min-height: 380px; animation: su-in .25s ease; }
.su-step[hidden] { display: none; }
@keyframes su-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.su-step h2 { font-family: Fraunces, serif; font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin: 4px 0 6px; }
.su-step > p { color: #5d6b66; margin: 0 0 14px; }
.su-emoji { font-size: 40px; line-height: 1; margin-bottom: 6px; }
.su-big { font-size: 64px; text-align: center; margin-top: 30px; }
.su-done { text-align: center; }
.su-label { display: block; font-weight: 700; font-size: .92rem; margin: 6px 0 6px; }
.su-input { width: 100%; padding: 13px 14px; font: inherit; font-size: 1.05rem; border: 1.5px solid #cfcabd; border-radius: 14px; background: #fff; }
.su-input:focus { outline: none; border-color: #1F6B52; box-shadow: 0 0 0 4px #E3EFE9; }
.su-input-short { max-width: 140px; }
.su-code { font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-weight: 700; padding: 12px; }
.su-error { color: #a33a2b; font-size: .9rem; margin: 4px 0 6px; min-height: 0; }
.su-error:empty { display: none; }
.su-btn { display: block; width: 100%; margin-top: auto; padding: 15px; border: 0; border-radius: 99px; background: #1F6B52; color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem; text-align: center; cursor: pointer; text-decoration: none; }
.su-btn:disabled { opacity: .6; cursor: wait; }
.su-step .su-btn { margin-top: auto; }
.su-step > .su-btn:last-child { margin-top: 18px; }
.su-step { gap: 0; }
.su-step .su-btn { margin-top: max(18px, auto); }
.su-ghost { display: block; text-align: center; padding: 12px; border: 1.5px solid #ddd; border-radius: 99px; background: #fff; color: #14231F; font-weight: 700; text-decoration: none; margin-bottom: 12px; }
.su-or { display: flex; align-items: center; gap: 10px; color: #6c7a75; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 10px 0 !important; }
.su-or::before, .su-or::after { content: ""; flex: 1; height: 1px; background: #ddd8cc; }
.su-choice { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 16px; margin-bottom: 10px; border: 1.5px solid #e3dfd4; border-radius: 18px; background: #fff; font: inherit; cursor: pointer; }
.su-choice:hover, .su-choice:focus-visible { border-color: #1F6B52; background: #F1F7F4; }
.su-choice > span:first-child { font-size: 26px; }
.su-choice strong { display: block; font-size: 1.05rem; }
.su-choice small { color: #5d6b66; }
.su-ok { background: #E3EFE9; color: #1F6B52; border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: .9rem; margin: 0 0 10px !important; align-self: flex-start; }
.su-small { font-size: .9rem; color: #5d6b66; margin: 6px 0 0 !important; }
.su-link { background: none; border: 0; padding: 0; color: #1F6B52; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.su-exists { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 10px 0 4px; }
.su-exists[hidden] { display: none; }
.su-step .su-exists .su-btn, .su-btn.su-btn-ghost { margin-top: 0; background: #fff; color: #1F6B52; border: 1.5px solid #1F6B52; }
select.su-input { appearance: auto; background: #fff; }
.su-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; margin-bottom: 8px; border: 1.5px solid #e3dfd4; border-radius: 14px; background: #fff; font-size: .92rem; line-height: 1.4; cursor: pointer; }
.su-check input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: #1F6B52; }
.su-sub { margin-top: 10px; }
.su-math { margin-top: 6px; }
.su-fallback { text-align: center; font-size: .82rem; margin: 12px 0 0; }
.su-fallback a { color: #6c7a75; }
/* One question per slide in the profile (decision 13.11.2026) */
form.micro-on .q.q-off { display: none; }
form.micro-on .q { animation: su-in .25s ease; min-height: 180px; }
form.micro-on .q .field legend, form.micro-on .q > .field > label, form.micro-on .q .field > label:first-child { font-size: 1.15rem; }
.q-count { font-size: .85rem; font-weight: 700; color: #6c7a75; letter-spacing: .04em; margin: 0 0 8px; }
.q-count:empty { display: none; }
/* Photo visibility and booked nurse (decision 13.11.2026) */
.photo-who { margin-top: 14px; }
.photo-who .chip-grid { flex-direction: column; align-items: flex-start; }
.booked-who { display: flex; gap: 12px; align-items: center; }
.booked-who p { margin: 0; }
.booked-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.booked-initials { width: 56px; height: 56px; border-radius: 50%; background: #1F6B52; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: Fraunces, serif; font-weight: 600; font-size: 1.2rem; flex: none; }
/* Privacy per personal detail (decision 13.11.2026) */
.privacy-pick { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 4px 0 14px; font-size: .85rem; }
.privacy-label { color: #6c7a75; font-weight: 600; margin-right: 2px; }
.privacy-opt { position: relative; }
.privacy-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.privacy-opt span { display: inline-block; padding: 5px 11px; border: 1.5px solid var(--line-strong, #cfcabd); border-radius: 99px; background: #fff; font-weight: 600; }
.privacy-opt input:checked + span { border-color: #1F6B52; background: #E3EFE9; color: #1F6B52; }
.privacy-opt input:focus-visible + span { outline: 2px solid #1F6B52; outline-offset: 2px; }
.privacy-fixed { font-size: .85rem; color: #6c7a75; font-weight: 600; margin: 6px 0 12px; }
.slide-visibility { font-size: .88rem; color: #1F6B52; font-weight: 600; margin: 6px 0 0; }
.privacy-row { padding: 8px 0; border-top: 1px solid var(--line); }
.privacy-row:first-of-type { border-top: 0; }
/* Certificate upload per Weiterbildung (decision 13.11.2026) */
.pick-chip .pick-file { margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: #fff; border: 1px solid #cfcabd; font-size: .8rem; font-weight: 700; color: #1F6B52; cursor: pointer; white-space: nowrap; }
.picked .pick-chip { flex-wrap: wrap; }

/* CV upload and drafts (erfahrung) */
.cv-upload summary { cursor: pointer; }
.cv-upload form { margin-top: .75rem; }
.cv-drafts { border: 2px dashed #E8A33D; background: #FFFBF2; }
.cv-draft-list { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.cv-draft-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid #eee6d6; flex-wrap: wrap; }
.cv-draft-list .station-actions { display: flex; gap: .75rem; align-items: center; }

/* AI helpers */
.ai-box { background: #FFFBF2; border: 1px solid #F3C77A; border-radius: 12px; padding: .75rem 1rem; margin: .75rem 0; }
.ai-box p { margin: .25rem 0; }
.ai-tag { font-weight: 600; color: #8a5a12; }
.ai-draft-form { display: flex; gap: .5rem; margin: .75rem 0 .5rem; flex-wrap: wrap; }
.ai-draft-form input[type=text] { flex: 1 1 16rem; min-width: 0; }
.ai-cost { font-size: 1.25rem; margin: .25rem 0 .5rem; }
.ai-check { font-size: .9rem; margin: .35rem 0 0; padding: .35rem .6rem; border-radius: 8px; background: #EEF5F1; }
.ai-check-warn { background: #FFF4E0; }
.ai-request { margin-bottom: 1rem; display: grid; gap: .5rem; }
.ai-request textarea { width: 100%; }
.ai-bulk { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-bottom: 1rem; }

/* Dashboard header facts (decision 13.11.2026) */
.nh-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 4px 0 6px; }
.nh-facts > div { display: flex; flex-direction: column; gap: 3px; }
.nh-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6B7a74; font-weight: 700; }
.nh-facts dd { margin: 0; font-weight: 700; color: #14231F; }
.nh-facts dd.nh-code { align-self: flex-start; }
.nh-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.nh-status-green { background: #DDEFE5; color: #1F6B52; }
.nh-status-amber { background: #FBEBCB; color: #7A4A06; }
.nh-status-red { background: #F8DEDA; color: #A3352A; }
a.nh-status:hover { filter: brightness(.96); }
.nh-status-hint { margin: 0 0 18px; color: #4B5A55; font-size: 14px; }
.nh-steps li small { display: block; font-size: 12px; font-weight: 500; margin-top: 2px; opacity: .85; }
.nh-steps li.wait { background: #FFF4DF; color: #5C3A06; }
.nh-steps li.wait::before { content: "⏳"; background: transparent; font-size: 13px; }
.nh-slots { margin: 10px 0 6px; }
.wage-personal .wage-big strong { color: #1F6B52; }
@media (max-width: 640px) { .nh-steps { flex-direction: column; } }

/* Interview calendar (decision 13.11.2026) */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.cal-nav { display: flex; gap: 6px; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 10px 0 24px; }
.cal-day { background: #fff; border: 1px solid var(--line, #e4e0d6); border-radius: 12px; padding: 8px; min-height: 120px; display: flex; flex-direction: column; gap: 6px; }
.cal-day.today { border-color: #1F6B52; box-shadow: 0 0 0 1px #1F6B52 inset; }
.cal-day-head { font-size: 13px; color: #4B5A55; }
.cal-appt { border-radius: 8px; background: #DDEFE5; font-size: 13px; }
.cal-appt.cal-video { background: #E3E8FB; }
.cal-appt.cal-vor_ort { background: #FBEBCB; }
.cal-appt summary { cursor: pointer; padding: 6px 8px; list-style: none; font-weight: 700; overflow-wrap: anywhere; }
.cal-appt summary::-webkit-details-marker { display: none; }
.cal-time { font-variant-numeric: tabular-nums; }
.cal-detail { padding: 0 8px 8px; font-size: 13px; }
.cal-detail p { margin: 4px 0; }
.cal-free { font-size: 12px; background: #F1F4F2; border-radius: 8px; padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; }
.cal-empty { color: #c9d1cd; text-align: center; margin: auto 0; }
.via-choice { border: 0; padding: 0; margin: 0 0 10px; }
.via-choice legend { font-weight: 700; margin-bottom: 6px; }
.slot-picker .slot-day { margin: 14px 0 8px; font-size: 15px; }
@media (max-width: 900px) { .cal-week { grid-template-columns: 1fr; } .cal-day { min-height: 0; } }
.cal-wrap { margin-bottom: 18px; }
.cal-sub { color: #6B7a74; }
.cal-appt { position: relative; }
.cal-appt[open] .cal-detail { position: absolute; z-index: 20; top: 100%; left: 0; width: 280px; max-width: 80vw; background: #fff; border: 1px solid #d8d3c6; border-radius: 12px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(20,35,31,.18); margin-top: 4px; }
.cal-week > .cal-day:nth-child(n+5) .cal-appt[open] .cal-detail { left: auto; right: 0; }
@media (max-width: 900px) { .cal-appt[open] .cal-detail { position: static; width: auto; box-shadow: none; border: 0; padding: 0 8px 8px; } }

/* Referral card (Empfehlungsprämie) */

/* Start page after sign-up: profile from CV or by hand (decision 14.11.2026) */
.ps { max-width: 720px; margin: 0 auto; } /* same width as the slides in focus mode */
.ps-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 26px; }
.ps-wave { font-size: 36px; width: 64px; height: 64px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(20,35,31,.08); flex: none; }
.se .ps-head h1, .ps-head h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 4px; }
.ps-head p { font-size: 18px; }
.ps-head p { margin: 0; color: #5d6b66; }
.ps-card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 32px); box-shadow: var(--se-shadow); }
.ps-card-main { border: 2px solid #1F6B52; }
.ps-badge { position: absolute; top: -13px; right: 22px; background: #1F6B52; color: #fff; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.ps-card-title { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.ps-icon { font-size: 28px; width: 56px; height: 56px; border-radius: 14px; background: #EAF3EE; display: flex; align-items: center; justify-content: center; flex: none; }
.se .ps-card-title h2, .ps-card-title h2 { font-size: clamp(22px, 3vw, 28px); margin: 0; }
.ps-card-title p { margin: 4px 0 0; color: #5d6b66; font-size: 17px; }
.ps-drop { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 2px dashed #B9DCCA; border-radius: 16px; background: #F7FBF9; cursor: pointer; transition: border-color .15s, background .15s; }
.ps-drop:hover, .ps-drop:focus-within { border-color: #1F6B52; background: #EEF7F2; }
.ps-drop.has-file { border-style: solid; border-color: #1F6B52; }
.se .ps-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; padding: 0; border: 0; }
.ps-drop-icon { font-size: 34px; line-height: 1; }
.ps-drop-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ps-drop-text strong { font-size: 18px; color: #14231F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-drop-text small { font-size: 15px; color: #5d6b66; }
.ps-drop-btn { flex: none; font-size: 15px; font-weight: 700; color: #1F6B52; border: 1.5px solid #1F6B52; border-radius: 99px; padding: 8px 16px; background: #fff; }
.ps-consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 20px; font-size: 15.5px; line-height: 1.45; color: #5d6b66; cursor: pointer; }
.ps-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1F6B52; flex: none; }
.ps-note { margin: 10px 0 0; text-align: center; font-size: 15px; color: #8a9692; }
.ps-or { display: flex; align-items: center; gap: 14px; margin: 24px 4px; color: #8a9692; font-size: 16px; }
.ps-or::before, .ps-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ps-card-manual { display: flex; align-items: center; gap: 14px; padding: 22px 26px; text-decoration: none; color: #14231F; border: 2px solid #B9C7C1; box-shadow: var(--se-shadow); }
.ps-card-manual:hover, .ps-card-manual:focus { border-color: #1F6B52; background: #F7FBF9; }
.ps-card-manual .ps-icon { background: #F6F4EE; }
.ps-card-manual strong { display: block; font-size: 19px; }
.ps-card-manual small { display: block; color: #5d6b66; font-size: 15.5px; }
.ps-arrow { margin-left: auto; font-size: 32px; color: #1F6B52; }
.notice.cv-prefill { background: #FFF6E5; border-color: #F3C77A; }

.cv-switch { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 12px 16px; border: 1.5px dashed #B9DCCA; border-radius: 14px; background: #F7FBF9; color: #14231F; text-decoration: none; font-size: 15px; }
.cv-switch strong { color: #1F6B52; }
.cv-switch span:last-child { margin-left: auto; color: #1F6B52; font-size: 22px; line-height: 1; }
.cv-switch:hover, .cv-switch:focus { border-color: #1F6B52; border-style: solid; }

/* Personal offer after the interview (decision 14.11.2026) */
.offer-card { position: relative; background: #fff; border: 2px solid #1F6B52; border-radius: 26px; padding: clamp(22px, 4vw, 30px); margin: 18px 0; box-shadow: var(--se-shadow); color: #14231F; }
.offer-badge { position: absolute; top: -13px; left: 22px; background: #E8A33D; color: #412402; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.offer-head { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.offer-icon { font-size: 26px; width: 52px; height: 52px; border-radius: 16px; background: #EAF3EE; display: flex; align-items: center; justify-content: center; flex: none; }
.se .offer-head h2, .offer-head h2 { font-family: Fraunces, serif; font-size: clamp(22px, 3vw, 28px); margin: 0; }
.offer-head p { margin: 2px 0 0; color: #5d6b66; }
.offer-wage { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #1F6B52; color: #fff; border-radius: 18px; padding: 18px; margin: 18px 0 12px; text-align: center; }
.offer-wage span { font-size: 14px; opacity: .88; }
.offer-wage strong { font-size: clamp(36px, 7vw, 48px); line-height: 1.1; font-weight: 700; }
.offer-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.offer-stats div { background: #F7FBF9; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.offer-stats span { font-size: 13px; color: #5d6b66; }
.offer-stats strong { font-size: 22px; }
.offer-stats small { font-size: 12px; color: #8a9692; }
.se .offer-card h3, .offer-card h3 { font-size: 15px; font-family: inherit; margin: 16px 0 6px; }
.offer-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offer-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.offer-rows li strong { text-align: right; font-weight: 600; }
.offer-dot { display: inline-block; width: 24px; }
.offer-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.offer-benefits li { background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.offer-benefits li strong { font-size: 15px; }
.offer-benefits li span { font-size: 13px; color: #5d6b66; }
.offer-note { font-size: 13px; color: #8a9692; margin: 16px 0 10px; }
.offer-admin-status { background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.offer-admin-status.is-on { background: #EAF3EE; border-color: #1F6B52; color: #1F6B52; }
.offer-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.offer-admin-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.offer-admin-grid input, .offer-admin-grid select, .offer-admin-benefits input, .offer-admin-custom input { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.offer-admin-h { font-size: 15px; margin: 14px 0 6px; }
.offer-admin-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.offer-admin-benefits > div { display: flex; flex-direction: column; gap: 4px; }
.offer-admin-custom { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-bottom: 6px; }

/* New offers stand out (decision 14.11.2026) */
.nh-stat { position: relative; }
.nh-stat-new { background: #FFF4DE; border: 2px solid #E8A33D; box-shadow: 0 0 0 0 rgba(232,163,61,.5); animation: nh-pulse 2s ease-out infinite; }
.nh-stat-new .nh-stat-num { color: #7A4A06; }
.nh-stat-new .nh-stat-label { color: #7A4A06; font-weight: 700; }
.nh-stat-badge { position: absolute; top: 10px; right: 10px; background: #E8A33D; color: #fff; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 99px; }
@keyframes nh-pulse { 0% { box-shadow: 0 0 0 0 rgba(232,163,61,.45); } 70% { box-shadow: 0 0 0 10px rgba(232,163,61,0); } 100% { box-shadow: 0 0 0 0 rgba(232,163,61,0); } }
@media (prefers-reduced-motion: reduce) { .nh-stat-new { animation: none; } }

/* Lock on "Neue Angebote" until the profile is confirmed (decision 14.11.2026) */
.nh-stat-locked { overflow: hidden; }
.nh-stat-locked { border-color: #E9D9B4; background: #FFFCF5; }
.nh-stat-locked .nh-stat-num { color: #C9C2B2; }
.nh-lock { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nh-lock-badge { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2C8466, #1F6B52 55%, #14503D); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #F3E6C6, 0 6px 14px rgba(31,107,82,.28); }
.nh-lock small { font-size: 11px; font-weight: 700; color: #7A4A06; background: #FBEBCB; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
a.nh-stat-locked:hover .nh-lock-badge { transform: rotate(-8deg); transition: transform .2s; }
.offers-locked { display: flex; gap: 10px; align-items: center; background: #F6F4EE; }
.ofc-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ofc { font-size: 14px; padding: 6px 14px; border-radius: 99px; border: 1px solid #CFC8B8; background: #fff; color: #14231F; text-decoration: none; }
.ofc:hover { border-color: #1F6B52; }
.ofc.is-on { background: #1F6B52; border-color: #1F6B52; color: #fff; }
.job-type-form { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.job-type-form select { padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.sb-link.is-locked { opacity: .6; cursor: default; }
.sb-link.is-locked .sb-lock { margin-left: auto; opacity: 1; }

/* Invite colleagues card (decision 14.11.2026) */
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin: 18px 0; color: #14231F; }
.ref-head { background: #1F6B52; color: #fff; padding: 22px 24px; display: flex; align-items: center; gap: 18px; }
.ref-amount { background: #F3C77A; color: #412402; border-radius: 16px; padding: 10px 14px; text-align: center; flex: none; }
.ref-amount strong { display: block; font-family: Fraunces, serif; font-size: 30px; line-height: 1; }
.ref-amount span { font-size: 12px; }
.se .ref-head h2, .ref-head h2 { font-family: Fraunces, serif; font-size: clamp(20px, 3vw, 24px); margin: 0 0 4px; color: #fff; }
.ref-head p { margin: 0; font-size: 15px; color: #D9EDE4; }
.ref-body { padding: 20px 24px 22px; }
.ref-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ref-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #5d6b66; }
.ref-steps li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #EAF3EE; color: #1F6B52; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ref-steps strong { display: block; color: #14231F; font-size: 15px; }
.ref-cond { display: flex; gap: 10px; align-items: center; background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: #633806; margin: 0 0 16px; }
.ref-cond svg { flex: none; color: #BA7517; }
.ref-stats { display: flex; background: #F6F4EE; border-radius: 14px; margin-bottom: 16px; }
.ref-stats div { flex: 1; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; }
.ref-stats div + div { border-left: 1px solid var(--line); }
.ref-stats strong { font-family: Fraunces, serif; font-size: 26px; }
.ref-stats span { font-size: 13px; color: #5d6b66; }
.ref-stats .is-money strong { color: #1F6B52; }
.ref-link { display: flex; align-items: center; gap: 8px; border: 1.5px dashed #CFC8B8; border-radius: 14px; padding: 6px 6px 6px 14px; margin-bottom: 10px; }
.ref-link input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: #14231F; outline: none; }
.ref-link button { flex: none; background: #14231F; color: #fff; border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ref-wa { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #fff; color: #1F6B52; border: 1.5px solid #1F6B52; border-radius: 14px; padding: 12px; font-weight: 700; text-decoration: none; }
.ref-wa:hover { background: #F3FAF6; }
.ref-foot { font-size: 13px; color: #8a9692; margin: 12px 0 0; text-align: center; }
.referrer-form { display: flex; gap: 8px; margin-top: 6px; }
.referrer-form input { flex: 1; min-width: 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }

/* Welcome card on the nurse start page (design approved 14.11.2026) */
.nh-hero { position: relative; overflow: hidden; background: #1F6B52; color: #fff; border-radius: 28px; padding: clamp(20px, 4vw, 30px); margin: 0 0 18px; }
.nh-hero::after { content: ""; position: absolute; right: -70px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.nh-hero > * { position: relative; z-index: 1; }
.nh-hero-top { display: flex; align-items: center; gap: 20px; }
.nh-hero .nh-photo-label, .nh-hero .nh-photo-label img, .nh-hero .nh-photo-initials { width: 88px; height: 88px; }
.nh-hero .nh-photo-label img, .nh-hero .nh-photo-initials { box-shadow: 0 0 0 3px #F3C77A, 0 6px 18px rgba(0,0,0,.25); background: #C9D9D2; color: #14231F; }
.nh-hero .nh-photo-edit { left: auto; right: -2px; bottom: -2px; transform: none; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: #F3C77A; color: #412402; border: 2px solid #1F6B52; display: flex; align-items: center; justify-content: center; }
.nh-hello { margin: 0; font-size: 16px; color: #CFE6DB; }
.se .nh-hero h1, .nh-hero h1 { font-family: Fraunces, serif; font-size: clamp(26px, 4.5vw, 38px); line-height: 1.1; color: #fff; margin: 2px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nh-hero .nh-status { box-shadow: none; }
.nh-hero-error { background: #FCEBEB; color: #791F1F; border-radius: 12px; padding: 8px 12px; margin: 12px 0 0; font-size: 14px; }
.nh-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.nh-hero-facts > div { background: rgba(255,255,255,.1); border-radius: 16px; padding: 10px 14px; min-width: 0; }
.nh-hero-facts dt { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #CFE6DB; font-weight: 700; }
.nh-hero-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; color: #fff; overflow-wrap: anywhere; }
.nh-hero-progress { margin-top: 16px; }
.nh-hero-bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.nh-hero-bar span { display: block; height: 100%; background: #F3C77A; border-radius: 99px; transition: width .4s; }
.nh-hero-progress p { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 0; font-size: 13px; color: #CFE6DB; }
.nh-hero-note { display: flex; gap: 10px; align-items: flex-start; background: #FFF8EC; color: #633806; border-radius: 14px; padding: 10px 14px; margin: 14px 0 0; font-size: 14px; }
.nh-hero-note svg { flex: none; color: #BA7517; margin-top: 1px; }
.nh-hero-note a { color: #633806; font-weight: 700; }
.nh-hero-note.is-red { background: #FCEBEB; color: #791F1F; }
.nh-hero-note.is-red svg, .nh-hero-note.is-red a { color: #A32D2D; }
@media (max-width: 640px) {
  .nh-hero-top { flex-direction: column; text-align: center; gap: 12px; }
  .nh-hero h1 { justify-content: center; }
  .nh-hero .nh-photo-label, .nh-hero .nh-photo-label img, .nh-hero .nh-photo-initials { width: 88px; height: 88px; font-size: 30px; }
  .nh-hero-facts { grid-template-columns: 1fr 1fr; }
  .nh-hero-facts > div:last-child { grid-column: 1 / -1; }
}
.nh-hero-facts > div.is-staff { background: rgba(243,199,122,.18); box-shadow: inset 0 0 0 1px #F3C77A; }
.nh-hero-facts small { display: block; font-size: 12px; color: #CFE6DB; margin-top: 2px; }

/* Start page: small locks, progress, social footer (decision 14.11.2026) */
.nh-stat-locked { position: relative; background: #FFFCF5; border-color: #E9D9B4; cursor: default; }
.nh-stat-locked .nh-stat-num, .nh-stat-locked .nh-stat-label { color: #BDB6A6; }
.nh-tile-lock { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #1F6B52; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #F3E6C6; }
.nh-locked-hint { margin: -6px 0 16px; font-size: 14px; color: #7A4A06; }
.nh-apply-locked { background: #FFF8EC; border: 1px solid #F3C77A; color: #633806; border-radius: 12px; padding: 10px 12px; }
progress.nh-hero-bar { display: block; width: 100%; height: 7px; border: 0; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; appearance: none; -webkit-appearance: none; }
progress.nh-hero-bar::-webkit-progress-bar { background: rgba(255,255,255,.18); border-radius: 99px; }
progress.nh-hero-bar::-webkit-progress-value { background: #F3C77A; border-radius: 99px; }
progress.nh-hero-bar::-moz-progress-bar { background: #F3C77A; border-radius: 99px; }
.nh-social { text-align: center; margin: 26px 0 80px; }
.nh-social > p:first-child { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.nh-social-icons { display: flex; gap: 12px; justify-content: center; }
.nh-social-icons a { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: #1F6B52; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.nh-social-icons a:hover { background: #1F6B52; color: #fff; }
.nh-social .nh-foot { margin-top: 14px; font-size: 13px; }
/* Floating chat button */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.chat-fab > summary { list-style: none; width: 60px; height: 60px; border-radius: 50%; background: #1F6B52; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 22px rgba(31,107,82,.38); position: relative; }
.chat-fab > summary::-webkit-details-marker { display: none; }
.chat-fab > summary:focus-visible { outline: 3px solid #F3C77A; outline-offset: 3px; }
.chat-fab[open] > summary { background: #14231F; }
.chat-fab-count { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #E24B4A; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #F6F4EE; }
.chat-fab-panel { position: absolute; right: 0; bottom: 74px; width: min(320px, calc(100vw - 32px)); max-height: min(480px, calc(100vh - 120px)); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 40px rgba(20,35,31,.22); }
.chat-fab-head { background: #14231F; color: #fff; padding: 14px 16px; }
.chat-fab-head small { display: block; font-size: 12px; color: #C9D9D2; margin-top: 2px; }
.chat-fab-item { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid #EFEBE2; text-decoration: none; color: #14231F; }
.chat-fab-item:hover { background: #F7FBF9; }
.chat-fab-item strong { display: block; font-size: 15px; }
.chat-fab-item small { display: block; font-size: 12px; color: #8a9692; }
.chat-fab-item.is-all { background: #F3FAF6; }
.chat-fab-av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #DDEFE5; font-size: 18px; }
.chat-fab-av img, .chat-fab-av .team-avatar { width: 40px; height: 40px; }
.chat-fab-unread { margin-left: auto; background: #E24B4A; color: #fff; border-radius: 99px; font-size: 12px; font-weight: 800; padding: 1px 8px; }
.chat-fab-all { display: block; text-align: center; padding: 12px; border-top: 1px solid #EFEBE2; font-size: 14px; color: #1F6B52; font-weight: 700; }
@media (max-width: 640px) { .chat-fab { right: 14px; bottom: 14px; } .chat-fab > summary { width: 56px; height: 56px; } }

/* Chat: role pill, attachments, composer (decision 14.11.2026) */
.chat-fab-role { display: inline-block; font-size: 11px; font-weight: 700; background: #EAF3EE; color: #1F6B52; padding: 1px 8px; border-radius: 99px; margin-left: 4px; vertical-align: 1px; }
.msg-image img { display: block; max-width: min(260px, 70vw); max-height: 260px; border-radius: 14px; object-fit: cover; margin-bottom: 4px; }
.msg-audio audio { width: min(260px, 70vw); height: 40px; margin-bottom: 4px; }
.msg-file { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-decoration: none; color: #14231F; margin-bottom: 4px; }
.msg-file strong { display: block; font-size: 14px; }
.msg-file small { display: block; font-size: 12px; color: var(--muted); }
.msg-ticks { margin-left: 6px; color: var(--muted); letter-spacing: -2px; }
.msg-ticks.is-read { color: #1F6B52; font-weight: 800; }
.chat-composer { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.chat-composer.is-sending { opacity: .6; pointer-events: none; }
.cc-row { display: flex; align-items: flex-end; gap: 6px; }
.se .cc-row textarea, .cc-row textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 160px; resize: none; border: 1px solid var(--line); background: #F6F4EE; border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 15px; line-height: 1.4; }
.cc-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: transparent; color: #5d6b66; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-btn:hover { background: #F3FAF6; color: #1F6B52; }
.cc-btn:focus-within, .cc-btn:focus-visible { outline: 3px solid #F3C77A; outline-offset: 1px; }
.cc-mic { background: #1F6B52; color: #fff; }
.cc-mic:hover { background: #14503D; color: #fff; }
.cc-mic.is-recording { background: #E24B4A; animation: nh-pulse 1.4s infinite; }
.cc-send { color: #1F6B52; }
.cc-file, .cc-rec { display: flex; align-items: center; gap: 10px; background: #F3FAF6; border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; font-size: 14px; }
.cc-file button, .cc-rec button { margin-left: auto; border: 0; background: transparent; font: inherit; color: #A32D2D; cursor: pointer; font-weight: 700; }
.cc-rec { background: #FCEBEB; color: #791F1F; }
.cc-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #E24B4A; }
.cc-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; display: flex; gap: 6px; align-items: center; }
.chat-composer-admin .chat-channel { display: block; margin-bottom: 8px; }
.se .cc-row textarea, .cc-row textarea { overflow-y: hidden; }
@media (max-width: 480px) { .cc-row { gap: 2px; } .cc-btn { width: 38px; height: 38px; } .se .cc-row textarea, .cc-row textarea { padding: 10px 12px; } }

/* Profile photo viewer (decision 14.11.2026) */
.nh-hero .nh-photo { position: relative; width: 88px; height: 88px; flex: none; }
.nh-photo-view { display: block; width: 88px; height: 88px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: zoom-in; }
.nh-photo-view img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #F3C77A, 0 6px 18px rgba(0,0,0,.25); }
.nh-photo-view:focus-visible { outline: 3px solid #F3C77A; outline-offset: 4px; }
.nh-hero .nh-photo > .nh-photo-edit { position: absolute; cursor: pointer; }
.photo-dialog { border: 0; border-radius: 24px; padding: 18px; max-width: min(420px, 92vw); background: #fff; text-align: center; }
.photo-dialog::backdrop { background: rgba(20,35,31,.7); }
.photo-dialog img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.photo-dialog-close { position: absolute; top: 8px; right: 12px; border: 0; background: rgba(255,255,255,.9); width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.photo-dialog-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.photo-dialog-actions form { margin: 0; }

/* One-column settings style, reused for Mein Profil and Konto und Einstellungen (design approved 14.11.2026) */
.pp-col, .set-col { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.pp-top { background: #1F6B52; color: #fff; border-radius: 24px; padding: 20px 22px; display: flex; align-items: center; gap: 18px; }
.se .pp-top h1, .pp-top h1 { margin: 0; color: #fff; font-family: Fraunces, serif; font-size: clamp(26px, 4vw, 34px); display: flex; align-items: center; gap: 8px; }
.pp-top p { margin: 4px 0 0; color: #CFE6DB; font-size: 15px; }
.pp-ring { flex: none; }
.pp-cv { margin: 0; }
.pp-missing { margin: 0; background: #FFF8EC; border: 1px solid #F3C77A; color: #633806; border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.set-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.se .set-title, .set-title { margin: 0; padding: 14px 18px; font-family: inherit; font-size: 15px; font-weight: 700; border-bottom: 1px solid #EFEBE2; display: flex; align-items: center; gap: 8px; color: #14231F; }
.set-title small { font-weight: 400; color: var(--muted); }
.set-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-top: 1px solid #EFEBE2; color: #14231F; text-decoration: none; min-height: 60px; }
.set-title + .set-row, .set-card > .set-row:first-child { border-top: 0; }
a.set-row:hover { background: #F7FBF9; }
.set-ico { width: 38px; height: 38px; border-radius: 12px; background: #EAF3EE; color: #1F6B52; display: flex; align-items: center; justify-content: center; flex: none; }
.set-text { flex: 1; min-width: 0; }
.set-text strong { display: block; font-size: 15px; font-weight: 600; }
.set-text small { display: block; font-size: 13px; color: #8a9692; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-pill { flex: none; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.set-pill.is-ok { background: #DDEFE5; color: #1F6B52; }
.set-pill.is-todo { background: #FBEBCB; color: #633806; }
.set-pill.is-bad { background: #FCEBEB; color: #A32D2D; }
.set-chev { color: #BDB6A6; font-size: 22px; line-height: 1; flex: none; }
.set-action { flex: none; font-size: 14px; color: #1F6B52; font-weight: 700; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.pp-preview-body { padding: 16px 18px; }
.pp-preview-body .nurse-card, .pp-preview-body > :first-child { max-width: none; }
.pp-tip { display: flex; align-items: center; gap: 12px; background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 20px; padding: 14px 18px; color: #633806; font-size: 14px; flex-wrap: wrap; }
.pp-tip > span:nth-child(2) { flex: 1; min-width: 200px; }
@media (max-width: 560px) { .pp-top { flex-direction: column; text-align: center; } .se .pp-top h1, .pp-top h1 { justify-content: center; } .set-row { padding: 12px 14px; gap: 12px; } }
.se .set-h1, .set-h1 { margin: 0 0 4px; }
.set-me .team-avatar { width: 56px; height: 56px; flex: none; }
.set-me .set-text strong { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.set-details > summary { list-style: none; cursor: pointer; }
.set-details > summary::-webkit-details-marker { display: none; }
.set-inner { padding: 4px 18px 18px; }
.set-quiet { flex-wrap: wrap; margin: 0; }
.set-quiet-pick { display: flex; align-items: center; gap: 8px; flex: none; }
.set-quiet-pick select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
form.set-row { margin: 0; }
.set-switch { position: relative; flex: none; width: 46px; height: 28px; cursor: pointer; }
.set-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.set-switch span { position: absolute; inset: 0; border-radius: 99px; background: #CFC8B8; transition: background .15s; }
.set-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.set-switch input:checked + span { background: #1F6B52; }
.set-switch input:checked + span::after { transform: translateX(18px); }
.set-switch input:focus-visible + span { outline: 3px solid #F3C77A; outline-offset: 2px; }
.set-seg { display: inline-flex; flex: none; background: #F6F4EE; border-radius: 99px; padding: 3px; }
.set-seg label { position: relative; cursor: pointer; }
.set-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.set-seg span { display: block; padding: 6px 12px; border-radius: 99px; font-size: 13px; color: #5d6b66; white-space: nowrap; }
.set-seg input:checked + span { background: #1F6B52; color: #fff; font-weight: 700; }
.set-seg input:focus-visible + span { outline: 3px solid #F3C77A; }
.set-foot { flex-wrap: wrap; }
.set-foot small { flex: 1; min-width: 220px; color: #8a9692; font-size: 13px; }
.set-danger { border-color: #F0C9C9; }
.set-danger .set-text strong { color: #A32D2D; }
.st-logout { text-align: center; margin: 4px 0 30px; }
@media (max-width: 560px) { .set-seg span { padding: 6px 9px; font-size: 12px; } .set-row:has(.set-seg) { flex-wrap: wrap; } }

/* Delete account notice (decision 14.11.2026) */
.del-box { background: #fff; border: 1px solid #F0C9C9; border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; }
.del-lead { margin: 0 0 10px; color: #A32D2D; }
.se .del-box h2, .del-box h2 { font-family: inherit; font-size: 15px; font-weight: 700; margin: 14px 0 6px; }
.del-list { margin: 0; padding: 0; list-style: none; }
.del-list li { padding: 6px 0 6px 28px; position: relative; }
.del-list li::before { content: "🗑"; position: absolute; left: 0; top: 5px; }
.se .set-card h2.set-title, .set-card h2.set-title { font-family: inherit; font-size: 15px; font-weight: 700; margin: 0; padding: 14px 18px; }
.set-text small[data-push-status], .set-foot small, .set-danger .set-text small { white-space: normal; }
.del-warn { background: #FFF8EC; border: 1px solid #F3C77A; color: #633806; border-radius: 20px; padding: 16px 20px; margin-bottom: 16px; }
.del-warn p { margin: 0 0 8px; }
.del-warn p:last-child { margin: 0; }
.dv-wait { padding: 30px; color: var(--muted); text-align: center; }
.dv-pages { width: 100%; height: 100%; overflow: auto; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; align-self: stretch; }
.dv-page { width: 100%; max-width: 1000px; height: auto; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); border-radius: 4px; }
/* Section headers in the style of the welcome card: green with a light green circle (decision 14.11.2026) */
.se .set-card h2.set-title, .set-card h2.set-title { position: relative; overflow: hidden; background: #1F6B52; color: #fff; border-bottom: 0; padding: 15px 18px; display: flex; align-items: center; gap: 10px; }
.set-card h2.set-title::after { content: ""; position: absolute; right: -34px; top: -52px; width: 140px; height: 140px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.set-card h2.set-title > * { position: relative; z-index: 1; }
.set-card h2.set-title small { color: #CFE6DB; font-weight: 400; }
.set-tico { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; flex: none; }
/* "An das ganze Team" in the style of the welcome card (decision 14.11.2026) */
.team-all { background: #1F6B52; overflow: hidden; }
.team-all::after { content: ""; position: absolute; right: -50px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.team-all > * { position: relative; z-index: 1; }
.team-all .team-all-icon { background: rgba(255,255,255,.12); color: #fff; }
.chat-head .team-all-icon { color: #1F6B52; }
/* Light green circle on all green headers (decision 14.11.2026) */
.ref-head, .pp-top { position: relative; overflow: hidden; }
.ref-head::after, .pp-top::after { content: ""; position: absolute; right: -60px; top: -90px; width: 230px; height: 230px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.ref-head > *, .pp-top > * { position: relative; z-index: 1; }
.dh-section { overflow: hidden; }
.dh-section-head { position: relative; overflow: hidden; background: #1F6B52; color: #fff; margin: -22px -22px 18px; padding: 20px 22px; }
.dh-section-head::after { content: ""; position: absolute; right: -60px; top: -90px; width: 230px; height: 230px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.dh-section-head > * { position: relative; z-index: 1; }
.se .dh-section-head h2, .dh-section-head h2 { color: #fff; }
.dh-section-head p.muted { color: #CFE6DB; }
.dh-section-icon { background: rgba(255,255,255,.14); }
@media (max-width: 640px) { .dh-section-head { margin: -14px -14px 14px; padding: 16px 14px; } }

/* Notification bell (decision 14.11.2026) */
.bell { position: relative; pointer-events: auto; margin-left: auto; }
.bell > summary { list-style: none; width: 42px; height: 42px; border-radius: 50%; background: #14231F; color: #F3C77A; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; box-shadow: 0 4px 12px rgba(20,35,31,.18); }
.bell > summary::-webkit-details-marker { display: none; }
.bell > summary:focus-visible { outline: 3px solid #F3C77A; outline-offset: 2px; }
.bell-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #E24B4A; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #14231F; }
.bell-panel { position: absolute; right: 0; top: 52px; width: min(360px, calc(100vw - 24px)); max-height: min(520px, calc(100vh - 90px)); overflow-y: auto; background: #fff; color: #14231F; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20,35,31,.22); z-index: 40; }
.bell-head { position: relative; overflow: hidden; background: #1F6B52; color: #fff; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bell-head::after { content: ""; position: absolute; right: -30px; top: -50px; width: 120px; height: 120px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.bell-head > * { position: relative; z-index: 1; }
.bell-head form { margin: 0; }
.bell-head button { background: none; border: 0; color: #CFE6DB; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
.bell-item { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-top: 1px solid #EFEBE2; color: #14231F; text-decoration: none; }
.bell-item:hover { background: #F7FBF9; }
.bell-item.is-new { background: #FFFBF2; }
.bell-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; }
.bell-ico.is-ok { background: #DDEFE5; color: #1F6B52; } .bell-ico.is-bad { background: #FCEBEB; color: #A32D2D; } .bell-ico.is-msg { background: #FBEBCB; color: #7A4A06; } .bell-ico.is-greet { background: #EEEDFE; color: #3C3489; } .bell-ico.is-info { background: #EAF3EE; color: #1F6B52; }
.bell-text { flex: 1; min-width: 0; }
.bell-text strong { display: block; font-size: 14px; }
.bell-text small { display: block; font-size: 12px; color: #5d6b66; }
.bell-text em { display: block; font-style: normal; font-size: 11px; color: #8a9692; margin-top: 2px; }
.bell-dot { width: 9px; height: 9px; border-radius: 50%; background: #E8A33D; flex: none; margin-top: 6px; }
.bell-all { display: block; text-align: center; padding: 12px; border-top: 1px solid #EFEBE2; font-size: 14px; color: #1F6B52; font-weight: 700; }
.bell-empty { padding: 18px; color: var(--muted); text-align: center; margin: 0; }
.bell-when { flex: none; font-size: 12px; color: #8a9692; }
.set-text small.wrap { white-space: normal; }
@media (max-width: 1024px) { .bell > summary { background: rgba(255,255,255,.1); box-shadow: none; width: 38px; height: 38px; } }
/* Greeting cards on the start page */
.nh-greet { position: relative; overflow: hidden; background: #1F6B52; color: #fff; border-radius: 22px; padding: 20px 22px; margin: 0 0 16px; text-align: center; }
.nh-greet::after { content: ""; position: absolute; right: -60px; top: -90px; width: 230px; height: 230px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.nh-greet > * { position: relative; z-index: 1; }
.nh-greet-emoji { font-size: 38px; margin: 0; line-height: 1.1; }
.se .nh-greet h2, .nh-greet h2 { color: #fff; font-family: Fraunces, serif; margin: 8px 0 4px; }
.nh-greet p:last-child { margin: 0; color: #DCEFE6; }
.nh-greet-close { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.nh-greet-close button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.nh-greet-close button:hover { background: rgba(255,255,255,.28); }
.bell-head button { white-space: nowrap; }
.nh-greet h2 { margin-top: 4px !important; }

/* Start page: bell sits in the green welcome card (decision 14.11.2026) */
.shell-bell { display: contents; }
.nh-hero-wrap { position: relative; }
.nh-hero-bell { position: absolute; top: 18px; right: 18px; z-index: 5; }
.nh-hero-bell .bell > summary { background: rgba(255,255,255,.14); box-shadow: none; border: 1px solid rgba(255,255,255,.22); }
.nh-hero-bell .bell-count { border-color: #2A7C61; }
@media (min-width: 1025px) { .shell-bell.is-home { display: none; } }
@media (max-width: 1024px) { .nh-hero-bell { display: none; } }
/* Notification detail page (decision 14.11.2026) */
.ns-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; max-width: 640px; margin: 0 auto; box-shadow: 0 4px 18px rgba(20,35,31,.06); }
.ns-head { position: relative; overflow: hidden; background: #1F6B52; color: #fff; text-align: center; padding: 30px 22px 26px; }
.ns-head::after { content: ""; position: absolute; right: -60px; top: -90px; width: 230px; height: 230px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.ns-head > * { position: relative; z-index: 1; }
.ns-emoji { font-size: 46px; line-height: 1.1; margin: 0; }
.se .ns-head h1, .ns-head h1 { color: #fff; font-family: Fraunces, serif; font-size: clamp(24px, 4vw, 30px); margin: 10px 0 4px; }
.ns-sub { margin: 0; color: #CFE6DB; font-size: 14px; }
.ns-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; line-height: 34px; text-align: center; text-decoration: none; }
.ns-close:hover { background: rgba(255,255,255,.28); }
.ns-body { padding: 24px clamp(18px, 4vw, 30px) 26px; font-size: 16px; line-height: 1.6; }
.ns-info { background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 12px; padding: 12px 14px; color: #633806; font-size: 15px; }
.ns-extra { background: #EAF3EE; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.ns-sign { margin-top: 18px; }
.ns-date { color: var(--muted); font-size: 13px; margin: 0; }
.ns-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ns-actions form { margin: 0; }
/* Phone and tablet: notification list spans the screen below the top bar, never outside it */
@media (max-width: 1024px) {
  .shell-top .bell-panel { position: fixed; top: 64px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); }
}
/* Kennenlerngespräch card on the start page (decision 15.11.2026) */
.nh-iv { margin: 0 0 16px; }
.nh-iv-body { padding: 14px 18px 16px; }
.nh-iv-body > p { margin: 0 0 10px; }
.nh-iv-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.nh-iv-day { flex: 1 0 64px; border: 1px solid #DDD7CA; background: #fff; border-radius: 12px; padding: 7px 4px; font: inherit; color: #14231F; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.nh-iv-day span { font-size: 12px; color: #5d6b66; }
.nh-iv-day strong { font-size: 14px; }
.nh-iv-day.is-on { background: #1F6B52; border-color: #1F6B52; color: #fff; }
.nh-iv-day.is-on span { color: #CFE6DB; }
.nh-iv-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; margin-bottom: 12px; }
.nh-iv-times[hidden] { display: none; }
.nh-iv-t { position: relative; }
.nh-iv-t input { position: absolute; opacity: 0; inset: 0; }
.nh-iv-t span { display: block; text-align: center; border: 1px solid #DDD7CA; border-radius: 10px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.nh-iv-t input:checked + span { background: #EAF3EE; border-color: #1F6B52; color: #1F6B52; font-weight: 700; }
.nh-iv-t input:focus-visible + span, .nh-iv-seg input:focus-visible + span { outline: 3px solid #F3C77A; outline-offset: 2px; }
.nh-iv-seg { display: flex; border: 1px solid #DDD7CA; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.nh-iv-seg label { flex: 1; position: relative; }
.nh-iv-seg input { position: absolute; opacity: 0; inset: 0; }
.nh-iv-seg span { display: block; text-align: center; padding: 9px 0; font-size: 14px; cursor: pointer; }
.nh-iv-seg input:checked + span { background: #1F6B52; color: #fff; }
.nh-iv-more { text-align: center; font-size: 14px; margin: 10px 0 0 !important; }
.nh-iv-when { background: #EAF3EE; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.nh-iv-when strong { display: block; font-size: 17px; color: #14231F; }
.nh-iv-when small { display: block; color: #1F6B52; font-size: 14px; margin-top: 2px; }
.nh-iv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nh-iv-actions form { margin: 0; }
.nh-hero-progress p span:last-child { white-space: nowrap; }
.nh-iv-seg span { font-size: 13px; }
.nh-iv-move { margin-top: 12px; }
.nh-iv-move > summary { list-style: none; display: inline-block; }
.nh-iv-move > summary::-webkit-details-marker { display: none; }
.nh-iv-move[open] > summary { background: #1F6B52; color: #fff; border-color: #1F6B52; }
.nh-iv-move > p { margin: 12px 0 8px; }
.nh-iv-cancel { margin: 6px 0 0; }
.nh-iv-cancel .btn-link { color: #A32D2D; font-weight: 600; font-size: 14px; }
.nh-iv-about { margin: 12px 0 0; font-size: 14px; }
.nh-iv-move > summary { display: inline-flex; align-items: center; line-height: 1.2; }
.nh-iv-empty { text-align: center; padding: 6px 4px 2px; }
.nh-iv-empty-ico { width: 64px; height: 64px; border-radius: 50%; background: #EAF3EE; color: #1F6B52; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.nh-iv-empty > strong { display: block; font-size: 17px; color: #14231F; }
.nh-iv-empty > p { margin: 4px auto 0; max-width: 34ch; color: #5d6b66; }
.nh-iv-empty-alt { margin-top: 14px; padding-top: 12px; border-top: 1px solid #EFEBE2; }
.nh-iv-empty-alt > span { display: block; font-size: 13px; color: #5d6b66; margin-bottom: 8px; }
.nh-iv-empty-alt > div { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* Ihre Bewerbung in the green-header style (decision 15.11.2026) */
.nh-apply.set-card { margin: 0 0 16px; padding: 0; }
.nh-apply-body { padding: 14px 18px 16px; }
.nh-apply-body > p:last-child { margin-bottom: 0; }
/* Interview picker: info only for the chosen way */
.nh-iv-info p { display: none; gap: 10px; align-items: flex-start; background: #F3F8F5; border: 1px solid #D6E8DE; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: 14px; color: #14231F; line-height: 1.45; }
.nh-iv-info p > span:first-child { font-size: 18px; line-height: 1.2; }
.nh-iv-info a { color: #1F6B52; font-weight: 600; white-space: nowrap; }
.nh-iv-nr { white-space: nowrap; }
.nh-iv-pick:has(input[name="via"][value="telefon"]:checked) .nh-iv-info-telefon,
.nh-iv-pick:has(input[name="via"][value="video"]:checked) .nh-iv-info-video,
.nh-iv-pick:has(input[name="via"][value="vor_ort"]:checked) .nh-iv-info-vor_ort { display: flex; }
.nh-iv-pick:not(:has(input[name="via"])) .nh-iv-info { display: none; }
/* Conversation history (decision 15.11.2026) */
.mt-history { margin-top: 22px; }
.mt-history-list { margin: 0; padding: 6px 12px 10px; }
.mt-h-row { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #EFEBE2; }
.mt-h-row:first-of-type { border-top: 0; }
.mt-h-ico { font-size: 20px; line-height: 1.2; }
.mt-h-body { flex: 1; min-width: 0; }
.mt-h-body small { display: block; color: #5d6b66; font-size: 13px; margin-top: 2px; }
.mt-h-notes { margin: 6px 0 0; background: #F7F5EF; border-radius: 8px; padding: 6px 9px; font-size: 13px; white-space: pre-line; }
/* Offers list and detail (decision 15.11.2026) */
.btn-dark { background: #14231F; color: #fff; border-color: #14231F; }
.btn-dark:hover { background: #1F6B52; border-color: #1F6B52; color: #fff; }
.oc-tabs { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; }
.oc-tabs a { flex: 1 0 auto; text-align: center; padding: 9px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: #14231F; text-decoration: none; font-size: 14px; white-space: nowrap; }
.oc-tabs a.is-on { background: #14231F; border-color: #14231F; color: #F3C77A; font-weight: 700; }
.oc-tabs b { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: #E24B4A; color: #fff; font-size: 12px; }
.oc-pause { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; color: #633806; }
.oc-pause form { margin: 0; }
.oc { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin: 0 0 16px; box-shadow: 0 2px 10px rgba(20,35,31,.04); }
.oc.is-answered { opacity: .96; }
.oc-head { display: block; position: relative; overflow: hidden; background: #1F6B52; color: #fff; padding: 14px 16px; text-decoration: none; }
.oc-head::after { content: ""; position: absolute; right: -40px; top: -64px; width: 160px; height: 160px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.oc-head > * { position: relative; z-index: 1; }
.oc-head strong { display: block; font-size: 18px; line-height: 1.25; color: #fff; }
.oc-head > span:last-child { display: block; font-size: 13px; color: #CFE6DB; margin-top: 2px; }
.oc-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; position: relative; z-index: 1; }
.oc-pills:empty { display: none; }
.oc-pill { border-radius: 99px; padding: 2px 9px; font-size: 11px; font-weight: 700; }
.oc-pill.is-new { background: #F3C77A; color: #412402; }
.oc-pill.is-urgent { background: #FCEBEB; color: #A32D2D; }
.oc-pill.is-type { background: rgba(255,255,255,.18); color: #fff; }
.oc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 14px 4px; }
.oc-facts > div { background: #F7F5EF; border-radius: 12px; padding: 7px 10px; min-width: 0; }
.oc-facts span { display: block; font-size: 11px; color: #5d6b66; }
.oc-facts b { display: block; font-size: 14px; color: #14231F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-facts .is-money b { color: #1F6B52; font-size: 16px; }
@media (max-width: 560px) { .oc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.oc-answer { padding: 8px 14px 4px; }
.oc-more { display: block; text-align: center; font-size: 14px; color: #1F6B52; padding: 4px 0 14px; font-weight: 600; }
.oc-empty { text-align: center; padding: 26px 18px; }
.oc-empty > span { font-size: 34px; }
.oc-empty strong { display: block; font-size: 17px; margin-top: 6px; }
.oc-empty p { color: #5d6b66; margin: 4px auto 0; max-width: 38ch; }
.oa-form { margin: 0; }
.oa-days-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #5d6b66; margin: 4px 0 6px; }
.oa-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 6px; }
.oa-day { position: relative; flex: 0 0 56px; }
.oa-day input { position: absolute; opacity: 0; inset: 0; }
.oa-day span { display: flex; flex-direction: column; align-items: center; line-height: 1.2; border: 1.5px solid #DDD7CA; background: #fff; color: #9aa49f; border-radius: 12px; padding: 6px 0; cursor: pointer; text-decoration: line-through; }
.oa-day small { font-size: 11px; } .oa-day b { font-size: 15px; } .oa-day em { font-style: normal; font-size: 10px; }
.oa-day input:checked + span { border-color: #1F6B52; background: #EAF3EE; color: #1F6B52; text-decoration: none; }
.oa-day input:focus-visible + span { outline: 3px solid #F3C77A; outline-offset: 2px; }
.oa-actions { display: flex; gap: 8px; }
.oa-yes { flex: 2; background: #1F6B52; color: #fff; border: 0; border-radius: 99px; padding: 13px 10px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.oa-yes:hover { background: #185842; }
.oa-yes:disabled { opacity: .5; cursor: not-allowed; }
.oa-no { flex: 1; background: #fff; color: #A32D2D; border: 1.5px solid #F09595; border-radius: 99px; padding: 13px 10px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.oa-no:hover { background: #FCEBEB; }
.oa-state { border-radius: 14px; padding: 11px 13px; margin: 2px 0 10px; font-size: 14px; }
.oa-state strong { display: block; }
.oa-state span { display: block; font-size: 13px; margin-top: 2px; }
.oa-state form { margin: 4px 0 0; }
.oa-state.is-ok { background: #EAF3EE; color: #085041; }
.oa-state.is-off { background: #F7F5EF; color: #5d6b66; }
.oa-state .btn-link { color: inherit; text-decoration: underline; font-size: 13px; }
.oa-dialog { width: min(460px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); border: 0; border-radius: 24px; padding: 0; background: #fff; color: #14231F; box-shadow: 0 24px 60px rgba(20,35,31,.3); }
.oa-dialog::backdrop { background: rgba(20,35,31,.5); }
.oa-decline { position: relative; padding: 20px 18px 18px; margin: 0; }
.oa-decline h2 { margin: 0 34px 2px 0; font-size: 20px; }
.oa-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #F2EFE8; font-size: 22px; cursor: pointer; }
.oa-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.oa-reason { position: relative; }
.oa-reason input { position: absolute; opacity: 0; inset: 0; }
.oa-reason span { display: flex; align-items: center; gap: 7px; border: 1.5px solid #DDD7CA; border-radius: 14px; padding: 10px; font-size: 14px; cursor: pointer; }
.oa-reason i { font-style: normal; font-size: 18px; }
.oa-reason input:checked + span { border-color: #1F6B52; background: #EAF3EE; color: #085041; font-weight: 700; }
.oa-reason input:focus-visible + span { outline: 3px solid #F3C77A; outline-offset: 2px; }
.oa-pause { display: none; background: #FFF8EC; border-radius: 14px; padding: 10px 12px 2px; margin-bottom: 10px; }
.oa-decline:has(input[name="reason"][value="krank"]:checked) .oa-pause,
.oa-decline:has(input[name="reason"][value="urlaub"]:checked) .oa-pause { display: block; }
.of-hero { position: relative; overflow: hidden; background: #1F6B52; color: #fff; border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.of-hero::after { content: ""; position: absolute; right: -50px; top: -80px; width: 200px; height: 200px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.of-hero > * { position: relative; z-index: 1; }
.se .of-hero h1, .of-hero h1 { color: #fff; margin: 4px 0 4px; font-size: clamp(22px, 4vw, 28px); }
.of-hero p { margin: 0; color: #CFE6DB; }
.of-card { margin: 0 0 14px; }
.of-rows { display: grid; grid-template-columns: auto 1fr; margin: 0; padding: 6px 16px 10px; }
.of-rows dt { color: #5d6b66; padding: 9px 0; border-top: 1px solid #F0ECE3; }
.of-rows dd { margin: 0; text-align: right; font-weight: 700; padding: 9px 0; border-top: 1px solid #F0ECE3; }
.of-rows dt:first-of-type, .of-rows dd:first-of-type { border-top: 0; }
.of-rows .of-yes { color: #0F6E56; }
.of-priv { margin: 0; padding: 0 16px 14px; font-size: 13px; color: #5d6b66; }
.of-pay-body { padding: 8px 16px 14px; }
.of-pay-body .se-card { border: 0; box-shadow: none; padding: 0; margin: 0; background: none; }
.of-pay-body .se-card > h2 { display: none; }
.of-answer { padding: 14px; }
.of-req { padding: 12px 16px 14px; margin: 0; }
/* Request form: shift per day for "Verschiedene Dienste" (decision 15.11.2026) */
.date-row { display: flex; gap: 6px; }
.date-row input { flex: 1; min-width: 0; }
.date-row-shift { display: none; width: auto; }
form:has(input[name="shift_key"][value="mixed"]:checked) .date-row-shift { display: block; }
/* Shift kinds (Früh / Spät / Nacht) */
.sk { font-style: normal; border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.sk-frueh { background: #FAEEDA; color: #633806; } .sk-spaet { background: #FAECE7; color: #712B13; } .sk-nacht { background: #E6F1FB; color: #0C447C; } .sk-custom { background: #EEEDFE; color: #3C3489; }
.oc-mix { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
dd.oc-mix { justify-content: flex-end; }
.oa-day { flex: 0 0 64px; }
.oa-day span { text-decoration: none; }
.oa-day b { font-size: 14px; }
.oa-day em.sk { margin-top: 3px; font-size: 10px; padding: 1px 4px; }
.oa-day input:not(:checked) + span { opacity: .55; }
.oa-day input:not(:checked) + span b { text-decoration: line-through; }
.oc-facts .is-wide { grid-column: 1 / -1; }
.oa-days-head span:last-child { white-space: nowrap; }
.date-row input[type="date"] { flex: 1 1 auto; min-width: 140px; width: auto; }
.date-row-shift { flex: 0 0 100px; max-width: 100px; }
form:has(input[name="shift_key"][value="mixed"]:checked) .date-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
/* Einsatzeinweisung (decision 15.11.2026) */
.bk-shifts { list-style: none; margin: 0; padding: 6px 16px 10px; }
.bk-shifts li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #F0ECE3; }
.bk-shifts li:first-child { border-top: 0; }
.bk-shifts li > span:first-child { min-width: 92px; color: #5d6b66; }
.bk-shifts li b { margin-left: auto; }
.bk-shifts li.is-cancelled { opacity: .55; text-decoration: line-through; }
.bk-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.bk-drop { margin-top: 14px; }
.bk-release summary { cursor: pointer; font-weight: 700; color: #1F6B52; } .bk-release[open] summary { margin-bottom: 8px; }
/* Twemoji (decision 15.11.2026) */
img.emoji { height: 1.1em; width: 1.1em; margin: 0 .05em; vertical-align: -0.18em; display: inline-block; }
.f-credit, .nh-credit { font-size: 11px; opacity: .75; margin-top: 4px; }
/* Line icons instead of emoji (decision 15.11.2026) */
.ls-icon, .su-choice-ico, .nh-action-icon, .dh-tile-icon, .dh-section-icon, .mt-type-icon, .team-all-icon, .dh-icon, .mt-h-ico { display: inline-flex; align-items: center; justify-content: center; color: #1F6B52; }
.ls-icon { width: 46px; height: 46px; border-radius: 14px; background: #EAF3EE; flex: none; }
.su-ico { width: 56px; height: 56px; border-radius: 16px; background: #EAF3EE; color: #1F6B52; display: flex; align-items: center; justify-content: center; }
.su-choice-ico { width: 40px; height: 40px; border-radius: 12px; background: #EAF3EE; flex: none; }
.dh-tile.active .dh-tile-icon, .dh-section-head .dh-section-icon, .team-all .team-all-icon { color: #fff; }
.mt-mode b { display: flex; justify-content: center; color: #1F6B52; margin-bottom: 4px; }
.mt-mode input:checked + span b { color: inherit; }
.nh-iv-seg span .ico, .oa-reason .ico { vertical-align: -3px; }
.nh-iv-info p > span:first-child { color: #1F6B52; display: inline-flex; }
.ncard-avatar { color: #fff; }
/* Shared offer, public page (decision 15.11.2026) */
.pub-lock { margin: 0 16px 16px; background: #F7F5EF; border-radius: 14px; padding: 12px 14px; }
.pub-lock p { margin: 0; font-size: 14px; color: #5d6b66; }
.pub-blur { filter: blur(5px); user-select: none; margin-bottom: 6px !important; color: #14231F !important; }
.pub-login, .pub-ref { margin-top: 10px; }
.of-share { display: flex; gap: 8px; margin-top: 8px; }
.of-share .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5A; border-color: #1EBE5A; color: #fff; }
.oa-pick { flex: 1; background: #fff; color: #1F6B52; border: 1.5px solid #1F6B52; border-radius: 99px; padding: 13px 10px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.oa-pick:hover { background: #EAF3EE; }
.oa-no-wide { width: 100%; margin-top: 8px; }
.oa-picker[hidden], [data-days-main][hidden] { display: none; }
.oa-picker .oa-day input:not(:checked) + span { opacity: 1; background: #fff; border-color: #DDD7CA; color: #5d6b66; }
.oa-picker .oa-day input:not(:checked) + span b { text-decoration: none; }
.oa-picker .oa-day input:checked + span { box-shadow: 0 0 0 2px #1F6B52 inset; }
.oa-pick { white-space: nowrap; font-size: 14px; padding-left: 8px; padding-right: 8px; }
/* Slimmer answer (decision 15.11.2026) */
.oa-actions .oa-yes { flex: 3; padding: 12px 10px; }
.oa-actions .oa-no { flex: 1; padding: 12px 8px; font-size: 14px; border-width: 1px; color: #A32D2D; }
.oa-choose { display: block; margin: 8px auto 0; background: none; border: 0; color: #1F6B52; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px 6px; text-decoration: underline; text-underline-offset: 3px; }
.oa-picker { margin-top: 8px; }
.oa-picker .oa-days { padding-bottom: 2px; }
.oa-picker .oa-day { flex: 0 0 58px; }
.oa-picker .oa-day span { padding: 5px 0; border-radius: 10px; }
.oa-picker .oa-day b { font-size: 13px; }
/* Own page "Unser Angebot" / "Mein Verdienst" with the Gehaltsrechner (decision 15.11.2026) */
.sb-new { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: #F3C77A; color: #412402; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.shell-menu { position: relative; }
.shell-menu-dot { position: absolute; top: 3px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #F3C77A; box-shadow: 0 0 0 2px #14231F; }
.pay-page .offer-card { margin-top: 26px; }
.pay-month { padding: 18px 18px 16px; background: #F6F4EE; border-bottom: 1px solid #EFEBE2; display: grid; gap: 2px; }
.pay-month span { font-size: 14px; color: var(--muted); font-weight: 600; }
.pay-month strong { font-family: var(--font-display, 'Fraunces', serif); font-size: 34px; line-height: 1.1; color: #1F6B52; font-variant-numeric: tabular-nums; }
.pay-month small { font-size: 13px; color: var(--muted); }
.pay-val { white-space: nowrap; font-variant-numeric: tabular-nums; color: #14231F; }
.pay-foot { margin: 0; padding: 12px 18px 16px; font-size: 13.5px; color: var(--muted); }
.pay-calc .pay-wizard { max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 18px; }
.pay-calc-intro { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.pay-wizard .wz-progress { margin-bottom: 18px; }
.pay-wizard .wz-step legend { margin-bottom: 10px; }
.pay-wizard .wz-step h3 { font-size: 21px; outline: none; margin: 0; }
.pay-wizard .opt > span { min-height: 56px; padding: 12px 14px; }
.pay-wizard .opt b { font-size: 15.5px; }
.pay-wizard .opt small { font-size: 13px; }
.pay-wizard .wz-nav { margin-top: 20px; padding-top: 16px; }
.pay-wizard .res-head { padding: 20px; border-radius: 18px; }
.pay-wizard .res-main { font-size: 44px; }
.pay-wizard .res-second b { font-size: 24px; }
.pay-wizard .calc-note { font-size: 12.5px; margin: 0; }
@media (max-width: 720px) {
  .pay-wizard .opt-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-wizard .opt-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pay-wizard .wz-fields { grid-template-columns: minmax(0, 1fr); }
  .pay-wizard .res-head { grid-template-columns: minmax(0, 1fr); }
  .pay-wizard .res-second { text-align: left; }
  .pay-wizard .wz-nav .btn { flex: 1; }
}
/* Why a released nurse is not visible (decision 15.11.2026) */
.status-why { margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; background: #FFF8EC; border: 1px solid #F3C77A; color: #633806; font-size: 14px; }
.status-why ul { margin: 4px 0 0; padding-left: 18px; }
.status-employee-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.status-acts .status-reject { margin-left: auto; }
.btn-danger-soft { color: #A32D2D; border-color: #E9C4C4; }
/* Offer extras and examples (design 15.11.2026) */
.offer-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.offer-prizes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.offer-prizes li { background: #14231F; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.offer-prizes strong { font-family: Fraunces, serif; font-size: 24px; line-height: 1.15; color: #F3C77A; font-weight: 600; }
.offer-prizes span { font-size: 13px; color: #D5EAE1; line-height: 1.4; }
.offer-perks-h { font-size: 13px; color: #5d6b66; margin: 14px 0 6px; }
.offer-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.offer-perks li { display: inline-flex; align-items: center; gap: 6px; background: #FFF6E5; border: 1px solid #F3DDB0; color: #633806; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
/* Printing from the file viewer (decision 15.11.2026): one sheet per page, no empty sheets */
#print-area { display: none; }
@media print {
  html, body.is-printing { margin: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; display: block !important; background: #fff !important; overflow: visible !important; }
  body.is-printing > *:not(#print-area) { display: none !important; }
  body.is-printing dialog { display: none !important; }
  body.is-printing #print-area { display: block; margin: 0; padding: 0; }
  #print-area .print-page { display: block; width: auto; height: auto; max-width: 100%; max-height: 96vh; margin: 0 auto; break-inside: avoid; page-break-inside: avoid; }
  #print-area .print-page + .print-page { break-before: page; page-break-before: always; }
}
.dash-panel.bg-warn { border: 1.5px solid #E8A33D; background: #FFF8EC; }
/* Hiring congratulations card on the start page (design approved 15.11.2026) */
.hire-card { position: relative; overflow: hidden; background: #1F6B52; color: #fff; border: 2px solid #F3C77A; border-radius: 22px; padding: 22px 20px 18px; margin: 0 0 16px; text-align: center; }
.hire-card::after { content: ""; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: #2A7C61; pointer-events: none; }
.hire-card > * { position: relative; z-index: 1; }
.hire-emoji { font-size: 38px; margin: 0; line-height: 1.1; }
.se .hire-card h2, .hire-card h2 { color: #fff; font-family: Fraunces, serif; font-size: clamp(22px, 3vw, 28px); margin: 6px 0 4px; }
.hire-card > p { margin: 0 auto; max-width: 520px; color: #DCEFE6; }
.hire-pill { display: inline-block; margin: 12px 0 4px; background: #F3C77A; color: #412402; border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 700; }
.hire-steps { list-style: none; margin: 12px auto 14px; padding: 0; display: grid; gap: 8px; text-align: left; max-width: 520px; }
.hire-steps li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.1); border-radius: 14px; padding: 10px 12px; }
.hire-num { width: 28px; height: 28px; border-radius: 50%; background: #F3C77A; color: #412402; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hire-steps li.is-done .hire-num { background: #fff; color: #1F6B52; }
.hire-steps strong { display: block; font-size: 15px; color: #fff; }
.hire-steps small { display: block; font-size: 12.5px; color: #CFE6DB; }
.hire-btn { display: block; max-width: 520px; margin: 0 auto; background: #F3C77A; color: #412402 !important; border-radius: 999px; padding: 12px; font-weight: 800; text-decoration: none; }
.hire-btn:hover { background: #E8A33D; }
.nh-greet .hire-btn { margin-top: 12px; }
.hire-card > p.hire-note { margin-top: 8px; font-size: 12.5px; color: #CFE6DB; }
.status-offer-note { background: #EAF3EE; border: 1px solid #CFE6DB; color: #17523F; border-radius: 12px; padding: 9px 12px; font-size: 14px; margin: 4px 0 10px; }
/* "Meine Einsätze" and the accepted state of an offer (design approved 15.11.2026) */
.mine-page .set-card { margin-bottom: 16px; }
.mine-count { margin-left: auto; background: #F3C77A; color: #412402; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 800; position: relative; z-index: 1; }
.mine-item { display: block; padding: 14px 18px; border-top: 1px solid #EFEBE2; color: inherit; text-decoration: none; }
.set-title + .mine-item { border-top: 0; }
.mine-item:hover { background: #FBFAF6; }
.mine-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mine-row strong { display: block; font-size: 15.5px; }
.mine-row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.mine-pill { border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mine-pill.is-wait { background: #FFF3DA; color: #7A4A06; border: 1px solid #F3C77A; }
.mine-pill.is-ok { background: #EAF3EE; color: #17523F; border: 1px solid #CFE6DB; }
.mine-pill.is-bad { background: #FCEBEB; color: #A32D2D; border: 1px solid #F0C9C9; }
.mine-days { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.mine-days:empty { display: none; }
.mine-days span { background: #F6F4EE; border-radius: 9px; padding: 4px 9px; font-size: 12.5px; }
.mine-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.mine-meta b { color: #1F6B52; }
.mine-empty { padding: 20px 18px; text-align: center; color: var(--muted); }
.mine-empty p { margin: 0 0 12px; }
.st3 { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 10px; flex-wrap: nowrap; }
.st3-step { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st3-step.is-now { color: #7A4A06; font-weight: 700; }
.st3-step.is-done { color: #17523F; }
.st3-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; background: #EFEBE2; color: #8a9692; flex: none; }
.st3-step.is-done .st3-dot { background: #1F6B52; color: #fff; }
.st3-step.is-now .st3-dot { background: #F3C77A; color: #412402; }
.st3-line { flex: 1; min-width: 14px; height: 2px; background: #EFEBE2; }
.st3-line.is-on { background: #1F6B52; }
.oa-state.is-wait { background: #FFF8EC; border: 1px solid #F3C77A; }
.oa-state.is-wait strong { color: #633806; }
.oa-state.is-wait > span { color: #633806; }
.oa-state.is-wait .st3 { margin: 10px 0 4px; }
@media (max-width: 480px) { .st3 { font-size: 11px; gap: 4px; } .st3-line { min-width: 8px; } }
.oa-state .st3 span { display: inline-flex; margin-top: 0; font-size: inherit; } .oa-state .st3 .st3-line { display: block; }
/* Personalfragebogen in chapters (design approved 15.11.2026) */
.pf { max-width: 720px; }
.pf-head { background: #1F6B52; color: #fff; border-radius: 22px 22px 0 0; padding: 18px 22px 20px; position: relative; overflow: hidden; }
.pf-head::after { content: ""; position: absolute; right: -40px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: #2A7C61; }
.pf-head-in { position: relative; z-index: 1; }
.pf-kap { margin: 0; color: #F3C77A; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pf-head h1 { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; color: #fff; font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; line-height: 1.15; }
.pf-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pf-intro { margin: 8px 0 0; color: #CFE6DB; font-size: 14.5px; max-width: 560px; }
.pf-bar { display: flex; gap: 4px; margin-top: 16px; }
.pf-bar a { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.22); }
.pf-bar a.is-done { background: #F3C77A; }
.pf-bar a.is-now { background: #fff; }
.pf-card { background: #fff; border-radius: 0 0 22px 22px; padding: 20px 22px 18px; border: 1px solid #E6E1D6; border-top: 0; }
.pf-grid { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pf-grid > .pf-field { flex: 1 1 100%; margin-bottom: 12px; }
.pf-grid > .pf-field.is-half { flex: 1 1 calc(50% - 8px); min-width: 200px; }
.pf-field[hidden] { display: none !important; }
.pf-field legend { font-weight: 600; margin-bottom: 8px; }
.pf-tiles .chip span { min-height: 40px; padding: 6px 14px; font-size: 14.5px; border-radius: 12px; line-height: 1.3; text-align: left; }
.pf-tiles.is-short .chip span { min-width: 48px; justify-content: center; padding: 6px 10px; }
.pf-tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; background: #EAF3EE; color: #17523F; border-radius: 99px; padding: 1px 8px; vertical-align: 1px; }
.pf input.is-prefilled, .pf select.is-prefilled { background: #F2F8F5; border-color: #CFE6DB; }
.pf input.is-ok { border-color: #1F6B52; }
.pf input.is-warn { border-color: #E8A33D; background: #FFF8EC; }
.pf-live { margin: 5px 0 0; font-size: 13px; min-height: 0; }
.pf-live:empty { display: none; }
.pf-live.is-ok { color: #17523F; font-weight: 700; }
.pf-live.is-warn { color: #7A4A06; }
.pf-live.is-bad { color: #A32D2D; }
.pf-check { display: flex; gap: 10px; align-items: flex-start; background: #F6F4EE; border-radius: 12px; padding: 12px 14px; }
.pf-docs { display: grid; gap: 10px; margin: 6px 0 14px; }
.pf-doc[hidden] { display: none !important; }
.pf-up { position: relative; display: flex; align-items: center; gap: 12px; border: 1.5px dashed #9FC4B4; border-radius: 14px; background: #fff; padding: 12px 14px; cursor: pointer; }
.pf-up:hover { background: #F7FBF9; }
.pf-up input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pf-up.is-done, .pf-up.has-file { border-style: solid; border-color: #CFE6DB; background: #F2F8F5; }
.pf-cam { width: 40px; height: 40px; border-radius: 12px; background: #EAF3EE; color: #1F6B52; display: flex; align-items: center; justify-content: center; flex: none; font-weight: 800; font-size: 18px; }
.pf-up.is-done .pf-cam { background: #1F6B52; color: #fff; }
.pf-up-txt { min-width: 0; }
.pf-up-txt b { display: block; font-size: 14.5px; }
.pf-up-txt small { display: block; font-size: 12.5px; color: #5F6B66; overflow: hidden; text-overflow: ellipsis; }
.pf-up-txt small:empty { display: none; }
.pf-exp { margin: 8px 0 0; max-width: 240px; }
.pf-note { background: #FFF8EC; border-left: 4px solid #F3C77A; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #5C3A06; margin: 0 0 14px; }
.pf-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 0 0 4px; }
.pf-profile div { background: #F2F8F5; border-radius: 12px; padding: 8px 12px; }
.pf-profile dt { font-size: 12px; color: #5F6B66; }
.pf-profile dd { margin: 0; font-weight: 700; }
.pf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid #EFEBE2; }
.pf-lock { margin-top: 12px; }
.pf-party { display: flex; gap: 14px; align-items: center; background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 16px; padding: 12px 16px; margin-bottom: 14px; font-size: 30px; }
.pf-party b { display: block; font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: #14231F; }
.pf-party span { font-size: 14px; color: #5C3A06; }
.pf-sum { display: grid; gap: 8px; margin-bottom: 14px; }
.pf-sum-row { display: flex; justify-content: space-between; align-items: center; background: #F6F4EE; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.pf-sum-row a { color: #1F6B52; font-weight: 700; }
.pf-sum-row.is-open { background: #FFF3DA; }
.pf-sum-row em { font-style: normal; font-weight: 700; font-size: 12px; color: #7A4A06; margin-left: 6px; }
.pf-all { margin: 0 0 14px; }
.pf-all summary { cursor: pointer; color: #1F6B52; font-weight: 700; }
.pf-all h3 { font-size: 15px; margin: 14px 0 4px; }
.pf-decl { font-size: 13.5px; color: #3d4a45; }
@media (max-width: 560px) {
  .pf-head { padding: 16px 16px 18px; border-radius: 18px 18px 0 0; }
  .pf-head h1 { font-size: 23px; }
  .pf-card { padding: 16px 14px; border-radius: 0 0 18px 18px; }
  .pf-grid > .pf-field.is-half { flex-basis: 100%; }
}
/* last line of every app page: rights + Twemoji credit (decision 15.11.2026) */
.shell-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin: 40px auto 18px; padding: 14px 16px 0; border-top: 1px solid #E6E1D6; max-width: 900px; font-size: 11.5px; color: #8a9692; text-align: center; }
.shell-legal a { color: inherit; }
.pf-grid > .pf-field.is-pair { flex: 1 1 calc(50% - 8px); min-width: 0; }
@media (max-width: 560px) { .pf-grid > .pf-field.is-pair { flex-basis: calc(50% - 8px); } }
/* Typed or drawn signature, contract parts, code at the end (design approved 15.11.2026) */
@font-face { font-family: 'SignDancing'; src: url('../fonts/sign/DancingScript.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'SignVibes'; src: url('../fonts/sign/GreatVibes.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'SignCaveat'; src: url('../fonts/sign/Caveat.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
.sigx-tabs { display: flex; background: #F6F4EE; border-radius: 12px; padding: 3px; margin-bottom: 10px; }
.sigx-tabs button { flex: 1; border: 0; background: none; padding: 9px 8px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 14px; color: #5F6B66; cursor: pointer; }
.sigx-tabs button.is-on { background: #fff; color: #14231F; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sigx-styles { display: grid; gap: 8px; }
.sigx-style { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1.5px solid #DDD7CA; border-radius: 14px; padding: 8px 14px; background: #fff; cursor: pointer; min-height: 64px; }
.sigx-style input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sigx-style:has(input:checked) { border-color: #1F6B52; background: #F2F8F5; }
.sigx-style em { font-style: normal; font-size: 12px; color: #5F6B66; flex: none; }
.sigx-style:has(input:checked) em::before { content: "✓ "; color: #1F6B52; font-weight: 700; }
.sigx-f1, .sigx-f2, .sigx-f3 { font-size: 30px; line-height: 1.1; color: #14231F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sigx-f1 { font-family: 'SignDancing', cursive; font-weight: 600; }
.sigx-f2 { font-family: 'SignVibes', cursive; font-size: 34px; }
.sigx-f3 { font-family: 'SignCaveat', cursive; font-weight: 600; }
.sign-flow .set-card { margin-bottom: 14px; }
.part-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #EFEBE2; cursor: pointer; }
.set-title + .part-row { border-top: 0; }
.part-row input[type=checkbox] { width: 22px; height: 22px; accent-color: #1F6B52; flex: none; }
.part-text { flex: 1; font-size: 14.5px; }
.part-text small { display: block; font-size: 12.5px; color: #5F6B66; margin-top: 2px; }
.part-opt { font-style: normal; font-size: 11px; font-weight: 700; background: #FFF3DA; color: #7A4A06; border-radius: 99px; padding: 1px 8px; margin-left: 6px; }
.part-read { flex: none; color: #1F6B52; font-weight: 700; font-size: 13.5px; }
.part-err { padding: 0 18px 12px; }
.sign-body { padding: 16px 18px; }
.sign-code { background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 14px; padding: 12px 14px; margin: 6px 0 14px; }
.sign-code p { margin: 4px 0 8px; font-size: 13.5px; color: #5C3A06; }
.sign-code-row { display: flex; gap: 10px; align-items: center; }
.sign-code-input { flex: 1; min-width: 0; letter-spacing: 6px; font-weight: 800; text-align: center; font-size: 18px; }
.sign-code-msg:empty { display: none; }
.receipt-box { background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 14px; padding: 12px 14px; margin: 12px 0; text-align: left; }
.receipt-box p { margin: 0 0 10px; font-size: 14px; }
.sign-code-input { height: 46px; border: 1.5px solid #DDD7CA; border-radius: 12px; background: #fff; padding: 0 12px; font-family: inherit; color: #14231F; }
.sign-code-input:focus { outline: none; border-color: #1F6B52; box-shadow: 0 0 0 3px rgba(31,107,82,.15); }
.sign-code-input::placeholder { letter-spacing: 1px; font-weight: 600; color: #9aa59f; }
.sig-upload-prev { max-height: 46px; max-width: 220px; display: block; }
.wa-card summary.btn { list-style: none; display: inline-flex; align-items: center; line-height: 1.2; }
.wa-card summary.btn::-webkit-details-marker { display: none; }
.wa-card details[open] summary { margin-bottom: 10px; }
.wa-log { margin: 6px 0; padding-left: 18px; font-size: 13px; color: #3d4a45; }
/* open point as a tile in the hero row (decision 16.11.2026) */
.nh-hero-facts.has-note { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nh-hero-facts > div.nh-fact-note { background: #FFF8EC; }
.nh-hero-facts > div.nh-fact-note dt { color: #8A5A12; }
.nh-hero-facts > div.nh-fact-note dd { color: #633806; font-size: 14.5px; line-height: 1.3; }
.nh-hero-facts > div.nh-fact-note a { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; color: #633806; }
.nh-hero-facts > div.nh-fact-note.is-red { background: #FCEBEB; }
.nh-hero-facts > div.nh-fact-note.is-red dt { color: #A32D2D; }
.nh-hero-facts > div.nh-fact-note.is-red dd, .nh-hero-facts > div.nh-fact-note.is-red a { color: #791F1F; }
.nh-fact-sub { display: block; font-weight: 500; font-size: 12.5px; margin-top: 2px; }
@media (max-width: 760px) {
  .nh-hero-facts.has-note { grid-template-columns: 1fr 1fr; }
  .nh-hero-facts.has-note > div:last-child { grid-column: auto; }
}
/* Krankmeldung (decision 16.11.2026) */
.sick-card { margin-bottom: 16px; }
.sick-row { border-top: 1px solid #EFEBE2; padding: 12px 0; }
.sick-row:first-child { border-top: 0; padding-top: 0; }
.sick-row p { margin: 0 0 8px; }
.sick-row details { display: inline-block; margin: 0 6px 6px 0; vertical-align: top; }
.sick-row details[open] { display: block; }
.sick-row summary.btn { list-style: none; }
.sick-row summary.btn::-webkit-details-marker { display: none; }
.sick-au { margin-bottom: 8px; }
.vac-count { background: #F2F8F5; border-left: 4px solid #2A7C61; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; }
.vac-count strong { font-family: 'Fraunces', serif; font-size: 22px; color: #14231F; }
/* weekly Stundennachweis (decision 16.11.2026) */
.wk-card .set-title small { display: block; font-weight: 400; font-size: 13px; color: #CFE5DA; margin-top: 2px; }
.wk-days { border: 1px solid #EFEBE2; border-radius: 14px; overflow: hidden; margin: 6px 0 14px; }
.wk-day { display: grid; grid-template-columns: 92px 1fr 54px; gap: 8px 10px; align-items: center; padding: 10px 12px; border-top: 1px solid #EFEBE2; }
.wk-day:first-child { border-top: 0; }
.wk-day.is-off { color: #9aa59f; }
.wk-date { font-weight: 700; font-size: 14px; }
.wk-day.is-off .wk-date { font-weight: 500; }
.wk-date small { display: block; font-weight: 500; font-size: 12px; color: #5F6B66; }
.wk-times { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.wk-times input[type=text] { width: 64px; height: 38px; border: 1.5px solid #DDD7CA; border-radius: 10px; text-align: center; font: inherit; font-weight: 700; }
.wk-times input[type=number] { width: 64px; padding: 0 2px; height: 38px; border: 1.5px solid #DDD7CA; border-radius: 10px; text-align: center; font: inherit; }
.wk-break { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #5F6B66; }
.wk-h { text-align: right; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.wk-dash { color: #9aa59f; }
.wk-reason { grid-column: 1 / -1; background: #FFF8EC; border: 1px solid #F3C77A; border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.wk-reason select, .wk-reason input { width: 100%; margin-top: 4px; height: 38px; border: 1.5px solid #DDD7CA; border-radius: 10px; padding: 0 8px; font: inherit; background: #fff; }
.wk-err { grid-column: 1 / -1; margin: 0; }
.wk-note { display: block; font-size: 12px; color: #8A5A12; }
.wk-sum { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; padding: 10px 12px; border-top: 2px solid #1F6B52; background: #F2F8F5; }
.wk-sum strong { font-family: 'Fraunces', serif; font-size: 22px; color: #1F6B52; }
.wk-sum span:first-child { margin-right: auto; font-weight: 700; }
.wk-more summary { cursor: pointer; list-style: none; }
.wk-more summary::-webkit-details-marker { display: none; }
.wk-answer { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 480px) { .wk-day { grid-template-columns: 1fr 54px; } .wk-times { grid-column: 1 / -1; grid-row: 2; } }
.wk-times input[type=text] { width: 74px; padding: 0 4px; font-size: 15px; }
@media (max-width: 480px) { .wk-day.is-off { grid-template-columns: 1fr 54px; } .wk-day.is-off > span:nth-child(2) { display: none; } }
/* nurse navigation (decision 16.11.2026): folding groups, bottom bar on the phone */
.sb-fold { margin: 4px 0; }
.sb-fold > summary { list-style: none; cursor: pointer; }
.sb-fold > summary::-webkit-details-marker { display: none; }
.sb-fold-count { margin-left: auto; }
.sb-fold-count + .sb-chev { margin-left: 6px; }
.sb-fold[open] .sb-fold-count { display: none; }
.sb-fold[open] .sb-fold-count + .sb-chev { margin-left: auto; }
.sb-fold-body { margin: 2px 0 6px 20px; padding-left: 8px; border-left: 1.5px solid rgba(255,255,255,.1); }
.sb-link.sb-sublink { font-size: 14px; padding: 7px 10px; }
.tabbar { display: none; }
@media (max-width: 760px) {
  .portal-nurse .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #14231F; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
  .tabbar .tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #BCD0C6; text-decoration: none; font: inherit; font-size: 11px; font-weight: 600; background: none; border: 0; padding: 4px 0; cursor: pointer; }
  .tabbar .tab .ico { width: 22px; height: 22px; }
  .tabbar .tab.active { color: #fff; }
  .tabbar .tab.active .ico { color: #F3C77A; }
  .tabbar .tab.is-locked { opacity: .45; }
  .tab-count { position: absolute; top: 0; left: calc(50% + 6px); background: #E8A33D; color: #14231F; font-size: 10px; font-weight: 800; border-radius: 99px; padding: 0 5px; line-height: 16px; }
  .portal-nurse .shell-content { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .portal-nurse .chat-fab { display: none !important; }
}
.page-tabs { display: flex; background: #EDE9DF; border-radius: 14px; padding: 4px; margin: 0 0 16px; }
.page-tabs a { flex: 1; text-align: center; padding: 10px 8px; border-radius: 11px; font-weight: 700; color: #5F6B66; text-decoration: none; }
.page-tabs a.is-on { background: #fff; color: #14231F; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.page-tabs b { background: #E8A33D; color: #14231F; border-radius: 99px; padding: 0 7px; font-size: 12px; margin-left: 4px; }
.big-choice { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 640px) { .big-choice { grid-template-columns: 1fr 1fr; } }
.big-btn { display: flex; gap: 14px; align-items: center; background: #1F6B52; color: #fff; border-radius: 18px; padding: 20px; text-decoration: none; position: relative; overflow: hidden; }
.big-btn::after { content: ""; position: absolute; right: -40px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: #2A7C61; }
.big-btn > * { position: relative; z-index: 1; }
.big-btn.is-sick { background: #14231F; }
.big-btn.is-sick::after { background: #233A33; }
.big-btn strong { display: block; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; }
.big-btn small { color: #CFE5DA; font-size: 13px; }
.big-btn .ico { color: #F3C77A; }
/* Rechte & Regeln (decision 16.11.2026) */
.page-tabs a { white-space: nowrap; }
@media (max-width: 560px) { .page-tabs { overflow-x: auto; } .page-tabs a { flex: none; padding: 10px 12px; } }
.rt-post { padding: 12px 18px; border-top: 1px solid #EFEBE2; }
.set-title + .rt-post { border-top: 0; }
.rt-post h3 { margin: 2px 0 4px; font-size: 16px; }
.rt-post p { margin: 0; }
.rt-date { font-size: 12px; color: #5F6B66; }
.rt-item { border-top: 1px solid #EFEBE2; padding: 0 18px; }
.rt-item summary { cursor: pointer; padding: 13px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.rt-item summary::-webkit-details-marker { display: none; }
.rt-item summary::after { content: "+"; color: #1F6B52; font-weight: 800; }
.rt-item[open] summary::after { content: "−"; }
.rt-item p { margin: 0 0 14px; line-height: 1.55; }
.rt-hint { padding: 10px 18px 14px; font-size: 13px; color: #5F6B66; margin: 0; }
.rt-letter { padding: 14px 18px; border-top: 1px solid #EFEBE2; display: grid; gap: 8px; }
.set-title + .rt-letter { border-top: 0; }
.rt-letter p { margin: 0; }
.rt-inline { display: inline; }
.rt-statement { background: #F6F4EE; border-radius: 10px; padding: 10px 12px; }
.rt-own { font-size: 14px; }
/* Stundennachweis always open (decision 16.11.2026): free days and the entry card */
.wk-day.is-free input::placeholder { color: #c3cbc6; }
.wk-start { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wk-start .wk-other { grid-column: 1 / -1; }
@media (max-width: 560px) { .wk-start { grid-template-columns: 1fr; } }
/* Stundenkonto and Urlaubskonto (decision 16.11.2026) */
.set-empty { margin: 0; padding: 16px 18px; color: #5F6B66; }
.ak-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 18px 6px; }
.ak-tile { background: #F6F4EE; border-radius: 14px; padding: 12px 14px; }
.ak-tile span { display: block; font-size: 13px; color: #5F6B66; }
.ak-tile strong { display: block; font-family: 'Fraunces', serif; font-size: 26px; line-height: 1.25; color: #14231F; }
.ak-tile small { display: block; font-size: 12px; color: #8a9692; }
.is-plus { color: #1F6B52 !important; }
.is-minus { color: #A32D2D !important; }
.ak-bar { margin: 10px 18px 0; height: 8px; background: #EFEBE2; border-radius: 99px; overflow: hidden; }
.ak-bar i { display: block; height: 100%; background: #1F6B52; border-radius: 99px; }
.ak-bar i.is-minus { background: #C9564F; }
.set-card .ak-hint { margin: 0; padding: 6px 18px 0; font-size: 12.5px; color: #5F6B66; }
.set-card .ak-notice { margin: 10px 18px 0; }
.ak-table { margin-top: 14px; border-top: 1px solid #EFEBE2; }
.ak-row { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 6px; padding: 10px 18px; align-items: center; font-size: 14px; }
.ak-row > span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.ak-head { font-size: 11.5px; color: #8a9692; padding-top: 8px; padding-bottom: 6px; }
.ak-month { border-top: 1px solid #EFEBE2; }
.ak-month > summary { list-style: none; cursor: pointer; }
.ak-month > summary::-webkit-details-marker { display: none; }
.ak-month[open] > summary { background: #F7FBF9; }
.ak-open { font-style: normal; font-size: 11px; font-weight: 700; background: #F3C77A; color: #5a3d00; border-radius: 6px; padding: 1px 7px; margin-left: 4px; }
.ak-detail { padding: 4px 18px 12px; font-size: 13.5px; color: #3E4B46; }
.ak-detail p { margin: 4px 0; }
.uk-bar { display: flex; margin: 16px 18px 10px; height: 14px; background: #EFEBE2; border-radius: 99px; overflow: hidden; }
.uk-bar i { display: block; height: 100%; }
.is-taken { background: #1F6B52; }
.is-planned { background: #6FB096; }
.is-req { background: #F3C77A; }
.uk-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 18px 14px; }
.uk-nums strong { display: block; font-family: 'Fraunces', serif; font-size: 24px; }
.uk-nums span { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #5F6B66; }
.uk-nums span i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.set-row > span:first-child { flex: 1; min-width: 0; }
.set-row > span small { display: block; font-size: 12.5px; color: #8a9692; }
@media (max-width: 560px) {
  .ak-tiles { grid-template-columns: 1fr 1fr; } .ak-tiles .ak-tile:first-child { grid-column: 1 / -1; }
  .ak-head { display: none; }
  .ak-row { grid-template-columns: 1fr 1fr; row-gap: 2px; padding: 10px 14px; }
  .ak-row > span:first-child { grid-column: 1 / -1; font-weight: 700; }
  .ak-row > span:not(:first-child) { text-align: left; font-size: 13px; }
  .ak-row > span[data-l]::before { content: attr(data-l) ': '; color: #8a9692; }
  .uk-nums strong { font-size: 20px; }
}
.ak-admin-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 800px) { .ak-admin-top { grid-template-columns: 1fr; } }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.ak-over td { background: #FCEBEB; }
.ak-mini { width: 100%; font-size: 13px; border-collapse: collapse; margin: 6px 0 10px; }
.ak-mini td { padding: 5px 4px; border-top: 1px solid #EFEBE2; text-align: right; font-variant-numeric: tabular-nums; }
.ak-mini td:first-child { text-align: left; }
/* Unfallmeldung as slides (decision 16.11.2026) */
.acc-progress { height: 6px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.acc-progress i { display: block; height: 100%; background: #F3C77A; border-radius: 99px; }
.acc-tips { margin: 8px 0 14px; padding-left: 18px; }
.acc-tips li { margin: 4px 0; }
.acc-discard { text-align: center; margin-top: 10px; }
@media (min-width: 640px) { .big-choice .big-btn.is-accident { grid-column: 1 / -1; } }
.big-btn.is-accident { background: #F3C77A; color: #14231F; }
.big-btn.is-accident::after { background: #F6D59A; }
.big-btn.is-accident small { color: #5a3d00; }
/* Problem im Einsatz, Rückmeldung, Ideen (decision 16.11.2026) */
.nh-action-problem { border-color: #F3C77A; background: #FFF8EC; }
.shell-legal .shell-idea { display: block; margin-bottom: 6px; color: #1F6B52; font-weight: 700; text-decoration: none; }
/* Mein Dienstplan (decision 16.11.2026) */
.dp-plans { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.dp-plans a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; text-decoration: none; color: #14231F; font-weight: 600; font-size: 14px; }
.dp-plans a.is-on { background: #1F6B52; color: #fff; border-color: #1F6B52; }
.dp-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 8px 0; }
.dp-cal b { text-align: center; font-size: 12px; color: #8a9692; }
.dp-day { position: relative; border: 1px solid #DDD7CA; background: #fff; border-radius: 10px; height: 52px; padding: 4px; text-align: left; cursor: pointer; font: inherit; }
.dp-day span { font-size: 12px; color: #5F6B66; }
.dp-day.is-we span { color: #A32D2D; }
.dp-day i { position: absolute; right: 6px; bottom: 4px; font-style: normal; font-weight: 800; font-size: 17px; }
.dp-day[data-code="F"] { background: #FAEEDA; border-color: #F3C77A; }
.dp-day[data-code="S"] { background: #E1F5EE; border-color: #8FCDB4; }
.dp-day[data-code="N"] { background: #26215C; border-color: #26215C; }
.dp-day[data-code="N"] span, .dp-day[data-code="N"] i { color: #fff; }
.dp-sum { font-weight: 700; margin: 4px 0 14px; }
.dp-photo { border-top: 1px solid #EFEBE2; padding-top: 12px; margin-bottom: 12px; }
.dp-photo h3 { margin: 0 0 4px; font-size: 16px; }
.dp-canvas canvas { width: 100%; height: auto; border-radius: 10px; border: 1px solid #DDD7CA; touch-action: none; cursor: crosshair; margin: 8px 0; }
/* Termine und Aufgaben (decision 16.11.2026) */
.tc-filter { display: flex; gap: 6px; }
.tc-filter a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: #14231F; font-weight: 600; }
.tc-filter a.is-on { background: #1F6B52; color: #fff; border-color: #1F6B52; }
.tc-new > summary { cursor: pointer; list-style: none; }
.tc-group.is-late h2 { color: #A32D2D; }
.tc-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #EFEBE2; }
.tc-check { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #1F6B52; background: #fff; color: transparent; cursor: pointer; flex: none; font-weight: 800; }
.tc-check:hover, .tc-check.is-on { background: #1F6B52; color: #fff; }
.tc-text { flex: 1; min-width: 0; }
.tc-text small { display: block; color: #5F6B66; }
.tc-text p { margin: 4px 0 0; }
.tc-item.is-done strong { text-decoration: line-through; color: #8a9692; }
.tc-edit { font-weight: 700; color: #1F6B52; text-decoration: none; font-size: 14px; }
.tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; align-items: end; }
.tc-grid > [hidden] { display: none; }
@media (max-width: 800px) { .tc-grid { grid-template-columns: 1fr; } }
.tc-new .chip-grid { margin: 10px 0; }
/* Dienstwagen (decision 16.11.2026) */
.dp-shot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; border: 1.5px dashed #C9C2B3; border-radius: 14px; cursor: pointer; color: #5F6B66; font-weight: 600; padding: 10px; }
.dp-shot img { max-width: 100%; max-height: 260px; border-radius: 10px; }
.ch-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.rc-thumb { max-width: 220px; max-height: 260px; border-radius: 10px; border: 1px solid #DDD7CA; }
/* Meldestelle HinSchG (decision 16.11.2026) */
.wh-code-value { font-family: ui-monospace, monospace; font-size: 26px; font-weight: 800; letter-spacing: 2px; background: #F6F4EE; border: 2px dashed #1F6B52; border-radius: 12px; padding: 12px; text-align: center; }
.wh-points li { margin: 6px 0; }
.wh-msg.is-team { border-left: 4px solid #1F6B52; border-radius: 0; }
.wh-msg small { color: #8a9692; }
.wh-text { white-space: normal; }
.shell-legal .shell-whistle { display: block; margin-bottom: 6px; color: #5F6B66; font-size: 12px; text-decoration: none; }
.sv-scale .chip span { font-size: 24px; }
/* Shorter menu with tabs on the pages (decision 17.11.2026) */
.page-tabs.is-hub { overflow-x: auto; scrollbar-width: none; }
.page-tabs.is-hub::-webkit-scrollbar { display: none; }
.page-tabs.is-hub a { padding-left: 12px; padding-right: 12px; }
.nh-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.nh-quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px; text-decoration: none; color: #14231F; font-weight: 700; font-size: 13px; text-align: center; }
.nh-quick a svg { color: #1F6B52; }
.big-btn.is-accident svg { color: #14231F; }
/* "Für … eintragen" (decision 17.11.2026) */
.ob-card details { border-top: 1px solid #EFEBE2; padding: 10px 0; }
.ob-card summary { cursor: pointer; font-weight: 700; }
.ob-card details[open] summary { margin-bottom: 10px; }
/* Print any page of the app (decision 17.11.2026): content only, MedEngel head line */
.shell-legal .shell-print { display: block; margin: 0 auto 6px; background: none; border: 0; color: #5F6B66; font: inherit; font-size: 12px; cursor: pointer; }
@media print {
  body.admin-shell:not(.is-printing) .sb, body.admin-shell:not(.is-printing) .sb-backdrop, body.admin-shell:not(.is-printing) .shell-top,
  body.admin-shell:not(.is-printing) .tabbar, body.admin-shell:not(.is-printing) .chat-fab, body.admin-shell:not(.is-printing) .shell-legal,
  body.admin-shell:not(.is-printing) .page-tabs, body.admin-shell:not(.is-printing) .nh-quick, body.admin-shell:not(.is-printing) .flash,
  body.admin-shell:not(.is-printing) .btn, body.admin-shell:not(.is-printing) button, body.admin-shell:not(.is-printing) input[type=file] { display: none !important; }
  body.admin-shell:not(.is-printing) { background: #fff !important; }
  body.admin-shell:not(.is-printing) .shell-main { margin: 0 !important; padding: 0 !important; }
  body.admin-shell:not(.is-printing) .shell-content { padding: 0 !important; }
  body.admin-shell:not(.is-printing) .shell-content::before { content: 'MedEngel'; display: block; font-family: 'Fraunces', serif; font-size: 18pt; color: #1F6B52; border-bottom: 2px solid #1F6B52; padding-bottom: 6px; margin-bottom: 14px; }
  body.admin-shell:not(.is-printing) .set-card, body.admin-shell:not(.is-printing) .se-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ccc !important; }
  body.admin-shell:not(.is-printing) .set-title { background: #fff !important; color: #14231F !important; border-bottom: 1px solid #ccc; }
  body.admin-shell:not(.is-printing) .set-title::after { display: none !important; }
  body.admin-shell:not(.is-printing) .wrap { max-width: none !important; }
}
.print-only { display: none; }
@media print { body.admin-shell:not(.is-printing) .print-only { display: block; font-size: 9pt; color: #555; margin: 0 0 10px; } }

/* facility portal: weekly Stundennachweise, desktop first (decision 17.11.2026) */
.fw-card { padding-bottom: 4px; }
.fw-card .table-wrap { margin: 0; }
.fw-table td { vertical-align: top; }
.fw-table .num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.fw-days { max-width: 330px; }
.fw-day { display: inline-block; background: #F2F8F5; border-radius: 8px; padding: 2px 8px; margin: 0 4px 4px 0; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fw-day.is-dev { background: #FFF3DC; }
.fw-act { white-space: nowrap; text-align: right; }
.fw-foot { padding: 0 16px 12px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fw-foot .muted { flex: 1; min-width: 260px; font-size: 13px; }
.fw-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.fw-log p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid #EFEBE2; }
.fw-log p:first-child { border-top: 0; }
@media (max-width: 980px) { .fw-grid { grid-template-columns: 1fr; } }
.guest-shifts { margin: 6px 0 0; padding-left: 18px; columns: 2; font-size: 14px; }
@media (max-width: 600px) { .guest-shifts { columns: 1; } }
.guest-link-box { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
/* facility portal: week plan to print (decision 17.11.2026) */
.fp-bar { display: flex; gap: 8px; padding: 12px 16px 4px; flex-wrap: wrap; }
.fp-print { margin-left: auto; }
.fp-table th { text-align: center; font-size: 13px; }
.fp-table th span { font-weight: 500; color: #5F6B66; }
.fp-table th:first-child, .fp-table td:first-child { text-align: left; min-width: 170px; }
.fp-table td { vertical-align: top; text-align: center; min-width: 96px; }
.fp-table .is-we { background: #FBF9F4; }
.fp-table .is-today { background: #F2F8F5; }
.fp-shift { display: block; background: #E6F2EC; color: #14231F; border-radius: 8px; padding: 4px 6px; margin-bottom: 4px; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-shift small { display: block; font-weight: 500; font-size: 11px; color: #5F6B66; white-space: normal; }
.fp-shift.fp-spaet { background: #FFF3DC; }
.fp-shift.fp-nacht { background: #E3E6EE; }
.fp-hint { padding: 0 16px 12px; }
.fp-take { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #EFEBE2; flex-wrap: wrap; }
.fp-take > span:first-child { min-width: 240px; }
.fp-take input { flex: 1; min-width: 200px; height: 36px; border: 1.5px solid #DDD7CA; border-radius: 10px; padding: 0 10px; font: inherit; }
@media print {
  body.admin-shell:not(.is-printing) .no-print, body.admin-shell:not(.is-printing) .fp-bar { display: none !important; }
  .fp-card { border: 0 !important; box-shadow: none !important; }
  .fp-card .set-title { background: none !important; color: #14231F !important; padding-left: 0 !important; }
  .fp-card .set-title small { color: #5F6B66 !important; }
  .fp-card .set-title::after, .fp-card .set-title::before { display: none !important; }
  .fp-table td, .fp-table th { border: 1px solid #999 !important; }
  .fp-shift { background: none !important; border: 0; padding: 0; }
  .fp-table { font-size: 11px; }
}
.inv-new { display: grid; grid-template-columns: 170px 170px minmax(220px, 1fr) auto; gap: 12px; align-items: end; }
.inv-new .field { margin: 0; }
.inv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.table tfoot td { border-top: 1px solid #EFEBE2; }
@media (max-width: 900px) { .inv-new { grid-template-columns: 1fr 1fr; } }
.fw-card { margin-bottom: 22px; }
.fp-card { margin-bottom: 22px; }
.fp-table { min-width: 0; table-layout: fixed; width: 100%; }
.fp-table th, .fp-table td { padding: 8px 4px; min-width: 0; }
.fp-table th:first-child, .fp-table td:first-child { width: 20%; min-width: 0; padding-left: 14px; }
.fp-table th:last-child, .fp-table td:last-child { width: 7%; padding-right: 14px; }
.fp-shift { white-space: normal; font-size: 12.5px; }
.team-role { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.team-role select { height: 36px; border: 1.5px solid #DDD7CA; border-radius: 10px; padding: 0 8px; font: inherit; background: #fff; }
.team-depts { display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: 13px; }
.team-depts[hidden] { display: none; }
/* facility start page (decision 17.11.2026) */
.fh-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.fh-list { padding: 6px 16px 12px; }
.fh-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #EFEBE2; text-decoration: none; color: #14231F; }
.fh-list > .fh-row:first-child { border-top: 0; }
.fh-ico { width: 38px; height: 38px; border-radius: 10px; background: #E6F2EC; color: #1F6B52; display: grid; place-items: center; flex: none; }
.fh-txt { flex: 1; min-width: 0; }
.fh-txt strong { display: block; }
.fh-txt small { display: block; color: #5F6B66; font-size: 13px; }
.fh-time { font-weight: 800; font-variant-numeric: tabular-nums; background: #F2F8F5; border-radius: 8px; padding: 6px 8px; font-size: 13px; white-space: nowrap; }
.fh-day { margin: 10px 0 0; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5F6B66; }
.fh-empty { color: #5F6B66; margin: 8px 0; }
.fh-more { margin: 10px 0 0; font-size: 14px; }
@media (max-width: 980px) { .fh-grid { grid-template-columns: 1fr; } }
/* facility report (decision 17.11.2026) */
.rp-bar { padding: 0 0 14px; }
.rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.rp-kpi { background: #fff; border: 1px solid #E6E1D6; border-radius: 16px; padding: 14px 18px; }
.rp-kpi span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5F6B66; font-weight: 700; }
.rp-kpi strong { font-family: 'Fraunces', serif; font-size: 28px; }
.rp-kpi-main { background: #1F6B52; border-color: #1F6B52; color: #fff; }
.rp-kpi-main span { color: #F3C77A; }
.ical-box code { display: block; background: #F6F4EE; border-radius: 8px; padding: 8px 10px; margin: 6px 0; word-break: break-all; font-size: 13px; user-select: all; }
.dossier-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 900px) { .rp-kpis { grid-template-columns: 1fr 1fr; } }
.fr-row { border-top: 1px solid #EFEBE2; padding: 10px 0; }
.fr-row:first-child { border-top: 0; }
.fw-grid { margin-bottom: 18px; }
.team-role select { width: auto; max-width: 260px; }
/* modules (decision 17.11.2026) */
.mod-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid #EFEBE2; cursor: pointer; }
.mod-row:first-of-type { border-top: 0; }
.mod-row > span { flex: 1; }
.mod-row small { display: block; color: #5F6B66; font-size: 13px; }
.mod-row.is-off { opacity: .5; cursor: default; }
.mod-sw { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 13px; background: #CFCBC0; position: relative; flex: none; cursor: pointer; transition: background .15s; margin: 0; border: 0; }
.mod-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 10px; background: #fff; transition: left .15s; }
.mod-sw:checked { background: #1F6B52; }
.mod-sw:checked::after { left: 23px; }
.mod-sw:focus-visible { outline: 3px solid #E8A33D; outline-offset: 2px; }
.mod-sw:disabled { cursor: default; }
/* admin person page with tabs (decision 17.11.2026) */
.pane-tabs { position: sticky; top: 0; z-index: 3; background: #F6F4EE; padding: 8px 0; margin-bottom: 14px; }
[data-panes].is-tabbed { display: block; columns: 2 420px; column-gap: 24px; }
[data-panes].is-tabbed > div { display: contents; }
[data-panes].is-tabbed .pane { break-inside: avoid; margin-bottom: 16px; }
[data-panes].is-tabbed .pane[hidden] { display: none; }
[data-panes].is-tabbed .pane > .se-card, [data-panes].is-tabbed .pane > form.se-card { margin-top: 0; }
[data-panes].is-tabbed > div > h2 { display: none; }
.pane:empty { display: none; }
[data-panes].is-tabbed .pane:has(table), [data-panes].is-tabbed .pane:has(> dl.details) { column-span: all; }
[data-panes].is-tabbed dl.details dd { overflow-wrap: anywhere; min-width: 0; }
/* Mein Tag and team overview (decision 17.11.2026) */
.myday { margin-bottom: 18px; }
.myday-list { padding: 6px 18px 12px; }
.myday-foot { margin: 10px 0 0; font-size: 14px; }
.tb-next { font-size: 14px; padding: 1px 0; }
.tc-filter { flex-wrap: wrap; }
.set-title > span > small { display: block; font-family: 'Figtree', sans-serif; font-size: 12.5px; font-weight: 400; opacity: .85; }
.role-tpl { max-width: 360px; }
/* Prüfbereitschaft (decision 17.11.2026) */
a.rp-kpi { text-decoration: none; color: inherit; display: block; }
a.rp-kpi.rp-kpi-main { color: #fff; }
.comp-row { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 8px 0; border-top: 1px solid #EFEBE2; }
.comp-row > span:nth-child(2) { flex: 1; }
.comp-row small { display: block; color: #5F6B66; font-size: 12.5px; }
.comp-dot { width: 12px; height: 12px; border-radius: 6px; margin-top: 5px; flex: none; background: #2F6FA8; }
.comp-dot.is-bad { background: #B3261E; } .comp-dot.is-warn { background: #C98512; }
/* rule engine (decision 17.11.2026) */
.legal-line { display: inline-block; font-size: 13px; border-left: 3px solid #2F6FA8; padding: 2px 0 2px 8px; margin-top: 4px; }
.legal-line.is-bad { border-color: #B3261E; color: #8C1D18; } .legal-line.is-warn { border-color: #C98512; }
.legal-bar { height: 8px; border-radius: 4px; background: #ECE9E1; overflow: hidden; min-width: 110px; }
.legal-bar i { display: block; height: 100%; background: #1F6B52; }
.legal-bar i.is-warn { background: #C98512; } .legal-bar i.is-bad { background: #B3261E; }
.legal-edit summary { cursor: pointer; color: #1F6B52; font-weight: 700; }
.legal-edit form { min-width: 240px; margin-top: 8px; }
.table td .legal-res { white-space: normal; font-weight: 400; color: #14231F; min-width: 280px; }
/* payroll simulation (decision 17.11.2026) */
.pay-in { width: 104px; height: 34px; border: 1.5px solid #DDD7CA; border-radius: 9px; padding: 0 8px; text-align: right; font: inherit; font-variant-numeric: tabular-nums; }
.pay-note { width: 150px; height: 34px; border: 1.5px solid #DDD7CA; border-radius: 9px; padding: 0 8px; font: inherit; font-size: 13px; }
.pay-clear { font-size: 13px; white-space: nowrap; }
.pay-table td { vertical-align: top; }
table.slip td { padding: 8px 6px; }
table.slip tr.sum td { border-top: 2px solid #1F6B52; font-weight: 700; }
.tariff-in input { width: 100%; height: 36px; border: 1.5px solid #DDD7CA; border-radius: 9px; padding: 0 8px; font: inherit; }
.tariff-in td { padding: 4px 6px; }
.pay-table td.num, .table td.num { white-space: nowrap; }
.pay-table td:first-child { min-width: 190px; }
/* open items and dunning (decision 17.11.2026) */
.fin-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .fin-two { grid-template-columns: 1fr; } }
.age-row { display: grid; grid-template-columns: 150px 1fr 110px; gap: 12px; align-items: center; padding: 7px 0; font-size: 14.5px; }
.age-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.age-bar { height: 10px; background: #EFEBE2; border-radius: 99px; overflow: hidden; }
.age-bar i { display: block; height: 100%; background: #1F6B52; border-radius: 99px; }
.age-bar i.age-late { background: #E8A33D; }
.age-fac { grid-template-columns: 1fr 120px; border-bottom: 1px solid #EFEBE2; }
.age-fac small { display: block; color: #5d6b66; font-size: 12.5px; }
.pay-quick summary { list-style: none; cursor: pointer; display: inline-flex; }
.pay-quick summary::-webkit-details-marker { display: none; }
.pay-quick form { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pay-table td form { margin-top: 6px; }
.rp-kpi small { display: block; color: inherit; opacity: .75; font-size: 12.5px; margin-top: 2px; }
.pay-quick-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
/* mailboxes (decision 17.11.2026) */
.mail-list { display: flex; flex-direction: column; }
.mail-row { display: grid; grid-template-columns: 250px 1fr auto; gap: 14px; align-items: baseline; padding: 12px 18px; border-bottom: 1px solid #EFEBE2; color: inherit; text-decoration: none; }
.mail-row:hover { background: #F6F4EE; }
.mail-row:last-child { border-bottom: 0; }
.mail-from { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.mail-from strong, .mail-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mail-sub { min-width: 0; }
.mail-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; white-space: nowrap; }
.mail-body { background: #F6F4EE; border-radius: 12px; padding: 16px 18px; line-height: 1.6; overflow-wrap: anywhere; max-height: 70vh; overflow: auto; }
.mail-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mail-work > * + * { margin-top: 14px; }
.mail-acc { padding: 12px 0; border-bottom: 1px solid #EFEBE2; margin-bottom: 12px; }
.mail-who { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 10px; }
@media (max-width: 800px) { .mail-row { grid-template-columns: 1fr; gap: 4px; } .mail-meta { flex-direction: row; gap: 10px; } }
/* acquisition (decision 17.11.2026) */
.crm-search { display: flex; gap: 6px; }
.crm-search input { height: 38px; border: 1.5px solid #DDD7CA; border-radius: 99px; padding: 0 14px; font: inherit; min-width: 240px; }
.crm-stages { flex-wrap: wrap; }
.crm-n { opacity: .7; font-weight: 500; margin-left: 4px; }
.crm-act { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #EFEBE2; }
.crm-act > div { flex: 1; min-width: 0; }
.crm-act p { margin: 4px 0 0; overflow-wrap: anywhere; }
.crm-act .badge { flex: none; }
/* accommodation (decision 17.11.2026) */
table.occ th { text-align: center; padding: 6px 2px; font-size: 12px; min-width: 30px; }
table.occ th:first-child { text-align: left; min-width: 260px; }
table.occ small { font-weight: 400; opacity: .7; }
td.occ-c { text-align: center; padding: 0; font-weight: 700; font-size: 13px; border-left: 1px solid #EFEBE2; }
td.occ-part { background: #F3C77A; }
td.occ-full { background: #1F6B52; color: #fff; }
.occ-we { background-color: #F6F4EE; }
td.occ-full.occ-we { background: #1F6B52; }
td.occ-part.occ-we { background: #F3C77A; }
tr.is-muted td { opacity: .55; }
/* recruiting campaigns (decision 17.11.2026) */
.camp { border-bottom: 1px solid #EFEBE2; padding: 10px 0; }
.camp summary { display: grid; grid-template-columns: 1fr repeat(5, auto); gap: 18px; align-items: center; cursor: pointer; list-style: none; }
.camp summary::-webkit-details-marker { display: none; }
.camp-n { font-size: 13px; color: #5d6b66; text-align: right; white-space: nowrap; }
.camp-n b { display: block; font-size: 16px; color: #14231F; }
.camp code { background: #F6F4EE; padding: 2px 8px; border-radius: 6px; user-select: all; overflow-wrap: anywhere; }
.camp form { margin-top: 10px; }
@media (max-width: 900px) { .camp summary { grid-template-columns: 1fr 1fr; } }
