    * { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      overflow-y: auto;
      scrollbar-gutter: stable;
    }
    body {
      font-family: 'Manrope', system-ui, -apple-system, sans-serif;
      background: var(--color-bg);
      color: var(--color-text);
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    body.account-prehydrate main {
      position: relative;
      min-height: clamp(320px, calc(100vh - 170px), 720px);
    }
    body.account-prehydrate .workspace-header-nav,
    body.account-prehydrate .nav-account,
    body.account-prehydrate .header-account {
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      display: none;
    }
    #accountBootstrapCard {
      display: none;
    }
    body.account-prehydrate #accountBootstrapCard {
      display: none;
    }
    body.account-prehydrate #accountCard {
      display: block !important;
      position: relative;
      pointer-events: none;
    }
    #accountCard::before {
      content: none;
      display: none;
    }
    body.account-prehydrate #accountCard::before {
      display: none;
    }
    main {
      max-width: calc(var(--ds-content-max) + (var(--ds-content-gutter) * 2));
      margin: 0 auto;
      padding: 2.1rem var(--ds-content-gutter) 3rem;
      width: 100%;
      flex: 1;
    }
    .card {
      border: none;
      border-radius: 16px;
      background: var(--color-surface);
      box-shadow: none;
      overflow: hidden;
      transition: opacity 0.18s ease;
    }
    #accountCard {
      transition: opacity 0.42s ease, filter 0.42s ease;
    }
    .account-bootstrap-card .card-body {
      padding-top: 1.25rem;
    }
    .account-bootstrap-copy {
      color: var(--color-text);
      font-size: 0.95rem;
      font-weight: 600;
    }
    .card-head {
      padding: 1.5rem 2rem;
      border-bottom: 1px solid transparent;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 255, 0.92));
    }
    .card-head-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.8rem;
      align-items: start;
    }
    .card-head-copy {
      min-width: 0;
      order: 1;
    }
    .card-head-copy h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
    .card-head-copy p { color: var(--color-text); font-size: 0.95rem; }
    .card-head-tools {
      display: grid;
      justify-items: start;
      align-items: start;
      gap: 0.55rem;
      width: 100%;
      order: 2;
    }
    .card-head-actions {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      align-items: stretch;
      justify-content: stretch;
      gap: 0.55rem;
      width: 100%;
      max-width: none;
    }
    .card-head-actions .btn {
      width: 100%;
      min-width: 0;
      min-height: 42px;
      padding: 0.62rem 0.9rem;
      white-space: nowrap;
    }
    .card-body {
      padding: 2rem;
      transition: opacity 0.18s ease;
    }
    
    /* Form Styles matching /upload-a-release */
    .field { margin-bottom: 22px; }
    .field label { display: block; font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 7px; }
    .req { color: var(--color-danger); font-weight: 700; }
    .field label em { font-style: normal; font-weight: 400; color: var(--color-text); }
    .field small { display: block; margin-top: 5px; font-size: 12px; color: var(--color-text); }
    .field small.artist-name-warning {
      color: var(--color-warning);
      font-weight: 600;
    }
    
    .field input:not([type="checkbox"]):not([type="radio"]), 
    .field select, 
    .field textarea {
      width: 100%; padding: 14px 18px !important; border: none !important;
      border-radius: 12px !important; box-shadow: none !important;
      font-size: 15px !important; font-family: inherit; background: var(--ui-surface-bg-muted) !important; color: var(--color-text) !important;
      transition: background 0.18s ease, box-shadow 0.18s ease;
    }
    .field input:focus, .field select:focus, .field textarea:focus {
      outline: none; box-shadow: 0 0 0 2px var(--color-text) !important;
      background: var(--ui-surface-bg) !important;
    }
    .field input.locked-input {
      background: var(--ui-surface-bg-muted) !important;
      color: var(--ui-text-soft) !important;
      opacity: 0.85;
    }
    .btn, button.btn, a.btn {
      min-height: 48px !important;
      border-radius: 12px !important;
      padding: 0 24px !important;
      font-weight: 700 !important;
      border: 1px solid transparent !important;
    }
    .field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

    .info-box {
      background: var(--ui-surface-bg-muted);
      border: none;
      border-radius: 12px;
      padding: 14px 18px;
      font-size: 13px;
      color: var(--color-text);
      line-height: 1.6;
      margin-bottom: 24px;
      transition: background-color 0.18s ease, color 0.18s ease;
    }
    .profile-section {
      border: none;
      border-radius: var(--ui-shell-radius, 12px);
      background: var(--ui-surface-bg-muted);
      margin-bottom: 14px;
      overflow: hidden;
      transition: all 0.2s ease;
    }
    .profile-section > summary {
      list-style: none;
      cursor: pointer;
      user-select: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 20px;
      background: transparent;
      border-bottom: none;
      font-size: 15px;
      font-weight: 700;
      color: var(--color-text);
      transition: background-color 0.2s ease;
    }
    .profile-section > summary::-webkit-details-marker {
      display: none;
    }
    .profile-section > summary::after {
      content: '>';
      color: var(--color-text);
      font-size: 14px;
      display: inline-block;
      transform: rotate(90deg);
      transition: transform 0.2s ease;
    }
    .profile-section:not([open]) > summary::after {
      transform: rotate(0deg);
    }
    .profile-section[open] > summary {
      border-bottom: none;
      background: transparent;
    }
    .profile-section > summary:hover,
    .profile-section > summary:focus-visible {
      background: transparent;
      opacity: 1;
    }
    .profile-section-body {
      padding: 16px 16px 8px;
    }

    /* Nested Profile Section Drawers */
    .profile-section .profile-section {
      background: var(--ui-surface-bg);
      border: 1px solid var(--ui-surface-border-color);
      margin-bottom: 0px;
      border-radius: 12px;
      box-shadow: var(--shadow-sm);
    }
    .profile-section .profile-section > summary {
      font-size: 14px;
      padding: 14px 18px;
    }
    .profile-section .profile-section .profile-section-body {
      padding: 14px 18px 8px;
      background: var(--ui-surface-bg);
    }
    .profile-section .profile-section[open] > summary {
      border-bottom: 1px solid var(--ui-surface-border-color);
    }

    .artist-profile-dsp-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .artist-profile-dsp-label .dsp-icon-wrap {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      flex-shrink: 0;
      background: transparent;
      border: none;
      border-radius: 0;
      overflow: visible;
      position: relative;
    }

    .artist-profile-dsp-label .dsp-icon-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      background: transparent;
      padding: 0;
      box-sizing: border-box;
    }
    .payout-method-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .payout-method-note {
      font-size: 12px;
      color: var(--color-text);
      margin-top: 2px;
    }
    #payoutPayPalFields {
      display: none;
    }
    .account-payout-overview {
      display: grid;
      gap: 0.9rem;
      margin-top: 1.2rem;
      padding: 1rem;
      border: 1px solid var(--ui-surface-border-color);
      border-radius: 12px;
      background: var(--ui-surface-bg-muted);
    }
    .account-payout-overview-head,
    .account-payout-history-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .account-payout-overview-head h3 {
      margin: 0;
      font-size: 1.05rem;
    }
    .account-payout-destination,
    .account-payout-history-head,
    .account-payout-empty {
      color: var(--ui-text-muted);
      font-size: 0.9rem;
      line-height: 1.45;
    }
    .account-payout-request-list {
      display: grid;
      gap: 0.65rem;
    }
    .account-payout-request-row {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) auto auto;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem;
      border: 1px solid var(--ui-surface-border-color);
      border-radius: 10px;
      background: var(--ui-surface-bg);
    }
    .account-payout-request-main,
    .account-payout-request-detail {
      display: grid;
      gap: 0.25rem;
      min-width: 0;
    }
    .account-payout-request-main span,
    .account-payout-request-detail span {
      min-width: 0;
      overflow: hidden;
      color: var(--ui-text-muted);
      font-size: 0.82rem;
      line-height: 1.35;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .account-payout-request-detail span:first-child {
      color: var(--ui-text-color);
      font-weight: 700;
    }
    .account-payout-overview .payout-settings-pill,
    .account-payout-request-row .payout-receipt-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      justify-self: start;
      width: auto;
      min-width: 0;
      min-height: 24px;
      padding: 0.18rem 0.55rem;
      font-size: 0.72rem;
      font-weight: 800;
      line-height: 1;
      letter-spacing: 0;
      white-space: nowrap;
    }
    .account-payout-request-row .payout-receipt-cancel {
      min-height: 36px;
      padding: 0.45rem 0.75rem;
      border: 1px solid var(--ui-surface-border-color);
      background: var(--ui-surface-bg-muted);
      color: var(--ui-text-color);
      font: inherit;
      font-size: 0.82rem;
      cursor: pointer;
    }
    .account-payout-request-row .payout-receipt-cancel:disabled {
      cursor: not-allowed;
      opacity: 0.62;
    }
    .security-card {
      border: none;
      border-radius: 12px;
      padding: 16px;
      margin-top: 14px;
      background: var(--ui-surface-bg-muted);
    }
    .security-card h3 {
      margin-bottom: 6px;
    }
    .security-card p {
      margin: 0 0 14px;
      font-size: 13px;
      color: var(--color-text);
    }
    .security-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 4px;
    }
    .artist-profile-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
      margin-bottom: 20px;
    }
    .artist-profile-toolbar .field {
      min-width: 0;
      margin-bottom: 0;
    }
    .artist-profile-toolbar .btn {
      min-height: 46px;
      white-space: nowrap;
      margin-top: 31px;
      align-self: start;
    }
    .artist-profile-count {
      display: block;
      margin-top: 6px;
      color: var(--color-text);
      font-size: 12px;
    }
    .billing-panel {
      display: grid;
      gap: 0.95rem;
      margin-bottom: 1.4rem;
      padding: 1.1rem 1.15rem;
      border: none;
      border-radius: 16px;
      background: var(--ui-surface-bg-muted);
      box-shadow: none;
    }
    .billing-panel[data-plan="orion"] {
      background: var(--ui-surface-bg-muted);
    }
    .billing-panel-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .billing-kicker {
      margin-bottom: 0.35rem;
      color: var(--color-text);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      
    }
    .billing-summary {
      margin-top: 0.3rem;
      color: var(--color-text);
      font-size: 0.95rem;
      line-height: 1.45;
      max-width: 62ch;
    }
    .billing-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      border: none;
      background: var(--ui-hover-bg);
      color: var(--color-text);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      
    }
    .billing-badge[data-plan="orion"] {
      background: var(--ui-surface-bg-muted);
      color: var(--color-text);
    }
    .billing-badge[data-plan="nova"] {
      background: var(--ui-surface-bg-muted);
      color: var(--color-text);
    }
    .billing-badge[data-plan="orion"]::before,
    .billing-badge[data-plan="nova"]::before {
      content: '';
      display: inline-block;
      width: 22px;
      height: 22px;
      margin-right: 0.42rem;
      border-radius: 0;
      vertical-align: middle;
      flex: 0 0 22px;
    }

    .billing-badge[data-plan="orion"]::before {
      background: center / 100% 100% no-repeat url('/assets/img/daystar-distro-orion-icon.png');
      filter: drop-shadow(0 3px 8px rgba(14, 165, 233, 0.18));
    }

    .billing-badge[data-plan="nova"]::before {
      background: center / 100% 100% no-repeat url('/assets/img/daystar-distro-nova-icon.png');
      filter: drop-shadow(0 3px 8px rgba(37, 99, 235, 0.18));
    }
    .billing-meta {
      color: var(--color-text);
      font-size: 0.92rem;
      line-height: 1.5;
    }
    .billing-actions {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      flex-wrap: wrap;
    }
    .billing-actions:empty {
      display: none;
    }

    .btn {
      border: none; cursor: pointer; border-radius: 10px; padding: 13px 20px;
      font-size: 14px; font-weight: 600; font-family: inherit;
      display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
    }
    .btn.primary {
      color: var(--color-on-primary); background: var(--ui-brand-blue);
      box-shadow: none;
    }
    .btn.secondary,
    .btn-secondary,
    button.btn-secondary,
    .btn.btn-secondary {
      color: var(--ui-text-color);
      background: var(--ds-bg) !important;
      border: 1px solid var(--ds-border-strong) !important;
    }

    .btn.secondary:hover,
    .btn.secondary:focus-visible {
      background: var(--ui-hover-bg);
      color: var(--ui-hover-text);
      box-shadow: none;
    }
    .profile-section > summary:hover,
    .profile-section > summary:focus-visible {
      background: transparent;
      color: var(--color-text);
      box-shadow: none;
    }
    .btn.danger {
      color: var(--color-surface);
      background: var(--ui-danger-red);
      border: none;
    }
    .btn.danger:hover {
      background: var(--ui-danger-red-hover);
    }
    .btn.ghost {
      background: transparent;
      color: var(--color-text);
      border: none;
    }
    .btn.ghost:hover {
      background: var(--ui-hover-bg);
      color: var(--ui-hover-text);
    }
    .btn:disabled { opacity: 0.6; cursor: not-allowed; }
    .status {
      position: fixed;
      top: 1.25rem;
      left: 50%;
      transform: translateX(-50%) translateY(-8px);
      width: min(92vw, 640px);
      border-radius: 12px;
      border: none;
      background: var(--ui-surface-bg-muted);
      padding: 0.9rem 1rem;
      font-size: 0.94rem;
      line-height: 1.4;
      box-shadow: none;
      opacity: 0;
      pointer-events: none;
      z-index: 12000;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .status.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
      pointer-events: auto;
    }
    .status.ok { background: var(--color-success-soft); border: none; color: var(--color-success-ink); }
    .status.err { background: var(--color-danger-soft); border: none; color: var(--color-danger-ink); }
    .status.info { background: var(--color-primary-soft); border: none; color: var(--color-info); }
    
    /* Dropzone Styles */
    .dropzone {
      border: none; border-radius: 14px; padding: 36px 20px;
      text-align: center; cursor: pointer; background: var(--ui-surface-bg-muted);
      transition: background .2s;
    }
    .dropzone:hover, .dropzone.dragover { background: var(--ui-hover-bg); }
    .dropzone .dz-icon { margin-bottom: 10px; color: var(--color-primary); }
    .dropzone h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--color-text); }
    .dropzone p { font-size: 13px; color: var(--color-text); margin: 0; }
    .drop-text { color: var(--color-text); font-size: 14px; line-height: 1.5; }
    .drop-text strong { color: var(--color-text); }
    .drop-icon {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: none;
      color: var(--color-primary);
      font-size: 22px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      background: var(--ui-hover-bg);
      font-weight: 500;
    }
    .art-preview {
      margin-top: 12px; background: var(--ui-surface-bg-muted); border: none; border-radius: 12px;
      padding: 12px; display: flex; gap: 16px; align-items: center;
    }
    .artist-image-empty {
      width: 64px;
      height: 64px;
      background: var(--ui-hover-bg);
      border: none;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ui-brand-blue, var(--color-primary));
      flex-shrink: 0;
    }
    .account-upload-preview-loading {
      width: 64px;
      height: 64px;
      background: var(--color-surface-muted);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .account-upload-preview-loading-icon {
      color: var(--color-text);
    }
    .account-spin-icon {
      animation: spin 1s linear infinite;
    }
    .account-request-meta {
      margin-top: 6px;
      white-space: pre-wrap;
    }
    .art-preview img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: none; }
    .art-preview-info { flex: 1; min-width: 0; }
    .art-preview-info h4 { font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 2px; }
    .art-preview-info .meta { font-size: 12px; color: var(--color-text); }
    .art-preview .rm-file {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid var(--ui-surface-border-color);
      background: var(--color-surface);
      color: var(--color-text);
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1;
      padding: 6px 10px;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      transition: border-color 0.2s, color 0.2s, background-color 0.2s;
    }
    .art-preview .rm-file:hover {
      border-color: var(--ui-hover-border-color);
      color: var(--ui-hover-text);
      background: var(--ui-hover-bg);
      text-decoration: none;
    }
    .verify-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      border: none;
      background: var(--ui-surface-bg-muted);
      color: var(--ui-text-color);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      padding: 0 12px;
      min-height: 46px;
      cursor: pointer;
      white-space: nowrap;
      transition: background-color 0.2s;
    }
    .verify-btn:hover:not(:disabled) { background: var(--ui-hover-bg); }
    .verify-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .verify-btn.verified { background: var(--color-success); color: var(--color-on-primary); border-color: var(--color-success); }
    .verify-btn.verified:hover { background: var(--color-success-hover); border-color: var(--color-success-hover); }
    .verify-status {
      display: block;
      margin-top: 6px;
      font-size: 12px;
      font-weight: 600;
      color: var(--color-text);
      min-height: 16px;
    }
    .verify-status.ok { color: var(--color-success); }
    .verify-status.warn { color: var(--color-warning); }
    .verify-status.error { color: var(--color-danger); }
    .profile-match-card {
      margin-top: 10px;
      border: none;
      border-radius: 10px;
      background: var(--ui-surface-bg-muted);
      padding: 12px 14px;
    }
    .profile-match-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .profile-match-identity {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      flex: 1;
    }
    .profile-match-avatar {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      border: none;
      background: var(--ui-hover-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;
    }
    .profile-match-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .profile-match-avatar-fallback {
      font-size: 13px;
      font-weight: 700;
      color: var(--color-primary-hover);
      letter-spacing: 0.04em;
      
    }
    .profile-match-text {
      min-width: 0;
      flex: 1;
    }
    .profile-match-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--color-text);
      line-height: 1.35;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .profile-match-subtitle {
      margin-top: 2px;
      font-size: 12px;
      color: var(--color-text);
      line-height: 1.35;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .profile-match-pill {
      display: inline-flex;
      align-items: center;
      border: none;
      background: var(--ui-hover-bg);
      color: var(--color-text);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      white-space: nowrap;
    }
    .profile-match-grid { display: grid; gap: 6px; margin-bottom: 10px; }
    .profile-match-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 6px 0;
      border-top: 1px solid var(--ui-surface-border-color);
    }
    .profile-match-row:first-child { border-top: none; padding-top: 0; }
    .profile-match-label {
      color: var(--color-text);
      font-size: 12px;
      font-weight: 600;
      flex: 0 0 auto;
    }
    .profile-match-value {
      color: var(--color-text);
      font-size: 13px;
      font-weight: 600;
      text-align: right;
      overflow-wrap: anywhere;
    }
    .profile-match-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      border-top: 1px solid var(--ui-surface-border-color);
      padding-top: 10px;
    }
    .profile-match-link {
      color: var(--ui-hover-text);
      font-size: 12px;
      font-weight: 700;
      text-decoration: none;
      border-bottom: 1px solid transparent;
    }
    .profile-match-link:hover { border-bottom-color: var(--ui-hover-border-color); color: var(--ui-hover-text); }
    .profile-match-note {
      color: var(--color-text);
      font-size: 12px;
      line-height: 1.35;
      text-align: right;
    }
    #spotify_link_container,
    #apple_music_link_container,
    #audiomack_link_container { min-width: 0; }
    #spotify_link_container input,
    #apple_music_link_container input,
    #audiomack_link_container input { min-width: 0; }
    .form-row > * { min-width: 0; }
    .field > div { min-width: 0; }

    @media (max-width: 768px) {
      #spotify_link_container,
      #apple_music_link_container,
      #audiomack_link_container {
        flex-direction: column !important;
        align-items: stretch !important;
      }
      #spotify_link_container .verify-btn,
      #apple_music_link_container .verify-btn,
      #audiomack_link_container .verify-btn {
        width: 100%;
        justify-content: center;
      }
      .card-head-shell {
        grid-template-columns: 1fr;
      }
      .card-head-tools {
        justify-items: center;
        width: 100%;
      }
      .card-head-actions {
        width: min(420px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .artist-profile-toolbar {
        grid-template-columns: 1fr;
      }
      .payout-method-grid {
        grid-template-columns: 1fr;
      }
      .artist-profile-toolbar .btn {
        margin-top: 0;
      }
      .card-head-actions .btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
      #accountCard > .card-head {
        padding-bottom: 1.35rem;
      }
      #accountCard > .card-body {
        padding-top: 1.35rem;
      }
      #accountCard > .card-body::before {
        height: 26px;
      }
      .billing-actions .btn {
        width: 100%;
      }
    }
    @media (max-width: 560px) {
      #accountCard > .card-head {
        padding-bottom: 1.15rem;
      }
      #accountCard > .card-body {
        padding-top: 1.15rem;
      }
      #accountCard > .card-body::before {
        height: 22px;
      }
      .card-head-actions {
        grid-template-columns: 1fr;
        width: min(320px, 100%);
        margin-inline: auto;
      }
    }

    h3 { font-size: 18px; font-weight: 600; color: var(--color-text); margin: 32px 0 16px; letter-spacing: -0.02em; }

    footer {
      background: white;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      padding: 3rem 1.5rem 2rem;
      margin-top: 4rem;
    }
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }
    .footer-section h3 {
      font-size: 0.9rem;
      font-weight: 600;
      
      letter-spacing: 0.05em;
      color: var(--color-text);
      margin-bottom: 1rem;
    }
    .footer-section ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-section li {
      margin-bottom: 0.5rem;
    }
    .footer-section a {
      color: var(--color-text);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
    }
    .footer-section a:hover {
      color: var(--color-primary);
    }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 2rem;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      text-align: left;
    }
    .footer-bottom p {
      color: var(--color-text);
      font-size: 0.85rem;
    }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

    body {
      background: var(--ui-canvas-bg);
      color: var(--ui-text-color);
    }

    .card {
      border: none;
      border-radius: var(--ui-radius-xl);
      background: var(--ui-surface-bg);
      box-shadow: none;
    }

    .profile-section,
    .security-card,
    .art-preview,
    .connected-services-card {
      border: none;
      border-radius: var(--ui-radius-xl);
      background: var(--ui-surface-bg-muted);
      box-shadow: none;
    }

    .card-head {
      background: transparent !important;
      border-bottom-color: transparent !important;
    }

    #accountCard > .card-head {
      position: relative;
      isolation: isolate;
      background: transparent !important;
    }

    #accountCard > .card-head > * {
      position: relative;
      z-index: 1;
    }

    #accountCard > .card-head::after {
      content: none !important;
      display: none !important;
    }

    #accountCard > .card-body {
      position: relative;
      z-index: 0;
    }

    #accountCard > .card-body > * {
      position: relative;
      z-index: 1;
    }

    #accountCard > .card-body::before { content: none; display: none; }

    .profile-section > summary {
      background: var(--ui-surface-bg-muted);
    }

    .card-head-copy p,
    .payout-method-note,
    .dropzone p,
    .drop-text,
    .art-preview-info .meta {
      color: var(--ui-text-muted);
    }

    .card-head-actions .btn {
      min-height: var(--ui-control-min-height);
      border-radius: var(--ui-radius-md);
    }

    .field label,
    .field-label-strong,
    .same-location-toggle-text {
      color: var(--ui-text-soft);
    }

    .field input:not([type="checkbox"]):not([type="radio"]),
    .field select,
    .field textarea,
    .verify-code-input,
    .dropzone,
    .art-preview,
    .remove-art-btn,
    .upload-art-btn {
      border-color: var(--ui-surface-border-color);
      border-radius: var(--ui-radius-md);
    }

    .field input:not([type="checkbox"]):not([type="radio"]),
    .field select,
    .field textarea {
      background: var(--ui-surface-bg-muted);
      color: var(--ui-text-color);
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--ui-input-focus-border);
      box-shadow: var(--ui-input-focus-ring);
      background: var(--ui-surface-bg);
    }

    .info-box {
      background: var(--ui-surface-bg-muted);
      color: var(--ui-text-soft);
      border-radius: var(--ui-radius-md);
      border: none;
    }

    main {
      max-width: calc(var(--ds-content-max) + (var(--ds-content-gutter) * 2));
      padding: 2rem var(--ds-content-gutter) 2.75rem;
    }

    .billing-panel {
      border-color: var(--ui-surface-border-color);
      background: var(--ui-surface-bg);
      box-shadow: var(--ui-shadow-subtle);
    }

    .billing-panel[data-plan="orion"] {
      background:
        radial-gradient(circle at 14% -8%, rgba(14, 165, 233, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.96) 100%);
    }

    @media (max-width: 768px) {
      main {
        padding: 1.6rem 1rem 2.2rem;
      }

      .card-body {
        padding: 1.2rem;
      }

      .account-payout-request-row {
        grid-template-columns: minmax(0, 1fr);
      }

      .account-payout-request-row .payout-receipt-status,
      .account-payout-request-row .payout-receipt-cancel {
        justify-self: start;
      }
    }

    @media (max-width: 560px) {
      main {
        padding: 1.3rem var(--ds-content-gutter-mobile) 1.8rem;
      }

      .card-body {
        padding: 1rem;
      }
    }

    #accountCard :is(
      .btn.secondary,
      .dropzone,
      .art-preview .rm-file,
      .verify-btn:not(.verified),
      .profile-match-card,
      .profile-match-pill,
      .profile-match-link,
      .remove-art-btn,
      .upload-art-btn
    ) {
      transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
    }

    #accountCard :is(
      .btn.secondary,
      .dropzone,
      .art-preview .rm-file,
      .verify-btn:not(.verified),
      .profile-match-card,
      .profile-match-pill,
      .profile-match-link,
      .remove-art-btn,
      .upload-art-btn
    ):hover,
    #accountCard :is(
      .btn.secondary,
      .dropzone,
      .art-preview .rm-file,
      .verify-btn:not(.verified),
      .profile-match-card,
      .profile-match-pill,
      .profile-match-link,
      .remove-art-btn,
      .upload-art-btn
    ):focus-visible,
    #accountCard .dropzone.dragover {
      background: var(--ui-surface-bg-muted) !important;
      background-image: none !important;
      border-color: var(--ui-surface-border-color) !important;
      color: inherit !important;
      box-shadow: none !important;
      text-decoration: none !important;
    }

    #accountCard .profile-match-link:hover {
      border-bottom-color: var(--ui-hover-border-color) !important;
    }

    /* Unified header-card action sizing */
    #accountCard .card-head-shell {
      grid-template-columns: 1fr !important;
      align-items: start !important;
    }

    #accountCard .card-head-tools {
      width: 100% !important;
      justify-items: center !important;
      justify-content: center !important;
    }

    #accountCard .card-head-actions {
      display: flex !important;
      flex-wrap: wrap !important;
      align-items: center !important;
      justify-content: center !important;
      gap: var(--ui-action-gap, 0.68rem) !important;
      width: min(100%, calc((var(--ui-card-head-btn-width, 315px) * 2) + var(--ui-action-gap, 0.68rem))) !important;
      max-width: min(100%, calc((var(--ui-card-head-btn-width, 315px) * 2) + var(--ui-action-gap, 0.68rem))) !important;
      margin-inline: auto !important;
    }

    #accountCard .card-head-actions .btn {
      flex: 0 0 var(--ui-card-head-btn-width, 315px) !important;
      width: min(var(--ui-card-head-btn-width, 315px), 100%) !important;
      max-width: var(--ui-card-head-btn-width, 315px) !important;
      min-width: 0 !important;
      min-height: var(--ui-card-head-btn-min-height, 44px) !important;
      height: var(--ui-card-head-btn-min-height, 44px) !important;
      box-sizing: border-box !important;
      justify-content: center !important;
      text-align: center !important;
      font-size: var(--ui-card-head-btn-font-size, 0.94rem) !important;
      line-height: 1.2 !important;
    }

    @media (max-width: 720px) {
      #accountCard .card-head-actions {
        width: min(100%, var(--ui-card-head-btn-mobile-width, 290px)) !important;
        flex-direction: column !important;
        align-items: stretch !important;
      }

      #accountCard .card-head-actions .btn {
        flex-basis: auto !important;
        width: 100% !important;
        max-width: 100% !important;
      }
    }

    @media (max-width: 560px) {
      #accountCard .card-head-actions .btn {
        min-height: 42px !important;
        height: 42px !important;
      }
    }

    /* Stripe Connect Payout Card & Badges */
    .stripe-connect-card {
      background: var(--ui-surface-bg-muted);
      border: 1px solid var(--ui-surface-border-color);
      border-radius: 12px;
      padding: 1.1rem 1.15rem;
      margin-top: 1rem;
      box-shadow: none;
    }
    
    .stripe-connect-card-head {
      display: flex;
      align-items: flex-start;
      gap: 1.25rem;
      margin-bottom: 1.25rem;
    }
    
    .stripe-connect-icon-wrapper {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border: 1px solid var(--ui-surface-border-color);
    }
    
    .stripe-connect-icon {
      width: 24px;
      height: 24px;
      stroke: var(--color-primary, #635BFF);
    }
    
    .stripe-connect-title {
      font-size: 1.05rem;
      font-weight: 700;
      margin: 0 0 0.25rem 0;
      color: var(--color-text);
    }
    
    .stripe-connect-desc {
      font-size: 0.9rem;
      line-height: 1.45;
      color: var(--color-text);
      opacity: 0.85;
      margin: 0;
    }
    
    .stripe-connect-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 1rem;
    }
    
    /* Status badges and custom parameters */
    .stripe-acct-id {
      font-family: monospace;
      font-size: 0.85rem;
      background: rgba(255, 255, 255, 0.08);
      padding: 2px 6px;
      border-radius: 6px;
      color: var(--color-text);
      border: 1px solid var(--ui-surface-border-color);
    }
    
    .stripe-status-badge {
      display: inline-flex;
      align-items: center;
      font-size: 0.72rem;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      line-height: 1;
      margin-left: 2px;
      margin-right: 2px;
      border: 1px solid transparent;
    }
    
    .stripe-status-badge.active {
      background: rgba(16, 185, 129, 0.12);
      color: #10b981;
      border-color: rgba(16, 185, 129, 0.2);
    }
    
    .stripe-status-badge.pending {
      background: rgba(245, 158, 11, 0.12);
      color: #f59e0b;
      border-color: rgba(245, 158, 11, 0.2);
    }
    
    .stripe-status-badge.incomplete {
      background: rgba(239, 68, 68, 0.12);
      color: #ef4444;
      border-color: rgba(239, 68, 68, 0.2);
    }
