@font-face {
  font-family: Poppins;
  src: url("/fonts/Poppins-Regular.ttf");
}
@font-face {
  font-family: Poppins;
  src: url("/fonts/Poppins-SemiBold.ttf");
  font-weight: 600;
}
* {
  box-sizing: border-box;
}
:root {
  --green: #214e43;
  --ink: #253c35;
  --muted: #85918b;
  --line: #e8ece7;
  --bg: #f7f8f5;
  --mint: #ecf3ed;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #94bba3;
  outline-offset: 3px;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
button:active {
  transform: translateY(1px);
}
.sidebar {
  width: 250px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 33px 22px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  text-decoration: none;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1.3px;
}
.brand-icon {
  font-size: 47px;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.4px;
  margin-top: 1px;
}
.workspace-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 8px;
  margin: 32px 0 27px;
  font-size: 13px;
  font-weight: 600;
}
.workspace-switch small,
.profile small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.square {
  display: grid;
  place-items: center;
  background: #eaf0e9;
  border-radius: 5px;
  width: 31px;
  height: 31px;
  color: var(--green);
}
.nav-label {
  font-size: 13px;
  letter-spacing: 1.6px;
  color: #5b615d;
  margin: 0 12px 13px;
}
nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 7px;
  color: #59635c;
  text-decoration: none;
  font-size: 13px;
}
.nav-item.active {
  color: var(--green);
  background: #eaf1eb;
  font-weight: 600;
}
.nav-icon {
  width: 18px;
  font-size: 18px;
  line-height: 1;
}
.nav-count {
  margin-left: auto;
  background: #ede3cf;
  color: #755d28;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.help-card {
  background: #f5f7f1;
  border: 1px solid #eaf0e4;
  border-radius: 9px;
  padding: 17px 14px;
  margin-bottom: 22px;
}
.help-card > span {
  font-size: 23px;
  color: #5a6450;
}
.help-card strong {
  display: block;
  font-size: 13px;
  margin: 9px 0;
}
.help-card p {
  font-size: 13px;
  color: #5c625a;
  line-height: 1.9;
}
.help-card button {
  background: none;
  border: 0;
  padding: 9px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  text-align: left;
}
.help-card button span {
  float: right;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px 4px 0;
  font-size: 13px;
}
.avatar {
  background: #e8eee4;
  color: #506747;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.online {
  width: 6px;
  height: 6px;
  background: #6a946d;
  border-radius: 50%;
  margin-left: auto;
}
.main-shell {
  margin-left: 250px;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
}
.breadcrumb {
  font-size: 13px;
  color: #5b615d;
}
.breadcrumb span {
  padding: 0 13px;
  color: #c1c9c0;
}
.breadcrumb strong {
  font-weight: 400;
  color: #405549;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.demo-badge {
  font-size: 13px;
  color: #576455;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 23px;
  color: #59635c;
  padding: 3px 8px;
  position: relative;
}
.icon-button i {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c0a66c;
}
.small {
  width: 30px;
  height: 30px;
  font-size: 13px;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 36px 38px 20px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.eyebrow {
  font-size: 13px;
  color: #596359;
  letter-spacing: 1.8px;
  font-weight: 600;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 8px 0;
}
h1 span {
  color: #586350;
}
.page-heading p {
  font-size: 13px;
  color: #5b625d;
  margin: 0;
  line-height: 1.8;
}
.primary,
.secondary {
  border: 0;
  border-radius: 6px;
  padding: 12px 17px;
  font-size: 13px;
  font-weight: 600;
  background: var(--green);
  color: white;
  white-space: nowrap;
}
.primary:hover {
  background: #326959;
}
.secondary {
  background: #f0f4ec;
  color: var(--green);
  border: 1px solid var(--line);
}
.filterbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 22px;
  gap: 12px;
}
.filter-group {
  display: flex;
  gap: 10px;
}
.filter-group label {
  border: 1px solid #e2e7df;
  background: #fff;
  border-radius: 6px;
  padding: 7px 10px;
  color: #5b635c;
  display: flex;
  gap: 7px;
  align-items: center;
}
.filter-group select {
  border: 0;
  background: transparent;
  color: #526454;
  font-size: 13px;
  max-width: 150px;
}
.filter-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5c625a;
  font-size: 13px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #83a078;
}
.text-button {
  background: none;
  border: 0;
  color: #566451;
  font-size: 13px;
  padding: 8px 0 8px 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 21px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 19px 20px;
  position: relative;
  overflow: hidden;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #58635a;
}
.metric-icon {
  font-size: 18px;
  background: #f2f5ed;
  color: #54644c;
  border-radius: 7px;
  padding: 4px 9px;
}
.metric-value {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 11px 0 8px;
  font-weight: 600;
  line-height: 1.3;
}
.metric-foot {
  font-size: 13px;
  color: #5d625b;
}
.metric-foot strong {
  color: #4d6655;
  background: #f0f6ef;
  border-radius: 4px;
  padding: 3px 5px;
  margin-right: 4px;
  font-weight: 400;
}
.metric:nth-child(3) .metric-foot strong {
  background: #faf3e6;
  color: #735d33;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 22px 0;
}
.card h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.card-sub {
  font-size: 13px;
  color: #5c6359;
  margin: 5px 0 0;
}
.legend {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #5a6258;
}
.legend span:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #3c6c55;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.legend span + span:before {
  background: #ced9bb;
}
.chart-wrap {
  padding: 15px 18px 0;
}
.chart-wrap svg {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}
.chart-wrap text {
  fill: #9aa591;
  font-size: 13px;
  font-family: Poppins, Arial;
}
.chart-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 12px 22px;
  color: #5c6358;
  font-size: 13px;
}
.chart-caption strong {
  color: #4d6843;
  font-weight: 400;
}
.donut-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 27px 16px 25px;
}
.donut {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.donut-hole {
  border-radius: 50%;
  background: white;
  width: 111px;
  height: 111px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1px;
}
.donut-hole small {
  font-size: 13px;
  color: #5a6258;
  letter-spacing: 0;
  font-weight: 400;
}
.donut-key {
  display: grid;
  gap: 16px;
}
.key-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #596355;
}
.key-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color);
}
.key-row strong {
  margin-left: 9px;
  color: #354c36;
  font-size: 13px;
}
.health-note {
  margin: 0 20px 17px;
  background: #f5f8f1;
  border-radius: 6px;
  padding: 11px;
  font-size: 13px;
  color: #596450;
  line-height: 1.8;
}
.health-note strong {
  color: #4e6744;
  font-weight: 600;
}
.table-toolbar {
  padding: 16px 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #586256;
  max-width: 300px;
  background: #fff;
}
.search input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 400;
  font-size: 13px;
  color: #5b6356;
  background: #fafbf8;
  padding: 11px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 13px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f0f2ec;
  color: #596454;
}
tr:last-child td {
  border-bottom: 0;
}
.member-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}
.member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0eee5;
  color: #6a5f4c;
  font-size: 13px;
}
.member-name {
  color: #465b3e;
  font-size: 13px;
}
.member-name small {
  display: block;
  color: #5d6156;
  font-size: 13px;
  margin-top: 3px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #eff5ea;
  color: #546646;
  font-size: 13px;
}
.status:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.status.warn {
  background: #faf3e5;
  color: #705f3a;
}
.status.muted {
  background: #f0f1ed;
  color: #5c6256;
}
.row-button {
  background: none;
  border: 0;
  color: #57644e;
  font-size: 16px;
}
.table-bottom {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px;
  font-size: 13px;
  color: #5d6155;
}
.side-stack {
  display: grid;
  gap: 20px;
}
.task-list {
  padding: 12px 20px 10px;
}
.task {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.task:last-child {
  border: 0;
}
.task input {
  accent-color: var(--green);
  margin-top: 3px;
}
.task strong {
  font-size: 13px;
  font-weight: 400;
  color: #55664a;
}
.task small {
  display: block;
  font-size: 13px;
  color: #5c6156;
  margin-top: 5px;
}
.task.done strong {
  text-decoration: line-through;
  color: #5c6156;
}
.branch-list {
  padding: 18px 22px;
}
.branch-item {
  margin-bottom: 19px;
}
.branch-item:last-child {
  margin-bottom: 2px;
}
.branch-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #56644e;
  margin-bottom: 7px;
}
.branch-label strong {
  font-size: 13px;
  font-weight: 400;
  color: #4b6540;
}
.progress {
  background: #f1f4ec;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: #9cb58a;
  border-radius: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #5c6157;
  font-size: 13px;
  padding-top: 24px;
  gap: 15px;
}
.footer-dot {
  margin: 0 8px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 27px;
  width: min(550px, calc(100% - 30px));
  max-height: 90vh;
  box-shadow: 0 30px 90px #17352726;
  color: var(--ink);
}
dialog::backdrop {
  background: #20372e65;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.modal-heading h2 {
  margin: 7px 0 0;
  font-size: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid label {
  font-size: 13px;
  display: grid;
  gap: 7px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid #dce4d7;
  border-radius: 6px;
  background: #fcfdfa;
  padding: 11px;
  width: 100%;
  color: var(--ink);
}
.full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.notice {
  font-size: 13px;
  line-height: 1.9;
  background: #f1f5ec;
  padding: 13px;
  border-radius: 7px;
  color: #56654c;
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  font-size: 13px;
}
.detail-grid small {
  display: block;
  color: #5c6357;
  margin-bottom: 5px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: #5c6354;
  font-size: 13px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.report-card {
  padding: 24px;
}
.report-card p {
  color: #5a6353;
  font-size: 13px;
  line-height: 1.9;
}
.report-card .secondary {
  margin-top: 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: var(--green);
  color: #fff;
  padding: 13px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 25px #1e3e3220;
  transition: 0.2s;
  pointer-events: none;
  z-index: 30;
  font-size: 13px;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.guide {
  font-size: 13px;
  line-height: 2;
  color: #576450;
}
.guide li {
  margin: 12px 0;
}
.view-fade {
  animation: appear 0.25s ease;
}
@keyframes appear {
  from {
    opacity: 0.3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 44px;
  }
  .metric {
    padding: 24px;
  }
  .chart-wrap svg {
    height: 250px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .main-shell {
    margin-left: 215px;
  }
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .metric {
    padding: 16px 14px;
  }
  .metric-value {
    font-size: 23px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  }
  .donut-layout {
    gap: 12px;
  }
  .donut {
    width: 120px;
    height: 120px;
  }
  .donut-hole {
    width: 92px;
    height: 92px;
  }
  .legend {
    gap: 7px;
  }
  .card-head {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 1000px) {
  .grid-main {
    grid-template-columns: 1fr;
  }
  .side-stack {
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    gap: 10px;
  }
  .metric-value {
    font-size: 22px;
  }
  h1 {
    font-size: 24px;
  }
  .report-grid {
    grid-template-columns: 1fr 1fr;
  }
  .donut-layout {
    padding-top: 20px;
  }
  .donut {
    width: 145px;
    height: 145px;
  }
  .donut-hole {
    width: 111px;
    height: 111px;
  }
  .filter-note > span {
    display: none;
  }
}
@media (max-width: 720px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
    box-shadow: 10px 0 30px #264c3e12;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-shell {
    margin: 0;
  }
  .mobile-menu {
    display: block;
  }
  .topbar {
    height: 60px;
    padding: 0 16px;
  }
  .breadcrumb {
    margin-right: auto;
    margin-left: 10px;
  }
  .top-actions {
    gap: 12px;
  }
  .demo-badge {
    font-size: 13px;
  }
  main {
    padding: 26px 17px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .primary {
    padding: 10px;
    font-size: 13px;
  }
  .eyebrow {
    font-size: 13px;
    letter-spacing: 1px;
  }
  h1 {
    font-size: 22px;
    line-height: 1.4;
  }
  .page-heading p {
    font-size: 13px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric-value {
    font-size: 26px;
  }
  .filterbar {
    flex-wrap: wrap;
    padding-top: 20px;
  }
  .filter-note {
    margin-left: auto;
  }
  .side-stack {
    grid-template-columns: 1fr;
  }
  .card-head {
    padding: 18px 17px 0;
  }
  .legend {
    font-size: 13px;
  }
  .chart-caption {
    padding: 12px 17px;
    font-size: 13px;
  }
  footer {
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .table-toolbar {
    padding: 15px;
  }
  .search {
    max-width: 210px;
  }
  .top-actions .small {
    display: none;
  }
  .filter-group {
    gap: 6px;
  }
  .filter-group select {
    font-size: 13px;
  }
  .metric-foot {
    font-size: 13px;
  }
}
/* Keep operational data readable at normal browser zoom. */
.nav-item {
  font-size: 13px;
}
.workspace-switch {
  font-size: 13px;
}
.workspace-switch small,
.profile small {
  font-size: 13px;
}
.page-heading p {
  font-size: 13px;
}
.metric-top {
  font-size: 13px;
}
.metric-foot {
  font-size: 13px;
  line-height: 1.8;
}
.card h2 {
  font-size: 14px;
}
.card-sub {
  font-size: 13px;
}
.legend {
  font-size: 13px;
}
.chart-caption {
  font-size: 13px;
}
.key-row {
  font-size: 13px;
}
.key-row strong {
  font-size: 13px;
}
.health-note {
  font-size: 13px;
}
th {
  font-size: 13px;
}
td,
.member-name {
  font-size: 13px;
}
.member-name small {
  font-size: 13px;
}
.status {
  font-size: 13px;
}
.task strong {
  font-size: 13px;
}
.task small {
  font-size: 13px;
}
.branch-label,
.branch-label strong {
  font-size: 13px;
}
.table-bottom {
  font-size: 13px;
}
.search input,
.text-button {
  font-size: 13px;
}
.filter-group select {
  font-size: 13px;
}
.filter-note {
  font-size: 13px;
}
.profile {
  font-size: 13px;
}
.help-card strong {
  font-size: 13px;
}
.help-card p,
.help-card button {
  font-size: 13px;
}
.report-card p {
  font-size: 13px;
}
.chart-wrap svg {
  height: 230px;
}
.form-grid label {
  font-size: 13px;
}
.notice {
  font-size: 13px;
}
.secondary,
.primary {
  font-size: 13px;
}
.donut-layout {
  gap: 14px;
}
.donut-key {
  gap: 13px;
}
footer {
  font-size: 13px;
}
@media (max-width: 1200px) {
  .donut-layout {
    gap: 10px;
  }
  .key-row {
    gap: 4px;
    font-size: 13px;
  }
  .key-row strong {
    margin-left: 4px;
  }
  .metric-foot {
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .page-heading p {
    font-size: 13px;
  }
  .metric-top {
    font-size: 13px;
  }
  .metric-foot {
    font-size: 13px;
  }
  .legend {
    font-size: 13px;
  }
  .chart-caption {
    font-size: 13px;
  }
  .filter-group select {
    font-size: 13px;
  }
  .page-heading .primary {
    font-size: 13px;
  }
  .card-sub {
    font-size: 13px;
  }
  .donut-key .key-row {
    font-size: 13px;
  }
  .key-row strong {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.equipment-field { padding: 16px; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; }
.equipment-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.equipment-field h3 { margin: 0 0 4px; font-size: 14px; }
.equipment-field .field-help { margin: 0; }
.equipment-field-heading button { flex-shrink: 0; }
.equipment-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.equipment-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface, #fff); font-size: 13px; }
.equipment-chip strong { color: var(--green); background: var(--mint); border-radius: 4px; padding: 1px 5px; font-size: 11px; }
.equipment-empty { color: var(--ink); opacity: .65; font-size: 12px; }
.equipment-dialog { width: min(660px, calc(100vw - 32px)); max-height: 88vh; max-height: 88dvh; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--surface, #fff); font: inherit; box-shadow: 0 24px 80px #123b3338; }
.equipment-dialog::backdrop { background: #153e3266; backdrop-filter: blur(3px); }
.equipment-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 20px; border-bottom: 1px solid var(--line); }
.equipment-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--green); }
.equipment-dialog-header h2 { margin: 6px 0; font-size: 22px; line-height: 1.3; }
.equipment-dialog-header p { margin: 0; font-size: 13px; opacity: .75; }
.equipment-close { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; padding: 0; font-size: 23px; flex-shrink: 0; }
.equipment-dialog-body { padding: 20px 24px; }
.equipment-dialog label { font-size: 12px; font-weight: 600; }
.equipment-dialog .equipment-search, .equipment-list-creator-body > label { display: grid; gap: 8px; }
.equipment-dialog input[type=search], .equipment-dialog input[type=number], .equipment-dialog textarea { display: block; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--surface, #fff); border: 1px solid #a4bbae; border-radius: 8px; }
.equipment-dialog textarea { resize: vertical; line-height: 1.6; }
.equipment-list-heading { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 6px; font-size: 13px; }
.equipment-list-heading span, .equipment-quantity-hint { font-size: 11px; opacity: .7; }
.equipment-quantity-hint { margin: 0 0 12px; }
.equipment-options { display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.equipment-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.equipment-option.is-selected { border-color: #91b3a2; background: var(--mint); }
.equipment-option label:first-child { display: flex; align-items: center; gap: 12px; flex: 1; font-size: 14px; overflow-wrap: anywhere; cursor: pointer; }
.equipment-option input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--green); flex-shrink: 0; }
.equipment-option label:last-child { display: grid; gap: 4px; font-size: 10px; }
.equipment-option input[type=number] { width: 106px; min-height: 38px; padding: 8px 10px; font-size: 12px; }
.equipment-option input:disabled { opacity: .4; background: var(--bg); }
.equipment-list-creator { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.equipment-list-creator summary { padding: 14px; cursor: pointer; font-size: 13px; font-weight: 600; }
.equipment-list-creator summary span { font-weight: 400; font-size: 11px; margin-left: 8px; opacity: .65; }
.equipment-list-creator-body { padding: 0 14px 14px; }
.equipment-create-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.equipment-create-actions button { padding: 9px 12px; font-size: 12px; }
.equipment-dialog-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; background: var(--surface, #fff); border-top: 1px solid var(--line); }
.equipment-dialog-footer > span { font-size: 12px; font-weight: 600; }
.equipment-dialog-footer > div { display: flex; gap: 8px; }
.equipment-dialog [data-item-error]:empty { display: none; }
.equipment-dialog [data-item-error] { color: #a53030; font-size: 12px; }
.job-driver-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .equipment-dialog-header, .equipment-dialog-body { padding: 18px; }
  .equipment-dialog-footer { padding: 14px 18px; flex-wrap: wrap; }
  .equipment-dialog-footer > div { flex: 1; justify-content: flex-end; }
  .equipment-field-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .equipment-option { padding: 10px; gap: 10px; }
  .equipment-list-creator summary span { display: block; margin: 5px 0 0 16px; }
}

.platform-banner{border:1px solid #bfd5cb;background:#edf5f0;color:#193f36;border-radius:10px;padding:14px 18px;margin-bottom:14px;overflow-wrap:anywhere}.platform-banner p{margin:5px 0 0;white-space:pre-wrap}.platform-warning{background:#fff6df;border-color:#d7b975;color:#674b13}.platform-paused{padding:28px;overflow-wrap:anywhere}.platform-paused p{margin-top:14px;white-space:pre-wrap}
