:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #131313;
  color: #f1f3f4;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #131313;
  --sidebar-width: 0px;
}

body.is-authenticated {
  --sidebar-width: 190px;
}

body.is-authenticated.sidebar-open {
  --sidebar-width: 190px;
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  align-items: center;
  gap: 56px;
  padding: 48px 0;
}

.brand-panel h1,
.auth-panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.brand-panel h1 {
  font-size: clamp(72px, 12vw, 148px);
  line-height: 0.86;
  color: #f1f3f4;
}

.auth-panel h2 {
  font-size: 36px;
  line-height: 1.05;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f6a43a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro {
  max-width: 520px;
  margin: 28px 0 0;
  color: #bdc1c6;
  font-size: 20px;
  line-height: 1.45;
}

.auth-panel {
  background: #1b1b1b;
  border: 1px solid #3c4043;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  padding: 34px;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.auth-project-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #303134;
  color: #9aa0a6;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.auth-project-note a {
  color: #d7dadc;
  font-weight: 700;
  text-decoration: none;
}

.auth-project-note a:hover {
  color: #f6a43a;
  text-decoration: underline;
}

label {
  display: grid;
  gap: 8px;
  color: #e8eaed;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #5f6368;
  border-radius: 6px;
  background: #111111;
  color: #f1f3f4;
  padding: 0 14px;
  outline: none;
}

select {
  min-height: 40px;
  border: 1px solid #5f6368;
  border-radius: 6px;
  background: #111111;
  color: #f1f3f4;
  padding: 0 12px;
  outline: none;
}

input:focus {
  border-color: #f6a43a;
  box-shadow: 0 0 0 3px rgba(246, 164, 58, 0.16);
}

button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f6a43a;
  color: #111111;
  font-weight: 800;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

button.secondary-button {
  border: 1px solid #5f6368;
  background: transparent;
  color: #f1f3f4;
}

button.secondary-button:hover:not(:disabled) {
  border-color: #f6a43a;
  background: rgba(246, 164, 58, 0.12);
}

button:hover:not(:disabled) {
  background: #ffb452;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.error {
  min-height: 20px;
  margin: 0;
  color: #ff8a80;
  font-size: 14px;
  font-weight: 700;
}

.auth-setup-fields {
  display: grid;
  gap: 18px;
}

.calendar-app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  background: #131313;
  color: #e8eaed;
}

.day-plan-app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  background: #131313;
  color: #e8eaed;
}

.day-agenda-app {
  position: fixed;
  inset: 0 0 0 var(--sidebar-width);
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  background: #131313;
  color: #e8eaed;
  transition: left 140ms ease;
}

.calendar-app,
.day-plan-app {
  left: var(--sidebar-width);
  transition: left 140ms ease;
}

.simple-page-app {
  position: fixed;
  inset: 0 0 0 var(--sidebar-width);
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  background: #131313;
  color: #e8eaed;
  transition: left 140ms ease;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-width);
  overflow: hidden;
  border-right: 1px solid #303134;
  background: #18191a;
  transition: width 140ms ease;
}

.sidebar-toggle {
  display: none;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  margin: 10px 8px;
  border-radius: 8px;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 4px 8px;
}

.top-order-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 180px) auto;
  gap: 6px;
  align-items: center;
}

.top-order-search input {
  min-width: 0;
  min-height: 34px;
  border: 1px solid #3c4043;
  border-radius: 6px;
  padding: 0 8px;
  background: #18191a;
  color: #f1f3f4;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.top-order-search button {
  min-width: 48px;
  min-height: 34px;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 12px;
}

.top-order-search small {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-height: 13px;
  color: #bdc1c6;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.sidebar-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 174px;
  min-height: 36px;
  border-radius: 7px;
  padding: 0 11px;
  background: transparent;
  color: #e8eaed;
  text-align: left;
}

.sidebar-nav button:hover {
  background: #2a2b2d;
  color: #f1f3f4;
}

