@charset "UTF-8";

/* Shared brand colors; the editor keeps its existing geometry and controls. */
:root {
  --ink:#25272c;
  --muted:#676b70;
  --subtle:#696e76;
  --line:#e1e3df;
  --panel:#fff;
  --paper:#f8f7f3;
  --blue:#3e53e8;
  --blue-dark:#2e42c9;
  --blue-pale:#eeefff;
}

.editor-shell .editor-header { background:var(--paper); border-bottom-color:#dcded9; }
.editor-shell .editor-title h1 { color:var(--ink); font-weight:650; }
.editor-shell .prototype-badge { background:#eeeee8; border-color:#dddfd8; color:#666b65; border-radius:4px; }
.editor-shell .header-divider,.editor-shell .history-actions { border-color:var(--line); }
.editor-shell .editor-help-button,.editor-shell .editor-more>summary,.editor-shell .project-menu-button,.editor-shell .reset-button,.editor-shell .language-button { color:var(--muted); }
.editor-shell .stitch-nav-link,.editor-shell .project-menu-button { background:#fff; border-color:#d9ddd7; border-radius:7px; }
.editor-shell .stitch-nav-link:hover,.editor-shell .project-menu-button:hover:not(:disabled),.editor-shell .editor-help-button:hover:not(:disabled) { color:var(--blue-dark); background:var(--blue-pale); }
.editor-shell .primary-button { background:var(--blue); border-radius:7px; box-shadow:none; }
.editor-shell .primary-button:hover:not(:disabled) { background:var(--blue-dark); }
.editor-shell .editor-more-panel { border-color:var(--line); border-radius:9px; box-shadow:0 12px 32px #25272c1c; }
.editor-shell .editor-language-row { color:var(--muted); }

/* A quiet neutral workspace gives the image and selected objects priority. */
.editor-shell .workspace { background:#e9ebec; }
.editor-shell .canvas-stage { background-color:#e9ebec; background-image:none; }
.editor-shell .workspace-toolbar { background:#f5f6f3; border-bottom-color:#dfe2dc; }
.editor-shell .workspace-status { background:#f5f6f3; border-top-color:#dfe2dc; }
.editor-shell .document-info,.editor-shell #zoom-value { color:var(--muted); }
.editor-shell .document-dot { background:#98a19c; }
.editor-shell .zoom-divider { background:#d9ddd7; }
.editor-shell .canvas-wrap { box-shadow:0 12px 34px #25272c13,0 1px 4px #25272c10; }
.editor-shell .canvas-hint { color:#666c72; }
.editor-shell .image-drop-overlay { color:var(--blue-dark); background:#f2f3ffed; }
.editor-shell .stitch-session-note { color:#4f587b; background:#eeeffa; }

.editor-shell .toolrail { border-right-color:#dfe2dc; }
.editor-shell .tool-button { border-radius:7px; }
.editor-shell .tool-button.is-active,.editor-shell .tool-button[aria-pressed=true] { color:var(--blue); background:var(--blue-pale); }
.editor-shell .smart-guides-toggle { border-color:#dce0da; border-radius:6px; }
.editor-shell .smart-guides-toggle[aria-pressed=true] { color:#75509b; border-color:#dcd1e9; background:#f1ebf7; }
.editor-shell .smart-guides-toggle:hover:not(:disabled) { color:#68438e; background:#eae1f3; }

/* Sidebar hierarchy uses the same restrained borders as the new site. */
.editor-shell .inspector { border-left-color:#dfe2dc; }
.editor-shell .section-heading h2 { color:var(--ink); font-weight:680; }
.editor-shell .property-subheading,.editor-shell .group-transform-fields legend,.editor-shell .photo-control-group>summary { color:#5f666b; }
.editor-shell .photo-control-group[open]>summary { color:var(--ink); }
.editor-shell .photo-control-group>summary:hover { color:var(--blue); }
.editor-shell .inspector :is(input[type=text],input[type=number],select),.editor-shell .unit-field { color:#41484d; border-color:#dce0da; background:#fafbf8; border-radius:6px; }
.editor-shell .inspector .unit-field input { background:transparent; border:0; border-radius:0; }
.editor-shell .unit-field:focus-within { border-color:var(--blue); }
.editor-shell .inspector input[type=color] { border-color:#dce0da; border-radius:6px; }
.editor-shell :is(.multi-selection-button,.group-action-button,.photo-button,.multi-selection-clear),.editor-shell .text-alignment button { color:#5e666a; border-color:#dce0da; background:#f8f9f6; border-radius:6px; }
.editor-shell :is(.multi-selection-button,.group-action-button,.photo-button):hover:not(:disabled) { color:var(--blue-dark); border-color:#c4cafa; background:var(--blue-pale); }
.editor-shell .text-alignment button[aria-pressed=true] { color:var(--blue); border-color:#c4cafa; background:var(--blue-pale); }
.editor-shell .photo-button-primary { color:#fff; border-color:var(--blue); background:var(--blue); }
.editor-shell .photo-button-primary:hover:not(:disabled) { color:#fff; border-color:var(--blue-dark); background:var(--blue-dark); }
.editor-shell .bold-toggle>span[aria-hidden] { color:var(--muted); border-color:#dce0da; background:#f4f5f1; border-radius:6px; }
.editor-shell .bold-toggle input:checked+span { color:var(--blue); border-color:#c4cafa; background:var(--blue-pale); }
.editor-shell .layer-count { background:#f0f1ec; border-radius:4px; }
.editor-shell .layer-row { border-radius:6px; }
.editor-shell .layer-row[aria-selected=true],.editor-shell .layer-row.is-selected,.editor-shell .layer-row.selected,.editor-shell .layer-group-row.is-selected,.editor-shell .layer-group-row[aria-selected=true] { background:#eeefff; border-color:#cbd0f6; }
.editor-shell .layer-group-row { background:#f7f8f4; border-color:#e0e3dc; border-radius:6px; }
.editor-shell .layer-label,.editor-shell .group-label { color:#4d555a; }
.editor-shell .group-count { color:var(--muted); background:#e9ece5; border-radius:4px; }
.editor-shell .group-toggle svg { transition:none; }
.editor-shell .layer-thumb { border-color:#e0e3dc; border-radius:4px; }
.editor-shell .selection-png-open { color:var(--blue); border-color:#d9dcf1; background:#f4f4ff; border-radius:6px; }

/* Existing start, export and project flows share the brand without new layout. */
.editor-shell .editor-start { background:#fffefa; border-color:#dedfd7; border-radius:11px; box-shadow:0 12px 36px #25272c0b; }
.editor-shell .editor-start h2 { color:var(--ink); }
.editor-shell .editor-start-actions button { color:var(--ink); border-color:#dfe2da; background:#f8f9f5; border-radius:7px; }
.editor-shell .editor-start-actions button:hover:not(:disabled) { color:var(--ink); background:#eff0e9; }
.editor-shell .editor-start-actions .editor-start-photo { color:white; background:var(--blue); border-color:var(--blue); }
.editor-shell .editor-start-actions .editor-start-photo:hover:not(:disabled) { color:white; background:var(--blue-dark); border-color:var(--blue-dark); }
.editor-shell .editor-start-actions .editor-start-photo span { color:white; }
:is(.project-dialog,.save-dialog,.editor-help-dialog,.selection-png-dialog) { color:var(--ink); border-color:var(--line); border-radius:12px; box-shadow:0 22px 80px #25272c2e; }
:is(.project-dialog,.save-dialog,.editor-help-dialog,.selection-png-dialog)::backdrop { background:#25272c70; }
:is(.project-dialog-header,.save-header,.editor-help-header,.selection-png-header) { border-bottom-color:var(--line); }
:is(.project-dialog-footer,.save-footer,.selection-png-footer) { background:var(--paper); border-top-color:var(--line); }
:is(.save-note,.save-header p,.save-result>p,.save-preview figcaption,.editor-help-header p,.editor-help-context,.editor-help-close,.selection-png-note,.selection-png-header p,.selection-png-info,.selection-png-status) { color:var(--muted); }
:is(.save-button,.selection-png-button,.selection-png-close),.save-field input,.save-field select,.selection-png-field input { color:var(--ink); border-color:#dce0da; border-radius:7px; }
:is(.save-button-primary,.selection-png-primary) { color:#fff; background:var(--blue); border-color:var(--blue); }
:is(.save-button-primary,.selection-png-primary):hover:not(:disabled) { color:#fff; background:var(--blue-dark); border-color:var(--blue-dark); }
.editor-help-shortcuts kbd { background:#f5f6f1; border-color:#dce0da; color:#454c50; }
.editor-help-menu-notes dd,.editor-help-shortcuts dd { color:var(--muted); }

.editor-shell :is(button,a,input,select,textarea,[tabindex]):focus-visible { outline-color:var(--blue); }
.editor-shell .canvas-text-editor:focus-visible { outline:0; }
