/* arch: mirko-ops — phone-first styles. Same design language as the website: Manrope + Bricolage Grotesque, logo red,
   generous radii, soft shadows, translucent bars. Fonts are self-hosted (public/fonts), no external requests. */
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage'; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage'; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --red: #e30613; --red-deep: #b0040e; --ink: #101318; --ink-2: #3a414d; --muted: #565e6b; --line: rgb(16 19 24 / .1);
  --bg: #f3f6f9; --card: #fff; --water: #d9eef8; --water-deep: #3d9cc9;
  --green: #17803a; --amber: #a35b00;
  --r-s: 10px; --r-m: 18px; --r-l: 28px; --radius: var(--r-m);
  --shadow: 0 1px 2px rgb(16 19 24 / .06), 0 8px 30px -12px rgb(16 19 24 / .2);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage', 'Manrope', system-ui, sans-serif;
  font-family: var(--font); color: var(--ink); background: var(--bg); color-scheme: light;
  -webkit-text-size-adjust: 100%; line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; overflow-x: clip; padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: radial-gradient(70vw 50vw at 90% -10%, rgb(61 156 201 / .14), transparent 60%), radial-gradient(60vw 50vw at -10% 30%, rgb(227 6 19 / .06), transparent 60%), var(--bg);
  background-attachment: fixed; }
main { max-width: 640px; margin: 0 auto; padding: 16px 14px; }
body.wide main { max-width: 920px; }
a { color: var(--red-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; }
h1 { font-size: 1.2rem; margin: 0; flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
h2 { font-size: 1.15rem; margin: 0 0 10px; font-weight: 700; }
h3 { font-size: 1rem; margin: 14px 0 6px; font-weight: 700; }
svg.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }

/* top bar: translucent white with a red accent line, like the site header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top));
  background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border-bottom: 1px solid var(--line); box-shadow: inset 0 -3px 0 var(--red); color: var(--ink); }
.top img { border-radius: 8px; }
.top .back { color: var(--red); text-decoration: none; font-size: 2rem; line-height: 1; padding: 0 8px 4px 0; }
.net { background: var(--ink); color: #fff; padding: 2px 10px; border-radius: 99px; font-size: .75rem; }

/* bottom navigation: floating glass bar */
nav.bottom { position: fixed; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; right: 10px; max-width: 620px; margin: 0 auto; z-index: 5; display: flex;
  background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgb(255 255 255 / .7); border-radius: 24px; box-shadow: var(--shadow); padding: 4px; }
nav.bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 6px; font-size: .68rem; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 20px; transition: background .2s var(--ease), color .2s; }
nav.bottom a svg.i { width: 24px; height: 24px; }
nav.bottom a.on { color: var(--red); background: rgb(227 6 19 / .08); }

