/*
 * Desktop density pass.
 *
 * Keep this file last in the stylesheet order. It centralizes the compact
 * rhythm for marketing, account setup, and signed-in workspaces without
 * changing the established mobile layouts.
 */

@media (min-width: 769px) {
  /* Public landing: keep the primary message and featured reels in view. */
  .app-shell[data-screen="home"] .home-stage > .source-nav .nav-inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .app-shell[data-screen="home"] .home-stage > .hero {
    padding: 48px 0 32px !important;
  }

  .app-shell[data-screen="home"] .home-stage > .hero h1.headline {
    margin-bottom: 20px;
    font-size: clamp(64px, 9vw, 132px);
  }

  .app-shell[data-screen="home"] .home-stage > .hero .sub {
    margin-bottom: 28px;
  }

  .app-shell[data-screen="home"] .home-stage > .hero .cta-row {
    margin-bottom: 0;
  }

  .app-shell[data-screen="home"] .home-stage .btn {
    padding: 14px 26px;
  }

  .app-shell[data-screen="home"] .home-stage > .creators-section {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .app-shell[data-screen="home"] .home-stage > .creators-section .section-header {
    margin-bottom: 28px;
  }

  .app-shell[data-screen="home"] .home-stage > .creators-section .section-title {
    max-width: none;
    font-size: clamp(44px, 4.2vw, 64px);
  }

  .app-shell[data-screen="home"] .home-stage > .benefits {
    padding: 72px 0;
  }

  .app-shell[data-screen="home"] .home-stage > .types {
    padding: 72px 0 40px;
  }

  .app-shell[data-screen="home"] .home-stage > .how {
    padding: 32px 0 48px;
  }

  .app-shell[data-screen="home"] .home-stage > .benefits .section-header,
  .app-shell[data-screen="home"] .home-stage > .types .section-header,
  .app-shell[data-screen="home"] .home-stage > .how > .container > .section-header {
    margin-bottom: 0;
  }

  .app-shell[data-screen="home"] .home-stage > .benefits .section-title,
  .app-shell[data-screen="home"] .home-stage > .types .section-title,
  .app-shell[data-screen="home"] .home-stage > .how > .container > .section-header .section-title {
    max-width: 720px;
    font-size: clamp(44px, 4.2vw, 64px);
  }

  .app-shell[data-screen="home"] .home-stage .benefits-grid,
  .app-shell[data-screen="home"] .home-stage .types-grid {
    margin-top: 36px;
  }

  .app-shell[data-screen="home"] .home-stage .benefit {
    padding: 32px 28px;
  }

  .app-shell[data-screen="home"] .home-stage .benefit-num {
    margin-bottom: 24px;
  }

  .app-shell[data-screen="home"] .home-stage .benefit-icon {
    margin-bottom: 22px;
  }

  .app-shell[data-screen="home"] .home-stage .type-card {
    padding: 28px 24px;
  }

  .app-shell[data-screen="home"] .home-stage .type-icon {
    margin-bottom: 18px;
  }

  .app-shell[data-screen="home"] .home-stage .platforms {
    margin-bottom: 56px;
    padding: 40px 24px;
  }

  .app-shell[data-screen="home"] .home-stage .platforms-label {
    margin-bottom: 28px;
    font-size: clamp(36px, 4vw, 52px);
  }

  .app-shell[data-screen="home"] .home-stage .platforms-row {
    gap: 44px;
  }

  .app-shell[data-screen="home"] .home-stage .how-tabs {
    margin-top: 32px;
    margin-bottom: 40px;
  }

  .app-shell[data-screen="home"] .home-stage .how-num {
    width: 80px;
    height: 80px;
    margin-bottom: 22px;
    font-size: 34px;
  }

  .app-shell[data-screen="home"] .home-stage .how-steps::before {
    top: 40px;
  }

  .app-shell[data-screen="home"] .home-stage > .final-cta {
    padding: 72px 0 64px;
  }

  .app-shell[data-screen="home"] .home-stage .final-cta-inner {
    padding: 64px 48px;
  }

  .app-shell[data-screen="home"] .home-stage .final-cta h2 {
    font-size: clamp(48px, 7vw, 80px);
  }

  .app-shell[data-screen="home"] .home-stage .final-cta p {
    margin-bottom: 32px;
  }

  .app-shell[data-screen="home"] .home-stage > footer {
    padding: 32px 0;
  }

  /* Brand landing: the same rhythm, scoped away from the public hero. */
  .app-shell[data-screen="home"] .brand-landing-stage .nav-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage > .hero {
    padding: 72px 0 32px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage > .hero .eyebrow {
    margin-bottom: 18px;
    padding: 6px 12px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage > .hero h1.headline {
    max-width: 820px;
    margin-bottom: 16px;
    font-size: clamp(52px, 6.5vw, 82px);
  }

  .app-shell[data-screen="home"] .brand-landing-stage > .hero .hero-sub {
    max-width: 640px;
    margin-bottom: 28px;
    font-size: 17px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .agency {
    padding: 12px 0 56px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .agency-hero {
    margin-bottom: 16px;
    padding: 48px 0 44px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .agency-eyebrow {
    margin-bottom: 18px;
    padding: 7px 13px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .agency-headline {
    margin-bottom: 16px;
    font-size: clamp(42px, 4.8vw, 64px);
  }

  .app-shell[data-screen="home"] .brand-landing-stage .agency-sub {
    margin-bottom: 28px;
    font-size: 17px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .agency-chip {
    padding: 8px 14px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offerings {
    padding: 48px 32px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offerings-header {
    margin-bottom: 36px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offerings-title {
    font-size: clamp(38px, 4.2vw, 52px);
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offerings-grid {
    gap: 12px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offering {
    padding: 28px 24px 24px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offering-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offering-title {
    margin-bottom: 9px;
    font-size: 22px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .offering-body {
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-section {
    padding: 32px 0 64px !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-section-head {
    margin-bottom: 18px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-section-head h2 {
    font-size: clamp(52px, 5.8vw, 76px);
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-section-head p {
    margin-top: 10px;
    font-size: 16px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage form[data-brand-intake-form] {
    padding: 30px 34px !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-group {
    padding: 24px 0 !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-group-header {
    margin-bottom: 18px !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-group-title {
    font-size: clamp(25px, 2.5vw, 32px) !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-grid {
    gap: 12px 16px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .input,
  .app-shell[data-screen="home"] .brand-landing-stage .select {
    min-height: 44px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .textarea {
    min-height: 84px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .chip-label {
    padding: 8px 12px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .form-actions {
    padding-top: 18px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .submit-btn {
    padding: 13px 24px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .faq-section {
    padding: 64px 0;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .faq-header {
    margin-bottom: 36px;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .faq-title {
    font-size: clamp(40px, 4.5vw, 54px);
  }

  .app-shell[data-screen="home"] .brand-landing-stage .faq-list {
    gap: 12px !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .faq summary {
    min-height: 66px;
    padding: 20px 26px !important;
    font-size: clamp(22px, 2.2vw, 28px) !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage .faq-answer {
    padding: 0 26px 24px !important;
    font-size: clamp(16px, 1.45vw, 18px) !important;
    line-height: 1.5 !important;
  }

  .app-shell[data-screen="home"] .brand-landing-stage > footer {
    padding: 32px 0;
  }

  /* Auth is a focused task, so keep controls comfortable while reducing chrome. */
  .auth-gate {
    padding: 24px 32px;
  }

  .auth-gate-card {
    width: min(620px, 100%);
    padding: 32px 40px;
  }

  .auth-gate-card h2 {
    max-width: 520px;
    margin: 8px 0 10px;
    font-size: clamp(42px, 4.5vw, 64px);
  }

  .auth-gate-card p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.4;
  }

  .auth-gate-form {
    gap: 14px;
  }

  .auth-gate-form .form-field {
    gap: 6px;
  }

  .auth-gate-form .form-field input {
    height: 50px;
    font-size: 18px;
  }

  .auth-gate-form .deal-action {
    min-height: 50px;
  }

  .auth-gate-switch,
  .auth-gate-preview,
  .auth-gate-resend,
  .auth-gate-secondary-link {
    margin-top: 8px;
  }
}

@media (min-width: 901px) {
  /* Creator and brand setup flows share the same compact desktop cadence. */
  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-main {
    gap: 10px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-main-head {
    gap: 8px;
    padding-bottom: 8px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-main-head h1 {
    max-width: 680px;
    font-size: clamp(44px, 4.8vw, 64px);
    line-height: 0.92;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-main-head p {
    margin-top: 4px;
    font-size: 15px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .onboarding-category-grid {
    grid-auto-rows: 124px;
    gap: 12px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .onboarding-category-grid button {
    padding: 14px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .onboarding-category-grid button strong {
    font-size: clamp(20px, 1.8vw, 26px);
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-upload-form {
    gap: 12px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-upload-form input,
  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .creator-upload-form select {
    min-height: 44px;
  }

  .app-shell[data-screen="app"] .creator-stage[data-mode="onboarding"] .onboarding-actions {
    gap: 10px;
    margin-top: 6px;
    padding-top: 8px;
  }

  .app-shell[data-screen="app"] .brand-onboarding-page.creator-style-onboarding {
    gap: 12px;
    padding: 18px;
  }

  .app-shell[data-screen="app"] .brand-onboarding-page.creator-style-onboarding .brand-onboarding-head h1 {
    font-size: clamp(44px, 4.8vw, 64px);
  }

  .app-shell[data-screen="app"] .brand-onboarding-page.creator-style-onboarding .brand-plan-inline button,
  .app-shell[data-screen="app"] .brand-onboarding-page.creator-style-onboarding .brand-choice-grid button {
    min-height: 60px;
  }

  .app-shell[data-screen="app"] .brand-review-card {
    gap: 12px;
    padding: 18px;
  }
}

@media (min-width: 1000px) {
  /* Shared signed-in shell. */
  .app-shell[data-screen="app"] {
    --workspace-sidebar-width: 208px;
    padding: 12px;
  }

  .app-shell[data-screen="app"] .web-stage,
  .app-shell[data-screen="app"][data-role="client"] .web-stage {
    gap: 12px !important;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .web-topbar {
    gap: 8px !important;
    padding: 16px !important;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .desktop-sidebar-toggle {
    top: 16px;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .web-brand {
    padding-bottom: 5px;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .web-brand .site-logo {
    height: 32px;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .desktop-sidebar-identity:not([hidden]) {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 48px;
    gap: 8px;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .desktop-sidebar-identity img {
    width: 34px;
    height: 34px;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .desktop-nav-group + .desktop-nav-group {
    margin-top: 8px;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .web-filter-button,
  .app-shell[data-screen="app"][data-role="client"] .web-stage[data-focus="profile"] .workspace-sidebar .web-filter-button {
    min-height: 42px;
    gap: 10px;
    padding: 0 12px !important;
  }

  .app-shell[data-screen="app"] .workspace-sidebar .app-logout-button,
  .app-shell[data-screen="app"][data-role="creator"] .workspace-sidebar .app-logout-button {
    min-height: 42px !important;
    padding: 0 12px;
  }

  .app-shell[data-screen="app"] .desktop-context-toggle:not([hidden]) {
    left: calc(12px + var(--workspace-sidebar-width) + 12px);
  }

  .app-shell[data-screen="app"] .web-stage > .web-sidebar {
    top: 12px;
    bottom: 12px;
    left: calc(12px + var(--workspace-sidebar-width) + 12px);
    width: min(320px, calc(100vw - var(--workspace-sidebar-width) - 54px));
    gap: 10px !important;
    padding: 14px !important;
  }

  .app-shell[data-screen="app"] .web-workspace {
    gap: 10px;
  }

  .app-shell[data-screen="app"] .web-panel {
    padding: 12px;
  }

  .app-shell[data-screen="app"] .web-panel-head {
    margin-bottom: 10px;
  }

  .app-shell[data-screen="app"] .web-video-overlay {
    padding: 18px;
  }

  .app-shell[data-screen="app"] .web-mode-row {
    min-height: 60px;
  }

  /* Creator workspace pages. */
  .app-shell[data-screen="app"][data-role="creator"] .creator-stage[data-mode="workspace"] .creator-main {
    gap: 14px !important;
    padding: 18px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-stage[data-mode="workspace"] .creator-main-head,
  .app-shell[data-screen="app"][data-role="creator"] .creator-campaigns-head,
  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-head,
  .app-shell[data-screen="app"][data-role="creator"] .creator-upload-flow-head {
    gap: 12px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-stage[data-mode="workspace"] .creator-main-head h1,
  .app-shell[data-screen="app"][data-role="creator"] .creator-campaigns-head h1,
  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-head h1,
  .app-shell[data-screen="app"][data-role="creator"] .creator-upload-flow-head strong {
    font-size: clamp(44px, 3.8vw, 56px) !important;
    line-height: 0.92 !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-stage[data-mode="workspace"] .creator-main-head p,
  .app-shell[data-screen="app"][data-role="creator"] .creator-campaigns-head p,
  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-head p,
  .app-shell[data-screen="app"][data-role="creator"] .creator-upload-flow-head p {
    margin-top: 6px !important;
    font-size: 15px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-head-actions .deal-action,
  .app-shell[data-screen="app"][data-role="creator"] .creator-packages-head .creator-head-actions .deal-action {
    height: 44px !important;
    min-height: 44px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-packages-head {
    min-height: 112px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .portfolio-metrics-bar,
  .app-shell[data-screen="app"][data-role="creator"] .creator-portfolio-metrics,
  .app-shell[data-screen="app"][data-role="creator"] .creator-package-grid,
  .app-shell[data-screen="app"][data-role="creator"] .creator-video-grid,
  .app-shell[data-screen="app"][data-role="creator"] .creator-campaign-grid {
    gap: 12px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .portfolio-metrics-bar div {
    min-height: 68px !important;
    gap: 5px !important;
    padding: 10px 14px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .portfolio-metrics-bar strong {
    font-size: 27px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-package-card {
    gap: 10px;
    padding: 16px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-package-empty {
    min-height: 240px;
    padding: 24px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-package-metrics {
    margin-bottom: 12px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-package-metrics > div,
  .app-shell[data-screen="app"][data-role="creator"] .creator-package-sales > div {
    padding: 10px 12px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-campaigns-page,
  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-page {
    gap: 12px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-campaign-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 520px)) !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-campaign-card {
    gap: 10px !important;
    max-width: 520px !important;
    padding: 14px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-campaign-card .campaign-meta-grid div {
    min-height: 52px !important;
    padding: 9px 10px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-head {
    padding: 18px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-layout {
    gap: 12px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-list {
    gap: 6px;
    padding: 10px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-list button {
    padding: 10px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-conversation {
    gap: 10px;
    padding: 14px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-inbox-composer input {
    min-height: 44px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-page {
    gap: 14px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-primary,
  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-account-card {
    padding: 18px;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-primary .creator-profile-card,
  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-card {
    gap: 14px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-top {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-top img {
    width: 72px !important;
    height: 72px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-card > p,
  .app-shell[data-screen="app"][data-role="creator"] .creator-profile-top p {
    font-size: 16px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-mini-stats {
    gap: 7px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-mini-stats div {
    min-height: 40px !important;
    padding: 0 13px !important;
  }

  .app-shell[data-screen="app"][data-role="creator"] .creator-upload-dropzone {
    min-height: 200px !important;
  }

  /* Brand workspace pages. */
  .app-shell[data-screen="app"][data-role="client"] .brand-account-page {
    gap: 14px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-account-hero {
    gap: 12px;
    padding: 18px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-account-hero > header {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-account-hero img {
    width: 60px;
    height: 60px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-account-hero h1 {
    font-size: clamp(36px, 3.5vw, 48px);
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-account-grid {
    gap: 12px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-account-card {
    gap: 12px;
    padding: 16px;
  }

  .app-shell[data-screen="app"][data-role="client"] .profile-overview-card {
    gap: 14px;
    padding: 18px;
  }

  .app-shell[data-screen="app"][data-role="client"] .profile-overview-head {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .app-shell[data-screen="app"][data-role="client"] .profile-overview-head > img {
    width: 60px;
    height: 60px;
  }

  .app-shell[data-screen="app"][data-role="client"] .profile-overview-meta {
    gap: 8px;
  }

  .app-shell[data-screen="app"][data-role="client"] .profile-overview-meta > div {
    padding: 8px 10px;
  }

  .app-shell[data-screen="app"][data-role="client"] .campaign-board-page {
    gap: 12px;
    padding: 18px;
  }

  .app-shell[data-screen="app"][data-role="client"] .campaign-create-form {
    gap: 12px;
    padding: 14px;
  }

  .app-shell[data-screen="app"][data-role="client"] .campaign-card {
    gap: 10px;
    padding: 14px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-package-storefront {
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-package-storefront-head,
  .app-shell[data-screen="app"][data-role="client"] .brand-purchases-page > header {
    gap: 12px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-package-storefront-grid,
  .app-shell[data-screen="app"][data-role="client"] .brand-package-order-list {
    gap: 12px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-package-offer {
    gap: 10px;
    padding: 16px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-purchases-page {
    gap: 14px;
    padding: 18px;
  }

  .app-shell[data-screen="app"][data-role="client"] .brand-package-order {
    gap: 12px;
    padding: 16px;
  }

  /* Secondary tasks and dialogs should follow the same density scale. */
  .logout-confirm-card {
    gap: 10px;
    width: min(390px, 100%);
    padding: 22px;
  }

  .logout-confirm-card h2 {
    font-size: clamp(46px, 5vw, 60px);
  }

  .logout-confirm-button {
    min-height: 46px;
  }

  .app-shell[data-screen="app"] .creator-package-modal {
    padding: 24px;
  }

  .app-shell[data-screen="app"] .creator-package-modal-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .app-shell[data-screen="app"] .creator-package-modal-head h2 {
    font-size: clamp(44px, 5vw, 64px);
  }

  .app-shell[data-screen="app"] .creator-package-modal-head .icon-button {
    width: 42px;
    height: 42px;
  }

  .app-shell[data-screen="app"] .creator-package-type-grid {
    gap: 10px;
  }

  .app-shell[data-screen="app"] .creator-package-type-grid button,
  .app-shell[data-screen="app"] .creator-package-template-list > button {
    gap: 6px;
    padding: 14px;
  }

  .app-shell[data-screen="app"] .creator-package-form {
    gap: 18px;
  }

  .app-shell[data-screen="app"] .creator-package-form-fields {
    gap: 18px;
  }

  .app-shell[data-screen="app"] .creator-package-form-section {
    gap: 10px;
    padding-bottom: 18px;
  }

  .app-shell[data-screen="app"] .brand-package-checkout {
    gap: 12px;
    padding: 22px;
  }

  .app-shell[data-screen="app"] .brand-package-checkout-total {
    padding: 12px 0;
  }

  .app-shell[data-screen="app"] .access-card {
    gap: 12px;
    padding: 18px;
  }

  .app-shell[data-screen="app"] .conversation-head {
    min-height: 54px;
  }

  .app-shell[data-screen="app"] .deal-panel {
    gap: 10px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
  }
}