.nav-badge {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-badge.is-red {
  background: #e5484d;
}

.nav-badge.is-orange {
  background: #f59e0b;
}

.nav-badge.is-blue {
  background: #2563eb;
}

.nav-badge.is-green {
  background: #16a34a;
}

.sidebar-nav .sidebar-clock-button {
  align-items: start;
  display: grid;
  gap: 2px;
  min-height: 48px;
  margin-top: 8px;
  background: #243225;
  color: #d8f5dc;
}

.sidebar-nav .sidebar-clock-button:hover {
  background: #2d3d2e;
}

.sidebar-clock-button.is-active {
  background: #3a241f;
  color: #ffd8cf;
}

.sidebar-clock-button.is-active:hover {
  background: #4a2b25;
}

.sidebar-clock-button small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.78;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-nav .sidebar-logout-button {
  margin-top: 8px;
  border: 1px solid #3c4043;
  background: #202124;
  color: #f1f3f4;
}

.sidebar-nav .sidebar-logout-button:hover {
  border-color: #f6a43a;
  background: rgba(246, 164, 58, 0.14);
  color: #ffffff;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 7px 14px;
  background: #1b1b1b;
  border-bottom: 1px solid #202124;
}

.calendar-left,
.calendar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.calendar-toolbar h2 {
  min-width: 170px;
  margin: 0;
  color: #f1f3f4;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.toolbar-button,
.icon-button,
.toolbar-link {
  min-height: 40px;
  border: 1px solid #5f6368;
  background: transparent;
  color: #f1f3f4;
}

.toolbar-button,
.toolbar-link {
  padding: 0 18px;
}

.toolbar-link {
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.icon-button {
  width: 36px;
  padding: 0;
  border-color: transparent;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.toolbar-button:hover:not(:disabled),
.icon-button:hover:not(:disabled),
.toolbar-link:hover {
  background: #2a2b2d;
  color: #ffffff;
}

.date-input,
.planner-select {
  min-height: 40px;
  border-radius: 999px;
  background: #111213;
  color: #f1f3f4;
}

.date-input {
  width: 150px;
}

.planner-select {
  width: 190px;
  border: 1px solid #5f6368;
  padding: 0 12px;
}

.toolbar-field {
  display: grid;
  gap: 2px;
  color: #bdc1c6;
  font-size: 11px;
  font-weight: 800;
}

.toolbar-field span {
  padding-left: 12px;
  text-transform: uppercase;
}

.user-chip,
.job-count {
  color: #bdc1c6;
  font-size: 13px;
  white-space: nowrap;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(154px, 1fr));
  grid-template-rows: repeat(5, minmax(116px, 1fr));
  min-height: 0;
  overflow: auto;
  padding: 0 24px 16px;
}

.calendar-grid.weeks-6 {
  grid-template-rows: repeat(6, minmax(116px, 1fr));
}

.calendar-day {
  position: relative;
  min-width: 0;
  min-height: 116px;
  overflow: hidden;
  background: #111213;
  border-right: 1px solid #303134;
  border-bottom: 1px solid #303134;
  cursor: pointer;
  outline: none;
}

.calendar-day:focus-visible {
  box-shadow: inset 0 0 0 2px #8ab4f8;
}

.calendar-day:nth-child(7n + 1) {
  border-left: 1px solid #303134;
}

.calendar-day:nth-child(-n + 7) {
  border-top: 1px solid #303134;
}

.calendar-day:nth-child(1) {
  border-top-left-radius: 26px;
}

.calendar-day:nth-child(7) {
  border-top-right-radius: 26px;
}

.calendar-day:nth-last-child(7) {
  border-bottom-left-radius: 26px;
}

.calendar-day:last-child {
  border-bottom-right-radius: 26px;
}

.calendar-day.is-outside {
  color: #6f7378;
}

.day-header {
  height: 48px;
  display: grid;
  place-items: center;
  align-content: center;
  padding-top: 8px;
}

.weekday {
  color: #dfe6f8;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.day-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #e8eaed;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.is-outside .day-number {
  color: #80868b;
}

.day-number.is-today {
  background: #8ab4f8;
  color: #10233f;
}

.day-events {
  position: relative;
  display: grid;
  grid-template-rows: repeat(4, 24px) 20px;
  gap: 0;
  padding-top: 2px;
}

.event-slot {
  min-width: 0;
  height: 24px;
}

.event {
  min-width: 0;
  min-height: 0;
  height: 22px;
  border: 0;
  border-radius: 0;
  margin: 1px 8px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  overflow: hidden;
  color: rgba(255, 225, 186, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  white-space: nowrap;
}

button.event {
  cursor: pointer;
}

button.event:hover {
  background: rgba(154, 105, 45, 0.18);
  color: #ffffff;
}

.event.is-dot::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9b6a2e;
}

.event.is-bar {
  position: relative;
  z-index: 1;
  width: calc(100% - 16px);
  margin-left: 0;
  margin-right: 0;
  padding: 0 9px;
  background: #8a5e2b;
  border-radius: 5px;
  color: rgba(255, 224, 188, 0.72);
}

button.event.is-bar:hover {
  background: #a06d31;
}

.event.is-bar.span-2 {
  width: calc((100% + 1px) * 2 - 16px);
}

.event.is-bar.span-3 {
  width: calc((100% + 1px) * 3 - 16px);
}

.event.is-bar.span-4 {
  width: calc((100% + 1px) * 4 - 16px);
}

.event.is-bar.span-5 {
  width: calc((100% + 1px) * 5 - 16px);
}

.event.is-bar.span-6 {
  width: calc((100% + 1px) * 6 - 16px);
}

.event.is-bar.span-7 {
  width: calc((100% + 1px) * 7 - 16px);
}

.event.is-bar:not(.starts-here) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.event.is-bar:not(.ends-here) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.event.is-manual {
  background: #5d6f95;
  color: #d9e4ff;
}

.event.is-cancelled {
  opacity: 0.48;
  text-decoration: line-through;
}

.event-time {
  color: #ffffff;
}

.event-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
}

.event-assignee {
  flex: 0 0 auto;
  color: #d8e8ff;
  font-size: 11px;
}

.event.has-pending-request {
  box-shadow: inset 0 0 0 1px #f6c453;
}

.event.is-dot.has-pending-request::before {
  background: #f6c453;
  box-shadow: 0 0 0 2px rgba(246, 196, 83, 0.22);
}

.event-request-pending {
  flex: 0 0 auto;
  overflow: hidden;
  max-width: 116px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f6c453;
  color: #322400;
  font-size: 10px;
  font-weight: 900;
  line-height: 16px;
  text-overflow: ellipsis;
}

.more-row {
  margin: 2px 8px 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.calendar-loading {
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  color: #bdc1c6;
}

.day-agenda-content {
  min-height: 0;
  overflow: auto;
  padding: 18px 36px 28px;
}

.day-agenda-surface {
  min-width: 820px;
  min-height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #101112;
}

.day-agenda-header {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0;
  padding: 16px 20px 18px 8px;
  border-bottom: 1px solid #303134;
}

.day-date-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  color: #dfe6f8;
}

.day-date-card span {
  font-size: 11px;
  font-weight: 900;
}

.day-date-card strong {
  color: #8ab4f8;
  font-size: 30px;
  line-height: 1;
}

.day-floating-list {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.day-floating-empty {
  padding: 10px 12px;
  color: #80868b;
  font-size: 13px;
  font-weight: 700;
}

.day-floating-job,
.day-timed-job {
  width: 100%;
  min-height: 24px;
  border: 0;
  border-radius: 5px;
  padding: 4px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #e59b35;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.day-floating-job:hover,
.day-timed-job:hover {
  background: #ffad3f;
}

.day-floating-job.is-manual,
.day-timed-job.is-manual {
  background: #4f9bd0;
}

.day-floating-job strong,
.day-timed-job strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-floating-job span,
.day-timed-job span {
  flex: 0 0 auto;
}

.day-floating-job em,
.day-timed-job em {
  flex: 0 0 auto;
  margin-left: auto;
  font-style: normal;
  opacity: 0.78;
}

.day-timeline {
  display: grid;
}

.hour-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  min-height: 48px;
}

.hour-label {
  padding: 0 14px 0 0;
  display: grid;
  justify-items: end;
  align-content: start;
  color: #dfe6f8;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-7px);
}

.hour-lane {
  position: relative;
  min-height: 48px;
  border-top: 1px solid #303134;
}

.day-timed-job {
  position: relative;
  z-index: 1;
  width: calc(100% - 14px);
  margin-left: 0;
  margin-right: 14px;
  margin-bottom: 2px;
}

.minute-0 { margin-top: 0; }
.minute-5 { margin-top: 4px; }
.minute-10 { margin-top: 8px; }
.minute-15 { margin-top: 12px; }
.minute-20 { margin-top: 16px; }
.minute-25 { margin-top: 20px; }
.minute-30 { margin-top: 24px; }
.minute-35 { margin-top: 28px; }
.minute-40 { margin-top: 32px; }
.minute-45 { margin-top: 36px; }
.minute-50 { margin-top: 40px; }
.minute-55 { margin-top: 44px; }


.day-plan-content {
  min-height: 0;
  overflow: auto;
  padding: 24px;
}

.day-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.day-plan-editbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.day-plan-editbar span {
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

#recalculateDayPlanButton.is-stale {
  border-color: #ff5a60;
  background: #7f1d1d;
  color: #ffffff;
  animation: route-stale-pulse 0.9s ease-in-out infinite;
}

@keyframes route-stale-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 96, 0.38);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 90, 96, 0.06);
  }
}

.orb-planner-composer {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 138px);
  z-index: 50;
  display: grid;
  gap: 12px;
  width: min(520px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 170px));
  overflow: auto;
  padding: 14px;
  border: 1px solid #303134;
  border-radius: 14px;
  background:
    radial-gradient(circle at right top, rgba(34, 211, 238, 0.16), transparent 34%),
    rgba(24, 25, 26, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
}

.orb-planner-composer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.orb-planner-composer-head h3 {
  margin: 2px 0 0;
  color: #f1f3f4;
  font-size: 16px;
}

.orb-planner-head,
.orb-planner-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.orb-planner-head h3 {
  margin: 2px 0 4px;
  color: #f1f3f4;
  font-size: 16px;
}

.orb-planner-head p,
.orb-planner-actions span,
.orb-planner-result span,
.orb-planner-result p,
.orb-planner-result li {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.orb-planner-head p,
.orb-planner-result p,
.orb-planner-result ul {
  margin: 0;
}

.orb-planner-result ul {
  padding-left: 18px;
}

.route-ai-card {
  display: grid;
  gap: 12px;
  border: 1px solid #303134;
  border-left: 4px solid #34d399;
  border-radius: 8px;
  background: #111316;
  padding: 14px;
}

.day-optimizer-panel {
  display: block;
}

.day-optimizer-panel > summary {
  cursor: pointer;
  list-style: none;
}

.day-optimizer-panel > summary::-webkit-details-marker {
  display: none;
}

.day-optimizer-panel:not([open]) > :not(summary) {
  display: none;
}

.day-optimizer-summary::after {
  content: "Open";
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.day-optimizer-panel[open] .day-optimizer-summary::after {
  content: "Sluit";
}

.day-optimizer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.day-optimizer-actions small {
  color: #bdc1c6;
  font-weight: 700;
}

.route-ai-card.is-warning {
  border-left-color: #facc15;
}

.day-lock-card {
  margin-bottom: 14px;
}

.day-lock-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  align-items: center;
}

.day-lock-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8eaed;
  font-size: 12px;
  font-weight: 900;
}

.day-lock-options input[type="text"] {
  min-height: 34px;
  border: 1px solid #3c4043;
  border-radius: 6px;
  background: #0b0d10;
  color: #f1f3f4;
  padding: 0 10px;
}

.locked-day-changes {
  display: grid;
  gap: 8px;
}

.locked-day-changes article {
  border: 1px solid #5f3b13;
  border-radius: 7px;
  background: #251706;
  padding: 9px;
}

.locked-day-changes article.needs-approval {
  border-color: #7f1d1d;
  background: #2a0d0d;
}

.locked-day-changes strong,
.locked-day-changes p {
  margin: 0;
}

.locked-day-changes p {
  margin-top: 3px;
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.next-step-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid #2f4f46;
  border-left: 4px solid #34d399;
  border-radius: 8px;
  background: #101816;
}

.next-step-panel h3,
.next-step-panel p {
  margin: 0;
}

.next-step-panel h3 {
  color: #f6f7f8;
}

.next-step-panel p {
  margin-top: 5px;
  color: #bdc1c6;
}

.next-step-panel.is-done {
  border-left-color: #8ab4f8;
}

.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.route-ai-card.is-high,
.route-ai-card.is-critical {
  border-left-color: #ff5a60;
}

.route-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.route-ai-head h3 {
  margin: 2px 0 0;
  color: #f1f3f4;
  font-size: 18px;
  line-height: 1.2;
}

