/* Recycling uses the shared Lemonergy Data palette and typography.
   The legacy --green hook remains an alias for the site blue accent. */
:root {
  color-scheme:light;
  --bg:#ffffff;
  --paper:var(--bg);
  --card:#ffffff;
  --ink:#202938;
  --ink-2:#425168;
  --muted:#596579;
  --line:#dce1e8;
  --line-strong:#c3cad5;
  --soft:#f5f6f8;
  --accent:#2459a8;
  --accent-strong:#1c4786;
  --accent-soft:#eef4ff;
  --accent-edge:#a5b8d5;
  --green:var(--accent);
  --lime:#f5c518;
  --button-ink:#ffffff;
  --warning:#805300;
  --warning-bg:#fff6e6;
  --red:#b42318;
  --shadow:none;
  --mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}

:root[data-theme=dark] {
  color-scheme:dark;
  --bg:#151b25;
  --card:#1b2330;
  --ink:#f0f3f8;
  --ink-2:#ced8e8;
  --muted:#acbad0;
  --line:#3a475e;
  --line-strong:#52627e;
  --soft:#253041;
  --accent:#9ec5ff;
  --accent-strong:#c3dbff;
  --accent-soft:#263c5b;
  --accent-edge:#4d6a96;
  --button-ink:#11161f;
  --warning:#e9b27a;
  --warning-bg:#251f16;
  --red:#fda6a3;
  --shadow:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:16px/1.6 Arial,Helvetica,sans-serif;
}

button,input,select,textarea {
  font:inherit;
}

button,a,input,select,textarea {
  touch-action:manipulation;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:not-allowed;
  opacity:.55;
}

a {
  color:var(--green);
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:3px;
}

input:focus,select:focus,textarea:focus {
  outline:2px solid var(--accent);
  outline-offset:1px;
}

h1,h2,h3,h4,p {
  margin-top:0;
}

h1,h2,h3 {
  font-family:Arial,Helvetica,sans-serif;
  letter-spacing:-.035em;
}

h1 {
  font-size:clamp(32px,3.5vw,47px);
  line-height:1.2;
  margin-bottom:13px;
  font-weight:580;
}

h2 {
  font-size:23px;
  line-height:1.3;
  margin-bottom:6px;
  font-weight:550;
}

h3 {
  font-size:17px;
  margin-bottom:5px;
  font-weight:550;
}

p {
  margin-bottom:12px;
}

.wrap {
  max-width:1440px;
  margin:auto;
  padding-inline:44px;
}

.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:89px;
  border-bottom:1px solid var(--line);
  gap:24px;
}

.brand {
  display:flex;
  align-items:center;
  gap:9px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:21px;
  font-weight:500;
  letter-spacing:-.55px;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap;
}

.brand .lemonergy-mark {
  width:26px;
  height:26px;
}

.brand .ergy {
  color:var(--accent);
}

.brand-area {
  font-size:13px;
  letter-spacing:0;
  color:var(--muted);
  font-weight:450;
  padding-left:6px;
}

.island-nav {
  font-family:Arial,Helvetica,sans-serif;
}

.island-nav a[aria-current=page] {
  background:#f5c518;
  color:#1e1e1e;
}

.skip {
  position:absolute;
  top:-70px;
  left:15px;
  padding:12px;
  background:var(--card);
  z-index:10;
}

.skip:focus {
  top:8px;
}

.intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:42px 0 30px;
  gap:24px;
}

.eyebrow {
  font-size:10px;
  font-weight:750;
  letter-spacing:.15em;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
}

.live-dot {
  width:7px;
  height:7px;
  background:var(--accent);
  border-radius:50%;
}

.lede {
  font-size:16px;
  color:var(--muted);
  margin:0;
}

.loop-art {
  width:210px;
  text-align:center;
  flex-shrink:0;
  padding-right:15px;
}

.loop-art svg {
  width:190px;
  height:130px;
}

