/* Beam's working surface: stable panels, readable controls, clear selection. */
.editor-page {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 16px;
}
.editor-page .topbar {
  height: auto;
  min-height: 68px;
  flex-shrink: 0;
  gap: 20px;
  padding: 12px 22px;
  flex-wrap: wrap;
}
.topbar .top-link {
  color: #e2e8ef;
  font-size: 14px;
}
.topbar .top-link:hover {
  color: white;
}
.editor-page .top-actions {
  gap: 8px;
  flex-wrap: wrap;
}
.editor-page .top-actions button {
  font-size: 14px;
}
.project-menu {
  position: relative;
  font-size: 14px;
}
.project-menu > summary {
  cursor: pointer;
  list-style: none;
  color: #e2e8ef;
  padding: 10px 12px;
  border: 1px solid #586472;
  border-radius: 7px;
  user-select: none;
}
.project-menu > summary::-webkit-details-marker {
  display: none;
}
.project-menu > summary span {
  margin-left: 18px;
}
.project-menu-content {
  position: absolute;
  top: 48px;
  left: 0;
  width: 300px;
  max-width: calc(100vw - 28px);
  z-index: 20;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 18px 45px #16213033;
}
.project-menu-content .local-label {
  display: block;
  margin: 7px 0 14px;
  font-size: 12px;
}
.project-menu-content button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 12px 9px;
  font-size: 14px;
}
.project-menu-content button:hover {
  background: #f0f3f6;
}
.project-menu-content kbd {
  font-size: 11px;
  color: #6a7684;
}
.project-menu-content input {
  font-size: 16px;
}
.editor-page .workflow {
  height: 54px;
  flex-shrink: 0;
  padding: 0 22px;
}
.editor-page .step-tabs button {
  font-size: 14px;
}
.editor-page .workflow > .quiet {
  font-size: 14px;
}
.editor-page .workflow-note {
  font-size: 12px;
}
.editor-page .workspace {
  flex: 1;
  min-height: 0;
  height: auto;
  grid-template-columns: 68px 294px minmax(280px, 1fr) 272px;
  grid-template-rows: minmax(0, 1fr); /* lets the row shrink at 125–150% browser zoom */
  overflow: hidden;
}
.editor-page .toolrail {
  padding: 12px 4px;
  min-height: 0;
  overflow-y: auto;
}
.editor-page .toolrail button {
  font-size: 13px;
  width: 59px;
  min-height: 68px;
}
.editor-page .left-panel {
  padding: 24px 20px;
  overscroll-behavior: contain;
}
.editor-page .panel-heading {
  margin-bottom: 20px;
}
.editor-page .panel-heading h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.editor-page .eyebrow,
.editor-page .section-label,
.editor-page .tiny-heading {
  font-size: 12px;
  letter-spacing: 0.7px;
}
.editor-page .panel-heading p {
  font-size: 15px;
}
.editor-page h3 {
  font-size: 16px;
}
.editor-page label,
.editor-page input,
.editor-page select,
.editor-page textarea {
  font-size: 14px;
}
.editor-page textarea {
  font-size: 16px;
}
.editor-page .inline-note,
.editor-page .explain-box {
  font-size: 13px;
  line-height: 1.65;
}
.editor-page .font-card .font-name {
  font-size: 12px;
}
.editor-page .font-example {
  font-size: 22px;
}
.editor-page .font-source {
  font-size: 12px;
  flex-wrap: wrap;
}
.editor-page .text-tools button {
  font-size: 14px;
  padding: 12px 0;
}
.editor-page .text-tools button span {
  font-size: 12px;
}
.editor-page .primary,
.editor-page .secondary {
  font-size: 14px;
  min-height: 40px;
}
.editor-page .range-field .label-row {
  font-size: 14px;
}
.editor-page .canvas-area {
  min-width: 0;
  min-height: 0;
}
.editor-page .canvas-toolbar {
  height: auto;
  min-height: 50px;
  flex-shrink: 0;
  flex-wrap: wrap;
  padding: 6px 10px;
  gap: 8px;
}
.editor-page .canvas-toolbar button {
  font-size: 14px;
  min-height: 34px;
}
.editor-page .history-tools button {
  font-size: 22px;
  padding: 3px 8px;
}
.editor-page .canvas-scroll {
  padding: 42px 30px;
  min-height: 0;
}
.editor-page .board-heading {
  font-size: 12px;
  letter-spacing: 0.5px;
}
.editor-page .board-heading span:last-child {
  font-size: 12px;
  letter-spacing: 0;
}
.editor-page .board-caption {
  font-size: 12px;
  gap: 12px;
}
.editor-page .ruler-top,
.editor-page .ruler-side {
  font-size: 11px;
}
.editor-page .canvas-bottom {
  font-size: 12px;
  min-height: 42px;
  flex-wrap: wrap;
  gap: 6px;
}
.editor-page .zoom button {
  font-size: 14px;
  min-width: 34px;
}
.editor-page .canvas-bottom > span {
  font-size: 12px;
}
.selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  flex-shrink: 0;
  padding: 4px 12px;
  border-bottom: 1px solid #dce2e7;
  background: #fff;
  font-size: 13px;
}
.selection-bar > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}
.selection-bar > div {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.selection-bar button {
  font-size: 13px;
  padding: 6px 9px;
  min-height: 32px;
}
.selection-bar #clearSelection {
  font-size: 20px;
  padding: 0 9px;
}
.editor-page .right-panel {
  min-height: 0;
}
.editor-page .right-heading {
  padding: 20px 16px 12px;
}
.editor-page .right-heading h2 {
  font-size: 16px;
}
.editor-page .object-list {
  min-height: 100px;
  max-height: 33%;
  overflow: auto;
  padding: 0 10px 10px;
}
.editor-page .object-select .name {
  font-size: 14px;
  max-width: 155px;
}
.editor-page .object-select {
  padding: 9px 7px;
  min-width: 0;
}
.editor-page .visibility {
  min-width: 32px;
  font-size: 16px;
}
.editor-page #inspector {
  padding: 18px 16px;
}
.editor-page .inspector-heading {
  font-size: 14px;
}
.editor-page .chip {
  font-size: 12px;
}
.editor-page .toggle-label {
  font-size: 14px;
}
.editor-page .align-buttons button {
  font-size: 19px;
  min-height: 38px;
}
.editor-page .op-buttons button {
  font-size: 13px;
  padding: 9px 8px;
}
.editor-page .right-bottom {
  display: none;
}
.editor-page .statusbar {
  min-height: 30px;
  flex-shrink: 0;
  font-size: 12px;
  padding: 5px 16px;
  height: auto;
}
.editor-page .statusbar > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.editor-page .operation-card {
  padding: 11px 9px;
  border: 1px solid #e0e5e9;
  border-radius: 8px;
  margin: 7px 0;
  gap: 12px;
  text-align: left;
  min-height: 66px;
}
.editor-page .operation-card svg {
  color: #c66440;
  width: 36px;
  flex-shrink: 0;
}
.editor-page .operation-card strong {
  font-size: 14px;
}
.editor-page .operation-card small {
  font-size: 12px;
  line-height: 1.45;
}
.editor-page .operation-card.active {
  background: #fff0e9;
  border-color: #ce724d;
}
.combine-preview {
  margin: 20px 0;
  border: 1px solid #cbd4dd;
  border-radius: 9px;
  background: #f7f9fb;
  padding: 14px;
}
.combine-preview-top {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.combine-preview-top > span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #657585;
}
.combine-preview-top strong {
  font-size: 15px;
}
.combine-result {
  width: 100%;
  height: 132px;
  display: block;
  margin: 10px 0;
  background: white;
  border: 1px solid #e1e5e8;
  border-radius: 6px;
}
.combine-preview p {
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 14px;
}
.combine-empty {
  padding: 24px 8px;
  text-align: center;
  font-size: 13px;
  color: #647587;
}
.operation-notice {
  border-left: 3px solid #dc855b;
  padding-left: 10px;
}
.save-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  background: #fff1de;
  border-bottom: 1px solid #dbbc8f;
  padding: 10px 22px;
  font-size: 14px;
  flex-wrap: wrap;
}
.save-notice[hidden] {
  display: none;
}
.save-notice p {
  margin: 0;
  max-width: 680px;
}
.save-notice > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.save-notice button {
  border: 1px solid #d1ad7b;
  font-size: 13px;
  background: #fff8eb;
}
.editor-page .check-list li {
  font-size: 14px;
}
.check-select {
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  line-height: 1.55;
  border: 0;
  background: none;
}
.editor-page .export-instructions {
  font-size: 14px;
  line-height: 1.65;
}
.editor-page .export-summary {
  font-size: 14px;
}
.editor-page .export-summary b {
  font-size: 13px;
}
.editor-page .data-dialog .data-toolbar label,
.editor-page .data-dialog p {
  font-size: 14px;
}
@media (max-width: 1250px) {
  .editor-page .workspace {
    grid-template-columns: 64px 270px minmax(280px, 1fr);
  }
  .editor-page .right-panel {
    display: none;
  }
  .editor-page .properties-toggle {
    display: block;
  }
  .editor-page .canvas-toolbar .properties-toggle {
    margin-left: auto;
  }
  .editor-page .right-panel.inspector-open {
    display: flex;
    position: fixed;
    right: 12px;
    top: 135px;
    bottom: 42px;
    width: 290px;
    max-width: calc(100vw - 24px);
    border: 1px solid #bfcbd5;
    border-radius: 10px;
    box-shadow: 0 12px 55px #19222d40;
    z-index: 15;
    background: white;
  }
  .editor-page .canvas-toolbar #viewMode {
    margin-left: 0;
  }
  .editor-page .workflow-note {
    display: none;
  }
  .editor-page .canvas-toolbar .segmented button span {
    display: inline;
  }
  .editor-page .right-panel .object-list {
    max-height: 35%;
  }
}
@media (max-width: 980px) {
  .editor-page .workspace {
    grid-template-columns: 60px 250px minmax(240px, 1fr);
  }
  .editor-page .topbar {
    gap: 10px;
    padding: 10px 14px;
  }
  .editor-page .canvas-toolbar {
    gap: 4px;
  }
  .editor-page .canvas-toolbar .segmented button span {
    display: none;
  }
  .editor-page .left-panel {
    padding: 20px 16px;
  }
  .editor-page .canvas-scroll {
    padding: 38px 25px;
  }
  .editor-page .canvas-bottom > span {
    display: none;
  }
  .editor-page .board-caption span:last-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .editor-page {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }
  .editor-page .topbar {
    gap: 8px;
    min-height: 68px;
  }
  .editor-page .brand {
    font-size: 27px;
  }
  .editor-page .top-actions {
    flex: 1;
    gap: 2px;
  }
  .editor-page .top-actions button,
  .editor-page .top-link {
    font-size: 13px;
    padding: 9px;
  }
  .project-menu > summary {
    padding: 9px;
    font-size: 13px;
  }
  .project-menu > summary span {
    margin-left: 4px;
  }
  .project-menu-content {
    position: fixed;
    top: 64px;
    left: 12px;
  }
  .editor-page .workflow {
    height: auto;
    min-height: 50px;
    padding: 3px 10px;
    gap: 8px;
  }
  .editor-page .step-tabs {
    gap: 3px;
  }
  .editor-page .step-tabs button {
    font-size: 14px;
    padding: 8px 4px;
  }
  .editor-page .step-line {
    width: 8px;
  }
  .editor-page .step-tabs b {
    font-size: 12px;
    width: 21px;
    height: 21px;
    margin-right: 4px;
  }
  .editor-page .workflow > .quiet {
    font-size: 12px;
    margin-left: auto;
  }
  .editor-page .workspace {
    display: flex;
    flex-direction: column;
    overflow: visible;
    flex: none;
    min-height: 0;
  }
  .editor-page .toolrail {
    order: 1;
    flex-direction: row;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 5px 10px;
    gap: 5px;
    overflow: auto;
  }
  .editor-page .toolrail button {
    width: auto;
    min-width: 62px;
    min-height: 44px;
    padding: 5px 9px;
    font-size: 13px;
    flex-direction: row;
    gap: 5px;
  }
  .editor-page .tool-symbol {
    font-size: 19px;
    line-height: 1;
  }
  .editor-page .tool-symbol .serif {
    font-size: 17px;
  }
  .editor-page .rail-spacer {
    display: none;
  }
  .editor-page .canvas-area {
    order: 2;
    min-height: 390px;
    height: 58dvh;
    max-height: 650px;
  }
  .editor-page .canvas-toolbar {
    min-height: 48px;
    gap: 4px;
    padding: 5px 8px;
  }
  .editor-page .canvas-toolbar button {
    font-size: 13px;
    padding: 6px;
    min-height: 34px;
  }
  .editor-page .history-tools button {
    font-size: 21px;
    padding: 4px 7px;
  }
  .editor-page .canvas-toolbar .properties-toggle {
    font-size: 13px;
  }
  .editor-page .canvas-scroll {
    padding: 37px 26px;
  }
  .selection-bar {
    font-size: 12px;
    padding: 4px 9px;
  }
  .selection-bar button {
    font-size: 13px;
  }
  .editor-page .left-panel {
    order: 3;
    overflow: visible;
    padding: 24px;
    max-height: none;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .editor-page .font-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-page .font-card {
    display: block;
  }
  .editor-page .font-card .font-name {
    display: block;
  }
  .editor-page .font-card .font-example {
    font-size: 21px;
  }
  .editor-page .board-heading,
  .editor-page .board-heading span:last-child {
    font-size: 12px;
  }
  .editor-page .board-caption {
    font-size: 12px;
  }
  .editor-page .right-panel.inspector-open {
    top: 100px;
    bottom: 14px;
    right: 10px;
    max-height: calc(100dvh - 114px);
  }
  .editor-page .statusbar {
    order: 10;
    font-size: 12px;
  }
  .editor-page .statusbar > span:last-child {
    display: none;
  }
  .editor-page .guide-grid {
    grid-template-columns: 1fr;
  }
  .save-notice {
    padding: 12px 16px;
  }
  .editor-page .operation-card {
    min-height: 68px;
  }
  .combine-result {
    height: 165px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.type-preview {
  border: 1px solid #dce3e9;
  border-radius: 8px;
  padding: 12px;
  margin: 0 0 20px;
  background: #f6f8fa;
  min-height: 98px;
  font-size: 13px;
  color: #5f7080;
}
.type-preview > span {
  font-size: 11px;
  letter-spacing: 1px;
  display: block;
}
.type-preview svg {
  width: 100%;
  height: 82px;
  display: block;
  margin: 8px 0;
}
.type-preview small {
  display: block;
  font-size: 12px;
}
.editor-page .draft-revert {
  font-size: 13px;
  padding: 3px 0 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.editor-page #draftHint {
  margin: 10px 0 5px;
}

/* Applying lettering stays beside its input and remains reachable while scrolling. */
.editor-page .text-entry {
  margin-bottom: 8px;
}
.editor-page .text-apply-bar {
  position: sticky;
  top: -24px;
  z-index: 3;
  background: #fff;
  padding: 12px 0 10px;
  margin: 0 0 16px;
  border-bottom: 1px solid #dce3e9;
  box-shadow: 0 8px 10px -10px #24354466;
}
.editor-page .text-apply-bar.has-changes {
  border-bottom-color: #e89975;
}
.editor-page .text-apply-bar p {
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 4px;
}
.text-apply-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #637587;
  font-size: 12px;
}
.editor-page .text-apply-meta .draft-revert {
  font-size: 12px;
  padding: 3px;
  min-height: 25px;
}
.editor-page #applyText {
  font-size: 15px;
  min-height: 44px;
}
.editor-page #applyText:disabled {
  opacity: 1;
  background: #edf1f4;
  color: #61707e;
  box-shadow: none;
}
.tool-section {
  border-top: 1px solid #dde3e9;
  margin: 0;
  min-width: 0;
}
.tool-section > summary,
.dock-section > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 12px 0;
}
.tool-section > summary::-webkit-details-marker,
.dock-section > summary::-webkit-details-marker {
  display: none;
}
.tool-section > summary small {
  margin-left: auto;
  font-weight: 400;
  font-size: 12px;
}
.section-chevron {
  margin-left: auto;
  display: inline-block;
  line-height: 1;
  transform: rotate(-90deg);
  font-size: 20px;
  color: #687887;
}
details[open] > summary > .section-chevron {
  transform: rotate(0);
}
.tool-section-content {
  padding: 2px 0 16px;
}
.tool-section-content .field:last-child {
  margin-bottom: 0;
}
.tool-section > summary:focus-visible,
.dock-section > summary:focus-visible {
  outline: 2px solid #396deb;
  outline-offset: -2px;
  border-radius: 5px;
}
.editor-page .tool-section .type-preview {
  margin: 0;
}
.editor-page .tool-section .type-preview > span {
  display: none;
}
.curve-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 3px 0 16px;
}
.curve-presets button {
  font-size: 13px;
  border: 1px solid #dce3e9;
  padding: 7px 3px;
  min-height: 62px;
}
.curve-presets button.active {
  border-color: #d27650;
  background: #fff0e8;
}
.curve-presets svg {
  display: block;
  width: 38px;
  height: 20px;
  margin: 0 auto 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.curve-angle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.curve-angle-row label {
  margin: 0;
}
.curve-angle-row input {
  width: 85px;
}
#typeCurve {
  width: 100%;
  padding: 0;
  margin: 15px 0 4px;
  accent-color: #c35d37;
}
.curve-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #617080;
  margin: 0 0 12px;
}
.editor-page .right-panel {
  overflow: hidden;
}
.editor-page .right-heading {
  padding: 12px 16px;
  min-height: 50px;
  flex: 0 0 auto;
}
.editor-page .right-heading h2 {
  flex: 1;
  margin: 0;
  font-size: 15px;
}
.editor-page .dock-section {
  margin: 0;
  flex: 0 0 auto;
  min-height: 42px;
  overflow: hidden;
  box-sizing: border-box;
}
.editor-page .dock-section > summary {
  height: 42px;
  min-height: 42px;
  padding: 10px 16px;
  border-bottom: 1px solid #e0e6eb;
  background: #f8fafb;
}
.editor-page .dock-section > summary .count {
  margin-left: 4px;
}
.editor-page #layersSection {
  height: 260px;
}
.editor-page #propertiesSection {
  flex: 0 0 auto;
  min-height: 42px;
}
.editor-page #layersSection:not([open]),
.editor-page #propertiesSection:not([open]) {
  height: 42px !important;
  flex: 0 0 42px;
}
.editor-page #objectList {
  height: var(--dock-content-height, 128px);
  min-height: 0;
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 5px 8px 10px;
  border-bottom: 0;
}
.editor-page #inspector {
  height: var(--dock-content-height, 218px);
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 14px 16px;
}
.editor-page #inspector .tool-section {
  margin-top: 10px;
}
.editor-page #inspector .rotation-controls {
  margin-bottom: 15px;
}
.editor-page #inspector .op-buttons {
  margin-top: 8px;
}
.editor-page #inspector .tool-section-content > label:first-child {
  margin-top: 8px;
}
.layer-resize {
  height: 12px;
  flex: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: row-resize;
  touch-action: none;
  background: #eef2f5;
  border-top: 1px solid #d9e1e7;
  border-bottom: 1px solid #d9e1e7;
  outline-offset: -2px;
}
.layer-resize > span {
  width: 38px;
  height: 3px;
  border-radius: 4px;
  background: #8c9bab;
}
.layer-resize:hover,
.layer-resize:focus-visible,
.resizing-layers .layer-resize {
  background: #ffebdf;
}
.layer-resize:hover > span,
.resizing-layers .layer-resize > span {
  background: #b15c36;
}
.layer-resize[hidden] {
  display: none;
}
.resizing-layers {
  user-select: none;
}
@media (max-width: 980px) {
  .editor-page .text-apply-bar {
    top: -20px;
  }
}
@media (max-width: 760px) {
  .editor-page .text-apply-bar {
    top: 0;
  }
  .editor-page .dock-section > summary {
    font-size: 15px;
  }
  .layer-resize {
    height: 18px;
    flex-basis: 18px;
  }
}

