/* frontend/src/dashboard.module.css */
.project-dashboard_T_lQqw {
  display: block;
  width: min(1240px, 100%);
  min-height: calc(100dvh - 62px);
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding: clamp(32px, 6vw, 82px) clamp(18px, 5vw, 72px) 60px;
}

.project-heading_T_lQqw {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:  end;
  gap: 20px 32px;
}

.project-dashboard_T_lQqw h1 {
  letter-spacing: -.055em;
  margin: 0;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.04;
}

.project-heading_T_lQqw p {
  color: #596256;
  margin: 12px 0 0;
  font-size: 14px;
}

.create-project_T_lQqw {
  display: block;
  flex: 0 370px;
  min-width: 0;
}

.create-project_T_lQqw label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}

.project-controls_T_lQqw {
  display: flex;
  gap: 8px;
}

.project-controls_T_lQqw input {
  background: #fff;
  border: 1px solid #ccd5c7;
  border-radius: 6px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
}

.project-controls_T_lQqw button {
  white-space: nowrap;
  color: #fff;
  background: #263c2d;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 600;
}

.project-controls_T_lQqw button:hover {
  background: #3b5741;
}

.project-status_T_lQqw {
  color: #823e25;
  margin: 14px 0;
  font-size: 13px;
}

.project-status_T_lQqw:empty {
  margin: 28px 0 0;
}

.project-grid_T_lQqw {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}

.project-card_T_lQqw {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8dfd5;
  border-radius: 10px;
  min-width: 0;
}

.project-card_T_lQqw:hover {
  border-color: #47684c;
  box-shadow: 0 3px 14px #233e2019;
}

.project-card_T_lQqw:focus-visible {
  border-color: #47684c;
  box-shadow: 0 3px 14px #233e2019;
}

