:root {
  --green: #174c3c;
  --dark: #12372d;
  --lime: #d0edb0;
  --text: #243b32;
  --muted: #738078;
  --border: #e4e9e4;
  --bg: #f5f7f3;
  --white: #fff;
  --shadow: 0 16px 55px #16372a0d;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
  font-weight: 650;
}
.muted,
.sub {
  color: var(--muted);
}
.sub {
  font-size: 12px;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.small {
  font-size: 12px;
}
.nowrap {
  white-space: nowrap;
}
.grow {
  flex: 1;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--dark);
  color: #e1eae4;
  padding: 29px 18px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  z-index: 30;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 10px 34px;
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 1.25;
  color: #fff;
  font-weight: 650;
}
.brand small {
  display: block;
  color: #a6baad;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}
.brand img {
  width: 39px;
  height: 39px;
}
.nav-label {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  color: #87a497;
  padding: 0 16px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav button {
  background: transparent;
  color: #abc3b6;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 12px 15px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  transition: 0.15s;
}
.nav button:hover {
  color: #fff;
  background: #ffffff08;
}
.nav button.active {
  color: #e4f6d2;
  background: #315447;
}
.nav button.active:after {
  content: "";
  width: 5px;
  height: 5px;
  background: #c5e79c;
  border-radius: 50%;
  margin-left: auto;
}
.nav button svg {
  width: 19px;
  height: 19px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 26px 11px 0;
}
.sidebar-note {
  border: 1px solid #3b5a4c;
  padding: 17px;
  border-radius: 10px;
  font-size: 12px;
  color: #b7cdbd;
  margin: 25px 0;
}
.sidebar-note b {
  display: block;
  color: #e6f0e8;
  margin-bottom: 6px;
  font-weight: 550;
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #dce9d7;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.userbox {
  border-top: 1px solid #355344;
  padding-top: 19px;
}
.userbox strong {
  font-size: 12px;
  font-weight: 550;
  color: #edf3eb;
}
.userbox small {
  font-size: 10px;
  color: #92ae9d;
  display: block;
}
.logout {
  background: transparent;
  color: #abc3b6;
  padding: 5px;
  display: flex;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.crumb {
  font-size: 12px;
  color: #87918a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.crumb b {
  color: #344c3e;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}
.lang-switch button {
  background: transparent;
  color: #7e8c81;
  padding: 4px 9px;
  font-size: 11px;
  border-radius: 5px;
  font-weight: 600;
}
.lang-switch button.active {
  color: var(--green);
  background: #eaf2e5;
}
.top-date {
  font-size: 12px;
  color: var(--muted);
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  padding: 7px;
}
.content {
  max-width: 1650px;
  margin: auto;
  padding: 33px 36px 45px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6d8273;
  margin-bottom: 8px;
  font-weight: 650;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  min-height: 39px;
  padding: 9px 15px;
  background: var(--green);
  color: #fff;
  white-space: nowrap;
  border: 1px solid var(--green);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn:hover {
  filter: brightness(0.94);
}
.btn.secondary {
  background: #fff;
  color: #435d4c;
  border-color: #dce4da;
}
.btn.light {
  background: #eef5e9;
  color: var(--green);
  border-color: #e0ebd8;
}
.btn.danger {
  background: #fff1ee;
  color: #a63e35;
  border-color: #f2d1c9;
}
.btn.small {
  min-height: 31px;
  font-size: 11px;
  padding: 6px 10px;
}
.btn.link {
  background: transparent;
  border-color: transparent;
  padding: 3px 0;
  color: var(--green);
  min-height: 26px;
}
.icon-btn {
  padding: 7px;
  background: transparent;
  color: #7b8a7f;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
}
.icon-btn:hover {
  background: #eff4eb;
  border-color: #dee7d9;
  color: var(--green);
}
.icon-btn svg {
  width: 16px;
  height: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  margin: 25px 0;
}
.stat {
  padding: 19px 17px 17px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  min-height: 133px;
}
.stat .stat-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7c977e;
}
.stat .stat-icon svg {
  width: 18px;
  height: 18px;
}
.stat .stat-icon span {
  font-size: 9px;
  color: #859484;
  letter-spacing: 0.7px;
}
.stat strong {
  font-size: 27px;
  font-weight: 620;
  letter-spacing: -1px;
  display: block;
  margin: 11px 0 2px;
  white-space: nowrap;
}
.stat label {
  font-size: 11px;
  color: #7a857c;
  display: block;
}
.stat.featured {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.stat.featured label,
.stat.featured .stat-icon {
  color: #b8d2bb;
}
.welcome-strip {
  background: #e7efdf;
  border: 1px solid #dae6d1;
  border-radius: 12px;
  padding: 23px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.welcome-strip h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.welcome-strip p {
  font-size: 12px;
  color: #63765d;
  margin-top: 4px;
}
.welcome-graphic {
  height: 44px;
  width: 105px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  position: relative;
}
.welcome-graphic span {
  width: 11px;
  background: #8eaf79;
  border-radius: 8px 8px 0 0;
  transform: rotate(22deg);
}
.welcome-graphic span:nth-child(1) {
  height: 19px;
}
.welcome-graphic span:nth-child(2) {
  height: 33px;
}
.welcome-graphic span:nth-child(3) {
  height: 47px;
}
.welcome-graphic span:nth-child(4) {
  height: 39px;
}
.welcome-graphic span:nth-child(5) {
  height: 29px;
}
.welcome-graphic span:nth-child(6) {
  height: 18px;
}
.welcome-graphic:after {
  position: absolute;
  bottom: 0;
  left: -10px;
  right: -10px;
  content: "";
  border-bottom: 2px solid #648652;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
}
.panel-head {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf0e9;
}
.panel-head h2 {
  font-size: 15px;
}
.panel-head .count {
  font-size: 11px;
  background: #edf3e7;
  color: #6a845a;
  border-radius: 5px;
  padding: 3px 7px;
  margin-left: 8px;
}
.panel-body {
  padding: 21px 22px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(280px, 1fr);
  gap: 21px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #909a90;
  background: #fafbf8;
  font-weight: 500;
  text-align: left;
  padding: 13px 20px;
  white-space: nowrap;
  border-bottom: 1px solid #edf0e9;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef1ea;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 550;
  display: block;
  color: #304a3c;
}
td .sub {
  font-size: 11px;
  margin-top: 3px;
}
tbody tr:hover {
  background: #fcfdf9;
}
.table-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
  background: #f0f2ee;
  color: #788276;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.scheduled,
.badge.sent {
  background: #edf2fa;
  color: #6486ac;
}
.badge.completed,
.badge.paid,
.badge.accepted,
.badge.active {
  background: #eaf3e2;
  color: #618747;
}
.badge.skipped,
.badge.partially_paid,
.badge.draft,
.badge.paused {
  background: #fcf3df;
  color: #ae873a;
}
.badge.canceled,
.badge.voided,
.badge.declined,
.badge.inactive {
  background: #f2efed;
  color: #92857e;
}
.badge.overdue {
  background: #fff0ec;
  color: #bf6d58;
}
.crew-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
  background: #90a77e;
}
.row-link {
  color: #324c3b;
  background: transparent;
  text-align: left;
  padding: 0;
  font-size: inherit;
}
.row-link:hover {
  text-decoration: underline;
}
.attention-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid #eef1eb;
}
.attention-item:first-child {
  padding-top: 0;
}
.attention-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.attention-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff5e5;
  color: #b59054;
}
.attention-icon.red {
  background: #fff0ed;
  color: #bd806b;
}
.attention-icon svg {
  width: 17px;
  height: 17px;
}
.attention-item b {
  font-size: 12px;
  font-weight: 550;
}
.attention-item p {
  font-size: 11px;
  color: #8b958b;
  margin-top: 2px;
}
.attention-count {
  font-size: 16px;
  color: #4d6552;
  font-weight: 600;
}
.upcoming-day {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e9;
}
.upcoming-day:last-child {
  border: 0;
  padding-bottom: 0;
}
.date-tile {
  border-radius: 7px;
  background: #f2f5ed;
  width: 42px;
  padding: 7px 0;
  text-align: center;
  line-height: 1.1;
}
.date-tile span {
  font-size: 8px;
  text-transform: uppercase;
  color: #8c9b86;
}
.date-tile b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-top: 3px;
}
.upcoming-day strong {
  font-size: 11px;
  font-weight: 550;
}
.mini-progress {
  height: 4px;
  background: #f0f3eb;
  border-radius: 5px;
  margin-top: 8px;
  width: 125px;
}
.mini-progress span {
  display: block;
  background: #aac58d;
  border-radius: 5px;
  height: 100%;
}
.section-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.empty {
  padding: 48px 24px;
  text-align: center;
  color: #81917e;
}
.empty svg {
  width: 32px;
  height: 32px;
  stroke-width: 1;
  margin-bottom: 10px;
}
.empty h3 {
  font-size: 14px;
  color: #52694f;
  margin-bottom: 6px;
}
.empty p {
  font-size: 12px;
  margin: auto auto 16px;
  max-width: 390px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 19px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 12px;
  min-width: 230px;
  flex: 1;
  max-width: 380px;
}
.search svg {
  width: 16px;
  height: 16px;
  color: #8e9b8b;
}
.search input {
  border: 0;
  padding: 11px 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.filters select,
.filters input {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: #5b6d5b;
  font-size: 12px;
  max-width: 210px;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  background: #eaf0e4;
  padding: 4px;
  border-radius: 8px;
  width: fit-content;
}
.tabs button {
  background: transparent;
  border-radius: 5px;
  padding: 7px 13px;
  font-size: 12px;
  color: #7b8b72;
}
.tabs button.active {
  background: white;
  box-shadow: 0 1px 4px #203e1c0c;
  color: var(--green);
}
.section-title {
  margin: 25px 0 14px;
  font-size: 14px;
}
.summary-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 21px;
}
.summary-card label {
  color: #819078;
  font-size: 11px;
}
.summary-card strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  margin-top: 7px;
  letter-spacing: -0.6px;
}
.customer-hero {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 23px;
}
.customer-hero .avatar {
  height: 57px;
  width: 57px;
  font-size: 18px;
}
.detail-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  font-size: 12px;
}
.detail-list dt {
  color: #889181;
}
.detail-list dd {
  margin: 0;
  color: #3f543c;
}
.property-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 12px;
}
.property-card h3 {
  font-size: 13px;
}
.property-card p {
  font-size: 12px;
  color: #87917f;
  margin-top: 4px;
}
.note {
  font-size: 12px;
  background: #faf6e9;
  border: 1px solid #f0e8cc;
  border-radius: 7px;
  padding: 13px 16px;
  color: #8b7c4d;
}
.callout {
  font-size: 12px;
  background: #edf4e7;
  border: 1px solid #dce8cf;
  border-radius: 8px;
  padding: 15px 17px;
  color: #57724c;
}
.error {
  background: #fff0eb;
  border: 1px solid #f0d2c7;
  border-radius: 7px;
  padding: 12px;
  color: #a9573e;
  font-size: 12px;
  margin-bottom: 15px;
}
.crew-card {
  border-radius: 11px;
  background: white;
  border: 1px solid var(--border);
  padding: 23px;
}
.crew-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.crew-avatars {
  display: flex;
  margin-top: 18px;
}
.crew-avatars .avatar {
  margin-right: -7px;
  border: 2px solid #fff;
  height: 31px;
  width: 31px;
  font-size: 9px;
  background: #e1edda;
}
.crew-card .btn {
  margin-top: 22px;
  width: 100%;
}
.job-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border-bottom: 1px solid var(--border);
}
.job-row:last-child {
  border: 0;
}
.job-number {
  font-size: 11px;
  color: #83937b;
  background: #eff3e9;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.job-body {
  flex: 1;
  min-width: 0;
}
.job-body h3 {
  font-size: 13px;
}
.job-body p {
  font-size: 11px;
  color: #89957f;
  margin-top: 3px;
}
.job-buttons {
  display: flex;
  gap: 6px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #e7ece1;
  gap: 1px;
}
.calendar-head {
  padding: 12px;
  text-align: center;
  background: #f8faf5;
  color: #839279;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.calendar-cell {
  background: white;
  min-height: 125px;
  padding: 9px;
}
.calendar-cell.off {
  background: #f9faf6;
  color: #b9c1b1;
}
.calendar-cell.today .day-number {
  background: var(--green);
  color: #fff;
}
.day-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 11px;
  border-radius: 50%;
  margin-bottom: 7px;
}
.calendar-job {
  width: 100%;
  display: block;
  text-align: left;
  border-left: 2px solid #8eab75;
  border-radius: 3px;
  background: #f0f6e9;
  color: #516a45;
  font-size: 9px;
  padding: 5px 6px;
  margin: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.calendar-job.scheduled {
  background: #eef3fa;
  border-color: #9cb2cf;
  color: #6680a1;
}
.calendar-job.skipped {
  background: #fdf5e7;
  border-color: #d6b46d;
  color: #a18b51;
}
.calendar-job.canceled {
  background: #f2efed;
  color: #9b8c82;
  border-color: #c5b6a9;
}
.week-cell {
  min-height: 330px;
}
.calendar-count {
  font-size: 9px;
  color: #99a48e;
}
.month-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.month-nav b {
  font-size: 14px;
  font-weight: 550;
  min-width: 130px;
  text-align: center;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #13362377;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  width: min(650px, 100%);
  max-height: 92vh;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 30px 100px #122f242f;
  display: flex;
  flex-direction: column;
}
.modal.wide {
  width: min(940px, 100%);
}
.modal-head {
  padding: 21px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 {
  font-size: 18px;
}
.modal-body {
  padding: 23px 26px;
  overflow: auto;
}
.modal-footer {
  padding: 17px 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fafbf7;
  border-radius: 0 0 13px 13px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  color: #63765c;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 7px;
  border: 1px solid #dce3d5;
  background: #fff;
  color: #344b2c;
  font-size: 12px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #7ca85e;
  outline: 2px solid #e5f1d9;
}
.field textarea {
  min-height: 75px;
  resize: vertical;
}
.field small {
  font-size: 10px;
  color: #99a28e;
}
.form-section {
  grid-column: 1/-1;
  padding: 13px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #728663;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #708466;
}
.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}
.line-items {
  width: 100%;
  border-collapse: collapse;
}
.line-items td {
  padding: 7px 3px;
  border: 0;
}
.line-items th {
  padding: 8px 3px;
  background: transparent;
}
.line-items input {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid var(--border);
  width: 100%;
  font-size: 12px;
}
.line-items .line-desc {
  min-width: 180px;
}
.line-items .line-qty {
  width: 65px;
}
.line-items .line-price {
  width: 105px;
}
.doc-total {
  text-align: right;
  font-size: 23px;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: -0.5px;
}
.modal-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.visit-info {
  padding: 18px;
  background: #f6f8f0;
  border: 1px solid #e6ecdf;
  border-radius: 9px;
  margin-bottom: 20px;
}
.visit-info h3 {
  font-size: 17px;
}
.visit-info p {
  margin: 5px 0;
  color: #7a8d6c;
  font-size: 12px;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-aside {
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 65px;
  position: relative;
  overflow: hidden;
}
.auth-aside .brand {
  padding: 0;
}
.auth-copy {
  max-width: 430px;
  z-index: 1;
  margin: 60px 0;
}
.auth-copy h1 {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -2.2px;
  line-height: 1.12;
}
.auth-copy h1 em {
  font-style: normal;
  color: #d0edb0;
}
.auth-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #9ebaab;
  max-width: 330px;
  margin-top: 25px;
}
.auth-aside:after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid #5c886642;
  border-radius: 50%;
  right: -200px;
  bottom: -200px;
  box-shadow:
    0 0 0 60px #5c886614,
    0 0 0 120px #5c88660c;
}
.auth-foot {
  font-size: 10px;
  letter-spacing: 1px;
  color: #91ac9e;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 70px 40px;
}
.auth-main > .lang-switch {
  position: absolute;
  right: 35px;
  top: 30px;
}
.auth-form {
  width: min(400px, 100%);
}
.auth-form h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin-bottom: 7px;
}
.auth-form > p {
  font-size: 12px;
  color: #899482;
  margin-bottom: 28px;
}
.auth-form .field {
  margin: 15px 0;
}
.auth-form .btn {
  width: 100%;
  margin-top: 15px;
  padding: 13px;
}
.auth-tag {
  display: inline-block;
  padding: 5px 10px;
  background: #edf3e5;
  border-radius: 5px;
  color: #76945f;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 18px;
}
.auth-form .sub {
  margin-top: 24px;
  line-height: 1.7;
}
.loading {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--green);
  font-weight: 600;
}
.leaf {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--lime);
  font-size: 22px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 15px);
  background: var(--green);
  color: #fff;
  padding: 13px 22px;
  border-radius: 9px;
  z-index: 200;
  box-shadow: 0 10px 40px #122e2333;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.bad {
  background: #ad5f46;
}
.report-summary {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 20px;
  background: #f3f7ee;
  border-radius: 9px;
  margin: 20px 0;
}
.report-summary label {
  display: block;
  color: #8a977e;
  font-size: 10px;
}
.report-summary strong {
  font-size: 20px;
  font-weight: 600;
}
.settings-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-nav button {
  text-align: left;
  padding: 12px 15px;
  border-radius: 7px;
  background: transparent;
  color: #7e8e71;
  font-size: 12px;
}
.settings-nav button.active {
  background: #e8f0df;
  color: var(--green);
  font-weight: 600;
}
.settings-form {
  max-width: 800px;
}
.settings-form .btn {
  margin-top: 23px;
}
.property-photo {
  height: 80px;
  width: 105px;
  object-fit: cover;
  border-radius: 7px;
}
.danger-text {
  color: #b8775b;
}
.mobile-overlay {
  display: none;
}
@media (min-width: 1500px) {
  .stats {
    gap: 18px;
  }
  .stat {
    padding: 22px;
  }
  .stat strong {
    font-size: 30px;
  }
  td {
    padding: 18px 23px;
  }
}
@media (max-width: 1250px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat {
    min-height: 115px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(245px, 1fr);
  }
  .content {
    padding: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-aside {
    padding: 42px;
  }
  .auth-copy h1 {
    font-size: 43px;
  }
  .top-date {
    display: none;
  }
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    width: 205px;
    padding: 25px 12px 18px;
  }
  .brand {
    font-size: 14px;
    padding: 0 8px 30px;
    gap: 8px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .nav button {
    padding: 11px 12px;
    font-size: 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .dashboard-side.stack {
    gap: 18px;
  }
  .content {
    padding: 24px;
  }
  .topbar {
    height: 67px;
    padding: 0 24px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .settings-layout {
    grid-template-columns: 160px 1fr;
  }
  .auth-aside {
    padding: 35px;
  }
  .auth-copy h1 {
    font-size: 38px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .main {
    width: 100%;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 236px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-overlay.show {
    display: block;
    position: fixed;
    inset: 0;
    background: #102f2355;
    z-index: 29;
  }
  .menu-toggle {
    display: flex;
  }
  .topbar {
    height: 63px;
    padding: 0 17px;
    gap: 12px;
  }
  .top-actions {
    gap: 11px;
  }
  .crumb {
    font-size: 11px;
  }
  .content {
    padding: 25px 17px 30px;
  }
  .page-heading {
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .btn {
    min-height: 35px;
    font-size: 11px;
  }
  .stats {
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
  }
  .stat {
    padding: 15px;
    min-height: 116px;
  }
  .stat strong {
    font-size: 26px;
  }
  .welcome-strip {
    padding: 20px;
  }
  .welcome-strip h2 {
    font-size: 17px;
  }
  .welcome-strip p {
    font-size: 11px;
    max-width: 225px;
  }
  .welcome-graphic {
    transform: scale(0.7);
    width: 70px;
  }
  .dashboard-side {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 18px 17px;
  }
  .panel-body {
    padding: 18px 17px;
  }
  .panel-head .btn {
    font-size: 10px;
    padding: 5px 8px;
    min-height: 31px;
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .toolbar {
    gap: 11px;
  }
  .search {
    min-width: 100%;
    max-width: none;
  }
  .filters {
    gap: 7px;
  }
  .filters select,
  .filters input {
    padding: 8px;
    max-width: 165px;
    font-size: 11px;
  }
  .calendar-cell {
    min-height: 92px;
    padding: 4px;
    min-width: 0;
  }
  .calendar-job {
    font-size: 8px;
    padding: 4px;
    white-space: normal;
    max-height: 34px;
  }
  .calendar-head {
    font-size: 8px;
    padding: 10px 0;
  }
  .day-number {
    font-size: 10px;
    width: 21px;
    height: 21px;
  }
  .week-cell {
    min-height: 250px;
  }
  .month-nav b {
    font-size: 12px;
    min-width: 110px;
  }
  .tabs button {
    font-size: 11px;
    padding: 6px 10px;
  }
  .overlay {
    padding: 9px;
  }
  .modal {
    max-height: 96vh;
  }
  .modal-head {
    padding: 17px 19px;
  }
  .modal-body {
    padding: 20px 19px;
  }
  .modal-footer {
    padding: 14px 19px;
  }
  .form-grid {
    gap: 14px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 14px;
    min-height: 42px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .settings-nav {
    flex-direction: row;
    overflow: auto;
    padding-bottom: 5px;
  }
  .settings-nav button {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 11px;
  }
  .settings-form {
    width: 100%;
  }
  .auth {
    display: block;
  }
  .auth-aside {
    padding: 28px 25px;
    min-height: 190px;
  }
  .auth-copy {
    margin: 25px 0 10px;
  }
  .auth-copy h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .auth-copy p,
  .auth-foot {
    display: none;
  }
  .auth-main {
    padding: 75px 25px 35px;
    align-items: flex-start;
  }
  .auth-main > .lang-switch {
    top: 20px;
    right: 25px;
  }
  .auth-form h2 {
    font-size: 24px;
  }
  .auth-form .field input,
  .auth-form .field select {
    font-size: 15px;
  }
  .job-row {
    padding: 15px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .job-buttons {
    margin-left: auto;
  }
  .job-body {
    min-width: 180px;
  }
  .detail-list {
    grid-template-columns: 105px 1fr;
    gap: 10px;
  }
  .line-items .line-desc {
    min-width: 150px;
  }
  .report-summary {
    gap: 20px;
  }
  .customer-hero h1 {
    font-size: 23px;
  }
  .customer-hero .avatar {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  td,
  th {
    padding: 13px 15px;
  }
  .section-foot {
    padding: 12px 17px;
  }
  .stat label {
    font-size: 10px;
  }
  .topbar .avatar {
    display: none;
  }
}
@media (max-width: 420px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full,
  .form-section {
    grid-column: 1;
  }
  .welcome-graphic {
    display: none;
  }
  .page-heading .flex {
    width: 100%;
    flex-wrap: wrap;
  }
  .calendar-job {
    font-size: 7px;
  }
  .crumb > span:first-child {
    display: none;
  }
  .panel-head h2 {
    font-size: 14px;
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 420px) {
  .crumb > span:nth-child(2) { display: none; }
  .btn, .btn.small, .page-heading .btn { min-height: 40px; }
  .icon-btn, .menu-toggle { min-width: 38px; min-height: 38px; }
}
@media print {
  .sidebar,
  .topbar,
  .page-heading .btn,
  .toolbar,
  .modal-root,
  #toast {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .content {
    padding: 0;
  }
  .panel {
    box-shadow: none;
    border: 0;
  }
  body {
    background: white;
  }
  .num {
    white-space: nowrap;
  }
}
