:root {
  --green: #237b5d;
  --green-dark: #20513f;
  --mint: #e6f0e9;
  --ink: #293a35;
  --text: #46524e;
  --muted: #8b9690;
  --line: #dfe4df;
  --panel: #fbfcfa;
  --white: #fff;
  --soft: #f3f5f1;
  --shadow: 0 4px 24px #213b3210;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: var(--text);
  font-size: 12px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f6f7f3;
}
button,input,select,textarea {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: background .12s,color .12s;
}
button:hover {
  background: #e8eee8;
  color: var(--green-dark);
}
button:active {
  background: #dce8df;
}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 2px solid #479d7a;
  outline-offset: 2px;
}
button:disabled {
  opacity: .4;
  cursor: default;
}
button svg,[data-icon] svg {
  flex: none;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
}
input,select,textarea {
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 4px;
  min-width: 0;
}
input,select {
  height: 30px;
  padding: 4px 8px;
}
input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}
input[type=color] {
  width: 36px;
  padding: 3px;
}
select {
  cursor: pointer;
}
kbd {
  font-family: inherit;
  font-size: 10px;
  color: #8d9b92;
  border: 1px solid #dde4de;
  padding: 2px 4px;
  border-radius: 3px;
  background: #fcfdfb;
}
h1,h2,h3,p {
  margin: 0;
}
button [data-icon] {
  display: inline-flex;
}
#app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  min-width: 900px;
}
.titlebar {
  height: 53px;
  min-height: 53px;
  display: flex;
  align-items: center;
  padding: 0 18px 0 17px;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid #edf0ea;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -.7px;
  color: #274a3b;
}
.brand-mark {
  width: 33px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #28634c;
  color: #fff;
  border-radius: 7px;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 650;
  margin-left: 8px;
  color: #829086;
  vertical-align: middle;
}
.header-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin-left: 7px;
}
.quick-actions {
  display: flex;
  gap: 3px;
}
.quick-actions button {
  width: 29px;
  height: 29px;
  border-radius: 4px;
  color: #78867d;
}
.quick-actions svg {
  width: 16px;
  height: 16px;
}
.project-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  color: #374c40;
}
.project-separator {
  color: #bac4bb;
}
.project-discipline {
  color: #8c998f;
}
.saved-dot {
  width: 5px;
  height: 5px;
  background: #5a9b74;
  border-radius: 50%;
  margin-left: 1px;
}
.saved-dot.dirty {
  background: #c49c47;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: auto;
}
.text-button {
  font-size: 11px;
  color: #8c978f;
  gap: 6px;
  padding: 6px;
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.export-button {
  height: 29px;
  border: 1px solid #d8e1d9;
  border-radius: 5px;
  padding: 0 10px;
  color: #4a6251;
  background: #fdfefd;
  font-size: 11px;
}
.export-button svg {
  width: 14px;
  height: 14px;
}
.avatar {
  background: #e8eee5;
  border: 1px solid #dce5d8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: .4px;
  color: #4c6953;
}
.ribbon-tabs {
  height: 34px;
  min-height: 34px;
  display: flex;
  align-items: stretch;
  gap: 3px;
  background: #fff;
  padding: 0 16px;
  border-bottom: 1px solid #e5eae3;
}
.ribbon-tabs>button {
  padding: 0 15px;
  font-size: 11px;
  color: #647268;
  border-bottom: 2px solid transparent;
}
.ribbon-tabs>button.active {
  color: #216748;
  font-weight: 650;
  border-bottom-color: #3a8a60;
  background: #f1f6ee;
}
.ribbon-tabs .file-tab {
  padding: 0 17px;
  margin-right: 7px;
  color: #2f7051;
  font-weight: 600;
}
.ribbon-tabs .modify-tab {
  color: #528067;
  margin-left: 10px;
}
.ribbon-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ribbon-right button {
  padding: 3px;
}
.ribbon-right svg {
  width: 14px;
  height: 14px;
  color: #98a399;
}
.project-stage {
  font-size: 8px;
  letter-spacing: 1.25px;
  color: #98a492;
}
.ribbon {
  display: flex;
  align-items: stretch;
  min-height: 94px;
  height: 94px;
  border-bottom: 1px solid #dce3d9;
  background: linear-gradient(#fdfefb,#f5f7f2);
  padding: 6px 16px 0;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.ribbon-group {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #dfe5d9;
  padding: 0 13px;
  flex: none;
}
.ribbon-group:first-child {
  padding-left: 0;
}
.ribbon-group:last-child {
  border-right: 0;
}
.ribbon-buttons {
  display: flex;
  align-items: stretch;
  gap: 3px;
  flex: 1;
}
.ribbon-button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-width: 53px;
  height: 61px;
  padding: 5px 8px 4px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 10px;
  color: #536356;
}
.ribbon-button svg {
  width: 25px;
  height: 25px;
  color: #6e8474;
  stroke-width: 1.35;
}
.ribbon-button.active {
  background: #e5f0e3;
  border-color: #b3d1b4;
  color: #245b39;
}
.ribbon-button.active svg {
  color: #37724a;
}
.ribbon-button .ribbon-arrow {
  font-size: 7px;
  margin-left: 4px;
  color: #7a8d7d;
}
.ribbon-group-label {
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #a0aa9a;
  letter-spacing: .15px;
}
.ribbon-small {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 1px 2px;
}
.ribbon-small button {
  justify-content: flex-start;
  height: 25px;
  padding: 2px 6px;
  font-size: 10px;
  gap: 7px;
  border-radius: 3px;
}
.ribbon-small svg {
  width: 16px;
  height: 16px;
  color: #82927c;
}
.options-bar {
  height: 35px;
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 19px;
  background: #f1f5ec;
  border-bottom: 1px solid #dae2d4;
  font-size: 10px;
  color: #7a8d73;
}
.tool-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 93px;
  color: #4d7550;
}
.tool-indicator svg {
  width: 15px;
  height: 15px;
}
.tool-indicator strong {
  font-weight: 600;
}
.options-separator {
  height: 15px;
  width: 1px;
  background: #d5dfce;
}
.options-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.options-bar select {
  height: 23px;
  font-size: 10px;
  background: #fbfdf8;
  border-color: #d5dfcf;
  min-width: 133px;
  max-width: 255px;
  color: #5b6f50;
  padding: 1px 20px 1px 7px;
}
.options-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 9px;
  color: #8d9c80;
}
.mini-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #78a46a;
}
.workspace {
  display: grid;
  grid-template-columns: 233px minmax(330px,1fr) 260px;
  min-height: 0;
  flex: 1;
  background: #fff;
}
.panel {
  background: #fafbf8;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.browser-panel {
  border-right: 1px solid #dfe5da;
}
.panel-title {
  height: 39px;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #e5e9e0;
}
.panel-title h2 {
  font-size: 11px;
  font-weight: 600;
  color: #586b54;
}
.panel-title button {
  padding: 5px;
  color: #97a38e;
}
.panel-title svg {
  width: 13px;
  height: 13px;
}
.browser-search {
  height: 29px;
  margin: 13px 12px 12px;
  border: 1px solid #e0e5da;
  border-radius: 4px;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 7px;
  gap: 6px;
}
.browser-search input {
  border: 0;
  width: 100%;
  padding: 0;
  height: 26px;
  font-size: 10px;
  background: transparent;
  outline: 0;
}
.browser-search input::placeholder {
  color: #a5af9d;
}
.browser-search svg {
  width: 13px;
  height: 13px;
  color: #9aaa91;
}
.browser-search kbd {
  border: 0;
  font-size: 12px;
}
.browser-project {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 1px 16px 17px;
}
.project-icon {
  color: #769074;
}
.project-icon svg {
  width: 23px;
  height: 23px;
}
.browser-project strong {
  font-weight: 600;
  font-size: 11px;
  color: #50644c;
  display: block;
}
.browser-project small {
  font-size: 9px;
  color: #a3ad9c;
  display: block;
  margin-top: 4px;
}
.browser-tree {
  flex: 1;
  overflow: auto;
  padding: 0 8px 12px;
}
.browser-tree details {
  margin: 3px 0;
}
.browser-tree summary {
  height: 28px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: #607154;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 550;
  user-select: none;
}
.browser-tree summary::before {
  content: '›';
  font-size: 13px;
  color: #a0ac93;
  width: 8px;
}
.browser-tree details[open]>summary::before {
  transform: rotate(90deg);
}
.browser-tree summary .count {
  margin-left: auto;
  color: #a5b097;
  font-size: 9px;
  font-weight: 400;
}
.browser-tree summary svg {
  width: 14px;
  height: 14px;
  color: #8b9e7d;
}
.browser-row {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  min-height: 28px;
  padding: 5px 8px 5px 36px;
  border-radius: 4px;
  position: relative;
  font-size: 10px;
  color: #839176;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-row svg {
  width: 13px;
  height: 13px;
  color: #a1ad96;
}
.browser-row.active {
  background: #e4eee0;
  color: #3c6c3d;
  font-weight: 550;
}
.browser-row.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #6e9e64;
  border-radius: 2px;
}
.browser-row.active svg {
  color: #658f59;
}
.browser-section-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #aab49f;
  margin: 17px 8px 7px;
}
.browser-bottom {
  border-top: 1px solid #e5e9e0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px;
  padding: 15px 3px 17px;
  flex: none;
}
.tiny-logo {
  color: #769570;
  border: 1px solid #cbd9c5;
  display: grid;
  place-items: center;
  width: 27px;
  height: 29px;
  border-radius: 6px;
  font-size: 17px;
}
.browser-bottom strong {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: #8a9b7c;
}
.browser-bottom span:not(.tiny-logo) {
  display: block;
  font-size: 8px;
  color: #afbaa5;
  margin-top: 4px;
}
.center-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  background: #fff;
}
.view-tabs {
  height: 37px;
  min-height: 37px;
  display: flex;
  align-items: stretch;
  background: #f2f5ee;
  border-bottom: 1px solid #dfe5d8;
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: 1px;
}
.view-tab {
  font-size: 10px;
  gap: 7px;
  color: #94a187;
  border-right: 1px solid #e4e9de;
  border-top: 2px solid transparent;
  min-width: 125px;
  padding: 0 13px;
  flex: none;
}
.view-tab svg {
  width: 13px;
  height: 13px;
  color: #93a383;
}
.view-tab.active {
  background: #fff;
  color: #49633c;
  border-top-color: #6e9457;
  border-bottom: 1px solid white;
  margin-bottom: -1px;
}
.view-tab.active svg {
  color: #73965a;
}
.view-tab .tab-close {
  font-size: 14px;
  color: #b2bda6;
  margin-left: 13px;
  line-height: 15px;
  border-radius: 3px;
}
.view-tab .tab-close:hover {
  color: #596d4a;
  background: #e4eddf;
}
.add-view {
  min-width: 34px;
  color: #a0ae92;
}
.add-view svg {
  width: 14px;
  height: 14px;
}
.viewport-header {
  height: 41px;
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #ebeee5;
  background: #fff;
}
.view-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.view-breadcrumb>span:first-child {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #a5b298;
}
.breadcrumb-slash {
  font-size: 12px;
  color: #d1dac6;
}
.view-breadcrumb strong {
  font-size: 10px;
  font-weight: 500;
  color: #788c68;
}
.viewport-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.viewport-actions button {
  width: 26px;
  height: 26px;
  color: #98aa86;
  border-radius: 3px;
}
.viewport-actions svg {
  width: 15px;
  height: 15px;
}
.viewport-actions button.active {
  background: #e5efdf;
  color: #468347;
}
.toolbar-divider {
  height: 15px;
  width: 1px;
  background: #e4ebdc;
  margin: 0 5px;
}
.view-area {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  outline: none;
  touch-action: none;
  background: #e8ece8;
}
#gpu-canvas,.fallback-canvas,#overlay-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#overlay-canvas {
  pointer-events: none;
  z-index: 2;
}
.drawing-view {
  position: absolute;
  inset: 0;
  background: #fff;
}
.drawing-view>svg {
  width: 100%;
  height: 100%;
  display: block;
}
.view-label {
  position: absolute;
  top: 21px;
  left: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #799278;
  font-size: 8px;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 3;
}
.view-label-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #719577;
}
.view-label-divider {
  width: 1px;
  height: 10px;
  background: #c8d4c7;
  margin: 0 2px;
}
#view-detail-label {
  letter-spacing: 0;
  color: #9aac97;
  font-size: 9px;
}
.viewcube {
  width: 88px;
  height: 105px;
  position: absolute;
  right: 21px;
  top: 30px;
  z-index: 3;
  opacity: .8;
}
.viewcube>button {
  position: absolute;
  font-size: 8px;
  font-weight: 550;
  letter-spacing: .5px;
  color: #7b8a7b;
  background: #f5f8f1cc;
  border: 1px solid #bccbb7;
  box-shadow: 0 2px 3px #43573405;
}
.viewcube .cube-top {
  left: 20px;
  top: 0;
  width: 51px;
  height: 31px;
  transform: skewX(-32deg) rotate(-5deg);
  border-radius: 2px;
}
.viewcube .cube-front {
  left: 10px;
  top: 28px;
  width: 45px;
  height: 40px;
  transform: skewY(28deg);
  border-radius: 0 0 2px 2px;
}
.viewcube .cube-right {
  left: 55px;
  top: 21px;
  width: 24px;
  height: 40px;
  transform: skewY(-29deg);
  font-size: 6px;
}
.viewcube .cube-home {
  left: 32px;
  top: 78px;
  width: 23px;
  height: 23px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.viewcube .cube-home svg {
  width: 21px;
  height: 21px;
  stroke-width: 1;
}
.north-mark {
  position: absolute;
  left: 41px;
  top: -20px;
  font-size: 9px;
  color: #90a18a;
}
.nav-tools {
  position: absolute;
  right: 19px;
  top: 160px;
  background: #f8faf5dd;
  border: 1px solid #d2ddcc;
  border-radius: 5px;
  padding: 5px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 2px 8px #4c614607;
  z-index: 3;
}
.nav-tools button {
  width: 26px;
  height: 29px;
  color: #7e9273;
  border-radius: 3px;
}
.nav-tools svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.3;
}
.nav-tools>span {
  height: 1px;
  background: #d8e1d1;
  margin: 3px;
}
.model-note {
  position: absolute;
  left: 25px;
  bottom: 23px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  pointer-events: none;
}
.note-rule {
  width: 23px;
  height: 1px;
  background: #94aa8c;
  margin-bottom: 2px;
}
.model-note strong {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #82977b;
}
.model-note>span:last-child {
  font-size: 9px;
  color: #a0b098;
}
.view-controls {
  height: 33px;
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  background: #fafcf7;
  border-top: 1px solid #dce5d4;
}
.controls-left {
  display: flex;
  align-items: center;
  gap: 5px;
}
.view-controls button {
  width: 24px;
  height: 23px;
  color: #8c9f7f;
  border-radius: 3px;
}
.view-controls button.active {
  color: #527e45;
}
.view-controls svg {
  width: 14px;
  height: 14px;
}
.view-controls select {
  font-size: 9px;
  height: 23px;
  background: transparent;
  border: 0;
  color: #809574;
  width: 69px;
  padding-left: 3px;
}
.control-divider {
  width: 1px;
  height: 12px;
  background: #dbe4d1;
  margin: 0 5px;
}
.controls-right {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #a3b196;
  font-size: 8px;
}
.engine-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #e9f1e3;
  color: #6f915a;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 550;
}
.engine-badge i {
  width: 4px;
  height: 4px;
  background: #6b9c52;
  border-radius: 50%;
}
.properties-panel {
  border-left: 1px solid #dfe6d8;
}
.properties-content {
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.property-hero {
  display: flex;
  gap: 12px;
  margin: 16px 14px;
  align-items: center;
}
.property-hero-icon {
  width: 40px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  background: #eef2e8;
  border: 1px solid #dfe7d4;
  border-radius: 5px;
  color: #809d6a;
}
.property-hero-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.2;
}
.property-hero h3 {
  font-size: 11px;
  font-weight: 600;
  color: #5f7a4a;
  margin-bottom: 5px;
}
.property-hero p {
  font-size: 9px;
  color: #a0af92;
  line-height: 1.5;
}
.property-type {
  margin: 0 14px 16px;
  display: flex;
  gap: 7px;
}
.property-type select {
  width: 100%;
  font-size: 10px;
  color: #7c9168;
  background: #fff;
  height: 30px;
}
.property-type button {
  flex: none;
  padding: 0 8px;
  font-size: 9px;
  border: 1px solid #d9e2cf;
  border-radius: 4px;
  color: #758f5e;
}
.property-section {
  border-top: 1px solid #e2e8d9;
  margin-top: 8px;
  padding-bottom: 8px;
}
.property-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 35px;
  padding: 0 15px;
  color: #7c9266;
  font-size: 9px;
  font-weight: 600;
}
.property-section-title span:last-child {
  font-size: 12px;
  color: #a0b18b;
  font-weight: 400;
}
.property-row {
  min-height: 31px;
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 5px;
  align-items: center;
  padding: 3px 14px;
  font-size: 9px;
  color: #a0ae90;
}
.property-row>label {
  line-height: 1.5;
}
.property-row input:not([type=checkbox]),.property-row select {
  width: 100%;
  height: 25px;
  font-size: 10px;
  border: 1px solid #e2e8d9;
  border-radius: 3px;
  padding: 3px 6px;
  color: #647c4d;
  background: #fff;
}
.property-row input[readonly] {
  background: #f0f4e9;
  border-color: transparent;
  color: #8a9d76;
}
.property-row .property-value {
  font-size: 10px;
  color: #718859;
  line-height: 1.5;
  word-break: break-word;
}
.property-row .monospace {
  font-family: ui-monospace,Consolas,monospace;
  font-size: 8px;
}
.property-actions {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  flex-wrap: wrap;
}
.property-actions button {
  border: 1px solid #d6e2c8;
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 9px;
  color: #77965c;
}
.property-actions svg {
  width: 12px;
  height: 12px;
}
.property-note {
  padding: 0 16px 13px;
  line-height: 1.7;
  font-size: 9px;
  color: #9fac90;
}
.model-summary {
  margin: 0 13px 13px;
  border: 1px solid #dce5ce;
  border-radius: 5px;
  background: #f5f8ee;
  padding: 13px 11px;
  flex: none;
}
.summary-title {
  font-size: 9px;
  font-weight: 600;
  color: #7f9763;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.summary-title span:last-child {
  font-size: 8px;
  font-weight: 400;
  color: #a5b793;
}
.summary-grid {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.summary-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.summary-stat strong {
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.4px;
  color: #79955d;
}
.summary-stat small {
  font-size: 8px;
  color: #a2b38c;
}
.summary-foot {
  border-top: 1px solid #dfe8d2;
  margin-top: 13px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #9daf87;
}
.summary-foot strong {
  font-weight: 500;
  color: #6f8f51;
}
.statusbar {
  height: 28px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5e9;
  border-top: 1px solid #d8e2cc;
  padding: 0 13px;
  font-size: 9px;
  color: #8a9e76;
  gap: 15px;
}
.status-message {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.status-message>span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-message svg {
  width: 12px;
  height: 12px;
  color: #97ab80;
}
.status-right {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.status-toggle {
  font-size: 8px;
  color: #9dad8b;
  padding: 3px 5px;
  border-radius: 3px;
  gap: 4px;
}
.status-toggle svg {
  width: 11px;
  height: 11px;
}
.status-toggle.active {
  color: #648843;
  background: #e4eed6;
}
.status-divider {
  width: 1px;
  height: 11px;
  background: #d6e1c7;
}
.health-button {
  padding: 0;
  font-size: 8px;
  color: #8fa374;
  gap: 5px;
}
#health-dot {
  width: 4px;
  height: 4px;
  background: #83a459;
  border-radius: 50%;
}
#coordinates {
  font-size: 8px;
  word-spacing: 4px;
  font-variant-numeric: tabular-nums;
}
.sketch-help {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 12px;
  border: 1px solid #b6d0bd;
  border-radius: 6px;
  background: #f5fbf3f5;
  box-shadow: 0 5px 24px #1d3d241c;
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
  color: #497245;
  z-index: 4;
  font-size: 10px;
}
.sketch-help button {
  font-size: 10px;
  padding: 5px;
  border-radius: 3px;
}
.sketch-help button:first-of-type {
  background: #367b51;
  color: white;
  padding: 6px 9px;
}
.sketch-help kbd {
  font-size: 8px;
  background: transparent;
  color: inherit;
  border-color: #a8c5aa;
}
.selection-badge {
  position: absolute;
  left: 20px;
  bottom: 22px;
  z-index: 4;
  background: #fff;
  border: 1px solid #c9dcc5;
  box-shadow: var(--shadow);
  border-radius: 4px;
  color: #5d7d4c;
  padding: 8px 12px;
  font-size: 10px;
}
.schedule-view {
  position: absolute;
  inset: 0;
  background: #fff;
  overflow: auto;
  padding: 24px;
}
.schedule-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.schedule-heading h2 {
  font-size: 19px;
  font-weight: 500;
  color: #385744;
}
.schedule-heading p {
  font-size: 11px;
  color: #90a182;
  margin-top: 8px;
}
.schedule-heading button {
  padding: 8px 12px;
  background: #edf3e7;
  border: 1px solid #d7e4cc;
  border-radius: 4px;
  color: #617f4b;
  font-size: 10px;
}
.schedule-heading svg {
  width: 15px;
  height: 15px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.data-table th {
  text-align: left;
  padding: 11px 9px;
  background: #f1f5ea;
  border-bottom: 1px solid #dbe6d0;
  color: #7e956a;
  font-weight: 500;
  white-space: nowrap;
  font-size: 10px;
}
.data-table td {
  border-bottom: 1px solid #edf1e7;
  padding: 10px 9px;
  color: #60764f;
  white-space: nowrap;
}
.data-table tr {
  cursor: pointer;
}
.data-table tr:hover td {
  background: #f5f8ef;
}
.data-table tr.selected td {
  background: #e3efd8;
}
.data-table input {
  width: 100%;
  min-width: 90px;
  border: 1px solid transparent;
  font-size: 10px;
  padding: 2px 4px;
  height: 24px;
  background: transparent;
}
.data-table input:hover,.data-table input:focus {
  background: #fff;
  border-color: #cbddbb;
}
.schedule-footer {
  padding: 17px 8px;
  color: #8ca078;
  font-size: 10px;
  display: flex;
  gap: 28px;
}
.sheet-view {
  position: absolute;
  inset: 0;
  overflow: auto;
  background: #e7ece3;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sheet-view>svg {
  width: min(100%,1400px);
  height: auto;
  box-shadow: 0 5px 20px #2a442414;
  background: #fff;
  flex: none;
}
.sheet-view .sheet-actions {
  position: sticky;
  right: 0;
  top: 0;
}
dialog {
  border: 1px solid #d7e3cb;
  border-radius: 9px;
  box-shadow: 0 16px 80px #203c2940;
  padding: 0;
  width: min(620px,calc(100vw - 40px));
  max-height: 85vh;
  color: #596e4c;
  background: #fcfdf9;
}
dialog::backdrop {
  background: #1b342a3d;
  backdrop-filter: blur(3px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 21px;
  border-bottom: 1px solid #e4eadc;
  background: #f7faf2;
}
.modal-header h2 {
  font-size: 16px;
  font-weight: 500;
  color: #466738;
}
.modal-header button {
  color: #9bab8b;
}
.modal-header svg {
  width: 17px;
  height: 17px;
}
#modal-body {
  padding: 22px;
  overflow: auto;
  max-height: calc(85vh - 70px);
}
.modal-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #8d9e7d;
  margin-bottom: 19px;
}
.dialog-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dialog-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: #879d72;
}
.dialog-form label.full {
  grid-column: 1/-1;
}
.dialog-form input,.dialog-form select {
  height: 35px;
  font-size: 12px;
  color: #55703e;
}
.dialog-form textarea {
  min-height: 120px;
  padding: 10px;
  font-family: ui-monospace,monospace;
  font-size: 11px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
.dialog-footer button {
  padding: 9px 14px;
  background: #ecf2e5;
  border: 1px solid #d6e4c6;
  border-radius: 4px;
  color: #759459;
  font-size: 11px;
}
.dialog-footer button.primary {
  background: #367750;
  color: white;
  border-color: #367750;
}
.dialog-footer button.danger {
  background: #ad6049;
  color: white;
  border-color: #ad6049;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.menu-card {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  white-space: normal;
  border: 1px solid #dfe8d4;
  border-radius: 5px;
  padding: 16px;
  background: #fff;
}
.menu-card svg {
  color: #8fa977;
  width: 25px;
  height: 25px;
}
.menu-card strong {
  display: block;
  font-size: 12px;
  color: #647e4a;
  font-weight: 550;
  margin-bottom: 6px;
}
.menu-card small {
  font-size: 10px;
  line-height: 1.6;
  color: #9dad8d;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 22px;
}
.shortcut-grid>div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e5ecdc;
  font-size: 11px;
  color: #849a6b;
}
.help-section {
  font-size: 12px;
  font-weight: 600;
  color: #6d8c50;
  margin: 18px 0 8px;
}
.diagnostic-line {
  font-size: 11px;
  line-height: 1.8;
  padding: 9px;
  border-bottom: 1px solid #e2ebd5;
  color: #7a9460;
}
.diagnostic-line strong {
  color: #5c7c45;
  font-weight: 550;
}
.checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 6px 0;
}
.checkbox-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #769358;
}
#toasts {
  position: fixed;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  pointer-events: none;
}
.toast {
  max-width: min(600px,90vw);
  background: #294c37;
  color: #f4f9ed;
  border: 1px solid #b9cfaa;
  border-radius: 5px;
  padding: 12px 18px;
  font-size: 11px;
  line-height: 1.6;
  box-shadow: 0 5px 30px #1f3a2020;
  animation: toast-in .15s ease-out;
}
.toast.error {
  background: #8b5547;
  color: #fff7ef;
  border-color: #d8ad9a;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[hidden] {
  display: none!important;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: #d0dcc4;
  border-radius: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
@media(min-width:1700px) {
  .workspace {
    grid-template-columns: 250px minmax(330px,1fr) 280px;
  }
  .ribbon-button {
    min-width: 62px;
  }
  .ribbon-group {
    padding: 0 18px;
  }
  .property-row {
    grid-template-columns: 108px 1fr;
  }
}
@media(max-width:1200px) {
  .workspace {
    grid-template-columns: 205px minmax(300px,1fr) 226px;
  }
  .ribbon-button {
    min-width: 45px;
    padding: 4px 6px;
  }
  .ribbon-group {
    padding: 0 8px;
  }
  .project-stage {
    display: none;
  }
  .project-title {
    position: static;
    transform: none;
    margin-left: 5px;
  }
  .project-discipline,.project-separator {
    display: none;
  }
  .property-row {
    grid-template-columns: 82px 1fr;
    padding-left: 11px;
    padding-right: 11px;
  }
  .ribbon-tabs>button {
    padding: 0 11px;
  }
  .model-summary {
    margin: 0 9px 9px;
  }
  .view-label {
    left: 15px;
    font-size: 7px;
  }
  .controls-right {
    gap: 6px;
  }
  #render-stats {
    font-size: 7px;
  }
}
@media(max-width:960px) {
  #app {
    min-width: 650px;
  }
  .workspace {
    grid-template-columns: 180px minmax(350px,1fr);
  }
  .properties-panel {
    display: none;
  }
  .ribbon-tabs {
    padding: 0 6px;
  }
  .ribbon-tabs>button {
    padding: 0 9px;
  }
  .brand-sub,.header-divider,.text-button,.project-stage {
    display: none;
  }
  .titlebar {
    padding: 0 11px;
    gap: 9px;
  }
  .brand {
    font-size: 20px;
  }
  .quick-actions {
    gap: 0;
  }
  .options-right {
    display: none;
  }
  .browser-row {
    font-size: 9px;
    padding-left: 30px;
  }
  .status-right {
    gap: 4px;
  }
  #coordinates {
    display: none;
  }
  .statusbar {
    font-size: 8px;
  }
  .status-message {
    max-width: 50%;
  }
  .ribbon-right {
    display: none;
  }
  .ribbon {
    padding-left: 8px;
  }
  .options-bar {
    padding-left: 11px;
    gap: 10px;
  }
  .viewcube {
    right: 12px;
  }
  .project-title {
    font-size: 10px;
  }
}
@media(max-height:740px) {
  .model-summary {
    padding: 10px;
  }
  .summary-title {
    margin-bottom: 8px;
  }
  .summary-stat strong {
    font-size: 18px;
  }
  .summary-foot {
    margin-top: 8px;
    padding-top: 8px;
  }
  .browser-bottom {
    padding: 9px 3px;
  }
  .property-hero {
    margin: 13px;
  }
  .model-note {
    bottom: 17px;
  }
  .viewcube {
    top: 27px;
  }
}
@media print {
  body {
    overflow: visible;
    background: white;
  }
  #app,#modal,#toasts {
    display: none;
  }
  .print-sheet {
    display: block!important;
    width: 100%;
  }
  .print-sheet svg {
    width: 100%;
    height: auto;
  }
  @page {
    size: A3 landscape;
    margin: 0;
  }
}
