/* V11.1b final cascade — bestehende V11-Regeln konsolidiert, kein zusätzlicher Override-Layer. */
:root, body, button, input, textarea, select { font-family:"Montserrat", Arial, sans-serif !important; }
body { font-weight:300; }
p, textarea, .block-summary, .steps-cell, .questions-cell, .material-cell { font-weight:300 !important; }
button, label, strong, b, select, th, .eyebrow, .document-name, .schedule-head, .brand, .doc-button { font-weight:500 !important; }
h3, h4 { font-weight:500 !important; }
h1, h2, .inline-project-title, .date-text { font-weight:700 !important; }
a { color:inherit; text-decoration:none; }
.paper-footer a:hover { text-decoration:underline; }


.day-start-lock.in-plan { position:relative; display:inline-block; width:20px; height:20px; margin:-5px 4px -6px 0; padding:0; border:0; background:transparent; vertical-align:middle; }
.day-start-lock.in-plan i::before { top:8px; left:5px; }
.day-start-lock.in-plan i::after { top:3px; left:7px; }
.schedule-end-drop { min-height:38px; display:flex; align-items:center; justify-content:center; gap:9px; margin:7px 8px 0; border:1px dashed #b9c7d4; border-radius:8px; background:#f8fafb; color:#6e7c8f; font-size:8px; transition:transform .15s,background .15s,border-color .15s; }
.schedule-end-drop button { width:24px; height:24px; border:1px solid #b9c7d4; border-radius:50%; padding:0; background:#fff; color:var(--ink); font-size:16px; }
.schedule-end-drop.active { border-color:var(--green); background:#edf8f3; transform:scale(1.01); }

.custom-material-row { grid-template-columns:18px minmax(0,1fr) 58px 66px 20px; }
.custom-material-label { min-width:0; margin:0 !important; border:0; padding:4px 2px; background:transparent; font-size:9px; }
.add-custom-material { margin-top:10px; }
.schedule-question-section { margin-top:24px; border-top:1px solid var(--line); padding-top:18px; }
.schedule-question-section .section-heading { margin-bottom:12px; }
.schedule-question-section .section-heading h3 { margin:2px 0 3px; font-size:14px; }
.schedule-question-section .section-heading span, .schedule-question-section.empty { color:var(--muted); font-size:8px; }
.schedule-question-group { border-top-color:var(--question-color) !important; }
.schedule-question-group > strong { display:block; margin-bottom:10px; font-size:12px; }
.question-line.static { min-height:34px; border:1px solid #d6dfe7; border-radius:6px; padding:8px 9px; background:#fff; color:var(--ink); font-size:9px; line-height:1.35; }


/* V11 App-Kopf und frei sortierbare Bibliotheksordner */
.app-shell { grid-template-rows:70px 1fr !important; }
.topbar { height:70px !important; padding:0 22px !important; }
.brand { min-width:300px !important; gap:14px !important; color:var(--ink); font-size:20px !important; font-weight:500 !important; letter-spacing:-.03em !important; }
.brand-mark { width:62px !important; height:54px !important; object-fit:contain !important; }
.method-folder > header { grid-template-columns:24px minmax(0,1fr) 27px !important; }
.folder-grip { width:22px; height:28px; border:0; border-radius:5px; padding:0; background:transparent; color:#8a96a6; font-size:12px; line-height:1; cursor:grab; }
.folder-grip:hover { background:#edf1f5; color:var(--ink); }
.folder-grip:active { cursor:grabbing; }
.method-folder.folder-dragging { opacity:.48; transform:scale(.99); }
.method-folder.folder-reorder-before { box-shadow:0 -4px 0 var(--folder-color); }
.method-folder.folder-reorder-after { box-shadow:0 4px 0 var(--folder-color); }

/* V11.1 Dokumentfundament: responsive Screenfläche, klare Dokumenttypen. */
.workspace {
  height:calc(100vh - 70px) !important;
  grid-template-columns:220px minmax(0,1fr) 44px 310px !important;
}
.workspace.left-collapsed { grid-template-columns:0 minmax(0,1fr) 44px 310px !important; }
.workspace.right-collapsed { grid-template-columns:220px minmax(0,1fr) 44px 0 !important; }
.workspace.left-collapsed.right-collapsed { grid-template-columns:0 minmax(0,1fr) 44px 0 !important; }
.editor-pane { min-width:0; overflow:auto; }
.workspace-controls { max-width:calc(100% - 48px); }

.print-paper-header { display:none; }
.inline-project-meta .meta-grow { display:none !important; }
.inline-project-meta .client-divider { display:inline !important; }
.client-meta input { text-align:left !important; }
.inline-project-meta input[type="time"]::-webkit-calendar-picker-indicator { display:none; }
.inline-project-meta input[type="time"] { appearance:textfield; -webkit-appearance:textfield; }
.document-paper.orientation-landscape,
.schedule-paper.orientation-landscape {
  box-sizing:border-box;
  width:1160px !important;
  max-width:none !important;
  min-height:820px !important;
  aspect-ratio:297 / 210;
}
.document-paper.orientation-portrait,
.material-list-paper.orientation-portrait {
  box-sizing:border-box;
  width:794px !important;
  max-width:none !important;
  min-height:1123px !important;
}

/* V11: ruhige, seitenfeste Druckgestaltung */
h1, h2, .inline-project-title, .date-text { font-weight:500 !important; }

/* Seitengrößen werden seit V11.1 ausschließlich über orientation-* gesteuert. */

.paper-header {
  grid-template-columns:minmax(0,1fr) 120px !important;
  gap:18px !important;
  align-items:start;
  margin-bottom:18px !important;
}
.paper-title {
  min-width:0;
  border-bottom:1px solid #d7dee6;
  padding:0 0 13px !important;
}
.inline-title-row {
  display:grid !important;
  grid-template-columns:132px minmax(0,1fr) !important;
  gap:10px !important;
  align-items:baseline !important;
}
.date-combo,
.date-combo .date-text {
  width:132px !important;
  min-width:132px !important;
}
.date-text,
.inline-project-title {
  height:auto !important;
  color:var(--ink) !important;
  font-size:25px !important;
  line-height:1.12 !important;
  letter-spacing:-.035em !important;
}
.inline-project-meta {
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  min-height:20px !important;
  margin-top:8px !important;
  gap:5px !important;
  color:#627086 !important;
  font-size:9px !important;
  line-height:1.2;
  white-space:nowrap;
}
.inline-project-meta .time-combo { gap:3px !important; margin-left:0 !important; }
.inline-project-meta .time-combo input {
  width:42px !important;
  min-width:42px !important;
  font-size:9px !important;
  text-align:left !important;
}
.inline-project-meta .document-name {
  margin-left:0 !important;
  color:#627086 !important;
  font-weight:500 !important;
}
.inline-project-meta .meta-divider { margin:0 1px !important; color:#9aa6b4 !important; }
.inline-project-meta .client-divider { display:inline !important; }
.client-meta { display:inline-flex; min-width:0; align-items:center; gap:4px; }
.client-meta input {
  min-width:0 !important;
  padding-right:0 !important;
  text-align:left !important;
}
.client-meta .customer-value { width:76px !important; }
.client-meta .location-value { width:62px !important; }
.paper-logo-wrap { height:74px !important; align-items:flex-start; }
.paper-logo { max-width:116px !important; max-height:74px !important; object-fit:contain; }


.schedule-row {
  min-height:48px !important;
  height:auto !important;
  align-items:stretch;
}
.schedule-row > div:not(.row-actions) { padding-top:7px !important; padding-bottom:7px !important; }
.schedule-row textarea.inline-cell {
  box-sizing:border-box;
  min-height:24px !important;
  overflow:hidden !important;
  resize:none !important;
  field-sizing:content;
  line-height:1.35 !important;
}
.schedule-row textarea.block-title {
  min-height:24px !important;
  margin-bottom:1px !important;
  font-weight:500 !important;
}
.schedule-row .time-cell {
  position:relative;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center !important;
  padding:15px 5px 6px !important;
}
.block-start {
  position:absolute;
  top:5px;
  left:4px;
  right:4px;
  min-height:10px !important;
  font-size:8px !important;
  line-height:1 !important;
}
.day-start-lock.in-plan { margin:-6px 3px -6px 0 !important; }
.duration-line {
  width:92px !important;
  min-height:42px !important;
  display:grid !important;
  grid-template-columns:22px minmax(36px,1fr) 22px !important;
  grid-template-rows:1fr !important;
  place-items:center;
  gap:1px !important;
}
.duration-line button {
  width:22px !important;
  min-width:22px !important;
  height:24px !important;
  opacity:0 !important;
  pointer-events:none;
  transform:scale(.82) !important;
  transition:opacity .14s ease, transform .16s ease, background .14s ease !important;
}
.duration-line:hover button,
.duration-line:focus-within button {
  opacity:1 !important;
  pointer-events:auto;
  transform:scale(1) !important;
}
.duration-value {
  display:flex !important;
  flex-direction:column;
  align-items:center !important;
  justify-content:center;
  gap:2px !important;
}
.duration-value input {
  width:44px !important;
  min-width:44px !important;
  border:0 !important;
  padding:0 !important;
  background:transparent !important;
  color:#26354d !important;
  font-size:22px !important;
  font-weight:500 !important;
  line-height:1 !important;
  text-align:center !important;
}
.duration-value small {
  display:block;
  font-size:7px !important;
  font-weight:500 !important;
  line-height:1 !important;
}
.timing-note { position:absolute; right:3px; bottom:2px; left:3px; width:auto !important; }

/* Angebotsseiten V11.1b: pro Seite genau eine Akzentfarbe und ein gemeinsames Boxsystem. */
@media print {
  @page landscapePage { size:A4 landscape; margin:0; }
  @page portraitPage { size:A4 portrait; margin:0; }
  @page offer { size:A4 portrait; margin:0; }

  html, body, .app-shell, .workspace, .editor-pane { height:auto !important; max-height:none !important; overflow:visible !important; }
  .editor-pane { padding:0 !important; }
  .workspace { display:block !important; }

  .screen-paper-header { display:none !important; }
  .print-paper-header {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 30mm;
    gap:6mm;
    align-items:start;
    margin-bottom:5mm;
  }
  .print-paper-title { min-width:0; padding-bottom:3.5mm; border-bottom:0.25mm solid #d7dee6; }
  .print-title-row { display:flex; align-items:baseline; gap:4mm; min-width:0; color:#17253f; font-variant-numeric:tabular-nums; }
  .print-title-row > span { flex:0 0 auto; font-size:18pt; font-weight:500; line-height:1.1; letter-spacing:-.025em; }
  .print-title-row > strong { min-width:0; font-size:18pt; font-weight:500 !important; line-height:1.1; letter-spacing:-.025em; }
  .print-meta-row { display:flex; align-items:center; gap:2.2mm; min-width:0; margin-top:2.4mm; color:#627086; font-size:7.4pt; font-weight:500; line-height:1.2; white-space:nowrap; }
  .print-meta-divider { color:#a2adba; }
  .print-paper-logo-wrap { height:19mm; display:flex; justify-content:flex-end; align-items:flex-start; }
  .print-paper-logo { max-width:29mm; max-height:19mm; object-fit:contain; }

  .paper.orientation-landscape {
    page:landscapePage;
    box-sizing:border-box !important;
    width:297mm !important;
    max-width:297mm !important;
    height:210mm !important;
    min-height:210mm !important;
    max-height:210mm !important;
    margin:0 !important;
    overflow:hidden !important;
  }
  .paper.orientation-portrait {
    page:portraitPage;
    box-sizing:border-box !important;
    width:210mm !important;
    max-width:210mm !important;
    height:297mm !important;
    min-height:297mm !important;
    max-height:297mm !important;
    margin:0 !important;
    overflow:hidden !important;
  }
  .paper.orientation-landscape .paper-footer,
  .paper.orientation-portrait .paper-footer { right:14mm !important; bottom:7mm !important; left:14mm !important; }
  .schedule-end-drop { display:none !important; }

}

/* V11.2 – variable Inhaltsdokumente: Screenbearbeitung bleibt erhalten,
   Druck bekommt statische, echte Folgeseiten ohne Footer-Kollisionen. */
.paginated-print-pages { display:none; }
.print-document-intro { margin:0 0 18px; }
.print-document-intro h2 { margin:0 0 4px; font-size:18px; font-weight:500 !important; letter-spacing:-.018em; }
.print-document-intro p { margin:0; color:#748095; font-size:8.5px; line-height:1.45; }
.print-empty-hint, .print-empty-state { color:#8a95a4; font-weight:300 !important; }

.question-print-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.question-print-card {
  min-width:0;
  border:1px solid #d9e0e7;
  border-top:5px solid var(--question-color,#97bae2);
  border-radius:10px;
  padding:15px 17px 16px;
  background:#fff;
}
.question-print-source { margin-bottom:6px; color:var(--question-color,#97bae2); font-size:7px; font-weight:500; letter-spacing:.07em; text-transform:uppercase; }
.question-print-card h3 { margin:0 0 11px; color:#17253f; font-size:14px; line-height:1.25; font-weight:500 !important; }
.question-print-lines { display:grid; gap:7px; }
.question-print-lines p { display:grid; grid-template-columns:10px minmax(0,1fr); gap:3px; margin:0; color:#26354d; font-size:9px; line-height:1.38; }
.question-print-lines p > span { color:var(--question-color,#97bae2); font-weight:500; }

.mirror-print-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.mirror-print-card { min-width:0; border:1px solid #d9e0e7; border-left:5px solid #78c3a7; border-radius:10px; padding:15px 17px; background:#fff; }
.mirror-print-card.wide { grid-column:1 / -1; }
.mirror-print-head { display:flex; align-items:center; gap:9px; margin-bottom:12px; }
.mirror-print-head > span { width:24px; height:24px; flex:0 0 24px; display:grid; place-items:center; border-radius:6px; background:#eef2f5; color:#17253f; font-size:9px; font-weight:500; }
.mirror-print-head h3 { margin:0; font-size:13px; line-height:1.25; font-weight:500 !important; }
.mirror-print-label { margin:8px 0 4px; color:#738095; font-size:6.7px; font-weight:500; letter-spacing:.065em; text-transform:uppercase; }
.mirror-print-card p, .mirror-print-card strong { display:block; margin:0; color:#26354d; font-size:9px; line-height:1.45; font-weight:300 !important; }
.mirror-print-card strong { padding-top:7px; border-top:1px solid #e2e7ec; color:#17253f; font-weight:500 !important; }

.before-print-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:16px; min-height:470px; }
.before-print-grid.two-cards { grid-template-rows:1fr; }
.before-print-card { min-width:0; min-height:205px; border:1px solid #d9e0e7; border-radius:12px; padding:18px; background:linear-gradient(180deg,rgba(151,186,226,.055),#fff 42%); }
.before-print-card:nth-child(2n) { background:linear-gradient(180deg,rgba(120,195,167,.055),#fff 42%); }
.before-print-card h3 { margin:0 0 13px; color:#17253f; font-size:12px; font-weight:500 !important; }
.before-print-card p { margin:0; color:#46556b; font-size:10px; line-height:1.55; white-space:pre-wrap; }

.material-print-zones { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin-top:22px; }
.material-print-zone { min-width:0; }
.material-print-zone-title { display:flex; align-items:baseline; justify-content:space-between; gap:10px; border-bottom:3px solid var(--material-zone-color); padding:0 2px 8px; }
.material-print-zone-title h3 { margin:0; font-size:13px; font-weight:500 !important; }
.material-print-zone-title span { color:#7a8798; font-size:7px; }
.material-print-row { min-height:34px; display:grid; grid-template-columns:18px minmax(0,1fr) 34px; gap:8px; align-items:center; border-bottom:1px solid #e3e8ed; padding:5px 2px; color:#26354d; font-size:9px; }
.material-print-row strong { text-align:center; font-size:9px; font-weight:500 !important; }
.material-print-check { width:14px; height:14px; display:grid; place-items:center; border:1px solid #59677c; border-radius:2px; color:#17253f; font-size:9px; line-height:1; }
.material-print-check.checked { background:#f2f5f7; }

@media print {
  .paginated-screen-paper { display:none !important; }
  .paginated-print-pages { display:block !important; }
  .paginated-print-pages .paginated-print-paper { break-after:page !important; page-break-after:always !important; }
  .paginated-print-pages .paginated-print-paper:last-child { break-after:auto !important; page-break-after:auto !important; }

  .paginated-print-pages .print-paper-header,
  .all-days-print .material-print-page .print-paper-header { display:grid !important; }

  .question-print-grid { gap:4mm !important; }
  .question-print-card { break-inside:avoid !important; page-break-inside:avoid !important; border-width:.25mm !important; border-top-width:1.25mm !important; border-radius:2.5mm !important; padding:3.8mm 4.2mm 4.2mm !important; }
  .question-print-source { margin-bottom:1.5mm !important; font-size:5.6pt !important; }
  .question-print-card h3 { margin-bottom:2.6mm !important; font-size:10.5pt !important; }
  .question-print-lines { gap:1.55mm !important; }
  .question-print-lines p { grid-template-columns:2.4mm minmax(0,1fr) !important; gap:.8mm !important; font-size:7.4pt !important; line-height:1.34 !important; }

  .mirror-print-grid { gap:3.7mm !important; }
  .mirror-print-card { break-inside:avoid !important; page-break-inside:avoid !important; border-width:.25mm !important; border-left-width:1.25mm !important; border-radius:2.5mm !important; padding:3.6mm 4.2mm !important; }
  .mirror-print-head { gap:2.2mm !important; margin-bottom:2.8mm !important; }
  .mirror-print-head > span { width:6mm !important; height:6mm !important; flex-basis:6mm !important; font-size:7pt !important; }
  .mirror-print-head h3 { font-size:9.6pt !important; }
  .mirror-print-label { margin:2mm 0 1mm !important; font-size:5.4pt !important; }
  .mirror-print-card p, .mirror-print-card strong { font-size:7.4pt !important; line-height:1.38 !important; }
  .mirror-print-card strong { padding-top:1.7mm !important; }

  .before-print-grid { gap:4mm !important; min-height:125mm !important; }
  .before-print-card { min-height:53mm !important; border-width:.25mm !important; border-radius:3mm !important; padding:4.5mm !important; break-inside:avoid !important; page-break-inside:avoid !important; }
  .before-print-card h3 { margin-bottom:3mm !important; font-size:9.5pt !important; }
  .before-print-card p { font-size:8.2pt !important; line-height:1.48 !important; }

  .material-screen-page { display:none !important; }
  .material-print-page { page:portraitPage; break-after:page !important; page-break-after:always !important; }
  .material-print-page:last-child { break-after:auto !important; page-break-after:auto !important; }
  .print-material-head { margin-top:0 !important; }
  .material-print-zones { gap:7mm !important; margin-top:5mm !important; }
  .material-print-zone-title { border-bottom-width:.8mm !important; padding-bottom:2mm !important; }
  .material-print-zone-title h3 { font-size:9.8pt !important; }
  .material-print-zone-title span { font-size:5.6pt !important; }
  .material-print-row { min-height:8mm !important; grid-template-columns:4.5mm minmax(0,1fr) 9mm !important; gap:2mm !important; padding:1.2mm .5mm !important; font-size:7.5pt !important; }
  .material-print-row strong { font-size:7.5pt !important; }
  .material-print-check { width:3.6mm !important; height:3.6mm !important; border-width:.3mm !important; font-size:7pt !important; }
}

/* V11.3 Mehrtag-Pagination: Messfläche entspricht der nutzbaren A4-Querformatbreite. */
.pagination-measure {
  width:269mm !important;
}
.pagination-measure .schedule-row {
  box-sizing:border-box;
  border-left:2mm solid var(--category-color);
}
.pagination-measure .measure-strip { display:none !important; }

/* V11.3c — Fermentierlust: eigene Seitenfarben auf derselben Angebotsarchitektur */

/* V11.3d — finale Fermentierlust-Angebotsregeln (müssen nach allen historischen Overrides gewinnen) */

/* V11.3d Korrektur nach PDF-Sichtprüfung */


/* V11.3e – visuelle Bereinigung nach Review
   Ziele:
   - duale Logos tiefer und ruhiger positionieren
   - Headings nicht am oberen Rand kleben lassen
   - Footer mit sauberer Sicherheitszone nach unten
   - Cover-Bilder etwas höher, damit unten kein optischer Randstress entsteht
*/


/* V11.4 – Builder-Polish
   1) Paginated builder pages use natural height on screen, so headers/content/footers no longer overlap.
   2) Offer editor gets a small image-slot organizer for the cover photos.
*/
.paginated-document-shell .paginated-screen-paper {
  display:flex !important;
  flex-direction:column !important;
  height:auto !important;
  min-height:1123px !important;
  max-height:none !important;
  overflow:visible !important;
  padding-bottom:28px !important;
}
.paginated-document-shell .paginated-screen-paper .paper-footer {
  position:static !important;
  margin-top:18px !important;
}
.paginated-document-shell .paginated-screen-paper .two-column {
  align-items:start !important;
}
.paginated-document-shell .paginated-screen-paper .question-group,
.paginated-document-shell .paginated-screen-paper .mirror-card,
.paginated-document-shell .paginated-screen-paper .section-card {
  break-inside:avoid;
}


/* V11.5 – Typografie, Angebotsicons, itemisierte Honorare, Beauftragung */
@font-face { font-family:"Roboto"; src:local("Roboto Light"),local("Roboto"); font-weight:300; }
@font-face { font-family:"Roboto"; src:local("Roboto Medium"),local("Roboto"); font-weight:500; }
@font-face { font-family:"Roboto"; src:local("Roboto Bold"),local("Roboto"); font-weight:700; }
@font-face { font-family:"Josefin Sans"; src:local("Josefin Sans Light"),local("Josefin Sans"); font-weight:300; }
@font-face { font-family:"Josefin Sans"; src:local("Josefin Sans Medium"),local("Josefin Sans"); font-weight:500; }
@font-face { font-family:"Josefin Sans"; src:local("Josefin Sans Bold"),local("Josefin Sans"); font-weight:700; }
.typography-toolbar { max-width:calc(100% - 48px); margin:0 auto 12px; display:flex; align-items:end; gap:10px; padding:10px 12px; border:1px solid #dbe3ea; border-radius:12px; background:#fff; box-shadow:0 6px 18px rgba(23,37,63,.05); }
.typography-toolbar > div { min-width:190px; margin-right:auto; }
.typography-toolbar .eyebrow { margin:0 0 2px; }
.typography-toolbar strong { font-size:12px; }
.typography-toolbar label { display:grid; gap:4px; color:#6b788a; font-size:9px; }
.typography-toolbar select { min-width:112px; border:1px solid #d6dfe7; border-radius:8px; padding:7px 28px 7px 9px; background:#fff; color:var(--ink); font-size:11px; }
.typography-scope textarea, .typography-scope input[type="text"], .typography-scope input:not([type]), .typography-scope .mirror-display p, .typography-scope .mirror-question, .typography-scope .question-line.static, .typography-scope .question-print-lines p, .typography-scope .before-print-card p, .typography-scope .worksheet-guide-print { font-family:var(--user-font-family) !important; font-weight:var(--user-font-weight) !important; font-size:var(--user-font-size) !important; }
/* Candidate 11: the schedule uses the same typography variables in editor, pagination measurement and print. */
.typography-scope .schedule-row,
.typography-scope .schedule-row textarea.inline-cell,
.typography-scope .schedule-row input.inline-cell,
.typography-scope .schedule-row .steps-cell,
.typography-scope .schedule-row .questions-cell,
.typography-scope .schedule-row .material-cell,
.typography-scope .schedule-row .block-title {
  font-family:var(--user-font-family) !important;
  font-weight:var(--user-font-weight) !important;
  font-size:var(--user-font-size) !important;
  line-height:1.34 !important;
}
.typography-scope .schedule-row .block-title { font-size:calc(var(--user-font-size) * 1.06) !important; }
.typography-scope .schedule-head { font-family:var(--user-font-family) !important; font-size:calc(var(--user-font-size) * .75) !important; }
.typography-scope .schedule-legend { font-family:var(--user-font-family) !important; font-size:calc(var(--user-font-size) * .72) !important; }
.typography-scope .schedule-row .block-summary,
.typography-scope .schedule-row .responsible-line,
.typography-scope .schedule-row .reserve-line { font-family:var(--user-font-family) !important; font-weight:var(--user-font-weight) !important; font-size:calc(var(--user-font-size) * .88) !important; line-height:1.32 !important; }
.typography-scope .phase-row,
.typography-scope .phase-row input { font-family:var(--user-font-family) !important; font-weight:var(--user-font-weight) !important; font-size:calc(var(--user-font-size) * .92) !important; }
.typography-scope .note-row,
.typography-scope .note-row input,
.typography-scope .note-row textarea { font-family:var(--user-font-family) !important; font-weight:var(--user-font-weight) !important; font-size:calc(var(--user-font-size) * .9) !important; }



/* Candidate 11: grouped surveys + compact right-side typography controls. */
.doc-group { display:grid; gap:2px; }
.doc-group-button { display:grid; grid-template-columns:22px 1fr 12px; align-items:center; width:100%; border:0; border-radius:4px; padding:7px 6px; background:transparent; color:var(--ink); text-align:left; font-size:10.5px; font-weight:800; }
.doc-group-button:hover, .doc-group-button.active { background:#f0f3f6; }
.doc-group-button > i { width:7px; height:7px; border-right:1.5px solid #758398; border-bottom:1.5px solid #758398; transform:rotate(45deg); transition:transform 140ms ease; }
.doc-group.collapsed .doc-group-button > i { transform:rotate(-45deg); }
.doc-sublist { display:grid; gap:2px; margin-left:13px; padding-left:8px; border-left:1px solid #dce4eb; }
.doc-group.collapsed .doc-sublist { display:none; }
.doc-subbutton { grid-template-columns:18px 1fr; padding-left:4px; font-size:9.8px; }
.doc-subbutton .doc-icon { width:15px; height:15px; font-size:8px; }
.typography-panel-c11 { width:100%; min-width:0; overflow:hidden; }
.typography-panel-c11 > p:not(.eyebrow) { margin-top:4px; color:#718096; font-size:10px; line-height:1.45; }
.typography-controls { display:grid; gap:12px; margin-top:18px; }
.typography-controls label { min-width:0; display:grid; gap:5px; color:#65758a; font-size:9px; }
.typography-controls select { width:100%; min-width:0; margin:0; padding:8px 30px 8px 9px; border:1px solid #d6dfe7; border-radius:8px; background:#fff; color:var(--ink); font-size:11px; }
.typography-reset { width:100%; margin-top:14px; }


/* V11.6 – Angebot kompakter, lesbarer und direkter PDF-Workflow */
.project-json-import{display:flex;align-items:center;gap:12px;margin:-2px 0 18px;padding:12px 14px;border:1px dashed #c8d4df;border-radius:12px;background:#f8fafc;}
.project-json-import span{color:#6b788a;font-size:12px;line-height:1.4;}


/* V11.6b – Builder/Export-Regressionsfix
   Print-only Bild darf im Fermentierlust-Builder nicht zusätzlich zum editierbaren Slot sichtbar sein. */

/* V11.6h – Drag & Drop: stabiler Löschbereich ohne Scroll-Sprung */
.drag-trash {
  position:fixed !important;
  z-index:125 !important;
  left:50% !important;
  bottom:0 !important;
  width:min(380px,68vw) !important;
  height:108px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
  translate:-50% 22px !important;
  transform:none !important;
  transition:opacity 150ms,translate 200ms var(--ease-out) !important;
}
.schedule-dragging .drag-trash {
  opacity:1 !important;
  pointer-events:auto !important;
  translate:-50% 0 !important;
}
.drag-trash-pill {
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 18px;
  border:1px solid #e5b7b7;
  border-radius:999px;
  background:#fff7f7;
  color:#9c3434;
  box-shadow:0 14px 42px rgba(23,37,63,.2);
  transform:scale(.96);
  transition:transform 160ms var(--ease-out),background 150ms,color 150ms,border-color 150ms;
  pointer-events:none;
}
.drag-trash-pill span { font-size:20px; }
.drag-trash.is-over .drag-trash-pill {
  background:#b83b3b;
  color:#fff;
  border-color:#b83b3b;
  transform:scale(1.08);
}


/* Candidate 12 refinements: calmer schedule typography, stable header, cleaner rail, survey styling, year action. */

.topbar-actions { display:flex; align-items:center; gap:10px; }
.topbar-actions .button.secondary { background:#fff; }
.workspace { grid-template-columns:220px minmax(0,1fr) 60px 320px !important; }
.workspace.left-collapsed { grid-template-columns:0 minmax(0,1fr) 60px 320px !important; }
.workspace.right-collapsed { grid-template-columns:220px minmax(0,1fr) 60px 0 !important; }
.workspace.left-collapsed.right-collapsed { grid-template-columns:0 minmax(0,1fr) 60px 0 !important; }
.tool-rail-stack { width:48px; margin:18px auto 0 !important; justify-items:center; gap:12px !important; }
.tool-rail, .zoom-rail { width:48px; padding:6px !important; border-radius:18px !important; background:rgba(255,255,255,.96) !important; box-shadow:0 10px 28px rgba(23,37,63,.08) !important; }
.tool-rail button, .zoom-rail button { width:36px; height:36px; border-radius:12px !important; }
.library-panel { padding:16px 16px 20px 18px !important; }
.right-panel-head { margin-top:0 !important; }
.typography-scope .paper-header .date-text,
.typography-scope .paper-header .inline-project-title { font-size:24px !important; line-height:1.1 !important; font-weight:500 !important; }
.typography-scope .paper-header .inline-project-meta,
.typography-scope .paper-header .inline-project-meta input,
.typography-scope .paper-header .inline-project-meta .document-name,
.typography-scope .paper-header .inline-project-meta .time-combo > span,
.typography-scope .paper-header .inline-project-meta .meta-divider { font-size:9px !important; line-height:1.22 !important; }
.typography-scope .paper-header .inline-project-meta .time-combo input { width:44px !important; min-width:44px !important; }
.typography-scope .schedule-row,
.typography-scope .schedule-row textarea.inline-cell,
.typography-scope .schedule-row input.inline-cell,
.typography-scope .schedule-row .steps-cell,
.typography-scope .schedule-row .questions-cell,
.typography-scope .schedule-row .material-cell,
.typography-scope .schedule-row .block-title { font-size:calc(var(--user-font-size) * .82) !important; line-height:1.34 !important; }
.typography-scope .schedule-row .block-title { font-size:calc(var(--user-font-size) * .9) !important; }
.typography-scope .schedule-head { font-size:calc(var(--user-font-size) * .7) !important; }
.typography-scope .schedule-legend { font-size:calc(var(--user-font-size) * .67) !important; }
.typography-scope .schedule-row .block-summary,
.typography-scope .schedule-row .responsible-line,
.typography-scope .schedule-row .reserve-line { font-size:calc(var(--user-font-size) * .76) !important; line-height:1.3 !important; }
.typography-scope .phase-row,
.typography-scope .phase-row input,
.typography-scope .note-row,
.typography-scope .note-row input,
.typography-scope .note-row textarea { font-size:calc(var(--user-font-size) * .82) !important; line-height:1.3 !important; }
.survey-document-head { display:grid; gap:14px; margin-bottom:18px; }
.survey-document-head .editable-document-head { display:grid; gap:14px; padding:20px 22px; border:1px solid #dce4eb; border-radius:18px; background:linear-gradient(180deg,#ffffff,#f8fafc); box-shadow:0 12px 28px rgba(23,37,63,.04); }
.survey-document-head .editable-document-head label { display:grid; gap:6px; color:#65758a; font-size:10px; }
.survey-document-head .editable-document-head input,
.survey-document-head .editable-document-head textarea { border:1px solid #d8e1e9; border-radius:12px; padding:10px 12px; background:#fff; }
.survey-toolbar { gap:10px !important; margin:0 0 18px !important; }
.survey-list { gap:14px !important; }
.survey-question { grid-template-columns:34px 1fr 24px !important; padding:16px !important; border:1px solid #dde5ec !important; border-radius:18px !important; background:#fff !important; box-shadow:0 10px 24px rgba(23,37,63,.04); }
.survey-question > span { width:30px; height:30px; background:#edf2f7 !important; font-size:11px !important; }
.survey-question textarea[data-survey-field="text"] { min-height:58px; border:1px solid #d8e1e9; border-radius:12px; padding:10px 12px; background:#fbfcfe; }
.survey-question-controls select { min-width:170px; border:1px solid #d8e1e9; border-radius:10px; padding:8px 10px; background:#fff; }
.survey-config { padding:12px !important; border-radius:14px !important; background:#f7fafc !important; }
.survey-analysis { margin-top:28px !important; border-radius:20px !important; background:linear-gradient(180deg,#ffffff,#f5f8fb) !important; box-shadow:0 12px 28px rgba(23,37,63,.04); }
.project-year-head { gap:12px; }
.project-year-head .button-like, .project-year-head [data-new-project-folder], .topbar-actions .button { white-space:nowrap; }


/* Candidate 13: regression cleanup after C12. */
/* User-selected schedule size is now the actual cell size again. C12 reduced it twice. */
.typography-scope .schedule-row,
.typography-scope .schedule-row textarea.inline-cell,
.typography-scope .schedule-row input.inline-cell,
.typography-scope .schedule-row .steps-cell,
.typography-scope .schedule-row .questions-cell,
.typography-scope .schedule-row .material-cell { font-size:var(--user-font-size) !important; }
.typography-scope .schedule-row .block-title { font-size:calc(var(--user-font-size) * 1.06) !important; }
.typography-scope .schedule-row .block-summary,
.typography-scope .schedule-row .responsible-line,
.typography-scope .schedule-row .reserve-line { font-size:calc(var(--user-font-size) * .88) !important; }
.typography-scope .phase-row,
.typography-scope .phase-row input { font-size:calc(var(--user-font-size) * .92) !important; }
.typography-scope .note-row,
.typography-scope .note-row input,
.typography-scope .note-row textarea { font-size:calc(var(--user-font-size) * .9) !important; }

/* The document header is a layout component, not body typography. */
.typography-scope .paper-header .date-text,
.typography-scope .paper-header .inline-project-title { font-family:"Montserrat",Arial,sans-serif !important; font-weight:500 !important; }
.document-paper.orientation-landscape .paper-header .inline-title-row,
.schedule-paper.orientation-landscape .paper-header .inline-title-row { grid-template-columns:126px minmax(0,1fr) !important; }
.document-paper.orientation-landscape .paper-header .date-combo,
.document-paper.orientation-landscape .paper-header .date-combo .date-text,
.schedule-paper.orientation-landscape .paper-header .date-combo,
.schedule-paper.orientation-landscape .paper-header .date-combo .date-text { width:126px !important; min-width:126px !important; }
.document-paper.orientation-landscape .paper-header .date-text,
.document-paper.orientation-landscape .paper-header .inline-project-title,
.schedule-paper.orientation-landscape .paper-header .date-text,
.schedule-paper.orientation-landscape .paper-header .inline-project-title { font-size:21px !important; line-height:1.1 !important; }

/* Portrait documents need a smaller header geometry so long project names cannot run into the logo. */
.document-paper.orientation-portrait .paper-header { grid-template-columns:minmax(0,1fr) 94px !important; gap:16px !important; }
.document-paper.orientation-portrait .paper-title { min-width:0 !important; }
.document-paper.orientation-portrait .inline-title-row { grid-template-columns:106px minmax(0,1fr) !important; gap:8px !important; }
.document-paper.orientation-portrait .date-combo,
.document-paper.orientation-portrait .date-combo .date-text { width:106px !important; min-width:106px !important; }
.document-paper.orientation-portrait .date-text,
.document-paper.orientation-portrait .inline-project-title { min-width:0 !important; width:100% !important; max-width:100% !important; font-size:17px !important; line-height:1.08 !important; overflow:hidden !important; text-overflow:ellipsis !important; }
.document-paper.orientation-portrait .paper-logo-wrap { width:94px !important; height:62px !important; }
.document-paper.orientation-portrait .paper-logo { max-width:92px !important; max-height:62px !important; }
.document-paper.orientation-portrait .inline-project-meta { gap:4px !important; font-size:8px !important; }
.document-paper.orientation-portrait .inline-project-meta .time-combo input { width:38px !important; min-width:38px !important; font-size:8px !important; }
.document-paper.orientation-portrait .client-meta .customer-value { width:68px !important; }
.document-paper.orientation-portrait .client-meta .location-value { width:54px !important; }

/* Rail stays visually independent from the panel and never sits on its border. */
.tool-rail-stack { margin:18px 6px 0 6px !important; }
.tool-rail, .zoom-rail { box-sizing:border-box; border-radius:16px !important; }
.library-panel { border-left:1px solid #dfe5eb !important; }


/* Candidate 18 – saubere deutsche Silbentrennung im Ablaufplan.
   Keine willkürlichen Buchstaben-Umbrüche mehr in schmalen Spalten. */
.typography-scope .schedule-row .block-cell,
.typography-scope .schedule-row .block-title,
.typography-scope .schedule-row .block-summary,
.typography-scope .schedule-row .steps-cell,
.typography-scope .schedule-row .questions-cell,
.typography-scope .schedule-row .questions-wrap,
.typography-scope .schedule-row .material-cell,
.typography-scope .schedule-row .responsible-line,
.typography-scope .schedule-row .reserve-line,
.typography-scope .schedule-row > div:not(.time-cell):not(.row-actions) {
  -webkit-hyphens: auto !important;
  hyphens: auto !important;
  hyphenate-character: "‐";
  hyphenate-limit-chars: 6 3 3;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Editierfelder selbst dürfen ebenfalls nicht mitten im Wort umbrechen. */
.typography-scope .schedule-row textarea.inline-cell,
.typography-scope .schedule-row input.inline-cell {
  word-break: normal !important;
  overflow-wrap: normal !important;
  -webkit-hyphens: auto !important;
  hyphens: auto !important;
}

/* Candidate 20: Gesamt-PDF material continuation uses the full portrait width when only one zone remains. */
.material-print-zone.span-all { grid-column:1 / -1; }
.material-print-zone.span-all .material-print-row { grid-template-columns:18px minmax(0,1fr) 34px; }
@media print {
  .material-print-zone.span-all .material-print-row { grid-template-columns:4.5mm minmax(0,1fr) 9mm !important; }
}


/* Candidate 22 – Footer-Hairline endgültig an der Quelle entfernt.
   Zusätzlich wird der physische Druckbereich oberhalb des Footers weiß übermalt,
   damit auch keine Subpixel-/Rasterkante eines darunterliegenden Elements sichtbar bleibt. */
.paper-footer {
  position:absolute;
  border:0 !important;
  border-top:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
  border-left:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:#fff !important;
  background-image:none !important;
  filter:none !important;
  isolation:isolate;
}
.paper-footer::before {
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  right:0;
  top:-10px;
  height:16px;
  border:0 !important;
  outline:0 !important;
  background:#fff !important;
  box-shadow:none !important;
}
@media print {
  .paper-footer,
  .paper.orientation-landscape .paper-footer,
  .paper.orientation-portrait .paper-footer {
    border:0 !important;
    border-block:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:#fff !important;
    background-image:none !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  .paper-footer::before {
    top:-3mm !important;
    height:4.5mm !important;
    background:#fff !important;
  }
}

/* === PROJECT BRIEF C24.0 === */
.project-brief-status{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:18px 20px;margin:0 0 18px;border:1px solid #dfe5ea;border-left:5px solid #f4dea0;border-radius:14px;background:#fff}
.project-brief-status.is-confirmed{border-left-color:#78c3a7;background:#fbfefd}
.project-brief-status .eyebrow,.project-brief-section-head .eyebrow{margin:0 0 5px;color:#667085;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.project-brief-statusline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.project-brief-statusline strong{font-size:18px;color:#17253f}.project-brief-statusline span{font-size:12px;color:#667085}.project-brief-status p:last-child{margin:6px 0 0;color:#667085;max-width:760px;line-height:1.45}
.project-brief-sources{margin:0 0 22px;padding:20px;border:1px solid #e3e7eb;border-radius:16px;background:#fff}.project-brief-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.project-brief-section-head h3{margin:0;color:#17253f;font-size:19px}.project-brief-section-head p:last-child{margin:6px 0 0;color:#667085;max-width:680px;line-height:1.45}.brief-source-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.brief-recording-state{margin:16px 0 0;padding:12px 14px;border:1px solid #f5a999;border-radius:12px;background:#fff8f6;display:flex;gap:12px;align-items:center}.brief-recording-state[hidden]{display:none}.brief-recording-state strong{color:#17253f}.brief-recording-state span{font-variant-numeric:tabular-nums;font-weight:700;color:#b14f45}.brief-recording-state .button{margin-left:auto}
.brief-source-list{display:grid;gap:9px;margin-top:16px}.brief-source-card{display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:start;padding:12px 14px;border:1px solid #e6eaee;border-radius:12px;background:#fcfdfd}.brief-source-icon{width:32px;height:32px;border-radius:10px;background:#eef4fb;display:grid;place-items:center;color:#17253f;font-weight:800}.brief-source-main{min-width:0}.brief-source-main strong{display:block;color:#17253f}.brief-source-main span{display:block;margin-top:2px;font-size:11px;color:#667085}.brief-source-main p{margin:7px 0 0;color:#475467;line-height:1.45;white-space:pre-wrap}.brief-source-actions{display:flex;gap:6px}.brief-paste-source{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-top:16px;padding-top:16px;border-top:1px solid #edf0f2}.brief-paste-source label{font-weight:600;color:#17253f}.brief-paste-source textarea{margin-top:6px;width:100%;font-weight:400}
.project-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-brief-field{margin:0}.project-brief-field small{display:block;margin-top:7px;color:#7a8492;font-weight:400;line-height:1.35}
@media (max-width:900px){.project-brief-status,.project-brief-section-head{flex-direction:column}.brief-source-toolbar{justify-content:flex-start}.project-brief-grid{grid-template-columns:1fr}.brief-paste-source{grid-template-columns:1fr}.brief-source-card{grid-template-columns:34px 1fr}.brief-source-actions{grid-column:2}}
@media print{.project-brief-status,.project-brief-sources{break-inside:avoid}.project-brief-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-brief-field{break-inside:avoid}}

/* === PROJECT BRIEF C24.1 · AI INTAKE === */
.project-brief-ai-status{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 18px;margin:0 0 18px;border:1px solid #dfe5ea;border-left:5px solid #97bae2;border-radius:14px;background:#fbfdff}.project-brief-ai-status.is-ready{border-left-color:#78c3a7;background:#fbfefd}.project-brief-ai-status.is-offline{border-left-color:#f4dea0;background:#fffdf7}.project-brief-ai-status .eyebrow,.project-brief-ai-review .eyebrow{margin:0 0 5px;color:#667085;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.project-brief-ai-statusline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.project-brief-ai-statusline strong{font-size:17px;color:#17253f}.project-brief-ai-statusline span{font-size:12px;color:#667085}.project-brief-ai-status p:last-child{margin:6px 0 0;color:#667085;max-width:760px;line-height:1.45}
.project-brief-ai-review{margin:0 0 22px;padding:20px;border:1px solid #e3e7eb;border-radius:16px;background:#fff}.project-brief-ai-review .project-brief-section-head{margin-bottom:10px}.brief-ai-review-meta{display:flex;gap:10px;margin:6px 0 14px}.brief-ai-review-meta span{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:999px;background:#f3f6f8;color:#667085;font-size:11px}.brief-ai-review-meta strong{color:#17253f}.brief-ai-suggestion-list{display:grid;gap:12px}.brief-ai-suggestion{padding:14px;border:1px solid #e3e8ed;border-radius:13px;background:#fcfdfd}.brief-ai-suggestion-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}.brief-ai-suggestion-head>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.brief-ai-suggestion-head span{font-weight:700;color:#17253f}.brief-ai-suggestion-head strong{font-size:11px;padding:4px 7px;border-radius:999px;background:#eef7f4;color:#36755e}.brief-ai-suggestion-head small{color:#7a8492}.brief-ai-existing{margin:0 0 10px;padding:9px 11px;border-left:3px solid #f4dea0;background:#fffaf0}.brief-ai-existing span{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a6d22}.brief-ai-existing p{margin:4px 0 0;color:#475467;white-space:pre-wrap}.brief-ai-suggestion label{display:block;font-weight:700;color:#17253f}.brief-ai-suggestion textarea{width:100%;margin-top:6px;font-weight:400}.brief-ai-evidence{margin-top:9px}.brief-ai-evidence summary{cursor:pointer;color:#5d6875;font-size:12px}.brief-ai-evidence blockquote{margin:8px 0 0;padding:8px 10px;border-left:3px solid #97bae2;background:#f7fbff;color:#475467;font-size:12px}.brief-ai-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.brief-transcript{margin-top:9px}.brief-transcript summary{cursor:pointer;color:#4f6478;font-size:12px}.brief-transcript textarea{width:100%;margin-top:7px;white-space:pre-wrap}.brief-transcript-actions{display:flex;justify-content:flex-end;margin-top:6px}.brief-source-error{margin-top:7px;padding:7px 9px;border-radius:8px;background:#fff1ef;color:#9a3f35;font-size:11px;line-height:1.35}.brief-source-actions{flex-wrap:wrap;justify-content:flex-end}
@media (max-width:900px){.project-brief-ai-status{flex-direction:column}.brief-ai-suggestion-head{flex-direction:column}.brief-source-actions{grid-column:2;justify-content:flex-start}}
@media print{.project-brief-ai-status,.project-brief-ai-review{display:none!important}}

/* === PROJECT BRIEF C24.2 · OFFER BRIDGE === */
.offer-bridge-panel{margin:0 0 18px;padding:20px;border:1px solid #dfe5ea;border-left:5px solid #78c3a7;border-radius:16px;background:#fbfefd}.offer-bridge-panel-disabled{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-left-color:#f4dea0;background:#fffdf7}.offer-bridge-panel .eyebrow{margin:0 0 5px;color:#667085;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.offer-bridge-panel h2{margin:0;color:#17253f;font-size:21px}.offer-bridge-panel p{margin:6px 0 0;color:#667085;line-height:1.45;max-width:820px}.offer-bridge-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.offer-bridge-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.offer-bridge-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.offer-bridge-meta span{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:999px;background:#f1f5f4;color:#667085;font-size:11px}.offer-bridge-meta strong{color:#17253f}.offer-bridge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.offer-bridge-card{padding:14px;border:1px solid #e2e8e6;border-radius:13px;background:#fff}.offer-bridge-card.is-protected{border-left:4px solid #f4dea0;background:#fffdf8}.offer-bridge-card.is-applied{border-left:4px solid #78c3a7;background:#fbfefd}.offer-bridge-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.offer-bridge-card-head>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.offer-bridge-card-head span{font-weight:700;color:#17253f}.offer-bridge-card-head strong{font-size:10px;padding:4px 7px;border-radius:999px;background:#eef7f4;color:#36755e}.offer-bridge-card.is-protected .offer-bridge-card-head strong{background:#fff4d8;color:#856719}.offer-bridge-card-head small{color:#7a8492}.offer-bridge-current{margin:0 0 10px;padding:9px 11px;border-left:3px solid #f4dea0;background:#fffaf0}.offer-bridge-current span{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a6d22}.offer-bridge-current p{margin:4px 0 0;color:#475467;white-space:pre-wrap}.offer-bridge-card label{display:block;font-weight:700;color:#17253f}.offer-bridge-card textarea{width:100%;margin-top:6px;font-weight:400;background:#f8fafb;color:#344054;resize:vertical}.offer-bridge-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px}.offer-bridge-done{font-size:12px;font-weight:700;color:#36755e}
@media (max-width:900px){.offer-bridge-panel-disabled,.offer-bridge-head{flex-direction:column}.offer-bridge-head-actions{justify-content:flex-start}.offer-bridge-grid{grid-template-columns:1fr}}
@media print{.offer-bridge-panel{display:none!important}}

/* === PROJECT BRIEF C24.3 · SURVEY BRIDGE === */
.survey-bridge-panel{margin:0 0 18px;padding:20px;border:1px solid #dfe5ea;border-left:5px solid #97bae2;border-radius:16px;background:#fbfdff}.survey-bridge-panel.survey-bridge-disabled{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-left-color:#f4dea0;background:#fffdf7}.survey-bridge-panel .eyebrow{margin:0 0 5px;color:#667085;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.survey-bridge-panel h2{margin:0;color:#17253f;font-size:21px}.survey-bridge-panel p{margin:6px 0 0;color:#667085;line-height:1.45;max-width:860px}.survey-bridge-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.survey-bridge-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.survey-bridge-meta span{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:999px;background:#eef4fb;color:#667085;font-size:11px}.survey-bridge-meta strong{color:#17253f}.survey-bridge-coverage{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;border-radius:11px;background:#f5faf8;border:1px solid #dcece5}.survey-bridge-coverage>span{font-size:11px;color:#667085}.survey-bridge-coverage strong{padding:4px 7px;border-radius:999px;background:#fff;color:#36755e;font-size:11px;border:1px solid #dcece5}.survey-bridge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.survey-bridge-card{padding:14px;border:1px solid #dfe7ee;border-radius:13px;background:#fff}.survey-bridge-card.is-applied,.survey-bridge-card.is-covered{border-left:4px solid #78c3a7;background:#fbfefd}.survey-bridge-card.is-protected{border-left:4px solid #f4dea0;background:#fffdf8}.survey-bridge-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.survey-bridge-card-head>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.survey-bridge-card-head span{font-weight:700;color:#17253f}.survey-bridge-card-head strong{font-size:10px;padding:4px 7px;border-radius:999px;background:#eef4fb;color:#496b8d}.survey-bridge-card-head small{color:#7a8492}.survey-bridge-current{margin:0 0 10px;padding:9px 11px;border-left:3px solid #f4dea0;background:#fffaf0}.survey-bridge-current span,.survey-bridge-proposal>span{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a6d22}.survey-bridge-current p,.survey-bridge-proposal p{margin:4px 0 0;color:#344054;white-space:pre-wrap}.survey-bridge-proposal>span{color:#496b8d}.survey-bridge-proposal small{display:block;margin-top:7px;color:#667085;line-height:1.4}.survey-bridge-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px}.survey-bridge-done{font-size:12px;font-weight:700;color:#36755e}.survey-question.is-project-question{border-left:4px solid #97bae2}.survey-project-badge{display:inline-flex;margin:0 0 6px;padding:3px 7px;border-radius:999px;background:#eef4fb;color:#496b8d;font-size:10px;font-weight:700}
@media (max-width:900px){.survey-bridge-panel.survey-bridge-disabled,.survey-bridge-head{flex-direction:column}.survey-bridge-grid{grid-template-columns:1fr}}
@media print{.survey-bridge-panel,.survey-project-badge{display:none!important}.survey-question.is-project-question{border-left:0!important}}

/* PROJECT BRIEF C24.4 · PLANNING INTELLIGENCE */
.planning-intelligence-panel{margin:0 0 18px;padding:20px;border:1px solid #dfe5ea;border-left:5px solid #f5a999;border-radius:16px;background:#fffaf8}.planning-intelligence-panel.planning-intelligence-disabled{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-left-color:#f4dea0;background:#fffdf7}.planning-intelligence-panel .eyebrow{margin:0 0 5px;color:#667085;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.planning-intelligence-panel h2{margin:0;color:#17253f;font-size:21px}.planning-intelligence-panel p{margin:6px 0 0;color:#667085;line-height:1.45;max-width:880px}.planning-intelligence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.planning-intelligence-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.planning-intelligence-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.planning-intelligence-meta span{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:999px;background:#fff;color:#667085;font-size:11px;border:1px solid #eee2dd}.planning-intelligence-meta strong{color:#17253f}.planning-signal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 14px}.planning-signal-card{padding:10px 11px;border:1px solid #eadfd9;border-radius:11px;background:#fff}.planning-signal-card>div{display:flex;flex-direction:column;gap:3px}.planning-signal-card strong{font-size:12px;color:#17253f}.planning-signal-card span{font-size:10px;font-weight:700;color:#8d5e53}.planning-signal-card small{display:block;margin-top:6px;color:#7a8492;line-height:1.35;font-size:10px}.planning-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.planning-method-card{position:relative;padding:14px;border:1px solid #e4e7eb;border-top:4px solid var(--planning-method-color,#97bae2);border-radius:13px;background:#fff}.planning-method-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.planning-method-head span{display:block;margin-bottom:3px;color:#7a8492;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.planning-method-head h3{margin:0;color:#17253f;font-size:16px;line-height:1.25}.planning-method-head>strong{white-space:nowrap;color:#475467;font-size:11px;padding:4px 7px;border-radius:999px;background:#f4f6f8}.planning-method-card>p{margin:9px 0 8px;color:#475467;font-size:12px;line-height:1.4}.planning-match-chips{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.planning-match-chips span{display:inline-flex;padding:3px 6px;border-radius:999px;background:#fff2ee;color:#8d5e53;font-size:10px;font-weight:700}.planning-method-card>small{display:block;color:#667085;line-height:1.35}.planning-history-warning{margin-top:8px;padding:6px 8px;border-radius:8px;background:#fff8e8;color:#80631c;font-size:10px;font-weight:700}.planning-method-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.planning-method-actions .mini-button{margin:0}.planning-method-actions .primary-mini{background:#17253f;color:#fff;border-color:#17253f}
@media (max-width:1100px){.planning-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.planning-intelligence-panel.planning-intelligence-disabled,.planning-intelligence-head{flex-direction:column}.planning-intelligence-actions{justify-content:flex-start}.planning-signal-grid,.planning-method-grid{grid-template-columns:1fr}}
@media print{.planning-intelligence-panel{display:none!important}}

/* === C25.0 · CHANGE MAP · ZEIT & KONTINGENT === */
.document-timeBudget .paper-header { margin-bottom:18px; }
.hour-budget-page { padding-bottom:26px; }
.hour-budget-title { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; margin-bottom:20px; }
.hour-budget-title h2 { margin:0 0 6px; font-size:25px; letter-spacing:-.035em; }
.hour-budget-title p:last-child { max-width:670px; margin:0; color:var(--muted); font-size:10.5px; line-height:1.55; }
.hour-budget-title-actions { display:flex; gap:8px; flex:0 0 auto; }
.hour-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.hour-summary-grid article { min-height:98px; padding:15px 16px 13px; border:1px solid #dde4eb; border-radius:13px; background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%); box-shadow:0 4px 14px rgba(23,37,63,.035); }
.hour-summary-grid article span,.hour-summary-grid article small { display:block; color:#718096; }
.hour-summary-grid article span { font-size:8px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; }
.hour-summary-grid article strong { display:block; margin:8px 0 5px; font-size:23px; letter-spacing:-.035em; font-weight:700 !important; }
.hour-summary-grid article small { font-size:7.5px; line-height:1.35; }
.hour-summary-grid article.negative { border-color:#e3b7bd; background:#fff8f8; }
.hour-summary-grid article.negative strong { color:#a13e49; }
.hour-budget-status { margin-bottom:14px; padding:13px 15px 12px; border:1px solid #dbe3ea; border-radius:12px; background:#f8fafb; }
.hour-budget-status-row { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:10px; font-size:8.5px; }
.hour-budget-status-row > div { display:grid; grid-template-columns:auto auto; gap:1px 7px; align-items:center; }
.hour-budget-status-row small { grid-column:2; color:var(--muted); font-size:7.5px; }
.hour-status-dot { width:9px; height:9px; border-radius:50%; background:#9aa6b5; box-shadow:0 0 0 4px rgba(154,166,181,.12); }
.hour-status-dot.ok { background:var(--green); box-shadow:0 0 0 4px rgba(120,195,167,.16); }
.hour-status-dot.watch { background:var(--yellow); box-shadow:0 0 0 4px rgba(244,222,160,.22); }
.hour-status-dot.warning { background:#e8a45f; box-shadow:0 0 0 4px rgba(232,164,95,.16); }
.hour-status-dot.danger { background:#bd5b67; box-shadow:0 0 0 4px rgba(189,91,103,.14); }
.hour-budget-progress { height:7px; overflow:hidden; border-radius:999px; background:#e6ebef; }
.hour-budget-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--green),#97bae2); transition:width .2s ease; }
.hour-budget-settings { margin-bottom:15px; border:1px solid #dbe3ea; border-radius:12px; background:#fff; }
.hour-budget-settings > summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 15px; cursor:pointer; }
.hour-budget-settings > summary::-webkit-details-marker { display:none; }
.hour-budget-settings > summary > div { display:flex; flex-direction:column; gap:3px; }
.hour-budget-settings > summary strong { font-size:10px; }
.hour-budget-settings > summary span { color:var(--muted); font-size:7.7px; }
.hour-budget-settings > summary i { width:9px; height:9px; border-right:1.5px solid var(--ink); border-bottom:1.5px solid var(--ink); transform:rotate(45deg); transition:transform .15s ease; }
.hour-budget-settings[open] > summary i { transform:rotate(225deg); }
.hour-budget-settings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; padding:3px 15px 15px; border-top:1px solid #edf0f3; }
.hour-budget-settings-grid label { display:flex; flex-direction:column; gap:6px; color:#4d5c70; font-size:8px; }
.hour-budget-settings-grid input { width:100%; min-height:36px; border:1px solid #d6dfe7; border-radius:8px; padding:8px 10px; background:#fff; font-size:9.5px; }
.hour-budget-readonly { min-height:58px; display:flex; flex-direction:column; justify-content:center; padding:9px 11px; border:1px solid #e4e9ee; border-radius:8px; background:#f8fafb; }
.hour-budget-readonly span { margin-bottom:4px; color:var(--muted); font-size:7.5px; }
.hour-budget-readonly strong { font-size:11px; }
.hour-budget-settings-grid .span-2 { grid-column:span 2; }
.hour-budget-customer-option { flex-direction:row !important; align-items:flex-start; gap:8px !important; padding:9px 11px; border-radius:8px; background:#f8fafb; line-height:1.45; }
.hour-budget-customer-option input { width:auto; min-height:0; margin-top:1px; }
.hour-budget-quick { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:16px; padding:16px 17px; border:1px solid rgba(151,186,226,.48); border-radius:13px; background:linear-gradient(135deg,rgba(151,186,226,.12),rgba(120,195,167,.08)); }
.hour-budget-quick h3 { margin:2px 0 4px; font-size:14px; }
.hour-budget-quick p:last-child { margin:0; color:var(--muted); font-size:8px; }
.hour-budget-quick-form { display:grid; grid-template-columns:160px 230px auto; gap:7px; }
.hour-budget-quick-form select,.hour-budget-quick-form input { min-height:35px; border:1px solid #d5dee7; border-radius:8px; padding:7px 9px; background:#fff; font-size:8.5px; }
.hour-budget-columns { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(210px,.75fr); gap:12px; margin-bottom:18px; }
.hour-category-summary,.hour-budget-fairness { border:1px solid #dbe3ea; border-radius:13px; background:#fff; }
.hour-category-summary { padding:15px; }
.hour-budget-fairness { padding:16px; background:#fbfaf7; }
.hour-budget-fairness > strong { display:block; margin:5px 0 4px; font-size:24px; letter-spacing:-.04em; }
.hour-budget-fairness > span { display:block; color:#5d6878; font-size:8.2px; line-height:1.45; }
.hour-budget-fairness > p:last-child { margin:12px 0 0; padding-top:11px; border-top:1px solid #ebe5da; color:var(--muted); font-size:7.7px; line-height:1.5; }
.hour-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:11px; }
.hour-section-head h3 { margin:2px 0 3px; font-size:14px; }
.hour-section-head p:last-child { margin:0; color:var(--muted); font-size:7.8px; }
.hour-category-table { border:1px solid #e2e7ec; border-radius:9px; overflow:hidden; }
.hour-category-table > div { display:grid; grid-template-columns:minmax(0,1.7fr) 82px 90px 78px; align-items:center; min-height:34px; padding:0 10px; border-bottom:1px solid #edf0f3; font-size:8px; }
.hour-category-table > div:last-child { border-bottom:0; }
.hour-category-table > div.head { min-height:28px; background:#f7f9fb; color:var(--muted); font-size:7px; text-transform:uppercase; letter-spacing:.04em; }
.hour-category-table strong { font-size:8.3px; }
.hour-entry-ledger { margin-top:5px; }
.hour-day-group { margin-bottom:14px; }
.hour-day-group > header { display:flex; align-items:center; justify-content:space-between; padding:0 3px 7px; color:#536176; font-size:8px; }
.hour-day-group > header strong { color:var(--ink); font-size:9px; }
.hour-entry-card { position:relative; margin-bottom:8px; border:1px solid #dce3e9; border-radius:12px; background:#fff; box-shadow:0 3px 12px rgba(23,37,63,.025); overflow:hidden; }
.hour-entry-card.has-issue { border-color:#e5c488; }
.hour-entry-head { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:8px 11px; border-bottom:1px solid #edf0f3; background:#fbfcfd; }
.hour-entry-head > div:first-child { min-width:0; display:flex; align-items:center; gap:7px; flex:1; }
.hour-entry-category-dot { width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:var(--blue); }
.hour-entry-head select,.hour-entry-head input { border:0; background:transparent; }
.hour-entry-head select { width:175px; font-size:8px; font-weight:500; }
.hour-entry-session { min-width:0; flex:1; padding:4px 6px !important; color:#5d6a7b; font-size:8px; }
.hour-entry-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.hour-customer-toggle { display:flex; align-items:center; gap:5px; color:var(--muted); font-size:7.4px; }
.hour-entry-times { display:grid; grid-template-columns:145px 130px 130px minmax(120px,1fr); gap:9px; align-items:end; padding:11px; }
.hour-entry-times label,.hour-entry-notes label { display:flex; flex-direction:column; gap:4px; color:#5a687b; font-size:7.5px; }
.hour-entry-times input,.hour-entry-notes input,.hour-reduction-note input { width:100%; min-height:34px; border:1px solid #d8e0e8; border-radius:8px; padding:7px 9px; background:#fff; font-size:8.5px; }
.hour-entry-times label small { color:#9aa5b3; font-size:6.5px; }
.hour-entry-difference { min-height:45px; display:flex; flex-direction:column; justify-content:center; padding:7px 10px; border-radius:8px; background:#f5f7f9; opacity:.55; }
.hour-entry-difference.visible { background:#f4f8f5; opacity:1; }
.hour-entry-difference span { color:var(--muted); font-size:6.8px; }
.hour-entry-difference strong { margin-top:3px; font-size:10px; }
.hour-entry-notes { display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:0 11px 11px; }
.hour-reduction-box { margin:0 11px 11px; padding:11px; border:1px solid #eadfbf; border-radius:9px; background:#fffaf0; }
.hour-reduction-box > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:9px; }
.hour-reduction-box > div:first-child strong { font-size:8.3px; }
.hour-reduction-box > div:first-child span { color:#8c7a54; font-size:6.8px; }
.hour-reason-chips { display:flex; flex-wrap:wrap; gap:6px; }
.hour-reason-chip { position:relative; display:inline-flex !important; flex-direction:row !important; align-items:center; gap:0 !important; padding:6px 9px; border:1px solid #d9e0e7; border-radius:999px; background:#fff; color:#5d6878 !important; font-size:7.2px !important; cursor:pointer; transition:.12s ease; }
.hour-reason-chip:hover { border-color:#aab8c7; }
.hour-reason-chip.active { border-color:#d4a66a; background:#fff3df; color:#624c2f !important; }
.hour-reason-chip input { position:absolute; opacity:0; pointer-events:none; }
.hour-reduction-note { display:grid !important; grid-template-columns:110px minmax(0,1fr); align-items:center; gap:8px !important; margin-top:9px; color:#6f6249 !important; font-size:7px !important; }
.hour-reduction-note input { min-height:31px; border-color:#eadfbf; }
.hour-show-reasons { display:flex !important; flex-direction:row !important; align-items:center; gap:6px !important; margin-top:8px; color:#76684c !important; font-size:6.9px !important; }
.hour-entry-warning { margin:8px 0 0; color:#a36b25; font-size:7px; }
.hour-entry-footer { display:flex; justify-content:space-between; gap:10px; padding:7px 11px; border-top:1px solid #f0f2f5; color:#98a2af; font-size:6.6px; }
.panel-hour-summary { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:12px; }
.panel-hour-summary span { padding:8px; border:1px solid #e0e6ec; border-radius:8px; background:#f8fafb; color:var(--muted); font-size:7px; }
.panel-hour-summary b { display:block; margin-bottom:2px; color:var(--ink); font-size:10px; }
.dialog-time-entry { width:min(760px,calc(100vw - 48px)); }
.dialog-time-entry form { width:100%; }
.dialog-subcopy { max-width:560px; margin:5px 0 0; color:var(--muted); font-size:8px; line-height:1.45; }
.time-entry-dialog-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.time-entry-dialog-grid .span-2 { grid-column:span 2; }
.time-entry-dialog-grid label,.time-entry-reduction-dialog > label { display:flex; flex-direction:column; gap:5px; color:#536176; font-size:8px; }
.time-entry-dialog-grid input,.time-entry-dialog-grid select,.time-entry-reduction-dialog input { min-height:38px; border:1px solid #d6dfe7; border-radius:8px; padding:8px 10px; background:#fff; font-size:9px; }
.time-entry-dialog-grid small { color:#9aa5b3; font-size:6.8px; }
.time-entry-reduction-dialog { margin-top:14px; padding:13px; border:1px solid #eadfbf; border-radius:10px; background:#fffaf0; }
.time-entry-reduction-dialog > div:first-child { margin-bottom:10px; }
.time-entry-reduction-dialog > div:first-child strong,.time-entry-reduction-dialog > div:first-child span { display:block; }
.time-entry-reduction-dialog > div:first-child strong { margin-bottom:3px; font-size:9px; }
.time-entry-reduction-dialog > div:first-child span { color:#837455; font-size:7.2px; }
.time-entry-reduction-dialog > label { margin-top:11px; }
.time-entry-dialog-options { display:flex; flex-wrap:wrap; gap:16px; margin-top:12px; padding:10px 12px; border-radius:9px; background:#f7f9fb; }
.time-entry-dialog-options label { display:flex; align-items:center; gap:6px; color:#5c697b; font-size:7.5px; }
@media (max-width:1250px){.hour-summary-grid{grid-template-columns:1fr 1fr}.hour-budget-columns{grid-template-columns:1fr}.hour-budget-quick-form{grid-template-columns:140px 1fr auto}.hour-entry-times{grid-template-columns:120px 110px 110px 1fr}}
@media print {
  .document-timeBudget .hour-budget-title-actions,.document-timeBudget .hour-budget-quick,.document-timeBudget .hour-entry-actions,.document-timeBudget .hour-reason-chips,.document-timeBudget .hour-show-reasons,.document-timeBudget [data-hour-entry-delete] { display:none !important; }
  .document-timeBudget .hour-summary-grid article,.document-timeBudget .hour-budget-status,.document-timeBudget .hour-budget-settings,.document-timeBudget .hour-category-summary,.document-timeBudget .hour-budget-fairness,.document-timeBudget .hour-entry-card { box-shadow:none; break-inside:avoid; }
  .document-timeBudget input,.document-timeBudget select { border:0 !important; padding-left:0 !important; background:transparent !important; }
}

/* === C25.1 · TIMER-PAUSE & RELIABILITY === */
.hour-budget-quick.running { border-color:rgba(120,195,167,.5); background:linear-gradient(135deg,rgba(120,195,167,.11),rgba(151,186,226,.07)); }
.hour-budget-quick.paused { border-color:rgba(244,222,160,.9); background:linear-gradient(135deg,rgba(244,222,160,.2),rgba(245,169,153,.06)); }
.hour-budget-running-actions { display:flex; align-items:center; gap:7px; flex:0 0 auto; }
.timer-action-row { display:grid; grid-template-columns:1fr 1.35fr; gap:7px; }
.timer-card.paused { border-color:#e8d49a; box-shadow:inset 3px 0 0 var(--yellow); }
.timer-card.paused .pulse-dot { background:#d6b95c; box-shadow:none; animation:none; }
.timer-running.paused { color:#8b7434; }
.timer-card select:disabled,.timer-card input:disabled { opacity:.72; cursor:not-allowed; background:#f7f9fb; }
.hour-budget-project-warning { margin:9px 0 0; padding:8px 10px; border:1px solid #ebcf9c; border-radius:8px; background:#fff8ea; color:#8b6225; font-size:7.3px; line-height:1.45; }
@media (max-width:900px){.hour-budget-running-actions{width:100%;justify-content:flex-end}.timer-action-row{grid-template-columns:1fr}.hour-budget-quick{align-items:flex-start;flex-direction:column}.hour-budget-quick-form{width:100%;grid-template-columns:1fr}.hour-budget-running-actions .button{flex:1}}
/* === END C25.1 === */
/* === END C25.0 === */
