/* All product styles are scoped. The shell exception applies only to this route. */
body[data-view="ecom-parity"] {margin:0;min-width:0;background:#e9faf2;overflow-x:hidden}
body[data-view="ecom-parity"]>.sidebar {display:none!important}
body[data-view="ecom-parity"]>.workspace {margin:0!important;padding:64px 0 0!important;width:100%!important;max-width:none!important;min-width:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
body[data-view="ecom-parity"]>.workspace>.topbar {position:fixed!important;inset:0 0 auto!important;height:64px!important;min-height:64px!important;box-sizing:border-box;z-index:40;display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:16px;padding:0 24px!important;background:#343c4c!important;color:#fff!important;border:0!important;box-shadow:0 2px 6px #0002}
body[data-view="ecom-parity"] #workspace-caption {font-size:14px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-view="ecom-parity"] .topbar .connection {margin-left:auto;gap:12px;flex-shrink:0;color:#fff}
body[data-view="ecom-parity"] .topbar .connection-text,body[data-view="ecom-parity"] .topbar #connection-text {color:#fff}
.ecom-parity-shell-link {display:none!important}
body[data-view="ecom-parity"] .ecom-parity-shell-link {display:inline-flex!important;align-items:center;gap:4px;padding:8px 12px;background:#ffffff12;border:1px solid #ffffff20;border-radius:12px;color:#fff;font:500 13px/20px system-ui;text-decoration:none;white-space:nowrap}
body[data-view="ecom-parity"] #ecom-parity-center {padding:0!important;max-width:none!important;margin:0!important;min-width:0}
body[data-view="ecom-parity"] #site-registration {margin:0;padding:24px;background:#eef4fd}
.ecom-parity {--ep-green:#00b894;--ep-blue:#4a90e2;--ep-border:oklch(92% .005 240);--ep-muted:oklch(50% .02 250);--ep-ink:oklch(25% .01 250);font:400 16px/24px Poppins,"Noto Sans SC",ui-sans-serif,system-ui,sans-serif;color:var(--ep-ink);min-height:calc(100vh - 64px);text-align:left;background:linear-gradient(to bottom right,#e9faf2,#e6f4fe,#f1f0ff)}
.ecom-parity *,.ecom-parity *::before,.ecom-parity *::after {box-sizing:border-box}
.ecom-parity [hidden] {display:none!important}
.ecom-parity h1,.ecom-parity h2,.ecom-parity h3,.ecom-parity h4,.ecom-parity p {margin:0;color:inherit;font-family:inherit;letter-spacing:normal}
.ecom-parity h1 {font-size:30px;line-height:36px;font-weight:600;letter-spacing:-.025em}
.ecom-parity h2 {font-size:24px;line-height:1.25;font-weight:600}
.ecom-parity h3 {font-size:18px;line-height:28px;font-weight:600}
.ecom-parity h4 {font-size:16px;line-height:24px;font-weight:600}
.ecom-parity button,.ecom-parity input,.ecom-parity textarea,.ecom-parity select {font-family:inherit;letter-spacing:normal;box-shadow:none;text-transform:none;max-width:100%}
.ecom-parity button {cursor:pointer}
.ecom-parity button:disabled {cursor:not-allowed;opacity:.4}
.ecom-parity button:focus-visible,.ecom-parity input:focus-visible,.ecom-parity textarea:focus-visible,.ecom-parity select:focus-visible {outline:2px solid #00b894;outline-offset:2px}
.ecom-parity .ep-container {width:100%;max-width:1152px;padding-left:24px;padding-right:24px;margin-left:auto;margin-right:auto}
.ecom-parity .ep-header {padding-top:24px;padding-bottom:24px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.ecom-parity .ep-eyebrow {font-size:12px;line-height:16px;letter-spacing:.4em;text-transform:uppercase;color:var(--ep-green)}
.ecom-parity .ep-header-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}
.ecom-parity .ep-button {display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid var(--ep-border);border-radius:12px;background:#ffffffb3;color:var(--ep-ink);font-size:14px;line-height:20px;font-weight:400;padding:8px 12px;min-height:0;min-width:0;transition:background .15s,border-color .15s}
.ecom-parity .ep-button:hover:not(:disabled) {background:#f4f7f8;border-color:#cbd5dc}
.ecom-parity .ep-icon {width:18px;height:18px;flex-shrink:0;display:inline-block;vertical-align:middle}
.ecom-parity .ep-version-tabs {display:inline-flex;padding:4px;gap:4px;border-radius:999px;background:#ffffffcc;border:1px solid #dde4e680;box-shadow:0 1px 2px #0001}
.ecom-parity .ep-version-tabs .ep-button {border:0;background:transparent;padding:4px 12px;border-radius:999px;font-size:12px;line-height:16px;color:var(--ep-muted)}
.ecom-parity .ep-version-tabs .ep-button .ep-icon {width:14px;height:14px}
.ecom-parity .ep-button.ep-active,.ecom-parity .ep-button.ep-primary {background:linear-gradient(to right,#00b894,#4a90e2);color:#fff;border-color:transparent;font-weight:600}
.ecom-parity .ep-version-tabs .ep-active {box-shadow:0 6px 16px #00b89459}
.ecom-parity .ep-reset {padding:6px 12px;border-radius:999px;font-size:12px;line-height:16px;background:#fff;box-shadow:0 1px 2px #0001}
.ecom-parity .ep-main {padding-bottom:64px;overflow-anchor:none}
.ecom-parity .ep-intro {padding-top:16px;display:flex;flex-direction:column;gap:20px;margin-bottom:40px}
.ecom-parity .ep-kicker {font-size:14px;line-height:20px;letter-spacing:.4em;font-weight:600;color:var(--ep-green)}
.ecom-parity .ep-intro-description {font-size:16px;line-height:1.625;color:var(--ep-muted)}
.ecom-parity .ep-generator {display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding:24px;border-radius:16px;border:1px solid #e2e7ebcc;background:#ffffffb3;box-shadow:0 18px 50px #0f172a14;align-items:start}
.ecom-parity .ep-settings,.ecom-parity .ep-output {min-width:0}
.ecom-parity .ep-heading {display:flex;align-items:center;gap:8px}
.ecom-parity .ep-heading .ep-icon {color:var(--ep-green)}
.ecom-parity .ep-help {font-size:12px;line-height:16px;color:var(--ep-muted);font-weight:400;display:block}
.ecom-parity .ep-setting-description {margin-top:8px;margin-bottom:24px}
.ecom-parity .ep-drop {width:100%;height:104px;display:flex;flex-direction:column;gap:0;padding:16px;border:1px dashed #dce6e9b3;border-radius:16px;font-size:12px;line-height:16px;background:#ffffff4d;color:var(--ep-muted)}
.ecom-parity .ep-drop .ep-icon {width:26px;height:26px;margin-bottom:12px;color:var(--ep-green)}
.ecom-parity .ep-sr-only {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ecom-parity .ep-thumbs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.ecom-parity .ep-thumb {position:relative;aspect-ratio:1;border:1px solid var(--ep-border);border-radius:10px;background:#fff;overflow:hidden;min-width:0}
.ecom-parity .ep-thumb img {width:100%;height:100%;object-fit:cover;display:block}
.ecom-parity .ep-thumb-preview {border:0;padding:0;width:100%;height:100%;border-radius:0}
.ecom-parity .ep-thumb-remove {position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:999px;background:#0f172a99;color:#fff;border:0;padding:0;font-size:16px}
.ecom-parity .ep-thumb-label {position:absolute;bottom:3px;left:3px;background:var(--ep-green);color:#fff;font-size:10px;line-height:14px;padding:0 3px;border-radius:3px}
.ecom-parity .ep-fields {display:flex;flex-direction:column;gap:16px;margin-top:24px}
.ecom-parity .ep-field {display:flex;flex-direction:column;gap:4px;min-width:0;margin:0;font-weight:400;font-size:14px;line-height:20px}
.ecom-parity .ep-label {display:block;position:relative;font-size:12px;line-height:16px;color:var(--ep-muted);font-weight:400}
.ecom-parity .ep-input {display:block;width:100%;height:38px;border:1px solid var(--ep-border);border-radius:12px;padding:8px 12px;background:#ffffffb3;color:var(--ep-ink);font-size:14px;line-height:20px;font-weight:400;margin:0;min-width:0}
.ecom-parity .ep-input::placeholder {color:#939aa0;opacity:1}
.ecom-parity textarea.ep-input {height:80px;min-height:0;resize:none}
.ecom-parity select.ep-select {height:36px;padding-top:6px;padding-bottom:6px;appearance:auto}
.ecom-parity .ep-field>.ep-help {font-size:11px;line-height:16px;margin-top:6px}
.ecom-parity .ep-segment {display:flex;width:max-content;border:1px solid var(--ep-border);padding:2px;height:38px;border-radius:12px;background:#f2f6f780}
.ecom-parity .ep-segment .ep-button {padding:6px 16px;border:0;border-radius:10px;background:transparent;line-height:20px}
.ecom-parity .ep-segment .ep-active {background:linear-gradient(to right,#00b894,#4a90e2)}
.ecom-parity .ep-sensitive {position:absolute;right:0;top:-2px;display:flex;align-items:center;gap:6px;font:400 12px/18px inherit;color:var(--ep-muted)}
.ecom-parity .ep-switch {appearance:none;width:32px;height:18.39px;border:0!important;border-radius:999px;background:#b8c2c8;padding:0!important;margin:0;display:inline-block;position:relative;cursor:pointer;flex-shrink:0;box-shadow:none}
.ecom-parity .ep-switch::after {content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;background:white;border-radius:999px;box-shadow:0 1px 2px #0002}
.ecom-parity .ep-switch:checked {background:#00b894}
.ecom-parity .ep-switch:checked::after {left:16px}
.ecom-parity .ep-reference-limit {margin-top:24px}
.ecom-parity .ep-tip {font-size:12px;line-height:16px;margin:8px 0;color:var(--ep-green)}
.ecom-parity .ep-tip summary {cursor:pointer;list-style:none}
.ecom-parity .ep-tip p {padding:8px 0}
.ecom-parity .ep-copy-button {height:44px;border-radius:16px;width:100%;padding:12px;box-shadow:0 12px 30px #00b89459}
.ecom-parity .ep-connection {font-size:11px;line-height:16px;color:var(--ep-muted);margin-top:6px}
.ecom-parity .ep-error {color:#dc4040;font-size:13px;line-height:20px;overflow-wrap:anywhere;margin:8px 0}
.ecom-parity .ep-steps {margin-top:40px;padding:12px;border:1px solid var(--ep-border);border-radius:8px;background:#f0f4f880;font-size:11px;line-height:18px;color:var(--ep-muted)}
.ecom-parity .ep-steps p {margin-top:8px;color:#189d91}
.ecom-parity .ep-output {display:flex;flex-direction:column;gap:24px}
.ecom-parity .ep-card {padding:24px;border:1px solid var(--ep-border);border-radius:16px;background:#ffffff99;box-shadow:0 1px 2px #00000005;min-width:0}
.ecom-parity .ep-card-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.ecom-parity .ep-card-head h3 {flex-shrink:1}
.ecom-parity .ep-saved {font-size:12px;line-height:16px;color:#00a986;white-space:nowrap}
.ecom-parity .ep-empty-copy {min-height:200px;padding:12px 16px;border:1px solid var(--ep-border);border-radius:16px;background:#ffffff66;font-size:14px;line-height:20px;color:var(--ep-muted)}
.ecom-parity .ep-copy-actions {display:flex;gap:12px;margin-top:16px}
.ecom-parity .ep-copy-actions>.ep-button {flex:1;min-height:38px;padding:8px 6px;font-size:14px}
.ecom-parity .ep-save {background:#00b89412;border-color:#00b89466;color:#00a989;font-weight:600}
.ecom-parity .ep-generation-parameters {display:flex;flex-direction:column;gap:16px;margin-top:48px}
.ecom-parity .ep-generation-parameters>.ep-primary {height:44px;border-radius:16px;box-shadow:0 12px 30px #00b89459}
.ecom-parity .ep-parameters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ecom-parity .ep-fixed-count {font-size:12px;color:var(--ep-muted);line-height:20px;padding:8px 0}
.ecom-parity .ep-cost {padding:12px;font-size:12px;line-height:16px;color:var(--ep-muted);background:#00b89414;border:1px solid #00b89426;border-radius:12px;grid-column:1/-1}
.ecom-parity .ep-model {position:relative;min-width:0}
.ecom-parity .ep-model-trigger {width:100%;height:38px;justify-content:flex-start;white-space:nowrap;overflow:hidden;font-size:14px;padding:8px 12px}
.ecom-parity .ep-model-trigger .ep-icon {order:2;margin-left:auto;width:14px;height:14px;color:var(--ep-muted)}
.ecom-parity .ep-model-menu {position:fixed;z-index:50;width:min(92vw,460px);overflow-y:auto;padding:12px;border:1px solid var(--ep-border);border-radius:8px;background:#fff;box-shadow:0 8px 15px #0002}
.ecom-parity .ep-model-tabs {display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}
.ecom-parity .ep-model-tabs .ep-button {font-size:12px;line-height:16px;padding:6px 10px;border:0;border-radius:8px;background:#f3f5f7}
.ecom-parity .ep-model-tabs .ep-active {background:#00b894;color:#fff}
.ecom-parity .ep-model-options {display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:8px;max-height:360px;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
.ecom-parity .ep-model-options.ep-model-two-columns {grid-template-columns:repeat(2,minmax(0,1fr))}
.ecom-parity .ep-model-options .ep-button {display:block;text-align:left;padding:8px 12px;border-radius:10px;font-size:13px;line-height:18px;white-space:normal;background:white}
.ecom-parity .ep-model-options .ep-help {font-size:11px;line-height:16px}
.ecom-parity .ep-model-options .ep-selected {border-color:#00b894;background:#00b8940d}
.ecom-parity .ep-fonts {border:1px solid var(--ep-border);border-radius:12px;padding:12px;margin-bottom:16px;display:flex;flex-direction:column;gap:8px}
.ecom-parity .ep-font-title {border:0;padding:0;background:none;justify-content:space-between;color:#00a68a;width:100%;font-weight:600}
.ecom-parity .ep-selection {display:flex;justify-content:space-between;align-items:center;font-size:12px;line-height:20px;color:var(--ep-muted);margin-bottom:16px}
.ecom-parity .ep-selection label {display:flex;align-items:center;gap:8px}
.ecom-parity .ep-check {appearance:none;display:inline-block;flex-shrink:0;width:20px;height:20px;border:2px solid var(--ep-border);border-radius:6px;background:#fff;margin:0;position:relative;cursor:pointer;padding:0}
.ecom-parity .ep-check:checked {background:#00b894;border-color:#00b894}
.ecom-parity .ep-check:checked::after {content:'✓';position:absolute;inset:-2px;color:#fff;font:600 15px/20px system-ui;text-align:center}
.ecom-parity .ep-draft-stack {display:flex;flex-direction:column;gap:16px}
.ecom-parity .ep-draft-card {padding:16px;border:1px solid #dfe6e9b3;border-radius:16px;background:#ffffff4d;min-width:0}
.ecom-parity .ep-draft-card.ep-selected {border-color:#00b89466;background:#ffffff99}
.ecom-parity .ep-draft-card.ep-unselected {opacity:.6}
.ecom-parity .ep-draft-top {display:flex;align-items:flex-start;gap:12px}
.ecom-parity .ep-card-theme {flex:1;display:flex;flex-direction:column;gap:4px;min-width:0;font-size:14px;line-height:20px}
.ecom-parity .ep-card-theme small {font-size:12px;color:var(--ep-muted)}
.ecom-parity .ep-card-theme strong {font-weight:500}
.ecom-parity .ep-text {border:0;background:none;padding:0;font-size:12px;line-height:20px;color:var(--ep-muted)}
.ecom-parity .ep-scene {font-size:12px;line-height:20px;color:var(--ep-muted);margin:12px 0 0;overflow-wrap:anywhere}
.ecom-parity .ep-truncate {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ecom-parity .ep-text-toggle {display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--ep-muted);margin-top:16px}
.ecom-parity .ep-draft-card .ep-field {margin-top:12px}
.ecom-parity .ep-raw-copy {height:280px!important}
.ecom-parity .ep-result-tools {display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;position:relative}
.ecom-parity .ep-small {font-size:12px;line-height:16px;min-height:34px;padding:8px 12px;border-radius:12px;white-space:nowrap}
.ecom-parity .ep-small .ep-icon {width:14px;height:14px}
.ecom-parity .ep-empty-results {text-align:center;padding:40px 0;color:var(--ep-muted);font-size:14px;line-height:20px}
.ecom-parity .ep-result-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.ecom-parity .ep-result-card {border:1px solid var(--ep-border);border-radius:16px;overflow:hidden;background:#fff;min-width:0}
.ecom-parity .ep-result-image {aspect-ratio:4/3;position:relative;overflow:hidden;background:#f0f4f6;display:flex;align-items:center;justify-content:center}
.ecom-parity .ep-result-image>img {display:block;width:100%;height:100%;object-fit:cover}
.ecom-parity .ep-image-state {position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;background:#f5f7fae6;text-align:center;font-size:13px}
.ecom-parity .ep-result-bottom {padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ecom-parity .ep-result-buttons {display:flex;gap:6px;width:100%;justify-content:flex-end}
.ecom-parity .ep-icon-button {width:36px;height:36px;border-radius:8px;padding:8px}
.ecom-parity .ep-icon-button .ep-icon {width:15px;height:15px}
.ecom-parity .ep-feature-copy {display:flex;flex-direction:column;gap:20px;margin-top:40px}
.ecom-parity .ep-feature-copy hr {width:100%;border:0;height:1px;background:linear-gradient(to right,transparent,#cbd5e1cc,transparent);margin:0 0 20px}
.ecom-parity .ep-feature-copy h3 {font-size:20px;line-height:28px}
.ecom-parity .ep-feature-copy p {font-size:14px;line-height:1.625;color:var(--ep-muted)}
.ecom-parity .ep-feature-copy .ep-feature-intro {font-size:16px;line-height:1.625}
.ecom-parity .ep-value-grid {display:grid;gap:20px;grid-template-columns:minmax(0,1fr);margin:4px 0 20px}
.ecom-parity .ep-value-grid p {margin-top:8px}
.ecom-parity .ep-overlay {position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#0f172a99;backdrop-filter:blur(16px);padding:0;color:var(--ep-ink);font-family:inherit}
.ecom-parity .ep-clear-dialog {width:calc(100vw - 32px);max-width:384px;padding:24px;border:1px solid var(--ep-border);border-radius:16px;background:white;box-shadow:0 20px 60px #0003}
.ecom-parity .ep-clear-dialog p {font-size:14px;line-height:22px;color:var(--ep-muted);margin:16px 0}
.ecom-parity .ep-dialog-actions {display:flex;justify-content:flex-end;gap:8px;padding:12px 20px}
.ecom-parity .ep-edit-dialog {width:96vw;height:92vh;max-width:none;background:#f7fafc;border:1px solid var(--ep-border);border-radius:8px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0004}
.ecom-parity .ep-edit-header {display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--ep-border);flex-shrink:0}
.ecom-parity .ep-edit-header h3 {font-size:16px;line-height:24px;display:flex;align-items:center;gap:8px}
.ecom-parity .ep-edit-header .ep-icon {color:#00b894}
.ecom-parity .ep-edit-header .ep-icon-button {border:0;background:none;width:24px;height:24px;padding:2px}
.ecom-parity .ep-edit-header .ep-icon-button .ep-icon {color:var(--ep-muted)}
.ecom-parity .ep-edit-content {display:flex;flex-direction:column;overflow-y:auto;min-height:0;flex:1}
.ecom-parity .ep-edit-stage {display:flex;flex-direction:column;min-width:0}
.ecom-parity .ep-edit-instruction {font-size:12px;line-height:16px;color:var(--ep-muted);padding:12px 16px 0;flex-shrink:0;text-align:center}
.ecom-parity .ep-edit-art {overflow:hidden;padding:16px;display:flex;align-items:center;justify-content:center;flex:1;min-height:0}
.ecom-parity .ep-edit-picture {position:relative;display:inline-flex;max-width:100%;max-height:100%;line-height:0;touch-action:none;border:1px solid var(--ep-border);border-radius:8px;overflow:hidden;box-shadow:0 1px 2px #0000000d}
.ecom-parity .ep-edit-picture>img {display:block;max-width:100%;max-height:55vh;object-fit:contain;pointer-events:none;width:auto;height:auto}
 .ecom-parity .ep-base-badge {position:absolute;left:8px;top:8px;z-index:10;pointer-events:none;display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:16.5px;font-weight:500;color:#fff;padding:2px 8px;background:#0009;backdrop-filter:blur(4px);border-radius:999px;box-shadow:0 1px 3px #0002}
.ecom-parity .ep-base-badge>span {border-radius:2px;background:#00b894;padding:0 4px;font-size:10px;line-height:16px;font-weight:600}
.ecom-parity .ep-edit-instruction-extra {display:none}
@media(min-width:640px){.ecom-parity .ep-edit-instruction-extra {display:inline}}
.ecom-parity .ep-reset {font-weight:500;white-space:nowrap}
.ecom-parity .ep-reset .ep-icon {width:15px;height:15px}
.ecom-parity .ep-edit-controls {display:flex;flex-direction:column;gap:16px;padding:16px;border-top:1px solid var(--ep-border);min-width:0}
.ecom-parity .ep-box-colors {display:flex;gap:8px}
 .ecom-parity .ep-box-colors .ep-button {flex:1;padding:10px 8px;font-size:12px;line-height:16px;font-weight:600;border-width:2px;border-radius:8px;color:var(--box-color);border-color:var(--box-border);background:var(--box-bg)}
.ecom-parity .ep-color-red {--box-color:#ef4444;--box-border:#ef444473;--box-bg:rgba(239,68,68,.1);--box-hover:#ef44442e;--box-hover-border:#ef4444b3;--box-glow:#ef444480;--box-active-glow:rgba(239,68,68,.55)}
.ecom-parity .ep-color-green {--box-color:#22c55e;--box-border:#22c55e73;--box-bg:rgba(34,197,94,.1);--box-hover:#22c55e2e;--box-hover-border:#22c55eb3;--box-glow:#22c55e80;--box-active-glow:rgba(34,197,94,.55)}
.ecom-parity .ep-color-blue {--box-color:#3b82f6;--box-border:#3b82f673;--box-bg:rgba(59,130,246,.1);--box-hover:#3b82f62e;--box-hover-border:#3b82f6b3;--box-glow:#3b82f680;--box-active-glow:rgba(59,130,246,.55)}
.ecom-parity .ep-box-colors .ep-button:hover:not(:disabled):not(.ep-active-color) {background:var(--box-hover);border-color:var(--box-hover-border)}
.ecom-parity .ep-box-colors .ep-active-color {background:var(--box-color);border-color:var(--box-color);color:#fff;box-shadow:0 0 14px var(--box-active-glow)}
.ecom-parity .ep-box-colors .ep-button:disabled {opacity:.4}
.ecom-parity .ep-color-swatch {width:14px;height:14px;border-radius:2px;flex-shrink:0;background:var(--box-color);box-shadow:0 0 8px var(--box-glow)}
.ecom-parity .ep-active-color .ep-color-swatch {background:#fff;box-shadow:none}
 .ecom-parity .ep-box-instructions {display:flex;flex-direction:column;gap:8px}
.ecom-parity .ep-box-instruction {border:1px solid var(--ep-border);background:#f1f5f966;border-radius:8px;padding:8px}
.ecom-parity .ep-box-instruction-heading {display:flex;align-items:center;gap:6px;font-size:12px;line-height:16px;margin-bottom:6px}
.ecom-parity .ep-box-swatch {width:12px;height:12px;flex-shrink:0;border-radius:2px;background:currentColor;box-shadow:0 0 8px currentColor}
.ecom-parity .ep-swatch-red {color:#ef4444}.ecom-parity .ep-swatch-green {color:#22c55e}.ecom-parity .ep-swatch-blue {color:#3b82f6}
.ecom-parity .ep-box-instruction-remove {margin-left:auto;width:20px;height:20px;padding:0;border:0;background:none;color:var(--ep-muted)}
.ecom-parity .ep-box-instruction .ep-input {height:32px;font-size:12px;line-height:16px}
.ecom-parity .ep-clear-boxes {width:100%;height:24px;padding:0;font-size:11px;border:0;background:none;color:var(--ep-muted)}
.ecom-parity .ep-reference-examples {margin-top:6px}
.ecom-parity .ep-reference-examples>.ep-help {font-size:10px;margin-bottom:4px}
.ecom-parity .ep-reference-chips {display:flex;flex-wrap:wrap;gap:6px}
.ecom-parity .ep-reference-example {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;border:1px solid #00b8944d;background:#00b8940d;color:#00897b;padding:2px 8px;font-size:11px;line-height:16px}
.ecom-parity .ep-reference-example:hover {background:#00b89426}
.ecom-parity .ep-edit-fields {display:flex;flex-direction:column;gap:8px}
.ecom-parity .ep-edit-field {border:1px solid var(--ep-border);padding:10px;border-radius:12px;background:#ffffff99;font-size:12px;line-height:16px;margin:0}
.ecom-parity .ep-edit-field.ep-selected {border-color:#00b89466;background:#10b9811a}
.ecom-parity .ep-edit-field-label {display:flex;align-items:center;gap:8px;cursor:pointer}
.ecom-parity .ep-edit-field .ep-input {margin-top:8px;font-size:12px;line-height:16px}
.ecom-parity .ep-edit-field input.ep-input {height:32px}
.ecom-parity .ep-edit-field textarea.ep-input {height:auto;min-height:52px;resize:none}
.ecom-parity .ep-edit-original {margin:4px 0 0;font-size:11px;line-height:16px;color:var(--ep-muted)}
.ecom-parity .ep-edit-references>.ep-label {margin-bottom:4px}
.ecom-parity .ep-edit-references>.ep-help {margin-bottom:8px;font-size:11px;line-height:1.625}
.ecom-parity .ep-edit-field .ep-check {width:14px;height:14px;border-width:1px;border-radius:3px}
.ecom-parity .ep-edit-field .ep-check:checked::after {font-size:12px;line-height:16px}
.ecom-parity .ep-edit-controls .ep-thumbs {grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0}
.ecom-parity .ep-add-thumb {aspect-ratio:1;border-style:dashed;padding:4px;font-size:10px;display:flex;flex-direction:column}
.ecom-parity .ep-edit-controls .ep-parameters>.ep-field:first-child {grid-column:1/-1}
.ecom-parity .ep-model-layer {z-index:110;align-items:flex-end;backdrop-filter:none;background:#0008}
.ecom-parity .ep-model-drawer {position:relative;inset:auto;width:100%;max-height:80vh;border-radius:16px 16px 0 0;padding:0 16px max(env(safe-area-inset-bottom),16px)}
.ecom-parity .ep-model-handle {width:100px;height:8px;border-radius:999px;background:#e5e7eb;margin:16px auto 0}
.ecom-parity .ep-model-heading {padding:8px 0;text-align:left}
.ecom-parity .ep-model-heading h3 {font-size:16px;line-height:24px;margin:0}
.ecom-parity .ep-model-heading p {font-size:12px;line-height:16px;margin:0}
.ecom-parity .ep-model-drawer .ep-model-options {max-height:52vh}
.ecom-parity .ep-edit-controls [data-field="edit-other"] {height:96px}
.ecom-parity .ep-edit-controls>.ep-primary {height:36px;border-radius:6px;flex-shrink:0}
.ecom-parity .ep-draw-box {position:absolute;border:3px solid;pointer-events:none}
.ecom-parity .ep-box-red {border-color:#ef4444}.ecom-parity .ep-box-green {border-color:#22c55e}.ecom-parity .ep-box-blue {border-color:#3b82f6}
.ecom-parity .ep-box-delete {position:absolute;right:-10px;top:-10px;width:20px;height:20px;border-radius:999px;padding:0;background:#fff;pointer-events:auto;font-size:14px}
.ecom-parity .ep-edit-compare {display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:16px;overflow:auto;flex:1;min-height:0}
.ecom-parity .ep-preview {background:#0f172acc;backdrop-filter:blur(12px);color:#fff}
.ecom-parity .ep-preview-header {position:absolute;top:20px;left:24px;right:24px;display:flex;gap:8px;align-items:center;z-index:2}
.ecom-parity .ep-preview-header h3 {margin-right:auto}
.ecom-parity .ep-preview-image {max-height:calc(100vh - 180px);max-width:calc(100vw - 120px);object-fit:contain;border-radius:16px;box-shadow:0 20px 60px #0003}
.ecom-parity .ep-preview-single .ep-preview-image,.ecom-parity .ep-preview-history .ep-preview-image,.ecom-parity .ep-preview-upload .ep-preview-image {width:100%;max-width:min(1024px,calc(100vw - 48px));max-height:80vh}
.ecom-parity .ep-preview-prev,.ecom-parity .ep-preview-next {position:absolute;top:50%;width:40px;height:40px;border-radius:999px;padding:0;color:#334155;background:#ffffffe6;font-size:28px;line-height:30px}
.ecom-parity .ep-preview-prev {left:20px}.ecom-parity .ep-preview-next {right:20px}
.ecom-parity .ep-preview-thumbs {position:absolute;bottom:24px;left:24px;right:24px;display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
.ecom-parity .ep-preview-thumbs p {width:100%;text-align:center;font-size:14px}
.ecom-parity .ep-preview-thumbs .ep-button {width:64px;height:64px;padding:0;overflow:hidden;border-radius:8px;border:2px solid transparent}
.ecom-parity .ep-preview-thumbs .ep-selected {border-color:#00b894}
.ecom-parity .ep-preview-thumbs img {width:100%;height:100%;object-fit:cover}
.ecom-parity .ep-detail-preview {margin:80px auto 24px;height:calc(100vh - 104px);width:min(800px,calc(100vw - 48px));overflow:auto;display:flex;flex-direction:column}
.ecom-parity .ep-detail-preview img {width:100%;height:auto;display:block;flex-shrink:0}
.ecom-parity .ep-toast {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:130;padding:12px 20px;border-radius:12px;background:#fff;border:1px solid var(--ep-border);box-shadow:0 8px 30px #0002;max-width:calc(100vw - 32px);font-size:14px;line-height:20px;overflow-wrap:anywhere}
.ecom-parity .ep-history {min-height:calc(100vh - 64px);padding-top:112px;padding-bottom:32px;background:#f5f9fb}
.ecom-parity:has(.ep-history) {background:#f5f9fb}
.ecom-parity .ep-history-heading {display:flex;align-items:center;gap:12px;margin-bottom:32px}
.ecom-parity .ep-history-heading h1 {font-size:24px;line-height:32px}
.ecom-parity .ep-history-heading>.ep-button {margin-left:auto}
.ecom-parity .ep-history-icon {width:40px;height:40px;border-radius:12px;background:linear-gradient(to right,#00b894,#4a90e2);color:white;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ecom-parity .ep-history-icon .ep-icon {width:24px;height:24px}
.ecom-parity .ep-retention {background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:12px 16px;color:#b97914;font-size:14px;line-height:20px;margin-bottom:24px}
.ecom-parity .ep-history-filters {padding:16px;border:1px solid var(--ep-border);border-radius:16px;background:white;box-shadow:0 1px 3px #0001;margin-bottom:24px}
.ecom-parity .ep-filter-line {display:flex;flex-direction:column;gap:12px;margin-bottom:12px}
.ecom-parity .ep-filter-active {border-radius:12px;padding:8px 16px;font-size:14px;line-height:20px;background:linear-gradient(to right,#00b894,#4a90e2);color:white;width:max-content}
.ecom-parity .ep-filter-line .ep-input {height:36px}
.ecom-parity .ep-date-anchor {position:relative}
.ecom-parity .ep-date-anchor>.ep-button {width:100%;height:36px}
.ecom-parity .ep-date-menu {position:absolute;right:0;top:40px;padding:12px;display:flex;flex-direction:column;gap:8px;background:white;border:1px solid var(--ep-border);border-radius:12px;z-index:20;box-shadow:0 8px 20px #0001}
.ecom-parity .ep-date-menu .ep-field {display:flex;flex-direction:row;align-items:center;gap:8px}
.ecom-parity .ep-date-menu .ep-input {width:180px;height:32px;font-size:12px}
.ecom-parity .ep-category-chips {display:flex;gap:8px;flex-wrap:wrap}
.ecom-parity .ep-category-chips .ep-button {font-size:12px;line-height:16px;padding:6px 12px;background:#eef1f4;border-radius:8px}
.ecom-parity .ep-category-chips .ep-category-active {background:#0f172a;color:white}
.ecom-parity .ep-history-tools {display:flex;align-items:center;gap:8px;position:relative;margin-bottom:16px;flex-wrap:wrap}
.ecom-parity .ep-download-menu {position:absolute;top:42px;left:0;z-index:10;background:white;border:1px solid var(--ep-border);border-radius:10px;padding:4px;display:flex;flex-direction:column;box-shadow:0 5px 20px #0001}
.ecom-parity .ep-result-tools>.ep-download-menu {top:calc(100% + 8px);left:auto;right:0}
.ecom-parity .ep-history-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ecom-parity .ep-history-card {display:block;padding:0;border:1px solid var(--ep-border);border-radius:12px;background:white;overflow:hidden;box-shadow:0 1px 3px #0001;text-align:left;min-width:0}
.ecom-parity .ep-history-card.ep-selected {border-color:#10b981;box-shadow:0 0 0 2px #10b981}
.ecom-parity .ep-history-cover {position:relative;aspect-ratio:1;background:#f1f5f9}
.ecom-parity .ep-history-cover>img {width:100%;height:100%;display:block;object-fit:cover}
.ecom-parity .ep-history-badge {position:absolute;left:8px;top:8px;color:#9333ea;background:#e9d5ffb3;font-size:11px;line-height:16px;padding:2px 6px;border-radius:4px}
.ecom-parity .ep-history-check {position:absolute;left:8px;top:8px;width:20px;height:20px;background:#fff;border:1px solid #10b981;border-radius:4px;color:#10b981;text-align:center}
.ecom-parity .ep-history-meta {padding:10px 12px;font-size:11px;line-height:16px;color:var(--ep-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecom-parity .ep-paging {display:flex;gap:16px;align-items:center;justify-content:center;margin-top:24px;font-size:14px}
@media(min-width:640px){.ecom-parity .ep-filter-line{flex-direction:row;align-items:center}.ecom-parity .ep-filter-line>[data-field="history-search"]{width:224px;margin-left:auto}.ecom-parity .ep-date-anchor>.ep-button{width:auto}}
@media(min-width:768px){.ecom-parity h1{font-size:36px;line-height:40px}.ecom-parity h2{font-size:30px;line-height:37.5px}.ecom-parity .ep-header{flex-direction:row;align-items:center;justify-content:space-between}.ecom-parity .ep-header-actions{gap:12px}.ecom-parity .ep-version-tabs .ep-button{font-size:14px;line-height:20px;padding:6px 16px}.ecom-parity .ep-reset{font-size:14px;line-height:20px;padding:8px 16px}.ecom-parity .ep-intro{padding-top:32px}.ecom-parity .ep-intro-description{font-size:18px;line-height:29.25px}.ecom-parity .ep-generator{padding:32px}.ecom-parity .ep-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecom-parity .ep-feature-copy h3{font-size:24px;line-height:32px}.ecom-parity .ep-feature-copy .ep-feature-intro{font-size:18px}.ecom-parity .ep-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecom-parity .ep-history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){.ecom-parity .ep-generator{grid-template-columns:380px minmax(0,1fr)}.ecom-parity .ep-edit-content{flex-direction:row;overflow:hidden}.ecom-parity .ep-edit-stage{flex:1}.ecom-parity .ep-edit-controls{width:380px;flex-shrink:0;overflow-y:auto;border-top:0;border-left:1px solid var(--ep-border)}.ecom-parity .ep-edit-picture>img{max-height:calc(92vh - 140px)}.ecom-parity .ep-history-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1280px){.ecom-parity .ep-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){body[data-view="ecom-parity"]>.workspace>.topbar{padding:0 12px!important;gap:8px}body[data-view="ecom-parity"] #workspace-caption{max-width:80px;font-size:12px}body[data-view="ecom-parity"] .topbar .connection-status{display:none}body[data-view="ecom-parity"] .topbar .connection{gap:4px}body[data-view="ecom-parity"] .ecom-parity-shell-link{font-size:11px;padding:6px}body[data-view="ecom-parity"] #refresh{font-size:11px;padding:6px}.ecom-parity .ep-model-options .ep-button{padding:6px;font-size:11px}.ecom-parity .ep-copy-actions{flex-wrap:wrap}.ecom-parity .ep-copy-actions>.ep-button{font-size:12px}.ecom-parity .ep-card-head{align-items:flex-start}.ecom-parity .ep-result-tools{gap:4px}.ecom-parity .ep-small{padding:8px}.ecom-parity .ep-history{padding-top:80px}.ecom-parity .ep-history-heading{flex-wrap:wrap}.ecom-parity .ep-history-heading>.ep-button{margin-left:52px}.ecom-parity .ep-dialog-actions{flex-wrap:wrap}}

body[data-view="ecom-parity"] #sync-status {display:none!important}
.ecom-parity .ep-step-flow {display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px;font-size:12px;line-height:16px}
.ecom-parity .ep-step-label {background:#00b8941a;color:#00b894;border-radius:6px;padding:4px 8px;font-weight:500}
.ecom-parity .ep-step-arrow {color:var(--ep-muted)}
.ecom-parity .ep-draft-card textarea[data-section] {height:56px;min-height:56px;resize:vertical;line-height:1.625}
.ecom-parity .ep-draft-card textarea[data-field^="scene-"] {height:64px;min-height:64px;font-size:12px}
.ecom-parity .ep-chinese-translation {font-size:14px;color:var(--ep-muted);padding-left:4px;margin-top:6px}
.ecom-parity .ep-fields>.ep-field:first-child {gap:6px}
.ecom-parity .ep-fields>.ep-field:nth-child(3)>.ep-label {min-height:18.390625px;margin-bottom:4px}
.ecom-parity .ep-fields>.ep-field:nth-child(3)>.ep-help {margin-top:7px;line-height:16.5px}
.ecom-parity .ep-sensitive {top:0}
.ecom-parity .ep-reference-limit {margin-top:28px}
.ecom-parity .ep-tip {margin-top:10px;margin-bottom:8px}
.ecom-parity .ep-settings {padding-bottom:32px}
.ecom-parity .ep-fields>.ep-field:nth-child(2)>.ep-label,.ecom-parity .ep-fields>.ep-field:nth-child(4)>.ep-label {line-height:24px}
.ecom-parity .ep-reference-limit {display:flex;align-items:center;gap:8px}
.ecom-parity .ep-reference-limit .ep-icon {width:14px;height:14px;color:var(--ep-green)}
.ecom-parity .ep-steps {line-height:16.5px}
.ecom-parity .ep-button,.ecom-parity .ep-input {scroll-margin-top:80px}
.ecom-parity .ep-thumbs {margin-top:24px}
.ecom-parity .ep-thumb img {object-fit:contain}
.ecom-parity .ep-select {display:flex;height:36px;padding:8px 12px;justify-content:space-between;gap:8px;text-align:left}
.ecom-parity .ep-select .ep-icon {order:2;width:16px;height:16px;color:var(--ep-muted)}
.ecom-parity .ep-select-popup {position:fixed;z-index:150;min-width:128px;padding:4px;background:#fff;border:1px solid var(--ep-border);border-radius:6px;overflow-y:auto;overflow-x:hidden;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}
.ecom-parity .ep-select-option {position:relative;width:100%;display:flex;justify-content:flex-start;height:32px;border:0;border-radius:4px;background:none;padding:6px 32px 6px 8px;font-size:14px;line-height:20px;outline:none;text-align:left}
.ecom-parity .ep-select-option:focus,.ecom-parity .ep-select-option:hover:not(:disabled),.ecom-parity .ep-select-option[aria-selected="true"] {background:#00b8941a;color:#00b894;border:0;outline:none}
.ecom-parity .ep-option-check {position:absolute;right:8px;color:var(--ep-muted)}
.ecom-parity .ep-tip {display:flex;width:max-content;height:16px;border:0;border-radius:0;background:none;padding:0;font-size:12px;line-height:16px;gap:6px;color:var(--ep-green);font-weight:500}
.ecom-parity .ep-tip-popup {position:fixed;z-index:150;padding:8px;border:1px solid var(--ep-border);border-radius:6px;background:#fff;box-shadow:0 4px 6px -1px #0000001a;overflow:auto}
.ecom-parity .ep-tip-body {display:flex;flex-direction:column;gap:6px;border:1px solid #10b98126;border-radius:8px;background:#10b9811a;padding:12px;font-size:12px;line-height:16px;color:var(--ep-muted)}
.ecom-parity .ep-tip-body strong {font-weight:500;color:var(--ep-ink)}
.ecom-parity .ep-tip:hover:not(:disabled) {background:none;color:#00997a;border:0}

.ecom-parity .ep-edit-compare {display:flex;flex-direction:column;padding:16px;gap:12px;min-height:0;overflow:auto;flex:1}
.ecom-parity .ep-compare-images {display:grid;grid-template-columns:1fr;gap:12px;min-height:0;flex:1}
.ecom-parity .ep-compare-images>div {display:flex;flex-direction:column;min-height:0;text-align:center}
.ecom-parity .ep-compare-images p {margin-bottom:6px}
.ecom-parity .ep-compare-zoom {padding:0;border:0;background:none;align-items:flex-start;min-height:0;cursor:zoom-in}
.ecom-parity .ep-compare-zoom img {max-width:100%;max-height:45vh;border:1px solid var(--ep-border);border-radius:12px}
.ecom-parity [data-compare-zoom="1"] img {border:2px solid #00b894}
@media(min-width:640px){.ecom-parity .ep-compare-images {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.ecom-parity .ep-compare-zoom img {max-height:calc(92vh - 190px)}}
.ecom-parity .ep-copy-button.ep-loading .ep-icon {animation:ep-spin 1s linear infinite}
@keyframes ep-spin {to{transform:rotate(360deg)}}

/* Company entry: retain the existing icon/label structure and allow a full label. */
#view-navigation .nav-item[data-view="ecom-parity"] {min-width:0;white-space:normal}
#view-navigation .nav-item[data-view="ecom-parity"]>.icon {flex-shrink:0}
#view-navigation .nav-item[data-view="ecom-parity"]>span {min-width:0;white-space:normal;overflow-wrap:anywhere}