.route-ai-kicker {
  color: #22d3ee;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-ai-score {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #3c4043;
  border-radius: 50%;
  background: #0b0d10;
  color: #f1f3f4;
  font-size: 18px;
  font-weight: 1000;
}

.route-ai-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.route-ai-badge {
  border: 1px solid #3c4043;
  border-radius: 999px;
  background: #171a1f;
  color: #e8eaed;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.route-ai-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #e8eaed;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.route-ai-suggestions {
  display: grid;
  gap: 8px;
}

.route-ai-suggestions article {
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  padding: 9px 10px;
}

.route-ai-suggestions strong {
  color: #f1f3f4;
  font-size: 13px;
}

.route-ai-suggestions p,
.route-ai-card small,
.route-ai-warning {
  margin: 0;
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.route-ai-warning {
  color: #fca5a5;
}

.orb-planner-kicker {
  color: #22d3ee;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orb-planner-input {
  width: 100%;
  min-height: 112px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #101112;
  color: #f1f3f4;
  padding: 12px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.orb-planner-input:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
  outline: none;
}

.orb-chat-panel {
  display: grid;
  gap: 8px;
}

.orb-unified-form {
  display: grid;
  gap: 10px;
}

.orb-chat-log {
  display: grid;
  gap: 7px;
  max-height: 220px;
  overflow: auto;
}

.orb-chat-message {
  display: grid;
  gap: 3px;
  max-width: 92%;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 8px 10px;
  background: #16181d;
}

.orb-chat-message.is-user {
  justify-self: end;
  border-color: rgba(34, 211, 238, 0.42);
}

.orb-chat-message.is-current-question {
  border-color: rgba(255, 90, 96, 0.5);
  border-left: 3px solid #ff5a60;
}

.orb-chat-message span {
  color: #22d3ee;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.orb-chat-message p {
  margin: 0;
  color: #f1f3f4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  white-space: pre-line;
}

.orb-planner-results {
  display: grid;
  gap: 14px;
}

.orb-planner-results h4 {
  margin: 0 0 8px;
  color: #f1f3f4;
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.orb-planner-list {
  display: grid;
  gap: 8px;
}

.orb-planner-result {
  display: grid;
  gap: 5px;
  border: 1px solid #303134;
  border-left: 4px solid #facc15;
  border-radius: 8px;
  padding: 10px 12px;
  background: #101112;
}

.orb-planner-result strong {
  color: #f1f3f4;
  font-size: 13px;
}

.orb-planner-result.is-ok {
  border-left-color: #34d399;
}

.orb-planner-result.is-blocked {
  border-left-color: #ff5a60;
}

.orb-candidate-list {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.orb-candidate-row {
  display: grid;
  gap: 3px;
  border: 1px solid #303134;
  border-radius: 7px;
  padding: 8px 9px;
  background: #151617;
}

.orb-candidate-row strong {
  color: #f1f3f4;
  font-size: 12px;
}

.orb-candidate-row span,
.orb-candidate-row small {
  color: #bdc1c6;
  font-size: 11px;
  font-weight: 800;
}

.orb-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.orb-question-chat {
  display: block;
}

.orb-question-chat input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #0f1115;
  color: #f1f3f4;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.orb-question-chat input:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
  outline: none;
}

.orb-status-line {
  margin: 0;
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.orb-correction-form {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #151617;
}

.orb-correction-form label {
  gap: 5px;
  font-size: 11px;
}

.orb-correction-form input,
.orb-correction-form textarea,
.orb-correction-form select {
  min-height: 34px;
  border-radius: 6px;
  font-size: 12px;
}

.orb-correction-form textarea {
  resize: vertical;
}

.orb-correction-form .form-wide {
  grid-column: 1 / -1;
}

.orb-extra-stop {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-left: 3px solid #22d3ee;
  border-radius: 8px;
  padding: 9px;
  background: rgba(34, 211, 238, 0.08);
}

.orb-extra-stop strong {
  color: #f1f3f4;
  font-size: 12px;
}

.edit-toggle {
  background: #2a2b2d;
  color: #e8eaed;
}

.edit-toggle.is-active {
  background: #f6a43a;
  color: #111111;
}

.day-plan-content:not(.is-editing) .assignment-box,
.day-plan-content:not(.is-editing) .override-box,
.day-plan-content:not(.is-editing) .compact-assignment,
.day-plan-content:not(.is-editing) .day-order-task .icon-action {
  display: none;
}

.summary-tile {
  padding: 16px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #171819;
}

.summary-tile span {
  display: block;
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-tile strong {
  display: block;
  margin-top: 8px;
  color: #f1f3f4;
  font-size: 24px;
}

.day-warning {
  margin: 0 0 18px;
  color: #ffcf88;
  font-weight: 700;
}

.day-plan-progress {
  width: min(620px, 100%);
  margin: 120px auto 0;
  color: #e8eaed;
}

.day-plan-progress strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
}

.day-plan-progress small {
  display: block;
  margin-top: 8px;
  color: #bdc1c6;
  font-weight: 800;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #303134;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #f6a43a;
  transition: width 220ms ease;
}

.progress-5 span { width: 5%; }
.progress-10 span { width: 10%; }
.progress-15 span { width: 15%; }
.progress-20 span { width: 20%; }
.progress-25 span { width: 25%; }
.progress-30 span { width: 30%; }
.progress-35 span { width: 35%; }
.progress-40 span { width: 40%; }
.progress-45 span { width: 45%; }
.progress-50 span { width: 50%; }
.progress-55 span { width: 55%; }
.progress-60 span { width: 60%; }
.progress-65 span { width: 65%; }
.progress-70 span { width: 70%; }
.progress-75 span { width: 75%; }
.progress-80 span { width: 80%; }
.progress-85 span { width: 85%; }
.progress-90 span { width: 90%; }
.progress-95 span { width: 95%; }
.progress-100 span { width: 100%; }

.route-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-stop {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid #303134;
}

.route-stop:last-child {
  border-bottom: 1px solid #303134;
}

.route-stop.is-complete {
  opacity: 0.62;
}

.route-stop.is-arrived {
  background: rgba(52, 211, 153, 0.07);
}

.route-stop.is-complete .route-heading h3 {
  text-decoration: line-through;
}

.route-time {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 5px;
  color: #bdc1c6;
}

.route-time strong {
  color: #f1f3f4;
  font-size: 20px;
}

.route-time-edit,
.route-title-edit,
.route-address-edit {
  display: inline;
  min-width: 0;
  border: 0;
  border-radius: 4px;
  padding: 1px 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: inherit;
}

.route-address-edit {
  text-align: left;
}

.inline-edit-trigger {
  cursor: pointer;
}

.inline-edit-trigger:hover,
.inline-edit-trigger:focus-visible {
  outline: 1px solid rgba(255, 178, 83, 0.75);
  background: rgba(255, 178, 83, 0.08);
}

.inline-edit-trigger.is-saving {
  opacity: 0.65;
}

.inline-edit-field {
  min-height: 28px;
  max-width: min(100%, 420px);
  border: 1px solid #f6ad55;
  border-radius: 6px;
  padding: 4px 8px;
  background: #101112;
  color: #f1f3f4;
  font: inherit;
}

.route-time .inline-edit-field {
  max-width: 110px;
  text-align: right;
}

.route-time span {
  font-size: 12px;
}

.route-body {
  min-width: 0;
}

.route-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.route-heading h3 {
  min-width: 0;
  margin: 0;
  color: #f1f3f4;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.route-type {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #8a5e2b;
  color: #ffe0bc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.route-body p {
  margin: 8px 0 0;
  color: #bdc1c6;
}

.route-cash-alert {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 2px solid #ffcc33;
  border-radius: 8px;
  background: #3b2f06;
  color: #fff4bf;
  box-shadow: 0 0 0 3px rgba(255, 204, 51, 0.12);
}

.route-cash-alert strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.02em;
}

.route-cash-alert span {
  font-size: 13px;
  font-weight: 900;
}

.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.route-items {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.route-items-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.route-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.route-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border-radius: 6px;
  padding: 0 8px;
  background: #1d2521;
  color: #d8f5df;
  font-size: 12px;
  font-weight: 800;
}

.route-item-chip.is-extra {
  background: #25221b;
  color: #ffe3a3;
}

.route-item-chip.is-local {
  outline: 1px solid #60a5fa;
}

.route-item-chip button {
  min-width: 20px;
  min-height: 20px;
  border: 1px solid #5f6368;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  line-height: 1;
}

.route-item-add {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 70px auto minmax(80px, auto);
  gap: 8px;
  max-width: 720px;
}

.route-item-add input {
  min-height: 32px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #2a2b2d;
  color: #e8eaed;
  font-size: 12px;
  font-weight: 800;
}

.meta-chip.is-danger {
  background: #5b241d;
  color: #ffb4a8;
}

.meta-chip.is-muted {
  color: #bdc1c6;
}

.meta-chip.is-manual {
  background: #5b4320;
  color: #ffd89b;
}

.day-order-overview {
  margin: 14px 0 18px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #101112;
}

.day-order-overview > summary {
  cursor: pointer;
  list-style: none;
}

.day-order-overview > summary::-webkit-details-marker,
.load-list-panel > summary::-webkit-details-marker,
.load-section > summary::-webkit-details-marker {
  display: none;
}

.day-order-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #303134;
}

.day-order-overview-head strong {
  font-size: 13px;
  color: #f1f3f4;
}

.day-order-overview-head span {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.load-list-panel {
  margin: 0 0 18px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #101112;
}

.load-list-content {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}

.day-start-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #2d3338;
  border-radius: 7px;
  padding: 10px;
  background: #101214;
}

.day-start-control strong,
.day-start-control span {
  display: block;
}

.day-start-control strong {
  color: #f1f3f4;
  font-size: 13px;
}

.day-start-control span {
  margin-top: 2px;
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 800;
}

.day-start-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.day-start-options label,
.load-section-bulk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid #2b2d30;
  border-radius: 7px;
  padding: 4px 8px;
  color: #e8eaed;
  font-size: 12px;
  font-weight: 900;
  background: #151617;
}