.card { background: var(--card); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card.inactive { opacity: .6; }
.center { text-align: center; }
/* which build is running (src/lib/version.ts): small, quiet, above the bottom navigation */
.version { margin: 8px auto 0; padding: 0 14px; text-align: center; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: ui-monospace, monospace; }
.break { word-break: break-all; }
.pre { white-space: pre-wrap; margin: 6px 0; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }
.msg { padding: 12px 14px; border-radius: var(--r-s); margin: 0 0 14px; }
.msg.ok { background: #e3f4ea; color: var(--green); }
.msg.err { background: #fde8ea; color: var(--red-deep); }
.msg.warn { background: #fff1d6; color: var(--amber); }
/* #89: flexible day (building with a rhythm) */
.msg.info { background: #e6eefb; color: #1d3f7a; }
.msg.small { padding: 8px 12px; font-size: .88rem; }
.badge.flex { background: #e6eefb; color: #1d3f7a; }
.badge.auto { background: #e8f5ec; color: #1f5c33; }
.flex-due ul.entries > li.flex-line { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.flex-due .flex-what { display: grid; gap: 2px; min-width: 0; }
.flex-due ul.entries li > a.flex-what > * { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.flex-due form.flex-plan { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.flex-due form.flex-plan button { padding: 8px 12px; }
.toast { position: sticky; top: 64px; z-index: 4; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: rgb(16 19 24 / .07); color: var(--ink-2); margin: 2px 4px 0 0; }
.badge.red { background: var(--red); color: #fff; }
.badge.amber { background: #ffe1b3; color: #7a4300; }
.badge.green { background: #d3f0dc; color: var(--green); }
.weeknav { display: flex; align-items: center; justify-content: space-between; text-align: center; margin: 2px 0 14px; }
.weeknav > a, .weeknav > span { width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.6rem; text-decoration: none; background: #fff; border-radius: 99px; box-shadow: var(--shadow); }
.weeknav > span { background: none; box-shadow: none; }
.day h2 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 20px 4px 8px; font-weight: 700; }
.day.today h2 { color: var(--red); }
.job { background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; position: relative; }
.job::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.job.cancelled::before { background: var(--muted); }
.job.cancelled { opacity: .7; }
.job.cancelled strong { text-decoration: line-through; }
.job.done::before, .job.running::before { background: var(--green); }
.job.running { box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.job.unassigned::before { background: var(--amber); }
.job-main { display: flex; gap: 12px; padding: 14px 14px 12px 19px; color: inherit; text-decoration: none; }
.job .when { font-family: var(--display); font-weight: 700; min-width: 92px; font-variant-numeric: tabular-nums; }
.job .what { flex: 1; min-width: 0; }
.job-links { display: flex; flex-direction: column; gap: 4px; padding: 0 14px 14px 123px; font-size: .9rem; }
.job-links a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
@media (max-width: 420px) { .job-links { padding-left: 19px; } .job .when { min-width: 80px; } }
.assign { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px 19px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; background: #fff; }
.pill:has(input:checked) { background: #fde8ea; border-color: var(--red); }
.running-bar { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #17803a, #0f6a2d); color: #fff; text-decoration: none; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); }
.big-when { font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin: 0 0 12px; }
.btn { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 14px; background: rgb(16 19 24 / .05); color: var(--ink); text-decoration: none; width: 100%; font-weight: 600; transition: transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--red); color: #fff; justify-content: center; }
.note { background: #fff1d6; border-radius: var(--r-s); padding: 12px 14px; margin: 10px 0; }
.note p { margin: 4px 0 0; }
details summary { cursor: pointer; padding: 6px 0; color: var(--red-deep); font-weight: 600; }
button, .button { font: inherit; font-weight: 600; border: 0; border-radius: 14px; padding: 13px 18px; background: rgb(16 19 24 / .06); color: var(--ink); cursor: pointer; transition: transform .15s var(--ease), background .2s; }
button:active { transform: scale(.98); }
button.primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px rgb(227 6 19 / .7); }
button.dark { background: var(--ink); color: #fff; }
button.big { width: 100%; padding: 19px; font-size: 1.15rem; font-weight: 700; border-radius: 18px; }
button.link { background: none; color: var(--red-deep); padding: 6px 0; text-decoration: underline; box-shadow: none; font-weight: 600; }
button.link.danger, .danger { color: var(--red); }
/* #41: customers deleted in Nextcloud */
.warn-card > summary .badge { margin-left: 6px; }
ul.entries.missing > li { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 10px 0; }
ul.entries.missing .chk { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
ul.entries.missing .chk > span { min-width: 0; overflow-wrap: anywhere; }
ul.entries.missing .chk > input { flex: none; }
ul.entries.missing .badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.missing-form .row { flex-wrap: wrap; }
button.danger-btn { background: var(--red); color: #fff; }
button:disabled { opacity: .5; }
:focus-visible { outline: 3px solid rgb(61 156 201 / .6); outline-offset: 2px; }
.timer-buttons { display: grid; gap: 12px; }
.clock { text-align: center; font-family: var(--display); font-size: 1.15rem; margin: 6px 0 16px; color: var(--muted); }
.people { border: 0; padding: 0; margin: 0 0 8px; }
.people legend { font-weight: 700; margin-bottom: 4px; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin: 10px 0; }
label.chk { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 1rem; font-weight: 500; color: var(--ink); }
label.chk input { width: 22px; height: 22px; accent-color: var(--red); }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea {
  display: block; width: 100%; font: inherit; font-weight: 500; color: var(--ink); padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-top: 5px; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { outline: none; border-color: var(--water-deep); box-shadow: 0 0 0 4px rgb(61 156 201 / .18); }
.inline-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; align-items: end; }
.inline-edit .full, .inline-edit button { grid-column: 1 / -1; }
.inline-edit button { margin-top: 6px; }
.row { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0; }
ul.entries, ul.devices { list-style: none; padding: 0; margin: 6px 0; }
/* #43: window groups on the building page and the per-appointment choice */
details.fold-inline { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
details.fold-inline > summary { font-weight: 700; cursor: pointer; }
ul.entries.groups > li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 10px 0; }
ul.entries.groups > li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.group-form { width: 100%; }
h3.small-head { font-size: .95rem; margin: 12px 0 4px; }
.group-pick .chk { display: flex; gap: 8px; align-items: baseline; }
.scope-note { margin: 6px 0; }
ul.entries li { border-top: 1px solid var(--line); }
/* #104: who of the team sees a price, one line under each building on /prices; filter chips + person pick */
ul.price-list .vis-line { display: block; margin-top: 2px; }
ul.price-list li[data-vis="shown"] .vis-line { color: var(--red-deep); font-weight: 600; }
/* owner 2026-12-05: the agreed price and what to do with it, right under the name */
ul.price-list .price-now { display: block; margin-top: 2px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
ul.price-list .verdict { display: block; margin-top: 2px; font-weight: 600; white-space: normal; }
ul.price-list .verdict.v-raise { color: var(--red-deep); }
ul.price-list .verdict.v-soon, ul.price-list .verdict.v-watch { color: var(--amber); }
ul.price-list .verdict.v-keep { color: var(--green); }
ul.price-list .verdict.v-open { color: var(--muted); font-weight: 500; }
ul.price-list .rate-line { display: block; margin-top: 2px; }
form.price-filter { margin: 4px 0 10px; }
form.price-filter fieldset.chips { margin-bottom: 8px; }
ul.price-list li > a > .badge { align-self: flex-start; flex: none; }
/* #72: the owner's three choices for a customer from an online booking; the team's view of a booking */
.booking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 4px; }
.booking-team { margin: 10px 0; }
.booking-team > p { margin: 4px 0; }
/* #71: "Braucht dich" wish line: the link takes the row, "später" sits at its right end */
ul.entries li.wish-line { display: flex; align-items: center; gap: 10px; }
ul.entries li.wish-line > a { flex: 1; min-width: 0; }
ul.entries li.wish-line > form { flex: none; margin: 0; }
ul.entries summary, ul.entries li > a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
ul.devices li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.syncline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
table.times { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.times th, table.times td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.qrbox { max-width: 280px; margin: 0 auto; padding: 12px; background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow); }
.qrbox svg { width: 100%; height: auto; }
.dayblock { margin-bottom: 8px; }
/* kind of work per entry and sums per kind (#53): small, calm, no extra card */
ul.entries li > a > .entry-what { min-width: 0; overflow-wrap: anywhere; }
.kind { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.kind.none { color: var(--muted); font-weight: 500; font-style: italic; }
ul.method-sums { margin: 4px 0 10px; }
ul.method-sums li.row { margin: 0; padding: 7px 0; font-variant-numeric: tabular-nums; }
ul.method-sums li.row .kind { font-size: .9rem; }
/* #107: team month on /times: one row per person (name left, hours right) */
ul.month-people li > a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
/* #107 owner review: the jobs of one person's month, each with its hours per kind of work */
ul.month-job-list li > a > .mj-main { min-width: 0; overflow-wrap: anywhere; }
ul.month-job-list .mj-when { color: var(--muted); font-size: .85rem; }
ul.month-job-list .mj-kinds { display: block; margin-top: 2px; color: var(--ink-2); white-space: normal; }
ul.month-job-list .mj-sum { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
details.month-jobs { margin-top: 6px; }
/* #54: per-person Zeiten page — ‹ Name | n/N | Name › and the linked name on the overview cards */
.person-step { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; margin: 0 0 12px; }
.person-step .btn { width: auto; min-width: 0; padding: 11px 12px; }
.person-step [data-next] { justify-content: flex-end; }
.person-step .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.person-link { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
a.person-link > span { color: var(--red); }
ul.entries summary > span:last-child, ul.entries li > a > span:last-child, .row > :last-child { white-space: nowrap; }
/* buildings, documentation, activities */
.search input { border-radius: 99px; padding-left: 18px; box-shadow: var(--shadow); }
ul.objects { list-style: none; padding: 0; margin: 12px 0; }
.object-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; color: inherit; text-decoration: none; transition: transform .15s var(--ease); }
.object-card:active { transform: scale(.99); }
.object-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--water); color: #1d6f96; flex: none; }
.object-icon svg.i { width: 24px; height: 24px; }
.object-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.object-main strong { font-family: var(--display); font-size: 1.05rem; }
dl.facts { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 8px 0; }
dl.facts dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-top: 10px; }
dl.facts dd { margin: 0; }
.card.building h2 { display: flex; align-items: center; gap: 8px; }
.suggest { display: grid; gap: 8px; margin: 8px 0; }
.suggest.found .btn { flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.suggest.found .btn span { overflow-wrap: anywhere; }
.obj-search { display: flex; gap: 8px; align-items: flex-end; margin: 8px 0; }
.obj-search label { flex: 1; min-width: 0; }
.obj-search input { width: 100%; }
.upload { display: grid; gap: 8px; margin-bottom: 14px; }
.upload-row { display: flex; gap: 8px; }
.upload-row select { margin-top: 0; width: auto; }
.filebtn { position: relative; overflow: hidden; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 14px; border: 2px dashed rgb(61 156 201 / .5); border-radius: 14px; background: rgb(61 156 201 / .07); color: #1d6f96; font-size: 1rem; cursor: pointer; }
/* the real file input covers ONLY its own label (inset 0); the generic input rule gives inputs width 100%, which used to stretch an invisible input over the neighbouring dropdown */
.filebtn input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0 !important; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.filebtn:focus-within { outline: 3px solid rgb(61 156 201 / .6); }
.upload-status { margin: 0; }
ul.gallery { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
ul.gallery li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
ul.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); }
ul.gallery .cap { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
@media (min-width: 700px) { ul.gallery { grid-template-columns: repeat(3, 1fr); } }
.note-form { margin-top: 12px; }
ul.notes { list-style: none; padding: 0; margin: 12px 0 0; }
ul.notes li { border-top: 1px solid var(--line); padding: 8px 0; }
ul.notes p { margin: 2px 0; }
form.inline { display: inline; }
table.stats td:first-child { font-weight: 600; }
li.act { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 0; }
li.act form { flex: none; }
.act-form { margin-top: 10px; }
/* tasks / checklist */
ul.tasks { list-style: none; padding: 0; margin: 8px 0; }
ul.tasks li { border-top: 1px solid var(--line); padding: 10px 0; }
ul.tasks li.overdue .t-main strong { color: var(--red-deep); }
.t-main { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
ul.check { list-style: none; padding: 0; margin: 8px 0; }
ul.check > li { border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px; margin-bottom: 10px; background: #fff; }
ul.check > li.done { background: #eef8f1; border-color: #bfe3cb; }
ul.check > li.not_done { background: #fff6e5; border-color: #f1d49b; }
.check-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.check-btns button { width: 100%; }
.geo-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* tenant feedback */
.navicon { position: relative; display: inline-flex; }
.navbadge { position: absolute; top: -4px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font-size: .65rem; line-height: 17px; text-align: center; }
.feedback-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
fieldset.choices { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
label.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: var(--r-m); background: #fff; margin: 0; font-size: 1rem; color: var(--ink); font-weight: 500; cursor: pointer; }
label.choice:has(input:checked) { border-color: var(--red); background: #fff5f5; }
label.choice input { width: 22px; height: 22px; flex: none; accent-color: var(--red); margin: 2px 0 0; }
label.choice > span { display: flex; flex-direction: column; gap: 2px; }
fieldset.areas { border: 1px solid var(--line); border-radius: var(--r-m); padding: 8px 12px; margin: 0 0 8px; }
[hidden] { display: none !important; }
.fb-photo { display: block; max-width: 100%; max-height: 280px; border-radius: var(--r-m); margin: 8px 0; }
.card.fb.bad { border-left: 5px solid #d98a00; }
.card.fb.wish { border-left: 5px solid var(--water-deep); }
.card.fb.ok { border-left: 5px solid var(--green); }
/* #62: feedback inbox, one line per item (building + kind, then date · first words); the form opens on tap */
.fb-count { margin: 0 4px 8px; }
details.card.fold.fb-item { margin-bottom: 8px; }
details.card.fold.fb-item > summary { padding: 11px 14px; font-family: inherit; font-weight: 400; font-size: 1rem; }
.fb-sum { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; flex: 1; }
.fb-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.fb-name { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-top .badge { margin: 0; flex: none; }
.fb-sub { color: var(--muted); font-size: .86rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-ph { color: var(--ink-2); }
ul.visits { list-style: none; padding: 0; margin: 4px 0; }
ul.visits li { border-top: 1px solid var(--line); padding: 10px 0; }
ul.visits li:first-child { border-top: 0; }
ul.visits p { margin: 2px 0; }
li.closed-fb { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; }
/* folded cards: one tidy line each, tap to open */
details.card.fold { padding: 0; }
details.card.fold > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 15px 16px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); cursor: pointer; margin: 0; }
details.card.fold > summary::-webkit-details-marker { display: none; }
details.card.fold > summary::after { content: ''; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); flex: none; }
details.card.fold[open] > summary::after { transform: rotate(-135deg); }
details.card.fold[open] > summary { border-bottom: 1px solid var(--line); }
details.card.fold > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.card.fold > :last-child { margin-bottom: 16px; }
details.card.fold > summary + * { margin-top: 12px; }
details.card.fold h2 { display: none; }
details.card.fold h2 ~ h2 { display: block; }
details.card.fold > form > h2, details.card.fold > h2 { display: block; }
ul.more { list-style: none; padding: 0; margin: 0; }
ul.more a { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; color: inherit; text-decoration: none; }
ul.more a > span:last-child { display: flex; flex-direction: column; gap: 2px; }
ul.more strong { font-family: var(--display); font-size: 1.05rem; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; }
/* calmer checklist rows */
ul.check > li { padding: 12px 14px; }
.check-row { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.check-row > form { flex: 1; }
.check-row > form button { width: 100%; }
.check-row > details.notdone { flex: 1; }
.check-row > details.notdone > summary { list-style: none; text-align: center; padding: 13px 18px; margin: 0; border-radius: 14px; background: rgb(16 19 24 / .06); color: var(--ink); font-weight: 600; cursor: pointer; }
.check-row > details.notdone > summary::-webkit-details-marker { display: none; }
.check-row > details.notdone[open] { flex-basis: 100%; }
.check-row > details.notdone form { margin-top: 8px; display: grid; gap: 8px; }
.task-tools { display: inline-flex; gap: 14px; align-items: center; font-size: .9rem; }
details.add-doc { margin: 0 0 12px; }
details.add-doc > summary { padding: 12px 14px; border: 2px dashed rgb(61 156 201 / .5); border-radius: 14px; background: rgb(61 156 201 / .07); color: #1d6f96; font-weight: 700; cursor: pointer; text-align: center; list-style: none; }
details.add-doc > summary::-webkit-details-marker { display: none; }
details.add-doc[open] > summary { margin-bottom: 12px; }
/* timer buttons: small, one row, text on the left, icon on the right; a running one becomes a red stop button */
.timer-buttons { display: flex; flex-direction: column; gap: 8px; } /* one button per kind of work, one per row: long names, thumb-sized */
button.tbtn { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 8px 10px 8px 12px; font-size: .95rem; font-weight: 700; text-align: left; border-radius: 12px; white-space: nowrap; }
button.tbtn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
button.tbtn.stop { flex-grow: 2; }
button.tbtn svg.i { width: 16px; height: 16px; flex: none; }
button.tbtn.start:not(.primary) { background: rgb(16 19 24 / .07); color: var(--ink); }
button.tbtn.stop { background: var(--red); color: #fff; box-shadow: 0 0 0 3px rgb(227 6 19 / .18); }
button.tbtn.pending { opacity: .85; }
button.tbtn.pending[disabled] { opacity: .85; }
.timer .clock { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; text-align: left; font-size: .95rem; margin: 0 0 10px; }
.timer .clock-h { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.timer .clock-t { color: var(--muted); text-align: right; min-width: 0; }
.timer .clock-t .live { font-family: var(--display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.timer .people { margin-bottom: 4px; }
.timer .people label.chk { padding: 3px 0; font-size: .95rem; }
form.left { text-align: left; }
details.qr-login { margin-top: 18px; text-align: left; }
details.qr-login > summary { text-align: center; }
/* the times right under the buttons: one line each, pen opens the edit form */
ul.tlist { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
ul.tlist > li { border-bottom: 1px solid var(--line); }
ul.tlist summary { list-style: none; display: grid; grid-template-columns: 1fr auto auto 28px; gap: 8px; align-items: center; padding: 9px 0; cursor: pointer; font-size: .92rem; color: var(--ink); font-weight: 500; }
ul.tlist summary::-webkit-details-marker { display: none; }
ul.tlist .tl-what { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
ul.tlist .tl-when { color: var(--muted); font-variant-numeric: tabular-nums; }
ul.tlist .tl-dur { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
ul.tlist .pen { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--red-deep); }
ul.tlist details[open] .pen { background: rgb(227 6 19 / .08); }
ul.tlist details form { padding: 4px 0 12px; }
.timer details.add > summary { padding: 10px 0 0; font-size: .9rem; }
/* door info */
.card.info .when-line { margin: 0 0 10px; font-size: 1.05rem; }
.card.info .when-line strong { font-family: var(--display); font-size: 1.2rem; }
.quick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
.quick .btn { min-width: 0; }
.quick .btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
dl.facts.compact { display: grid; grid-template-columns: minmax(0, 7.5em) 1fr; gap: 4px 12px; margin: 10px 0; }
dl.facts.compact dt { margin: 0; align-self: baseline; }
dl.facts.compact dd { align-self: baseline; }
/* checklist rows: compact */
ul.check > li { padding: 10px 12px; margin-bottom: 8px; }
.check-row { margin-top: 8px; }
.check-row button, .check-row > details.notdone > summary { min-height: 40px; padding: 8px 12px; }
/* login: who are you, show password */
.who-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: rgb(16 19 24 / .06); border-radius: 14px; margin: 0 0 14px; }
.who-tabs .who { text-align: center; padding: 10px 8px; border-radius: 11px; font-weight: 700; color: var(--muted); text-decoration: none; }
.who-tabs .who.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(16 19 24 / .12); }
p.left { text-align: left; }
.pw { position: relative; display: block; }
.pw input { padding-right: 92px !important; }
.pw .reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin-top: 2px; padding: 6px 10px; min-height: 0; font-size: .82rem; font-weight: 600; background: rgb(16 19 24 / .06); border-radius: 10px; box-shadow: none; }
/* customers */
li.cust-row { display: flex; gap: 6px; align-items: stretch; }
li.cust-row .object-card { flex: 1; min-width: 0; margin-bottom: 12px; }
li.cust-row .call { display: grid; place-items: center; width: 48px; flex: none; margin-bottom: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--green); }
li.cust-row .call svg.i { width: 22px; height: 22px; }
.quick .btn .ph-label { margin-left: auto; flex: none; }
/* #76: a flat's floor right after the address; the line wraps instead of cutting the city or the floor off */
.quick .btn span.addr-floor { white-space: normal; overflow-wrap: anywhere; }
.quick .btn .floor { white-space: nowrap; }
/* the "Etage" field only while Objektart = Wohnung is picked */
form .floor-field { display: none; }
form:has(select[name=kind] option[value=wohnung]:checked) .floor-field { display: block; }
/* #74: area name drop-down; the text field only for "Anderer Name …" */
.area-name .area-other { display: none; }
.area-name:has(option[value=__other]:checked) .area-other { display: block; }
.cust-line { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 600; }
fieldset.phones { border: 0; padding: 0; margin: 10px 0; }
fieldset.phones legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.phone-row { display: grid; grid-template-columns: 1fr; gap: 4px; margin-bottom: 10px; }
@media (min-width: 420px) { .phone-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 6px; } }
.phone-row input { margin-top: 0 !important; }
.phone-row input.ph-lbl { font-size: .9rem; padding-top: 9px; padding-bottom: 9px; }
/* sizes */
fieldset.sizes { border: 1px solid var(--line); border-radius: var(--r-m); padding: 8px 12px 4px; margin: 10px 0; }
fieldset.sizes legend { font-weight: 700; padding: 0 4px; }
fieldset.sizes > p { margin: 0 0 4px; }
.size-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.size-grid { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 6px; }
/* one row per field; input and unit share the section's columns (subgrid), so every box lines up and the unit column is as wide
   as its longest word ("Wohnungen", Serbian "spratovi") */
.size-grid > label { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; margin: 6px 0; }
.size-grid > label > .unit-in { display: contents; }
.size-grid > label > .unit-in > input { grid-column: 2; }
.size-grid > label > .unit-in > span { grid-column: 3; }
.size-grid > label > .muted { grid-column: 1 / -1; margin-top: 2px; }
.unit-in { display: flex; align-items: center; gap: 6px; }
.unit-in input { text-align: right; font-variant-numeric: tabular-nums; margin-top: 0 !important; padding: 10px 10px !important; min-width: 0; }
/* as specific as the generic input rule (width: 100%), so the number field keeps one fixed width */
.unit-in > input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { flex: none; width: 78px; }
/* the unit column takes the width of its longest word ("Wohnungen", Serbian "spratovi"), short units stay aligned */
.unit-in > span { flex: none; min-width: 3.1em; white-space: nowrap; color: var(--muted); font-size: .85rem; font-weight: 600; }
/* planning */
.plan-day h2 { display: flex; align-items: center; justify-content: space-between; }
.plan-day .day-add { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: #fff; box-shadow: var(--shadow); color: var(--red); text-decoration: none; font-size: 1.2rem; font-weight: 700; }
.plan-day.empty .free { margin: -2px 4px 6px; }
.plan-day.empty h2 { margin-bottom: 2px; }
details.plan-tools { padding: 0 14px 12px 19px; }
details.plan-tools > summary { font-size: .88rem; padding: 2px 0; }
/* #63: calendar jobs only have "Kopieren": a small "…" button in the card's top right instead of its own line */
article.job.plan.has-dots { position: relative; }
article.job.plan.has-dots .what > strong { display: block; padding-right: 30px; } /* only the title line shares the row with the button */
details.plan-tools.dots:not([open]) { padding: 0; }
details.plan-tools.dots > summary { position: absolute; top: 4px; right: 4px; width: 40px; height: 36px; display: grid; place-items: center; list-style: none;
  border-radius: 12px; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0; }
details.plan-tools.dots > summary::-webkit-details-marker { display: none; }
details.plan-tools.dots[open] > summary { background: rgb(16 19 24 / .07); color: var(--ink); }
details.plan-tools.dots[open] { padding-top: 2px; }
.copy-form { grid-template-columns: 1fr auto; }
.copy-form button { grid-column: auto !important; align-self: end; }
fieldset.people-pick { border: 0; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; }
fieldset.people-pick legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; width: 100%; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .top, nav.bottom { display: none; } body { background: #fff; padding: 0; } .card, .job { box-shadow: none; } }
.btn.btn-auto { width: auto; }
ul.recovery { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: 1.05rem; }
ul.recovery li { padding: 6px 8px; background: rgb(16 19 24 / .05); border-radius: 8px; text-align: center; }

/* tap labels above a note field (kinds of work): one may be chosen, a second tap clears it */
fieldset.chips { border: 0; margin: 4px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
label.chip { position: relative; display: inline-flex; }
label.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
label.chip span { display: inline-block; padding: 7px 14px; min-height: 36px; line-height: 22px; border-radius: 99px; font-size: .92rem; font-weight: 600;
  background: rgb(16 19 24 / .07); color: var(--ink-2); border: 1px solid transparent; }
label.chip input:checked + span { background: rgb(227 6 19 / .1); color: var(--red-deep); border-color: rgb(227 6 19 / .45); }
label.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
/* #32: a contact changed in the app and in Nextcloud: both versions stacked (phones are narrow), differences marked */
.card.conflict { border: 2px solid rgb(227 6 19 / .45); }
.conflict .versions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 10px 0; }
.conflict .version { min-width: 0; padding: 10px 12px; border-radius: var(--r-s); background: rgb(16 19 24 / .04); }
.conflict .version h3 { margin: 0 0 4px; font-size: 1rem; }
.conflict dd { min-width: 0; overflow-wrap: anywhere; }
.conflict dd.diff { font-weight: 700; color: var(--red-deep); }
.conflict-choice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 6px 0; }
@media (min-width: 640px) { .conflict .versions, .conflict-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* current week: days already over hide behind one line until it is opened (Planung + Meine Woche) */
details.past-toggle { margin: 14px 0 4px; }
details.past-toggle > summary { cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 700; padding: 8px 4px; }
details.past-toggle:not([open]) ~ section.past { display: none; }
/* "Braucht dich" on the owner's planning page */
.card.needs h2 { margin: 0 0 6px; }
.card.needs ul.entries { margin: 0; }
.card.needs ul.entries a { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 8px 0; }
.card.needs ul.entries a > span:first-child { min-width: 0; }
/* job page: the next own job today, after the own time was stopped */
.card.next-job p { margin: 0 0 4px; }
.card.next-job .job-main { display: block; color: var(--ink); text-decoration: none; margin-bottom: 10px; }
.card.next-job .btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* "Objekt bearbeiten": one menu, one line per section (title + what is in it), a section opens on tap and saves on its own */
details.card.fold > details.sec { margin: 0; border-top: 1px solid var(--line); }
details.card.fold > summary + details.sec { margin-top: 0; border-top: 0; }
details.card.fold > details.sec:last-child { margin-bottom: 0; }
details.sec > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; cursor: pointer; font-weight: 700; color: var(--ink); }
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary > span:first-child { flex: none; }
details.sec > summary > span:last-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-weight: 500; }
details.sec > summary::after { content: ''; order: 3; flex: none; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s var(--ease); }
details.sec[open] > summary::after { transform: rotate(45deg); }
details.sec[open] > summary { color: var(--red-deep); }
details.sec > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.sec > :last-child:not(summary) { margin-bottom: 16px; }
details.sec[open] { background: rgb(16 19 24 / .02); }

/* jump targets (#links, after-save redirects) stop below the sticky top bar instead of under it */
html { scroll-padding-top: 68px; }

/* building page: every card has a pen (owner) that turns the card into its form in place */
.card-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; min-height: 40px; }
.card-head h2 { margin: 0; flex: 1; min-width: 0; }
a.pen-btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--red-deep); background: rgb(227 6 19 / .07); margin: -4px -4px -4px 0; }
a.pen-btn:active { transform: scale(.95); }
a.pen-btn svg.i { width: 20px; height: 20px; }
.card.editing { border-color: var(--water-deep); box-shadow: 0 0 0 4px rgb(61 156 201 / .18), var(--shadow); }
.card.editing > .msg, .card > .msg { margin-bottom: 10px; }
/* button row of a card in edit mode: Speichern on the right, Abbrechen left of it, an extra action (.left) on the left */
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; font-size: .95rem; }
.form-actions a { font-weight: 600; white-space: nowrap; padding: 10px 2px; }
.form-actions button { white-space: nowrap; padding: 13px 12px; }
.form-actions > .primary { order: 2; }
.form-actions > .left { order: -1; margin-right: auto; }
/* counts of a building or an area: one line per kind, tap to open its fields */
.size-folds { border: 1px solid var(--line); border-radius: var(--r-m); margin: 10px 0; }
details.size-fold + details.size-fold { border-top: 1px solid var(--line); }
details.size-fold > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 10px 12px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 46px; }
details.size-fold > summary::-webkit-details-marker { display: none; }
/* the kind, and under it what is entered (may wrap: long window lines stay readable) */
details.size-fold > summary > span { grid-column: 1; min-width: 0; overflow-wrap: anywhere; }
details.size-fold > summary > span:last-child { font-weight: 500; }
details.size-fold > summary::after { content: ''; grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); margin: -4px 4px 0 0; }
details.size-fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.size-fold[open] > summary { color: var(--red-deep); }
details.size-fold > :not(summary) { margin-left: 12px; margin-right: 12px; }
details.size-fold > p { margin-top: 0; margin-bottom: 4px; }
details.size-fold > .size-grid { margin-bottom: 8px; }
ul.entries.groups > li > form.group-form { padding: 4px 0 10px; }
.form-actions a.btn.done { justify-content: center; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
.pair.street { grid-template-columns: minmax(0, 1fr) 6.2em; }
.pair.zip { grid-template-columns: 6.2em minmax(0, 1fr); }
.pair > label { min-width: 0; }
.head-card { position: relative; }
.obj-title { flex: 1; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 1.1rem; overflow-wrap: anywhere; }
.obj-title strong { font-family: var(--display); }
.obj-title a { color: inherit; text-decoration: none; }
.obj-title .badge { margin: 0; }
.obj-label { margin: -4px 0 8px; font-weight: 600; overflow-wrap: anywhere; }
/* "…" next to the header pen: move to another customer, archive */
.head-card .card-head { padding-right: 44px; }
details.obj-more > summary { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; list-style: none; border-radius: 12px; color: var(--muted); padding: 0; }
details.obj-more > summary::-webkit-details-marker { display: none; }
details.obj-more[open] > summary { background: rgb(16 19 24 / .07); color: var(--ink); }
details.obj-more[open] { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
.areas-edit { border-top: 1px solid var(--line); margin-top: 14px; }
ul.entries.groups > li > .row { margin: 0; gap: 16px; align-items: baseline; }
ul.entries.groups > li > .row form { margin: 0; }

/* entrance door tick inside the value fields */
.size-folds > label.door-chk { border-top: 1px solid var(--line); margin: 0; padding: 10px 12px; font-weight: 700; }
.size-folds > label.door-chk > span { min-width: 0; }
/* Objektdaten from the team (owner: building page + appointment; team: own suggestions waiting) */
.proposals { border: 2px solid rgb(227 6 19 / .35); border-radius: var(--r-m); padding: 4px 12px 2px; margin: 0 0 12px; background: rgb(227 6 19 / .03); }
.proposals h3.small-head { margin-top: 8px; }
ul.proposals-list > li, ul.my-props > li { display: block; padding: 10px 0; }
ul.proposals-list > li .form-actions { margin-top: 8px; }
.prop-head { margin: 0 0 4px; }
ul.prop-lines { list-style: none; padding: 0; margin: 4px 0; }
ul.prop-lines > li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border: 0; font-variant-numeric: tabular-nums; }
ul.prop-lines > li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
ul.prop-lines > li > span:last-child { white-space: nowrap; }
details.prop-area { border: 1px solid var(--line); border-radius: var(--r-m); margin: 8px 0; }
details.prop-area > form { margin: 0 12px 12px; }
#reinigen details.add > summary { padding: 12px 0 4px; }

/* owner: "see the app as this employee" (read-only) */
.viewas-bar { position: sticky; top: 0; z-index: 7; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 8px; height: 41px; box-sizing: border-box; padding: 0 14px; padding-top: env(safe-area-inset-top); background: #fff1d6; color: var(--amber); border-bottom: 2px solid var(--amber); font-size: .9rem; }
.viewas-bar + .top { top: 41px; }
.viewas-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewas-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.viewas-form select { max-width: 11rem; }
.viewas-exit { background: var(--amber); color: #fff; border: 0; border-radius: 999px; padding: 5px 14px; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.viewas-pick .viewas-form select { flex: 1; }
/* assistant: suggestions (now / new) and ideas for the app (plan step A1) */
dl.sugg-diff { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; margin: 6px 0; font-size: .92rem; }
dl.sugg-diff dt { color: var(--muted); font-weight: 600; }
dl.sugg-diff dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
ul.sugg-list > li { display: block; padding: 10px 0; }
ul.sugg-list details.fold-inline > summary { font-size: .92rem; font-weight: 600; color: var(--red-deep); }
ul.entries.rates > li { display: block; padding: 10px 0; }
.idea-body { min-width: 0; }
textarea.idea-text { box-sizing: border-box; margin: 0 0 4px; white-space: pre-wrap; }
.idea-body form { margin-top: 12px; }

/* A4: the assistant's week draft in Planung: dashed cards that only the owner sees, until he taps "Einplanen" */
article.job.plan.draft { background: #fffafa; border: 2px dashed rgb(227 6 19 / .45); box-shadow: none; }
article.job.plan.draft::before { background: transparent; }
article.job.plan.draft.stale { border-color: var(--amber); background: #fffaf0; }
article.job.plan.draft .what p { margin: 6px 0 0; }
article.job.plan.draft > .msg, article.job.plan.draft > form.form-actions, article.job.plan.draft > details.fold-inline { margin: 0 14px 10px 19px; }
article.job.plan.draft > details.fold-inline > summary { font-size: .88rem; }
.badge.draft { background: transparent; border: 1px dashed var(--red); color: var(--red-deep); }
section.card.draft-week { border: 2px dashed rgb(227 6 19 / .45); }
form.draft-day { margin: -4px 0 12px; text-align: right; }
form.draft-day button { font-size: .9rem; }
section.card.sugg-drafts { border: 2px dashed rgb(227 6 19 / .45); padding: 12px 16px; }
section.card.sugg-drafts a { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: inherit; text-decoration: none; }

/* #90 calendar views (/kalender). Positions are classes (t-<quarter hour>, h-<quarters>, ln-<lane>-<lanes>) because the
   Content-Security-Policy forbids inline style attributes; one quarter hour = var(--q). Generated block, see src/lib/calview.ts. */
.cal-views { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 10px; padding: 3px; background: rgb(16 19 24 / .05); border-radius: 99px; scrollbar-width: none; }
.cal-views a { flex: 1 0 auto; text-align: center; padding: 7px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.cal-views a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.cal-time { --q: 12px; --gut: 38px; background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow); overflow: hidden; }
.cal-head, .cal-allday, .cal-body { display: grid; grid-template-columns: var(--gut) repeat(var(--cols, 7), minmax(0, 1fr)); }
.cal-time.cols-1 { --cols: 1; } .cal-time.cols-3 { --cols: 3; } .cal-time.cols-5 { --cols: 5; } .cal-time.cols-7 { --cols: 7; }
.cal-head { border-bottom: 1px solid var(--line); }
.cal-dh { display: grid; justify-items: center; padding: 6px 0; text-decoration: none; color: var(--ink-2); font-size: .72rem; min-width: 0; }
.cal-dh strong { font-size: 1.05rem; color: var(--ink); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; }
.cal-dh.today strong { background: var(--red); color: #fff; }
.cal-allday { border-bottom: 1px solid var(--line); padding: 3px 0; }
.cal-allday > div { min-width: 0; padding: 0 1px; }
.cal-scroll { max-height: calc(100vh - 290px); min-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
.cal-gutter { position: relative; }
.cal-hour { height: calc(4 * var(--q)); border-top: 1px solid var(--line); box-sizing: border-box; }
.cal-gutter .cal-hour { border-top: 0; font-size: .66rem; color: var(--ink-2); text-align: right; padding-right: 4px; }
.cal-gutter .cal-hour span { position: relative; top: -.6em; }
.cal-col { position: relative; border-left: 1px solid var(--line); min-width: 0; }
.cal-col.today { background: rgb(227 6 19 / .03); }
.cal-col.drop, .cal-cell.drop { background: rgb(29 63 122 / .08); }
.cal-ev { position: absolute; left: 1px; right: 1px; box-sizing: border-box; overflow: hidden; border-radius: 6px; padding: 2px 4px; font-size: .7rem; line-height: 1.2;
  background: #eceef1; color: var(--ink); text-decoration: none; border-left: 3px solid #9aa1ab; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.cal-ev strong { font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.cal-ev .cal-t { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cal-ev .cal-who { display: block; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.app, .cal-chip.app { background: #fde8ea; border-left-color: var(--red); }
.cal-ev.unassigned, .cal-chip.unassigned { box-shadow: inset 0 0 0 1px #f0a640; }
.cal-ev.cancelled, .cal-chip.cancelled { opacity: .55; text-decoration: line-through; }
.cal-ev[data-move] { cursor: grab; }
.cal-ev.lifted, .cal-chip.lifted { opacity: .35; }
.cal-ev.saving, .cal-chip.saving { opacity: .7; outline: 2px dashed var(--red); outline-offset: -2px; }
.cal-ghost { position: fixed; z-index: 50; pointer-events: none; box-shadow: 0 6px 18px rgb(0 0 0 / .25); opacity: .95; }
.cal-drop-time { position: fixed; z-index: 51; pointer-events: none; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow); overflow: hidden; }
.cal-mhead { text-align: center; font-size: .72rem; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 92px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 2px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cal-cell:nth-child(7n + 1) { border-left: 0; }
.cal-cell.out { background: rgb(16 19 24 / .03); }
.cal-cell.out .cal-dnum { color: var(--ink-2); }
.cal-dnum { font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--ink); align-self: center; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 99px; }
.cal-cell.today .cal-dnum { background: var(--red); color: #fff; }
.cal-chip { display: block; font-size: .66rem; line-height: 1.25; padding: 1px 3px; border-radius: 4px; background: #eceef1; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 2px solid #9aa1ab; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.cal-chip .cal-t { color: var(--ink-2); display: none; }
.cal-more { font: inherit; font-size: .66rem; color: var(--ink-2); background: none; border: 0; padding: 2px 3px; margin: 0; text-align: left; cursor: pointer; border-radius: 4px; width: auto; min-height: 0; box-shadow: none; }
.cal-more:hover, .cal-cell.open .cal-more { color: var(--ink); background: rgb(16 19 24 / .05); }
.cal-cell:not(.open) .cal-chip.extra { display: none; }
.cal-zoom { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.cal-zoom[hidden] { display: none; }
.cal-zoom button { font: inherit; font-size: 1rem; font-weight: 600; line-height: 1; width: 32px; height: 28px; min-height: 0; padding: 0; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; box-shadow: none; }
.cal-scroll { touch-action: pan-x pan-y; }
.cal-legend { margin-top: 10px; }
.cal-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #eceef1; border-left: 3px solid #9aa1ab; vertical-align: -1px; }
.cal-key.app { background: #fde8ea; border-left-color: var(--red); }
.cal-key.unassigned { box-shadow: inset 0 0 0 1px #f0a640; }
@media (min-width: 700px) { .cal-time { --q: 14px; --gut: 46px; } .cal-ev { font-size: .78rem; } .cal-chip { font-size: .74rem; } .cal-chip .cal-t { display: inline; } .cal-cell { min-height: 110px; } }
.cal-ev.t-0{top:calc(0*var(--q))}.cal-ev.t-1{top:calc(1*var(--q))}.cal-ev.t-2{top:calc(2*var(--q))}.cal-ev.t-3{top:calc(3*var(--q))}.cal-ev.t-4{top:calc(4*var(--q))}.cal-ev.t-5{top:calc(5*var(--q))}.cal-ev.t-6{top:calc(6*var(--q))}.cal-ev.t-7{top:calc(7*var(--q))}.cal-ev.t-8{top:calc(8*var(--q))}.cal-ev.t-9{top:calc(9*var(--q))}.cal-ev.t-10{top:calc(10*var(--q))}.cal-ev.t-11{top:calc(11*var(--q))}.cal-ev.t-12{top:calc(12*var(--q))}.cal-ev.t-13{top:calc(13*var(--q))}.cal-ev.t-14{top:calc(14*var(--q))}.cal-ev.t-15{top:calc(15*var(--q))}.cal-ev.t-16{top:calc(16*var(--q))}.cal-ev.t-17{top:calc(17*var(--q))}.cal-ev.t-18{top:calc(18*var(--q))}.cal-ev.t-19{top:calc(19*var(--q))}.cal-ev.t-20{top:calc(20*var(--q))}.cal-ev.t-21{top:calc(21*var(--q))}.cal-ev.t-22{top:calc(22*var(--q))}.cal-ev.t-23{top:calc(23*var(--q))}.cal-ev.t-24{top:calc(24*var(--q))}.cal-ev.t-25{top:calc(25*var(--q))}.cal-ev.t-26{top:calc(26*var(--q))}.cal-ev.t-27{top:calc(27*var(--q))}.cal-ev.t-28{top:calc(28*var(--q))}.cal-ev.t-29{top:calc(29*var(--q))}.cal-ev.t-30{top:calc(30*var(--q))}.cal-ev.t-31{top:calc(31*var(--q))}.cal-ev.t-32{top:calc(32*var(--q))}.cal-ev.t-33{top:calc(33*var(--q))}.cal-ev.t-34{top:calc(34*var(--q))}.cal-ev.t-35{top:calc(35*var(--q))}.cal-ev.t-36{top:calc(36*var(--q))}.cal-ev.t-37{top:calc(37*var(--q))}.cal-ev.t-38{top:calc(38*var(--q))}.cal-ev.t-39{top:calc(39*var(--q))}.cal-ev.t-40{top:calc(40*var(--q))}.cal-ev.t-41{top:calc(41*var(--q))}.cal-ev.t-42{top:calc(42*var(--q))}.cal-ev.t-43{top:calc(43*var(--q))}.cal-ev.t-44{top:calc(44*var(--q))}.cal-ev.t-45{top:calc(45*var(--q))}.cal-ev.t-46{top:calc(46*var(--q))}.cal-ev.t-47{top:calc(47*var(--q))}.cal-ev.t-48{top:calc(48*var(--q))}.cal-ev.t-49{top:calc(49*var(--q))}.cal-ev.t-50{top:calc(50*var(--q))}.cal-ev.t-51{top:calc(51*var(--q))}.cal-ev.t-52{top:calc(52*var(--q))}.cal-ev.t-53{top:calc(53*var(--q))}.cal-ev.t-54{top:calc(54*var(--q))}.cal-ev.t-55{top:calc(55*var(--q))}.cal-ev.t-56{top:calc(56*var(--q))}.cal-ev.t-57{top:calc(57*var(--q))}.cal-ev.t-58{top:calc(58*var(--q))}.cal-ev.t-59{top:calc(59*var(--q))}.cal-ev.t-60{top:calc(60*var(--q))}.cal-ev.t-61{top:calc(61*var(--q))}.cal-ev.t-62{top:calc(62*var(--q))}.cal-ev.t-63{top:calc(63*var(--q))}.cal-ev.t-64{top:calc(64*var(--q))}.cal-ev.t-65{top:calc(65*var(--q))}.cal-ev.t-66{top:calc(66*var(--q))}.cal-ev.t-67{top:calc(67*var(--q))}.cal-ev.t-68{top:calc(68*var(--q))}.cal-ev.t-69{top:calc(69*var(--q))}.cal-ev.t-70{top:calc(70*var(--q))}.cal-ev.t-71{top:calc(71*var(--q))}.cal-ev.t-72{top:calc(72*var(--q))}.cal-ev.t-73{top:calc(73*var(--q))}.cal-ev.t-74{top:calc(74*var(--q))}.cal-ev.t-75{top:calc(75*var(--q))}.cal-ev.t-76{top:calc(76*var(--q))}.cal-ev.t-77{top:calc(77*var(--q))}.cal-ev.t-78{top:calc(78*var(--q))}.cal-ev.t-79{top:calc(79*var(--q))}.cal-ev.t-80{top:calc(80*var(--q))}.cal-ev.t-81{top:calc(81*var(--q))}.cal-ev.t-82{top:calc(82*var(--q))}.cal-ev.t-83{top:calc(83*var(--q))}.cal-ev.t-84{top:calc(84*var(--q))}.cal-ev.t-85{top:calc(85*var(--q))}.cal-ev.t-86{top:calc(86*var(--q))}.cal-ev.t-87{top:calc(87*var(--q))}.cal-ev.t-88{top:calc(88*var(--q))}.cal-ev.t-89{top:calc(89*var(--q))}.cal-ev.t-90{top:calc(90*var(--q))}.cal-ev.t-91{top:calc(91*var(--q))}.cal-ev.t-92{top:calc(92*var(--q))}.cal-ev.t-93{top:calc(93*var(--q))}.cal-ev.t-94{top:calc(94*var(--q))}.cal-ev.t-95{top:calc(95*var(--q))}
.cal-ev.h-1{height:calc(1*var(--q) - 2px)}.cal-ev.h-2{height:calc(2*var(--q) - 2px)}.cal-ev.h-3{height:calc(3*var(--q) - 2px)}.cal-ev.h-4{height:calc(4*var(--q) - 2px)}.cal-ev.h-5{height:calc(5*var(--q) - 2px)}.cal-ev.h-6{height:calc(6*var(--q) - 2px)}.cal-ev.h-7{height:calc(7*var(--q) - 2px)}.cal-ev.h-8{height:calc(8*var(--q) - 2px)}.cal-ev.h-9{height:calc(9*var(--q) - 2px)}.cal-ev.h-10{height:calc(10*var(--q) - 2px)}.cal-ev.h-11{height:calc(11*var(--q) - 2px)}.cal-ev.h-12{height:calc(12*var(--q) - 2px)}.cal-ev.h-13{height:calc(13*var(--q) - 2px)}.cal-ev.h-14{height:calc(14*var(--q) - 2px)}.cal-ev.h-15{height:calc(15*var(--q) - 2px)}.cal-ev.h-16{height:calc(16*var(--q) - 2px)}.cal-ev.h-17{height:calc(17*var(--q) - 2px)}.cal-ev.h-18{height:calc(18*var(--q) - 2px)}.cal-ev.h-19{height:calc(19*var(--q) - 2px)}.cal-ev.h-20{height:calc(20*var(--q) - 2px)}.cal-ev.h-21{height:calc(21*var(--q) - 2px)}.cal-ev.h-22{height:calc(22*var(--q) - 2px)}.cal-ev.h-23{height:calc(23*var(--q) - 2px)}.cal-ev.h-24{height:calc(24*var(--q) - 2px)}.cal-ev.h-25{height:calc(25*var(--q) - 2px)}.cal-ev.h-26{height:calc(26*var(--q) - 2px)}.cal-ev.h-27{height:calc(27*var(--q) - 2px)}.cal-ev.h-28{height:calc(28*var(--q) - 2px)}.cal-ev.h-29{height:calc(29*var(--q) - 2px)}.cal-ev.h-30{height:calc(30*var(--q) - 2px)}.cal-ev.h-31{height:calc(31*var(--q) - 2px)}.cal-ev.h-32{height:calc(32*var(--q) - 2px)}.cal-ev.h-33{height:calc(33*var(--q) - 2px)}.cal-ev.h-34{height:calc(34*var(--q) - 2px)}.cal-ev.h-35{height:calc(35*var(--q) - 2px)}.cal-ev.h-36{height:calc(36*var(--q) - 2px)}.cal-ev.h-37{height:calc(37*var(--q) - 2px)}.cal-ev.h-38{height:calc(38*var(--q) - 2px)}.cal-ev.h-39{height:calc(39*var(--q) - 2px)}.cal-ev.h-40{height:calc(40*var(--q) - 2px)}.cal-ev.h-41{height:calc(41*var(--q) - 2px)}.cal-ev.h-42{height:calc(42*var(--q) - 2px)}.cal-ev.h-43{height:calc(43*var(--q) - 2px)}.cal-ev.h-44{height:calc(44*var(--q) - 2px)}.cal-ev.h-45{height:calc(45*var(--q) - 2px)}.cal-ev.h-46{height:calc(46*var(--q) - 2px)}.cal-ev.h-47{height:calc(47*var(--q) - 2px)}.cal-ev.h-48{height:calc(48*var(--q) - 2px)}.cal-ev.h-49{height:calc(49*var(--q) - 2px)}.cal-ev.h-50{height:calc(50*var(--q) - 2px)}.cal-ev.h-51{height:calc(51*var(--q) - 2px)}.cal-ev.h-52{height:calc(52*var(--q) - 2px)}.cal-ev.h-53{height:calc(53*var(--q) - 2px)}.cal-ev.h-54{height:calc(54*var(--q) - 2px)}.cal-ev.h-55{height:calc(55*var(--q) - 2px)}.cal-ev.h-56{height:calc(56*var(--q) - 2px)}.cal-ev.h-57{height:calc(57*var(--q) - 2px)}.cal-ev.h-58{height:calc(58*var(--q) - 2px)}.cal-ev.h-59{height:calc(59*var(--q) - 2px)}.cal-ev.h-60{height:calc(60*var(--q) - 2px)}.cal-ev.h-61{height:calc(61*var(--q) - 2px)}.cal-ev.h-62{height:calc(62*var(--q) - 2px)}.cal-ev.h-63{height:calc(63*var(--q) - 2px)}.cal-ev.h-64{height:calc(64*var(--q) - 2px)}.cal-ev.h-65{height:calc(65*var(--q) - 2px)}.cal-ev.h-66{height:calc(66*var(--q) - 2px)}.cal-ev.h-67{height:calc(67*var(--q) - 2px)}.cal-ev.h-68{height:calc(68*var(--q) - 2px)}.cal-ev.h-69{height:calc(69*var(--q) - 2px)}.cal-ev.h-70{height:calc(70*var(--q) - 2px)}.cal-ev.h-71{height:calc(71*var(--q) - 2px)}.cal-ev.h-72{height:calc(72*var(--q) - 2px)}.cal-ev.h-73{height:calc(73*var(--q) - 2px)}.cal-ev.h-74{height:calc(74*var(--q) - 2px)}.cal-ev.h-75{height:calc(75*var(--q) - 2px)}.cal-ev.h-76{height:calc(76*var(--q) - 2px)}.cal-ev.h-77{height:calc(77*var(--q) - 2px)}.cal-ev.h-78{height:calc(78*var(--q) - 2px)}.cal-ev.h-79{height:calc(79*var(--q) - 2px)}.cal-ev.h-80{height:calc(80*var(--q) - 2px)}.cal-ev.h-81{height:calc(81*var(--q) - 2px)}.cal-ev.h-82{height:calc(82*var(--q) - 2px)}.cal-ev.h-83{height:calc(83*var(--q) - 2px)}.cal-ev.h-84{height:calc(84*var(--q) - 2px)}.cal-ev.h-85{height:calc(85*var(--q) - 2px)}.cal-ev.h-86{height:calc(86*var(--q) - 2px)}.cal-ev.h-87{height:calc(87*var(--q) - 2px)}.cal-ev.h-88{height:calc(88*var(--q) - 2px)}.cal-ev.h-89{height:calc(89*var(--q) - 2px)}.cal-ev.h-90{height:calc(90*var(--q) - 2px)}.cal-ev.h-91{height:calc(91*var(--q) - 2px)}.cal-ev.h-92{height:calc(92*var(--q) - 2px)}.cal-ev.h-93{height:calc(93*var(--q) - 2px)}.cal-ev.h-94{height:calc(94*var(--q) - 2px)}.cal-ev.h-95{height:calc(95*var(--q) - 2px)}.cal-ev.h-96{height:calc(96*var(--q) - 2px)}
.cal-ev.ln-0-2{left:calc(0.000% + 1px);right:auto;width:calc(50.000% - 2px)}.cal-ev.ln-1-2{left:calc(50.000% + 1px);right:auto;width:calc(50.000% - 2px)}.cal-ev.ln-0-3{left:calc(0.000% + 1px);right:auto;width:calc(33.333% - 2px)}.cal-ev.ln-1-3{left:calc(33.333% + 1px);right:auto;width:calc(33.333% - 2px)}.cal-ev.ln-2-3{left:calc(66.667% + 1px);right:auto;width:calc(33.333% - 2px)}.cal-ev.ln-0-4{left:calc(0.000% + 1px);right:auto;width:calc(25.000% - 2px)}.cal-ev.ln-1-4{left:calc(25.000% + 1px);right:auto;width:calc(25.000% - 2px)}.cal-ev.ln-2-4{left:calc(50.000% + 1px);right:auto;width:calc(25.000% - 2px)}.cal-ev.ln-3-4{left:calc(75.000% + 1px);right:auto;width:calc(25.000% - 2px)}

/* #115: "Mit Nextcloud abgleichen" / "Alle mit Nextcloud abgleichen": a small button next to the sync line */
.sync-now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; }
.sync-now p { margin: 0; flex: 1 1 220px; }
.sync-now form { margin: 0; }
.sync-now .small-btn, form.sync-now .small-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px; font-size: .9rem; width: auto; }
.sync-now .small-btn .i { width: 18px; height: 18px; }
.sync-now .small-btn:disabled { opacity: .6; }
