/* AWS prototype utility/account convergence. Loaded after route-specific legacy styles. */

body.page--account-redesign,
body.page--checkout-redesign,
body.page--public-jobs,
body.page--public-legal,
body.page--status-redesign,
body.page--contact-us {
  --utility-navy: #07111f;
  --utility-navy-2: #10213a;
  --utility-ink: #0b1020;
  --utility-muted: #667085;
  --utility-amber: #ff9900;
  --utility-aqua: #34d5ff;
  --utility-mint: #38e6a3;
  --utility-violet: #8b7cff;
  --utility-line: rgba(15, 23, 42, 0.09);
  --utility-soft: #f5f7fb;
  --utility-shadow: 0 24px 70px rgba(11, 16, 32, 0.09);
  background: var(--utility-soft);
  color: var(--utility-ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.page--account-redesign :is(button, input, select, textarea),
body.page--checkout-redesign :is(button, input, select, textarea),
body.page--public-jobs :is(button, input, select, textarea),
body.page--public-legal :is(button, input, select, textarea),
body.page--status-redesign :is(button, input, select, textarea),
body.page--contact-us :is(button, input, select, textarea) {
  font: inherit;
}

/* Utility pages still live inside the platform shell; keep their page backdrop
   aligned with study, course, search, and certification surfaces. */
body.page--platform-shell:is(.page--checkout-redesign, .page--public-jobs, .page--public-legal, .page--status-redesign, .page--contact-us) {
  background:
    radial-gradient(circle at 86% 8%, rgba(56, 230, 163, 0.22), transparent 30%),
    radial-gradient(circle at 53% 8%, rgba(52, 213, 255, 0.25), transparent 26%),
    radial-gradient(circle at 22% 10%, rgba(255, 153, 0, 0.16), transparent 28%),
    linear-gradient(135deg, #f7efe3 0%, #edf3f8 52%, #dff5ef 100%);
}

/* Account, profile, and settings use the mockup's identity + workspace composition. */
.page--account-redesign .account-cockpit {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  width: 100%;
  align-items: start;
}

.page--account-redesign .account-identity-card,
.page--account-redesign .account-cockpit__header,
.page--account-redesign .account-panel,
.page--account-redesign .account-stat-card {
  border: 1px solid var(--utility-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--utility-shadow);
}

.page--account-redesign .account-identity-card {
  position: sticky;
  top: calc(var(--platform-topbar-height, 78px) + 20px);
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
}

.page--account-redesign .account-identity-card__avatar {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 34px;
  background: linear-gradient(145deg, var(--utility-navy), #32415d);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.2);
}

.page--account-redesign .account-identity-card h1,
.page--account-redesign .account-cockpit__header h1 {
  margin: 0;
  color: var(--utility-ink);
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 0;
}

.page--account-redesign .account-identity-card h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 3vw, 38px);
}

.page--account-redesign .account-identity-card > p {
  max-width: 100%;
  margin: -6px 0 2px;
  overflow-wrap: anywhere;
  color: var(--utility-muted);
  font-size: 13px;
}

.page--account-redesign .account-identity-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.page--account-redesign .account-identity-card__metrics article {
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--utility-line);
  border-radius: 20px;
  background: #fff;
}

.page--account-redesign .account-identity-card__metrics strong {
  overflow-wrap: anywhere;
  color: var(--utility-ink);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.page--account-redesign .account-identity-card__metrics span {
  color: var(--utility-muted);
  font-size: 12px;
  font-weight: 700;
}

.page--account-redesign .account-identity-card__action {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  margin-top: 4px;
}

.page--account-redesign .account-cockpit__main {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.page--account-redesign .account-cockpit__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 34px);
}

.page--account-redesign .account-cockpit__header h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 0.98;
  text-wrap: balance;
}

.page--account-redesign .account-cockpit__header > p {
  width: min(330px, 42%);
  margin: 4px 0 0;
  color: var(--utility-muted);
  line-height: 1.55;
}

.page--account-redesign .account-panel {
  padding: clamp(22px, 3vw, 32px);
}

.page--account-redesign .account-panel--primary {
  border-color: rgba(52, 213, 255, 0.2);
}

.page--account-redesign .account-panel__head h2,
.page--account-redesign .account-subpanel__head h3 {
  color: var(--utility-ink);
  font-family: inherit;
  letter-spacing: 0;
}

