/* ==========================================================================
   Plantafel · Gestaltung
   1. Grundlagen: Schriften, Farben, Formen und Bewegung als Variablen
   2. Bestehende Bereiche (in der ursprünglichen Reihenfolge, Farben über die Variablen)
   3. Gestaltung 2026: Kopf, Navigation, Knöpfe, Felder, Fenster, Tafel, Bewegung
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans.woff2") format("woff2-variations");
}

:root {
  /* Schrift */
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Farben hell: Papier, Salbei, Tannengrün und das Hergenröder-Rot */
  --page: #f3f6f2;
  --surface: #ffffff;
  --tint: #eaf0ea;
  --tint-2: #dde7df;
  --line: #dbe4dd;
  --line-strong: #b8c7bd;
  --ink: #17332e;
  --ink-2: #2c4842;
  --muted: #5a6f68;
  --faint: #879891;
  --deep: #17332e;
  --on-deep: #eef4ef;
  --brand: #aa3339;
  --brand-strong: #8c2630;
  --brand-fill: #aa3339;
  --brand-soft: #f8e7e8;
  --brand-line: #ecc5c8;
  --on-brand: #ffffff;
  --focus: #1f7a8c;

  /* fachliche Farben */
  --water: #0b6694;
  --water-soft: #e3f1f8;
  --paint: #85570a;
  --paint-soft: #f8f0dc;
  --ok: #2c6a45;
  --ok-soft: #e4f2e8;
  --warn: #8a4a00;
  --warn-soft: #fdf0dc;
  --warn-line: #efd3a6;
  --over: #a3343e;
  --over-soft: #f9e7e9;
  --track: #e2ebe4;

  /* Formen */
  --r-xs: 8px;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(23, 51, 46, 0.06);
  --shadow-2: 0 10px 30px -12px rgba(23, 51, 46, 0.22), 0 2px 6px rgba(23, 51, 46, 0.06);
  --shadow-3: 0 30px 80px -20px rgba(10, 30, 26, 0.45);

  /* Bewegung: kurz, mit weichem Auslauf wie bei iOS */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast: 140ms;
  --t-mid: 280ms;
  --t-slow: 460ms;

  color-scheme: light;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--ink);
  background: var(--page);
}
html[data-theme="dark"] {
  --page: #0e1b18;
  --surface: #152521;
  --tint: #1b2f2a;
  --tint-2: #233a34;
  --line: #29403a;
  --line-strong: #3b5650;
  --ink: #e5eee9;
  --ink-2: #c6d6cf;
  --muted: #9cb1a9;
  --faint: #6f877f;
  --deep: #0a1512;
  --on-deep: #e5eee9;
  --brand: #ee8b94;
  --brand-strong: #f7aab1;
  --brand-fill: #c4414e;
  --brand-soft: #3a2228;
  --brand-line: #63343b;
  --on-brand: #ffffff;
  --focus: #6fc3d4;

  --water: #8fd0f2;
  --water-soft: #173544;
  --paint: #f0cf8a;
  --paint-soft: #3a3121;
  --ok: #9bd5ae;
  --ok-soft: #1d3a29;
  --warn: #f2c98f;
  --warn-soft: #3a3020;
  --warn-line: #6b5536;
  --over: #f3a5ae;
  --over-soft: #43252b;
  --track: #2a403a;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 30px 80px -20px rgba(0, 0, 0, 0.8);

  color-scheme: dark;
  color: var(--ink);
  background: var(--page);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border-radius: var(--r-pill);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-optical-sizing: auto;
}
::selection {
  background: var(--brand-soft);
  color: var(--ink);
}

/* ==========================================================================
   2. Bestehende Bereiche
   ========================================================================== */
:root {
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #00a7d8;
  outline-offset: 3px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.companylogo {
  object-fit: contain;
}
.brandtext {
  padding-left: 24px;
  border-left: 1px solid var(--line);
  letter-spacing: -0.5px;
}
.brandtext small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 7px;
}
.badge {
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 8px 13px;
}
main {
  max-width: 1700px;
  margin: auto;
  padding: 30px 3vw;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
h1 {
  line-height: 1.2;
  margin: 0 0 9px;
}
.sub {
  font-size: 15px;
  margin: 0;
}
.actions {
  display: flex;
  gap: 10px;
}
button {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--ink-2);
  padding: 11px 15px;
  font-weight: 600;
  font-size: 14px;
}
button:hover {
  background: var(--tint);
}
.primary {
  color: white;
}
#reset {
  background: transparent;
  border-color: transparent;
  font-weight: 500;
}
.weekbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: white;
  margin: 0;
}
.weeknav {
  display: flex;
  gap: 7px;
  align-items: center;
}
.weeknav strong {
  padding: 0 14px;
  font-size: 16px;
  font-weight: 600;
}
.weeknav button {
  background: #ffffff0c;
  color: white;
  border-color: #ffffff20;
  min-width: 37px;
  padding: 7px 11px;
}
.weeknav button:hover {
  background: #ffffff20;
}
#current {
  margin-left: 9px;
  font-weight: 500;
}
.legend {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #d6e2e8;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c);
  margin-right: 7px;
}
.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  overflow: hidden;
}
.grid {
  display: grid;
  grid-template-columns: 180px repeat(5, minmax(0, 1fr));
}
.heading {
  padding: 18px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.heading small {
  display: block;
  font-size: 23px;
  letter-spacing: -0.5px;
  font-weight: 650;
  color: var(--ink);
  margin-top: 6px;
}
.heading:first-child small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.person {
  display: flex;
  gap: 11px;
  padding: 22px 15px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.avatar {
  min-width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.person strong {
  font-size: 14px;
  line-height: 1.4;
}
.person small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
}
.cell {
  min-height: 180px;
  padding: 12px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.2s;
}
.card {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  padding: 12px 12px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--surface));
  border-left: 3px solid var(--accent);
  background: var(--bg);
  box-shadow: 0 2px 4px #24374606;
  font-weight: 500;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.card:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px #253f5014;
}
.site-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.card strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.card small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.card .status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin-top: 12px;
  padding: 4px 7px;
  background: #ffffffb3;
  color: var(--ink-2);
  border-radius: 5px;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}
.card[data-status="Erledigt"] .status {
  color: #187953;
  background: #f1fff6;
}
.card[data-status="Erledigt"] .status:before {
  background: #279768;
  border-color: #279768;
}
.card[data-status="In Arbeit"] .status:before {
  background: #d79b30;
  border-color: #d79b30;
}
.addslot {
  opacity: 0;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  padding: 8px;
  color: var(--muted);
  border: 1px dashed var(--line);
  background: transparent;
}
.cell:hover .addslot,
.addslot:focus-visible {
  opacity: 1;
}
.note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  line-height: 1.6;
}
.note p {
  margin: 0;
}
.note strong {
  font-weight: 600;
  color: var(--ink-2);
}
.mobileday {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  width: min(550px, calc(100% - 28px));
  padding: 30px;
  box-shadow: 0 24px 100px #142b3e40;
  color: var(--ink);
}
dialog::backdrop {
  background: #17334180;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0;
}
.dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.close {
  border: 0;
  background: var(--tint-2);
  border-radius: 50%;
  font-size: 22px;
  padding: 2px 9px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 17px 0 7px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  color: var(--ink);
  background: var(--surface);
}
textarea {
  resize: vertical;
  min-height: 95px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dialogfoot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
}
.danger {
  color: var(--brand);
  border-color: transparent;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 12px 20px;
  border-radius: var(--r-s);
  z-index: 5;
}
.empty {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: 150px repeat(5, minmax(0, 1fr));
  }
  .cell {
    padding: 8px;
  }
  .person {
    padding: 20px 10px;
    gap: 8px;
  }
  .legend {
    gap: 10px;
  }
  .card {
    padding: 10px 9px;
  }
  .weekbar {
    padding: 14px;
  }
  .weeknav strong {
    padding: 0 6px;
  }
}
@media (max-width: 800px) {
  .legend {
    display: none;
  }
  .brandtext small {
    letter-spacing: 0.5px;
  }
}
@media (max-width: 720px) {
  header {
    gap: 12px;
  }
  .brand {
    gap: 12px;
  }
  .brandtext {
    padding-left: 12px;
  }
  .badge {
    max-width: 85px;
    text-align: center;
    padding: 7px;
  }
  main {
    padding: 24px 16px;
  }
  .top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .actions {
    justify-content: space-between;
  }
  .weekbar {
    margin-bottom: 14px;
  }
  .weeknav {
    width: 100%;
    justify-content: space-between;
    gap: 3px;
  }
  .weeknav strong {
    padding: 0 2px;
  }
  .weeknav button {
    padding: 7px 8px;
    min-width: 32px;
  }
  #current {
    margin-left: 0;
  }
  .mobileday {
    display: block;
    margin-bottom: 14px;
  }
  .mobileday label {
    margin-top: 0;
  }
  .grid {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .heading.hidden,
  .cell.hidden {
    display: none;
  }
  .board {
    border: 1px solid var(--line);
  }
  .heading {
    padding: 14px;
  }
  .heading small {
    font-size: 21px;
  }
  .person {
    flex-direction: column;
    padding: 20px 12px;
  }
  .cell {
    min-height: 165px;
    padding: 12px;
  }
  .addslot {
    opacity: 1;
  }
  .note {
    flex-direction: column;
    gap: 8px;
  }
  .fields {
    gap: 12px;
  }
  dialog {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
@font-face {
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 400;
  src: url("fonts/poppins-400.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 600;
  src: url("fonts/poppins-600.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 700;
  src: url("fonts/poppins-700.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family: var(--font-text);
  background: var(--tint-2);
  color: var(--ink);
}
header {
  border-top: 5px solid var(--brand);
  padding: 16px 3vw;
}
.companylogo {
  width: 175px;
  height: 88px;
}
.brandtext {
  color: var(--ink);
  font-weight: 600;
}
.brandtext small {
  color: var(--brand);
  letter-spacing: 1px;
}
h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1px;
}
.badge {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-line);
  border-radius: 3px;
}
.primary {
  background: var(--brand-fill);
  border-color: var(--brand);
  border-radius: 4px;
  box-shadow: none;
  font-weight: 400;
}
.primary:hover {
  background: #009fe3;
  border-color: #009fe3;
}
.weekbar {
  background: var(--deep);
  padding: 17px 20px;
}
.board {
  border-radius: 0 0 4px 4px;
}
.heading {
  background: var(--tint);
}
.heading.today {
  background: var(--brand-soft);
  box-shadow: inset 0 3px var(--brand);
  color: var(--brand);
}
.heading.today small {
  color: var(--brand);
}
.person {
  background: var(--tint);
}
.avatar {
  background: var(--tint-2);
  color: var(--ink-2);
  border-radius: 4px;
}
.card {
  border-radius: 4px;
}
.cell.over {
  background: var(--tint-2);
}
.toast {
  background: var(--deep);
}
.weeknav button {
  border-radius: 4px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #009fe3;
}
.site-label {
  color: var(--muted);
}
.note {
  color: var(--muted);
}
.card strong {
  font-weight: 600;
}
.top {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.legend span:nth-child(1):before {
  background: var(--brand-fill);
}
.legend span:nth-child(2):before {
  background: #efab00;
}
.legend span:nth-child(3):before {
  background: #009fe3;
}
@media (max-width: 1100px) {
  .card strong {
    font-size: 14px;
  }
}
@media (max-width: 720px) {
  header {
    padding: 12px 15px;
  }
  .companylogo {
    width: 112px;
    height: 62px;
  }
  .brandtext {
    font-size: 15px;
  }
  .brandtext small {
    font-size: 10px;
  }
  .badge {
    font-size: 10px;
  }
  .top {
    padding-bottom: 19px;
  }
  .weekbar {
    padding: 13px 8px;
    border-radius: 4px;
  }
  .weeknav strong {
    font-size: 13px;
  }
  .board {
    border-radius: 4px;
  }
  .card strong {
    font-size: 15px;
  }
  .card small {
    font-size: 14px;
  }
  .note {
    font-size: 13px;
  }
}

.feedback-section {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.feedback-section h3 {
  font-size: 17px;
  margin: 0;
}
.feedback-section textarea {
  min-height: 70px;
}
.resource-links {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.resource-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.resource-links a:hover {
  text-decoration: underline;
}
.resource-links a[hidden] {
  display: none;
}
#feedbackhint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.feedbackitem {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  margin: 10px 0;
  padding: 12px;
  background: var(--tint);
}
.feedbackitem p {
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.feedbackitem small {
  font-size: 12px;
  color: #71717a;
}
.feedbackitem strong {
  font-size: 13px;
}
.feedbackitem button {
  font-size: 12px;
  padding: 5px 8px;
  margin-top: 7px;
}
.donebutton {
  margin-top: 13px;
  color: #187953;
  border-color: #badac7;
  width: 100%;
}
.reportbadge {
  display: block;
  font-size: 12px;
  margin-top: 9px;
  font-weight: 600;
  color: var(--brand);
}
.resolved {
  opacity: 0.7;
  border-left-color: #6b8d76;
}
.reportbadge:before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  background: var(--brand-fill);
  color: white;
  border-radius: 50%;
  margin-right: 5px;
}
dialog {
  max-height: 90dvh;
  overflow-y: auto;
}
#sendfeedback {
  margin-top: 12px;
}
#checklistview {
  margin-top: 12px;
}
.checkrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.checkrow input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brand);
  margin-top: 2px;
}
.checkrow.completed span {
  text-decoration: line-through;
  color: var(--muted);
}
.checkprogress {
  font-size: 12px !important;
  color: var(--muted) !important;
}

/* Ein gezielter Fotoausschnitt statt eines flächigen Hintergrunds. */
body {
  background: var(--tint-2);
}
main {
  padding-top: 26px;
}
.top {
  position: relative;
  isolation: isolate;
  border-left: 5px solid var(--brand);
}
.top:before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  z-index: -1;
  background-image:
    linear-gradient(90deg, var(--surface) 0%, rgba(255, 255, 255, 0.6) 18%, rgba(255, 255, 255, 0.06) 60%),
    url("img/kopfbild.webp");
  background-size: cover;
  background-position:
    center,
    center 38%;
}
.planning-title {
  max-width: 52%;
}
h1 {
  margin-bottom: 10px;
}
.sub {
  color: var(--ink-2);
  max-width: 420px;
  line-height: 1.6;
}
.actions {
  align-self: flex-end;
  background: #ffffffed;
  border: 1px solid var(--surface);
  padding: 7px;
  border-radius: var(--r-xs);
  box-shadow: 0 3px 15px #2123260b;
}
#reset {
  color: #565660;
}
.weekbar {
  border-radius: 5px 5px 0 0;
}
.board {
  box-shadow: 0 8px 24px #21232605;
}
.note {
  padding: 0 3px;
}
@media (max-width: 1000px) {
  .top {
    padding: 24px;
    min-height: 160px;
  }
  .planning-title {
    max-width: 55%;
  }
  .actions {
    gap: 4px;
  }
  .actions button {
    padding: 10px;
  }
  h1 {
    font-size: 30px;
  }
}
@media (max-width: 720px) {
  main {
    padding-top: 20px;
  }
  .top {
    min-height: 0;
    padding: 24px 20px;
    gap: 22px;
  }
  .top:before {
    inset: 0 0 auto 0;
    height: 110px;
    opacity: 0.22;
    background-image:
      linear-gradient(0deg, var(--surface), rgba(255, 255, 255, 0.05)), url("img/kopfbild.webp");
    background-position:
      center,
      center 35%;
  }
  .planning-title {
    max-width: 100%;
  }
  h1 {
    font-size: 28px;
  }
  .actions {
    width: 100%;
    align-self: auto;
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
    flex-wrap: wrap;
    gap: 8px;
  }
  .actions .primary {
    flex: 1;
  }
  .sub {
    font-size: 14px;
  }
  .top {
    border-left-width: 4px;
  }
}
.reserve {
  background: var(--surface);
  border: 1px solid var(--line);
  margin: 28px 0;
}
.reserveheader {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.reserve h2 {
  margin: 6px 0;
  font-size: 25px;
}
.reserveheader p,
.reservehint {
  color: var(--muted);
  font-size: 14px;
}
.reserveeyebrow {
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.reserveheader > strong {
  background: var(--brand-soft);
  color: var(--brand);
  padding: 10px 14px;
  border-radius: var(--r-l);
  white-space: nowrap;
}
.reserveform {
  display: grid;
  gap: 14px;
  align-items: end;
  margin: 20px 0;
}
.reserve label {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.reserve input,
.reserve select {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.reservelist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.reservecard {
  position: relative;
  border: 1px solid var(--brand-line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-s);
  background: var(--brand-soft);
  cursor: grab;
}
.reservepick {
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  padding: 14px 28px 14px 12px;
}
.reservepick small {
  display: block;
  font-size: 10px;
  color: var(--brand);
}
.reservepick strong {
  display: block;
  margin: 8px 0;
  font-size: 14px;
}
.reservepick span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.reserveremove {
  position: absolute;
  right: 2px;
  top: 2px;
  padding: 2px 7px;
  border: 0;
  background: transparent;
}
.reservecard.selected {
  outline: 2px solid var(--brand);
}
.reservegroups {
  display: grid;
  margin: 18px 0;
}
.reservegroup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.reservegroup strong {
  display: block;
}
.reservegroup small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
.reservegroup b {
  font-size: 23px;
  color: var(--brand);
}
.reservegroup.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.reservedetail {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.reservedetailheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.reservedetail h3 {
  margin: 0;
  font-size: 18px;
}
.reservedetail p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
}
.reserveassign {
  display: flex;
  gap: 14px;
  align-items: end;
  border-top: 1px solid var(--line);
}
.reserveempty {
  color: var(--muted);
  font-size: 14px;
}
.reservehint {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}
@media (max-width: 800px) {
  .reserveheader {
    display: block;
  }
  .reserveheader > strong {
    display: inline-block;
    margin-top: 10px;
  }
  .reserveform label:nth-child(3) {
    grid-column: 1/-1;
  }
  .reserveassign {
    flex-wrap: wrap;
  }
  .reservecard {
    width: calc(50% - 6px);
  }
  .reserve {
    padding: 18px;
  }
}
.capacity {
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
}
.capacitymain > span,
.capacityfree > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.capacitymain > strong {
  font-size: 36px;
}
.capacitytrack {
  height: 8px;
  background: var(--brand-soft);
  border-radius: var(--r-s);
  margin: 10px 0;
}
.capacitytrack i {
  display: block;
  height: 100%;
  background: var(--brand-fill);
  border-radius: var(--r-s);
}
.capacity small {
  font-size: 11px;
  color: var(--muted);
}
.capacityfree > strong {
  display: block;
  font-size: 36px;
  color: var(--brand);
}
.capacitypeople span {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
}
.capacitywarning,
.capacitynote {
  grid-column: 1/-1;
  font-size: 12px;
  margin: 0;
  color: #916a20;
}
.capacitynote {
  color: var(--muted);
}
.skillspanel {
  margin: 20px 0;
  background: var(--surface);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.skillrow {
  display: flex;
  gap: 14px;
  align-items: end;
  margin: 12px 0;
}
.skillrow label {
  flex: 1;
  font-size: 13px;
}
.skillrow input {
  width: 100%;
  margin-top: 6px;
}
.skillspanel p {
  font-size: 12px;
  color: var(--muted);
}
.reserveform {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 800px) {
  .capacity {
    grid-template-columns: 1fr 1fr;
  }
  .capacitypeople {
    grid-column: 1/-1;
  }
  .reserveform {
    grid-template-columns: 1fr 1fr;
  }
}
[hidden] {
  display: none !important;
}
.planninglayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}
.planninglayout .board {
  min-width: 0;
}
.planninglayout:has(#reserve[hidden]) {
  grid-template-columns: 1fr;
}
.planninglayout .grid {
  grid-template-columns: 125px repeat(5, minmax(0, 1fr));
}
.planninglayout .cell {
  padding: 8px;
  min-height: 150px;
}
.planninglayout .heading {
  padding: 16px 9px;
}
.planninglayout .person {
  padding: 16px 8px;
  gap: 8px;
}
.planninglayout .card strong {
  font-size: 13px;
}
.planninglayout .card {
  padding: 10px;
}
.planninglayout .reserve {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 0;
  padding: 18px;
  box-shadow: 0 8px 28px #213e4b08;
}
.planninglayout .reserveheader {
  display: block;
}
.planninglayout .reserve h2 {
  font-size: 21px;
}
.planninglayout .reserveheader p {
  font-size: 12px;
}
.planninglayout .reserveheader > strong {
  display: inline-block;
  font-size: 11px;
  margin: 10px 0;
  white-space: normal;
}
.planninglayout .reservegroups {
  grid-template-columns: 1fr;
  margin: 14px 0;
}
.planninglayout .reservegroup {
  padding: 13px;
}
.planninglayout .reservegroup strong {
  font-size: 14px;
}
.planninglayout .reservegroup small {
  font-size: 11px;
}
.planninglayout .reservedetail {
  padding: 12px;
}
.planninglayout .reservedetailheader {
  display: block;
}
.planninglayout .reservedetailheader button {
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 11px;
}
.planninglayout .reservelist {
  gap: 8px;
  padding: 12px 0;
  min-height: 0;
}
.planninglayout .reservecard {
  width: 100%;
}
.planninglayout .reserveassign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.planninglayout .reserveassign button {
  grid-column: 1/-1;
  font-size: 12px;
}
.planninglayout .reserveform {
  grid-template-columns: 1fr;
  gap: 10px;
}
.planninglayout .reserveform label:nth-child(3) {
  grid-column: auto;
}
.reservecreate {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 10px 12px;
}
.reservecreate summary {
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.reservecreate .reserveform {
  margin: 14px 0 0;
}
.selectionhint {
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  line-height: 1.5;
  padding: 12px;
  border-radius: var(--r-s);
  margin: 12px 0;
}
.selectionhint button {
  display: block;
  margin-top: 8px;
  padding: 5px 10px;
  font-size: 11px;
}
.cell.reserve-target {
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px #dcb0b3;
}
.cell.reserve-target .addslot {
  opacity: 1;
  background: var(--surface);
  color: var(--brand);
  border: 1px dashed var(--brand);
  font-size: 11px;
}
@media (max-width: 1100px) {
  .planninglayout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 12px;
  }
  .planninglayout .grid {
    grid-template-columns: 100px repeat(5, minmax(0, 1fr));
  }
  .planninglayout .person {
    flex-direction: column;
  }
  .planninglayout .heading {
    font-size: 12px;
  }
  .planninglayout .heading small {
    font-size: 11px;
  }
  .planninglayout .card strong {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .planninglayout {
    grid-template-columns: 1fr;
  }
  .planninglayout .reserve {
    grid-row: 1;
    position: static;
    max-height: none;
  }
  .planninglayout .reservegroups {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
  .planninglayout .reservelist {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .planninglayout .reservecard {
    flex: 0 0 190px;
  }
  .planninglayout .reserveform {
    grid-template-columns: 1fr 1fr;
  }
  .planninglayout .reserveassign {
    grid-template-columns: 1fr 1fr auto;
  }
  .planninglayout .reserveassign button {
    grid-column: auto;
  }
  .planninglayout .reservedetailheader {
    display: flex;
  }
}
@media (max-width: 720px) {
  .planninglayout .grid {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .planninglayout .card strong {
    font-size: 15px;
  }
  .planninglayout .reserveassign {
    grid-template-columns: 1fr 1fr;
  }
  .planninglayout .reserveassign button {
    grid-column: 1/-1;
  }
}

.admindialog {
  width: min(720px, 94vw);
  max-width: 720px;
  padding: 28px;
  border: 0;
  border-radius: var(--r-m);
  max-height: 90vh;
  overflow: auto;
}
.admindialog::backdrop {
  background: #1e242a66;
  backdrop-filter: blur(3px);
}
.adminheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.adminheader small {
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 2px;
}
.adminheader h2 {
  margin: 4px 0;
  font-size: 27px;
}
.adminheader button {
  font-size: 24px;
  padding: 4px 12px;
  border: 0;
}
.admintabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.admintabs button[aria-selected="true"] {
  background: var(--brand-fill);
  color: white;
  border-color: var(--brand);
}
.admindialog h3 {
  margin: 0 0 10px;
}
.admindialog p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.admindialog .reserveform {
  grid-template-columns: 1fr 1fr;
}
.admindialog .reserveform label {
  font-size: 12px;
  font-weight: 600;
}
.admindialog input,
.admindialog select {
  width: 100%;
  margin-top: 7px;
}
.admindialog .reserveform label:first-child,
.admindialog .reserveform label:nth-child(3) {
  grid-column: 1/-1;
}
.admindialog .skillspanel {
  margin: 0;
  padding: 0;
  border: 0;
}
.reserveheader h2 {
  font-size: 22px;
}
.reserveheader p {
  font-size: 12px;
}
.reservedetail {
  padding: 14px;
}
.reservelist {
  padding: 12px 0;
  min-height: 0;
}
.reservecard {
  width: 180px;
}
.reserveheader > strong {
  font-size: 12px;
}
.reservehint {
  font-size: 12px;
}
.admindialog .reserveform button {
  grid-column: 1/-1;
}
.reserveassign {
  padding-top: 12px;
}
@media (max-width: 600px) {
  .admindialog {
    padding: 20px;
  }
  .admintabs button {
    padding: 9px;
    font-size: 12px;
  }
  .reserveheader {
    display: block;
  }
  .reserveheader > strong {
    display: inline-block;
    margin-top: 10px;
  }
  .reserveassign {
    flex-wrap: wrap;
  }
  .reservecard {
    width: calc(50% - 6px);
  }
}
.planviewbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--r-s) var(--r-s) 0 0;
}
.planviewbuttons {
  display: flex;
  gap: 6px;
}
.planviewbuttons button {
  font-size: 12px;
  padding: 8px 13px;
}
.planviewbuttons button[aria-pressed="true"] {
  color: white;
  background: var(--brand-fill);
  border-color: var(--brand);
}
.planviewbar label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.planviewbar select {
  padding: 6px;
  font-size: 12px;
}
.planviewbar > small {
  color: var(--muted);
  font-size: 11px;
}
.cell.overbooked {
  background: #fff7ed;
  box-shadow: inset 0 0 0 2px #e4ac63;
}
.cell.overbooked.reserve-target {
  box-shadow: inset 0 0 0 2px #e4ac63;
}
.daywarning {
  color: #915407;
  background: #fff0d9;
  border: 1px solid #ecd0a6;
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  margin-bottom: 10px;
}
.daywarning small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .planviewbar {
    flex-wrap: wrap;
  }
  .planviewbar > small {
    width: 100%;
  }
}
.extrasbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.extrasbar button {
  font-size: 12px;
  padding: 8px 12px;
}
.extrasbar small {
  font-size: 10px;
  color: var(--muted);
}
.reservesearchbar {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.reservesearchbar input {
  flex: 1;
  min-width: 0;
}
.reservesearchbar select {
  width: auto;
  max-width: 45%;
}
.changebadge {
  display: inline-block;
  color: #116882;
  background: var(--tint-2);
  font-size: 10px;
  border-radius: 4px;
  padding: 3px 6px;
  margin-top: 6px;
}
.card.recent-change {
  outline-offset: 1px;
}
.reportrow {
  display: block;
  width: 100%;
  text-align: left;
  margin: 12px 0;
  padding: 14px;
  background: #fff8ed;
  border-color: #e6d3b2;
}
.reportrow strong {
  font-size: 14px;
}
.reportrow small {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .reservesearchbar {
    flex-direction: column;
  }
  .reservesearchbar select {
    max-width: 100%;
    width: 100%;
  }
}
.sitesmanage {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
}
.sitesmanage input,
.sitesmanage textarea,
.sitesmanage select {
  width: 100%;
  margin-bottom: 12px;
}
.sitesmanage label {
  font-size: 12px;
}
.siteoverview {
  display: block;
  width: 100%;
  text-align: left;
  margin: 10px 0;
  padding: 12px;
}
.siteoverview strong,
.siteoverview small {
  display: block;
}
.siteoverview small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.sitedetailnote {
  font-size: 12px;
  color: var(--muted);
}
.reserveassign {
  flex-wrap: wrap;
}
.timewarning {
  display: block;
  color: #9b5b12;
  font-size: 11px;
}
#printview {
  display: none;
}
@media (max-width: 600px) {
  .sitesmanage {
    grid-template-columns: 1fr;
  }
  .admintabs {
    flex-wrap: wrap;
  }
}
@media print {
  @page {
    size: A4 landscape;
    margin: 12mm;
  }
  body > #printview {
    display: block !important;
    font-family: Arial, sans-serif;
  }
  #printview h1 {
    font-size: 20px;
  }
  #printview table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    font-size: 11px;
  }
  #printview th,
  #printview td {
    border: 1px solid var(--line-strong);
    vertical-align: top;
    padding: 8px;
    overflow-wrap: anywhere;
  }
  #printview td > div {
    margin-bottom: 10px;
  }
  #printview small {
    display: block;
    font-size: 10px;
    margin-top: 4px;
  }
}

