.card-stage-dock:not(#_) { gap: var(--xh-gap-local); }

.card-flip-controls:not(#_) {
  gap: var(--xh-gap-local);
  padding: var(--xh-space-1) var(--xh-space-1) var(--xh-space-1) var(--xh-space-3);
  border: 1px solid var(--xh-border);
  border-radius: var(--xh-radius-container);
  background: var(--xh-surface-panel);
  box-shadow: none;
}
.card-flip-controls:not(#_)::before { content: none; }

.card-flip-controls:not(#_) .card-step-guide { gap: var(--xh-gap-local); font-size: var(--xh-text-body); font-family: var(--ui-sans); }
.card-flip-controls:not(#_) .card-step-guide .step-badge {
  border-radius: var(--xh-radius-inner);
  box-shadow: none;
  font-size: var(--xh-text-caption);
}

.card-flip-controls:not(#_) :is(.card-edit-btn, .side-flip-icon-btn, .guide-copy-link) {
  height: 36px;
  min-height: 36px;
  border: 1px solid var(--xh-border-strong);
  border-radius: var(--xh-radius-control);
  background: transparent;
  box-shadow: none;
}
.card-flip-controls:not(#_) .side-flip-icon-btn:not(.is-step-photo, .is-step-edit, .is-google-claim) { width: 36px; min-width: 36px; padding: 0; }
.card-flip-controls:not(#_) .guide-copy-link { width: 36px; }
.card-flip-controls:not(#_) .card-edit-btn { padding: 0 var(--xh-space-3); font-size: var(--xh-text-small); }
.card-flip-controls:not(#_) :is(.card-edit-btn, .side-flip-icon-btn):hover { background: var(--xh-surface-hover); }
.card-flip-controls:not(#_) :is(.card-edit-btn, .side-flip-icon-btn, .card-step-guide):focus-visible { outline: none; box-shadow: var(--xh-focus-ring); }

.card-front:not(#_) :is(.front-card-name, .front-card-tagline)[data-quick-edit] { border-color: transparent; outline-color: transparent; }
.card-front:not(#_) :is(.front-card-name, .front-card-tagline)[data-quick-edit]:is(:hover, :focus-visible) { border-color: var(--xh-border-strong); }

[data-tab-content="twin"]:not(#_) .twin-subtab-bar { border-color: transparent; background: transparent; box-shadow: none; }
[data-tab-content="twin"]:not(#_) :is(.social-verification-panel, .micro-verify-card, .micro-icon-badge, .micro-led-dot, .micro-score-badge) { box-shadow: none; }
[data-tab-content="twin"]:not(#_) .evidence-category-block { border-color: transparent; background: transparent; padding-inline: 0; }
[data-tab-content="twin"]:not(#_) .verification-friend-card { border-color: transparent; background: var(--xh-surface-raised); border-radius: var(--xh-radius-container); }
[data-tab-content="twin"]:not(#_) :is(.verification-identity-state, .verify-declared-who, .verify-declared-platform, .tier-prefix, .micro-name, .backers-subtitle, .backers-count-badge, .verify-step-tag) { font-size: var(--xh-text-caption); }
[data-tab-content="twin"]:not(#_) :is(.section-step-num, .verify-declared-state, .academic-tag, .friend-handle, .friend-relation-tag, .micro-score-badge, .micro-future-label) { font-size: var(--xh-text-caption); }

[data-tab-content="agent"]:not(#_) .slot { box-shadow: none; }
[data-tab-content="agent"]:not(#_) :is(.verification-identity-state, .skill-name, .agent-slots-hint, .genesis-label, .agent-pill) { font-size: var(--xh-text-caption); }
[data-tab-content="me"]:not(#_) :is(.me-badge, .credential-meta) { font-size: var(--xh-text-caption); }
[data-tab-content="inbox"]:not(#_) :is(.ainbox-msg-sender, .ainbox-msg-type, .ainbox-msg-tag, .ainbox-msg-status) { font-size: var(--xh-text-caption); }
.me-patent-notice { margin: 0; font-size: var(--xh-text-caption, 12px); color: var(--xh-text-muted); text-align: center; }

.splash-enter-btn:not(#_) {
  min-height: 44px;
  padding: 0 var(--xh-space-5);
  border: 1px solid var(--xh-border-strong);
  border-radius: var(--xh-radius-control);
  background: var(--xh-surface-raised);
  color: var(--xh-text);
  font-family: var(--xh-font-sans);
  font-size: var(--xh-text-body);
  font-weight: var(--xh-weight-medium);
  box-shadow: none;
  animation: none;
}
.splash-enter-btn.ready:not(#_) {
  border-color: var(--xh-accent);
  background: var(--xh-accent);
  color: var(--xh-on-accent);
  box-shadow: none;
  animation: none;
}
.splash-enter-btn.ready:not(#_):hover { background: var(--xh-accent-hover); border-color: var(--xh-accent-hover); box-shadow: none; }
.splash-enter-btn:not(#_) .splash-enter-dot { box-shadow: none; animation: none; }
.splash-enter-btn.ready:not(#_) .splash-enter-dot { background: var(--xh-on-accent); }
.splash-slogan-primary:not(#_) { font-family: var(--xh-font-sans); font-size: var(--xh-text-display); font-weight: var(--xh-weight-bold); line-height: var(--xh-leading-tight); color: var(--xh-text); text-shadow: none; }

.witness-card-grid:not(#_) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--supporter-width), var(--supporter-width)));
  justify-content: center;
  gap: var(--xh-gap-group) var(--xh-gap-local);
  margin-block: 0;
}
.witness-card-grid:not(#_) .witness-card-item { display: flex; flex-direction: column; align-items: center; gap: var(--xh-space-1); min-width: 0; }
.witness-card-grid:not(#_) .supporter-card { width: 100%; }
.witness-card-grid:not(#_) .supporter-card-id { margin: 0; text-align: center; }
.witness-more-btn:not(#_) {
  width: 100%;
  min-height: 40px;
  margin-block: var(--xh-gap-group);
  border: 1px solid var(--xh-border);
  border-radius: var(--xh-radius-control);
  background: transparent;
  color: var(--xh-text-secondary);
  font-size: var(--xh-text-small);
  cursor: pointer;
}
.witness-more-btn:not(#_):hover { background: var(--xh-surface-hover); color: var(--xh-text); }
.splash-enter-btn:not(#_):focus:not(:focus-visible) { outline: none; box-shadow: none; }
.splash-enter-btn:not(#_):focus-visible { outline: 2px solid var(--xh-focus-ring); outline-offset: 2px; }
.studio-splash-cover:not(#_):has(.splash-enter-btn.ready) .splash-progress-track { display: none; }
.splash-topbar-brand:not(#_) .brand-title { font-family: var(--xh-font-sans); font-weight: var(--xh-weight-bold); letter-spacing: 0; }
.me-business-card form { display: grid; gap: var(--xh-gap-local); }
.me-business-card input:not([type="hidden"]) { min-height: 44px; padding: 0 var(--xh-pad-control); border: 1px solid var(--xh-border); border-radius: var(--xh-radius-control); background: var(--xh-surface-raised); color: var(--xh-text); font-family: var(--xh-font-sans); font-size: var(--xh-text-input); min-width: 0; }
.me-business-card input:focus-visible { outline: none; box-shadow: var(--xh-focus-ring); }
.me-business-card-links { display: grid; gap: var(--xh-gap-local); }
.me-business-card-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--xh-gap-local); }
.me-business-card form[data-state="saved"] [data-business-card-save] { border-color: var(--xh-status-success); color: var(--xh-status-success); }
.me-business-card form[data-state="failed"] [data-business-card-save] { border-color: var(--xh-status-danger); color: var(--xh-status-danger); }