.day-start-options label.is-disabled {
  color: #6f757c;
  cursor: not-allowed;
}

.day-start-options input,
.load-section-bulk input {
  width: auto;
  min-height: 16px;
}

.load-section {
  border: 1px solid #242628;
  border-radius: 7px;
  background: #151617;
}

.load-section > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.load-section > summary strong {
  color: #f1f3f4;
  font-size: 13px;
}

.load-section > summary span,
.load-section p,
.empty-load {
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 800;
}

.load-section p {
  margin: 0;
  padding: 0 10px 8px;
}

.load-section-bulk {
  margin: 0 10px 8px;
}

.load-lines {
  display: grid;
  gap: 5px;
  padding: 0 10px 10px;
}

.takeback-group {
  border: 1px solid #2b2d30;
  border-radius: 7px;
  background: #101112;
}

.takeback-group > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.takeback-group > summary span,
.takeback-group > summary strong,
.takeback-group > summary small {
  min-width: 0;
}

.takeback-group > summary strong,
.takeback-group > summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.takeback-group > summary strong {
  color: #f1f3f4;
  font-size: 13px;
}

.takeback-group > summary small {
  margin-top: 2px;
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 800;
}

.takeback-group > summary em {
  color: #bdc1c6;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.takeback-group.is-complete {
  border-color: #255d3a;
}

.takeback-group.is-complete > summary em {
  color: #81c995;
}

.takeback-lines {
  display: grid;
  gap: 5px;
  padding: 0 8px 8px;
}

.load-line {
  display: grid;
  grid-template-columns: 20px 56px 74px minmax(160px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border-radius: 6px;
  padding: 4px 6px;
  background: #101112;
}

.load-line input[type="checkbox"] {
  width: auto;
  min-height: 18px;
}

.load-qty {
  min-height: 26px;
  padding: 0 6px;
  font-size: 12px;
}

.load-kind {
  color: #bdc1c6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.load-name {
  color: #e8eaed;
  font-size: 13px;
  font-weight: 800;
}

.load-line.is-article-extra {
  margin-left: 28px;
  border-left: 2px solid #3c6f94;
  background: #0d1419;
}

.load-extra-branch {
  margin-right: 7px;
  color: #7cb7e8;
}

.load-parent-name {
  display: block;
  margin: 1px 0 0 22px;
  color: #8ab4d6;
  font-size: 10px;
  font-weight: 700;
}

.load-warning {
  min-height: 26px;
  border-radius: 5px;
  padding: 0 8px;
  background: #5b4320;
  color: #ffd89b;
  font-size: 11px;
}

.load-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.article-alias-select {
  width: 150px;
  min-height: 26px;
  padding: 0 6px;
  font-size: 11px;
}

.load-line.has-warning {
  outline: 1px solid #5b4320;
}

.day-order-list {
  display: grid;
}

.day-order-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.4fr);
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #242628;
}

.day-order-row:last-child {
  border-bottom: 0;
}

.day-order-main {
  min-width: 0;
}

.day-order-main strong,
.day-order-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-order-main strong {
  color: #f1f3f4;
  font-size: 13px;
}

.day-order-main span {
  margin-top: 2px;
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 700;
}

.order-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.item-chip {
  min-height: 24px;
  border-radius: 5px;
  padding: 0 7px;
  background: #262728;
  color: #e8eaed;
  font-size: 11px;
  font-weight: 800;
}

.item-chip.is-extra {
  background: #2f2a20;
  color: #ffd89b;
}

.day-order-tasks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.day-order-task {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 3px 5px;
  border: 1px solid #303134;
  border-radius: 6px;
  background: #151617;
}

.day-order-task.is-saving {
  opacity: 0.55;
}

.task-pill {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #9a6728;
  color: #fff7e8;
  font-size: 12px;
  font-weight: 900;
}

