:root {
  color-scheme: light;
  --ink: #14120d;
  --muted: #625f57;
  --line: #d8d1c4;
  --field: #fffdf8;
  --brand: #0a5a37;
  --brand-dark: #073c28;
  --accent: #b90819;
  --gold: #d7a634;
  --gold-soft: #fbf4df;
  --panel: #ffffff;
  --bg: #f4f0e7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(10, 90, 55, 0.16), rgba(10, 90, 55, 0) 160px),
    var(--bg);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  min-height: 100vh;
}

.calculator {
  overflow: hidden;
  padding: 32px;
  position: relative;
}

.calculator::before {
  background-image: url("assets/say-no-to-drums.png");
  background-position: center 190px;
  background-repeat: no-repeat;
  background-size: min(620px, 72vw);
  bottom: 0;
  content: "";
  left: 0;
  mix-blend-mode: multiply;
  opacity: 0.055;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.calculator > * {
  position: relative;
  z-index: 1;
}

.brand {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}

.view-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 6px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 42px;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 112px;
  max-width: min(440px, 72vw);
  object-fit: contain;
}

h2 {
  font-size: 18px;
}

.status-pill {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(10, 90, 55, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
}

.status-pill.connected {
  background: #eef8ef;
  border-color: #9bc9a6;
  color: var(--brand-dark);
}

.status-pill.offline {
  background: #fff4ef;
  border-color: #f6c9b8;
  color: #9a3f1d;
}

.quote-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(20, 18, 13, 0.08);
  border-radius: 8px;
  padding: 24px;
}

.section-heading {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 22px;
}

.section-heading:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.section-heading span {
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.full-row {
  grid-column: 1 / -1;
}

.contact-pair {
  margin-top: 0;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

.minimum-field {
  background: rgba(215, 166, 52, 0.16);
  border: 1px solid rgba(215, 166, 52, 0.55);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  color: var(--ink);
  padding: 10px;
}

.minimum-field input,
.minimum-field select {
  background: #fffaf0;
  border-color: rgba(185, 8, 25, 0.38);
}

.minimum-field input:focus,
.minimum-field select:focus {
  border-color: var(--accent);
  outline-color: rgba(185, 8, 25, 0.16);
}

.mode-switch {
  background: #f2ead8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  padding: 4px;
}

.mode-switch label {
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: center;
  min-height: 38px;
}

.mode-switch input {
  height: 16px;
  margin: 0 8px 0 0;
  min-height: auto;
  width: 16px;
}

.mode-switch label:has(input:checked) {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 47, 56, 0.14);
}

input,
select,
textarea {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(10, 90, 55, 0.16);
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.unit-input {
  align-items: center;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
}

.unit-input input {
  border: 0;
  background: transparent;
}

.unit-input span {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.check-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: flex;
  min-height: 46px;
  padding: 10px 12px;
}

.check-row input {
  height: 18px;
  margin: 0 10px 0 0;
  min-height: auto;
  width: 18px;
}

.primary-action {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  min-height: 48px;
  padding: 0 18px;
  width: 100%;
}

.primary-action:hover {
  background: #940615;
}

.primary-action.is-offline,
.primary-action:disabled {
  background: #9aa7ae;
  cursor: default;
}

.quote-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.quote-actions .primary-action {
  margin-top: 0;
}

.secondary-action {
  background: #ffffff;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  min-height: 48px;
  padding: 0 18px;
  width: 100%;
}

.secondary-action:hover {
  background: #f5efe2;
}

.secondary-action:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  opacity: 0.7;
}

.request-delivery-ready {
  margin-top: 12px;
}

.privacy-note,
.muted,
.helper-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.premium-note {
  background: rgba(215, 166, 52, 0.16);
  border: 1px solid rgba(215, 166, 52, 0.5);
  border-radius: 6px;
  color: #fff1bd;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 12px 0 0;
  padding: 10px 12px;
}

.helper-note {
  margin: 12px 0 0;
}

.is-hidden {
  display: none !important;
}

.quote-panel {
  background:
    linear-gradient(180deg, rgba(10, 90, 55, 0.82), rgba(5, 5, 5, 0) 150px),
    #070707;
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-rows: auto auto 1fr;
  max-height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  padding: 40px 28px;
  position: sticky;
  top: 0;
}

.quote-panel::before,
.quote-panel::after {
  content: "";
  height: 8px;
  left: 28px;
  position: absolute;
  right: 28px;
}

.quote-panel::before {
  background: var(--brand);
  top: 0;
}

.quote-panel::after {
  background: var(--accent);
  top: 12px;
}

.quote-panel .eyebrow,
.quote-panel .muted {
  color: #f5df9b;
}

.total {
  color: #ffffff;
  font-size: 52px;
  font-weight: 800;
  margin: 8px 0;
  text-shadow: 0 2px 0 rgba(215, 166, 52, 0.32);
}

.total.offline {
  font-size: 38px;
}

.summary-list {
  display: grid;
  gap: 10px;
}

.summary-item {
  border-bottom: 1px solid rgba(215, 166, 52, 0.32);
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.terms {
  align-self: end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(215, 166, 52, 0.38);
  border-radius: 8px;
  padding: 18px;
}

.terms h2 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 8px;
}

.terms p {
  color: #f2ead8;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.employee-body {
  background:
    linear-gradient(180deg, rgba(10, 90, 55, 0.12), rgba(10, 90, 55, 0) 190px),
    var(--bg);
}

.employee-shell {
  margin: 0 auto;
  max-width: 1500px;
  padding: 28px;
}

.employee-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 18px;
}

