:root {
  --ink: #17262e;
  --muted: #69767c;
  --line: #e3e8e8;
  --paper: #f6f8f7;
  --surface: #fff;
  --accent: #176b5a;
  --tint: #e9f3ee;
  --navy: #142f3d;
  --amber: #876222;
  --amberbg: #fbf3e2;
  --danger: #a23e3e;
  --radius: 12px;
  --shadow: 0 16px 48px #17262e12;
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    13px/1.55 Carrion,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 700;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 14px;
}
small,
.small {
  font-size: 11px;
}
svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
svg.plan {
  width: 100%;
  height: 390px;
  stroke: none;
}
.demo {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #597064;
  background: #e9efeb;
  letter-spacing: 0.4px;
}
.app {
  display: grid;
  grid-template-columns: 218px 1fr;
  min-height: calc(100vh - 28px);
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 26px 15px 18px;
  gap: 5px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 28px;
}
.monogram {
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
}
.word {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 15px;
}
.brand small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1.8px;
  margin-top: 2px;
}
.nav-label {
  padding: 22px 14px 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #929c9e;
  font-weight: 700;
}
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 13px;
  border-radius: 8px;
  color: #657276;
  font-size: 12px;
  min-height: 42px;
}
.nav.active {
  background: var(--tint);
  color: var(--accent);
  font-weight: 700;
}
.nav:hover {
  background: #f0f4f2;
}
.nav .count {
  margin-left: auto;
  border-radius: 5px;
  background: #ddebe4;
  padding: 0 6px;
  font-size: 10px;
}
.side-bottom {
  margin-top: auto;
  padding-top: 36px;
}
.future {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 13px;
  color: #9aa4a7;
  font-size: 11px;
}
.future small {
  font-size: 8px;
  border: 1px solid #e8ecea;
  padding: 1px 4px;
  border-radius: 4px;
}
.user {
  border-top: 1px solid var(--line);
  padding: 18px 10px 0;
  display: flex;
  gap: 9px;
  align-items: center;
}
.avatar {
  background: #e7eeea;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.content {
  min-width: 0;
}
.topbar {
  height: 66px;
  background: #ffffffb3;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.crumb {
  font-size: 11px;
  color: #7f8b8f;
}
.crumb b {
  color: var(--ink);
  font-weight: 400;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 7px;
  color: var(--muted);
}
.main {
  padding: 34px 38px 20px;
  max-width: 1440px;
  margin: auto;
}
.eyebrow {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.title-row p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 12px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  font-size: 11px;
  white-space: nowrap;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.btn.block {
  width: 100%;
}
.btn.sm {
  padding: 7px 10px;
  min-height: 34px;
  font-size: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 9px;
  letter-spacing: 0.1px;
  background: #edf2ef;
  color: #416357;
  white-space: nowrap;
}
.pill.amber {
  background: var(--amberbg);
  color: var(--amber);
}
.pill.gray {
  background: #eff2f3;
  color: #6c797e;
}
.pill.red {
  background: #f8eded;
  color: var(--danger);
}
.muted {
  color: var(--muted);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.grid {
  display: grid;
  gap: 20px;
}
.cols {
  grid-template-columns: minmax(0, 1fr) 315px;
}
.equal {
  grid-template-columns: 1fr 1fr;
}
.triple {
  grid-template-columns: repeat(3, 1fr);
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pad {
  padding: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head .muted {
  font-size: 10px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.section-gap {
  margin-top: 25px;
}
.metric {
  display: flex;
  gap: 28px;
  margin: 20px 0 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.metric > div {
  flex: 1;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.metric strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.7px;
  margin-top: 5px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3f1;
}
.row:last-child {
  border-bottom: 0;
}
.row .muted {
  font-size: 11px;
}
.list-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row .time {
  font-weight: 700;
  font-size: 12px;
}
.list-row h3 {
  font-size: 12px;
}
.list-row p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.lead-hero {
  padding: 26px;
  background: var(--navy);
  color: #fff;
  border: 0;
  position: relative;
}
.lead-hero .eyebrow {
  color: #a2c7b6;
}
.lead-hero h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
  margin: 16px 0 8px;
}
.lead-hero .muted {
  color: #b8cbd0;
}
.lead-hero .btn {
  background: #fff;
  color: var(--navy);
  border: 0;
  margin-top: 25px;
}
.hero-meta {
  display: flex;
  gap: 25px;
  border-top: 1px solid #ffffff26;
  margin-top: 23px;
  padding-top: 20px;
  font-size: 10px;
  color: #b6c8cc;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
th {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: var(--muted);
  text-align: left;
  font-weight: 400;
  background: #f8faf9;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 18px;
  border-bottom: 1px solid #edf1ef;
  vertical-align: middle;
}
td strong {
  font-size: 11px;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.step {
  display: flex;
  gap: 9px;
  align-items: center;
  flex: 1;
  padding: 13px 17px;
  font-size: 10px;
  color: #8a9598;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border: 0;
}
.step b {
  border: 1px solid #dfe5e2;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 400;
}
.step.active {
  background: #edf5f0;
  color: var(--accent);
  font-weight: 700;
}
.step.active b {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.step.done {
  color: var(--accent);
}
label {
  font-size: 10px;
  display: block;
  color: #455b63;
  margin-bottom: 6px;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #dce4e0;
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
  border-radius: 7px;
  font-size: 12px;
  min-height: 42px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid #b9d9c8;
}
input[type="checkbox"] {
  min-height: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field.full {
  grid-column: 1/-1;
}
.req {
  color: #9a4c3a;
}
.hint {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.banner {
  display: flex;
  gap: 12px;
  background: var(--tint);
  color: #3a6553;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 10px;
}
.banner.amber {
  background: var(--amberbg);
  color: var(--amber);
}
.banner.red {
  background: #f9eeed;
  color: var(--danger);
}
.banner svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.banner strong {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px;
  text-align: left;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 85px;
}
.choice.selected {
  border-color: var(--accent);
  background: #f3f8f5;
}
.choice .tileicon {
  padding: 10px;
  border-radius: 8px;
  background: #f1f4f2;
  display: flex;
  color: #607d72;
}
.choice.selected .tileicon {
  color: var(--accent);
  background: #e3eee6;
}
.choice h3 {
  font-size: 12px;
}
.choice p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.radio {
  margin-left: auto;
  border: 1px solid #d8e1dc;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  flex: none;
}
.selected .radio {
  border: 5px solid var(--accent);
}
.footerbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 11px;
}
.total {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 700;
  line-height: 1.2;
}
.badge-square {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.room-row {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.room-row:last-child {
  border-bottom: 0;
}
.room-row.active {
  background: #f1f7f3;
  box-shadow: inset 3px 0 0 var(--accent);
}
.room-row h3 {
  font-size: 12px;
}
.room-row small {
  color: var(--muted);
  display: block;
  margin: 3px 0 12px;
}
.inputpair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.inputpair input {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.label-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11px;
}
.plan-wrap {
  background-color: #fbfcfb;
  background-image: radial-gradient(#dce4de 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 12px;
  position: relative;
}
.plan-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.plan-key {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
}
.swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #bbd4c1;
}
.roomstat {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.segment {
  display: flex;
  background: #f0f3f1;
  padding: 3px;
  border-radius: 7px;
  gap: 2px;
}
.segment button {
  font-size: 9px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  color: #6d7d74;
}
.segment button.sel {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 3px #00000010;
}
.checkrow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.checkrow:last-child {
  border: 0;
}
.checkrow h3 {
  font-size: 11px;
}
.checkrow p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #64737a;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 10px;
  min-height: 34px;
}
.chip.selected {
  background: var(--tint);
  border-color: #a8c9b8;
  color: var(--accent);
}
.item-note {
  font-size: 9px;
  color: var(--muted);
  padding: 12px 18px;
  background: #fafcfb;
}
.quote-paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 33px 36px;
  box-shadow: 0 8px 25px #1f382707;
  min-height: 490px;
}
.quote-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--navy);
}
.quote-head .brand {
  padding: 0;
}
.doc-no {
  font-size: 9px;
  color: var(--muted);
  text-align: right;
}
.quote-paper h2 {
  font-size: 25px;
  margin: 27px 0 6px;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  font-size: 10px;
  margin: 23px 0;
}
.quote-grid strong {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}
.quote-scope {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.quote-scope h3 {
  font-size: 12px;
}
.quote-scope p {
  font-size: 10px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 6px;
}
.scope-tag {
  font-size: 9px;
  display: inline-block;
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 4px;
  margin-top: 10px;
}
.timeline {
  border-left: 1px solid #dce7df;
  margin-left: 14px;
  padding-left: 30px;
}
.event {
  position: relative;
  padding: 0 0 27px;
}
.event:before {
  content: "";
  position: absolute;
  left: -37px;
  top: 2px;
  width: 12px;
  height: 12px;
  background: #c7d7cd;
  border: 3px solid white;
  border-radius: 50%;
  box-sizing: content-box;
}
.event.done:before {
  background: var(--accent);
}
.event.current:before {
  background: #b38a3d;
}
.event h3 {
  font-size: 12px;
}
.event p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.event small {
  color: #94a29c;
  font-size: 9px;
}
.kpi-icon {
  color: var(--accent);
  background: var(--tint);
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.kpi-icon svg {
  width: 26px;
  height: 26px;
}
.successbox {
  max-width: 770px;
  margin: 22px auto;
}
.successbox h1 {
  font-size: 31px;
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.search {
  position: relative;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #90a097;
}
.search input {
  padding-left: 38px;
}
.inspector {
  display: grid;
  grid-template-columns: 295px 1fr;
  min-height: 510px;
}
.inbox-list {
  border-right: 1px solid var(--line);
  background: #fafcfb;
}
.inbox-entry {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.inbox-entry.active {
  background: #edf5f0;
  border-left: 3px solid var(--accent);
}
.inbox-entry strong {
  display: block;
  font-size: 12px;
  margin: 7px 0;
}
.inbox-entry p {
  color: var(--muted);
}
.review-body {
  padding: 24px;
}
.subtabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}
.subtabs button {
  border: 0;
  background: none;
  padding: 0 0 11px;
  font-size: 10px;
  color: var(--muted);
}
.subtabs button.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 13px 22px;
  border-radius: 9px;
  box-shadow: var(--shadow);
  z-index: 20;
  font-size: 11px;
}
.overlay {
  position: fixed;
  inset: 28px 0 0;
  background: #10252c70;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
  z-index: 8;
  padding: 20px;
}
.dialog {
  max-width: 530px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 30px 90px #10252c40;
}
.dialog h2 {
  font-size: 23px;
  margin: 15px 0 9px;
}
.dialog p {
  color: var(--muted);
  font-size: 11px;
}
.dialog .field {
  margin-top: 17px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
}
.login-page {
  min-height: calc(100vh - 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-brand {
  background: var(--navy);
  padding: 44px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.login-brand .brand {
  padding: 0;
  color: #fff;
}
.login-brand .monogram {
  background: #ffffff15;
}
.login-brand small {
  color: #93b0b7;
}
.login-copy {
  margin: auto 0;
  position: relative;
  z-index: 1;
}
.login-copy h1 {
  font-size: 50px;
  letter-spacing: -2px;
  line-height: 1.18;
  max-width: 500px;
}
.login-copy p {
  max-width: 380px;
  color: #9fb9bf;
  font-size: 14px;
  margin-top: 25px;
}
.login-foot {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #8ca8af;
}
.architecture {
  position: absolute;
  right: -110px;
  bottom: 70px;
  width: 460px;
  height: 420px;
  border: 1px solid #7e9fa238;
  transform: rotate(-20deg);
}
.architecture:before {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px solid #7e9fa238;
}
.architecture:after {
  content: "";
  position: absolute;
  inset: 90px;
  border: 1px solid #7e9fa238;
}
.login-form {
  align-self: center;
  max-width: 360px;
  width: 100%;
  margin: auto;
  padding: 35px 0;
}
.login-form h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
}
.login-form p {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 28px;
}
.login-form .field {
  margin: 17px 0;
}
.login-form .btn {
  margin-top: 12px;
}
.onboarding-note {
  margin-top: 30px;
  font-size: 9px;
  color: #83908e;
}
.answer {
  padding: 19px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.answer strong {
  color: var(--ink);
}
details {
  border-top: 1px solid var(--line);
}
summary {
  padding: 17px 20px;
  font-size: 11px;
  cursor: pointer;
}
.account-section {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.account-section .info {
  width: 220px;
  flex: none;
}
.account-section p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.account-section .fields {
  flex: 1;
}
.mobile-nav {
  display: none;
}
.view-switch {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 10px;
  cursor: pointer;
}
.summary-mobile {
  display: none;
}
.help-aside .row {
  font-size: 10px;
}
.audit {
  font-family: monospace;
  font-size: 10px;
  color: #637773;
}
.screen-status {
  font-size: 9px;
  color: #7c8d84;
}
.no-price {
  background: #f0f5f2;
  border-left: 3px solid var(--accent);
  padding: 13px 15px;
  font-size: 10px;
  color: #4e6d5e;
}
.table-edit {
  min-height: 34px;
  max-width: 83px;
  font-size: 11px;
  text-align: right;
  padding: 6px 8px;
}
.locked-stage {
  background: #faf7ed;
  border: 1px solid #e9dfc5;
  border-radius: 10px;
  padding: 18px;
  margin-top: 18px;
  font-size: 10px;
  color: var(--amber);
}
.phase-note {
  font-size: 9px;
  color: #909c96;
  margin-top: 18px;
  text-align: center;
}
.mobile-header {
  display: none;
}
.plan-caption {
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.preview-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.proof {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 10px;
  display: flex;
  gap: 9px;
  color: #5d7867;
}
@media (min-width: 1500px) {
  .main {
    padding-top: 40px;
  }
  .cols {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1100px) {
  .app {
    grid-template-columns: 185px 1fr;
  }
  .sidebar {
    padding-left: 9px;
    padding-right: 9px;
  }
  .topbar {
    padding: 0 25px;
  }
  .main {
    padding: 27px 25px;
  }
  .cols {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .step {
    padding: 11px 10px;
  }
  .triple {
    grid-template-columns: 1fr 1fr;
  }
  .login-brand {
    padding: 40px;
  }
  .login-copy h1 {
    font-size: 41px;
  }
}
@media (max-width: 800px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
  label {
    font-size: 12px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .btn {
    min-height: 44px;
  }
  .scope-table thead {
    display: none;
  }
  .scope-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
  }
  .scope-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 16px;
    border: 0;
  }
  .scope-table td:first-child {
    display: block;
  }
  .scope-table td:before {
    content: attr(data-label);
    font-size: 10px;
    color: var(--muted);
    text-align: left;
  }
  .scope-table td:first-child:before {
    display: none;
  }
  .scope-table td:nth-child(2) {
    display: none;
  }
  .grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .app {
    display: block;
  }
  .sidebar,
  .topbar {
    display: none;
  }
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 19px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .mobile-header .brand {
    padding: 0;
  }
  .mobile-header .word {
    font-size: 13px;
  }
  .mobile-header .monogram {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .mobile-header .brand small {
    font-size: 7px;
  }
  .main {
    padding: 23px 18px 88px;
  }
  .title-row {
    align-items: flex-start;
    margin-bottom: 21px;
    gap: 12px;
  }
  h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .title-row p {
    font-size: 11px;
  }
  .title-row > .btn {
    padding: 9px;
    font-size: 10px;
  }
  .title-row {
    flex-wrap: wrap;
  }
  .title-row > div {
    flex: 1;
    min-width: 230px;
  }
  .cols,
  .equal,
  .triple {
    grid-template-columns: 1fr;
  }
  .steps {
    margin-bottom: 18px;
  }
  .step {
    justify-content: center;
    padding: 10px 5px;
    font-size: 0;
    gap: 0;
  }
  .step b {
    height: 21px;
    width: 21px;
    font-size: 9px;
  }
  .step.active {
    flex: 3;
    font-size: 9px;
    gap: 6px;
  }
  .pad {
    padding: 17px;
  }
  .panel-head {
    padding: 16px 17px;
  }
  .fields {
    gap: 13px;
  }
  .metric {
    gap: 15px;
  }
  .metric strong {
    font-size: 23px;
  }
  .metric span {
    font-size: 9px;
  }
  .footerbar {
    flex-wrap: wrap;
  }
  .footerbar .btn {
    flex: 1;
  }
  .footerbar > span {
    width: 100%;
    order: 3;
    text-align: center;
  }
  .lead-hero {
    padding: 23px;
  }
  .lead-hero h2 {
    font-size: 25px;
  }
  .hero-meta {
    gap: 17px;
    font-size: 9px;
  }
  .list-row {
    padding: 17px;
    grid-template-columns: 47px 1fr auto;
    gap: 10px;
  }
  .list-row .btn {
    font-size: 9px;
    padding: 8px;
  }
  .summary-mobile {
    display: block;
  }
  .help-aside {
    display: none;
  }
  .plan-wrap {
    padding: 4px;
  }
  svg.plan {
    height: 310px;
  }
  .plan-caption {
    font-size: 8px;
  }
  .checkrow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .chips {
    gap: 7px;
  }
  .chip {
    min-height: 44px;
    padding: 9px 14px;
  }
  .quote-paper {
    padding: 22px 19px;
  }
  .quote-paper h2 {
    font-size: 21px;
  }
  .quote-head .word {
    font-size: 11px;
  }
  .quote-head .monogram {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .quote-head .brand small {
    font-size: 6px;
  }
  .quote-grid {
    gap: 15px;
  }
  .doc-no {
    font-size: 8px;
  }
  .quote-scope p {
    font-size: 10px;
  }
  .inspector {
    grid-template-columns: 1fr;
  }
  .inbox-list {
    display: none;
  }
  .review-body {
    padding: 18px;
  }
  .subtabs {
    gap: 16px;
  }
  .account-section {
    display: block;
  }
  .account-section .info {
    width: 100%;
    margin-bottom: 16px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-brand {
    min-height: 210px;
    padding: 27px;
  }
  .login-copy h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-top: 30px;
  }
  .login-copy p,
  .login-foot,
  .architecture {
    display: none;
  }
  .login-form {
    max-width: none;
    padding: 30px 26px;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffffff5;
    border-top: 1px solid var(--line);
    padding: 10px 5px 15px;
    z-index: 5;
  }
  .mobile-nav a {
    font-size: 8px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    color: var(--muted);
  }
  .mobile-nav a.active {
    color: var(--accent);
  }
  .demo {
    font-size: 8px;
    height: 25px;
  }
  .overlay {
    inset: 25px 0 0;
  }
  .dialog {
    padding: 23px;
  }
  .dialog h2 {
    font-size: 21px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .successbox h1 {
    font-size: 26px;
  }
  .top-actions {
    font-size: 9px;
  }
  .phase-note {
    margin-bottom: 0;
  }
  .row .muted {
    font-size: 10px;
  }
  .filterbar {
    flex-wrap: wrap;
  }
  .quote-grid {
    font-size: 9px;
  }
  .preview-tools .btn {
    font-size: 9px;
  }
  .search input {
    font-size: 12px;
  }
  .table-wrap {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .choice {
    transition:
      background 0.15s,
      border-color 0.15s;
  }
}

.error {
  color: #a23e3e;
  font-size: 11px;
  margin: 7px 0;
}
.offline-bar {
  background: #fbf3e2;
  color: #876222;
  padding: 9px 20px;
  text-align: center;
  font-size: 11px;
}
input[aria-invalid="true"] {
  border: 1px solid #a23e3e;
}
.pill button {
  background: none;
  border: 0;
}
.notice {
  margin: 12px 0;
}
.room-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.field-error {
  font-size: 10px;
  color: #a23e3e;
}
.mono {
  font-family: monospace;
}
.empty {
  padding: 50px;
  text-align: center;
}
.empty p {
  max-width: 480px;
  margin: 12px auto 20px;
  color: var(--muted);
}
button[aria-busy="true"] {
  opacity: 0.6;
}
.badge-square {
  cursor: default;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.photo-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}
.page-error {
  max-width: 650px;
  margin: 40px auto;
}
.small-btn {
  font-size: 10px;
}
.print-link {
  display: inline-flex;
}
.roles-note {
  font-size: 10px;
  color: #69767c;
  margin-top: 10px;
}
.future small {
  white-space: nowrap;
}
.main .errorbox {
  padding: 18px;
  border: 1px solid #eacbc5;
  border-radius: 8px;
  color: #a23e3e;
  background: #fcf4f2;
}
.app-loading {
  padding: 80px;
  text-align: center;
  font-size: 14px;
}
.btn:disabled {
  pointer-events: none;
}
.field.full {
  grid-column: 1/-1;
}
.admin-form {
  max-width: 950px;
}
.trace {
  font-family: monospace;
  font-size: 9px;
}
.quote-paper iframe {
  border: 0;
  width: 100%;
  height: 650px;
}
.select-option {
  cursor: pointer;
}
.stack .grid {
  min-width: 0;
}
@font-face {
  font-family: Carrion;
  src: url(/fonts/DejaVuSans.ttf);
}
@font-face {
  font-family: Carrion;
  src: url(/fonts/DejaVuSans-Bold.ttf);
  font-weight: 700;
}
@media (max-width: 800px) {
  .steps a {
    font-size: 0;
  }
  .steps a.active {
    font-size: 9px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .title-row {
    flex-wrap: wrap;
  }
  .room-actions {
    flex-wrap: wrap;
  }
  .main {
    padding-bottom: 100px;
  }
  .plan-wrap {
    overflow: hidden;
  }
  .offline-bar {
    font-size: 10px;
  }
}
.app {
  min-height: 100vh;
}
.content {
  min-width: 0;
}
.block {
  display: block;
}
.preserve {
  white-space: pre-wrap;
}
.table-wrap {
  overflow: auto;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.table-wrap th {
  text-align: left;
  background: #fafcfb;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-wrap th,
.table-wrap td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table-wrap td {
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px;
  display: grid;
  gap: 5px;
}
.metric span,
.metric small {
  color: var(--muted);
  font-size: 11px;
}
.metric b {
  font-size: 32px;
  line-height: 1.3;
}
.layout2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}
.sticky {
  position: sticky;
  top: 20px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  font-weight: bold;
}
.field input,
.field select,
.field textarea,
.search,
.catalog-table input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid #d5dfe0;
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  min-height: 43px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field-error {
  color: var(--danger);
  font-size: 11px;
}
.req {
  color: var(--danger);
}
[aria-invalid="true"] {
  border-color: var(--danger) !important;
  background: #fff8f8 !important;
}
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 12px;
}
.checkline input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0;
}
.room-card,
.item-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px;
  margin-bottom: 16px;
}
.room-card .panel-head {
  padding: 0 0 17px;
  border: 0;
}
.room-dot {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.service-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 25px;
}
.service-choice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: left;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.service-choice:hover {
  border-color: var(--accent);
  background: var(--tint);
}
.service-choice span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: bold;
}
.service-choice small {
  padding-left: 24px;
  color: var(--muted);
}
.room-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.room-select .hint {
  width: 100%;
}
.review-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.plain-steps {
  padding-left: 22px;
  margin: 20px 0;
}
.plain-steps li {
  padding: 9px 0;
}
.proposal-head {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 15px;
}
.proposal-head > b {
  letter-spacing: 0.15em;
  color: var(--accent);
  font-size: 11px;
}
.proposal-head h1 {
  margin: 10px 0;
}
.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.photos img {
  width: 130px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
}
.photos a {
  display: grid;
  max-width: 130px;
  overflow: hidden;
}
.candidate {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.code-output {
  font-size: 10px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 360px;
  overflow: auto;
}
.catalog-table input:not([type="checkbox"]) {
  min-width: 110px;
  padding: 8px;
}
.help-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.help-item summary {
  cursor: pointer;
  font-weight: bold;
}
.help-item p {
  margin-top: 12px;
  max-width: 800px;
  color: var(--muted);
}
.empty-state {
  padding: 65px 25px;
  text-align: center;
}
.empty-state svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 18px;
}
.empty-state p {
  margin-top: 10px;
  color: var(--muted);
}
.narrow {
  max-width: 720px;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 48% 52%;
}
.auth-story {
  padding: 54px 68px;
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 55px;
}
.auth-story .brand {
  padding: 0;
}
.auth-story .word {
  color: white;
}
.auth-story .monogram {
  background: #fff2;
}
.auth-story h1 {
  font-size: 42px;
  line-height: 1.2;
}
.auth-story p {
  color: #bdcccf;
  margin-top: 22px;
  max-width: 370px;
  font-size: 14px;
}
.auth-story .eyebrow {
  color: #9cc6b8;
  margin-bottom: 20px;
}
.auth-story small {
  color: #a9bdc3;
}
.auth-points {
  display: grid;
  gap: 14px;
  color: #d5e2e2;
}
.auth-form {
  display: grid;
  place-items: center;
  padding: 50px 25px;
  background: #fff;
}
.auth-inner {
  width: 100%;
  max-width: 390px;
}
.auth-inner h1 {
  font-size: 28px;
}
.auth-inner .field {
  margin-bottom: 20px;
}
.auth-inner .btn {
  width: 100%;
  justify-content: center;
  margin-top: 5px;
}
.auth-inner a {
  color: var(--accent);
  font-weight: bold;
  font-size: 12px;
}
.update-banner {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 16px;
  z-index: 1000;
  box-shadow: var(--shadow);
  width: min(90vw, 600px);
  display: flex;
  align-items: center;
  gap: 15px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #142f3d77;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  max-width: 580px;
}
.mobile-nav {
  display: none;
}
.field .field-error:empty {
  display: none;
}
.page-error {
  margin: 30px 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 450px;
  background: var(--navy);
  color: white;
  padding: 16px 22px;
  border-radius: 10px;
  z-index: 2000;
  box-shadow: var(--shadow);
}
@media (max-width: 1100px) {
  .layout2 {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .main {
    padding: 25px !important;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 34px;
  }
}
@media (max-width: 800px) {
  .layout2 {
    grid-template-columns: 1fr;
  }
  .sticky {
    position: static;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .service-picker {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-form {
    min-height: 100vh;
  }
  .formgrid {
    gap: 14px;
  }
  .main {
    padding: 20px 16px 100px !important;
  }
  .title-row {
    gap: 15px;
    flex-wrap: wrap;
  }
  .title-row h1 {
    font-size: 25px;
  }
  .footerbar {
    position: static !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0 !important;
  }
  .footerbar span {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 10px 5px;
    z-index: 50;
  }
  .mobile-nav a {
    display: grid;
    justify-items: center;
    gap: 4px;
    font-size: 9px;
  }
  .steps {
    overflow: auto;
    display: flex;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  .step {
    flex-shrink: 0;
  }
  .toast {
    bottom: 85px;
    left: 15px;
    right: 15px;
    max-width: none;
  }
  .update-banner {
    bottom: 80px;
    flex-direction: column;
  }
  .panel.pad {
    padding: 20px;
  }
  .candidate {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 14px;
  }
  .metric b {
    font-size: 26px;
  }
  .room-card,
  .item-card {
    padding: 14px;
  }
  .section-title {
    align-items: flex-start;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 12px;
  }
  .auth-form {
    padding: 35px 23px;
  }
  .panel-head {
    padding: 16px !important;
    flex-wrap: wrap;
  }
  .panel-head .search {
    width: 100%;
  }
  .content .mobile-header {
    padding: 18px 16px;
  }
}
details.room-card > summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
}
details.room-card > summary::-webkit-details-marker {
  display: none;
}
details.room-card[open] > summary {
  padding-bottom: 18px;
}
.room-card summary .flex {
  flex-wrap: wrap;
}
.room-card summary .flex small {
  margin-left: 3px;
}
.room-card:not([open]) {
  padding: 14px 18px;
}
.room-card:not([open]) .panel-head {
  padding: 0;
}