.loop-art>span {
  font:9px ui-monospace,monospace;
  letter-spacing:.12em;
  color:var(--muted);
}

.loop-art i {
  font-style:normal;
  color:var(--muted);
  margin:0 6px;
}

.loop-orbit {
  stroke:var(--accent-edge);
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.battery-back {
  fill:var(--lime);
}

.battery-body {
  fill:var(--card);
  stroke:var(--green);
  stroke-width:1.5;
}

.battery-cap,.battery-bolt {
  fill:var(--green);
}

.orbit-dot {
  fill:var(--accent);
}

.workspace-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  border-bottom:1px solid var(--line);
}

.audience-tabs {
  display:flex;
  gap:25px;
}

.audience-tabs button {
  border:0;
  background:none;
  color:var(--muted);
  font-weight:650;
  padding:15px 1px 18px;
  border-bottom:3px solid transparent;
}

.audience-tabs button[aria-pressed=true] {
  color:var(--ink);
  border-color:var(--green);
}

/* The factory designer is its own page; its tab is a link drawn like the others. */
.audience-tabs a.tab-link {
  color:var(--muted);
  font-weight:650;
  padding:15px 1px 18px;
  border-bottom:3px solid transparent;
  text-decoration:none;
}

.audience-tabs a.tab-link:hover { color:var(--ink); }

.audience-tabs a.tab-link[aria-current=page] {
  color:var(--ink);
  border-color:var(--green);
}

.audience-tabs span {
  display:inline-block;
  background:var(--soft);
  border:1px solid var(--line);
  min-width:21px;
  line-height:19px;
  font-size:10px;
  border-radius:5px;
  margin-left:5px;
}

.storage-status {
  font-size:11px;
  color:var(--muted);
}

.storage-status:before {
  content:'●';
  color:var(--accent);
  margin-right:7px;
  font-size:8px;
}

.step-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:25px 0;
}

.steps {
  display:flex;
  gap:5px;
}

.steps button {
  background:none;
  border:0;
  border-radius:7px;
  padding:10px 13px;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

.steps button span {
  font:10px ui-monospace,monospace;
  margin-right:7px;
  opacity:.65;
}

.steps button[aria-current] {
  background:var(--green);
  color:var(--button-ink);
}

.file-actions {
  display:flex;
  gap:14px;
}

.text-button {
  background:none;
  border:0;
  color:var(--green);
  font-size:12px;
  font-weight:650;
  padding:5px 0;
  white-space:nowrap;
}

.text-button:hover {
  text-decoration:underline;
}

.workspace-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 285px;
  gap:23px;
  align-items:start;
}

.card {
  padding:25px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:8px;
  margin-bottom:17px;
  box-shadow:var(--shadow);
}

.card-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:21px;
}

.card-heading p,.section-heading p {
  color:var(--muted);
  font-size:12px;
  margin:6px 0 0;
}

.card-heading .eyebrow,.section-heading .eyebrow {
  font-size:10px;
  margin:0 0 9px;
}

.badge {
  padding:5px 9px;
  border:1px solid var(--line);
  border-radius:5px;
  font:10px ui-monospace,monospace;
  white-space:nowrap;
  color:var(--muted);
}

.field-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px 20px;
}

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

.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

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

.field>span,.field>label {
  font-size:12px;
  font-weight:600;
}

.field small,.field-note {
  font-size:11px;
  color:var(--muted);
  line-height:1.5;
  font-weight:400;
}

.field input,.field select,.field textarea,.cost-input,.queue-select {
  width:100%;
  min-width:0;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:6px;
  padding:9px 11px;
  background:var(--bg);
  color:var(--ink);
}

input::placeholder,textarea::placeholder {
  color:var(--muted);
  opacity:.75;
}

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

.field.invalid input {
  border-color:var(--red);
}

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