.employee-logo {
  max-height: 92px;
  max-width: min(360px, 70vw);
}

.secondary-link {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.secondary-button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 14px;
}

.secondary-button:hover,
.secondary-link:hover {
  border-color: var(--brand);
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.employee-login-actions {
  align-items: end;
  display: flex;
  gap: 10px;
}

.quote-search-label {
  flex: 1 1 280px;
  margin: 0;
  min-width: 240px;
}

.mini-button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--brand-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.mini-button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.7;
}

.mini-select {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px;
}

.mini-select:disabled {
  color: var(--muted);
  opacity: 0.7;
}

.danger-button {
  border-color: rgba(185, 8, 25, 0.42);
  color: #8f0714;
}

.danger-button:hover {
  background: #fff2f2;
  border-color: var(--accent);
}

.quote-list-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.customer-lookup-tools {
  align-items: center;
  margin-bottom: 14px;
}

.customer-match-select {
  min-width: min(100%, 460px);
}

.employee-dashboard-login {
  margin-bottom: 18px;
}

.employee-dashboard-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
}

.employee-field-form,
.admin-review-panel {
  align-self: start;
}

.dashboard-wide {
  grid-column: 1 / -1;
}

.field-form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.mix-slip-form {
  border: 1px solid var(--ink);
  display: grid;
  gap: 0;
  margin-top: 16px;
}

.slip-section {
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 0;
}

.slip-section:last-child {
  border-bottom: 0;
}

.slip-section h3 {
  background: #f2ead8;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  margin: 0;
  padding: 8px 10px;
  text-transform: uppercase;
}

.slip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slip-grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.slip-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slip-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.slip-grid.card-grid {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.slip-grid.wide-left {
  grid-template-columns: minmax(0, 2fr) minmax(180px, 0.8fr);
}

.slip-grid.narrow-left {
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1.55fr);
}

.slip-field {
  border-bottom: 1px solid rgba(20, 18, 13, 0.24);
  border-right: 1px solid rgba(20, 18, 13, 0.24);
  color: var(--ink);
  gap: 4px;
  min-width: 0;
  padding: 8px;
}

.slip-grid .slip-field:last-child {
  border-right: 0;
}

.slip-field.full-row {
  border-right: 0;
}

.slip-field input,
.slip-field select,
.slip-field textarea {
  background: #eefbff;
  border: 1px solid rgba(10, 90, 55, 0.18);
  border-radius: 0;
  min-height: 34px;
  padding: 6px 7px;
}

.slip-field textarea {
  min-height: 86px;
  resize: vertical;
}

.slip-check {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.slip-check input {
  height: 20px;
  min-height: 20px;
  width: 20px;
}

.signature-pad-wrap {
  border-bottom: 1px solid rgba(20, 18, 13, 0.24);
  display: grid;
  gap: 8px;
  padding: 10px;
}

.signature-pad-label {
  color: var(--ink);
  font-weight: 800;
}

.signature-pad {
  background: #ffffff;
  border: 1px solid rgba(20, 18, 13, 0.45);
  height: 130px;
  max-width: 560px;
  touch-action: none;
  width: 100%;
}

.signature-pad-wrap .mini-button {
  justify-self: start;
}

.gps-map-link {
  color: var(--green);
  font-weight: 800;
  padding: 0 10px 10px;
}

.jobsite-photo-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 10px 12px;
}

.jobsite-photo-item {
  min-width: 0;
}

