/* Site-wide lock: one font, one maroon, centred media and buttons.
   Loaded after main.css — do not fold this into main.css (FTP hangs). */

:root {
  --primary: #8B2020;
}

html,
body,
button,
input,
select,
textarea,
.btn,
.auth-card,
.honey-admin-page,
.about-page-body,
.employers-page-body {
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif);
}

.about-page-body,
.employers-page-body {
  color: var(--text-body, #2E1212);
  background: var(--bg, #EBEBED);
}

code,
kbd,
pre,
samp,
.ha-ip-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.btn,
.btn-sm,
.btn-xs,
.btn-lg,
.btn-outline,
.btn-primary {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

input,
select,
textarea {
  font-family: inherit;
}

.header-left,
.header-actions,
.nav-links,
.site-header {
  align-items: center;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 1rem;
}

/* Listing photos: whole image, centred. Circles stay cropped. */
.listing-thumb-media-photo,
.home-browse-thumb-top.listing-thumb-media-photo,
.job-card-thumb:not(.job-card-thumb-logo) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #EBEBED);
}

html.dark .listing-thumb-media-photo,
html.dark .home-browse-thumb-top.listing-thumb-media-photo,
html.dark .job-card-thumb:not(.job-card-thumb-logo) {
  background: rgba(255, 255, 255, 0.04);
}

.listing-thumb-media-photo img,
.home-browse-thumb-top.listing-thumb-media-photo img,
.job-card-thumb:not(.job-card-thumb-logo) img,
.talent-card-cover img,
.talent-gallery-item img,
.talent-more-offer-thumb,
.employer-profile-gallery img {
  object-fit: contain;
  object-position: center center;
}

.listing-thumb-media-profile img,
.home-browse-thumb-top.listing-thumb-media-profile img,
.user-avatar img,
.talent-card-avatar img,
.seeker-recruiter-avatar img,
.ha-live-avatar {
  object-fit: cover;
  object-position: center center;
}

.listing-thumb-media-logo img,
.home-browse-thumb-top.listing-thumb-media-logo img,
.job-card-thumb-logo img {
  object-fit: contain;
  object-position: center center;
}

.auth-card h1,
.auth-card p,
.auth-credentials label {
  font-family: inherit;
}

.breadcrumb-path {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Global form CSS sets width:100% on all inputs — that turns checkboxes into fat boxes. */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  height: auto;
  min-width: 1.05rem;
  min-height: 1.05rem;
  margin: 0 0.45rem 0 0;
  padding: 0;
  vertical-align: middle;
  flex-shrink: 0;
  accent-color: var(--primary, #8B2020);
}

label.ha-outreach-check {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border, #D8CCCC);
  border-radius: 8px;
  background: var(--surface, #F2F2F3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark, #140606);
  cursor: pointer;
  white-space: normal;
}

label.ha-outreach-check input[type="checkbox"] {
  margin: 0;
}

.ha-outreach-send-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light, #E0DADA);
}

/* Homepage browse: data-view wins. Never hide both list and grid after hard refresh. */
#home-browse-container[data-view="thumb"] .listings-list-only {
  display: none !important;
}
#home-browse-container[data-view="thumb"] .listings-thumb-only {
  display: grid !important;
}
#home-browse-container[data-view="list"] .listings-thumb-only {
  display: none !important;
}
#home-browse-container[data-view="list"] .listings-list-only {
  display: block !important;
}
#home-browse-container[data-view="thumb"].listings-list-view .listings-thumb-only {
  display: grid !important;
}
#home-browse-container[data-view="list"].listings-thumb-view .listings-list-only {
  display: block !important;
}

/* My hive — hiring toolkit tab must stay visible when that panel is active. */
.dashboard-tab-panel.is-active[data-dashboard-panel="toolkit"] {
  display: block !important;
}
.dashboard-tab-panel.is-active[data-dashboard-panel="toolkit"] .dashboard-hiring-toolkit {
  display: block !important;
  margin-bottom: 0;
}
.dashboard-tab-panel[data-dashboard-panel="toolkit"] .dashboard-toolkit-card-extra {
  display: flex !important;
}
.dashboard-tab-panel[data-dashboard-panel="toolkit"] .dashboard-toolkit-expand {
  display: none !important;
}

