/* PARTNER PORTAL */
.pt-login-body { background: var(--black); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pt-login { width: 100%; max-width: 420px; }
.pt-login .nav-logo-text { color: #fff; }
.pt-login-card { background: var(--surface); border-radius: 20px; padding: 32px 28px; }
.pt-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-mid); margin-bottom: 10px; }
.pt-login-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.3px; margin-bottom: 22px; }
.pt-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.pt-input { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 14px; background: #fff; }
.pt-input:focus { outline: none; border-color: var(--accent-mid); }
.pt-btn { width: 100%; margin-top: 20px; background: var(--black); color: #fff; border: none; border-radius: 100px; padding: 12px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.pt-btn:hover { background: var(--accent); }
.pt-btn:disabled { opacity: 0.6; cursor: default; }
.pt-error { margin-top: 12px; font-size: 13px; color: var(--red); }
.pt-fine { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.pt-fine a { color: var(--accent); }

/* app shell */
.pt-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.pt-side { background: var(--black); color: #fff; padding: 24px 18px; display: flex; flex-direction: column; }
.pt-side .nav-logo-text { color: #fff; }
.pt-nav { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; position: static; background: none; padding: 0; border: none; box-shadow: none; height: auto; backdrop-filter: none; align-items: stretch; justify-content: flex-start; width: auto; }
.pt-nav a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; padding: 9px 12px; border-radius: 8px; display: block; text-align: left; margin: 0; }
.pt-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.pt-nav a.on { color: #fff; background: rgba(42,150,105,0.25); }
.pt-side-foot { margin-top: auto; font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.pt-side-foot b { color: #fff; font-weight: 500; display: block; }
.pt-side-foot button { margin-top: 10px; background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 100px; padding: 6px 12px; font-size: 12px; cursor: pointer; font-family: inherit; }
.pt-main { padding: 32px 36px 60px; background: var(--white); }
.pt-demo { background: #FFF4D6; color: #6B4E00; font-size: 12px; padding: 8px 14px; border-radius: 8px; margin-bottom: 20px; }
.pt-h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.3px; margin-bottom: 4px; }
.pt-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pt-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.pt-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.pt-tile-l { font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pt-tile-v { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; margin-top: 6px; color: var(--black); }
.pt-tile-v.green { color: var(--accent); }
.pt-tile-s { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pt-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.pt-card h2 { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pt-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
table.pt { width: 100%; border-collapse: collapse; font-size: 13px; }
table.pt th { text-align: left; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 8px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.pt td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.pt tr:last-child td { border-bottom: none; }
table.pt td.num, table.pt th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }
.st { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 100px; font-weight: 500; white-space: nowrap; }
.st-received { background: var(--warm); color: var(--muted); }
.st-rx_verified { background: #E3ECF7; color: #2B4E7A; }
.st-in_lab { background: #F3E9D2; color: #7A5A1C; }
.st-shipped { background: #DDEBF9; color: #1F5C99; }
.st-delivered { background: var(--accent-light); color: var(--accent); }
.st-remake { background: #F8DDD9; color: var(--red); }
.muted { color: var(--muted); font-size: 12px; }
.pt-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 8px; }
.pt-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.pt-bar i { display: block; width: 100%; max-width: 48px; background: var(--accent-mid); border-radius: 6px 6px 2px 2px; min-height: 3px; }
.pt-bar span { font-size: 11px; color: var(--muted); }
.pt-bar b { font-size: 11px; font-weight: 500; color: var(--black); }
.pt-btn-sm { background: var(--black); color: #fff; border: none; border-radius: 100px; padding: 8px 16px; font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.pt-btn-sm:hover { background: var(--accent); }
.pt-btn-ghost { background: none; border: 1px solid var(--border); color: var(--black); border-radius: 100px; padding: 7px 14px; font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.pt-token-new { background: var(--accent-light); border-radius: 12px; padding: 16px 18px; margin: 12px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pt-token-code { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 1px; color: var(--accent); }
.pt-select { padding: 7px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; }
.pt-input-sm { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; }
.pt-page { display: none; }
.pt-page.on { display: block; }
.pt-stmt-tot td { font-weight: 500; background: rgba(42,150,105,0.06); }
@media (max-width: 860px) {
  .pt-shell { grid-template-columns: 1fr; }
  .pt-side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .pt-nav { margin-top: 0; flex-direction: row; flex-wrap: wrap; }
  .pt-side-foot { margin-top: 0; width: 100%; display: flex; align-items: center; gap: 12px; }
  .pt-side-foot button { margin-top: 0; }
  .pt-main { padding: 20px 16px 50px; }
  .pt-tiles { grid-template-columns: 1fr 1fr; }
  .pt-grid2 { grid-template-columns: 1fr; }
}
.pill { border: 1px solid var(--border); background: #fff; border-radius: 100px; padding: 5px 12px; font-size: 12px; cursor: pointer; font-family: inherit; }
.pill.on { background: var(--black); color: #fff; border-color: var(--black); }