.jobsite-photo-preview {
  border: 1px solid rgba(20, 18, 13, 0.35);
  display: block;
  margin: 8px 0 0;
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
}

.meter-preview {
  background: #fff8dc;
  border-top: 1px solid var(--ink);
  margin: 0;
  padding: 10px;
}

.slip-totals-preview {
  background: #fffdf8;
}

.slip-total-table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.slip-total-table td {
  border-bottom: 1px solid rgba(20, 18, 13, 0.22);
  padding: 7px 10px;
}

.slip-total-table td:last-child {
  font-weight: 700;
  text-align: right;
}

.scheduled-pours-wrap {
  max-height: 340px;
}

.completed-slips-wrap {
  max-height: 280px;
}

.scheduled-pours-table td:nth-child(10),
.scheduled-pours-table th:nth-child(10),
.completed-slips-table td:nth-child(6),
.completed-slips-table th:nth-child(6) {
  text-align: right;
  width: 120px;
}

.scheduled-pours-table td:nth-child(5),
.scheduled-pours-table th:nth-child(5) {
  width: 210px;
}

.scheduled-pours-table td:nth-child(6),
.scheduled-pours-table th:nth-child(6) {
  width: 145px;
}

.scheduled-pours-table td:nth-child(7),
.scheduled-pours-table th:nth-child(7) {
  width: 88px;
}

.scheduled-pours-table td:nth-child(8),
.scheduled-pours-table th:nth-child(8) {
  width: 220px;
}

.tax-status {
  font-weight: 700;
  white-space: nowrap;
}

.tax-exempt {
  color: #b90819;
}

.tax-taxable {
  color: #5f5a52;
}

.assignment-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.precharge-controls,
.slip-email-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.precharge-input {
  width: 88px;
}

.slip-email-input {
  width: 150px;
}

.truck-assign-select {
  width: 74px;
}

.driver-assign-select {
  width: 128px;
}

.completed-slips-table td:nth-child(6) {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.form-submission-wrap {
  margin-top: 16px;
  max-height: 560px;
}

.form-submission-table td:nth-child(1),
.form-submission-table th:nth-child(1) {
  min-width: 150px;
}

.quote-list-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  max-height: 300px;
  overflow: auto;
}

.quote-list-table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.quote-list-table th,
.quote-list-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.quote-list-table th {
  background: #f2ead8;
  color: var(--ink);
  font-weight: 700;
  position: sticky;
  top: 0;
}

.quote-list-table td:nth-child(5),
.quote-list-table th:nth-child(5) {
  text-align: right;
}

.employee-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
}

.employee-form {
  padding: 22px;
}

.employee-locked .employee-layout {
  grid-template-columns: minmax(0, 1fr);
}

.employee-locked .employee-auth-content,
.employee-locked .employee-breakdown-panel {
  display: none;
}

.employee-breakdown-panel {
  background:
    linear-gradient(180deg, rgba(10, 90, 55, 0.9), rgba(5, 5, 5, 0) 150px),
    #070707;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 18px;
  padding: 28px;
  position: sticky;
  top: 20px;
}

.employee-breakdown-panel .muted,
.employee-breakdown-panel .helper-note {
  color: #f5df9b;
}

.panel-check-row {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  margin-top: 14px;
}

.panel-check-row input {
  height: 16px;
  margin: 0;
  min-height: auto;
  width: 16px;
}

.breakdown-table {
  border-collapse: collapse;
  width: 100%;
}

.breakdown-table tr {
  border-top: 1px solid rgba(215, 166, 52, 0.28);
}

.breakdown-table th,
.breakdown-table td {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
}

.breakdown-table th {
  color: #f2ead8;
  font-weight: 700;
  padding-right: 16px;
  width: 56%;
}

.breakdown-table td {
  font-weight: 700;
  text-align: right;
}

.breakdown-table .is-total-row {
  border-top: 2px solid rgba(215, 166, 52, 0.75);
}

.breakdown-table .is-total-row th,
.breakdown-table .is-total-row td {
  color: #ffffff;
  font-size: 15px;
  padding-top: 14px;
}

.breakdown-table .is-meta-row th,
.breakdown-table .is-meta-row td {
  color: #d6caa8;
  font-size: 12px;
}

.lookup-shell {
  margin: 0 auto;
  max-width: 1220px;
  padding: 28px;
}

.lookup-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
}

.lookup-result {
  border-radius: 8px;
  min-height: 520px;
}

.account-shell {
  max-width: 1240px;
}