/* Employer trust tip on Edit profile (payers / hirers). */
.hive-employer-trust-tip {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--primary, #8B2020) 22%, transparent);
  background: color-mix(in srgb, var(--primary, #8B2020) 6%, #fff);
  border-radius: var(--radius-md, 8px);
}
.hive-employer-trust-title {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary, #8B2020);
}
.hive-employer-trust-list {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.hive-employer-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.4;
}
.hive-employer-trust-list li i {
  margin-top: 0.2rem;
  color: var(--primary, #8B2020);
  flex-shrink: 0;
}
.member-profile-private-tag {
  font-style: normal;
  font-size: 0.85em;
  opacity: 0.75;
  font-weight: 500;
}

/* Hive Mail — short video attachments */
.chat-attachment-video {
  display: grid;
  gap: 0.4rem;
  max-width: min(100%, 320px);
}
.chat-attachment-video video {
  width: 100%;
  max-height: 280px;
  border-radius: var(--radius-md, 8px);
  background: #111;
  display: block;
}
.chat-attachment-video .chat-attachment-download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

/* Subtle payment nudge — past free window / checkout whisper */
.listing-pay-whisper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid color-mix(in srgb, var(--primary, #8B2020) 28%, transparent);
  background: color-mix(in srgb, var(--primary, #8B2020) 8%, transparent);
  color: var(--text-dark, #2E1212);
  font-size: 0.86rem;
  line-height: 1.4;
}
.listing-pay-whisper i {
  color: var(--primary, #8B2020);
  flex-shrink: 0;
}
.listing-pay-whisper-cta {
  margin-left: auto;
  border: 0;
  background: var(--primary, #8B2020);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--btn-radius, 8px);
  cursor: pointer;
  inline-size: auto;
}
.listing-pay-whisper-cta:hover {
  filter: brightness(1.06);
}
.tier-card-paid.tier-card-whisper .tier-card-inner {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #8B2020) 45%, transparent);
  animation: hive-tier-whisper 1.6s ease-in-out 2;
}
@keyframes hive-tier-whisper {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.payment-pay-whisper {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.65rem 0 1rem;
  padding: 0;
  color: color-mix(in srgb, #fff 72%, transparent);
  font-size: 0.88rem;
  line-height: 1.4;
}
.payment-pay-whisper i {
  margin-top: 0.15rem;
  color: #fecaca;
  flex-shrink: 0;
}
.payment-order-until {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.85;
}
html.dark .listing-pay-whisper {
  color: #f5e8e8;
}

/* KCB / tip pay channels */
.hive-pay-channels-label {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-dark, #2E1212) 55%, transparent);
}
.hive-pay-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}
.hive-pay-channels li {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid color-mix(in srgb, var(--primary, #8B2020) 22%, transparent);
  background: color-mix(in srgb, var(--primary, #8B2020) 7%, transparent);
  color: var(--text-dark, #2E1212);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}
.hive-pay-channels-dark li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f4f6;
}
.payment-checkout .hive-pay-channels-label {
  color: #9ca3af;
}
.hive-pay-howto {
  margin: 0.35rem 0 0.75rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid color-mix(in srgb, var(--primary, #8B2020) 18%, transparent);
  background: color-mix(in srgb, var(--primary, #8B2020) 5%, transparent);
  padding: 0.45rem 0.65rem;
}
.hive-pay-howto summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary, #8B2020);
  list-style: none;
}
.hive-pay-howto summary::-webkit-details-marker { display: none; }
.hive-pay-howto summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s ease;
}
.hive-pay-howto[open] summary::before { transform: rotate(90deg); }
.hive-pay-howto ol {
  margin: 0.45rem 0 0.15rem 1.1rem;
  padding: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-dark, #2E1212);
}
.hive-pay-howto li { margin-bottom: 0.25rem; }
html.dark .hive-pay-channels-label { color: #c4b5b5; }
html.dark .hive-pay-channels li {
  color: #f5e8e8;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
html.dark .hive-pay-howto {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
html.dark .hive-pay-howto summary { color: #fecaca; }
html.dark .hive-pay-howto ol { color: #e5e7eb; }

/* Job payment — Joombah-style sheet (HiveGigz maroon) */
.pay-sheet-page .job-payment-wrap,
.pay-sheet-wrap,
.pay-sheet-page .support-page {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
}
.pay-sheet {
  background: #fff;
  color: #1f1414;
  border-radius: 16px;
  padding: 1.15rem 1rem 1.35rem;
  box-shadow: 0 10px 36px rgba(46, 18, 18, 0.08);
  border: 1px solid rgba(139, 32, 32, 0.08);
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, sans-serif);
}
.pay-sheet-layout {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pay-sheet-col-side .pay-field-label:first-child {
  margin-top: 0.85rem;
}
.pay-checkout-rail {
  margin-top: 1rem;
  padding-top: 0.25rem;
}
.pay-guest-ok {
  display: inline;
  color: var(--primary, #8B2020);
  font-weight: 700;
}
.pay-sheet-lead {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5c4545;
}
.pay-sheet-lead strong { color: #1f1414; }
.pay-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  background: #f7f2f2;
  border-top: 3px solid var(--primary, #8B2020);
}
.pay-identity-label {
  display: block;
  font-size: 0.78rem;
  color: #7a6363;
  margin-bottom: 0.35rem;
}
.pay-identity-who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pay-identity-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.pay-identity-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #8B2020);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.pay-identity-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.pay-identity-copy strong {
  font-size: 0.95rem;
  color: #1f1414;
}
.pay-identity-copy span {
  font-size: 0.82rem;
  color: #7a6363;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pay-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.84rem;
}
.pay-identity-actions a {
  color: var(--primary, #8B2020);
  font-weight: 600;
  text-decoration: none;
}
.pay-identity-actions a:hover { text-decoration: underline; }
.pay-sheet-whisper {
  color: #7a6363 !important;
  margin: 0 0 1rem !important;
}
.pay-sheet-whisper i { color: var(--primary, #8B2020) !important; }
.pay-field-label {
  display: block;
  margin: 1rem 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f1414;
}
.pay-textarea,
.pay-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e4d6d6;
  border-radius: var(--radius-md, 8px);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: #1f1414;
  resize: vertical;
}
.pay-textarea:focus,
.pay-input:focus {
  outline: none;
  border-color: var(--primary, #8B2020);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #8B2020) 18%, transparent);
}
.pay-amount-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.pay-amount-chip {
  min-width: 5.5rem;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: var(--radius-md, 8px);
  background: #ece4e4;
  color: #1f1414;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: default;
}
.pay-amount-chip.is-selected {
  background: var(--primary, #8B2020);
  color: #fff;
}
.pay-amount-package {
  font-size: 0.85rem;
  color: #7a6363;
}
.pay-amount-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #8a7474;
}
.pay-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 480px) {
  .pay-method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pay-method-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 4.25rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md, 8px);
  border: 2px solid #e4d6d6;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pay-method-tile img {
  max-width: 88px;
  height: auto;
  display: block;
}
.pay-method-tile.is-selected {
  border-color: var(--primary, #8B2020);
  box-shadow: 0 0 0 1px var(--primary, #8B2020);
}
.pay-method-tile:disabled,
.pay-method-tile.is-soon {
  opacity: 0.72;
  cursor: not-allowed;
}
.pay-method-kcb {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary, #8B2020);
}
.pay-method-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pay-method-mc { background: #eb001b; color: #fff; }
.pay-method-visa { background: #1a1f71; color: #fff; }
.pay-method-soon {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a7474;
}
.pay-method-footnote {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #8a7474;
}
.pay-detail-panel {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  background: #faf7f7;
  border: 1px solid #eee4e4;
}
.pay-detail-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
}
.pay-detail-lead {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #5c4545;
}
.pay-detail-steps {
  margin: 0.65rem 0 0.85rem 1.1rem;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5c4545;
}
.pay-detail-steps li { margin-bottom: 0.3rem; }
.pay-detail-panel .hive-pay-channels { margin-top: 0.65rem; }
.pay-bank-dl { margin: 0.5rem 0 0.65rem; }
.pay-bank-dl dt { color: #8a7474; }
.pay-bank-dl dd { color: #1f1414; }
.pay-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1.15rem 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #5c4545;
  cursor: pointer;
}
.pay-terms input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary, #8B2020);
  flex-shrink: 0;
}
.pay-terms a {
  color: var(--primary, #8B2020);
  font-weight: 600;
}
.pay-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-md, 8px);
  background: #f0eaea;
  font-size: 0.95rem;
}
.pay-summary strong {
  font-size: 1.05rem;
  color: #1f1414;
}
.pay-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: var(--btn-radius, 8px);
  background: var(--primary, #8B2020);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
}
.pay-submit-btn:hover { filter: brightness(1.05); }
.pay-demo-btn { margin-top: 0.65rem; width: 100%; }
.pay-sheet-footnote {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #8a7474;
  line-height: 1.4;
}
html.dark .pay-sheet {
  background: #1c1515;
  color: #f5e8e8;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
html.dark .pay-sheet-lead { color: #c4b5b5; }
html.dark .pay-sheet-lead strong,
html.dark .pay-identity-copy strong,
html.dark .pay-field-label,
html.dark .pay-detail-title,
html.dark .pay-summary strong,
html.dark .pay-bank-dl dd { color: #f5e8e8; }
html.dark .pay-identity { background: rgba(255, 255, 255, 0.05); }
html.dark .pay-identity-label,
html.dark .pay-identity-copy span,
html.dark .pay-amount-hint,
html.dark .pay-method-footnote,
html.dark .pay-sheet-footnote,
html.dark .pay-detail-lead,
html.dark .pay-detail-steps,
html.dark .pay-terms { color: #c4b5b5; }
html.dark .pay-textarea,
html.dark .pay-input {
  background: #151010;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5e8e8;
}
html.dark .pay-amount-chip { background: rgba(255, 255, 255, 0.1); color: #f5e8e8; }
html.dark .pay-amount-chip.is-selected { background: var(--primary, #8B2020); color: #fff; }
html.dark .pay-method-tile {
  background: #151010;
  border-color: rgba(255, 255, 255, 0.14);
}
html.dark .pay-detail-panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
html.dark .pay-summary { background: rgba(255, 255, 255, 0.08); }

/* Tip the hive — amount chips + custom field on pay-sheet */
.tip-sheet .pay-amount-chip {
  cursor: pointer;
  min-width: 4.75rem;
  flex: 1 1 calc(50% - 0.55rem);
}
@media (min-width: 480px) {
  .tip-sheet .pay-amount-chip { flex: 1 1 0; }
}
.tip-sheet .pay-amount-chip:not(:disabled):hover {
  filter: brightness(0.97);
}
.tip-custom-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.tip-custom-prefix {
  position: absolute;
  left: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #8a7474;
  pointer-events: none;
}
.tip-custom-input {
  padding-left: 3.25rem;
}
.pay-identity-guest-copy {
  margin: 0;
  font-size: 0.88rem;
  color: #5c4545;
  line-height: 1.4;
  max-width: 28rem;
}
.tip-sheet-aside {
  margin-top: 1.25rem;
}
.tip-ref-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #8a7474;
}
.pay-chip-main { display: block; }
.pay-chip-approx {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.75;
}
.pay-amount-chip.is-selected .pay-chip-approx { opacity: 0.9; }
.pay-summary-approx {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a7474;
}
a.pay-method-paypal {
  text-decoration: none;
  color: inherit;
}
a.pay-method-paypal:hover {
  border-color: #0070ba;
}
html.dark .pay-summary-approx,
html.dark .pay-chip-approx { color: #c4b5b5; }
html.dark .pay-identity-guest-copy,
html.dark .tip-ref-note { color: #c4b5b5; }
html.dark .tip-custom-prefix { color: #c4b5b5; }

/* Desktop: real two-column checkout; mobile stays stacked */
@media (min-width: 900px) {
  .pay-sheet-page .job-payment-wrap,
  .pay-sheet-wrap,
  .pay-sheet-page .support-page {
    max-width: 980px;
  }
  .pay-sheet {
    padding: 1.75rem 1.85rem 1.9rem;
  }
  .pay-sheet-lead {
    text-align: left;
    max-width: none;
    font-size: 1.05rem;
    margin-bottom: 1.35rem;
  }
  .pay-sheet-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 1.75rem 2rem;
    align-items: start;
  }
  .pay-sheet-col-side {
    position: sticky;
    top: 5.5rem;
    padding: 1.1rem 1.15rem 1.2rem;
    border-radius: 12px;
    background: #faf7f7;
    border: 1px solid #eee4e4;
  }
  .pay-sheet-col-side .pay-field-label:first-child {
    margin-top: 0;
  }
  .pay-sheet-col-side .pay-detail-panel {
    background: #fff;
  }
  .pay-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pay-checkout-rail {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid #eadfdf;
  }
  .tip-sheet .pay-amount-chip {
    flex: 1 1 calc(25% - 0.55rem);
    min-width: 0;
  }
  .tip-sheet-aside {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
  html.dark .pay-sheet-col-side {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
  }
  html.dark .pay-sheet-col-side .pay-detail-panel {
    background: #151010;
  }
  html.dark .pay-checkout-rail {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
}

/* Narrow phones: compact stacked sheet */
@media (max-width: 899px) {
  .pay-sheet-page .job-payment-wrap,
  .pay-sheet-wrap,
  .pay-sheet-page .support-page {
    max-width: 560px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .pay-sheet-lead {
    text-align: left;
    font-size: 0.92rem;
  }
  .pay-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pay-identity {
    flex-direction: column;
  }
}

/* Pin HiveGigz quick-guide thread at top of Hive Mail */
.inbox-thread-row.inbox-thread-honeybee {
  order: -1;
  background: color-mix(in srgb, var(--primary, #8B2020) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary, #8B2020) 18%, transparent);
  border-radius: var(--radius-md, 8px);
}
.inbox-thread-list {
  display: flex;
  flex-direction: column;
}
.inbox-avatar-honeybee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #8B2020);
  color: #fff;
}
.inbox-thread-pinned {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary, #8B2020);
  margin-left: 0.35rem;
}
html.dark .inbox-thread-row.inbox-thread-honeybee {
  background: color-mix(in srgb, var(--primary, #8B2020) 18%, #151010);
  border-color: color-mix(in srgb, var(--primary, #8B2020) 35%, transparent);
}
html.dark .inbox-thread-pinned {
  color: #e8b4b4;
}