.page--account-redesign .account-panel__head h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.page--account-redesign .account-subpanel,
.page--account-redesign .account-otp-card,
.page--account-redesign .account-usage-grid > div,
.page--account-redesign .account-empty-state {
  border: 1px solid var(--utility-line);
  border-radius: 20px;
  background: var(--utility-soft);
}

.page--account-redesign .account-input {
  min-height: 52px;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  background: #f8fafd;
  color: var(--utility-ink);
}

.page--account-redesign .account-input:focus {
  border-color: rgba(52, 213, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(52, 213, 255, 0.14);
}

.page--account-redesign .account-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page--account-redesign .account-stat-card {
  padding: 20px;
}

.page--account-redesign .account-table-wrap {
  border: 1px solid var(--utility-line);
  border-radius: 20px;
  background: #fff;
}

.page--account-redesign .btn {
  border-radius: 16px;
  font-weight: 900;
}

.page--account-redesign .btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--utility-amber), #ffc45a);
  color: #111827;
}

/* Checkout now shares the same light cockpit language as study, account, and certification routes. */
.page--checkout-redesign .checkout-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 20px;
  margin-bottom: 20px;
}

.page--checkout-redesign :is(
  .checkout-hero__copy,
  .checkout-hero__summary,
  .checkout-scope-notice,
  .checkout-panel,
  .checkout-promo-card,
  .checkout-status-panel
) {
  border: 1px solid var(--utility-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--utility-shadow);
}

.page--checkout-redesign .checkout-hero__copy {
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
  color: var(--utility-ink);
}

.page--checkout-redesign .checkout-hero__copy::after {
  display: none;
}

.page--checkout-redesign .account-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 153, 0, 0.24);
  border-radius: 999px;
  background: rgba(255, 153, 0, 0.1);
  color: #7a4a00;
  font-family: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.page--checkout-redesign .checkout-hero h1 {
  max-width: 820px;
  color: var(--utility-ink);
  font-family: inherit;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.page--checkout-redesign .checkout-hero p {
  max-width: 720px;
  color: var(--utility-muted);
}

.page--checkout-redesign .checkout-hero__summary {
  min-height: auto;
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(52, 213, 255, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.94);
}

.page--checkout-redesign .checkout-hero__summary strong {
  color: var(--utility-ink);
  font-size: clamp(34px, 4vw, 48px);
}

.page--checkout-redesign .checkout-hero__summary :is(span, small),
.page--checkout-redesign .checkout-summary-note,
.page--checkout-redesign .checkout-option small,
.page--checkout-redesign .checkout-panel__head p {
  color: var(--utility-muted);
}

.page--checkout-redesign .checkout-scope-notice {
  margin: 0 0 20px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.11), rgba(56, 230, 163, 0.08)),
    rgba(255, 255, 255, 0.94);
}

.page--checkout-redesign .checkout-scope-notice strong {
  color: var(--utility-ink);
}

.page--checkout-redesign .checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 20px;
}

.page--checkout-redesign .checkout-panel,
.page--checkout-redesign .checkout-promo-card {
  padding: clamp(22px, 3vw, 32px);
}

.page--checkout-redesign .checkout-panel__head h2,
.page--checkout-redesign .checkout-promo-card h2,
.page--checkout-redesign .checkout-status-panel h2 {
  color: var(--utility-ink);
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 0;
}

.page--checkout-redesign .checkout-panel__head p {
  max-width: 420px;
  text-align: left;
}

.page--checkout-redesign .checkout-option-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.page--checkout-redesign .checkout-option,
.page--checkout-redesign .premium-payment-option,
.page--checkout-redesign .checkout-promo-card__window,
.page--checkout-redesign .checkout-payment-unavailable,
.page--checkout-redesign .checkout-confirm-form__consent,
.page--checkout-redesign .premium-payment-consent {
  border: 1px solid var(--utility-line);
  border-radius: 20px;
  background: #fff;
}

.page--checkout-redesign .checkout-option {
  min-height: 118px;
  padding: 16px;
}

.page--checkout-redesign .checkout-option:hover,
.page--checkout-redesign .checkout-option:focus-visible,
.page--checkout-redesign .checkout-option--selected {
  border-color: rgba(255, 153, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(52, 213, 255, 0.08));
}

.page--checkout-redesign .checkout-option--selected {
  box-shadow: inset 4px 0 0 var(--utility-amber);
}

