/* Sign-in / sign-up page (/account/). Uses the theme tokens from style.css. */
body.pm-account { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--ty-bg-alt); }
.pm-box { width: 100%; max-width: 440px; background: var(--ty-bg-card); border: 1px solid var(--ty-border); border-radius: var(--ty-radius-lg); box-shadow: var(--ty-shadow-md); padding: 32px 28px; }
.pm-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ty-primary); font-weight: 800; font-size: 1.25rem; text-decoration: none; margin-bottom: 16px; }
.pm-box h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.pm-sub { color: var(--ty-text-secondary); font-size: .9rem; margin: 0 0 20px; }
.pm-sub + .pm-sub { margin-top: -12px; }
.pm-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: var(--ty-bg-alt); padding: 4px; border-radius: var(--ty-radius-md); }
.pm-tabs a { flex: 1; text-align: center; padding: 10px; min-height: 44px; border-radius: var(--ty-radius-sm); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--ty-text-secondary); display: flex; align-items: center; justify-content: center; }
.pm-tabs a.on { background: var(--ty-bg-card); color: var(--ty-primary); box-shadow: var(--ty-shadow-sm); }
.pm-pass { position: relative; }
.pm-pass .ty-input { padding-right: 48px; }
.pm-pass button { position: absolute; right: 2px; top: 0; width: 44px; height: 44px; border: 0; background: none; color: var(--ty-text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pm-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pm-types label { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--ty-border); border-radius: var(--ty-radius-md); padding: 12px; cursor: pointer; font-weight: 600; min-height: 44px; }
.pm-types label:has(input:checked) { border-color: var(--ty-primary); background: var(--ty-primary-soft); }
.pm-types input { margin-top: 3px; accent-color: var(--ty-primary); }
.pm-types small { display: block; font-weight: 400; color: var(--ty-text-muted); font-size: .75rem; }
.pm-portals { display: grid; gap: 8px; margin: 16px 0; }
.pm-portals a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; min-height: 44px; border: 1px solid var(--ty-border); border-radius: var(--ty-radius-md); text-decoration: none; font-weight: 600; }
.pm-portals a:hover { border-color: var(--ty-primary); }
.pm-foot { margin-top: 20px; font-size: .85rem; text-align: center; }
