@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");
:root {
  --ink: #172e40;
  --muted: #607485;
  --paper: #f3f6f8;
  --line: #dce4ea;
  --nav: #17384e;
  --accent: #006491;
  --blue: #086d9c;
  --green: #24705c;
  --amber: #9b6421;
  font-family: "IBM Plex Sans Thai", "Thonburi", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #33a4d5;
  outline-offset: 4px;
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  background: #fff;
  padding: 12px;
  z-index: 200;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 254px;
  background: var(--nav);
  color: #fff;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font:
    600 12px/1.2 "IBM Plex Sans",
    sans-serif;
  letter-spacing: 1.2px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 3.4px;
  margin-top: 5px;
  color: #c4d7e2;
}
.brand-symbol {
  font-size: 39px;
  position: relative;
  font-weight: 700;
  line-height: 1;
}
.brand-symbol > span {
  font-size: 23px;
  color: #75c4e6;
  margin-left: 1px;
}
.workspace-label {
  margin-top: 53px;
  color: #a6c3d4;
  font:
    500 9px/1.5 "IBM Plex Sans",
    sans-serif;
  letter-spacing: 1.8px;
}
.sidebar-title {
  font-weight: 600;
  font-size: 27px;
  margin: 8px 0 4px;
  letter-spacing: -0.7px;
}
.side-caption {
  font-size: 13px;
  color: #b4c9d7;
  line-height: 1.8;
  margin: 0 0 29px;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.project {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 11px;
  padding: 12px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  color: #d6e4ec;
}
.project:hover {
  background: #24465d;
}
.project.selected {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 4px 18px #08263626;
}
.project-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 37px;
  border-radius: 5px;
  color: #fff;
  background: var(--project-color);
  font:
    600 12px "IBM Plex Sans",
    sans-serif;
}
.project strong {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}
.project small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #b4cad7;
  margin-top: 3px;
}
.project.selected small {
  color: var(--muted);
}
.project-dot {
  margin-left: auto;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4eaf8e;
}
.project-dot.waiting {
  background: #e0af57;
}
.side-schedule {
  border-top: 1px solid #ffffff24;
  margin-top: 32px;
  padding: 24px 7px 0;
  font-size: 11px;
}
.side-schedule .eyebrow {
  color: #a6c3d4;
  font-size: 9px;
}
.side-schedule > strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 8px 0 15px;
}
.side-schedule > div {
  margin: 13px 0;
  color: #dfebf3;
}
.time-tag {
  font:
    500 9px "IBM Plex Sans",
    sans-serif;
  color: #a7c7d8;
  border: 1px solid #ffffff30;
  border-radius: 3px;
  padding: 3px 5px;
  margin-right: 8px;
}
.side-schedule > small {
  color: #b4cad7;
  display: block;
  margin: 20px 0;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 26px 7px 0;
  color: #b8cedb;
  font-size: 10px;
}
.sidebar-bottom small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #91afc3;
}
.local-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6cb296;
  margin-right: 4px;
}
.workspace {
  margin-left: 254px;
  min-height: 100vh;
}
.topbar {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 44px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: #587082;
}
.breadcrumb span {
  margin: 0 12px;
  color: #c5d0d8;
}
.header-actions {
  display: flex;
  gap: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  border: 1px solid #d3dee6;
  padding: 9px 15px;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.btn:hover {
  background: #eaf2f7;
}
.btn.primary {
  color: #fff;
  border-color: var(--nav);
  background: var(--nav);
}
.btn.primary:hover {
  background: #23506d;
}
.btn.subtle {
  border-color: transparent;
  background: transparent;
  font-weight: 400;
}
.btn.subtle:hover {
  background: var(--paper);
}
main {
  padding: 34px 44px 0;
  max-width: 1700px;
  margin: auto;
}
main:focus {
  outline: 0;
}
.eyebrow {
  font:
    500 10px/1.6 "IBM Plex Sans",
    "IBM Plex Sans Thai",
    sans-serif;
  letter-spacing: 1.6px;
  color: var(--muted);
  text-transform: uppercase;
}
.rev {
  letter-spacing: 0.7px;
  border-left: 1px solid #b8cad6;
  padding-left: 11px;
  margin-left: 9px;
  color: #8799a5;
}
.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.project-heading h1 {
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -1.1px;
  line-height: 1.3;
  margin: 8px 0 7px;
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.subtitle > span {
  margin: 0 8px;
  color: #a4b7c4;
}
.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 5px;
  background: #e7f3ed;
  color: #286852;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.status i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.status.waiting {
  color: #8c5a22;
  background: #faf0df;
}
.job-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  padding: 21px 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.job-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}
.job-strip > div:last-child {
  border: 0;
}
.job-strip svg {
  color: #7d97a8;
  width: 19px;
}
.job-strip small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 4px;
}
.job-strip strong {
  font-size: 12px;
  font-weight: 500;
}
.tabs {
  display: flex;
  gap: 24px;
  margin: 0 0 27px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tab {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 18px 2px 15px;
  color: var(--muted);
  background: transparent;
  border-bottom: 3px solid transparent;
  font-size: 12px;
  font-weight: 500;
}
.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab svg {
  width: 16px;
  height: 16px;
}
.tab-count {
  font:
    500 9px "IBM Plex Sans",
    sans-serif;
  background: #e1e9ef;
  color: #607485;
  padding: 2px 5px;
  border-radius: 4px;
}
.panel {
  display: none;
}
.panel.active {
  display: block;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(275px, 1fr);
  gap: 24px;
}
.photo-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hero-image {
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
  background: #c9d3db;
  overflow: hidden;
  aspect-ratio: 1.65;
}
.hero-image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.hero-image:hover > img {
  transform: scale(1.025);
}
.photo-chip {
  position: absolute;
  top: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f9fcfff0;
  box-shadow: 0 1px 9px #0826361c;
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 9px;
  color: #223e50;
}
.photo-chip svg {
  width: 13px;
  height: 13px;
}
.photo-open {
  position: absolute;
  bottom: 16px;
  right: 15px;
  border: 1px solid #ffffff60;
  color: #fff;
  background: #102e44b3;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 9px;
}
.feature-caption {
  padding: 22px 23px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.feature-caption .eyebrow {
  font-size: 9px;
}
.feature-caption h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 6px 0 8px;
  line-height: 1.4;
}
.feature-caption p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
  max-width: 45em;
}
.round-btn {
  border: 1px solid var(--line);
  height: 35px;
  width: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--accent);
}
.round-btn:hover {
  background: #edf5f9;
}
.brief-summary {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 23px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.5;
  margin: 4px 0;
}
.section-heading p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.brief-summary .section-heading h2 {
  font-size: 16px;
  margin: 0;
}
.mini-label {
  font:
    500 9px "IBM Plex Sans",
    sans-serif;
  letter-spacing: 1px;
  color: #94a5b0;
  white-space: nowrap;
}
.scope-list {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}
.scope-list li {
  display: flex;
  gap: 9px;
  margin: 13px 0;
  font-size: 12px;
  line-height: 1.8;
}
.scope-list svg {
  color: #458b75;
  margin-top: 3px;
  width: 14px;
  height: 14px;
}
.completion-box {
  padding: 15px 0 19px;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.completion-box > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.completion-box strong {
  color: var(--ink);
  font-weight: 500;
}
.completion-box progress {
  appearance: none;
  width: 100%;
  height: 4px;
  border: 0;
  display: block;
  margin: 12px 0 10px;
  border-radius: 5px;
  overflow: hidden;
}
.completion-box progress::-webkit-progress-bar {
  background: #e7edf2;
}
.completion-box progress::-webkit-progress-value {
  background: var(--accent);
}
.completion-box progress::-moz-progress-bar {
  background: var(--accent);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  background: transparent;
  padding: 0;
  border: 0;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.7;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link svg {
  width: 12px;
  height: 12px;
}
.contact {
  padding-top: 16px;
}
.contact > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.contact > strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.contact > a[href^="tel"] {
  display: block;
  font:
    500 13px "IBM Plex Sans",
    sans-serif;
  color: var(--blue);
  text-decoration: none;
  margin-top: 7px;
}
.contact p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 9px 0;
}
.alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.alert {
  padding: 18px;
  display: flex;
  gap: 11px;
  background: #ecf3f7;
  border: 1px solid #d8e7f0;
  border-radius: 7px;
  align-items: flex-start;
}
.alert.warning {
  background: #fbf4e8;
  border-color: #eedec3;
}
.alert-symbol {
  font:
    600 11px "IBM Plex Sans",
    sans-serif;
  border: 1px solid #96b6cd;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #527d9a;
}
.warning .alert-symbol {
  color: #9b6b2f;
  border-color: #d3b988;
}
.alert h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 5px;
}
.alert p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
  color: #536b7d;
}
.alert.warning p {
  color: #786247;
}
.spaced {
  margin-top: 32px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.steps article {
  padding: 23px;
  border-right: 1px solid var(--line);
}
.steps article:last-child {
  border-right: 0;
}
.step-number {
  font:
    500 11px "IBM Plex Sans",
    sans-serif;
  color: var(--accent);
  background: #edf3f6;
  border: 1px solid #dce8ee;
  border-radius: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 17px;
}
.steps h3 {
  font-size: 12px;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.8;
}
.steps p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.main-footer {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding: 19px 0 24px;
  color: #8496a3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
}
.main-footer .text-link {
  font-size: 9px;
}
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 500;
  font-size: 10px;
  color: var(--muted);
  background: #edf2f5;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 18px;
  border-bottom: 1px solid #e8edf1;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td > strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}
.check-col {
  width: 60px;
}
.qty-col {
  width: 110px;
}
.source-col {
  width: 100px;
}
.sku {
  display: block;
  margin-top: 5px;
  font:
    400 10px "IBM Plex Sans",
    sans-serif;
  color: #8398a6;
}
.qty strong {
  font:
    600 18px "IBM Plex Sans",
    sans-serif;
  display: inline-block;
  min-width: 18px;
}
.qty small {
  font-size: 10px;
  margin-left: 8px;
  color: var(--muted);
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
}
.is-checked {
  background: #f2f8f5;
}
.is-checked .sku {
  color: #7b9a88;
}
.source-note {
  display: flex;
  gap: 10px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin: 16px 0 25px;
}
.source-note svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: #edf3f6;
  border-radius: 5px;
  white-space: nowrap;
  color: #547080;
}
.body-copy {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  max-width: 75em;
  margin: 0 0 18px;
}
.signal-board {
  border: 1px solid #c9dbe6;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8fbfd;
  background-image: radial-gradient(#9fb7c73d 0.75px, transparent 0.75px);
  background-size: 14px 14px;
  padding: 26px;
}
.signal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid #dbe6ee;
  font-weight: 600;
  font-size: 19px;
  gap: 10px;
}
.drawing-code {
  font:
    400 10px "IBM Plex Sans",
    sans-serif;
  letter-spacing: 1.2px;
  color: #7792a5;
}
.signal-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  margin: 30px 0;
}
.signal-label {
  font-size: 11px;
  color: #557183;
  display: flex;
  align-items: center;
  gap: 7px;
}
.signal-label > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #607485;
}
.signal-label > .usb {
  background: #287daa;
}
.signal-label > .hdmi {
  background: #9b6a41;
}
.signal-label > .mic {
  background: #38866c;
}
.signal-label > .cat {
  background: #7d71aa;
}
.signal-path {
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal-node {
  flex: 1;
  min-width: 0;
  text-align: center;
  border: 1px solid #cadce7;
  background: #fff;
  padding: 20px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  box-shadow: 0 2px 3px #19394f05;
}
.wire {
  font-size: 22px;
  flex: 0 0 22px;
  color: #859fad;
  text-align: center;
}
.wire.usb {
  color: #287daa;
}
.wire.mic {
  color: #38866c;
}
.wire.hdmi {
  color: #9b6a41;
}
.signal-note {
  font-size: 11px;
  color: #688091;
  line-height: 1.9;
  border-top: 1px solid #dbe6ee;
  padding-top: 20px;
  margin-top: 10px;
}
.plan-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 23px;
}
.card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
}
.card p,
.card li {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.card .text-link {
  display: flex;
  margin-top: 12px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.photo-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.photo-grid figure > button {
  padding: 0;
  background: #e6edf2;
  display: block;
  width: 100%;
  position: relative;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.image-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #f7fbffe8;
  border: 1px solid #fff;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #3d6179;
}
.photo-grid figcaption {
  padding: 12px 14px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.photo-grid .tag {
  display: block;
  width: max-content;
  margin-top: 5px;
  font-size: 9px;
}
.heading-count {
  font:
    500 13px "IBM Plex Sans",
    sans-serif;
  color: #7691a4;
  vertical-align: middle;
  margin-left: 8px;
}
.storage-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 20px;
}
.empty-hero {
  min-height: 330px;
  background: #edf3f6;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background-image: radial-gradient(#aec4d344 0.75px, transparent 0.75px);
  background-size: 14px 14px;
}
.empty-hero > svg {
  width: 32px;
  height: 32px;
  color: #7894a6;
  margin-bottom: 18px;
}
.empty-hero .eyebrow {
  font-size: 9px;
  color: #6d8b9e;
}
.empty-hero h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.6;
  margin: 12px 0 6px;
}
.empty-hero p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.empty-hero .btn {
  margin-top: 14px;
}
.empty-gallery {
  text-align: center;
  min-height: 330px;
  padding: 55px 20px;
  background: #edf3f6;
  border: 1px dashed #bdceda;
  border-radius: 8px;
  color: var(--muted);
}
.empty-gallery > svg {
  width: 36px;
  height: 36px;
  color: #829aab;
}
.empty-gallery h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.empty-gallery p {
  font-size: 12px;
  line-height: 1.9;
}
.checks-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}
.check-group {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 18px;
}
.check-group h3 {
  font-size: 12px;
  font-weight: 500;
  background: #edf2f5;
  margin: 0;
  padding: 12px 18px;
}
.check-line {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px 18px;
  border-top: 1px solid #e8edf1;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.8;
}
.check-line input {
  margin: 4px 0 0;
}
.check-line:has(input:checked) {
  background: #f1f8f4;
  color: #477c66;
}
.field-label {
  display: block;
  font-size: 11px;
  color: #5b7384;
  margin: 16px 0 6px;
}
input:not([type="checkbox"]),
textarea {
  border: 1px solid #d5e0e7;
  background: #fafcfd;
  border-radius: 5px;
  padding: 10px 12px;
  width: 100%;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.8;
}
textarea {
  resize: vertical;
}
.save-status {
  font-size: 10px !important;
  color: #598a75 !important;
  margin: 10px 0 0;
}
.backup-box {
  border-left: 2px solid #cadbe5;
  padding: 1px 0 4px 18px;
  margin-top: 24px;
}
.backup-box h3 {
  font-size: 13px;
  font-weight: 500;
}
.backup-box p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.progress-pill {
  font-size: 12px;
  border: 1px solid #cadbe5;
  background: #e9f1f5;
  padding: 8px 12px;
  border-radius: 5px;
}
.toast {
  position: fixed;
  left: calc(50% + 127px);
  bottom: 24px;
  transform: translate(-50%, 20px);
  max-width: calc(100vw - 40px);
  padding: 13px 20px;
  background: var(--nav);
  color: #fff;
  border: 1px solid #3f6681;
  box-shadow: 0 8px 30px #12344d26;
  border-radius: 8px;
  z-index: 1000;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid #35546b;
  background: #0e2535;
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: min(1180px, 96vw);
  width: 96vw;
  max-height: 96dvh;
}
dialog::backdrop {
  background: #071522dc;
  backdrop-filter: blur(4px);
}
.viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.viewer-top p {
  font-size: 12px;
  line-height: 1.8;
}
.viewer-top .btn,
.viewer-bottom .btn {
  background: #1a3c53;
  color: #e7f4fc;
  border-color: #426276;
  font-size: 11px;
}
.viewer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  gap: 10px;
  font-size: 11px;
}
#full-photo {
  display: block;
  max-height: calc(95dvh - 160px);
  object-fit: contain;
  width: 100%;
  background: #091b29;
}
@media (min-width: 1600px) {
  .hero-image {
    aspect-ratio: 1.8;
  }
  .photo-feature {
    align-self: stretch;
  }
  .brief-summary {
    padding: 28px;
  }
  .scope-list li {
    font-size: 13px;
    margin: 18px 0;
  }
  .contact p {
    font-size: 11px;
  }
  .sidebar {
    width: 274px;
    padding: 35px 25px;
  }
  .workspace {
    margin-left: 274px;
  }
  .toast {
    left: calc(50% + 137px);
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 222px;
    padding: 26px 15px;
  }
  .workspace {
    margin-left: 222px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 29px 28px 0;
  }
  .project strong {
    font-size: 12px;
  }
  .project small {
    font-size: 9px;
  }
  .project-mark {
    width: 30px;
    height: 34px;
  }
  .sidebar-title {
    font-size: 25px;
  }
  .overview-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  }
  .brief-summary {
    padding: 19px;
  }
  .hero-image {
    aspect-ratio: 1.35;
  }
  .steps article {
    padding: 18px;
  }
  .tabs {
    gap: 20px;
  }
  .signal-row {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }
  .signal-board {
    padding: 20px;
  }
  .signal-node {
    font-size: 11px;
    padding: 18px 8px;
  }
  .signal-path {
    gap: 5px;
  }
  .wire {
    flex-basis: 17px;
  }
  .checks-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
  }
  .job-strip {
    gap: 10px;
  }
  .job-strip strong {
    font-size: 11px;
  }
  .toast {
    left: calc(50% + 111px);
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 195px;
    padding: 24px 12px;
  }
  .workspace {
    margin-left: 195px;
  }
  .brand {
    font-size: 10px;
    gap: 8px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand-symbol {
    font-size: 32px;
  }
  .project {
    padding: 10px 8px;
    gap: 8px;
  }
  .project-mark {
    width: 26px;
    height: 30px;
    font-size: 10px;
  }
  .project strong {
    font-size: 11px;
  }
  .project small {
    font-size: 8px;
  }
  .project-dot {
    display: none;
  }
  .workspace-label {
    font-size: 8px;
  }
  .sidebar-title {
    font-size: 23px;
  }
  .topbar {
    padding: 0 24px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .header-actions .btn {
    font-size: 10px;
    padding: 8px 11px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    aspect-ratio: 1.8;
  }
  .brief-summary {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0 25px;
  }
  .brief-summary > .section-heading,
  .scope-list {
    grid-column: 1;
  }
  .scope-list {
    grid-row: 2 / 4;
    margin: 6px 0;
  }
  .completion-box {
    grid-column: 2;
    grid-row: 1 / 3;
    border-top: 0;
    padding-top: 2px;
  }
  .contact {
    grid-column: 2;
    grid-row: 3;
  }
  .brief-summary .mini-label {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps article:nth-child(2) {
    border-right: 0;
  }
  .steps article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .signal-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .signal-board {
    padding: 20px;
  }
  .signal-node {
    font-size: 11px;
  }
  .checks-layout {
    grid-template-columns: 1fr;
  }
  .field-notes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .plan-bottom {
    grid-template-columns: 1fr;
  }
  .toast {
    left: calc(50% + 97px);
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 18px 18px 0;
    background: #17384e;
  }
  .brand {
    font-size: 10px;
  }
  .brand-symbol {
    font-size: 30px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 3px;
  }
  .workspace-label,
  .sidebar-title,
  .side-caption,
  .side-schedule,
  .sidebar-bottom {
    display: none;
  }
  .project-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .project {
    border-radius: 6px 6px 0 0;
    border: 0;
    display: block;
    padding: 12px 10px;
    box-shadow: none !important;
    background: #ffffff0d;
  }
  .project-mark,
  .project-dot {
    display: none;
  }
  .project strong {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .project small {
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 18px;
    background: var(--paper);
  }
  .breadcrumb {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
  }
  .breadcrumb span {
    margin: 0 5px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions .btn {
    font-size: 10px;
    padding: 7px 9px;
    min-height: 34px;
  }
  .header-actions .btn.subtle span {
    display: none;
  }
  .header-actions svg {
    width: 15px;
    height: 15px;
  }
  main {
    padding: 18px 18px 0;
  }
  .project-heading {
    gap: 10px;
    align-items: flex-start;
  }
  .project-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .rev {
    padding-left: 7px;
    margin-left: 6px;
    font-size: 8px;
  }
  .project-heading h1 {
    font-size: 28px;
    margin-top: 8px;
  }
  .subtitle {
    font-size: 10px;
    line-height: 1.9;
  }
  .status {
    font-size: 9px;
    padding: 6px 8px;
    margin-top: 3px;
    gap: 5px;
  }
  .job-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
    padding: 17px 0;
    margin-top: 18px;
  }
  .job-strip > div {
    padding-right: 8px;
    gap: 8px;
  }
  .job-strip > div:nth-child(2) {
    border: 0;
  }
  .job-strip > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }
  .job-strip small {
    font-size: 9px;
    margin-bottom: 3px;
  }
  .job-strip strong {
    font-size: 10px;
  }
  .job-strip svg {
    width: 16px;
    height: 16px;
  }
  .tabs {
    gap: 20px;
    margin-bottom: 20px;
  }
  .tab {
    font-size: 11px;
    padding: 16px 0 13px;
    gap: 5px;
  }
  .tab svg {
    width: 14px;
    height: 14px;
  }
  .tab-count {
    font-size: 8px;
  }
  .hero-image {
    aspect-ratio: 1.5;
  }
  .photo-chip {
    top: 12px;
    left: 12px;
    font-size: 8px;
    padding: 5px 7px;
  }
  .photo-open {
    font-size: 8px;
    bottom: 12px;
    right: 12px;
  }
  .feature-caption {
    padding: 19px;
  }
  .feature-caption h2 {
    font-size: 18px;
  }
  .feature-caption p {
    font-size: 11px;
  }
  .brief-summary {
    padding: 19px;
    gap: 0 16px;
  }
  .brief-summary .section-heading h2 {
    font-size: 15px;
  }
  .scope-list li {
    font-size: 10px;
    gap: 6px;
    margin: 11px 0;
  }
  .scope-list svg {
    width: 12px;
    height: 12px;
    margin-top: 4px;
  }
  .completion-box > div {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .completion-box {
    padding-bottom: 11px;
  }
  .contact > small {
    font-size: 9px;
  }
  .contact > strong {
    font-size: 10px;
  }
  .contact > a[href^="tel"] {
    font-size: 11px;
  }
  .contact p {
    font-size: 9px;
  }
  .contact .text-link {
    font-size: 9px;
  }
  .alerts {
    margin-top: 17px;
    gap: 12px;
  }
  .alert {
    padding: 16px;
  }
  .alert h3 {
    font-size: 11px;
  }
  .alert p {
    font-size: 10px;
  }
  .spaced {
    margin-top: 25px;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-heading .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .section-heading > .mini-label {
    margin-top: 10px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .steps article {
    padding: 17px;
  }
  .steps h3 {
    font-size: 11px;
    line-height: 1.8;
  }
  .steps p {
    font-size: 10px;
    line-height: 1.9;
  }
  .step-number {
    width: 25px;
    height: 25px;
    margin-bottom: 13px;
  }
  .main-footer {
    font-size: 8px;
    margin-top: 28px;
  }
  .main-footer .text-link {
    font-size: 8px;
  }
  th {
    padding: 10px;
    font-size: 9px;
  }
  td {
    padding: 13px 10px;
  }
  td > strong {
    font-size: 11px;
  }
  .check-col {
    width: 38px;
  }
  .qty-col {
    width: 65px;
  }
  .source-col {
    display: none;
  }
  .qty strong {
    font-size: 17px;
  }
  .qty small {
    display: block;
    margin: 4px 0 0;
    font-size: 9px;
  }
  .sku {
    font-size: 9px;
  }
  .source-note {
    font-size: 9px;
    line-height: 1.9;
  }
  .body-copy {
    font-size: 11px;
  }
  .tag {
    font-size: 8px;
    white-space: normal;
  }
  .signal-board {
    padding: 17px;
  }
  .signal-title {
    font-size: 17px;
    align-items: flex-start;
  }
  .drawing-code {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .signal-row {
    margin: 22px 0;
    gap: 10px;
  }
  .signal-label {
    font-size: 10px;
  }
  .signal-path {
    gap: 5px;
    flex-wrap: wrap;
  }
  .signal-node {
    font-size: 10px;
    padding: 14px 7px;
    min-width: 70px;
  }
  .wire {
    font-size: 18px;
    flex-basis: 12px;
  }
  .signal-note {
    font-size: 10px;
  }
  .photo-grid {
    gap: 12px;
  }
  .photo-grid figcaption {
    font-size: 9px;
    padding: 9px 10px;
  }
  .storage-note {
    font-size: 9px;
  }
  .check-line {
    font-size: 11px;
    padding: 14px;
  }
  .check-group h3 {
    font-size: 11px;
    padding: 11px 14px;
  }
  .card {
    padding: 19px;
  }
  .card h3 {
    font-size: 14px;
  }
  .progress-pill {
    font-size: 10px;
    padding: 6px 9px;
    white-space: nowrap;
  }
  .toast {
    left: 50%;
    font-size: 11px;
    width: max-content;
    max-width: 90vw;
    bottom: 16px;
  }
  .empty-hero {
    min-height: 340px;
  }
  .empty-hero h2 {
    font-size: 24px;
  }
  .empty-hero p {
    font-size: 11px;
  }
  dialog {
    padding: 12px;
  }
  .viewer-top p {
    font-size: 10px;
  }
  .viewer-bottom .btn,
  .viewer-top .btn {
    font-size: 9px;
    padding: 7px 10px;
  }
  #full-photo {
    max-height: calc(95dvh - 150px);
  }
}
@media (max-width: 370px) {
  .project {
    padding: 11px 7px;
  }
  .project strong {
    font-size: 10px;
  }
  .project-heading h1 {
    font-size: 24px;
  }
  .brief-summary {
    display: block;
  }
  .scope-list {
    margin: 15px 0;
  }
  .completion-box {
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .contact p {
    font-size: 10px;
  }
  .status {
    font-size: 8px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps article {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .steps article:last-child {
    border: 0;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .feature-caption p,
  .scope-list li,
  .steps p,
  .alert p,
  .contact p,
  .body-copy {
    font-size: 12px;
  }
  .steps h3,
  .alert h3 {
    font-size: 13px;
  }
  .contact > strong,
  .contact > a[href^="tel"] {
    font-size: 12px;
  }
  .check-line {
    font-size: 13px;
    padding: 16px;
  }
  .check-group h3 {
    font-size: 12px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .photo-grid figcaption {
    font-size: 11px;
  }
  .source-note,
  .storage-note {
    font-size: 11px;
  }
  .source-note span {
    overflow-wrap: anywhere;
  }
  .signal-node {
    font-size: 11px;
  }
  .signal-note {
    font-size: 12px;
  }
  .signal-label {
    font-size: 12px;
  }
  td > strong {
    font-size: 12px;
  }
  .field-label {
    font-size: 12px;
  }
  input:not([type="checkbox"]),
  textarea {
    font-size: 16px;
  }
  .empty-hero p {
    font-size: 12px;
  }
  .feature-caption h2 {
    font-size: 20px;
  }
  .project-heading {
    flex-wrap: wrap;
  }
  .status {
    margin: 0 0 4px;
  }
  .tab {
    font-size: 12px;
    min-height: 48px;
  }
  .project {
    min-height: 60px;
  }
  .btn {
    min-height: 42px;
  }
  .round-btn {
    min-width: 42px;
    height: 42px;
  }
  .viewer-bottom .btn {
    min-height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@page {
  size: A4;
  margin: 14mm;
}

.layout-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.layout-toolbar .btn[aria-pressed="true"] {
  background: #e7f2f8;
  border-color: #a8c6d8;
  color: #236c91;
}
.layout-toolbar > span {
  font-size: 11px;
  color: var(--muted);
  margin-left: 7px;
  line-height: 1.8;
}
.layout-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  align-items: start;
}
.layout-drawing {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.room-scroll {
  overflow: auto;
  background: #f9fbfc;
  overscroll-behavior: contain;
}
.room-scroll > svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 720px;
}
.room-scroll.zoomed > svg {
  min-width: 1100px;
}
.pan-hint {
  font-size: 10px;
  color: #7892a5;
  padding: 9px 17px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.layout-grounding {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.layout-grounding p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.point-detail {
  position: sticky;
  top: 20px;
  padding: 21px;
}
.point-detail h3 {
  font-size: 19px;
  margin-top: 6px;
}
.point-detail h4 {
  font-size: 10px;
  color: #7790a1;
  font-weight: 500;
  margin: 21px 0 7px;
}
.point-detail > strong {
  font-size: 12px;
  line-height: 1.8;
  font-weight: 500;
}
.point-detail p {
  font-size: 11px;
  line-height: 1.9;
}
.point-detail .tag {
  white-space: normal;
  font-size: 9px;
}
.connection-detail {
  font-family: "IBM Plex Sans", "IBM Plex Sans Thai", sans-serif;
  background: #eef4f7;
  padding: 11px;
  border-radius: 5px;
}
.layout-bottom {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.layout-bottom ol {
  padding-left: 18px;
  margin: 0;
}
.layout-bottom li {
  margin: 10px 0;
}
.measurement-list {
  list-style: none;
  padding: 0 !important;
}
.measurement-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed #d5e0e7;
  padding-bottom: 8px;
}
.measurement-list li > span {
  white-space: nowrap;
  font-family: "IBM Plex Sans", sans-serif;
  color: #7290a5;
}
@media (max-width: 1350px) {
  .layout-workspace {
    grid-template-columns: 1fr;
  }
  .point-detail {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
  }
  .point-detail > .eyebrow,
  .point-detail > h3,
  .point-detail > .tag {
    grid-column: 1/-1;
  }
  .point-detail .text-link {
    grid-column: 1/-1;
  }
  .point-detail h4 {
    grid-column: 1;
    margin-top: 15px;
  }
  .point-detail > strong {
    grid-column: 1;
  }
  .point-detail p {
    grid-column: 1/-1;
  }
  .point-detail h4 + p {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .layout-toolbar > span {
    margin: 4px 0 0;
    width: 100%;
    font-size: 11px;
  }
  .layout-toolbar .btn {
    font-size: 11px;
    padding: 8px 10px;
  }
  .layout-workspace {
    gap: 16px;
  }
  .layout-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .layout-grounding {
    display: block;
  }
  .layout-grounding p {
    font-size: 12px;
    margin-top: 10px;
  }
  .point-detail {
    display: block;
  }
  .point-detail h4 {
    font-size: 12px;
  }
  .point-detail p {
    font-size: 13px;
  }
  .point-detail > strong {
    font-size: 13px;
  }
  .pan-hint {
    font-size: 11px;
  }
  .measurement-list li {
    font-size: 12px;
  }
  .layout-bottom li {
    font-size: 12px;
  }
}
@media print {
  .layout-toolbar,
  .pan-hint,
  .point-detail {
    display: none !important;
  }
  .layout-workspace {
    display: block;
  }
  .room-scroll,
  .room-scroll.zoomed {
    overflow: visible;
  }
  .room-scroll > svg,
  .room-scroll.zoomed > svg {
    width: 100%;
    min-width: 0;
    height: auto;
  }
  .layout-grounding {
    padding: 8px 12px;
  }
  .layout-grounding p {
    font-size: 8pt;
  }
  .layout-bottom {
    grid-template-columns: 1fr 1fr;
    break-inside: avoid;
  }
  .layout-bottom li,
  .layout-bottom p {
    font-size: 8pt;
  }
  .layout-drawing {
    break-inside: avoid;
  }
  .layout-workspace .layout-drawing {
    border-color: #b5c7d4;
  }
}
@media print {
  body {
    background: #fff;
    color: #172e40;
    font-size: 10pt;
  }
  .sidebar,
  .topbar,
  .tabs,
  .header-actions,
  .main-footer,
  .toast,
  dialog,
  .round-btn,
  .photo-open,
  .photo-chip,
  .backup-box,
  .btn,
  .image-expand,
  .storage-note,
  .text-link {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .project-heading {
    break-after: avoid;
  }
  .project-heading h1 {
    font-size: 26pt;
  }
  .eyebrow {
    font-size: 8pt;
  }
  .status {
    font-size: 8pt;
  }
  .job-strip {
    margin-top: 16px;
    padding: 14px 0;
  }
  .job-strip small {
    font-size: 8pt;
  }
  .job-strip strong {
    font-size: 9pt;
  }
  .panel {
    display: block !important;
    margin-bottom: 25px;
  }
  .panel:not([data-panel="overview"]) {
    break-before: page;
  }
  .overview-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 15px;
  }
  .hero-image {
    aspect-ratio: 1.4;
  }
  .feature-caption {
    padding: 14px;
  }
  .feature-caption p {
    font-size: 8pt;
  }
  .brief-summary {
    display: block;
    padding: 14px;
  }
  .brief-summary .section-heading h2 {
    font-size: 12pt;
  }
  .scope-list li {
    font-size: 8pt;
    margin: 9px 0;
  }
  .completion-box {
    padding: 10px 0;
  }
  .contact > strong {
    font-size: 9pt;
  }
  .contact p {
    font-size: 8pt;
  }
  .alerts {
    display: block;
  }
  .alert {
    margin-top: 10px;
    break-inside: avoid;
    padding: 12px;
  }
  .alert p {
    font-size: 8pt;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps article {
    padding: 13px;
  }
  .steps h3 {
    font-size: 9pt;
  }
  .steps p {
    font-size: 8pt;
  }
  .steps article:nth-child(2) {
    border-right: 0;
  }
  .section-heading h2 {
    font-size: 17pt;
  }
  .section-heading p {
    font-size: 9pt;
  }
  tr,
  .card,
  .check-group,
  .photo-grid figure,
  .signal-row {
    break-inside: avoid;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .photo-grid img {
    aspect-ratio: 4/3;
    object-fit: contain;
  }
  .photo-grid figcaption {
    font-size: 8pt;
  }
  .signal-row {
    grid-template-columns: 100px 1fr;
    gap: 15px;
  }
  .signal-node {
    font-size: 9pt;
    padding: 15px 7px;
  }
  .signal-label {
    font-size: 8pt;
  }
  .checks-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
  }
  .check-line {
    font-size: 8pt;
    padding: 10px 12px;
  }
  .check-group h3 {
    font-size: 9pt;
  }
  .field-notes .card {
    padding: 13px;
  }
  textarea {
    height: auto;
    min-height: 70px;
    font-size: 8pt;
  }
  .source-col {
    display: none;
  }
  td > strong {
    font-size: 9pt;
  }
  th {
    font-size: 8pt;
  }
  td {
    padding: 10px 12px;
  }
  .source-note {
    font-size: 8pt;
  }
  .empty-hero {
    min-height: 260px;
  }
  .save-status {
    font-size: 8pt !important;
  }
  a {
    color: #172e40;
    text-decoration: none;
  }
}
.room-scroll #r01-plan {
  background: #fafcfd;
  color: #193a50;
  font-family: inherit;
}
#r01-plan text {
  fill: currentColor;
}
#r01-plan .point {
  cursor: pointer;
}
#r01-plan .halo {
  fill: #fff;
  stroke: #8aa5b6;
  stroke-width: 2;
}
#r01-plan .point:is(:focus, .selected) .halo {
  stroke: #006491;
  stroke-width: 4;
  fill: #edf7fc;
}
#r01-plan .pin-label {
  text-anchor: middle;
  dominant-baseline: central;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}
#r01-plan.hide-wires .room-wires {
  display: none;
}

/* Keep the original floor tracks in the same frame as the route marking. */
.stp-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 18px;
  align-items: start;
}
.stp-plan-card {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.stp-plan-card svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--ink);
}
.stp-plan-card figcaption {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  line-height: 1.65;
  font-size: 13px;
}
.stp-plan-card figcaption strong { display: block; }
.stp-reference { display: grid; gap: 16px; }
.stp-route-card { margin:0; border:1px solid var(--line); background:white; border-radius:8px; overflow:hidden }
.stp-route-photo { display:block; width:100%; padding:0; border:0; background:#263834; cursor:zoom-in }
.stp-route-photo svg { display:block; width:100%; height:auto }
.stp-route-photo:focus-visible { outline:3px solid #138060; outline-offset:-3px }
.stp-route-card figcaption { display:flex; flex-wrap:wrap; gap:4px 16px; padding:12px 16px; font-size:13px }
.stp-route-card figcaption span:first-child { color:#005940; font-weight:600 }
.stp-route-instructions { padding:18px }
.stp-route-instructions ol { padding-inline-start:1.25em; line-height:1.7; font-size:14px }
.stp-route-instructions li + li { margin-top:.55em }
.stp-route-instructions button { display:block; margin-top:8px }
@media (max-width:850px) { .stp-layout { grid-template-columns:minmax(0,1fr) } }
@media print {
  .stp-layout { display:block }
  .stp-plan-card { break-inside:avoid; max-width:115mm; margin:0 auto 5mm }
  .stp-route-instructions button { display:none }
}

#r01-plan .mark-code {
  text-anchor: middle;
  font-size: 13px;
  font-weight: 600;
  paint-order: stroke;
  stroke: #fbfcfc;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.device-portrait {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 6px;
  background: #f4f7f8;
}
.device-portrait img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
}
.device-portrait figcaption { margin-top: 5px; text-align: center; }
.device-portrait figcaption .text-link { display: inline-flex; font-size: 11px; }