.divider {
  border:0;
  border-top:1px solid var(--line);
  margin:23px 0;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:1px solid transparent;
  border-radius:6px;
  background:var(--green);
  color:var(--button-ink);
  padding:11px 17px;
  font-weight:650;
  font-size:12px;
  text-decoration:none;
  min-height:42px;
}

.button:hover {
  background:var(--accent-strong);
}

.button.secondary {
  background:var(--card);
  color:var(--ink);
  border-color:var(--line-strong);
}

.button.secondary:hover {
  background:var(--soft);
}

.button.small {
  padding:8px 12px;
  min-height:36px;
}

.button.wide {
  width:100%;
}

.action-row {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin:20px 0;
}

.action-row>p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  max-width:65%;
}

.assessment-panel {
  position:sticky;
  top:20px;
}

.assessment-card {
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:8px;
  padding:23px;
}

.assessment-card .eyebrow {
  font-size:9px;
}

.readiness {
  display:flex;
  align-items:baseline;
  gap:5px;
  margin:12px 0 9px;
}

.readiness b {
  font:550 39px Arial,Helvetica,sans-serif;
  letter-spacing:-2px;
}

.readiness span {
  font-size:12px;
  color:var(--muted);
}

.progress-track {
  height:5px;
  background:var(--line);
  border-radius:4px;
  overflow:hidden;
  margin:12px 0 15px;
}

.progress-fill {
  height:100%;
  background:var(--accent);
}

.muted {
  color:var(--muted);
}

.small {
  font-size:12px;
}

.assessment-card ul {
  padding:0;
  list-style:none;
  margin:16px 0;
}

.assessment-card li {
  padding:8px 0 8px 17px;
  font-size:11px;
  line-height:1.45;
  position:relative;
  border-bottom:1px solid var(--line);
}

.assessment-card li:before {
  content:'○';
  position:absolute;
  left:0;
  color:var(--muted);
}

.assessment-card li:last-child {
  border-bottom:0;
}

.side-note {
  padding:20px 6px;
  font-size:11px;
  color:var(--muted);
}

.side-note strong {
  color:var(--ink);
  display:block;
  margin-bottom:6px;
}

.notice {
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  background:var(--soft);
  border-radius:6px;
  padding:12px 16px;
  font-size:12px;
  margin:18px 0;
}

.notice.demo {
  background:var(--warning-bg);
  border-color:color-mix(in srgb,var(--warning) 30%,transparent);
  color:var(--warning);
}

.notice.error {
  border-left-color:var(--red);
  color:var(--red);
}

[hidden] {
  display:none!important;
}

.route-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}

.route-card {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:8px;
  padding:17px;
  display:flex;
  flex-direction:column;
}

.route-card.selected {
  border-color:var(--accent);
  box-shadow:inset 0 3px var(--accent);
  background:var(--accent-soft);
}

.route-card h3 {
  font-size:15px;
  margin:11px 0 7px;
}

.route-card p {
  font-size:11px;
  color:var(--muted);
  flex:1;
}

.route-status {
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--warning);
}

.route-status.hold {
  color:var(--red);
}

.route-card .button {
  font-size:11px;
  padding:8px;
}

.cost-table-wrap {
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:8px;
}

.cost-table {
  border-collapse:collapse;
  width:100%;
  min-width:620px;
  font-size:12px;
  table-layout:fixed;
}

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

.cost-table th:first-child,.cost-table td:first-child {
  width:22%;
}

.cost-table thead th {
  background:var(--soft);
  font-size:11px;
}

.cost-table tbody th {
  font-weight:500;
  color:var(--muted);
}

.cost-table .cost-input {
  background:var(--card);
  font-size:12px;
  padding:8px;
  min-height:36px;
}

.cost-table tr:last-child>* {
  border:0;
}

.cost-table .total-row {
  background:var(--soft);
}

.cost-table .total-row td {
  font-weight:750;
  font-size:16px;
}

.cost-table small {
  display:block;
  font-weight:400;
  font-size:10px;
  color:var(--muted);
  margin-top:4px;
}