.adminentry {
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}
.adminentry button {
  background: var(--brand-fill);
  color: white;
  border-color: var(--brand);
  font-weight: 600;
  padding: 12px 24px;
}
.adminentry span {
  color: var(--muted);
  font-size: 12px;
}
.adminentry:has(button[hidden]) {
  display: none;
}
@media (max-width: 600px) {
  .adminentry {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
.timelinedialog {
  width: 95vw;
  max-width: 1500px;
  padding: 24px;
  border: 0;
  border-radius: var(--r-m);
}
.timelinedialog::backdrop {
  background: #1e242a66;
}
.timelinecontrols {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}
.timelinecontrols label {
  font-size: 12px;
}
.timelinecontrols select,
.timelinecontrols input {
  display: block;
  margin-top: 6px;
}
.timelinecontrols label:first-child {
  flex: 1;
  min-width: 220px;
}
.timelinecontrols label:first-child select {
  width: 100%;
}
.timelineviewport {
  overflow: auto;
  max-height: 60vh;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.timelinegrid {
  display: grid;
  user-select: none;
}
.timelinehead {
  background: var(--tint);
  font-size: 10px;
  font-weight: 600;
  padding: 12px 5px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.timelinename {
  position: sticky;
  left: 0;
  background: var(--surface);
  z-index: 1;
  padding: 18px 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.timelineday {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  height: 70px;
  padding: 5px;
  font-size: 11px;
}
.timelineday.timelinechosen {
  background: var(--brand-fill);
  color: white;
}
.timelineday small {
  font-size: 10px;
}
#timelinestatus {
  background: #fff1df;
  padding: 12px;
  border-radius: var(--r-s);
  font-size: 14px;
}
.timelinedialog > p {
  font-size: 12px;
  color: var(--muted);
}
.clockchoice {
  padding: 16px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  margin: 14px 0;
}
.clockcheck {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 15px !important;
  font-weight: 600;
}
.clockcheck input {
  width: 20px !important;
  height: 20px;
  margin: 0 !important;
  accent-color: var(--brand);
}
.clockhours {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.clockhours label {
  font-size: 12px;
}
.clockhours input {
  display: block;
  margin-top: 6px;
}
.clockhours small {
  width: 100%;
  font-size: 11px;
  color: var(--muted);
}
.clockbuttons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
#assignclockerror {
  color: var(--brand);
  font-size: 13px;
}
.reserveassign > .clockchoice {
  flex-basis: 100%;
  width: 100%;
}
.timelinecontrols + .clockchoice {
  margin-bottom: 12px;
}
.reserveassign .clockchoice input[type="checkbox"] {
  display: inline-block;
}
.reserveassign .clockchoice label {
  display: flex;
}
.v2notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: #fff6df;
  border-bottom: 1px solid #e9d3a2;
  font-size: 12px;
  color: #7b601f;
}
.v2notice a {
  color: inherit;
  font-weight: 600;
}
.v2nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.v2nav button {
  padding: 10px 16px;
  font-size: 13px;
}
.v2nav button[aria-pressed="true"] {
  background: var(--brand-fill);
  color: white;
  border-color: var(--brand);
}
.v2nav #adminopen {
  margin-left: auto;
}
.top {
  min-height: 0 !important;
  padding: 18px 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 14px !important;
  overflow: visible;
}
.top:before {
  display: none !important;
}
.top h1 {
  font-size: 28px;
}
.top .planning-title {
  max-width: 100%;
}
.top .sub {
  font-size: 13px;
  max-width: none;
}
.top .actions {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.adminentry {
  display: none !important;
}
.extrasbar #timelineopen,
.extrasbar #reportsopen {
  display: none !important;
}
.extrasbar {
  margin: 8px 0;
}
.extrasbar:has(button:not([hidden])) {
  margin: 8px 0;
}
.capacity {
  border-radius: var(--r-s);
  padding: 14px 18px;
  gap: 12px 24px;
  margin: 12px 0;
}
.capacitymain > strong,
.capacityfree > strong {
  font-size: 25px;
}
.capacitynote {
  font-size: 10px;
}
.reserve {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--r-s);
}
.reserveheader > div > p {
  max-width: 650px;
}
.reservegroups {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.reservegroup {
  padding: 14px;
}
.reservegroup small {
  font-size: 11px;
}
.reservegroup strong {
  font-size: 15px;
}
.reservedetail {
  background: var(--surface);
}
#reserveassign {
  padding: 12px;
  background: var(--surface);
  border-radius: var(--r-s);
}
.brandtext {
  font-size: 20px;
}
header .companylogo {
  max-height: 90px;
  object-fit: contain;
  width: 180px;
}
.note {
  font-size: 11px;
}
.admintabs button {
  font-size: 12px;
}
.v2nav #v2reports {
  margin-left: 8px;
}
@media (max-width: 720px) {
  .v2notice {
    padding: 10px 16px;
    flex-wrap: wrap;
  }
  .v2nav #adminopen {
    margin-left: 0;
  }
  .top h1 {
    font-size: 24px;
  }
  .capacity {
    grid-template-columns: 1fr 1fr;
  }
  .v2nav #v2reports {
    margin-left: 0;
  }
}
.sitesignals {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}
.sitesignal {
  display: inline-block;
  font-size: 10px;
  line-height: 1.4;
  padding: 4px 7px;
  border-radius: 5px;
  font-weight: 600;
}
.sitesignal.extra {
  background: #fff0d6;
  color: #87530c;
  border: 1px solid #ebcd97;
}
.sitesignal.blocked {
  background: var(--tint-2);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
}
.sitesignal.risk {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand);
}
.delayitem {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px;
  margin: 14px 0;
}
.delayitem h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
.delayitem p {
  font-size: 12px;
  line-height: 1.6;
}
.delayitem button {
  font-size: 11px;
  margin: 5px 3px 0 0;
  padding: 7px 10px;
}
.requestitem {
  border-left: 3px solid #e7bb70;
  padding: 12px;
  margin: 12px 0;
  background: #fffaf0;
  border-radius: 5px;
}
.requestitem strong {
  font-size: 12px;
}
.originalbudget {
  background: var(--tint);
  padding: 10px;
  border-radius: var(--r-xs);
  font-size: 11px !important;
}
#noticeform label {
  display: block;
  font-size: 12px;
  margin: 12px 0;
}
#noticeform select,
#noticeform input,
#noticeform textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
}
#noticeform p,
#delaydialog > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
#delayopen {
  font-size: 12px;
}
.extraworkbadge {
  display: inline-block !important;
  width: auto !important;
  margin-top: 7px;
  padding: 4px 7px;
  background: #ffedcf;
  color: #8a5005;
  border: 1px solid #e9bf78;
  border-radius: 5px;
  font-size: 10px !important;
  font-weight: 700;
}
.reservecard.extra-work,
.card.extra-work {
  border-left-color: #df922a;
  background: #fff8ed;
}
.timelineday.extra-work {
  box-shadow: inset 0 -4px #df922a;
}
.extradaylabel {
  display: block;
  color: #9b5d10;
  font-weight: 700;
  margin-top: 5px;
}
.timelineday.timelinechosen .extradaylabel {
  color: white;
}
.extrastockline {
  color: #935b0e !important;
  font-weight: 600;
}
#timelinestatus.extra-work {
  border-left: 4px solid #df922a;
}
.opsdialog {
  max-width: 800px;
}
.opsdialog details {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  margin: 12px 0;
  padding: 14px;
}
.opsdialog summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.opsdialog label {
  display: block;
  margin: 12px 0;
  font-size: 12px;
}
.opsdialog textarea,
.opsdialog label > input:not([type="checkbox"]),
.opsdialog select {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.opscheck,
.opschecks label {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.opsdialog input[type="checkbox"],
.teamoptions input {
  width: 18px !important;
  height: 18px;
  accent-color: var(--brand);
  margin: 0;
}
.opsdialog p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.opsdialog textarea[readonly],
.opsdialog input[readonly] {
  background: var(--tint-2);
  color: var(--muted);
}
.opsbadge {
  display: inline-block;
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 3px 3px 0 0;
  background: var(--tint);
  color: var(--muted);
}
.opsbadge.ready {
  background: #edf7f0;
  color: #35754b;
  border-color: #c8e2cf;
}
.opsbadge.notready,
.opsbadge.waiting {
  background: #fff4de;
  color: #8f6717;
  border-color: #e9d6a6;
}
.opsbadge.outdoor {
  background: var(--tint-2);
  color: #386b85;
  border-color: var(--line);
}
.opsbadges {
  margin-top: 6px;
}
.opsprogress {
  margin-top: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
#opserror {
  color: var(--brand);
}
#taskoperations {
  font-size: 12px;
  line-height: 1.5;
}
#taskoperations:empty {
  display: none;
}
.teamoptions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.teamoptions label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.teamsection {
  padding: 12px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  margin: 12px 0;
}
.teamsection small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
}
.opsdialog .adminheader button {
  flex-shrink: 0;
}
.unifiedtypes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.unifiedtypes label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 12px;
  font-size: 13px;
}
.unifiedtypes input {
  width: 18px !important;
  margin: 0 !important;
  accent-color: var(--brand);
}
#unifiedform > div > label,
#unifiedgeneralfields label,
.unifieddates label {
  display: block;
  font-size: 12px;
  margin: 12px 0;
}
#unifiedform input:not([type="checkbox"]):not([type="radio"]),
#unifiedform textarea,
#unifiedform select {
  width: 100%;
  margin-top: 6px;
}
.unifieddates {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
#unifiedbudget {
  font-size: 12px;
  color: var(--muted);
}
#unifiederror {
  color: var(--brand);
  font-size: 12px;
}
.unifiedcardkind {
  font-size: 9px !important;
  letter-spacing: 0.3px;
  color: var(--muted) !important;
  margin-bottom: 5px;
}
@media (max-width: 600px) {
  .unifieddates {
    grid-template-columns: 1fr;
  }
}
#unifiedform > label {
  display: block;
  font-size: 12px;
  margin: 14px 0;
}
.unifiedhelp {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.stockpickrow {
  display: block;
  width: 100%;
  text-align: left;
  margin: 10px 0;
  padding: 14px;
}
.stockpickrow strong,
.stockpickrow small {
  display: block;
}
.stockpickrow small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
#pickstocktarget {
  font-size: 13px;
  color: var(--muted);
}
.pagesnav {
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.pagesnav a,
.adminpagenav a {
  display: block;
  padding: 12px 18px;
  border-radius: var(--r-xs);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.pagesnav a[aria-current="page"] {
  background: var(--brand-fill);
  color: white;
}
.adminpagenav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.adminpagenav a {
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
}
.adminpagenav a[aria-current="page"] {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.apppage {
  background: transparent;
}
.apppage > h1 {
  font-size: 28px;
}
.pageintro {
  font-size: 13px;
  color: var(--muted);
}
.v2nav,
.adminentry {
  display: none !important;
}
#pageweek #new {
  display: none !important;
}
#pageweek .extrasbar #printweek {
  display: inline-block;
}
#pageweek .top {
  min-height: 0;
}
#pagelong {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
#pagelong #timelineclose,
#adminmanagepage #adminclose,
#admincreatepage #unifiedclose,
#pagereports #reportsclose,
#pagereports #delayclose {
  display: none !important;
}
.pageplaceholder {
  padding: 0;
  border: 0;
}
#adminmanagepage .admintabs,
#adminmanagepage .adminheader {
  display: none !important;
}
#admincreatepage,
#adminmanagepage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 26px;
}
#admincreatepage {
  max-width: 850px;
}
#admincreatepage .unifiedtypes label {
  margin: 0;
}
#admincreatepage input:not([type="radio"]),
#admincreatepage textarea,
#admincreatepage select {
  width: 100%;
}
.reportcolumns {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}
.reportcolumns > section {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--r-s);
  min-width: 0;
}
.reportcolumns .adminheader h2 {
  font-size: 20px;
}
#pagelong .timelineviewport {
  max-height: 65vh;
}
#adminmanagepage .sitesmanage {
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
}
@media (max-width: 850px) {
  .reportcolumns {
    grid-template-columns: 1fr;
  }
  #adminmanagepage .sitesmanage {
    grid-template-columns: 1fr;
  }
  .pagesnav a {
    padding: 10px 12px;
    font-size: 12px;
  }
  #pagelong,
  #admincreatepage,
  #adminmanagepage {
    padding: 16px;
  }
}
#admingeneralpage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 26px;
}
#admingeneralpage .sitesmanage {
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
}
#admingeneralpage label {
  font-size: 12px;
  display: block;
}
#admingeneralpage textarea,
#admingeneralpage input,
#admingeneralpage select {
  width: 100%;
  margin-top: 6px;
}
#admingeneralpage p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
#admingeneralpage #generalerror {
  color: var(--brand);
}
@media (max-width: 850px) {
  #admingeneralpage {
    padding: 16px;
  }
  #admingeneralpage .sitesmanage {
    grid-template-columns: 1fr;
  }
}
.pagesnav {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 16px;
  background: transparent;
}
.pagesnav a {
  border-radius: var(--r-s);
}
.v4planninglayout {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 22px;
}
.v4stock {
  position: sticky;
  top: 16px;
  max-height: 80vh;
  overflow: auto;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px;
}
.v4stockhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.v4stockhead h2 {
  font-size: 17px;
  margin: 0;
}
.v4stockhead small {
  font-size: 11px;
  color: var(--muted);
}
.v4stock input,
.v4adminlist > input {
  width: 100%;
  margin: 0 0 12px;
  font-size: 12px;
}
.v4stockitem {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  text-align: left;
  padding: 12px;
  margin: 9px 0;
}
.v4stockitem strong,
.v4stockitem small {
  display: block;
}
.v4stockitem strong {
  font-size: 13px;
  line-height: 1.5;
}
.v4stockitem small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.v4stockitem[aria-pressed="true"] {
  border-color: var(--brand);
  box-shadow: inset 3px 0 var(--brand);
  background: var(--surface);
}
.v4stockitem.extra {
  border-left: 3px solid #d79432;
}
.v4planningboard {
  min-width: 0;
}
.v4planningboard > h2 {
  font-size: 21px;
  margin: 0 0 16px;
}
#pagelong {
  padding: 20px;
  background: var(--surface);
}
#pagelong .adminheader {
  display: none;
}
#pagelong .timelinecontrols label:has(#timelineproject) {
  display: none;
}
#pagelong .timelinecontrols input,
#pagelong .timelinecontrols select {
  font-size: 12px;
}
#pagelong .teamsection strong {
  font-size: 12px;
}
#pageweek #reserve {
  display: none;
}
#pageweek .card {
  background: var(--surface) !important;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  box-shadow: none;
  padding: 13px;
}
#pageweek .card strong {
  font-size: 14px;
  line-height: 1.5;
}
#pageweek .card .opsbadges,
#pageweek .card .unifiedcardkind,
#pageweek .card .site-label,
#pageweek .card .checkprogress,
#pageweek .card .status,
#pageweek .card .changebadge {
  display: none;
}
#pageweek .card .site-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
#pageweek .card .sitesignals:empty {
  display: none;
}
#pageweek .card.extra-work {
  border-left-color: #d79432;
}
.card .sitesignal {
  font-size: 9px;
}
.card.recent-change {
  outline: none;
}
#pageweek .heading {
  padding: 16px;
}
#pageweek .cell {
  min-height: 155px;
}
#pageweek .capacity {
  background: var(--surface);
  border-radius: var(--r-s);
  padding: 14px 18px;
}
#pageweek .capacitynote {
  display: none;
}
.v4cardwarning {
  font-size: 10px;
  color: #8d5d1d;
  display: block;
  margin-top: 7px;
}
.v4adminlayout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.v4adminlist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 18px;
}
.v4adminlist .v4stockhead h2 {
  font-size: 16px;
}
.v4adminlist .v4stockhead button {
  font-size: 12px;
  padding: 8px;
}
.v4filters {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.v4filters select {
  min-width: 0;
  width: 50%;
  padding: 8px;
  font-size: 11px;
}
.v4admindetail {
  min-width: 0;
}
#adminmanagepage,
#admingeneralpage {
  padding: 22px;
}
#v4adminlayout .sitesmanage {
  display: block;
}
#v4adminlayout .sitesmanage > div:first-child {
  display: none;
}
#v4newchoices {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}
#v4newchoices button {
  font-size: 12px;
}
#v4adminlayout.skillsmode {
  grid-template-columns: 1fr;
}
#v4adminlayout.skillsmode > .v4adminlist {
  display: none;
}
.v4reportgroup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 20px;
  margin: 16px 0;
}
.v4reportgroup > h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.v4reportitem {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 13px;
  margin: 9px 0;
}
.v4reportitem strong,
.v4reportitem small {
  display: block;
}
.v4reportitem strong {
  font-size: 13px;
}
.v4reportitem small {
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
}
.v4reportgroup.urgent {
  border-left: 4px solid #c77828;
}
.v4reportgroup.blocked {
  border-left: 4px solid var(--brand);
}
.v4reportdetails {
  margin-top: 24px;
}
.v4reportdetails > summary {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  padding: 12px;
}
.v4empty {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1050px) {
  .v4planninglayout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .v4adminlayout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}
@media (max-width: 780px) {
  .v4planninglayout,
  .v4adminlayout {
    grid-template-columns: 1fr;
  }
  .v4stock {
    position: static;
    max-height: 300px;
  }
  .v4planningboard > h2 {
    font-size: 18px;
  }
  .v4adminlist {
    max-height: 350px;
    overflow: auto;
  }
  #pagelong {
    padding: 14px;
  }
}

#pageweek .card > small:not(.dayportion):not(.timewarning):not(.v4cardwarning) {
  display: none;
}
#pageweek .card .dayportion {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
#pagelong > #capacity {
  margin: 0 0 20px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
}
#pagelong .capacitynote {
  font-size: 10px;
  line-height: 1.5;
}
#pagelong .timelineday {
  height: auto;
  min-height: 76px;
  padding: 6px 3px;
}
.v4timeentry {
  display: block;
  border-radius: 4px;
  background: var(--tint-2);
  color: var(--ink-2);
  padding: 5px 2px;
  margin: 3px 0;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}
.v4timeentry.extra {
  background: #fff0d9;
  color: #8c5c13;
}
.v4timeentry small {
  display: block;
  font-size: 8px !important;
}
.timelineday.timelinechosen .v4timeentry {
  background: #ffffff25;
  color: white;
}
.v4timefree {
  color: var(--muted);
  font-size: 10px;
}
@media (max-width: 780px) {
  #pagelong > #capacity {
    grid-template-columns: 1fr 1fr;
  }
  #pagelong > #capacity .capacitypeople {
    grid-column: 1/-1;
  }
}
.planningnotes {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px;
  margin: 0 0 18px;
}
.planningnoteshead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.planningnoteshead h3 {
  font-size: 14px;
  margin: 0;
}
.planningnoteshead button {
  font-size: 11px;
  padding: 7px 10px;
}
.planningnotes p {
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 10px 0;
}
.planningdeadline {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  padding: 10px;
  border-radius: 5px;
  color: var(--brand);
}
.planningaccess {
  background: #fff7e8;
  border-left: 3px solid #c89e4c;
  padding: 10px;
  border-radius: 5px;
}
.planningnote {
  margin: 10px 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.planningnote strong {
  font-size: 12px;
}
.planningnote small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.planningnote p {
  margin: 5px 0;
}
.planningnote.important strong {
  color: #9b7020;
}
.planningnotes summary {
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
}
.timelineday.after-planning-deadline {
  border-top: 2px solid var(--brand);
}
.planningnotesdates {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
}
#planningnotesform label {
  display: block;
  font-size: 12px;
  margin: 14px 0;
}
#planningnotesform input:not([type="checkbox"]),
#planningnotesform textarea,
#planningnotesform select {
  width: 100%;
  margin-top: 6px;
}
#planningnoteserror {
  color: var(--brand);
}
@media (max-width: 600px) {
  .planningnoteshead {
    display: block;
  }
  .planningnoteshead button {
    margin-top: 10px;
  }
  .planningnotesdates {
    grid-template-columns: 1fr;
  }
}
#pageweek .card .dayportion {
  display: none;
}
#pageweek .card .v4weeklytime {
  display: block !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 9px;
  line-height: 1.5;
}
.card[data-status="Erledigt"] .v4weeklytime {
  opacity: 0.8;
}
.adminnavgroup {
  position: relative;
}
.pagesnav #adminnavtoggle {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--r-s);
}
.pagesnav #adminnavtoggle.active,
.pagesnav #adminnavtoggle[aria-expanded="true"] {
  background: var(--brand-fill);
  color: white;
}
.adminnavlinks {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 225px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 6px;
  box-shadow: 0 10px 30px #25354222;
  z-index: 30;
}
.adminnavlinks a {
  font-size: 13px;
  padding: 12px 14px;
  white-space: nowrap;
}
.adminnavlinks a:hover {
  background: var(--tint);
}
.adminnavlinks a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
}
@media (max-width: 720px) {
  .pagesnav #adminnavtoggle {
    font-size: 12px;
    padding: 10px 12px;
  }
}
#pageweek .person {
  flex-wrap: wrap;
  align-content: center;
}
#pageweek .person > div {
  flex: 1;
  min-width: 70px;
}
.tomorrowbutton {
  font-size: 11px !important;
  font-weight: 600;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-xs);
  padding: 7px 10px !important;
  margin-top: 6px;
  white-space: nowrap;
}
.tomorrowdialog {
  width: min(820px, 94vw);
  max-width: 820px;
  max-height: 90vh;
  overflow: auto;
  border: 0;
  border-radius: var(--r-m);
  padding: 26px;
  background: var(--tint);
}
.tomorrowdialog::backdrop {
  background: #25323f66;
  backdrop-filter: blur(3px);
}
.tomorrowheader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.tomorrowheader > div > small {
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 1.5px;
}
.tomorrowheader h2 {
  font-size: 25px;
  margin: 8px 0;
}
.tomorrowheader p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.tomorrowheader button {
  font-size: 22px;
  background: transparent;
  border: 0;
  padding: 5px 12px;
}
.tomorrowdatebar {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.tomorrowdatebar label {
  font-size: 11px;
  color: var(--muted);
}
.tomorrowdatebar input {
  display: block;
  margin-top: 5px;
  padding: 8px;
}
.tomorrowdatebar button {
  font-size: 12px;
  padding: 9px 13px;
}
.tomorrowpack {
  display: grid;
  grid-template-columns: 75px 1fr 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--r-s);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.tomorrowpack small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.tomorrowpack strong {
  display: block;
  font-size: 30px;
  color: var(--brand);
  margin-top: 4px;
}
.tomorrowpack p {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
}
.tomorrowjob {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 20px;
  margin: 16px 0;
}
.tomorrowjobhead {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.tomorrowindex {
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: var(--r-s);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.tomorrowjobhead small {
  font-size: 12px;
  color: var(--muted);
}
.tomorrowjob h3 {
  font-size: 18px;
  margin: 4px 0;
}
.tomorrowfields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}
.tomorrowfield > span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.7px;
  color: var(--muted);
  margin-bottom: 5px;
}
.tomorrowfield strong {
  font-weight: 500;
  font-size: 13px;
  white-space: pre-wrap;
  line-height: 1.5;
}
.tomorrowfield strong.clarify {
  color: #a37525;
}
.tomorrowalert {
  font-size: 12px;
  line-height: 1.6;
  background: #fff3dc;
  border-left: 3px solid #d1a151;
  border-radius: 5px;
  padding: 10px;
  margin: 12px 0;
}
.tomorrowwork {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.tomorrowwork h4 {
  font-size: 13px;
  margin: 0 0 8px;
}
.tomorrowwork p,
.tomorrowwork li {
  font-size: 12px;
  line-height: 1.6;
}
.tomorrowwork ul {
  padding-left: 18px;
}
.tomorrowbuttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.tomorrowbuttons a,
.tomorrowbuttons button {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink-2);
  padding: 8px 11px;
  text-decoration: none;
}
.tomorrownotes {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}
.tomorrownotes summary {
  font-size: 12px;
  cursor: pointer;
}
.tomorrownotes p {
  font-size: 12px;
  line-height: 1.6;
}
.tomorrowempty {
  background: var(--surface);
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  padding: 24px;
}
.tomorrowempty strong {
  font-size: 16px;
}
.tomorrowempty p {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .tomorrowdialog {
    padding: 18px;
  }
  .tomorrowheader h2 {
    font-size: 21px;
  }
  .tomorrowpack {
    grid-template-columns: 1fr 1fr;
  }
  .tomorrowpack > div:first-child {
    grid-column: 1/-1;
  }
  .tomorrowpack strong {
    font-size: 24px;
  }
  .tomorrowfields {
    grid-template-columns: 1fr;
  }
  .tomorrowjob {
    padding: 16px;
  }
}

#pageweek .tomorrowbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 11px !important;
  margin-top: 10px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-s);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--brand) 2%, transparent);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
#pageweek .tomorrowbutton:hover {
  background: var(--brand-soft);
  border-color: #cf9fa6;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--brand) 7%, transparent);
}
#pageweek .tomorrowbutton:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent);
  outline-offset: 3px;
}
.tomorrowicon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  #pageweek .tomorrowbutton {
    transition: none;
  }
}

/* Consistent planning toolbar: labels and controls share their baselines. */
.v4projectheading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.v4projectheading h2 {
  font-size: 21px;
  line-height: 1.4;
  margin: 0;
}
.v4pizzabreak {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #e8e1d7;
  border-radius: var(--r-s);
  background: #fffaf2;
  font-size: 21px;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.v4pizzabreak:hover {
  background: #fff0d6;
  transform: rotate(-8deg);
}
.v4pizzabreak:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent);
  outline-offset: 3px;
}
#pagelong .timelinecontrols {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(150px, 1.2fr) minmax(140px, 1fr) minmax(140px, 1fr);
  gap: 18px;
  align-items: start;
  margin: 24px 0 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
}
#pagelong .timelinecontrols > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
#pagelong .timelinecontrols > label:has(#timelineproject) {
  display: none;
}
#pagelong .timelinecontrols input,
#pagelong .timelinecontrols select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}
#pagelong .timelinecontrols input:focus-visible,
#pagelong .timelinecontrols select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 15%, transparent);
  border-color: var(--brand);
}
#pagelong .clockchoice {
  margin: 0 0 16px;
}
#pagelong .teamsection {
  padding: 16px;
  margin-top: 0;
}
@media (max-width: 1150px) {
  #pagelong .timelinecontrols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 480px) {
  #pagelong .timelinecontrols {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .v4projectheading h2 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v4pizzabreak {
    transition: none;
  }
  .v4pizzabreak:hover {
    transform: none;
  }
}

#pageorders {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.ordersintro {
  max-width: 720px;
  margin-bottom: 26px;
}
.ordersintro > small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--brand);
  font-weight: 600;
}
.ordersintro h1 {
  margin: 9px 0 12px;
  font-size: 28px;
}
.ordersintro p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.suppliergrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 340px));
  gap: 20px;
}
.suppliercard,
.supplierplaceholder {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px;
}
.suppliermark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: var(--r-s);
  padding: 12px 16px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
}
.suppliercard h2 {
  font-size: 20px;
  margin: 18px 0 8px;
}
.suppliercard p,
.supplierplaceholder p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.supplierbutton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--brand-fill);
  color: #fff;
  text-decoration: none;
  border-radius: var(--r-s);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 600;
  margin: 22px 0 12px;
}
.supplierbutton:hover {
  background: var(--brand-strong);
}
.supplierbutton:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent);
  outline-offset: 3px;
}
.suppliercard > small {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.supplierplaceholder {
  border-style: dashed;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.supplierplaceholder > span {
  font-size: 28px;
  color: var(--faint);
  margin-bottom: 14px;
}
.supplierplaceholder > strong {
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 600px) {
  #pageorders {
    padding: 18px;
  }
  .suppliergrid {
    grid-template-columns: 1fr;
  }
}

/* The grid must span every date so sticky names remain pinned until the last week. */
#timelinegrid {
  width: max-content;
  min-width: 100%;
  position: relative;
  isolation: isolate;
}
#timelinegrid .timelinename {
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--tint);
  box-shadow: 3px 0 7px #25323f12;
  border-right: 1px solid var(--line);
}
#timelinegrid > .timelinehead:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  background: var(--tint-2);
  border-right: 1px solid var(--line);
}
#pageorders .ordersintro {
  margin: 0 auto 30px;
  text-align: center;
  max-width: 700px;
}
#pageorders .suppliergrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  align-items: stretch;
}
#pageorders .suppliercard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
  background: var(--surface);
  box-shadow: 0 4px 18px #24354306;
}
#pageorders .supplierlogo {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 20px;
  box-sizing: border-box;
}
#pageorders .supplierlogo img {
  display: block;
  max-width: min(180px, 100%);
  width: auto;
  max-height: 78px;
  height: auto;
  object-fit: contain;
}
#pageorders .suppliercard h2 {
  margin: 12px 0 8px;
  font-size: 18px;
}
#pageorders .suppliercard p {
  margin: 0 0 20px;
  max-width: 240px;
  flex: 1;
}
#pageorders .supplierbutton {
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
  margin: 0 0 12px;
  min-height: 46px;
}
#pageorders .suppliercard > small {
  max-width: 250px;
  font-size: 10px;
  line-height: 1.7;
}
#pageorders .supplierplaceholder {
  display: none;
}
.materialcatalog {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}
.materialsectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.materialsectionhead small {
  color: var(--brand);
  font-size: 10px;
  letter-spacing: 1px;
}
.materialsectionhead h2 {
  font-size: 21px;
  margin: 7px 0;
}
.catalogcount {
  white-space: nowrap;
  background: var(--tint);
  border-radius: var(--r-m);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}
.catalognotice {
  font-size: 12px;
  line-height: 1.7;
  color: #7b6c4c;
  background: #fff9ed;
  padding: 13px 16px;
  border-radius: var(--r-s);
  margin: 16px 0 22px;
}
.materialworkspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.materialfilters {
  display: grid;
  gap: 12px;
}
.materialsearchlabel {
  grid-column: 1/-1;
}
.materialfilters label,
.materialbasket > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
}
.materialfilters input,
.materialfilters select,
.materialbasket > label input,
.materialbasket > label textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  padding: 11px;
  font: inherit;
  font-size: 12px;
}
.materialbasket > label {
  margin: 13px 0;
}
.materialbasket textarea {
  resize: vertical;
}
.materialrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: var(--r-s);
  margin: 10px 0;
}
.materialrow > div {
  min-width: 0;
}
.materialrow h3 {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.materialrow p,
.materialrow summary {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin: 4px 0;
}
.materialrow summary {
  cursor: pointer;
}
.materialrow button {
  white-space: nowrap;
  font-size: 11px;
  padding: 10px 12px;
  color: var(--brand);
  border: 1px solid #dfbfc3;
  background: var(--brand-soft);
  border-radius: var(--r-s);
}
.materialtag {
  font-size: 10px;
  font-weight: 600;
  background: var(--tint-2);
  color: var(--muted);
  border-radius: 5px;
  padding: 3px 6px;
}
.materialpagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.materialpagination button {
  font-size: 12px;
  padding: 9px 14px;
}
.materialpagination span,
#materialresultcount {
  font-size: 12px;
  color: var(--muted);
}
.materialbasket {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 20px;
  position: sticky;
  top: 16px;
}
.materialbasket h3 {
  font-size: 16px;
  margin: 0;
}
.materialbasket .materialsectionhead > span {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.materialbasketintro,
.materialdisclaimer,
#materialcopystatus {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.materialbasketgroup {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.materialbasketgroup h4 {
  font-size: 12px;
  color: var(--brand);
}
.materialbasketrow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 12px;
  margin: 9px 0;
}
.materialbasketrow > strong {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.materialbasketrow > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.materialbasketrow > div {
  display: flex;
  align-items: end;
  gap: 10px;
}
.materialbasketrow label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.materialbasketrow input {
  box-sizing: border-box;
  width: 80px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
}
.materialbasketrow span {
  font-size: 11px;
  padding-bottom: 9px;
}
.materialbasketrow button {
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--brand-line);
  color: var(--brand);
  background: var(--surface);
  border-radius: var(--r-xs);
}
.materialempty {
  padding: 18px 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
#materialcopy {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  font-size: 12px;
}
#materialcopyfallback summary {
  font-size: 12px;
  cursor: pointer;
}
#materialcopytext {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}
#pageorders button:disabled {
  opacity: 0.45;
  cursor: default;
}
@media (max-width: 1200px) {
  #pageorders .suppliergrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .materialworkspace {
    grid-template-columns: 1fr;
  }
  .materialbasket {
    position: static;
  }
}
@media (max-width: 580px) {
  #pageorders .suppliergrid {
    grid-template-columns: 1fr;
  }
  .materialrow {
    flex-direction: column;
    align-items: stretch;
  }
  .materialsearchlabel {
    grid-column: auto;
  }
  .materialsectionhead {
    align-items: flex-start;
  }
  .materialsectionhead h2 {
    font-size: 18px;
  }
  .materialbasket {
    padding: 16px;
  }
}
.moresuppliers {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 0 18px;
}
.moresuppliers > summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.moresuppliers > summary span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 10px;
}
.moresuppliers > .suppliergrid {
  padding: 0 0 20px;
}
#pageorders .moresuppliers .suppliercard {
  padding: 18px 14px;
}
#pageorders .moresuppliers .suppliercard p {
  font-size: 12px;
}
#pageorders .moresuppliers .supplierlogo {
  height: 100px;
}
.supplierclarification {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 14px 0;
}
#pageorders .supplierlogo-small img {
  max-width: 32px;
  max-height: 32px;
  image-rendering: auto;
}
.materialsupplierlink {
  font-size: 11px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.materialsupplierlink:hover {
  text-decoration: underline;
}

.suppliertextname {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink-2);
}
#pageorders .allsuppliers {
  margin: 0 0 24px;
}
.materialshopsuggestion {
  padding: 14px 16px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  margin: 16px 0;
}
.materialshopsuggestion > strong {
  font-size: 12px;
  color: var(--ink-2);
}
.materialshopsuggestion p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0;
}
.materialshopbuttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.materialshopbuttons > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  min-width: 150px;
  flex: 1;
  max-width: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  text-decoration: none;
  color: var(--ink-2);
}
.materialshopbuttons > a:hover {
  border-color: var(--brand);
}
.materialshopbuttons span {
  font-size: 13px;
  font-weight: 700;
}
.materialshopbuttons small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.materialshopbuttons span small {
  display: block;
  margin-top: 4px;
}
.materialshopbuttons b {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
}
.materialshopbuttons > a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent);
  outline-offset: 2px;
}