.task-time,
.task-manual {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.task-manual {
  color: #ffd89b;
}

.compact-assignment {
  width: 118px;
  min-height: 24px;
  border: 1px solid #3c4043;
  border-radius: 5px;
  padding: 0 6px;
  background: #111213;
  color: #f1f3f4;
  font-size: 12px;
  font-weight: 800;
}

.icon-action {
  min-width: 26px;
  min-height: 24px;
  border-radius: 5px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.assignment-box {
  width: min(360px, 100%);
  margin-top: 12px;
}

.assignment-box label {
  display: grid;
  gap: 6px;
}

.assignment-box span {
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.assignment-box select {
  min-height: 38px;
  border: 1px solid #3c4043;
  border-radius: 6px;
  padding: 0 10px;
  background: #111213;
  color: #f1f3f4;
  font: inherit;
  font-weight: 700;
}

.assignment-box small {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: #9aa0a6;
  font-weight: 700;
}

.override-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #151617;
}

.override-head,
.override-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.override-head strong {
  color: #f1f3f4;
  font-size: 13px;
}

.override-head span,
.override-actions small {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.override-grid {
  display: grid;
  grid-template-columns: 150px 120px minmax(180px, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.override-address-field {
  grid-column: 1 / -1;
}

.override-grid.is-manual-time {
  grid-template-columns: 150px 120px;
}

.override-grid label {
  gap: 4px;
}

.override-grid span {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.override-grid input {
  min-height: 36px;
}

.override-actions {
  margin-top: 10px;
}

.small-action {
  min-height: 32px;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 12px;
}

.small-action.is-secondary {
  border: 1px solid #5f6368;
  background: transparent;
  color: #f1f3f4;
}

.simple-page-content {
  overflow: auto;
  padding: 18px;
}

.todo-summary {
  max-width: 1100px;
  margin-bottom: 16px;
}

.todo-list {
  display: grid;
  gap: 10px;
  max-width: 1100px;
}

.todo-card {
  display: grid;
  gap: 10px;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 14px;
  background: #18191a;
}

.todo-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.todo-card-head h3 {
  margin: 4px 0 0;
  color: #f1f3f4;
  font-size: 18px;
}

.todo-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.todo-ticket-number {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.todo-item-name,
.todo-update {
  color: #bdc1c6;
}

.todo-card p {
  margin: 0;
  color: #e8eaed;
  line-height: 1.45;
}

.todo-chip {
  display: inline-grid;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #3c4043;
  font-size: 12px;
  font-weight: 900;
}

.todo-chip.is-red {
  background: rgba(229, 72, 77, 0.16);
  border-color: rgba(229, 72, 77, 0.35);
  color: #ffb4b8;
}

.todo-chip.is-orange {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
  color: #ffd58a;
}

.todo-chip.is-blue {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.35);
  color: #b9d2ff;
}

.todo-chip.is-green {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(22, 163, 74, 0.35);
  color: #b7f7c8;
}

.todo-chip.is-neutral {
  background: #151617;
  color: #dfe3e7;
}

.placeholder-text {
  color: #bdc1c6;
  font-weight: 700;
}

.attraction-list {
  display: grid;
  gap: 8px;
  max-width: 1100px;
}

.wet-overview {
  display: grid;
  gap: 10px;
  max-width: 1100px;
  margin: 0 0 12px;
  border: 1px solid #185abc;
  border-radius: 8px;
  padding: 12px;
  background: #0b234a;
}

.wet-overview.is-empty {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border-color: #3c4043;
  background: #18191a;
}

.wet-overview header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.wet-overview strong {
  color: #f1f3f4;
  font-size: 16px;
  font-weight: 1000;
}

.wet-overview span {
  color: #d2e3fc;
  font-size: 12px;
  font-weight: 900;
}

.wet-overview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wet-overview-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  max-width: 100%;
  border: 1px solid rgba(210, 227, 252, 0.22);
  border-radius: 7px;
  padding: 0 10px;
  background: #12315f;
  color: #f1f3f4;
}

.wet-overview-item:hover {
  background: #174074;
}

.wet-overview-item span {
  max-width: 360px;
  overflow: hidden;
  color: #f1f3f4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wet-overview-item em {
  flex: 0 0 auto;
  color: #9cc3ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 1000;
}

.page-actions {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 10px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 10px;
  max-width: 1100px;
  margin: 0 0 12px;
}

.home-next-stop,
.home-stock-status,
.home-location-question,
.home-notifications {
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 12px;
  background: #18191a;
}

.home-next-stop,
.home-stock-status {
  display: grid;
  gap: 6px;
}

.home-next-stop span,
.home-stock-status span,
.home-notifications header span {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-next-stop strong,
.home-stock-status strong,
.home-notifications header strong {
  color: #f1f3f4;
  font-size: 18px;
  font-weight: 1000;
}

.home-next-stop p,
.home-stock-status p,
.home-next-stop small {
  margin: 0;
  color: #bdc1c6;
  font-weight: 800;
}

.home-stock-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.home-unknown-items {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.home-unknown-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #3c4043;
  border-radius: 7px;
  padding: 8px;
  background: #101112;
}

.home-unknown-item > button {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #f1f3f4;
  text-align: left;
}

.home-unknown-item > button:hover {
  color: #ffffff;
}

.home-unknown-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.home-unknown-item span,
.home-unknown-items small {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 900;
}

.home-notifications {
  display: grid;
  gap: 8px;
  max-width: 1100px;
  margin: 0 0 12px;
}

.customer-time-warnings {
  display: grid;
  gap: 8px;
  max-width: 1100px;
  margin: 0 0 12px;
  border: 1px solid #5f3b13;
  border-radius: 8px;
  padding: 12px;
  background: #211707;
}

.customer-time-warnings header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-time-warnings header strong {
  color: #f1f3f4;
  font-size: 16px;
  font-weight: 1000;
}

.customer-time-warnings header span {
  color: #f6a43a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-time-warning {
  display: grid;
  gap: 3px;
  border: 1px solid #5f3b13;
  border-radius: 7px;
  padding: 9px 10px;
  background: #251706;
}

.customer-time-warning.is-danger {
  border-color: #7f1d1d;
  background: #2a1010;
}

.customer-time-warning strong,
.customer-time-warning p {
  margin: 0;
}

.staffing-warnings .customer-time-warning {
  border-color: rgba(255, 110, 96, 0.55);
}

.customer-time-warning strong {
  color: #f1f3f4;
  font-weight: 1000;
}

.customer-time-warning p {
  color: #f8d59a;
  font-weight: 800;
}

.home-location-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  max-width: 1100px;
  margin: 0 0 12px;
  border-color: #1d4f8f;
  background: #0b1f36;
}

.route-location-blocker {
  border-color: #7f1d1d;
  background: #2a1010;
}

.home-location-question span {
  color: #8ab4f8;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-location-question strong {
  display: block;
  margin-top: 4px;
  color: #f1f3f4;
  font-size: 20px;
  font-weight: 1000;
}

.home-location-question p,
.home-location-question small {
  display: block;
  margin: 4px 0 0;
  color: #d2e3fc;
  font-weight: 800;
}

.home-location-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.home-location-actions .toolbar-button {
  min-width: 58px;
}

.home-location-question > [data-home-location-status] {
  grid-column: 1 / -1;
  min-height: 16px;
  color: #8ab4f8;
  font-weight: 900;
}

.home-notifications header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.home-collapsible summary::-webkit-details-marker {
  display: none;
}

.home-collapsible summary::after {
  content: "Open";
  border: 1px solid #3c4043;
  border-radius: 999px;
  padding: 4px 9px;
  color: #f8d59a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-collapsible[open] summary::after {
  content: "Sluit";
}

.notification-row {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid #5f3b13;
  border-radius: 7px;
  padding: 9px 10px;
  background: #251706;
  color: #f1f3f4;
  text-align: left;
}

.notification-main {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.notification-main strong {
  color: #f1f3f4;
  font-size: 14px;
  font-weight: 1000;
}

.notification-row span {
  color: #f6a43a;
  font-size: 12px;
  font-weight: 900;
}

.notification-row.is-danger {
  border-color: #7f1d1d;
  background: #2a0d0d;
}

.notification-row.is-danger span {
  color: #f87171;
}

.notification-row.is-info {
  border-color: #1d4f7f;
  background: #0d1f2a;
}

.notification-row.is-info span {
  color: #7dd3fc;
}

.notification-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.notification-actions small {
  min-height: 16px;
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.notification-linker {
  display: grid;
  gap: 12px;
}

.notification-linker p {
  margin: 0;
  color: #e8eaed;
  line-height: 1.35;
}

.notification-linker-suggestions {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #18191b;
}

.notification-linker-suggestions > strong {
  color: #f1f3f4;
  font-size: 12px;
  font-weight: 1000;
}

.notification-linker-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notification-linker-suggestion {
  max-width: 100%;
  min-height: 34px;
  white-space: normal;
  text-align: left;
}

.notification-linker-empty {
  margin: 0;
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.attraction-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(4, minmax(130px, auto));
  gap: 8px;
  max-width: 1100px;
  margin: 0 0 12px;
}

.attraction-filters input,
.attraction-filters select {
  min-height: 38px;
  border: 1px solid #303134;
  border-radius: 7px;
  padding: 0 10px;
  background: #101112;
  color: #f1f3f4;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.cash-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 1100px;
  margin-bottom: 12px;
}

.cash-summary article {
  display: grid;
  gap: 6px;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 12px;
  background: #18191a;
}

.cash-summary span {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cash-summary strong {
  color: #f1f3f4;
  font-size: 20px;
}

.cash-summary p {
  margin: 0;
  color: #bdc1c6;
  font-size: 12px;
  line-height: 1.35;
}

.cash-summary.workdays-metrics {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.cashbook-form {
  display: grid;
  gap: 10px;
  max-width: 1100px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #18191a;
}

.cashbook-form-grid {
  display: grid;
  grid-template-columns: 160px 190px minmax(260px, 1fr);
  gap: 10px;
}

.cashbook-form textarea {
  min-height: 74px;
  border: 1px solid #5f6368;
  border-radius: 6px;
  background: #111111;
  color: #f1f3f4;
  padding: 10px 12px;
  font: inherit;
  outline: none;
}

.cashbook-form textarea:focus {
  border-color: #f6a43a;
  box-shadow: 0 0 0 3px rgba(246, 164, 58, 0.16);
}

.muted-line,
.form-error {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.muted-line {
  color: #9aa0a6;
}

.form-error {
  min-height: 16px;
  color: #ff8a80;
}

.local-table-wrap {
  max-width: 1100px;
  overflow: auto;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #101112;
}

.local-table {
  width: 100%;
  border-collapse: collapse;
  color: #e8eaed;
  font-size: 13px;
}

.local-table th,
.local-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #242628;
  text-align: left;
  vertical-align: top;
}

.local-table th {
  color: #bdc1c6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.local-table tr:last-child td {
  border-bottom: 0;
}

.month-payment-control {
  display: grid;
  grid-template-columns: 90px auto;
  gap: 6px;
  align-items: center;
  max-width: 190px;
}

.month-payment-control input {
  min-height: 34px;
  padding: 0 9px;
}

.month-payment-control .small-action {
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
}

.local-panel {
  display: grid;
  gap: 10px;
  max-width: 1100px;
  margin: 0 0 12px;
}

.table-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.table-toolbar h3 {
  margin: 2px 0 0;
  color: #f1f3f4;
  font-size: 16px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workday-cards {
  display: grid;
  gap: 10px;
}

.workday-card {
  display: grid;
  gap: 12px;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 12px;
  background: #18191a;
}

.workday-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.workday-card header strong,
.workday-card header span,
.workday-card section span {
  display: block;
}

.workday-card header strong {
  color: #f1f3f4;
  font-size: 15px;
}

.workday-card header span,
.workday-card section span {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.workday-card header em {
  color: #f1f3f4;
  font-style: normal;
  font-weight: 900;
}

.workday-card p {
  margin: 4px 0 0;
  color: #e8eaed;
}

.workday-order {
  display: grid;
  gap: 2px;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #303134;
  border-radius: 6px;
  padding: 8px;
  background: #101112;
  color: #e8eaed;
  text-align: left;
}

.workday-order small {
  color: #bdc1c6;
  font-weight: 800;
}

.amount-positive {
  color: #81c995 !important;
  font-weight: 900;
}

.amount-negative {
  color: #f28b82 !important;
  font-weight: 900;
}

.attraction-row,
.personnel-row {
  display: grid;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 0 12px;
  background: #18191a;
  color: #e8eaed;
  text-align: left;
}

.attraction-row {
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 330px) minmax(250px, auto) 170px 100px;
}

.personnel-row {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) 100px auto;
  cursor: pointer;
}

.personnel-agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.attraction-name-button {
  display: block;
  min-width: 0;
  min-height: 0;
  border-radius: 6px;
  padding: 8px 0;
  background: transparent;
  color: #e8eaed;
  text-align: left;
}

.attraction-name-button:hover {
  background: transparent;
  color: #ffffff;
}

.attraction-name-button strong,
.personnel-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attraction-row span,
.personnel-row span {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.wet-dry-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border: 1px solid #3c4043;
  border-radius: 999px;
  padding: 0 7px;
  color: #d2e3fc;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  background: #16213a;
  white-space: nowrap;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 4px;
  border: 1px solid #3c4043;
  border-radius: 999px;
  padding: 0 7px;
  background: #202124;
  color: #e8eaed;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
}

.location-chip.is-be {
  border-color: #185abc;
  background: #10284f;
  color: #d2e3fc;
}

.location-chip.is-nl {
  border-color: #188038;
  background: #0f2a18;
  color: #b7f7c8;
}

.namecard-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 4px;
  border: 1px solid #8b5e00;
  border-radius: 999px;
  padding: 0 7px;
  background: #2d2105;
  color: #fdd663;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
}

.dirty-chip,
.instance-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 4px;
  border: 1px solid #5f6368;
  border-radius: 999px;
  padding: 0 7px;
  background: #202124;
  color: #e8eaed;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
  white-space: nowrap;
}

.dirty-chip.is-dirty {
  border-color: #a1420a;
  background: #2b1706;
  color: #fdd663;
}

.dirty-chip.is-clean {
  border-color: #188038;
  background: #0f2a18;
  color: #b7f7c8;
}

.instance-chip {
  border-color: #5f6368;
  color: #d2e3fc;
  background: #151f2e;
}

.namecard-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  color: #e8eaed;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.namecard-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #fbbc04;
}

.wet-dry-chip.is-level-1,
.wet-dry-chip.is-level-2 {
  border-color: #185abc;
  color: #d2e3fc;
  background: #10284f;
}

.wet-dry-chip.is-level-0 {
  border-color: #5f6368;
  color: #e8eaed;
  background: #202124;
}

.wet-dry-chip.is-level-3,
.wet-dry-chip.is-level-4,
.wet-dry-chip.is-level-5 {
  border-color: #5c8df6;
  color: #d2e3fc;
  background: #0b234a;
}

.wetness-picker {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 3px;
  background: #101112;
}

.wetness-drop-button {
  display: grid;
  place-items: center;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: #9aa0a6;
}

.wetness-drop-button:hover {
  background: #1d2838;
}

.wetness-drop-button.is-selected {
  border-color: #5c8df6;
  background: #0b234a;
  box-shadow: 0 0 0 2px rgba(92, 141, 246, 0.18);
}

.water-drop-icon {
  width: 16px;
  height: 16px;
  margin-left: calc(var(--drop-index, 0) * -8px);
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.wetness-drop-button .water-drop-icon:first-child,
.wet-dry-chip .water-drop-icon:first-child {
  margin-left: 0;
}

.wet-dry-chip .water-drop-icon {
  width: 13px;
  height: 13px;
  margin-left: calc(var(--drop-index, 0) * -6px);
}

.dry-zero {
  font-size: 12px;
  font-weight: 1000;
  pointer-events: none;
}

.load-wetness-select {
  flex: 0 0 auto;
}

.inventory-wetness-select {
  width: max-content;
}

.condition-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.beheer-condition-actions {
  display: grid;
  gap: 8px;
  min-width: 230px;
}

.beheer-condition-actions .small-action {
  justify-self: start;
}

.beheer-marking-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1fr) minmax(120px, 0.45fr) auto;
  gap: 14px;
  align-items: end;
}

.beheer-marking-form .form-error {
  grid-column: 1 / -1;
}

.instance-add-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(180px, 1.2fr) minmax(120px, 0.5fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #101112;
}

.instance-add-row small {
  grid-column: 1 / -1;
  min-height: 18px;
  color: #bdc1c6;
}

.parts-helper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #303134;
  border-radius: 8px;
  background: #18191a;
}

.parts-helper span {
  color: #bdc1c6;
  font-size: 13px;
  font-weight: 700;
}

.dirtiness-picker {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 3px;
  background: #101112;
}

.dirtiness-button {
  min-height: 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 8px;
  background: transparent;
  color: #bdc1c6;
  font-size: 11px;
  font-weight: 1000;
  white-space: nowrap;
}

.dirtiness-button:hover {
  background: #25231d;
  color: #f1f3f4;
}

.dirtiness-button.is-selected {
  border-color: #a1420a;
  background: #2b1706;
  color: #fdd663;
  box-shadow: 0 0 0 2px rgba(251, 188, 4, 0.16);
}

.dirtiness-button:first-child.is-selected {
  border-color: #188038;
  background: #0f2a18;
  color: #b7f7c8;
  box-shadow: 0 0 0 2px rgba(52, 168, 83, 0.16);
}

.form-wetness-picker {
  width: max-content;
}

.form-wetness-picker .wetness-drop-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
}

.form-wetness-picker .water-drop-icon {
  width: 19px;
  height: 19px;
}

.orders-count-button {
  min-height: 28px;
  border: 1px solid #3c4043;
  border-radius: 6px;
  padding: 0 9px;
  background: #101112;
  color: #8ab4f8;
  font-size: 12px;
  font-weight: 900;
}

.orders-count-button:hover {
  background: #1f2937;
  color: #d2e3fc;
}

.attraction-order-list {
  display: grid;
  gap: 8px;
}

.attraction-order-row {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 56px;
  border: 1px solid #303134;
  border-radius: 7px;
  padding: 8px 10px;
  background: #18191a;
  color: #e8eaed;
  text-align: left;
}

.attraction-order-row strong,
.attraction-order-row span,
.attraction-order-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attraction-order-row span,
.attraction-order-row small {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.attraction-form,
.manual-task-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.personnel-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.attraction-form .form-wide,
.attraction-form .override-actions,
.manual-task-form .form-wide,
.manual-task-form .override-actions,
.personnel-form .form-wide,
.personnel-form .override-actions {
  grid-column: 1 / -1;
}

.attraction-form textarea,
.manual-task-form textarea,
.personnel-form textarea {
  min-height: 88px;
  border: 1px solid #5f6368;
  border-radius: 6px;
  background: #111111;
  color: #f1f3f4;
  padding: 10px 12px;
  font: inherit;
}

.personnel-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #e8eaed;
  font-size: 13px;
  font-weight: 800;
}

.check-line input {
  width: auto;
  min-height: auto;
}

.condition-check-line {
  width: max-content;
  min-height: 38px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  padding: 0 10px;
  background: #101112;
}

.attraction-extras {
  display: grid;
  gap: 8px;
}

.attraction-instances {
  display: grid;
  gap: 8px;
}

.attraction-instance-list {
  display: grid;
  gap: 8px;
}

.attraction-instance-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) minmax(150px, auto) minmax(260px, auto);
  align-items: center;
  gap: 10px;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 10px;
  background: #18191a;
}

.attraction-instance-row.has-condition {
  border-color: rgba(246, 164, 58, 0.58);
  background: #201a10;
}

.attraction-instance-row header {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.attraction-instance-row strong,
.attraction-instance-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attraction-instance-row strong {
  color: #f1f3f4;
  font-size: 13px;
  font-weight: 1000;
}

.attraction-instance-row span {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.attraction-instance-status {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.instance-condition-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.instance-condition-line strong {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  border: 1px solid #3c4043;
  border-radius: 999px;
  padding: 0 9px;
  background: #111111;
  color: #bdc1c6;
  font-size: 11px;
}

.instance-condition-line.is-attention strong {
  border-color: rgba(246, 164, 58, 0.5);
  background: rgba(246, 164, 58, 0.12);
  color: #ffd59b;
}

.beheer-instance-summary {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.beheer-instance-summary span {
  display: block;
  color: #ffd59b;
  font-size: 12px;
  font-weight: 800;
}

.part-status-dialog[hidden] {
  display: none;
}

.part-status-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.part-status-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.part-status-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  display: grid;
  gap: 14px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #18191a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  padding: 18px;
}

.part-status-panel > header,
.part-status-panel footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.part-status-panel h3,
.part-status-panel p {
  margin: 0;
}

.part-status-panel p,
.part-status-suggestion span {
  color: #bdc1c6;
  font-size: 13px;
  line-height: 1.35;
}

.part-status-suggestion {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(246, 164, 58, 0.42);
  border-radius: 8px;
  padding: 10px;
  background: rgba(246, 164, 58, 0.1);
}

.part-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.part-status-card {
  display: grid;
  gap: 10px;
  border: 1px solid #303134;
  border-radius: 8px;
  padding: 12px;
  background: #101112;
}

.part-status-card.has-condition {
  border-color: rgba(246, 164, 58, 0.58);
  background: #201a10;
}

.part-status-card header {
  display: grid;
  gap: 3px;
}

.part-status-card header strong {
  color: #f1f3f4;
  font-size: 14px;
}

.part-status-card header span {
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 800;
}

.extras-head,
.extra-row {
  display: grid;
  align-items: center;
  gap: 8px;
}

.extras-head {
  grid-template-columns: 1fr auto;
}

.extras-head span {
  color: #f1f3f4;
  font-size: 13px;
  font-weight: 900;
}

.extras-list {
  display: grid;
  gap: 6px;
}

.extra-row {
  grid-template-columns: minmax(180px, 1fr) 72px 132px 34px;
}

.extra-row.is-unknown input[name="extra_name"] {
  border-color: #d89b3c;
  box-shadow: 0 0 0 1px rgba(216, 155, 60, 0.35);
}

.route-issue {
  margin-top: 10px !important;
  color: #ffb4a8 !important;
  font-weight: 800;
}

.route-call-attention {
  color: #f8d59a !important;
}

.route-staffing-warning {
  padding: 8px 10px;
  border: 1px solid rgba(255, 110, 96, 0.6);
  border-radius: 8px;
  background: rgba(91, 36, 29, 0.35);
}

.staffing-control {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.staffing-control label,
.staffing-add {
  display: grid;
  gap: 6px;
}

.staffing-add {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.staff-request-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.staff-request-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.staff-request-revoke-chip {
  appearance: none;
  border: 1px solid rgba(248, 113, 113, 0.55);
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 4px 7px;
}

.staff-request-revoke-chip:hover,
.staff-request-revoke-chip:focus-visible {
  border-color: rgba(248, 113, 113, 0.9);
  background: rgba(127, 29, 29, 0.6);
}

.staff-request-revoke-chip:disabled {
  cursor: wait;
  opacity: 0.65;
}

.staff-request-chip.is-accepted,
.staff-request-card.is-accepted {
  border-color: rgba(74, 222, 128, 0.48);
}

.staff-request-chip.is-rejected,
.staff-request-card.is-rejected {
  border-color: rgba(248, 113, 113, 0.48);
}

.staff-request-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.staff-request-card > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.staff-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.small-action.danger-button {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

.staff-transport-choice {
  color: #f8d59a;
  font-weight: 900;
}

.staff-transport-choice.is-missing {
  color: #fca5a5;
}

.staff-transport-select {
  display: grid;
  gap: 5px;
  margin-top: 5px;
}

.staff-transport-select span {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-transport-select select {
  min-height: 34px;
}

.staff-julian-schedule {
  margin-top: 6px;
}

.staff-julian-schedule summary {
  cursor: pointer;
  color: #f8d59a;
  font-size: 0.88rem;
  font-weight: 900;
}

.staff-julian-schedule div {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.staff-julian-schedule span {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: start;
}

.staff-julian-schedule strong {
  color: #ffffff;
}

.staff-julian-schedule small {
  color: #d1d5db;
  line-height: 1.35;
}

.staff-request-history {
  margin-top: 12px;
  opacity: 0.8;
}

@media (max-width: 760px) {
  .staffing-add,
  .personnel-row,
  .personnel-agenda-grid {
    grid-template-columns: 1fr;
  }

  .staff-request-card {
    display: grid;
    align-items: stretch;
  }
}

.route-notes {
  color: #e8eaed !important;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.route-progress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.route-progress-actions .small-action.primary,
.next-step-panel .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #34d399;
  border-radius: 6px;
  padding: 0 12px;
  background: #34d399;
  border-color: #34d399;
  color: #0b1612;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.route-link {
  display: inline-block;
  color: #8ab4f8;
  font-weight: 800;
}

.route-phone {
  color: #81c995;
}

.route-phone-unavailable {
  color: #9aa0a6;
  font-size: 13px;
  font-weight: 800;
}

.transport-instruction {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid #fbbc04;
  border-radius: 6px;
  background: rgba(251, 188, 4, 0.1);
  color: #f6f7f8;
}

.transport-instruction strong {
  color: #fdd663;
}

.transport-instruction span,
.transport-instruction p,
.transport-instruction small {
  margin: 0;
  color: #dfe3e7;
}

.transport-instruction small {
  color: #bdc1c6;
}

.route-stop.is-missing .route-type {
  background: #5b241d;
  color: #ffb4a8;
}

.route-stop.is-return .route-type {
  background: #274b72;
  color: #d8e8ff;
}

.empty-route {
  padding: 28px 0;
  color: #bdc1c6;
}

.assumptions {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #303134;
}

.assumptions h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.assumptions ul {
  margin: 0;
  padding-left: 18px;
  color: #bdc1c6;
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.44);
}

.detail-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 42px));
  overflow: auto;
  background: #222325;
  color: #e8eaed;
  border-radius: 28px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.48);
}

.detail-actions {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 20px 0;
  background: linear-gradient(#222325 76%, rgba(34, 35, 37, 0));
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #e8eaed;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.detail-icon:hover {
  background: #303134;
  color: #ffffff;
}

.detail-content {
  padding: 6px 32px 32px;
}

.orb-assistant {
  --orb-glow: #22d3ee;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 136px;
  height: 150px;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #f1f3f4;
  cursor: pointer;
  isolation: isolate;
  animation: orb-float 5.8s ease-in-out infinite;
  transition: transform 180ms ease;
}

.orb-assistant:hover {
  background: transparent;
  transform: translateY(-3px) scale(1.03);
}

.orb-assistant:focus-visible {
  outline: 2px solid var(--orb-glow);
  outline-offset: 4px;
}

.orb-aura {
  position: absolute;
  inset: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--orb-glow) 34%, transparent), transparent 62%),
    radial-gradient(circle, color-mix(in srgb, var(--orb-glow) 18%, transparent), transparent 76%);
  filter: blur(10px);
  opacity: 0.95;
  transform: translateY(8px);
  animation: orb-pulse 3.2s ease-in-out infinite;
}

.orb-image {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
  animation: orb-tilt 4.6s ease-in-out infinite;
}

.orb-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.orb-particles span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orb-glow);
  box-shadow: 0 0 16px color-mix(in srgb, var(--orb-glow) 82%, transparent);
  opacity: 0.42;
  transform-origin: 0 0;
  animation: orb-particle-orbit 7s linear infinite;
}