.currency-chip {
  font:11px ui-monospace,monospace;
  background:var(--soft);
  padding:5px 8px;
  border-radius:4px;
}

.quote-details {
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:16px;
}

.quote-details summary {
  font-size:12px;
  font-weight:650;
  cursor:pointer;
}

.provider-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:20px;
}

.provider-grid h4 {
  font-size:12px;
  margin-bottom:15px;
}

.provider-grid .field {
  margin-bottom:13px;
}

.provider-grid .field>span {
  font-size:11px;
}

.comparison-summary {
  font-size:12px;
  padding:14px;
  background:var(--soft);
  border-radius:6px;
  margin-top:17px;
}

.report-hero {
  display:flex;
  align-items:center;
  gap:20px;
  padding:28px 0;
}

.report-symbol {
  width:65px;
  height:80px;
  border:1px solid var(--line);
  border-radius:5px;
  flex:none;
  background:var(--soft);
  display:grid;
  place-items:center;
  color:var(--green);
  font:26px Arial,Helvetica,sans-serif;
}

.report-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:0;
  list-style:none;
  font-size:12px;
}

.report-list li {
  padding:13px;
  background:var(--soft);
  border-radius:5px;
}

.report-list b {
  display:block;
  margin-bottom:3px;
}

.report-list span {
  color:var(--muted);
}

.report-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}

.country-section {
  border-top:1px solid var(--line);
  margin-top:38px;
  padding-top:30px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:21px;
}

.section-heading h2 {
  font-size:20px;
}

.small-label {
  font:10px ui-monospace,monospace;
  color:var(--muted);
}

.country-heading {
  display:flex;
  align-items:baseline;
  gap:14px;
  margin-bottom:14px;
}

.country-heading h3 {
  font-size:14px;
  letter-spacing:0;
}

.country-heading p {
  font-size:12px;
  color:var(--muted);
  max-width:760px;
}

.country-checks {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.country-check {
  border-top:2px solid var(--line);
  padding:16px 0;
}

.country-check h4 {
  font-size:12px;
  margin:0 0 7px;
}

.country-check p {
  font-size:11px;
  color:var(--muted);
  line-height:1.6;
}

.country-sources {
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  font-size:10px;
  margin-top:6px;
}

.workspace-footer {
  display:flex;
  justify-content:space-between;
  gap:25px;
  padding:28px 0 35px;
  margin-top:30px;
  border-top:1px solid var(--line);
}

.workspace-footer>div:first-child {
  max-width:670px;
}

.workspace-footer strong {
  font-size:11px;
}

.workspace-footer p {
  font-size:11px;
  color:var(--muted);
  margin:6px 0;
}

.footer-actions {
  display:flex;
  align-items:center;
  gap:8px;
}

.footer-actions .button {
  white-space:nowrap;
  font-size:11px;
}

.recycler-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:28px 0 22px;
  gap:20px;
}

.recycler-intro p {
  font-size:12px;
  color:var(--muted);
  margin:6px 0 0;
}

.recycler-grid {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.intake-list {
  display:flex;
  flex-direction:column;
  gap:9px;
}

.intake-item {
  text-align:left;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:8px;
  padding:15px;
  color:var(--ink);
}

.intake-item[aria-pressed=true] {
  border-color:var(--accent);
  background:var(--accent-soft);
}

.intake-item strong {
  display:block;
  font-size:13px;
}

.intake-item small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:4px;
}

.intake-item .badge {
  display:inline-block;
  margin-top:10px;
  font-size:9px;
}

.empty-state {
  text-align:center;
  padding:55px 25px;
}

.empty-state h3 {
  margin:16px 0 10px;
}

.empty-state p {
  max-width:450px;
  margin:0 auto 20px;
  font-size:13px;
  color:var(--muted);
}

.rule-options {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  font-size:12px;
}

.rule-options label {
  display:flex;
  gap:7px;
  align-items:center;
}

.rule-options input {
  accent-color:var(--green);
}