.materialsearchcontrols {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.8fr);
  gap: 12px;
  grid-column: 1/-1;
}
.materialsearchcontrols .materialsearchlabel {
  grid-column: auto;
}
.materialfilters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.materialfilters input,
.materialfilters select {
  height: 43px;
}
.materialrow .materiallocationline {
  color: var(--muted);
}
@media (max-width: 1150px) {
  .materialfilters {
    grid-template-columns: 1fr 1fr;
  }
  .materialsearchcontrols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .materialfilters {
    grid-template-columns: 1fr;
  }
}
#pagehours {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.hoursintro {
  max-width: 900px;
}
.hoursintro > small {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--brand);
}
.hoursintro h1 {
  font-size: 28px;
  margin: 10px 0;
}
.hoursintro p {
  font-size: 13px;
  line-height: 1.7;
}
.hourslayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 24px;
}
.hoursreport,
.hourscomparison {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 22px;
}
.hourscomparison {
  background: var(--tint);
  align-self: start;
  position: sticky;
  top: 16px;
}
.hourslayout h2 {
  font-size: 19px;
  margin: 0 0 18px;
}
.hourslayout h3 {
  font-size: 13px;
  margin-top: 22px;
}
.hoursreport > p,
#hourssnapshot {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.hourstotal {
  padding: 18px;
  background: var(--brand-soft);
  border-radius: var(--r-s);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hourstotal span {
  font-size: 12px;
}
.hourstotal strong {
  font-size: 22px;
}
.hourstable table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
.hourstable th {
  color: var(--muted);
  background: var(--tint);
}
.hourstable th,
.hourstable td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
}
.hourstable th:last-child,
.hourstable td:last-child {
  text-align: right;
  white-space: nowrap;
}
.hourslayout label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0;
}
.hourslayout input:not([type="checkbox"]),
.hourslayout select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 12px;
  background: var(--surface);
  font: inherit;
}
.hourslayout label small {
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.hourslayout .hoursconfirm {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.7;
}
.hoursconfirm input {
  flex-shrink: 0;
  margin-top: 4px;
}
.hoursinputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hoursmetrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.hoursmetrics > div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.hoursmetrics span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.hoursmetrics strong {
  display: block;
  font-size: 18px;
  margin-top: 10px;
  line-height: 1.4;
}
.hoursforecast {
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-s);
  padding: 16px;
  line-height: 1.6;
}
.hoursforecast.over {
  color: var(--brand);
  background: var(--brand-soft);
}
.hoursforecast.within {
  color: #426b59;
  background: #eaf3ee;
}
.hourshint,
.hourshelp p,
#hoursimportstatus {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.hourshelp summary {
  font-size: 12px;
  cursor: pointer;
}
.hourshelp {
  margin-top: 20px;
}
.hoursreport button {
  font-size: 12px;
  padding: 12px 16px;
}
@media (max-width: 950px) {
  .hourslayout {
    grid-template-columns: 1fr;
  }
  .hourscomparison {
    position: static;
  }
}
@media (max-width: 580px) {
  #pagehours {
    padding: 16px;
  }
  .hoursreport,
  .hourscomparison {
    padding: 16px;
  }
  .hoursintro h1 {
    font-size: 23px;
  }
  .hoursinputs,
  .hoursmetrics {
    grid-template-columns: 1fr;
  }
  .hourstotal {
    align-items: start;
    flex-direction: column;
  }
}
.siteupload {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 18px;
  margin-bottom: 24px;
}
.siteupload strong {
  font-size: 14px;
}
.siteupload p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 7px 0 12px;
}
.siteupload > small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.siteupload .siteuploadfile {
  display: block;
  margin: 12px 0;
  font-size: 12px;
  font-weight: 600;
}
.siteuploadfile input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font-size: 12px;
  margin-top: 8px;
  background: var(--surface);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.siteuploaddialog {
  box-sizing: border-box;
  width: min(1200px, 95vw);
  max-height: 93vh;
  overflow: auto;
  border: 0;
  border-radius: var(--r-m);
  padding: 26px;
  color: var(--ink-2);
}
.siteuploaddialog::backdrop {
  background: #24354375;
  backdrop-filter: blur(3px);
}
.siteuploadheading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.siteuploadheading small {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--brand);
}
.siteuploadheading h2 {
  font-size: 23px;
  margin: 8px 0;
}
.siteuploadheading p {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.siteuploadheading button {
  font-size: 24px;
  background: transparent;
  border: 0;
  padding: 5px 12px;
}
.siteuploadreview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.siteuploadoriginal {
  min-width: 0;
  background: var(--tint);
  border-radius: var(--r-s);
  padding: 12px;
  align-self: start;
}
.siteuploadoriginal canvas {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
}
.siteuploadoriginal a {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--brand);
  margin-top: 12px;
}
.siteuploadpages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.siteuploadpages button {
  padding: 5px 12px;
  font-size: 18px;
}
.siteuploadpages span {
  font-size: 12px;
}
.siteuploadreview form > p {
  font-size: 12px;
  line-height: 1.6;
}
.siteuploadreview form > input,
.siteuploadreview form > textarea {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  font-size: 13px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  margin: 0 0 12px;
}
.siteuploadreview .siteuploadcheck {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin: 9px 0;
}
.siteuploadcheck input {
  flex-shrink: 0;
  margin-top: 3px;
}
.siteuploadreview button.primary {
  font-size: 12px;
  padding: 12px;
}
.siteuploadraw {
  margin-top: 22px;
}
.siteuploadraw summary {
  font-size: 12px;
  cursor: pointer;
}
.siteuploadraw pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  max-height: 220px;
  overflow: auto;
  background: var(--tint);
  padding: 14px;
}
#siteuploadapplystatus {
  font-size: 12px;
  line-height: 1.6;
  color: var(--brand);
}
@media (max-width: 800px) {
  .siteuploadreview {
    grid-template-columns: 1fr;
  }
  .siteuploaddialog {
    padding: 18px;
  }
  .siteuploadoriginal {
    max-height: 400px;
    overflow: auto;
  }
}
#pageweek .card {
  position: relative;
  padding-right: 30px;
}
.workkindbadge {
  position: absolute;
  right: 8px;
  top: 10px;
  font-size: 15px;
  line-height: 1;
}
.v4stockitem .stockworkkind {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
#sitewaterexport {
  margin-top: 16px;
  padding: 12px;
  font-size: 12px;
  border: 1px solid var(--line-strong);
  background: var(--tint);
  color: #326481;
  border-radius: var(--r-s);
}
#sitewaterexportstatus {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

#siteuploadnative {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: var(--surface);
  border-radius: var(--r-xs);
}
@media (max-width: 800px) {
  #siteuploadnative {
    height: 360px;
  }
}
#siteestimate {
  padding: 11px 14px;
  border: 1px solid #d8c2c5;
  border-radius: var(--r-s);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  margin: 12px 0;
}
#siteestimatestatus {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.estimatedialog {
  width: min(1200px, 95vw);
  box-sizing: border-box;
  max-height: 93vh;
  overflow: auto;
  padding: 26px;
  border: 0;
  border-radius: var(--r-m);
  color: var(--ink-2);
}
.estimatedialog::backdrop {
  background: #24354375;
  backdrop-filter: blur(3px);
}
.estimategrid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.estimategrid h3 {
  font-size: 16px;
}
.estimatetable {
  overflow: auto;
}
.estimatetable table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
.estimatetable th {
  font-size: 10px;
  color: var(--muted);
  text-align: left;
  padding: 9px 6px;
  background: var(--tint);
}
.estimatetable td {
  padding: 10px 5px;
  border-bottom: 1px solid var(--line);
}
.estimatetable label {
  display: flex;
  align-items: start;
  gap: 6px;
  min-width: 115px;
  line-height: 1.6;
}
.estimatetable input[type="number"] {
  box-sizing: border-box;
  width: 75px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 9px 6px;
  font-size: 12px;
}
.estimateinputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.estimateinputs label,
.estimatefactor,
.estimateaccept {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.estimateinputs input,
.estimatefactor select,
.estimateaccept input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  font: inherit;
}
.estimateoutput {
  align-self: start;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 20px;
}
.estimateoutput .hoursmetrics {
  grid-template-columns: 1fr 1fr;
}
.estimateoutput .hoursmetrics strong {
  font-size: 16px;
}
.estimateoutput details summary {
  font-size: 12px;
  cursor: pointer;
}
.estimateoutput button,
#estimateexample {
  font-size: 12px;
  padding: 11px 14px;
  border-radius: var(--r-s);
  margin: 6px 0;
}
#estapply {
  width: 100%;
}
#estimatestatus {
  font-size: 11px;
  line-height: 1.7;
  color: #8b6530;
}
@media (max-width: 1000px) {
  .estimategrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .estimatedialog {
    padding: 18px;
  }
  .estimateinputs,
  .estimateoutput .hoursmetrics {
    grid-template-columns: 1fr;
  }
  .estimateoutput {
    padding: 16px;
  }
}
.v4timeentry .timelineworkicon {
  display: inline-block;
  font-size: 13px;
  line-height: 1.2;
  vertical-align: middle;
  margin: 0 4px 0 0;
  flex-shrink: 0;
}
.v4timeentry:has(.timelineworkicon) {
  white-space: normal;
  line-height: 1.6;
}