.orb-particles span:nth-child(1) {
  --orbit-x: 58px;
  --orbit-y: 24px;
  animation-duration: 6.6s;
}

.orb-particles span:nth-child(2) {
  --orbit-x: -54px;
  --orbit-y: 30px;
  width: 4px;
  height: 4px;
  animation-duration: 8.2s;
  animation-delay: -1.4s;
}

.orb-particles span:nth-child(3) {
  --orbit-x: 42px;
  --orbit-y: -34px;
  width: 3px;
  height: 3px;
  animation-duration: 7.4s;
  animation-delay: -2.2s;
}

.orb-particles span:nth-child(4) {
  --orbit-x: -38px;
  --orbit-y: -28px;
  width: 4px;
  height: 4px;
  animation-duration: 9.1s;
  animation-delay: -3.8s;
}

.orb-particles span:nth-child(5) {
  --orbit-x: 0px;
  --orbit-y: 48px;
  width: 3px;
  height: 3px;
  animation-duration: 7.9s;
  animation-delay: -5s;
}

.orb-bubble {
  position: absolute;
  right: 112px;
  bottom: 82px;
  width: max-content;
  max-width: min(260px, calc(100vw - 170px));
  padding: 10px 12px;
  border: 1px solid #303134;
  border-radius: 10px;
  background: rgba(24, 25, 26, 0.96);
  color: #f1f3f4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.orb-bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 14px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #303134;
  border-bottom: 1px solid #303134;
  background: rgba(24, 25, 26, 0.96);
  transform: rotate(-45deg);
}

