:root {
  color-scheme: light;
  --ink: #17333f;
  --muted: #58717d;
  --teal: #087f8c;
  --line: #dce7eb;
  --wash: #f5f8fa;
  --green: #16785b;
  --amber: #93601d;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
  letter-spacing: 0;
}
.vessel-photo {
  height: auto;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--teal);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #31aaba;
  outline-offset: 3px;
}
button,
.button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
button:hover,
.button:hover {
  background: #edf5f7;
}
.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.primary:hover {
  background: #086c78;
}
.text-button {
  background: transparent;
  border-color: transparent;
  color: var(--teal);
}
.icon-button {
  width: 42px;
  padding: 9px;
  flex: none;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex: none;
}
.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}
p {
  line-height: 1.55;
}
small,
.muted {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1.6;
}
.demo-banner {
  background: #e8f6f7;
  border-bottom: 1px solid #b6dce0;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  padding-top: max(10px, env(safe-area-inset-top));
}
.demo-banner > div:first-child {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.demo-banner strong {
  color: #09626a;
}
.demo-banner span {
  color: #3d6470;
}
.banner-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.demo-banner .primary span {
  color: white;
}
.demo-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: calc(100dvh - 64px);
}
.sidebar {
  background: #102c36;
  color: white;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  max-height: 100dvh;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 700;
}
.brand img {
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 10px;
  color: #a6c6cd;
  font-weight: 400;
  margin-top: 5px;
}
.sidebar-vessel {
  border-top: 1px solid #34505a;
  border-bottom: 1px solid #34505a;
  display: grid;
  gap: 7px;
  padding: 18px 10px;
}
.sidebar-vessel .eyebrow {
  color: #79d6db;
}
.sidebar-vessel strong {
  font-size: 20px;
}
.sidebar-vessel > span:last-child {
  font-size: 12px;
  color: #bbced5;
}
#navigation {
  display: grid;
  gap: 7px;
}
#navigation a {
  display: flex;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #c9d8de;
  font-size: 14px;
  font-weight: 600;
}
#navigation a:hover {
  background: #1e424e;
}
#navigation a[aria-current="page"] {
  background: #18525d;
  color: #fff;
}
.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 14px;
  padding: 16px 8px;
  font-size: 12px;
  color: #b3cbd2;
}
.sidebar-footer a {
  color: #a0e2e7;
  text-decoration: none;
}
#main {
  min-width: 0;
  padding: 30px 36px 64px;
  outline: none;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.page-header p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-heading {
  min-width: 0;
}
.page-heading h1 {
  overflow-wrap: anywhere;
}
.workflow {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
  margin-bottom: 24px;
}
.workflow-label {
  font-size: 12px;
  color: var(--muted);
  flex: none;
}
.workflow ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1;
  gap: 12px;
}
.workflow li {
  flex: 1;
}
.workflow button {
  width: 100%;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 13px;
}
.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid #b9cfd7;
  flex: none;
  font-size: 12px;
}
.step-number.done {
  background: #e0f4ec;
  border-color: #b2d8c9;
  color: var(--green);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 30px;
}
.stat {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  font-weight: 400;
}
.stat:last-child {
  border-right: 0;
}
.stat strong {
  font-size: 30px;
  line-height: 1;
}
.stat .icon {
  color: var(--teal);
}
.stat.warning .icon {
  color: var(--amber);
}
.stat.success .icon {
  color: var(--green);
}
.stat > span:last-child {
  font-size: 13px;
  color: var(--muted);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-heading a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.section {
  margin-bottom: 32px;
}
.rows {
  border-top: 1px solid var(--line);
}
.job-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.job-row:hover {
  background: #ebf3f5;
}
.row-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  background: #e4f2f5;
  color: var(--teal);
  border-radius: 6px;
}
.row-copy {
  min-width: 0;
  flex: 1;
}
.row-copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.row-copy small {
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}
.row-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: none;
  font-size: 12px;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  padding: 5px 8px;
  border-radius: 4px;
  background: #edf1f3;
  color: #49606c;
}
.badge.high,
.badge.open {
  background: #fcf1df;
  color: #88551a;
}
.badge.completed {
  background: #e2f4eb;
  color: #18664f;
}
.vessel-photo {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.vessel-caption {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 16px;
}
.vessel-name {
  font-size: 24px;
  margin-bottom: 6px;
}
.facts {
  margin: 16px 0 24px;
}
.facts > div {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  text-align: right;
}
.tank {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 16px 0;
  font-size: 12px;
}
.tank progress {
  grid-column: 1/-1;
  width: 100%;
  height: 7px;
  accent-color: var(--teal);
}
.checklist {
  margin-top: 20px;
}
.checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.5;
}
.checklist input {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
  flex: none;
  margin-top: 1px;
}
.toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.search {
  max-width: 400px;
  width: 100%;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
}
.filters button[aria-pressed="true"] {
  background: #deeff2;
  border-color: #9bcbd1;
  color: #075d68;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd9df;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 12px;
  font-size: 15px;
  min-height: 44px;
}
textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
label.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
input::placeholder,
textarea::placeholder {
  color: #687f8a;
  font-weight: 400;
}
.empty {
  padding: 36px 0;
  color: var(--muted);
  line-height: 1.6;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 36px;
}
.instructions {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.7;
}
.update-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.update-form .actions {
  justify-content: space-between;
}
.timeline {
  margin-top: 24px;
}
.timeline-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e1eff2;
  color: #166879;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.timeline-item strong {
  font-size: 13px;
}
.timeline-item p {
  font-size: 14px;
  margin-top: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.photo-grid figure {
  margin: 0;
  min-width: 0;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #e8eff2;
  border-radius: 6px;
  display: block;
}
.photo-grid figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 5px;
}
.photo-grid button {
  min-height: 32px;
  width: 32px;
  padding: 6px;
}
.privacy-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.notice {
  background: #eaf5f7;
  padding: 12px 15px;
  border-left: 3px solid var(--teal);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.crew-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.crew-card .avatar {
  margin-bottom: 18px;
  width: 44px;
  height: 44px;
}
.crew-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.crew-card a {
  margin-top: 20px;
  display: inline-block;
  font-size: 13px;
}
.report {
  max-width: 960px;
  margin: auto;
  background: white;
  padding: 32px;
  border: 1px solid var(--line);
}
.report-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.report-brand img {
  width: 44px;
  height: 44px;
}
.report-title {
  border-bottom: 2px solid var(--teal);
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.report-title img {
  width: 180px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
.report h2 {
  margin-bottom: 12px;
}
.report .stats {
  margin: 24px 0;
}
.report .stat {
  padding: 15px;
}
.report .stat strong {
  font-size: 24px;
}
.report-entry {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  break-inside: avoid;
}
.report-entry h3 {
  margin-bottom: 8px;
}
.report-entry p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.report-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted);
}
.editor {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
}
.editor[open] {
  display: flex;
  flex-direction: column;
}
.editor::backdrop {
  background: #16344280;
}
.editor-header {
  padding: 20px 28px;
  padding-top: max(20px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
}
.editor-header h2 {
  font-size: 24px;
  margin-top: 4px;
}
.editor-body {
  overflow: auto;
  overscroll-behavior: contain;
  flex: 1;
  padding: 28px 24px;
}
.editor-inner {
  max-width: 720px;
  margin: 0 auto;
}
.editor-steps {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--muted);
}
.editor-steps li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.editor-steps [aria-current="step"] {
  font-weight: 700;
  color: var(--teal);
}
.editor-steps [aria-current="step"] .step-number {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.editor-inner h3 {
  font-size: 23px;
  margin-bottom: 24px;
}
.fields {
  display: grid;
  gap: 20px;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.editor-footer {
  padding: 16px 28px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  background: white;
}
.crew-options {
  display: grid;
  gap: 10px;
}
.crew-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.crew-option input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--teal);
}
.crew-option small {
  display: block;
  margin-top: 4px;
}
.error {
  color: #a13232;
  line-height: 1.5;
  font-size: 13px;
  margin: 14px 0;
}
.confirm-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  max-width: 440px;
  width: calc(100% - 32px);
  color: var(--ink);
}
.confirm-dialog::backdrop {
  background: #18323e66;
}
.confirm-dialog p {
  margin: 16px 0 24px;
  font-size: 14px;
}
.confirm-dialog .actions {
  justify-content: flex-end;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #173c45;
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 14px;
  max-width: calc(100% - 32px);
  width: max-content;
  z-index: 10;
  box-shadow: 0 4px 20px #18323e26;
}
.file-input {
  max-width: 100%;
  font-size: 13px;
}
.file-input::file-selector-button {
  font: inherit;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: #e5f1f4;
  color: #086c78;
  margin-right: 10px;
}
.busy {
  font-size: 13px;
  color: var(--teal);
  margin-top: 12px;
}
.report-section-title {
  margin-top: 28px;
}
.report-photo {
  width: 160px;
  max-height: 140px;
  object-fit: contain;
  margin: 8px 8px 0 0;
}
.summary-list {
  margin: 0;
}
.summary-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.summary-list dt {
  color: var(--muted);
}
.summary-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.5;
}
@media (min-width: 1600px) {
  #main {
    padding-left: 48px;
    padding-right: 48px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
  }
}
@media (max-width: 1100px) {
  .demo-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .brand {
    font-size: 13px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  #main {
    padding: 24px;
  }
  .overview-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vessel-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .workflow {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .workflow ol {
    width: 100%;
  }
  .crew-grid {
    grid-template-columns: 1fr;
  }
  .crew-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
  }
  .crew-card .avatar {
    grid-row: 1/4;
    margin: 0;
  }
  .crew-card a {
    margin-top: 12px;
  }
  .row-meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .demo-banner > div:first-child {
    gap: 3px;
  }
  .demo-banner > div:first-child > span {
    font-size: 11px;
  }
  .report {
    padding: 22px;
  }
}
@media (max-width: 700px) {
  .demo-banner {
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
    align-items: flex-start;
    gap: 8px;
  }
  .demo-banner > div:first-child {
    display: grid;
    font-size: 12px;
  }
  .demo-banner > div:first-child > span {
    max-width: 200px;
    line-height: 1.45;
  }
  .banner-actions {
    gap: 2px;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
  .banner-actions .button {
    font-size: 12px;
    min-height: 36px;
    padding: 8px 10px;
  }
  .banner-actions button {
    font-size: 11px;
    min-height: 30px;
    padding: 6px;
  }
  .demo-shell {
    display: block;
  }
  .sidebar {
    display: contents;
  }
  .brand,
  .sidebar-vessel,
  .sidebar-footer {
    display: none;
  }
  #navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 6px 5px max(8px, env(safe-area-inset-bottom));
  }
  #navigation a {
    color: var(--muted);
    padding: 10px 2px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
  }
  #navigation a[aria-current="page"] {
    background: #e5f4f5;
    color: var(--teal);
  }
  #main {
    padding: 23px 18px calc(95px + env(safe-area-inset-bottom));
  }
  .page-header {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 27px;
  }
  .page-header p {
    font-size: 13px;
  }
  .page-header > .actions {
    width: 100%;
  }
  .page-header > .actions .primary {
    margin-left: auto;
  }
  .workflow {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }
  .workflow ol {
    gap: 10px;
  }
  .workflow button {
    font-size: 11px;
    gap: 6px;
    line-height: 1.4;
    text-align: left;
  }
  .step-number {
    width: 23px;
    height: 23px;
  }
  .stats {
    margin-bottom: 24px;
  }
  .stat {
    padding: 14px 9px;
    gap: 10px;
  }
  .stat strong {
    font-size: 26px;
  }
  .stat > span:last-child {
    font-size: 11px;
    line-height: 1.35;
  }
  .row-meta > span:not(.badge) {
    display: none;
  }
  .job-row {
    gap: 10px;
  }
  .row-icon {
    width: 34px;
    height: 34px;
  }
  .row-copy strong {
    font-size: 13px;
  }
  .row-copy small {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading a {
    font-size: 12px;
  }
  .overview-grid {
    gap: 8px;
  }
  .vessel-side {
    display: block;
  }
  .vessel-side > div:first-child {
    margin-bottom: 24px;
  }
  .toolbar {
    flex-direction: column;
  }
  .search {
    max-width: none;
  }
  .filters button {
    font-size: 12px;
    padding: 9px 12px;
  }
  .detail-grid {
    gap: 16px;
  }
  .editor-header {
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top));
  }
  .editor-header h2 {
    font-size: 21px;
  }
  .editor-body {
    padding: 24px 18px;
  }
  .editor-steps {
    gap: 16px;
    font-size: 11px;
  }
  .editor-steps li {
    gap: 6px;
  }
  .editor-inner h3 {
    font-size: 21px;
  }
  .field-pair {
    gap: 12px;
  }
  .editor-footer {
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .editor-footer button {
    font-size: 13px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .summary-list > div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }
  .report {
    padding: 20px 14px;
  }
  .report-title {
    flex-direction: column;
  }
  .report-title img {
    width: 100%;
    max-height: 180px;
  }
  .report .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .report .stat {
    padding: 12px 9px;
  }
  #toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  body {
    background: white;
  }
  .demo-banner,
  .sidebar,
  .page-header,
  .skip-link,
  #toast,
  dialog,
  .no-print {
    display: none !important;
  }
  .demo-shell {
    display: block;
  }
  #main {
    padding: 0;
  }
  .report {
    border: 0;
    padding: 0;
    max-width: none;
  }
  .report-title img {
    width: 150px;
  }
  .report-title {
    flex-direction: row;
  }
  .report .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .report-entry {
    break-inside: avoid;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  @page {
    margin: 16mm;
  }
}