/* Estimator: independent work cards avoid inherited table/form column rules. */
#estimatedialog {
  width: min(1240px, 95vw);
  padding: 28px;
  background: var(--surface);
}
#estimatedialog .siteuploadheading {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
#estimatedialog .siteuploadheading h2 {
  font-size: 24px;
  line-height: 1.35;
}
#estimatedialog .siteuploadheading button {
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  font-size: 23px;
  background: var(--tint);
  flex-shrink: 0;
}
#estimatedialog .estimateintrobar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
#estimatedialog .estimateintrobar p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
#estimatedialog #estimateexample {
  font-size: 11px;
  white-space: nowrap;
  padding: 10px 14px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-s);
}
#estimatedialog .estimateassumptions {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
#estimatedialog .estimateassumptions summary {
  cursor: pointer;
}
#estimatedialog .estimateassumptions p {
  max-width: 760px;
  line-height: 1.7;
}
#estimatedialog .estimategrid {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 0;
}
#estimatedialog .estimategrid h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 12px;
}
#estimatedialog .estimategrid > section > h3:not(:first-child) {
  margin-top: 24px;
}
#estimatedialog .hourshint {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 10px 0 14px;
}
#estimatedialog .estimateworkcards {
  display: grid;
  gap: 12px;
  margin: 16px 0 24px;
}
#estimatedialog .estimateworkcard {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 15px;
  background: var(--surface);
}
#estimatedialog .estimateworkcard:has(.estimateworktoggle input:checked) {
  background: var(--surface);
  border-color: #c99ba1;
  box-shadow: inset 3px 0 var(--brand);
}
#estimatedialog .estimateworktoggle {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.5;
}
#estimatedialog .estimateworktoggle input {
  display: block !important;
  position: static !important;
  width: 17px !important;
  height: 17px !important;
  min-height: 0 !important;
  margin: 0 !important;
  flex: 0 0 17px;
  accent-color: var(--brand);
}
#estimatedialog .estimateworktoggle span {
  position: static !important;
  display: block;
  min-width: 0;
}
#estimatedialog .estimateworkfields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
#estimatedialog .estimateworkfields label,
#estimatedialog .estimateinputs label,
#estimatedialog .estimatefactor,
#estimatedialog .estimateaccept {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-width: 0;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  color: var(--muted);
}
#estimatedialog input[type="number"],
#estimatedialog select {
  display: block;
  position: static;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  font: inherit;
  font-size: 12px;
  color: var(--ink-2);
}
#estimatedialog .estimateinputs {
  gap: 14px;
  align-items: start;
  margin: 14px 0;
}
#estimatedialog .estimateinputs label {
  min-height: 81px;
  justify-content: space-between;
}
#estimatedialog .estimatefactor {
  margin: 16px 0;
}
#estimatedialog .estimateoutput {
  padding: 20px;
  background: var(--tint);
  border-radius: var(--r-s);
  border-color: var(--line);
}
#estimatedialog #estimateresult {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 18px 0;
}
#estimatedialog .hoursmetrics {
  gap: 10px;
  margin-top: 12px;
}
#estimatedialog .hoursmetrics > div {
  padding: 13px;
  border-color: var(--line);
}
#estimatedialog .hoursmetrics span {
  font-size: 10px;
  line-height: 1.5;
}
#estimatedialog .hoursmetrics strong {
  font-size: 17px;
  line-height: 1.5;
  margin-top: 8px;
  color: var(--ink-2);
}
#estimatedialog .estimateaccept {
  margin: 20px 0 12px;
}
#estimatedialog #estuseupper {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  font-size: 11px;
  padding: 11px;
  margin: 0 0 10px;
}
#estimatedialog #estapply {
  font-size: 12px;
  padding: 12px;
  margin: 0;
  border-radius: var(--r-s);
}
#estimatedialog button:focus-visible,
#estimatedialog input:focus-visible,
#estimatedialog select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 20%, transparent);
  outline-offset: 2px;
}
#estimatedialog button:disabled {
  opacity: 0.45;
  cursor: default;
}
@media (max-width: 1050px) {
  #estimatedialog .estimategrid {
    grid-template-columns: 1fr;
  }
  #estimatedialog .estimateoutput {
    position: static;
  }
}
@media (max-width: 580px) {
  #estimatedialog {
    padding: 18px;
  }
  #estimatedialog .estimateworkfields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #estimatedialog .estimateintrobar {
    align-items: start;
    flex-direction: column;
  }
  #estimatedialog .estimateinputs {
    grid-template-columns: 1fr 1fr;
  }
  #estimatedialog .estimateoutput .hoursmetrics {
    grid-template-columns: 1fr 1fr;
  }
  #estimatedialog .siteuploadheading h2 {
    font-size: 20px;
  }
}
#pdfpreviewdialog {
  width: min(1100px, 94vw);
  max-width: 94vw;
  height: 92vh;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--r-m);
  overflow: hidden;
}
#pdfpreviewdialog[open] {
  display: flex;
  flex-direction: column;
}
#pdfpreviewdialog::backdrop {
  background: rgba(25, 35, 40, 0.6);
}
.pdfpreviewhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.pdfpreviewhead h2 {
  margin: 0;
  font-size: 22px;
}
.pdfpreviewhead p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
#pdfpreviewframe {
  width: 100%;
  flex: 1;
  min-height: 0;
  border: 0;
  background: var(--tint-2);
}
.pdfpreviewactions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.pdfpreviewactions p {
  margin: 0 auto 0 0;
  font-size: 13px;
  max-width: 440px;
}
.pdfpreviewactions a {
  font-size: 13px;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
}
.devicepanel {
  padding: 20px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--tint);
}
.devicepanel h3 {
  margin-top: 0;
}
.devicepanel p {
  font-size: 13px;
  color: var(--muted);
}
.devicefields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.devicefields label {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  font-size: 13px;
}
.devicefields input,
.devicefields select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.devicepanel details {
  margin-top: 18px;
}
.devicepanel summary {
  cursor: pointer;
  font-weight: 700;
}
#devicebookings p {
  padding: 10px;
  background: var(--surface);
  border-radius: var(--r-xs);
}
@media (max-width: 700px) {
  .devicefields {
    grid-template-columns: 1fr 1fr;
  }
}
.deviceoverview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.deviceoverview article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 22px;
}
.deviceoverview h2 {
  margin: 0 0 16px;
  font-size: 19px;
}
.deviceoverview strong {
  font-size: 28px;
  color: var(--brand);
}
.deviceoverview p {
  color: var(--muted);
  font-size: 13px;
}
#pagedevices .devicepanel {
  padding: 26px;
}
#pagedevices #devsaveinventory {
  margin: 20px 0;
}
#pagedevices #devicebookings p {
  border: 1px solid var(--line);
  padding: 16px;
}
@media (max-width: 700px) {
  .deviceoverview {
    grid-template-columns: 1fr;
  }
}
/* Layout audit: consistent form spacing and safe sizing for narrow panels. */
.apppage {
  min-width: 0;
}
.apppage :is(h1, h2, h3, p, strong, a) {
  overflow-wrap: break-word;
}
.apppage :is(input, select, textarea) {
  max-width: 100%;
}
.apppage input[type="checkbox"],
dialog input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: 0 0 18px;
  padding: 0;
  vertical-align: middle;
}
.apppage :is(.fields, .devicefields, .materialfilters, .hourslayout) > * {
  min-width: 0;
}
.adminnavlinks {
  max-width: calc(100vw - 44px);
}
.adminnavlinks a {
  display: block;
  line-height: 1.4;
}
.v4stock,
.v4adminlist {
  scrollbar-gutter: stable;
}
.v4projectheading h2,
.planningnoteshead h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.devicefields {
  align-items: end;
  gap: 16px;
  margin: 18px 0;
}
.devicefields label {
  margin: 0 !important;
  line-height: 1.5;
}
.devicefields input,
.devicefields select {
  margin: 0 !important;
  height: 46px;
  min-height: 46px;
  font-size: 14px;
  line-height: 1.3;
}
.devicefields > div {
  display: flex;
  align-items: flex-end;
  min-height: 46px;
}
.devicefields > div > button {
  min-height: 46px;
  width: 100%;
  margin: 0;
}
.devicepanel > p {
  line-height: 1.65;
}
.devicepanel > h3,
.devicepanel > h2 {
  line-height: 1.35;
}
.deviceoverview article {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.deviceoverview article > h2,
.deviceoverview article > strong,
.deviceoverview article > p {
  width: 100%;
  margin: 0;
}
.deviceoverview article > h2 {
  min-height: 2.7em;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.deviceoverview article > p {
  line-height: 1.6;
}
.deviceoverview article > button {
  font-size: 12px;
  margin-top: 6px;
}
#devselected > p {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  font-size: 13px;
}
#devselected button {
  margin-left: auto;
  font-size: 12px;
  padding: 8px 12px;
}
#devcatalogsave,
#devcatalogcancel {
  margin: 4px 8px 0 0;
}
#devicecheck:not(:empty),
#devcatalogstatus:not(:empty) {
  padding: 10px 12px;
  background: #fff9ed;
  border-radius: var(--r-s);
  line-height: 1.6;
}
.deviceoverview {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.materialfilters label {
  margin: 0;
}
.materialsearchcontrols {
  min-width: 0;
}
.materialsectionhead > * {
  min-width: 0;
}
.materialsectionhead h2 {
  line-height: 1.4;
}
.materialpagination {
  flex-wrap: wrap;
}
.materialbasketrow > div {
  flex-wrap: wrap;
}
.materialsupplierlink {
  float: none;
  display: inline-block;
  margin: 4px 0;
}
.hourslayout > section {
  min-width: 0;
}
.hourstable {
  max-width: 100%;
  overflow: auto;
}
.tomorrowdatebar {
  flex-wrap: wrap;
  align-items: end;
}
.tomorrowdatebar label {
  margin: 0;
}
.tomorrowdatebar input {
  min-height: 42px;
}
.tomorrowjobhead > div {
  min-width: 0;
}
.tomorrowfield {
  min-width: 0;
}
.tomorrowfield strong {
  overflow-wrap: anywhere;
}
.pdfpreviewhead > div {
  min-width: 0;
}
.pdfpreviewhead > button {
  flex-shrink: 0;
}
.pdfpreviewactions {
  flex-shrink: 0;
}
.pdfpreviewactions button {
  min-height: 42px;
}
.pdfpreviewactions p {
  line-height: 1.5;
}
@media (max-width: 1100px) {
  #pagelong .timelinecontrols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v4adminlayout {
    gap: 18px;
  }
  .devicefields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .devicefields {
    grid-template-columns: 1fr;
  }
  #pagedevices .devicepanel {
    padding: 18px;
  }
  .materialsectionhead {
    flex-wrap: wrap;
    gap: 8px;
  }
  .materialshopbuttons > a {
    min-width: 0;
    max-width: none;
    flex-basis: 100%;
  }
  .pdfpreviewhead {
    padding: 14px 16px;
  }
  .pdfpreviewhead h2 {
    font-size: 19px;
  }
  .pdfpreviewactions {
    padding: 12px 16px;
    gap: 8px;
  }
  .pdfpreviewactions p {
    max-width: none;
    width: 100%;
    margin-bottom: 4px;
  }
  .pdfpreviewactions button {
    flex: 1;
  }
  .planningnotesdates,
  .fields {
    grid-template-columns: 1fr;
  }
  .v4adminlist {
    max-height: 280px;
  }
  .tomorrowdatebar button {
    min-height: 42px;
  }
  #pagelong .timelinecontrols {
    gap: 12px;
    padding: 12px;
  }
}
@media (max-width: 420px) {
  #pagelong .timelinecontrols {
    grid-template-columns: 1fr;
  }
  .weeknav {
    flex-wrap: wrap;
  }
  .weeknav strong {
    font-size: 14px;
  }
  .pdfpreviewactions > a {
    width: 100%;
  }
}
#weekhelpopen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--surface);
  color: var(--brand);
}
#weekhelpopen > span,
.weekhelpbadge {
  display: inline-grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-weight: 700;
}
.weekhelpbadge {
  width: 42px;
  height: 42px;
  font-size: 25px;
  color: var(--brand);
  background: var(--brand-soft);
}
#weekhelpdialog {
  width: min(580px, calc(100vw - 28px));
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  border: 0;
  border-radius: var(--r-m);
}
.weekhelphead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.weekhelphead button {
  padding: 2px 10px;
  font-size: 25px;
  border: 0;
  background: transparent;
}
#weekhelpdialog h2 {
  font-size: 25px;
  line-height: 1.35;
  margin: 10px 0 16px;
}
#weekhelpdialog p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}
#weekhelpwelcome > small {
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 1px;
}
#weekhelpdialog .weekhelpnote {
  font-size: 12px;
  color: var(--muted);
}
.weekhelpactions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.weekhelpactions button {
  min-height: 44px;
}
.weekhelpillustration {
  padding: 20px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#weekhelpdots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}
#weekhelpdots span {
  width: 7px;
  height: 7px;
  background: var(--tint-2);
  border-radius: 50%;
}
#weekhelpdots .active {
  background: var(--brand-fill);
}
#weekhelpback:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (max-width: 600px) {
  #weekhelpdialog h2 {
    font-size: 22px;
  }
  .weekhelpactions {
    flex-wrap: wrap;
  }
  #pageweek .top .actions {
    flex-wrap: wrap;
  }
}
#weektour {
  position: fixed;
  inset: 0;
  z-index: 10000;
  isolation: isolate;
}
#weektourspotlight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
#weektourbubble {
  position: fixed;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px 24px;
  color: var(--ink);
  max-height: calc(100dvh - 80px);
  overflow: visible;
}
.weektourcat {
  position: absolute;
  filter: drop-shadow(0 3px 3px #0003);
}
.weektourbubblehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.weektourbubblehead span {
  font-size: 11px;
  color: var(--muted);
}
.weektourbubblehead button {
  font-size: 23px;
  border: 0;
  padding: 0 5px;
  background: transparent;
}
#weektourbubble h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 10px 0;
}
#weektourbubble p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}
#weektourbubble .weekhelpactions {
  margin-top: 16px;
  padding-top: 14px;
}
#weektourback:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (max-height: 600px) {
  #weektourbubble {
    padding: 12px 18px;
    max-height: calc(100dvh - 32px);
    overflow: auto;
  }
  #weektourbubble h2 {
    font-size: 18px;
  }
  #weektourbubble p {
    font-size: 12px;
  }
  #weektourbubble .weekhelpactions {
    margin-top: 10px;
    padding-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #weektour * {
    scroll-behavior: auto !important;
  }
}
.weektourcat {
  width: 100px;
  height: 106px;
  top: -97px;
  right: 18px;
}
@media (max-height: 600px) {
  .weektourcat {
    display: none;
  }
}
.formintro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 20px;
}
.formsection {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  margin: 14px 0;
  overflow: hidden;
}
.formsection > summary {
  padding: 17px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  background: var(--tint);
  color: var(--ink-2);
}
.formsection[open] > summary {
  border-bottom: 1px solid var(--line);
}
.formsectionbody {
  padding: 2px 20px 20px;
}
.formsectiongrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.formsectiongrid > label {
  min-width: 0;
}
.formsectiongrid > label:has(#sitename),
.formsectiongrid > label:has(#siteaddress) {
  grid-column: 1/-1;
}
.formsectionbody > button {
  margin: 12px 8px 0 0;
}
.formsectionbody .devicepanel {
  border: 0;
  padding: 0;
  margin: 16px 0 0;
  background: transparent;
}
.formsectionbody .devicepanel > h3 {
  display: none;
}
.formsectionbody .siteupload {
  margin: 24px 0 0;
}
.sitesavebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
  margin: 24px 0 0;
}
.sitesavebar > span {
  font-size: 12px;
  color: var(--muted);
}
.sitesavebar button {
  min-height: 46px;
}
#planningdetails > summary {
  font-size: 12px;
  padding: 12px 0;
  cursor: pointer;
  color: var(--muted);
}
#planningdetails[open] > summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .formsectiongrid {
    grid-template-columns: 1fr;
  }
  .formsectionbody {
    padding: 2px 16px 16px;
  }
  .formsection > summary {
    padding: 16px;
  }
  .sitesavebar button {
    width: 100%;
  }
}
.adminhelpbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.adminhelpbar > span {
  font-size: 11px;
  color: var(--muted);
}
.adminhelpbutton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand-line);
}
.adminhelpbutton > span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .adminhelpbar {
    justify-content: flex-start;
    gap: 8px;
  }
  .adminhelpbar > span {
    display: none;
  }
  .adminhelpbutton {
    font-size: 11px;
  }
}
#sitesavestatus {
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  padding: 13px 16px;
  border-radius: var(--r-s);
  background: #edf7f0;
  color: #315b40;
  border: 1px solid #cadfce;
  margin-top: 20px;
}
#sitesavestatus.error {
  background: var(--brand-soft);
  border-color: #e6b9b4;
  color: var(--brand);
}
html[data-theme="dark"] #sitesavestatus {
  border-color: #486d58;
}
#cattreatarea {
  margin: 18px 0 0;
  border: 1px dashed #dfc4a4;
  border-radius: var(--r-s);
  padding: 12px;
  background: #fff8eb;
  text-align: center;
}
#cattreatgive {
  font-size: 12px;
  color: #8b6236;
  border: 1px solid #d9bd9a;
  background: var(--surface);
  padding: 9px 15px;
}
#cattreatgive:hover {
  background: #ffefd7;
}
#cattreatmessage {
  font-size: 12px !important;
  line-height: 1.6 !important;
  margin: 9px 0 0 !important;
  color: #866341 !important;
}
#cattreatmessage:empty {
  display: none;
}
.cat-treat-snack {
  position: fixed;
  width: 36px;
  height: 25px;
  z-index: 10020;
  pointer-events: none;
  filter: drop-shadow(0 3px 2px #0003);
}
.cat-treat-snack svg {
  width: 100%;
  height: 100%;
}
.cat-is-eating .cat-treat-mouth {
  animation: cat-munch 0.2s ease-in-out infinite;
  transform-origin: 80px 104px;
}
@keyframes cat-munch {
  50% {
    transform: scaleY(0.4);
  }
}
html[data-theme="dark"] #cattreatarea {
  border-color: #8b7150;
}
html[data-theme="dark"] #cattreatgive {
  border-color: #9e8058;
}
@media (prefers-reduced-motion: reduce) {
  .cat-is-eating .cat-treat-mouth {
    animation: none;
  }
}
/* Main navigation: week view left, administration right. */
.pagesnav {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}
.pagesnav > .adminnavgroup {
  margin-left: auto;
}
.pagesnav .adminnavlinks {
  left: auto;
  right: 0;
}
.planningundobar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.planningundobar > div {
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.planningundobar strong {
  font-size: 14px;
}
.planningundobar span {
  font-size: 11px;
  color: var(--muted);
}
.planningundobar button {
  font-size: 12px;
  padding: 9px 13px;
}
.planningundobar button:disabled {
  opacity: 0.45;
  cursor: default;
}
.todayimportant {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  padding: 12px 16px;
}
.todayimportant > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.todayimportant summary {
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #8d6b36;
}
.todaycards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 10px;
  margin-top: 14px;
}
.todaycards button {
  display: block;
  text-align: left;
  background: var(--surface);
  border: 1px solid #e3d5bd;
  border-left: 3px solid #d3a157;
  border-radius: var(--r-s);
  padding: 13px;
}
.todaycards strong {
  display: block;
  font-size: 12px;
}
.todaycards small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.clickablesite {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #d3a5ac;
  text-underline-offset: 5px;
}
.clickablesite:hover {
  color: var(--brand);
}
.quicksite,
.shiftplan {
  width: min(1040px, 95vw);
  max-width: 1040px;
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
  border: 0;
  border-radius: var(--r-m);
}
.quicksitehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.quicksitehead small {
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 1.2px;
}
.quicksitehead h2 {
  font-size: 25px;
  margin: 8px 0;
  line-height: 1.35;
}
.quicksitehead > button {
  font-size: 23px;
  border: 0;
  padding: 3px 10px;
  flex-shrink: 0;
}
.quicksite #siteformtitle {
  display: none;
}
.quicksite .formintro {
  margin-top: 0;
}
.shiftfields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.shiftfields label {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.shiftfields input,
.shiftfields select {
  height: 45px;
  margin: 0;
  min-width: 0;
}
.shiftcheck {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  margin: 16px 0;
}
.shiftcheck input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.shiftpreview {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px;
  background: var(--tint);
}
.shiftpreview:empty {
  display: none;
}
.shiftpreview > strong {
  font-size: 13px;
}
.shiftpreview p,
#shiftmessage {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.shiftpreviewtable {
  max-height: 300px;
  overflow: auto;
  margin: 14px 0;
}
.shiftpreview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.shiftpreview td,
.shiftpreview th {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.shiftpreview th {
  background: var(--tint-2);
}
.shiftpreview .shiftwarning {
  color: var(--brand);
  background: var(--brand-soft);
  padding: 12px;
  border-radius: var(--r-s);
}
.shiftactions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
}
#sitearchive {
  font-size: 12px;
  color: #8b5a36;
  border-color: #dcc9b4;
  margin-top: 18px;
}
html[data-theme="dark"] .todaycards button {
  border-color: #65553d;
}
html[data-theme="dark"] #sitearchive {
  background: #403329;
}
@media (max-width: 650px) {
  .shiftfields {
    grid-template-columns: 1fr;
  }
  .quicksite,
  .shiftplan {
    padding: 20px;
  }
  .planningundobar > div {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px;
  }
  .planningundobar button {
    flex: 1;
  }
  .shiftactions {
    flex-wrap: wrap;
  }
  .shiftactions button {
    flex: 1;
  }
  .quicksitehead h2 {
    font-size: 21px;
  }
}
.quicksearch {
  position: relative;
  margin: 0 0 22px;
  max-width: 760px;
  z-index: 15;
}
.quicksearch > label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 7px;
}
.quicksearch > div {
  display: flex;
  gap: 8px;
}
.quicksearch input {
  width: 100%;
  min-width: 0;
  height: 43px;
  background: var(--surface);
  padding: 10px 14px;
}
.quicksearch > div > button {
  height: 43px;
  font-size: 21px;
  padding: 3px 13px;
}
.quicksearchresults {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 440px;
  overflow: auto;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  box-shadow: 0 12px 36px #20354225;
}
.quicksearchresults article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.quicksearchresults article > div {
  flex: 1;
  min-width: 0;
}
.quicksearchresults strong,
.quicksearchresults small {
  display: block;
  overflow-wrap: anywhere;
}
.quicksearchresults strong {
  font-size: 13px;
}
.quicksearchresults small {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}
.quicksearchresults button {
  font-size: 11px;
  padding: 8px 10px;
  white-space: nowrap;
}
.quicksearchresults > p {
  font-size: 12px;
  padding: 12px;
  color: var(--muted);
}
.phonecontrols {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.phoneviewbuttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.phoneviewbuttons button {
  font-size: 12px;
  min-height: 40px;
  padding: 9px 13px;
}
.phoneviewbuttons button[aria-pressed="true"] {
  background: var(--brand-fill);
  border-color: var(--brand);
  color: white;
}
.phonecontrols > label {
  font-size: 11px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phonecontrols select {
  width: auto;
  min-width: 160px;
  font-size: 12px;
  padding: 9px;
}
.phonecompact .board,
.phonecompact .weekbar,
.phonecompact .mobileday,
.phonecompact > .note {
  display: none !important;
}
.phonelist > h2 {
  font-size: 21px;
  margin: 24px 0;
}
.phonepersonblock > h3 {
  font-size: 16px;
  margin: 24px 0 12px;
}
.phonejob {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-s);
  padding: 18px;
  margin: 12px 0;
}
.phonejobhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.phonejobhead > span {
  font-size: 13px;
  font-weight: 700;
}
.phonejobhead > small {
  font-size: 11px;
}
.phonejobopen {
  display: block;
  text-align: left;
  padding: 12px 0 5px;
  margin: 0;
  border: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1.5;
  box-shadow: none;
  transform: none !important;
}
.phonejob > p,
.phonejob details p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-wrap;
}
.phonejoblinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.phonejoblinks a {
  display: inline-block;
  text-decoration: none;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  min-height: 42px;
}
.phonejob details {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}
.phonejob summary {
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
}
.phonejob .phonewarning {
  padding: 10px 13px;
  background: #fff4df;
  border-radius: var(--r-s);
  color: #92713d;
}
.phoneempty {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  font-size: 13px;
  color: var(--muted);
}
#dryingoverview {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--tint);
  padding: 14px 16px;
}
#dryingoverview summary {
  font-size: 12px;
  color: #5f8b9f;
  cursor: pointer;
  font-weight: 600;
}
#dryingoverview button {
  display: block;
  text-align: left;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
}
#dryingoverview strong,
#dryingoverview small {
  display: block;
  font-size: 12px;
}
#dryingoverview small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}
#dryingoverview p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.dryingrow {
  display: contents;
}
.dryingname {
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--tint-2);
  padding: 12px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #588098;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.dryingname small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.5;
}
.dryingday {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 9px;
  color: #6a9ab3;
}
.dryingday.active {
  background: repeating-linear-gradient(
    135deg,
    var(--tint-2),
    var(--tint-2) 6px,
    var(--tint-2) 6px,
    var(--tint-2) 12px
  );
  font-weight: 600;
}
.dryingday.active.released {
  background: #edf6ef;
  color: #6b987b;
}
.weekprintdialog {
  width: min(1200px, 96vw);
  max-width: 1200px;
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
}
.printcontrols {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.printcontrols > label {
  font-size: 12px;
  margin: 0;
}
.printcontrols select {
  margin-top: 8px;
}
.printnote {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.weekprintpreview {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: auto;
  background: var(--surface);
  min-width: 0;
}
.printableweek {
  display: none;
}
.printweekhead {
  display: block;
  padding: 0 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.printweekhead:before {
  display: none !important;
}
.printweekhead h1 {
  font-size: 20px;
  margin: 0 0 8px;
}
.printweekhead p,
.printweekfooter {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.printweektable {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: fixed;
}
.printweektable th,
.printweektable td {
  border: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.printweektable thead th {
  background: var(--tint);
  text-align: left;
}
.printweektable tbody th {
  width: 100px;
  text-align: left;
}
.printweektable td article + article {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}
.printweektable strong,
.printweektable small {
  display: block;
  line-height: 1.5;
  font-size: 11px;
}
.printweektable small {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0;
}
.printweektable p {
  font-size: 10px;
  line-height: 1.6;
  margin: 6px 0;
  white-space: pre-wrap;
}
html[data-theme="dark"] #dryingoverview {
  border-color: #42647b;
}
html[data-theme="dark"] .dryingname {
  border-color: #49687e;
}
@media (max-width: 760px) {
  .quicksearch {
    max-width: none;
  }
  .quicksearchresults article {
    flex-wrap: wrap;
  }
  .quicksearchresults article > div {
    flex-basis: 100%;
  }
  .phonecontrols {
    align-items: stretch;
  }
  .phonecontrols > label {
    width: 100%;
    justify-content: space-between;
  }
  .phonecontrols select {
    flex: 1;
    max-width: 240px;
  }
  .phoneviewbuttons {
    width: 100%;
  }
  .phoneviewbuttons button {
    flex: 1;
  }
  .phonejob {
    padding: 16px;
  }
  .weekprintdialog {
    padding: 18px;
  }
  .weekprintpreview {
    padding: 12px;
  }
  .weekprintpreview .printweektable {
    min-width: 780px;
  }
  .printcontrols {
    display: block;
  }
  .printcontrols > label,
  .printcontrols > button {
    margin: 12px 0;
  }
  .phonelist > h2 {
    font-size: 19px;
  }
}
@page {
  size: A4 landscape;
  margin: 10mm;
}
@media print {
  html,
  html[data-theme="dark"],
  body {
    background: #fff !important;
    color: #111 !important;
    color-scheme: light !important;
  }
  body > * {
    display: none !important;
  }
  body > #printableweek {
    display: block !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  #printableweek * {
    color: var(--ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-color: var(--line-strong) !important;
  }
  #printableweek .printweekhead {
    display: block !important;
  }
  #printableweek .printweekhead h1 {
    font-size: 17pt !important;
  }
  #printableweek .printweektable {
    font-size: 9pt !important;
    width: 100% !important;
  }
  #printableweek .printweektable thead {
    display: table-header-group;
  }
  #printableweek .printweektable tr {
    break-inside: avoid;
  }
  #printableweek .printweektable :is(td, th) {
    padding: 7pt !important;
  }
  #printableweek .printweektable strong {
    font-size: 9pt !important;
  }
  #printableweek .printweektable :is(p, small) {
    font-size: 8pt !important;
  }
  dialog,
  dialog::backdrop {
    display: none !important;
  }
}
.v4projectheading {
  justify-content: flex-start;
}
.v4projectheading h2 {
  margin-right: auto;
}
.v4winebreak {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #e5d4dd;
  border-radius: var(--r-s);
  background: var(--brand-soft);
  font-size: 21px;
  text-decoration: none;
}
.v4winebreak:hover {
  background: var(--brand-soft);
}
.v4winebreak:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent);
  outline-offset: 3px;
}
html[data-theme="dark"] .v4winebreak {
  border-color: #78516a;
}
header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface) !important;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(
      90deg,
      var(--surface) 0%,
      var(--surface) 36%,
      rgba(255, 255, 255, 0.92) 48%,
      rgba(255, 255, 255, 0.3) 73%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    url("img/kopfbild.webp");
  background-size: cover, cover;
  background-position:
    center,
    right 38%;
  background-repeat: no-repeat;
}
header .badge {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}
@media (max-width: 720px) {
  header::before {
    opacity: 0.55;
    background-position:
      center,
      65% 38%;
    background-size:
      cover,
      auto 180%;
  }
  header .brandtext {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 5px;
  }
}
.themepaintswath {
  background: var(--paint-color);
}
/* Complete surface coverage: timing, team selection, hints and secondary dialogs. */
/* Preserve the original brand colours on a clean, neutral logo plate. */
/* Main navigation stays on the page canvas, with only a subtle divider. */
html[data-theme="dark"] .card[data-status="Erledigt"] .status {
  color: #b0d6c1;
}
html[data-theme="dark"] .donebutton {
  color: #b0d6c1;
}
html[data-theme="dark"] .daywarning {
  background: #44382a;
}
html[data-theme="dark"] .reportrow {
  background: #44382a;
}
html[data-theme="dark"] #timelinestatus {
  background: #44382a;
}
html[data-theme="dark"] .v2notice {
  background: #44382a;
}
html[data-theme="dark"] .sitesignal.extra {
  background: #44382a;
}
html[data-theme="dark"] .requestitem {
  background: #44382a;
}
html[data-theme="dark"] .extraworkbadge {
  background: #44382a;
}
html[data-theme="dark"] .reservecard.extra-work,
html[data-theme="dark"] .card.extra-work {
  background: #44382a;
}
html[data-theme="dark"] .opsbadge.notready,
html[data-theme="dark"] .opsbadge.waiting {
  background: #44382a;
}
html[data-theme="dark"] .planningdeadline {
  background: #402e39;
}
html[data-theme="dark"] .planningaccess {
  background: #44382a;
}
html[data-theme="dark"] .tomorrowalert {
  background: #44382a;
}
html[data-theme="dark"] #pageweek .tomorrowbutton:hover {
  background: #402e39;
}
html[data-theme="dark"] .catalognotice {
  background: #44382a;
}
html[data-theme="dark"] #devicecheck:not(:empty),
html[data-theme="dark"] #devcatalogstatus:not(:empty) {
  background: #44382a;
}
html[data-theme="dark"] #sitesavestatus {
  color: #b0d6c1;
}
html[data-theme="dark"] #sitesavestatus.error {
  background: #402e39;
}
html[data-theme="dark"] #cattreatarea {
  background: #44382a;
}
html[data-theme="dark"] #cattreatgive:hover {
  background: #44382a;
}
html[data-theme="dark"] .shiftpreview .shiftwarning {
  background: #402e39;
}
html[data-theme="dark"] .phonejob .phonewarning {
  background: #44382a;
}
html[data-theme="dark"] .dryingday.active.released {
  color: #b0d6c1;
}
html[data-theme="dark"] .v4winebreak:hover {
  background: #402e39;
}
.themecontrol {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 18px;
}
#themeswitch {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.themeswitchtrack {
  position: relative;
  width: 30px;
  height: 21px;
  border-radius: 4px;
  background: var(--tint-2);
  border: 1px solid var(--line-strong);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: inset 0 1px 3px #26384118;
}
.themeswitchrocker {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--surface);
  box-shadow: 0 1px 3px #26384133;
  transform: perspective(30px) rotateX(-16deg);
  border-top: 2px solid var(--line-strong);
}
.themeswitchrocker:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--line-strong);
}
html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="dark"] body > header::before {
  opacity: 0.13;
  background-image: none !important;
}
html[data-theme="dark"] .brandtext small {
  color: #d3a0a6;
}
html[data-theme="dark"] .companylogo {
  padding: 5px;
  border-radius: 7px;
}
html[data-theme="dark"] .badge {
  background: #30282e;
  color: #e6b5bc;
  border-color: #67434d;
}
html[data-theme="dark"] button:disabled {
  opacity: 0.55;
}
html[data-theme="dark"] :is(input, textarea)::placeholder {
  opacity: 1;
}
html[data-theme="dark"] a {
  color: #93cce2;
}
html[data-theme="dark"] .heading.today {
  background: #392b34;
}
html[data-theme="dark"] #pageweek .card.extra-work {
  border-left-color: #d4a45c;
}
html[data-theme="dark"] #pageweek .tomorrowbutton {
  background: #382c35;
  border-color: #65424e;
}
html[data-theme="dark"] .cell.overbooked {
  background: #3c3024 !important;
}
html[data-theme="dark"] .v4stockitem[aria-pressed="true"] {
  background: #392d35 !important;
}
html[data-theme="dark"] .v4timeentry.extra {
  background: #51412d;
  color: #f0d4a4;
}
html[data-theme="dark"]
  :is(
    .catalognotice,
    .planningdeadline,
    .planningaccess,
    .tomorrowalert,
    .daywarning,
    #devicecheck:not(:empty),
    #devcatalogstatus:not(:empty)
  ) {
  background: #3d3427;
  border-color: #6d593a;
  color: #e4cc9d;
}
html[data-theme="dark"] #pageorders .supplierlogo {
  border-radius: 8px;
  padding: 14px;
}
html[data-theme="dark"] .suppliertextname {
  color: #2f4554;
}
html[data-theme="dark"] .weekhelpbadge {
  background: #44313e;
}
html[data-theme="dark"] .themeswitchrocker {
  border-top: 0;
  border-bottom: 2px solid #96a9b5;
  transform: perspective(30px) rotateX(16deg);
}
html[data-theme="dark"] .themeswitchrocker:after {
  background: #f4d493;
  box-shadow: 0 0 5px #f3c56f;
}
@media (max-width: 650px) {
  #themeswitchlabel {
    display: none;
  }
  body > header {
    flex-wrap: wrap;
  }
  .themecontrol {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .themeswitchrocker {
    transition:
      transform 0.16s,
      background 0.16s;
  }
}
#themeswitch {
  position: relative;
  gap: 10px;
  background: linear-gradient(135deg, #fffaf7, var(--tint));
  border: 1px solid #e2d5dd;
  border-radius: var(--r-m);
  padding: 7px 13px 7px 9px;
  box-shadow: 0 3px 0 #eadfe5;
  color: #805565;
  font-size: 11px;
  letter-spacing: 0.1px;
}
#themeswitch:hover {
  background: var(--brand-soft);
  border-color: #cba7b5;
}
.themebrushicon {
  width: 29px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-18deg);
  transition: transform 0.2s;
}
.themebrushicon svg {
  width: 26px;
  height: 31px;
  display: block;
}
.themeswitchspark {
  color: #c895a7;
  font-size: 16px;
  margin-left: 3px;
}
#themeswitch:hover .themebrushicon {
  transform: rotate(6deg);
}
#themeswitch[aria-busy="true"] {
  cursor: progress;
}
.themepaintlayer {
  position: fixed;
  inset: 0;
  z-index: 20000;
  pointer-events: none;
  will-change: transform;
  transform: translateX(-115%);
}
.themepaintswath {
  position: absolute;
  inset: 0 -20px 0 0;
  background: var(--paint-color);
  clip-path: polygon(
    0 0,
    99% 0,
    100% 4%,
    98.5% 10%,
    100% 17%,
    99% 25%,
    100% 32%,
    98.5% 39%,
    100% 46%,
    99% 55%,
    100% 63%,
    98.7% 72%,
    100% 80%,
    99% 90%,
    100% 100%,
    0 100%
  );
}
.themepaintbrush {
  position: absolute;
  right: -68px;
  top: calc(50% - 85px);
  width: 165px;
  height: 160px;
  transform: rotate(90deg);
  filter: drop-shadow(0 5px 5px #0003);
}
.themepaintbrush svg {
  display: block;
  width: 100%;
  height: 100%;
}
html[data-theme="dark"] #themeswitch {
  background: linear-gradient(135deg, #34404e, #302d3c);
  border-color: #66546a;
}
html[data-theme="dark"] .themeswitchspark {
  color: #f4d49b;
}
html[data-theme="dark"] .themebrushicon {
  color: #e9e1cd;
}
@media (max-width: 650px) {
  #themeswitch {
    padding: 6px 10px;
  }
  .themebrushicon {
    width: 25px;
    height: 29px;
  }
  #themeswitch .themeswitchspark {
    display: none;
  }
  .themepaintbrush {
    width: 130px;
    height: 130px;
    right: -50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .themebrushicon {
    transition: none;
  }
  #themeswitch:hover .themebrushicon {
    transform: rotate(-18deg);
  }
}
/* Complete surface coverage: timing, team selection, hints and secondary dialogs. */
html[data-theme="dark"] :is(#timelinestatus, .selectionhint, .v2notice, .reserveheader > strong) {
  background: #43372a;
  border-color: #6c583b;
  color: #edcf9c;
}
html[data-theme="dark"] input[type="checkbox"] {
  color-scheme: dark;
}
html[data-theme="dark"] .adminpagenav a[aria-current="page"] {
  background: #47313d;
}
html[data-theme="dark"] .adminnavlinks a[aria-current="page"] {
  background: #48303b;
}
html[data-theme="dark"] .opsbadge.ready {
  background: #263f35;
  border-color: #496c59;
  color: #b3dfc2;
}
html[data-theme="dark"] :is(.opsbadge.notready, .opsbadge.waiting, .sitesignal.extra, .extraworkbadge) {
  background: #473a28;
  border-color: #7f6841;
  color: #efcf94;
}
html[data-theme="dark"] .opsbadge.outdoor {
  color: #b6d6ed;
}
html[data-theme="dark"] .sitesignal.risk {
  background: #4c2d37;
}
html[data-theme="dark"] .changebadge {
  color: #b2d8ee;
}
html[data-theme="dark"] :is(.hourstotal, .tomorrowindex) {
  background: #44303c;
}
html[data-theme="dark"] .hoursforecast.over {
  background: #4c2c36;
}
html[data-theme="dark"] .hoursforecast.within {
  background: #294034;
  color: #bcddc7;
}
html[data-theme="dark"] .materialrow button,
html[data-theme="dark"] .materialbasketrow button {
  background: #3c2f3b;
  border-color: #765367;
}
html[data-theme="dark"] #materialcopy {
  color: #e8d6df;
}
html[data-theme="dark"] input[type="file"]::file-selector-button {
  border-radius: 5px;
}
html[data-theme="dark"] #estimatedialog .estimateworkcard:has(.estimateworktoggle input:checked) {
  background: #382d38 !important;
}
html[data-theme="dark"] :is(.card .status, .card[data-status="Erledigt"] .status) {
  background: #344439;
  color: #bfe0c6;
}
html[data-theme="dark"] .cell.reserve-target {
  background: #352a33 !important;
}
html[data-theme="dark"] .cell.reserve-target .addslot {
  background: #49303b;
}
html[data-theme="dark"] .v4pizzabreak {
  background: #3c3428;
  border-color: #6c5c3e;
}
html[data-theme="dark"] .v4pizzabreak:hover {
  background: #4c402b;
}
html[data-theme="dark"] .reservegroup.active {
  background: #47313c !important;
}
html[data-theme="dark"] body > header .brandtext {
  background: transparent;
}
html[data-theme="dark"] .actions {
  background: transparent;
  border-color: transparent;
}
html[data-theme="dark"] #pageweek .top::before {
  opacity: 0.1;
}
html[data-theme="dark"] #pageorders .supplierlogo {
  background: #b9c2ca;
}
html[data-theme="dark"] .companylogo {
  background: #b9c2ca;
}
/* Preserve the original brand colours on a clean, neutral logo plate. */
html[data-theme="dark"] body > header .companylogo {
  background: #fff !important;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  padding: 7px;
  object-fit: contain;
  filter: none;
}
/* Main navigation stays on the page canvas, with only a subtle divider. */
html[data-theme="dark"] nav.pagesnav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
  border-radius: 0;
}
html.cloudlocked main {
  display: none !important;
}
html.cloudlocked dialog:not(#cloudlogin) {
  visibility: hidden;
}
html.cloudlocked #weektour {
  display: none !important;
}
.cloudlogin {
  width: min(460px, calc(100% - 32px));
  margin: 70px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 30px;
}
.cloudlogin h1 {
  font-size: 28px;
}
.cloudlogin p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.cloudlogin label {
  display: block;
  margin: 18px 0;
}
.cloudlogin input {
  margin-top: 8px;
}
.cloudlogin button {
  margin-top: 8px;
}
#cloudaccount {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 3vw;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
}
#cloudaccountname {
  margin-right: auto;
}
#cloudsavestatus {
  font-size: 12px;
  color: #42634e;
}
#cloudsavestatus[data-state="error"] {
  color: var(--brand);
}
#cloudsavestatus[data-state="pending"] {
  color: #9b742d;
}
#cloudaccount button {
  font-size: 11px;
  padding: 8px 12px;
}
html[data-theme="dark"] #cloudsavestatus {
  color: #b6dfc3;
}
html[data-theme="dark"] #cloudsavestatus[data-state="pending"] {
  color: #ecd09c;
}
.employee-mode #pageweek :is(.addslot, .actions #new, .actions #reset, .v2nav, .adminentry, .extrasbar) {
  display: none !important;
}
.employee-mode .adminnavgroup {
  display: none !important;
}

#cloudaccount[hidden],
#cloudlogin[hidden] {
  display: none !important;
}

.employee-mode #pageweek :is(#new, #reset, #planningundobar, #todayimportant) {
  display: none !important;
}
/* Knöpfe unter der Langfristplanung: gleicher Abstand wie die Knöpfe darüber */
.timelineactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
/* Knöpfe im Einsatz-Dialog mit Abstand */
.taskactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.taskactions:not(:has(button:not([hidden]))) {
  display: none;
}
/* Fußzeile im Einsatz-Dialog: Hinweis auf eigener Zeile, Knöpfe nebeneinander mit Abstand */
.dialogfoot {
  flex-wrap: wrap;
  align-items: center;
}
.dialogfoot > .sitedetailnote {
  order: -1;
  flex-basis: 100%;
  margin: 0;
  line-height: 1.6;
}
.dialogfoot > .sitedetailnote:empty {
  display: none;
}
.dialogfoot > .clockchoice {
  margin: 0;
  flex: 1 1 auto;
}
.dialogfoot > #delete {
  white-space: nowrap;
}
/* Zugänge */
.accessfields {
  grid-template-columns: 2fr 1fr 1fr auto;
}
.accessfields button {
  height: 44px;
  align-self: end;
}
#accessstatus:not(:empty) {
  font-size: 13px;
  line-height: 1.6;
  padding: 11px 14px;
  border-radius: var(--r-s);
  background: #edf7f0;
  color: #315b40;
  border: 1px solid #cadfce;
}
#accessstatus.error {
  background: var(--brand-soft);
  border-color: #e6b9b4;
  color: var(--brand);
}
.accessrow {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.accessrow > div {
  flex: 1;
  min-width: 200px;
  align-self: center;
}
.accessrow strong,
.accessrow small {
  display: block;
}
.accessrow small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.accessrow label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}
.accessrow select {
  height: 40px;
}
.accessrow.disabled strong {
  color: var(--muted);
  text-decoration: line-through;
}
html[data-theme="dark"] #accessstatus:not(:empty) {
  background: #293f34;
  border-color: #486d58;
  color: #c1e1cc;
}
html[data-theme="dark"] #accessstatus.error {
  background: #482d35;
}
@media (max-width: 760px) {
  .accessfields {
    grid-template-columns: 1fr;
  }
  .accessrow label {
    flex: 1 1 140px;
  }
}
#weektourbubble {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 16px 60px #0005;
}
#weektoursteps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
#weektoursteps button {
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 50%;
  font-size: 12px;
  background: var(--tint);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
}
#weektoursteps button[aria-current="step"] {
  background: var(--brand-fill);
  color: white;
  border-color: var(--brand);
}
#weektourbubble button:focus-visible {
  outline: 3px solid #009cdb;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  #weektourbubble {
    font-size: 14px;
  }
  #weektourbubble .weektourcat {
    max-height: 100px;
    width: 95px;
  }
}

/* The cat and paws sit outside the panel; only its contents scroll. */
#weektourbubble,
html[data-theme="dark"] #weektourbubble {
  padding: 0;
  overflow: visible;
  max-height: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  --paw: #22242a;
  --paw-line: #555660;
}
#weektourbubble .tourpanel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 24px;
  max-height: calc(100dvh - 132px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow: 0 18px 60px #0005;
}
#weektourbubble > .weektourcat {
  display: block !important;
  position: absolute;
  z-index: 0;
  top: -108px;
  right: 32px;
  width: 142px;
  height: 150px;
  max-height: none;
  pointer-events: none;
  transform: rotate(5deg);
  transform-origin: 50% 80%;
  filter: drop-shadow(0 4px 3px #0004);
}
#weektourbubble .weektourbubblehead {
  min-height: 0;
  padding: 0;
  align-items: center;
}
#weektourbubble .weektourbubblehead button {
  position: static;
}
#weektourbubble .tourpaws {
  position: absolute;
  z-index: 2;
  top: -9px;
  right: 57px;
  width: 94px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.tourpaws i {
  display: block;
  position: relative;
  width: 29px;
  height: 23px;
  border-radius: 45% 45% 48% 48%;
  background: var(--paw);
  box-shadow: 0 3px 3px #0003;
  border-bottom: 2px solid var(--paw-line);
  transform: rotate(5deg);
}
.tourpaws i:after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-left: 1px solid var(--paw-line);
  border-right: 1px solid var(--paw-line);
  border-radius: 0 0 3px 3px;
}
html[data-theme] #weektourbubble[data-cat="fluffy"] {
  --paw: #fff7eb;
  --paw-line: #d8b48b;
}
html[data-theme] #weektourbubble[data-cat="bluepoint"] {
  --paw: #969099;
  --paw-line: #6f6874;
}
html[data-theme] #weektourbubble[data-cat="bkh"] {
  --paw: #8e99a5;
  --paw-line: #616d7a;
}
html[data-theme] #weektourbubble[data-cat="patch"] {
  --paw: #fff8ef;
  --paw-line: #c9c3bc;
}
@media (max-width: 600px), (max-height: 600px) {
  #weektourbubble .tourpanel {
    padding: 16px 18px;
  }
  #weektourbubble > .weektourcat {
    width: 132px;
    height: 140px;
    top: -101px;
    right: 32px;
  }
  #weektourbubble .tourpaws {
    right: 56px;
    width: 86px;
  }
}

/* Mobile tour: stable bottom panel with room for the highlighted page above. */
@media (max-width: 600px) {
  #weektourbubble .tourpanel {
    height: min(370px, 45dvh);
    max-height: 48dvh;
    padding: 14px 16px 0;
    border-radius: var(--r-m);
    scroll-behavior: auto;
  }
  #weektourbubble > .weektourcat {
    width: 110px;
    height: 116px;
    top: -83px;
    right: 22px;
  }
  #weektourbubble .tourpaws {
    right: 42px;
    width: 72px;
    top: -7px;
  }
  #weektourbubble .tourpaws i {
    width: 27px;
    height: 22px;
  }
  #weektourbubble h2 {
    font-size: 19px;
    line-height: 1.25;
    margin: 10px 0;
  }
  #weektourbubble p {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
  }
  #weektourbubble .weekhelpactions {
    position: sticky;
    bottom: 0;
    margin-top: 14px;
    padding: 10px 0;
    background: var(--surface);
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  #weektourbubble .weekhelpactions button {
    min-height: 44px;
    flex: 1;
    padding: 10px 12px;
  }
  #weektoursteps {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 8px 0;
    gap: 4px;
    padding: 3px 0;
  }
  #weektoursteps button {
    flex: 0 0 28px;
  }
  #weektourclose {
    min-width: 44px;
    min-height: 44px;
  }
  #weekhelpdialog {
    width: calc(100% - 24px);
    max-height: 85dvh;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
  }
}
#materialmaildialog {
  width: min(760px, 94vw);
  max-height: 90dvh;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