@keyframes orb-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

@keyframes orb-pulse {
  0%,
  100% {
    opacity: 0.72;
    scale: 0.96;
  }
  50% {
    opacity: 1;
    scale: 1.08;
  }
}

@keyframes orb-tilt {
  0%,
  100% {
    rotate: -1.5deg;
  }
  50% {
    rotate: 2deg;
  }
}

@keyframes orb-particle-orbit {
  from {
    transform: rotate(0deg) translate(var(--orbit-x), var(--orbit-y));
  }
  to {
    transform: rotate(360deg) translate(var(--orbit-x), var(--orbit-y));
  }
}

.detail-title-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.detail-color {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border-radius: 4px;
  background: #f6a43a;
}

.detail-title-row.is-manual .detail-color {
  background: #8ab4f8;
}

.detail-title-row h3 {
  margin: 0;
  color: #f1f3f4;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: 0;
}

.detail-title-row p {
  margin: 8px 0 0;
  color: #e8eaed;
  font-size: 15px;
}

.detail-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.detail-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.detail-line dt {
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-line dd {
  min-width: 0;
  margin: 0;
  color: #e8eaed;
  overflow-wrap: anywhere;
}

.detail-section {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #3c4043;
}

.detail-section h4 {
  margin: 0 0 12px;
  color: #f1f3f4;
  font-size: 14px;
  font-weight: 800;
}

.detail-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #e8eaed;
}