.project-tile_T_lQqw {
  display: grid;
  overflow: hidden;
  background-color: #e9eee5;
  background-image: radial-gradient(#bfcabd .7px, #0000 .7px);
  background-size: 10px 10px;
  place-items:  center;
  height: 194px;
}

.orbit-tile_T_lQqw {
  background-color: #ebe4d4;
  background-image: radial-gradient(#ccc2a9 .7px, #0000 .7px);
}

.project-preview_T_lQqw {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 14px #27382126;
}

.orbit-preview_T_lQqw {
  background: #f5edda;
}

.preview-caption_T_lQqw {
  position: absolute;
  letter-spacing: -.085em;
  font-size: 13cqw;
  inset: auto 7% 5%;
}

.empty-preview_T_lQqw {
  display: grid;
  position: absolute;
  color: #83917d;
  place-items:  center;
  font-size: 23px;
  inset: 0;
}

.project-meta_T_lQqw {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 10px;
  padding: 14px 16px;
}

.project-meta_T_lQqw h2 {
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 16px;
}

.project-meta_T_lQqw p {
  color: #596256;
  margin: 5px 0 0;
  font-size: 12px;
}

.project-arrow_T_lQqw {
  color: #526a50;
  font-size: 16px;
}

@media (max-width: 660px) {
  .project-heading_T_lQqw {
    align-items: stretch;
  }

  .create-project_T_lQqw {
    flex-basis: 100%;
  }
}

.backups_T_lQqw {
  margin: 0 0 22px;
}

.backups_T_lQqw summary {
  cursor: pointer;
  width: max-content;
  font-weight: 600;
}

.backups_T_lQqw[open] {
  border: 1px solid #d8dfd5;
  border-radius: 8px;
  padding: 12px;
}

.backups_T_lQqw form {
  max-width: 540px;
  margin: 12px 0;
}

.backups_T_lQqw select {
  width: 100%;
  min-width: 0;
  padding: 7px;
}

.backups_T_lQqw input[type="file"] {
  padding: 5px;
}

/* frontend/src/shell.module.css */
.header_NYXHMQ, .footer_NYXHMQ {
  color: #f6f7ed;
  display: flex;
  background: #20241f;
  align-items:  center;
  padding: 0 24px;
}

.header_NYXHMQ {
  gap: 45px;
  height: 62px;
}

.header_NYXHMQ a {
  color: inherit;
  margin-left: auto;
  font-size: 13px;
}

.header_NYXHMQ a + a {
  margin-left: 0;
}

.brand_NYXHMQ {
  letter-spacing: -1px;
  white-space: nowrap;
  font-size: 21px;
}

.brand_NYXHMQ i {
  color: #daf79c;
  font-style: normal;
}

.crumb_NYXHMQ {
  color: #bcc3b6;
  font-size: 13px;
}

.crumb_NYXHMQ strong {
  color: #fff;
}

.footer_NYXHMQ {
  min-height: 32px;
  font: 11px monospace;
}

@media (max-width: 760px) {
  .crumb_NYXHMQ {
    display: none;
  }
}

@media (max-width: 500px) {
  .header_NYXHMQ {
    gap: 14px;
    padding-inline-start: 12px;
    padding-inline-end: 12px;
  }
}

/* frontend/src/artboard.module.css */
.artboard_ErJUBg {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  background: #f5edda;
  box-shadow: 0 5px 22px #19241824;
}

.mockup_ErJUBg {
  background: #fff;
}

.preview-layer_ErJUBg {
  position: absolute;
}

.preview-text_ErJUBg {
  display: flex;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  align-items:  center;
  line-height: 1.15;
}

/* frontend/src/canvas.module.css */
.canvas-scroll_N5_oiw {
  overflow: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  container-type: inline-size;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 4 20 9l-7 4-4 7Z' fill='%2321342a' stroke='%23f7fbf1' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 4, default;
  flex: auto;
  width: 100%;
  min-height: 0;
}

.canvas-stage_N5_oiw {
  --available-width: max(1px, calc(100cqw - 48px));
  --fit-height: 81.25dvh;
  display: grid;
  place-items:  center;
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  padding: 42px 24px 63px;
}

.canvas-scroll_N5_oiw:focus-visible {
  outline: 1px solid #607861;
  outline-offset: -2px;
}

.canvas-toolbar_N5_oiw {
  position: absolute;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 20px);
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
}

.zoom-tools_N5_oiw {
  position: absolute;
  z-index: 1;
  display: flex;
  background: #fafbf7;
  border: 1px solid #adb9a9;
  border-radius: 7px;
  align-items: stretch;
  top: 10px;
  right: 10px;
}

.zoom-tools_N5_oiw button {
  background: none;
  border: 0;
  min-width: 28px;
  padding: 5px 7px;
}

.zoom-tools_N5_oiw button:hover {
  background: #e3ebdf;
}

.zoom-tools_N5_oiw button:disabled {
  opacity: .45;
}

.zoom-tools_N5_oiw .zoom-value_N5_oiw {
  font-variant-numeric: tabular-nums;
  width: 51px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .canvas-stage_N5_oiw {
    --available-width: max(1px, calc(100cqw - 24px));
    --fit-height: 60dvh;
    padding: 37px 12px 70px;
  }
}

/* frontend/src/editor.module.css */
.editor_nTDqtQ {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  height: 100dvh;
}

.editor_nTDqtQ > header {
  height: 49px;
}

.editor_nTDqtQ > footer {
  min-height: 27px;
}

.layout_nTDqtQ {
  display: grid;
  grid-template-columns: minmax(208px, 252px) minmax(0, 1fr) minmax(215px, 258px);
  min-height: 0;
}

.left-dock_nTDqtQ {
  display: grid;
  grid-template-columns: 57px minmax(0, 1fr);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.rail_nTDqtQ {
  display: flex;
  background: #eef2e9;
  border-right: 1px solid #d6ddd2;
  flex-direction: column;
  gap: 4px;
  padding: 9px 5px;
}

.rail_nTDqtQ button {
  display: grid;
  background: none;
  border: 0;
  border-radius: 7px;
  justify-items: center;
  gap: 3px;
  padding: 7px 3px;
  font-size: 10px;
  font-weight: 650;
}

.rail_nTDqtQ button span {
  font: 18px / 1 Arial, sans-serif;
}

.rail_nTDqtQ button:hover, .rail_nTDqtQ button[aria-pressed="true"] {
  color: #1f482f;
  background: #dce8d8;
}

.left-panel_nTDqtQ, .layout_nTDqtQ > aside {
  overflow: auto;
  overscroll-behavior: contain;
  min-width: 0;
  min-height: 0;
  padding: 13px 15px;
}

.layout_nTDqtQ .left-panel_nTDqtQ h2, .properties_nTDqtQ > h2:first-child {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 670;
}

.left-panel_nTDqtQ input[type="file"] {
  display: block;
  max-width: 100%;
  margin-top: 6px;
}

.left-panel_nTDqtQ h2 {
  overflow-wrap: anywhere;
}

.properties_nTDqtQ {
  background: #f8faf5;
}

.layout_nTDqtQ h2 {
  letter-spacing: -.75px;
  margin: 9px 0 5px;
  font-size: 21px;
}

.layout_nTDqtQ p, .agent_nTDqtQ {
  color: #596256;
  font-size: 12px;
}

.layout_nTDqtQ hr {
  border: 0;
  border-top: 1px solid #d9ded4;
  margin: 23px 0;
}

.layout_nTDqtQ h3 {
  margin: 18px 0 12px;
  font-size: 13px;
}

.eyebrow_nTDqtQ, .legend_nTDqtQ, .imprint_nTDqtQ, .caption_nTDqtQ small {
  letter-spacing: 1.4px;
  font: 600 10px / 1.3 IBM Plex Mono, monospace;
}

.eyebrow_nTDqtQ {
  color: #62705e;
}

.layer_nTDqtQ {
  text-align: left;
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  background: none;
  border: 0;
  border-radius: 5px;
  width: 100%;
  padding: 10px 8px;
}

.layer_nTDqtQ[aria-pressed="true"] {
  background: #e3edda;
}

.layer_nTDqtQ span {
  display: inline-block;
  color: #526752;
  width: 17px;
  font-weight: 700;
}

.layers_nTDqtQ ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layers_nTDqtQ li ul {
  border-left: 1px solid #cad5c7;
  margin-left: 12px;
  padding-left: 4px;
}

.layers_nTDqtQ li > div {
  display: flex;
  align-items:  center;
}

.layers_nTDqtQ li > div > button[aria-expanded] {
  background: none;
  border: 0;
  flex: 0 0 20px;
  padding: 4px;
}

.layers_nTDqtQ .layer_nTDqtQ {
  white-space: nowrap;
  min-width: 0;
}

.layers_nTDqtQ form {
  display: flex;
  gap: 6px;
  margin: 9px 0;
}

.layers_nTDqtQ form input {
  border: 1px solid #cdd3c8;
  border-radius: 4px;
  min-width: 0;
  padding: 6px;
}

.layers_nTDqtQ form button {
  white-space: nowrap;
}

.properties_nTDqtQ select[disabled], .layers_nTDqtQ button[disabled] {
  opacity: .6;
}

.properties_nTDqtQ label > select {
  display: block;
  width: 100%;
  margin: 5px 0 10px;
}

.workspace_nTDqtQ {
  position: relative;
  display: flex;
  background: #e6e8e0 radial-gradient(#c6cbbf .8px, #0000 .8px) 0 0 / 12px 12px;
  border-inline-start: 1px solid #cdd3c8;
  border-inline-end: 1px solid #cdd3c8;
  flex-direction: column;
  align-items:  center;
  min-width: 0;
  min-height: 0;
}

.legend_nTDqtQ, .imprint_nTDqtQ, .caption_nTDqtQ small {
  display: flex;
  justify-content: space-between;
}

.legend_nTDqtQ {
  color: #5e685c;
  margin-bottom: 8px;
  font-size: 9px;
}

.imprint_nTDqtQ, .caption_nTDqtQ {
  position: absolute;
  pointer-events: none;
  left: 7%;
  right: 7%;
}

.imprint_nTDqtQ {
  font-size: 2cqw;
  top: 4%;
}

.caption_nTDqtQ {
  bottom: 4%;
}

.caption_nTDqtQ b {
  letter-spacing: -.085em;
  font-size: 13cqw;
  line-height: 1.1;
}

.caption_nTDqtQ small {
  border-top: 1px solid;
  margin-top: 2%;
  padding-top: 2%;
  font-size: 1.8cqw;
}

.shapes_nTDqtQ {
  position: absolute;
  inset: 0;
}

.shape_nTDqtQ {
  position: absolute;
  touch-action: none;
  cursor: inherit;
  border: 0;
  padding: 0;
}

.shape_nTDqtQ:hover {
  outline: 2px dashed #416cd7;
}

.shape_nTDqtQ:focus-visible {
  outline: 2px dashed #416cd7;
}

.shape_nTDqtQ.text-layer_nTDqtQ {
  text-align: left;
  display: block;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.tools_nTDqtQ {
  display: flex;
  background: #242922;
  border: 1px solid #535e4b;
  border-radius: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 5px 19px #20241f45;
}

.tools_nTDqtQ button {
  color: #fff;
  background: none;
  border: 0;
  padding: 9px;
  font-size: 12px;
}

.tools_nTDqtQ button:hover {
  background: #414a3e;
}

.tools_nTDqtQ button:disabled {
  opacity: .48;
}

.layout_nTDqtQ form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.layout_nTDqtQ form label, .color_nTDqtQ {
  display: flex;
  border: 1px solid #cdd3c8;
  border-radius: 4px;
  align-items:  center;
  gap: 7px;
  padding: 7px;
  font-size: 12px;
}

.layout_nTDqtQ form input {
  background: none;
  border: 0;
  width: 100%;
}

.color_nTDqtQ input {
  cursor: pointer;
  border: 0;
  width: 25px;
  height: 23px;
  padding: 0;
}

.text-field_nTDqtQ {
  display: block;
  margin-bottom: 8px;
}

.text-field_nTDqtQ input {
  width: 100%;
}

.server_nTDqtQ button {
  margin-top: 15px;
}

.component-library_nTDqtQ {
  background: #edf2e9;
  border: 1px solid #d1dbcc;
  border-radius: 6px;
  margin-top: 15px;
  padding: 8px;
  font-size: 12px;
}

.component-library_nTDqtQ summary {
  cursor: pointer;
  font-weight: 600;
}

.layout_nTDqtQ .component-library_nTDqtQ form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 10px;
}

.layout_nTDqtQ .component-library_nTDqtQ form > label {
  border: 0;
  padding: 0;
}

.component-library_nTDqtQ select {
  font: inherit;
  color: inherit;
  background: #fff;
  width: 100%;
  padding: 5px;
}

.component-position_nTDqtQ {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.component-position_nTDqtQ label {
  min-width: 0;
}

.component-library_nTDqtQ button {
  color: #fff;
  background: #263c2d;
  border: 0;
  border-radius: 4px;
  padding: 6px;
}

.component-library_nTDqtQ button:disabled {
  opacity: .55;
}

@media (max-width: 760px) {
  .layout_nTDqtQ {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 30%);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .left-dock_nTDqtQ {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 25dvh;
  }

  .rail_nTDqtQ {
    border-bottom: 1px solid #d6ddd2;
    border-right: 0;
    flex-direction: row;
    padding: 3px 8px;
  }

  .rail_nTDqtQ button {
    display: flex;
    align-items:  center;
    gap: 6px;
    padding: 3px 9px;
  }

  .rail_nTDqtQ button span {
    font-size: 14px;
  }

  .left-panel_nTDqtQ {
    padding: 8px 10px;
  }

  .layout_nTDqtQ .left-panel_nTDqtQ h2 {
    display: none;
  }

  .layout_nTDqtQ .properties_nTDqtQ {
    padding: 12px 10px;
  }
}

@media (max-width: 500px) {
  .layout_nTDqtQ {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .layout_nTDqtQ .properties_nTDqtQ {
    max-height: 24dvh;
    padding: 10px 16px;
  }

  .properties_nTDqtQ hr {
    display: none;
  }

  .layout_nTDqtQ form:not(.component-library_nTDqtQ form) {
    grid-template-columns: repeat(4, 1fr);
  }

  .properties_nTDqtQ h3 {
    margin: 8px 0;
  }

  .color_nTDqtQ {
    width: max-content;
  }
}

/* frontend/src/journey.module.css */
.journey-navigation_jMtwUw {
  margin-block-start: 14px;
  margin-block-end: 14px;
  font-size: 12px;
}

.journey-navigation_jMtwUw h3 {
  margin: 18px 0 12px;
  font-size: 13px;
}

.journey-steps_jMtwUw, .journey-actions_jMtwUw {
  display: grid;
  gap: 4px;
}

.journey-steps_jMtwUw a, .journey-actions_jMtwUw a, .simulate-failure_jMtwUw {
  display: block;
  color: #274533;
  text-decoration: none;
  border-radius: 5px;
  padding: 6px 8px;
}

.journey-steps_jMtwUw a:hover, .journey-steps_jMtwUw a[aria-current="step"], .journey-actions_jMtwUw a:hover {
  background: #e3edda;
}

.journey-actions_jMtwUw {
  margin-top: 9px;
}

.journey-actions_jMtwUw .journey-mode_jMtwUw {
  color: #fff;
  background: #294331;
}

.journey-actions_jMtwUw .journey-mode_jMtwUw:hover {
  background: #375741;
}

.journey-preview_jMtwUw {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(145px, 200px);
  place-content:  start center;
  gap: 30px;
  min-height: calc(100dvh - 94px);
  padding: 20px clamp(14px, 5vw, 80px) 28px;
}

.prototype-canvas_jMtwUw h1 {
  margin: 0 0 9px;
  font-size: 15px;
}

.prototype-guide_jMtwUw {
  padding-top: 14px;
}

.prototype-hotspot_jMtwUw {
  position: absolute;
  z-index: 1;
  border-radius: 3px;
}

.prototype-hotspot_jMtwUw:hover {
  outline: 2px solid #7ba245;
  outline-offset: 2px;
}

.prototype-hotspot_jMtwUw:focus-visible {
  outline: 2px solid #7ba245;
  outline-offset: 2px;
}

.simulate-failure_jMtwUw {
  color: #8c392a;
  border: 1px solid #d6ae9f;
  font-size: 12px;
}

.simulate-failure_jMtwUw:hover {
  background: #f7e8e2;
}

@media (max-width: 760px) {
  .editor-navigation_jMtwUw .journey-steps_jMtwUw, .editor-navigation_jMtwUw .journey-actions_jMtwUw {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .journey-preview_jMtwUw {
    grid-template-columns: minmax(0, 480px);
    gap: 10px;
  }

  .prototype-guide_jMtwUw {
    padding-top: 0;
  }

  .prototype-guide_jMtwUw .journey-steps_jMtwUw {
    display: flex;
    flex-wrap: wrap;
  }
}
