:root {
  color-scheme: light;
  --bg: #eef4ef;
  --surface: #ffffff;
  --surface-soft: #f7fbf8;
  --surface-strong: #0f3d2e;
  --line: #d9e7de;
  --line-strong: #a7b9ae;
  --text: #17231d;
  --muted: #63736b;
  --graphite: #27352f;
  --accent: #159763;
  --accent-strong: #0f3d2e;
  --accent-soft: #e8f8ef;
  --accent-border: #a9dfc0;
  --soft-panel: #f7fbf8;
  --warning: #b7791f;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --shadow: 0 18px 45px rgba(15, 61, 46, 0.09);
  --shadow-soft: 0 8px 24px rgba(23, 35, 29, 0.06);
  --ui-font-weight: 700;
  --radius: 8px;
  --sidebar: 300px;
}

* {
  box-sizing: border-box;
  font-weight: var(--ui-font-weight);
}

*::before,
*::after {
  box-sizing: border-box;
  font-weight: var(--ui-font-weight);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7fbf8 0%, var(--bg) 340px),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: var(--ui-font-weight);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: var(--ui-font-weight);
}

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

button {
  cursor: pointer;
}

.file-input {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  inset: auto auto 0 0;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 61, 46, 0.03);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: auto;
  min-width: 190px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent-strong);
  text-align: left;
}

.brand:hover {
  background: var(--surface-soft);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.1;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.nav-link {
  width: auto;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--graphite);
  text-align: center;
  white-space: nowrap;
  font-weight: var(--ui-font-weight);
}

.nav-link:hover {
  background: var(--surface-soft);
}

.nav-link.active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-strong);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.profile-button {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
}

.profile-button:hover,
.profile-button.active {
  border-color: var(--line-strong);
  background: #ffffff;
}

