

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/playfair-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/playfair-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/eb-garamond-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/eb-garamond-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/lora-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/lora-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/crimson-pro-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/crimson-pro-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/alegreya-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/alegreya-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/bitter-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/bitter-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/fraunces-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/fraunces-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/cormorant-garamond-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/cinzel-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/bodoni-moda-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/montserrat-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/work-sans-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/raleway-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/oswald-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/josefin-sans-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/archivo-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/cover-fonts/dancing-script-roman-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/libre-baskerville-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/cover-fonts/libre-baskerville-700-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/libre-baskerville-400i-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/spectral-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/cover-fonts/spectral-700-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/spectral-400i-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/zilla-slab-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/cover-fonts/zilla-slab-700-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/zilla-slab-400i-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/bebas-neue-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/cover-fonts/pinyon-script-400-latin.woff2) format('woff2');
}

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/literata-roman-200-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/literata-italic-200-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/literata-roman-200-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/literata-italic-200-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/reader/fonts/vollkorn-roman-400-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/reader/fonts/vollkorn-italic-400-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/reader/fonts/vollkorn-roman-400-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/reader/fonts/vollkorn-italic-400-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourceserif4-roman-200-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourceserif4-italic-200-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourceserif4-roman-200-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourceserif4-italic-200-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourcesans3-roman-200-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourcesans3-italic-200-900-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourcesans3-roman-200-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(/reader/fonts/sourcesans3-italic-200-900-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/reader/fonts/atkinson-roman-200-800-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/reader/fonts/atkinson-italic-200-800-latin-ext.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/reader/fonts/atkinson-roman-200-800-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/reader/fonts/atkinson-italic-200-800-latin.woff2) format('woff2');
}

.bmc-studio {
  --brand: #7c4dba;
  --brand-bright: #9b6ed0;
  --brand-ink: #5b3591;
  --paper: #f7f1e3;
  --paper-2: #ece3d0;
  --ink: #231b11;
  --line: #e0d6c2;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
}

.bmc-shell {
  --brand: #7c4dba;
  --brand-ink: #5b3591;
  --ink: #231b11;
  --line: #e0d6c2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bmc-tabs {
  display: flex;
  gap: 6px;
}
.bmc-tab {
  font-family: system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bmc-tab:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}
.bmc-tab.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.bmc-stage {
  flex: 1 1 auto;
  min-width: 0;
  background:
    repeating-linear-gradient(45deg, #efe9db 0 10px, #eae3d2 10px 20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
}

.bmc-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 40px rgba(35, 27, 17, 0.22);
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

.bmc-rail {
  flex: 0 0 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.bmc-sec {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 14px;
}

.bmc-sec-title {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 10px;
}

.bmc-info {
  background: var(--paper-2);
}
.bmc-kv {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #5c5140;
}
.bmc-kv b {
  color: var(--ink);
}

.bmc-dim {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #8a7d68;
  line-height: 1.4;
}
.bmc-dim.bad {
  color: #b3261e;
}

.bmc-lp-wrap {
  display: flex;
  justify-content: center;
  margin: 2px 0 10px;
}
.bmc-lp {
  width: 152px;
  height: 152px;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.4));
}

.bmc-btn-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.bmc-btn-row:last-child {
  margin-bottom: 0;
}

.bmc-btn {
  flex: 1 1 auto;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bmc-btn:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}
.bmc-btn.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.bmc-btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.bmc-btn.primary:hover {
  background: var(--brand-bright);
  border-color: var(--brand-bright);
  color: #fff;
}
.bmc-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  background: #efe9db;
  border-color: var(--line);
  color: #8a7d68;
}

.bmc-file {
  display: none;
}

.bmc-palette-lbl {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7d68;
  margin: 4px 0 5px;
}
.bmc-btn.bmc-add {
  flex: 1 1 auto;
  min-width: 76px;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 7px;
}
.bmc-add-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.bmc-btn.bmc-align {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.bmc-btn.bmc-align svg {
  width: 18px;
  height: 18px;
  display: block;
}

.bmc-btn.bmc-style-b {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}
.bmc-btn.bmc-style-i {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.bmc-input {
  width: 100%;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 8px;
}
.bmc-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 77, 186, 0.15);
}

