:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #183437;
  background: #f5f8f7;
}
[data-charge] [hidden], [data-replacement] [hidden] { display: none; }
.signature-field canvas { width:min(100%,32rem); height:auto; display:block; touch-action:none; border:1px solid #657f86; background:white; border-radius:.4rem; }
.receipt-signature { width: min(100%, 16rem); height:6rem; object-fit:contain; object-position:left center; }
.job-photos { display:grid; grid-template-columns:repeat(auto-fit,minmax(14rem,1fr)); gap:1rem; }
.job-photos figure { margin:.75rem 0; } .job-photos img { max-width:100%; max-height:15rem; }

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main,
.bar {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
}
main {
  padding: 36px 0 72px;
}
header {
  border-bottom: 1px solid #dbe5e1;
  background: #fff;
}
.bar,
.title,
.entries li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bar {
  min-height: 66px;
}
.brand {
  font-size: 21px;
  font-weight: 720;
  color: #105a51;
  letter-spacing: -0.04em;
  text-decoration: none;
}
h1 {
  margin: 8px 0 24px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.045em;
}
h2 {
  font-size: 19px;
  margin: 0 0 15px;
}
a,
summary {
  color: #09685b;
}
.back {
  display: inline-block;
  margin-bottom: 16px;
}
.panel {
  background: white;
  border: 1px solid #dbe5e1;
  border-radius: 12px;
  padding: 24px;
  margin: 0 0 16px;
}
.columns,
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.stack,
label {
  display: grid;
  gap: 8px;
}
.stack {
  gap: 14px;
}
.title { flex-wrap: wrap; }
.office-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.office-filters label { flex: 1 1 150px; min-width: 0; }
.office-filters a { align-self: center; }
.stack > button,
form > button {
  justify-self: start;
}
label {
  font-size: 14px;
  font-weight: 600;
}
input,
textarea,
select {
  font: inherit;
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #afc1ba;
  border-radius: 6px;
  background: white;
}
.call {
  border-top: 1px solid #e5ece9;
  padding: 12px 0;
}
.call small {
  display: block;
  margin-top: 4px;
  color: #546b63;
}
.choice { display: flex; align-items: center; gap: 8px; margin: 7px 0; }
.choice input { width: 18px; min-height: 18px; accent-color: #106455; }
.call p {
  margin: 6px 0 0;
}
button,
.button {
  font: inherit;
  font-size: 14px;
  background: #106455;
  color: white;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.quiet {
  background: white;
  border-color: #cddbd6;
  color: #195f51;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
:focus-visible {
  outline: 3px solid #138475;
  outline-offset: 2px;
}
.scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th {
  font-weight: 600;
  color: #516860;
  text-align: left;
}
th,
td {
  padding: 11px 8px;
  border-bottom: 1px solid #e5ece9;
  vertical-align: top;
}
td {
  overflow-wrap: anywhere;
}
.tag {
  display: inline-block;
  border-radius: 4px;
  color: #116052;
  background: #ebf5ef;
  padding: 3px 7px;
}
.late,
.error {
  color: #903b20;
  background: #fff3eb;
}
.error,
.notice {
  padding: 12px 16px;
  border-radius: 6px;
}
.notice {
  color: #165d49;
  background: #e4f3eb;
}
.entries {
  padding: 0;
  list-style: none;
}
.entries li {
  border-bottom: 1px solid #e5ece9;
  padding: 9px 0;
}
.muted,
.entries span {
  color: #546b63;
}
.filter-row {
  border: 1px solid #dbe5e1;
  padding: 12px;
  margin: 12px 0;
  border-radius: 6px;
}
.guide-steps li { padding: 4px 0 8px; }
.pilot-page .screen-only { margin-bottom: 16px; }
.pilot-page .print-brand { display: none; }
.pilot-note { border-bottom: 1px solid #afc1ba; height: 1em; }
.pilot-sheet td { height: 46px; border: 1px solid #afc1ba; }
.pilot-sheet table { table-layout: fixed; min-width: 560px; }
@media print {
  .pilot-document { background: white; }
  .pilot-page { background: white; color: black; }
  .pilot-page .print-brand { display: block; margin: 0; font-size: 11pt; font-weight: 600; }
  .pilot-page header, .pilot-page .screen-only { display: none; }
  .pilot-page main { width: 100%; padding: 0; }
  .pilot-page h1 { font-size: 24pt; letter-spacing: -0.02em; margin-bottom: 12px; }
  .pilot-page .panel { padding: 12px; break-inside: avoid; }
  .pilot-page .scroll { overflow: visible; }
  .pilot-sheet table { min-width: 0; }
  .pilot-sheet td { height: 54px; }
}
.support-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 12px 0 20px; }
.support-body { white-space: pre-wrap; overflow-wrap: anywhere; }
textarea { resize: vertical; }
h1 { overflow-wrap: anywhere; }
legend {
  padding: 0 6px;
}
details {
  margin-top: 5px;
}
summary {
  cursor: pointer;
  margin-bottom: 8px;
}
.login {
  max-width: 420px;
  padding-top: 12vh;
}
.login .panel {
  margin-top: 16px;
}
.login h1 {
  font-size: 26px;
}
@media (max-width: 700px) {
  main,
  .bar {
    width: calc(100% - 24px);
  }
  .columns,
  .grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 15px;
  }
  .title {
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 9px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.page-heading h1 { margin: 0; }
.daily-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.plan-preview:not(:empty) { background: #e7f2ed; border-radius: 6px; padding: 12px; font-weight: 600; }
.page-heading time, .sale-caption, .subline { color: #4d645e; }
.sale-caption { margin: -6px 0 24px; }
.subline { display: block; margin-top: 4px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 0 0 22px; }
.metrics > div { padding: 17px 18px; border: 1px solid #d6e2dc; background: white; border-radius: 10px; min-width: 0; }
.metrics dt { color: #465d55; font-size: 13px; font-weight: 600; }
.metrics dd { margin: 9px 0 0; font-size: clamp(19px, 2vw, 29px); font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metrics dd a { color: inherit; text-decoration: none; }
.metrics dd a:hover { text-decoration: underline; }
.metrics > div:first-child { background: #e7f2ed; border-color: #bbd4c9; }
.tabs, .pager { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.tabs { margin: 0 0 18px; border-bottom: 1px solid #dce5df; }
.tabs a { padding: 8px 2px 11px; text-decoration: none; color: #4e655c; }
.tabs a[aria-current] { color: #0d5149; font-weight: 700; border-bottom: 3px solid; }
.pager:not(:empty) { margin-top: 14px; }
.payment-form { margin-top: 12px; min-width: 150px; }
.sale-form { max-width: 760px; }
.office-shell { background: #173e39; color: #eff8f3; border: none; }
.office-shell .brand { color: #fff; }
.office-shell nav { display: flex; gap: 4px; }
.office-shell nav a { color: #e2efea; text-decoration: none; font-size: 14px; font-weight: 530; padding: 10px 12px; border-radius: 6px; }
.office-shell nav a:hover { background: #265149; }
.office-shell nav a[aria-current] { background: #daefe5; color: #173e39; font-weight: 700; }
.office-shell .quiet { color: #e2efea; border-color: #52776e; background: transparent; }
.office-shell :focus-visible { outline-color: #9ee5ca; }
button:disabled { cursor: default; opacity: .55; }
@media screen and (min-width: 980px) {
  body:has(> .office-shell) { display: grid; grid-template-columns: 218px minmax(0,1fr); min-height: 100vh; }
  .office-shell .bar { position: sticky; top: 0; width: 100%; height: 100vh; overflow: auto; padding: 28px 18px 20px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 27px; }
  .office-shell .brand { padding: 0 7px; }
  .office-shell nav { flex-direction: column; }
  .office-shell .bar form { margin-top: auto; padding: 12px 6px 0; }
  .office-shell + main { width: min(calc(100% - 64px), 1250px); padding-top: 34px; min-width: 0; }
}
@media screen and (max-width: 979px) {
  .office-shell .bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0 8px; }
  .office-shell nav { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow-x: auto; }
  .office-shell nav a { flex: 0 0 auto; }
}
@media print { .office-shell { display: none; } }
.catalog-review { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 16px; align-items: start; }
.catalog-batch { border-left: 4px solid #167767; scroll-margin-top: 12px; }
.catalog-batch [hidden], #catalog-selection [hidden] { display: none; }
.catalog-batch form p { margin: 0; }
.catalog-batch form + form { margin-top: 16px; }
.batch-options { max-height: 17rem; overflow-y: auto; border-block: 1px solid #dbe5e1; }
.batch-options label { margin: 0; padding: 8px 4px; overflow-wrap: anywhere; }
.batch-options small { display: block; color: #536963; font-weight: 400; }
.batch-option + .batch-option { border-top: 1px solid #dbe5e1; }
.batch-price { margin: 0 0 8px 30px; }
.batch-price input { max-width: 14rem; }
.batch-options input { flex-shrink: 0; }
.catalog-source { position: sticky; top: 10px; }
.catalog-picture { position: relative; }
.catalog-picture img { width: 100%; display: block; }
#source-region { position: absolute; outline: 3px solid #c7470e; background: #f9ad4333; pointer-events: none; }
.catalog-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.catalog-row { border-top: 1px solid #cbdad3; padding: 15px 0; overflow-wrap: anywhere; }
.catalog-row select, .catalog-row input { max-width: 100%; }
@media (max-width: 850px) {
  .catalog-review { display: block; }
  .catalog-source { position: static; }
}
.menu-toggle, .cell-label { display: none; }
@media screen and (max-width: 979px) {
  html.ios-office body > header { display: none; }
}
@media screen {
  .office-shell nav a[aria-current] { box-shadow: inset 3px 0 #65c6a7; }
  .page-heading time { font-variant-numeric: tabular-nums; }
  .metrics dt { line-height: 1.4; }
  .metrics > div { border-top: 3px solid #baccc3; }
  .metrics > div:first-child { border-top-color: #1a7665; }
  .metrics dd a:focus-visible, .metrics dd a:hover { color: #095d4e; }
  .panel:target, section:has(> h2:target) { outline: 2px solid #5e9f8d; outline-offset: 2px; }
  .panel tr:last-child td { border-bottom: 0; }
  tbody tr:focus-within { background: #f0f6f3; }
  .entries li { align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
}
@media screen and (min-width: 980px) {
  .office-shell .brand { padding-bottom: 20px; border-bottom: 1px solid #386059; }
  .office-shell nav { gap: 5px; }
  .panel tbody tr:hover { background: #f4f8f6; }
}
@media screen and (max-width: 979px) {
  .office-shell.menu-ready .bar { grid-template-columns: minmax(0,1fr) auto; padding-block: 10px; }
  .menu-ready .menu-toggle { display: inline-block; background: transparent; border: 1px solid #81a39a; color: white; min-height: 44px; }
  .menu-ready .menu-toggle::after { content: "⌄"; margin-inline-start: 8px; }
  .menu-ready.menu-open .menu-toggle::after { content: "⌃"; }
  .office-shell.menu-ready nav, .office-shell.menu-ready .bar > form { display: none; }
  .office-shell.menu-open nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; }
  .office-shell.menu-open nav a { display: flex; align-items: center; min-height: 44px; }
  .office-shell.menu-open .bar > form { display: block; grid-column: 1 / -1; }
}
@media screen and (max-width: 700px) {
  main { padding-block: 21px 48px; }
  .page-heading { gap: 8px; margin-bottom: 16px; }
  .daily-actions { gap: 8px; }
  .daily-actions time { flex-basis: 100%; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .metrics > div { padding: 12px; }
  .metrics dd { margin-top: 5px; }
  input:not([type="checkbox"]), select, textarea { font-size: 16px; min-width: 0; }
  .button, button, select, input:not([type="checkbox"]) { min-height: 44px; }
  .office-filters > button { align-self: end; }
  .columns > *, .grid > *, .panel, fieldset { min-width: 0; }
  .mobile-rows, .mobile-rows tbody, .mobile-rows tr { display: block; min-width: 0; }
  .mobile-rows thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .mobile-rows tbody tr { border-top: 1px solid #cbdad3; padding: 8px 0 12px; }
  .mobile-rows td { display: block; padding: 4px 0; border: 0; }
  .mobile-rows .cell-label { display: block; font-size: 12px; font-weight: 600; color: #53695f; margin-bottom: 2px; }
  .mobile-rows .payment-form { min-width: 0; }
}

.model-choice { margin-bottom: 12px; }
.model-choice [hidden] { display: none; }
