:root {
  font-family: Arial,"Noto Sans Hebrew",sans-serif;
  color: #183c35;
  background: #f4f6f3;
  font-synthesis: none;
  --green: #164b3e;
  --mint: #e5f0e8;
  --muted: #71817a;
  --border: #e3e9e3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .55;
  cursor: wait;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
h2 {
  font-size: 23px;
}
p {
  line-height: 1.7;
}
small {
  color: var(--muted);
  font-size: 12px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #83bc9b;
  outline-offset: 3px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #23624d;
}
.secondary:hover,
.ghost:hover {
  background: #eaf0e9;
}
.ghost {
  background: transparent;
  border-color: transparent;
}
.danger {
  color: #a74235;
  border-color: #efd3ce;
  background: #fff7f5;
}
.wide {
  width: 100%;
}
.brand {
  font-family: Arial,sans-serif;
  font-weight: 900;
  text-decoration: none;
  font-size: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  justify-content: flex-end;
}
.brand > span {
  font-size: 21px;
  letter-spacing: -.5px;
}
.eyebrow {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.4px;
  color: #739286;
  margin-bottom: 10px;
}
.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #fff;
}
.login-art {
  background: #143e36;
  color: white;
  padding: 40px 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}
.login-art:after {
  content: "";
  width: 450px;
  height: 450px;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  position: absolute;
  left: -200px;
  bottom: 80px;
  box-shadow: 0 0 0 50px #ffffff04,0 0 0 100px #ffffff03;
  pointer-events: none;
}
.login-art > div {
  z-index: 1;
}
.login-art h1 {
  font-size: clamp(42px,4.8vw,72px);
  max-width: 450px;
  line-height: 1.13;
  letter-spacing: -2px;
  margin-bottom: 25px;
}
.login-art p:not(.eyebrow) {
  max-width: 360px;
  color: #b6cec4;
  font-size: 18px;
}
.login-art small {
  color: #91b3a5;
  direction: ltr;
  text-align: right;
}
.orbit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 16px;
  margin-top: 42px;
  align-items: center;
  font-size: 14px;
}
.orbit > span {
  font-family: monospace;
  color: #7ba897;
  font-size: 12px;
}
.orbit > b {
  font-weight: normal;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 50px 30px;
}
.login-card {
  width: min(100%,390px);
}
.login-card h2 {
  font-size: 28px;
  margin-top: 25px;
}
.login-card > p {
  color: var(--muted);
  font-size: 14px;
}
.app-mark {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--mint);
  color: var(--green);
  display: grid;
  place-items: center;
  font: bold 34px Arial;
}
.privacy-note {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 22px;
  font-size: 12px!important;
}
.legal-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f6f0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 22px 0;
}
.code strong {
  font: 700 27px monospace;
  letter-spacing: 5px;
}
.poll {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 12px!important;
  margin: 16px 0 8px;
}
.poll i,
.live-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76b392;
  display: inline-block;
}
.workspace {
  display: grid;
  grid-template-columns: 238px 1fr;
  min-height: 100svh;
}
.sidebar {
  background: #fff;
  border-left: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
}
.sidebar .brand {
  padding: 0 8px;
}
.garage-name {
  margin: 30px 8px 25px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 8px;
}
.garage-name strong {
  font-size: 15px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.nav-item {
  justify-content: flex-start;
  border: 0;
  font-weight: normal;
  color: #74877d;
  min-height: 48px;
}
.nav-item.selected {
  background: var(--mint);
  color: var(--green);
  font-weight: bold;
}
.side-bottom {
  margin-top: auto;
  display: grid;
  gap: 15px;
}
.live-state {
  font-size: 11px;
  color: #7b8d81;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}
.live-state.offline i {
  background: #be7d5c;
}
.topbar {
  height: 83px;
  background: #ffffffb3;
  border-bottom: 1px solid var(--border);
  padding: 16px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar > div:first-child {
  display: grid;
  gap: 5px;
}
.topbar strong {
  font-size: 14px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions select {
  max-width: 150px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}
.content {
  padding: 38px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading > div > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.metric {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  display: grid;
  gap: 12px;
}
.metric strong {
  font-size: 35px;
  line-height: 1;
  font-weight: 500;
}
.metric small {
  max-width: 80%;
}
.metric-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 19px;
  color: #94ac9a;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
}
.list-tools {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.search {
  max-width: 420px;
  flex: 1;
}
.search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 15px;
  background: #f8faf7;
  outline-color: #96bba4;
  font-size: 13px;
}
.filters {
  display: flex;
  gap: 5px;
}
.chip {
  border: 0;
  padding: 9px 12px;
  border-radius: 7px;
  background: transparent;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.chip.selected {
  background: var(--mint);
  color: var(--green);
}
.job-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0eb;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: right;
  padding: 22px;
}
.job-row:last-child {
  border-bottom: 0;
}
.job-row:hover {
  background: #f8fbf6;
}
.vehicle-avatar {
  background: #f1f4ed;
  color: #8c9d89;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 23px;
  flex-shrink: 0;
}
.job-main {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  width: 170px;
  flex-shrink: 0;
}
.job-main > strong {
  font-size: 14px;
}
.plate {
  font: 12px monospace;
  letter-spacing: 1px;
  border: 1px solid #e6e9dc;
  border-radius: 4px;
  padding: 3px 8px;
  background: #faf9e9;
  display: inline-block;
  color: #5c634c;
}
.job-issue {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 12px;
}
.job-issue strong {
  font-size: 13px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 450px;
}
.job-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.badge {
  font-size: 11px;
  border-radius: 6px;
  padding: 6px 9px;
  display: inline-block;
  background: #f1f3ee;
  color: #6e7d6c;
  white-space: nowrap;
}
.badge.IN_PROGRESS,
.badge.APPROVED {
  background: #e6f2e9;
  color: #367454;
}
.badge.PENDING_APPROVAL,
.badge.PENDING_CUSTOMER_APPROVAL,
.badge.PENDING_ADMIN {
  background: #fff3d9;
  color: #9b7a28;
}
.badge.READY_FOR_PICKUP {
  background: #e3efee;
  color: #367974;
}
.badge.REJECTED {
  background: #f9e9e5;
  color: #9a665b;
}
.empty {
  padding: 70px 25px;
  text-align: center;
  color: var(--muted);
}
.empty > span {
  font-size: 35px;
  opacity: .5;
  display: block;
  margin-bottom: 18px;
}
.empty h3 {
  font-size: 18px;
  color: #5d7567;
}
.empty p {
  font-size: 13px;
  max-width: 400px;
  margin: auto;
}
.list-limit {
  display: block;
  margin-top: 15px;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
  gap: 18px;
}
.quote-card {
  padding: 24px;
}
.quote-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.quote-card h2 {
  font-size: 17px;
  line-height: 1.6;
}
.quote-card p {
  font-size: 24px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.actions .button {
  font-size: 12px;
  padding: 9px 12px;
  min-height: 39px;
}
.person-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.person-row:last-child {
  border: 0;
}
.avatar {
  width: 42px;
  height: 42px;
  background: #edf2e8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #758c6b;
  flex-shrink: 0;
  font-size: 18px;
}
.person-row > div:nth-child(2) {
  display: grid;
  gap: 8px;
  flex: 1;
}
.person-row strong {
  font-size: 14px;
}
.invite-code {
  display: grid;
  gap: 7px;
}
.invite-code b {
  letter-spacing: 3px;
  font: 20px monospace;
}
.account-card,
.registration {
  padding: 35px;
  max-width: 650px;
}
.account-card > p {
  color: var(--muted);
}
.large {
  width: 60px;
  height: 60px;
  font-size: 26px;
  margin-bottom: 20px;
}
.danger-zone {
  max-width: 650px;
  margin-top: 22px;
  padding: 25px;
}
.danger-zone h3 {
  font-size: 14px;
}
.registration {
  margin: 15px auto;
}
.registration > .app-mark {
  margin-bottom: 22px;
}
.registration > p {
  color: var(--muted);
  font-size: 14px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.field > span {
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dce4dc;
  border-radius: 9px;
  background: white;
  color: inherit;
  outline-color: #92b59c;
  min-width: 0;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.65;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.consent {
  font-size: 12px;
  line-height: 1.7;
  display: block;
  margin: 12px 0 20px;
}
.consent input {
  margin-left: 6px;
}
.form-error {
  font-size: 13px;
  color: #b04e3c;
  white-space: pre-wrap;
  margin: 12px 0;
  min-height: 18px;
}
.helper {
  font-size: 12px;
  color: var(--muted);
}
.warning {
  font-size: 14px;
  border: 1px solid #efd4c8;
  background: #fff8ef;
  padding: 16px;
  border-radius: 9px;
  color: #9a6a45;
}
.boot {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 25px;
}
.boot h1 {
  font-size: 20px;
}
dialog {
  width: min(620px,calc(100% - 28px));
  max-height: 88svh;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  color: inherit;
  box-shadow: 0 20px 90px #102e392e;
}
dialog::backdrop {
  background: #16352e7a;
  backdrop-filter: blur(4px);
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.modal-heading h2 {
  font-size: 19px;
  margin: 0;
}
.close-button {
  border: 0;
  background: #f3f5f0;
  padding: 6px;
  width: 34px;
  min-height: 34px;
  font-size: 24px;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.detail-head h2 {
  margin: 14px 0 10px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  background: #f6f8f3;
  padding: 20px;
  border-radius: 12px;
  margin: 25px 0;
}
.detail-grid > div {
  display: grid;
  gap: 7px;
}
.detail-grid strong {
  font-size: 14px;
}
.detail-section {
  margin: 24px 0;
}
.detail-section h3 {
  font-size: 13px;
  color: var(--muted);
}
.detail-section p {
  font-size: 14px;
  white-space: pre-wrap;
}
.detail-actions {
  margin-top: 25px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.document {
  display: grid;
  gap: 8px;
  text-decoration: none;
  padding: 16px;
  background: #f5f8f2;
  border-radius: 9px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.document-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.message {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 10px 0;
}
.message p {
  font-size: 14px;
  white-space: pre-wrap;
  margin: 10px 0 0;
}
.messages {
  max-height: 45svh;
  overflow: auto;
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #173e35;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 35px #15362d30;
  max-width: min(90vw,600px);
  font-size: 13px;
  line-height: 1.7;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 20;
  white-space: pre-wrap;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.mobile-nav {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
@media (min-width:1500px) {
  .content {
    padding: 45px 55px;
  }
  .job-issue strong {
    max-width: 600px;
  }
}
@media (max-width:1100px) {
  .workspace {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    padding: 25px 14px;
  }
  .content {
    padding: 26px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 18px 14px;
  }
  .list-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search {
    max-width: 100%;
  }
  .job-issue {
    display: none;
  }
  .job-main {
    flex: 1;
  }
  .install-button {
    display: none;
  }
  .topbar {
    padding: 16px 26px;
  }
  .login-art {
    padding: 35px;
  }
}
@media (max-width:740px) {
  h1 {
    font-size: 26px;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .content {
    padding: 25px 16px 100px;
  }
  .topbar {
    height: 75px;
    padding: 14px 18px;
  }
  .topbar .button {
    padding: 8px;
  }
  .header-actions {
    gap: 0;
  }
  .header-actions select {
    max-width: 110px;
    font-size: 12px;
  }
  .page-heading {
    margin-bottom: 24px;
    align-items: flex-start;
    gap: 10px;
  }
  .page-heading > div > p:not(.eyebrow) {
    max-width: 260px;
    font-size: 12px;
  }
  .page-heading > .button {
    font-size: 12px;
    padding: 10px;
    max-width: 125px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .metric {
    padding: 17px;
  }
  .metric strong {
    font-size: 30px;
  }
  .metric-icon {
    top: 14px;
    left: 14px;
  }
  .list-tools {
    padding: 14px;
  }
  .filters {
    overflow: auto;
  }
  .chip {
    flex: 1;
    font-size: 11px;
  }
  .job-row {
    padding: 18px 13px;
    gap: 11px;
  }
  .vehicle-avatar {
    width: 32px;
    height: 36px;
    font-size: 20px;
  }
  .job-main {
    width: auto;
    gap: 7px;
  }
  .job-main > strong {
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 13px;
  }
  .job-end .badge {
    font-size: 10px;
    padding: 5px 7px;
  }
  .job-main small {
    font-size: 10px;
  }
  .job-end small {
    font-size: 11px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 9px 5px calc(9px + env(safe-area-inset-bottom));
    z-index: 5;
  }
  .mobile-nav .nav-item {
    font-size: 11px;
    min-height: 42px;
    justify-content: center;
    padding: 9px 10px;
  }
  .login-layout {
    display: flex;
    flex-direction: column;
  }
  .login-art {
    min-height: unset;
    padding: 22px 26px 32px;
  }
  .login-art > .brand {
    font-size: 28px;
    justify-content: flex-end;
  }
  .login-art h1 {
    font-size: 40px;
    max-width: 340px;
    margin: 30px 0 12px;
  }
  .login-art p:not(.eyebrow) {
    font-size: 14px;
    margin-bottom: 0;
  }
  .login-art .eyebrow,
  .login-art small,
  .orbit {
    display: none;
  }
  .login-panel {
    padding: 32px 25px 45px;
  }
  .login-card h2 {
    font-size: 24px;
    margin-top: 15px;
  }
  .login-panel .app-mark {
    display: none;
  }
  .person-row {
    padding: 18px 15px;
    flex-wrap: wrap;
  }
  .person-row .actions {
    width: 100%;
    padding-right: 55px;
  }
  .account-card,
  .registration {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    padding: 16px;
    gap: 20px 10px;
  }
  dialog {
    padding: 21px;
    max-height: 90svh;
  }
  .modal-heading {
    margin-bottom: 20px;
  }
  #toast {
    bottom: 90px;
    width: 90%;
    text-align: center;
  }
  .quote-card {
    padding: 20px;
  }
  .empty {
    padding: 50px 20px;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