.bmc-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.bmc-field > span {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #5c5140;
}
.bmc-field .bmc-input {
  flex: 0 0 56%;
  margin-bottom: 0;
}

.bmc-fontfield {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.bmc-fontfield-lbl {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #5c5140;
}
.bmc-fontpick {
  position: relative;
}
.bmc-fontpick-btn {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.bmc-fontpick-btn:hover,
.bmc-fontpick-btn.open {
  border-color: var(--brand);
}
.bmc-fontpick-cur {
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bmc-fontpick-caret {
  flex: 0 0 auto;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: var(--brand-ink);
  transition: transform 0.15s;
}
.bmc-fontpick-btn.open .bmc-fontpick-caret {
  transform: rotate(180deg);
}
.bmc-fontpick-list {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  max-height: min(300px, 60vh);
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  box-shadow: 0 8px 24px rgba(35, 27, 17, 0.12);
}
.bmc-fontpick-list:hover,
.bmc-fontpick-list:focus-within {
  scrollbar-color: color-mix(in srgb, #8a7d68 60%, transparent) transparent;
}
.bmc-fontpick-list::-webkit-scrollbar {
  width: 12px;
  background: transparent;
}
.bmc-fontpick-list::-webkit-scrollbar-track,
.bmc-fontpick-list::-webkit-scrollbar-corner {
  background: transparent;
  border: 0;
}
.bmc-fontpick-list::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}
.bmc-fontpick-list::-webkit-scrollbar-thumb {
  background-color: transparent;
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 999px;
  min-height: 40px;
}
.bmc-fontpick-list:hover::-webkit-scrollbar-thumb,
.bmc-fontpick-list:focus-within::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, #8a7d68 60%, transparent);
}
@media (hover: none) {
  .bmc-fontpick-list {
    scrollbar-width: auto;
    scrollbar-color: auto;
    scrollbar-gutter: auto;
  }
  .bmc-fontpick-list::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}
.bmc-fontpick-cat {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  padding: 9px 8px 4px;
}
.bmc-fontpick-opt {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bmc-fontpick-opt:hover {
  background: var(--paper-2);
}
.bmc-fontpick-opt.sel {
  border-color: var(--brand);
  background: #f3ecfb;
}

.bmc-color {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}
.bmc-swatches {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bmc-swatches-brand {
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.bmc-sw {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  padding: 0;
}
.bmc-sw.on {
  box-shadow: 0 0 0 2px var(--brand);
}

.bmc-cmyk-toggle {
  align-self: flex-start;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-ink, var(--brand));
  background: none;
  border: none;
  padding: 2px 0;
  cursor: pointer;
}
.bmc-cmyk-toggle:hover {
  text-decoration: underline;
}
.bmc-cmyk {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbf7ee;
}
.bmc-cmyk-chans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.bmc-cmyk-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bmc-cmyk-field > span {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #8a7d68;
  text-align: center;
}
.bmc-cmyk-ch {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 6px 4px;
  margin-bottom: 0;
  font-size: 12px;
  -moz-appearance: textfield;
}
.bmc-cmyk-hexrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bmc-cmyk-preview {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.bmc-cmyk-hex {
  flex: 1 1 auto;
  margin-bottom: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}
.bmc-cmyk-note {
  margin: 0;
  line-height: 1.35;
}

.bmc-layers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 190px;
  overflow-y: auto;
}
.bmc-layer {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid transparent;
}
.bmc-layer.sel {
  border-color: var(--brand);
  background: #f3ecfb;
}
.bmc-layer-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  color: var(--ink);
}
.bmc-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  color: #6c6150;
}
.bmc-icon:hover {
  background: var(--paper-2);
  color: var(--brand-ink);
}

.bmc-notice {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-ink);
  background: rgba(124, 77, 186, 0.12);
  border: 1px solid var(--brand-bright);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.bmc-flash {
  position: sticky;
  bottom: 0;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  padding: 0 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s, opacity 0.2s, padding 0.2s;
}
.bmc-flash.show {
  max-height: 40px;
  padding: 9px 12px;
  opacity: 1;
}

.bmc-empty {
  max-width: 460px;
  margin: 48px auto;
  text-align: center;
  background: var(--paper, #f7f1e3);
  border: 1px solid #e0d6c2;
  border-radius: 16px;
  padding: 40px 32px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: #231b11;
}
.bmc-empty-mark {
  font-size: 30px;
  color: #7c4dba;
  margin-bottom: 8px;
}
.bmc-empty h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}
.bmc-empty p {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6c6150;
}

.bmc-modetabs {
  display: flex;
  gap: 6px;
  padding-bottom: 2px;
}
.bmc-modetab {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bmc-modetab:hover { border-color: var(--brand); color: var(--brand-ink); }
.bmc-modetab.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.bmc-easy {
  max-width: 640px;
  margin: 4px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 26px;
  font-family: system-ui, sans-serif;
  color: var(--ink);
}
.bmc-easy-title {
  margin: 0 0 6px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  text-wrap: balance;
}
.bmc-easy-lead {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #6c6150;
  text-wrap: pretty;
}
.bmc-easy-brief {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  min-height: 92px;
}
.bmc-easy-brief:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124, 77, 186, 0.16); }

.bmc-easy-price {
  margin: 10px 0 0;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: #8a7d68;
}
.bmc-easy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.bmc-easy-go { font-size: 14px; padding: 11px 20px; }
.bmc-easy-prog { margin-top: 18px; }
.bmc-easy-stage { font-size: 13px; font-weight: 700; color: var(--brand-ink); margin-bottom: 8px; }
.bmc-easy-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(124, 77, 186, 0.15);
  overflow: hidden;
}
.bmc-easy-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transition: width 0.4s ease;
  min-width: 4px;
}
.bmc-easy-eta { font-size: 12px; color: #6c6150; margin-top: 7px; }
.bmc-easy-err {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #b3261e;
  background: rgba(179, 38, 30, 0.08);
  border: 1px solid rgba(179, 38, 30, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}
.bmc-easy-needskey { margin-top: 18px; }
.bmc-easy-prompt {
  width: 100%;
  box-sizing: border-box;
  font: 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.bmc-wrapswitch {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.bmc-wrapopt {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  font-family: system-ui, sans-serif;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.bmc-wrapopt b { font-size: 12.5px; font-weight: 700; }
.bmc-wrapopt-sub { font-size: 10.5px; color: #6c6150; line-height: 1.3; }
.bmc-wrapopt:hover { border-color: var(--brand); }
.bmc-wrapopt.on { border-color: var(--brand); background: rgba(124, 77, 186, 0.1); }
.bmc-wrapopt.on b { color: var(--brand-ink); }

.bmc-rotate-row { align-items: center; }
.bmc-rotate-row .bmc-input { max-width: 84px; }

.bmc-inline-edit {
  position: fixed;
  z-index: 4000;
  box-sizing: border-box;
  margin: 0;
  padding: 2px 4px;
  border: 2px solid var(--brand, #7c4dba);
  border-radius: 4px;
  background: #fff;
  color: #231b11;
  font-size: 15px;
  line-height: 1.25;
  resize: none;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(35, 27, 17, 0.28);
}
.bmc-inline-edit:focus { outline: none; }

@media (max-width: 860px) {
  .bmc-studio {
    flex-direction: column;
  }
  .bmc-rail {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }
  .bmc-easy { padding: 20px 16px 22px; }
}

@media (prefers-color-scheme: dark) {
  .bmc-studio:not([data-theme="light"]) .bmc-stage {
    background: repeating-linear-gradient(45deg, #241f19 0 10px, #201b16 10px 20px);
    border-color: #33291f;
  }
}
