/* [project]/node_modules/@fontsource/lato/400.css [app-client] (css) */
@font-face {
  font-family: Lato;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../media/lato-latin-ext-400-normal.5c7e69f0.woff2") format("woff2"), url("../media/lato-latin-ext-400-normal.3d61fdd2.woff") format("woff");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../media/lato-latin-400-normal.72f6e825.woff2") format("woff2"), url("../media/lato-latin-400-normal.6a90203c.woff") format("woff");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* [project]/node_modules/@fontsource/lato/700.css [app-client] (css) */
@font-face {
  font-family: Lato;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../media/lato-latin-ext-700-normal.70f79a36.woff2") format("woff2"), url("../media/lato-latin-ext-700-normal.cc9bf4e9.woff") format("woff");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../media/lato-latin-700-normal.b391d462.woff2") format("woff2"), url("../media/lato-latin-700-normal.4f1c680e.woff") format("woff");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #eef3f6;
  --bg-soft: #f8fbfc;
  --panel: #fff;
  --line: #d3dde4;
  --text: #0d1b2a;
  --muted: #516070;
  --brand: #1c3054;
  --brand-secondary: #1b4889;
  --brand-strong: #152440;
  --danger: #be123c;
  --warning: #b45309;
  --success: #047857;
  --radius: 16px;
}

