/* DORFER V14.49.27 – Rahmen und Montagekalender genau nach dem neuen Entwurf „9 · Montagekalender (wie Outlook)“
   (docs/montagekalender-entwurf). Wird als letzte Datei geladen. Farben, Abstände und Größen aus dem Entwurf.
   Umrechnung: Der Entwurf rechnet Höhen ohne Rand und Innenabstand (content-box), die App mit (border-box) – wo das einen
   Unterschied macht, steht der umgerechnete Wert. Knöpfe mindestens 44 px hoch (iPad-Regel), wo der Entwurf 34–42 px hat.
   Das Schreiner-Portal (.schreiner-portal) bleibt unverändert. */

/* ---------- Rahmen: Leiste links dunkel mit Logo, abgerundet (Entwurf) ---------- */
.e25-shell.e27-shell{background:#f4f3f1}
/* Breite wie im gerenderten Entwurf gemessen: 235,5 px (232 px, gedehnt von der Zeile „Beanstandungen 2“). */
.e25-side.e27-side{flex:0 0 235.5px;width:235.5px;background:#222;color:#ddd;border-right:0;border-radius:0 18px 18px 0;padding:22px 14px;gap:4px;
 scrollbar-color:#4a4a4a #222}
.e27-brand{margin:4px 8px 22px 8px;padding-left:15px;border-left:3px solid #bc2937;display:flex;flex-direction:column;gap:14px}
.e27-brand img{display:block;width:100%;max-width:180px;height:auto;border-radius:3px}
.e27-brand small{font-size:10px;letter-spacing:.2em;font-weight:800;color:#f0c4c5;line-height:1.45}
.e27-side .e25-nav-item{color:#ddd}
.e27-side .e25-nav-item:hover{background:rgba(255,255,255,.07)}
.e27-side .e25-nav-item.is-active,.e27-side .e25-nav-item.is-active:hover{background:#a82b37;color:#fff;font-weight:600}
.e27-side .e25-nav-item:focus-visible{outline:2px solid #f0c4c5;outline-offset:1px}
.e27-side .e25-nav-item.is-active .e25-count{background:#fff;color:#a82b37}
.e27-side .e25-group{color:#9a948f}
/* V14.49.28 (Wunsch des Inhabers): Versionsnummer wieder unten links in der Leiste – bleibt unten sichtbar, auch wenn das Menü
   höher ist als der Bildschirm (dann lässt sich das Menü darüber scrollen) */
.e27-side-version{margin-top:auto;padding:18px 12px 26px 12px;color:#9a948f;font-size:12px;font-weight:700;letter-spacing:.08em;
 position:sticky;bottom:0;background:#222;box-shadow:0 -10px 12px -6px #222}
/* V14.49.28 (Wunsch des Inhabers, 28.10.2026: „Den schwarzen Reiter links bis ans Ende der Seite nach unten ziehen“): Die dunkle
   Leiste reicht über die ganze Seitenhöhe (Spalte hinter dem Menü, oben und unten rechts abgerundet wie im Entwurf); das Menü
   bleibt beim Scrollen stehen. 100dvh: auf dem iPad zählt die sichtbare Höhe (Safari-Leisten), nicht die größte. */
.e25-shell.e27-shell{position:relative}
.e25-shell.e27-shell::before{content:'';position:absolute;left:0;top:0;bottom:0;width:235.5px;background:#222;border-radius:0 18px 18px 0;pointer-events:none}
.e25-side.e27-side{height:100vh;height:100dvh;padding-bottom:0} /* unterer Abstand steckt in der Versionszeile */
@media (max-width:950px){.e25-shell.e27-shell::before{display:none}}
@media print{.e25-shell.e27-shell::before{display:none}}

/* Oben nur das Suchfeld rechts (Wunsch des Inhabers); Übertragungs-Status nur, wenn etwas aussteht oder fehlgeschlagen ist. */
.e25-main.e27-main{flex:1 1 640px;min-width:0}
.e27-top{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:20px 22px 0 22px;position:relative;z-index:40}
.e27-search{position:relative;flex:0 1 360px;max-width:360px;display:flex;align-items:center;gap:8px;height:44px;border:1px solid #d6d3cf;border-radius:12px;
 background:#fff;padding:0 12px;color:#66625f;box-sizing:border-box;margin:0}
.e27-search:focus-within{border-color:#a82b37;box-shadow:0 0 0 2px rgba(168,43,55,.15)}
.e27-search>#v1428-search{flex:1;min-width:0;height:100%;min-height:0;margin:0;padding:0;border:0;outline:0;background:transparent;box-shadow:none;
 font:inherit;font-size:15px;color:#292929;border-radius:0}
.e27-search>#v1428-search::placeholder{color:#66625f;opacity:1}
.e27-search>#v1428-search:focus{background:transparent;outline:0;border:0}
.e27-search>#v1428-search-results{top:calc(100% + 6px);left:auto;right:0}
.e27-top .v144913-sync-status,.e27-me .v144913-sync-status{height:44px;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid #d6d3cf;background:#fff;
 color:#0f5a38;font:inherit;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:6px;box-shadow:none;cursor:pointer}
.e27-top .v144913-sync-status .dorfer-icon,.e27-me .v144913-sync-status .dorfer-icon{width:16px;height:16px}
.e27-top .v144913-sync-status.is-pending,.e27-me .v144913-sync-status.is-pending{background:#fbf0dc;border-color:#d9a24a;color:#7a4700}
.e27-top .v144913-sync-status.is-failed,.e27-me .v144913-sync-status.is-failed{background:#f7e9eb;border-color:#a82b37;color:#7d1f29}
.e27-top .v144913-sync-status.is-done{display:none}
/* Inhalt über die ganze Breite (Entwurf: Innenabstand 20/22/40/22 px; oben 14 px Abstand zur Suche) */
@media (min-width:951px){.e27-main>.e25-workspace.workspace.content{max-width:none;padding:14px 22px 40px 22px}}

/* Seite „Mehr …“: Profil, Aktualisieren, Übertragungs-Status, Abmelden */
.e27-me{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px}
.e27-me-who{display:flex;align-items:center;gap:12px;min-width:0}
.e27-me-who>span{display:flex;flex-direction:column;min-width:0}
.e27-me-who strong{font-size:17px}
.e27-me-who small{color:#66625f;overflow-wrap:anywhere}
.e27-me-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.e27-me .e25-stand:empty{display:none}
.e27-me .dorfer20-notification{height:44px;border-radius:10px;padding:0 12px;font-size:13px}
.e27-me .dorfer-avatar{width:48px;height:48px;border-radius:50%;background:#f7e9eb;color:#7d1f29;display:inline-flex;align-items:center;justify-content:center;
 font-weight:700;font-size:18px;overflow:hidden;flex:0 0 48px}
.e27-me .dorfer-avatar img{width:100%;height:100%;object-fit:cover;color:transparent}

@media (max-width:950px){
 .e27-top{padding:12px 16px 0 16px}
 .e27-search{flex:1 1 100%;max-width:none}
}

/* ---------- Gesamtentwurf „Büro-Ablauf Montage“: dunkle Kopf-Kästen (Tafel 0 Übersicht, Tafel 1 Montage-Steuerung) ---------- */
.e27-hero{position:relative;border-radius:19px;border:1px solid #423d3e;color:#fff;
 background:radial-gradient(ellipse at 84% 18%,rgba(149,60,72,.33),transparent 42%),linear-gradient(115deg,#25272a 5%,#302c2e 56%,#3b2b30 100%);
 box-shadow:0 16px 32px rgba(47,33,37,.13),inset 0 1px rgba(255,255,255,.1)}
.e27-hero::after{content:"";position:absolute;left:32px;right:32px;bottom:0;height:2px;border-radius:99px;pointer-events:none;
 background:linear-gradient(90deg,#aa5e68 0%,rgba(170,94,104,0) 85%)}
/* Tafel 0: Begrüßung im dunklen Kasten (Innenabstand 25/32 px, mindestens 130 px hoch) */
.e25-home-head.e27-hero{align-items:center;gap:14px 18px;min-height:130px;padding:25px 32px;box-sizing:border-box}
.e25-home-head.e27-hero .e25-eyebrow{font-size:11px;letter-spacing:.17em;font-weight:800;color:#e2c6cb}
.e25-home-head.e27-hero h1{color:#fff;font-size:32px}
.e25-home-head.e27-hero p{color:#e3cecf}
/* V14.49.32: Die Datumszeile bestimmt nicht die Breite des Textes – bei langem Datum (z. B. „DONNERSTAG, 29. OKTOBER 2026“)
   bricht sie zwischen ihren Teilen um, statt die Knöpfe unter die Begrüßung zu schieben (iPad quer, 1180 px). Begrüßung und
   Untertitel bleiben einzeilig; reicht der Platz auch für sie nicht, rutschen die Knöpfe wie bisher darunter. */
.e25-home-head.e27-hero .e25-head-text{flex:1 1 auto}
.e25-home-head.e27-hero .e25-eyebrow{width:0;min-width:100%}
.e25-eyebrow>span{display:inline-block;max-width:100%}
.e27-hero .e25-btn2:not(.is-primary){border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff}
.e27-hero .e25-btn2:not(.is-primary):hover{background:rgba(255,255,255,.16)}
.e27-hero .e25-btn2.is-primary{border:0}
@media (min-width:951px){.e27-main.is-home>.e27-top{padding-right:26px}.e27-main.is-home>.e25-workspace.workspace.content{padding:14px 26px 48px 26px}}
/* Tafel 1: oben Suche, „Aktualisieren“ und Profil im dunklen Kasten (Abstand 18/28 px, Innenabstand 18/26 px) */
.e27-steuer-top{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 28px 0 28px;padding:18px 26px;box-sizing:border-box;z-index:40}
@media (min-width:951px){.e27-main.is-steuer>.e25-workspace.workspace.content{padding:28px 28px 48px 28px}}
.e27-hero-search.dorfer28-global-search{position:relative;flex:1 1 320px;max-width:none;display:flex;align-items:center;gap:8px;height:46px;margin:0;padding:0 12px;box-sizing:border-box;
 border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);border-radius:12px;color:#fff}
.e27-hero-search:focus-within{border-color:rgba(255,255,255,.55)}
.e27-hero-search .e25-search-icon{display:inline-flex;color:#fff}
.e27-hero-search .e25-search-icon .dorfer-icon{width:18px;height:18px}
.e27-hero-search>#v1428-search{flex:1;min-width:0;height:100%;min-height:0;margin:0;padding:0;border:0;outline:0;background:transparent;box-shadow:none;
 font:inherit;font-size:15px;color:#fff;border-radius:0}
.e27-hero-search>#v1428-search::placeholder{color:#a9a39e;opacity:1}
.e27-hero-search>#v1428-search:focus{background:transparent;outline:0;border:0}
.e27-hero-search>#v1428-search::-webkit-search-cancel-button{filter:grayscale(1) brightness(2.4);cursor:pointer}
.e27-hero-search>#v1428-search-results{top:calc(100% + 6px);left:0;right:auto;color:#292929}
.e27-hero-btn{height:46px;min-height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;border-radius:12px;
 font:inherit;font-size:15px;font-weight:600;display:inline-flex;align-items:center;gap:8px;cursor:pointer;margin:0;box-shadow:none}
.e27-hero-btn:hover,.e27-hero-me:hover{background:rgba(255,255,255,.16)}
.e27-hero-btn .dorfer-icon{width:18px;height:18px}
.e27-hero-me{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;border-radius:13px;
 padding:5px 12px 5px 6px;min-height:46px;box-sizing:border-box;font:inherit;font-size:15px;text-align:left;cursor:pointer;margin:0;box-shadow:none}
.e27-hero-me>span{display:flex;flex-direction:column;line-height:1.15}
.e27-hero-me b{color:#fff;font-weight:700}
.e27-hero-me small{color:#e3cecf;font-size:12.5px}
.e27-hero-me .dorfer-avatar{width:34px;height:34px;border-radius:50%;background:#f7e9eb;color:#7d1f29;display:inline-flex;align-items:center;justify-content:center;
 font-weight:700;font-size:15px;overflow:hidden;flex:0 0 34px}
.e27-hero-me .dorfer-avatar img{width:100%;height:100%;object-fit:cover;color:transparent}
.e27-steuer-top .v144913-sync-status{height:46px;min-height:46px;padding:0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);
 color:#fff;font:inherit;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:6px;box-shadow:none;cursor:pointer}
.e27-steuer-top .v144913-sync-status .dorfer-icon{width:16px;height:16px}
.e27-steuer-top .v144913-sync-status.is-pending{background:#fbf0dc;border-color:#d9a24a;color:#7a4700}
.e27-steuer-top .v144913-sync-status.is-failed{background:#f7e9eb;border-color:#a82b37;color:#7d1f29}
.e27-steuer-top .v144913-sync-status.is-done{display:none}
/* Tafel 2 (Akte vor der Montage, Reiter Planung): helle Leiste oben – Suche über die ganze Breite, rechts der Name */
.e27-akte-top{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 32px;background:#fff;border-bottom:1px solid #e4e2df;position:relative;z-index:40}
@media (min-width:951px){.e27-main.is-akte>.e25-workspace.workspace.content{padding:22px 32px 48px 32px}}
.e27-akte-search.dorfer28-global-search{position:relative;flex:1 1 320px;max-width:none;display:flex;align-items:center;gap:8px;height:44px;margin:0;padding:0 12px;
 box-sizing:border-box;border:1px solid #d6d3cf;border-radius:10px;background:#fff;color:#66625f}
.e27-akte-search:focus-within{border-color:#a82b37;box-shadow:0 0 0 2px rgba(168,43,55,.15)}
.e27-akte-search .e25-search-icon{display:inline-flex}
.e27-akte-search .e25-search-icon .dorfer-icon{width:18px;height:18px}
.e27-akte-search>#v1428-search{flex:1;min-width:0;height:100%;min-height:0;margin:0;padding:0;border:0;outline:0;background:transparent;box-shadow:none;
 font:inherit;font-size:15px;color:#292929;border-radius:0}
.e27-akte-search>#v1428-search::placeholder{color:#66625f;opacity:1}
.e27-akte-search>#v1428-search:focus{background:transparent;outline:0;border:0}
.e27-akte-search>#v1428-search-results{top:calc(100% + 6px);left:0;right:auto}
.e27-akte-me{display:inline-flex;align-items:center;gap:8px;color:#292929;background:transparent;border:0;padding:0 4px;min-height:44px;font:inherit;font-size:15px;
 cursor:pointer;margin:0;box-shadow:none}
.e27-akte-me .dorfer-avatar{width:36px;height:36px;border-radius:50%;background:#f7e9eb;color:#7d1f29;display:inline-flex;align-items:center;justify-content:center;
 font-weight:700;font-size:15px;overflow:hidden;flex:0 0 36px}
.e27-akte-me .dorfer-avatar img{width:100%;height:100%;object-fit:cover;color:transparent}
.e27-akte-top .v144913-sync-status{height:44px;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid #d6d3cf;background:#fff;color:#0f5a38;font:inherit;
 font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:6px;box-shadow:none;cursor:pointer}
.e27-akte-top .v144913-sync-status .dorfer-icon{width:16px;height:16px}
.e27-akte-top .v144913-sync-status.is-pending{background:#fbf0dc;border-color:#d9a24a;color:#7a4700}
.e27-akte-top .v144913-sync-status.is-failed{background:#f7e9eb;border-color:#a82b37;color:#7d1f29}
.e27-akte-top .v144913-sync-status.is-done{display:none}
@media (max-width:950px){.e27-akte-top{padding:12px 16px}}
/* Leiste: Kurzliste unter „Mehr …“ (nur auf der Montage-Steuerung, wie im Entwurf) */
.e27-more-hint{display:block;padding:2px 12px 0 42px;color:#9a948f;font-size:12px;line-height:1.4}
@media (max-width:950px){
 .e27-steuer-top{margin:12px 16px 0 16px;padding:14px 16px}
 .e25-home-head.e27-hero{padding:20px 20px}
}

/* ---------- Montagekalender (Entwurf Tafel 9) ---------- */
.k24{display:flex;flex-direction:column;gap:14px;min-width:0;color:#292929;font-size:15px;line-height:1.45}
:where(.k24) small{font-size:12.5px} /* wie <small> im Entwurf (15 px ÷ 1,2) */
/* Kopf: Titel links, „Ansehen als“ und Knöpfe rechts */
.k24-top{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}
.k24-titlebox{display:flex;flex-direction:column;gap:2px;min-width:0}
.k24-titlebox h1{margin:0;font-size:26px;line-height:1.15;font-weight:700;color:#292929;letter-spacing:0}
.k24-titlebox small{color:#66625f}
.k24-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.k24-as{display:flex;gap:4px;background:#e9e6e2;border-radius:12px;padding:4px;align-items:center}
.k24-as>span{font-size:13px;font-weight:700;color:#4f4b47;padding:0 6px}
.k24-as button{min-height:44px;padding:0 14px;border-radius:9px;border:0;font-weight:700;cursor:pointer;background:transparent;color:#292929}
.k24-as button.is-on{background:#fff;color:#7d1f29;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.k24-aswrap{position:relative;display:inline-block;border-bottom:1.5px dashed #a82b37;color:#292929;cursor:pointer}
.k24-aswrap:focus-within{outline:2px solid #a82b37;outline-offset:2px;border-radius:2px}
.k24-asw{position:absolute;top:-12px;bottom:-12px;left:-4px;right:-4px;width:calc(100% + 8px);opacity:0;cursor:pointer;font:inherit;border:0;padding:0;margin:0;appearance:none;-webkit-appearance:none}
.k24-btn{min-height:48px;padding:0 16px;border:2px solid #d6d3cf;background:#fff;border-radius:12px;font-weight:650;cursor:pointer;display:inline-flex;align-items:center;
 gap:8px;color:#292929;text-decoration:none}
.k24-btn.is-primary{padding:0 18px;border:0;background:#a82b37;color:#fff;font-weight:700}
.k24-btn .dorfer-icon{width:18px;height:18px;flex:none}

/* Werkzeugleiste */
.k24-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;justify-content:space-between;background:#fff;border:1px solid #e4e2df;border-radius:14px;padding:10px 12px}
.k24-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.k24-today{min-height:46px;padding:0 18px;border-radius:10px;border:2px solid #d6d3cf;background:#fff;font-weight:700;cursor:pointer;color:#292929}
.k24-panebtn{min-height:46px;padding:0 14px;border-radius:10px;border:2px solid #d6d3cf;background:#fff;font-weight:650;cursor:pointer;color:#292929}
.k24-arrow{width:46px;height:46px;border-radius:10px;border:0;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#292929;padding:0}
.k24-arrow .dorfer-icon{width:24px;height:24px;stroke-width:2}
.k24-title{display:flex;flex-direction:column;line-height:1.2;margin-left:4px;min-width:0}
.k24-title strong{font-size:20px}
.k24-title small{color:#66625f}
.k24-cap{margin-left:6px;font-size:13px;font-weight:700;border-radius:999px;padding:4px 12px;color:#0f5a38;background:#e6f2ec}
.k24-cap.is-full{color:#fff;background:#a82b37}
.k24-vpill{min-height:44px;padding:0 14px;border-radius:999px;border:2px dashed #a82b37;background:repeating-linear-gradient(45deg,#fbf4f5 0,#fbf4f5 7px,#f2dde1 7px,#f2dde1 14px);
 color:#7d1f29;font-size:13px;font-weight:800;cursor:pointer}
.k24-vpill.is-weekend{border-style:solid;border-color:#d6d3cf;background:#f4f3f1;color:#4f4b47;font-weight:700}
.k24-views{display:flex;flex-wrap:wrap;gap:4px;background:#f4f3f1;border-radius:12px;padding:4px}
.k24-views button{min-height:44px;padding:0 14px;border-radius:9px;border:0;font-weight:700;cursor:pointer;background:transparent;color:#292929}
.k24-views button.is-on{background:#fff;color:#7d1f29;box-shadow:0 1px 3px rgba(0,0,0,.15)}

/* Linke Auswahl und Kalender nebeneinander (Entwurf: 236 px / Rest) */
.k24-body{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.k24-left{flex:1 1 236px;max-width:290px;display:flex;flex-direction:column;gap:14px;min-width:0}
.k24-main{flex:999 1 560px;min-width:0;position:relative;display:flex;flex-direction:column;gap:10px}
.k24-muted{margin:0;color:#66625f;font-size:13px}
.k24-hint{margin:0;color:#66625f;font-size:12.5px}

/* Mini-Monat (ohne Pfeile wie im Entwurf) */
.k24-mini{background:#fff;border:1px solid #e4e2df;border-radius:14px;padding:12px}
.k24-mini>strong{display:block;font-size:15px;margin:0 0 6px 4px}
.k24-mini-grid{display:grid;grid-template-columns:26px repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.k24-mini-head{font-size:12px;color:#66625f;font-weight:700}
.k24-mini-head .k24-mini-kw{font-size:10px;color:#9a948f;align-self:center}
.k24-mini-row{border-radius:8px}
.k24-mini-row.is-sel{background:#f7e9eb}
.k24-mini-row .k24-mini-kw{font-size:11px;color:#9a948f;align-self:center}
.k24-mini-row button{height:32px;border:0;border-radius:50%;font-size:13px;cursor:pointer;padding:0;background:transparent;color:#292929;font-weight:500;min-width:0}
.k24-mini-row button.is-other{color:#a9a39d}
.k24-mini-row button.is-today{background:#a82b37;color:#fff;font-weight:800}
.k24-mini-row button.is-day{background:#e8c9ce;font-weight:800}

/* Montage-Vormerkungen */
.k24-vbox{background:#fbf4f5;border:2px solid #a82b37;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}
.k24-vbox-head{display:flex;align-items:center;gap:8px}
.k24-vbox-head strong{font-size:16px;flex:1;color:#7d1f29}
.k24-vbox-head b{background:#a82b37;color:#fff;border-radius:999px;font-size:13px;font-weight:800;padding:2px 10px}
.k24 .k24-vbox-note{color:#5c171f}
.k24-vcard{display:flex;flex-direction:column;gap:6px;padding:10px;border:2px dashed #a82b37;border-radius:12px;background:#fff}
/* V14.49.29 (Wunsch des Inhabers): nicht eingeplant in der zweiten Woche der Doppel-KW „dringlich“, danach „überfällig“ */
.k24-vcard.is-urgent{border-style:solid;background:#fbf0f1}
.k24-vurgent{align-self:flex-start;border-radius:6px;padding:2px 8px;background:#a82b37;color:#fff;font-size:12px;font-weight:800}
.k24-vurgent.is-late{background:#5c171f}
.k24-vcard.is-drag{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.k24 .k24-vdrag{align-self:flex-start;font-size:12px;font-weight:800;color:#7d1f29;background:#f7e9eb;border-radius:999px;padding:1px 8px}
.k24-vname{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;padding:0;background:transparent;cursor:pointer;text-align:left;color:#292929}
.k24-vname strong{font-size:15px}
.k24-vname small{color:#4f4b47}
.k24-vname .k24-vdue.is-late{color:#a82b37;font-weight:700}
.k24-vbtns{display:flex;gap:6px}
/* „Jetzt einteilen“ ist im Entwurf ein Verweis ohne Innenabstand (Text links, bricht in zwei Zeilen um) */
.k24-vplan{flex:1;min-height:44px;display:inline-flex;align-items:center;justify-content:center;background:#a82b37;color:#fff;border-radius:10px;border:0;padding:0;
 font-weight:700;font-size:14px;cursor:pointer;text-align:left}
.k24-vcal{flex:1;min-height:44px;border:2px solid #d6d3cf;background:#fff;border-radius:10px;font-size:14px;font-weight:650;cursor:pointer;color:#292929;padding:0 6px}
.k24-vall{min-height:44px;border:2px solid #d6d3cf;background:#fff;border-radius:10px;font-size:14px;font-weight:650;cursor:pointer;color:#292929}

/* Anzeige: Schreiner, Farben, Urlaub */
.k24-menu{background:#fff;border:1px solid #e4e2df;border-radius:14px;padding:0 12px}
.k24-menu>summary{min-height:52px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;list-style:none}
.k24-menu>summary::-webkit-details-marker{display:none}
.k24-menu>summary .dorfer-icon{width:18px;height:18px;stroke-width:2;flex:none}
.k24-menu>summary span{flex:1}
.k24 .k24-menu>summary small{font-size:12px;font-weight:700;color:#7a4700;background:#fbf0dc;border-radius:999px;padding:2px 8px}
.k24-menu-body{display:flex;flex-direction:column;gap:6px;padding:0 0 12px 0}
.k24-menu-row{display:flex;justify-content:space-between;align-items:center;margin:0 0 4px 4px}
.k24-menu-row small{font-weight:700;color:#66625f}
.k24-linkbtn{min-height:44px;padding:0 10px;border:0;background:transparent;color:#a82b37;font-weight:700;cursor:pointer}
.k24-wrow{display:flex;align-items:center;gap:4px}
.k24-wrow label,.k24-toggle{flex:1;min-width:0;min-height:46px;display:flex;align-items:center;gap:10px;padding:0 8px;border-radius:10px;cursor:pointer;position:relative;color:#292929}
.k24-toggle{min-height:44px}
.k24-wname{flex:1;font-weight:600}
.k24-wrow input,.k24-toggle input{position:absolute;left:8px;top:50%;width:24px;height:24px;margin:-12px 0 0;opacity:0;cursor:pointer;z-index:1} /* liegt genau über dem Kästchen */
.k24-box{width:24px;height:24px;border-radius:6px;border:2px solid var(--wc,#b8b2ac);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#fff;flex:none}
.k24-box .dorfer-icon{width:14px;height:14px;stroke-width:3;opacity:0}
.k24 input:checked+.k24-box{background:var(--wc,#a82b37);border-color:var(--wc,#a82b37)}
.k24 input:checked+.k24-box .dorfer-icon{opacity:1}
.k24 input:focus-visible+.k24-box{outline:3px solid #a82b37;outline-offset:2px}
.k24-toggle{--wc:#a82b37}
.k24-toggle input:not(:checked)+.k24-box{border-color:#b8b2ac}
.k24-toggle>span:nth-of-type(2){flex:1}
.k24-sw{width:22px;height:12px;border-radius:3px;flex:none}
.k24-sw.is-vorm{background:#fff;border:1.5px dashed #8a817a}
.k24-sw.is-away{background:#fbf0dc;border:1.5px solid #b07a1c}
.k24-swatch{width:46px;height:46px;flex:none;border-radius:10px;border:2px solid #e4e2df;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.k24-swatch.is-open{border-color:#292929}
.k24-swatch i{width:22px;height:22px;border-radius:50%}
.k24-palette{display:flex;flex-direction:column;gap:6px;padding:8px;background:#faf9f7;border:1px solid #e4e2df;border-radius:12px;margin:0 2px 6px 2px}
.k24-palette>small{font-weight:650}
.k24-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.k24-swatches button{height:40px;border-radius:9px;cursor:pointer;border:3px solid transparent;box-shadow:inset 0 0 0 2px #fff;padding:0}
.k24-swatches button.is-on{border-color:#292929}
.k24-custom{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 8px;border:2px solid #d6d3cf;border-radius:10px;background:#fff;font-size:14px;font-weight:650;cursor:pointer}
.k24-custom input{width:44px;height:36px;border:0;padding:0;background:transparent;cursor:pointer;flex:none}
.k24-custom span{flex:1}
.k24 .k24-custom small{color:#66625f;font-weight:400;font-size:11.5px}
.k24-reset{min-height:44px;border:2px solid #d6d3cf;background:#fff;border-radius:10px;font-size:14px;font-weight:650;cursor:pointer;color:#292929;padding:0 12px}
.k24-menu-body>.k24-reset{align-self:flex-start}
.k24-hr{display:block;height:1px;background:#e4e2df;margin:6px 4px}
.k24 .k24-mlabel{font-weight:700;color:#66625f;margin:2px 4px 0 4px}
.k24 .k24-mnote{color:#66625f;margin:-2px 4px 2px 4px}
.k24-legend{display:flex;flex-direction:column;gap:6px}
.k24-legend span{display:flex;align-items:center;gap:8px;font-size:13px;padding:0 4px}
.k24-legend i{width:16px;height:16px;border-radius:3px;background:#fff;border:1px solid #e4e2df;border-left:5px solid var(--type);flex:none}

/* Hervorheben */
.k24-focus{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.k24-focus>span{font-size:14px;font-weight:700;margin-right:2px}
.k24-fchip{min-height:44px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:700;cursor:pointer;border:2px solid var(--wc);background:#fff;color:#292929}
.k24-fchip.is-on{background:var(--wc);color:var(--wt,#fff)}

/* Tag und Arbeitswoche: Raster 07–19 Uhr, 52 px je Stunde */
.k24-card{background:#fff;border:1px solid #e4e2df;border-radius:14px;overflow:hidden}
.k24-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.k24-grid{min-width:calc(56px + var(--n) * 110px)}
.k24[data-k24-mode="tag"] .k24-grid{min-width:300px}
.k24-ghead,.k24-gbody{display:grid;grid-template-columns:56px repeat(var(--n),minmax(0,1fr))}
.k24-ghead{border-bottom:1px solid #e4e2df}
.k24-corner{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;color:#7d1f29;background:#faf9f7}
.k24 .k24-corner small{font-size:11px;font-weight:700;letter-spacing:.04em}
.k24-corner b{font-size:20px}
.k24-dhead{min-height:64px;border:0;border-left:1px solid #e4e2df;background:#fff;cursor:pointer;display:flex;align-items:center;gap:8px;padding:6px 10px;text-align:left;color:#292929;min-width:0}
.k24-dhead b{min-width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;padding:0 4px;flex:none}
.k24-dhead span{font-size:14px;color:#4f4b47;font-weight:600;min-width:0;overflow-wrap:anywhere}
.k24-dhead.is-today b{background:#a82b37;color:#fff}
.k24-dhead.is-today span{color:#a82b37}
.k24-adrow{display:grid;grid-template-columns:56px minmax(0,1fr);border-bottom:2px solid #e4e2df;background:#faf9f7}
.k24 .k24-adlabel{font-size:11px;color:#66625f;padding:8px 4px;text-align:right;line-height:1.45}
.k24-allday{display:grid;gap:3px;padding:4px;min-height:42px;border-left:1px solid #e4e2df;grid-auto-flow:row dense;align-content:start}
.k24-ad{min-height:36px;border:0;border-left:6px solid #b07a1c;border-radius:6px;font-size:14px;cursor:pointer;text-align:left;padding:5px 10px;color:#292929;white-space:nowrap;
 overflow:hidden;text-overflow:ellipsis;min-width:0;background:#fff}
.k24-ad.is-away{background:#fbf0dc;font-weight:650}
.k24-ad.is-vorm{background:repeating-linear-gradient(45deg,#fbf4f5 0,#fbf4f5 7px,#f2dde1 7px,#f2dde1 14px);border:2px dashed #a82b37;border-left:6px solid #a82b37;color:#5c171f;font-weight:800}
.k24-ad.is-drag{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.k24-ad.is-holiday{background:#eef0f3;border-left-color:#5f6b76;color:#3a4652;font-weight:650;display:flex;align-items:center;cursor:default}
.k24-ad.is-sel,.k24-ev.is-sel,.k24-tbar.is-sel,.k24-mi.is-sel{outline:2px solid #292929;outline-offset:1px}
.k24-hours>div{height:52px;font-size:12px;color:#66625f;text-align:right;padding:2px 6px 0 0;font-variant-numeric:tabular-nums}
.k24-col{position:relative;border-left:1px solid #e4e2df;background-color:#fff;
 background-image:repeating-linear-gradient(to bottom,#e4e1dd 0,#e4e1dd 1px,transparent 1px,transparent 52px),repeating-linear-gradient(to bottom,transparent 0,transparent 26px,#f1efec 26px,#f1efec 27px,transparent 27px,transparent 52px)}
.k24-col.is-today{background-color:#fdf8f8}
.k24-now{position:absolute;left:0;right:0;height:2px;background:#a82b37;pointer-events:none;z-index:4}
.k24-now::before{content:'';position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:#a82b37}
.k24-ev{position:absolute;z-index:2;border:1px solid #dcd8d4;border-left:6px solid var(--type);background:#fff;border-radius:6px;padding:4px 6px;text-align:left;color:#292929;cursor:pointer;
 overflow:hidden;display:flex;flex-direction:column;align-items:stretch;gap:2px;box-shadow:0 1px 2px rgba(0,0,0,.06);min-width:0}
.k24-ev strong{font-size:14px;line-height:1.2}
.k24 .k24-ev small{font-size:12px;color:#4f4b47}
.k24 .k24-ev .k24-ev-time{white-space:nowrap}
.k24 .k24-ev .k24-ev-art{font-weight:700;color:var(--type);line-height:1.2}
.k24-ev.is-away{background:#fbf0dc;border-color:#e8c88f;border-left-color:#b07a1c}
.k24-ev.is-dim{opacity:.22}
.k24-ev.is-focus{box-shadow:0 0 0 3px var(--focus);z-index:3}
.k24-ev.is-drag{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.k24-team{display:flex;flex-wrap:wrap;gap:3px}
.k24-chip{font-size:12px;font-weight:700;border-radius:999px;padding:1px 8px;white-space:nowrap}
.k24-noteam,.k24-moved{align-self:flex-start;font-size:12px;font-weight:700;border-radius:999px;padding:0 8px}
.k24-noteam{color:#7a4700;background:#fbf0dc;border:1px solid #d9a24a}
.k24-moved{color:#1f3a52;background:#eaf0f6}
.k24-ready{outline:3px solid #a82b37;outline-offset:1px}
.k24-dragging{opacity:.45}
.k24-ghostseg{position:absolute;left:2px;right:2px;z-index:3;border:2px dashed #a82b37;border-radius:6px;background:rgba(168,43,55,.08);pointer-events:none;padding:4px 6px;overflow:hidden}
.k24-ghostseg strong{font-size:13px;color:#7d1f29;background:#fff;border-radius:6px;padding:1px 6px}
.k24-dragghost{position:fixed;left:0;top:0;z-index:9999;pointer-events:none;background:#fff;border:2px dashed #a82b37;border-top:4px solid #a82b37;border-radius:4px;padding:4px 10px 6px 10px;
 font-weight:700;font-size:14px;color:#7d1f29;white-space:nowrap;box-shadow:0 6px 16px rgba(0,0,0,.2)}
/* V14.49.29: die Zieh-Anzeige nennt den ganzen Zeitraum – darf umbrechen und bleibt im Bild */
.k24-dragghost{white-space:normal;max-width:min(380px,calc(100vw - 24px));line-height:1.35}

/* Plantafel: eine Zeile je Schreiner */
.k24-plan{min-width:760px}
.k24-thead,.k24-trow{display:grid;grid-template-columns:170px minmax(0,1fr);border-bottom:1px solid #e4e2df}
.k24-thead{background:#faf9f7}
.k24-tcorner{padding:10px;font-size:13px;font-weight:700;color:#66625f;align-self:center}
.k24-tdays{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.k24-tday{border-left:1px solid #e4e2df;display:flex;flex-direction:column}
.k24-tdhead{border:0;background:transparent;cursor:pointer;padding:6px 8px 2px 8px;text-align:left;display:flex;align-items:center;gap:6px;color:#292929}
.k24-tdhead b{min-width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.k24-tdhead span{font-size:13px;font-weight:600}
.k24-tdhead.is-today b{background:#a82b37;color:#fff}
.k24-tscale{display:flex;justify-content:space-between;font-size:10px;color:#9a948f;padding:0 6px 4px 6px}
.k24-tname{padding:8px 10px;display:flex;flex-direction:column;justify-content:center;gap:2px;border-left:8px solid var(--wc);background:#fff;min-width:0}
.k24-tname strong{font-size:14px;line-height:1.2;overflow-wrap:anywhere}
.k24-tname small{color:#66625f}
.k24-tlane{position:relative;background-color:#fff;background-image:linear-gradient(to right,#e4e2df 0,#e4e2df 1px,transparent 1px);background-size:20% 100%}
.k24-trow.is-none .k24-tname{background:#fffaf1}
.k24-trow.is-none .k24-tlane{background-color:#fffdf8}
.k24-ttoday{position:absolute;top:0;bottom:0;width:20%;background:rgba(168,43,55,.05);pointer-events:none}
.k24-tbar{position:absolute;height:46px;border:1px solid #d6d3cf;border-left:6px solid var(--type);background:var(--bg,#fff);border-radius:7px;padding:3px 7px;text-align:left;cursor:pointer;
 color:#292929;overflow:hidden;white-space:nowrap;display:flex;flex-direction:column;justify-content:center;line-height:1.2;z-index:1}
.k24-tbar strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}
.k24 .k24-tbar small{font-size:11.5px;color:#4f4b47;overflow:hidden;text-overflow:ellipsis}
.k24-tbar.is-away{border-color:#e8c88f;border-left-color:#b07a1c}
.k24-tbar.is-vorm{border:2px dashed #a82b37;border-left:6px solid #a82b37;background:repeating-linear-gradient(45deg,#fbf4f5 0,#fbf4f5 7px,#f2dde1 7px,#f2dde1 14px)}

/* Monat: Montag bis Freitag, KW links */
.k24-month{min-width:640px}
.k24-mhead,.k24-mrow{display:grid;grid-template-columns:44px repeat(5,minmax(0,1fr));border-bottom:1px solid #e4e2df}
.k24-mhead{font-size:13px;font-weight:700;color:#66625f}
.k24-mhead span{padding:8px 10px;border-left:1px solid #e4e2df}
.k24-mhead span:first-child{padding:8px 0;text-align:center;border-left:0}
.k24-mrow:last-child{border-bottom:0}
.k24-mkw{border:0;background:#faf9f7;font-size:12px;color:#66625f;cursor:pointer;padding:10px 0 0 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;line-height:1.45}
.k24-mkw strong{font-size:14px;color:#292929}
.k24-mcell{min-height:140px;border-left:1px solid #e4e2df;padding:6px;display:flex;flex-direction:column;gap:3px;background:#fff;min-width:0}
.k24-mcell.is-other{background:#faf9f7}
.k24-mnum{align-self:flex-start;min-width:32px;height:32px;border:0;border-radius:999px;font-size:14px;font-weight:700;cursor:pointer;padding:0 6px;background:transparent;color:#292929}
.k24-mcell.is-other .k24-mnum{color:#9a948f}
.k24-mcell.is-today .k24-mnum{background:#a82b37;color:#fff}
.k24-mi{min-height:24px;border:1px solid #e4e2df;border-left:4px solid var(--type,#9a948f);background:#fff;border-radius:4px;padding:1px 6px;font-size:12.5px;font-weight:600;text-align:left;
 cursor:pointer;color:#292929;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;line-height:1.45}
.k24-mi.is-away{border:0;border-left:4px solid #b07a1c;background:#fbf0dc}
.k24-mi.is-vorm{border:2px dashed #a82b37;border-left:4px solid #a82b37;background:repeating-linear-gradient(45deg,#fbf4f5 0,#fbf4f5 7px,#f2dde1 7px,#f2dde1 14px);color:#5c171f;font-weight:800}
.k24-mi.is-holiday{border:0;border-left:4px solid #5f6b76;background:#eef0f3;color:#3a4652;cursor:default}
.k24-mmore{align-self:flex-start;border:0;background:transparent;color:#a82b37;font-size:12.5px;font-weight:700;cursor:pointer;padding:2px 4px}

/* Termin-Karte (Entwurf: oben rechts im Kalender, Farbbalken oben) */
.k24-peek{position:absolute;right:12px;width:min(402px,calc(100% - 22px));z-index:5;background:#fff;border:1px solid #d6d3cf;border-radius:16px;box-shadow:0 14px 36px rgba(0,0,0,.18);overflow:hidden}
.k24-peek-bar{display:block;height:8px;background:var(--type)}
.k24-peek-in{padding:14px 16px 16px 16px;display:flex;flex-direction:column;gap:10px}
.k24-peek-head{display:flex;gap:10px;align-items:flex-start}
.k24-peek-titles{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.k24-peek-tag{align-self:flex-start;font-size:12px;font-weight:700;border-radius:999px;padding:2px 10px;color:#fff;background:var(--type)}
.k24-peek-title{font-size:20px;line-height:1.2;font-weight:750;color:#292929;border:0;background:transparent;padding:0;text-align:left;cursor:pointer;text-decoration:underline;
 text-underline-offset:2px;overflow-wrap:anywhere}
strong.k24-peek-title{text-decoration:none;cursor:default}
.k24-peek-title:hover{color:#7d1f29}
.k24-peek-titles>small{color:#66625f}
.k24-peek-x{width:44px;height:44px;border-radius:10px;border:0;background:#f4f3f1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#292929;flex:none;padding:0}
.k24-peek-x .dorfer-icon{width:20px;height:20px;stroke-width:2}
.k24-peek-row{margin:0;display:flex;gap:8px;align-items:flex-start}
.k24-peek-row .dorfer-icon{width:18px;height:18px;flex:none;margin-top:2px;color:#66625f}
.k24-peek-team{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.k24-peek-team>.dorfer-icon{width:18px;height:18px;color:#66625f}
.k24-peek-team .k24-chip{font-size:14px;padding:3px 10px}
.k24-peek-noteam{align-self:flex-start;font-size:14px;font-weight:700;color:#7a4700;background:#fbf0dc;border:1px solid #d9a24a;border-radius:10px;padding:4px 10px}
.k24-peek-info{background:#faf9f7;border-radius:10px;padding:8px 10px;font-size:14px}
.k24-peek-actions{display:flex;flex-wrap:wrap;gap:8px}
.k24-peek-stack{display:flex;flex-direction:column;gap:8px}
.k24-peek-stack>small{color:#66625f}
.k24-pbtn{flex:1 1 150px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #d6d3cf;background:#fff;color:#292929;border-radius:12px;
 text-decoration:none;font-weight:650;cursor:pointer;padding:0 10px;text-align:center}
.k24-pbtn.is-primary{border:0;background:#a82b37;color:#fff;font-weight:700}
.k24-pbtn.is-wide{flex:none;width:100%}

/* Rückfragen „Termin verschieben?“ und „Vormerkung fest einplanen?“ (Entwurf: Kasten mit roter Linie über dem Kalender) */
.k24-dialog{border:2px solid #a82b37;border-radius:16px;box-shadow:0 14px 36px rgba(0,0,0,.22);padding:16px 18px;width:min(500px,calc(100vw - 24px));max-height:calc(100vh - 32px);
 overflow:auto;background:#fff;color:#292929;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.45}
.k24-dialog[open]{display:flex;flex-direction:column;gap:10px}
.k24-dialog::backdrop{background:transparent}
.k24-dialog h2{margin:0;font-size:20px;line-height:1.45;font-weight:700}
.k24-dlg-label{margin:0;font-size:16px;font-weight:700}
.k24-cmp{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;font-size:15px}
.k24-cmp>span:nth-child(odd){color:#66625f}
.k24-cmp .is-old{text-decoration:line-through;color:#66625f}
.k24-cmp .is-muted{color:#66625f}
.k24-notes{display:flex;flex-direction:column;gap:10px}
.k24-notes:empty{display:none}
.k24-note{font-size:14px;font-weight:600;border-radius:10px;padding:7px 10px;color:#4f4b47;background:#f4f3f1}
.k24-note.is-warn{color:#7a4700;background:#fbf0dc}
.k24-note.is-ok{color:#0f5a38;background:#e6f2ec}
.k24-note.is-mail{color:#1f3a52;background:#eaf0f6}
.k24-adjust-box{display:flex;flex-direction:column;gap:6px}
.k24-adjust-label{font-size:14px;font-weight:650}
.k24-adjust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.k24-adjust button{min-height:46px;border:2px solid #d6d3cf;border-radius:12px;background:#fff;font-weight:700;cursor:pointer;color:#292929}
.k24-adjust-box .k24-adjust button{min-height:48px}
.k24-pick{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:6px}
.k24-pickw{min-height:56px;text-align:left;padding:6px 10px;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:1px;border:2px solid #d6d3cf;border-left:8px solid var(--pc);
 background:#fff;color:#292929}
.k24-pickw strong{font-size:14px}
.k24-pickw small{font-weight:650;color:#7a4700;font-size:12.5px}
.k24-pickw.is-free small{color:#0f5a38}
.k24-pickw.is-on{border-color:#a82b37;border-left-color:var(--pc);background:#a82b37;color:#fff}
.k24-pickw.is-on small{color:#fff}
.k24-dlg-foot{display:flex;flex-wrap:wrap;gap:10px}
.k24-dlg-foot button{flex:1 1 120px;min-height:52px;border:2px solid #d6d3cf;border-radius:12px;background:#fff;color:#292929;font-weight:650;cursor:pointer}
.k24-dlg-foot button.is-primary{flex:1 1 180px;border:0;background:#a82b37;color:#fff;font-weight:700}
.k24-dlg-foot button:disabled{opacity:.45;cursor:default}
.k24-dialog[aria-label="Termin verschieben"]{width:min(460px,calc(100vw - 24px))}
.k24-dialog[aria-label="Termin verschieben"] .k24-dlg-foot button.is-primary{flex-basis:160px}

/* Schmaler als iPad quer: Kalender oben in voller Breite, linke Auswahl darunter nebeneinander */
@media (max-width:1100px){
 .k24-main{order:1;flex-basis:100%}
 .k24-left{order:2;flex-basis:100%;max-width:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start}
}
@media (max-width:700px){
 .k24-bar{padding:8px}
 .k24-views{width:100%}
 .k24-views button{flex:1 1 0}
 .k24-thead,.k24-trow{grid-template-columns:120px minmax(0,1fr)}
 .k24-peek{left:8px;right:8px;width:auto}
}

/* ---------- V14.49.29 (Wunsch des Inhabers): Löschen für Admin leichter (Auftrag, Papierkorb, Vormerkung) ---------- */
.v144929-delete{max-width:560px}
.v144929-choice{display:flex;flex-direction:column;gap:8px;margin:12px 0;padding:12px 14px;border:1px solid #e4e2df;border-radius:12px;background:#fff}
.v144929-choice.is-danger{border-color:#e8b9be;background:#fbf0f1}
.v144929-choice>.btn{align-self:flex-start;min-height:44px}
.v144929-choice small{color:#66625f}
.v144929-tick{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:6px 0;font-weight:600;line-height:1.4;cursor:pointer}
.v144929-tick input{flex:0 0 auto;width:22px;height:22px;margin:1px 0 0 0;accent-color:#a82b37}
.v144929-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 12px 0;padding:10px 14px;border:1px solid #e8b9be;border-radius:12px;background:#fbf0f1}
.v144929-bulk .btn{min-height:44px}
.v144929-bulk small{flex:1 1 260px;color:#66625f}
.trash-row .v144929-pick{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}
.trash-row .v144929-pick input{width:22px;height:22px;accent-color:#a82b37}
.v144929-res-delete{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px;padding-top:12px;border-top:1px solid #e4e2df}
.v144929-res-delete .btn{min-height:44px}
.v144929-res-delete small{color:#66625f}
.trash-row .v144929-pick+div{flex:1 1 auto;min-width:0}
/* V14.49.30 (Wunsch des Inhabers, 28.10.2026): Vormerkung löschen oben im Fenster, an der Karte im Montagekalender und in der
   Montage-Steuerung (nur Admin); beim endgültigen Löschen steht, was mitgelöscht wird (Kaufvertrag, Zahlungen …). */
.dorfer20-dialog-head+.v144929-res-delete{margin:2px 0 12px;padding:0 0 12px;border-top:0;border-bottom:1px solid #e4e2df}
/* eigene Zeile unter „Vormerkung öffnen“ / „Im Kalender“ – die Spalte ist für drei Knöpfe nebeneinander zu schmal */
.k24-vbtns{flex-wrap:wrap}
.k24-vdel{flex:1 0 100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:2px solid #e8b9be;background:#fff;color:#a82b37;border-radius:10px;cursor:pointer;padding:0 8px;font-size:14px;font-weight:650}
.k24-vdel svg{width:20px;height:20px;flex:0 0 auto}
.b22-nextcol>.btn.b22-resdel{margin-top:6px;background:#fff;color:#a82b37;border:1px solid #e8b9be}
.v144930-inhalt{margin:10px 0;padding:10px 14px;border:1px solid #e4e2df;border-radius:12px;background:#fff;line-height:1.45}
.v144930-inhalt.is-alles{border-color:#e8b9be;background:#fbf0f1}
.v144930-inhalt strong{display:block;margin-bottom:4px}
.v144930-inhalt ul{margin:4px 0 0 0;padding-left:20px}
.v144930-inhalt li{margin:2px 0}
.v144930-inhalt small{display:block;margin-top:6px;color:#66625f}
.v144930-bulk-list{max-height:40vh;overflow:auto;margin:8px 0;padding:0 0 0 20px}
.v144930-bulk-list li{margin:3px 0;line-height:1.4}
