/* Creators Access — look (chargé en dernier)
   Chrome Haalf appliqué aux features sans toucher à leur structure. */

.cu-wrap {
  font-family: var(--font);
  font-weight: 300;
}

.cu-page-header {
  margin-bottom: 28px;
  align-items: baseline;
}

.cu-page-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}

.cu-quota-box {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.cu-quota-header { margin-bottom: 18px; }

.cu-quota-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.cu-tier-badge,
.cu-tier-badge.creator,
.cu-tier-badge.superior {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

[data-theme="dark"] .cu-tier-badge.creator,
[data-theme="dark"] .cu-tier-badge.superior {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.cu-quota-grid { gap: 28px; }

.cu-quota-track-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.cu-quota-bar {
  background: var(--track);
  border-radius: 1px;
  height: 2px;
  overflow: visible;
  position: relative;
}

.cu-quota-fill {
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

.cu-quota-nums {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.cu-section {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.cu-section:last-of-type { border-bottom: none; }

.cu-section-head {
  padding: 0 0 12px;
  border-bottom: none;
}

.cu-section-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.cu-section-title span {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 300;
}

.cu-section-body { padding: 0; }

.cu-wrap .radio-inputs,
.cu-wrap .radio-inputs.full-width,
.cu-wrap .radio-inputs.compact {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  width: auto;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: none;
}

.cu-wrap .radio-inputs .radio {
  flex: 0 0 auto;
  min-width: 0;
  text-align: center;
}

.cu-wrap .radio-inputs .radio .name {
  position: relative;
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 16px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.cu-wrap .radio-inputs .radio .name::before,
.cu-wrap .radio-inputs .radio .name::after { content: none; }

.cu-wrap .radio-inputs .radio:hover .name {
  background: var(--hover-bg);
  color: var(--text-primary);
}

.cu-wrap .radio-inputs .radio input:checked + .name,
.cu-wrap .radio-inputs .radio:hover input:checked + .name,
[data-theme="dark"] .cu-wrap .radio-inputs .radio input:checked + .name {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  font-weight: 500;
  box-shadow: none;
}

.cu-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.cu-label .req { color: var(--error); }

.cu-input,
textarea.cu-input,
select.cu-input {
  padding: 8px 0 10px;
  border: none;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

[data-theme="dark"] .cu-input,
[data-theme="dark"] textarea.cu-input,
[data-theme="dark"] select.cu-input {
  border-bottom-color: #3a3a3a;
}

.cu-input:focus,
textarea.cu-input:focus,
select.cu-input:focus {
  border-color: transparent;
  border-bottom-color: var(--text-primary);
  background: transparent;
  box-shadow: none;
}

.cu-input::placeholder { color: var(--text-tertiary); font-weight: 300; }

.cu-input:placeholder-shown,
textarea.cu-input:placeholder-shown {
  border-bottom-style: dashed;
  border-bottom-color: var(--border-color-dark);
}

.cu-input:not(:placeholder-shown),
textarea.cu-input:not(:placeholder-shown) {
  font-weight: 400;
  border-bottom-color: var(--text-primary);
}

[data-theme="dark"] .cu-input:placeholder-shown,
[data-theme="dark"] textarea.cu-input:placeholder-shown {
  border-bottom-color: #3a3a3a;
}

[data-theme="dark"] .cu-input:not(:placeholder-shown),
[data-theme="dark"] textarea.cu-input:not(:placeholder-shown) {
  border-bottom-color: var(--text-primary);
}

.cu-fill-track .cu-form-group > .cu-label {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.cu-fill-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
}

.cu-fill-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
}

.cu-form-group[data-fill="empty"] .cu-fill-status {
  color: var(--text-tertiary);
}

.cu-form-group[data-fill="filled"] .cu-fill-status {
  color: var(--success);
}

.cu-form-group[data-fill="filled"] .cu-fill-status::before {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cu-fill-track .cu-form-group[data-fill="empty"] .cu-input,
.cu-fill-track .cu-form-group[data-fill="empty"] textarea.cu-input {
  border-bottom-style: dashed;
  border-bottom-color: var(--border-color-dark);
  font-weight: 300;
}

.cu-fill-track .cu-form-group[data-fill="filled"] .cu-input,
.cu-fill-track .cu-form-group[data-fill="filled"] textarea.cu-input {
  font-weight: 400;
  border-bottom-style: solid;
  border-bottom-color: var(--text-primary);
}

.cu-wrap .cu-input.cu-input--readonly:disabled {
  background: transparent !important;
  border-color: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
}

select.cu-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9590' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.cu-wrap .checkbox-badge-compact {
  background: var(--bg-tertiary);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 0 16px;
  height: 32px;
  min-height: 32px;
  position: relative;
  color: var(--text-secondary);
  width: auto;
  max-width: 100%;
  justify-content: center;
}

.cu-wrap .checkbox-badge-compact::before { content: none; }

.cu-wrap .checkbox-badge-compact:hover {
  background: var(--hover-bg);
  border: none;
  color: var(--text-primary);
}

.cu-wrap .checkbox-badge-compact.checked {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  border: none;
  font-weight: 500;
}

.cu-wrap .checkbox-badge-compact.checked::before { content: none; }

.cu-loop-grid .checkbox-badge-compact {
  width: auto;
  min-height: 32px;
  justify-content: center;
  align-self: flex-start;
  border: none;
  color: var(--text-secondary);
}
.cu-loop-grid .checkbox-badge-compact.checked {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  border: none;
}

.cu-preview-zone,
.cu-drop-zone {
  border: 1px dashed var(--border-color-dark);
  border-radius: 0;
  background: transparent;
  font-weight: 300;
}

.cu-preview-zone:hover,
.cu-drop-zone:hover,
.cu-drop-zone.drag-over,
.cu-preview-zone--drag {
  background: var(--hover-bg);
  border-color: var(--text-primary);
  color: var(--text-primary);
  border-style: dashed;
}

.cu-drop-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.cu-drop-hint {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
}

.cu-cover-preview {
  border-radius: 4px;
  border: 1px solid var(--line);
}

.cu-progress-bar {
  background: var(--track);
  border-radius: 1px;
  height: 2px;
}

.cu-progress-fill {
  background: var(--text-primary);
  border-radius: 1px;
}

.cu-global-progress {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 16px 0;
}

.cu-global-progress-label { font-weight: 400; }
.cu-global-progress-pct { color: var(--text-primary); font-weight: 400; }

.cu-crop-panel,
.cu-key-modal-panel {
  background: var(--bg-primary);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.cu-crop-title,
.cu-key-modal-title {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.cu-loop-card,
.cu-preset-card {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.cu-loop-card.cu-loop-card--ready,
.cu-loop-card.cu-loop-card--pending {
  border-width: 1px;
  box-shadow: none;
}

.cu-loop-card.cu-loop-card--ready { border-color: var(--success); }
.cu-loop-card.cu-loop-card--pending { border-color: #c4a35a; }

.cu-loop-card-name { font-weight: 400; }

.cu-tag-chip {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-weight: 400;
}

.cu-tag-chip.genre,
.cu-tag-chip.content,
.cu-tag-chip.mood {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.cu-alert,
.cu-alert-error,
.cu-alert-success,
.cu-alert-info,
.cu-alert--ok,
.cu-alert--err {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 12px;
  font-weight: 300;
}

.cu-alert-error,
.cu-alert--err { color: var(--error); }
.cu-alert-success,
.cu-alert--ok { color: var(--success); }
.cu-alert-info { color: var(--text-secondary); }

.cu-submit-btn {
  width: auto;
  min-width: 140px;
  height: 32px;
  padding: 0 28px;
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font);
}

.cu-submit-btn:disabled {
  opacity: 0.4;
  border: none;
  color: var(--cu-ink-on-fill);
  background: var(--cu-ink-fill);
}

.cu-submit-btn:hover:not(:disabled) {
  background: #111;
  border: none;
  color: var(--cu-ink-on-fill);
}

[data-theme="dark"] .cu-submit-btn:hover:not(:disabled) {
  background: #fff;
}

.mu-edit-actions .cu-submit-btn {
  height: 32px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mu-edit-actions .cu-submit-btn.cu-btn-neutral {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.mu-edit-actions .cu-submit-btn.cu-btn-neutral:hover:not(:disabled) {
  background: var(--hover-bg);
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.lp-editor .lp-publish-btns.mu-edit-actions {
  width: auto;
  margin-top: 0;
  flex: 0 0 auto;
}

.cu-wrap .compact-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-weight: 400;
  min-height: 36px;
  padding: 8px 0 10px;
}
.cu-wrap .compact-btn.selected {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  font-weight: 500;
}
.cu-wrap .compact-btn:hover {
  background: transparent;
  border-color: transparent;
  border-bottom-color: var(--text-primary);
  color: var(--text-primary);
}
[data-theme="dark"] .cu-wrap .compact-btn:hover {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
  border-bottom-color: var(--text-primary);
}

.cu-wrap .inline-controls.cu-meta-inline {
  align-items: start;
}
.cu-wrap .inline-controls.cu-meta-inline .cu-form-group {
  align-items: stretch;
  text-align: left;
  padding: 0 14px;
  border-left: 1px solid var(--line);
}
.cu-wrap .inline-controls.cu-meta-inline .cu-form-group:first-child {
  padding-left: 0;
  border-left: none;
}
.cu-wrap .inline-controls.cu-meta-inline .cu-form-group:last-child {
  padding-right: 0;
}
.cu-wrap .inline-controls.cu-meta-inline .cu-label {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}

.cu-preview-presets {
  display: flex;
  width: 100%;
  gap: 8px;
  margin-top: 10px;
  border-bottom: none;
  padding-bottom: 0;
  flex-wrap: wrap;
  align-items: center;
}
.cu-preview-preset {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--bg-tertiary);
  padding: 0 14px;
  height: 28px;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-secondary);
}

.cu-preview-sel {
  margin: 16px 0 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.cu-preview-wave {
  height: 84px;
  border-radius: 0;
  background: var(--bg-primary);
  border: 1px solid var(--line);
}

.cu-preview-preset:hover {
  border: none;
  background: var(--hover-bg);
  color: var(--text-primary);
}
.cu-preview-preset.is-active,
[data-theme="dark"] .cu-preview-preset.is-active {
  border: none;
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
}

.cu-preview-minlock {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cu-key-modal-confirm,
.cu-preset-apply-btn,
.aff-apply-btn {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 22px;
  height: 32px;
}

.cu-split-search:focus { border-color: var(--text-primary); }

/* ── My Uploads ── */
.mu-pack-card {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.mu-pack-name { font-weight: 400; }

.mu-icon-btn {
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--text-primary);
  font-weight: 400;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}

.mu-icon-btn:hover {
  border: none;
  color: var(--text-primary);
  background: transparent;
  text-decoration-color: var(--text-primary);
}

.mu-file-zone {
  border: 1px dashed var(--border-color-dark);
  border-radius: 0;
  background: transparent;
}

.mu-file-zone:hover,
.mu-file-zone.drag-over,
.mu-file-zone.has-file {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--hover-bg);
}

.mu-locked-field {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

/* ── Insights / Overview ── */
.ca-analytics .creator-info h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.ca-analytics .tier-badge-header {
  border-radius: var(--radius-pill);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
}

.ca-analytics .stat-box,
.ca-analytics .ov-trend-card,
.ca-analytics .top-card,
.ca-analytics .pack-item,
.ca-analytics .loop-item {
  box-shadow: none;
}

.ca-analytics .ca-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 0 0;
}

.ca-analytics .stat-box--earnings,
.ca-analytics .stat-box--payout {
  border: none;
}

.ca-analytics .stat-box .value {
  font-weight: 500;
}

.ca-analytics .request-payment-btn {
  background: var(--ov-card-elev, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ca-analytics .request-payment-btn:hover {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  border-color: var(--cu-ink-fill);
}

.ca-analytics .section-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.aff-wrap .section-title,
.aff-section-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ca-analytics .ca-card--chart { box-shadow: none; }

.ca-analytics .top-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  margin-bottom: 0;
}

.ca-analytics .top-item:hover {
  background: var(--hover-bg);
  border-color: var(--line-soft);
  transform: none;
}

.ca-analytics .pack-earnings .amount {
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.ca-analytics .progress-bar {
  width: 160px;
  max-width: 100%;
  height: 4px;
  border-radius: 99px;
  background: var(--track);
}
.ca-analytics .progress-fill--free { background: var(--ov-free, #2FA36C); }
.ca-analytics .progress-fill--premium { background: var(--ov-premium, #4F6FE0); }

.ca-analytics .ca-error {
  background: transparent;
  border: none;
  color: var(--error);
}

[data-theme="dark"] .ca-analytics .stat-box .sublabel {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .ca-analytics .ov-metric-chip.is-active {
  box-shadow: none;
}

/* ── Partners ── */
.aff-stat,
.aff-code {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}

.aff-stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

.aff-stat-value {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.aff-stat-value--pending { color: #c4a35a; }
.aff-stat-value--approved { color: var(--text-primary); }
.aff-stat-value--paid { color: var(--success); }

.aff-copy-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
}

.aff-copy-btn:hover { background: var(--hover-bg); }
.aff-copy-btn.copied { color: var(--success); border: none; }

.aff-code-value {
  font-weight: 300;
  letter-spacing: 0.08em;
}

.aff-code-pill,
.aff-code-badge,
.aff-status {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
}

.aff-table-wrap {
  border: none;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.aff-table th {
  background: transparent;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.aff-num-bold { font-weight: 500; }

/* ── Link page ── */
.lp-editor .lp-page-sub,
#linkTabShell .lp-page-sub {
  font-weight: 400;
  color: var(--text-secondary);
}

.cu-wrap .radio-inputs.lp-mode-switch,
.cu-wrap .radio-inputs.lp-seg {
  background: var(--bg-tertiary);
  box-shadow: none;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  display: inline-flex;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
}
.cu-wrap .radio-inputs.lp-seg .radio {
  flex: 0 0 auto;
}
.cu-wrap .radio-inputs.lp-mode-switch .radio .name,
.cu-wrap .radio-inputs.lp-seg .radio .name {
  background: transparent;
  color: var(--text-secondary);
  box-shadow: none;
  width: auto;
  min-width: 0;
}
.cu-wrap .radio-inputs.lp-mode-switch .radio:hover .name,
.cu-wrap .radio-inputs.lp-seg .radio:hover .name {
  background: var(--hover-bg);
  color: var(--text-primary);
}
.cu-wrap .radio-inputs.lp-mode-switch .radio input:checked + .name,
.cu-wrap .radio-inputs.lp-mode-switch .radio:hover input:checked + .name,
.cu-wrap .radio-inputs.lp-seg .radio input:checked + .name,
.cu-wrap .radio-inputs.lp-seg .radio:hover input:checked + .name,
[data-theme="dark"] .cu-wrap .radio-inputs.lp-mode-switch .radio input:checked + .name,
[data-theme="dark"] .cu-wrap .radio-inputs.lp-seg .radio input:checked + .name {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
}

.lp-editor .lp-item { border-bottom-color: var(--line); }
.lp-editor .lp-item-name { font-weight: 500; }
.lp-editor .lp-item-hint,
.lp-editor .lp-section-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}
.lp-editor .lp-viz--on {
  background: var(--success);
  color: transparent;
  border: none;
}
.lp-editor .lp-viz--off {
  background: var(--text-tertiary);
  color: transparent;
  border: none;
}
.lp-editor .lp-chip {
  height: 30px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-editor .lp-chip:hover {
  background: var(--hover-bg);
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.lp-editor .lp-chip--fill {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
  border-color: var(--cu-ink-fill);
}
.lp-editor .lp-chip--fill:hover {
  background: var(--text-primary);
  color: var(--cu-ink-on-fill);
  border-color: var(--text-primary);
}
.lp-editor .lp-dd-trigger {
  border-bottom-color: var(--line, #d4d4d4);
  font-weight: 300;
}
[data-theme="dark"] .lp-editor .lp-dd-trigger {
  border-bottom-color: #3a3a3a;
}
.lp-editor .lp-dd-panel {
  background: var(--bg-primary);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.lp-editor .lp-dd-opt {
  font-weight: 400;
}
.lp-editor .lp-dd-opt.is-on:hover {
  background: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
}
.lp-editor .lp-danger-btn,
.lp-editor .lp-danger-btn:hover:not(:disabled) {
  color: var(--error, #991b1b);
  border-color: var(--error, #991b1b);
  background: transparent;
}
.lp-editor .lp-toolbar { border-bottom-color: var(--line); }
#linkTabShell .lp-mode { border-bottom-color: var(--line); }

.lp-text-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-editor .lp-url {
  font-weight: 400;
}

.lp-editor .lp-status-label {
  color: var(--text-secondary);
  font-weight: 400;
}

.lp-editor .lp-step-num {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

.lp-editor .lp-status-badge {
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-primary);
}

.lp-editor .lp-status-badge.is-live {
  border-color: var(--success);
  color: var(--success);
  background: transparent;
}

[data-theme="dark"] .lp-editor .lp-status-badge.is-live {
  border-color: var(--success);
  color: var(--success);
  background: transparent;
}

.lp-editor .lp-gate-hint,
[data-theme="dark"] .lp-editor .lp-gate-hint {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #c4a35a;
}

.lp-editor .lp-add-btn {
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-editor .lp-add-btn:hover,
.lp-editor .lp-add-btn--primary,
.lp-editor .lp-add-btn--primary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--hover-bg);
}

.lp-editor .lp-preview-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.lp-editor .lp-preview-sub,
.lp-editor .lp-device-caption {
  color: var(--text-secondary);
}

.lp-editor .lp-device-caption {
  font-weight: 500;
}

.lp-editor .lp-switch-ui {
  background: var(--track);
  border-color: var(--line);
}

.lp-editor .lp-switch-ui::after {
  box-shadow: none;
  background: var(--bg-primary);
}

.lp-editor .lp-switch input:checked + .lp-switch-ui,
.lp-editor .lp-switch input:checked + .lp-switch-ui:hover,
.lp-editor .lp-switch:hover input:checked + .lp-switch-ui {
  background: #10b981;
  border-color: #10b981;
}

.lp-editor .lp-enabled input { accent-color: var(--text-primary); }

.lp-editor .lp-link-row {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-color: var(--line);
}

.lp-editor .lp-link-row:hover {
  box-shadow: none;
  border-color: var(--text-secondary);
}

.lp-editor .lp-empty {
  border-radius: 0;
  background: transparent;
}

.lp-editor .lp-empty-add {
  border-radius: 0;
}
.lp-editor .lp-empty-add--fill {
  background: var(--cu-ink-fill);
  border-color: var(--cu-ink-fill);
  color: var(--cu-ink-on-fill);
}
.lp-editor .lp-empty-add--fill:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--cu-ink-on-fill);
}

/* ── Unlock list (was dark-hardcoded) ── */
.ul-row {
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.ul-row:hover { border-color: var(--text-secondary); }

.ul-row-cover {
  border-radius: 4px;
  background: var(--bg-tertiary);
}

.ul-row-title { font-weight: 400; }
.ul-row-sub { color: var(--text-secondary); }

.ul-row-badge {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ul-row-badge.is-live {
  background: transparent;
  color: var(--success);
  border-color: var(--success);
}

.ul-act-row {
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.cu-crop-zoom { accent-color: var(--text-primary); }

.cu-toast {
  border-radius: 8px;
  font-weight: 300;
}

.lp-editor .lp-publish-card.cu-section,
.cu-section.lp-publish-card {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-primary);
  padding: 10px 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

@media (max-width: 768px) {
  .cu-wrap .inline-controls.cu-meta-inline .cu-form-group {
    padding: 12px 0 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .cu-wrap .inline-controls.cu-meta-inline .cu-form-group:first-child {
    border-top: none;
    padding-top: 0;
  }
}