.rules-panel summary {
  cursor:pointer;
  font-size:13px;
  font-weight:650;
}

.rules-panel .field-grid {
  margin-top:22px;
}

.rules-panel fieldset {
  border:0;
  padding:0;
  margin:0 0 17px;
}

.rules-panel legend {
  font-size:11px;
  font-weight:650;
  margin-bottom:9px;
}

.intake-facts {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:19px 0;
}

.intake-facts div {
  padding:13px;
  background:var(--soft);
  border-radius:6px;
}

.intake-facts dt {
  font-size:10px;
  color:var(--muted);
}

.intake-facts dd {
  font-size:14px;
  margin:4px 0 0;
  font-weight:650;
}

.status-controls {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.queue-select {
  width:auto;
  background:var(--card);
  font-size:12px;
}

.intake-total {
  background:var(--soft);
  border-radius:6px;
  padding:15px;
  margin:18px 0;
}

.intake-total strong {
  font-size:20px;
}

.intake-total span {
  display:block;
  font-size:11px;
  color:var(--muted);
}

.danger-link {
  color:var(--red);
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme=light]) {
    color-scheme:dark;
    --bg:#151b25;
    --card:#1b2330;
    --ink:#f0f3f8;
    --ink-2:#ced8e8;
    --muted:#acbad0;
    --line:#3a475e;
    --line-strong:#52627e;
    --soft:#253041;
    --accent:#9ec5ff;
    --accent-strong:#c3dbff;
    --accent-soft:#263c5b;
    --accent-edge:#4d6a96;
    --button-ink:#11161f;
    --warning:#e9b27a;
    --warning-bg:#251f16;
    --red:#fda6a3;
    --shadow:none;
  }
}

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

.cost-table .quote-warning {
  color:var(--warning);
}

@media(min-width:1450px) {
  .wrap {
    max-width:1490px;
    padding-inline:60px;
  }
  .workspace-grid {
    grid-template-columns:minmax(0,1fr) 315px;
  }
}