#materialmaildialog label {
  display: block;
  margin: 14px 0;
  font-weight: 600;
}
#materialmaildialog input:not([type="checkbox"]),
#materialmaildialog textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 7px;
}
#materialmaildialog textarea {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}
.materialmailhead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.materialmailhead h2 {
  margin: 5px 0;
}
.materialmailhead small {
  color: var(--brand);
  letter-spacing: 1px;
}
.materialmailhead button {
  font-size: 24px;
}
.materialmailactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.materialmailactions a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--r-s);
  background: var(--brand-fill);
  color: #fff;
  font-weight: 600;
}
.materialmailactions a[aria-disabled="true"] {
  opacity: 0.5;
}
.materialmailhint,
#materialmailaddresshint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
#materialmaildialog .materialmailremember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.materialmailbutton {
  margin-top: 14px;
  width: 100%;
  color: var(--brand);
  border: 1px solid #d5b7ba;
}
.materialbasketgroup h4 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
#materialmailstatus {
  font-size: 13px;
  line-height: 1.6;
}
html[data-theme="dark"] .materialmailbutton {
  background: #392e38;
  border-color: #80545c;
}
#staffdialog {
  width: min(700px, 94vw);
  max-height: 88dvh;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.staffhead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.staffhead h2 {
  margin: 5px 0;
}
.staffhead small {
  color: var(--brand);
}
#staffform {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
#staffform label {
  flex: 1;
  min-width: 180px;
}
#staffname {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}
.staffrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.staffrow > div {
  flex: 1;
  min-width: 160px;
}
.staffrow strong,
.staffrow small {
  display: block;
}
.staffrow small,
.staffhint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.staffavatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: var(--r-s);
  font-weight: 700;
}
.staffrow button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.staffhint {
  margin-top: 22px;
}
html[data-theme="dark"] .staffavatar {
  background: #44313e;
}
.weeknav {
  flex-wrap: wrap;
}
.weekdatepick {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-left: 8px;
}
.weekdatepick input {
  width: 155px;
  box-sizing: border-box;
}
.longcalendarshortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.longcalendarshortcuts small {
  color: var(--muted);
}
@media (max-width: 600px) {
  .weekdatepick {
    margin-left: 0;
    width: 100%;
  }
}
#batchentry [hidden],
#taskhistorylabel[hidden] {
  display: none !important;
}
#batchentry {
  width: min(720px, 94vw);
  max-height: 90dvh;
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.batchfields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#batchentry label {
  display: block;
  margin: 10px 0;
}
#batchentry input:not([type="checkbox"]),
#batchentry select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}
#batchentry .batchcheck {
  display: flex;
  gap: 9px;
  align-items: center;
}
#batchweekdays {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
#batchweekdays[hidden],
#batchhours[hidden] {
  display: none;
}
#batchpreview {
  padding: 14px;
  background: var(--tint-2);
  border-radius: var(--r-s);
}
#batcherror {
  color: var(--brand);
}
.historybadge {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
}
.historybadge.actual {
  color: #277749;
}
html[data-theme="dark"] .historybadge.actual {
  color: #9ad8b0;
}
@media (max-width: 600px) {
  .batchfields {
    grid-template-columns: 1fr;
  }
}
#planningmoveopen {
  display: none !important;
}
#pagelong .projecttime {
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 7px 5px;
  border-left: 4px solid hsl(var(--project-hue) 55% 43%);
  background: hsl(var(--project-hue) 60% 94%);
  color: var(--ink);
  text-align: left;
}
#pagelong .projecttime strong {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  margin-bottom: 4px;
}
#pagelong .projecttime > span:not(.timelineworkicon) {
  display: block;
  font-size: 10px;
}
html[data-theme="dark"] #pagelong .projecttime {
  background: hsl(var(--project-hue) 24% 24%);
  border-color: hsl(var(--project-hue) 60% 68%);
}
#timelinestatus {
  position: sticky;
  top: 8px;
  z-index: 4;
}
#timelinestatus.budgetnegative {
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
  border: 2px solid var(--brand);
  font-weight: 700;
}
html[data-theme="dark"] #timelinestatus.budgetnegative {
  background: #492630 !important;
}

/* ==========================================================================
   Aufträge (Board, Karten, Detailansicht, Übernahme)
   ========================================================================== */
html.employee-mode .pagesnav .adminonly {
  display: none !important;
}

.jobspage {
  color: var(--ink);
}
.jobshead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.jobshead > div:first-child {
  max-width: 760px;
}
.jobshead small {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--brand);
  font-weight: 600;
}
.jobshead h1 {
  font-size: 28px;
  margin: 8px 0 6px;
}
.jobshead p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.jobsheadactions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.jobstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.jobstats > * {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px 18px;
  text-align: left;
  color: var(--ink);
  font: inherit;
}
.jobstats small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.jobstats strong {
  display: block;
  font-size: 32px;
  margin-top: 4px;
  line-height: 1.2;
}
.jobstats span {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  color: var(--muted);
}
.jobstats span.warn {
  color: var(--warn);
  font-weight: 600;
}
.jobstats button {
  cursor: pointer;
  border-color: var(--brand);
  background: var(--brand-soft);
}
.jobstats button small,
.jobstats button strong {
  color: var(--brand);
}
.jobstats button[aria-pressed="true"] {
  background: var(--brand);
}
.jobstats button[aria-pressed="true"] * {
  color: #fff;
}

.jobsfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.jobchips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.jobchips > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.jobchips button {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.jobchips button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}
.jobsearch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 1 1 240px;
  max-width: 380px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.jobsearch input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  background: var(--surface);
  color: var(--ink);
}

.jobboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 18px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 6px;
}
.jobcolumn {
  background: var(--tint);
  border-radius: var(--r-m);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.jobcolumnhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 0;
}
.jobcolumn h2 {
  margin: 0;
  font-size: 15px;
}
.jobcolumnhead span {
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.jobcolumn > p {
  margin: -4px 4px 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.jobempty {
  margin: 4px;
  font-size: 13px;
  color: var(--muted);
  list-style: none;
}

.jobcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 1px 2px rgba(20, 35, 45, 0.05);
}
.jobcardtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.jobcardtop small {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
}
.jobkind {
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-xs);
  padding: 3px 9px;
  white-space: nowrap;
}
.jobkind.water {
  color: var(--water);
  background: var(--water-soft);
}
.jobkind.painting {
  color: var(--paint);
  background: var(--paint-soft);
}
.jobcard h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.jobcard > p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jobcard > p small {
  font-size: 12px;
  color: var(--muted);
}
.jobflag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--r-xs);
  padding: 3px 8px;
  color: var(--warn);
  background: var(--warn-soft);
  border: 1px solid var(--warn-line);
}
.jobflag.over {
  color: var(--over);
  background: var(--over-soft);
  border-color: var(--over);
}
.jobflags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.jobdrybar > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
}
.jobtrack {
  display: block;
  height: 8px;
  background: var(--track);
  border-radius: var(--r-pill);
  margin-top: 5px;
  overflow: hidden;
}
.jobtrack > span {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--water);
}
.jobdrybar.warn .jobtrack > span {
  background: #d98a1e;
}
.jobdrybar.over .jobtrack > span {
  background: var(--over);
}
.jobdrybar.ok .jobtrack > span {
  background: var(--ok);
}
.jobnextbox {
  background: var(--tint);
  border-radius: var(--r-s);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.jobnextbox small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.jobnextbox span {
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jobnextbox em {
  font-style: normal;
  font-size: 12px;
  color: var(--warn);
  font-weight: 600;
}
.jobcardfoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.jobcardfoot:empty {
  display: none;
}
.jobcardfoot small {
  font-size: 12px;
  color: var(--muted);
}
.jobwait {
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  background: var(--tint);
  color: var(--ink);
}
.jobwait.ich {
  background: var(--brand-soft);
  color: var(--brand);
}
.jobwait.versicherer {
  background: var(--water-soft);
  color: var(--water);
}
.jobwait.hv,
.jobwait.kunde {
  background: var(--paint-soft);
  color: var(--paint);
}
.jobcardactions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.jobcardactions button {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.jobcardactions button:first-child {
  border-color: var(--ink);
}

.jobsarchive {
  margin: 18px 4px 0;
}
.jobsarchive button {
  border: 0;
  background: none;
  padding: 6px 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.jobarchive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.jobarchive button {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.jobarchive small {
  font-size: 12px;
  color: var(--muted);
}

/* Detailansicht */
.jobdialog {
  width: min(980px, 96vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  color: var(--ink);
}
.jobdialog form {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}
.jobdialoghead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px 14px;
  border-bottom: 1px solid var(--line);
}
.jobdialoghead small {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--brand);
  font-weight: 600;
}
.jobdialoghead h2 {
  margin: 6px 0 4px;
  font-size: 22px;
  overflow-wrap: anywhere;
}
.jobdialoghead p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.jobclose {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.jobdialogbody {
  overflow-y: auto;
  padding: 18px 26px;
  display: grid;
  gap: 16px;
}
.jobpanel {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px 18px;
}
.jobpanel h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.jobpanel h3:not(:first-child) {
  margin-top: 18px;
}
.jobnext {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.jobgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}
.jobgrid label,
.jobfile,
.jobpaste {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.jobgrid .jobwide {
  grid-column: span 2;
}
.jobgrid input,
.jobgrid select,
.jobgrid textarea,
.jobnoteadd input,
.jobpaste textarea,
.jobhours input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  background: var(--surface);
  color: var(--ink);
}
.jobgrid textarea,
.jobpaste textarea {
  resize: vertical;
}
.jobmeteruse {
  align-self: end;
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 10px;
}
.jobhint {
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.jobdue {
  margin: -4px 0 12px;
  font-size: 13px;
  font-weight: 600;
}
.jobdue.late {
  color: var(--warn);
}
.jobsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.jobsteps li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}
.jobsteps li > label:first-of-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
}
.jobsteps input[type="date"] {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  background: var(--surface);
  color: var(--ink);
}
.jobstepdot {
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  box-sizing: border-box;
  margin-bottom: 10px;
}
.jobsteps li.done .jobstepdot {
  background: var(--ok);
  border-color: var(--ok);
}
.jobsteps li.now .jobstepdot {
  background: var(--water);
  border-color: var(--water);
}
.jobsteps li.now > label:first-of-type {
  color: var(--water);
}
.jobsteps li.skipped {
  opacity: 0.55;
}
.jobskip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 10px;
}
.jobdrymeter {
  margin-bottom: 12px;
}
.jobdrymeter p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.jobnotes {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.jobnotes li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}
.jobnotes li small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.jobnotes li button {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.jobnoteadd {
  display: flex;
  gap: 10px;
}
.jobnoteadd button,
.jobbuttons button {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-s);
  font-weight: 600;
}
.jobhours {
  overflow-x: auto;
}
.jobhours table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.jobhours th {
  text-align: left;
  font-size: 11.5px;
  color: var(--muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}
.jobhours td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.jobhours td:last-child,
.jobhours th:last-child {
  width: 90px;
  text-align: right;
}
.jobhours td input {
  min-height: 34px;
  text-align: right;
  padding: 4px 8px;
}
.jobhours > p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.jobhoursum {
  font-size: 13.5px;
  font-weight: 600;
  margin: 10px 0 12px;
}
.jobhoursum:empty {
  display: none;
}
.jobbuttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.jobdialogfoot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 26px;
  border-top: 1px solid var(--line);
}
.jobdialogfoot p {
  margin: 0 auto 0 0;
  font-size: 13px;
  color: var(--brand);
}
.jobdialogfoot button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--r-s);
  font-weight: 600;
}

/* Übernahme */
.jobimportdialog {
  width: min(760px, 96vw);
}
.jobimportdialog .jobdialogbody {
  gap: 12px;
}
.jobimportlist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.jobimportlist li label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.jobimportlist li input {
  margin-top: 3px;
}
.jobimportlist li span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.jobimportlist li small {
  color: var(--muted);
  font-size: 12px;
}
.jobimportlist li em {
  font-style: normal;
  color: var(--warn);
  font-size: 12px;
}
.jobimportsummary {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}
#jobimportstatus {
  margin: 0;
  font-size: 13px;
  color: var(--brand);
}
#jobimportstatus:empty {
  display: none;
}

@media (max-width: 1100px) {
  .jobboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
}
@media (max-width: 700px) {
  .jobboard,
  .jobgrid,
  .jobsteps {
    grid-template-columns: 1fr;
  }
  .jobgrid .jobwide {
    grid-column: auto;
  }
  .jobsearch {
    margin-left: 0;
    max-width: none;
  }
  .jobdialoghead,
  .jobdialogbody,
  .jobdialogfoot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .jobdialogfoot button {
    flex: 1 1 auto;
  }
  .jobnoteadd {
    flex-direction: column;
  }
}

.jobfieldhint {
  font-weight: 400;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ==========================================================================
   3. Gestaltung 2026
   Ruhige Flächen, große Überschriften, Knöpfe in Pillenform.
   Bewegung nur als Antwort auf einen Klick: Knopf gibt nach, Reiter gleitet, Fenster öffnet weich.
   ========================================================================== */

/* ---------- Seite und Kopf ---------- */
:root,
body {
  background: var(--page);
}
body > header {
  background: var(--surface) !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px max(3vw, 16px);
}
header::before {
  background-image:
    linear-gradient(
      90deg,
      var(--surface) 0%,
      var(--surface) 42%,
      color-mix(in srgb, var(--surface) 70%, transparent) 62%,
      color-mix(in srgb, var(--surface) 15%, transparent) 100%
    ),
    url("img/kopfbild.webp");
  opacity: 0.9;
}
html[data-theme="dark"] header::before {
  opacity: 0.55;
}
.companylogo {
  width: 150px;
  height: 72px;
}
.brandtext {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left-color: var(--line);
}
.brandtext small {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}
header .badge {
  border-radius: var(--r-pill);
  border: 0;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--muted);
  font-size: 12.5px;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}
#themeswitch {
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1);
  color: var(--ink);
}
#cloudaccount {
  background: transparent;
  border: 0;
  padding: 12px max(3vw, 16px) 0;
  color: var(--muted);
  font-size: 12.5px;
}
#cloudaccount button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
}
#cloudaccount button:hover {
  background: var(--tint);
  color: var(--ink);
}
#cloudsavestatus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
#cloudsavestatus::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
main {
  padding-top: 18px;
}

/* ---------- Knöpfe ---------- */
button {
  border: 1px solid transparent;
  background: var(--tint);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--r-pill);
  transition:
    background-color var(--t-fast) ease,
    color var(--t-fast) ease,
    border-color var(--t-fast) ease,
    box-shadow var(--t-mid) var(--ease-out),
    transform var(--t-mid) var(--ease-spring);
}
button:hover {
  background: var(--tint-2);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary,
button.primary {
  background: var(--brand-fill);
  border-color: var(--brand-fill);
  color: var(--on-brand);
  border-radius: var(--r-pill);
  font-weight: 600;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand-fill) 70%, transparent);
}
.primary:hover,
button.primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}
html[data-theme="dark"] .primary:hover {
  background: #d65461;
  border-color: #d65461;
}

/* ---------- Links ---------- */
main .apppage a:not([class]),
dialog a:not([class]) {
  color: var(--brand);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Symbole in Knöpfen ---------- */
[data-ic]::before,
[data-ic-end]::after,
.navchevron {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
  vertical-align: -0.22em;
}
[data-ic]::before {
  margin-right: 0.5em;
}
[data-ic-end]::after {
  -webkit-mask: var(--ic-end) center / contain no-repeat;
  mask: var(--ic-end) center / contain no-repeat;
  margin-left: 0.45em;
  transition: transform var(--t-mid) var(--ease-spring);
}
[data-ic-end="arrow-right"]:hover::after,
[data-ic-end="chevron-right"]:hover::after {
  transform: translateX(3px);
}
[data-ic-end="arrow-up-right"]:hover::after {
  transform: translate(2px, -2px);
}
[data-ic]:empty::before {
  margin: 0;
}
/* reine Symbol-Knöpfe: rund und mittig */
button[data-ic]:empty,
#prev,
#next {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border-radius: 50%;
}
button[data-ic="x"]:empty::before {
  width: 1.15em;
  height: 1.15em;
}
.adminhelpbutton span[aria-hidden],
#weekhelpopen span[aria-hidden] {
  display: none;
}
.navchevron {
  width: 1em;
  height: 1em;
  margin-left: 0.25em;
}
.jobkind[data-ic]::before,
.jobflag[data-ic]::before,
.stockworkkind[data-ic]::before {
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.35em;
  vertical-align: -0.2em;
}
.workkindbadge[data-ic],
.timelineworkicon[data-ic] {
  display: inline-grid;
  place-items: center;
  font-size: 13px;
}
.workkindbadge[data-ic]::before,
.timelineworkicon[data-ic]::before {
  margin: 0;
  width: 1.15em;
  height: 1.15em;
}
.workkindbadge[data-ic="droplet"],
.timelineworkicon[data-ic="droplet"],
.stockworkkind[data-ic="droplet"]::before {
  color: var(--water);
}
.workkindbadge[data-ic="paintbrush"],
.timelineworkicon[data-ic="paintbrush"],
.stockworkkind[data-ic="paintbrush"]::before {
  color: var(--brand);
}
.adminnavlinks a[data-ic]::before {
  color: var(--muted);
  margin-right: 0.65em;
}
.adminnavlinks a[data-ic]:hover::before,
.adminnavlinks a[data-ic][aria-current="page"]::before {
  color: var(--brand);
}

/* ---------- Knöpfe mit etwas Tiefe ---------- */
button:not(.card):not(.jobcard):not([class*="v4stock"]):not(.siteoverview):not(.phonejobopen),
.supplierbutton {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 1px rgba(23, 51, 46, 0.04);
}
html[data-theme="dark"]
  button:not(.card):not(.jobcard):not([class*="v4stock"]):not(.siteoverview):not(.phonejobopen) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.primary,
button.primary {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 20px -10px color-mix(in srgb, var(--brand-fill) 85%, transparent),
    0 2px 4px -2px color-mix(in srgb, var(--brand-fill) 60%, transparent) !important;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .primary:not(:disabled):hover,
  button.primary:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 14px 26px -12px color-mix(in srgb, var(--brand-fill) 90%, transparent),
      0 3px 6px -3px color-mix(in srgb, var(--brand-fill) 60%, transparent) !important;
  }
}

/* ---------- Felder ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
select,
textarea {
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background-color: var(--surface);
  color: var(--ink);
  transition:
    border-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}
input:not([type="checkbox"]):not([type="radio"]):hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent);
}
input::placeholder,
textarea::placeholder {
  color: var(--faint);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--brand-fill);
}
input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--tint-2);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Hauptnavigation: Reiter mit gleitendem Schieber ---------- */
.pagesnav {
  position: relative;
  border: 0;
  padding: 0 0 22px;
  margin: 0 0 20px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.pagesegment {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--tint);
  isolation: isolate;
}
.pagesegment .pagethumb {
  position: absolute;
  z-index: -1;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  transition:
    transform var(--t-slow) var(--ease-spring),
    width var(--t-slow) var(--ease-spring),
    opacity var(--t-fast) ease;
  opacity: 0;
}
.pagesegment.ready .pagethumb {
  opacity: 1;
}
.pagesnav .pagesegment a,
.pagesnav .pagesegment a[aria-current="page"] {
  position: relative;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  background: transparent;
  transition: color var(--t-mid) ease;
}
.pagesnav .pagesegment a[aria-current="page"] {
  color: var(--ink);
}
.pagesnav .pagesegment a:hover {
  color: var(--ink);
}
.pagesegment:not(.ready) a[aria-current="page"] {
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.pagesnav #adminnavtoggle,
.pagesnav #adminnavtoggle[aria-expanded="true"],
.pagesnav #adminnavtoggle.active {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.pagesnav #adminnavtoggle.active {
  border-color: var(--ink);
}
.pagesnav #adminnavtoggle span {
  display: inline-block;
  transition: transform var(--t-mid) var(--ease-spring);
}
.pagesnav #adminnavtoggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}
.adminnavlinks {
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-3);
  padding: 8px;
  transform-origin: top right;
}
.adminnavlinks:not([hidden]) {
  animation: menuIn var(--t-mid) var(--ease-spring);
}
.adminnavlinks a {
  border-radius: var(--r-s);
  color: var(--ink);
  font-weight: 600;
}
.adminnavlinks a:hover,
.adminnavlinks a[aria-current="page"] {
  background: var(--tint);
  color: var(--ink);
}
html[data-theme="dark"] .adminnavlinks a {
  color: var(--ink);
}
@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
}

/* ---------- Schnellsuche und Heute wichtig ---------- */
.quicksearch > label {
  color: var(--muted);
  font-weight: 600;
}
.quicksearch input {
  border-radius: var(--r-pill) !important;
  padding-left: 46px !important;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23879891' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")
    no-repeat 17px center / 18px;
}
.quicksearchresults {
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-3);
  animation: menuIn var(--t-mid) var(--ease-spring);
}
#quicksearchclear {
  border-radius: 50%;
}
.todayimportant {
  border-radius: var(--r-m);
  border-color: var(--line);
  padding: 14px 18px;
}
.todayimportant summary {
  color: var(--warn);
}
.todaycards button {
  border-radius: var(--r-s);
  border: 1px solid var(--warn-line);
  border-left: 4px solid var(--warn);
  background: var(--warn-soft);
  color: var(--ink);
}

/* ---------- Seitenköpfe: große Überschrift mit gemaltem Strich ---------- */
#pageweek .top {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
}
.planning-title h1,
.jobshead h1,
.hoursintro h1,
.ordersintro h1,
#pageadmin > h1,
#pagereports > h1 {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
  margin: 6px 0 14px;
  padding-bottom: 6px;
}
/* der Pinselstrich: eine Malerin malt den Titel an */
.planning-title h1::after,
.jobshead h1::after,
.hoursintro h1::after,
.ordersintro h1::after,
#pageadmin > h1::after,
#pagereports > h1::after {
  content: "";
  position: absolute;
  left: -4px;
  right: 18%;
  bottom: -4px;
  height: 14px;
  z-index: -1;
  background: var(--brand-fill);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4 90 3.2 150 4.6s105 3.6 147 1.4c1.4 2.6.6 5-1.6 6.2C250 13.4 190 11 140 11.2S50 13.6 6 12.6C2.4 12.2.8 10.6 2 8.5Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4 90 3.2 150 4.6s105 3.6 147 1.4c1.4 2.6.6 5-1.6 6.2C250 13.4 190 11 140 11.2S50 13.6 6 12.6C2.4 12.2.8 10.6 2 8.5Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  transform-origin: left center;
}
.apppage:not([hidden]) :is(.planning-title h1, .jobshead h1, .hoursintro h1, .ordersintro h1)::after,
#pageadmin:not([hidden]) > h1::after,
#pagereports:not([hidden]) > h1::after {
  animation: brushIn 720ms var(--ease-out) 120ms backwards;
}
@keyframes brushIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  30% {
    opacity: 0.85;
  }
}
.planning-title h1,
.jobshead h1 {
  isolation: isolate;
}
.planning-title .sub,
.pageintro,
.jobshead p,
.hoursintro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
/* doppelte Kopfzeilen über den Überschriften entfallen */
.jobshead > div > small,
.hoursintro > small,
.ordersintro > small {
  display: none;
}
.hoursintro h1,
.ordersintro h1,
#pageadmin > h1,
#pagereports > h1 {
  isolation: isolate;
}

/* ---------- kleine Überschriften über Fenstern und Bereichen: normale Schreibweise ---------- */
:is(
  .reserveeyebrow,
  .adminheader small,
  .tomorrowheader > div > small,
  .tomorrowpack small,
  .materialsectionhead small,
  .siteuploadheading small,
  #weekhelpwelcome > small,
  .quicksitehead small,
  .materialmailhead small,
  .staffhead small,
  .jobdialoghead small,
  .jobstats small,
  .jobnextbox small
) {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
}
:is(
  .adminheader small,
  .tomorrowheader > div > small,
  .siteuploadheading small,
  .quicksitehead small,
  .materialmailhead small,
  .staffhead small,
  .jobdialoghead small,
  .materialsectionhead small,
  .reserveeyebrow,
  #weekhelpwelcome > small
) {
  color: var(--brand);
}
.jobstats strong {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.jobstats > * {
  border-radius: var(--r-m);
}
.jobcolumn {
  border-radius: var(--r-l);
}
.jobcolumnhead h2,
.jobcard h3 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}
.jobcard {
  border-radius: var(--r-m);
  border-color: transparent;
  box-shadow: var(--shadow-1);
}
.jobcard:hover {
  box-shadow: var(--shadow-2);
}
.jobsfilter {
  border-radius: var(--r-l);
}

/* ---------- Anmeldung ---------- */
.cloudlogin {
  border: 0;
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  padding: 44px 40px 40px;
}
.cloudlogin h1 {
  position: relative;
  isolation: isolate;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.cloudlogin h1::after {
  content: "";
  position: absolute;
  left: -4px;
  right: 22%;
  bottom: -5px;
  height: 12px;
  z-index: -1;
  background: var(--brand-fill);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4 90 3.2 150 4.6s105 3.6 147 1.4c1.4 2.6.6 5-1.6 6.2C250 13.4 190 11 140 11.2S50 13.6 6 12.6C2.4 12.2.8 10.6 2 8.5Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4 90 3.2 150 4.6s105 3.6 147 1.4c1.4 2.6.6 5-1.6 6.2C250 13.4 190 11 140 11.2S50 13.6 6 12.6C2.4 12.2.8 10.6 2 8.5Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
}
.cloudlogin p {
  color: var(--muted);
}
.cloudlogin input {
  min-height: 48px;
}
.cloudlogin .primary {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
  margin-top: 8px;
}

/* ---------- Wochentafel ---------- */
.weekbar {
  background: var(--deep) !important;
  color: var(--on-deep);
  border-radius: var(--r-l);
  padding: 16px 20px;
  margin-bottom: 14px;
}
html[data-theme="dark"] .weekbar {
  border: 1px solid var(--line);
}
.weeknav strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.weeknav button {
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--on-deep);
}
.weeknav button:hover {
  background: rgba(255, 255, 255, 0.16);
}
.weekdatepick input {
  border-radius: var(--r-pill) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: var(--on-deep) !important;
  color-scheme: dark;
}
.legend {
  color: color-mix(in srgb, var(--on-deep) 80%, transparent);
}
.legend span:before {
  border-radius: 50%;
}
.board {
  background: var(--surface);
  border: 1px solid var(--line) !important;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-1);
}
.planviewbar {
  background: transparent;
  border: 0;
  padding: 0 0 12px;
}
.extrasbar button {
  border-radius: var(--r-pill);
}
.heading {
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-text);
  font-weight: 600;
}
.heading small {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.heading.today {
  background: var(--brand-soft) !important;
  color: var(--brand);
  box-shadow: inset 0 3px var(--brand-fill);
}
.heading.today small {
  color: var(--brand);
}
.person {
  background: var(--surface);
}
.person strong {
  color: var(--ink);
}
.avatar {
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--ink-2);
  font-family: var(--font-display);
}
.cell {
  background: var(--surface);
  border-color: var(--line);
}
.cell.overbooked {
  background: var(--warn-soft) !important;
}
#pageweek .card,
.card {
  border-radius: var(--r-s);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--surface));
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
#pageweek .card {
  background: var(--surface) !important;
  border-left-color: var(--accent);
}
html[data-theme="dark"] .card {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)) !important;
  border-color: color-mix(in srgb, var(--accent) 30%, var(--surface));
  border-left-color: var(--accent);
}
.card:hover {
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.card strong {
  font-weight: 600;
  color: var(--ink);
}
.card small,
.site-label {
  color: var(--muted);
}
.card .status {
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  color: var(--ink-2);
}
.addslot {
  border-radius: var(--r-s);
  border-color: var(--line-strong);
  color: var(--muted);
  background: transparent;
}
.tomorrowbutton {
  border-radius: var(--r-pill) !important;
}

/* ---------- Flächen und Abschnitte ---------- */
:is(
  #pagelong,
  #admincreatepage,
  #adminmanagepage,
  #admingeneralpage,
  #pagehours,
  .reportcolumns > section,
  .reserve,
  .capacity,
  .devicepanel,
  .materialbasket,
  .suppliercard,
  .planningnotes,
  .v4stock,
  .v4adminlist,
  .v4reportgroup
) {
  border-radius: var(--r-l);
  border-color: var(--line);
  background: var(--surface);
}
.capacitytrack {
  background: var(--track);
  border-radius: var(--r-pill);
}
.capacitytrack i {
  border-radius: var(--r-pill);
}
.adminhelpbutton {
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand);
}

/* ---------- Fenster: öffnen und schließen mit weichem Federweg ---------- */
dialog {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-3);
}
dialog::backdrop {
  background: color-mix(in srgb, var(--deep) 45%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
dialog h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] {
    animation: sheetIn var(--t-slow) var(--ease-spring);
  }
  dialog[open]::backdrop {
    animation: fadeIn var(--t-mid) ease;
  }
}
@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.965);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

/* ---------- Bewegung als Antwort auf einen Klick ---------- */
@media (prefers-reduced-motion: no-preference) {
  :where(button, .supplierbutton, .pagesnav a, .adminnavlinks a):active:not(:disabled) {
    transform: scale(0.96);
    transition-duration: 80ms;
  }
  :where(.card, .jobcard):active {
    transform: scale(0.985);
  }
  .apppage.pagein {
    animation: pageIn var(--t-slow) var(--ease-out);
  }
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    transition-duration: 1ms !important;
  }
}

/* Katzen-Führung: Schrittknöpfe mit Luft */
#weektoursteps {
  gap: 6px;
}
#weektourbubble {
  border-radius: var(--r-l);
}

@media (max-width: 480px) {
  #cloudaccountname {
    display: none;
  }
  #cloudaccount {
    gap: 2px 4px;
    font-size: 12px;
  }
  #cloudaccount button {
    font-size: 12px;
    padding: 6px 7px;
    white-space: nowrap;
  }
  #cloudsavestatus {
    flex-basis: 100%;
    white-space: nowrap;
    margin-bottom: 2px;
  }
  #cloudaccount button:first-of-type {
    margin-left: -7px;
  }
  .brandtext small {
    display: none;
  }
  .companylogo {
    width: 100px;
    height: 50px;
  }
  html[data-theme="dark"] body > header .companylogo {
    width: 104px;
    height: 52px;
    padding: 5px;
  }
}
/* ---------- Handy ---------- */
@media (max-width: 720px) {
  header .badge {
    display: none;
  }
  body > header {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .brand,
  .brandtext {
    min-width: 0;
  }
  header::before {
    opacity: 0.35;
  }
  .themecontrol {
    margin-left: auto;
  }
  #cloudaccount {
    justify-content: flex-start;
  }
  #cloudaccount button {
    padding: 6px 8px;
  }
  .weeknav {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  header .brandtext {
    background: transparent;
    padding-left: 14px;
  }
  .brand {
    gap: 14px;
  }
  #cloudaccount {
    gap: 4px 10px;
  }
  #cloudaccountname {
    width: 100%;
  }
  .companylogo {
    width: 112px;
    height: 56px;
  }
  .brandtext {
    font-size: 17px;
  }
  .brandtext small {
    font-size: 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .pagesnav .pagesegment a,
  .pagesnav .pagesegment a[aria-current="page"],
  .pagesnav #adminnavtoggle {
    padding: 9px 14px;
    font-size: 14px;
  }
  .weekbar {
    border-radius: var(--r-m) var(--r-m) 0 0;
  }
  .board {
    border-radius: 0 0 var(--r-m) var(--r-m);
  }
}

