/* Shared screen-only surfaces. Keep label artwork and export styles independent. */
@media screen {
 :root:not([data-theme=dark]) {
  --ls-bg:#fff;--ls-panel:#faf9f8;--ls-soft:#f3f2f0;--ls-ink:#222;--ls-muted:#767470;--ls-line:#e5e3df;--ls-dark:#292929;
  --ls-selected:#eceae6;--ls-shadow:0 12px 30px #2424240a;
 }
 :root:not([data-theme=dark]) body.lime-site.lime-site {
  --lt-bg:#fff;--lt-panel:#faf9f8;--lt-soft:#f2f1ef;--lt-preview:#eeece9;--lt-ink:#222;--lt-muted:#767470;
  --lt-line:#e5e3df;--lt-line-strong:#b8b4ac;--lt-selected:#eceae6;--lt-deep:#292929;--lt-shadow:0 12px 30px #24242408;
 }
 :root:not([data-theme=dark]) body.lime-editor {
  --le-bg:#fff;--le-surface:#faf9f8;--le-soft:#f3f2f0;--le-stage:#eeece9;--le-ink:#222;--le-muted:#767470;
  --le-line:#e5e3df;--le-hover:#eeece8;--le-selected:#e8e5df;--le-dot:#c6c2bb;--le-shadow:0 12px 30px #2424240a;
 }
 :root[data-theme=dark] {
  --ls-bg:#181818;--ls-panel:#242424;--ls-soft:#2b2a28;--ls-ink:#f3f2ef;--ls-muted:#b3b0aa;--ls-line:#3c3b38;--ls-dark:#161616;--ls-selected:#3a3833;
 }
 :root[data-theme=dark] body.lime-site.lime-site {
  --lt-bg:#181818;--lt-panel:#242424;--lt-soft:#2b2a28;--lt-preview:#20201f;--lt-ink:#f3f2ef;--lt-muted:#b3b0aa;
  --lt-line:#3c3b38;--lt-line-strong:#706d66;--lt-selected:#3a3833;--lt-deep:#161616;
 }
 :root[data-theme=dark] body.lime-editor {
  --le-bg:#181818;--le-surface:#242424;--le-soft:#2b2a28;--le-stage:#20201f;--le-ink:#f3f2ef;--le-muted:#b3b0aa;
  --le-line:#3c3b38;--le-hover:#34322f;--le-selected:#3a3833;--le-dot:#48463f;
 }
 html:not([data-theme=dark]):has(>body.lime-editor){background:#fff;}
 html[data-theme=dark]:has(>body.lime-editor){background:#181818;}
 html body.lime-site.lime-site.lime-site :is(.guide-card,.article-card,.service-card) {
  background:var(--ls-panel);border-color:var(--ls-line);box-shadow:none;
  transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s;
 }
 html body.lime-site.lime-site.lime-site :is(.guide-card,.article-card,.service-card):hover {
  background:var(--ls-soft);border-color:var(--lt-line-strong);box-shadow:var(--ls-shadow);
 }
 html body.lime-site.lime-site.lime-site .article .article-cta,
 :root body.lime-editor .compact-top .template-trigger {background:#292929;color:#fff;}
 :root body.lime-editor .compact-top .template-trigger:hover{background:#41403d;}
 html body.lime-site.lime-site.lime-site ::selection {background:var(--ls-selected);color:var(--ls-ink);}
 :root body.lime-editor dialog::backdrop{background:#18181870;}
 :root body.lime-editor #toast {background:#292929;color:#fff;}
 :root body.lime-site.lime-site .label-editor #preview {background-image:radial-gradient(#8a888340 .8px,transparent .8px);}
 :root:not([data-theme=dark]) body.lime-site.lime-site :is(.label-editor,.format-generator,.ean-tool) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {background-color:#fff;}
 :root:not([data-theme=dark]) body.lime-editor :is(input,textarea,select):not(.inline-text-editor){background-color:#fff;}
}
@media screen {
 :root[data-theme=dark]{--hp-bg:#181818;--hp-surface:#242424;--hp-soft:#2b2a28;--hp-ink:#f3f2ef;--hp-muted:#b3b0aa;--hp-line:#3c3b38;}
 .hp .feature-showcase .feature-step[aria-pressed=true]{background:var(--ls-selected);border-color:var(--ls-line);color:var(--hp-ink);}
 .hp .feature-showcase .feature-step:hover{background:var(--ls-selected);}
 .hp .hp-tool:hover{border-color:var(--lt-line-strong,#b8b4ac);box-shadow:0 12px 28px #2424240d;}
 :root[data-theme=dark] .hp .feature-stage{background:#242424;}
 :root[data-theme=dark] .hp .hp-tool .feature-card-art{background:#2b2a28;}
}
@media screen {
 html:not([data-theme=dark]) {background:#fff;--ls-panel:#fff;}
 html:not([data-theme=dark]) body.lime-site.lime-site {--lt-panel:#fff;background:#fff;}
 html:not([data-theme=dark]) body.lime-editor {--le-surface:#fff;background:#fff;}
 html:not([data-theme=dark]) body.lime-site.lime-site.lime-site :is(.side-nav,.article-toc,.article-site-sections) {background:#fff;}
 html body.lime-site.lime-site.lime-site .side-nav .article-toc a {border-left:2px solid transparent;transition:background-color .18s,color .18s,border-color .18s;}
 html body.lime-site.lime-site.lime-site .side-nav .article-toc a[aria-current=location] {background:var(--ls-selected);color:var(--ls-ink);border-left-color:transparent;font-weight:600;}
}
/* Original label-editor palette, matching the supplied reference screenshots. */
@media screen {
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor {
  --lt-bg:#f4f6fb;--lt-panel:#fff;--lt-soft:#f0f3fb;--lt-selected:#e9efff;
  --lt-ink:#172b4e;--lt-muted:#657b9b;--lt-line:#d5deed;--lt-line-strong:#6c91ff;
  --lt-accent:#245cc3;--lt-preview:#e8efff;--lt-shadow:none;
  background:#f4f6fb;color:#172b4e;
 }
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor :is(.workspace>aside,.preview-panel,.product-detection,.parent-category-panel) {background:#fff;border-color:#e0e6f0;border-radius:20px;box-shadow:none;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #preview {background:linear-gradient(120deg,#eeeaff,#e3f0ff);border:0;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #layouts>button {background:#fff;border-color:#d5deed;color:#172b4e;border-radius:16px;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #layouts>button[aria-selected=true] {background:#e9efff;border-color:#6c91ff;box-shadow:0 0 0 2px #6c91ff;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #layouts>button:hover {background:#f5f8ff;border-color:#93acf0;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #layouts .layout-thumbnail {background:#f0f3fb;border-radius:10px;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #layouts span {color:#657b9b;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor :is(.editor-select-trigger,input,textarea,select,.custom-field-name,.custom-storage) {background-color:#fff;border-color:#d5deed;color:#172b4e;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #fields label:has([data-field=highlight]),
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .size-badge {background:#edf3ff;color:#172b4e;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .batch-pdf-panel {background:#f5f8ff;border:1px solid #d5deed;border-radius:12px;padding:16px;margin:18px 0;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .batch-pdf-panel h3 {margin-top:0;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor input[type=file]::file-selector-button {background:#edf3ff;color:#245cc3;border:1px solid #d5deed;border-radius:8px;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .custom-field-zone {background:#f0f3fb;border-color:#d5deed;padding:14px;border-radius:12px;margin:18px 0;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .custom-field {background:#fafcff;border-color:#d5deed;padding:12px;border-radius:10px;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .custom-field-name input {background:transparent;box-shadow:none;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-actions {align-items:center;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-actions button {color:#657b9b;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-actions button:not(:disabled):hover {background:#edf3ff;border-color:#d5deed;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .custom-field-zone.drop-active {background:#e9efff;border-color:#6c91ff;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .custom-field-zone.drop-full {border-color:var(--lt-error);}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor .actions button:first-child {background:#2563eb;border-color:#2563eb;color:#fff;}
}
@media screen and (max-width:600px) {
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor :is(.custom-field-zone,.custom-field) {padding:10px;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-actions {display:grid;grid-template-columns:24px minmax(0,1fr) 30px;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-name {grid-column:2 / -1;grid-row:1;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-drag-handle {grid-column:1;grid-row:1;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-order {grid-column:2;grid-row:2;justify-self:end;}
 html:not([data-theme=dark]) body.lime-site.lime-site .label-editor #custom-editor .custom-field-remove {grid-column:3;grid-row:2;}
}
