:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #656565;
  --line: #d7d7d7;
  --line-strong: #999;
  --surface: #fff;
  --subtle: #f5f5f5;
  --success: #e8f4ec;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.5; }
button, select, input, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.service-header { min-height: 68px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); background: white; }
.identity { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.identity > span:last-child, .account-summary > span { display: grid; line-height: 1.2; }
.identity strong { font-size: 1rem; }
.identity small, .prototype-label, .account-summary small { color: var(--muted); font-size: .75rem; }
.identity-mark { position: relative; width: 28px; height: 28px; display: block; border: 1px solid var(--ink); border-radius: 50%; }
.identity-mark i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.identity-mark i:nth-child(1) { left: 12px; top: 3px; }.identity-mark i:nth-child(2) { right: 5px; top: 7px; }.identity-mark i:nth-child(3) { right: 5px; bottom: 7px; }.identity-mark i:nth-child(4) { left: 12px; bottom: 3px; }.identity-mark i:nth-child(5) { left: 5px; bottom: 7px; }.identity-mark i:nth-child(6) { left: 5px; top: 7px; }
.prototype-label, .profile-badge, .champion-badge, .count-badge { padding: 4px 7px; border: 1px solid var(--line); font-size: .7rem; }
.account-summary { display: flex; align-items: center; gap: 18px; text-align: right; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid; background: transparent; cursor: pointer; font-size: .78rem; }
main, footer { width: min(1200px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.breadcrumb { padding: 22px 0 12px; display: flex; gap: 8px; color: var(--muted); font-size: .82rem; }
.section-label { margin: 0 0 8px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
h2, h3, p { margin-top: 0; }
.login-main { min-height: calc(100vh - 130px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 9vw; align-items: center; padding: 60px 0; }
.login-intro > p:not(.section-label) { max-width: 680px; margin: 22px 0 32px; color: var(--muted); font-size: 1.05rem; }
.trust-list { max-width: 720px; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.trust-list div { padding: 15px 15px 0 0; }
.trust-list dt { font-size: .78rem; font-weight: 700; }
.trust-list dd { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.login-card { padding: 30px; border: 1px solid var(--line-strong); box-shadow: 12px 12px 0 var(--subtle); }
.login-card h2 { margin: 5px 0 8px; font-size: 1.45rem; }
.card-intro { color: var(--muted); font-size: .8rem; }
.step { width: 27px; height: 27px; margin-bottom: 20px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: .7rem; font-weight: 700; }
form { display: grid; gap: 7px; }
label { margin-top: 8px; font-size: .78rem; font-weight: 700; }
select, input, textarea { width: 100%; padding: 10px; border: 1px solid var(--line-strong); border-radius: 0; background: white; color: var(--ink); outline: none; }
select:focus, input:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
textarea { resize: vertical; line-height: 1.45; }
.primary-button, .secondary-button { min-height: 40px; padding: 8px 13px; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; font-weight: 700; }
.primary-button { margin-top: 14px; background: var(--ink); color: white; }
.secondary-button { background: white; color: var(--ink); }
.small-button { min-height: 32px; margin-top: 8px; padding: 5px 8px; font-size: .72rem; }
.demo-note { margin: 20px 0 0; padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.demo-note code { padding: 2px 6px; background: var(--subtle); color: var(--ink); }
.alert, .success-banner { padding: 11px 13px; border-left: 3px solid var(--ink); background: var(--subtle); font-size: .8rem; }
.success-banner { margin: 12px 0; background: var(--success); }
.workspace-heading { padding: 30px 0 34px; display: flex; align-items: end; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--ink); }
.workspace-heading > div:first-child > p:last-child { margin: 12px 0 0; color: var(--muted); }
.profile-summary { min-width: 210px; padding: 15px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line-strong); }
.profile-summary .profile-badge { grid-column: 1 / -1; margin-bottom: 12px; justify-self: start; }
.profile-summary strong { font-size: 1.6rem; font-weight: 500; }
.profile-summary > span:last-child { color: var(--muted); font-size: .72rem; }
.workspace-grid { margin: 30px 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); border: 1px solid var(--line-strong); }
.inbox-panel, .profile-panel { min-width: 0; padding: 25px; }
.profile-panel { border-left: 1px solid var(--line-strong); background: var(--subtle); }
.panel-title { min-height: 50px; margin-bottom: 20px; padding-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line); }
.panel-title .step { flex: 0 0 auto; margin: 0; }
.panel-title h2 { margin: 0; font-size: 1.08rem; }
.panel-title p { margin: 2px 0 0; color: var(--muted); font-size: .76rem; }
.panel-title .count-badge { margin-left: auto; white-space: nowrap; }
.notification-list { display: grid; gap: 12px; }
.notification-card { padding: 16px; border: 1px solid var(--line); }
.notification-card.unread { border-color: var(--ink); border-left-width: 4px; background: var(--subtle); }
.notification-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.notification-card h3 { margin: 9px 0 0; font-size: .94rem; }
.notification-card .requester { margin: 1px 0 11px; color: var(--muted); font-size: .72rem; }
.request-subject { display: block; font-size: .8rem; }
.notification-card > p:last-of-type { margin: 4px 0 0; font-size: .78rem; }
.empty-state { min-height: 190px; padding: 30px; display: grid; align-content: center; justify-items: center; border: 1px dashed var(--line-strong); text-align: center; }
.empty-state p { max-width: 350px; margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
.profile-fields { margin: 0; }
.profile-fields div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.profile-fields dt { color: var(--muted); font-size: .7rem; }
.profile-fields dd { margin: 2px 0 0; font-size: .8rem; font-weight: 650; }
.profile-panel h3 { margin: 24px 0 8px; font-size: .82rem; }
.sent-list { border-top: 1px solid var(--line-strong); }
.sent-row { padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.sent-row div { display: grid; }
.sent-row strong { font-size: .76rem; }.sent-row span { color: var(--muted); font-size: .68rem; }
.request-status { color: var(--ink) !important; font-weight: 700; text-transform: uppercase; }
.empty-inline { margin: 10px 0; color: var(--muted); font-size: .75rem; }
.champion-directory { margin: 30px 0 40px; }
.directory-heading { padding-bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; border-bottom: 1px solid var(--ink); }
.directory-heading h2 { margin: 0; font-size: 1.55rem; font-weight: 500; }
.directory-heading > p { margin: 0; color: var(--muted); font-size: .78rem; }
.champion-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.champion-card { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.champion-card:nth-child(even) { border-right: 0; }
.champion-heading { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .68rem; }
.champion-badge { border-color: var(--ink); color: var(--ink); text-transform: uppercase; }
.champion-card h3 { margin: 15px 0 1px; font-size: 1rem; }
.company-location { color: var(--muted); font-size: .72rem; }
.champion-card > p:last-of-type { min-height: 48px; font-size: .8rem; }
.champion-evidence { margin: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champion-evidence dt { color: var(--muted); font-size: .68rem; }
.champion-evidence dd { margin: 2px 0 0; font-size: .75rem; font-weight: 650; }
details { border-top: 1px solid var(--ink); }
summary { padding: 11px 0; cursor: pointer; font-size: .78rem; font-weight: 700; }
.request-form { padding: 14px; background: var(--subtle); }
footer { padding: 20px 0 35px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
footer p { margin: 0; }

@media (max-width: 850px) {
  .login-main, .workspace-grid { grid-template-columns: 1fr; }
  .login-main { gap: 45px; }
  .profile-panel { border-top: 1px solid var(--line-strong); border-left: 0; }
  .trust-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .service-header { padding: 12px 18px; }.prototype-label { display: none; }
  .account-summary { gap: 10px; }.account-summary > span { display: none; }
  main, footer { width: calc(100% - 28px); }
  .login-main { padding: 35px 0; }.login-card { padding: 22px; box-shadow: 7px 7px 0 var(--subtle); }
  .workspace-heading { align-items: stretch; flex-direction: column; }.profile-summary { min-width: 0; }
  .inbox-panel, .profile-panel { padding: 19px 15px; }
  .directory-heading, .champion-grid { grid-template-columns: 1fr; }.directory-heading { gap: 10px; }
  .champion-card { border-right: 0; }.champion-evidence { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