*, :before, :after {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  background: radial-gradient(circle at 0 0, #dbe4f5 0%, transparent 32%), radial-gradient(circle at 100% 100%, #e5eaf7 0%, transparent 30%), var(--bg);
  -webkit-font-smoothing: antialiased;
  font-family: Lato, Segoe UI, Helvetica Neue, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin: 0;
}

small {
  color: var(--muted);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 12px;
  font-size: .93rem;
}

th {
  color: var(--muted);
  font-weight: 600;
}

.auth-page {
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.auth-card {
  border: 1px solid var(--line);
  background: linear-gradient(#fff 0%, #f9fcfd 100%);
  border-radius: 22px;
  gap: 16px;
  width: min(460px, 100%);
  padding: 28px;
  display: grid;
  box-shadow: 0 24px 60px #0825371a;
}

.auth-logo {
  width: min(220px, 100%);
  height: auto;
  margin-inline: auto;
  display: block;
}

.auth-divider {
  background: var(--line);
  width: 100%;
  height: 1px;
}

.auth-subtitle {
  font-size: 1.05rem;
}

.shell {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  min-height: 100vh;
  padding: 20px;
  display: grid;
}

.sidebar {
  color: #f1fffd;
  background: linear-gradient(160deg, #142646 0%, #1c3054 45%, #2c4372 100%);
  border-radius: 20px;
  align-self: start;
  padding: 14px 16px;
  display: grid;
}

.brand {
  gap: 10px;
  display: grid;
}

.brand-logo-wrap {
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
}

.brand-logo {
  width: 160px;
  max-width: 100%;
  height: auto;
  display: block;
}

.brand h1 {
  text-align: left;
}

.brand-subtitles {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.brand-subtitle {
  letter-spacing: .06em;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
}

.brand-separator {
  color: #f1fffddb;
  font-size: .62rem;
  line-height: 1;
  transform: translateY(-1px);
}

.brand-subtitle-electric {
  color: #c1121f;
}

.brand-subtitle-haustechnik {
  color: #f59e0b;
}

.brand-subtitle-solar {
  color: #16a34a;
}

.brand .muted {
  color: #f1fffdcc;
}

.brand-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  width: 100%;
  display: flex;
}

.sidebar-overview {
  color: #f1fffd;
  background: #ffffff1a;
  border: 1px solid #ffffff57;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 94px;
  min-height: 30px;
  padding: 5px 8px;
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
}

.sidebar-overview:hover {
  background: #ffffff2e;
}

.sidebar-back-button {
  cursor: pointer;
  margin-left: 8px;
}

.side-nav {
  gap: 8px;
  display: grid;
}

.side-nav-link {
  color: #ffffffeb;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  transition: all .2s;
  display: inline-flex;
}

.side-nav-link:hover {
  border-color: #ffffff61;
  transform: translateX(2px);
}

.side-nav-link.is-active {
  background: #ffffff24;
  border-color: #ffffffb8;
}

.content {
  grid-template-rows: 1fr;
  gap: 0;
  min-height: 0;
  display: grid;
}

.topbar {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  display: flex;
}

.page-wrap {
  align-content: start;
  gap: 18px;
  min-height: 0;
  display: grid;
}

.title-row {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.materials-page-title, .materials-setup-title {
  line-height: 1.15;
}

.dashboard-notice-wrap {
  justify-content: flex-end;
  width: 100%;
  max-width: 792px;
  margin: 0 auto;
  display: flex;
}

.dashboard-notice-link {
  border: 1px solid var(--line);
  color: var(--brand-strong);
  background: #fff;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
}

.dashboard-notice-badge {
  color: #fff;
  background: #be123c;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
}

.tiles-grid {
  --tile-size: 122px;
  --tile-gap: 12px;
  justify-content: center;
  gap: var(--tile-gap);
  width: 100%;
  max-width: calc((6 * var(--tile-size))  + (5 * var(--tile-gap)));
  flex-wrap: wrap;
  margin: 0 auto;
  display: flex;
}

.tile-card {
  width: var(--tile-size);
  border: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(#fff 0%, #f9fcfd 100%);
  border-radius: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 12px 10px;
  transition: all .2s;
  display: flex;
}

.tile-card:hover {
  border-color: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px #04233414;
}

.tile-icon-wrap {
  width: 52px;
  height: 52px;
  color: var(--brand);
  background: #dbe4f5;
  border-radius: 12px;
  place-items: center;
  display: grid;
}

.tile-icon-wrap.accent-danger {
  color: #b42318;
  background: #fde8ea;
}

.tile-icon-wrap.accent-success {
  color: #0f7a4b;
  background: #e5f8ee;
}

.tile-icon-wrap.accent-dark {
  color: #101828;
  background: #eaecf0;
}

.tile-icon-wrap.accent-orange {
  color: #b45309;
  background: #fff1e6;
}

.tile-icon-wrap.accent-pink {
  color: #be185d;
  background: #fce7f3;
}

.tile-icon-image {
  object-fit: contain;
  width: 24px;
  height: 24px;
  display: block;
}

.tile-card h3 {
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
}

.module-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  gap: 14px;
  padding: 18px;
  display: grid;
}

.table-wrap {
  overflow-x: auto;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
  gap: 12px;
  display: grid;
}

.field {
  gap: 8px;
  display: grid;
}

.field-full {
  grid-column: 1 / -1;
}

.field span {
  color: var(--muted);
  font-size: .9rem;
}

.field input, .field textarea, .field select, .inline-form input, .inline-form select {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  width: 100%;
  font: inherit;
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
}

.field textarea {
  resize: vertical;
}

.material-category-list {
  gap: 8px;
  max-width: 260px;
  display: grid;
}

.material-category-stack {
  gap: 8px;
  max-width: 260px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.material-category-stack li {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: .94rem;
  font-weight: 600;
}

.material-category-link {
  width: 100%;
  display: block;
}

.cable-item-row {
  align-items: center;
  gap: 10px;
  width: 100%;
  display: inline-flex;
}

.cable-qty-input {
  border: 1px solid var(--line);
  width: 68px;
  min-width: 68px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
}

.cable-unit {
  color: var(--muted);
  font-weight: 700;
}

.cable-separator {
  color: var(--line);
  font-weight: 700;
}

.material-item-label {
  flex: auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: inline-flex;
}

.material-item-name {
  overflow-wrap: anywhere;
  min-width: 0;
}

.material-item-thumbnail-button {
  cursor: zoom-in;
  background: none;
  border: 0;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.material-item-thumbnail {
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.material-image-lightbox {
  z-index: 1000;
  place-items: center;
  padding: 16px;
  display: grid;
  position: fixed;
  inset: 0;
}

.material-image-lightbox-backdrop {
  cursor: pointer;
  background: #0d1b2ab3;
  border: 0;
  position: absolute;
  inset: 0;
}

.material-image-lightbox-panel {
  z-index: 1;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  justify-items: center;
  gap: 12px;
  width: min(88vw, 440px);
  max-height: calc(100dvh - 32px);
  padding: 16px;
  display: grid;
  position: relative;
  overflow: auto;
  box-shadow: 0 24px 60px #08253733;
}

.material-image-lightbox-image {
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  width: auto;
  max-width: 100%;
  max-height: min(70dvh, 520px);
  display: block;
}

.material-image-lightbox-close {
  justify-self: center;
}

.commission-label, .commission-input {
  font-weight: 700;
}

.commission-row {
  justify-content: flex-end;
}

.responsible-row {
  justify-self: end;
  width: min(320px, 100%);
}

.responsible-select {
  width: 100%;
}

.material-selection-actions {
  align-self: end;
}

.material-area-buttons {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.material-area-buttons .btn {
  justify-content: center;
  min-width: 112px;
}

.commission-input-row {
  align-items: stretch;
  width: 100%;
  display: flex;
}

.commission-input-row input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.commission-input-row input:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.commission-prefix {
  border: 1px solid var(--line);
  color: var(--brand-strong);
  background: #fff;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  align-items: center;
  padding: 0 10px;
  font-weight: 800;
  display: inline-flex;
}

.material-selection-summary {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 12px;
  display: flex;
}

.material-selection-summary strong {
  color: var(--brand-strong);
}

.material-order-groups {
  gap: 16px;
  display: grid;
}

.material-category-tabs, .material-subcategory-tabs {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.material-category-tab, .material-subcategory-tab {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font: inherit;
  color: var(--text);
  cursor: pointer;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  font-weight: 700;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
  display: inline-flex;
}

.material-category-tabs {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  display: grid;
}

.material-category-tab:hover, .material-subcategory-tab:hover {
  border-color: var(--brand-secondary);
  background: #fff;
}

.material-category-tab.is-active, .material-subcategory-tab.is-active {
  border-color: var(--brand-secondary);
  color: var(--brand-strong);
  background: #e8f3f2;
}

.material-category-tab {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  text-align: left;
  border-radius: 16px;
  justify-content: flex-start;
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  font-size: 1rem;
  box-shadow: 0 8px 20px #061e340f;
}

.material-category-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px #061e341a;
}

.material-category-tab.is-active {
  border-color: var(--brand-secondary);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-secondary) 100%);
  color: #effffd;
  box-shadow: 0 14px 28px #12687733;
}

.material-subcategory-tab {
  min-height: 44px;
}

.material-order-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-radius: 18px;
  padding: 16px;
}

.material-order-section.is-hidden, .material-order-group.is-hidden {
  display: none;
}

.material-order-section h3 {
  margin: 0;
}

.material-order-subgroups {
  gap: 14px;
  display: grid;
}

.material-order-group {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px;
}

.material-order-subtitle {
  color: var(--brand-strong);
  margin: 0;
  font-size: 1rem;
}

.material-order-list {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.material-order-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

@media (min-width: 900px) {
  .material-order-subgroups {
    grid-template-columns: minmax(0, 1fr);
  }

  .kanban-grid {
    grid-template-columns: repeat(3, minmax(220px, 310px));
    justify-content: start;
  }
}

.material-category-item {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: .94rem;
  display: inline-flex;
}

.material-category-item input {
  margin: 0;
}

.kanban-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  display: grid;
}

.kanban-overview-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffffff5 0%, #f4f9fcfa 100%), var(--panel);
  border-radius: 18px;
  gap: 8px;
  padding: 18px;
  display: grid;
  box-shadow: 0 14px 32px #0f203612;
}

.kanban-overview-card strong {
  color: var(--brand-strong);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1;
}

.kanban-overview-card small {
  font-size: .82rem;
}

.kanban-composer-card {
  background: radial-gradient(circle at 100% 0, #1c305414, #0000 34%), linear-gradient(#fff 0%, #f8fbfd 100%);
  border-radius: 22px;
  padding: 20px;
}

.project-board-view .title-row {
  align-items: flex-start;
  gap: 10px;
}

.project-board-view .title-row h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.08;
}

.project-board-view .tile-icon-wrap {
  border-radius: 10px;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.kanban-board-shell {
  background: radial-gradient(circle at 0 0, #1c488914, #0000 26%), linear-gradient(#fffffff2 0%, #f3f8fcfa 100%);
  border: 1px solid #15244014;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 14px 30px #0f203612;
}

.kanban-grid {
  align-items: start;
  gap: 10px;
  display: grid;
}

.kanban-column {
  --kanban-accent: var(--brand);
  --kanban-accent-soft: #1c305414;
  background: linear-gradient(#fffffff5 0%, #f7fafcfa 100%);
  border: 1px solid #15244014;
  border-radius: 14px;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 100%;
  padding: 9px;
  display: grid;
  box-shadow: inset 0 1px #fffc;
}

.kanban-column-projects {
  --kanban-accent: #1d4ed8;
  --kanban-accent-soft: #1d4ed81a;
}

.kanban-column-progress {
  --kanban-accent: #b45309;
  --kanban-accent-soft: #b453091c;
}

.kanban-column-done {
  --kanban-accent: #0f7a4b;
  --kanban-accent-soft: #0f7a4b1a;
}

.kanban-column-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.kanban-column-title-group {
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.kanban-column-title-group h2 {
  margin: 0;
  font-size: .9rem;
  line-height: 1.2;
}

.kanban-column-title-group .muted {
  font-size: .72rem;
  line-height: 1.3;
}

.kanban-column-icon {
  background: var(--kanban-accent-soft);
  width: 30px;
  height: 30px;
  color: var(--kanban-accent);
  border-radius: 10px;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.kanban-count-badge {
  background: var(--kanban-accent-soft);
  min-width: 26px;
  color: var(--kanban-accent);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

.kanban-column-head-actions {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.kanban-column-add-link {
  appearance: none;
  background: var(--kanban-accent-soft);
  width: 26px;
  height: 26px;
  color: var(--kanban-accent);
  cursor: pointer;
  border: 1px solid #15244014;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.kanban-dialog {
  background: none;
  border: none;
  width: min(560px, 100vw - 24px);
  max-width: 100%;
  margin: auto;
  padding: 0;
}

.kanban-dialog::backdrop {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0f172a80;
}

.kanban-dialog-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 24px 52px #0f20362e;
}

.kanban-dialog-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.kanban-dialog-close {
  appearance: none;
  width: 36px;
  height: 36px;
  color: var(--ink);
  cursor: pointer;
  background: #1524400a;
  border: 1px solid #15244014;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.kanban-dialog-actions {
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

@media (max-width: 640px) {
  .kanban-dialog-card {
    border-radius: 18px;
    padding: 16px;
  }

  .kanban-dialog-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.kanban-card-list {
  align-content: start;
  gap: 8px;
  display: grid;
}

.kanban-card {
  background: #fff;
  border: 1px solid #1524401a;
  border-radius: 12px;
  gap: 8px;
  padding: 9px;
  display: grid;
  position: relative;
  box-shadow: 0 6px 14px #0f20360b;
}

.kanban-card:before {
  content: "";
  background: linear-gradient(90deg, var(--kanban-accent) 0%, #fff0 100%);
  border-radius: 12px 12px 0 0;
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
}

.kanban-card-main {
  padding-top: 1px;
}

.kanban-card-title-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.kanban-card-title-row strong {
  font-size: .86rem;
  line-height: 1.25;
}

.kanban-card p {
  color: var(--muted);
  margin: 0;
  font-size: .8rem;
  line-height: 1.3;
}

.kanban-card-meta {
  color: var(--muted);
  border-top: 1px dashed #1524401f;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  font-size: .7rem;
  display: flex;
}

.kanban-checklist {
  background: #f8fbfceb;
  border: 1px solid #15244014;
  border-radius: 10px;
  padding: 8px;
}

.kanban-checklist-head {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  list-style: none;
  display: flex;
}

.kanban-checklist-head::-webkit-details-marker {
  display: none;
}

.kanban-checklist-summary-meta {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.kanban-mini-badge {
  color: var(--brand-strong);
  background: #1c305414;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 2px 7px;
  font-size: .66rem;
  font-weight: 800;
  display: inline-flex;
}

.kanban-checklist-caret {
  color: var(--muted);
  font-size: .76rem;
  transition: transform .16s;
}

.kanban-checklist[open] .kanban-checklist-caret {
  transform: rotate(180deg);
}

.kanban-checklist-list {
  gap: 6px;
  padding-top: 6px;
  display: grid;
}

.kanban-checklist-toggle {
  width: 100%;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #1524401f;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  font-size: .8rem;
  transition: border-color .14s, transform .14s, background-color .14s;
  display: flex;
}

.kanban-checklist-toggle:hover {
  border-color: var(--kanban-accent);
  transform: translateY(-1px);
}

.kanban-checklist-toggle.is-done {
  background: #e5f8ee;
}

.kanban-checklist-box {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  flex: 0 0 14px;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  font-size: .66rem;
  font-weight: 700;
  display: inline-flex;
}

.kanban-checklist-toggle.is-done .kanban-checklist-box {
  color: #0f7a4b;
  background: #d8f5e8;
  border-color: #0f7a4b;
}

.kanban-card-actions {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.kanban-card-actions form {
  display: inline-flex;
}

.kanban-empty {
  text-align: center;
  background: linear-gradient(#ffffffe6 0%, #f4f9fceb 100%);
  border: 1px dashed #15244029;
  border-radius: 12px;
  place-items: center;
  min-height: 110px;
  padding: 12px 10px;
  display: grid;
}

.checkbox-field {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.btn {
  font: inherit;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  display: inline-flex;
}

.btn-fit {
  justify-self: end;
  width: fit-content;
}

.btn-primary {
  background: var(--brand);
  color: #effffd;
}

.btn-primary:hover {
  background: var(--brand-secondary);
}

.btn-danger {
  color: #fff;
  background: #be123c;
}

.btn-danger:hover {
  background: #9f1239;
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.sidebar .btn-outline {
  color: #f1fffd;
  background: #ffffff1f;
  border-color: #ffffff4d;
  justify-content: center;
  width: 94px;
  min-height: 30px;
  margin-left: 8px;
  padding: 5px 8px;
  font-size: .8rem;
}

.sidebar .btn-outline:hover {
  background: #fff3;
}

.btn-quiet {
  border-color: var(--line);
  color: var(--muted);
  background: none;
  padding: 8px 10px;
}

.btn-compact {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 700;
}

.inline-form, .inline-icon-text {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.vehicle-meta {
  gap: 6px;
  display: grid;
}

.vehicle-meta-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  display: flex;
}

.vehicle-meta-label {
  color: var(--muted);
  flex: none;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.1;
}

.vehicle-meta-value {
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
  font-size: .88rem;
  line-height: 1.25;
}

.vehicle-checklist-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  display: grid;
}

.vehicle-checklist-item {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 12px;
  gap: 12px;
  padding: 12px;
  display: grid;
}

.vehicle-checklist-label {
  gap: 4px;
  display: grid;
}

.vehicle-checklist-label strong {
  line-height: 1.25;
}

.vehicle-checklist-history {
  gap: 12px;
  padding-top: 10px;
  display: grid;
}

.vehicle-checklist-history-entry {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  gap: 8px;
  padding: 12px;
  display: grid;
}

.vehicle-checklist-history-entry p {
  margin: 0;
}

.vehicle-checklist-photo-list {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.vehicle-checklist-photo-list li, .vehicle-checklist-photo-list a {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.vehicle-checklist-photo-list li {
  background: var(--bg-soft);
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 8px;
}

.vehicle-checklist-photo-list a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.briefing-list {
  gap: 16px;
  display: grid;
}

.briefing-entry {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 16px;
  gap: 16px;
  padding: 16px;
  display: grid;
}

.briefing-summary {
  gap: 12px;
  display: grid;
}

.briefing-meta {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  display: grid;
}

.briefing-meta-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  gap: 4px;
  padding: 12px;
  display: grid;
}

.briefing-meta-label {
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.briefing-meta-value {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.35;
}

.briefing-confirm-form {
  min-width: 0;
}

.briefing-video {
  border: 1px solid var(--line);
  background: #000;
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
}

.briefing-checkbox {
  color: var(--text);
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  display: inline-flex;
}

.signature-pad-shell {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
}

.signature-pad-canvas {
  touch-action: none;
  cursor: crosshair;
  background: linear-gradient(#0000 calc(100% - 28px), #0d1b2a1f calc(100% - 28px)), #fff;
  width: 100%;
  height: 160px;
  display: block;
}

.signature-pad-meta {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.briefing-topic-list {
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  display: grid;
}

.briefing-topic-list li {
  color: var(--text);
  line-height: 1.35;
}

.table-actions {
  flex-wrap: wrap;
  gap: 8px;
  display: inline-flex;
}

.status {
  letter-spacing: .02em;
  border-radius: 999px;
  align-items: center;
  padding: 4px 10px;
  font-size: .79rem;
  font-weight: 700;
  display: inline-flex;
}

.status-open {
  color: var(--warning);
  background: #fff3e2;
}

.status-approved {
  color: var(--success);
  background: #d8f5e8;
}

.status-rejected {
  color: var(--danger);
  background: #ffe1e8;
}

.status-OPEN {
  color: var(--warning);
  background: #fff3e2;
}

.status-APPROVED {
  color: var(--success);
  background: #d8f5e8;
}

.status-REJECTED {
  color: var(--danger);
  background: #ffe1e8;
}

.section-headline {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.vacation-mode-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.vacation-mode-actions.is-menu {
  --tile-size: 122px;
  --tile-gap: 12px;
  gap: var(--tile-gap);
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 -1cm;
  position: relative;
  top: -1cm;
}

.vacation-mode-button {
  justify-content: center;
  min-width: 170px;
  min-height: 42px;
  text-decoration: none;
}

.vacation-mode-tile {
  height: var(--tile-size);
  min-height: var(--tile-size);
  aspect-ratio: 1;
  text-decoration: none;
  position: relative;
}

.vacation-mode-tile.is-active {
  border-color: var(--brand-secondary);
  box-shadow: 0 14px 26px #04233414, inset 0 0 0 1px #0f766e24;
}

.vacation-planning-summary {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  border-radius: 10px;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  display: inline-flex;
}

.vacation-planning-summary strong {
  color: var(--text);
  font-size: 1.1rem;
}

.vacation-dot {
  background: var(--vacation-fg, var(--brand));
  border-radius: 999px;
  flex: none;
  width: 10px;
  height: 10px;
}

.vacation-year-scroll {
  padding-bottom: 4px;
  overflow-x: auto;
}

.vacation-year-board {
  gap: 8px;
  min-width: 760px;
  display: grid;
}

.vacation-year-header, .vacation-year-row {
  grid-template-columns: minmax(150px, 190px) minmax(560px, 1fr);
  align-items: center;
  gap: 10px;
  display: grid;
}

.vacation-year-label-spacer {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.vacation-year-axis {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  min-height: 30px;
  display: flex;
  overflow: hidden;
}

.vacation-year-axis span {
  border-left: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  flex-basis: 0;
  padding: 7px 6px;
  font-size: .72rem;
  font-weight: 800;
}

.vacation-year-axis span:first-child {
  border-left: 0;
}

.vacation-year-rows {
  gap: 8px;
  display: grid;
}

.vacation-year-person {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  display: flex;
}

.vacation-year-person strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.vacation-year-track {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  min-height: 46px;
  position: relative;
  overflow: hidden;
}

.vacation-year-track-grid {
  display: flex;
  position: absolute;
  inset: 0;
}

.vacation-year-track-grid span {
  border-left: 1px solid #15244014;
  flex-basis: 0;
}

.vacation-year-track-grid span:first-child {
  border-left: 0;
}

.vacation-year-bar {
  border: 1px solid var(--vacation-border, var(--line));
  background: var(--vacation-bg, #e8f5f2);
  min-width: 9px;
  color: var(--vacation-fg, var(--brand));
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
  border-radius: 999px;
  align-items: center;
  padding: 0 8px;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  position: absolute;
  top: 8px;
  bottom: 8px;
  overflow: hidden;
}

.vacation-approved-list {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.vacation-approved-list li {
  border-top: 1px solid var(--line);
  grid-template-columns: auto minmax(140px, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding-top: 8px;
  display: grid;
}

.vacation-approved-list span:last-child {
  color: var(--muted);
  text-align: right;
  font-size: .88rem;
}

.vacation-color-0 {
  --vacation-bg: #dbeafe;
  --vacation-fg: #1d4ed8;
  --vacation-border: #93c5fd;
}

.vacation-color-1 {
  --vacation-bg: #dcfce7;
  --vacation-fg: #15803d;
  --vacation-border: #86efac;
}

.vacation-color-2 {
  --vacation-bg: #fef3c7;
  --vacation-fg: #b45309;
  --vacation-border: #fcd34d;
}

.vacation-color-3 {
  --vacation-bg: #ffe4e6;
  --vacation-fg: #be123c;
  --vacation-border: #fda4af;
}

.vacation-color-4 {
  --vacation-bg: #ede9fe;
  --vacation-fg: #6d28d9;
  --vacation-border: #c4b5fd;
}

.vacation-color-5 {
  --vacation-bg: #cffafe;
  --vacation-fg: #0e7490;
  --vacation-border: #67e8f9;
}

.vacation-color-6 {
  --vacation-bg: #e0f2fe;
  --vacation-fg: #0369a1;
  --vacation-border: #7dd3fc;
}

.vacation-color-7 {
  --vacation-bg: #ffedd5;
  --vacation-fg: #c2410c;
  --vacation-border: #fdba74;
}

.notice-list {
  gap: 10px;
  display: grid;
}

.chat-shell-card {
  gap: 10px;
  padding: 12px;
}

.chat-shell-head {
  border: 1px solid var(--line);
  background: #f7fbff;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  display: flex;
}

.chat-shell-title {
  gap: 2px;
  display: grid;
}

.chat-shell-title h2 {
  font-size: .96rem;
}

.chat-shell-title small {
  font-size: .78rem;
}

.chat-whatsapp-link {
  color: #fff;
  background: #25d366;
  border: 1px solid #1fb657;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  transition: transform .16s, box-shadow .16s, background-color .16s;
  display: inline-flex;
}

.chat-whatsapp-link:hover {
  background: #20bf5b;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px #14a45840;
}

.chat-whatsapp-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.chat-stream {
  border: 1px solid var(--line);
  background: linear-gradient(#fdfefe 0%, #f6fbff 100%);
  border-radius: 14px;
  gap: 8px;
  max-height: 56vh;
  padding: 10px 8px;
  display: grid;
  overflow: auto;
}

.chat-row {
  display: flex;
}

.chat-row-own {
  justify-content: flex-end;
}

.chat-bubble {
  background: #fff;
  border: 1px solid #d6e1e9;
  border-radius: 13px;
  gap: 5px;
  width: fit-content;
  max-width: min(88%, 620px);
  padding: 8px 10px;
  display: grid;
}

.chat-row-own .chat-bubble {
  background: #ecfbd6;
  border-color: #cde3bb;
}

.chat-bubble-head {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.chat-author {
  color: var(--brand-strong);
  font-size: .8rem;
}

.chat-time {
  color: var(--muted);
  white-space: nowrap;
  font-size: .74rem;
}

.chat-content {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: .88rem;
  line-height: 1.35;
}

.chat-empty {
  border: 1px dashed var(--line);
  text-align: center;
  border-radius: 12px;
  padding: 12px;
}

.chat-compose {
  border-top: 1px solid var(--line);
  align-items: flex-end;
  gap: 8px;
  padding-top: 8px;
  display: flex;
}

.chat-compose textarea {
  border: 1px solid var(--line);
  min-height: 42px;
  max-height: 140px;
  font: inherit;
  color: var(--text);
  resize: vertical;
  background: #fff;
  border-radius: 18px;
  flex: 1;
  padding: 9px 12px;
}

.notice-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  gap: 8px;
  padding: 12px;
  display: grid;
}

.notice-pinned {
  border-color: var(--brand-secondary);
  background: #f4fbff;
}

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

.notice-head span {
  color: var(--muted);
  font-size: .82rem;
}

.chip {
  width: fit-content;
  color: var(--brand-strong);
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #dbe4f5;
  border-radius: 999px;
  align-items: center;
  padding: 4px 10px;
  font-size: .74rem;
  font-weight: 700;
  display: inline-flex;
}

.text-link {
  color: var(--brand-secondary);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.error-text {
  color: var(--danger);
  font-size: .9rem;
}

.feedback-success {
  color: #0f6f4b;
  background: #e5f8ee;
  border: 1px solid #93d7b8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .92rem;
  font-weight: 600;
}

.stack-xs {
  gap: 4px;
  display: grid;
}

.stack-sm {
  gap: 10px;
  display: grid;
}

.stack-lg {
  gap: 16px;
  display: grid;
}

.shell:has(.dashboard-home) .tiles-grid {
  --tile-size: 96px;
  --tile-gap: 10px;
  max-width: calc((3 * var(--tile-size))  + (2 * var(--tile-gap)));
}

.shell:has(.dashboard-home) .dashboard-notice-wrap {
  max-width: 308px;
}

.shell:has(.dashboard-home) .dashboard-notice-link {
  padding: 7px 10px;
  font-size: .78rem;
}

.shell:has(.dashboard-home) .dashboard-notice-badge {
  min-width: 20px;
  height: 20px;
  font-size: .72rem;
}

.shell:has(.dashboard-home) .tile-card {
  min-height: 104px;
  padding: 10px 8px;
}

.shell:has(.dashboard-home) .tile-icon-wrap {
  width: 44px;
  height: 44px;
}

.shell:has(.dashboard-home) .tile-card h3 {
  font-size: .78rem;
}

@media (min-width: 981px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .sidebar {
    gap: 14px;
    padding: 16px;
  }

  .content {
    margin-top: -5mm;
  }
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .shell:has(.dashboard-home) .content {
    margin-top: -5mm;
  }

  .sidebar {
    gap: 14px;
    padding: 16px;
  }

  .side-nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .topbar {
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .material-image-lightbox {
    padding: 12px;
  }

  .material-image-lightbox-panel {
    border-radius: 16px;
    gap: 10px;
    width: min(100%, 360px);
    max-height: calc(100dvh - 24px);
    padding: 12px;
  }

  .material-image-lightbox-image {
    max-height: calc(100dvh - 120px);
  }

  .material-image-lightbox-close {
    justify-content: center;
    width: 100%;
  }

  .materials-page-title {
    font-size: 1.38rem;
  }

  .materials-setup-title {
    font-size: 1.02rem;
  }

  .auth-page {
    padding: 16px;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-logo {
    width: min(190px, 100%);
  }

  .shell:has(.dashboard-home) {
    min-height: 100dvh;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    overflow: visible;
  }

  .shell:has(.dashboard-home) .page-wrap {
    overflow: visible;
  }

  .dashboard-home {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    align-content: start;
  }

  .brand-subtitles {
    gap: 6px;
  }

  .brand-subtitle {
    font-size: .74rem;
  }

  .brand-separator {
    font-size: .56rem;
  }

  .brand-actions {
    justify-content: flex-end;
  }

  .sidebar-overview {
    width: 82px;
    min-height: 28px;
    padding: 4px 6px;
    font-size: .72rem;
  }

  .sidebar-back-button {
    margin-left: 6px;
  }

  .sidebar .btn-outline {
    width: 82px;
    min-height: 28px;
    margin-left: 6px;
    padding: 4px 6px;
    font-size: .72rem;
  }

  .tiles-grid {
    --tile-size: 96px;
    --tile-gap: 10px;
    max-width: calc((3 * var(--tile-size))  + (2 * var(--tile-gap)));
  }

  .dashboard-notice-wrap {
    max-width: 308px;
  }

  .dashboard-notice-link {
    padding: 7px 10px;
    font-size: .78rem;
  }

  .dashboard-notice-badge {
    min-width: 20px;
    height: 20px;
    font-size: .72rem;
  }

  .tile-card {
    min-height: 104px;
    padding: 10px 8px;
  }

  .tile-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .tile-card h3 {
    font-size: .78rem;
  }

  .chat-shell-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .chat-whatsapp-link {
    width: 36px;
    height: 36px;
  }

  .chat-stream {
    max-height: 52vh;
    padding: 8px 6px;
  }

  .chat-bubble {
    max-width: 94%;
    padding: 7px 9px;
  }

  .chat-content {
    font-size: .84rem;
  }

  .chat-compose {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-compose .btn {
    justify-content: center;
    width: 100%;
  }

  .kanban-board-shell, .kanban-column {
    padding: 8px;
  }

  .kanban-column-head {
    flex-wrap: wrap;
  }

  .kanban-card-actions form, .kanban-card-actions .btn {
    width: 100%;
  }

  .kanban-card-actions .btn {
    justify-content: center;
  }

  .vacation-mode-actions.is-compact {
    justify-content: stretch;
  }

  .vacation-mode-actions.is-menu {
    justify-content: center;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
  }

  .vacation-mode-button {
    width: 100%;
  }

  .vacation-mode-tile {
    height: var(--tile-size);
    min-height: var(--tile-size);
  }

  .vacation-approved-list li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vacation-approved-list span:last-child {
    text-align: left;
    grid-column: 2;
  }
}

/*# sourceMappingURL=_e520fcd0._.css.map*/