/* A quiet canvas for account access and permitted workspaces. */
:root { color-scheme: light; --paper: #faf9f6; --ink: #252323; --muted: #73706c; --red: #bd1e24; --red-hover: #a81920; --line: #dedbd5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.shell { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.masthead { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { display: block; width: 150px; height: auto; }
#account { display: flex; align-items: center; gap: 20px; font-size: 13px; }
#account-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quiet { padding: 10px 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
.quiet:hover { color: var(--red); }
.home-layout { position: relative; display: flex; justify-content: center; align-items: center; min-height: calc(100svh - 208px); padding-block: 48px 80px; }
.access-panel { position: relative; z-index: 1; min-width: 0; width: 100%; max-width: 360px; }
.workspace-heading { margin: 0 0 36px; font-size: 28px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
#login-form { position: relative; padding: 28px; border: 1px solid #e6e1d9; border-radius: 14px; background: #fffdfa; box-shadow: 0 12px 32px #25232305; }
#login-form::before { content: ""; position: absolute; top: -1px; left: 28px; width: 28px; height: 3px; border-radius: 2px; background: var(--red); }
#login-form label:first-of-type { margin-top: 0; }

h2 { margin: 0 0 30px; font-size: 22px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
label { display: block; margin: 22px 0 10px; color: var(--muted); font-size: 13px; }
input { display: block; width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: transparent; font-size: 15px; }
input::placeholder { color: #96918b; }
input:focus { border-color: var(--red); }
.primary { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; margin-top: 30px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--red); color: white; font-size: 15px; }
.primary:hover { background: var(--red-hover); }
.primary span { font-size: 20px; }
.loading { color: var(--muted); font-size: 14px; line-height: 1.8; }
.entries { display: grid; }
.entry { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; text-decoration: none; }
.entry:first-child { border-top: 1px solid var(--line); }
.entry strong { font-size: 17px; font-weight: 500; }
.entry .arrow { color: var(--muted); font-size: 18px; }
.entry:hover, .entry:hover .arrow { color: var(--red); }
.empty { color: var(--muted); font-size: 14px; line-height: 1.8; }
.error { margin: 16px 0 0; color: var(--red); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.filings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.filings a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.filings a:hover { text-decoration: underline; text-underline-offset: 3px; }
.badge { width: 14px; height: 16px; object-fit: contain; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 48px); }
  .masthead { min-height: 88px; }
  .brand img { width: 126px; }
  .home-layout { min-height: calc(100svh - 184px); padding-block: 32px 52px; }
  h2 { margin-bottom: 24px; font-size: 20px; }
  label { margin-top: 18px; }
  .primary { margin-top: 24px; }
  .footer-inner { padding-block: 20px; min-height: 96px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .filings { gap: 6px 14px; }
  #account { gap: 12px; }
  #account-name { max-width: 88px; }
}
@media (prefers-reduced-motion: no-preference) { .primary, .entry, .quiet { transition: color .15s ease, background-color .15s ease; } }