.page--checkout-redesign .checkout-option span,
.page--checkout-redesign .plan-card__eyebrow,
.page--checkout-redesign .premium-payment-options__label {
  color: #7a4a00;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.page--checkout-redesign .checkout-option strong,
.page--checkout-redesign .plan-card__title,
.page--checkout-redesign .checkout-summary-table td:last-child {
  color: var(--utility-ink);
}

.page--checkout-redesign .plan-card,
.page--checkout-redesign .premium-payment-method {
  border: 1px solid var(--utility-line);
  border-radius: 22px;
  background: #fff;
}

.page--checkout-redesign .plan-card {
  padding: 18px;
}

.page--checkout-redesign .plan-card--featured {
  border-color: rgba(255, 153, 0, 0.28);
  background: #fffaf0;
}

.page--checkout-redesign .premium-payment-method {
  padding: 20px;
}

.page--checkout-redesign .premium-payment-consent {
  padding: 16px;
}

.page--checkout-redesign .premium-payment-option {
  min-height: 58px;
  border-radius: 16px;
}

.page--checkout-redesign .premium-payment-method__note,
.page--checkout-redesign .checkout-payment-unavailable {
  border-color: rgba(255, 153, 0, 0.24);
  background: #fffaf0;
  color: var(--utility-muted);
}

.page--checkout-redesign .premium-payment-method__note::before {
  background: var(--utility-amber);
  color: #111827;
}

.page--checkout-redesign .checkout-summary-table td {
  border-color: var(--utility-line);
}

.page--checkout-redesign .checkout-summary-table td:first-child {
  color: var(--utility-muted);
}

.page--checkout-redesign .checkout-summary-panel {
  top: calc(var(--platform-topbar-height, 78px) + 20px);
}

.page--checkout-redesign .checkout-status-shell {
  width: 100%;
  max-width: none;
}

.page--checkout-redesign .btn {
  min-height: 44px;
  border-radius: 16px;
  font-weight: 900;
}

.page--checkout-redesign .btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--utility-amber), #ffc45a);
  color: #111827;
}

.page--checkout-redesign .btn--outline {
  border-color: var(--utility-line);
  background: #fff;
  color: var(--utility-ink);
}

/* Clara support shares the same light cockpit surfaces as the utility pages. */
.page--platform-contact-us .platform-contact {
  border: 1px solid var(--utility-line);
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.94);
  color: var(--utility-ink);
  box-shadow: var(--utility-shadow);
}

.page--platform-contact-us .platform-contact__title {
  color: var(--utility-ink);
}

.page--platform-contact-us .platform-contact__copy {
  color: var(--utility-muted);
}

.page--platform-contact-us .platform-contact__capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page--platform-contact-us .platform-contact__capabilities article {
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--utility-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.page--platform-contact-us .platform-contact__capabilities strong {
  color: var(--utility-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
}

.page--platform-contact-us .platform-contact__capabilities span {
  color: var(--utility-muted);
  font-size: 12px;
  font-weight: 800;
}

.page--platform-contact-us .platform-contact__issue-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--utility-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
}

.page--platform-contact-us .platform-contact__issue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page--platform-contact-us .platform-contact__issue-head h2 {
  margin: 10px 0 0;
  color: var(--utility-ink);
  font-size: 26px;
  letter-spacing: 0;
}

.page--platform-contact-us .platform-contact__issue-head .account-kicker,
.page--platform-contact-us .platform-contact__context-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 153, 0, 0.24);
  border-radius: 999px;
  background: rgba(255, 153, 0, 0.1);
  color: #7a4a00;
  font-size: 11px;
  font-weight: 800;
}

.page--platform-contact-us .platform-contact__issue-form,
.page--platform-contact-us .platform-contact__issue-preview,
.page--platform-contact-us .platform-contact__field {
  display: grid;
  gap: 9px;
}

.page--platform-contact-us .platform-contact__issue-form,
.page--platform-contact-us .platform-contact__issue-preview {
  gap: 14px;
}

.page--platform-contact-us .platform-contact__field label {
  color: var(--utility-muted);
  font-size: 12px;
  font-weight: 850;
}

.page--platform-contact-us .platform-contact__field :is(select, textarea) {
  width: 100%;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  background: #fff;
  color: var(--utility-ink);
}

.page--platform-contact-us .platform-contact__field select {
  min-height: 48px;
  padding: 0 14px;
}

