.visual-mapping { margin-bottom: 20px; }
.attachment-context { overflow-wrap: anywhere; white-space: normal; color: var(--ink); font-size: 13px; line-height: 1.6; margin: 8px 0; }
.evidence-readonly-preview { display: block; max-width: 100%; max-height: 60vh; object-fit: contain; }
.presentation-entry-cue { display:block; position:relative; margin:8px 0 12px; padding:8px 12px; border:2px solid #234d3d; border-radius:6px; background:#fffefa; color:#1d332b; font-size:14px; font-weight:650; line-height:1.4; overflow-wrap:anywhere; pointer-events:none; }
.presentation-highlight { outline:3px solid #234d3d!important; outline-offset:2px; }
.visual-map-points { display: grid; gap: 8px; margin: 16px 0; }
.visual-map-point { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-bottom: 1px solid #dfe6d6; padding-bottom: 8px; }
.visual-map-point > span:not(.visual-color-dot) { flex: 1 1 260px; font-size: 12px; }
.visual-color-dot { width: 18px; height: 18px; border: 1px solid #5d635a; border-radius: 4px; flex: 0 0 18px; }
@media (max-width: 1100px) {
  .page-heading.standard { flex-direction: column; align-items: stretch; }
  .page-heading.standard .heading-actions { width: 100%; flex-wrap: wrap; flex-shrink: 1; }
  .page-heading.standard .heading-actions > .button { flex: 1 1 140px; }
}
:root {
  --bg: var(--isolate-bg);
  --paper: var(--isolate-paper);
  --ink: var(--isolate-ink);
  --muted: var(--isolate-muted);
  --line: var(--isolate-line);
  --green: var(--isolate-green);
  --green-dark: var(--isolate-green-dark);
  --lime: var(--isolate-lime);
  --light-green: var(--isolate-light-green);
  --orange: var(--isolate-orange);
  --shadow: var(--isolate-shadow);
  --radius: var(--isolate-radius);
  font-family: var(--isolate-font-family);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
.source-evidence { margin: 18px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.source-photo-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.source-photo-thumb { display: grid; width: min(180px,100%); padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); text-align: left; cursor: pointer; }
.source-photo-thumb img { width: 100%; height: 115px; object-fit: cover; }
.source-photo-thumb span { padding: 8px; font-size: 12px; }
#annotation-pin-links { margin: 16px 0; display: grid; gap: 10px; }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8eaf54;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #91ad72;
  border-color: #91ad72;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 43px;
  line-height: 1.13;
  letter-spacing: -1.7px;
  font-weight: 600;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 600;
}
p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
small {
  font-size: 11px;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.muted,
.text-muted {
  color: var(--muted);
}
.text-danger {
  color: #b24d3a;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tiny-label,
.overline {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  line-height: 1.5;
}
.overline {
  color: var(--muted);
}
.caption {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.full {
  width: 100%;
  justify-content: center;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.icon-button {
  border: 0;
  background: transparent;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--light-green);
  color: var(--green);
}
.icon-button.danger:hover {
  background: #fbece8;
  color: #ac4537;
}
.text-link {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.text-link .icon {
  width: 15px;
}
.text-link:hover {
  text-decoration: underline;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 239px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 31px 20px 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 9px 34px;
  font-size: 24px;
  letter-spacing: 2.3px;
  font-weight: 750;
}
.brand-mark {
  width: 35px;
  height: 39px;
  background: var(--green);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}
.brand-mark .icon {
  width: 24px;
  height: 28px;
  fill: var(--lime);
  stroke-width: 1;
}
.brand small {
  font-size: 6.7px;
  letter-spacing: 1.5px;
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}
.workspace-switch {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfa;
  padding: 12px 10px;
  gap: 10px;
  margin-bottom: 30px;
}
.workspace-switch > .icon {
  color: #6a7b65;
}
.workspace-switch > .icon:last-child {
  width: 13px;
  margin-left: auto;
}
.workspace-switch span {
  font-size: 11px;
  font-weight: 600;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-switch small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.nav-caption {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: #9a9f96;
  margin: 0 11px 13px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 500;
  min-height: 44px;
  border-radius: 7px;
  color: #737d72;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-item:hover {
  background: #f8faf5;
}
.nav-item.active {
  background: #eef3e8;
  color: #31512b;
}
.nav-item.active:before {
  content: '';
  position: absolute;
  left: 0;
  width: 3px;
  height: 21px;
  background: #83a264;
  border-radius: 0 3px 3px 0;
}
.nav-item small {
  font-size: 9px;
  margin-left: auto;
  color: #7f8c72;
  background: #e3eadb;
  padding: 2px 5px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.pilot-panel {
  background: #f6f8f0;
  border: 1px solid #e8eddf;
  border-radius: 11px;
  padding: 17px 16px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.pilot-panel:after {
  content: '';
  position: absolute;
  right: -22px;
  top: 20px;
  width: 90px;
  height: 90px;
  border: 1px solid #dce6c5;
  border-radius: 50%;
  box-shadow:
    0 0 0 14px #edf2e3,
    0 0 0 15px #dfe8ce;
}
.pilot-panel .tiny-label {
  font-size: 7px;
  letter-spacing: 1.2px;
  color: #7a8f60;
}
.pilot-panel p {
  font-size: 19px;
  color: #3f5435;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin: 11px 0 20px;
  position: relative;
  z-index: 1;
}
.pilot-panel > div {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 8px;
  color: #829076;
}
.pilot-panel .icon {
  width: 12px;
  height: 12px;
}
.consultant {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  margin-top: 17px;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #f0e9dc;
  border: 2px solid white;
  outline: 1px solid #e6e7df;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 650;
  color: #776c50;
  flex-shrink: 0;
}
.avatar.small {
  width: 28px;
  height: 28px;
  font-size: 8px;
}
.consultant > span:nth-child(2) {
  font-size: 10px;
  font-weight: 550;
  max-width: 132px;
}
.consultant small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 5px;
}
.consultant .icon-button {
  width: 23px;
}
.main-shell {
  margin-left: 239px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 41px;
  background: #fafbf8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 10px;
  gap: 13px;
  color: #92988b;
}
.breadcrumb > .icon {
  width: 10px;
  height: 10px;
}
.breadcrumb strong {
  color: #66705f;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #829072;
  font-size: 9px;
}
.connection .icon {
  width: 13px;
  height: 13px;
}
.connection.offline {
  color: #b57835;
}
.pilot-badge {
  font-size: 8px;
  letter-spacing: 1px;
  padding: 4px 7px;
  border: 1px solid #e0e6d7;
  border-radius: 4px;
  color: #7e8c6d;
}
.main-shell main {
  padding: 35px 41px 25px;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 650;
  color: #82916d;
  margin-bottom: 17px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.page-eyebrow span:not(.live-dot) {
  color: #bcc3b4;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #89a05c;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px #eef2e7;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.page-heading p {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 13px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.page-heading .heading-actions {
  padding-bottom: 3px;
}
.page-heading.standard h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
}
.page-heading.standard {
  margin-bottom: 27px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-bottom: 22px;
}
.project-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 22px 0;
}
.tag {
  font-size: 7px;
  letter-spacing: 0.9px;
  font-weight: 700;
  color: #738755;
  background: #f0f5e6;
  border: 1px solid #e3eace;
  padding: 4px 7px;
  border-radius: 4px;
}
.project-card-top .text-muted {
  font-size: 7px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.project-card-top .icon {
  width: 13px;
  height: 13px;
}
.project-title {
  padding: 22px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-title h2 {
  font-size: 26px;
  letter-spacing: -0.9px;
  margin-top: 5px;
}
.project-title p {
  font-size: 10px;
  margin-top: 7px;
}
.project-title .overline {
  font-size: 7px;
  letter-spacing: 1.3px;
}
.project-symbol {
  width: 43px;
  height: 43px;
  background: #f3f6ec;
  border: 1px solid #e8ecde;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #8c9e6c;
}
.project-symbol .icon {
  width: 25px;
  height: 25px;
}
.project-progress {
  padding: 0 22px 18px;
}
.project-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #747e6b;
  margin-bottom: 11px;
}
.project-progress strong {
  color: #354331;
  font-size: 13px;
}
.project-progress strong small {
  font-size: 9px;
  color: #9ba391;
  font-weight: 400;
}
.progress-track {
  height: 5px;
  background: #eff2e9;
  border-radius: 10px;
  overflow: hidden;
}
.progress-track > span {
  display: block;
  background: #8aa263;
  height: 100%;
  min-width: 5px;
  border-radius: 10px;
}
.progress-caption {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  margin-top: 12px;
  color: #909b83;
}
.progress-caption span,
.progress-caption a {
  display: flex;
  gap: 6px;
  align-items: center;
}
.progress-caption a {
  color: #637a49;
}
.progress-caption .icon {
  width: 11px;
  height: 11px;
}
.sample-note {
  border-top: 1px solid #eff1eb;
  padding: 10px 22px;
  font-size: 8px;
  color: #939c88;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sample-note .icon {
  display: none;
}
.field-card {
  background: #e9eedc;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 283px;
  border: 1px solid #dfe7cf;
}
.field-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#cdd9b833 1px, transparent 1px), linear-gradient(90deg, #cdd9b833 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.field-card:after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #cfdbb6;
  border-radius: 50%;
  right: -20px;
  top: 29px;
  box-shadow:
    0 0 0 20px #e3ead3,
    0 0 0 21px #d7e1c1;
  pointer-events: none;
}
.field-copy {
  position: relative;
  z-index: 2;
  padding: 25px;
}
.field-copy .overline {
  font-size: 6.5px;
  color: #7d9064;
  letter-spacing: 1px;
}
.field-copy h2 {
  font-size: 27px;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #344e2b;
  margin-top: 13px;
}
.field-copy p {
  font-size: 9px;
  color: #7c8a6b;
  margin-top: 11px;
  line-height: 1.7;
}
.field-copy .button {
  min-height: 34px;
  font-size: 9px;
  background: #fffdf7;
  border: 1px solid #d4ddc0;
  color: #4c603d;
  margin-top: 18px;
  padding: 7px 11px;
}
.field-copy .button .icon {
  width: 12px;
  height: 12px;
  order: 2;
}
.field-machine {
  position: absolute;
  z-index: 1;
  width: 235px;
  right: -4px;
  bottom: 19px;
  transform: rotate(-3deg);
}
.machine-art {
  width: 100%;
  height: auto;
  display: block;
}
.floating-tag {
  position: absolute;
  right: 18px;
  bottom: 20px;
  z-index: 3;
  background: #fbfcf7e8;
  border: 1px solid #dce5cc;
  padding: 7px 10px;
  border-radius: 5px;
  backdrop-filter: blur(3px);
  font-size: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #65784e;
}
.floating-tag .icon {
  width: 11px;
  height: 11px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  margin: 0 0 28px;
}
.metric {
  padding: 19px 22px;
  position: relative;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric > .icon {
  position: absolute;
  right: 19px;
  top: 19px;
  width: 15px;
  height: 15px;
  color: #a5ad99;
}
.metric > span {
  font-size: 9px;
  color: #859079;
  display: block;
  padding-right: 20px;
}
.metric strong {
  display: block;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 11px 0 8px;
  line-height: 1;
}
.metric small {
  display: block;
  font-size: 8px;
  color: #a2a994;
}
.metric-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.overview-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 267px;
  gap: 22px;
}
.panel-heading h2 {
  font-size: 15px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel-heading p {
  font-size: 9px;
  margin-top: 7px;
}
.panel-heading .text-link {
  font-size: 9px;
}
.panel-heading .text-link .icon {
  width: 12px;
}
.panel.padded > .panel-heading {
  padding: 0 0 20px;
}
.count-pill {
  font-size: 9px;
  background: #f2f5ea;
  border: 1px solid #e9eedf;
  border-radius: 4px;
  padding: 2px 5px;
  color: #8c9b77;
  font-weight: 500;
}
.table-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  background: #fafbf7;
  font-size: 8px;
  color: #929a87;
  letter-spacing: 0.2px;
  font-weight: 500;
  padding: 12px 20px;
  border-top: 1px solid #f0f2eb;
  border-bottom: 1px solid #edf0e6;
  white-space: nowrap;
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #f0f2eb;
}
tr:last-child td {
  border-bottom: 0;
}
tr[data-asset] {
  cursor: pointer;
}
tr[data-asset]:hover {
  background: #fbfcf8;
}
td > .icon {
  width: 13px;
  height: 13px;
  color: #a0aa94;
}
.equipment-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 185px;
}
.equipment-cell strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.5;
}
.equipment-cell > div > span {
  display: block;
  color: #9ba38f;
  font-size: 8px;
  margin-top: 5px;
}
.equipment-cell i {
  font-style: normal;
  margin: 0 3px;
  color: #c0c7b5;
}
.equipment-thumb {
  width: 35px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid #e8edde;
  border-radius: 6px;
  background: #f7f9f1;
  color: #8a9c75;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipment-thumb .icon {
  width: 19px;
  height: 19px;
}
.asset-table .energy-list {
  max-width: 155px;
}
.energy-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.energy-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 5px;
  border-radius: 4px;
  font-size: 7px;
  color: #97874b;
  background: #f9f6e9;
  border: 1px solid #f0ead3;
  white-space: nowrap;
}
.energy-chip .icon {
  width: 10px;
  height: 10px;
}
.energy-chip.pneumatic,
.energy-tile.pneumatic {
  color: #5f8d9c;
  background: #eff7f8;
  border-color: #dfeced;
}
.energy-chip.hydraulic,
.energy-tile.hydraulic {
  color: #7481b5;
  background: #f2f3fa;
  border-color: #e7e9f5;
}
.energy-chip.mechanical,
.energy-tile.mechanical {
  color: #7d8b78;
  background: #f1f5ef;
  border-color: #e5ebdf;
}
.energy-chip.thermal,
.energy-tile.thermal {
  color: #bc825e;
  background: #fbf0e9;
  border-color: #f4e4d8;
}
.energy-chip.gravity,
.energy-tile.gravity {
  color: #9a7aab;
  background: #f6f0f8;
  border-color: #eddfef;
}
.energy-chip.chemical,
.energy-tile.chemical {
  color: #66988c;
  background: #edf6f3;
  border-color: #dbece6;
}
.badge .icon {
  width: 12px;
  height: 12px;
}
.right-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.right-stack > .panel {
  margin-bottom: 0;
}
.workflow-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
}
.workflow-card > .overline {
  font-size: 6.5px;
  letter-spacing: 1px;
  color: #9aa58c;
}
.workflow-card h3 {
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 19px;
}
.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding-bottom: 19px;
}
.workflow-step:last-child {
  padding-bottom: 0;
}
.workflow-step > span {
  font-size: 8px;
  color: #9ca88e;
  background: #f5f7ef;
  border: 1px solid #e7ecde;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.workflow-step:not(:last-child):after {
  content: '';
  position: absolute;
  width: 1px;
  height: 18px;
  background: #edf0e5;
  top: 25px;
  left: 10px;
}
.workflow-step strong {
  font-size: 9px;
  font-weight: 550;
}
.workflow-step p {
  font-size: 8px;
  margin-top: 3px;
}
.workflow-step > .icon {
  width: 13px;
  height: 13px;
  color: #adb69f;
  margin-left: auto;
  margin-top: 4px;
}
.ai-card {
  background: #244736;
  border: 1px solid #244736;
  border-radius: 12px;
  color: white;
  padding: 21px;
  overflow: hidden;
  position: relative;
}
.ai-card > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c2d5a4;
}
.ai-card > div .icon {
  width: 12px;
  height: 12px;
}
.ai-card .tiny-label {
  font-size: 6px;
  letter-spacing: 1.1px;
}
.ai-card h3 {
  font-size: 22px;
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}
.ai-card p {
  font-size: 9px;
  line-height: 1.7;
  color: #a9bda2;
  margin-top: 10px;
  max-width: 185px;
  position: relative;
  z-index: 1;
}
.ai-card a {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
  color: #cce0b1;
}
.ai-card a .icon {
  width: 12px;
  height: 12px;
}
.ai-orbit {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid #527151;
  box-shadow:
    0 0 0 12px #2d503b,
    0 0 0 13px #436541,
    0 0 0 25px #294c38,
    0 0 0 26px #395c3d;
  opacity: 0.5;
}
.workspace-footer {
  border-top: 1px solid var(--line);
  margin: 0 41px;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0a892;
  font-size: 8px;
}
.workspace-footer span:first-child {
  display: flex;
  gap: 5px;
  align-items: center;
}
.workspace-footer .icon {
  width: 11px;
  height: 11px;
}
.mobile-nav {
  display: none;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 20px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  flex: 1;
  max-width: 470px;
  padding: 0 12px;
  color: #9ba58c;
}
.search-box input {
  border: none;
  background: transparent;
  height: 43px;
  padding: 0;
  min-width: 0;
  outline: none;
  box-shadow: none;
}
.search-box .icon {
  width: 16px;
  height: 16px;
}
.toolbar > select {
  width: 170px;
  min-height: 43px;
  padding: 10px 12px;
  color: #435039;
  background: #fff;
  border: 1px solid #dfe5d7;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
}
.toolbar > .muted {
  margin-left: auto;
  font-size: 11px;
}
.evidence-count {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #89967c;
  white-space: nowrap;
  font-size: 10px;
}
.evidence-count .icon {
  width: 14px;
  height: 14px;
}
.asset-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.asset-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.asset-card-art {
  height: 175px;
  background: #f0f4e9;
  position: relative;
  padding: 12px 35px;
}
.asset-card-art .machine-art {
  height: 100%;
}
.asset-id-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 4px 7px;
  background: #fff9;
  border: 1px solid #dce5cc;
  border-radius: 4px;
  font-size: 9px;
  color: #71845c;
}
.asset-card-body {
  padding: 20px;
}
.asset-card-body h3 {
  font-size: 18px;
  margin-top: 13px;
}
.asset-card-body p {
  font-size: 11px;
  margin-top: 7px;
}
.asset-card-body > .energy-list {
  margin: 15px 0;
  min-height: 25px;
}
.asset-card-body .button {
  font-size: 11px;
}
.back-link {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8c9980;
  margin-bottom: 22px;
}
.back-link > .icon {
  width: 13px;
  transform: rotate(180deg);
}
.asset-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.asset-heading .page-eyebrow {
  margin-bottom: 8px;
}
.asset-heading h1 {
  font-size: 32px;
  letter-spacing: -1px;
}
.asset-subline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  font-size: 10px;
  color: #96a087;
}
.sample-label {
  font-size: 8px;
  border-left: 1px solid #d8dfcc;
  padding-left: 12px;
}
.save-state {
  font-size: 9px;
  color: #89997b;
  display: flex;
  gap: 5px;
  align-items: center;
  max-width: 125px;
  line-height: 1.5;
}
.save-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8ca871;
  flex-shrink: 0;
}
.save-state i.unsaved {
  background: #d99d5d;
}
.tabs {
  display: flex;
  border-bottom: 1px solid #dfe6d6;
  gap: 20px;
  margin-bottom: 27px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.tabs > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #9aa38e;
  padding: 13px 0 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.tabs > a .icon {
  width: 14px;
  height: 14px;
}
.tabs > a.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.tabs > a small {
  font-size: 8px;
  background: #edf2e5;
  padding: 2px 5px;
  border-radius: 4px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.detail-grid .panel {
  margin-bottom: 22px;
}
.section-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 25px;
}
.section-title h2 {
  font-size: 19px;
}
.section-title p {
  font-size: 11px;
  margin-top: 6px;
}
.section-icon {
  width: 37px;
  height: 37px;
  background: #f1f5e9;
  border: 1px solid #e5ecda;
  color: #7f9660;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 2px;
  min-width: 0;
}
.form-field.wide {
  grid-column: 1/-1;
}
.form-field > label,
.field-label {
  font-size: 10px;
  color: #7e8a70;
  font-weight: 550;
  display: block;
}
.required {
  color: #c99d6c;
}
.input-with-action {
  position: relative;
  display: flex;
  width: 100%;
}
.input-with-action input,
.input-with-action textarea {
  padding-right: 42px;
}
.voice-button {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #9da98d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-button:hover {
  color: var(--green);
  background: #f1f5e8;
}
.voice-button.listening {
  color: white;
  background: #bd5d4d;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 4px #bd5d4d20;
  }
}
.check-card {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #7c8871 !important;
  line-height: 1.7;
  cursor: pointer;
  min-height: 30px;
}
.check-card input {
  margin-top: 3px;
}
.check-card .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.check-card small {
  display: block;
  font-size: 9px;
  color: #9eaa90;
}
.form-field > .check-card {
  padding: 10px 0;
}
.survey-photo .panel-heading {
  padding-bottom: 12px;
}
.survey-photo .panel-heading h3 {
  font-size: 12px;
}
.survey-photo > .caption {
  margin-top: 11px;
  font-size: 9px;
}
.survey-photo > img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}
.machine-placeholder {
  background: #f3f6ec;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 17px;
}
.checklist-card {
  background: #f0f4e7;
  border: 1px solid #e2ead6;
  border-radius: 12px;
  padding: 22px;
}
.checklist-card h3 {
  font-size: 13px;
  margin-bottom: 20px;
}
.checklist-row {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  color: #8b987b;
  margin-bottom: 15px;
}
.check-circle {
  border: 1px solid #d0dbbf;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex-shrink: 0;
}
.check-circle.done {
  background: #829d60;
  border-color: #829d60;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-circle .icon {
  width: 10px;
  height: 10px;
}
.checklist-card .text-link {
  font-size: 10px;
  margin-top: 8px;
}
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
}
.section-toolbar h2 {
  font-size: 22px;
  letter-spacing: -0.65px;
}
.section-toolbar p {
  font-size: 11px;
  margin-top: 8px;
}
.notice .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.notice ul {
  margin: 7px 0 0;
  padding-left: 18px;
}
.source-card {
  padding: 24px;
}
.source-header {
  display: flex;
  gap: 13px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.source-header .overline {
  font-size: 8px;
}
.source-header h3 {
  margin-top: 4px;
  font-size: 18px;
}
.source-header .icon-button {
  margin-left: auto;
}
.energy-tile {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf5df;
  border: 1px solid #eee5c5;
  color: #b09a4b;
  border-radius: 10px;
  flex-shrink: 0;
}
.energy-tile .icon {
  width: 23px;
  height: 23px;
}
.source-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
  gap: 12px;
}
.source-bottom > span {
  font-size: 9px;
  color: #a1ad92;
}
.source-fields {
  gap: 18px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.photo-card {
  margin: 0;
}
.photo-preview {
  width: 100%;
  padding: 0;
  position: relative;
  border: 0;
  display: block;
  background: #e9efdf;
  height: auto;
  overflow: hidden;
}
.photo-preview img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-edit-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #14271ac9);
  padding: 30px 13px 13px;
  color: white;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.photo-edit-overlay .icon {
  width: 13px;
  height: 13px;
}
.photo-card-body {
  padding: 17px;
}
.photo-card-body h3 {
  margin-top: 6px;
  font-size: 14px;
}
.photo-card-body p {
  font-size: 10px;
  margin-top: 9px;
  white-space: pre-wrap;
}
.photo-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  font-size: 8px;
  color: #a0ac91;
}
.photo-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #d5ee90;
  color: #244730;
  border: 2px solid white;
  box-shadow: 0 2px 8px #162b2730;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}