/* ==========================================================================
   Kopf mit Foto
   Links ruhige Fläche mit großem Seitentitel, rechts ein randloses Foto von maler-wh.de.
   Der Titel ragt ins Foto hinein. Bei jedem Seitenwechsel blenden Titel und Foto neu ein.
   ========================================================================== */
body > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "brand badge theme"
    "hero hero hero";
  align-items: center;
  column-gap: 10px;
  --hero-fs: min(clamp(56px, 7.8vw, 150px), calc((100vw - 2 * max(3vw, 16px)) / var(--title-w, 6)));
  /* gleiche linke Kante wie der Inhalt darunter (der ist höchstens 1700px breit) */
  --pad: calc(max(0px, (100% - 1700px) / 2) + max(3vw, 16px));
  min-height: clamp(250px, 21vw, 340px);
  padding: 18px var(--pad) 26px;
  border: 0 !important;
  background: var(--page) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* das alte Kopfbild entfällt */
body > header::before,
#pageweek .top::before {
  content: none !important;
}
body > header .brand {
  grid-area: brand;
  position: relative;
  z-index: 1;
  min-width: 0;
}
body > header .badge {
  grid-area: badge;
  position: relative;
  z-index: 1;
}
body > header .themecontrol {
  grid-area: theme;
  position: relative;
  z-index: 1;
}
html:not(.cloudlocked) body > header .badge {
  display: none;
}
html[data-theme="dark"] body > header .badge {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border-color: color-mix(in srgb, var(--line) 70%, transparent);
  color: var(--ink-2);
}
body > header .badge,
body > header #themeswitch {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--surface) 60%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 6px 20px -8px rgba(10, 30, 26, 0.35);
}
.hero {
  grid-area: hero;
  align-self: end;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-top: 26px;
}
.herotitle {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 0;
  padding-bottom: 0.06em;
  font-family: var(--font-display);
  /* feste Anzeige-Variante der Schrift, damit die Breite in jeder Größe gleich bleibt */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 96;
  font-weight: 760;
  font-size: var(--hero-fs);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--ink);
  white-space: nowrap;
}
/* der Pinselstrich unter dem Titel */
.herotitle::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: 28%;
  bottom: -0.04em;
  height: 0.14em;
  z-index: -1;
  background: var(--brand-fill);
  opacity: 0.88;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4 90 3.2 150 4.6s105 3.6 147 1.4c1.4 2.6.6 5-1.6 6.2C250 13.4 190 11 140 11.2S50 13.6 6 12.6C2.4 12.2.8 10.6 2 8.5Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4 90 3.2 150 4.6s105 3.6 147 1.4c1.4 2.6.6 5-1.6 6.2C250 13.4 190 11 140 11.2S50 13.6 6 12.6C2.4 12.2.8 10.6 2 8.5Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  transform-origin: left center;
}
.herosub {
  margin: 14px 0 0;
  max-width: min(46ch, calc(42vw - max(3vw, 16px) - 24px));
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.herophoto {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* das Foto beginnt kurz vor dem Ende des Titels, so ragt der Titel immer ein Stück hinein */
  left: clamp(max(42%, 480px), calc(var(--pad) + (var(--title-w, 6) - 1.2) * var(--hero-fs)), 58%);
  z-index: 0;
  background-color: var(--tint);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--photo-pos, 50% 50%);
}
html[data-theme="dark"] .herophoto {
  filter: brightness(0.72) saturate(0.9);
}
/* heller Schleier, so weit der Titel ins Foto ragt */
.herophoto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--page) 84%, transparent) 0,
    color-mix(in srgb, var(--page) 62%, transparent) var(--veil, 0px),
    color-mix(in srgb, var(--page) 0%, transparent) calc(var(--veil, 0px) + 26%)
  );
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.heroover .herophoto::before {
  opacity: 1;
}
.herophoto[data-photo="leiter"] {
  background-image: url("img/fotos/leiter-l.webp");
  --photo-pos: 30% 50%;
}
.herophoto[data-photo="fachwerk"] {
  background-image: url("img/fotos/fachwerk-l.webp");
  --photo-pos: 50% 34%;
}
.herophoto[data-photo="wohnhaus"] {
  background-image: url("img/fotos/wohnhaus-l.webp");
  --photo-pos: 50% 40%;
}
.herophoto[data-photo="geruest"] {
  background-image: url("img/fotos/geruest-l.webp");
  --photo-pos: 50% 45%;
}
.herophoto[data-photo="fassade"] {
  background-image: url("img/fotos/fassade-l.webp");
  --photo-pos: 50% 40%;
}
.herophoto[data-photo="pinsel"] {
  background-image: url("img/fotos/pinsel-l.webp");
  --photo-pos: 60% 50%;
}
.herophoto[data-photo="wand"] {
  background-image: url("img/fotos/wand-l.webp");
  --photo-pos: 50% 45%;
}
.herophoto[data-photo="decke"] {
  background-image: url("img/fotos/decke-l.webp");
  --photo-pos: 50% 40%;
}
.herophoto[data-photo="dachgeschoss"] {
  background-image: url("img/fotos/dachgeschoss-l.webp");
  --photo-pos: 50% 40%;
}
.herophoto[data-photo="stuck"] {
  background-image: url("img/fotos/stuck-l.webp");
  --photo-pos: 50% 30%;
}
/* Einblenden bei jedem Seitenwechsel */
.heroin .herophoto {
  animation: heroPhotoIn 1000ms var(--ease-out) both;
}
.heroin .herotitle {
  animation: heroRise 760ms var(--ease-out) 60ms both;
}
.heroin .herosub {
  animation: heroRise 760ms var(--ease-out) 160ms both;
}
.heroin .herotitle::after {
  animation: brushIn 820ms var(--ease-out) 320ms backwards;
}
@keyframes heroPhotoIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
}

/* die Seitentitel stehen jetzt groß im Kopf; auf der Seite bleiben sie nur für Vorleseprogramme */
:is(
  .planning-title h1,
  .planning-title .sub,
  .jobshead h1,
  .hoursintro h1,
  .ordersintro h1,
  #pageadmin > h1,
  #pagereports > h1,
  #pagehours > h1
) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Konto (Speicherstand, neu laden, abmelden) sitzt mit in der Navigationszeile */
.pagesnav #cloudaccount {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  white-space: nowrap;
}
.pagesnav #cloudaccountname {
  margin-right: 12px;
}
.pagesnav > .adminnavgroup {
  margin-left: 8px;
}
@media (max-width: 1240px) {
  .pagesnav #cloudaccountname {
    display: none;
  }
}

/* Wochenplan: Drucken und Hilfe stehen in einer Zeile mit Wochentafel / Heute / Morgen */
#pageweek .top .planning-title {
  display: contents;
}
@media (min-width: 721px) {
  #pageweek:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
  }
  #pageweek > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
  #pageweek > .phonecontrols {
    grid-column: 1;
    grid-row: 1;
  }
  #pageweek > .top {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-height: 0;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
  }
  #pageweek > .top .actions {
    margin: 0;
    padding: 0;
  }
}

/* Einleitungen, die der Kopf jetzt schon sagt */
.ordersintro > p,
#pageadmin > .pageintro {
  display: none;
}

/* Anmeldung: Foto über die ganze Höhe rechts, Formular links unter dem Titel */
html.cloudlocked body > header {
  min-height: 0;
  padding-bottom: 6px;
}
html.cloudlocked body > header .hero {
  padding-top: clamp(48px, 15vh, 170px);
}
html.cloudlocked body > header {
  --hero-fs: min(clamp(60px, 10.4vw, 180px), calc((100vw - 2 * max(3vw, 16px)) / var(--title-w, 6)));
}
html.cloudlocked .herophoto {
  position: fixed;
}
html.cloudlocked .cloudlogin {
  width: min(420px, calc(50vw - 2 * max(3vw, 16px)));
  margin: 34px 0 72px calc(max(0px, (100% - 1700px) / 2) + max(3vw, 16px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html.cloudlocked .cloudlogin h1 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
html.cloudlocked .cloudlogin h1::after {
  content: none;
}
html.cloudlocked .cloudlogin input {
  background: var(--surface);
}

@media (max-width: 720px) {
  body > header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "brand theme"
      "photo photo"
      "hero hero";
    min-height: 0;
    padding: 12px 16px 20px;
  }
  body > header .badge {
    display: none;
  }
  .herophoto {
    grid-area: photo;
    position: relative;
    inset: auto;
    width: auto;
    height: 150px;
    margin: 12px -16px 0;
  }
  .hero {
    padding-top: 0;
  }
  .herotitle {
    margin-top: -0.5em;
  }
  .herophoto::before {
    background: linear-gradient(
      0deg,
      color-mix(in srgb, var(--page) 84%, transparent) 0,
      color-mix(in srgb, var(--page) 60%, transparent) var(--veil, 0px),
      color-mix(in srgb, var(--page) 0%, transparent) calc(var(--veil, 0px) + 45%)
    );
  }

  .herosub {
    margin-top: 10px;
    font-size: 14.5px;
  }
  html.cloudlocked .herophoto {
    position: relative;
    width: auto;
    height: 34vh;
  }
  html.cloudlocked body > header .hero {
    padding-top: 0;
  }
  html.cloudlocked .cloudlogin {
    width: auto;
    margin: 22px 16px 48px;
  }
  .herosub {
    max-width: none;
  }
  /* Handy: oben die Reiter und Admin, darunter Speicherstand mit zwei runden Knöpfen */
  .pagesnav > .adminnavgroup {
    margin-left: auto;
  }
  .pagesnav #cloudaccount {
    order: 5;
    width: 100%;
    margin-left: 0;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .pagesnav #cloudsavestatus {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pagesnav #cloudaccount button,
  .pagesnav #cloudaccount button:first-of-type {
    flex: none;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    font-size: 0;
    display: inline-grid;
    place-items: center;
    background: var(--tint);
  }
  .pagesnav #cloudaccount button::before {
    width: 17px;
    height: 17px;
    margin: 0;
  }
}
@media (max-width: 480px) {
  .pagesnav #adminnavtoggle {
    font-size: 0 !important;
    gap: 4px;
    padding: 0 12px 0 14px !important;
    min-height: 44px;
  }
  .pagesnav #adminnavtoggle::before {
    width: 19px;
    height: 19px;
    margin: 0;
  }
  .pagesnav #adminnavtoggle .navchevron {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 720px) {
  .herophoto[data-photo="leiter"] {
    background-image: url("img/fotos/leiter-s.webp");
  }
  .herophoto[data-photo="fachwerk"] {
    background-image: url("img/fotos/fachwerk-s.webp");
  }
  .herophoto[data-photo="wohnhaus"] {
    background-image: url("img/fotos/wohnhaus-s.webp");
  }
  .herophoto[data-photo="geruest"] {
    background-image: url("img/fotos/geruest-s.webp");
  }
  .herophoto[data-photo="fassade"] {
    background-image: url("img/fotos/fassade-s.webp");
  }
  .herophoto[data-photo="pinsel"] {
    background-image: url("img/fotos/pinsel-s.webp");
  }
  .herophoto[data-photo="wand"] {
    background-image: url("img/fotos/wand-s.webp");
  }
  .herophoto[data-photo="decke"] {
    background-image: url("img/fotos/decke-s.webp");
  }
  .herophoto[data-photo="dachgeschoss"] {
    background-image: url("img/fotos/dachgeschoss-s.webp");
  }
  .herophoto[data-photo="stuck"] {
    background-image: url("img/fotos/stuck-s.webp");
  }
}

/* ==========================================================================
   Ruhiger
   Weniger Beschriftung und Rahmen: Kopf nur mit Logo, Suche in der Navigationszeile,
   Hilfstexte, die sich von selbst erklären, entfallen. Alle Funktionen bleiben.
   ========================================================================== */
body > header .brandtext,
body > header .badge {
  display: none !important;
}
body > header .brand {
  gap: 0;
}
body > header .companylogo {
  width: 124px;
  height: 60px;
}
/* Hell/Dunkel: runder Knopf mit dem Pinsel */
body > header #themeswitch {
  width: 48px;
  height: 48px;
  min-width: 0;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}
#themeswitchlabel,
.themeswitchspark {
  display: none !important;
}

/* Navigationszeile: Reiter, Suche, Speicherstand, Admin in einer Zeile, ohne Trennlinie */
.pagesnav {
  border-bottom: 0 !important;
  padding-bottom: 4px !important;
  margin-bottom: 22px !important;
}
.pagesnav .quicksearch {
  flex: 1 1 260px;
  max-width: 440px;
  margin: 0 0 0 6px;
  z-index: 30;
}
.pagesnav .quicksearch > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pagesnav .quicksearch > div {
  position: relative;
  display: block;
}
.pagesnav .quicksearch input {
  height: 46px;
  padding-right: 46px;
  border-radius: var(--r-pill);
}
.pagesnav #quicksearchclear {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 16px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
}
.pagesnav #quicksearchclear:hover {
  background: var(--tint);
}
.pagesnav #quicksearchclear::before {
  margin: 0;
}
.pagesnav #quicksearchinput:placeholder-shown ~ #quicksearchclear {
  display: none;
}
.pagesnav .quicksearchresults {
  right: auto;
  width: min(680px, calc(100vw - 2 * max(3vw, 16px)));
}
.pagesnav #cloudaccountname {
  display: none !important;
}
.pagesnav #cloudaccount {
  gap: 8px;
}
.pagesnav #cloudsavestatus {
  margin-right: 6px;
}
.pagesnav #cloudaccount button,
.pagesnav #cloudaccount button:first-of-type {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  font-size: 0;
  /* eine Zeile: der unsichtbare Knopftext zählt nicht als zweite Zeile mit */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 50%;
  background: transparent;
}
.pagesnav #cloudaccount button:hover {
  background: var(--tint);
}
.pagesnav #cloudaccount button::before {
  width: 18px;
  height: 18px;
  margin: 0;
}
@media (max-width: 1180px) {
  .pagesnav .quicksearch {
    order: 6;
    flex-basis: 100%;
    max-width: none;
    margin: 6px 0 0;
  }
}

/* Hilfstexte, die der Knopf oder Titel schon sagt */
#planningundobar > div > span,
.adminhelpbar > span,
#changeinfo,
#viewscope,
.jobshead > div > p {
  display: none !important;
}
/* Rückgängig erscheint erst, wenn es etwas rückgängig zu machen gibt */
#planningundo:disabled {
  display: none !important;
}
.pagesnav #cloudaccount button::before,
.pagesnav #quicksearchclear::before {
  display: block;
  vertical-align: 0;
}
.pagesnav #quicksearchinput:placeholder-shown {
  padding-right: 14px;
}
@media (min-width: 721px) {
  /* Wochenplan: Ansicht (ganzes Team / nur meine) und „Änderungen gesehen“ in einer Zeile */
  #pageweek:not([hidden]) {
    grid-auto-flow: row dense;
  }
  #pageweek > .planviewbar {
    grid-column: 1;
  }
  #pageweek > .extrasbar {
    grid-column: 2;
    align-self: center;
    justify-self: end;
    justify-content: flex-end;
    margin: 0 0 14px;
  }
  /* Aufträge: Erklärung links, Übernehmen und Anlegen rechts, in einer Zeile */
  #pagejobs:not([hidden]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
  }
  #pagejobs > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
  #pagejobs > .adminhelpbar {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-content: flex-start;
    margin: 0 0 22px;
  }
  #pagejobs > .jobshead {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-content: flex-end;
    margin: 0 0 22px;
  }
}
/* nur ein Kreuz im Suchfeld: das eingebaute des Browsers entfällt */
#quicksearchinput::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

/* ==========================================================================
   Samstag und Sonntag
   Für den Fall mit in der Planung: schmaler und leicht getönt, damit Montag bis Freitag
   die Hauptsache bleiben. Zur Kapazität zählen sie nicht.
   ========================================================================== */
.grid {
  grid-template-columns: 180px repeat(5, minmax(0, 1fr)) repeat(2, minmax(0, 0.62fr));
}
.planninglayout .grid {
  grid-template-columns: 125px repeat(5, minmax(0, 1fr)) repeat(2, minmax(0, 0.62fr));
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: 150px repeat(5, minmax(0, 1fr)) repeat(2, minmax(0, 0.62fr));
  }
  .planninglayout .grid {
    grid-template-columns: 100px repeat(5, minmax(0, 1fr)) repeat(2, minmax(0, 0.62fr));
  }
}
@media (max-width: 720px) {
  /* Handy: wie bisher nur der gewählte Tag */
  .grid {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .planninglayout .grid {
    grid-template-columns: 100px minmax(0, 1fr);
  }
}
.heading:where(.weekend) {
  background: var(--tint);
}
.heading:where(.weekend) small {
  font-size: 21px;
  color: var(--ink-2);
}
.cell:where(.weekend) {
  background: color-mix(in srgb, var(--tint) 55%, var(--surface));
}

/* Langfristplanung: Wochenendspalten getönt, Namen und „frei“ gut lesbar */
.timelinehead:where(.weekend) {
  background: color-mix(in srgb, var(--tint-2) 75%, var(--surface));
  color: var(--muted);
}
.timelineday:where(.weekend) {
  background: color-mix(in srgb, var(--tint) 60%, var(--surface));
}
.dryingday:where(.weekend):not(.active) {
  background: color-mix(in srgb, var(--tint) 60%, var(--surface));
}
#timelinegrid .timelinehead {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  padding: 13px 4px;
}
#timelinegrid .timelinehead:where(.weekend) {
  color: var(--muted);
}
#timelinegrid .timelinename {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.v4timefree,
.timelineday > small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.timelinechosen .v4timefree,
.timelineday.timelinechosen > small {
  color: inherit;
}

/* Handy: Namensspalte der Wochentafel lesbar (Name und „Morgen im Blick“ passen in die Spalte) */
@media (max-width: 720px) {
  #pageweek .person {
    align-content: flex-start;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    padding: 16px 8px;
  }
  #pageweek .person > div {
    min-width: 0;
  }
  #pageweek .person strong {
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  #pageweek .tomorrowbutton {
    width: 100%;
    gap: 5px;
    padding: 7px 6px !important;
    white-space: normal;
    text-align: left;
    line-height: 1.15;
  }
}
@media (max-width: 720px) {
  #pageweek .person .avatar {
    align-self: flex-start;
    width: 35px;
  }
}
@media (max-width: 1100px) {
  .heading:where(.weekend) {
    padding-left: 8px;
    padding-right: 8px;
  }
  .heading:where(.weekend) small {
    font-size: 16px;
  }
}

/* ==========================================================================
   Ergänzt auf der Live-Seite (mit ChatGPT, 22.10.): Löschen/Archivieren im Vorrat, Admin-Menü über der Suche
   ========================================================================== */
/* Site deletion in stock: separate accessible button, never nested in a card. */
.stockdeletewrap {
  margin: 10px 0;
  border: 1px solid #d8dfe5;
  border-radius: 10px;
  overflow: hidden;
}
.stockdeletewrap > .v4stockitem {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.stockdeletebutton {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid #d8dfe5;
  border-radius: 0;
  background: transparent;
  color: #a83240;
  font-size: 12px;
  padding: 9px;
  text-align: right;
}
.stockdeletebutton:hover {
  background: #a8324010;
}
#deletesitedialog {
  max-width: 540px;
  width: calc(100vw - 40px);
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid #d8dfe5;
  border-radius: 16px;
}
#deletesitedialog p {
  line-height: 1.6;
  font-size: 14px;
}
.deletesiteactions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
#deletesiteerror {
  color: #b62f43;
}
html[data-theme="dark"] .stockdeletewrap,
html[data-theme="dark"] .stockdeletebutton {
  border-color: #43515c;
}
html[data-theme="dark"] .stockdeletebutton {
  color: #f1a2ae;
}
html[data-theme="dark"] #deletesitedialog {
  background: #26313a;
  color: #e8edf2;
  border-color: #43515c;
}
/* Keep the admin dropdown above search and page content at wrapped widths. */
.pagesnav {
  position: relative;
  z-index: 100;
  overflow: visible;
}
.pagesnav > .adminnavgroup {
  position: relative;
  z-index: 40;
  overflow: visible;
}
.pagesnav .adminnavlinks {
  z-index: 41;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}
.pagesnav .quicksearch {
  z-index: 30;
  min-width: 0;
}
@media (max-width: 600px) {
  .pagesnav .adminnavlinks {
    width: min(340px, calc(100vw - 32px));
    min-width: 0;
  }
  .pagesnav .adminnavlinks a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.stockcardactions {
  display: flex;
  border-top: 1px solid #d8dfe5;
}
.stockcardactions .stockdeletebutton {
  border-top: 0;
  text-align: center;
  flex: 1;
  width: auto;
  color: inherit;
}
.stockcardactions .stockremovebutton {
  flex: 0 0 auto;
  border-left: 1px solid #d8dfe5;
  color: #a83240;
}
.stockcardactions .stockdeletebutton:focus-visible {
  outline: 2px solid #65a5d2;
  outline-offset: -3px;
}
html[data-theme="dark"] .stockcardactions,
html[data-theme="dark"] .stockcardactions .stockremovebutton {
  border-color: #43515c;
}
html[data-theme="dark"] .stockcardactions .stockremovebutton {
  color: #f1a2ae;
}

/* ==========================================================================
   Aufträge: Baustelle ausblenden oder löschen
   ========================================================================== */
.jobmanage {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.jobdialogfoot .jobmanage button {
  background: transparent;
  box-shadow: none;
  color: var(--muted);
}
.jobdialogfoot .jobmanage button:hover {
  background: var(--tint);
  color: var(--ink);
}
.jobdialogfoot .jobmanage .jobdelete {
  color: var(--over);
}
.jobdialogfoot .jobmanage .jobdelete:hover {
  background: var(--over-soft);
  color: var(--over);
}
.jobsarchive {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jobhiddenlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.jobhiddenrow {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: color-mix(in srgb, var(--tint) 45%, var(--surface));
  overflow: hidden;
}
.jobhiddenrow > button[data-jobopen] {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  color: var(--ink-2);
}
.jobhiddenrow small {
  font-size: 12px;
  color: var(--muted);
}
.jobhiddenrow .jobunhide {
  flex: none;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  color: var(--ink-2);
}
.jobhiddenrow .jobunhide:hover {
  background: var(--tint);
}

/* ==========================================================================
   Auftragsbestand: „Ausgebucht bis“ (auch auf dem Handy auf einen Blick)
   ========================================================================== */
.bookedcard {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas:
    "head months"
    "facts months"
    "legend legend";
  gap: 10px 28px;
  margin: 0 0 22px;
  padding: 18px 22px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.bookedhead {
  grid-area: head;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bookedhead small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
}
.bookedhead strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
.bookedhead span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.bookedfacts {
  grid-area: facts;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--muted);
}
.bookedfacts b {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-right: 3px;
}
.bookedmonths {
  grid-area: months;
  align-self: center;
  display: grid;
  gap: 9px;
}
.bookedmonth {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.bookedmonth b {
  text-align: right;
  font-size: 13.5px;
  color: var(--ink);
}
.bookedbar {
  display: flex;
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--track);
  overflow: hidden;
}
.bookedbar i,
.bookedlegend i {
  display: block;
}
.bookedbar i.planned,
.bookedlegend i.planned {
  background: var(--deep);
}
.bookedbar i.stock,
.bookedlegend i.stock {
  background: var(--brand-fill);
  opacity: 0.75;
}
html[data-theme="dark"] .bookedbar i.planned,
html[data-theme="dark"] .bookedlegend i.planned {
  background: var(--ink-2);
}
.bookedlegend {
  grid-area: legend;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.bookedlegend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-left: 8px;
}
.bookedlegend i:first-child {
  margin-left: 0;
}
@media (max-width: 720px) {
  .bookedcard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "facts" "months" "legend";
    padding: 16px;
  }
}

/* ==========================================================================
   Kann-Termine: schräg in die Tafel gesteckt, gestrichelt, blockieren nichts
   ========================================================================== */
#pageweek .card.maybe,
.card.maybe {
  transform: rotate(-2.4deg);
  border-style: dashed !important;
  border-left-style: solid !important;
  background: color-mix(in srgb, var(--accent) 4%, var(--surface)) !important;
  box-shadow: 0 6px 14px -8px rgba(10, 30, 26, 0.35);
  margin: 4px 2px;
  transition: transform var(--t-mid) var(--ease-spring);
}
.card.maybe:hover,
.card.maybe:focus-visible {
  transform: rotate(0deg);
}
.maybelabel {
  display: inline-block;
  margin: 2px 0;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  border: 1px dashed var(--line-strong);
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
}
.v4timeentry.maybe {
  transform: rotate(-2deg);
  outline: 1px dashed var(--line-strong);
  outline-offset: -1px;
  font-style: italic;
}
.maybecheck small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}
/* Kann-Termine: orange gekennzeichnet */
:root {
  --maybe: #e07a1f;
  --maybe-soft: #fdf0e2;
}
html[data-theme="dark"] {
  --maybe: #f2a65a;
  --maybe-soft: #3a2a1a;
}
#pageweek .card.maybe,
.card.maybe {
  background: var(--maybe-soft) !important;
  border-color: color-mix(in srgb, var(--maybe) 55%, var(--surface)) !important;
  border-left-color: var(--maybe) !important;
}
.maybelabel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: color-mix(in srgb, var(--maybe) 16%, var(--surface));
  color: color-mix(in srgb, var(--maybe) 75%, var(--ink));
}
.maybelabel::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--maybe);
}
.v4timeentry.maybe {
  background: var(--maybe-soft) !important;
  outline-color: var(--maybe);
  border-left: 3px solid var(--maybe);
}

/* ===== Langfristplanung zum Anfassen ===== */
.hapticbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 4px 0 10px;
}
.hapticzoom {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: var(--r-pill);
  background: var(--tint);
  border: 1px solid var(--line);
}
.hapticzoom button {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  min-height: 0;
}
.hapticzoom button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px #17332e1f;
}
#ghostsuggest {
  border-radius: var(--r-pill);
}
.haptichint {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12.5px;
}
.ghostbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: var(--r-pill);
  background: var(--water-soft);
  color: var(--water);
  border: 1px dashed var(--water);
  font-size: 13.5px;
  font-weight: 600;
}
.ghostbox[hidden] {
  display: none;
}
.ghostbox button {
  border-radius: var(--r-pill);
  padding: 6px 12px;
  min-height: 0;
}

/* Einsätze als Balken */
#pagelong .v4timeentry.movable {
  cursor: grab;
  position: relative;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  user-select: none;
  transition:
    box-shadow var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
}
#pagelong .v4timeentry.movable:hover {
  box-shadow: 0 2px 8px #17332e24;
}
#pagelong .v4timeentry.runpart:not(.runfirst) {
  margin-left: -4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left-color: transparent;
}
#pagelong .v4timeentry.runpart:not(.runlast) {
  margin-right: -4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#pagelong .v4timeentry.runpart {
  padding-right: 14px;
}
.runhandle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 11px;
  cursor: ew-resize;
  border-radius: 0 4px 4px 0;
  background: hsl(var(--project-hue, 200) 50% 45% / 0.18);
}
.runhandle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 3px;
  height: 18px;
  margin-top: -9px;
  border-left: 1px solid hsl(var(--project-hue, 200) 45% 35%);
  border-right: 1px solid hsl(var(--project-hue, 200) 45% 35%);
}
.v4timeentry.hapticarmed {
  transform: scale(1.04);
  box-shadow: 0 6px 16px #17332e33;
}
.v4stockitem.hapticarmed {
  outline: 2px solid var(--brand);
}
body.hapticdragging,
body.hapticdragging * {
  cursor: grabbing !important;
  user-select: none;
}
.dragghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  pointer-events: none;
  max-width: 220px;
  padding: 8px 12px;
  border-radius: var(--r-s);
  background: var(--deep);
  color: var(--on-deep);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 28px #0000003d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  rotate: -2deg;
}
.dragghost.handle {
  background: var(--water);
  color: #fff;
}
#pagelong .timelineday.dropzone {
  background: color-mix(in srgb, var(--ok) 18%, var(--surface));
  box-shadow: inset 0 0 0 2px var(--ok);
}
#pagelong .timelineday.dropcut {
  background: color-mix(in srgb, var(--over) 14%, var(--surface));
  box-shadow: inset 0 0 0 2px var(--over);
}
#pagelong .timelineday.dropcut .v4timeentry {
  opacity: 0.45;
  text-decoration: line-through;
}
#pagelong .timelineday.sitehl {
  box-shadow: inset 0 0 0 2px var(--brand);
}
#pagelong .timelineday.ghost {
  position: relative;
  background: repeating-linear-gradient(
    -45deg,
    var(--water-soft) 0 8px,
    color-mix(in srgb, var(--water-soft) 55%, var(--surface)) 8px 16px
  );
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--water) 60%, transparent);
}
#pagelong .timelineday.ghost::after {
  content: "Vorschlag";
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--water);
  letter-spacing: 0.02em;
}

/* Auslastung je Tag im Kopf */
#timelinegrid .timelinehead {
  position: relative;
}
.loadstrip {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--track);
  overflow: hidden;
}
.loadstrip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--load);
  border-radius: 2px;
  background: var(--ok);
}
.loadstrip.full::before {
  background: var(--warn);
}
.loadstrip.over::before {
  background: var(--over);
}

/* Zoom */
#timelinegrid.zoomquartal .timelinehead {
  font-size: 0;
  padding: 13px 0;
}
#timelinegrid.zoomquartal .timelinehead::before {
  content: attr(data-short);
  font-size: 11px;
  white-space: nowrap;
}
#timelinegrid.zoomquartal > .timelinehead:first-child {
  font-size: 12.5px;
}
#timelinegrid.zoomquartal .timelinename {
  font-size: 14px;
  padding: 10px;
}
#timelinegrid.zoomquartal .v4timeentry > :not(.runhandle),
#timelinegrid.zoomquartal .v4timefree,
#timelinegrid.zoomquartal .timelineday > small {
  display: none;
}
#timelinegrid.zoomquartal .v4timeentry {
  min-height: 22px;
  padding: 0 !important;
}
#timelinegrid.zoomquartal .timelineday.ghost::after {
  content: "";
}
#pagelong #timelinegrid.zoomquartal .timelineday {
  min-height: 46px;
}

/* Menü auf einem Einsatz */
.entrymenu {
  position: fixed;
  z-index: 70;
  min-width: 220px;
  max-height: 70vh;
  overflow: auto;
  padding: 6px;
  border-radius: var(--r-s);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px #17332e33;
  display: grid;
}
.entrymenu strong {
  padding: 8px 10px 6px;
  font-size: 13px;
  color: var(--ink);
}
.entrymenu small {
  padding: 8px 10px 2px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.entrymenu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: var(--r-xs);
  font-size: 14px;
  min-height: 0;
  color: var(--ink);
}
.entrymenu button:hover,
.entrymenu button:focus-visible {
  background: var(--tint);
}