.detail-section li span {
  display: block;
  color: #bdc1c6;
  font-size: 12px;
}

.detail-help {
  margin: 0 0 12px;
  color: #bdc1c6;
  font-size: 13px;
  line-height: 1.45;
}

.order-planning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.order-planning-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #151617;
}

.order-planning-card strong {
  display: block;
  color: #f1f3f4;
  font-size: 14px;
}

.order-planning-card div > span,
.order-planning-card label span {
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 800;
}

.order-planning-card label {
  display: grid;
  gap: 5px;
}

.order-planning-card input {
  min-height: 36px;
  border: 1px solid #3c4043;
  border-radius: 6px;
  padding: 0 10px;
  background: #111213;
  color: #f1f3f4;
  font: inherit;
  font-weight: 700;
}

.order-handling-section {
  display: grid;
  gap: 10px;
}

.handling-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #3c4043;
  border-radius: 8px;
  background: #151617;
}

.handling-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.handling-check strong {
  display: block;
  color: #f1f3f4;
  font-size: 14px;
}

.handling-check small,
.handling-status {
  display: block;
  margin-top: 3px;
  color: #bdc1c6;
  font-size: 12px;
  line-height: 1.4;
}

.detail-loading {
  padding: 44px 0;
  color: #bdc1c6;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .calendar-toolbar {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
  }

  .calendar-app {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .day-plan-app {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
    padding: 0 8px 12px;
  }
}

@media (max-width: 720px) {
  body.is-authenticated {
    --sidebar-width: 54px;
  }

  body.is-authenticated.sidebar-open {
    --sidebar-width: 190px;
  }

  .sidebar-toggle {
    display: block;
  }

  .cash-summary,
  .cashbook-form-grid,
  .home-grid,
  .home-location-question,
  .attraction-filters {
    grid-template-columns: 1fr;
  }

  .home-location-actions {
    justify-content: flex-start;
  }

  .home-unknown-item {
    grid-template-columns: 1fr;
  }

  .attraction-row {
    grid-template-columns: 1fr;
    padding: 8px 12px;
  }

  .attraction-instance-row {
    grid-template-columns: 1fr;
  }

  .parts-helper,
  .instance-add-row,
  .beheer-marking-form {
    grid-template-columns: 1fr;
  }

  .day-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-order-row {
    grid-template-columns: 1fr;
  }

  .day-order-tasks {
    justify-content: flex-start;
  }

  .route-stop {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .next-step-panel {
    grid-template-columns: 1fr;
  }

  .route-time {
    justify-items: start;
    grid-template-columns: auto auto;
  }

  .todo-card-head {
    flex-direction: column;
  }

  .todo-card-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
    padding: 32px 0;
  }

  .brand-panel h1 {
    font-size: 72px;
  }

  .intro {
    font-size: 17px;
  }

  .auth-panel {
    padding: 24px;
  }

  .orb-assistant {
    right: 10px;
    bottom: 10px;
    width: 104px;
    height: 116px;
  }

  .orb-image {
    width: 86px;
    height: 86px;
  }

  .orb-bubble {
    right: 86px;
    bottom: 68px;
    max-width: min(220px, calc(100vw - 120px));
  }

  .orb-planner-composer {
    right: 8px;
    bottom: 112px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 130px);
  }

  .orb-correction-form {
    grid-template-columns: 1fr;
  }

  .planning-admin-nav {
    grid-template-columns: 1fr;
  }

  .planning-admin-nav nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-assistant,
  .orb-aura,
  .orb-image,
  .orb-particles span {
    animation: none;
  }
}
.planning-assets-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.planning-cockpit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.planning-admin-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(33, 37, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
}

.planning-admin-nav strong {
  display: block;
  margin-bottom: 3px;
  color: #111827;
}

.planning-admin-nav span {
  color: #667085;
  font-size: 0.9rem;
}

.planning-admin-nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.planning-admin-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(33, 37, 41, 0.16);
  border-radius: 8px;
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
  background: #f8fafc;
}

.planning-cockpit article {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.88)),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 38%);
  box-shadow: 0 12px 26px rgba(31, 41, 55, 0.08);
}

.planning-cockpit strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 0.98rem;
}

.planning-cockpit span {
  color: #475467;
  font-size: 0.9rem;
  line-height: 1.45;
}

.planning-assets-summary article,
.planning-asset-card {
  background: #fff;
  border: 1px solid rgba(33, 37, 41, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
}

.planning-assets-summary article {
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.planning-assets-summary article::after {
  content: "";
  position: absolute;
  inset: auto -24px -28px auto;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.13);
}

.planning-assets-summary span,
.planning-asset-card header span,
.planning-asset-row span {
  color: #667085;
  font-size: 0.9rem;
}

.planning-assets-summary strong {
  display: block;
  font-size: 1.8rem;
  margin-top: 4px;
}

.planning-asset-card {
  margin-bottom: 14px;
  padding: 14px;
  scroll-margin-top: 18px;
}

.planning-asset-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.planning-asset-card header .small-action,
.planning-asset-form .small-action {
  min-height: 38px;
  border-radius: 8px;
}

.planning-asset-card header strong {
  display: block;
  font-size: 1rem;
}

.planning-asset-help {
  margin: 0;
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.5;
}

.planning-asset-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(33, 37, 41, 0.1);
  border-radius: 8px;
  background: #fafafa;
}

.planning-asset-form label span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: #475467;
}

.planning-asset-form input,
.planning-asset-form select {
  width: 100%;
}

.planning-asset-form [data-manual-transport-items] {
  grid-column: 1 / -1;
}

.planning-asset-form [data-manual-transport-item] {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(90px, 0.5fr) minmax(140px, 1fr) minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: end;
}

@media (max-width: 760px) {
  .planning-asset-form [data-manual-transport-item] {
    grid-template-columns: 1fr;
  }
}

.planning-asset-form .form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.planning-asset-list {
  display: grid;
  gap: 8px;
}

.planning-asset-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid rgba(33, 37, 41, 0.08);
}

.material-check-result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(33, 37, 41, 0.12);
}

.material-check-result.is-ok {
  background: #ecfdf3;
  border-color: #abefc6;
}

.material-check-result.is-blocked {
  background: #fef3f2;
  border-color: #fecdca;
}

.planning-asset-row small {
  color: #667085;
  line-height: 1.5;
}

.planning-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.planning-cost-grid span {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}