.annotation-photo {
  position: relative;
  cursor: crosshair;
  background: #f0f3eb;
  margin: 15px auto 22px;
  display: table;
  max-width: 100%;
  line-height: 0;
}
.photo-callout-label {
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  width:max-content; max-width:150px; white-space:normal; overflow-wrap:anywhere;
  padding:2px 4px; border-radius:3px; background:#fffdf7; color:#263b38;
  font-size:inherit; line-height:1.2; text-shadow:none;
}
.annotation-photo > img {
  max-width: 100%;
  max-height: 400px;
  display: block;
}
.annotation-photo .photo-pin {
  line-height: 1;
}
.file-tile {
  color: #86a16a;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5eb;
  border-radius: 7px;
  width: 35px;
  height: 42px;
}
.empty-state {
  text-align: center;
  padding: 46px 25px;
  grid-column: 1/-1;
}
.empty-state > .icon {
  width: 32px;
  height: 32px;
  color: #acb89a;
  margin-bottom: 15px;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 500;
}
.empty-state p {
  max-width: 440px;
  margin: 10px auto 20px;
  font-size: 11px;
}
.connection-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 23px;
  border: 1px solid #dde7cf;
  background: #eef4e5;
  border-radius: 12px;
  margin-bottom: 23px;
}
.connection-card > .icon {
  width: 27px;
  height: 27px;
  color: #879f63;
}
.connection-card > div {
  flex: 1;
}
.connection-card h3 {
  font-size: 17px;
}
.connection-card p {
  font-size: 11px;
  margin: 10px 0;
}
.connection-card > .badge {
  align-self: center;
}
.research-list .panel {
  margin-bottom: 20px;
}
.research-summary {
  margin: 14px 0;
  white-space: pre-wrap;
  color: #738066;
  font-size: 12px;
}
.suggestion-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.suggestion-list strong {
  display: block;
  font-size: 12px;
}
.suggestion-list small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #96a186;
  margin-top: 6px;
}
.suggested-source {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e6ecdd;
  background: #f7faf2;
  padding: 14px;
  border-radius: 8px;
  margin-top: 10px;
}
.suggested-source > div {
  flex: 1;
}
.suggested-source strong {
  font-size: 12px;
}
.suggested-source p {
  font-size: 10px;
}
.citations {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 10px;
}
.citations strong {
  color: #91a078;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.citations a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.citations .icon {
  width: 12px;
  height: 12px;
}
.placard-print-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:16px 0;
  border:2px solid var(--green, #244e3f);
}
.placard-print-actions h3 { margin:0 0 6px; }
.placard-print-actions .caption { margin:0; }
.placard-print-actions .button { min-height:44px; white-space:normal; }
@media (max-width:600px) {
  .placard-print-actions .heading-actions { width:100%; flex-direction:column; }
  .placard-print-actions .button { width:100%; justify-content:center; }
}
.template-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
}
.template-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #8c9b7b;
}
.template-toolbar select {
  width: 230px;
  background: white;
}
.template-toolbar > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #9aa78b;
}
.template-toolbar > span .icon {
  width: 12px;
  height: 12px;
}
#document-preview {
  padding: 25px;
  background: #e9ede3;
  border: 1px solid #dde4d3;
  border-radius: 10px;
  margin-bottom: 25px;
  overflow-x: auto;
}
.document-sheet {
  background: white;
  max-width: 950px;
  margin: 0 auto;
  color: #202820;
  box-shadow: 0 5px 20px #142a1712;
  border: 1px solid #d5dacf;
  overflow: hidden;
  font-family: Arial, sans-serif;
}
.document-danger {
  background: #b7362d;
  color: white;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
}
.document-danger > .icon {
  width: 25px;
  height: 25px;
}
.document-danger > span {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 1.1px;
  font-weight: 650;
}
.document-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 24px 24px 17px;
}
.document-heading .overline {
  font-size: 7px;
  color: #7f8877;
  letter-spacing: 1px;
}
.document-heading h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  margin-top: 7px;
}
.document-heading p {
  font-size: 9px;
  margin-top: 6px;
  color: #828c79;
}
.document-id {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 8px;
  flex-shrink: 0;
}
.document-id strong {
  font-size: 22px;
}
.document-id span {
  font-size: 8px;
  color: #9a6d55;
}
.document-overview {
  display: grid;
  grid-template-columns: 160px 1fr 105px;
  gap: 18px;
  padding: 5px 24px 20px;
}
.document-photo {
  background: #f0f4e9;
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.document-photo > img {
  width: 100%;
  height: 130px;
  object-fit: contain;
}
.document-identification dl,
.document-source dl {
  display: grid;
  grid-template-columns: 105px 1fr;
  font-size: 9px;
  line-height: 1.6;
  margin: 0;
  gap: 8px;
}
.document-identification dt,
.document-source dt {
  font-weight: 600;
  color: #7a8871;
}
.document-identification dd,
.document-source dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.document-identification .energy-chip {
  font-size: 6px;
  padding: 2px 4px;
}
.document-identification .energy-chip .icon {
  width: 9px;
  height: 9px;
}
.document-qr {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 6px;
  line-height: 1.4;
  text-align: center;
  color: #89967b;
}
.document-qr img {
  width: 83px;
  height: 83px;
}
.document-qr span {
  margin-top: 5px;
}
.document-warning {
  border-top: 1px solid #eadfbb;
  border-bottom: 1px solid #eadfbb;
  color: #9a793c;
  background: #fff9e9;
  font-size: 8px;
  line-height: 1.6;
  padding: 10px 24px;
  font-weight: 550;
}
.document-section-title {
  background: #f1f4ec;
  border-top: 1px solid #e1e7d7;
  border-bottom: 1px solid #e1e7d7;
  font-size: 9px;
  letter-spacing: 0.6px;
  padding: 10px 24px;
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.document-section-title .icon {
  width: 12px;
  height: 12px;
}
.document-sources {
  padding: 0 24px;
}
.document-source {
  padding: 17px 0;
  border-bottom: 1px solid #e5eadf;
  break-inside: avoid;
}
.document-source:last-child {
  border-bottom: 0;
}
.document-source-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.source-number {
  font-size: 11px;
  width: 20px;
  height: 20px;
  color: white;
  background: #2c503c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.document-source-head .energy-tile {
  width: 28px;
  height: 28px;
  border-radius: 5px;
}
.document-source-head .energy-tile .icon {
  width: 16px;
  height: 16px;
}
.document-source-head strong {
  display: block;
  font-size: 11px;
}
.document-source-head > div > span {
  font-size: 8px;
  color: #8e9b81;
  display: block;
  margin-top: 3px;
}
.document-confirmation {
  margin-left: auto;
  font-size: 6px;
  color: #ad9273;
  border: 1px solid #eee3cf;
  padding: 4px;
}
.document-source dl {
  grid-template-columns: 110px 1fr;
  gap: 6px;
  font-size: 9px;
}
.document-notes {
  font-size: 9px;
  line-height: 1.7;
  padding: 16px 24px;
  white-space: pre-wrap;
}
.document-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e3e8da;
  padding: 12px 24px;
  color: #a2ab95;
  font-size: 6px;
  letter-spacing: 0.3px;
}
.source-photo-strip {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #f7f9f2;
  margin: 10px 0;
  padding: 10px;
}
.source-photo-strip img {
  width: 100px;
  height: 70px;
  object-fit: contain;
}
.source-photo-strip span {
  font-size: 9px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.validation-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.validation-panel > div {
  max-width: 340px;
}
.validation-panel h3 {
  font-size: 14px;
}
.validation-panel p {
  font-size: 10px;
  margin-top: 8px;
}
.validation-panel .check-card {
  max-width: 300px;
  font-size: 10px !important;
}
.landscape .document-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.landscape .document-source dl {
  grid-template-columns: 90px 1fr;
  font-size: 8px;
}
.landscape .document-source-head {
  gap: 6px;
}
.landscape .document-source-head strong {
  font-size: 10px;
}
.landscape .document-confirmation {
  display: none;
}
.procedure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.procedure-card {
  margin: 0;
}
.procedure-card-top {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.procedure-card-top .check-card {
  font-size: 9px !important;
  align-items: center;
}
.mini-placard {
  margin: 0 16px;
  background: #f7f9f1;
  border: 1px solid #e2e9d7;
  overflow: hidden;
  border-radius: 3px;
  text-align: center;
}
.mini-placard > div {
  background: #b44436;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 9px;
  text-align: left;
}
.mini-placard > div > span {
  font-size: 6px;
  float: right;
  padding-top: 3px;
  letter-spacing: 0.5px;
}
.mini-placard .machine-art {
  height: 145px;
}
.mini-placard > span {
  display: block;
  text-align: left;
  padding: 8px 10px;
  border-top: 1px solid #e1e6d8;
  background: white;
  font-size: 8px;
  color: #99a58b;
}
.procedure-card-body {
  padding: 20px;
}
.procedure-card-body h3 {
  font-size: 15px;
}
.procedure-card-body p {
  font-size: 10px;
  margin-top: 5px;
}
.procedure-card-body .text-link {
  font-size: 10px;
  margin-top: 15px;
}
.training-steps {
  padding-left: 24px;
  margin: 22px 0;
  color: #6b7d5b;
  font-size: 12px;
}
.training-steps > li {
  padding-left: 8px;
  margin-bottom: 23px;
}
.training-steps strong {
  font-size: 12px;
}
.training-steps p {
  font-size: 11px;
  margin-top: 7px;
}
.training-record {
  display: flex;
  gap: 13px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.training-record strong {
  font-size: 12px;
}
.training-record p {
  font-size: 10px;
  margin: 5px 0;
}
.training-record small {
  font-size: 9px;
  color: #9ba88d;
  display: block;
  line-height: 1.5;
}
.training-record .badge {
  margin: 8px 0;
  font-size: 7px;
  white-space: normal;
}
.history-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.history-row strong {
  font-size: 12px;
}
.history-row p {
  font-size: 10px;
  margin-top: 5px;
}
.history-row .badge {
  margin-left: auto;
}
.history-entry {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.history-entry summary {
  cursor: pointer;
  font-size: 12px;
  color: #6e805c;
}
.history-entry summary small {
  display: block;
  margin: 7px 0 0 15px;
  color: #a2ac95;
  font-size: 9px;
}
.history-entry pre {
  max-height: 350px;
  overflow: auto;
  background: #f8faf4;
  padding: 15px;
  font-size: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.setup-step {
  display: flex;
  gap: 9px;
  font-size: 10px;
  align-items: center;
  line-height: 1.7;
  color: #91a07f;
  margin-top: 13px;
}
.setup-step > span {
  background: #f1f5e8;
  border: 1px solid #e3ead7;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 8px;
}
.right-stack .panel > p {
  margin: 10px 0;
  font-size: 11px;
}
.right-stack .panel > .caption {
  font-size: 10px;
}
.right-stack .panel > .button {
  margin-top: 10px;
  margin-right: 8px;
}
code {
  font-family: Consolas, monospace;
  font-size: 10px;
  background: #f1f5e9;
  padding: 2px 4px;
  border-radius: 3px;
  color: #6c8055;
  overflow-wrap: anywhere;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #172b2380;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: #fff;
  border: 1px solid #e3e8d9;
  border-radius: 16px;
  width: 560px;
  max-width: 100%;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 100px #11201540;
  animation: modal-in 0.18s ease-out;
}
.modal.wide {
  width: 820px;
}
.modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 27px 20px;
  border-bottom: 1px solid var(--line);
}
.modal > header .overline {
  font-size: 7px;
  letter-spacing: 1px;
}
.modal > header h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin-top: 7px;
}
.modal-body {
  padding: 24px 27px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-body > p {
  font-size: 12px;
  margin-bottom: 22px;
}
.modal-body .form-field {
  margin-bottom: 17px;
}
.modal-body .form-grid {
  gap: 14px;
}
.modal-body .form-grid .form-field {
  margin-bottom: 0;
}
.modal > footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 27px;
  border-top: 1px solid var(--line);
}
.modal-form-actions {
  margin-top: 23px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.upload-zone {
  position: relative;
  background: #f6f9ef;
  border: 1px dashed #c4d2b1;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 23px;
}
.upload-zone > .icon {
  width: 30px;
  height: 30px;
  color: #92a771;
  display: block;
  margin: 0 auto 12px;
}
.upload-zone strong {
  font-size: 14px;
  font-weight: 500;
}
.upload-zone p {
  font-size: 10px;
  margin-top: 7px;
}
.upload-zone input {
  display: block;
  background: white;
  margin-top: 20px;
  font-size: 10px;
  padding: 7px;
}
.evidence-picker {
  margin: 10px 0 20px;
  max-height: 200px;
  overflow: auto;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 7px;
}
.evidence-picker .check-card {
  padding: 9px 0;
}
.consent {
  padding: 15px;
  background: #f3f7ed;
  border: 1px solid #e5ebda;
  border-radius: 8px;
  margin-top: 15px;
}
.import-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 23px;
}
.import-metrics > div {
  background: #f4f7ed;
  padding: 17px;
  border-radius: 8px;
}
.import-metrics strong {
  font-size: 26px;
  font-weight: 500;
  display: block;
}
.import-metrics span {
  display: block;
  font-size: 10px;
  color: #8d9c7b;
  margin-top: 7px;
}
.modal table th,
.modal table td {
  padding: 13px 12px;
}
.modal td {
  font-size: 10px;
}
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--green);
}
.boot span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 15px;
}
.login-screen {
  min-height: 100vh;
  background: radial-gradient(ellipse at 80% 70%, #dfe9cd, transparent 60%), var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.login-brand {
  position: absolute;
  left: 35px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  letter-spacing: 2px;
  font-weight: 700;
}
.login-brand img {
  width: 34px;
}
.login-card {
  width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.login-card h1 {
  font-size: 35px;
  margin-top: 13px;
}
.login-card > p {
  margin: 16px 0 25px;
  font-size: 12px;
}
.login-card label {
  font-size: 11px;
  color: #8b987a;
  display: block;
  margin-bottom: 8px;
}
.login-card input {
  margin-bottom: 20px;
}
.login-card > .caption {
  font-size: 9px;
  text-align: center;
  margin: 20px 0 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green-dark);
  color: #f3f9e9;
  border: 1px solid #56754c;
  border-radius: 9px;
  padding: 14px 20px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 10px 35px #10271d30;
  z-index: 200;
  max-width: min(600px, 90vw);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #813e31;
  border-color: #b36e5c;
}
#print-root {
  display: none;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .main-shell main {
    padding: 45px 60px 30px;
  }
  .topbar {
    padding: 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .field-machine {
    width: 300px;
    right: 15px;
  }
  .field-card {
    min-height: 300px;
  }
  .project-title {
    padding: 28px 25px;
  }
  .project-title h2 {
    font-size: 31px;
  }
  .field-copy {
    padding: 30px;
  }
  .field-copy h2 {
    font-size: 32px;
  }
  .project-progress {
    padding-bottom: 25px;
  }
  .overview-lower {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .workflow-card {
    padding: 26px;
  }
  .ai-card {
    padding: 26px;
  }
  .workflow-step {
    padding-bottom: 24px;
  }
  .workflow-step strong {
    font-size: 11px;
  }
  .workflow-step p {
    font-size: 9px;
  }
  .equipment-cell strong {
    font-size: 12px;
  }
  .equipment-cell > div > span {
    font-size: 10px;
  }
  .energy-chip {
    font-size: 8px;
  }
  .badge {
    font-size: 9px;
  }
  .asset-table .energy-list {
    max-width: none;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 214px;
    padding: 26px 15px 0;
  }
  .brand {
    font-size: 22px;
    margin-left: 7px;
  }
  .brand small {
    font-size: 6px;
  }
  .main-shell {
    margin-left: 214px;
  }
  .topbar {
    padding: 0 28px;
  }
  .main-shell main {
    padding: 29px 28px 25px;
  }
  h1 {
    font-size: 35px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading:not(.standard) .heading-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 7px;
  }
  .hero-grid {
    gap: 17px;
  }
  .project-title h2 {
    font-size: 23px;
  }
  .field-machine {
    width: 190px;
    right: -20px;
    bottom: 20px;
  }
  .field-copy h2 {
    font-size: 25px;
  }
  .field-copy p {
    max-width: 180px;
    font-size: 8px;
  }
  .field-copy .overline {
    max-width: 160px;
    display: block;
    font-size: 6px;
  }
  .overview-lower {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 17px;
  }
  .workflow-card,
  .ai-card {
    padding: 17px;
  }
  .workflow-card h3 {
    font-size: 14px;
  }
  .workflow-card > .overline {
    font-size: 5.5px;
  }
  .workflow-step {
    gap: 8px;
  }
  .workflow-step strong {
    font-size: 8px;
  }
  .workflow-step p {
    font-size: 7px;
  }
  .equipment-cell {
    min-width: 155px;
    gap: 8px;
  }
  .equipment-thumb {
    width: 30px;
    height: 33px;
  }
  .equipment-cell strong {
    font-size: 9px;
  }
  .equipment-cell > div > span {
    font-size: 7px;
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
  .panel-heading {
    padding: 20px 17px 17px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .metric {
    padding: 18px;
  }
  .metric > .icon {
    right: 16px;
  }
  .metric > span {
    font-size: 8px;
  }
  .metric small {
    font-size: 7px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 17px;
  }
  .tabs {
    gap: 16px;
  }
  .tabs > a {
    font-size: 9px;
  }
  .asset-heading h1 {
    font-size: 29px;
  }
  .photo-grid,
  .procedure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-overview {
    grid-template-columns: 120px 1fr 80px;
    gap: 13px;
  }
  .document-qr img {
    width: 70px;
    height: 70px;
  }
  .document-identification dl {
    grid-template-columns: 90px 1fr;
    font-size: 8px;
  }
  .document-danger {
    font-size: 20px;
  }
  .document-danger > span {
    font-size: 9px;
  }
  .document-heading h2 {
    font-size: 20px;
  }
  .document-id strong {
    font-size: 18px;
  }
  .document-heading {
    padding: 20px;
  }
  .document-overview {
    padding: 5px 20px 18px;
  }
  .document-identification .energy-list {
    gap: 2px;
  }
}
@media (max-width: 1030px) {
  .overview-lower {
    grid-template-columns: 1fr;
  }
  .right-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .right-stack .ai-card {
    min-height: 210px;
  }
  .workflow-card > .overline {
    font-size: 7px;
  }
  .workflow-card h3 {
    font-size: 18px;
  }
  .workflow-step strong {
    font-size: 11px;
  }
  .workflow-step p {
    font-size: 9px;
  }
  .workflow-step {
    padding-bottom: 19px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .metric strong {
    font-size: 30px;
  }
  .metric > span {
    font-size: 10px;
  }
  .metric small {
    font-size: 9px;
  }
  .metric > .icon {
    width: 17px;
    height: 17px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 270px;
  }
  .project-title h2 {
    font-size: 29px;
  }
  .project-title .overline {
    font-size: 8px;
  }
  .project-title p {
    font-size: 12px;
  }
  .project-progress > div:first-child {
    font-size: 11px;
  }
  .progress-caption {
    font-size: 10px;
  }
  .sample-note {
    font-size: 9px;
  }
  .field-card {
    min-height: 230px;
  }
  .field-copy h2 {
    font-size: 30px;
  }
  .field-copy .overline {
    max-width: none;
    font-size: 7px;
  }
  .field-copy p {
    font-size: 11px;
    max-width: none;
  }
  .field-copy .button {
    font-size: 11px;
  }
  .field-machine {
    width: 270px;
    right: 20px;
    bottom: 15px;
  }
  .page-heading:not(.standard) .heading-actions {
    margin-top: 0;
    flex-direction: row;
  }
  .page-heading {
    flex-direction: column;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    align-items: start;
  }
  .survey-photo .machine-placeholder {
    max-height: 190px;
    overflow: hidden;
  }
  .asset-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asset-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .asset-heading .heading-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .asset-heading .save-state {
    margin-right: auto;
    max-width: none;
  }
  .template-toolbar > span {
    display: none;
  }
  .document-overview {
    grid-template-columns: 150px 1fr 90px;
  }
  .document-identification dl {
    font-size: 9px;
  }
  .document-danger > span {
    font-size: 10px;
  }
  .document-heading h2 {
    font-size: 23px;
  }
  .document-id strong {
    font-size: 20px;
  }
  .metric-grid.three .metric:nth-child(3) {
    border-left: 1px solid var(--line);
    border-top: 0;
  }
  .metric-grid.three .metric {
    padding: 18px 15px;
  }
  .metric-grid.three .metric > span {
    font-size: 8px;
  }
  .metric-grid.three .metric small {
    font-size: 8px;
  }
  .metric-grid.three .metric > .icon {
    display: none;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .main-shell {
    margin-left: 0;
    padding-bottom: 75px;
  }
  .topbar {
    height: 58px;
    padding: 0 20px;
    background: #fff;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 7px;
  }
  .breadcrumb:before {
    content: 'LOTOIQ';
    color: var(--green);
    letter-spacing: 1.5px;
    font-weight: 750;
    font-size: 13px;
    margin-right: 12px;
  }
  .breadcrumb > strong,
  .breadcrumb > .icon {
    display: none;
  }
  .breadcrumb {
    font-size: 0;
  }
  .top-actions {
    gap: 12px;
  }
  .connection {
    font-size: 8px;
  }
  .top-actions > .avatar {
    display: none;
  }
  .pilot-badge {
    font-size: 7px;
  }
  .main-shell main {
    padding: 28px 20px 20px;
  }
  .page-eyebrow {
    font-size: 7px;
    letter-spacing: 1.15px;
    margin-bottom: 13px;
  }
  h1 {
    font-size: 35px;
    letter-spacing: -1.35px;
  }
  .page-heading {
    gap: 20px;
    margin-bottom: 25px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 320px;
  }
  .heading-actions {
    flex-wrap: wrap;
  }
  .page-heading .heading-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
  }
  .page-heading .heading-actions .button {
    flex: 1;
  }
  .button {
    min-height: 44px;
    font-size: 11px;
    padding: 10px 13px;
    gap: 7px;
  }
  .button > .icon {
    width: 16px;
    height: 16px;
  }
  .hero-grid {
    gap: 16px;
    margin-bottom: 18px;
  }
  .project-card-top {
    padding: 18px 20px 0;
  }
  .project-title {
    padding: 20px;
  }
  .project-title h2 {
    font-size: 27px;
  }
  .project-title p {
    font-size: 10px;
  }
  .project-progress {
    padding: 0 20px 18px;
  }
  .project-progress > div:first-child {
    font-size: 10px;
  }
  .progress-caption {
    font-size: 9px;
  }
  .sample-note {
    padding: 10px 20px;
    font-size: 8px;
    line-height: 1.6;
  }
  .project-card {
    min-height: 0;
  }
  .field-card {
    min-height: 238px;
  }
  .field-copy {
    padding: 23px;
  }
  .field-copy h2 {
    font-size: 29px;
  }
  .field-copy p {
    font-size: 9px;
    max-width: 200px;
  }
  .field-copy .button {
    font-size: 10px;
  }
  .field-copy .overline {
    font-size: 6px;
    max-width: 200px;
  }
  .field-machine {
    width: 205px;
    right: -9px;
    bottom: 20px;
  }
  .floating-tag {
    font-size: 6px;
    right: 12px;
    bottom: 15px;
    padding: 6px 8px;
  }
  .metric-grid {
    margin-bottom: 23px;
  }
  .metric {
    padding: 20px 18px;
  }
  .metric > span {
    font-size: 9px;
  }
  .metric strong {
    font-size: 32px;
    margin: 12px 0 8px;
  }
  .metric small {
    font-size: 8px;
  }
  .metric > .icon {
    width: 16px;
    height: 16px;
  }
  .panel-heading {
    padding: 21px 17px 18px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .overview-lower {
    gap: 0;
  }
  .equipment-cell {
    min-width: 180px;
  }
  .equipment-cell strong {
    font-size: 10px;
  }
  .equipment-cell > div > span {
    font-size: 8px;
  }
  .equipment-thumb {
    width: 34px;
    height: 36px;
  }
  td,
  th {
    padding: 14px 16px;
  }
  .asset-table .energy-list {
    min-width: 100px;
    max-width: 130px;
  }
  .badge {
    font-size: 8px;
    padding: 5px 6px;
  }
  .right-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 16px;
  }
  .right-stack > .panel {
    width: 100%;
    min-width: 0;
  }
  .workflow-card {
    padding: 23px;
  }
  .workflow-card > .overline {
    font-size: 7px;
  }
  .workflow-card h3 {
    font-size: 20px;
  }
  .workflow-step {
    padding-bottom: 24px;
  }
  .workflow-step strong {
    font-size: 12px;
  }
  .workflow-step p {
    font-size: 10px;
  }
  .workflow-step > span {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .workflow-step:not(:last-child):after {
    left: 12px;
    top: 28px;
  }
  .ai-card {
    padding: 25px;
  }
  .ai-card h3 {
    font-size: 29px;
  }
  .ai-card p {
    font-size: 11px;
    max-width: 270px;
  }
  .ai-card a {
    font-size: 11px;
  }
  .ai-card .tiny-label {
    font-size: 7px;
  }
  .workspace-footer {
    margin: 0 20px;
    font-size: 7px;
    padding: 20px 0;
    align-items: flex-start;
    gap: 15px;
  }
  .workspace-footer > span:last-child {
    max-width: 160px;
    line-height: 1.6;
    text-align: right;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffffff5;
    backdrop-filter: blur(15px);
    border-top: 1px solid #dde5d3;
    z-index: 50;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    color: #9eaa8d;
    min-width: 55px;
    min-height: 45px;
    justify-content: center;
  }
  .mobile-nav .icon {
    width: 19px;
    height: 19px;
  }
  .mobile-nav a.active {
    color: var(--green);
    font-weight: 600;
  }
  .mobile-nav a.capture-nav {
    background: var(--green);
    border: 1px solid #1c4737;
    color: #e6f0d3;
    border-radius: 12px;
    width: 68px;
    margin-top: -19px;
    min-height: 58px;
    box-shadow: 0 4px 12px #1c47372e;
  }
  .mobile-nav a.capture-nav .icon {
    width: 22px;
    height: 22px;
  }
  .page-heading.standard h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .toolbar {
    gap: 9px;
    flex-wrap: wrap;
  }
  .search-box {
    flex: 1 1 100%;
    max-width: none;
  }
  .search-box input {
    height: 44px;
    font-size: 12px;
  }
  .toolbar > select {
    width: 160px;
    min-height: 44px;
    font-size: 11px;
  }
  .toolbar > .muted {
    font-size: 10px;
  }
  .asset-card-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .asset-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
  }
  .asset-card-art {
    height: 100%;
    padding: 22px 5px;
  }
  .asset-card-art .machine-art {
    height: auto;
    position: sticky;
    top: 50%;
    transform: translateY(-20%);
  }
  .asset-id-tag {
    left: 10px;
    top: 10px;
    font-size: 8px;
  }
  .asset-card-body {
    padding: 17px;
  }
  .asset-card-body h3 {
    font-size: 17px;
    margin-top: 10px;
  }
  .asset-card-body p {
    font-size: 10px;
  }
  .asset-card-body .energy-list {
    margin: 10px 0;
  }
  .asset-card-body .button {
    padding: 9px 7px;
    font-size: 9px;
    gap: 5px;
    min-height: 44px;
  }
  .asset-card-body .button > .icon:last-child {
    display: none;
  }
  .back-link {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .asset-heading {
    gap: 17px;
    margin-bottom: 12px;
  }
  .asset-heading h1 {
    font-size: 30px;
    letter-spacing: -0.9px;
  }
  .asset-heading .page-eyebrow {
    font-size: 7px;
  }
  .asset-subline {
    gap: 9px;
    font-size: 9px;
  }
  .sample-label {
    font-size: 7px;
    padding-left: 8px;
  }
  .asset-heading .heading-actions {
    gap: 10px;
  }
  .save-state {
    font-size: 9px;
  }
  .tabs {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 21px;
    margin-bottom: 22px;
  }
  .tabs > a {
    font-size: 11px;
    padding: 16px 0;
    min-height: 50px;
  }
  .tabs > a .icon {
    width: 15px;
    height: 15px;
  }
  .panel.padded {
    padding: 20px;
  }
  .section-title {
    gap: 10px;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .section-title p {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .form-field > label {
    font-size: 11px;
  }
  .form-field.wide {
    grid-column: auto;
  }
  input,
  textarea,
  select {
    font-size: 16px;
    min-height: 46px;
    padding: 11px 12px;
  }
  input::placeholder,
  textarea::placeholder {
    font-size: 12px;
  }
  .input-with-action input,
  .input-with-action textarea {
    padding-right: 46px;
  }
  .voice-button {
    width: 40px;
    height: 40px;
  }
  .voice-button .icon {
    width: 19px;
    height: 19px;
  }
  .check-card {
    font-size: 12px !important;
    min-height: 44px;
    align-items: center;
  }
  .check-card input {
    width: 18px;
    height: 18px;
    min-height: 18px;
  }
  .detail-aside {
    display: flex;
    flex-direction: column;
  }
  .detail-aside > div {
    width: 100%;
  }
  .section-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .section-toolbar h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .section-toolbar p {
    font-size: 11px;
  }
  .section-toolbar > .button {
    align-self: flex-start;
  }
  .section-toolbar .heading-actions > .button {
    flex: 1;
  }
  .notice {
    font-size: 10px;
    padding: 13px;
    margin: 16px 0;
    gap: 8px;
  }
  .source-card {
    padding: 19px;
  }
  .source-header {
    padding-bottom: 18px;
    margin-bottom: 20px;
    gap: 10px;
  }
  .source-header h3 {
    font-size: 18px;
  }
  .source-header .overline {
    font-size: 7px;
  }
  .source-header .energy-tile {
    width: 40px;
    height: 40px;
  }
  .source-header .icon-button {
    width: 32px;
  }
  .source-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .source-bottom .check-card {
    font-size: 11px !important;
    line-height: 1.7;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-preview {
    height: 245px;
  }
  .photo-card-body {
    padding: 19px;
  }
  .photo-card-body h3 {
    font-size: 17px;
  }
  .photo-card-body p {
    font-size: 12px;
  }
  .photo-meta {
    font-size: 9px;
  }
  .connection-card {
    padding: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .connection-card h3 {
    font-size: 17px;
  }
  .connection-card > div {
    min-width: 200px;
  }
  .connection-card > .badge {
    margin-left: 39px;
  }
  .connection-card p {
    font-size: 11px;
  }
  .suggestion-list > div {
    align-items: flex-start;
    flex-direction: column;
  }
  .suggested-source {
    flex-wrap: wrap;
    gap: 8px;
  }
  .suggested-source > div {
    min-width: 160px;
  }
  .suggested-source > .button {
    margin-left: 28px;
  }
  .research-summary {
    font-size: 12px;
  }
  .template-toolbar {
    display: block;
  }
  .template-toolbar label {
    display: block;
    font-size: 10px;
  }
  .template-toolbar select {
    display: block;
    margin-top: 8px;
    width: 100%;
  }
  #document-preview {
    padding: 12px;
    margin-left: -8px;
    margin-right: -8px;
  }
  .document-sheet {
    min-width: 560px;
  }
  .document-danger {
    font-size: 20px;
  }
  .document-danger > span {
    font-size: 9px;
  }
  .document-heading h2 {
    font-size: 20px;
  }
  .document-id strong {
    font-size: 18px;
  }
  .document-overview {
    grid-template-columns: 120px 1fr 75px;
    gap: 10px;
  }
  .document-identification dl {
    grid-template-columns: 80px 1fr;
    font-size: 8px;
  }
  .document-qr img {
    width: 65px;
    height: 65px;
  }
  .document-heading {
    padding: 18px;
  }
  .document-overview {
    padding: 5px 18px 16px;
  }
  .validation-panel {
    gap: 15px;
  }
  .validation-panel .check-card {
    font-size: 11px !important;
  }
  .procedure-grid {
    grid-template-columns: 1fr;
  }
  .procedure-card {
    max-width: 500px;
  }
  .procedure-card-top {
    padding: 17px;
  }
  .procedure-card-top .check-card {
    font-size: 11px !important;
  }
  .mini-placard .machine-art {
    height: 165px;
  }
  .procedure-card-body h3 {
    font-size: 18px;
  }
  .procedure-card-body p {
    font-size: 11px;
  }
  .procedure-card-body .text-link {
    font-size: 12px;
    min-height: 44px;
  }
  .metric-grid.three {
    grid-template-columns: 1fr;
  }
  .metric-grid.three .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric-grid.three .metric > span {
    font-size: 10px;
  }
  .metric-grid.three .metric small {
    font-size: 9px;
  }
  .metric-grid.three .metric > .icon {
    display: block;
  }
  .training-steps strong {
    font-size: 13px;
  }
  .training-steps p {
    font-size: 12px;
  }
  .training-record strong {
    font-size: 13px;
  }
  .training-record p {
    font-size: 11px;
  }
  .history-row {
    flex-wrap: wrap;
  }
  .history-row .badge {
    margin-left: 48px;
  }
  .history-entry summary {
    font-size: 12px;
    line-height: 1.7;
  }
  .history-entry summary small {
    font-size: 10px;
  }
  .right-stack .panel > p {
    font-size: 12px;
  }
  .setup-step {
    font-size: 11px;
  }
  .right-stack .panel > .caption {
    font-size: 11px;
  }
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .modal,
  .modal.wide {
    width: 100%;
    max-height: 94dvh;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
  }
  .modal > header {
    padding: 22px 20px 18px;
  }
  .modal > header h2 {
    font-size: 24px;
  }
  .modal-body {
    padding: 20px 20px 25px;
  }
  .modal > footer {
    padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
  }
  .modal-form-actions {
    margin-top: 22px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .modal-form-actions > .button {
    flex: 1;
  }
  .modal-body > p {
    font-size: 12px;
  }
  .upload-zone {
    padding: 24px 16px;
  }
  .upload-zone input {
    font-size: 12px;
  }
  .modal-body .form-grid {
    gap: 16px;
  }
  .modal-body .form-field {
    margin-bottom: 18px;
  }
  .modal > footer > .button {
    flex: 1;
  }
  .modal-body > .notice {
    margin-top: 0;
  }
  .import-metrics {
    gap: 8px;
  }
  .import-metrics > div {
    padding: 15px 12px;
  }
  .import-metrics strong {
    font-size: 24px;
  }
  .import-metrics span {
    font-size: 8px;
  }
  .evidence-picker .check-card {
    font-size: 11px !important;
    align-items: flex-start;
  }
  .consent {
    font-size: 10px !important;
    align-items: flex-start;
  }
  .login-card {
    padding: 29px;
    width: 100%;
  }
  .login-card h1 {
    font-size: 31px;
  }
  .login-brand {
    left: 25px;
    top: 25px;
  }
  .login-card > p {
    font-size: 12px;
  }
  #toast {
    bottom: 90px;
    font-size: 11px;
    width: calc(100% - 40px);
    max-width: 500px;
    padding: 14px 17px;
  }
  .empty-state {
    padding: 35px 20px;
  }
  .empty-state h3 {
    font-size: 18px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .checklist-card h3 {
    font-size: 16px;
  }
  .checklist-row {
    font-size: 12px;
  }
  .checklist-card .text-link {
    font-size: 12px;
    min-height: 44px;
  }
}
.source-photo-image {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}
.source-photo-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 120px;
}
.source-photo-image .photo-pin {
  width: 18px;
  height: 18px;
  font-size: 8px;
  line-height: 1;
}
@media (max-width: 760px) {
  .field-card {
    min-height: 300px;
  }
  .field-machine {
    width: 170px;
    right: 0;
    bottom: 17px;
  }
  .floating-tag {
    bottom: 14px;
    right: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  @page {
    size: auto;
    margin: 10mm;
  }
  body {
    background: white;
  }
  body > *:not(#print-root) {
    display: none !important;
  }
  #print-root {
    display: block !important;
  }
  .document-sheet {
    min-width: 0;
    max-width: none;
    width: 100%;
    box-shadow: none;
    margin: 0;
    break-after: page;
    border: 1px solid #c5cbbc;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .document-sheet:last-child {
    break-after: auto;
  }
  .document-source {
    break-inside: avoid;
  }
  .document-heading {
    break-after: avoid;
  }
  .document-danger {
    font-size: 22px;
  }
  .document-danger > span {
    font-size: 10px;
  }
  .document-overview {
    grid-template-columns: 150px 1fr 85px;
  }
  .document-photo > img {
    max-height: 150px;
  }
  .document-heading h2 {
    font-size: 23px;
  }
  .document-sheet.landscape .document-sources {
    grid-template-columns: 1fr 1fr;
  }
  .document-warning {
    font-size: 8px;
  }
  .document-footer {
    font-size: 7px;
  }
  .document-qr img {
    width: 80px;
    height: 80px;
  }
  .document-sheet.landscape {
    page: placard;
  }
  @page placard {
    size: landscape;
    margin: 10mm;
  }
}

/* Manual drawing evidence */
.me-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.me-wide { grid-column: 1 / -1; }
.me-panel { border: 1px solid var(--line, #d8d3c8); border-radius: 8px; padding: 1rem; min-width: 0; }
.me-panel h3 { margin: .75rem 0 .5rem; font-size: 1rem; }
.me-panel h3:first-child { margin-top: 0; }
.me-field { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; margin-bottom: .5rem; min-width: 0; }
.me-field input, .me-field select { min-height: 2.25rem; padding: .3rem .5rem; font: inherit; }
.me-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.me-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
.me-check { display: flex; gap: .5rem; align-items: flex-start; margin: .5rem 0; font-size: .9rem; }
.me-preview { margin: .5rem 0; }
.me-preview img, .me-cand-img { max-width: 100%; max-height: 360px; border: 1px solid var(--line, #d8d3c8); background: #faf8f3; display: block; }
.me-preview figcaption { font-size: .8rem; margin-top: .25rem; }
.me-preview.is-stale img { opacity: .4; }
.me-warn { color: #9f1d14; font-weight: 600; font-size: .85rem; }
.me-msg { min-height: 1.2em; margin: 0 0 .5rem; }
.me-msg.err { color: #9f1d14; }
.me-msg.ok { color: #1f6a3a; }
.me-cands, .me-labels { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .5rem; }
.me-card { border: 1px solid var(--line, #d8d3c8); border-radius: 6px; padding: .6rem; }
.me-card p { margin: .25rem 0; }
.me-st-accepted { border-left: 4px solid #1f6a3a; }
.me-st-rejected { border-left: 4px solid #8a8378; opacity: .8; }
.me-st-unreviewed { border-left: 4px solid #c98a12; }
.me-chip { display: inline-block; padding: .2rem .5rem; border-radius: 4px; font-weight: 700; background: var(--me-src); color: #fffdf8; outline: 1px solid #161514; }
@media (max-width: 767px) {
  .me-grid { grid-template-columns: 1fr; }
  .me-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Settings controls use independent grid cells: inline buttons previously overlapped
   each other in the narrow mobile notice and intercepted real taps. */
.settings-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}
.settings-action-grid > .button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  height: auto;
  white-space: normal;
  justify-content: center;
}
@media (max-width: 760px) {
  .settings-action-grid {
    grid-template-columns: 1fr;
  }
}

/* Per-machine review readiness — clear, readable on mobile and desktop. */
.ecp-readiness { margin-bottom: 20px; }
.ecp-readiness-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ecp-readiness-head h2 { font-size: 21px; margin: 7px 0; }
.ecp-readiness-head p { font-size: 13px; line-height: 1.55; max-width: 670px; color: var(--muted, #5b6a5e); }
.ecp-readiness-score { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ecp-readiness-score strong { font-size: 27px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--green, #214a37); }
.ecp-readiness-score small { color: var(--muted, #5b6a5e); font-size: 12px; }
.ecp-readiness-meter { height: 9px; overflow: hidden; border-radius: 999px; background: #e4eae3; margin: 16px 0; }
.ecp-readiness-meter > span { display: block; height: 100%; background: #27694a; border-radius: inherit; }
.ecp-readiness-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ecp-readiness-step { border: 1px solid #d9e1d8; border-radius: 10px; padding: 14px; min-width: 0; }
.ecp-readiness-step.is-complete { background: #f5faf6; }
.ecp-readiness-step.is-optional { background: #f7f8f7; border-color: #e5e9e5; }
.ecp-readiness-step.is-optional .ecp-readiness-step-head > span { color: #6d766d; }
.ecp-readiness-step.needs-work { background: #fffaf0; border-color: #e7d9af; }
.ecp-readiness-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ecp-readiness-step-head > span { font-size: 18px; color: #235e43; }
.ecp-readiness-step.needs-work .ecp-readiness-step-head > span { color: #865b13; }
.ecp-readiness-step-head strong { font-size: 13px; flex: 1; min-width: 130px; }
.ecp-readiness-step-head a { font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.ecp-readiness-step ul { margin: 10px 0 0 19px; padding: 0; font-size: 12px; line-height: 1.6; }
.ecp-readiness-step li + li { margin-top: 5px; }
.ecp-readiness-step small { display: block; margin-top: 8px; color: #466651; font-size: 11px; }
.ecp-readiness > .notice { margin-top: 16px; }
@media (max-width: 760px) {
  .ecp-readiness-grid { grid-template-columns: 1fr; }
  .ecp-readiness-head h2 { font-size: 19px; }
  .ecp-readiness-head p { font-size: 12px; }
  .ecp-readiness-score { align-items: flex-start; }
}

/* One equipment workflow across the classic field forms and LOTOIQ Studio shell. */
.asset-workflow-next {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 15px; padding: 18px; margin: 20px 0 0; border: 1px solid #d9e4da;
  border-radius: 11px; background: #f5f9f6;
}
.asset-workflow-next > div { display: grid; gap: 5px; min-width: min(100%, 250px); flex: 1; }
.asset-workflow-next strong { font-size: 14px; color: #173f30; }
.asset-workflow-next span { font-size: 12px; color: #4a6555; line-height: 1.5; }
.asset-workflow-next > .button { min-height: 44px; white-space: normal; }
.asset-mobile-action { display: none; }
@media (max-width: 760px) {
  .asset-heading .heading-actions { align-items: stretch; }
  .asset-heading .heading-actions > .button { min-height: 44px; }
  .asset-content .form-field > label { font-size: 13px; color: #354f3f; line-height: 1.45; }
  .asset-content .form-field input,
  .asset-content .form-field textarea,
  .asset-content .form-field select { font-size: 16px; line-height: 1.45; }
  .asset-content .form-field textarea { min-height: 108px; }
  .asset-content .form-field > small,
  .asset-content .form-field .caption,
  .asset-content .source-card small { font-size: 11px; line-height: 1.5; }
  .asset-content .check-card { font-size: 13px !important; line-height: 1.5; }
  .asset-workflow-next { padding: 14px; }
  .asset-workflow-next > .button { width: 100%; justify-content: center; }
  .asset-mobile-action {
    display: flex; gap: 10px; align-items: center; justify-content: space-between;
    position: fixed; inset: auto 0 calc(64px + env(safe-area-inset-bottom)) 0;
    z-index: 35; padding: 10px 14px; background: #fffdf9;
    border-top: 1px solid #cddbd0; box-shadow: 0 -5px 20px #112b1b20;
  }
  .asset-mobile-action > span { display: grid; gap: 3px; min-width: 0; }
  .asset-mobile-action strong { font-size: 12px; color: #1d4c37; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .asset-mobile-action small { font-size: 10px; color: #52685b; line-height: 1.35; }
  .asset-mobile-action .button { min-height: 46px; flex-shrink: 0; font-size: 12px; }
  .asset-delete-control { margin-bottom: 95px; }
}
@media print { .asset-mobile-action, .asset-workflow-next { display: none !important; } }

.source-map-caption { margin: 8px 0 0; padding-left: 9px; border-left: 3px solid #7b9b83; color: #395c47; font-size: 12px; line-height: 1.4; }

/* Unified ECP Print Center: reuse machine cards, existing printer profile engine. */
.pc-center, .pc-stock-panel { margin-bottom: 20px; }
.pc-center-intro { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:15px; }
.pc-center-intro h2 { margin: 6px 0; font-size:22px; letter-spacing:-.025em; color:#1e4632; }
.pc-center-intro p { max-width:720px; font-size:13px; line-height:1.6; color:#4e6756; }
.pc-center-count { display:inline-block; border-radius:999px; padding:8px 12px; font-size:12px; font-weight:700; color:#244a34; background:#e5f0e8; }
.pc-center-format { display:grid; grid-template-columns:minmax(230px,330px) minmax(0,1fr); gap:15px; align-items:end; padding:15px 0; }
.pc-center-format label { display:grid; gap:7px; font-size:13px; font-weight:700; color:#355842; }
.pc-center-format select { min-height:46px; padding:8px 12px; max-width:100%; font-size:14px; border:1px solid #b7cbbd; border-radius:7px; background:white; }
.pc-center-format p { margin:0; color:#51675b; font-size:13px; line-height:1.6; }
.pc-center-actions { display:flex; flex-wrap:wrap; gap:10px; margin:4px 0 15px; }
.pc-center-actions > button { min-height:44px; }
.pc-center-register-header { margin-bottom:15px; }
.pc-center-register-header h2 { color:#1e4632; font-size:21px; }
.pc-center-register-header p { color:#51675b; font-size:13px; }
.pc-equipment-card .check-card { font-size:13px; }
.pc-stock-panel > [data-tag-print-controls] { margin-top:15px; }
.pc-stock-panel .plc-print-controls { border-radius:8px; border-color:#d8e4d9; }
@media(max-width:760px) {
  .pc-center-intro h2 { font-size:19px; }
  .pc-center-format { grid-template-columns:1fr; gap:8px; }
  .pc-center-actions > button { flex:1 1 100%; justify-content:center; }
  .pc-center-register-header h2 { font-size:18px; }
}
@media print { .pc-center, .pc-stock-panel, .pc-center-register { display:none!important; } }

/* Enterprise template library: concise client-scoped revision cards and mobile editor. */
.template-register { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr)); gap:14px; margin-top:15px; }
.template-register-card { border:1px solid #d9e4da; border-radius:10px; background:#f8fbf8; padding:15px; display:grid; gap:9px; min-width:0; }
.template-register-card > .row { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.template-register-card strong { font-size:14px; color:#234b35; }
.template-register-card p { font-size:12px; color:#4c6153; margin:0; line-height:1.5; }
.template-register-card small { font-size:11px; color:#65766b; }
.template-register-card .heading-actions { display:flex; flex-wrap:wrap; gap:8px; }
.template-register-card .heading-actions button { min-height:40px; font-size:12px; }
#equipment-template-form .form-field small { font-size:12px; line-height:1.5; color:#576b60; }
#equipment-template-form textarea { min-height:110px; font-size:14px; }
@media (max-width:760px) { .template-register { grid-template-columns:1fr; } .template-register-card .heading-actions button { min-height:44px; } #equipment-template-form textarea { font-size:16px; } }

/* Phase 4C: controlled, revision-scoped pilot collaboration. */
.review-workflow { margin: 0 0 20px; }
.review-workflow .section-toolbar { display:flex; gap:15px; flex-wrap:wrap; justify-content:space-between; align-items:start; }
.review-workflow .section-toolbar h2 { color:#234b36; margin:8px 0; }
.review-workflow .section-toolbar p { margin:0 0 12px; color:#526656; font-size:13px; line-height:1.55; }
.review-workflow .notice { margin:14px 0; }
.review-workflow-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:16px 0; }
.review-workflow-summary > div { padding:13px; background:#f4f8f4; border:1px solid #d7e2d9; border-radius:9px; min-width:0; }
.review-workflow-summary small { display:block; margin:0 0 6px; font-size:11px; color:#566f5c; }
.review-workflow-summary strong { font-size:14px; color:#204935; overflow-wrap:anywhere; }
.review-workflow-form { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin:14px 0; }
.review-workflow-form label { display:grid; gap:7px; flex:1; min-width:min(100%,240px); font-size:13px; font-weight:600; }
.review-workflow-form select, .review-workflow-form textarea { width:100%; box-sizing:border-box; padding:10px 11px; border:1px solid #bccbbd; border-radius:7px; font:inherit; color:#203728; background:white; }
.review-workflow-form textarea { min-height:90px; resize:vertical; }
.review-workflow-form button, .review-workflow-actions button { min-height:44px; }
.review-workflow-actions { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0; }
.review-workflow-columns { display:grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap:22px; margin-top:18px; }
.review-workflow-columns h3 { margin:12px 0; color:#234b36; font-size:17px; }
.review-issue { border:1px solid #d9e2d7; border-left:4px solid #8d9e84; border-radius:8px; padding:12px; margin:10px 0; background:#fcfdfb; }
.review-issue > div { display:flex; gap:8px; justify-content:space-between; flex-wrap:wrap; }
.review-issue small { font-size:11px; color:#607262; }
.review-issue p { font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.review-events { list-style:none; padding:0; margin:0; border-left:2px solid #d5e2d7; }
.review-events li { padding:5px 9px 14px 18px; margin-left:8px; font-size:12px; }
.review-events li strong { display:block; text-transform:capitalize; }
.review-events li span { display:block; margin-top:4px; color:#66766b; }
.review-events li p { overflow-wrap:anywhere; margin-top:5px; line-height:1.5; }
.review-prior { border-top:1px solid #dce5df; padding-top:12px; margin-top:20px; font-size:12px; }
@media(max-width:760px) {
  .review-workflow-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .review-workflow-columns { grid-template-columns:1fr; gap:14px; }
  .review-workflow-form { display:grid; grid-template-columns:1fr; }
  .review-workflow-form label { min-width:0; }
  .review-workflow-form button { width:100%; }
  .review-workflow-form select, .review-workflow-form textarea { font-size:16px; }
}
@media print { .review-workflow-form, .review-workflow-actions { display:none!important; } }

/* Phase 4D: controlled, side-by-side Spanish translation editing. */
.translation-workspace .section-toolbar { display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; align-items:flex-start; }
.translation-workspace .section-toolbar h2 { margin:6px 0; font-size:22px; color:#234a36; }
.translation-workspace .section-toolbar p { margin:5px 0; max-width:700px; font-size:13px; line-height:1.6; color:#53685a; }
.translation-workspace .heading-actions label { display:grid; gap:4px; font-size:12px; color:#385a45; }
.translation-workspace select, .translation-workspace input, .translation-workspace textarea { box-sizing:border-box; padding:9px 11px; font:inherit; border:1px solid #bdcbbf; border-radius:7px; background:#fff; color:#26382c; }
.translation-workspace select { min-height:44px; }
.translation-workspace textarea { min-height:76px; resize:vertical; width:100%; }
.translation-workspace input { min-height:46px; width:100%; }
.translation-status { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; padding:12px 14px; border-radius:9px; background:#f2f8f3; margin:13px 0 16px; font-size:12px; color:#486451; }
.translation-status strong { font-size:13px; color:#255640; }
.translation-form { display:grid; gap:15px; }
.translation-form > label, .translation-review label { display:grid; gap:6px; font-size:13px; font-weight:650; color:#33513e; }
.translation-original { display:block; font-size:12px; padding:9px 10px; border-radius:5px; background:#f4f5f4; color:#263b2c; font-weight:400; }
.translation-source { border:1px solid #d5e1d7; border-radius:10px; padding:13px; min-width:0; }
.translation-source legend { color:#244d38; padding:0 8px; font-size:14px; font-weight:750; }
.translation-field { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; border-bottom:1px solid #e7ebe5; padding:10px 0; align-items:start; }
.translation-field:last-child { border-bottom:0; }
.translation-field small { display:block; color:#59705f; font-size:11px; margin-bottom:6px; font-weight:650; }
.translation-field p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; color:#2c4132; margin:0; line-height:1.6; }
.translation-field label { display:grid; gap:6px; font-size:12px; font-weight:650; color:#45624b; }
.translation-review { margin-top:18px; padding:15px; background:#f5f9f5; border-radius:10px; border:1px solid #cbdbce; }
.translation-review h3 { font-size:17px; color:#214c34; }
.translation-review p { font-size:12px; line-height:1.6; color:#52685a; }
.translation-review form { display:grid; gap:12px; }
.translation-review .check-card { display:flex; align-items:flex-start; gap:10px; line-height:1.55; }
.translation-history { margin-top:17px; padding-top:10px; border-top:1px solid #d9e6dc; font-size:12px; }
.translation-history p { color:#4b6350; }
@media (max-width:760px) {
  .translation-field { grid-template-columns:1fr; gap:8px; }
  .translation-workspace .section-toolbar h2 { font-size:19px; }
  .translation-workspace textarea, .translation-workspace input, .translation-workspace select { font-size:16px; }
  .translation-workspace button[type=submit] { min-height:46px; }
}
@media print { .translation-workspace { display:none!important; } }