/* Rückgängig-Meldung */
.undotoast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--r-pill);
  background: var(--deep);
  color: var(--on-deep);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px #0000003d;
  max-width: calc(100vw - 32px);
}
.undotoast[hidden] {
  display: none;
}
.undotoast button {
  border-radius: var(--r-pill);
  background: var(--on-deep);
  color: var(--deep);
  border: 0;
  padding: 7px 14px;
  font-weight: 700;
  min-height: 0;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .haptichint {
    display: none;
  }
  .hapticzoom button {
    padding: 6px 10px;
  }
}

/* Kartenerstellung: Baustelle aktualisieren oder als neue anlegen */
.sitemode {
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
}
.sitemode[hidden] {
  display: none;
}
.sitemodeswitch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-self: start;
  gap: 3px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--tint);
  border: 1px solid var(--line);
}
.sitemodeswitch button {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: 8px 15px;
  min-height: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.sitemodeswitch button[aria-checked="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px #17332e1f;
}
.sitemodeswitch button[data-sitemode="new"][aria-checked="true"] {
  background: var(--brand-fill);
  color: var(--on-brand);
}
#sitemodehint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
#siteform.sitemodenew #sitemodehint {
  color: var(--ink);
  padding: 10px 12px;
  border-radius: var(--r-s);
  background: var(--tint);
  border-left: 3px solid var(--brand);
}
#siteform.sitemodenew #sitename {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
@media (max-width: 720px) {
  .sitemodeswitch {
    display: grid;
    border-radius: var(--r-m);
    justify-self: stretch;
  }
  .sitemodeswitch button {
    border-radius: var(--r-s);
  }
}

/* ===== Ansprechpartner ===== */
.contactsfield {
  display: grid;
  gap: 8px;
  margin: 6px 0 14px;
}
.fieldlabel {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.contactrows {
  display: grid;
  gap: 8px;
}
.contactrow {
  display: grid;
  grid-template-columns: minmax(130px, 0.9fr) minmax(160px, 1.6fr) minmax(120px, 1fr) minmax(
      140px,
      1.1fr
    ) minmax(140px, 1.2fr) auto;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border-radius: var(--r-s);
  background: var(--tint);
  border: 1px solid var(--line);
}
.contactrow input,
.contactrow select {
  min-height: 38px;
  margin: 0;
  font-size: 14px;
}
.contactremove {
  min-height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--over);
}
.contactadd {
  justify-self: start;
  border-radius: var(--r-pill);
}
#stockquick .contactrow,
#jobdialog .contactrow {
  grid-template-columns: minmax(120px, 0.9fr) minmax(150px, 1.5fr) minmax(120px, 1fr) auto;
}
#stockquick .contactrow [data-cf="email"],
#stockquick .contactrow [data-cf="note"],
#jobdialog .contactrow [data-cf="email"],
#jobdialog .contactrow [data-cf="note"] {
  grid-column: span 2;
}
#stockquick .contactrow .contactremove,
#jobdialog .contactrow .contactremove {
  grid-row: 1;
  grid-column: 4;
}
@media (max-width: 760px) {
  .contactrow,
  #stockquick .contactrow,
  #jobdialog .contactrow {
    grid-template-columns: 1fr auto;
  }
  .contactrow > :not(.contactremove),
  #stockquick .contactrow > :not(.contactremove),
  #jobdialog .contactrow > :not(.contactremove) {
    grid-column: 1 / -1;
  }
  .contactrow .contactremove,
  #stockquick .contactrow .contactremove,
  #jobdialog .contactrow .contactremove {
    grid-row: 1;
    grid-column: 2;
  }
  .contactrow [data-cf="role"] {
    grid-column: 1 !important;
  }
}
/* Anzeige */
.contactkey,
.contactlist {
  display: grid;
  gap: 6px;
  margin: 8px 0;
}
.contactline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 14px;
}
.contactline strong {
  font-weight: 650;
}
.contactline small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12.5px;
}
.contactrole {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 52px;
}
.contactcall,
.contactmail,
.addresslink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--water);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.contactcall:hover,
.contactmail:hover,
.addresslink:hover {
  text-decoration: underline;
}
.jobcard .contactkey {
  margin: 6px 0 8px;
  padding: 8px 10px;
  border-radius: var(--r-s);
  background: var(--tint);
}
.jobcard .contactline {
  font-size: 13px;
}
.taskcontacts {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: var(--tint);
  border: 1px solid var(--line);
}
.taskcontacts[hidden] {
  display: none;
}
.taskaccess,
.planningcontacts {
  margin: 8px 0 0;
}
.duphint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: var(--r-s);
  background: var(--warn-soft);
  border: 1px solid var(--warn-line);
  color: var(--warn);
  font-size: 13.5px;
  font-weight: 600;
}
.duphint[hidden] {
  display: none;
}
.duphint button {
  min-height: 0;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 13px;
}
.duphint small {
  flex-basis: 100%;
  font-weight: 500;
}
.sitewateronly[hidden] {
  display: none;
}

/* ===== Adressbuch ===== */
#pageaddress {
  max-width: 1100px;
  margin: 0 auto;
}
.bookintro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.bookintro small {
  color: var(--muted);
  font-weight: 650;
}
.bookintro h1 {
  margin: 2px 0 6px;
  font-family: var(--font-display);
}
.bookintro p {
  max-width: 640px;
  color: var(--muted);
  margin: 0;
}
.booktools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.booktools input {
  flex: 1 1 260px;
  margin: 0;
}
.booktools select {
  flex: 0 1 220px;
  margin: 0;
}
.booktools small {
  color: var(--muted);
}
.booklist {
  display: grid;
  gap: 10px;
}
.bookentry {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--line);
}
.bookmain {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.bookmain strong {
  font-size: 16px;
}
.bookmain small {
  flex-basis: 100%;
  color: var(--muted);
}
.booksites {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.booksites small {
  color: var(--faint);
}
.booksite {
  min-height: 0;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
}
.bookactions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.bookactions button {
  min-height: 0;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
}
.bookdelete {
  color: var(--over);
}
.bookentry.editing {
  grid-template-columns: 1fr;
  background: var(--tint);
}
.bookfields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.bookfields label {
  margin: 0;
}
.bookwide {
  grid-column: 1 / -1;
}
.bookentry.editing .bookactions {
  justify-content: flex-start;
}
.bookentry.editing > small {
  color: var(--muted);
}
@media (max-width: 760px) {
  .bookentry {
    grid-template-columns: 1fr;
  }
  .bookactions {
    justify-content: flex-start;
  }
  .bookfields {
    grid-template-columns: 1fr;
  }
}

/* ===== Vorrat: Sortieren, Filtern, Termine, Menü ===== */
.stocktools {
  display: grid;
  gap: 8px;
  margin: 8px 0 10px;
}
.stockkinds {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.stockkinds button {
  min-height: 0;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--muted);
}
.stockkinds button[aria-pressed="true"] {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--on-deep);
}
.stocksort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}
.stocksort select {
  flex: 1;
  margin: 0;
  min-height: 34px;
  font-size: 13px;
}
#v4stocklist .stockcardactions {
  display: none;
}
.stockdue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--warn);
  font-weight: 650;
}
.stockdue::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
}
.stockdue.late {
  color: var(--over);
}
.stockdue.late::before {
  background: var(--over);
}
.stockwho {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.entrymenu .entrymenudanger {
  color: var(--over);
}
.stockquick form {
  display: grid;
  gap: 8px;
  width: min(760px, calc(100vw - 32px));
}
.stockquick label {
  margin: 0;
}
#stockquickdayshint {
  color: var(--muted);
  margin-top: -4px;
}
#stockquickerror {
  color: var(--over);
  margin: 0;
}

/* Symbole: Lucide (lucide.dev, ISC-Lizenz). Ein Knopf bekommt sein Symbol über data-ic (vorn) oder data-ic-end (hinten). */
[data-ic="archive"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2220%22 height=%225%22 x=%222%22 y=%223%22 rx=%221%22 /%3E%3Cpath d=%22M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8%22 /%3E%3Cpath d=%22M10 12h4%22 /%3E%3C/svg%3E");
}
[data-ic-end="archive"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2220%22 height=%225%22 x=%222%22 y=%223%22 rx=%221%22 /%3E%3Cpath d=%22M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8%22 /%3E%3Cpath d=%22M10 12h4%22 /%3E%3C/svg%3E");
}
[data-ic="archive-restore"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2220%22 height=%225%22 x=%222%22 y=%223%22 rx=%221%22 /%3E%3Cpath d=%22M4 8v11a2 2 0 0 0 2 2h2%22 /%3E%3Cpath d=%22M20 8v11a2 2 0 0 1-2 2h-2%22 /%3E%3Cpath d=%22m9 15 3-3 3 3%22 /%3E%3Cpath d=%22M12 12v9%22 /%3E%3C/svg%3E");
}
[data-ic-end="archive-restore"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2220%22 height=%225%22 x=%222%22 y=%223%22 rx=%221%22 /%3E%3Cpath d=%22M4 8v11a2 2 0 0 0 2 2h2%22 /%3E%3Cpath d=%22M20 8v11a2 2 0 0 1-2 2h-2%22 /%3E%3Cpath d=%22m9 15 3-3 3 3%22 /%3E%3Cpath d=%22M12 12v9%22 /%3E%3C/svg%3E");
}
[data-ic="arrow-left"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m12 19-7-7 7-7%22 /%3E%3Cpath d=%22M19 12H5%22 /%3E%3C/svg%3E");
}
[data-ic-end="arrow-left"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m12 19-7-7 7-7%22 /%3E%3Cpath d=%22M19 12H5%22 /%3E%3C/svg%3E");
}
[data-ic="arrow-left-right"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 3 4 7l4 4%22 /%3E%3Cpath d=%22M4 7h16%22 /%3E%3Cpath d=%22m16 21 4-4-4-4%22 /%3E%3Cpath d=%22M20 17H4%22 /%3E%3C/svg%3E");
}
[data-ic-end="arrow-left-right"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 3 4 7l4 4%22 /%3E%3Cpath d=%22M4 7h16%22 /%3E%3Cpath d=%22m16 21 4-4-4-4%22 /%3E%3Cpath d=%22M20 17H4%22 /%3E%3C/svg%3E");
}
[data-ic="arrow-right"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M5 12h14%22 /%3E%3Cpath d=%22m12 5 7 7-7 7%22 /%3E%3C/svg%3E");
}
[data-ic-end="arrow-right"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M5 12h14%22 /%3E%3Cpath d=%22m12 5 7 7-7 7%22 /%3E%3C/svg%3E");
}
[data-ic="arrow-up-right"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M7 7h10v10%22 /%3E%3Cpath d=%22M7 17 17 7%22 /%3E%3C/svg%3E");
}
[data-ic-end="arrow-up-right"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M7 7h10v10%22 /%3E%3Cpath d=%22M7 17 17 7%22 /%3E%3C/svg%3E");
}
[data-ic="calculator"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2216%22 height=%2220%22 x=%224%22 y=%222%22 rx=%222%22 /%3E%3Cline x1=%228%22 x2=%2216%22 y1=%226%22 y2=%226%22 /%3E%3Cline x1=%2216%22 x2=%2216%22 y1=%2214%22 y2=%2218%22 /%3E%3Cpath d=%22M16 10h.01%22 /%3E%3Cpath d=%22M12 10h.01%22 /%3E%3Cpath d=%22M8 10h.01%22 /%3E%3Cpath d=%22M12 14h.01%22 /%3E%3Cpath d=%22M8 14h.01%22 /%3E%3Cpath d=%22M12 18h.01%22 /%3E%3Cpath d=%22M8 18h.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="calculator"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2216%22 height=%2220%22 x=%224%22 y=%222%22 rx=%222%22 /%3E%3Cline x1=%228%22 x2=%2216%22 y1=%226%22 y2=%226%22 /%3E%3Cline x1=%2216%22 x2=%2216%22 y1=%2214%22 y2=%2218%22 /%3E%3Cpath d=%22M16 10h.01%22 /%3E%3Cpath d=%22M12 10h.01%22 /%3E%3Cpath d=%22M8 10h.01%22 /%3E%3Cpath d=%22M12 14h.01%22 /%3E%3Cpath d=%22M8 14h.01%22 /%3E%3Cpath d=%22M12 18h.01%22 /%3E%3Cpath d=%22M8 18h.01%22 /%3E%3C/svg%3E");
}
[data-ic="calendar"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3C/svg%3E");
}
[data-ic-end="calendar"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3C/svg%3E");
}
[data-ic="calendar-check"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22m9 16 2 2 4-4%22 /%3E%3C/svg%3E");
}
[data-ic-end="calendar-check"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22m9 16 2 2 4-4%22 /%3E%3C/svg%3E");
}
[data-ic="calendar-days"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22M8 14h.01%22 /%3E%3Cpath d=%22M12 14h.01%22 /%3E%3Cpath d=%22M16 14h.01%22 /%3E%3Cpath d=%22M8 18h.01%22 /%3E%3Cpath d=%22M12 18h.01%22 /%3E%3Cpath d=%22M16 18h.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="calendar-days"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22M8 14h.01%22 /%3E%3Cpath d=%22M12 14h.01%22 /%3E%3Cpath d=%22M16 14h.01%22 /%3E%3Cpath d=%22M8 18h.01%22 /%3E%3Cpath d=%22M12 18h.01%22 /%3E%3Cpath d=%22M16 18h.01%22 /%3E%3C/svg%3E");
}
[data-ic="calendar-plus"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Cpath d=%22M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22M16 19h6%22 /%3E%3Cpath d=%22M19 16v6%22 /%3E%3C/svg%3E");
}
[data-ic-end="calendar-plus"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Cpath d=%22M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22M16 19h6%22 /%3E%3Cpath d=%22M19 16v6%22 /%3E%3C/svg%3E");
}
[data-ic="calendar-range"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M17 14h-6%22 /%3E%3Cpath d=%22M13 18H7%22 /%3E%3Cpath d=%22M7 14h.01%22 /%3E%3Cpath d=%22M17 18h.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="calendar-range"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22M16 2v4%22 /%3E%3Cpath d=%22M3 10h18%22 /%3E%3Cpath d=%22M8 2v4%22 /%3E%3Cpath d=%22M17 14h-6%22 /%3E%3Cpath d=%22M13 18H7%22 /%3E%3Cpath d=%22M7 14h.01%22 /%3E%3Cpath d=%22M17 18h.01%22 /%3E%3C/svg%3E");
}
[data-ic="check"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M20 6 9 17l-5-5%22 /%3E%3C/svg%3E");
}
[data-ic-end="check"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M20 6 9 17l-5-5%22 /%3E%3C/svg%3E");
}
[data-ic="chevron-down"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m6 9 6 6 6-6%22 /%3E%3C/svg%3E");
}
[data-ic-end="chevron-down"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m6 9 6 6 6-6%22 /%3E%3C/svg%3E");
}
[data-ic="chevron-left"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m15 18-6-6 6-6%22 /%3E%3C/svg%3E");
}
[data-ic-end="chevron-left"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m15 18-6-6 6-6%22 /%3E%3C/svg%3E");
}
[data-ic="chevron-right"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m9 18 6-6-6-6%22 /%3E%3C/svg%3E");
}
[data-ic-end="chevron-right"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m9 18 6-6-6-6%22 /%3E%3C/svg%3E");
}
[data-ic="chevron-up"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m18 15-6-6-6 6%22 /%3E%3C/svg%3E");
}
[data-ic-end="chevron-up"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m18 15-6-6-6 6%22 /%3E%3C/svg%3E");
}
[data-ic="circle-check"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 /%3E%3Cpath d=%22m9 12 2 2 4-4%22 /%3E%3C/svg%3E");
}
[data-ic-end="circle-check"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 /%3E%3Cpath d=%22m9 12 2 2 4-4%22 /%3E%3C/svg%3E");
}
[data-ic="circle-help"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 /%3E%3Cpath d=%22M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3%22 /%3E%3Cpath d=%22M12 17h.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="circle-help"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22 /%3E%3Cpath d=%22M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3%22 /%3E%3Cpath d=%22M12 17h.01%22 /%3E%3C/svg%3E");
}
[data-ic="clipboard-check"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%228%22 height=%224%22 x=%228%22 y=%222%22 rx=%221%22 ry=%221%22 /%3E%3Cpath d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22 /%3E%3Cpath d=%22m9 14 2 2 4-4%22 /%3E%3C/svg%3E");
}
[data-ic-end="clipboard-check"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%228%22 height=%224%22 x=%228%22 y=%222%22 rx=%221%22 ry=%221%22 /%3E%3Cpath d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22 /%3E%3Cpath d=%22m9 14 2 2 4-4%22 /%3E%3C/svg%3E");
}
[data-ic="clipboard-list"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%228%22 height=%224%22 x=%228%22 y=%222%22 rx=%221%22 ry=%221%22 /%3E%3Cpath d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22 /%3E%3Cpath d=%22M12 11h4%22 /%3E%3Cpath d=%22M12 16h4%22 /%3E%3Cpath d=%22M8 11h.01%22 /%3E%3Cpath d=%22M8 16h.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="clipboard-list"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%228%22 height=%224%22 x=%228%22 y=%222%22 rx=%221%22 ry=%221%22 /%3E%3Cpath d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22 /%3E%3Cpath d=%22M12 11h4%22 /%3E%3Cpath d=%22M12 16h4%22 /%3E%3Cpath d=%22M8 11h.01%22 /%3E%3Cpath d=%22M8 16h.01%22 /%3E%3C/svg%3E");
}
[data-ic="copy"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2214%22 height=%2214%22 x=%228%22 y=%228%22 rx=%222%22 ry=%222%22 /%3E%3Cpath d=%22M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2%22 /%3E%3C/svg%3E");
}
[data-ic-end="copy"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2214%22 height=%2214%22 x=%228%22 y=%228%22 rx=%222%22 ry=%222%22 /%3E%3Cpath d=%22M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2%22 /%3E%3C/svg%3E");
}
[data-ic="download"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%22 /%3E%3Cpolyline points=%227 10 12 15 17 10%22 /%3E%3Cline x1=%2212%22 x2=%2212%22 y1=%2215%22 y2=%223%22 /%3E%3C/svg%3E");
}
[data-ic-end="download"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%22 /%3E%3Cpolyline points=%227 10 12 15 17 10%22 /%3E%3Cline x1=%2212%22 x2=%2212%22 y1=%2215%22 y2=%223%22 /%3E%3C/svg%3E");
}
[data-ic="droplet"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z%22 /%3E%3C/svg%3E");
}
[data-ic-end="droplet"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z%22 /%3E%3C/svg%3E");
}
[data-ic="external-link"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M15 3h6v6%22 /%3E%3Cpath d=%22M10 14 21 3%22 /%3E%3Cpath d=%22M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6%22 /%3E%3C/svg%3E");
}
[data-ic-end="external-link"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M15 3h6v6%22 /%3E%3Cpath d=%22M10 14 21 3%22 /%3E%3Cpath d=%22M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6%22 /%3E%3C/svg%3E");
}
[data-ic="fan"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z%22 /%3E%3Cpath d=%22M12 12v.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="fan"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z%22 /%3E%3Cpath d=%22M12 12v.01%22 /%3E%3C/svg%3E");
}
[data-ic="file-output"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M14 2v4a2 2 0 0 0 2 2h4%22 /%3E%3Cpath d=%22M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2%22 /%3E%3Cpath d=%22M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6%22 /%3E%3Cpath d=%22m5 11-3 3%22 /%3E%3Cpath d=%22m5 17-3-3h10%22 /%3E%3C/svg%3E");
}
[data-ic-end="file-output"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M14 2v4a2 2 0 0 0 2 2h4%22 /%3E%3Cpath d=%22M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2%22 /%3E%3Cpath d=%22M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6%22 /%3E%3Cpath d=%22m5 11-3 3%22 /%3E%3Cpath d=%22m5 17-3-3h10%22 /%3E%3C/svg%3E");
}
[data-ic="file-text"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z%22 /%3E%3Cpath d=%22M14 2v4a2 2 0 0 0 2 2h4%22 /%3E%3Cpath d=%22M10 9H8%22 /%3E%3Cpath d=%22M16 13H8%22 /%3E%3Cpath d=%22M16 17H8%22 /%3E%3C/svg%3E");
}
[data-ic-end="file-text"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z%22 /%3E%3Cpath d=%22M14 2v4a2 2 0 0 0 2 2h4%22 /%3E%3Cpath d=%22M10 9H8%22 /%3E%3Cpath d=%22M16 13H8%22 /%3E%3Cpath d=%22M16 17H8%22 /%3E%3C/svg%3E");
}
[data-ic="folder-open"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2%22 /%3E%3C/svg%3E");
}
[data-ic-end="folder-open"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2%22 /%3E%3C/svg%3E");
}
[data-ic="hard-hat"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5%22 /%3E%3Cpath d=%22M14 6a6 6 0 0 1 6 6v3%22 /%3E%3Cpath d=%22M4 15v-3a6 6 0 0 1 6-6%22 /%3E%3Crect x=%222%22 y=%2215%22 width=%2220%22 height=%224%22 rx=%221%22 /%3E%3C/svg%3E");
}
[data-ic-end="hard-hat"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5%22 /%3E%3Cpath d=%22M14 6a6 6 0 0 1 6 6v3%22 /%3E%3Cpath d=%22M4 15v-3a6 6 0 0 1 6-6%22 /%3E%3Crect x=%222%22 y=%2215%22 width=%2220%22 height=%224%22 rx=%221%22 /%3E%3C/svg%3E");
}
[data-ic="heart"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22 /%3E%3C/svg%3E");
}
[data-ic-end="heart"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22 /%3E%3C/svg%3E");
}
[data-ic="key-round"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z%22 /%3E%3Ccircle cx=%2216.5%22 cy=%227.5%22 r=%22.5%22 fill=%22currentColor%22 /%3E%3C/svg%3E");
}
[data-ic-end="key-round"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z%22 /%3E%3Ccircle cx=%2216.5%22 cy=%227.5%22 r=%22.5%22 fill=%22currentColor%22 /%3E%3C/svg%3E");
}
[data-ic="layers"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z%22 /%3E%3Cpath d=%22m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65%22 /%3E%3Cpath d=%22m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65%22 /%3E%3C/svg%3E");
}
[data-ic-end="layers"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z%22 /%3E%3Cpath d=%22m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65%22 /%3E%3Cpath d=%22m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65%22 /%3E%3C/svg%3E");
}
[data-ic="layout-grid"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%227%22 height=%227%22 x=%223%22 y=%223%22 rx=%221%22 /%3E%3Crect width=%227%22 height=%227%22 x=%2214%22 y=%223%22 rx=%221%22 /%3E%3Crect width=%227%22 height=%227%22 x=%2214%22 y=%2214%22 rx=%221%22 /%3E%3Crect width=%227%22 height=%227%22 x=%223%22 y=%2214%22 rx=%221%22 /%3E%3C/svg%3E");
}
[data-ic-end="layout-grid"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%227%22 height=%227%22 x=%223%22 y=%223%22 rx=%221%22 /%3E%3Crect width=%227%22 height=%227%22 x=%2214%22 y=%223%22 rx=%221%22 /%3E%3Crect width=%227%22 height=%227%22 x=%2214%22 y=%2214%22 rx=%221%22 /%3E%3Crect width=%227%22 height=%227%22 x=%223%22 y=%2214%22 rx=%221%22 /%3E%3C/svg%3E");
}
[data-ic="list-checks"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m3 17 2 2 4-4%22 /%3E%3Cpath d=%22m3 7 2 2 4-4%22 /%3E%3Cpath d=%22M13 6h8%22 /%3E%3Cpath d=%22M13 12h8%22 /%3E%3Cpath d=%22M13 18h8%22 /%3E%3C/svg%3E");
}
[data-ic-end="list-checks"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m3 17 2 2 4-4%22 /%3E%3Cpath d=%22m3 7 2 2 4-4%22 /%3E%3Cpath d=%22M13 6h8%22 /%3E%3Cpath d=%22M13 12h8%22 /%3E%3Cpath d=%22M13 18h8%22 /%3E%3C/svg%3E");
}
[data-ic="list-todo"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect x=%223%22 y=%225%22 width=%226%22 height=%226%22 rx=%221%22 /%3E%3Cpath d=%22m3 17 2 2 4-4%22 /%3E%3Cpath d=%22M13 6h8%22 /%3E%3Cpath d=%22M13 12h8%22 /%3E%3Cpath d=%22M13 18h8%22 /%3E%3C/svg%3E");
}
[data-ic-end="list-todo"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect x=%223%22 y=%225%22 width=%226%22 height=%226%22 rx=%221%22 /%3E%3Cpath d=%22m3 17 2 2 4-4%22 /%3E%3Cpath d=%22M13 6h8%22 /%3E%3Cpath d=%22M13 12h8%22 /%3E%3Cpath d=%22M13 18h8%22 /%3E%3C/svg%3E");
}
[data-ic="locate-fixed"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cline x1=%222%22 x2=%225%22 y1=%2212%22 y2=%2212%22 /%3E%3Cline x1=%2219%22 x2=%2222%22 y1=%2212%22 y2=%2212%22 /%3E%3Cline x1=%2212%22 x2=%2212%22 y1=%222%22 y2=%225%22 /%3E%3Cline x1=%2212%22 x2=%2212%22 y1=%2219%22 y2=%2222%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%227%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic-end="locate-fixed"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cline x1=%222%22 x2=%225%22 y1=%2212%22 y2=%2212%22 /%3E%3Cline x1=%2219%22 x2=%2222%22 y1=%2212%22 y2=%2212%22 /%3E%3Cline x1=%2212%22 x2=%2212%22 y1=%222%22 y2=%225%22 /%3E%3Cline x1=%2212%22 x2=%2212%22 y1=%2219%22 y2=%2222%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%227%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic="log-out"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4%22 /%3E%3Cpolyline points=%2216 17 21 12 16 7%22 /%3E%3Cline x1=%2221%22 x2=%229%22 y1=%2212%22 y2=%2212%22 /%3E%3C/svg%3E");
}
[data-ic-end="log-out"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4%22 /%3E%3Cpolyline points=%2216 17 21 12 16 7%22 /%3E%3Cline x1=%2221%22 x2=%229%22 y1=%2212%22 y2=%2212%22 /%3E%3C/svg%3E");
}
[data-ic="mail"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2220%22 height=%2216%22 x=%222%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22 /%3E%3C/svg%3E");
}
[data-ic-end="mail"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2220%22 height=%2216%22 x=%222%22 y=%224%22 rx=%222%22 /%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22 /%3E%3C/svg%3E");
}
[data-ic="message-square-plus"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%22 /%3E%3Cpath d=%22M12 7v6%22 /%3E%3Cpath d=%22M9 10h6%22 /%3E%3C/svg%3E");
}
[data-ic-end="message-square-plus"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%22 /%3E%3Cpath d=%22M12 7v6%22 /%3E%3Cpath d=%22M9 10h6%22 /%3E%3C/svg%3E");
}
[data-ic="message-square-text"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%22 /%3E%3Cpath d=%22M13 8H7%22 /%3E%3Cpath d=%22M17 12H7%22 /%3E%3C/svg%3E");
}
[data-ic-end="message-square-text"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%22 /%3E%3Cpath d=%22M13 8H7%22 /%3E%3Cpath d=%22M17 12H7%22 /%3E%3C/svg%3E");
}
[data-ic="navigation"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpolygon points=%223 11 22 2 13 21 11 13 3 11%22 /%3E%3C/svg%3E");
}
[data-ic-end="navigation"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpolygon points=%223 11 22 2 13 21 11 13 3 11%22 /%3E%3C/svg%3E");
}
[data-ic="package"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z%22 /%3E%3Cpath d=%22M12 22V12%22 /%3E%3Cpath d=%22m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7%22 /%3E%3Cpath d=%22m7.5 4.27 9 5.15%22 /%3E%3C/svg%3E");
}
[data-ic-end="package"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z%22 /%3E%3Cpath d=%22M12 22V12%22 /%3E%3Cpath d=%22m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7%22 /%3E%3Cpath d=%22m7.5 4.27 9 5.15%22 /%3E%3C/svg%3E");
}
[data-ic="paintbrush"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m14.622 17.897-10.68-2.913%22 /%3E%3Cpath d=%22M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z%22 /%3E%3Cpath d=%22M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15%22 /%3E%3C/svg%3E");
}
[data-ic-end="paintbrush"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m14.622 17.897-10.68-2.913%22 /%3E%3Cpath d=%22M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z%22 /%3E%3Cpath d=%22M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15%22 /%3E%3C/svg%3E");
}
[data-ic="pencil"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22 /%3E%3Cpath d=%22m15 5 4 4%22 /%3E%3C/svg%3E");
}
[data-ic-end="pencil"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22 /%3E%3Cpath d=%22m15 5 4 4%22 /%3E%3C/svg%3E");
}
[data-ic="plane"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z%22 /%3E%3C/svg%3E");
}
[data-ic-end="plane"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z%22 /%3E%3C/svg%3E");
}
[data-ic="plus"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M5 12h14%22 /%3E%3Cpath d=%22M12 5v14%22 /%3E%3C/svg%3E");
}
[data-ic-end="plus"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M5 12h14%22 /%3E%3Cpath d=%22M12 5v14%22 /%3E%3C/svg%3E");
}
[data-ic="printer"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2%22 /%3E%3Cpath d=%22M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6%22 /%3E%3Crect x=%226%22 y=%2214%22 width=%2212%22 height=%228%22 rx=%221%22 /%3E%3C/svg%3E");
}
[data-ic-end="printer"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2%22 /%3E%3Cpath d=%22M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6%22 /%3E%3Crect x=%226%22 y=%2214%22 width=%2212%22 height=%228%22 rx=%221%22 /%3E%3C/svg%3E");
}
[data-ic="refresh-cw"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8%22 /%3E%3Cpath d=%22M21 3v5h-5%22 /%3E%3Cpath d=%22M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16%22 /%3E%3Cpath d=%22M8 16H3v5%22 /%3E%3C/svg%3E");
}
[data-ic-end="refresh-cw"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8%22 /%3E%3Cpath d=%22M21 3v5h-5%22 /%3E%3Cpath d=%22M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16%22 /%3E%3Cpath d=%22M8 16H3v5%22 /%3E%3C/svg%3E");
}
[data-ic="settings"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic-end="settings"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic="sheet"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%223%22 rx=%222%22 ry=%222%22 /%3E%3Cline x1=%223%22 x2=%2221%22 y1=%229%22 y2=%229%22 /%3E%3Cline x1=%223%22 x2=%2221%22 y1=%2215%22 y2=%2215%22 /%3E%3Cline x1=%229%22 x2=%229%22 y1=%229%22 y2=%2221%22 /%3E%3Cline x1=%2215%22 x2=%2215%22 y1=%229%22 y2=%2221%22 /%3E%3C/svg%3E");
}
[data-ic-end="sheet"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Crect width=%2218%22 height=%2218%22 x=%223%22 y=%223%22 rx=%222%22 ry=%222%22 /%3E%3Cline x1=%223%22 x2=%2221%22 y1=%229%22 y2=%229%22 /%3E%3Cline x1=%223%22 x2=%2221%22 y1=%2215%22 y2=%2215%22 /%3E%3Cline x1=%229%22 x2=%229%22 y1=%229%22 y2=%2221%22 /%3E%3Cline x1=%2215%22 x2=%2215%22 y1=%229%22 y2=%2221%22 /%3E%3C/svg%3E");
}
[data-ic="sparkles"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z%22 /%3E%3Cpath d=%22M20 3v4%22 /%3E%3Cpath d=%22M22 5h-4%22 /%3E%3Cpath d=%22M4 17v2%22 /%3E%3Cpath d=%22M5 18H3%22 /%3E%3C/svg%3E");
}
[data-ic-end="sparkles"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z%22 /%3E%3Cpath d=%22M20 3v4%22 /%3E%3Cpath d=%22M22 5h-4%22 /%3E%3Cpath d=%22M4 17v2%22 /%3E%3Cpath d=%22M5 18H3%22 /%3E%3C/svg%3E");
}
[data-ic="sun"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22 /%3E%3Cpath d=%22M12 2v2%22 /%3E%3Cpath d=%22M12 20v2%22 /%3E%3Cpath d=%22m4.93 4.93 1.41 1.41%22 /%3E%3Cpath d=%22m17.66 17.66 1.41 1.41%22 /%3E%3Cpath d=%22M2 12h2%22 /%3E%3Cpath d=%22M20 12h2%22 /%3E%3Cpath d=%22m6.34 17.66-1.41 1.41%22 /%3E%3Cpath d=%22m19.07 4.93-1.41 1.41%22 /%3E%3C/svg%3E");
}
[data-ic-end="sun"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22 /%3E%3Cpath d=%22M12 2v2%22 /%3E%3Cpath d=%22M12 20v2%22 /%3E%3Cpath d=%22m4.93 4.93 1.41 1.41%22 /%3E%3Cpath d=%22m17.66 17.66 1.41 1.41%22 /%3E%3Cpath d=%22M2 12h2%22 /%3E%3Cpath d=%22M20 12h2%22 /%3E%3Cpath d=%22m6.34 17.66-1.41 1.41%22 /%3E%3Cpath d=%22m19.07 4.93-1.41 1.41%22 /%3E%3C/svg%3E");
}
[data-ic="sunrise"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M12 2v8%22 /%3E%3Cpath d=%22m4.93 10.93 1.41 1.41%22 /%3E%3Cpath d=%22M2 18h2%22 /%3E%3Cpath d=%22M20 18h2%22 /%3E%3Cpath d=%22m19.07 10.93-1.41 1.41%22 /%3E%3Cpath d=%22M22 22H2%22 /%3E%3Cpath d=%22m8 6 4-4 4 4%22 /%3E%3Cpath d=%22M16 18a4 4 0 0 0-8 0%22 /%3E%3C/svg%3E");
}
[data-ic-end="sunrise"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M12 2v8%22 /%3E%3Cpath d=%22m4.93 10.93 1.41 1.41%22 /%3E%3Cpath d=%22M2 18h2%22 /%3E%3Cpath d=%22M20 18h2%22 /%3E%3Cpath d=%22m19.07 10.93-1.41 1.41%22 /%3E%3Cpath d=%22M22 22H2%22 /%3E%3Cpath d=%22m8 6 4-4 4 4%22 /%3E%3Cpath d=%22M16 18a4 4 0 0 0-8 0%22 /%3E%3C/svg%3E");
}
[data-ic="trash-2"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M3 6h18%22 /%3E%3Cpath d=%22M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6%22 /%3E%3Cpath d=%22M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2%22 /%3E%3Cline x1=%2210%22 x2=%2210%22 y1=%2211%22 y2=%2217%22 /%3E%3Cline x1=%2214%22 x2=%2214%22 y1=%2211%22 y2=%2217%22 /%3E%3C/svg%3E");
}
[data-ic-end="trash-2"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M3 6h18%22 /%3E%3Cpath d=%22M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6%22 /%3E%3Cpath d=%22M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2%22 /%3E%3Cline x1=%2210%22 x2=%2210%22 y1=%2211%22 y2=%2217%22 /%3E%3Cline x1=%2214%22 x2=%2214%22 y1=%2211%22 y2=%2217%22 /%3E%3C/svg%3E");
}
[data-ic="triangle-alert"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3%22 /%3E%3Cpath d=%22M12 9v4%22 /%3E%3Cpath d=%22M12 17h.01%22 /%3E%3C/svg%3E");
}
[data-ic-end="triangle-alert"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3%22 /%3E%3Cpath d=%22M12 9v4%22 /%3E%3Cpath d=%22M12 17h.01%22 /%3E%3C/svg%3E");
}
[data-ic="undo-2"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M9 14 4 9l5-5%22 /%3E%3Cpath d=%22M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11%22 /%3E%3C/svg%3E");
}
[data-ic-end="undo-2"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M9 14 4 9l5-5%22 /%3E%3Cpath d=%22M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11%22 /%3E%3C/svg%3E");
}
[data-ic="user"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%2212%22 cy=%227%22 r=%224%22 /%3E%3C/svg%3E");
}
[data-ic-end="user"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%2212%22 cy=%227%22 r=%224%22 /%3E%3C/svg%3E");
}
[data-ic="user-check"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 /%3E%3Cpolyline points=%2216 11 18 13 22 9%22 /%3E%3C/svg%3E");
}
[data-ic-end="user-check"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 /%3E%3Cpolyline points=%2216 11 18 13 22 9%22 /%3E%3C/svg%3E");
}
[data-ic="user-plus"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 /%3E%3Cline x1=%2219%22 x2=%2219%22 y1=%228%22 y2=%2214%22 /%3E%3Cline x1=%2222%22 x2=%2216%22 y1=%2211%22 y2=%2211%22 /%3E%3C/svg%3E");
}
[data-ic-end="user-plus"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 /%3E%3Cline x1=%2219%22 x2=%2219%22 y1=%228%22 y2=%2214%22 /%3E%3Cline x1=%2222%22 x2=%2216%22 y1=%2211%22 y2=%2211%22 /%3E%3C/svg%3E");
}
[data-ic="users"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 /%3E%3Cpath d=%22M22 21v-2a4 4 0 0 0-3-3.87%22 /%3E%3Cpath d=%22M16 3.13a4 4 0 0 1 0 7.75%22 /%3E%3C/svg%3E");
}
[data-ic-end="users"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22 /%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22 /%3E%3Cpath d=%22M22 21v-2a4 4 0 0 0-3-3.87%22 /%3E%3Cpath d=%22M16 3.13a4 4 0 0 1 0 7.75%22 /%3E%3C/svg%3E");
}
[data-ic="x"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M18 6 6 18%22 /%3E%3Cpath d=%22m6 6 12 12%22 /%3E%3C/svg%3E");
}
[data-ic-end="x"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M18 6 6 18%22 /%3E%3Cpath d=%22m6 6 12 12%22 /%3E%3C/svg%3E");
}
[data-ic="eye"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic-end="eye"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0%22 /%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic="eye-off"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49%22 /%3E%3Cpath d=%22M14.084 14.158a3 3 0 0 1-4.242-4.242%22 /%3E%3Cpath d=%22M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143%22 /%3E%3Cpath d=%22m2 2 20 20%22 /%3E%3C/svg%3E");
}
[data-ic-end="eye-off"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49%22 /%3E%3Cpath d=%22M14.084 14.158a3 3 0 0 1-4.242-4.242%22 /%3E%3Cpath d=%22M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143%22 /%3E%3Cpath d=%22m2 2 20 20%22 /%3E%3C/svg%3E");
}
.navchevron {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22m6 9 6 6 6-6%22 /%3E%3C/svg%3E");
}
[data-ic="phone"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z%22 /%3E%3C/svg%3E");
}
[data-ic-end="phone"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z%22 /%3E%3C/svg%3E");
}
[data-ic="book-user"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M15 13a3 3 0 1 0-6 0%22 /%3E%3Cpath d=%22M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20%22 /%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%222%22 /%3E%3C/svg%3E");
}
[data-ic-end="book-user"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M15 13a3 3 0 1 0-6 0%22 /%3E%3Cpath d=%22M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20%22 /%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%222%22 /%3E%3C/svg%3E");
}
[data-ic="map-pin"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0%22 /%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic-end="map-pin"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0%22 /%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22 /%3E%3C/svg%3E");
}
[data-ic="user-round-plus"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M2 21a8 8 0 0 1 13.292-6%22 /%3E%3Ccircle cx=%2210%22 cy=%228%22 r=%225%22 /%3E%3Cpath d=%22M19 16v6%22 /%3E%3Cpath d=%22M22 19h-6%22 /%3E%3C/svg%3E");
}
[data-ic-end="user-round-plus"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M2 21a8 8 0 0 1 13.292-6%22 /%3E%3Ccircle cx=%2210%22 cy=%228%22 r=%225%22 /%3E%3Cpath d=%22M19 16v6%22 /%3E%3Cpath d=%22M22 19h-6%22 /%3E%3C/svg%3E");
}
[data-ic="list-filter"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M3 6h18%22 /%3E%3Cpath d=%22M7 12h10%22 /%3E%3Cpath d=%22M10 18h4%22 /%3E%3C/svg%3E");
}
[data-ic-end="list-filter"] {
  --ic-end: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E%3Cpath d=%22M3 6h18%22 /%3E%3Cpath d=%22M7 12h10%22 /%3E%3Cpath d=%22M10 18h4%22 /%3E%3C/svg%3E");
}