/* Make editing existing lettering a distinct, reachable action. */
.selection-bar #contextEditText[hidden] { display: none; }
.selection-bar > div { flex-wrap: wrap; justify-content: flex-end; }
.editor-page .object-select { flex: 1; overflow: hidden; }
.editor-page .object-select .name { overflow: hidden; text-overflow: ellipsis; }
.editor-page .layer-edit-text { font-size: 14px; padding: 6px; flex-shrink: 0; color: #a44727; }
.text-edit-choices { display: grid; gap: 8px; margin-bottom: 18px; }
.text-edit-choices button { text-align: left; overflow-wrap: anywhere; }
.editor-page .text-context-note { font-size: 14px; line-height: 1.5; padding: 12px; background: #fff2e9; border-radius: 6px; }
.editor-page #startNewText { font-size: 14px; margin-top: 8px; }

.pending-output-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#pendingOutputList { max-height: 180px; overflow: auto; padding-left: 22px; margin-bottom: 24px; }
#pendingOutputList li { overflow-wrap: anywhere; margin-bottom: 6px; }
.layer-tools { padding: 8px; border-bottom: 1px solid var(--line); }
.layer-search-row, .layer-name-form > div { display: flex; gap: 6px; align-items: center; }
.layer-search-row input, .layer-name-form input { min-width: 0; flex: 1; font-size: 14px; }
.layer-search-row button { padding: 8px; font-size: 12px; }
.layer-search-row button[hidden] { display: none; }
.layer-filter-status { font-size: 12px; line-height: 1.4; margin: 6px 0 0; color: #647486; }
.layer-name-form { margin: 0 0 16px; }
.layer-name-form label { font-size: 14px; }
.layer-name-form button { padding: 9px; font-size: 14px; }
.selection-bar > div { max-width: 100%; flex-shrink: 1; }

.group-label { display: block; font-size: 12px; color: #647486; font-weight: normal; }

/* Hide advanced controls from both the layout and keyboard navigation. */
[data-advanced][hidden] { display: none !important; }
.editor-page .workflow { gap: 18px; }
.experience-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.experience-controls > span { font-size: 12px; color: #647486; }
.experience-controls .segmented { display: flex; border: 1px solid #d8e0e7; border-radius: 8px; padding: 3px; background: #f3f6f8; }
.experience-controls .segmented button { font-size: 13px; padding: 7px 11px; border-radius: 5px; }
.experience-controls .segmented .selected { background: #19222d; color: white; box-shadow: 0 1px 3px #19222d22; }
.editor-page #modeDescription { margin-left: 0; white-space: nowrap; }
.repeated-copies { padding-top: 18px; }
.repeated-copies h4 { font-size: 14px; margin: 0 0 10px; }
@media (max-width: 760px) {
  .editor-page .workflow { flex-wrap: wrap; gap: 4px 10px; padding: 6px 10px; }
  .editor-page .step-tabs { flex: 1 0 100%; }
  .experience-controls { margin-left: 0; }
  .experience-controls .segmented button { min-height: 36px; padding: 7px 12px; }
  .editor-page .workflow > .quiet { margin-left: auto; }
}
