/* The creator portal (creators.pymanderhealth.com). Same look as Godview's
   Creators (design: "UGC Creators Admin" canvas, Creator's own dashboard):
   cream page, Newsreader numbers, lots of space, nothing extra. */

@font-face { font-family: Inter; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Newsreader; src: url(/fonts/newsreader-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
:root { --bg: #faf9f6; --fg: #1d1d1f; --muted: #6b6b6b; --faint: #8a8a8c; --line: #f0ede6; --ring: #ece9e2; --green: #22543a; --red: #a3341f; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 400 14px/1.5 Inter, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--green); }
:focus-visible { outline: 2px solid #9fbfaa; outline-offset: 2px; }
.pc-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-wrap { max-width: 960px; margin: 0 auto; padding: 32px 32px 80px; }
.pc-serif { font-family: Newsreader, Georgia, serif; font-weight: 300; letter-spacing: -0.02em; }
.pc-muted { color: var(--faint); }
.pc-error { color: var(--red); margin: 0; min-height: 1.5em; }

/* buttons */
.pc-btn { height: 36px; padding: 0 16px; border: 1px solid #e6e3dc; border-radius: 999px; background: #fff; color: var(--fg); font: 500 13px Inter, sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; }
.pc-btn:hover { border-color: #d6d2c8; }
.pc-btn.dark { height: 44px; padding: 0 22px; border: 0; background: var(--fg); color: #fff; font-size: 14px; }
.pc-btn.dark:hover { background: #000; }
.pc-btn:disabled { opacity: .5; cursor: default; }
.pc-link { border: 0; background: none; padding: 0; color: var(--faint); font: 500 13px Inter, sans-serif; cursor: pointer; }
.pc-link:hover { color: var(--fg); }
.pc-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: #f1efea; color: #5a5a5c; font: 500 11.5px Inter, sans-serif; white-space: nowrap; }
.pc-tag.paid { background: #e7f3ec; color: #17603a; }
.pc-tag.due { background: #fbf1dd; color: #7a5310; }
.pc-tag.bad { background: #fbebeb; color: #8a2a1a; }

/* top */
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pc-brand { font: 300 22px Newsreader, Georgia, serif; letter-spacing: -0.01em; }
.pc-brand span { font: 500 13px Inter, sans-serif; color: var(--faint); margin-left: 6px; letter-spacing: 0; }

/* sign in */
.pc-sign { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px 16px; text-align: center; }
.pc-sign h1 { margin: 0; font: 300 40px/1.1 Newsreader, Georgia, serif; letter-spacing: -0.02em; }
.pc-sign p { margin: 8px 0 0; color: var(--muted); max-width: 360px; }
.pc-form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.pc-input { height: 52px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--ring); font: inherit; font-size: 16px; color: var(--fg); }
.pc-input:focus { outline: none; box-shadow: 0 0 0 1px #9fbfaa, 0 0 0 4px rgba(34, 84, 58, .08); }
.pc-code { letter-spacing: .4em; text-align: center; font-size: 22px; }

/* notices */
.pc-notice { margin-top: 32px; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ring); }
.pc-notice.good { background: #f1f8f3; box-shadow: 0 0 0 1px #d4e8da; }
.pc-notice.bad { background: #fdf3f1; box-shadow: 0 0 0 1px #efcfc7; }

/* earnings and numbers */
.pc-hero { margin-top: 64px; display: flex; flex-direction: column; gap: 8px; }
.pc-hero h1 { margin: 0; font: 300 56px/1.05 Newsreader, Georgia, serif; letter-spacing: -0.02em; }
.pc-hero span { color: var(--faint); }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 32px 40px; margin-top: 56px; }
.pc-stat { display: flex; flex-direction: column; gap: 2px; }
.pc-stat b { font-size: 22px; font-weight: 500; }
.pc-stat span { color: var(--faint); font-size: 13px; }
.pc-stat em { font-style: normal; font-size: 12.5px; color: #17603a; }

/* sections */
.pc-sec { margin-top: 80px; }
.pc-sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.pc-sechead h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--faint); }
.pc-line { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pc-line > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc-line small { color: var(--faint); font-size: 13px; }
.pc-right { display: flex; align-items: center; gap: 12px; }
.pc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.pc-step { padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ring); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pc-step.done { background: transparent; }
.pc-step b { font-weight: 500; }
.pc-step span { color: var(--faint); font-size: 13px; }

/* chart */
.pc-chart { margin-top: 20px; }
.pc-total { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.pc-total b { font: 300 36px/1.1 Newsreader, Georgia, serif; letter-spacing: -0.02em; }
.pc-bars { display: flex; align-items: flex-end; gap: 3px; height: 200px; border-bottom: 1px solid #e6e3dc; }
.pc-bars i { flex: 1; min-width: 2px; background: #c9dccf; border-radius: 3px 3px 0 0; }
.pc-bars i.has { background: var(--green); opacity: .75; }
.pc-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: var(--faint); }

/* table */
.pc-scroll { overflow-x: auto; }
.pc-table { width: 100%; border-collapse: collapse; }
.pc-table th { font-weight: 500; font-size: 13px; color: var(--faint); text-align: right; padding: 0 0 12px 24px; white-space: nowrap; }
.pc-table th:first-child, .pc-table td:first-child { text-align: left; padding-left: 0; }
.pc-table td { padding: 16px 0 16px 24px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.pc-table td:first-child { white-space: normal; min-width: 240px; }
.pc-vt { display: flex; flex-direction: column; gap: 4px; }
.pc-vt a, .pc-vt b { font-weight: 500; color: var(--fg); text-decoration: none; }
.pc-vt a:hover { text-decoration: underline; }
.pc-vt small { color: var(--faint); font-size: 13px; }

/* payout form */
.pc-pform { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 20px; margin-top: 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ring); }
.pc-pform label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pc-pform select, .pc-pform input { height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: #faf9f6; box-shadow: 0 0 0 1px #e6e3dc; font: inherit; font-size: 14px; color: var(--fg); min-width: 0; }
.pc-pform select:focus, .pc-pform input:focus { outline: none; box-shadow: 0 0 0 1px #9fbfaa, 0 0 0 4px rgba(34, 84, 58, .08); }
.pc-pform p { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--faint); }
.pc-pform .pc-error { grid-column: 1 / -1; min-height: 0; }
.pc-pform .pc-error:empty { display: none; }

@media (max-width: 640px) {
  .pc-wrap { padding: 24px 20px 64px; }
  .pc-hero { margin-top: 48px; }
  .pc-hero h1 { font-size: 48px; }
  .pc-sec { margin-top: 64px; }
  .pc-pform { grid-template-columns: minmax(0, 1fr); }
}

/* this month so far, and their code */
.pc-break { margin-top: 32px; max-width: 520px; }
.pc-codecard { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; margin-top: 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ring); }
.pc-codecard b { font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.pc-codecard span { color: var(--muted); }
.pc-codecard strong { color: var(--fg); font-weight: 500; }
