:root {
  --ink: #183330;
  --muted: #7e8985;
  --line: #e5e9e5;
  --paper: #f6f7f3;
  --green: #1e5447;
  --lime: #d6ed8a;
  --white: #fff;
  --orange: #bd792a;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  background: var(--paper);
  font-synthesis: none;
}
* {
  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 {
  cursor: pointer;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 550;
  color: var(--ink);
  transition:
    background 0.16s,
    transform 0.16s;
}
button:hover {
  background: #edf1e8;
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #153e34;
}
button.lime {
  background: var(--lime);
  border-color: var(--lime);
}
button.ghost {
  border-color: transparent;
  background: transparent;
}
button.danger {
  color: #b6413b;
}
a {
  color: var(--green);
  text-decoration: none;
}
svg.icon {
  height: 19px;
  width: 19px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 33px 19px 19px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.brand-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.auth-story .brand-logo {
  width: 270px;
}
.auth-mobile-brand {
  display: none;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 29px 5px 27px;
  padding: 12px 10px;
  font-size: 12px;
}

.workspace small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.workspace .chevron {
  margin-left: auto;
  color: #88958a;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #98a09a;
  padding: 0 15px;
  margin: 15px 0 11px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 11px 15px;
  margin: 2px 0;
  color: #6a7770;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  justify-content: start;
}
.nav-item.active {
  background: #eaf0e4;
  color: var(--green);
  font-weight: 650;
}
.nav-item .count {
  margin-left: auto;
  font-size: 10px;
  background: #dde8ce;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 22px;
}
.sidebar-note {
  background: #f6f7f0;
  border: 1px solid #e9eddc;
  border-radius: 9px;
  padding: 13px;
  font-size: 11px;
  line-height: 1.7;
  margin: 10px 5px 18px;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 8px 0;
  border-top: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  background: #e9eee2;
  border: 3px solid white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 11px;
  font-weight: 650;
}
.profile strong {
  font-size: 11px;
}
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.profile button {
  margin-left: auto;
  padding: 5px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.global-search {
  position: relative;
}
.global-search input {
  background: transparent;
  border: 0;
  width: 225px;
  font-size: 11px;
  padding-left: 29px;
}
.global-search svg {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 16px;
}
.key {
  font-size: 10px;
  background: #f2f3ee;
  border: 1px solid var(--line);
  padding: 3px 5px;
  border-radius: 4px;
  color: var(--muted);
}
.notification {
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.notification:after {
  content: '';
  position: absolute;
  right: 1px;
  top: 0;
  background: #a6c95c;
  border: 2px solid white;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.content {
  padding: 33px 36px 42px;
  max-width: 1650px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 9px;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 620;
  margin: 0 0 9px;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.35px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0;
}
p {
  line-height: 1.6;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.heading-actions {
  display: flex;
  gap: 9px;
}
.heading-actions button {
  font-size: 11px;
  padding: 10px 13px;
}
.live {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #6d806a;
}
.live:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #78a05a;
  border-radius: 50%;
}
.welcome-strip {
  background: #eaf0df;
  border: 1px solid #e1e8d5;
  border-radius: 10px;
  padding: 15px 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  font-size: 12px;
}
.welcome-strip .icon {
  color: #64824e;
}
.welcome-strip small {
  color: #809071;
}
.welcome-strip button {
  margin-left: auto;
  font-size: 10px;
  border: 0;
  background: transparent;
  padding: 2px;
  color: var(--green);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.stat {
  padding: 20px 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #7b8780;
}
.stat-icon {
  background: #f2f4ec;
  padding: 7px;
  border-radius: 7px;
  display: flex;
  color: #849376;
}
.stat-icon svg {
  width: 16px;
  height: 16px;
}
.stat-value {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 15px 0 10px;
  white-space: nowrap;
}
.stat-value .unit {
  font-size: 14px;
  color: #8c958c;
  letter-spacing: 0;
  margin-right: 3px;
}
.stat-note {
  font-size: 10px;
  color: #8c958c;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-note b {
  color: #53763e;
  font-weight: 500;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 22px 15px;
  gap: 15px;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.panel-header button {
  font-size: 10px;
  padding: 7px 9px;
}
.panel-body {
  padding: 8px 22px 23px;
}
.legend {
  display: flex;
  gap: 17px;
  font-size: 9px;
  color: var(--muted);
}
.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
}
.legend .light {
  background: #d6e6b3;
}
.chart {
  height: 175px;
  display: flex;
  gap: 8px;
  align-items: end;
  margin-top: 23px;
  padding: 0 0 23px 29px;
  position: relative;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 37px,
    #f0f2ed 38px,
    #f0f2ed 39px
  );
}
.chart-bar {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  gap: 4px;
}
.chart-bar .bar {
  width: 15px;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: var(--green);
}
.chart-bar .bar.light {
  background: #d6e6b3;
}
.chart-bar small {
  position: absolute;
  bottom: -20px;
  font-size: 9px;
  color: #90998f;
}
.chart-y {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  color: #929a90;
  line-height: 39px;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #edf0e8;
  padding-top: 14px;
  margin-top: 18px;
  color: #889183;
  font-size: 10px;
}
.chart-footer b {
  color: var(--ink);
  font-weight: 550;
}
.fleet-layout {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 0 24px;
}
.donut {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.donut:before {
  content: '';
  position: absolute;
  inset: 20px;
  background: white;
  border-radius: 50%;
}
.donut-label {
  position: relative;
  text-align: center;
}
.donut-label strong {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
}
.donut-label small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.fleet-legend {
  flex: 1;
  display: grid;
  gap: 12px;
  font-size: 10px;
}
.fleet-legend div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7e887b;
}
.fleet-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.fleet-legend b {
  margin-left: auto;
  color: var(--ink);
}
.utilization {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.utilization b {
  color: var(--green);
}
.progress {
  height: 5px;
  background: #eff2e8;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
}
.progress i {
  display: block;
  height: 100%;
  background: #c4dc8f;
  border-radius: 3px;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.tabs {
  display: flex;
  gap: 20px;
  align-items: center;
}
.tab {
  border: 0;
  padding: 8px 0;
  border-radius: 0;
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  position: relative;
}
.tab.active {
  color: var(--green);
  font-weight: 650;
}
.tab.active:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: var(--green);
}
.tab span {
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f0f3e9;
  margin-left: 5px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
  white-space: nowrap;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: #929b90;
  letter-spacing: 0.3px;
  background: #fafbf8;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 22px;
  border-bottom: 1px solid #edf0e9;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcf8;
}
td strong {
  font-size: 11px;
  font-weight: 550;
}
td small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.asset-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.asset-thumb {
  width: 48px;
  height: 37px;
  border-radius: 5px;
  background: #f4f2e9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asset-thumb svg {
  width: 44px;
  height: 32px;
}
.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  font-size: 9px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: #edf2e4;
  color: #678347;
  white-space: nowrap;
}
.badge:before {
  content: '';
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.orange {
  background: #fcf1de;
  color: #b58c44;
}
.badge.blue {
  background: #edf0fc;
  color: #7580b4;
}
.badge.red {
  background: #fbeae6;
  color: #ad7162;
}
.badge.gray {
  background: #f0f1ed;
  color: #8c9588;
}
.table-footer {
  border-top: 1px solid var(--line);
  padding: 13px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #939b8f;
}
.table-footer button {
  font-size: 10px;
  padding: 5px 10px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  justify-content: start;
}
.activity {
  display: grid;
  gap: 17px;
  padding-top: 7px;
}
.activity-item {
  display: flex;
  gap: 12px;
  align-items: start;
}
.activity-icon {
  background: #f2f5e9;
  padding: 8px;
  border-radius: 7px;
  display: flex;
}
.activity-icon .icon {
  width: 15px;
  height: 15px;
}
.activity-item strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.activity-item p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 0;
}
.activity-item time {
  margin-left: auto;
  color: #a0a799;
  font-size: 9px;
  white-space: nowrap;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.task-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.task-row:last-child {
  border: 0;
}
.task-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.footer-line {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a1a89b;
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filterbar input {
  flex: 1;
  min-width: 180px;
}
.filterbar select {
  width: auto;
  min-width: 150px;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #dce3d7;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  outline: none;
  font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #86a478;
  box-shadow: 0 0 0 3px #8fac7620;
}
input[type='checkbox'] {
  width: auto;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}
.equipment-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.equipment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #193a2910;
}
.equipment-art {
  background: linear-gradient(140deg, #efeee5, #f8f7f1);
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipment-art svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 14px 8px #323a2916);
}
.equipment-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equipment-art .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.asset-id {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #8e9585;
}
.equipment-card-body {
  padding: 20px;
}
.equipment-card-body .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.equipment-card-body h3 {
  font-size: 17px;
}
.equipment-card-body p {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 15px;
}
.card-bottom strong {
  font-size: 16px;
}
.card-bottom small {
  font-size: 10px;
  color: var(--muted);
}
.card-bottom button {
  font-size: 10px;
  padding: 8px 10px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #102b2965;
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: var(--paper);
  border-radius: 14px;
  width: 740px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 100px #102b2933;
}
.modal.wide {
  width: 1000px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 22px 26px;
  position: sticky;
  top: 0;
  z-index: 2;
}
.modal-header h2 {
  font-size: 19px;
}
.modal-header button {
  padding: 6px;
  border: 0;
}
.modal-body {
  padding: 25px 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 550;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.form-section {
  grid-column: 1/-1;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #91a080;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-top: 8px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form-error {
  color: #b34b3b;
  font-size: 12px;
  background: #fceee7;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 16px;
}
.info-box {
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.7;
  border: 1px solid #e1e8d5;
  background: #edf2e5;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #6e7f61;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.detail-grid .equipment-art {
  height: 260px;
  border-radius: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.detail-list dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-list dd {
  font-size: 12px;
  margin: 0;
  font-weight: 550;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.detail-actions button {
  font-size: 11px;
}
.financial-breakdown {
  background: white;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 20px 0;
}
.financial-breakdown div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 12px;
}
.financial-breakdown .total {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 17px;
}
.history {
  padding: 16px;
  background: white;
  border-radius: 8px;
  margin-top: 15px;
}
.history h3 {
  margin-bottom: 12px;
}
.history p {
  font-size: 11px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  border-radius: 9px;
  background: var(--green);
  color: white;
  z-index: 200;
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
  font-size: 12px;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-story {
  background: #f3f1e7;
  color: var(--green);
  padding: 60px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.auth-story .brand {
  padding: 0;
}
.auth-story h1 {
  font-size: 54px;
  line-height: 1.13;
  letter-spacing: -2px;
  max-width: 500px;
}
.auth-story h1 span {
  color: #806319;
}
.auth-story p {
  color: #52645a;
  max-width: 370px;
  font-size: 14px;
}
.auth-story .big-art {
  opacity: 0.95;
  width: 90%;
  margin: 20px 0;
}
.auth-story .eyebrow {
  color: #52645a;
}
.auth-story footer {
  font-size: 11px;
  color: #52645a;
}
.auth-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}
.auth-form {
  width: 100%;
  max-width: 365px;
}
.auth-form h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.auth-form > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.auth-form .field {
  margin-bottom: 17px;
}
.auth-form .primary {
  width: 100%;
  margin-top: 5px;
}
.auth-links {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin-top: 19px;
}
.auth-links button {
  font-size: 11px;
  padding: 3px;
  border: 0;
  background: none;
  color: var(--green);
}
.public-header {
  height: 88px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
}
.public-header nav {
  display: flex;
  gap: 15px;
  align-items: center;
}
.public-hero {
  padding: 55px 6%;
  background: #e9eedf;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}
.public-hero h1 {
  font-size: 49px;
  letter-spacing: -2px;
  line-height: 1.12;
  max-width: 650px;
}
.public-hero p {
  color: #7a8970;
  max-width: 420px;
}
.public-hero svg {
  height: 240px;
  width: 100%;
}
.public-content {
  padding: 35px 6% 70px;
}
.public-content .equipment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.document {
  background: #fff;
  padding: 35px;
  color: #172d28;
}
.document-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 2px solid var(--green);
  padding-bottom: 23px;
  margin-bottom: 25px;
}
.document-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}
.document-header h1 {
  font-size: 28px;
}
.document h2 {
  margin: 22px 0 12px;
}
.document p {
  font-size: 12px;
}
.document td,
.document th {
  padding: 12px 8px;
}
.signature-row {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
}
.signature-row span {
  border-top: 1px solid #9ca797;
  width: 40%;
  padding-top: 10px;
  font-size: 11px;
}
.mobile-menu {
  display: none;
}
.boot {
  display: grid;
  place-content: center;
  height: 100vh;
  font-size: 40px;
  font-weight: 800;
}
.boot span {
  color: #769657;
}
.boot small {
  font-size: 12px;
  font-weight: 400;
  margin-top: 20px;
  color: var(--muted);
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.report-grid .panel-body {
  font-size: 12px;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.money {
  font-variant-numeric: tabular-nums;
}
.search-results {
  display: grid;
  gap: 8px;
}
.search-result {
  background: white;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
}
.search-result small {
  color: var(--muted);
}
@media (min-width: 1550px) {
  .content {
    padding-top: 40px;
  }
  .equipment-art {
    height: 230px;
  }
  .chart {
    height: 200px;
  }
  .fleet-layout {
    padding-top: 25px;
    padding-bottom: 32px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 206px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .app-shell {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .content {
    padding: 27px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .dashboard-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .fleet-layout {
    gap: 14px;
  }
  .donut {
    width: 120px;
    height: 120px;
  }
  .donut:before {
    inset: 17px;
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .public-content .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  td,
  th {
    padding-left: 16px;
    padding-right: 16px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
}
@media (max-width: 960px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .fleet-layout {
    justify-content: center;
  }
  .fleet-legend {
    max-width: 220px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .global-search input {
    width: 170px;
  }
  .key {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-story h1 {
    font-size: 37px;
  }
  .public-content .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 20px 0 80px #102b2920;
    width: 236px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    width: 100%;
  }
  .mobile-menu {
    display: flex;
    padding: 5px;
  }
  .topbar {
    height: 63px;
    padding: 0 17px;
  }
  .breadcrumb {
    gap: 6px;
    font-size: 10px;
  }
  .global-search input {
    width: 135px;
    font-size: 10px;
  }
  .top-actions {
    gap: 5px;
  }
  .top-actions .avatar,
  .notification,
  .key {
    display: none;
  }
  .content {
    padding: 25px 17px;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .heading-actions button {
    font-size: 10px;
    padding: 9px;
  }
  .heading-actions button:first-child:not(:last-child) {
    display: none;
  }
  .welcome-strip {
    font-size: 10px;
    padding: 12px;
  }
  .welcome-strip small {
    display: none;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-head {
    font-size: 10px;
  }
  .stat-note {
    font-size: 9px;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .equipment-art {
    height: 210px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal {
    max-height: 95vh;
  }
  .modal-header {
    padding: 18px;
  }
  .modal-body {
    padding: 18px;
  }
  .form-grid,
  .detail-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .field.full,
  .form-section {
    grid-column: 1;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-mobile-brand {
    display: block;
    margin-bottom: 24px;
  }
  .auth-mobile-brand .brand {
    padding: 0;
  }
  .public-header .brand-logo {
    width: 110px;
  }
  .auth-form-container {
    padding: 30px 25px;
    min-height: 100vh;
  }
  .public-header {
    padding: 0 20px;
    height: 75px;
  }
  .public-header nav {
    gap: 5px;
  }
  .public-header nav button {
    font-size: 11px;
    padding: 8px;
  }
  .public-header .brand {
    padding: 0;
    font-size: 25px;
  }
  .public-hero {
    padding: 40px 23px;
    grid-template-columns: 1fr;
  }
  .public-hero h1 {
    font-size: 38px;
  }
  .public-hero svg {
    height: 190px;
    margin-top: 15px;
  }
  .public-content {
    padding: 25px 20px;
  }
  .public-content .equipment-grid {
    grid-template-columns: 1fr;
  }
  .table-toolbar {
    padding: 15px;
    align-items: start;
  }
  .tabs {
    gap: 13px;
  }
  .tab {
    font-size: 10px;
  }
  .footer-line {
    font-size: 8px;
  }
  .document {
    padding: 20px;
  }
  .document-header {
    gap: 20px;
  }
  .document-header h1 {
    font-size: 22px;
  }
}
@media print {
  body {
    background: #fff;
  }
  #app,
  #toast,
  .modal-header,
  .no-print {
    display: none !important;
  }
  .modal-backdrop {
    position: static;
    background: transparent;
    padding: 0;
    display: block;
    backdrop-filter: none;
  }
  .modal {
    max-height: none;
    width: 100% !important;
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
  }
  .modal-body {
    padding: 0;
  }
  .document {
    padding: 0;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    white-space: normal;
  }
  tr {
    break-inside: avoid;
  }
  @page {
    margin: 16mm;
  }
}

.sidebar > nav {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #dce4d4 transparent;
}
.sidebar .brand,
.workspace,
.sidebar-bottom {
  flex-shrink: 0;
}
.sidebar-bottom {
  padding-top: 10px;
}
.nav-item {
  white-space: nowrap;
}
.sidebar-note {
  margin-bottom: 12px;
}
.workspace {
  margin-top: 25px;
  margin-bottom: 16px;
}
.market-filters {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.market-filters input,
.market-filters select {
  min-width: 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.summary-card {
  background: #f0f4e9;
  border-radius: 8px;
  padding: 14px;
}
.summary-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}
.summary-card strong {
  font-size: 17px;
}
.period-control {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.period-control select {
  max-width: 180px;
}
@media (max-height: 900px) {
  .sidebar-note {
    display: none;
  }
  .sidebar {
    padding-top: 22px;
  }
  .workspace {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .nav-item {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .nav-label {
    margin-top: 12px;
    margin-bottom: 6px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    box-shadow: none;
  }
  .sidebar.open {
    box-shadow: 20px 0 80px #102b2920;
  }
  .market-filters {
    grid-template-columns: 1fr 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-history,
.quote-changes {
  margin-top: 24px;
}
.quote-history details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.quote-history summary {
  cursor: pointer;
  font-weight: 600;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 20px 0;
  font-size: 12px;
}
.legal-links a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-links small {
  flex-basis: 100%;
  color: var(--muted);
}

/* Marketplace cards are native links, including keyboard and new-tab navigation. */
a.equipment-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.equipment-card:focus-visible {
  outline: 3px solid var(--accent, #e2b947);
  outline-offset: 4px;
}
.card-details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.catalog-back {
  display: inline-block;
  margin-bottom: 24px;
}

/* Keep form controls readable without focus-triggered zoom on touch browsers. */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

.rental-request-section {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  scroll-margin-top: 20px;
}
.request-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.request-section-heading h2 {
  margin: 0;
}
.rental-request-section .field {
  min-width: 0;
}
@media (max-width: 700px) {
  .rental-request-section {
    padding: 16px;
  }
}

.owner-landing {
  background: #f7f8f3;
}
.owner-landing .brand-logo {
  width: 150px;
}
.owner-landing .public-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.owner-landing a {
  color: inherit;
}
.owner-cta {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 8px;
  background: #e2b947;
  color: #102b29;
  text-decoration: none;
  font-weight: 650;
}
.owner-hero {
  max-width: 860px;
  margin: auto;
  padding: 56px 36px 24px;
  text-align: center;
}
.owner-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 20px 0;
}
.owner-hero p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  margin-inline: auto;
}
.owner-hero small {
  display: block;
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
}
.owner-section {
  max-width: 1240px;
  margin: auto;
  padding: 48px 36px;
  scroll-margin-top: 20px;
}
.owner-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 12px 0;
}
.owner-section > p {
  max-width: 720px;
  line-height: 1.7;
}
#planes > .eyebrow,
#planes > h2,
#planes > p {
  text-align: center;
}
#planes > p {
  margin-inline: auto;
}
.owner-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.owner-plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.owner-plan-featured {
  background: linear-gradient(180deg, #fff7df 0%, #fffdf7 100%);
  border-color: #e2b947;
  box-shadow:
    inset 0 4px 0 #e2b947,
    0 8px 24px #102b2910;
}
.owner-plan-featured button.primary {
  background: #e2b947;
  border-color: #e2b947;
  color: #102b29;
}
.owner-plan-featured button.primary:hover {
  background: #d4aa35;
  border-color: #d4aa35;
}
.owner-plan h3 {
  width: 100%;
  text-align: center;
  font-size: 25px;
  margin: 14px 0;
}
.owner-plan h4 {
  width: 100%;
  text-align: center;
  font-size: 18px;
  margin: 0;
}
.owner-plan p,
.owner-plan li {
  line-height: 1.7;
}
.owner-plan ul {
  padding-left: 20px;
  flex: 1;
}
.owner-plan li {
  margin-bottom: 12px;
}
.owner-plan details {
  margin-bottom: 20px;
}
.owner-plan summary {
  cursor: pointer;
  font-weight: 600;
}
.owner-plan button {
  width: 100%;
  margin-top: 16px;
}
.owner-included {
  padding: 24px;
  margin-top: 24px;
  border-radius: 12px;
  background: #e8ebdb;
}
.owner-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 80px;
}
.owner-contact p {
  line-height: 1.7;
}
#owner-contact-panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
}
#owner-lead-form > button[type='submit'] {
  margin-top: 20px;
}
.owner-contact .field {
  min-width: 0;
}
#owner-lead-error {
  color: #b34b3b;
  margin-bottom: 16px;
}
.owner-success {
  padding: 20px 0;
}
@media (max-width: 800px) {
  #owner-lead-form > button[type='submit'] {
    display: block;
    margin-inline: auto;
  }
  .owner-hero .owner-cta {
    display: table;
    margin-inline: auto;
  }
  .owner-plans,
  .owner-contact {
    grid-template-columns: 1fr;
  }
  .owner-hero,
  .owner-section {
    padding: 32px 18px;
  }
  .owner-hero {
    padding-bottom: 16px;
  }
  .owner-landing .public-header {
    gap: 16px;
  }
  .owner-landing .public-header nav {
    gap: 12px;
    font-size: 12px;
  }
  .owner-landing .public-header .owner-cta {
    padding: 10px;
  }
  .owner-landing .brand-logo {
    width: 110px;
  }
  #owner-contact-panel {
    padding: 20px;
  }
}