/* Direct resizing is always available, independently of whole-bar moving. */
#pagelong .v4timeentry.runlast { padding-right: 27px; }
#pagelong .runhandle { width: 22px; touch-action: none; user-select: none; }
#pagelong .runhandle::after { left: 8px; border-color: currentColor; opacity: .75; }
#pagelong .runhandle:hover { background: hsl(var(--project-hue, 200) 50% 45% / .38); }

/* Shared inquiry workflow */

#jobboard { grid-template-columns:repeat(5,minmax(270px,1fr)); overflow-x:auto; align-items:start; }
.inquiry-toolbar { display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 0 24px; }
.inquiry-toolbar label { display:flex;align-items:center;gap:12px; }
.inquiry-toolbar select { width:auto;min-width:110px; }
.inquiry-toolbar button[aria-pressed="true"] { background:var(--brand,#a6323b);color:white; }
.inquiry-assignee { font-size:14px;font-weight:650;margin:12px 0;color:var(--muted,#57706a); }
.inquiry-dialog { width:min(860px,calc(100vw - 24px));max-height:90dvh;padding:28px;border:1px solid #80958a55;border-radius:24px;background:var(--surface,#fff);color:var(--text,#19352d);overflow:auto; }
.inquiry-dialog::backdrop { background:#10292088;backdrop-filter:blur(4px); }
.inquiry-heading { display:flex;justify-content:space-between;gap:16px;align-items:start; }
.inquiry-heading h2 { margin:6px 0 12px;font-size:28px; }
.inquiry-heading button { font-size:24px; }
.inquiry-intro { font-size:15px;line-height:1.6;margin-bottom:24px; }
.inquiry-fields { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.inquiry-fields .wide { grid-column:1/-1; }
.inquiry-dialog label { display:flex;flex-direction:column;gap:8px;font-size:15px;min-width:0; }
.inquiry-dialog input,.inquiry-dialog select,.inquiry-dialog textarea { width:100%;box-sizing:border-box;font:inherit;padding:12px;min-height:44px;border:1px solid #80958a66;border-radius:10px;background:transparent;color:inherit; }
.inquiry-dialog details { margin-top:20px;border:1px solid #80958a55;border-radius:14px;padding:16px; }
.inquiry-dialog summary { cursor:pointer;font-weight:650;margin-bottom:12px; }
.inquiry-next { margin-top:24px;padding:20px;border-radius:16px;background:#80958a16; }
.inquiry-dialog .inquiry-check { flex-direction:row;align-items:center;margin:16px 0; }
.inquiry-check input { width:20px;min-height:20px; }
.inquiry-footer { display:flex;gap:12px;justify-content:space-between;padding-top:20px; }
#inqerror { color:#c24550; }
#inqhistory { padding-left:20px; }
#inqhistory li { padding:12px 0;border-bottom:1px solid #80958a33; }
#inqhistory p { margin:6px 0; }
[data-theme="dark"] .inquiry-dialog { background:#1c302b;color:#e4eee8; }
@media(max-width:600px){.inquiry-fields{grid-template-columns:1fr}.inquiry-dialog{padding:18px}.inquiry-footer{flex-direction:column}.inquiry-heading h2{font-size:23px}}

/* Inquiry interactions */
[data-jobcard]{cursor:pointer}
[data-jobcard]:focus-visible{outline:3px solid var(--accent,#ad3039);outline-offset:3px}
#inqconflict{padding:16px;border:1px solid #c99c53;border-radius:14px;background:rgba(201,156,83,.12);margin:12px 0}
#inqconflict[hidden]{display:none}

#jobstats{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}#jobstats>button{min-height:112px;padding:16px 18px;border-radius:18px;text-align:left}#jobstats strong{font-size:32px;line-height:1.2;margin:6px 0}#jobstats small{font-size:14px}#jobstats span{font-size:12px}

.inquiry-dialog [hidden]{display:none!important}

/* Inquiry contacts: readable rows on desktop and phone. */
.inquiry-contacts { margin: 24px 0; }
#inqcontacts .contactrow { grid-template-columns: minmax(120px,1fr) minmax(160px,2fr) 44px; gap: 10px; padding: 16px; }
#inqcontacts .contactrow input, #inqcontacts .contactrow select { font-size: 16px; min-height: 44px; }
#inqcontacts [data-cf="phone"] { grid-column: 1; }
#inqcontacts [data-cf="email"] { grid-column: 2; }
#inqcontacts [data-cf="note"] { grid-column: 1 / 3; }
#inqcontacts .contactremove { grid-column: 3; grid-row: 1; }
#inqcontacts .contactremove::after { content: "×"; font-size: 24px; }
#inqcontacts .contactremove svg { display: none; }
#inqcontacts .contactadd { margin-top: 12px; }
@media(max-width:600px) {
 #inqcontacts .contactrow { grid-template-columns: minmax(0,1fr) 44px; }
 #inqcontacts .contactrow > :not(.contactremove) { grid-column: 1 / -1; }
 #inqcontacts .contactrow > [data-cf="role"] { grid-column: 1; }
 #inqcontacts .contactremove { grid-column: 2; }
}

.detailtabs{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:0;background:var(--surface,#fff);padding:12px 0;z-index:2;border-bottom:1px solid var(--line);margin-bottom:24px}.detailtabs [aria-pressed=true]{background:var(--ink,#183c34);color:white}.detailcard{border:1px solid var(--line);border-radius:22px;padding:22px;margin:16px 0;background:var(--tint,#f3f6f3)}.detailcardhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.detailcardhead button{padding:6px 14px}.detailmuted{font-size:15px;color:var(--muted)}.detailnext{padding:12px;border-radius:12px;background:var(--tint)}#inqdetails [hidden]{display:none!important}#inqdetails input,#inqdetails select{min-width:0;width:100%}#inqdetails textarea{width:100%}.detailempty{padding:24px;border:1px dashed var(--line);border-radius:16px}

.materialphoto{border-top:1px solid var(--line);padding-top:16px}.materialphoto input[type=file]{padding:12px;max-width:100%}.materialphoto figure{margin:12px 0}.materialphoto img{display:block;max-width:100%;max-height:320px;object-fit:contain;border-radius:14px}.materialphoto figcaption{font-size:14px;overflow-wrap:anywhere;margin-top:8px}.materialphoto [role=status]:empty{display:none}

.receiptgroup{margin:26px 0;padding-bottom:24px;border-bottom:1px solid var(--line)}.receiptgroup h4{font-size:20px}.receiptpreview object{display:block;width:100%;height:460px;border:1px solid var(--line);border-radius:12px;background:white}.receiptpreview p{overflow-wrap:anywhere}.receiptpreview a{display:inline-block;padding:12px}.receiptpreview img{max-width:100%;max-height:420px;object-fit:contain}

/* Request attachments and completion controls. */
#detailcontent figure{margin:16px 0;min-width:0}
#detailcontent [data-uploadpreview]{display:block;max-width:100%;max-height:360px;object-fit:contain;border-radius:14px}
#detailcontent figcaption{overflow-wrap:anywhere;font-size:14px;margin-top:8px}
#detailcontent figure a{display:inline-block;padding:10px 0}
#inqdetails input[type=checkbox]{width:22px;min-width:22px;height:22px;flex:0 0 22px}
#inqvisits .inquiry-check{display:flex;align-items:center;gap:12px;padding:12px 0}
.inquiry-footer{flex-wrap:wrap}
#inqphotofiles{max-width:100%;padding:12px}

.offertraffic{display:flex;gap:10px;align-items:center;padding:12px 14px;margin:12px 0;border:1px solid currentColor;border-radius:14px}.offertraffic strong,.offertraffic small{display:block}.offertraffic small{margin-top:4px;font-size:13px}.offertraffic-dot{width:12px;height:12px;border-radius:50%;background:currentColor;flex:none}.offertraffic.green{color:#205e3d;background:#eef8f0}.offertraffic.yellow{color:#795000;background:#fff5d6}.offertraffic.red{color:#a32432;background:#fff0f1}.offertraffic.unknown{color:var(--muted)}[data-theme="dark"] .offertraffic.green{color:#a1dfb7;background:#1b3528}[data-theme="dark"] .offertraffic.yellow{color:#f3d282;background:#3b321b}[data-theme="dark"] .offertraffic.red{color:#ffb1b9;background:#40252b}

/* Entire offer card reflects the deadline, including dark mode. */
.jobcard[data-offer-traffic="green"]{--offer-bg:#bfe5ca;--offer-ink:#17482e;--offer-muted:#3b654b;--offer-border:#58a775}
.jobcard[data-offer-traffic="yellow"]{--offer-bg:#ffe18a;--offer-ink:#553d08;--offer-muted:#705921;--offer-border:#c99b22}
.jobcard[data-offer-traffic="red"]{--offer-bg:#f5b9c2;--offer-ink:#6d1e2b;--offer-muted:#87434d;--offer-border:#cc6578}
html[data-theme="dark"] .jobcard[data-offer-traffic="green"]{--offer-bg:#28543a;--offer-ink:#e1f7e7;--offer-muted:#b4d6bf;--offer-border:#548b66}
html[data-theme="dark"] .jobcard[data-offer-traffic="yellow"]{--offer-bg:#59481e;--offer-ink:#fff2ca;--offer-muted:#e0cc96;--offer-border:#9d833b}
html[data-theme="dark"] .jobcard[data-offer-traffic="red"]{--offer-bg:#622e3b;--offer-ink:#ffe6eb;--offer-muted:#e5b7c0;--offer-border:#a55e6c}
.jobcard[data-offer-traffic]{background:var(--offer-bg);border:1px solid var(--offer-border);color:var(--offer-ink);--ink:var(--offer-ink);--muted:var(--offer-muted)}
.jobcard[data-offer-traffic] .offertraffic{background:transparent;color:var(--offer-ink);border:0;padding:0;margin:4px 0 8px}

.inquiry-suggestfield{position:relative}.inquiry-suggestions{position:absolute;top:100%;left:0;right:0;z-index:10;background:var(--surface,#fff);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 28px #0002;padding:8px;max-height:310px;overflow:auto}.inquiry-suggestions>small{display:block;padding:6px 10px}.inquiry-suggestions button{display:block;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;padding:10px;box-shadow:none}.inquiry-suggestions button:hover,.inquiry-suggestions button:focus-visible{background:var(--tint)}.inquiry-suggestions strong,.inquiry-suggestions span{display:block;white-space:normal;overflow-wrap:anywhere}.inquiry-suggestions span{font-size:14px;color:var(--muted)}

/* Explicit foreground/background pairs for selected inquiry tabs. */
#inquiryeditor .detailtabs button[aria-pressed="true"]{background:#183c34;color:#ffffff;border-color:#183c34}
html[data-theme="dark"] #inquiryeditor .detailtabs button[aria-pressed="true"]{background:#dcebe4;color:#173b32;border-color:#dcebe4}
#inquiryeditor .detailtabs button:focus-visible{outline:3px solid var(--brand,#a6323b);outline-offset:3px}

/* Stable two-axis planning viewport, including iPad Safari. */
#pagelong #timelineviewport {max-height:65vh;max-height:65dvh;overflow:auto;overflow-anchor:none;}
#timelinegrid > .timelinehead {position:sticky;top:0;z-index:7;background:var(--tint);}
#timelinegrid > .timelinehead:first-child {top:0;left:0;z-index:8;}
#timelinegrid {overflow-anchor:none;}

#timelinegrid,#timelinegrid *,#v4stocklist .v4stockitem,#v4stocklist .v4stockitem * {
 -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;
}
#timelineviewport {overscroll-behavior:contain;}
.entrymenu {max-height:calc(100dvh - 24px);overflow-y:auto;}
.entrymenu button {min-height:44px;}
.timeline-move-hint {position:sticky;top:0;z-index:12;background:var(--surface);border:2px solid var(--accent);padding:12px;display:flex;gap:16px;align-items:center;}
.timeline-move-hint[hidden]{display:none;}

#tabletplanbar[hidden]{display:none;}
#tabletplanbar{position:fixed;bottom:0;left:0;right:0;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px calc(12px + env(safe-area-inset-bottom));background:var(--surface);color:var(--text);border-top:1px solid var(--line);box-shadow:0 -6px 24px #0002;}
.tabletplaninfo{display:grid;gap:3px;min-width:0;}
.tabletplaninfo strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tabletplaninfo span{font-size:15px;}
.tabletplaninfo small{font-size:13px;}
#tabletplanbudget.budgetnegative{color:#c13345;font-weight:700;}
html[data-theme="dark"] #tabletplanbudget.budgetnegative{color:#ffb1bd;}
.tabletplanbuttons{display:flex;gap:10px;flex-shrink:0;}
.tabletplanbuttons button{min-height:48px;}
body.tabletplanactive #pagelong{padding-bottom:210px;}
body.tabletplanactive #timelineviewport{scroll-padding-bottom:12px;}
@media(max-width:600px){#tabletplanbar{padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:8px;flex-direction:column;align-items:stretch;}.tabletplanbuttons{justify-content:flex-end;}.tabletplaninfo span,.tabletplaninfo small{font-size:12px;}}

.pagesnav #adminnavlinks{position:absolute;min-width:0;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;animation:none;transform:none;}
.pagesnav #adminnavlinks a{white-space:normal;overflow-wrap:anywhere;min-height:44px;}

/* Reserve a real column for trade icons; never paint them over customer names. */
#pageweek #board .card:has(.workkindbadge){display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:8px;padding:12px;text-align:left;}
#pageweek #board .card:has(.workkindbadge)>*{grid-column:2;min-width:0;max-width:100%;overflow-wrap:anywhere;}
#pageweek #board .card .workkindbadge{position:static;grid-column:1;grid-row:1;align-self:start;justify-self:center;margin:3px 0 0;width:20px;height:20px;}
#pageweek #board .card .site-label,#pageweek #board .card strong{white-space:normal;line-height:1.35;}
@media(max-width:1366px){
 #pageweek:not(.phonecompact) section.board{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
 #pageweek:not(.phonecompact) #board{display:grid;width:max-content;min-width:100%;grid-template-columns:130px repeat(5,220px) repeat(2,180px);}
 #pageweek:not(.phonecompact) #board>.heading,#pageweek:not(.phonecompact) #board>.cell{display:block;}
 #pageweek:not(.phonecompact) #board>.person{position:sticky;left:0;z-index:3;background:var(--surface);padding:16px 10px;flex-direction:column;box-shadow:2px 0 5px #0001;}
 #pageweek:not(.phonecompact) #board>.heading:first-child{position:sticky;left:0;z-index:4;background:var(--surface);}
 #pageweek:not(.phonecompact) #board>.cell{padding:10px;min-width:0;}
 #pageweek:not(.phonecompact) #board .card strong{font-size:15px;}
 #pageweek:not(.phonecompact) .mobileday{display:none;}
 #pageweek .weekbar,#pageweek .planviewbar{min-width:0;max-width:100%;flex-wrap:wrap;gap:12px;}
 #pageweek .weeknav{flex-wrap:wrap;min-width:0;}
}
@media print{#pageweek:not(.phonecompact) section.board{overflow:visible;}#pageweek:not(.phonecompact) #board{width:100%;grid-template-columns:80px repeat(7,minmax(0,1fr));}#pageweek #board>.person{position:static;}}

/* Fixed stock controls; only the project cards scroll inside the panel. */
#pagelong .v4stock{display:flex;flex-direction:column;align-self:start;overflow:hidden;height:min(720px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);box-sizing:border-box;}
#pagelong .v4stock>.v4stockhead,#pagelong .v4stock>#v4stocksearch,#pagelong .v4stock>.stocktools,#pagelong .v4stock>#v4stocknew{flex-shrink:0;}
#pagelong #v4stocklist{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-right:4px;scrollbar-gutter:stable;}
#pagelong #v4stocknew{margin-top:10px;}
body.tabletplanactive #pagelong .v4stock{height:min(720px,calc(100dvh - 240px));max-height:calc(100dvh - 240px);}
@media(max-width:780px){#pagelong .v4stock,body.tabletplanactive #pagelong .v4stock{position:static;height:min(460px,calc(100dvh - 160px));max-height:none;padding:12px;}#pagelong .v4stockhead{margin-bottom:8px;}#pagelong .stocktools{margin-bottom:8px;}}

/* Size controls from the available planning column, including Safari date inputs. */
#pagelong .v4planningboard{container-type:inline-size;min-width:0;max-width:100%;}
#pagelong .timelinecontrols{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:end;gap:14px;padding:16px;}
#pagelong .timelinecontrols>label{min-width:0;width:100%;max-width:100%;align-self:stretch;justify-content:space-between;}
#pagelong .timelinecontrols input,#pagelong .timelinecontrols select{width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;box-sizing:border-box;font-size:16px;line-height:1.25;padding:10px;}
#pagelong input[type="date"],#pagelong input[type="time"]{min-inline-size:0;max-inline-size:100%;}
#pagelong input::-webkit-date-and-time-value{text-align:left;min-width:0;}
#pagelong .v4projectheading{flex-wrap:wrap;gap:10px;}
#pagelong .v4projectheading h2{flex:1 1 200px;min-width:0;overflow-wrap:anywhere;}
#pagelong .clockhours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
#pagelong .clockhours>label{min-width:0;}
#pagelong .clockhours input{width:100%;min-width:0;box-sizing:border-box;font-size:16px;min-height:44px;}
#pagelong .clockhours small{grid-column:1/-1;}
#pagelong .teamoptions{display:flex;flex-wrap:wrap;gap:12px 18px;}
#pagelong .teamoptions label{min-height:44px;margin:0;}
#pagelong .longcalendarshortcuts,#pagelong .hapticbar,#pagelong .timelineactions{display:flex;flex-wrap:wrap;gap:10px;min-width:0;}
#pagelong .longcalendarshortcuts button,#pagelong .hapticbar>button,#pagelong .timelineactions button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px;}
#pagelong .hapticzoom{max-width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;}
#pagelong .hapticzoom button{min-height:40px;min-width:0;}
#pagelong .stocksort select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-size:16px;}
#pagelong .stocktools,#pagelong .stockkinds{min-width:0;max-width:100%;}
@container(max-width:420px){#pagelong .timelinecontrols{grid-template-columns:minmax(0,1fr);padding:12px;}#pagelong .longcalendarshortcuts button,#pagelong .hapticbar>button{flex:1 1 100%;}}
@media(max-width:600px){#pagelong{padding:12px;}#pagelong .v4planninglayout{gap:16px;}#pagelong .timelinecontrols{grid-template-columns:minmax(0,1fr);}#pagelong .clockcheck{align-items:flex-start;white-space:normal;}#pagelong .clockcheck small{min-width:0;}#pagelong .teamsection{padding:12px;}}

@media(any-pointer:coarse){#pagelong .runhandle{width:34px;touch-action:none;-webkit-user-select:none;user-select:none;}#pagelong .runhandle::after{left:13px;}#pagelong .v4timeentry:has(.runhandle){padding-right:40px;}}

/* External planning resources */
.subcontractorbadge{display:inline-block;font-size:12px;line-height:1.4;font-weight:600;padding:3px 7px;border:1px solid currentColor;border-radius:6px;white-space:normal;overflow-wrap:anywhere;color:inherit;opacity:.85}
.timelinename .subcontractorbadge{display:block;width:fit-content;margin-top:7px}
#staffkind{width:100%;min-height:44px;font:inherit;box-sizing:border-box}

#pagefiles{max-width:1200px;margin-inline:auto}#filesearch{width:100%;max-width:600px;min-height:48px;font:inherit;box-sizing:border-box}
#filetree details{border:1px solid var(--border,#c8d4ce);border-radius:14px;padding:16px;margin:12px 0;background:var(--surface,transparent)}
#filetree summary{cursor:pointer;font-weight:650;min-height:32px;overflow-wrap:anywhere}#filetree summary small{font-weight:400;margin-left:10px}
.fileitem{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border,#c8d4ce)}.fileitem>div{min-width:0;flex:1;overflow-wrap:anywhere}.fileitem p{margin:4px 0}.fileitem img{width:64px;height:64px;object-fit:cover;border-radius:8px}.filetype{font-size:12px;font-weight:700}.fileitem a{padding:10px;min-height:24px}
@media(max-width:600px){#filetree details{padding:10px}.fileitem{flex-wrap:wrap}.fileitem a{width:100%}#filetree summary small{display:block;margin:4px 0}}

/* A dedicated touch grip leaves the rest of the timeline scrollable. */
.v4timeentry.movable{cursor:grab;padding-left:38px!important;position:relative}
.runmovehandle{position:absolute;left:0;top:0;bottom:0;width:32px;display:flex;align-items:center;justify-content:center;font-size:23px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-right:1px solid currentColor;opacity:.65}
@media(any-pointer:coarse){.v4timeentry.movable{padding-left:46px!important}.runmovehandle{width:40px;min-height:44px}}
.hapticdragging .runmovehandle,.hapticdragging .v4timeentry{cursor:grabbing}