.page--platform-contact-us .platform-contact__field select option {
  color: var(--utility-ink);
}

.page--platform-contact-us .platform-contact__field textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.page--platform-contact-us .platform-contact__field :is(select, textarea):focus {
  border-color: rgba(255, 153, 0, 0.72);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.14);
}

.page--platform-contact-us .platform-contact__field :is(select, textarea):disabled {
  opacity: 0.72;
}

.page--platform-contact-us .platform-contact__reply-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--utility-muted);
  font-size: 12px;
  line-height: 1.45;
}

.page--platform-contact-us .platform-contact__reply-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--utility-amber);
}

.page--platform-contact-us .platform-contact__actions .btn {
  min-height: 44px;
  border-radius: 16px;
}

.page--platform-contact-us .platform-contact__actions .btn--outline {
  border-color: var(--utility-line);
  background: #fff;
  color: var(--utility-ink);
}

/* Public utility pages inherit the same cockpit surfaces instead of the old utility theme. */
.page--public-jobs .page-main--public-redesign,
.page--public-legal .page-main--public-redesign,
.page--status-redesign .page-main--public-redesign {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

.page--public-jobs .public-hero,
.page--public-legal .public-hero {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 20px;
}

.page--public-jobs :is(.public-hero__content, .public-hero__panel, .public-empty-state, .job-card),
.page--public-legal :is(.public-hero__content, .public-hero__panel, .public-legal-aside, .public-legal-article) {
  border: 1px solid var(--utility-line);
  border-radius: 28px;
  box-shadow: var(--utility-shadow);
}

.page--public-jobs .public-hero__content,
.page--public-legal .public-hero__content {
  padding: clamp(30px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 251, 0.96));
  color: var(--utility-ink);
}

.page--public-jobs .public-hero__content::after,
.page--public-legal .public-hero__content::after {
  display: none;
}

.page--public-jobs .public-kicker,
.page--public-legal .public-kicker,
.page--public-jobs .public-hero__panel-label,
.page--public-legal .public-hero__panel-label {
  color: #9a5b00;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.page--public-jobs .public-hero__content .public-kicker,
.page--public-legal .public-hero__content .public-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 153, 0, 0.24);
  border-radius: 999px;
  background: rgba(255, 153, 0, 0.1);
  color: #7a4a00;
}

.page--public-jobs .public-hero h1,
.page--public-legal .public-hero h1 {
  color: var(--utility-ink);
  font-family: inherit;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.page--public-jobs .public-hero p,
.page--public-legal .public-hero p {
  color: var(--utility-muted);
}

.page--public-jobs .public-hero__panel,
.page--public-legal .public-hero__panel,
.page--public-jobs .public-empty-state,
.page--public-jobs .job-card,
.page--public-legal .public-legal-aside,
.page--public-legal .public-legal-article,
.page--status-redesign .public-status-card {
  background: rgba(255, 255, 255, 0.94);
}

.page--public-jobs .public-hero__panel strong,
.page--public-legal .public-hero__panel strong,
.page--public-jobs .job-card h2,
.page--public-legal .public-legal-article h2 {
  color: var(--utility-ink);
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 0;
}

.page--status-redesign .public-status-card {
  border: 1px solid var(--utility-line);
  border-radius: 28px;
  box-shadow: var(--utility-shadow);
}

.page--status-redesign .public-status-card__code,
.page--status-redesign .public-status-card h1 {
  color: var(--utility-ink);
  font-family: inherit;
  letter-spacing: 0;
}

.page--public-jobs .jobs-grid {
  gap: 20px;
}

.page--public-jobs .job-card,
.page--public-jobs .public-empty-state,
.page--public-legal .public-legal-aside,
.page--public-legal .public-legal-article {
  padding: clamp(22px, 3vw, 32px);
}

.page--public-jobs .job-card__media {
  overflow: hidden;
  border-radius: 20px;
}

.page--public-jobs .job-card__description,
.page--public-jobs .job-card__summary,
.page--public-legal .public-legal-article p,
.page--public-legal .public-legal-aside p {
  color: var(--utility-muted);
  line-height: 1.65;
}

.page--public-legal .public-legal-shell {
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
}

.page--public-legal .public-legal-aside {
  top: calc(var(--platform-topbar-height, 78px) + 20px);
}

.page--public-legal .public-legal-article section + section {
  padding-top: 24px;
  border-top: 1px solid var(--utility-line);
}

.page--public-jobs .btn,
.page--public-legal .btn,
.page--status-redesign .btn {
  min-height: 44px;
  border-radius: 16px;
  font-weight: 900;
}

.page--public-jobs .btn--primary,
.page--public-legal .btn--primary,
.page--status-redesign .btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--utility-amber), #ffc45a);
  color: #111827;
}

