/* geist-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./geist-cyrillic-ext-wght-normal-DjL33-gN.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* geist-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./geist-cyrillic-wght-normal-BEAKL7Jp.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-vietnamese-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./geist-vietnamese-wght-normal-6IgcOCM7.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* geist-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./geist-latin-ext-wght-normal-DC-KSUi6.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-latin-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./geist-latin-wght-normal-BgDaEnEv.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}@media print {
  @page {
    size: A4;
    margin: 16mm;
  }
  body,
  .application {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    background: white !important;
    color: #243348 !important;
  }
  .application > *:not(.print-report) {
    display: none !important;
  }
  .print-report {
    display: block !important;
    font-family: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
    font-size: 10pt;
    line-height: 1.7;
  }
  .print-report header {
    display: flex;
    justify-content: space-between;
    font-size: 8pt;
    color: var(--muted);
    border-bottom: 1px solid #dce4e8;
    padding-bottom: 12pt;
    margin-bottom: 22pt;
  }
  .print-report h1 {
    font-size: 25pt;
    line-height: 1.3;
    margin: 0 0 8pt;
    font-weight: 550;
  }
  .print-report h2 {
    font-size: 13pt;
    margin: 20pt 0 8pt;
  }
  .print-report h3 {
    font-size: 10pt;
    margin: 16pt 0 6pt;
  }
  .print-report p {
    color: #647885;
    margin-bottom: 10pt;
  }
  .print-report img {
    width: 100%;
    max-height: 90mm;
    object-fit: contain;
    background: #f0f3ef;
    border-radius: 8pt;
    margin: 12pt 0;
  }
  .print-report table {
    border-collapse: collapse;
    width: 100%;
    font-size: 8pt;
    margin: 18pt 0;
  }
  .print-report th,
  .print-report td {
    border-bottom: 1px solid #dce4e8;
    padding: 8pt;
    text-align: left;
  }
  .print-report th {
    color: var(--muted);
    font-weight: 600;
  }
  .print-report li {
    font-size: 8pt;
    color: var(--muted);
  }
  .print-report section {
    break-inside: avoid;
  }
  .print-report ul {
    padding-left: 14pt;
  }
  .print-report tr {
    break-inside: avoid;
  }
}
:root {
  /* Les jetons de l'app web (apps/web/src/app/globals.css) : un produit, un
     système visuel. Police Geist, encre, gris de texte à 5,03:1 sur le fond
     (5,51:1 sur blanc), accent bleu pétrole et ses sémantiques. Plus aucun
     texte sous 11 px, le plus petit jeton du web (text-2xs). */
  font-family: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #f2f5f7;
  font-synthesis: none;
  font-weight: 450;
  --ink: #131a1f; /* encre */
  --muted: #5b6b75; /* encre-3 */
  --accent: #0e6a70;
  --accent-strong: #0a5257; /* accent-fort */
  --accent-pale: #dfeeef;
  --ok: #1a7a3d;
  --warn: #93610a;
  --danger: #b3271e;
  --line: #d7dfe4; /* trait */
  --surface: #fff;
  --rail: #192a40;
  --soft: #f2f5f7; /* fond */
  font-size: 13px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button,
input,
select {
  outline: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
button,
select,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button svg {
  flex-shrink: 0;
}
button {
  transition:
    background 0.16s,
    color 0.16s,
    box-shadow 0.16s;
}
input,
select {
  color: var(--ink);
}
svg {
  vertical-align: middle;
}
small {
  font-size: 11px;
  font-weight: 450;
}
.application {
  height: 100dvh;
  display: flex;
  overflow: hidden;
}
.rail {
  width: 70px;
  flex: 0 0 70px;
  background: var(--rail);
  color: #aab6c5;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 30;
}
.brand-mark {
  height: 76px;
  width: 70px;
  display: grid;
  place-items: center;
  color: #f8fcfd;
}
.brand-mark svg {
  transform: rotate(-10deg);
}
.rail-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.rail-navigation button,
.rail-bottom button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #a4b0c1;
}
.rail-navigation button:hover,
.rail-bottom button:hover {
  background: #2b3c53;
  color: white;
}
.rail-navigation button.active {
  background: #4d7072;
  color: #f1f9fa;
  box-shadow: inset 0 0 0 1px #5373a0;
}
.rail-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #667589;
  border-radius: 50%;
  font-size: 12px;
  color: var(--muted);
}
.application-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 65px;
  min-height: 65px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
  background: #fff;
  gap: 34px;
}
.wordmark {
  font-size: 25px;
  font-weight: 730;
  letter-spacing: -1.6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark span {
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 550;
  border-left: 1px solid #d6dde2;
  padding-left: 12px;
  line-height: 20px;
  color: #56637a;
}
.topbar-path {
  font-size: 11px;
  letter-spacing: 1.35px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-path span {
  color: var(--muted);
}
.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.connection-badge {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.connection-badge.is-ready {
  color: var(--ok);
}
.clauger-signature {
  font-weight: 850;
  color: var(--accent-strong);
  font-size: 13px;
  letter-spacing: -0.4px;
}
.project-header {
  min-height: 115px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 18px 30px 20px;
  gap: 20px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: var(--muted);
  line-height: 1.6;
}
.project-title {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 1px 0;
}
.project-title input {
  font-weight: 570;
  font-size: 26px;
  letter-spacing: -1.1px;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 0;
  min-width: 180px;
  line-height: 1.6;
}
.save-status {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  height: 16px;
}
.save-status svg {
  color: var(--ok);
}
.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
}
.icon-button:hover {
  background: #edf1f5;
  color: var(--ink);
}
.icon-button.active {
  color: var(--accent);
  background: #f1f6f6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  border-radius: 8px;
  font-weight: 620;
  font-size: 11px;
  min-height: 40px;
  padding: 11px 15px;
  line-height: 1.5;
}
.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 3px #2e5ab218;
}
.button.primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 4px 12px #305bbc26;
}
.button.secondary {
  background: #fff;
  border: 1px solid #dce2e6;
  color: #4f6071;
}
.button.secondary:hover {
  background: #f5f7fa;
  border-color: #bbc8d9;
}
.full-width {
  width: 100%;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  padding: 5px 0;
}
.text-button:hover {
  color: var(--accent-strong);
}
.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  border-top: 1px solid var(--line);
}
.inspector {
  width: 286px;
  flex: 0 0 286px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  z-index: 5;
  transition: width 0.2s;
}
.inspector-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px 20px 0;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  min-height: 51px;
}
.inspector-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  border-bottom: 2px solid transparent;
  padding: 10px 0;
}
.inspector-tabs button.selected {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.inspector-content {
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #dae0e5 transparent;
  padding: 21px 22px;
}
.activity-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}
.activity-symbol {
  height: 42px;
  width: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.activity-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}