.account-auth-grid,
.account-dashboard {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-dashboard {
  grid-template-columns: minmax(0, 1fr);
}

.account-quotes,
.account-deliveries {
  margin-top: 24px;
}

.account-quote-list,
.account-delivery-list {
  max-height: 420px;
}

.account-quote-list td:nth-child(4),
.account-quote-list th:nth-child(4),
.account-delivery-list td:nth-child(4),
.account-delivery-list th:nth-child(4) {
  text-align: right;
}

.slip-body {
  background: #e8e2d7;
}

.slip-page {
  margin: 0 auto;
  max-width: 1400px;
  padding: 24px;
}

.slip-actions {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  margin-bottom: 18px;
}

.field-slip,
.field-slip-summary {
  background: #ffffff;
  border: 1px solid #1b1b1b;
  box-shadow: 0 20px 60px rgba(20, 18, 13, 0.18);
  color: #111111;
  padding: 28px;
}

.field-slip-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: start;
}

.field-slip-summary {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 18px;
}

.field-slip-header {
  align-items: center;
  border-bottom: 3px solid #111111;
  display: grid;
  gap: 18px;
  grid-template-columns: 210px minmax(0, 1fr);
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.field-slip-header.compact {
  border-bottom-width: 2px;
  grid-template-columns: 130px minmax(0, 1fr);
}

.field-slip-header img {
  display: block;
  max-width: 100%;
}

.field-slip-header h1 {
  font-size: 34px;
}

.field-slip-header p {
  margin: 4px 0 0;
}

.slip-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.slip-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slip-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slip-box {
  border: 1px solid #111111;
  padding: 12px;
}

.slip-box h2 {
  border-bottom: 1px solid #111111;
  font-size: 15px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.slip-box dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 6px 10px;
  margin: 0;
}

.slip-box dt {
  font-weight: 700;
}

.slip-box dd {
  margin: 0;
}

.write-in p {
  font-size: 13px;
  margin: 12px 0;
}

.official-pdf-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(20, 18, 13, 0.14);
  min-height: 860px;
}

.pdf-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.pdf-toolbar .eyebrow {
  margin: 0;
}

.field-slip-pdf {
  border: 0;
  display: block;
  height: 820px;
  width: 100%;
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .calculator,
  .quote-panel {
    padding: 22px;
  }

  .grid.two,
  .grid.three,
  .mode-switch,
  .option-grid,
  .quote-actions {
    grid-template-columns: 1fr;
  }

  .brand {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .view-actions {
    justify-content: flex-start;
  }

  .brand-logo {
    max-width: 100%;
  }

  .calculator::before {
    background-position: center 240px;
    background-size: min(480px, 95vw);
  }

  .employee-shell {
    padding: 18px;
  }

  .employee-layout,
  .employee-dashboard-layout,
  .lookup-layout,
  .account-auth-grid,
  .account-dashboard,
  .field-slip-workspace,
  .slip-grid.two,
  .slip-grid.three,
  .slip-grid.four,
  .slip-grid.card-grid,
  .slip-grid.wide-left,
  .slip-grid.narrow-left,
  .slip-actions,
  .field-slip-header {
    grid-template-columns: 1fr;
  }

  .employee-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .employee-breakdown-panel {
    position: static;
  }

  .field-slip-summary {
    position: static;
  }

.quote-panel {
  max-height: none;
  min-height: auto;
  position: relative;
}
}

.access-body {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(248, 245, 237, 0.94), rgba(235, 229, 216, 0.94)),
    url("assets/say-no-to-drums.png") center / min(520px, 85vw) no-repeat;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.access-shell {
  width: min(460px, 100%);
}

.access-panel {
  background: rgba(255, 252, 245, 0.96);
  border: 1px solid rgba(39, 85, 56, 0.25);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  padding: 32px;
}

.access-logo {
  display: block;
  max-width: 220px;
  width: 70%;
}

.access-panel h1 {
  margin: 8px 0 10px;
}

.access-copy {
  color: #4b463d;
  margin: 0 0 22px;
}

.access-form {
  display: grid;
  gap: 16px;
}

@media print {
  body {
    background: #ffffff;
  }

  .slip-actions {
    display: none;
  }

  .slip-page {
    max-width: none;
    padding: 0;
  }

  .field-slip {
    border: 0;
    box-shadow: none;
    min-height: 100vh;
  }

  .official-pdf-panel {
    display: none;
  }

  .field-slip-workspace {
    display: block;
  }

  .field-slip-summary {
    border: 0;
    box-shadow: none;
  }
}
