/* Online-Rezeption. Patient pages are built for the phone first; the team's inbox for the desk. */
:root { --navy: #194274; --teal: #2f8f84; --tealbg: #e6f4f2; --line: #dce5ed; --ink: #203746; --mute: #55687a; --bg: #f2f6fb; --warn: #fff6dd; --warnline: #e6c766; --danger: #a3261a; --dangerbg: #fdecea; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.45; }
a { color: #175d87; }
h1 { font-size: 22px; color: var(--navy); margin: 18px 0 12px; line-height: 1.25; }
h2 { font-size: 18px; color: var(--navy); margin: 26px 0 10px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.testbar { background: #7a5200; color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 5px 10px; }
.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #175d87; font-weight: 700; cursor: pointer; text-decoration: underline; }
.hint { color: var(--mute); font-size: 14.5px; margin: 4px 0 8px; }
.center { text-align: center; }
.intro { margin: 0 0 16px; }
.problem { color: var(--danger); font-weight: 700; font-size: 15px; margin: 6px 0 0; }
.must { color: var(--danger); }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* --- patient --- */
.top { background: var(--navy); color: #fff; padding: 14px 0 12px; }
.top .name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.top .name > span { flex: 1; min-width: 0; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px 0 14px; margin-bottom: 14px; border-radius: 24px; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 1px 2px #17364d14; }
.back b { font-size: 28px; line-height: 1; margin-top: -4px; }
.back:hover, .back:active { background: var(--navy); color: #fff; }
.top .pill { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 12px; border: 1px solid #ffffff88; border-radius: 18px; white-space: nowrap; }
.top .sub { font-size: 14px; opacity: .88; margin-top: 2px; }
main.wrap { padding-top: 14px; padding-bottom: 8px; }
.foot { padding-top: 22px; padding-bottom: 34px; color: var(--mute); font-size: 14px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.chip { padding: 8px 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--mute); text-decoration: none; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; min-height: 84px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px #17364d14; }
.tile b { color: var(--navy); font-size: 17px; line-height: 1.2; }
.tile small { color: var(--mute); font-size: 13.5px; line-height: 1.3; }
.tile:hover, .row-link:hover { border-color: #7da6cc; background: #f7fbff; }
.more { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.row-link { display: flex; justify-content: space-between; align-items: center; padding: 14px; text-decoration: none; color: var(--navy); font-weight: 700; border-top: 1px solid var(--line); min-height: 52px; }
.row-link:first-child { border-top: 0; }
.row-link i { font-style: normal; font-size: 22px; color: var(--mute); }
.note { margin: 14px 0; padding: 11px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 15.5px; }
.note.warn { background: var(--warn); border-color: var(--warnline); color: #5b4300; }
.note.danger { background: var(--dangerbg); border-color: #efb8b2; color: #7a1c13; }
.note.ok-note { background: var(--tealbg); border-color: #9fd3cc; color: #17574f; font-weight: 700; }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.label, legend.label { display: block; font-weight: 700; font-size: 15.5px; margin: 0 0 6px; padding: 0; color: var(--ink); }
label.label input, label.label select { margin-top: 6px; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input[type=password], input:not([type]), textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #9fb6cc; border-radius: 10px; padding: 12px; min-height: 50px; }
textarea { min-height: 96px; resize: vertical; }
input[type=file] { width: 100%; font: inherit; padding: 10px; background: #fff; border: 1px dashed #9fb6cc; border-radius: 10px; }
[aria-invalid=true] { border-color: var(--danger) !important; background: #fffafa; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.med { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 12px 12px; margin: 0 0 10px; }
.med legend { font-size: 14px; font-weight: 700; color: var(--mute); padding: 0 4px; }
.med label { display: block; font-size: 14.5px; font-weight: 700; margin-top: 6px; }
.med label input { margin-top: 4px; font-weight: 400; }
.add-med { font-size: 16px; padding: 8px 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg.three { grid-template-columns: 1fr 1fr 1.4fr; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days .opt span { padding: 8px 2px; }
.sublabel { margin: 10px 0 5px; font-size: 13.5px; font-weight: 700; color: #4a5d70; text-transform: uppercase; letter-spacing: .04em; }
.opt { position: relative; display: block; }
.opt[hidden] { display: none; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 10px; border: 1px solid #9fb6cc; border-radius: 10px; background: #fff; font-weight: 600; font-size: 15.5px; }
.opt input:checked + span { background: var(--tealbg); border-color: var(--teal); color: #17574f; box-shadow: inset 0 0 0 1px var(--teal); }
.opt input:focus-visible + span { outline: 3px solid #2563eb; outline-offset: 2px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin: 14px 0; font-size: 15.5px; }
.check input { width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: block; width: 100%; text-align: center; background: var(--navy); color: #fff; font: inherit; font-weight: 700; padding: 15px; border-radius: 12px; border: 1px solid var(--navy); margin-top: 14px; cursor: pointer; text-decoration: none; }
.btn.light { background: #fff; color: var(--navy); }
.btn.small { display: inline-block; width: auto; padding: 9px 14px; font-size: 14.5px; margin-top: 8px; }
.btn:hover { filter: brightness(1.08); }
.ok { text-align: center; padding: 8px 0 0; }
.ok .mark { width: 54px; height: 54px; border-radius: 50%; background: var(--tealbg); color: #17574f; font-size: 28px; line-height: 54px; margin: 0 auto 4px; font-weight: 700; }
.ok h1 { margin: 6px 0 4px; } .ok p { margin: 0; color: var(--mute); font-size: 15px; }
.steps { list-style: none; margin: 18px 0 8px; padding: 0; }
.steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #b9cde0; background: #fff; }
.steps .done i { background: var(--teal); border-color: var(--teal); }
.steps .done::before { background: var(--teal); }
.steps .now i { border-color: var(--teal); box-shadow: 0 0 0 5px var(--tealbg); }
.steps .now.ask i { border-color: #b67700; box-shadow: 0 0 0 5px var(--warn); }
.steps b { display: block; } .steps span { color: var(--mute); font-size: 14.5px; }
.steps li:not(.done):not(.now) b { color: var(--mute); font-weight: 600; }
.thread { display: grid; gap: 10px; margin: 8px 0 14px; }
/* A conversation like in a messenger (owner, 5 Dec 2026): the practice on the left, the patient on the right, each a speech bubble. */
.msg { width: fit-content; max-width: 86%; border-radius: 16px; padding: 9px 13px; background: #fff; border: 1px solid var(--line); overflow-wrap: anywhere; }
.msg.patient { justify-self: end; background: #dcecfb; border-color: #b9d4ee; border-bottom-right-radius: 4px; }
.msg.praxis { justify-self: start; border-bottom-left-radius: 4px; }
.msg.internal { justify-self: stretch; width: auto; max-width: none; background: var(--warn); border-color: var(--warnline); border-radius: 12px; }
.msg .who { font-size: 12.5px; font-weight: 700; color: var(--mute); margin-bottom: 3px; }
.msg .at { font-size: 11.5px; color: var(--mute); text-align: right; margin-top: 4px; }
.sys { text-align: center; color: var(--mute); font-size: 12.5px; }
.reply { margin: 6px 0 12px; }
/* The practice's appointment proposal on the status page: the date large, two buttons below. */
.proposal { margin: 14px 0; padding: 14px; border-radius: 12px; background: var(--tealbg); border: 1px solid #9fd3cc; }
.proposal h2 { margin: 0 0 6px; font-size: 17px; }
.proposal .when { margin: 0; } .proposal .when b { display: block; font-size: 21px; } .proposal .when span { font-size: 17px; }
.proposal details { margin-top: 10px; } .proposal summary { list-style: none; margin-top: 0; } .proposal summary::-webkit-details-marker { display: none; }
.proposal details[open] summary { display: none; } .proposal details .label { margin-top: 4px; }
.proposal.fixed .hint { margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.card .t, summary.t { font-size: 11.5px; font-weight: 700; color: var(--mute); letter-spacing: .04em; margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; padding: 4px 0; font-size: 15px; }
.kv span { color: var(--mute); } .kv b { font-weight: 600; overflow-wrap: anywhere; }
details.mine { margin: 8px 0; } details.mine summary { cursor: pointer; font-weight: 700; color: #175d87; padding: 8px 0; }
.req { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.req .h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-weight: 700; color: var(--navy); text-decoration: none; }
.req .d { color: var(--mute); font-size: 14px; margin-top: 3px; }
.req .again, .card .again { display: inline-block; margin-top: 8px; font-weight: 700; text-decoration: none; }
.badge { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px; white-space: nowrap; background: #eef0f3; color: #475569; }
.b-fertig, .b-done { background: var(--tealbg); color: #17574f; } .b-arbeit, .b-eingegangen, .b-open { background: #e8f0fb; color: #1b4f96; } .b-rueckfrage, .b-waiting { background: #fff0d6; color: #7a5200; }
.code { font-size: 28px; letter-spacing: .3em; text-align: center; font-weight: 700; }
.prose p { margin: 0 0 10px; font-size: 15.5px; }
.empty { color: var(--mute); padding: 14px; margin: 0; }
@media (max-width: 380px) { .two { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; gap: 0; } .options:not(.short) { grid-template-columns: 1fr; } }

/* --- team --- */
body.team { font-size: 14.5px; background: #eef2f7; }
.tbar { display: flex; align-items: center; gap: 18px; background: var(--navy); color: #fff; padding: 10px 16px; flex-wrap: wrap; }
.tbar b { font-size: 16px; } .tbar nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.tbar nav a { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-weight: 600; opacity: .85; }
.tbar nav a.on, .tbar nav a:hover { background: #ffffff22; opacity: 1; }
.tbar .linklike { color: #fff; font-weight: 600; }
.cols { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: calc(100vh - 80px); background: #fff; }
.list { border-right: 1px solid var(--line); background: #f8fafc; min-width: 0; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.tabs a { padding: 12px 4px; text-align: center; font-weight: 700; color: var(--mute); text-decoration: none; }
.tabs a.on { color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); }
.tabs em { font-style: normal; background: #e8f0fb; color: #1b4f96; border-radius: 9px; padding: 1px 7px; font-size: 12.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); }
.team .chip { font-size: 12.5px; padding: 4px 10px; }
.item { display: block; padding: 10px 12px; border-bottom: 1px solid #e6edf3; text-decoration: none; color: var(--ink); }
.item:hover { background: #f1f6fc; }
.item.sel { background: #eaf3fd; box-shadow: inset 3px 0 0 var(--navy); }
.item .h { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.item .h time { font-weight: 500; color: var(--mute); font-size: 12.5px; white-space: nowrap; }
.item .s { color: var(--mute); font-size: 13px; margin-top: 3px; display: flex; gap: 6px; align-items: baseline; }
.item .s span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.item .who-has { font-size: 12px; }
.ch { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #e8f0fb; color: #1b4f96; flex: none; }
.detail { padding: 16px 20px 28px; min-width: 0; max-width: 820px; }
.empty-detail { color: var(--mute); }
.detail .who { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.detail .who b { font-size: 20px; color: var(--navy); } .detail .who > span { color: var(--mute); font-size: 13px; }
.who-line { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 6px 0 2px; font-size: 13.5px; color: var(--mute); }
.who-line form { margin-left: auto; }
.team .kv { grid-template-columns: 180px 1fr; font-size: 14.5px; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.ans { margin: 0; display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.ans.with-input { flex: 1 0 100%; padding: 8px 10px; border: 1px dashed #b9cde0; border-radius: 10px; background: #fbfdff; }
.ans label { font-size: 12px; font-weight: 700; color: var(--mute); display: grid; gap: 3px; }
.ans input[type=text], .ans input[type=date], .ans input[type=time] { min-height: 38px; padding: 7px 9px; width: 150px; font-size: 14px; }
.ans button { min-height: 40px; padding: 8px 13px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 13.5px; border: 1px solid #b9cde0; background: #fff; color: #17456b; cursor: pointer; }
.ans.main button { background: var(--teal); border-color: var(--teal); color: #fff; }
.ans button:hover { filter: brightness(.95); }
.floors { display: inline-flex; gap: 6px; }
.floors .opt span { min-height: 38px; font-size: 13.5px; padding: 6px 10px; }
.free summary { cursor: pointer; margin: 0; } .free[open] summary { margin-bottom: 8px; }
.free form + form { margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.narrow { max-width: 420px; margin: 0 auto; padding: 22px 16px; } .narrow.wide { max-width: 860px; }
.mail .body { margin-top: 6px; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 10px 0; }
.table th, .table td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.table thead th { border-top: 0; background: #f8fafc; color: var(--mute); font-size: 12.5px; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.numbers div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; } .numbers span { color: var(--mute); font-size: 13px; display: block; } .numbers b { font-size: 28px; color: var(--navy); }
.bar-row { display: grid; grid-template-columns: minmax(110px, 200px) minmax(0, 1fr) 40px; gap: 10px; align-items: center; padding: 3px 0; font-size: 14px; }
.bar-row i { display: block; height: 16px; background: #f1f5f9; border-radius: 4px; } .bar-row u { display: block; height: 100%; background: #257de0; border-radius: 0 4px 4px 0; } .bar-row u.day { background: #00b894; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .cols.has-detail .list .item:not(.sel) { display: none; } .list { border-right: 0; } .team .kv { grid-template-columns: 1fr; gap: 0; } }

.note.forms ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.note.forms .hint { margin: 4px 0 0; }
a.download { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; text-decoration: none; }
a.download:hover { background: var(--tealbg); }
.consent-text p { margin: 0 0 8px; font-size: 15px; }
.consent-text p:last-child { margin-bottom: 0; }
.note.info p { margin: 4px 0 0; font-size: 15px; }

/* Quick order on "Meine Anfragen": the person's medications with the day of the last order. */
.meds .check.med { margin: 10px 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.meds .check.med small { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.meds .check.med.off { opacity: .6; }
.meds .btn { margin-top: 6px; }

/* --- account --- */
.card.account p { margin: 6px 0 4px; }
.card.account .btn { margin-top: 10px; }
ul.plain { margin: 0 0 14px; padding-left: 22px; } ul.plain li { margin: 4px 0; }
h2 small { font-size: 13px; font-weight: 600; color: var(--mute); margin-left: 6px; }
.tag { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 9px; background: var(--tealbg); color: #17574f; white-space: nowrap; }
.chips.who { margin: 6px 0 0; flex-wrap: wrap; }
details.manage > summary { cursor: pointer; font-weight: 700; color: var(--navy); min-height: 32px; }
.medrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.medrow .btn { width: auto; margin: 0; flex: none; }
.medadd { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.medadd label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }

/* --- documents of the practice, further medications --- */
.note.small { font-size: 14px; margin: 10px 0 4px; }
.docs .doc { padding: 10px 0; border-top: 1px solid var(--line); } .docs .doc:first-of-type { border-top: 0; }
.docs .doc b { display: block; overflow-wrap: anywhere; } .docs .doc small { display: block; color: var(--mute); margin: 2px 0 8px; }
.docs .doc label { display: block; font-weight: 600; font-size: 15px; } .docs .doc.off b { color: var(--mute); }
details.more-meds { margin: 10px 0; } details.more-meds > summary { cursor: pointer; font-weight: 700; color: #175d87; min-height: 36px; }

/* --- care homes --- */
.residents .row-link span { display: flex; flex-direction: column; } .residents .row-link small { font-weight: 500; color: var(--mute); font-size: 14px; }
.pin { font-size: 22px; letter-spacing: 3px; }
.table tr.off td { color: var(--mute); }
input.short { width: 180px; min-height: 36px; padding: 6px 8px; display: inline-block; }
.source { margin: -6px 0 14px; font-size: 14px; color: #5b6770; }

/* --- patient pages: fresher look (4 Dec 2026). Same sizes for touch and reading, same colours of the practice. --- */
body:not(.team) { background: linear-gradient(180deg, #eaf1fa 0, #f4f7fb 320px) #f4f7fb no-repeat; }
.top { background: linear-gradient(135deg, #1d4f8c 0%, #194274 55%, #143459 100%); padding: 18px 0 20px; border-radius: 0 0 22px 22px; box-shadow: 0 6px 18px #19427426; }
.top .name { font-size: 19px; letter-spacing: -.01em; }
.top .sub { opacity: .8; }
.top .pill { background: #ffffff1f; border-color: #ffffff59; padding: 8px 14px; border-radius: 20px; }
.top .pill:hover { background: #ffffff33; }
main.wrap { padding-top: 18px; }
body:not(.team) h1 { font-size: 24px; letter-spacing: -.015em; margin: 20px 0 14px; }
.chips { gap: 0; display: inline-flex; padding: 4px; border-radius: 22px; background: #dfe8f3; }
.chip { border: 0; background: none; padding: 9px 18px; border-radius: 18px; color: #3f5367; }
.chip.on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px #17364d2e; }
.chips.who { display: flex; flex-wrap: wrap; gap: 4px; }
.tiles { gap: 12px; }
.tile { border: 0; border-radius: 18px; padding: 16px 14px 15px; gap: 3px; box-shadow: 0 1px 2px #17364d14, 0 6px 16px #17364d0f; transition: transform .12s ease, box-shadow .12s ease; }
.tile::before { content: ""; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 13px; background: #e8f0fb center / 23px no-repeat; }
.tile:hover, .tile:active { background: #fff; transform: translateY(-2px); box-shadow: 0 2px 4px #17364d1a, 0 10px 22px #17364d1f; }
.tile b { font-size: 17.5px; }
.t-rezept::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E"); }
.t-termin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5h12a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3Z'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3C/svg%3E"); }
.t-ueberweisung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E"); }
.t-au::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6v4H9z'/%3E%3Cpath d='M7 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1'/%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M9 14h6'/%3E%3C/svg%3E"); }
.t-befund-anfordern::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E"); }
.t-frage::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.8 7L4 20l1.1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.t-termin-aendern::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5h12a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3Z'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m10 13 4 4'/%3E%3Cpath d='m14 13-4 4'/%3E%3C/svg%3E"); }
.t-befund-senden::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E"); }
.t-hausbesuch::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.t-zuweiser::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194274' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20v-1a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v1'/%3E%3Cpath d='M9.5 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M16 11h6'/%3E%3C/svg%3E"); }
.t-rezept::before { background-color: #e6f4f2; } .t-au::before { background-color: #fdeee4; } .t-termin::before, .t-termin-aendern::before { background-color: #e8f0fb; }
.t-frage::before { background-color: #f1ebfb; } .t-befund-anfordern::before, .t-befund-senden::before { background-color: #fff3d6; }
.more { border: 0; border-radius: 18px; margin-top: 14px; box-shadow: 0 1px 2px #17364d14, 0 6px 16px #17364d0f; }
.row-link { padding: 15px 16px; border-top-color: #edf1f6; }
.row-link:hover { background: #f5f9ff; }
.row-link i { color: #8ea3b8; }
.note, .card, .req, .med, .msg { border-radius: 16px; }
body:not(.team) .note:not(.warn):not(.danger):not(.ok-note), body:not(.team) .card, body:not(.team) .req { border-color: #e6ecf3; box-shadow: 0 1px 2px #17364d0f; }
.note.danger { background: #fff1ef; border-color: #f3c9c4; }
body:not(.team) input[type=text], body:not(.team) input[type=email], body:not(.team) input[type=tel], body:not(.team) input[type=date], body:not(.team) input[type=time], body:not(.team) input[type=password], body:not(.team) input:not([type]), body:not(.team) textarea, body:not(.team) select {
  border-radius: 13px; border-color: #b4c6d8; transition: border-color .12s ease, box-shadow .12s ease; }
body:not(.team) :is(input, textarea, select):focus { outline: 0; border-color: #2f6fb8; box-shadow: 0 0 0 4px #2f6fb82e; }
.opt span { border-radius: 13px; border-color: #b4c6d8; transition: background .12s ease, border-color .12s ease; }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 3px 8px #19427433; }
body:not(.team) .btn { border-radius: 15px; padding: 16px; box-shadow: 0 4px 12px #1942743d; transition: transform .1s ease, box-shadow .1s ease; }
body:not(.team) .btn:active { transform: translateY(1px); box-shadow: 0 2px 6px #1942743d; }
body:not(.team) .btn.light { border: 1.5px solid #c5d5e6; box-shadow: none; }
body:not(.team) .btn.small { padding: 9px 14px; box-shadow: none; }
.back { border: 0; min-height: 44px; padding: 0 18px 0 12px; font-size: 16px; box-shadow: 0 1px 3px #17364d2e; }
.foot a { color: #55687a; }
@media (prefers-reduced-motion: reduce) { .tile, body:not(.team) .btn, .opt span { transition: none; } .tile:hover { transform: none; } }

/* Grouped choice (what the appointment is for): groups that open on a tap instead of a drop-down list. */
.pick { margin-top: 8px; border-radius: 13px; background: #fff; box-shadow: 0 1px 2px #17364d14; border: 1px solid #e1e8f0; }
.pick > summary { display: flex; align-items: center; min-height: 50px; padding: 0 14px; font-weight: 700; font-size: 15.5px; color: var(--navy); cursor: pointer; list-style: none; border-radius: 13px; }
.pick > summary::-webkit-details-marker { display: none; }
.pick > summary::after { content: "›"; order: 2; margin-left: auto; font-size: 22px; color: #8ea3b8; transition: transform .12s ease; }
.pick[open] > summary::after { transform: rotate(90deg); }
.pick > .options { padding: 2px 10px 10px; }
.pick:has(input:checked) { border-color: var(--navy); }
.pick:has(input:checked) > summary::before { content: "✓"; order: 1; margin-left: auto; margin-right: 12px; color: var(--navy); }
.pick:has(input:checked) > summary::after { margin-left: 0; }
.opt input:disabled + span { opacity: .45; }

/* The practice's logo at the top of every patient page (owner's wish, 4 Dec 2026). */
.top .logo { display: block; width: 200px; max-width: 62%; margin: 0 0 12px -2px; }
.top .logo img { display: block; width: 100%; height: auto; }

/* "Mein Konto": the requests of a person, one box per kind (appointments, prescriptions, …). */
.pick.kind > summary small { margin-left: 8px; font-weight: 500; font-size: 13.5px; color: #4a5d70; }
.pick.kind > .req, .pick.kind > details.mine { margin-left: 10px; margin-right: 10px; }
.pick.kind > :last-child { margin-bottom: 10px; }

/* Window over the start page: weekend, public holiday, holidays of the practice. */
dialog.closed { border: 0; border-radius: 20px; padding: 24px 22px 20px; width: min(92vw, 420px); max-height: 88vh; overflow: auto; text-align: center; color: var(--ink); box-shadow: 0 18px 50px rgba(20, 45, 80, .28); }
dialog.closed::backdrop { background: rgba(25, 66, 116, .38); backdrop-filter: blur(3px); }
dialog.closed h2 { margin: 0 0 8px; color: var(--navy); font-size: 24px; }
dialog.closed p { margin: 10px 0; font-size: 16px; line-height: 1.45; }

/* Inside the floating window on the practice's website: the window has its own bar, so the logo is left out. */
.embedded .top { padding: 10px 0 9px; }
.embedded .top .logo { display: none; }