.profile-button.active {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.sync-badge {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: var(--ui-font-weight);
  white-space: nowrap;
}

.sync-badge.is-online {
  color: var(--accent-strong);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.sync-badge.is-offline {
  color: var(--danger);
  border-color: #e3c7cb;
  background: var(--danger-soft);
}

.top-actions,
.inline-actions,
.modal-actions,
.field-row,
.defect-actions,
.photo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar .top-actions {
  margin-left: auto;
  justify-content: flex-end;
  gap: 12px;
}

.action-cluster {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.user-chip {
  min-height: 44px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  max-width: 240px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.profile-avatar {
  display: block;
  position: relative;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  background: #a8abad;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.profile-avatar.has-photo::before,
.profile-avatar.has-photo::after,
.profile-avatar.has-initials::before,
.profile-avatar.has-initials::after {
  display: none;
}

.profile-avatar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(-50%);
}

.profile-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 27px;
  height: 17px;
  border-radius: 16px 16px 4px 4px;
  background: #ffffff;
  transform: translateX(-50%);
}

.user-chip-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.user-chip-text strong,
.user-chip-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip-text strong {
  font-size: 13px;
  line-height: 1.15;
}

.user-chip-text small {
  color: var(--muted);
  font-size: 11px;
}

.auth-mode .layout,
.auth-mode .sync-badge,
.auth-mode .user-chip,
.auth-mode .nav-list,
.auth-mode .profile-button {
  display: none;
}

.auth-content {
  display: grid;
  min-height: calc(100vh - 68px);
  place-items: center;
}

.auth-layout {
  width: min(100%, 532px);
}

.auth-card {
  display: grid;
  gap: 14px;
  min-height: 360px;
  align-content: center;
  padding: 24px;
}

.auth-card h2 {
  margin: 0 0 4px;
  color: var(--accent-strong);
  font-size: 24px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--accent-strong);
  font-weight: 750;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-note {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.sidebar {
  background: var(--surface-soft);
  border-right: 1px solid var(--line);
  padding: 16px;
  overflow: auto;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.side-title {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

.project-list,
.plan-tabs,
.defect-list,
.photo-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-list {
  display: grid;
  gap: 8px;
}

.project-card {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-align: left;
}

.project-card:hover,
.project-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.project-name {
  font-weight: var(--ui-font-weight);
  overflow-wrap: anywhere;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.content {
  min-width: 0;
  padding: 18px;
  overflow: auto;
}

.workspace {
  min-width: 0;
  padding: 22px 28px 42px;
  overflow: auto;
}

.page-stack {
  display: grid;
  gap: 16px;
}

.page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
}

.page-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

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

.page-title > span,
.page-status {
  color: var(--muted);
  font-size: 13px;
}

.page-status {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-status.is-online {
  color: var(--accent-strong);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.page-status.is-offline {
  color: var(--danger);
  border-color: #e3c7cb;
  background: var(--danger-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.statement-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.statement-list > li + li {
  border-top: 1px solid var(--line);
}

.statement-row {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 0;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.statement-row:hover,
.statement-row.is-active {
  background: var(--accent-soft);
}

.statement-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.statement-main strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.statement-main small {
  color: var(--muted);
  font-size: 12px;
}

.statement-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.statement-metrics span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.statement-metrics strong {
  color: var(--accent-strong);
}

.statement-empty {
  padding: 14px;
}

.statement-panel-head {
  min-height: 64px;
}

.statement-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.statement-search {
  min-height: 42px;
}

.statement-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.statement-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: var(--text);
}

.statement-table th {
  padding: 12px 10px;
  background: #edf4ef;
  border-bottom: 1px solid var(--line-strong);
  color: var(--accent-strong);
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
}

.statement-table td {
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.35;
}

.statement-table tr.is-active td,
.statement-table tbody tr:hover td {
  background: var(--accent-soft);
}

.statement-number {
  width: 70px;
  white-space: nowrap;
  font-size: 15px;
  color: var(--accent-strong);
}

.statement-name-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
  max-width: 560px;
}

.statement-name-cell strong {
  color: var(--text);
  font-size: 14px;
}

.statement-name-cell small,
.muted-cell {
  color: var(--muted);
  font-size: 12px;
}

.statement-access-list {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.statement-access-list span {
  overflow-wrap: anywhere;
}

.statement-mobile-metrics {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
}

.statement-mobile-metrics span,
.status-pill,
.fill-cell > span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-size: 12px;
}

.status-pill.is-work {
  color: #9a5b00;
  border-color: #f6e4bd;
  background: #fff4d8;
}

.status-pill.is-done {
  color: var(--accent-strong);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.fill-cell {
  display: grid;
  gap: 5px;
  min-width: 110px;
}

.fill-cell small {
  color: var(--muted);
  font-size: 11px;
}

.statement-actions-cell {
  width: 105px;
}

.table-action-button {
  min-height: 32px;
  padding: 0 10px;
}

.access-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.access-check {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.access-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.access-check span {
  display: grid;
  gap: 1px;
}

.access-check strong {
  color: var(--text);
}

.access-check small {
  color: var(--muted);
  font-size: 12px;
}

.create-statement-page {
  max-width: 720px;
}

.pad {
  padding: 18px;
}

.statement-create-form {
  display: grid;
  gap: 14px;
}

.inline-form-actions {
  padding: 0;
  border-top: 0;
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

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

.project-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  background: var(--surface-soft);
}

.project-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.project-heading {
  min-width: 0;
  padding: 4px 0;
}

.panel-title {
  margin: 0;
  font-size: 16px;
}

.project-manage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.project-manage-button {
  min-height: 34px;
  min-width: 0;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.project-command-grid {
  display: grid;
  grid-template-columns: minmax(126px, 0.85fr) minmax(126px, 0.85fr) minmax(164px, 1.15fr) minmax(136px, 1fr);
  gap: 8px;
}

.project-command {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font-weight: var(--ui-font-weight);
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(29, 41, 38, 0.06);
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

.project-command::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
}

.project-command:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(29, 41, 38, 0.1);
}

.project-command .icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  box-sizing: border-box;
}

.project-command span {
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.project-command-check {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent-strong);
  box-shadow: 0 10px 20px rgba(29, 41, 38, 0.08);
}

.project-command-check .icon {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.project-command-check:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-strong);
}

.project-command-trash {
  background: var(--danger-soft);
  border-color: #e3c7cb;
  color: var(--danger);
}

.project-command-trash::before {
  background: var(--danger);
}

.project-command-trash .icon {
  background: #f8e3e6;
  color: var(--danger);
}

.project-command-trash:hover {
  background: #fff1f3;
  border-color: var(--danger);
  color: var(--danger);
}

.project-command-word {
  background: #f2fbf5;
  border-color: #99d7af;
  color: #17764b;
}

.project-command-word::before {
  background: #17764b;
}

.project-command-word .icon {
  background: #dff5e8;
  color: #17764b;
}

.project-command-word:hover {
  background: #e8f8ef;
  border-color: #159763;
  color: #17764b;
}

.project-command-pdf {
  background: #fff7f8;
  border-color: #e2b6bc;
  color: #9f3a42;
}

.project-command-pdf::before {
  background: #9f3a42;
}

.project-command-pdf .icon {
  background: #fbf0f1;
  color: #9f3a42;
}

.project-command-pdf:hover {
  background: #fff1f3;
  border-color: var(--danger);
  color: var(--danger);
}

.plan-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px 0;
}

.plan-menu-bar {
  display: none;
  padding: 12px 14px 0;
}

.plan-tabs-drawer {
  display: block;
}

.mobile-plan-toggle {
  width: 100%;
  justify-content: space-between;
}

.tab {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-panel);
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.plan-wrap {
  padding: 14px;
}

.plan-stage {
  position: relative;
  width: 100%;
  min-height: 420px;
  max-height: calc(100vh - 228px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: none;
  background:
    linear-gradient(45deg, #e7eeeb 25%, transparent 25%),
    linear-gradient(-45deg, #e7eeeb 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e7eeeb 75%),
    linear-gradient(-45deg, transparent 75%, #e7eeeb 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: grab;
  user-select: none;
}

.plan-stage::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.plan-stage.is-panning {
  cursor: grabbing;
}

.plan-board {
  position: relative;
  display: inline-block;
  min-width: 100%;
  user-select: none;
}

.plan-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.plan-quick-actions {
  position: sticky;
  left: 10px;
  bottom: 10px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 20px);
  margin: -58px 10px 10px;
  padding: 8px;
  border: 1px solid rgba(194, 204, 199, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(29, 41, 38, 0.18);
  backdrop-filter: blur(8px);
}

.quick-defect-title {
  min-width: 0;
  max-width: 220px;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: var(--ui-font-weight);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-button,
.upload-empty-button {
  min-height: 44px;
}

.defect-pin {
  position: absolute;
  width: var(--pin-size, 28px);
  height: var(--pin-size, 28px);
  padding: 0;
  transform: translate(-50%, -50%);
  border: var(--pin-border, 3px) solid #ffffff;
  border-radius: 50%;
  background: var(--danger);
  color: #ffffff;
  font-size: var(--pin-font, 12px);
  font-weight: var(--ui-font-weight);
  line-height: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  z-index: 1;
  scroll-margin: 45vh 45vw;
  touch-action: none;
  cursor: grab;
  box-shadow: 0 var(--pin-shadow-y, 8px) var(--pin-shadow-blur, 20px) rgba(29, 41, 38, 0.3);
}

.defect-pin.is-dragging {
  cursor: grabbing;
  opacity: 0.9;
  z-index: 6;
}

.defect-pin.is-active {
  background: var(--accent);
  border-color: #ffffff;
  outline: max(var(--pin-outline, 4px), 3px) solid rgba(23, 117, 105, 0.32);
  z-index: 4;
  box-shadow:
    0 12px 28px rgba(29, 41, 38, 0.34);
}

.defect-pin.is-locating::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(48px, calc(var(--pin-size, 28px) + 30px));
  height: max(48px, calc(var(--pin-size, 28px) + 30px));
  transform: translate(-50%, -50%);
  border: 3px solid rgba(23, 117, 105, 0.85);
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.82),
    0 0 20px rgba(23, 117, 105, 0.42);
  pointer-events: none;
}

.defect-pin.is-locating {
  animation: locate-defect-pin 650ms ease-out 1;
  z-index: 5;
}

@keyframes locate-defect-pin {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 var(--pin-shadow-y, 8px) var(--pin-shadow-blur, 20px) rgba(29, 41, 38, 0.3),
      0 0 0 0 rgba(23, 117, 105, 0.58);
  }

  45% {
    transform: translate(-50%, -50%) scale(1.35);
    box-shadow:
      0 var(--pin-shadow-y, 8px) var(--pin-shadow-blur, 20px) rgba(29, 41, 38, 0.26),
      0 0 0 24px rgba(23, 117, 105, 0.2),
      0 0 0 42px rgba(23, 117, 105, 0.12);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 var(--pin-shadow-y, 8px) var(--pin-shadow-blur, 20px) rgba(29, 41, 38, 0.3),
      0 0 0 64px rgba(23, 117, 105, 0);
  }
}

@keyframes locate-defect-ring {
  0% {
    width: max(48px, calc(var(--pin-size, 28px) + 30px));
    height: max(48px, calc(var(--pin-size, 28px) + 30px));
    opacity: 1;
  }

  100% {
    width: max(104px, calc(var(--pin-size, 28px) + 86px));
    height: max(104px, calc(var(--pin-size, 28px) + 86px));
    opacity: 0;
  }
}

.side-panel {
  position: sticky;
  top: 82px;
}

.inspector-body {
  padding: 14px;
}

.empty-state {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}

.empty-state strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.completion-warning,
.completion-ok {
  padding: 10px 11px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: var(--ui-font-weight);
}

.completion-warning {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.completion-ok {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--ui-font-weight);
  text-transform: uppercase;
  letter-spacing: 0;
}

.text-input,
.text-area,
.select-input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  padding: 10px 11px;
  outline: none;
}

.text-area {
  min-height: 112px;
  resize: vertical;
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.defect-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.defect-list > li {
  content-visibility: auto;
  contain-intrinsic-size: 58px;
}

.defect-item {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--soft-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  color: inherit;
}

.defect-item.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.defect-item-title {
  font-weight: var(--ui-font-weight);
  overflow-wrap: anywhere;
}

.defect-item-meta {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.photo-preview {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 41, 38, 0.72);
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
}

.primary-button,
.secondary-button,
.danger-button,
.icon-button {
  min-height: 38px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-weight: var(--ui-font-weight);
  cursor: pointer;
}

.primary-button {
  background: var(--accent);
  color: #ffffff;
}

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

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

.secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.top-action-button {
  min-width: 112px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
}

.action-cluster .primary-button {
  box-shadow: 0 10px 18px rgba(23, 117, 105, 0.18);
}

.action-cluster .secondary-button {
  background: var(--surface);
  border-color: transparent;
}

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

.danger-button {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #e3c7cb;
}

.icon-button {
  width: 38px;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  font-size: 20px;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.stat {
  padding: 10px;
  background: var(--soft-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 20px;
}

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

.plan-name-field {
  margin: 0 0 12px;
}

.range-control {
  display: grid;
  gap: 8px;
  padding: 10px;
  margin: 0 0 14px;
  background: var(--soft-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--ui-font-weight);
  text-transform: uppercase;
}

.range-head output {
  color: var(--text);
  text-transform: none;
}

.range-input {
  width: 100%;
  accent-color: var(--accent);
}

.zoom-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px 58px;
  gap: 8px;
  align-items: center;
}

.mini-button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: var(--ui-font-weight);
  cursor: pointer;
}

.mini-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.reset-zoom-button {
  font-size: 12px;
}

.profile-page {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 20px;
}

.minimal-profile-page {
  width: min(860px, calc(100vw - 56px));
  max-width: 860px;
  margin: 0;
}

.profile-page-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
  gap: 5px;
}

.profile-page-title h2 {
  font-size: 28px;
}

.minimal-profile-card {
  width: 100%;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.panel-title-row h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.profile-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.profile-logout-button {
  min-height: 36px;
}

.profile-settings-button {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.profile-form,
.profile-password-row {
  display: grid;
  gap: 12px;
  align-items: end;
}

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

.profile-readonly-form {
  align-items: stretch;
}

.profile-readonly-field {
  display: grid;
  gap: 7px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.profile-readonly-field span,
.profile-form label span,
.profile-password-row label span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-readonly-field strong {
  align-self: end;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.minimal-profile-role {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.minimal-profile-role strong {
  color: var(--accent-strong);
}

.profile-settings-panel {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-settings-group {
  display: grid;
  gap: 12px;
}

.profile-settings-title h3 {
  margin: 2px 0 0;
  color: var(--accent-strong);
  font-size: 18px;
}

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

.profile-password-row .secondary-button {
  width: 100%;
  min-height: 38px;
}

.profile-password-row label {
  display: grid;
  gap: 6px;
  color: var(--accent-strong);
}

.profile-user-create,
.employee-fields {
  display: grid;
  gap: 10px;
  align-items: end;
}

.profile-user-create {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 138px 84px;
}

.employee-fields {
  grid-template-columns: repeat(2, minmax(0, 228px));
  gap: 12px;
}

.profile-user-create label,
.employee-fields label {
  display: grid;
  gap: 6px;
}

.profile-user-create label span,
.employee-fields label span {
  color: var(--accent-strong);
  font-size: 12px;
  text-transform: uppercase;
}

.profile-user-create button {
  min-height: 40px;
}

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

.employee-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.employee-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.employee-card-head > div:first-child {
  display: grid;
  gap: 3px;
}

.employee-card-head strong {
  color: var(--accent-strong);
  font-size: 15px;
}

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

.employee-card-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.employee-delete {
  width: 28px;
  height: 28px;
  color: var(--danger);
  border-color: #efc8c5;
  background: #fff8f7;
}

.employee-role-field {
  max-width: 228px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(29, 41, 38, 0.58);
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(680px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.camera-panel video {
  width: 100%;
  max-height: min(70vh, 560px);
  display: block;
  background: #111815;
}

.camera-status {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--ui-font-weight);
}

.project-dialog {
  width: min(460px, 100%);
}

.confirm-dialog {
  width: min(500px, 100%);
}

.report-dialog {
  width: min(460px, 100%);
}

.validation-dialog {
  width: min(760px, 100%);
}

.trash-dialog {
  width: min(760px, 100%);
}

.trash-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-height: min(56vh, 540px);
  overflow: auto;
}

.trash-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--soft-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trash-item-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.trash-item-info strong,
.trash-item-info span,
.trash-item-info small {
  overflow-wrap: anywhere;
}

.trash-item-info span,
.trash-item-info small {
  color: var(--muted);
}

.trash-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trash-empty {
  min-height: 220px;
}

.validation-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
  margin-bottom: 12px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
}

.validation-summary.is-complete {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.validation-summary span {
  color: inherit;
  font-size: 13px;
  font-weight: var(--ui-font-weight);
}

.validation-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-height: min(54vh, 520px);
  overflow: auto;
}

.validation-item {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 11px;
  text-align: left;
  color: inherit;
  background: var(--soft-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.validation-item:hover {
  border-color: var(--warning);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.validation-item-title {
  font-weight: var(--ui-font-weight);
  overflow-wrap: anywhere;
}

.validation-item-missing {
  color: var(--warning);
  font-size: 13px;
  font-weight: var(--ui-font-weight);
}

.photo-viewer {
  padding: 0;
  background: rgba(8, 12, 10, 0.88);
}

.photo-viewer-panel {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #ffffff;
}

.photo-viewer-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(8, 12, 10, 0.72);
}

.photo-viewer-head strong,
.photo-viewer-head span {
  display: block;
}

.photo-viewer-head strong {
  overflow-wrap: anywhere;
}

.photo-viewer-head span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.photo-viewer-close {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.photo-viewer-body {
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px 70px;
}

.photo-viewer-image {
  max-width: 100%;
  max-height: calc(100vh - 98px);
  object-fit: contain;
  user-select: none;
  touch-action: pan-y;
}

.photo-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 72px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(8, 12, 10, 0.52);
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
}

.photo-nav-prev {
  left: 12px;
}

.photo-nav-next {
  right: 12px;
}

.dialog-body {
  padding: 14px;
}

.confirm-text {
  margin: 0;
  color: var(--muted);
}

.modal-actions {
  justify-content: flex-end;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: min(92vw, 520px);
  padding: 12px 14px;
  background: var(--surface-strong);
  color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 80;
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --sidebar: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    min-height: 0;
    align-items: stretch;
    gap: 12px;
    padding: 10px;
  }

  .brand {
    width: auto;
    min-width: 0;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    max-width: calc(100vw - 64px);
  }

  .nav-list {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-link {
    flex: 0 0 auto;
  }

  .profile-button {
    align-self: center;
  }

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 8px;
  }

  .top-actions .sync-badge {
    width: 100%;
    min-height: 32px;
    white-space: normal;
    text-align: center;
  }

  .user-chip {
    max-width: none;
    width: 100%;
  }

  .logout-button {
    width: 100%;
  }

  .action-cluster {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    width: 100%;
    gap: 4px;
    padding: 4px;
  }

  .action-cluster .top-action-button {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    gap: 6px;
    padding: 0 8px;
    font-size: 13px;
  }

  .layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sidebar {
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: none;
    overflow: hidden;
  }

  .side-head {
    margin-bottom: 8px;
  }

  .project-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .project-list > li {
    flex: 0 0 min(74vw, 240px);
  }

  .project-card {
    min-height: 74px;
  }

  .content {
    padding: 8px;
  }

  .workspace {
    padding: 10px;
  }

  .page-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .statement-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .statement-metrics {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .statement-toolbar {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }

  .statement-table {
    min-width: 980px;
  }

  .statement-mobile-metrics {
    display: flex;
  }

  .panel-title-row,
  .profile-title-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .profile-password-row,
  .profile-user-create,
  .employee-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .employee-card-head,
  .employee-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-grid {
    gap: 10px;
  }

  .panel-head {
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
  }

  .project-head {
    gap: 10px;
  }

  .project-title-row {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .project-heading {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .project-manage-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .project-manage-button {
    width: 100%;
    min-height: 38px;
    justify-content: center;
  }

  .project-command-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .project-command {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    font-size: 13px;
    text-align: center;
  }

  .project-command .icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    padding: 5px;
  }

  .inline-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .inline-actions .secondary-button,
  .inline-actions .danger-button {
    min-width: 0;
    width: 100%;
  }

  .plan-menu-bar {
    display: flex;
    padding: 10px 10px 0;
  }

  .plan-tabs-drawer {
    display: none;
  }

  .plan-tabs-drawer.is-open {
    display: block;
  }

  .plan-tabs {
    flex-direction: column;
    padding: 8px 10px 0;
    overflow: visible;
  }

  .tab {
    width: 100%;
    justify-content: flex-start;
  }

  .plan-wrap {
    padding: 10px;
  }

  .plan-stage {
    min-height: 58vh;
    max-height: 62vh;
  }

  .field-row,
  .defect-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-actions,
  .defect-editor-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .defect-editor-actions .danger-button {
    grid-column: 1 / -1;
  }

  .primary-button,
  .secondary-button,
  .danger-button {
    width: 100%;
  }

  .plan-quick-actions {
    left: 8px;
    bottom: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 16px);
    max-width: none;
    margin: -72px 8px 8px;
  }

  .quick-defect-title {
    grid-column: 1 / -1;
    max-width: none;
  }

  .inspector-body {
    padding: 10px;
  }

  .stat-row {
    margin: 8px 0 12px;
  }

  .stat {
    padding: 8px;
  }

  .stat strong {
    font-size: 18px;
  }

  .text-area {
    min-height: 92px;
  }

  .mini-button {
    width: auto;
  }

  .zoom-row {
    grid-template-columns: 36px minmax(0, 1fr) 36px 54px;
  }

  .trash-item {
    align-items: stretch;
    flex-direction: column;
  }

  .trash-item-actions {
    justify-content: stretch;
  }

  .photo-viewer-body {
    padding: 10px 0;
  }

  .photo-viewer-image {
    max-height: calc(100vh - 88px);
  }

  .photo-nav {
    width: 42px;
    height: 58px;
    font-size: 34px;
  }
}

@media (max-width: 430px) {
  .project-command-grid,
  .project-manage-actions {
    grid-template-columns: 1fr;
  }
}
