:root {
  font-family:
    "DM Sans Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  --canvas: #eceeef;
  --surface: #ffffff;
  --ink: #11161b;
  --muted: #59616b;
  --line: #dce0e3;
  --accent: #d92d20;
  --accent-hover: #bd251a;
  --accent-soft: #fff0ed;
  --surface-soft: #f3f5f6;
  --success: #315f4c;
  --glass-solid: #f6f7f8;
  --glass-tint: rgb(246 247 248 / 92%);
  --glass-filter: blur(16px) saturate(115%);
  --shadow-card:
    0 2px 3px #171d2610, 0 12px 25px -12px #171d2626,
    0 35px 60px -35px #171d2630;
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 92% 0%, #ffffffb0, transparent 42%),
    var(--canvas);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button {
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  letter-spacing: -0.045em;
}
h1 {
  font-size: 36px;
  line-height: 1.2;
}
h2 {
  font-size: 25px;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
}
p {
  line-height: 1.65;
}
svg {
  flex-shrink: 0;
}
input,
textarea,
select {
  min-width: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.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;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: #fff;
  padding: 15px;
}
.skip-link:focus {
  top: 15px;
}
.app-shell {
  display: block;
  min-height: 100vh;
}
.brand {
  border: 0;
  background: none;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 25px;
  letter-spacing: -1.2px;
  font-weight: 650;
  padding: 0 8px;
}
.brand-symbol {
  background: linear-gradient(145deg, #ed4938, var(--accent));
  color: white;
  box-shadow:
    inset 0 1px 0 #ffffff50,
    0 3px 8px #b62c2420;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.brand-wordmark {
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}
.brand-wordmark-ending {
  font-weight: 450;
  color: var(--muted);
}
.avatar {
  width: 37px;
  height: 37px;
  background: #e3e6e9;
  border: 3px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #4d5660;
  flex-shrink: 0;
}
.avatar.small {
  width: 34px;
  height: 34px;
  font-size: 10px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #527b62;
  flex-shrink: 0;
}
main {
  max-width: 1510px;
  margin: 0 auto;
  padding: 36px 42px 25px;
  min-height: calc(100vh - 200px);
}
main:focus {
  outline: none;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 30px;
  gap: 16px;
}
.eyebrow {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  display: block;
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 11px;
}
.page-intro p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.accent-dot {
  color: var(--accent);
}
.today {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 4px;
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 500;
  background: #f1f3f3;
  color: var(--muted);
  letter-spacing: 0;
}
.badge.green {
  background: #edf3ee;
  color: #3b644b;
}
.badge.amber {
  background: #faf1df;
  color: #7d5b20;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.4;
  min-height: 44px;
  padding: 12px 17px;
  text-decoration: none;
}
.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 3px 6px #00000012;
}
.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--surface-soft);
}
.button.ghost {
  background: transparent;
}
.button.danger {
  background: #fff8f6;
  border-color: #e2c9c3;
  color: #842f28;
}
.button.danger:hover {
  background: #f9e6df;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.icon-tile {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.text-link {
  padding: 8px 0;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  min-height: 36px;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 27px 0 11px;
}
.section-title h2 {
  font-size: 23px;
}
.section-title .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
}
.section-note {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 19px;
}
.company-logo {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 27px;
  letter-spacing: -2px;
  flex-shrink: 0;
  font-weight: 500;
  line-height: 1;
}
.company-logo.sage {
  background: #e4e8ec;
  color: #465461;
}
.company-logo.peach {
  background: #f4e8e5;
  color: var(--muted);
  font-size: 30px;
}
.company-logo.lavender {
  background: #e6e9ee;
  color: #566577;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  border-radius: 10px;
  min-width: 36px;
  min-height: 36px;
  padding: 8px;
  color: var(--muted);
}
.icon-button:hover {
  background: #edf1ed;
}
.save {
  color: var(--muted);
}
.save.saved {
  color: #315f4c;
  background: #eef5ed;
}
.save.saved svg {
  fill: #315f4c22;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tags > span:not(.badge) {
  font-size: 10px;
  background: #f0f2f4;
  color: var(--muted);
  border-radius: 5px;
  padding: 5px 7px;
}
.app-footer {
  padding: 24px 42px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  gap: 12px;
}
.app-footer span > span {
  padding: 0 5px;
}
.notice,
.error {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  margin: 0 0 18px;
  font-size: 12px;
  border-radius: 12px;
  background: #e8f0e8;
  color: #2f593c;
  line-height: 1.5;
}
.notice > .icon-button,
.error > .icon-button {
  margin-left: auto;
}
.error {
  background: #fff0ea;
  color: #9b402c;
}
.dialog-content > p,
.detail-body > p {
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0;
}
.dialog-content > .badge {
  margin-bottom: 6px;
}
.detail-company {
  display: flex;
  align-items: center;
  gap: 13px;
}
.detail-company > div {
  flex: 1;
}
.detail-company h3 {
  font-size: 17px;
}
.detail-company p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.detail-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin: 20px 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.role-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0 28px;
}
.role-facts dt,
.consent-meta dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.role-facts dd,
.consent-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.detail-body > h3 {
  font-size: 17px;
}
.detail-body > h2 {
  margin-top: 22px;
}
.reason-box {
  padding: 20px;
  background: #f2f5f7;
  border-radius: 16px;
  margin: 22px 0;
}
.reason-box h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  margin-bottom: 10px;
}
.reason {
  display: flex;
  gap: 9px;
  font-size: 12px;
  margin-top: 12px;
  color: #475867;
}
.reason svg {
  margin-top: 3px;
}
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-columns > div {
  padding: 12px 0;
}
.detail-columns p {
  font-size: 12px;
  color: var(--muted);
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}
.info-box {
  display: flex;
  gap: 11px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 13px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
  align-items: flex-start;
}
.info-box svg {
  margin-top: 2px;
}
.interest-box {
  background: #f1f5f4;
  border: 1px solid #dbe6e1;
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
}
.interest-box h3 {
  margin: 13px 0 7px;
}
.interest-box p {
  font-size: 13px;
  color: #465a50;
}
.interest-box p.small {
  font-size: 11px;
  margin-top: 12px;
}
.revoke-bar {
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.revoke-bar p {
  font-size: 10px;
  color: var(--muted);
  flex: 1;
}
.consent-recipient {
  display: flex;
  gap: 14px;
  align-items: center;
}
.consent-recipient .eyebrow {
  font-size: 10px;
  margin-bottom: 5px;
}
.consent-recipient p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.consent-fields {
  border: 1px solid var(--line);
  background: #f4f6f8;
  border-radius: 15px;
  padding: 20px;
  margin: 22px 0;
}
.consent-fields h3 {
  font-size: 15px;
  margin-bottom: 13px;
}
.consent-fields > div {
  display: flex;
  gap: 9px;
  font-size: 12px;
  color: #37424d;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.consent-meta {
  display: grid;
  gap: 15px;
}
.checkbox-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.65;
  margin: 23px 0;
  cursor: pointer;
}
.checkbox-row input {
  margin: 3px 0 0;
  width: 17px;
  height: 17px;
  accent-color: #315f4c;
  flex-shrink: 0;
}
.empty {
  border: 1px dashed #cbd1d7;
  border-radius: 20px;
  padding: 50px 25px;
  text-align: center;
  background: #ffffff7a;
}
.empty-symbol {
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 17px;
  background: #e7eaed;
  color: var(--muted);
}
.empty h3 {
  font-size: 22px;
}
.empty p {
  max-width: 480px;
  margin: 12px auto 20px;
  font-size: 12px;
  color: var(--muted);
}
.filter-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
  align-items: center;
}
.segmented {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #e3e6e9;
  border-radius: 12px;
}
.segmented button {
  padding: 10px 14px;
  border: 0;
  background: none;
  font-size: 11px;
  border-radius: 9px;
  min-height: 40px;
  color: var(--muted);
  white-space: nowrap;
}
.segmented button.selected {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 4px #00000008;
}
.search-input {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  background: #fff;
  font-size: 11px;
  width: 250px;
}
.connections-list {
  display: grid;
  gap: 12px;
}
.connection-row {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  text-align: left;
}
.connection-row > div {
  flex: 1;
}
.connection-row h3 {
  font-size: 17px;
}
.connection-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.connection-row:hover {
  background: #fafbfc;
}
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: start;
}
.profile-form {
  display: grid;
  gap: 20px;
}
.form-section {
  padding: 28px;
}
.form-section > h2,
.form-section > .card-top {
  margin-bottom: 17px;
}
.form-section > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.field.full,
.form-grid > .full,
.role-facts > .full,
.consent-meta > .full {
  grid-column: 1/-1;
}
.field > span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: -3px;
}
.field input,
.field textarea,
.field select,
.inline-form select {
  padding: 12px 13px;
  border: 1px solid #cbd1d7;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  background: #fafbfc;
  width: 100%;
  color: var(--ink);
  min-height: 44px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
}
.radio-card.chosen {
  border-color: #7e8b98;
  background: #f4f6f8;
}
.radio-card input {
  accent-color: var(--ink);
  margin-top: 4px;
}
.radio-card strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.radio-card small {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  display: block;
}
.profile-aside {
  position: sticky;
  top: 25px;
}
.dna-preview {
  padding: 30px;
  background: linear-gradient(145deg, #f7f8f9, #e2e7eb);
  border-color: #d5dbe1;
}
.dna-mark {
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  border: 1px solid #cbd2d9;
  border-radius: 50%;
  background: #f3f5f7;
  box-shadow:
    inset 0 2px 5px #fff,
    0 10px 22px #354d6e20;
  color: var(--muted);
  margin: 5px 0 32px;
}
.dna-preview h2 {
  font-size: 33px;
  margin-bottom: 16px;
}
.dna-preview p {
  font-size: 12px;
  color: var(--muted);
}
.mini-rule {
  height: 1px;
  background: #dce2e7;
  margin: 24px 0;
}
.aside-fact {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.privacy-grid .icon-tile {
  margin-bottom: 20px;
}
.inline-form {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.inline-form select {
  flex: 1;
}
.blocked-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
th {
  font-weight: 500;
  color: var(--muted);
  font-size: 10px;
  padding: 18px 22px;
  background: #fafbfc;
}
td {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}
td > strong {
  font-weight: 500;
  display: block;
}
td > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.audit-card {
  padding: 25px;
}
.audit-card h3 {
  margin-bottom: 16px;
}
.audit-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.audit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #99a6b3;
}
.audit-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.audit-row strong {
  font-size: 11px;
  font-weight: 500;
}
.audit-row span,
.audit-row time {
  font-size: 10px;
  color: var(--muted);
}
.team-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 25px;
}
.team-toolbar .field {
  min-width: 240px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.team-card {
  padding: 26px;
}
.team-card h2 {
  font-size: 25px;
  margin: 20px 0 13px;
}
.team-card > p {
  font-size: 12px;
  color: var(--muted);
}
.role-summary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0;
}
.team-card h3 {
  font-size: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}
.number-pill {
  font-size: 10px;
  background: #e9ecef;
  border-radius: 5px;
  padding: 3px 7px;
  letter-spacing: 0;
}
.candidate-preview {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: #fafbfc;
  border-radius: 14px;
  padding: 17px;
  text-align: left;
}
.candidate-preview > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}
.candidate-preview strong {
  font-size: 12px;
  font-weight: 500;
}
.candidate-preview span,
.candidate-preview small {
  font-size: 10px;
  color: var(--muted);
}
.conversation {
  margin-top: 28px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 20px 0;
}
.messages > .muted {
  font-size: 12px;
  padding: 20px 0;
}
.message {
  background: #f0f2f4;
  padding: 14px 17px;
  max-width: 85%;
  border-radius: 14px;
}
.message.own {
  align-self: flex-end;
  background: #e3e8ec;
}
.message strong {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.message p {
  font-size: 12px;
  margin-top: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-form {
  display: flex;
  gap: 10px;
}
.message-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  font-size: 12px;
  min-width: 0;
}
.schedule-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.schedule-form .field {
  flex: 1;
}
.schedule-confirm {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #edf1f4;
  padding: 14px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.operations-list {
  display: grid;
  gap: 15px;
}
.operations-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}
.operations-row h2 {
  font-size: 20px;
}
.operations-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.operations-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.gate-card {
  padding: 20px;
}
.gate-card h3 {
  font-size: 16px;
  margin: 15px 0 10px;
}
.gate-card p {
  font-size: 11px;
  color: var(--muted);
}
.design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.design-grid h2 {
  margin: 17px 0 23px;
  font-size: 29px;
}
.swatches {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.swatches > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.swatches > div > span {
  height: 65px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.swatches strong {
  font-size: 11px;
  font-weight: 500;
}
.swatches small {
  font-size: 10px;
  color: var(--muted);
}
.design-grid .type-sample {
  font-size: 50px;
  line-height: 1.12;
  letter-spacing: -2px;
}
.design-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.design-rules {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.design-grid p {
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1550px) {
  main {
    padding-top: 44px;
  }
  .tags > span:not(.badge) {
    font-size: 10px;
  }
}
@media (max-width: 1200px) {
  main {
    padding: 30px 28px;
  }
  .profile-layout {
    grid-template-columns: 1fr 240px;
    gap: 20px;
  }
  .form-section {
    padding: 22px;
  }
  .form-grid {
    gap: 18px;
  }
  .gate-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-aside .dna-preview {
    padding: 25px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .filter-toolbar {
    flex-wrap: wrap;
  }
}
@media (max-width: 950px) {
  .brand {
    font-size: 22px;
    padding: 0 3px;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  .today {
    display: none;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-aside {
    position: static;
    display: none;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .operations-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .design-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .brand {
    font-size: 24px;
    align-self: center;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
  }
  main {
    padding: 27px 19px 15px;
  }
  .page-intro {
    margin-bottom: 23px;
  }
  .page-intro h1 {
    font-size: 29px;
    letter-spacing: -1.3px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .page-intro p {
    font-size: 11px;
    line-height: 1.7;
  }
  .section-title {
    gap: 15px;
    align-items: flex-end;
    margin: 25px 0 11px;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .section-title .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .section-title .eyebrow {
    font-size: 10px;
  }
  .section-note {
    font-size: 10px;
    line-height: 1.7;
  }
  .tags > span:not(.badge) {
    font-size: 10px;
  }
  .badge {
    font-size: 10px;
  }
  .app-footer {
    padding: 22px 19px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .filter-toolbar {
    display: block;
  }
  .segmented {
    padding: 3px;
    gap: 1px;
    width: 100%;
    margin-bottom: 13px;
  }
  .segmented button {
    padding: 10px 8px;
    font-size: 10px;
    flex: 1;
    min-width: 0;
  }
  .search-input {
    width: 100%;
    min-height: 44px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-section {
    padding: 24px 21px;
  }
  .form-section h2 {
    font-size: 23px;
  }
  .field.full {
    grid-column: auto;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 11px;
  }
  .field {
    font-size: 12px;
  }
  .field > span {
    font-size: 10px;
  }
  .form-section > .card-top {
    flex-wrap: wrap;
  }
  .profile-form {
    gap: 15px;
  }
  .detail-company {
    flex-wrap: wrap;
    gap: 11px;
  }
  .detail-company > div {
    flex: 1 1 calc(100% - 65px);
  }
  .detail-company .badge {
    font-size: 10px;
  }
  .detail-company h3 {
    font-size: 17px;
  }
  .role-facts {
    gap: 18px 14px;
  }
  .role-facts dd {
    font-size: 11px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .detail-actions {
    flex-direction: column;
  }
  .detail-actions > .button {
    width: 100%;
  }
  .consent-recipient h3 {
    font-size: 18px;
  }
  .consent-recipient p {
    font-size: 10px;
  }
  .revoke-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .message-form {
    flex-direction: column;
  }
  .message-form input {
    font-size: 16px;
  }
  .schedule-form {
    flex-direction: column;
    align-items: stretch;
  }
  .connection-row {
    flex-wrap: wrap;
    padding: 20px;
    gap: 12px;
  }
  .connection-row > .badge {
    margin-left: 55px;
  }
  .connection-row > div {
    min-width: 160px;
  }
  .connection-row > svg {
    margin-left: auto;
  }
  .connection-row h3 {
    font-size: 16px;
  }
  .connection-row p {
    font-size: 11px;
  }
  .table-wrap {
    border-radius: 15px;
  }
  td,
  th {
    padding: 14px;
    min-width: 100px;
  }
  td:first-child {
    min-width: 150px;
  }
  .team-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
  .team-toolbar .field {
    min-width: 0;
  }
  .team-card {
    padding: 22px;
  }
  .team-card h2 {
    font-size: 24px;
  }
  .team-card .card-top {
    flex-wrap: wrap;
  }
  .team-card .badge {
    font-size: 10px;
  }
  .gate-grid {
    grid-template-columns: 1fr;
  }
  .operations-row {
    padding: 23px;
  }
  .operations-row h2 {
    font-size: 21px;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form select {
    min-width: 150px;
  }
  .notice,
  .error {
    font-size: 11px;
  }
  .audit-row strong {
    font-size: 10px;
  }
  .audit-row span,
  .audit-row time {
    font-size: 10px;
  }
  .swatches {
    gap: 10px;
  }
  .swatches small {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* Contrast on the dark guidance card and translucent orbital illustration. */

.interview-panel {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.interview-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.interview-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 6px;
}
.interview-heading h3 {
  font-size: 21px;
}
.interview-heading .icon-tile {
  flex-shrink: 0;
}
.interview-panel .schedule-form {
  margin: 22px 0;
}
.interview-empty,
.interview-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 15px 0;
}
.interview-history {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.interview-entry {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fafbfc;
}
.interview-entry h4 {
  margin: 16px 0 8px;
  font-weight: 550;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.interview-entry .card-top {
  flex-wrap: wrap;
}
.feedback-form {
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.feedback-form h4,
.feedback-receipt h4 {
  font-size: 16px;
}
.feedback-form fieldset {
  border: 0;
  padding: 0;
  margin: 20px 0;
  min-width: 0;
}
.feedback-form legend {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 8px;
}
.feedback-option {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  cursor: pointer;
  padding: 8px 0;
}
.feedback-option input {
  accent-color: #315f4c;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.feedback-receipt {
  padding-top: 10px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.feedback-receipt h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #315f4c;
}
.feedback-receipt p {
  font-size: 12px;
  margin-top: 10px;
}
.feedback-receipt p.small {
  font-size: 11px;
}
.interview-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.interview-metrics > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--surface);
}
.interview-metrics dt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.interview-metrics dd {
  margin: 15px 0 0;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .interview-entry {
    padding: 18px;
  }
  .interview-heading h3 {
    font-size: 19px;
  }
  .interview-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .interview-metrics > div {
    padding: 17px;
  }
  .interview-metrics dt {
    font-size: 11px;
  }
  .interview-entry .button {
    min-height: 44px;
  }
  .interview-panel .schedule-form {
    gap: 14px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .interview-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
.interview-panel {
  scroll-margin-top: 100px;
}

/* Glass belongs to navigation; data, forms and consent cards stay opaque.
   Solid surfaces above are the baseline for browsers without backdrop-filter. */
@supports (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .modal-head,
  .material-glass {
    background: var(--glass-tint);
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
    box-shadow: inset 0 1px 0 #ffffffd9;
  }
  .modal::backdrop {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

.material-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.material-section p {
  margin-top: 14px;
}
.material-sample {
  position: relative;
  min-height: 230px;
  border: 1px solid #d1d7dc;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(130deg, #f8f9fa, #c4cbd1);
  display: grid;
  place-items: center;
}
.material-orb {
  position: absolute;
  width: 150px;
  height: 150px;
  top: 12px;
  right: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f56552, #d92d20 50%, #8f1d16);
  box-shadow:
    inset 0 2px 3px #ffffff88,
    0 20px 35px #55231c40;
}
.material-glass {
  position: relative;
  width: 82%;
  padding: 22px;
  border: 1px solid #ffffffc9;
  border-radius: 18px;
  background-color: var(--glass-solid);
}
.material-glass strong {
  font-size: 24px;
  letter-spacing: -1px;
}
.material-arrow {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  float: right;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
@supports (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .material-glass {
    background-color: rgb(246 247 248 / 82%);
  }
}
@media (max-width: 700px) {
  .material-section {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .material-glass {
    background: var(--glass-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .material-glass {
    background: Canvas;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Hiring status is a compact inline action, separate from candidate permissions. */
.availability-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  text-align: left;
}
.availability-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface);
  box-shadow: 0 3px 12px #00000008;
}
.availability-copy {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.availability-copy strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.availability-copy p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 0;
}
.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.availability-strip.needs-confirmation .availability-icon {
  color: var(--accent);
}
@media (max-width: 600px) {
  .availability-strip {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .availability-actions {
    grid-column: 2;
  }
  .availability-actions .button {
    max-width: 100%;
  }
}

.role-freshness {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.role-freshness > svg {
  flex-shrink: 0;
}
.role-freshness > div {
  flex: 1;
  min-width: 0;
}
.role-freshness strong {
  font-weight: 600;
}
.role-freshness p {
  margin: 5px 0 0;
  line-height: 1.5;
}
.role-freshness.needs-confirmation {
  color: var(--ink);
}
@media (max-width: 600px) {
  .role-freshness {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
  }
  .role-freshness > .button {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
  }
}

/* Review inputs stay side by side only when both columns remain readable. */
.assessment-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.assessment-context section {
  min-width: 0;
  overflow-wrap: anywhere;
}
.assessment-context h3 {
  margin: 8px 0 12px;
}
.assessment-context p + p {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .assessment-context {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

.assessment-form > .field {
  margin-bottom: 18px;
}

.role-closure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}
.role-closure > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.role-closure strong {
  font-size: 0.9rem;
}
.role-closure p {
  margin: 6px 0;
  font-size: 0.85rem;
}
.role-lifecycle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.role-lifecycle-actions .button {
  max-width: 100%;
}

/* Candidate follow-ups: a compact list of existing decisions, not another card grid. */
.follow-ups {
  margin: 12px 0 32px;
}
.follow-ups h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}
.follow-up-list {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.follow-up {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: background 0.18s ease;
}
.follow-up + .follow-up {
  border-top: 1px solid var(--line);
}
.follow-up:hover {
  background: var(--surface-soft);
}
.follow-up-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.follow-up-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.follow-up-copy strong {
  font-size: 16px;
}
.follow-up-copy > span,
.follow-up time {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.follow-up-copy small {
  color: var(--muted);
}
.follow-up time {
  max-width: 150px;
  text-align: right;
}
.follow-up:focus-visible {
  outline-offset: -4px;
}
@media (max-width: 600px) {
  .follow-up {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px 16px;
  }
  .follow-up time {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    text-align: left;
  }
  .follow-up-arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .follow-up-icon {
    width: 36px;
    height: 36px;
  }
}

.erased-demo {
  min-height: 100svh;
  max-width: 760px;
  margin: auto;
  padding: 40px 24px;
}
.erased-demo-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: clamp(60px, 15vh, 160px);
}
.erased-demo-panel h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.erased-demo-panel p {
  color: var(--muted);
  line-height: 1.6;
}
.erase-demo-link {
  margin: 18px 0 28px;
}

/* Official Core mark: keep the selected geometry and context palette intact. */
.brand-core-symbol {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}
.brand-core-auto .brand-core-dark {
  display: none;
}
[data-theme="dark"] .brand-core-auto .brand-core-light {
  display: none;
}
[data-theme="dark"] .brand-core-auto .brand-core-dark {
  display: inline;
}
.erased-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Quiet Momentum: one floating navigation layer; solid, inset editing surfaces. */
html {
  scroll-padding-bottom: 130px;
}
.main-shell {
  width: 100%;
}
.masthead {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 36px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.masthead .brand {
  padding: 0;
  font-size: 24px;
  min-height: 44px;
}
.masthead-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #f9fafbe8;
  box-shadow:
    0 3px 5px #171d2606,
    0 10px 20px -15px #171d2640;
}
.workspace-demo {
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.workspace-capsule select {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 18px 12px 0;
  font-size: 11px;
  font-weight: 550;
  color: var(--ink);
  min-height: 44px;
  cursor: pointer;
}
.workspace-capsule > svg {
  position: absolute;
  right: 13px;
  pointer-events: none;
}
.utility-menu {
  position: relative;
  z-index: 30;
}
.utility-menu > summary {
  display: grid;
  place-items: center;
  list-style: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f9fafb;
  border: 1px solid white;
  box-shadow: 0 4px 7px #171d2607;
  cursor: pointer;
}
.utility-menu > summary::-webkit-details-marker {
  display: none;
}
.utility-menu[open] > summary {
  background: var(--ink);
  color: #fff;
}
.utility-popover {
  position: absolute;
  right: 0;
  top: 55px;
  width: 222px;
  padding: 18px 10px 10px;
  border: 1px solid #fff;
  border-radius: 22px;
  background: #f8f9fa;
  box-shadow:
    0 4px 7px #11161b10,
    0 20px 45px -15px #11161b50;
}
.utility-popover .eyebrow {
  font-size: 9px;
  padding-left: 12px;
}
.utility-popover button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: none;
  text-align: left;
  font-size: 12px;
}
.utility-popover button:hover {
  background: #e9edf0;
}
.prototype-note {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 1240px;
  padding: 0 36px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 10px;
}
.prototype-note > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7c8590;
  flex-shrink: 0;
}
main {
  max-width: 1240px;
  padding: 38px 36px 30px;
  min-height: calc(100dvh - 250px);
}
.overview-page {
  padding-top: 38px;
}
.app-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 36px 140px;
  border-top: 0;
}
.page-intro {
  margin-bottom: 38px;
}
.page-intro h1 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.06em;
  font-weight: 550;
}
.page-intro p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 560px;
}

.island-dock {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 5px;
  padding: 8px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  background: #f1f3f5;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 #b2bac455,
    0 4px 8px #11161b14,
    0 18px 40px -12px #11161b45;
  max-width: calc(100% - 24px);
}
.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  min-width: 96px;
  min-height: 64px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent;
  color: #4e5863;
  font-size: 10px;
  font-weight: 550;
  transition:
    transform 180ms,
    box-shadow 180ms;
}
.dock-icon {
  display: grid;
  place-items: center;
  transition: transform 180ms;
}
.dock-item:hover {
  background: #ffffffcc;
}
.dock-item.active {
  color: #fff;
  background: linear-gradient(145deg, #3d4652, #141b24 76%);
  border-color: #5b6572;
  box-shadow:
    inset 0 1px 0 #ffffff40,
    0 3px 4px #11161b30,
    0 8px 15px -8px #11161b70;
}
.dock-item.active .dock-icon {
  color: #ffad9d;
}
.dock-label-short {
  display: none;
}
.dock-count {
  position: absolute;
  right: 8px;
  top: 5px;
  border: 2px solid #f1f3f5;
  border-radius: 99px;
  background: #d92d20;
  color: #fff;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.dock-item:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.button {
  border-radius: 999px;
  padding: 13px 21px;
  min-height: 46px;
  font-size: 12px;
}
.button.primary {
  background: linear-gradient(180deg, #e03929, #ce291d);
  border: 1px solid #ce291d;
  color: #fff;
  box-shadow:
    inset 0 1px 1px #ffffff65,
    0 3px 4px #85170f20,
    0 11px 19px -8px #b1232060;
}
.button.primary:hover:not(:disabled) {
  box-shadow:
    inset 0 1px 1px #ffffff50,
    0 4px 6px #85170f20,
    0 14px 24px -8px #b1232050;
}
.button.secondary {
  background: #fff;
  border: 1px solid #dce0e4;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 3px #11161b08;
}
.button.secondary:hover {
  background: #f4f6f8;
}
.button.danger {
  box-shadow: none;
}
.button:disabled {
  box-shadow: none;
}

.profile-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas: "preview form";
  gap: 40px;
}
.profile-form {
  grid-area: form;
  gap: 0;
  padding: 8px 34px;
  background: #fff;
  border: 1px solid white;
  border-radius: 32px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 5px #11161b05,
    0 20px 50px -25px #11161b20;
}
.profile-form .form-section {
  padding: 30px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.profile-form .form-section + .form-section {
  border-top: 1px solid #e6e9ec;
}
.profile-form .form-section h2 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.055em;
}
.profile-form .form-section > .card-top {
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.profile-form .form-section > .button.secondary {
  min-height: 40px;
  font-size: 11px;
  padding: 8px 15px;
}
.profile-aside {
  grid-area: preview;
  top: 28px;
}
.dna-preview {
  padding: 26px;
  color: #fff;
  background: linear-gradient(
    140deg,
    #58636f,
    #202933 45%,
    #111820 80%,
    #38434f
  );
  border: 1px solid #7d8996;
  border-radius: 28px;
  box-shadow:
    inset 0 1px 1px #ffffffb0,
    1px 3px 0 #9aa4ad,
    0 10px 15px -8px #11161b70,
    0 28px 38px -20px #11161b75;
}
.dna-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dna-preview-top .eyebrow {
  color: #d3dce6;
  font-size: 9px;
  margin: 0;
}
.dna-preview-top > span:last-child {
  color: #d3dce6;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
.dna-preview .dna-mark {
  background: none;
  border: 0;
  box-shadow: none;
  width: 100%;
  height: 150px;
  margin: 18px 0;
  color: #d3dce6;
}
.dna-preview h2 {
  font-size: 31px;
  line-height: 1.06;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.dna-preview p {
  color: #c9d3de;
  font-size: 11px;
  line-height: 1.6;
}
.dna-preview-state {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #e4eaf0;
  border-top: 1px solid #ffffff30;
  padding-top: 18px;
  margin-top: 26px;
}
.dna-preview-state > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffad9d;
}
.profile-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.profile-privacy-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.form-grid {
  gap: 24px 20px;
}
.field {
  gap: 9px;
  font-size: 12px;
}
.field input,
.field textarea,
.field select,
.inline-form select {
  background: #f1f3f5;
  border: 1px solid #e7eaed;
  border-radius: 14px;
  padding: 13px 16px;
  min-height: 50px;
  box-shadow:
    inset 0 1px 2px #1b253309,
    0 1px 0 #fff;
  transition:
    background 160ms,
    box-shadow 160ms;
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  background: #eceff2;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.inline-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  background: #fff;
  box-shadow: 0 5px 15px -5px #11161b18;
}
.field textarea {
  min-height: 115px;
}
.checkbox-row {
  border-radius: 16px;
  padding: 16px;
  background: #f2f4f6;
  border: 1px solid #e6e9ec;
}
.checkbox-row input,
.radio-card input {
  accent-color: #cf2a1e;
  width: 18px;
  height: 18px;
}
.checkbox-row:has(input:checked) {
  border-color: #c6ced6;
  background: #f6f8fa;
}
.radio-card {
  background: #f3f5f7;
  border: 1px solid #e5e9ed;
  border-radius: 18px;
  padding: 18px;
}
.radio-card.chosen {
  background: #fff;
  border-color: #697684;
  box-shadow: 0 3px 8px #11161b08;
}
.form-section.card:not(.profile-form .form-section) {
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.modal {
  width: 600px;
  max-width: calc(100vw - 28px);
  max-height: 90dvh;
  padding: 8px;
  border-radius: 34px;
  border: 1px solid #fff;
  color: var(--ink);
  background: #eff2f5;
  box-shadow:
    inset 0 1px 1px #fff,
    0 8px 14px #11161b20,
    0 35px 100px -20px #11161b80;
}
.modal.wide {
  width: 840px;
}
.modal::backdrop {
  background: #1b243076;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: -8px;
  z-index: 3;
  background: #eff2f5;
  padding: 24px 24px 22px;
}
.modal-head h2 {
  min-width: 0;
  flex: 1;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.modal-head .icon-button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 6px #11161b0c;
}
.modal-head .icon-button:hover {
  background: #e2e6eb;
}
.dialog-content,
.detail-body {
  padding: 28px;
  border: 1px solid #fff;
  background: #fff;
  border-radius: 24px;
  min-width: 0;
}
.dialog-content > .detail-actions:last-child {
  margin-top: 24px;
}
.detail-company {
  margin-bottom: 24px;
}
.detail-company > div {
  min-width: 0;
}
.detail-company h3 {
  font-size: 24px;
  letter-spacing: -0.045em;
}
.detail-company > .company-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}
.detail-state {
  padding: 13px 0;
  border-top: 1px solid #e7eaed;
  border-bottom: 1px solid #e7eaed;
  gap: 10px;
}
.role-facts {
  padding: 20px;
  background: #f2f4f6;
  border-radius: 20px;
  gap: 22px;
}
.reason-box {
  border: 1px solid #e3e8ec;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f6f8, #eef2f5);
}
.consent-recipient {
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(130deg, #45515e, #171f29 70%);
  border: 1px solid #64717f;
  box-shadow:
    inset 0 1px 1px #ffffff70,
    0 8px 14px -8px #11161b70;
}
.consent-recipient .eyebrow {
  color: #c9d3de;
  font-size: 9px;
}
.consent-recipient h3 {
  font-size: 26px;
}
.consent-recipient p {
  color: #c9d3de;
}
.consent-recipient .company-logo {
  background: #ffffff15;
  border: 1px solid #ffffff30;
  color: #fff;
}
.consent-fields {
  background: #f2f4f6;
  border: 1px solid #e5e9ed;
  border-radius: 20px;
  padding: 22px;
}
.consent-fields > div {
  min-width: 0;
  line-height: 1.6;
}
.info-box {
  border-radius: 17px;
  background: #f4f6f8;
  border: 1px solid #e4e8ed;
  box-shadow: none;
}
.consent-meta {
  padding: 5px 0;
}
.consent-meta > div {
  border-bottom: 1px solid #e6eaee;
  padding: 10px 0;
}
.modal .button {
  min-height: 48px;
}
.modal .revoke-bar {
  border-radius: 18px;
}
.renewal-prompt {
  padding: 18px 0;
}
.renewal-prompt p {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.7;
}

@supports (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .island-dock {
    background: #f1f3f5e8;
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
  }
  .modal::backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .dock-item:hover .dock-icon {
    transform: translateY(-3px) scale(1.07);
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: page-arrive 220ms ease-out;
  }
  .modal[open] {
    animation: dialog-arrive 180ms ease-out;
  }
}
@keyframes page-arrive {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes dialog-arrive {
  from {
    transform: translateY(10px) scale(0.99);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .island-dock {
    background: #f1f3f5;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .modal::backdrop {
    background: #1b2430c9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .island-dock,
  .modal,
  .modal-head,
  .consent-recipient,
  .dna-preview,
  .workspace-capsule {
    background: Canvas;
    color: CanvasText;
    backdrop-filter: none;
    border: 1px solid CanvasText;
    box-shadow: none;
  }
  .dock-item.active {
    background: Highlight;
    color: HighlightText;
    border: 2px solid Highlight;
  }
  .dock-item.active .dock-icon {
    color: HighlightText;
  }
}
@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
  }
  .profile-form {
    padding: 4px 24px;
  }
  .dna-preview {
    padding: 20px;
  }
  .dna-preview h2 {
    font-size: 27px;
  }
  .profile-form .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-bottom: 116px;
  }
  .masthead {
    padding: 20px 20px 16px;
    gap: 8px;
  }
  .masthead .brand {
    font-size: 23px;
    gap: 7px;
  }
  .masthead .brand-symbol {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .masthead-tools {
    gap: 6px;
  }
  .workspace-capsule {
    padding: 0 10px;
    gap: 0;
  }
  .workspace-demo {
    display: none;
  }
  .workspace-capsule select {
    font-size: 10px;
    padding-right: 13px;
    max-width: 127px;
  }
  .workspace-capsule > svg {
    right: 8px;
    width: 12px;
  }
  .prototype-note {
    padding: 0 21px;
    font-size: 9px;
    line-height: 1.6;
  }
  main,
  .overview-page {
    padding: 30px 20px 20px;
  }
  .app-footer {
    padding: 26px 20px 135px;
  }
  .page-intro {
    margin-bottom: 28px;
  }
  .page-intro h1 {
    font-size: 36px;
  }
  .page-intro p {
    font-size: 12px;
  }
  .island-dock {
    width: max-content;
    gap: 2px;
    padding: 6px;
    border-radius: 26px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .dock-item {
    min-width: 59px;
    min-height: 60px;
    padding: 8px;
    border-radius: 20px;
    font-size: 9px;
    gap: 5px;
  }
  .dock-label-long {
    display: none;
  }
  .dock-label-short {
    display: block;
  }
  .dock-count {
    right: 2px;
    top: 1px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "preview" "form";
    gap: 18px;
  }
  .profile-aside {
    position: static;
    display: block;
  }
  .dna-preview {
    position: relative;
    min-height: 205px;
    padding: 24px;
  }
  .dna-preview .dna-mark {
    position: absolute;
    right: 20px;
    top: 38px;
    width: 80px;
    height: 90px;
    margin: 0;
  }
  .dna-preview h2 {
    margin-top: 30px;
    max-width: calc(100% - 88px);
    font-size: 29px;
  }
  .dna-preview > p {
    max-width: calc(100% - 65px);
  }
  .dna-preview-state {
    margin-top: 20px;
  }
  .profile-privacy-note {
    padding: 18px 6px 4px;
  }
  .profile-form {
    padding: 0 22px;
    border-radius: 26px;
  }
  .profile-form .form-section {
    padding: 26px 0;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    padding: 13px 14px;
  }
  .modal {
    border-radius: 28px;
    padding: 6px;
    max-height: 94dvh;
    max-width: calc(100vw - 16px);
  }
  .modal-head {
    top: -6px;
    padding: 18px 15px;
    gap: 12px;
  }
  .modal-head h2 {
    font-size: 24px;
  }
  .dialog-content,
  .detail-body {
    padding: 21px 18px;
    border-radius: 21px;
  }
  .detail-company {
    gap: 12px;
  }
  .detail-company > .company-logo {
    width: 47px;
    height: 47px;
  }
  .detail-company h3 {
    font-size: 24px;
  }
  .role-facts {
    gap: 18px 12px;
    padding: 18px 15px;
  }
  .consent-recipient {
    padding: 20px 16px;
    gap: 13px;
  }
  .consent-recipient h3 {
    font-size: 25px;
  }
  .consent-recipient .eyebrow {
    letter-spacing: 1px;
  }
  .consent-fields {
    padding: 20px 17px;
  }
}
@media (max-width: 370px) {
  .masthead {
    padding-left: 14px;
    padding-right: 14px;
  }
  .masthead .brand {
    font-size: 20px;
    gap: 5px;
  }
  .masthead .brand-symbol {
    width: 27px;
    height: 27px;
  }
  .workspace-capsule select {
    max-width: 114px;
    font-size: 9px;
  }
  .island-dock {
    width: calc(100% - 20px);
    gap: 0;
  }
  .dock-item {
    flex: 1;
    min-width: 0;
    padding: 8px 4px;
  }
  main,
  .overview-page {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
}
.select-control {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px 15px;
  font-size: 13px;
  text-align: left;
}
.select-control > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-control > svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 180ms;
}
.is-open .select-control > svg {
  transform: rotate(180deg);
}
.select-control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.select-options {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 7px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--popover-surface, #fff);
  color: var(--ink);
  box-shadow:
    0 3px 5px #0000000d,
    0 20px 45px -12px #11161b50;
  z-index: 100;
}
.select-options::backdrop {
  background: transparent;
}
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 18px;
  padding: 13px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
}
.select-option strong {
  font-weight: 500;
  display: block;
}
.select-option small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.select-option.focused {
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.select-option[aria-selected="true"] > svg {
  color: var(--accent);
  flex-shrink: 0;
}
.workspace-capsule {
  padding: 0 5px;
}
.workspace-capsule .select-control {
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  min-height: 46px;
  padding: 10px 12px;
}
.inline-form > .custom-select {
  flex: 1;
}
.utility-menu > summary {
  width: 47px;
  height: 47px;
  padding: 4px;
}
.profile-avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  letter-spacing: -0.5px;
  background: radial-gradient(at 20% 10%, #768190, #3e4957 48%, #1c2530);
  box-shadow:
    inset 0 1px 1px #ffffff80,
    0 2px 4px #11161b30;
}
.utility-menu[open] > summary {
  background: var(--surface);
}
.utility-popover {
  width: 266px;
  padding: 17px 10px 10px;
}
.account-summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 3px 11px 15px;
}
.account-summary strong {
  font-size: 14px;
  font-weight: 550;
}
.account-summary > span {
  font-size: 10px;
  color: var(--muted);
}
.theme-picker {
  display: flex;
  gap: 4px;
  border-radius: 14px;
  padding: 4px;
  margin: 0 4px 10px;
  background: var(--surface-soft);
}
.theme-picker button {
  flex: 1;
  width: auto;
  flex-direction: column;
  gap: 5px;
  padding: 9px 4px;
  font-size: 9px;
  min-height: 54px;
  justify-content: center;
  color: var(--muted);
}
.theme-picker button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 2px 5px #11161b12;
}
.career-hero h1 {
  font-size: clamp(48px, 5.1vw, 73px);
  line-height: 1.03;
}
.career-hero-copy > p {
  max-width: 310px;
}

/* Persistent labels are part of the input surface, never placeholder-only. */
.form-grid {
  gap: 12px;
}
.field {
  position: relative;
  padding: 14px 17px;
  gap: 7px;
  border: 1px solid var(--input-line, #e0e5e9);
  border-radius: 18px;
  background: var(--input-surface, #f5f7f9);
  box-shadow: inset 0 1px 0 var(--input-edge, #fff);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
  transition:
    border-color 160ms,
    box-shadow 160ms,
    background 160ms;
}
.field:hover {
  border-color: var(--input-hover, #b9c4ce);
}
.field:focus-within {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px var(--focus-halo, #d92d2010),
    0 6px 15px -7px #11161b20;
}
.field > span:not(.field-label) {
  order: 3;
  font-size: 10px;
  line-height: 1.5;
  margin: 1px 0 0;
  color: var(--muted);
}
.field > .field-label {
  order: 0;
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  color: var(--ink);
  min-height: 26px;
  padding: 0;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  background: transparent;
  outline: none;
  box-shadow: none;
}
.field textarea {
  min-height: 80px;
}
.field .select-control {
  padding: 0;
  min-height: 29px;
  font-size: 16px;
  background: none;
  border-radius: 4px;
  font-weight: 450;
  letter-spacing: -0.015em;
}
.field .select-control:focus-visible {
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.profile-form {
  border-radius: 30px;
  padding: 5px 30px;
}
.profile-form .form-section {
  padding: 28px 0;
}
.profile-form .form-section h2 {
  font-size: 24px;
}
.profile-form .form-section > p {
  margin-bottom: 16px;
}
.profile-form .mini-rule {
  margin: 20px 0;
}
.radio-card {
  border-radius: 18px;
  padding: 20px;
  background: var(--surface-soft);
  border-color: var(--line);
}
.radio-card.chosen {
  border-color: var(--input-hover, #a2aeb9);
  background: var(--surface);
}
.checkbox-row {
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 18px;
  padding: 18px;
}
.checkbox-row:has(input:checked) {
  background: var(--surface-soft);
  border-color: var(--input-hover, #a2aeb9);
}

.modal {
  border-radius: 32px;
  padding: 0;
  border: 1px solid var(--modal-line, #fff);
  background: var(--surface);
  box-shadow:
    0 2px 4px #00000010,
    0 18px 35px -10px #11161b35,
    0 55px 110px -25px #11161b90;
}
.modal-head {
  top: 0;
  background: var(--surface);
  padding: 34px 34px 24px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: flex-start;
}
.modal-head::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 23px;
  width: 24px;
  height: 3px;
  border-radius: 8px;
  background: var(--accent);
}
.modal-head h2 {
  font-size: 33px;
  line-height: 1.06;
  font-weight: 500;
  padding-top: 8px;
}
.modal-head .icon-button {
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px solid var(--line);
  box-shadow: 0 3px 6px #00000008;
}
.modal-head .icon-button:hover {
  background: var(--input-hover-surface, #e9edf1);
  color: var(--ink);
}
.dialog-content,
.detail-body {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 34px 34px;
}
.dialog-content > p,
.detail-body > p {
  line-height: 1.75;
}
.detail-body > .detail-company {
  margin-top: 4px;
}
.detail-company > .company-logo {
  box-shadow:
    inset 0 1px 0 #ffffff60,
    0 4px 8px #11161b0c;
}
.role-facts {
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.consent-fields {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-soft);
  border-color: var(--line);
}
.consent-fields > div {
  color: var(--ink);
}
.consent-meta > div {
  border-color: var(--line);
}
.info-box {
  background: var(--surface-soft);
  border-color: var(--line);
}
.consent-recipient {
  margin-bottom: 22px;
}
.role-form .form-grid {
  gap: 12px;
}

.empty {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  border: 0;
  background: none;
  border-radius: 0;
  padding: 40px 20px;
  min-height: 400px;
  text-align: left;
}
.empty-copy {
  max-width: 420px;
}
.empty-copy h3 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.empty-copy > p {
  margin: 19px 0 25px;
  line-height: 1.8;
  font-size: 13px;
  max-width: 350px;
}
.empty-art {
  width: 275px;
  height: 270px;
  position: relative;
  justify-self: center;
  isolation: isolate;
  pointer-events: none;
}
.empty-orbit {
  position: absolute;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  top: 14px;
  right: 0;
  background: radial-gradient(
    at 30% 20%,
    #ffab94,
    #ef4834 30%,
    #d82a1d 65%,
    #852115
  );
  box-shadow:
    inset 0 1px 2px #fff9,
    0 18px 26px -15px #be302b60;
}
.empty-card-back {
  position: absolute;
  width: 170px;
  height: 201px;
  left: 52px;
  top: 35px;
  border-radius: 25px;
  border: 1px solid #ffffffa0;
  background: linear-gradient(125deg, #fff9, #aebdcb80);
  transform: rotate(12deg);
  box-shadow: 0 9px 15px #11161b10;
}
.empty-card-front {
  position: absolute;
  width: 177px;
  height: 199px;
  left: 27px;
  top: 55px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  background: linear-gradient(135deg, #566370, #202a35 60%, #131c26);
  border: 1px solid #7f8e9c;
  border-radius: 25px;
  color: #e8f0f8;
  transform: rotate(-11deg);
  box-shadow:
    inset 0 1px 1px #ffffffc0,
    1px 3px 0 #8a98a5,
    0 8px 13px -8px #11161b70,
    0 28px 35px -15px #11161b60;
}
.empty-card-front > svg {
  margin-bottom: 12px;
}
.empty-card-front i {
  display: block;
  height: 5px;
  width: 110px;
  background: #a1b0be55;
  border-radius: 8px;
}
.empty-card-front i:last-child {
  width: 70px;
}
.empty-spark {
  position: absolute;
  right: 25px;
  bottom: 21px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #fff, #c5d0da);
  border: 1px solid #fff;
  border-radius: 50%;
  color: #293743;
  box-shadow:
    inset 0 1px 1px #fff,
    0 7px 15px #11161b25;
}
.modal .empty {
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 25px;
  min-height: 310px;
  padding: 15px 0;
}
.modal .empty-art {
  transform: scale(0.65);
  transform-origin: center;
  width: 200px;
}
.modal .empty h3 {
  font-size: 28px;
}
@media (max-width: 700px) {
  .workspace-capsule .select-control {
    font-size: 10px;
    padding: 8px 9px;
    gap: 8px;
  }
  .utility-menu > summary {
    width: 44px;
    height: 44px;
  }
  .profile-avatar {
    width: 34px;
    height: 34px;
  }
  .workspace-capsule {
    max-width: 160px;
  }
  .career-hero h1 {
    font-size: clamp(42px, 10.5vw, 59px);
    letter-spacing: -0.065em;
  }
  .field {
    padding: 14px 15px;
  }
  .field input,
  .field textarea,
  .field .select-control {
    font-size: 16px;
  }
  .profile-form {
    padding: 0 18px;
  }
  .modal {
    border-radius: 27px;
  }
  .modal-head {
    padding: 26px 22px 20px;
  }
  .modal-head::before {
    top: 18px;
    left: 23px;
  }
  .modal-head h2 {
    font-size: 28px;
  }
  .dialog-content,
  .detail-body {
    padding: 4px 22px 25px;
  }
  .empty,
  .modal .empty {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 15px 0 30px;
    text-align: center;
  }
  .empty-art {
    transform: scale(0.85);
    height: 245px;
  }
  .empty-copy {
    justify-self: center;
  }
  .empty-copy h3 {
    font-size: 34px;
  }
  .empty-copy > p {
    margin-left: auto;
    margin-right: auto;
  }
  .modal .empty-art {
    height: 190px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .select-options {
    animation: selection-arrive 140ms ease-out;
  }
}
@keyframes selection-arrive {
  from {
    opacity: 0.6;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep the gradient unchanged: background images swap discretely on hover.
   Brightness and shadow interpolate without replacing the painted surface. */
.button.primary,
.career-hero .button {
  filter: brightness(1);
  transition:
    filter 180ms ease,
    transform 180ms,
    box-shadow 180ms;
}
.button.primary:hover:not(:disabled),
.career-hero .button:hover:not(:disabled) {
  filter: brightness(0.94);
}

.language-picker {
  display: flex;
  gap: 5px;
  margin: 0 4px 8px;
}
.language-picker button {
  justify-content: center;
  flex: 1;
  width: auto;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
}
.language-picker button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}
.language-note {
  padding: 0 10px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

:root {
  color-scheme: light;
  --popover-surface: #ffffff;
  --input-surface: #f5f7f9;
  --input-line: #e0e5e9;
  --input-edge: #ffffff;
  --input-hover: #b9c4ce;
  --input-hover-surface: #e9edf1;
  --focus-halo: #d92d2015;
  --modal-line: #fff;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111419;
  --surface: #1b2027;
  --surface-soft: #242b34;
  --ink: #edf2f7;
  --muted: #acb7c5;
  --line: #363f4b;
  --accent: #ff806a;
  --accent-hover: #ff9b87;
  --accent-soft: #3c2726;
  --success: #9dd2ac;
  --glass-solid: #232a33;
  --glass-tint: #232a33ed;
  --shadow-card:
    0 2px 3px #00000030, 0 15px 30px -15px #00000070, inset 0 1px 0 #ffffff08;
  --popover-surface: #252c35;
  --input-surface: #151b22;
  --input-line: #343f4b;
  --input-edge: #ffffff05;
  --input-hover: #667585;
  --input-hover-surface: #303a46;
  --focus-halo: #ff806a20;
  --modal-line: #4b5869;
}
[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 90% 0%, #35455748, transparent 44%),
    var(--canvas);
}
[data-theme="dark"] .brand-symbol {
  background: linear-gradient(145deg, #ed4938, #d92d20);
}
[data-theme="dark"] .workspace-capsule,
[data-theme="dark"] .utility-menu > summary,
[data-theme="dark"] .utility-popover {
  background: var(--surface);
  border-color: var(--line);
}
[data-theme="dark"] .utility-popover button:hover {
  background: var(--surface-soft);
}
[data-theme="dark"] .utility-menu[open] > summary {
  background: #303b48;
}
[data-theme="dark"] .prototype-note > span {
  background: #a6b5c5;
}
[data-theme="dark"] .island-dock {
  background: #232a33eb;
  border-color: #556171;
  box-shadow:
    inset 0 1px 0 #ffffff20,
    inset 0 -1px 0 #00000040,
    0 5px 10px #00000040,
    0 22px 45px -10px #00000090;
}
[data-theme="dark"] .dock-item {
  color: #bdc8d5;
}
[data-theme="dark"] .dock-item:hover {
  background: #384451;
}
[data-theme="dark"] .dock-item.active {
  background: linear-gradient(145deg, #596779, #34404f);
  border-color: #77869a;
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 3px 8px #00000040;
}
[data-theme="dark"] .dock-count {
  border-color: #232a33;
}
[data-theme="dark"] .career-hero h1 > span:first-of-type {
  color: #a3b0bf;
}
[data-theme="dark"] .career-hero .button,
[data-theme="dark"] .button.primary {
  background: linear-gradient(180deg, #de3929, #c52b1e);
  border-color: #f27a65;
  color: #fff;
  box-shadow:
    inset 0 1px 1px #ffffff60,
    0 3px 4px #00000030,
    0 12px 24px -10px #c3393060;
}
[data-theme="dark"] .button.secondary {
  background: #303a46;
  color: var(--ink);
  border-color: #4e5c6d;
  box-shadow:
    inset 0 1px 0 #ffffff08,
    0 3px 5px #00000020;
}
[data-theme="dark"] .button.secondary:hover {
  background: #3c4857;
}
[data-theme="dark"] .button.ghost:hover {
  background: var(--surface-soft);
}
[data-theme="dark"] .button.danger {
  background: #39282b;
  color: #ffb1a4;
  border-color: #79504f;
}
[data-theme="dark"] .button.danger:hover {
  background: #4d3034;
}
[data-theme="dark"] .overview-rail,
[data-theme="dark"] .overview-rail > button,
[data-theme="dark"] .section-count,
[data-theme="dark"] .opportunity-reason,
[data-theme="dark"] .detail-state,
[data-theme="dark"] .consent-meta > div,
[data-theme="dark"] .profile-form .form-section + .form-section,
[data-theme="dark"] .history-disclosure,
[data-theme="dark"] .history-facts > div,
[data-theme="dark"] .history-entry {
  border-color: var(--line);
}
[data-theme="dark"] .overview-rail .privacy-rail-icon {
  background: linear-gradient(140deg, #46515e, #222c38);
  border-color: #596675;
  box-shadow:
    inset 0 1px 0 #ffffff25,
    0 5px 9px #00000025;
}
[data-theme="dark"] .dna-layer-back {
  background: linear-gradient(130deg, #c0d3e34d, #536b8155);
  border-color: #b6ccdd75;
}
[data-theme="dark"] .sculpture-sphere {
  box-shadow:
    inset 0 2px 3px #ffffffa0,
    inset -6px -10px 16px #6c100c60,
    0 20px 60px -20px #ed493850;
}
[data-theme="dark"] .opportunity-card {
  background: linear-gradient(165deg, #2c3540, #1b222b);
  border-color: #4a5666;
  box-shadow:
    inset 0 1px 0 #ffffff09,
    0 2px 3px #00000030,
    0 22px 35px -20px #00000080;
}
[data-theme="dark"] .opportunity-peach {
  --face: linear-gradient(130deg, #514843, #302d2d);
  --face-ink: #f9eeea;
  --face-muted: #dbcbc3;
  --face-line: #ddc3b633;
  --face-tag: #ffffff10;
}
[data-theme="dark"] .opportunity-lavender {
  --face: linear-gradient(130deg, #424d62, #262e40);
  --face-ink: #edf2ff;
  --face-muted: #c1cde1;
  --face-line: #d1dbef33;
  --face-tag: #ffffff10;
}
[data-theme="dark"] .opportunity-sage {
  --face: linear-gradient(130deg, #344759, #1b2b3b 55%, #14202d);
}
[data-theme="dark"] .opportunity-reason summary {
  color: #bdc9d8;
}
[data-theme="dark"] .opportunity-open > span {
  background: #dbe5ef;
  color: #1c2734;
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 6px #00000030;
}
[data-theme="dark"] .opportunity-company .save.saved {
  background: #e4ebf3;
  color: #172231;
}
[data-theme="dark"] .badge {
  background: #303944;
  color: #c4cfdd;
}
[data-theme="dark"] .badge.green {
  background: #233a31;
  color: #a9d9b7;
}
[data-theme="dark"] .badge.amber {
  background: #403421;
  color: #f0d094;
}
[data-theme="dark"] .status-dot {
  background: #9bd0a6;
}
[data-theme="dark"] .opportunity-footer .badge {
  background: transparent;
}
[data-theme="dark"] .profile-form {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .mini-rule {
  background: var(--line);
}
[data-theme="dark"] .icon-button:hover {
  background: var(--surface-soft);
}
[data-theme="dark"] .segmented {
  background: #1c232c;
  border: 1px solid var(--line);
}
[data-theme="dark"] .segmented button.selected {
  background: #394555;
  color: #f5f8fc;
  box-shadow: inset 0 1px 0 #ffffff15;
}
[data-theme="dark"] .search-input,
[data-theme="dark"] .message-form input {
  background: #1b222b;
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .search-input::placeholder {
  color: var(--muted);
}
[data-theme="dark"] .connection-row:hover,
[data-theme="dark"] .candidate-preview {
  background: #252e39;
  border-color: var(--line);
}
[data-theme="dark"] .avatar {
  background: #394554;
  color: #d6dfeb;
  border-color: #4b5969;
}
[data-theme="dark"] .company-logo.sage,
[data-theme="dark"] .company-logo.peach,
[data-theme="dark"] .company-logo.lavender {
  background: #394757;
  color: #edf3fa;
}
[data-theme="dark"] .opportunity-company .company-logo {
  background: var(--face-tag);
  color: var(--face-ink);
}
[data-theme="dark"] .icon-tile,
[data-theme="dark"] .number-pill,
[data-theme="dark"] .tags > span:not(.badge) {
  background: #303b48;
  color: #c9d4e1;
}
[data-theme="dark"] .reason-box {
  background: linear-gradient(130deg, #273341, #202a35);
  border-color: var(--line);
}
[data-theme="dark"] .reason {
  color: #c0cddd;
}
[data-theme="dark"] .interest-box {
  background: #233a31;
  border-color: #476453;
}
[data-theme="dark"] .interest-box p {
  color: #b7d5c1;
}
[data-theme="dark"] .consent-recipient .company-logo {
  background: #ffffff15;
  color: #fff;
}
[data-theme="dark"] .modal::backdrop {
  background: #05080bc9;
}
[data-theme="dark"] .notice {
  background: #233a31;
  color: #b2dfc0;
}
[data-theme="dark"] .error {
  background: #442b2c;
  color: #ffc3b8;
}
[data-theme="dark"] th {
  background: #222a35;
}
[data-theme="dark"] .message {
  background: #2b3543;
}
[data-theme="dark"] .message.own {
  background: #364558;
}
[data-theme="dark"] .schedule-confirm,
[data-theme="dark"] .interview-entry {
  background: #222b36;
  border-color: var(--line);
}
[data-theme="dark"] .feedback-receipt h4 {
  color: #a7dab5;
}
[data-theme="dark"] .material-sample {
  background: linear-gradient(130deg, #354555, #161e27);
  border-color: #556578;
}
[data-theme="dark"] .material-glass {
  background: #273340e0;
  border-color: #869bae80;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 15px 25px #00000040;
}
[data-theme="dark"] .material-arrow {
  background: #dbe5ee;
  color: #1e2a38;
}
[data-theme="dark"] .empty-orbit {
  box-shadow:
    inset 0 1px 2px #fff9,
    0 18px 45px -15px #ee4b3660;
}
[data-theme="dark"] .empty-card-back {
  background: linear-gradient(130deg, #bdd0e54a, #354a6050);
  border-color: #9db4c65c;
}
[data-theme="dark"] .skip-link {
  background: #293646;
  color: #fff;
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  [data-theme="dark"] .island-dock,
  [data-theme="dark"] .material-glass {
    background: #232a33;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  [data-theme] .field,
  [data-theme] .select-control,
  [data-theme] .select-options,
  [data-theme] .modal,
  [data-theme] .modal-head,
  [data-theme] .utility-popover,
  [data-theme] .island-dock {
    background: Canvas;
    color: CanvasText;
    border: 1px solid CanvasText;
    box-shadow: none;
  }
  [data-theme] .select-option.focused,
  [data-theme] .dock-item.active {
    background: Highlight;
    color: HighlightText;
  }
}
