@import url("./fonts.css");

:root,
:host {
  font-family: "DM Sans", sans-serif;
  color: #293c34;
  background: #eef0eb;
  font-size: 13px;
  --green: #294f40;
  --green-dark: #183b2d;
  --muted: #79827a;
  --border: #e3e6df;
  --cream: #fafbf7;
  --soft: #edf1e8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.38;
}
button,
a {
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[contenteditable]:focus-visible {
  outline: 2px solid #528166;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-family: "Alegreya", Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.15;
}
h3 {
  font-size: 14px;
  font-weight: 650;
}
p {
  line-height: 1.65;
}
button svg {
  flex-shrink: 0;
}
small {
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #dce1d8;
  border-radius: 7px;
  background: #fff;
  color: #34483b;
  text-decoration: none;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
}
.button:hover {
  background: #f0f3ec;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.button.primary:hover {
  background: var(--green-dark);
}
.button.quiet {
  background: transparent;
  border-color: transparent;
}
.button.danger {
  color: #a14a48;
  border-color: #ead9d7;
}
.icon-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #708074;
  border-radius: 5px;
}
.icon-button:hover {
  background: #eaf0e4;
  color: var(--green);
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 7px 0;
  color: var(--green);
  background: transparent;
  text-align: left;
}
.text-button.danger {
  color: #a14a48;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 17px;
  font-size: 12px;
  line-height: 1.45;
}
.field > span {
  font-weight: 600;
  color: #50604f;
}
.field small {
  font-size: 11px;
  line-height: 1.55;
}
.field.has-help {
  margin-bottom: 7px;
}
.field-error {
  color: #ab584e;
}
.field-help {
  display: block;
  margin: 0 0 17px;
  font-size: 11px;
  line-height: 1.55;
}
input:not([type="checkbox"]):not([type="color"]):not([type="range"]):not([type="file"]),
textarea,
select {
  border: 1px solid #dce2d7;
  background: #fff;
  border-radius: 6px;
  color: #344738;
  padding: 9px 11px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: #a1a99b;
}
textarea {
  resize: vertical;
  min-height: 76px;
}
input[type="range"] {
  accent-color: var(--green);
  width: 100%;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  margin: 2px 0;
  flex-shrink: 0;
}
input[hidden] {
  display: none !important;
}
.toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  line-height: 1.5;
  font-size: 12px;
}
.toggle small {
  display: block;
  margin-top: 5px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.55px;
  color: #8a9683;
}
.hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0;
}
.panel-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.inline-form {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
.inline-form input {
  max-width: 160px !important;
}
.badge {
  display: inline-block;
  font-size: 9px;
  background: #edf0e8;
  color: #7e886f;
  border-radius: 4px;
  padding: 4px 7px;
  white-space: nowrap;
}
.badge.green {
  color: #3b6a4d;
  background: #e6efe2;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.boot-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  background: #f9faf5;
}
.blocking {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: #f5f8f0dc;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 16px;
  backdrop-filter: blur(3px);
}
.atelier-symbol {
  font-family: "Alegreya", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  text-decoration: none;
}
.atelier-host {
  container-type: inline-size;
}
.atelier-shell {
  height: 100dvh;
  min-width: 720px;
  display: flex;
  overflow: hidden;
}
.rail {
  width: 76px;
  flex-shrink: 0;
  background: #f7f9f3;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 23px 8px 15px;
  gap: 25px;
  z-index: 5;
}
.rail > .atelier-symbol {
  color: var(--green);
  padding-right: 5px;
}
.rail nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.rail nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px 2px;
  background: transparent;
  border: 0;
  color: #8d9789;
  border-radius: 9px;
  font-size: 9px;
}
.rail nav button:hover {
  background: #eef2e9;
  color: #3f634e;
}
.rail nav button.active {
  background: #e7eddf;
  color: var(--green);
}
.avatar {
  border: 1px solid #ccd7c6;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e1e9d7;
  color: #536b48;
  font-family: "Alegreya", serif;
  font-size: 18px;
}
.avatar.small {
  height: 30px;
  width: 30px;
  font-size: 16px;
}
.atelier-work {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  min-height: 76px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 26px;
  gap: 20px;
}
.site-switch {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 2px 9px;
  align-items: center;
  min-width: 100px;
}
.site-switch select {
  border: 0;
  padding: 0 17px 0 0;
  font-size: 14px;
  font-weight: 650;
  background: transparent;
  max-width: 240px;
}
.project-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aab990;
}
.workspace-label {
  grid-column: 2;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #9fa995;
  margin-top: 3px;
}
.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}
.save-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #819279;
  white-space: nowrap;
}
.save-status.error {
  color: #ab584e;
}
.toolbar-separator {
  width: 1px;
  height: 20px;
  background: #e6e9e2;
  margin: 0 10px;
}
.workspace-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.page-panel {
  width: 242px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.page-panel > header {
  height: 59px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px;
  border-bottom: 1px solid #f0f1ec;
}
.panel-tabs {
  display: flex;
  gap: 18px;
  height: 100%;
}
.panel-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #a1a998;
  padding: 0;
  font-size: 12px;
}
.panel-tabs button.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  background: #f7f8f3;
  border: 1px solid #e9ece4;
  border-radius: 6px;
  color: #9ba591;
}
.search input {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 11px;
}
.page-panel > .search {
  margin: 17px 15px 10px;
}
.page-list {
  overflow-y: auto;
  flex: 1;
  padding: 0 9px 15px;
  scrollbar-width: thin;
  scrollbar-color: #dfe6d8 transparent;
}
.page-item {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  text-align: left;
  background: none;
  padding: 12px 9px;
  color: #86927d;
  border-radius: 6px;
  line-height: 1.4;
  margin-bottom: 2px;
}
.page-item > span {
  flex: 1;
  min-width: 0;
  color: #54634c;
  font-size: 11px;
}
.page-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  color: #a4ad9c;
  margin-top: 3px;
}
.page-item > svg {
  flex-shrink: 0;
}
.page-item.active {
  background: #eef3e7;
  color: #4a6837;
}
.page-item.active > span {
  color: #36552f;
  font-weight: 600;
}
.page-item i {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #d4b776;
}
.page-item:hover {
  background: #f6f8f1;
}
.page-panel > footer {
  border-top: 1px solid #edf0e7;
  padding: 17px;
  font-size: 10px;
  color: #a1ab99;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-panel > footer button {
  font-size: 10px;
}
.structure-list {
  overflow: auto;
  padding: 15px 10px;
  scrollbar-width: thin;
}
.structure-hint {
  margin: 0 0 12px;
  padding: 0 8px;
  color: #64755b;
  font-size: 10px;
  line-height: 1.4;
}
.structure-section {
  margin-bottom: 17px;
}
.structure-section button[draggable="true"] {
  cursor: grab;
}
.structure-section button[data-drop="before"] {
  box-shadow: 0 -2px 0 #527c67;
}
.structure-section button[data-drop="after"] {
  box-shadow: 0 2px 0 #527c67;
}
.structure-section button[data-drop="join"] {
  outline: 2px dashed #527c67;
  outline-offset: -2px;
}
.structure-section button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  text-align: left;
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  color: #64755b;
  font-size: 11px;
  line-height: 1.4;
}
.structure-section button.selected {
  background: #edf3e5;
}
.structure-section > button {
  font-weight: 600;
}
.structure-section small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  margin: 2px 0;
}
.structure-section > button small {
  font-size: 7px;
  letter-spacing: 1px;
}
.structure-section > div {
  margin-left: 15px;
  border-left: 1px solid var(--border);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 3px;
}
.element-dot {
  width: 4px;
  height: 4px;
  background: #b8c5a9;
  border-radius: 50%;
  flex-shrink: 0;
}
.structure-section button.component-slot {
  padding-left: 26px;
  opacity: 0.85;
}
.structure-section .add-element-row {
  color: #97a986;
  font-size: 10px;
}
.main-canvas {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  background: #f2f4ed;
}
.canvas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 59px;
  flex-shrink: 0;
  border-bottom: 1px solid #e6e9e1;
  background: #f9faf6;
  gap: 15px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #9da894;
  min-width: 0;
}
.breadcrumb strong {
  font-weight: 500;
  color: #5b6f50;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}
.canvas-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.canvas-tools > select {
  font-size: 9px;
  width: 54px;
  background: none;
  border: 0;
  padding: 5px;
}
.devices {
  display: flex;
  border: 1px solid #e2e7db;
  border-radius: 6px;
  background: #f2f5ed;
  padding: 3px;
  gap: 2px;
}
.devices button {
  border: 0;
  background: transparent;
  color: #a0ae91;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 25px;
  border-radius: 3px;
}
.devices button.active {
  background: #fff;
  color: #49683a;
  box-shadow: 0 1px 4px #23371b0b;
}
.preview-stage {
  flex: 1;
  min-height: 0;
  padding: 24px 24px 0;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(#c4ccba50 0.7px, transparent 0.7px);
  background-size: 8px 8px;
}
.preview-frames {
  display: grid;
  justify-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.site-frame-preparing {
  opacity: 0;
}
.site-frame,
.site-frame-preparing {
  grid-area: 1 / 1;
  border: 1px solid #e0e4d9;
  border-radius: 7px 7px 0 0;
  box-shadow: 0 4px 24px #34432109;
  background: white;
  width: 100%;
  height: 100%;
  transition: max-width 0.25s;
}
.preview-stage.tablet .site-frame,
.preview-stage.tablet .site-frame-preparing {
  max-width: 768px;
}
.preview-stage.mobile .site-frame,
.preview-stage.mobile .site-frame-preparing {
  max-width: 390px;
}
.canvas-foot {
  font-size: 9px;
  color: #a1ad96;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 24px;
  gap: 15px;
  flex-shrink: 0;
}
.canvas-foot span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.preview-error {
  position: absolute;
  z-index: 5;
  top: 15px;
  left: 30px;
  right: 30px;
  background: white;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 20px #0001;
}
.preview-error p {
  font-size: 11px;
  color: #927870;
  padding-top: 5px;
}
.inspector {
  width: 292px;
  flex-shrink: 0;
  background: #fff;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.inspector > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid #ecefe7;
  padding: 17px 20px;
}
.inspector > header h3 {
  margin-top: 4px;
  font-size: 16px;
}
.inspector .eyebrow {
  font-size: 8px;
}
.inspector-content {
  padding: 22px 18px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
}
.inspector-content h3 {
  margin: 22px 0 15px;
}
.inspector-content h3:first-child {
  margin-top: 0;
}
.inspector footer {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  background: #fbfcf8;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.section-element {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e4e9dc;
  background: #f9fbf5;
  padding: 10px;
  width: 100%;
  margin-bottom: 5px;
  border-radius: 5px;
  color: #748368;
  font-size: 11px;
}
.link-field {
  padding: 14px;
  background: #f6f8f1;
  border-radius: 7px;
  margin: 10px 0 20px;
}
.link-field .field:last-child,
.link-field .field-help:last-child {
  margin-bottom: 0;
}
.media-choice {
  border: 1px dashed #cbd5bf;
  background: #f7f9f2;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #7d8d6e;
  text-align: left;
  font-size: 11px;
}
.media-choice img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.media-choice span {
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.rich-input {
  border: 1px solid #dce2d7;
  border-radius: 6px;
  overflow: hidden;
}
.rich-toolbar {
  display: flex;
  gap: 5px;
  background: #f5f7ef;
  padding: 6px;
  border-bottom: 1px solid #e0e6d7;
}
.rich-toolbar button {
  background: none;
  border: 0;
  color: #6d7d5f;
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 11px;
}
.rich-toolbar button:first-child {
  font-weight: 700;
}
.rich-toolbar button:nth-child(2) {
  font-style: italic;
}
.rich-input [contenteditable] {
  padding: 12px;
  min-height: 130px;
  max-height: 360px;
  overflow: auto;
  line-height: 1.7;
  font-size: 12px;
}
.rich-input [contenteditable]:empty:before {
  content: attr(data-placeholder);
  color: #a7b29a;
}
.rich-input p {
  margin-bottom: 9px;
}
.inset-card {
  border: 1px solid #e2e8d9;
  border-radius: 7px;
  padding: 13px;
  margin: 15px 0;
  background: #fbfcf8;
}
.workspace-scroll {
  overflow: auto;
  flex: 1;
  padding: 36px 42px;
  scrollbar-width: thin;
}
.settings-page {
  max-width: 870px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.settings-page > h2 {
  margin-bottom: 12px;
}
.settings-page > p {
  color: #87937b;
  font-size: 12px;
  margin-bottom: 28px;
  max-width: 610px;
}
.settings-card {
  padding: 27px 30px;
  background: #fff;
  border: 1px solid #e0e6d7;
  border-radius: 10px;
  margin: 22px 0;
}
.settings-card > h3 {
  font-size: 16px;
  margin-bottom: 23px;
}
.settings-card > p {
  font-size: 12px;
  color: #859078;
  margin-bottom: 22px;
}
.settings-card .field,
.settings-card .field-help {
  max-width: 600px;
}
.settings-card dl {
  font-size: 13px;
  line-height: 1.65;
}
.settings-card dt {
  font-size: 10px;
  color: #96a188;
  margin-top: 12px;
}
.settings-card dd {
  margin: 2px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.settings-card time {
  font-size: 10px;
  color: #9aa68e;
}
.design-board {
  max-width: 920px;
  margin: auto;
}
.board-heading {
  padding: 10px 0 34px;
}
.board-heading h2 {
  font-size: 43px;
  max-width: 500px;
  margin: 10px 0 16px;
}
.board-heading p {
  font-size: 12px;
  color: #909c82;
  max-width: 520px;
}
.identity-preview {
  padding: 45px;
  min-height: 210px;
  border: 1px solid #35482b10;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.identity-preview img {
  height: 95px;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 17px;
}
.identity-preview span {
  font-family: "Alegreya", serif;
  font-size: 30px;
}
.identity-preview small {
  color: inherit;
  opacity: 0.65;
  margin-top: 7px;
}
.board-section {
  border-top: 1px solid #dce3d2;
  margin-top: 33px;
  padding-top: 29px;
}
.board-section > h3 {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 23px;
  font-size: 16px;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.swatch input {
  width: 100%;
  height: 85px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
.swatch input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.swatch input::-webkit-color-swatch {
  border: 1px solid #00000012;
  border-radius: 8px;
}
.swatch strong {
  font-size: 10px;
  font-weight: 500;
}
.swatch code {
  font-size: 9px;
  color: #91a080;
}
.type-specimens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.type-specimen {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid #dce4d2;
  border-radius: 8px;
  color: #6c7c5e;
}
.type-specimen.selected {
  border: 1px solid #899f71;
  box-shadow: 0 0 0 2px #a4b89122;
}
.type-specimen > span {
  font-size: 57px;
  line-height: 1;
  margin-bottom: 20px;
}
.type-specimen strong {
  font-size: 12px;
  font-weight: 500;
}
.type-specimen small {
  margin-top: 6px;
  font-size: 9px;
}
.sample-card {
  padding: 34px;
  border: 1px solid #00000009;
  max-width: 600px;
  margin: 24px 0;
}
.sample-card h3 {
  font-size: 32px;
  font-weight: 500;
  margin: 12px 0;
}
.sample-card p {
  font-size: 12px;
  opacity: 0.75;
}
.sample-button {
  display: inline-block;
  color: white;
  font-size: 11px;
  padding: 12px 19px;
  margin-top: 22px;
}
.nav-card {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #e5eade;
  margin-bottom: 22px;
  padding-bottom: 22px;
}
.nav-card > div:first-child {
  flex: 1;
}
.nav-card .link-field {
  margin-bottom: 0;
}
.vertical-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 20px;
}
.locale-chips {
  display: flex;
  gap: 9px;
}
.locale-chip {
  background: #eef3e4;
  color: #638048;
  border: 1px solid #dde7cd;
  border-radius: 20px;
  padding: 8px 13px;
  font-size: 11px;
}
.translation {
  padding: 22px 0;
  border-bottom: 1px solid #e7ecdf;
}
.translation > small {
  color: #98a68a;
  font-size: 10px;
}
.translation p {
  font-size: 12px;
  color: #627653;
  margin: 7px 0 12px;
}
.timeline {
  padding: 5px 0;
}
.version-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  position: relative;
}
.version-row:not(:last-child):before {
  content: "";
  position: absolute;
  height: calc(100% - 35px);
  width: 1px;
  background: #d5dfc9;
  top: 67px;
  left: 20px;
}
.version-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d9e2cf;
  background: #f6f9f0;
  color: #93a77c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.version-dot.publication {
  background: #e0eace;
  color: #5d7b3e;
}
.version-row > div:nth-child(2) {
  flex: 1;
}
.version-row strong {
  font-size: 13px;
}
.version-row p {
  font-size: 11px;
  color: #899a78;
  margin: 5px 0;
}
.version-row time {
  font-size: 10px;
  color: #a4b197;
}
.version-row .button {
  font-size: 10px;
  padding: 7px 10px;
}
.history-frame {
  margin-top: 20px;
  width: 100%;
  height: 65vh;
  border: 1px solid #dce4d3;
  border-radius: 7px;
  background: #fff;
}
.account-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #eef1e8;
}
.account-row strong {
  font-size: 12px;
  font-weight: 500;
}
.account-row small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.collection-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
}
.collection-toolbar .search {
  flex: 1;
}
.collection-toolbar > select {
  max-width: 170px;
  font-size: 11px;
  padding: 8px;
}
.library-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 24px;
}
.library-content:has(.media-details) {
  grid-template-columns: 1fr 220px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.media-tile {
  background: #fff;
  border: 1px solid #e0e5d9;
  border-radius: 7px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  min-width: 0;
}
.media-tile.selected {
  border-color: #7d9b65;
  box-shadow: 0 0 0 2px #7d9b6525;
}
.media-tile img,
.file-placeholder {
  width: 100%;
  height: 125px;
  object-fit: contain;
  background: #f9faf5;
}
.media-tile > span {
  display: block;
  font-size: 10px;
  padding: 10px 10px 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6b7c5b;
}
.media-tile > small {
  display: block;
  font-size: 9px;
  padding: 0 10px 12px;
}
.file-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #a6b68f;
}
.file-placeholder small {
  font-size: 9px;
}
.media-details {
  background: #fff;
  padding: 19px;
  border: 1px solid #e0e6d7;
  border-radius: 8px;
  align-self: start;
  position: sticky;
  top: 0;
}
.media-details h3 {
  margin-bottom: 22px;
}
.media-details .button {
  width: 100%;
  margin-bottom: 10px;
  font-size: 10px;
  padding: 9px;
}
.dragging {
  outline: 2px dashed #7a9561;
  outline-offset: 12px;
  background: #eef4e5;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  color: #8c9c7d;
}
.empty-mark {
  font-size: 43px;
  color: #c0ceb0;
}
.empty h3 {
  font-family: "Alegreya", serif;
  font-size: 26px;
  font-weight: 500;
  margin: 15px 0 7px;
  color: #789363;
}
.empty p {
  font-size: 12px;
  max-width: 330px;
  margin: auto;
}
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #1d352c59;
  backdrop-filter: blur(4px);
}
.modal {
  position: static;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e3e8d9;
  border-radius: 14px;
  box-shadow: 0 24px 100px #132c2440;
  background: #fafcf6;
  color: #344833;
  width: 570px;
  max-width: min(calc(100vw - 60px), 100%);
  max-height: min(calc(100dvh - 65px), 100%);
  overflow: hidden;
}
.modal.wide {
  width: 1050px;
}
.modal > header {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 29px 32px 24px;
  border-bottom: 1px solid #e2e8d8;
}
.modal > header h2 {
  font-size: 29px;
}
.modal > header p {
  font-size: 11px;
  color: #93a083;
  margin-top: 10px;
  max-width: 700px;
}
.modal-content {
  flex: 1;
  min-height: 0;
  padding: 28px 32px;
  overflow: auto;
  scrollbar-width: thin;
}
.modal-content > p {
  font-size: 13px;
  color: #7c8d6b;
  margin-bottom: 25px;
}
.modal-content > .button-row {
  margin-top: 22px;
}
.modal-content > form > .button {
  margin-top: 12px;
}
.modal-content > h3 {
  margin-bottom: 22px;
}
.modal .library {
  font-size: 12px;
}
.modal .collection-toolbar {
  position: sticky;
  top: -28px;
  background: #fafcf6;
  padding: 5px 0;
  z-index: 1;
}
.section-templates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.section-template {
  text-align: left;
  border: 1px solid #dce5d0;
  border-radius: 9px;
  padding: 16px;
  background: #fff;
  color: #5f794c;
}
.section-template:hover {
  border-color: #86a267;
  background: #f8fbf1;
}
.section-template strong {
  display: block;
  font-size: 13px;
  margin: 17px 0 6px;
}
.section-template small {
  font-size: 10px;
  line-height: 1.6;
  display: block;
}
.template-drawing {
  height: 100px;
  background: #f1f5e8;
  border: 1px solid #e0e8d4;
  border-radius: 4px;
  padding: 17px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.template-drawing i {
  display: block;
  background: #d4dfc2;
  border-radius: 2px;
  width: 33%;
  height: 65px;
}
.template-drawing.split i:first-child {
  width: 47%;
  height: 70px;
  background: #bfcea9;
}
.template-drawing.split i:nth-child(2) {
  height: 38px;
  width: 45%;
  background: repeating-linear-gradient(
    #c9d6b7 0px,
    #c9d6b7 4px,
    transparent 4px,
    transparent 10px
  );
}
.template-drawing.split i:nth-child(3) {
  display: none;
}
.template-drawing.content {
  flex-direction: column;
  gap: 9px;
}
.template-drawing.content i {
  height: 5px;
  width: 80%;
}
.template-drawing.content i:first-child {
  width: 50%;
  height: 10px;
  align-self: flex-start;
  margin-left: 10%;
}
.template-drawing.banner {
  flex-direction: column;
}
.template-drawing.banner i {
  width: 60%;
  height: 7px;
}
.template-drawing.banner i:last-child {
  width: 35%;
  height: 20px;
  background: #aebf94;
}
.template-drawing.hero {
  background: #c8d8b3;
  flex-direction: column;
}
.template-drawing.hero i {
  width: 75%;
  height: 7px;
  background: #f1f5e9;
}
.template-drawing.hero i:first-child {
  height: 14px;
}
.template-drawing.hero i:last-child {
  display: none;
}
.template-drawing.gallery i:nth-child(2) {
  background: #adbf94;
}
.element-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.element-menu button {
  padding: 15px;
  border: 1px solid #e0e8d5;
  border-radius: 6px;
  background: #fff;
  text-align: left;
  color: #698154;
  display: flex;
  gap: 10px;
  align-items: center;
}
.element-menu button:hover {
  background: #eff5e5;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 7px;
}
.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.notice > span {
  flex: 1;
}
.notice.error {
  color: #9a5d51;
  background: #fff3ed;
  border: 1px solid #eddcd0;
}
.global-notice {
  padding: 10px 24px;
  background: #fff9f4;
}
.global-notice > .button-row {
  margin-top: 9px;
}
.update-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  background: #241c14;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}
.update-notice > span {
  flex: 1;
}
.success-notice {
  background: #eaf2e0;
  color: #65834c;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  padding: 11px 24px;
  line-height: 1.5;
}
.success-notice .icon-button {
  margin-left: auto;
}
.publication-issues {
  max-height: 250px;
  overflow: auto;
  margin: 22px 0;
}
.publication-issues > p {
  font-size: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e9df;
  color: #9a967b;
}
.publication-issues > p.error {
  color: #ad6757;
}
.publication-issues span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 8px;
  font-weight: 600;
}
.share-crop-field {
  display: grid;
  gap: 6px;
  justify-items: start;
  margin: -4px 0 16px;
}
.share-crop-field small {
  font-size: 11px;
  color: #8a8f7d;
}
.crop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}
.crop-stage {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background: #e5e9df;
  border-radius: 8px;
}
.crop-stage img {
  display: block;
  pointer-events: none;
}
.crop-frame {
  position: absolute;
  border: 2px solid #fff;
  box-shadow: 0 0 0 9999px rgba(20, 24, 16, 0.5);
  cursor: move;
}
.crop-frame:focus-visible {
  outline: 3px solid #628044;
  outline-offset: 2px;
}
.crop-handle {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  cursor: nwse-resize;
}
.crop-previews {
  display: grid;
  gap: 14px;
}
.crop-preview figcaption {
  font-size: 11px;
  color: #8a8f7d;
  margin-bottom: 4px;
}
.crop-preview div {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #e5e9df;
}
.crop-preview img {
  position: absolute;
  max-width: none;
}
@media (max-width: 900px) {
  .crop-layout {
    grid-template-columns: 1fr;
  }
}
.offer-fields {
  display: grid;
  gap: 10px;
  margin: 6px 0 16px;
}
.offer-fields h4 {
  font-size: 12px;
  margin: 0;
}
.offer-row {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e5e9df;
  border-radius: 8px;
}
.publish-indexing {
  background: #f6e8e3;
  border-radius: 9px;
  padding: 18px 23px;
  margin: 0 0 22px;
  color: #ad6757;
}
.publish-indexing p {
  font-size: 11px;
  margin: 5px 0 12px;
}
.publish-indexing .button-row {
  margin: 0 0 10px;
}
.publish-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #eaf1df;
  border-radius: 9px;
  padding: 23px;
  color: #628044;
}
.publish-summary p {
  font-size: 11px;
  margin-top: 5px;
  color: #91a079;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-art {
  background: #dfe7d2;
  padding: 45px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #48623b;
  min-height: 100dvh;
}
.atelier-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  letter-spacing: -0.7px;
  font-weight: 500;
}
.atelier-wordmark > span {
  font-family: "Alegreya", serif;
  font-size: 48px;
  line-height: 1;
}
.login-copy {
  margin: auto 0;
  position: relative;
  z-index: 1;
  padding: 70px 0;
}
.login-copy .eyebrow {
  color: #7c916b;
}
.login-copy h1 {
  font-family: "Alegreya", serif;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 1.08;
  font-weight: 400;
  margin: 30px 0 25px;
  letter-spacing: -1.7px;
}
.login-copy h1 em {
  font-weight: 400;
  color: #83986a;
}
.login-copy p {
  font-size: 12px;
  line-height: 1.9;
  color: #849772;
}
.login-art > small {
  font-size: 9px;
  color: #98a88b;
}
.login-flower {
  position: absolute;
  right: -120px;
  bottom: 80px;
  width: 390px;
  height: 390px;
  opacity: 0.48;
  transform: rotate(16deg);
}
.login-flower i {
  position: absolute;
  top: 45px;
  left: 135px;
  width: 115px;
  height: 170px;
  border: 1px solid #a4b58e;
  border-radius: 60% 60% 45% 45%;
  transform-origin: 50% 90%;
}
.login-flower i:nth-child(2) {
  transform: rotate(60deg);
}
.login-flower i:nth-child(3) {
  transform: rotate(120deg);
}
.login-flower i:nth-child(4) {
  transform: rotate(180deg);
}
.login-flower i:nth-child(5) {
  transform: rotate(240deg);
}
.login-flower i:nth-child(6) {
  transform: rotate(300deg);
}
.login-flower span {
  position: absolute;
  left: 164px;
  top: 167px;
  width: 60px;
  height: 60px;
  border: 1px solid #a4b58e;
  border-radius: 50%;
  background: #dfe7d2;
}
.login-form {
  background: #fcfdf9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding: 65px;
}
.login-form > div {
  width: 100%;
  max-width: 340px;
}
.login-form h2 {
  font-size: 43px;
  margin: 16px 0 11px;
  color: #435e36;
}
.login-form > div > p {
  color: #9aa78d;
  font-size: 12px;
  margin-bottom: 35px;
}
.login-form form .field {
  margin-bottom: 23px;
}
.login-form form .field.has-help {
  margin-bottom: 7px;
}
.login-form form .field-help {
  margin-bottom: 23px;
}
.login-form form input {
  padding: 12px 14px !important;
  background: #fff !important;
}
.login-form form > .button {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
}
.login-form form .notice {
  margin-bottom: 16px;
}
.login-form .login-help {
  font-size: 10px;
  margin-top: 27px;
  line-height: 1.8;
  color: #b1b9a8;
}
.login-form > small {
  position: absolute;
  bottom: 45px;
  font-size: 9px;
  color: #b1bba7;
}
@media (min-width: 1650px) {
  .page-panel {
    width: 265px;
  }
  .inspector {
    width: 325px;
  }
  .preview-stage {
    padding: 35px 35px 0;
  }
}
@media (max-width: 1200px) {
  .rail {
    width: 64px;
    padding-inline: 6px;
  }
  .rail nav button {
    font-size: 8px;
    padding: 9px 2px;
  }
  .page-panel {
    width: 215px;
  }
  .topbar {
    padding: 8px 18px;
    min-height: 68px;
  }
  .save-status {
    font-size: 9px;
  }
  .toolbar-separator {
    margin: 0 2px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .inspector {
    width: 265px;
  }
  .canvas-toolbar {
    padding: 0 15px;
    gap: 10px;
  }
  .canvas-tools {
    gap: 5px;
  }
  .breadcrumb > span:first-child {
    display: none;
  }
  .breadcrumb strong {
    max-width: 210px;
  }
  .preview-stage {
    padding: 15px 15px 0;
  }
  .workspace-scroll {
    padding: 25px;
  }
  .canvas-foot {
    padding: 10px 15px;
    font-size: 8px;
  }
  .swatches {
    grid-template-columns: repeat(3, 1fr);
  }
  .library-content:has(.media-details) {
    grid-template-columns: 1fr 190px;
  }
  .login-art {
    padding: 40px;
  }
  .login-form {
    padding: 40px;
  }
}
@media (max-width: 980px) {
  .top-actions .save-status {
    display: none;
  }
  .workspace-label {
    display: none;
  }
  .inspector {
    position: absolute;
    right: 0;
    top: 127px;
    bottom: 0;
    z-index: 10;
    box-shadow: -5px 0 25px #2033191a;
  }
  .workspace-scroll {
    padding: 22px;
  }
  .settings-card {
    padding: 22px;
  }
  .page-panel {
    width: 195px;
  }
  .canvas-foot > span:last-child {
    display: none;
  }
  .collection-toolbar {
    flex-wrap: wrap;
  }
  .collection-toolbar > select {
    max-width: 140px;
  }
  .board-heading h2 {
    font-size: 36px;
  }
  .version-row {
    flex-wrap: wrap;
  }
  .version-row .button-row {
    margin-left: 58px;
  }
  .section-templates {
    grid-template-columns: 1fr 1fr;
  }
  .modal-content {
    padding: 24px;
  }
  .login-art {
    padding: 35px;
  }
  .login-form {
    padding: 35px;
  }
  .login-copy h1 {
    font-size: 53px;
  }
}
@media (max-width: 700px) {
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-art {
    min-height: 260px;
    padding: 25px 30px;
  }
  .login-copy {
    padding: 30px 0;
  }
  .login-copy h1 {
    font-size: 40px;
    margin: 17px 0;
  }
  .login-copy h1 br {
    display: none;
  }
  .login-copy h1 em {
    display: block;
  }
  .login-copy p,
  .login-art > small {
    display: none;
  }
  .atelier-wordmark {
    font-size: 15px;
  }
  .atelier-wordmark > span {
    font-size: 35px;
  }
  .login-flower {
    right: -130px;
    bottom: -80px;
    transform: scale(0.8);
  }
  .login-form {
    min-height: 490px;
    padding: 40px 30px 70px;
  }
  .login-form h2 {
    font-size: 36px;
  }
  .login-form > small {
    bottom: 25px;
  }
  .modal {
    max-width: 100%;
  }
  .library-content:has(.media-details) {
    grid-template-columns: 1fr;
  }
  .media-details {
    position: static;
  }
}

.seo-issue {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid #e8edde;
  text-align: left;
  padding: 16px 0;
  color: #71875d;
}
.seo-issue > span {
  flex: 1;
}
.seo-issue strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.seo-issue small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
.search-result {
  text-align: left;
  display: block;
  padding: 20px 0;
  width: 100%;
  border: 0;
  background: none;
  border-bottom: 1px solid #e5ebdc;
}
.search-result > small {
  display: block;
  font-size: 10px;
  color: #7b8e68;
  margin-bottom: 7px;
}
.search-result > strong {
  display: block;
  color: #325a81;
  font-size: 17px;
  font-weight: 400;
}
.search-result > p {
  font-size: 12px;
  color: #899580;
  margin-top: 6px;
}

.effect-fields {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.effect-fields > summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 16px;
}
.effect-fields .inset-card {
  overflow: hidden;
  min-height: 90px;
  display: grid;
  align-items: center;
  font-size: 24px;
}

.component-browser-grid,
.component-editor-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
  gap: 20px;
  margin-block: 20px;
}
.component-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 600px;
  overflow-y: auto;
}
.component-option {
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 14px;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  cursor: pointer;
}
.component-option[aria-selected="true"] {
  border-color: var(--green);
  background: var(--soft);
}
.component-option small {
  color: var(--muted);
}
.component-preview {
  min-width: 0;
  overflow-x: auto;
}
.component-preview iframe {
  display: block;
  height: 460px;
  border: 0;
  background: var(--cream);
}
.component-preview-stage {
  display: grid;
  justify-items: center;
  overflow: hidden;
  margin-block: 12px;
  width: 100%;
}
.component-elements {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.component-browser-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.component-browser-bar .search {
  flex: 1;
  min-width: 200px;
}
.component-browser-bar .scope-tabs {
  display: contents;
}
.component-browser-bar [role="tab"][aria-selected="true"] {
  border-color: var(--green);
  background: var(--soft);
}
.component-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 12px;
  max-height: 620px;
  overflow-y: auto;
}
.component-card {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 0 0 12px;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  cursor: pointer;
  overflow: hidden;
}
.component-card.selected {
  border-color: var(--green);
  background: var(--soft);
}
.component-card strong,
.component-card small,
.component-card em {
  padding-inline: 12px;
}
.component-card small {
  color: var(--muted);
}
.component-cards-group {
  display: contents;
}
.component-cards-heading {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.component-card .library-preview-frame {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  min-height: 132px;
}
.component-detail .library-preview-frame {
  margin-block: 12px;
  min-height: 360px;
}
.component-card-hint {
  font-style: normal;
  font-size: 11px;
  color: var(--green);
}
@media (max-width: 760px) {
  .component-browser-grid,
  .component-editor-grid {
    grid-template-columns: 1fr;
  }
  .component-items,
  .component-cards {
    max-height: 260px;
  }
}
.mosaic-palette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.mosaic-color {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mosaic-color input[type="color"] {
  width: 40px;
  height: 32px;
  padding: 2px;
}
.identity-showcase {
  container-type: inline-size;
  max-width: 1240px;
  margin: 33px auto 0;
  padding-top: 29px;
  border-top: 1px solid #dce3d2;
}
.identity-showcase > h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.showcase-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 16px 0;
}
.showcase-bar .search {
  flex: 1;
  min-width: 200px;
}
.showcase-filter,
.showcase-select {
  display: grid;
  gap: 4px;
  font-size: 12px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.showcase-nav {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.showcase-list {
  display: grid;
  gap: 2px;
  max-height: 640px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
}
.showcase-list:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.showcase-level {
  display: block;
  margin: 10px 8px 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.showcase-option {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}
.showcase-option small {
  font-size: 11px;
  color: var(--muted);
}
.showcase-option.provisional span,
.showcase-sheet h4.provisional {
  font-style: italic;
  color: var(--muted);
}
.showcase-option[aria-selected="true"] {
  border-color: var(--green);
  background: var(--soft);
}
.showcase-option.active {
  box-shadow: inset 0 0 0 2px var(--green);
}
.showcase-select {
  display: none;
}
.showcase-sheet {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.showcase-state {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
}
.showcase-state.validated {
  background: #dbeccf;
  color: #2f5d1f;
}
.showcase-state.proposed {
  background: #f4e9c8;
  color: #6b5310;
}
.showcase-fields,
.showcase-variants,
.showcase-page {
  display: grid;
  gap: 10px;
}
.showcase-widths {
  display: flex;
  gap: 6px;
}
.showcase-widths [aria-pressed="true"],
.showcase-variant [aria-pressed="true"] {
  border-color: var(--green);
  background: var(--soft);
}
.showcase-renders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.showcase-renders figure {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.showcase-renders figcaption {
  font-size: 12px;
  color: var(--muted);
}
.library-preview-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
}
.library-preview-frame > p {
  padding: 12px;
  color: var(--muted);
}
.library-preview-frame iframe {
  position: absolute;
  left: 0;
  border: 0;
  background: transparent;
  transform-origin: top left;
  pointer-events: none;
}
.showcase-zones ul,
.showcase-exemplars ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.showcase-zones li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 6px 12px;
}
.showcase-variant {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 10px;
}
.showcase-exemplars li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.showcase-gather {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.showcase-review {
  padding: 12px;
  border: 1px solid #e4c96b;
  border-radius: 8px;
  background: #fbf4dc;
}
.showcase-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.showcase-colors span {
  display: flex;
  align-items: end;
  width: 86px;
  height: 56px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.showcase-colors code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #ffffffcc;
  font-size: 10px;
}
.showcase-orphan {
  display: grid;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
@container (max-width: 900px) {
  .showcase-renders {
    grid-template-columns: minmax(0, 1fr);
  }
}
@container (max-width: 719px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .showcase-list {
    display: none;
  }
  .showcase-select {
    display: grid;
  }
}
.inspector div[data-drop="before"] {
  box-shadow: 0 -2px 0 #527c67;
}
.inspector div[data-drop="after"] {
  box-shadow: 0 2px 0 #527c67;
}
.inspector div[draggable="true"] {
  cursor: grab;
}
.focus-picker {
  display: grid;
  gap: 8px;
  margin: 6px 0 14px;
}
.focus-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #e5e9df;
  cursor: crosshair;
  touch-action: none;
}
.focus-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.focus-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.focus-thumb.is-original .focus-mark {
  opacity: 0.45;
}
.focus-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.focus-presets button {
  padding: 5px 4px;
  border: 1px solid #cfd5c8;
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
  cursor: pointer;
}
.focus-presets button.is-active {
  border-color: var(--green);
  background: #e5ede8;
}
.compact {
  position: relative;
  flex-direction: column;
}
.compact-page-action {
  padding: 6px;
  border-bottom: 1px solid var(--border);
}
.compact .modal .page-panel,
.compact .modal .inspector {
  width: 100%;
  max-height: 65dvh;
  display: flex;
}
.compact .modal .inspector {
  position: static;
  box-shadow: none;
}
@container (max-width: 719px) {
  .atelier-shell {
    flex-direction: column;
    min-width: 0;
  }
  .atelier-work {
    min-height: 0;
  }
  .rail {
    width: 100%;
    padding: 4px;
    flex-direction: row;
    gap: 6px;
    border-bottom: 1px solid var(--border);
  }
  .rail > .atelier-symbol {
    padding: 0 4px;
    font-size: 28px;
  }
  .rail nav {
    flex-direction: row;
    overflow-x: auto;
    width: auto;
    min-width: 0;
  }
  .rail nav button {
    flex: 0 0 65px;
    min-height: 46px;
  }
  .rail nav button span {
    display: block;
  }
  .topbar {
    height: auto;
    min-height: 68px;
    padding: 8px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .top-actions {
    flex-wrap: wrap;
  }
  .save-status {
    display: inline-flex;
  }
  .canvas-toolbar {
    height: auto;
    padding: 8px;
    flex-wrap: wrap;
  }
  .canvas-tools {
    flex-wrap: wrap;
  }
  .preview-stage {
    padding: 0;
  }
  .preview-stage .site-frame,
  .preview-stage .site-frame-preparing {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .workspace-scroll {
    padding: 12px;
  }
  .workspace-scroll .panel-grid,
  .settings-grid,
  .design-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .canvas-foot {
    flex-wrap: wrap;
    padding: 8px;
  }
  .modal {
    width: 100%;
    max-width: 100%;
  }
  .modal-content {
    padding: 12px;
  }
}