@media (max-width: 1100px) {
  .page--account-redesign .account-cockpit,
  .page--checkout-redesign .checkout-layout,
  .page--public-legal .public-legal-shell {
    grid-template-columns: 1fr;
  }

  .page--account-redesign .account-identity-card,
  .page--checkout-redesign .checkout-summary-panel,
  .page--public-legal .public-legal-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .page--account-redesign .account-cockpit__header,
  .page--account-redesign .account-panel__head,
  .page--checkout-redesign .checkout-panel__head,
  .page--checkout-redesign .checkout-promo-card__inner,
  .page--platform-contact-us .platform-contact__issue-head {
    display: grid;
  }

  .page--account-redesign .account-cockpit__header > p {
    width: 100%;
  }

  .page--account-redesign .account-stat-grid,
  .page--checkout-redesign .checkout-hero,
  .page--platform-contact-us .platform-contact__capabilities,
  .page--public-jobs .public-hero,
  .page--public-legal .public-hero {
    grid-template-columns: 1fr;
  }

  .page--account-redesign .account-identity-card,
  .page--account-redesign .account-cockpit__header,
  .page--account-redesign .account-panel,
  .page--account-redesign .account-stat-card,
  .page--checkout-redesign :is(.checkout-hero__copy, .checkout-hero__summary, .checkout-scope-notice, .checkout-panel, .checkout-promo-card, .checkout-status-panel),
  .page--platform-contact-us .platform-contact__issue-card,
  .page--public-jobs :is(.public-hero__content, .public-hero__panel, .public-empty-state, .job-card),
  .page--public-legal :is(.public-hero__content, .public-hero__panel, .public-legal-aside, .public-legal-article) {
    border-radius: 24px;
  }

  .page--platform-contact-us .platform-contact__actions,
  .page--checkout-redesign .checkout-status-actions,
  .page--public-jobs .job-card__actions,
  .page--public-legal .public-legal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page--platform-contact-us .platform-contact__actions .btn,
  .page--checkout-redesign .btn,
  .page--public-jobs .btn,
  .page--public-legal .btn {
    width: 100%;
    justify-content: center;
  }
}

.page--platform-contact-us .platform-contact__chat-mount .sales-chat__header {
  border-bottom: 1px solid var(--utility-line);
  background: #fff;
  color: var(--utility-ink);
}

.page--platform-contact-us .platform-contact__chat-mount .sales-chat__header .sales-chat__title {
  color: var(--utility-ink);
}

.page--platform-contact-us .platform-contact__chat-mount .sales-chat__header .sales-chat__eyebrow {
  color: #7a4a00;
}

@media (max-width: 460px) {
  .page--account-redesign .account-identity-card__metrics {
    grid-template-columns: 1fr;
  }
}

/* Public utility routes share the fixed cockpit topbar, so their content must
   retain the same shell offset instead of starting underneath it. */
.page--public-jobs .page-main--public-redesign,
.page--public-legal .page-main--public-redesign,
.page--status-redesign .page-main--public-redesign {
  padding-top: var(--platform-topbar-height, 108px);
}

/* The legacy terms component used print-sized 6pt copy on screen. */
.page--public-legal .terms-article,
.page--public-legal .terms-article :is(p, li, a, .terms-article__desc, .question-meta) {
  font-size: 16px;
  line-height: 1.65;
}

.page--public-legal .terms-article .terms-article__title {
  font-size: 20px;
  line-height: 1.35;
}

.page--platform-contact-us .platform-contact__header > .badge--accent {
  border-color: rgba(255, 153, 0, 0.24);
  background: rgba(255, 153, 0, 0.1);
  color: #7a4a00;
}

.page--platform-contact-us .platform-contact__chat-mount .sales-chat__close {
  color: var(--utility-muted);
}

.page--status-redesign .public-kicker {
  color: #7a4a00;
}

.page--platform-contact-us .platform-contact__field select option {
  background: #fff;
  color: #0b1020;
}