.activity-card > div > span {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 650;
}
.activity-card strong {
  font-size: 12px;
  font-weight: 620;
}
.inspector-section {
  margin-bottom: 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 5px;
  min-height: 18px;
}
.section-heading h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05px;
}
.section-heading h3 svg {
  color: var(--muted);
}
.fields-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fields-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.number-field {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
  min-width: 0;
}
.number-field > span {
  display: block;
  margin-bottom: 7px;
  white-space: nowrap;
}
.number-box {
  display: flex;
  align-items: center;
  border: 1px solid #e0e5e8;
  background: #fbfcfd;
  border-radius: 6px;
  min-height: 38px;
  overflow: hidden;
  transition: border 0.15s;
}
.number-box:focus-within {
  border-color: var(--accent);
  background: #fff;
}
/* Saisie non lue ou bornée : dite sous le champ, bordure teintée (29/09). */
.number-box.is-warning {
  border-color: #b6753d;
}
/* Plus spécifique que `.number-field > span` : un message long se replie. */
.number-field > .number-reading {
  margin: 5px 0 0;
  white-space: normal;
  line-height: 1.5;
  color: var(--muted);
}
.number-field > .number-reading.is-warning {
  color: #8d431e;
}
.number-box input {
  padding: 9px 0 9px 11px;
  border: 0;
  outline: none !important;
  min-width: 0;
  width: 100%;
  background: none;
  font-size: 12px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.unit {
  padding: 0 8px 0 4px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.number-step {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e7ebee;
  height: 36px;
}
.number-step button {
  height: 18px;
  width: 22px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.number-step button:hover {
  background: #eef4f4;
  color: var(--accent);
}
.number-step button + button {
  border-top: 1px solid #e7ebee;
}
.volume-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.volume-note i {
  height: 3px;
  width: 3px;
  background: #c7cfd7;
  border-radius: 50%;
}
.advanced-fields {
  margin-top: 3px;
}
.advanced-fields summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  padding: 5px 0;
}
.advanced-fields[open] summary {
  margin-bottom: 12px;
}
.object-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 205px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.object-item {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  width: 100%;
  color: var(--muted);
}
.object-item:hover {
  background: #f5f7f9;
}
.object-item.selected {
  background: var(--accent-pale);
  border-color: #e1f1f2;
  color: var(--accent);
}
.object-item > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 570;
  color: #596875;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.object-item small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.object-index {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.inspector-footer {
  padding: 18px 20px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.inspector-footer .button {
  padding: 11px 10px;
  font-size: 11px;
  gap: 7px;
}
.inspector-footer .button svg:last-child {
  margin-left: auto;
}
.inspector-footer > span {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.studio-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ebedea;
}
.canvas-shell {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #f3f5f1 0%, #e6eae5 85%);
}
.studio-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.studio-scene canvas {
  display: block;
  touch-action: none;
}
.canvas-toolbar {
  position: absolute;
  top: 20px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}
.canvas-toolbar > div {
  pointer-events: auto;
}
.view-tabs {
  display: flex;
  align-items: center;
  padding: 4px;
  background: #fffdf6d9;
  border: 1px solid #ffffffd9;
  border-radius: 8px;
  box-shadow: 0 3px 15px #243c5210;
  backdrop-filter: blur(12px);
}
.view-tabs button {
  min-height: 28px;
  padding: 6px 13px;
  font-size: 11px;
  border-radius: 5px;
  color: var(--muted);
}
.view-tabs button.selected {
  background: #ecf1f2;
  color: #354962;
  font-weight: 650;
}
.view-tabs button:hover {
  color: var(--ink);
}
.view-tabs .inspector-toggle {
  padding: 4px 7px;
  display: none;
}
.canvas-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.canvas-tools .icon-button {
  background: #ffffffb5;
  border: 1px solid #ffffffd6;
  height: 33px;
  width: 33px;
  color: var(--muted);
  backdrop-filter: blur(12px);
}
.canvas-tools .icon-button.active {
  background: #fff;
  color: var(--accent);
}
.scene-caption {
  position: absolute;
  top: 90px;
  left: 30px;
  z-index: 2;
  pointer-events: none;
}
.scene-caption .eyebrow {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.5px;
}
.scene-caption h2 {
  font-size: 20px;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin-top: 4px;
  color: #435661;
}
.scene-caption p {
  font-size: 11px;
  margin-top: 5px;
  color: var(--muted);
}
.flow-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 13px;
  background: #fffef7ed;
  box-shadow: 0 6px 35px #253c531c;
  border: 1px solid #fff;
  border-radius: 11px;
  z-index: 3;
  backdrop-filter: blur(14px);
  white-space: nowrap;
}
.flow-label {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 650;
  color: var(--muted);
  padding-right: 5px;
}
.segmented-control {
  display: flex;
  gap: 3px;
}
.segmented-control button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 6px;
}
.segmented-control button.selected {
  background: var(--accent-pale);
  color: var(--accent);
  font-weight: 650;
}
.segmented-control button:hover {
  background: #f1f4f7;
}
.play-button {
  height: 29px;
  width: 29px;
  background: #f0f2f3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5d7185;
  margin-left: 2px;
}
.scene-interaction-hint {
  position: absolute;
  bottom: 10px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  pointer-events: none;
}
.metrics-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  min-height: 101px;
  background: #fff;
  padding: 23px 25px 18px;
  gap: 20px;
  border-top: 1px solid #dde4df;
}
.metric {
  padding-right: 10px;
  min-width: 0;
}
.metric > span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.metric > strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 570;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metric strong small {
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
  letter-spacing: 0;
  font-weight: 500;
}
.metric > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.metrics-action {
  border-left: 1px solid var(--line);
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.metrics-action .eyebrow {
  font-size: 11px;
  letter-spacing: 1px;
}
.metrics-action button {
  font-size: 11px;
  color: var(--accent);
  font-weight: 620;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0;
  text-align: left;
}
.model-notice {
  height: 31px;
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fafbf9;
  border-top: 1px solid #eef0ed;
  color: var(--muted);
  font-size: 11px;
  gap: 15px;
}
.model-notice > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.model-notice button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  padding: 0;
}
.status-dot {
  background: #88a99c;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.scene-label,
.dimension-label {
  background: #ffffffc9;
  border: 1px solid #ffffffc9;
  border-radius: 5px;
  padding: 4px 7px;
  font-family: "Geist Variable", sans-serif;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 0 2px 8px #152c3810;
  pointer-events: none;
  user-select: none;
}
.dimension-label {
  font-size: 11px;
  background: #f5f7f1b0;
  border: 0;
  box-shadow: none;
  padding: 3px 5px;
  color: var(--muted);
}
.flow-legend {
  position: absolute;
  bottom: 105px;
  right: 25px;
  z-index: 2;
  background: #fffffff0;
  border: 1px solid #ffffffc0;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 3px 15px #283e5010;
  max-width: 180px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.flow-legend strong {
  font-size: 11px;
  color: #5b6f82;
  font-weight: 650;
}
.flow-legend small {
  font-size: 11px;
  line-height: 1.45;
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.flow-legend > div {
  margin-top: 5px;
}
.scene-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3px;
}
.scene-loading svg {
  animation: breathe 2s infinite ease-in-out;
}
.scene-fallback {
  width: 100%;
  height: 100%;
  position: relative;
}
.scene-fallback svg {
  width: 100%;
  height: 100%;
}
.scene-fallback > p {
  position: absolute;
  bottom: 110px;
  left: 25px;
  max-width: 240px;
  color: var(--muted);
  font-size: 11px;
}
.section-control {
  position: absolute;
  top: 84px;
  right: 25px;
  width: 190px;
  padding: 14px;
  background: #ffffffe8;
  border-radius: 8px;
  z-index: 3;
  backdrop-filter: blur(8px);
}
.section-control .slider-field {
  margin: 0;
}
.calculation-status {
  position: absolute;
  top: 70px;
  right: 26px;
  display: flex;
  gap: 7px;
  align-items: center;
  background: #ffffffe6;
  color: var(--muted);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 11px;
  z-index: 4;
}
.status-spinner {
  height: 9px;
  width: 9px;
  border: 1px solid #cbd8e4;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.solution-intro {
  margin: 0 0 18px;
}
.solution-intro .eyebrow {
  font-size: 11px;
}
.solution-intro h2 {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.65px;
  margin: 8px 0;
}
.solution-intro p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scenario-card {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #e4e9ec;
  border-radius: 8px;
  gap: 11px;
  text-align: left;
  background: #fff;
}
.scenario-card > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.scenario-card strong {
  display: block;
  font-size: 11px;
  font-weight: 630;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scenario-card small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
}
.scenario-card > svg {
  color: var(--muted);
}
.scenario-letter {
  height: 29px;
  width: 29px;
  min-width: 29px;
  display: grid;
  place-items: center;
  font-size: 11px;
  background: #f3f5f7;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 650;
}
.scenario-card.selected {
  border-color: #bbdbdd;
  background: #f9fdfd;
  box-shadow: 0 2px 6px #3c6dd808;
}
.scenario-card.selected .scenario-letter {
  background: var(--accent);
  color: white;
}
.scenario-card.selected > svg {
  color: var(--accent);
}
.scenario-card:hover {
  border-color: #bbdbdd;
}
.scenario-actions {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 20px;
  gap: 8px;
}
.select-label,
.text-field {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.select-label select,
.text-field input {
  display: block;
  border: 1px solid #e0e5e8;
  border-radius: 6px;
  background: #fbfcfd;
  width: 100%;
  min-height: 38px;
  padding: 9px;
  font-size: 11px;
  margin-top: 7px;
}
.slider-field {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  color: var(--muted);
}
.slider-field > span:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}
.slider-field strong {
  color: #4c627a;
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.slider-field strong small {
  font-size: 11px;
  color: var(--muted);
  margin-left: 2px;
}
.slider-field input {
  width: 100%;
  display: block;
  accent-color: var(--accent);
  height: 16px;
  cursor: pointer;
  margin: 0;
}
.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.helper-text {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0;
}
.selection-hint {
  display: flex;
  gap: 9px;
  background: #f6f8fa;
  border-radius: 7px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  padding: 12px;
}
.selection-hint svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.result-pair {
  display: flex;
  gap: 14px;
}
.result-pair > span {
  flex: 1;
  font-size: 11px;
  color: var(--muted);
}
.result-pair strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  letter-spacing: -0.6px;
  font-weight: 550;
  color: #4d637b;
}
.result-pair small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.danger:hover {
  color: var(--danger);
  background: #fbefee;
}
.text-field input {
  margin-top: 7px;
}
.inspector-closed .inspector {
  display: none;
}
.inspector-closed .inspector-toggle {
  display: block;
}
.canvas-toolbar .inspector-toggle {
  display: block;
}
.error-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff5e8;
  color: var(--warn);
  padding: 9px 24px;
  font-size: 11px;
  gap: 10px;
}
.error-banner button {
  color: #79541e;
  text-decoration: underline;
  white-space: nowrap;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
  background: #233950;
  color: #f1f6f6;
  z-index: 90;
  padding: 13px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 35px #19334b30;
  font-size: 11px;
  max-width: calc(100vw - 40px);
  animation: toast-enter 0.18s ease-out;
}
.toast > svg {
  color: #a6d6bf;
  flex-shrink: 0;
}
.toast button {
  color: #b3c5d5;
  display: grid;
  place-items: center;
  margin-left: 8px;
  padding: 5px;
}
.dialog {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 90px #142a4550;
  background: #fff;
  color: var(--ink);
  padding: 28px;
  width: min(500px, calc(100vw - 36px));
  max-height: 90dvh;
  overflow: auto;
}
.dialog-wide {
  width: min(850px, calc(100vw - 36px));
}
.dialog::backdrop {
  background: #172a4259;
  backdrop-filter: blur(5px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 18px;
}
.dialog-header .eyebrow {
  font-size: 11px;
  color: var(--muted);
}
.dialog h2 {
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 550;
  line-height: 1.4;
  margin-top: 8px;
}
.dialog-description {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 22px;
  max-width: 600px;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.activity-option {
  text-align: left;
  border: 1px solid #e1e7ed;
  border-radius: 10px;
  min-height: 185px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.activity-option:hover {
  background: #f9fdfd;
  border-color: #bcdbdd;
  transform: translateY(-1px);
}
.activity-option strong {
  font-size: 12px;
  font-weight: 620;
  margin: 13px 0 7px;
}
.activity-option p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 12px;
}
.activity-link {
  font-size: 11px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.object-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.object-options button {
  border: 1px solid #e1e6eb;
  border-radius: 9px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.object-options button:hover {
  border-color: #b1d4d7;
  background: #f8fcfc;
}
.object-options strong {
  font-size: 11px;
  flex: 1;
}
.object-options svg {
  color: var(--muted);
}
.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 20px;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.project-list-item {
  display: flex;
  align-items: center;
  border: 1px solid #e5eaef;
  border-radius: 10px;
  padding-right: 9px;
}
.project-list-item.current {
  border-color: #cbe1e2;
  background: #fafdfd;
}
.project-list-item > button:first-child {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  padding: 15px;
}
.project-list-icon {
  height: 40px;
  width: 40px;
  background: #f3f7f7;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
}
.project-list-item button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.project-list-item strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
}
.project-list-item small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  display: block;
}
.project-list-item button > svg {
  color: var(--muted);
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
}
.method-grid h3,
.warnings h3 {
  font-size: 12px;
  margin: 0 0 10px;
  font-weight: 650;
}
.method-grid p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 24px;
}
.warnings {
  padding: 20px;
  background: #faf8f3;
  border: 1px solid #eee6d8;
  border-radius: 10px;
  margin-top: 5px;
}
.warnings li,
.warnings p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--warn);
}
.warnings ul {
  padding-left: 16px;
  margin: 0;
}
.offline-explanation {
  display: flex;
  gap: 15px;
  padding: 21px;
  background: #f4f8f7;
  border-radius: 10px;
  margin-top: 18px;
  color: var(--ok);
}
.offline-explanation > svg {
  flex-shrink: 0;
}
.offline-explanation strong {
  font-size: 12px;
  font-weight: 600;
}
.offline-explanation p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
}
.comparison {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: #f7f8f6;
  padding: 24px 30px;
}
.comparison-heading {
  position: relative;
  margin-bottom: 20px;
}
.comparison-heading > .text-button {
  position: absolute;
  right: 0;
  top: 0;
}
.comparison-heading h2 {
  font-size: 26px;
  letter-spacing: -1px;
  line-height: 1.4;
  font-weight: 550;
  margin: 7px 0;
}
.comparison-heading h2 span {
  color: var(--muted);
}
.comparison-heading p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 10px;
}
.comparison-scenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.comparison-card {
  background: #fff;
  border: 1px solid #e2e7e3;
  border-radius: 12px;
  overflow: hidden;
}
.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf0ed;
}
.comparison-card-header select {
  border: 0;
  background: none;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
}
.comparison-card-header .text-button {
  font-size: 11px;
}
.comparison-canvas {
  height: 290px;
  position: relative;
  background: radial-gradient(ellipse, #f0f3ee, #e5eae4);
}
.comparison-canvas .flow-legend {
  display: none;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 11px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #edf0ed;
}
.comparison-table thead th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 550;
  background: #f0f3f1;
}
.comparison-table tbody th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.comparison-table td {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #597187;
}
.comparison-table small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 3px;
}
.comparison-table .delta {
  color: var(--accent);
  background: #fbfdfd;
}
.comparison-footnote {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 16px;
  max-width: 900px;
}
.presentation-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  z-index: 20;
  border-top: 1px solid #e0e6e1;
  gap: 15px;
}
.presentation-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -1px;
}
.presentation-brand span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.6px;
  margin-left: 3px;
}
.presentation-steps {
  display: flex;
  gap: 15px;
}
.presentation-steps button {
  font-size: 11px;
  color: var(--muted);
  padding: 8px 0;
  display: flex;
  gap: 6px;
  align-items: center;
}
.presentation-steps button.selected {
  color: var(--accent);
  font-weight: 650;
}
.presentation-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.presentation-actions .button {
  margin-left: 12px;
}
.presentation-caption {
  position: absolute;
  top: 75px;
  left: 45px;
  max-width: 570px;
  pointer-events: none;
}
.presentation-caption .eyebrow {
  font-size: 11px;
  color: var(--muted);
}
.presentation-caption h1 {
  font-size: clamp(28px, 3.4vw, 47px);
  font-weight: 480;
  line-height: 1.22;
  letter-spacing: -2px;
  color: #3d555d;
  margin-top: 12px;
}
.presentation-caption p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
  margin-top: 14px;
}
.is-presenting .rail,
.is-presenting .topbar,
.is-presenting .project-header,
.is-presenting .inspector,
.is-presenting .model-notice,
.is-presenting .scene-caption,
.is-presenting .error-banner {
  display: none;
}
.is-presenting .workspace {
  border: 0;
  padding-bottom: 80px;
}
.is-presenting .metrics-strip {
  min-height: 95px;
}
.is-presenting .canvas-toolbar {
  top: 20px;
}
.is-presenting .canvas-toolbar .inspector-toggle {
  display: none;
}
.is-presenting .flow-controls {
  bottom: 20px;
}
.is-presenting .scene-interaction-hint {
  display: none;
}
.is-presenting .flow-legend {
  bottom: 95px;
}
.print-report {
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  50% {
    opacity: 0.4;
    transform: translateX(4px);
  }
}
@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (min-width: 1600px) {
  :root {
    font-size: 14px;
  }
  .inspector {
    width: 320px;
    flex-basis: 320px;
  }
  .inspector-content {
    padding: 25px 28px;
  }
  .topbar {
    height: 72px;
    min-height: 72px;
  }
  .project-header {
    min-height: 128px;
    padding: 20px 35px;
  }
  .canvas-toolbar {
    top: 25px;
    left: 32px;
    right: 32px;
  }
  .scene-caption {
    left: 37px;
    top: 105px;
  }
  .metrics-strip {
    padding: 27px 35px;
    min-height: 112px;
  }
  .metric > strong {
    font-size: 26px;
  }
  .flow-controls {
    bottom: 35px;
  }
  .number-field,
  .section-heading h3,
  .inspector-tabs button {
    font-size: 11px;
  }
  .object-item > span:nth-child(2) {
    font-size: 11px;
  }
  .number-box {
    min-height: 42px;
  }
  .inspector-footer .button {
    font-size: 11px;
  }
}
@media (max-width: 1150px) {
  .rail {
    width: 58px;
    flex-basis: 58px;
  }
  .brand-mark {
    width: 58px;
  }
  .topbar {
    padding: 0 22px;
    gap: 22px;
  }
  .topbar-path {
    display: none;
  }
  .project-header {
    padding: 16px 23px;
    min-height: 104px;
  }
  .project-title input {
    font-size: 23px;
  }
  .inspector {
    width: 264px;
    flex-basis: 264px;
  }
  .inspector-content {
    padding: 18px;
  }
  .inspector-footer {
    padding: 14px;
  }
  .canvas-toolbar {
    left: 18px;
    right: 18px;
    top: 16px;
  }
  .scene-caption {
    left: 23px;
    top: 76px;
  }
  .scene-caption h2 {
    font-size: 17px;
  }
  .flow-label {
    display: none;
  }
  .flow-controls {
    bottom: 26px;
    padding: 6px;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 19px 22px;
    gap: 10px;
    min-height: 92px;
  }
  .metrics-action {
    display: none;
  }
  .metric > strong {
    font-size: 21px;
  }
  .model-notice {
    padding: 0 18px;
    font-size: 11px;
  }
  .model-notice button {
    font-size: 11px;
  }
  .flow-legend {
    right: 18px;
    bottom: 96px;
  }
  .comparison {
    padding: 20px;
  }
  .comparison-canvas {
    height: 250px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 13px;
  }
  .presentation-steps button span {
    display: none;
  }
}
@media (max-width: 900px) {
  .topbar {
    height: 58px;
    min-height: 58px;
  }
  .clauger-signature {
    display: none;
  }
  .project-header {
    min-height: 95px;
  }
  .project-title input {
    font-size: 21px;
    min-width: 80px;
  }
  .project-actions {
    gap: 7px;
  }
  .project-actions .button {
    padding: 9px 11px;
    min-height: 38px;
  }
  .project-actions .undo-button {
    display: none;
  }
  .project-actions .export-button span {
    display: none;
  }
  .rail {
    width: 52px;
    flex-basis: 52px;
  }
  .rail-navigation button {
    width: 36px;
    height: 39px;
    border-radius: 9px;
  }
  .brand-mark {
    width: 52px;
  }
  .inspector {
    position: absolute;
    left: 52px;
    top: 153px;
    bottom: 0;
    width: 270px;
    z-index: 10;
    box-shadow: 8px 0 20px #1d344213;
  }
  .inspector-closed .inspector {
    display: none;
  }
  .canvas-toolbar {
    z-index: 12;
  }
  .workspace:not(.inspector-closed) .studio-main {
    margin-left: 270px;
  }
  .view-tabs button {
    padding: 7px 10px;
  }
  .canvas-tools {
    gap: 4px;
  }
  .canvas-tools .icon-button {
    height: 30px;
    width: 30px;
  }
  .scene-caption {
    top: 72px;
  }
  .segmented-control button {
    padding: 9px 8px;
  }
  .segmented-control button span {
    font-size: 11px;
  }
  .metric > span {
    font-size: 11px;
  }
  .metric > strong {
    font-size: 20px;
  }
  .metrics-strip {
    padding: 16px 18px;
  }
  .flow-legend {
    font-size: 11px;
    max-width: 145px;
  }
  .flow-legend strong {
    font-size: 11px;
  }
  .model-notice > span {
    max-width: 60%;
    line-height: 1.5;
  }
  .scene-interaction-hint {
    display: none;
  }
  .comparison-canvas {
    height: 235px;
  }
  .comparison-heading h2 {
    font-size: 23px;
  }
  .comparison-card-header {
    padding: 10px;
    gap: 8px;
  }
  .comparison-card-header .text-button {
    display: none;
  }
  .is-presenting .workspace .studio-main {
    margin-left: 0;
  }
  .presentation-caption {
    left: 28px;
    top: 70px;
    max-width: 420px;
  }
  .presentation-caption p {
    font-size: 11px;
    max-width: 340px;
  }
  .presentation-caption h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .dialog h2 {
    font-size: 23px;
  }
}
@media (max-width: 650px) {
  .rail {
    display: none;
  }
  .topbar {
    padding: 0 17px;
    height: 54px;
    min-height: 54px;
  }
  .wordmark {
    font-size: 23px;
  }
  .connection-badge {
    font-size: 11px;
    gap: 5px;
  }
  .project-header {
    padding: 13px 17px;
    min-height: 94px;
    gap: 10px;
  }
  .project-heading .eyebrow {
    font-size: 11px;
  }
  .project-title input {
    font-size: 19px;
    max-width: 220px;
  }
  .project-title .icon-button {
    width: 22px;
  }
  .save-status {
    font-size: 11px;
  }
  .project-actions {
    gap: 6px;
  }
  .project-actions .button {
    min-height: 35px;
    font-size: 11px;
    padding: 8px 10px;
    gap: 5px;
  }
  .project-actions .button.primary > svg:last-child {
    display: none;
  }
  .project-actions .export-button {
    display: none;
  }
  .inspector {
    left: 0;
    top: 148px;
    bottom: 0;
    width: 260px;
    box-shadow: 16px 0 40px #1d344227;
  }
  .workspace:not(.inspector-closed) .studio-main {
    margin-left: 0;
  }
  .workspace:not(.inspector-closed) .canvas-toolbar {
    left: 274px;
  }
  .workspace:not(.inspector-closed) .view-tabs button:not(.inspector-toggle) {
    display: none;
  }
  .workspace:not(.inspector-closed) .canvas-tools {
    display: none;
  }
  .workspace:not(.inspector-closed) .scene-caption {
    display: none;
  }
  .canvas-toolbar {
    left: 15px;
    right: 15px;
    top: 14px;
  }
  .view-tabs {
    padding: 3px;
  }
  .view-tabs button {
    font-size: 11px;
    padding: 7px 9px;
  }
  .canvas-tools .icon-button {
    width: 29px;
    height: 29px;
  }
  .canvas-tools .icon-button:first-child {
    display: none;
  }
  .scene-caption {
    left: 20px;
    top: 70px;
  }
  .scene-caption h2 {
    font-size: 17px;
  }
  .scene-caption p {
    font-size: 11px;
  }
  .flow-controls {
    bottom: 24px;
    padding: 5px;
    gap: 5px;
    max-width: calc(100% - 25px);
  }
  .segmented-control button {
    padding: 9px 8px;
  }
  .flow-legend {
    right: 15px;
    bottom: 86px;
    max-width: 140px;
    padding: 8px 10px;
  }
  .metrics-strip {
    padding: 16px 17px;
    min-height: 84px;
    gap: 8px;
  }
  .metric > strong {
    font-size: 20px;
  }
  .metric strong small {
    font-size: 11px;
    margin-left: 4px;
  }
  .metric > p {
    display: none;
  }
  .metric > span {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .model-notice {
    padding: 0 13px;
    gap: 7px;
    height: 34px;
    min-height: 34px;
  }
  .model-notice > span {
    font-size: 11px;
  }
  .model-notice button {
    font-size: 11px;
  }
  .dialog {
    padding: 22px;
    border-radius: 13px;
  }
  .dialog h2 {
    font-size: 23px;
  }
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }
  .activity-option {
    min-height: 185px;
    padding: 14px;
  }
  .activity-option strong {
    font-size: 11px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .object-options {
    grid-template-columns: 1fr;
  }
  .comparison {
    padding: 15px;
  }
  .comparison-heading > .text-button {
    position: static;
    margin-bottom: 12px;
  }
  .comparison-scenes {
    gap: 10px;
  }
  .comparison-canvas {
    height: 180px;
  }
  .comparison-card-header {
    gap: 5px;
    padding: 8px;
  }
  .comparison-card-header .scenario-letter {
    width: 22px;
    height: 24px;
    min-width: 22px;
    font-size: 11px;
  }
  .comparison-card-header select {
    font-size: 11px;
  }
  .comparison-table {
    font-size: 11px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 10px 7px;
  }
  .comparison-table thead th {
    font-size: 11px;
  }
  .comparison-table tbody th {
    font-size: 11px;
  }
  .comparison-table small {
    font-size: 11px;
    margin-left: 0;
  }
  .comparison-footnote {
    font-size: 11px;
  }
  .presentation-bar {
    height: 68px;
    padding: 0 14px;
  }
  .presentation-brand {
    font-size: 17px;
  }
  .presentation-brand span {
    display: none;
  }
  .presentation-steps {
    gap: 12px;
  }
  .presentation-actions {
    gap: 0;
  }
  .presentation-actions .button {
    font-size: 11px;
    padding: 8px;
    min-height: 34px;
    margin-left: 3px;
  }
  .presentation-actions .icon-button {
    width: 29px;
  }
  .presentation-caption {
    left: 23px;
    max-width: 320px;
    top: 68px;
  }
  .presentation-caption h1 {
    font-size: 28px;
  }
  .presentation-caption p {
    font-size: 11px;
    max-width: 280px;
  }
  .presentation-caption .eyebrow {
    font-size: 11px;
  }
  .is-presenting .workspace {
    padding-bottom: 68px;
  }
  .is-presenting .metrics-strip {
    min-height: 83px;
  }
  .is-presenting .workspace .canvas-toolbar {
    left: 15px;
  }
  .is-presenting .workspace .view-tabs button:not(.inspector-toggle) {
    display: block;
  }
  .is-presenting .workspace .canvas-tools {
    display: flex;
  }
  .section-control {
    width: 150px;
    right: 15px;
    top: 130px;
  }
  .toast {
    font-size: 11px;
    bottom: 18px;
    min-width: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Legible controls at normal meeting distance, including tablet use. */
.section-heading h3,
.inspector-tabs button,
.inspector-footer .button,
.scenario-card strong {
  font-size: 11px;
}
.number-field,
.select-label,
.text-field {
  font-size: 11px;
}
.number-box input {
  font-size: 13px;
}
.object-item > span:nth-child(2) {
  font-size: 11px;
}
.object-item small,
.helper-text,
.volume-note {
  font-size: 11px;
}
.eyebrow {
  font-size: 11px;
}
.metric > span {
  font-size: 11px;
}
.metric strong small {
  font-size: 11px;
}
.model-notice {
  font-size: 11px;
}
.model-notice button {
  font-size: 11px;
}
.segmented-control button,
.view-tabs button {
  font-size: 11px;
}
.connection-badge {
  font-size: 11px;
}
.save-status {
  font-size: 11px;
}
.button {
  font-size: 12px;
}
.text-button {
  font-size: 11px;
}
.advanced-fields summary {
  font-size: 11px;
}
.scene-caption h2 {
  font-size: 23px;
}
.scene-caption p {
  font-size: 11px;
}
.scene-caption .eyebrow {
  font-size: 11px;
}
.flow-controls {
  gap: 6px;
}
.flow-label {
  display: none;
}
.flow-legend {
  max-width: 180px;
  height: auto;
  width: 180px;
  left: auto;
  bottom: 100px;
  right: 24px;
}
.slider-field {
  font-size: 11px;
}
.slider-bounds {
  font-size: 11px;
}
.section-control .slider-field {
  font-size: 11px;
}
.scenario-card small {
  font-size: 11px;
}
.model-notice {
  height: 36px;
  min-height: 36px;
}
.metrics-strip {
  gap: 18px;
}
.presentation-caption .eyebrow {
  font-size: 11px;
}
@media (max-width: 900px) {
  .connection-badge {
    font-size: 11px;
  }
  .metric > span {
    font-size: 11px;
  }
  .metric strong small {
    font-size: 11px;
  }
  .model-notice {
    font-size: 11px;
  }
  .model-notice button {
    font-size: 11px;
  }
  .view-tabs button {
    font-size: 11px;
  }
  .segmented-control button {
    font-size: 11px;
  }
  .flow-legend {
    width: 160px;
    right: 16px;
  }
  .scene-caption h2 {
    font-size: 19px;
  }
  .scene-caption p {
    font-size: 11px;
  }
}
@media (max-width: 650px) {
  .connection-badge {
    font-size: 11px;
  }
  .save-status {
    font-size: 11px;
  }
  .model-notice {
    font-size: 11px;
  }
  .model-notice button {
    font-size: 11px;
  }
  .flow-legend {
    width: 140px;
  }
  .view-tabs button {
    font-size: 11px;
  }
  .metric > span {
    font-size: 11px;
  }
  .metric strong small {
    font-size: 11px;
  }
}

.is-presenting .studio-scene {
  position: absolute !important;
  top: 160px;
  height: calc(100% - 160px) !important;
}
.is-presenting .flow-legend {
  bottom: 80px;
}
.proposal-empty {
  font-size: 11px;
  line-height: 1.8;
  padding: 12px;
  background: #fff5e8;
  color: var(--warn);
  border-radius: 8px;
  margin-top: 12px;
}
@media (pointer: coarse) {
  .icon-button {
    min-height: 40px;
    min-width: 40px;
  }
  .view-tabs button {
    min-height: 38px;
  }
  .segmented-control button {
    min-height: 38px;
  }
  .object-item {
    min-height: 48px;
  }
  .slider-field input {
    height: 30px;
  }
  .number-step button {
    min-width: 27px;
  }
  .number-box {
    min-height: 42px;
  }
}

/* Studio V2: local duct conditions and evidence-backed product comparison. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.duct-physics-settings {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 13px;
}
.duct-hydraulics {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 10px;
}
.duct-hydraulics summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  min-height: 44px;
  align-content: center;
}
.duct-hydraulics summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  margin: 5px 0;
}
.duct-hydraulics svg {
  width: 100%;
  height: auto;
  margin-top: 12px;
}
.duct-hydraulics svg text {
  font-size: 11px;
  fill: var(--muted);
  font-family: inherit;
}
.pressure-legend {
  display: flex;
  gap: 20px;
  font-size: 11px;
}
.pressure-legend span:first-child {
  color: #3867df;
}
.pressure-legend span:last-child {
  color: #9c5925;
}
.station-control {
  display: block;
  font-size: 11px;
  margin: 14px 0;
  color: #526c79;
}
.station-control input {
  width: 100%;
  min-height: 44px;
  accent-color: var(--accent);
}
.hydraulic-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
  margin: 12px 0;
}
.hydraulic-values dt {
  color: var(--muted);
  font-size: 11px;
}
.hydraulic-values dd {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.comparison-view-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0;
}
.comparison-view-controls button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #d6dfd8;
  border-radius: 6px;
  background: white;
  font-size: 12px;
}
.comparison-view-controls button.selected {
  background: #213e42;
  color: white;
  border-color: #213e42;
}
.comparison-view-controls span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.exposure-comparison {
  margin-top: 30px;
  padding: 26px 0;
  border-top: 1px solid #cad6cd;
}
.exposure-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}
.exposure-heading h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 550;
  line-height: 1.3;
  margin: 8px 0;
}
.exposure-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.exposure-delta {
  padding-left: 24px;
  border-left: 1px solid #c3d0c1;
  align-content: center;
}
.exposure-delta strong {
  font-size: 24px;
  letter-spacing: -0.7px;
  display: block;
  font-weight: 550;
}
.exposure-delta strong small {
  font-size: 13px;
}
.exposure-delta span {
  color: var(--muted);
  font-size: 11px;
  display: block;
  line-height: 1.7;
  margin-top: 7px;
}
.exposure-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-block: 1px solid #d6dfd5;
  margin-bottom: 22px;
}
.exposure-target-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.exposure-target-controls input {
  width: 70px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #b8c9bf;
  border-radius: 5px;
  background: white;
  text-align: center;
}
.exposure-object-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.exposure-object-label select {
  max-width: 260px;
  min-height: 44px;
  border: 1px solid #b8c9bf;
  border-radius: 5px;
  padding: 8px;
  background: white;
}
.exposure-toolbar > .button {
  margin-left: auto;
  font-size: 11px;
  min-height: 44px;
}
.exposure-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.exposure-card {
  min-width: 0;
  border: 1px solid #d4dfd5;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.exposure-card > header {
  display: flex;
  gap: 12px;
  padding: 18px;
  align-items: center;
  border-bottom: 1px solid #e1e8de;
}
.exposure-card h4 {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}
.evidence-badge {
  font-size: 11px;
  display: block;
  color: #5c7270;
  margin-top: 4px;
}
.evidence-badge.synthetic {
  color: #93551f;
  font-weight: 650;
}
.exposure-empty {
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
  gap: 12px;
  background: #f3f5f0;
  color: #57746a;
}
.exposure-empty strong {
  font-size: 17px;
  font-weight: 550;
  color: #294c40;
}
.exposure-empty p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 390px;
}
.evidence-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px;
  border-top: 1px solid #e1e8de;
}
.evidence-actions .button {
  min-height: 44px;
  font-size: 12px;
}
.evidence-actions .text-button {
  min-height: 44px;
  font-size: 11px;
}
.evidence-source {
  border-top: 1px solid #e1e8de;
  padding: 0 18px;
}
.evidence-source summary,
.evidence-help summary,
.product-exposure-detail summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 0;
}
.evidence-source dl {
  font-size: 11px;
  margin: 8px 0 15px;
}
.evidence-source dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  margin: 8px 0;
}
.evidence-source dt {
  color: var(--muted);
}
.evidence-source dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.evidence-source p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.evidence-error,
.evidence-notice {
  padding: 14px 17px;
  border-left: 3px solid #b6753d;
  background: #fff4e6;
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.evidence-error {
  color: #8d431e;
}
.evidence-notice {
  background: #edf3ec;
  border-color: #71927d;
  color: #415f54;
}
.exposure-card > .evidence-error {
  margin: 0;
}
.evidence-notice ul {
  padding-left: 18px;
  margin: 6px 0 0;
}
.exposure-map {
  width: 100%;
  height: auto;
  background: #fafbf7;
}
.exposure-map text {
  font-family: inherit;
  font-size: 11px;
  fill: var(--muted);
}
.exposure-map g[role="button"] {
  cursor: pointer;
}
.exposure-map g[role="button"]:focus-visible rect {
  stroke: #c27730;
  stroke-width: 3;
}
.exposure-metrics {
  padding: 15px 18px 19px;
}
.exposure-main-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.exposure-main-stat strong {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 550;
  color: #274b40;
}
.exposure-main-stat strong small {
  font-size: 16px;
}
.exposure-main-stat > span {
  font-size: 11px;
  color: var(--muted);
}
.exposure-bar {
  width: 100%;
  height: 13px;
  display: flex;
  overflow: hidden;
  margin: 12px 0;
}
.exposure-bar > span {
  height: 100%;
}
.exposure-below {
  background: #397ca5;
}
.exposure-bar .exposure-target,
.exposure-legend .exposure-target {
  background: #3b8067;
}
.exposure-above {
  background: #b86a2f;
}
.exposure-unknown {
  background: repeating-linear-gradient(
    45deg,
    #8d9893,
    #8d9893 3px,
    #e4eae0 3px,
    #e4eae0 6px
  );
}
.exposure-shares {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.exposure-shares span {
  color: var(--muted);
  font-size: 11px;
}
.exposure-shares strong {
  display: block;
  font-size: 14px;
  color: #2b5145;
  margin-top: 4px;
  font-weight: 650;
}
.exposure-range {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #dbe4d9;
  padding-top: 12px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.exposure-range b {
  color: #2b5145;
  font-weight: 600;
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.exposure-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #dbe4d9;
}
.exposure-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #526e64;
}
.exposure-legend span:last-child {
  margin-left: auto;
}
.exposure-legend i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.evidence-help {
  margin-top: 12px;
}
.evidence-help p {
  font-size: 12px;
  color: #546f65;
  margin: 8px 0 12px;
  line-height: 1.8;
  max-width: 1050px;
}
.product-exposure-detail {
  padding: 18px;
  background: #f4f7f0;
  border-top: 1px solid #dae2d7;
}
.product-exposure-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
.product-exposure-detail dt {
  font-size: 11px;
  color: var(--muted);
}
.product-exposure-detail dd {
  font-size: 12px;
  margin: 4px 0 0;
  font-weight: 650;
}
.sample-table-scroll {
  max-height: 250px;
  overflow: auto;
}
.sample-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.sample-table-scroll td,
.sample-table-scroll th {
  border-bottom: 1px solid #d9e0d6;
  text-align: left;
  padding: 8px;
  overflow-wrap: anywhere;
}
.sample-table-scroll thead th {
  position: sticky;
  top: 0;
  background: #e9eee3;
}
@media (max-width: 1100px) {
  .exposure-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .exposure-delta {
    border-left: 0;
    border-top: 1px solid #c3d0c1;
    padding: 18px 0 0;
  }
  .exposure-toolbar > .button {
    margin-left: 0;
  }
  .evidence-actions {
    gap: 8px;
  }
  .evidence-source dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
@media (max-width: 750px) {
  .exposure-cards {
    grid-template-columns: 1fr;
  }
  .exposure-heading h3 {
    font-size: 21px;
  }
  .comparison-view-controls {
    flex-wrap: wrap;
  }
  .comparison-view-controls span {
    flex-basis: 100%;
    margin: 6px 0;
  }
  .exposure-object-label {
    flex-wrap: wrap;
  }
  .exposure-legend span:last-child {
    flex-basis: 100%;
    margin-left: 0;
  }
  .exposure-toolbar {
    gap: 14px;
  }
  .exposure-comparison {
    padding: 20px 0;
  }
}
.access-screen {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(360px, 1fr);
  background: #f5f6f7;
  color: #172832;
}
.access-intro {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  padding: 56px 9% 44px;
  background: #142c36;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.access-brand {
  position: absolute;
  top: 48px;
  left: 9%;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.2px;
}
.access-brand small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-left: 9px;
  color: #b1c9d3;
}
.access-intro > .eyebrow {
  color: #8ac4bb;
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 1;
}
.access-intro h1 {
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.12;
  letter-spacing: -2.8px;
  font-weight: 600;
  margin: 18px 0 28px;
  z-index: 1;
}
.access-intro > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
  color: #b8cbd2;
  z-index: 1;
}
.access-signature {
  position: absolute;
  bottom: 45px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #b8cbd2;
}
.access-lines {
  position: absolute;
  inset: 52% -22% -5% 25%;
  transform: rotate(-27deg);
  opacity: 0.22;
  pointer-events: none;
}
.access-lines i {
  position: absolute;
  width: 110%;
  height: 90%;
  border: 1px solid #75b6bf;
  border-radius: 50%;
  inset: 0;
}
.access-lines i:nth-child(2) {
  inset: 9% 0;
}
.access-lines i:nth-child(3) {
  inset: 18% 0;
}
.access-lines i:nth-child(4) {
  inset: 27% 0;
}
.access-lines i:nth-child(5) {
  inset: 36% 0;
}
.access-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.access-card {
  width: 100%;
  max-width: 430px;
}
.access-lock {
  height: 55px;
  width: 55px;
  border: 1px solid #d7e2e4;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #326766;
  margin-bottom: 36px;
}
.access-card h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 13px 0 18px;
}
.access-card > p {
  font-size: 14px;
  line-height: 1.8;
  color: #56676e;
}
.access-card .access-login {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 12px;
  padding: 16px 20px;
  text-decoration: none;
  min-height: 54px;
}
.access-card > .button.secondary {
  width: 100%;
  justify-content: center;
}
.access-card > .access-footnote {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 32px;
  color: var(--muted);
}
.access-notice {
  font-size: 13px;
  line-height: 1.7;
  padding: 13px 15px;
  background: #edf2f3;
  border: 1px solid #d7e2e4;
  border-radius: 10px;
  color: #455c65;
}
.access-loading {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #365b67;
  background: #f5f6f7;
}
.access-spinner {
  animation: access-spin 1.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes access-spin {
  to {
    transform: rotate(360deg);
  }
}
.cloud-current {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #eef5f3;
  border: 1px solid #d7e6e0;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
  color: #294f46;
}
.cloud-current > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.cloud-current small {
  font-size: 11px;
  letter-spacing: 1.3px;
}
.cloud-current strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.cloud-current span {
  font-size: 11px;
  color: #527468;
}
.cloud-current .button {
  max-width: 250px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
}
.cloud-error,
.cloud-success {
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.7;
  border-radius: 8px;
  margin: 14px 0;
}
.cloud-error {
  color: #8b3636;
  background: #fff0ed;
  border: 1px solid #efd3cc;
}
.cloud-success {
  color: #235f48;
  background: #eff8f2;
  display: flex;
  gap: 9px;
  align-items: center;
}
.cloud-status {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.cloud-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(280px, 1.2fr);
  gap: 24px;
  border-top: 1px solid #e5eaeb;
  padding-top: 18px;
  margin-top: 18px;
}
.cloud-section-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.cloud-section-heading h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cloud-list {
  max-height: 540px;
  overflow: auto;
  padding-right: 6px;
}
.cloud-project {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  text-align: left;
  border: 1px solid #e0e7e8;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin: 8px 0;
  color: #20353d;
}
.cloud-project.selected {
  border-color: #568b80;
  background: #f3f8f6;
}
.cloud-project strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.cloud-project span,
.cloud-project small {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.cloud-project em {
  font-size: 11px;
  font-style: normal;
  color: #477864;
}
.cloud-detail {
  border-left: 1px solid #e5eaeb;
  padding: 15px 0 15px 24px;
}
.cloud-detail > h3 {
  font-size: 21px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.cloud-detail > .button {
  margin: 14px 0;
  white-space: normal;
  text-align: left;
}
.cloud-empty {
  padding: 50px 15px;
  color: var(--muted);
  line-height: 1.7;
}
.cloud-empty h3 {
  font-size: 18px;
  color: #425b65;
  font-weight: 550;
}
.cloud-empty p {
  font-size: 13px;
}
.cloud-review-summary {
  background: #f5f7f7;
  border-radius: 9px;
  padding: 14px;
  line-height: 1.7;
  margin: 12px 0 20px;
}
.cloud-review-summary strong {
  font-size: 12px;
  color: #35675c;
}
.cloud-review-summary p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.cloud-review-summary small {
  font-size: 11px;
  color: var(--muted);
}
.cloud-review-summary blockquote {
  margin: 10px 0;
  padding-left: 10px;
  border-left: 2px solid #91afa7;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cloud-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.cloud-subsection {
  border-top: 1px solid #e3e9ea;
  padding-top: 18px;
  margin-top: 22px;
}
.cloud-subsection h3,
.cloud-subsection h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}
.cloud-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #465963;
}
.cloud-field input,
.cloud-field select,
.cloud-field textarea,
.admin-member select {
  font: inherit;
  font-size: 13px;
  border: 1px solid #d6e0e3;
  border-radius: 7px;
  background: #fff;
  padding: 11px 12px;
  color: #263e48;
  min-width: 0;
  width: 100%;
}
.cloud-field textarea {
  resize: vertical;
  line-height: 1.6;
  font-weight: 400;
}
.cloud-field input:focus,
.cloud-field select:focus,
.cloud-field textarea:focus,
.admin-member select:focus {
  outline: 2px solid #548a81;
  outline-offset: 2px;
}
.cloud-revision {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e8edee;
}
.cloud-revision > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cloud-revision strong {
  font-size: 12px;
}
.cloud-revision small {
  font-size: 11px;
  color: var(--muted);
}
.cloud-revision .button {
  font-size: 11px;
  min-height: 32px;
}
.cloud-share-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 250px;
  overflow: auto;
  margin: 14px 0;
}
.cloud-share-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.cloud-share-list input {
  width: 17px;
  height: 17px;
  accent-color: #356d5a;
}
.cloud-share-list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cloud-share-list small {
  font-size: 11px;
  color: var(--muted);
}
.admin-role-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.admin-role-guide > div {
  border: 1px solid #dfe7e8;
  border-radius: 10px;
  padding: 16px;
  background: #f8faf9;
}
.admin-role-guide strong {
  font-size: 12px;
  color: #2f554b;
}
.admin-role-guide p {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 0;
  color: var(--muted);
}
.admin-invite {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: #f2f6f5;
  border-radius: 10px;
}
.admin-invite .button {
  min-height: 41px;
  font-size: 12px;
}
.admin-members {
  margin-top: 6px;
  max-height: 430px;
  overflow: auto;
}
.admin-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e4ebeb;
}
.admin-member > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}
.admin-member strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.admin-member small {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.admin-member select {
  width: 175px;
  font-size: 11px;
  padding: 9px;
}
.admin-member .button {
  font-size: 11px;
  padding: 9px 11px;
}
.admin-member-status {
  font-size: 11px;
  color: var(--ok);
}
.admin-member-status.suspended {
  color: #a05848;
}
.admin-you {
  font-size: 11px;
  font-weight: 500;
  border: 1px solid #ccdcd6;
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 8px;
  color: var(--ok);
}
.admin-audit {
  max-height: 250px;
  overflow: auto;
}
.admin-audit > div {
  display: grid;
  grid-template-columns: 145px 1fr 1.2fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e8ecee;
  font-size: 11px;
  color: var(--muted);
}
.admin-audit strong {
  font-weight: 600;
  color: #465e68;
}
.admin-audit span {
  overflow-wrap: anywhere;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0;
}
.account-avatar {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: #ddece5;
  border-radius: 18px;
  font-size: 22px;
  font-weight: 650;
  color: #386452;
}
.account-identity h3 {
  font-size: 18px;
  margin: 0 0 7px;
}
.account-identity p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 7px;
}
.account-identity strong {
  font-size: 11px;
  color: #44765f;
}
.account-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0e7e7;
  display: flex;
  justify-content: flex-end;
}
.rail-bottom button.avatar {
  background: #e4eeea;
  color: #366552;
  font-size: 14px;
}
@media (max-width: 1050px) {
  .cloud-open-button span {
    display: none;
  }
  .admin-invite {
    grid-template-columns: 1fr 1fr;
  }
  .admin-invite .button {
    grid-column: 1/-1;
    justify-content: center;
  }
  .admin-member {
    flex-wrap: wrap;
  }
  .admin-member > div {
    flex-basis: calc(100% - 200px);
  }
  .access-panel {
    padding: 35px;
  }
  .access-intro {
    padding-left: 8%;
    padding-right: 8%;
  }
}
@media (max-width: 700px) {
  .access-screen {
    display: block;
  }
  .access-intro {
    min-height: 260px;
    padding: 108px 28px 30px;
  }
  .access-brand {
    top: 26px;
    left: 28px;
    font-size: 26px;
  }
  .access-intro h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
    margin: 10px 0;
  }
  .access-intro > p:not(.eyebrow),
  .access-signature {
    display: none;
  }
  .access-intro > .eyebrow {
    font-size: 11px;
  }
  .access-panel {
    padding: 34px 28px;
  }
  .access-lock {
    display: none;
  }
  .access-card h2 {
    font-size: 25px;
  }
  .cloud-layout {
    grid-template-columns: 1fr;
  }
  .cloud-list {
    max-height: 210px;
  }
  .cloud-detail {
    border-left: 0;
    border-top: 1px solid #e0e7e8;
    padding: 20px 0;
  }
  .cloud-current {
    flex-wrap: wrap;
  }
  .cloud-current .button {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
  .admin-role-guide {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .admin-role-guide > div {
    padding: 12px;
  }
  .admin-invite {
    grid-template-columns: 1fr;
  }
  .admin-member > div {
    flex-basis: 100%;
  }
  .admin-member select {
    flex: 1;
  }
  .admin-audit > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .cloud-empty {
    padding: 20px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .access-spinner {
    animation: none;
  }
}

.admin-audit-target {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-audit-target small {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
