:root { color-scheme: light; --blue: #2563eb; --ink: #172033; --muted: #718096; --line: #e4e9f0; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f5f7fb; color: var(--ink); font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif; }
.shell { width: min(940px, calc(100% - 40px)); margin: 40px auto; }
.brand-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
h1 { margin: 0; font-size: 23px; font-weight: 700; }
h2 { margin: 0; font-size: 27px; font-weight: 650; letter-spacing: -.6px; }
.contact { margin: 6px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.user-badge { white-space: nowrap; font-size: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.user-badge.signed-in { color: #167351; background: #ecf8f1; border-color: #d8eee2; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 30px 0 22px; }
.poll-status { font-size: 12px; color: var(--muted); white-space: nowrap; }
.summary { display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 22px 0; margin-bottom: 20px; }
.summary > div { padding: 0 24px; border-right: 1px solid var(--line); }
.summary > div:last-child { border-right: 0; }
.label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.summary strong { display: block; min-height: 34px; font-size: 29px; font-weight: 650; font-variant-numeric: tabular-nums; }
.summary .status-badge { display: inline-flex; align-items: center; font-size: 14px; min-height: 34px; padding: 6px 12px; border-radius: 8px; color: #566279; background: #f2f4f8; }
.status-badge.waiting { color: #1d4ed8; background: #eff6ff; }
.status-badge.success { color: #167351; background: #ecf8f1; }
.status-badge.error { color: #b42334; background: #fff1f2; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.card-heading label { font-size: 14px; font-weight: 600; }
button { min-height: 42px; border: 1px solid #d7dfe9; border-radius: 8px; background: white; color: #354258; padding: 10px 20px; font: inherit; font-size: 14px; cursor: pointer; }
button:hover:not(:disabled) { border-color: #99b5e8; background: #f8fbff; }
button:focus-visible, input:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 3px; }
button.primary { background: var(--blue); border-color: var(--blue); color: white; }
button.primary:hover:not(:disabled) { background: #1d4ed8; }
button:disabled { opacity: .42; cursor: default; }
.copy-button { min-height: 30px; padding: 5px 10px; font-size: 12px; }
.value-input { display: block; width: 100%; border: 0; outline: none; padding: 0; background: transparent; color: var(--ink); font: 600 27px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; }
.code-input { color: var(--blue); letter-spacing: 2px; }
.value-hint { margin: 16px 0 0; color: var(--muted); font-size: 12px; min-height: 34px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.danger { color: #bd3445; background: #fffafb; border-color: #eed9de; }
.logout { margin-left: auto; color: var(--muted); }
.task-id { font-size: 12px; color: #8b96a8; overflow-wrap: anywhere; min-height: 20px; }
.quick-entry { margin-top: 24px; padding: 20px 22px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.quick-entry h3 { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-link { display: inline-flex; align-items: center; gap: 16px; min-height: 42px; padding: 10px 16px; border: 1px solid #d7dfe9; border-radius: 8px; color: #354258; font-size: 14px; text-decoration: none; }
.quick-link span { color: var(--muted); }
.quick-link:hover { border-color: #99b5e8; background: #f8fbff; }
.quick-link:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 3px; }
.notice { min-height: 50px; padding: 15px 0; margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #52617a; }
.notice.error { color: #b42334; }
footer { border-top: 1px solid var(--line); padding-top: 18px; color: #8b96a8; font-size: 12px; }
.login-card { max-width: 460px; margin: 52px auto 28px; background: white; padding: 32px; border: 1px solid var(--line); border-radius: 16px; }
.description { color: var(--muted); line-height: 1.7; font-size: 14px; margin: 15px 0 26px; }
#login-form label { display: block; font-size: 13px; margin-bottom: 10px; }
#cdk { width: 100%; border: 1px solid #d7dfe9; border-radius: 8px; padding: 13px; font: inherit; font-size: 14px; }
#login-button { width: 100%; margin-top: 16px; }
@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); margin: 22px auto; }
  .brand-header { align-items: start; padding-bottom: 22px; }
  h1 { font-size: 20px; } h2 { font-size: 23px; }
  .brand img { width: 42px; height: 42px; }
  .summary { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .summary > div { padding: 0 18px; }
  .summary > div:nth-child(2) { border-right: 0; }
  .summary .task-summary { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
  .value-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-card { padding: 20px; } .value-input { font-size: 26px; }
  .section-heading { align-items: center; } .poll-status { font-size: 11px; }
  .actions button { flex: 1 1 calc(50% - 10px); padding: 10px 12px; }
  .logout { margin-left: 0; }
  .quick-entry { padding: 20px; }
  .quick-link { flex: 1 1 145px; justify-content: space-between; }
  .login-card { margin: 32px auto 16px; padding: 24px; }
}
