.maintenance-dashboard{--maintenance-border:#dce4db;--maintenance-green:#183f32;color:#1c3028}
.maintenance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.maintenance-metrics>div,.maintenance-layout{background:#fff;border:1px solid var(--maintenance-border);border-radius:12px}
.maintenance-metrics>div{padding:14px 18px;border-left:4px solid #bbd4bd}
.maintenance-metrics>div:nth-child(2){border-left-color:#dfc27f}
.maintenance-metrics>div:nth-child(3){border-left-color:#a7c6e6}
.maintenance-metrics span,.maintenance-metrics strong{display:block}
.maintenance-metrics strong{font-size:26px;color:var(--maintenance-green)}
.maintenance-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,2fr);overflow:hidden}
.maintenance-table-panel,.maintenance-detail{min-width:0;padding:16px}
.maintenance-detail{border-left:1px solid var(--maintenance-border);overflow-wrap:anywhere}
.maintenance-tools{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.maintenance-dashboard :is(input,select,textarea){font:inherit;color:inherit;padding:9px;border:1px solid #bdc9c0;border-radius:7px;background:#fff}
.maintenance-tools input{flex:1 1 140px;min-width:0}
.maintenance-tools select{max-width:100%}
.maintenance-dashboard button{font:inherit;cursor:pointer;border-radius:7px;padding:9px 13px}
.maintenance-tools button,.maintenance-detail button[type=button]{background:#f3f7f2;color:var(--maintenance-green);border:1px solid var(--maintenance-border)}
.maintenance-table-scroll{overflow:auto}
.maintenance-table-scroll table{width:100%;border-collapse:collapse;min-width:370px}
.maintenance-table-scroll :is(th,td){padding:10px 8px;text-align:left;border-bottom:1px solid var(--maintenance-border)}
.maintenance-table-scroll :is(th,small){color:#52675b;font-size:13px}
.maintenance-table-scroll small{display:block;margin-top:4px}
.maintenance-table-scroll .selected{background:#eaf2e7}
.maintenance-dashboard .maintenance-open{background:none;color:var(--maintenance-green);border:0;font-weight:650;padding:0;text-align:left}
.maintenance-status{display:inline-block;border-radius:20px;padding:3px 8px;background:#edf0ed;font-size:13px;white-space:nowrap}
.maintenance-status.assigned{background:#efe9fa;color:#49366a}
.maintenance-status.in_progress{background:#e3effb;color:#184975}
.maintenance-status.resolved{background:#e4f0e2;color:#24553d}
.maintenance-detail h2{margin:0 0 4px}
.maintenance-detail h3{font-size:15px;margin-bottom:4px}
.maintenance-detail p{white-space:pre-wrap;margin:0 0 14px}
.maintenance-detail img{display:block;width:100%;max-height:270px;object-fit:contain;border-radius:8px}
.maintenance-detail img:not([src]){display:none}
.maintenance-detail form{display:grid;gap:12px;margin-top:16px}
.maintenance-detail label{display:grid;gap:4px;font-weight:600}
.maintenance-detail textarea{min-height:88px;resize:vertical}
.maintenance-detail button:not([type]){background:var(--maintenance-green);color:#fff;border:0}
.maintenance-notice{background:#e3effb;color:#184975;border-radius:8px;padding:10px 14px}
body:has(.maintenance-staff-workspace) main{width:min(1160px,calc(100% - 32px))}
.maintenance-staff-workspace{background:transparent;border:0;padding:18px 0}
.maintenance-staff-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.maintenance-staff-heading :is(h1,p){margin:0 0 4px}
@media(max-width:850px){.maintenance-layout{grid-template-columns:1fr}.maintenance-detail{border-left:0;border-top:1px solid var(--maintenance-border)}}
@media(max-width:540px){.maintenance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.maintenance-table-panel,.maintenance-detail{padding:12px}.maintenance-staff-heading{align-items:flex-start}}
.maintenance-original{display:block;max-width:100%;max-height:420px;margin:10px 0;object-fit:contain}
.maintenance-dashboard button.maintenance-primary{background:#183f32;color:white;border:0}
.maintenance-completion{width:min(480px,calc(100% - 32px));padding:22px;border:1px solid #dce4db;border-radius:9px;color:#1c3028}
.maintenance-completion::backdrop{background:#14271e75}

/* Park owner and administrator request register. */
.maintenance-park-dashboard .maintenance-status-filters,
.maintenance-park-dashboard .maintenance-tools {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
}
.maintenance-park-dashboard .maintenance-status-filters { margin:0 0 12px; }
.maintenance-park-dashboard .maintenance-status-filters button {
  border:1px solid #b8c9b4; border-radius:999px; background:#fff; color:#103b23; font-weight:700;
}
.maintenance-park-dashboard .maintenance-status-filters button[aria-pressed=true] {
  background:#103b23; color:#fff; border-color:#103b23;
}
.maintenance-status-filters b {
  display:inline-block; margin-left:4px; padding:0 7px; border-radius:999px;
  color:#103b23; background:#e1eadd; font-size:13px;
}
.maintenance-status-filters [aria-pressed=true] b { background:#fff; }
.maintenance-status-filters .maintenance-count-warning { color:#603800; background:#ffe2a1; }
.maintenance-park-dashboard .maintenance-tools { margin-bottom:20px; }
.maintenance-park-dashboard .maintenance-tools > * { min-height:44px; border-radius:10px; }
.maintenance-park-dashboard .maintenance-tools input { flex:0 1 265px; width:min(100%,265px); padding-inline:14px; }
.maintenance-park-dashboard .maintenance-tools button { background:white; font-size:22px; line-height:1; min-width:44px; }
.maintenance-park-dashboard > p:empty { display:none; }
.maintenance-park-dashboard .maintenance-layout {
  grid-template-columns:minmax(0, 8fr) minmax(285px, 5fr); align-items:start; gap:18px;
  border:0; background:none; overflow:visible;
}
.maintenance-park-dashboard :is(.maintenance-table-panel,.maintenance-detail) {
  border:1px solid #d7e0d3; border-radius:15px; background:#fff;
}
.maintenance-park-dashboard .maintenance-table-panel { padding:0; overflow:hidden; }
.maintenance-park-dashboard .maintenance-detail { padding:22px; }
.maintenance-park-dashboard table { table-layout:fixed; min-width:525px; }
.maintenance-park-dashboard th:nth-child(1) { width:30%; }
.maintenance-park-dashboard th:nth-child(2) { width:20%; }
.maintenance-park-dashboard th:nth-child(3) { width:29%; }
.maintenance-park-dashboard :is(th,td) { padding:12px 16px; }
.maintenance-park-dashboard th {
  background:#e2ebdf; color:#103b23; font-size:12px; letter-spacing:.04em; text-transform:uppercase;
}
.maintenance-park-dashboard td { vertical-align:middle; font-size:14px; }
.maintenance-park-dashboard tr:has(.maintenance-open) { cursor:pointer; }
.maintenance-park-dashboard .maintenance-open { font-size:16px; font-weight:750; overflow-wrap:anywhere; }
.maintenance-park-dashboard td small { margin:0; }
.maintenance-park-dashboard tr.selected { background:#eef4eb; }
.maintenance-park-dashboard tr.selected td:first-child { box-shadow:inset 4px 0 #103b23; }
.maintenance-park-dashboard .maintenance-status { padding:5px 11px; font-weight:700; }
.maintenance-park-dashboard .maintenance-status.submitted { color:#174a80; background:#dae7f6; }
.maintenance-park-dashboard .maintenance-status.assigned { color:#103b23; background:#e2ebdf; }
.maintenance-park-dashboard .maintenance-status.resolved { color:#103b23; background:#dcebd5; }
.maintenance-park-dashboard button.maintenance-assign {
  min-height:42px; border:1px solid #926100; border-radius:10px;
  color:#603800; background:#fff; font-weight:700;
}
.maintenance-assignee { display:flex; align-items:center; gap:8px; min-width:0; }
.maintenance-assignee b {
  display:grid; place-items:center; width:28px; height:28px; flex:none; border-radius:50%;
  background:#e2ebdf; color:#103b23; font-size:12px;
}
.maintenance-assignee span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.maintenance-queue-footer { padding:10px 16px; font-size:13px; color:#435a50; }
.maintenance-park-dashboard button.maintenance-sync {
  padding:0; border:0; background:none; color:#103b23; text-decoration:underline; font-weight:700;
}
.maintenance-park-dashboard .maintenance-table-scroll > p { padding:14px 16px; }
.maintenance-detail-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.maintenance-detail-heading h2 { font-size:24px; }
.maintenance-detail-heading p { font-size:14px; color:#435a50; }
.maintenance-progress {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px;
  list-style:none; margin:4px 0 18px; padding:0; text-align:center; font-size:13px;
}
.maintenance-progress li::before {
  content:""; display:block; height:6px; margin-bottom:6px; border-radius:6px; background:#d7e0d3;
}
.maintenance-progress li.reached::before { background:#103b23; }
.maintenance-progress [aria-current=step] { color:#103b23; font-weight:750; }
.maintenance-park-dashboard .maintenance-detail h3 { font-size:12px; text-transform:uppercase; letter-spacing:.05em; }
.maintenance-park-dashboard .maintenance-assignment-form {
  gap:10px; padding:14px; border:1px solid #e7bf69; border-radius:12px; background:#fff7e2;
}
.maintenance-assignment-form > label { color:#603800; }
.maintenance-park-dashboard .maintenance-detail form :is(select,button) { min-height:44px; border-radius:10px; }
.maintenance-park-dashboard .maintenance-detail form button:not([type]) { background:#103b23; font-weight:750; }
.maintenance-edit-options { font-size:13px; }
.maintenance-edit-options label { margin-top:8px; }
.maintenance-activity { margin-top:18px; }
.maintenance-activity p { font-size:14px; }
.maintenance-activity p:last-child { margin-bottom:0; }
@media(max-width:1000px) {
  .maintenance-park-dashboard .maintenance-layout { grid-template-columns:1fr; }
}