@media(max-width:1100px) {
  .wrap {
    padding-inline:25px;
  }
  .workspace-grid {
    grid-template-columns:minmax(0,1fr) 250px;
    gap:18px;
  }
  .card {
    padding:20px;
  }
  .steps button {
    padding:9px;
    font-size:11px;
  }
  .file-actions {
    gap:10px;
  }
  .field-grid.three {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .recycler-grid {
    grid-template-columns:240px minmax(0,1fr);
  }
}

@media(max-width:880px) {
  .workspace-grid {
    grid-template-columns:1fr;
  }
  .assessment-panel {
    position:static;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
  }
  .side-note {
    align-self:center;
    padding:10px;
  }
  .assessment-card ul {
    max-height:170px;
    overflow:auto;
  }
  .step-bar {
    flex-wrap:wrap;
  }
  .workspace-footer {
    flex-direction:column;
  }
  .country-checks {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .recycler-grid {
    grid-template-columns:1fr;
  }
  .intake-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px) {
  .wrap {
    padding-inline:17px;
  }
  .header {
    gap:8px;
    min-height:70px;
  }
  .brand {
    font-size:19px;
  }
  .brand .lemonergy-mark {
    width:24px;
    height:24px;
  }
  .brand-area {
    font-size:11px;
  }
  .intro {
    padding:28px 0 23px;
  }
  .intro h1 {
    font-size:32px;
  }
  .lede {
    font-size:14px;
  }
  .loop-art {
    display:none;
  }
  .workspace-bar {
    align-items:flex-start;
    flex-direction:column;
    gap:0;
  }
  .audience-tabs {
    width:100%;
    gap:24px;
  }
  .audience-tabs button {
    font-size:13px;
  }
  .storage-status {
    padding:9px 0;
  }
  .step-bar {
    gap:12px;
    margin:18px 0;
  }
  .steps {
    width:100%;
    gap:2px;
    overflow:auto;
  }
  .steps button {
    padding:10px 8px;
    font-size:10px;
  }
  .steps button span {
    margin-right:3px;
    font-size:9px;
  }
  .file-actions {
    margin-left:auto;
  }
  .field-grid,.field-grid.three {
    grid-template-columns:1fr 1fr;
    gap:15px 12px;
  }
  .field.full {
    grid-column:1/-1;
  }
  .card {
    padding:18px;
    border-radius:8px;
  }
  .card-heading {
    margin-bottom:18px;
    gap:7px;
  }
  .card-heading h2 {
    font-size:20px;
  }
  .card-heading .badge {
    font-size:9px;
    padding:5px;
  }
  .assessment-panel {
    grid-template-columns:1fr;
    gap:0;
  }
  .route-grid {
    grid-template-columns:1fr;
  }
  .route-card {
    display:grid;
    grid-template-columns:1fr auto;
    gap:0 16px;
  }
  .route-card .route-status {
    grid-column:1/-1;
  }
  .route-card h3 {
    grid-column:1;
  }
  .route-card p {
    grid-column:1;
    margin:0;
  }
  .route-card .button {
    grid-column:2;
    grid-row:2/4;
    align-self:center;
  }
  .provider-grid {
    grid-template-columns:1fr;
  }
  .provider-grid>div {
    border-bottom:1px solid var(--line);
    padding-bottom:12px;
  }
  .report-list {
    grid-template-columns:1fr;
  }
  .report-hero {
    padding:15px 0;
    gap:15px;
  }
  .action-row {
    align-items:flex-start;
    gap:15px;
  }
  .action-row>p {
    max-width:50%;
    font-size:11px;
  }
  .country-checks {
    grid-template-columns:1fr;
    gap:0;
  }
  .country-heading {
    display:block;
  }
  .section-heading {
    display:block;
  }
  .small-label {
    display:block;
    margin-top:10px;
  }
  .country-section {
    margin-top:25px;
  }
  .country-sources {
    gap:10px;
  }
  .intake-facts {
    grid-template-columns:1fr 1fr;
  }
  .recycler-intro {
    align-items:flex-start;
  }
  .recycler-intro .button {
    flex-shrink:0;
    font-size:11px;
    padding:9px;
  }
  .footer-actions {
    flex-wrap:wrap;
  }
  .report-actions .button {
    width:100%;
  }
  .intake-list {
    grid-template-columns:1fr 1fr;
  }
}

@media(prefers-reduced-motion:no-preference) {
  button,a,input {
    transition:background .15s,border-color .15s,box-shadow .15s;
  }
  .progress-fill {
    transition:width .2s;
  }
}

@media print {
  .header,.intro,.workspace-bar,.step-bar,.assessment-panel,.country-section,.workspace-footer,.lemon-page-tools {
    display:none;
  }
  .wrap {
    padding:0;
  }
  .workspace-grid {
    display:block;
  }
  .card {
    break-inside:avoid;
    border-color:#ccc;
    box-shadow:none;
  }
  body {
    background:white;
    color:black;
  }
  .report-actions {
    display:none;
  }
}

dialog {
  max-width:460px;
  width:calc(100% - 36px);
  border:1px solid var(--line);
  border-radius:8px;
  padding:28px;
  background:var(--card);
  color:var(--ink);
  box-shadow:0 25px 100px #0003;
}

dialog::backdrop {
  background:#10192599;
  backdrop-filter:blur(3px);
}

dialog p {
  color:var(--muted);
  font-size:13px;
}

#owner-panel,#intake-detail,.card,.cost-table-wrap {
  min-width:0;
}

.cost-table-wrap {
  max-width:100%;
}


/* The shared page tools (back, guide, top) float at the bottom left: leave them room at the end of every
   recycling page, so the last labels, buttons and footer links can always be scrolled clear of them. */
body > main { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) { .workspace-bar { min-width: 0; } .audience-tabs { min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: thin; } }
