@import url('https://fonts.googleapis.com/css2?family=Kufam:wght@400;500;600;700&display=swap');
:root { --blue: #437AF5; --light: #9EBCF5; --char: #414042; --grey: #ECECEA; --muted: #6e6e73; --line: #E3E3E0;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
  /* tokens the dashboard expects */
  --font-anthropic-sans: var(--sf); --font-anthropic-serif: var(--sf); --cds-gap-sm: 8px; --cds-gap-md: 16px; --cds-gap-lg: 24px;
  --cds-font-size-title: 24px; --cds-font-size-body: 14px; --cds-font-size-caption: 12px; --cds-font-weight-medium: 600; --cds-radius: 10px; --cds-pad-lg: 20px;
  --color-bg: #fff; --color-panel: #fff; --color-fg: #414042; --color-fg-muted: #6e6e73; --color-border-line: #e8e8ed; --color-ok: #1a7f37; --color-warn: #b25000; --color-bad: #c9001a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--grey); color: var(--char); font-family: var(--sf); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
.pt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 3vw, 44px); background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.pt-brand { font-family: 'Kufam', var(--sf); font-size: 18px; letter-spacing: .06em; color: var(--char); text-decoration: none; display: flex; align-items: baseline; gap: 4px; }
.pt-tag { font-family: var(--sf); letter-spacing: 0; font-size: 12px; color: var(--muted); margin-left: 10px; }
.pt-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.pt-link { font: 500 14px var(--sf); color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; border: 0; background: none; cursor: pointer; }
.pt-link:hover { background: #F2F2F0; color: var(--char); } .pt-link.on { color: var(--blue); }
.pt-wrap { max-width: 920px; margin: 0 auto; padding: 32px 16px 60px; }
.pt-auth { max-width: 420px; margin: 8vh auto 40px; padding: 0 16px; }
.pt-logo { font-family: 'Kufam', var(--sf); font-size: 26px; letter-spacing: .06em; text-align: center; margin-bottom: 6px; }
.pt-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.pt-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 1px 2px rgba(65,64,66,.07); margin-bottom: 16px; }
.pt-card h2 { font: 600 19px/1.3 var(--sf); margin: 0 0 6px; } .pt-card h3 { font: 600 16px var(--sf); margin: 0 0 10px; }
.pt-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.pt-seg { display: flex; background: #E8E8E5; border-radius: 10px; padding: 3px; gap: 2px; margin-bottom: 18px; }
.pt-seg button { flex: 1; border: 0; background: none; font: 500 13px var(--sf); padding: 7px; border-radius: 8px; color: var(--char); cursor: pointer; }
.pt-seg button.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
label.pt-f { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.pt-in, select.pt-in { width: 100%; font: 15px var(--sf); padding: 10px 12px; border: 1px solid #D2D2D7; border-radius: 10px; background: #fff; color: var(--char); }
.pt-in:focus { outline: 2px solid var(--light); border-color: var(--blue); }
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 15px var(--sf); padding: 11px 18px; border-radius: 10px; border: 0; background: var(--blue); color: #fff; cursor: pointer; }
.pt-btn.full { width: 100%; margin-top: 18px; } .pt-btn:disabled { opacity: .55; cursor: default; }
.pt-btn.ghost { background: #F2F2F0; color: var(--char); } .pt-btn.small { font-size: 13px; padding: 7px 12px; } .pt-btn.danger { background: #ffeced; color: #c9001a; }
.pt-msg { font-size: 14px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; display: none; line-height: 1.45; }
.pt-msg.show { display: block; } .pt-msg.err { background: #ffeced; color: #9b0015; } .pt-msg.ok { background: #e6f4ea; color: #146c2e; }
.pt-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; } @media (max-width: 520px) { .pt-row { grid-template-columns: 1fr; } }
.pt-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } @media (max-width: 520px) { .pt-choices { grid-template-columns: 1fr 1fr; } }
.pt-choice { border: 1px solid #D2D2D7; border-radius: 12px; padding: 12px 10px; text-align: center; cursor: pointer; font-size: 14px; font-weight: 600; background: #fff; }
.pt-choice small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pt-choice.on { border-color: var(--blue); background: #EEF3FE; color: #2A56C6; }
.pt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin-top: 16px; }
.pt-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); }
.pt-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.pt-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.pt-t th { text-align: left; color: #86868b; font-weight: 500; font-size: 12px; padding: 8px; border-bottom: 1px solid #e8e8ed; white-space: nowrap; }
.pt-t td { padding: 9px 8px; border-bottom: 1px solid #f2f2f5; vertical-align: middle; }
.pt-scroll { overflow-x: auto; }
.pt-pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #F2F2F0; color: var(--muted); }
.pt-pill.ok { background: #e6f4ea; color: #1a7f37; } .pt-pill.bad { background: #ffeced; color: #c9001a; } .pt-pill.blue { background: #EEF3FE; color: #2A56C6; }
.pt-switch { position: relative; width: 42px; height: 24px; display: inline-block; } .pt-switch input { opacity: 0; width: 0; height: 0; }
.pt-switch span { position: absolute; inset: 0; background: #D2D2D7; border-radius: 999px; transition: .2s; cursor: pointer; }
.pt-switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.pt-switch input:checked + span { background: var(--blue); } .pt-switch input:checked + span::before { transform: translateX(18px); }
.pt-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pt-inline .pt-in { flex: 1; min-width: 200px; }
.pt-muted { color: var(--muted); font-size: 13px; }
/* dashboard page */
.dash-skeleton { color: transparent !important; background: linear-gradient(90deg, #F2F2F0, #E8E8E5, #F2F2F0); background-size: 200% 100%; animation: ptSk 1.2s infinite; border-radius: 6px; min-height: 1em; }
@keyframes ptSk { to { background-position: -200% 0; } }
.pt-dash .fp { min-height: 80vh; }
.pt-banner { max-width: 1400px; margin: 0 auto; padding: 10px clamp(16px, 3vw, 44px) 0; font-size: 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
