@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap');
:root {
  --paper:#f6f5f1;
  --white:#fff;
  --ink:#20201e;
  --muted:#68675f;
  --accent:#171717;
  --accent-shadow:#b58a16;
  --accent-dark:#000000;
  --accent-foreground:#ffcc00;
  --accent-soft:#fff5cc;
  --accent-border:#e2bc47;
  --accent-track:#f6efd9;
  --accent-edge:#dfcd94;
  --accent-muted:#b7a46a;
  --yellow:#ffcc00;
  --line:#e3e1d9;
  --purple:#987312;
  font-family:Rubik,system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-size:16px;
  line-height:1.5;
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input,select {
  font:inherit;
}

button,a,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
  color:inherit;
  transition:background .15s,transform .15s,box-shadow .15s;
}

button:disabled {
  cursor:default;
}

a {
  color:inherit;
  text-decoration:none;
}

h1,h2,h3,h4,p {
  margin:0;
}

button:hover:not(:disabled) {
  filter:brightness(.97);
}

button:active:not(:disabled) {
  transform:translateY(2px);
}

:focus-visible {
  outline:3px solid var(--purple);
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

.icon {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:middle;
  flex-shrink:0;
}

.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.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;
  top:-100px;
  left:20px;
  background:white;
  padding:12px;
  z-index:100;
}

.skip-link:focus {
  top:10px;
}

.site-header {
  max-width:1280px;
  min-height:88px;
  padding:18px 40px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:25px;
  font-weight:800;
  letter-spacing:-1.2px;
}

.brand-symbol {
  display:grid;
  place-items:center;
  background:var(--yellow);
  border:2px solid var(--ink);
  border-radius:14px 14px 7px 7px;
  width:36px;
  height:40px;
  transform:rotate(-7deg);
}

.brand-symbol .icon {
  width:24px;
  height:24px;
}

nav {
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.nav-item {
  border:0;
  background:transparent;
  padding:11px 18px;
  min-height:46px;
  border-radius:13px;
  font-size:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-item.active {
  background:var(--yellow);
  box-shadow:0 3px 0 #d69b2a;
}

.nav-item:hover:not(.active) {
  background:#f0e8dd;
}

.saved-count {
  display:inline-grid;
  place-items:center;
  background:#e9dfd1;
  border-radius:6px;
  min-width:21px;
  height:21px;
  font-size:12px;
}

.saved-count:empty {
  display:none;
}

.icon-button {
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  flex-shrink:0;
  border:0;
  border-radius:12px;
  background:transparent;
  color:var(--ink);
}

.icon-button:hover {
  background:#eee5d9;
}

.app-shell {
  width:100%;
}

main {
  max-width:1280px;
  padding:0 40px;
  margin:auto;
}

main:focus {
  outline:none;
}

.page-heading {
  background:var(--accent);
  color:white;
  border-radius:26px;
  padding:44px 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin:12px 0 32px;
  min-height:220px;
}

.page-heading h1 {
  font-size:clamp(36px,4.3vw,58px);
  letter-spacing:-2px;
  line-height:1.12;
  font-weight:800;
  max-width:740px;
  text-wrap:balance;
}

.page-heading p {
  font-size:17px;
  margin-top:16px;
  color:var(--accent-foreground);
}

.email-actions {
    display: flex;
    align-items: center;
    width: 100%;
}

.primary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:13px 20px;
  border:0;
  border-radius:13px;
  background:var(--yellow);
  color:var(--ink);
  font-weight:700;
  font-size:14px;
  box-shadow:0 4px 0 #d59a27;
  white-space:nowrap;

  margin-left: auto;
}

.primary-button:hover {
  background:#ffca5b;
}

.major-picker {
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 32px;
  padding:0 2px;
}

.major-picker label {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:16px;
  font-weight:500;
}

.major-picker label .icon {
  color:var(--accent);
}

.major-picker select {
  min-height:48px;
  padding:10px 36px 10px 16px;
  border:2px solid var(--line);
  border-radius:12px;
  background:white;
  color:var(--ink);
  font-weight:600;
  cursor:pointer;
  max-width:100%;
}

.demo-label {
  margin-left:auto;
  color:var(--muted);
  font-size:12px;
  background:#eee8df;
  padding:7px 12px;
  border-radius:20px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.section-heading h1,
.section-heading h2 {
  font-size:27px;
  line-height:1.25;
  letter-spacing:-.7px;
  font-weight:750;
}

.section-heading p {
  color:var(--muted);
  font-size:14px;
  margin-top:7px;
}

.explorer {
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:20px;
  align-items:stretch;
}

.graph-panel {
  min-width:0;
  border:2px solid var(--line);
  background:#fffdfa;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.graph-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:18px 20px;
}

.segmented {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.segmented button {
  min-height:44px;
  background:#f0ebe4;
  border:0;
  border-radius:11px;
  padding:10px 14px;
  font-size:13px;
  font-weight:600;
  color:var(--muted);
}

.segmented button.selected {
  background:var(--ink);
  color:white;
}

.graph-scroll {
  overflow:auto;
  min-height:340px;
  display:flex;
  align-items:center;
  flex:1;
}

.graph-canvas {
  position:relative;
  width:100%;
  min-width:660px;
  aspect-ratio:830/368;
}

.graph-column-label {
  position:absolute;
  top:0;
  font-size:12px;
  font-weight:500;
  color:var(--muted);
}

.start-label {
  left:3%;
}

.first-label {
  left:31.8%;
}

.next-label {
  left:67.5%;
}

.graph-edges {
  position:absolute;
  width:100%;
  height:100%;
  inset:0;
  overflow:visible;
}

.edge {
  fill:none;
  stroke:var(--accent-muted);
  stroke-width:2.3;
}

.cross-edge {
  stroke-dasharray:5 5;
  stroke:var(--accent-muted);
}

.degree-node {
  position:absolute;
  left:3%;
  top:34%;
  width:18.2%;
  height:32%;
  background:var(--accent);
  border-radius:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:white;
  box-shadow:0 4px 0 var(--accent-shadow);
}

.degree-node strong {
  font-size:14px;
  line-height:1.3;
  text-align:center;
  margin-top:7px;
}

.degree-node-icon .icon {
  width:26px;
  height:26px;
}

.node-port {
  display:none;
}

.role-node {
  position:absolute;
  left:31.8%;
  width:23.3%;
  height:20%;
  border:2px solid #e3ded5;
  border-radius:13px;
  background:white;
  padding:9px 12px;
  text-align:left;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-shadow:0 3px 0 #e9e3da;
}

.role-node[data-column="1"] {
  left:67.5%;
  width:27%;
}

.role-node[data-row="0"] {
  top:11.7%;
}

.role-node[data-row="1"] {
  top:40%;
}

.role-node[data-row="2"] {
  top:68.3%;
}

.role-node strong {
  font-size:13px;
  font-weight:600;
  line-height:1.25;
}

.role-node>span {
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
}

.role-node.selected {
  background:#fff0c9;
  border-color:#e7b647;
  box-shadow:0 3px 0 #e7b647;
}

.role-node.selected>span {
  color:#65501e;
}

.role-node:hover:not(:disabled) {
  border-color:var(--accent);
}

.role-node.muted,.edge.muted {
  opacity:.25;
}

.graph-footer {
  font-size:12px;
  color:var(--muted);
  padding:12px 20px 18px;
}

.role-detail {
  display:flex;
  flex-direction:column;
  background:#eee8fb;
  border-radius:22px;
  padding:22px;
  color:var(--ink);
}

.detail-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.role-type {
  font-size:12px;
  color:#554583;
}

.role-detail h3 {
  font-size:25px;
  line-height:1.2;
  letter-spacing:-.6px;
  margin:10px 0;
}

.detail-description {
  font-size:14px;
  line-height:1.6;
  color:#554e65;
}

.salary {
  margin:20px 0;
}

.salary>span,.salary small {
  font-size:12px;
  color:#554e65;
}

.salary strong {
  display:block;
  font-size:26px;
  font-weight:700;
  letter-spacing:-.8px;
  margin-top:4px;
}

.salary small {
  font-weight:400;
  letter-spacing:0;
}

.skills-title {
  font-size:12px;
  color:#554e65;
  margin-bottom:9px;
}

.tags {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.tag {
  font-size:12px;
  color:#493965;
  background:#ffffffb0;
  padding:6px 9px;
  border-radius:7px;
}

.role-detail .primary-button {
  margin-top:24px;
  width:100%;
  font-size:13px;
}

.bookmarked {
  color:#503399;
}

.bookmarked .icon {
  fill:#d7c5f5;
}

.next-grid {
  margin-top:42px;
}

.experience-cards,.engagement-grid,.saved-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.experience-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:2px solid var(--line);
  border-radius:20px;
  background:white;
  text-align:left;
  padding:24px;
  min-width:0;
}

.experience-card:nth-child(1) {
  background:#fff0d7;
  border-color:#efd8b5;
}

.experience-card:nth-child(2) {
  background:#eee8fb;
  border-color:#ded3f4;
}

.experience-card:nth-child(3) {
  background:var(--accent-soft);
  border-color:var(--accent-border);
}

.experience-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  margin-bottom:22px;
}

.experience-top>span:last-child {
  font-size:24px;
}

.metric-icon {
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#ffffff9c;
  color:var(--ink);
  flex-shrink:0;
}

.metric-icon .icon {
  width:25px;
  height:25px;
}

.experience-card h3 {
  font-size:21px;
  letter-spacing:-.4px;
  line-height:1.25;
}

.experience-card p {
  font-size:14px;
  color:#565160;
  margin-top:9px;
  line-height:1.6;
}

.inline-link {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:5px 0;
  border:0;
  background:none;
  color:var(--ink);
  font-weight:600;
  font-size:14px;
}

.inline-link:hover {
  text-decoration:underline;
}

.activity-details {
  border-top:1px solid #00000018;
  margin-top:22px;
  padding-top:18px;
}

.activity-details h4 {
  font-size:14px;
}

.activity-details .inline-link {
  white-space:normal;
  font-size:13px;
}

.activity-toggle {
  margin-top:22px;
  border:2px solid #cfc5b8;
  border-radius:11px;
  padding:10px 12px;
  min-height:44px;
  font-size:13px;
  font-weight:600;
  background:white;
}

.activity-toggle[aria-pressed=true] {
  background:var(--accent);
  color:white;
  border-color:var(--accent);
}

.engagement-grid .tags {
  margin-top:18px;
}

.context-note {
  margin-top:22px;
  color:var(--muted);
  font-size:13px;
}

.saved-card {
  border:2px solid var(--line);
  border-radius:20px;
  background:white;
  padding:24px;
}

.saved-card h3 {
  font-size:22px;
  margin:18px 0 10px;
  line-height:1.2;
}

.saved-card p {
  font-size:14px;
  color:var(--muted);
  margin-bottom:20px;
}

.saved-card .tag {
  background:#eee8fb;
}

.saved-card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:20px;
}

.empty-state {
  grid-column:1/-1;
  text-align:center;
  border:2px dashed #d4cabc;
  border-radius:22px;
  padding:60px 22px;
}

.empty-state>.icon {
  width:40px;
  height:40px;
  color:var(--accent);
  margin-bottom:18px;
}

.empty-state h3 {
  font-size:26px;
}

.empty-state p {
  margin:10px 0 25px;
  color:var(--muted);
}

.chat-layout {
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:36px;
}

.chat-intro {
  padding-top:12px;
}

.advisor-spark {
  display:inline-grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:14px;
  background:#eee8fb;
  color:#614099;
}

.chat-intro h2 {
  font-size:27px;
  line-height:1.2;
  letter-spacing:-.6px;
  margin:18px 0 12px;
}

.chat-intro p {
  font-size:14px;
  color:var(--muted);
  margin-bottom:18px;
}

.subtle-badge {
  display:inline-block;
  background:#eee8fb;
  color:#554583;
  border-radius:8px;
  padding:8px 10px;
  font-size:12px;
}

.chat-intro h3 {
  font-size:15px;
  margin:28px 0 12px;
}

.prompt-option {
  display:block;
  width:100%;
  min-height:48px;
  text-align:left;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  padding:14px 0;
  font-size:14px;
}

.chat-card {
  border:2px solid var(--line);
  border-radius:22px;
  background:white;
  overflow:hidden;
  min-width:0;
}

.chat-header {
  display:flex;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--line);
  padding:18px 22px;
}

.chat-header strong {
  font-size:16px;
}

.chat-header div>span {
  display:block;
  font-size:12px;
  color:var(--muted);
}

.chat-header .inline-link {
  margin-left:auto;
  font-size:12px;
}

.chat-messages {
  height:350px;
  overflow:auto;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.message {
  max-width:90%;
  padding:16px 18px;
  border-radius:4px 17px 17px;
  background:#f3eee6;
  font-size:14px;
  line-height:1.65;
  white-space:pre-wrap;
}

.message.user {
  align-self:flex-end;
  background:var(--accent);
  color:white;
  border-radius:17px 4px 17px 17px;
}

.message-label {
  display:block;
  font-size:12px;
  font-weight:500;
  margin-bottom:6px;
}

.message.advisor .message-label {
  color:var(--muted);
}

#chat-form {
  display:flex;
  gap:8px;
  margin:12px 20px 0;
  padding:7px;
  border:2px solid var(--line);
  border-radius:14px;
}

#chat-input {
  flex:1;
  min-width:0;
  padding:8px;
  border:0;
  background:transparent;
  color:var(--ink);
  font-size:16px;
}

.chat-disclaimer {
  font-size:12px;
  color:var(--muted);
  text-align:center;
  padding:16px;
}

.page-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid var(--line);
  margin-top:48px;
  padding:25px 0;
  font-size:12px;
  color:var(--muted);
}

.footer-brand {
  font-size:18px;
  font-weight:800;
  letter-spacing:-.7px;
  color:var(--ink);
}

.page-footer a:hover {
  text-decoration:underline;
}

dialog {
  border:2px solid var(--line);
  border-radius:22px;
  padding:28px;
  max-width:520px;
  width:calc(100% - 32px);
  color:var(--ink);
  background:var(--paper);
}

dialog::backdrop {
  background:#211a3566;
}

.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.eyebrow {
  font-size:12px;
  color:var(--muted);
  font-weight:600;
}

dialog h2 {
  font-size:27px;
  line-height:1.25;
  margin-top:15px;
}

dialog p {
  font-size:14px;
  color:var(--muted);
  margin:16px 0;
}

.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,20px);
  border-radius:13px;
  background:var(--ink);
  color:white;
  max-width:calc(100% - 32px);
  width:max-content;
  padding:14px 20px;
  font-size:14px;
  opacity:0;
  pointer-events:none;
  z-index:50;
  transition:opacity .2s,transform .2s;
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}

@media(max-width:1100px) {
  .explorer {
    grid-template-columns:1fr;
  }
  .role-detail {
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:0 32px;
  }
  .detail-top {
    grid-column:1/-1;
  }
  .role-detail h3 {
    grid-column:1;
  }
  .detail-description {
    grid-column:1;
  }
  .salary {
    grid-column:2;
    grid-row:2/4;
    margin:8px 0 15px;
  }
  .skills-block {
    grid-column:2;
    grid-row:4/6;
  }
  .role-detail .primary-button {
    grid-column:1;
  }
  .graph-scroll {
    min-height:360px;
  }
  .page-heading {
    padding:36px;
  }
  .site-header {
    gap:16px;
  }
  .nav-item {
    padding:10px 12px;
  }
}

@media(max-width:760px) {
  .site-header {
    padding:18px 20px 14px;
    flex-wrap:wrap;
    gap:16px;
    justify-content:space-between;
  }
  .brand {
    font-size:24px;
  }
  .site-header>.icon-button {
    order:1;
  }
  nav {
    order:2;
    width:100%;
    margin:0;
    justify-content:space-between;
    gap:5px;
  }
  .nav-item {
    flex:1;
    justify-content:center;
    padding:10px 7px;
    font-size:13px;
  }
  .saved-count {
    font-size:11px;
    min-width:18px;
    height:18px;
  }
  main {
    padding:0 20px;
  }
  .page-heading {
    margin-top:8px;
    padding:30px 26px;
    border-radius:22px;
    flex-direction:column;
    align-items:flex-start;
    gap:22px;
    min-height:0;
  }
  .page-heading h1 {
    font-size:42px;
    letter-spacing:-1.5px;
  }
  .page-heading p {
    font-size:16px;
    max-width:320px;
    margin-top:14px;
  }
  .major-picker {
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:28px;
  }
  .major-picker label {
    font-size:14px;
    width:100%;
  }
  .major-picker select {
    font-size:14px;
    flex:1;
    width:100%;
  }
  .demo-label {
    display:none;
  }
  .section-heading h1,
  .section-heading h2 {
    font-size:24px;
  }
  .section-heading p {
    font-size:13px;
  }
  .graph-toolbar {
    padding:14px 12px;
    gap:4px;
  }
  .segmented {
    gap:5px;
  }
  .segmented button {
    padding:9px 10px;
    font-size:12px;
  }
  .graph-scroll {
    min-height:310px;
  }
  .graph-canvas {
    min-width:660px;
  }
  .graph-footer {
    font-size:12px;
    padding:14px;
  }
  .role-detail {
    display:flex;
    padding:24px;
  }
  .role-detail h3 {
    font-size:28px;
  }
  .salary {
    margin:20px 0;
  }
  .role-detail .primary-button {
    margin-top:22px;
  }
  .experience-cards,.engagement-grid,.saved-grid {
    grid-template-columns:1fr;
    gap:14px;
  }
  .experience-cards .experience-card {
    display:grid;
    grid-template-columns:48px 1fr;
    gap:0 16px;
    padding:22px;
  }
  .experience-cards .experience-top {
    grid-row:1/3;
    grid-column:1;
    margin:0;
    align-self:center;
  }
  .experience-cards .experience-top>span:last-child {
    display:none;
  }
  .experience-cards h3 {
    grid-column:2;
    font-size:20px;
  }
  .experience-cards p {
    grid-column:2;
    margin-top:5px;
  }
  .next-grid {
    margin-top:32px;
  }
  .inline-link {
    font-size:13px;
  }
  .chat-layout {
    grid-template-columns:1fr;
    gap:24px;
  }
  .chat-intro {
    padding:0;
  }
  .chat-intro>.advisor-spark,.chat-intro>h2,.chat-intro>p,.chat-intro>h3 {
    display:none;
  }
  .prompt-option {
    font-size:14px;
  }
  .chat-intro .subtle-badge {
    margin-bottom:10px;
  }
  .chat-header {
    padding:16px;
    gap:9px;
  }
  .chat-header strong {
    font-size:14px;
  }
  .chat-header .metric-icon {
    display:none;
  }
  .chat-messages {
    padding:16px;
    height:330px;
  }
  .message {
    max-width:95%;
  }
  #chat-form {
    margin:8px 12px 0;
  }
  .page-footer {
    flex-wrap:wrap;
    margin-top:36px;
    gap:12px;
  }
  .page-footer .footer-brand {
    width:100%;
  }
  .empty-state {
    padding:40px 20px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

.map-scroll-hint {
  display:none;
}

@media(max-width:760px) {
  .map-scroll-hint {
    display:inline;
  }
  .map-desktop-hint {
    display:none;
  }
}

/* Student entry and dataset-backed discovery */
.primary-button:disabled,
.secondary-button:disabled { opacity: .55; }
.supporting-copy { color: var(--muted); font-size: 14px; margin-top: 8px; }
.field-hint { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 9px; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 16px; background: white; font-size: 14px; font-weight: 600; color: var(--ink); }
.onboarding-card { background: white; border: 2px solid var(--line); border-radius: 22px; padding: 32px; }
#entry-form label, .replace-resume label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.upload-label.muted, #resume-hint.muted { opacity: .45; }
#resume:disabled { opacity: .45; cursor: not-allowed; }
.resume-toggle { display: flex !important; align-items: center; gap: 8px; margin-top: 12px; font-weight: 500 !important; cursor: pointer; }
.resume-toggle input { width: 16px; height: 16px; accent-color: var(--accent); }
.id-row { display: flex; gap: 10px; }
#campus-id { min-width: 0; flex: 1; border: 2px solid var(--line); border-radius: 12px; padding: 12px; font-size: 16px; text-transform: uppercase; }
.sample-id { background: none; border: 0; text-decoration: underline; font-size: 13px; padding: 8px 3px; min-height: 44px; }
.student-preview { padding: 18px; margin: 15px 0; border-radius: 13px; background: var(--accent-soft); }
.student-preview p { margin-top: 6px; font-size: 14px; }
#entry-form .upload-label { margin-top: 25px; }
input[type=file] { display: block; width: 100%; border: 2px dashed #bcb0a0; border-radius: 12px; padding: 14px; font-size: 14px; background: #fffaf4; }
input[type=file]::file-selector-button { min-height: 40px; margin-right: 10px; border: 0; padding: 8px 12px; border-radius: 8px; font-family: inherit; font-weight: 600; background: #efe6d9; color: var(--ink); cursor: pointer; }
#enter-app { margin-top: 24px; width: 100%; white-space: normal; }
.form-error { color: #9b2636; background: #fff0ee; border-radius: 10px; padding: 12px; font-size: 14px; margin-top: 16px; }
.benefit-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 24px; }
.benefit-list li { border-left: 4px solid var(--yellow); padding-left: 18px; }
.benefit-list span { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; }
.profile-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.profile-actions .inline-link { font-size: 12px; white-space: normal; text-align: right; }
.profile-disclosure, .methodology { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; padding: 12px 0; min-height: 44px; font-size: 14px; font-weight: 500; }
summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px; background: #eee8fb; border-radius: 15px; margin: 14px 0 24px; }
.profile-facts dt { font-size: 12px; color: var(--muted); }
.profile-facts dd { font-size: 18px; font-weight: 600; margin: 6px 0 0; }
#profile-content h3 { font-size: 18px; margin: 18px 0 7px; }
#profile-content > p { font-size: 14px; overflow-wrap: anywhere; }
.record-detail { border-bottom: 1px solid var(--line); padding: 8px 0; }
.record-detail .tag { background: #eee8fb; }
.record-table { max-height: 350px; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
th { background: #f4eee5; position: sticky; top: 0; }
.record-list { list-style: none; padding: 0; max-height: 350px; overflow: auto; }
.record-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.record-list span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.replace-resume { max-width: 600px; margin: 22px 0; }
.replace-resume .secondary-button { margin-top: 12px; }
.discover-section { margin-top: 8px; }
.cohort-filters { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; border: 0; }
.cohort-filters label { display: flex; align-items: center; min-height: 48px; gap: 8px; background: white; padding: 10px 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; }
.cohort-filters label:has(:checked) { background: #fff0c9; border-color: #e7b647; }
.cohort-filters label:has(:disabled) { color: var(--muted); cursor: default; background: #eee8df; }
.cohort-filters input { width: 18px; height: 18px; accent-color: var(--accent); }
.discover-status { font-size: 15px; margin: 18px 0 20px; max-width: 68ch; }
.discover-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 20px; align-items: start; }
.field-panel { border: 2px solid var(--line); border-radius: 22px; background: #fffdfa; overflow: hidden; }
.panel-title { font-size: 15px; font-weight: 600; padding: 16px 20px 12px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; width: 100%; padding: 14px 20px 16px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; }
.field-row:active { transform: none; }
.field-row:hover:not(.selected) { background: #fff8ef; }
.field-row.selected { background: #fff0c9; }
.field-name { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.field-share { font-size: 20px; font-weight: 800; letter-spacing: -.6px; color: var(--accent); }
.field-row.selected .field-share { color: var(--accent-dark); }
.field-sample { grid-column: 1; font-size: 13px; color: var(--muted); }
.field-row .percentage-track { grid-column: 1 / -1; margin: 8px 0 0; }
.percentage-track { background: var(--accent-track); height: 8px; border-radius: 8px; overflow: hidden; }
.percentage-track span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.field-row.selected .percentage-track span { background: var(--accent-dark); }
.empty-fields { padding: 8px 20px 20px; color: var(--muted); font-size: 14px; }
.discover-detail { position: sticky; top: 16px; }
.discover-detail h4 { font-size: 15px; margin: 22px 0 10px; }
.share-figure { margin: 4px 0 14px; }
.share-figure strong { display: block; font-size: 40px; line-height: 1; letter-spacing: -1.5px; font-weight: 800; }
.share-figure span { display: block; margin-top: 6px; font-size: 14px; color: #554e65; }
.discover-detail .tag { background: #ffffffb0; }
.discover-detail .tag.covered { background: var(--yellow); color: var(--ink); }
.outcomes { margin-top: 18px; padding: 0 18px; border: 2px solid var(--line); border-radius: 16px; background: white; }
.outcomes .field-hint { padding-bottom: 16px; }
.compact-list { list-style: none; padding: 0; margin: 12px 0; }
.compact-list li { display: flex; justify-content: space-between; align-items: start; gap: 18px; font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.compact-list strong { text-align: right; white-space: nowrap; font-size: 13px; }
.compact-list small { font-weight: 400; color: var(--muted); }
.journey { border-radius: 12px; background: #fff8ef; padding: 0 14px; margin-top: 12px; }
.journey summary { font-size: 13px; }
.journey ol { padding: 0 0 16px 22px; }
.journey li { padding: 9px 0; font-size: 14px; }
.journey span, .journey small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.methodology { margin-top: 30px; }
.resume-editor { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 16px; min-height: calc(100vh - 150px); align-items: stretch; margin-bottom: 28px; }
.resume-upload-prompt { margin: 28px; padding: 28px; border: 2px dashed var(--line); border-radius: 16px; background: #fffdfa; }
.resume-upload-prompt h3 { margin: 0 0 8px; }
.resume-upload-prompt label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.resume-upload-prompt button { margin-top: 14px; }
.resume-chat { display: flex; flex-direction: column; height: min(760px, calc(100dvh - 150px)); min-height: 520px; max-height: calc(100dvh - 150px); min-width: 0; background: white; border: 2px solid var(--line); border-radius: 22px; overflow: hidden; }
.resume-chat-head { padding: 22px 20px 8px; }
.resume-chat h1 { font-size: 26px; letter-spacing: -.6px; line-height: 1.2; }
.resume-chat-head p { margin-top: 8px; color: var(--muted); font-size: 14px; }
#resume-messages { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; min-width: 0; min-height: 120px; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-gutter: stable; }
#resume-messages .message { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
#resume-messages .message p { margin: 0; }
.resume-prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 8px; }
.resume-prompts button { border: 0; background: #f3eee6; border-radius: 999px; min-height: 36px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
#resume-chat-form { display: flex; gap: 8px; margin: 0 16px; padding: 6px; border: 2px solid var(--line); border-radius: 14px; }
#resume-chat-input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px; font-size: 16px; color: var(--ink); }
#resume-chat-form .primary-button { min-height: 40px; padding: 8px 14px; box-shadow: none; }
.resume-chat-note { margin: 10px 16px 14px; color: var(--muted); font-size: 12px; }
.resume-suggestion { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }
#resume-messages .secondary-button { margin-top: 10px; }
.resume-stage { min-width: 0; display: flex; flex-direction: column; background: #efe6d8; border: 2px solid var(--line); border-radius: 22px; overflow: hidden; }
.resume-stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: white; border-bottom: 1px solid var(--line); }
.resume-stage-bar h2 { font-size: 16px; letter-spacing: -.2px; overflow-wrap: anywhere; }
.resume-stage-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.resume-stage-actions .secondary-button { min-height:40px; padding:9px 12px; }
.resume-generate-form { display:flex; flex-direction:column; gap:7px; padding:14px 18px; background:#faf9f4; border-bottom:1px solid var(--line); }
.resume-generate-form label { font-size:12px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
.resume-generate-form select { width:100%; min-height:42px; border:1px solid #d5d2c5; border-radius:10px; padding:9px 12px; font:inherit; color:var(--ink); background:#fff; }
.resume-generate-form select:focus { outline:2px solid #ffcc00; outline-offset:1px; }
.resume-generate-form .field-hint { margin:0; }
.resume-tabs { display:flex; gap:4px; padding:8px 14px 0; overflow-x:auto; background:#fff; border-bottom:1px solid var(--line); scrollbar-width:thin; }
.resume-tabs button { min-height:42px; padding:8px 14px; border:0; border-bottom:3px solid transparent; background:transparent; color:var(--muted); font-size:13px; font-weight:600; }
.resume-tabs button[aria-selected="true"] { color:var(--ink); border-bottom-color:#d4ac32; }
.resume-tabs span { display:inline-grid; place-items:center; min-width:20px; height:20px; margin-left:4px; padding:0 5px; border-radius:10px; background:#eeece4; font-size:11px; }
#resume-canvas { flex: 1; min-height: 70vh; overflow: auto; }
.resume-frame { display: block; width: 100%; height: 100%; min-height: 70vh; border: 0; background: white; }
.resume-draft { display:block; width:min(760px, calc(100% - 40px)); min-height:calc(70vh - 40px); margin:20px auto; padding:48px 44px 64px; resize:vertical; border:1px solid #dedbd0; border-radius:3px; background:white; color:var(--ink); box-shadow:0 6px 24px #20201e12; font:15px/1.65 Rubik,system-ui,sans-serif; }
.resume-draft:focus { outline:3px solid #ffcc0066; outline-offset:2px; border-color:#b48d1b; }
.resume-diff { width:min(820px, calc(100% - 32px)); margin:20px auto; border:1px solid #d8d6cd; border-radius:10px; overflow:hidden; background:white; }
.diff-line { display:grid; grid-template-columns:30px minmax(0,1fr); min-height:28px; border-bottom:1px solid #efede7; font-size:13px; line-height:1.55; }
.diff-line:last-child { border-bottom:0; }
.diff-line > span { padding:4px 8px; text-align:center; color:#77756d; user-select:none; }
.diff-line code { padding:4px 10px; overflow-wrap:anywhere; white-space:pre-wrap; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.diff-line.add { background:#eaf6ec; }
.diff-line.add > span { background:#ccebd2; color:#216e39; }
.diff-line.remove { background:#fff0ef; }
.diff-line.remove > span { background:#ffd7d5; color:#9f2520; }
.resume-original { width:min(760px, calc(100% - 40px)); min-height:calc(70vh - 40px); margin:20px auto; padding:40px; overflow-wrap:anywhere; white-space:pre-wrap; background:white; border:1px solid #dedbd0; font:14px/1.6 Rubik,system-ui,sans-serif; }
.latex-editor { display:block; width:100%; min-height:70vh; padding:24px; resize:vertical; border:0; background:#20211f; color:#f5f3e9; tab-size:2; font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; }
.latex-editor:focus { outline:3px solid #ffcc00; outline-offset:-3px; }
.render-empty { display:grid; place-content:center; min-height:70vh; padding:32px; text-align:center; color:var(--muted); }
.render-empty strong { color:var(--ink); font-size:18px; }
.render-empty p { margin-top:8px; }
.resume-sheet { width: min(720px, calc(100% - 32px)); margin: 20px auto; background: white; min-height: calc(70vh - 40px); padding: 48px 44px 64px; box-shadow: 0 12px 28px #211a3518; }
.resume-sheet p { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.resume-sheet:focus { outline: 3px solid var(--purple); outline-offset: 4px; }
.methodology p { max-width: 85ch; font-size: 14px; color: var(--muted); margin: 12px 0; }
@media (max-width: 950px) { .site-header { flex-wrap: wrap; } .site-header nav { order: 2; width: 100%; justify-content: space-between; margin: 0; } .site-header > .icon-button { margin-left: auto; } .discover-layout { grid-template-columns: 1fr; } .discover-detail { position: static; } .resume-editor { grid-template-columns: 1fr; min-height: 0; } .resume-chat { height: min(680px, calc(100dvh - 170px)); min-height: 500px; max-height: calc(100dvh - 170px); } .resume-sheet { padding: 28px 22px 40px; } }
@media (max-width: 480px) { .resume-prompts { grid-template-columns: 1fr; } .resume-chat { min-height: 480px; } }
@media (max-width: 760px) { .site-header nav { flex-wrap: wrap; justify-content: flex-start; } .nav-item { flex: 0 1 auto; padding: 9px 12px; } .profile-facts { grid-template-columns: repeat(2, 1fr); padding: 16px; gap: 18px; } .onboarding-card { padding: 22px; } .id-row { flex-direction: column; } .compact-list small { display: block; } .share-figure strong { font-size: 34px; } .field-row { padding: 14px 16px 16px; } }

/* Discover: observed job map with a detail panel underneath. */
.alumni-map-scroll { overflow:auto; max-height:560px; padding:20px; }
#alumni-map { position:relative; }
.alumni-column-label { position:absolute; top:0; color:var(--muted); font-size:13px; font-weight:600; }
.alumni-edges { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.alumni-edges path { fill:none; stroke:var(--accent-edge); stroke-width:2; }
.alumni-edges path.active { stroke:var(--accent); stroke-width:3; }
.alumni-node { position:absolute; width:230px; height:64px; padding:10px 14px; border:2px solid var(--line); border-radius:13px; background:white; text-align:left; box-shadow:0 3px 0 #e9e3da; }
.alumni-node strong,.alumni-node span { display:block; }
.alumni-node strong { font-size:13px; line-height:1.2; }
.alumni-node span { font-size:11px; color:var(--muted); margin-top:5px; }
.alumni-node.selected { background:#fff0c9; border-color:#e7b647; }
.alumni-node:hover,.alumni-node:focus-visible { border-color:var(--accent); }
.alumni-no-next { position:absolute; left:680px; top:60px; width:230px; color:var(--muted); font-size:13px; }
.alumni-job-detail { margin-top:24px; padding:28px; background:#fffdfa; border:2px solid var(--line); border-radius:22px; display:grid; grid-template-columns:1fr 1.2fr 1fr; gap:32px; align-items:start; }
.alumni-job-detail[hidden] { display:none; }
.alumni-job-detail h2 { font-size:26px; margin:8px 0 18px; }
.alumni-job-detail h3 { font-size:16px; margin-bottom:14px; }
.alumni-job-detail .covered { background:var(--yellow); color:var(--ink); }

/* School selection starts in the original teal palette. */
.school-entry:not([data-school="umbc"]) {
  --accent:#387e7d;
  --accent-shadow:#286464;
  --accent-dark:#1f4f4e;
  --accent-foreground:#f0f8f5;
  --accent-soft:#e1eeea;
  --accent-border:#c8dfd7;
  --accent-track:#edf1ee;
  --accent-edge:#d2dcd7;
  --accent-muted:#b0bab5;
}
.school-entry *, .school-entry *::before, .school-entry *::after {
  transition: color 1.2s ease, background-color 1.2s ease, border-color 1.2s ease, box-shadow 1.2s ease, fill 1.2s ease, stroke 1.2s ease;
}
#school { display:block; width:100%; padding:14px 12px; margin-bottom:24px; border:2px solid var(--accent-border); border-radius:12px; background:var(--accent-soft); color:var(--ink); }
/* Reveal school colors together, including gradients, text, and the brand. */
html.school-theme-splash .school-entry,
html.school-theme-splash .school-entry *,
html.school-theme-splash .school-entry *::before,
html.school-theme-splash .school-entry *::after { transition:none !important; }
html.school-theme-splash::view-transition-group(root) { animation:none; }
html.school-theme-splash::view-transition-old(root),
html.school-theme-splash::view-transition-new(root) { mix-blend-mode:normal; }
html.school-theme-splash::view-transition-old(root) { animation:none; z-index:1; }
html.school-theme-splash::view-transition-new(root) {
  z-index:2;
  animation:school-color-splash 1100ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes school-color-splash {
  from { clip-path:circle(0px at 50% 50%); }
  to { clip-path:circle(var(--school-splash-radius, 150vmax) at 50% 50%); }
}
@media (prefers-reduced-motion:reduce) {
  html.school-theme-splash::view-transition-new(root) { animation:none; }
}
.school-entry .brand { color:var(--accent); }
.school-entry .brand-symbol { background:var(--accent-soft); color:var(--accent); }
.school-entry[data-school="umbc"] .brand-symbol { background:var(--yellow); }
.school-entry #enter-app { background:var(--accent); color:var(--accent-foreground); border-color:var(--accent); box-shadow:0 4px 0 var(--accent-shadow); }
.school-entry #enter-app:hover { background:var(--accent-dark); }
@media (prefers-reduced-motion: reduce) {
  .school-entry *, .school-entry *::before, .school-entry *::after { transition:none; }
}

/* UMBC visual system: neutral canvas, charcoal anchors, selective gold. */
body { background:var(--paper); }
body:has(#view-discover), body:has(#view-resume) {
  --paper:#f6f5f1;
  --ink:#20201e;
  --muted:#68675f;
  --line:#e3e1d9;
  min-height:100vh;
  background:var(--paper);
}
.site-header { min-height:88px; border-bottom:1px solid var(--line); margin-bottom:28px; }
.brand-symbol { transform:none; border:0; border-radius:10px; box-shadow:none; }
.nav-item { color:var(--muted); border-radius:9px; font-weight:500; }
.nav-item.active { background:#22221f; color:#ffcc00; box-shadow:none; }
.nav-item:hover:not(.active), .icon-button:hover { background:#eae9e3; color:var(--ink); }
:focus-visible { outline:2px solid #987312; outline-offset:4px; }
.primary-button { background:#ffcc00; color:#20201e; border-color:#ffcc00; box-shadow:0 2px 4px #20201e12; border-radius:10px; }
.primary-button:hover { background:#efbf00; border-color:#efbf00; box-shadow:0 3px 8px #20201e18; }
.secondary-button { background:#fff; border:1px solid #d7d5cb; border-radius:10px; color:var(--ink); }
.secondary-button:hover { background:#f5f4ef; border-color:#aaa79b; }
.onboarding-card, .alumni-job-detail, .outcomes, .resume-chat, .resume-stage {
  background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 4px 20px #20201e05;
}
.discover-section h1 { font-size:30px; letter-spacing:-.8px; line-height:1.2; }
.cohort-filters { gap:10px; }
.cohort-filters label { min-height:42px; padding:8px 13px; border-width:1px; border-radius:9px; font-size:13px; }
.cohort-filters label:has(:checked) { background:#fff6cf; border-color:#d4ac32; }
.discover-status { color:var(--muted); font-size:13px; margin:16px 0; }
#view-discover .alumni-map-panel { background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 4px 20px #20201e05; overflow:hidden; }
#view-discover .graph-toolbar { background:#fafaf7; color:var(--muted); border-bottom:1px solid var(--line); padding:16px 22px; font-size:13px; }
.alumni-map-scroll { background:radial-gradient(#dfddd4 .7px, transparent .7px); background-size:18px 18px; }
.alumni-edges path { stroke:#dedbd0; stroke-width:2; }
.alumni-edges path.active { stroke:#bd951d; stroke-width:2.5; }
.alumni-node { border:1px solid #dedcd2; border-radius:11px; box-shadow:0 2px 6px #20201e07; }
.alumni-node:hover { background:#fffdf4; border-color:#b49a4c; box-shadow:0 4px 12px #20201e10; }
.alumni-node.selected { background:#fff4c2; border:2px solid #c7a028; box-shadow:0 3px 10px #98731214; }
.alumni-node.selected span { color:#6b571e; }
.alumni-node.branch-parent { background:#fff9e4; border-color:#dfcd94; box-shadow:0 2px 8px #9873120a; }
.alumni-node.branch-parent span { color:#786b43; }
.graph-footer { border-top:1px solid var(--line); background:#fafaf7; padding:14px 22px; }
.alumni-job-detail { padding:28px; gap:30px; border-top:3px solid #e5bd35; }
.alumni-job-detail > div + div { padding-left:26px; border-left:1px solid var(--line); }
.alumni-job-detail h2 { font-size:24px; line-height:1.2; font-weight:600; }
.alumni-job-detail h3 { font-size:14px; font-weight:600; }
.share-figure strong { color:var(--ink); font-size:38px; font-weight:700; }
.share-figure span { color:var(--muted); line-height:1.5; }
.tag, .record-detail .tag { background:#f0efea; color:#55544c; border:1px solid #e7e5db; border-radius:7px; }
.alumni-job-detail .covered { background:#fff4c2; color:#675116; border-color:#e3ce7b; }
.profile-facts, .journey { background:#f5f4ef; }
.outcomes { margin-top:20px; }
.profile-disclosure, .methodology { border-top:1px solid var(--line); margin-top:24px; }
#view-resume .resume-chat-head { background:#242420; color:#fff; padding:26px 22px 22px; border-top:3px solid #ffcc00; }
#view-resume .resume-chat-head h1 { color:#ffcc00; font-size:25px; font-weight:600; }
#view-resume .resume-chat-head p { color:#d4d2c9; line-height:1.6; }
#view-resume .resume-stage { background:#eae9e2; }
#view-resume .resume-stage-bar { background:#fff; border-bottom:1px solid var(--line); padding:18px 22px; }
#view-resume .resume-stage-bar h2 { color:var(--ink); font-weight:600; }
#view-resume .resume-stage-bar .field-hint { color:var(--muted); }
#view-resume .resume-prompts button { background:#f4f3ed; color:#46453d; border:1px solid #e3e1d7; border-radius:9px; }
#view-resume .resume-prompts button:hover { background:#fff4c2; border-color:#d4ac32; }
#view-resume .message.advisor { background:#f3f2ec; color:var(--ink); }
#view-resume .message.user { background:#272723; color:#fff; }
#view-resume .message.user .message-label { color:#ffcc00; }
#resume-chat-form { border:1px solid #d5d2c5; background:#fff; border-radius:11px; }
#resume-chat-form:focus-within { border-color:#b48d1b; box-shadow:0 0 0 3px #ffcc0026; }
#view-resume .resume-upload-prompt { background:#fff; border:1px dashed #c5bd9d; padding:32px; }
.resume-sheet { box-shadow:0 6px 24px #20201e12; }
.school-entry .onboarding-card { box-shadow:0 6px 24px #20201e06; }
.page-footer { color:var(--muted); border-top:1px solid var(--line); margin-top:36px; }

.school-logo { display:flex; align-items:center; flex-shrink:0; padding-left:18px; margin-left:-10px; border-left:1px solid var(--line); }
.school-logo img { display:block; height:48px; width:auto; object-fit:contain; }
.school-entry .school-logo { opacity:0; visibility:hidden; transition:opacity .8s ease, visibility .8s ease; }
.school-entry[data-school="umbc"] .school-logo { opacity:1; visibility:visible; }

.footer-identity { display:flex; align-items:center; gap:24px; }
.footer-identity .school-logo img { height:40px; }

/* Landing: a full-screen hero that plays once, then a one-screen demo. */
.hero { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.hero .site-header { width:100%; margin-bottom:0; }
.hero-body { flex:1; width:100%; max-width:1280px; margin:0 auto; padding:40px 40px 64px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"copy graph" "action graph"; column-gap:64px; align-content:center; align-items:center; }
.hero-copy { grid-area:copy; align-self:end; }
.hero-action { grid-area:action; align-self:start; margin-top:40px; }
.hero h1 { font-size:clamp(44px,5vw,78px); line-height:.98; letter-spacing:-.045em; font-weight:800; color:var(--ink); }
.hero-line { display:block; overflow:hidden; padding:0 .12em .08em 0; margin-bottom:-.08em; }
.hero-line > span { display:block; }
.hero-sub { max-width:36ch; margin-top:28px; font-size:19px; line-height:1.55; color:var(--muted); }
.school-entry .hero-cta { min-height:58px; padding:16px 26px; font-size:16px; border-radius:12px; background:var(--accent); color:var(--accent-foreground); box-shadow:0 4px 0 var(--accent-shadow); }
.school-entry .hero-cta:hover { background:var(--accent-dark); }
.hero-cta .icon { width:20px; height:20px; transition:transform .2s ease; }
.hero-cta:hover .icon { transform:translateY(2px); }

.hero-graph { grid-area:graph; margin:0; }
.career-graph { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1fr); column-gap:clamp(28px,3.4vw,52px); padding-top:36px; }
.career-edges { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.career-edge { fill:none; stroke:#d3d0c4; stroke-width:1.5; }
.career-edge.on-path { stroke:var(--accent); stroke-width:2.5; }
.graph-col { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:16px; }
.graph-col[data-label]::before { content:attr(data-label); position:absolute; top:-36px; left:2px; font-size:13px; font-weight:500; color:var(--muted); }
.graph-node { position:relative; padding:11px 15px; background:#fff; border:1px solid var(--line); border-radius:10px; font-size:14px; font-weight:500; line-height:1.25; white-space:nowrap; color:var(--ink); box-shadow:0 2px 8px #20201e08; }
.graph-col.next .graph-node:not(.on-path) { background:transparent; box-shadow:none; color:var(--muted); }
.graph-node.on-path { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.graph-node.root { padding:18px 24px; font-size:19px; font-weight:700; border-radius:14px; background:var(--accent); border-color:var(--accent); color:var(--accent-foreground); box-shadow:0 4px 0 var(--accent-shadow); }
.hero-graph figcaption { margin-top:32px; font-size:13px; color:var(--muted); }

@keyframes intro-rise { from { transform:translateY(105%); } }
@keyframes intro-fade { from { opacity:0; } }
@keyframes intro-fade-up { from { opacity:0; transform:translateY(14px); } }
@keyframes intro-pop { from { opacity:0; transform:scale(.9); } }
@keyframes intro-draw { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
.intro .hero .site-header { animation:intro-fade .6s ease both; }
.intro .hero-line > span { animation:intro-rise .9s cubic-bezier(.2,.75,.15,1) both; }
.intro .hero-line:nth-child(2) > span { animation-delay:.1s; }
.intro .hero-line:nth-child(3) > span { animation-delay:.2s; }
.intro .hero-sub { animation:intro-fade-up .8s .75s ease both; }
.intro .graph-node { animation:intro-pop .5s var(--d) cubic-bezier(.2,.75,.15,1) both; }
.intro .career-edge { stroke-dasharray:1; animation:intro-draw .65s var(--d) ease-in-out both; }
.intro .graph-col[data-label]::before, .intro .hero-graph figcaption { animation:intro-fade .6s 2s ease both; }
.intro .hero-action { animation:intro-fade-up .8s 2.35s ease both; }
.intro :is(.hero .site-header, .hero-line > span, .hero-sub, .graph-node, .career-edge, .hero-graph figcaption, .hero-action), .intro .graph-col[data-label]::before { animation-play-state:paused; }
.intro-play :is(.hero .site-header, .hero-line > span, .hero-sub, .graph-node, .career-edge, .hero-graph figcaption, .hero-action), .intro-play .graph-col[data-label]::before { animation-play-state:running; }

main.demo { max-width:none; min-height:100vh; min-height:100svh; padding:48px 40px; display:flex; align-items:center; border-top:1px solid var(--line); }
.demo-grid { width:100%; max-width:1200px; margin:0 auto; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:72px; align-items:center; }
.demo-intro h2 { font-size:clamp(34px,3.6vw,50px); line-height:1.04; letter-spacing:-.04em; font-weight:800; }
.demo-lede { max-width:42ch; margin-top:20px; font-size:17px; line-height:1.6; color:var(--muted); }
.demo .benefit-list { margin:36px 0 32px; gap:20px; }
.demo .benefit-list strong { font-weight:600; }
.demo .onboarding-card { padding:32px 34px; }
.demo #school { margin-bottom:20px; }
.demo #id-hint { margin-top:2px; }
.demo #entry-form .upload-label { margin-top:14px; }
.demo .student-preview { margin:4px 0 8px; padding:14px 16px; }
.demo #enter-app { margin-top:22px; min-height:52px; font-size:15px; }

@media (min-width:1001px) and (max-height:820px) {
  .hero-body { padding-top:24px; padding-bottom:40px; }
  .hero-action { margin-top:28px; }
  main.demo { padding:24px 40px; }
  .demo .onboarding-card { padding:24px 28px; }
  .demo #entry-form label { margin-bottom:6px; }
  .demo #school { margin-bottom:14px; }
  .demo input[type=file] { padding:10px; }
  .demo #enter-app { margin-top:16px; }
  .demo .benefit-list { margin:26px 0 22px; gap:14px; }
}
@media (max-width:1000px) {
  .hero-body { grid-template-columns:1fr; grid-template-areas:"copy" "graph" "action"; row-gap:48px; padding:32px 24px 48px; }
  .hero-action { margin-top:0; }
  .demo-grid { grid-template-columns:1fr; gap:40px; max-width:640px; }
  main.demo { padding:56px 24px; }
}
@media (max-width:640px) {
  .hero h1 { font-size:clamp(40px,12vw,56px); }
  .hero-sub { font-size:16px; margin-top:18px; }
  .career-graph { grid-template-columns:auto minmax(0,1fr); column-gap:36px; }
  .hero-body { row-gap:28px; padding-top:28px; padding-bottom:32px; }
  .career-graph { padding-top:30px; }
  .graph-col { gap:9px; }
  .graph-col[data-label]::before { top:-30px; }
  .graph-col.next, .caption-next { display:none; }
  .graph-node { font-size:14px; padding:8px 12px; }
  .graph-node.root { font-size:16px; padding:12px 16px; }
  .hero-graph figcaption { margin-top:18px; }
  .hero-cta { width:100%; }
  main.demo { padding:40px 20px; min-height:0; }
  .demo .onboarding-card { padding:22px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-cta:hover .icon { transform:none; }
}

/* Discover: the student's card is the root of the alumni map. */
.app-shell { overflow-x:clip; }
body:has(#view-discover:not([hidden])) .site-header { margin-bottom:0; }
.discover-stage { --stage-pad:max(40px, calc(50vw - 600px)); margin-inline:calc(50% - 50vw); padding:32px var(--stage-pad) 0; min-height:calc(100vh - 89px); min-height:calc(100svh - 89px); display:flex; flex-direction:column; background:radial-gradient(#dcd9ce .8px, transparent .8px) 0 0 / 18px 18px, var(--paper); border-bottom:1px solid var(--line); }
.stage-head > p { max-width:780px; }
.discover-stage h1 { font-size:clamp(30px,3vw,42px); line-height:1.08; letter-spacing:-.035em; font-weight:800; }
#cohort-lead { margin-top:12px; font-size:15px; color:var(--ink); }
.stage-hint { margin-top:4px; font-size:13px; line-height:1.55; color:var(--muted); }
.stage-row { flex:1; display:flex; align-items:center; padding:24px 0 32px; }

.you-card { position:relative; z-index:1; flex:0 0 340px; padding:22px 24px 16px; border-radius:16px; background:#242420; color:#e9e7df; box-shadow:0 12px 32px #20201e24; }
.you-id { font-size:12px; color:#a9a79c; }
.you-card h2 { margin-top:4px; font-size:26px; line-height:1.1; letter-spacing:-.03em; font-weight:700; color:#ffcc00; }
.you-summary { margin-top:8px; font-size:13px; line-height:1.5; color:#cfcdc3; }
.you-card .cohort-filters { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; padding-top:14px; border-top:1px solid #3d3d37; }
.you-card .cohort-filters legend { float:left; width:100%; margin-bottom:10px; padding:0; font-size:13px; color:#cfcdc3; }
.you-card .cohort-filters label { min-height:36px; gap:7px; padding:6px 11px; border:1px solid #4b4b44; border-radius:8px; background:transparent; color:#e9e7df; font-size:13px; transition:background-color .2s ease, border-color .2s ease, color .2s ease; }
.you-card .cohort-filters label:hover { border-color:#8c8a7e; }
.you-card .cohort-filters label:has(:checked) { background:#ffcc00; border-color:#ffcc00; color:#20201e; }
.you-card .cohort-filters label:has(:disabled) { opacity:.5; background:transparent; color:#e9e7df; cursor:default; }
.you-card .cohort-filters input { width:15px; height:15px; accent-color:#20201e; }
.you-card :focus-visible { outline-color:#ffcc00; }
.you-hint { margin-top:10px; font-size:12px; line-height:1.5; color:#a9a79c; }
.you-card .discover-status { margin:14px 0 0; font-size:13px; line-height:1.5; color:#e9e7df; }
.you-card #discover-retry { margin-top:12px; }
.you-card .profile-actions { flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:0 16px; margin-top:14px; padding-top:4px; border-top:1px solid #3d3d37; }
.you-card .inline-link { min-height:34px; color:#e9e7df; font-size:13px; font-weight:500; text-align:left; }

.stage-map { flex:1; min-width:0; }
.stage-map .alumni-map-scroll { max-height:none; padding:0 0 0 0; overflow-x:auto; overflow-y:hidden; background:none; }
.you-card::after { content:""; position:absolute; right:-6px; top:calc(50% - 6px); width:12px; height:12px; border-radius:50%; background:#ffcc00; box-shadow:0 0 0 3px #242420; }
#alumni-map .alumni-column-label { top:0; width:232px; text-align:center; font-size:13px; font-weight:500; text-transform:none; letter-spacing:0; }
#alumni-map .alumni-node { width:232px; height:58px; padding:9px 14px; transition:top .45s cubic-bezier(.2,.7,.2,1), left .45s cubic-bezier(.2,.7,.2,1), opacity .25s ease, background-color .5s ease, border-color .5s ease, box-shadow .3s ease; }
#alumni-map .alumni-node b, #alumni-map .alumni-node em { font:inherit; }
#alumni-map .alumni-node.entering, #alumni-map .alumni-node.leaving { opacity:0; }
#alumni-map .alumni-node.leaving { pointer-events:none; }
.alumni-edges path { transition:stroke .5s ease, stroke-width .3s ease, opacity .25s ease; }
.alumni-edges path.entering, .alumni-edges path.leaving { opacity:0; }
.alumni-no-next { width:232px; }
@keyframes map-arrive { from { opacity:0; transform:translateY(12px); } }
#alumni-map.arriving { animation:map-arrive .6s cubic-bezier(.2,.7,.2,1) both; }
#alumni-map.arriving .alumni-edges path.active { stroke:#dedbd0; stroke-width:2; }
#alumni-map.arriving .alumni-node.selected { background:#fff; border-color:#dedcd2; }

/* The details sheet peeks from the bottom of the screen, rises when the job changes,
   and docks full width as the page scrolls. */
.detail-sheet { --sheet-inset:max(16px, calc(50vw - 640px)); position:relative; z-index:2; margin:0 calc(50% - 50vw); background:radial-gradient(#dcd9ce .8px, transparent .8px) 0 0 / 18px 18px fixed, var(--paper); }
.sheet-surface { width:calc(100% - 2 * var(--sheet-inset)); margin:0 auto; min-height:60vh; background:#fff; border-radius:24px 24px 0 0; box-shadow:0 -14px 40px #20201e14, 0 -1px 0 #20201e0d; }
.sheet-inner { width:min(1200px, calc(100% - 48px)); margin:0 auto; padding-bottom:48px; }
.sheet-handle { display:block; width:44px; height:5px; margin:0 auto; border-radius:3px; background:#dcd9cf; transform:translateY(10px); }
.sheet-peek { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 0; }
.peek-text { min-width:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 14px; }
.peek-text strong { font-size:20px; font-weight:700; letter-spacing:-.02em; }
#peek-figure { font-size:14px; color:var(--muted); }
.peek-action { flex-shrink:0; display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:8px 0; border:0; background:none; color:var(--ink); font-size:14px; font-weight:600; }
.peek-action .icon { width:18px; height:18px; }
.peek-action:hover { text-decoration:underline; }
.detail-sheet .alumni-job-detail { margin:0; padding:26px 0 36px; background:none; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; }
@keyframes detail-swap { from { opacity:.15; } }
.alumni-job-detail.swap { animation:detail-swap .3s ease; }
@keyframes sheet-rise { from { transform:translateY(96px); opacity:0; } 30% { opacity:1; } }
.detail-sheet.rising { animation:sheet-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.detail-sheet .discover-more { max-width:880px; padding-top:8px; }
.detail-sheet .role-type { color:var(--muted); }
.discover-stage { background-attachment:fixed; border-bottom:0; padding-bottom:0; min-height:calc(100vh - 89px - 77px); min-height:calc(100svh - 89px - 77px); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion:no-preference) and (min-width:1001px) {
    @keyframes sheet-dock { from { width:calc(100% - 2 * var(--sheet-inset)); border-radius:24px 24px 0 0; } to { width:100%; border-radius:0; } }
    @keyframes stage-recede { to { transform:translateY(160px) scale(.97); opacity:.3; } }
    .sheet-surface { animation:sheet-dock linear both; animation-timeline:scroll(root); animation-range:0 360px; }
    .stage-head, .stage-row { transform-origin:50% 0; animation:stage-recede linear both; animation-timeline:scroll(root); animation-range:0 560px; }
    @keyframes peek-action-out { to { opacity:0; visibility:hidden; } }
    .peek-action { animation:peek-action-out linear both; animation-timeline:scroll(root); animation-range:60px 240px; }
  }
}

.discover-more { interpolate-size:allow-keywords; }
.discover-more > details { margin:0; padding:4px 0; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; box-shadow:none; }
.discover-more > details > summary { padding:14px 0; font-size:16px; font-weight:600; }
.discover-more details::details-content { height:0; overflow:clip; transition:height .35s cubic-bezier(.2,.7,.2,1), content-visibility .35s allow-discrete; }
.discover-more details[open]::details-content { height:auto; }

@media (max-width:1000px) {
  .discover-stage { min-height:0; padding-top:24px; }
  .sheet-surface { width:100%; border-radius:20px 20px 0 0; }
  .detail-sheet .alumni-job-detail { grid-template-columns:1fr; gap:24px; }
  .detail-sheet .alumni-job-detail > div + div { padding:22px 0 0; border-left:0; border-top:1px solid var(--line); }
  .stage-row { flex-direction:column; align-items:stretch; gap:36px; }
  .you-card { flex:none; }
  .you-card::after { display:none; }
  #alumni-map::before { content:""; position:absolute; left:0; top:calc(50% - 6px); width:12px; height:12px; border-radius:50%; background:#242420; }
}
@media (prefers-reduced-motion:reduce) {
  #alumni-map .alumni-node, .alumni-edges path, .you-card .cohort-filters label { transition:none; }
  .discover-more details::details-content { transition:none; }
}

/* Alumni connections */
.connect-positions { display:flex; flex-wrap:wrap; gap:10px; max-height:220px; overflow-y:auto; margin:18px 0; }
.connect-positions label { display:flex; gap:8px; align-items:center; background:#f4eee5; padding:9px 12px; border-radius:10px; font-size:14px; }
.connect-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:24px; margin-top:24px; }
.connect-card {
  min-width:0;
  display:grid;
  grid-row:span 9;
  grid-template-rows:subgrid;
  row-gap:0;
}
.connect-card > * { min-width:0; }
.connect-card table { margin:18px 0; align-self:start; width:100%; table-layout:fixed; }
.connect-card th, .connect-card td { overflow-wrap:anywhere; }
.connect-card > .secondary-button { align-self:start; justify-self:start; }
.connect-contact { overflow-wrap:anywhere; margin:18px 0; font-weight:600; }
.connect-draft { width:100%; height:300px; overflow-y:auto; resize:vertical; margin:16px 0; padding:16px; border:2px solid var(--line); border-radius:12px; font-family:inherit; font-size:14px; line-height:1.7; }
#connect-email { margin:auto; padding:0; width:min(760px,calc(100vw - 40px)); max-width:760px; max-height:90vh; overflow-y:auto; background:#fff; box-shadow:0 24px 90px #0003; }
#connect-email::backdrop { background:#17171780; backdrop-filter:blur(4px); }
.email-header { display:flex; justify-content:space-between; align-items:center; padding:24px 30px; background:var(--paper); border-bottom:1px solid var(--line); }
#connect-email h2 { margin:5px 0 0; font-size:23px; }
.email-envelope { padding:0 30px; }
.email-row { display:flex; align-items:center; gap:18px; padding:17px 0; border-bottom:1px solid var(--line); font-size:14px; }
.email-row > :first-child { width:64px; flex-shrink:0; color:var(--muted); }
#connect-email-to { overflow-wrap:anywhere; }
#connect-email-subject { width:100%; min-width:0; border:0; padding:7px; background:transparent; font:inherit; font-weight:600; color:var(--ink); }
.email-content { padding:20px 30px 0; }
.email-content > label { font-size:12px; color:var(--muted); }
#connect-email-body { display:block; width:100%; height:32vh; min-height:220px; resize:vertical; overflow-y:auto; border:0; padding:12px 0; background:#fff; color:var(--ink); font-family:inherit; font-size:15px; line-height:1.85; }
.email-footer { padding:16px 30px 24px; border-top:1px solid var(--line); }
#connect-email-status { font-size:13px; margin:0 0 12px; }
#connect-email .email-note { font-size:12px; color:var(--muted); margin:14px 0 0; }

/* Welcome accents follow the selected school. */
.school-entry {
  --entry-glow:#387e7d1c; --entry-glow-soft:#387e7d10;
  --entry-paper:#f3f7f4; --entry-ink:#37635b; --entry-highlight:#589888;
  --entry-border:#cbded5; --entry-soft:#eaf4ee; --entry-shadow:#244b3e0b; --entry-dot:#7b9e8e;
}
.school-entry[data-school="umbc"] {
  --entry-glow:#ffcc001c; --entry-glow-soft:#ffcc0010;
  --entry-paper:#f8f7f2; --entry-ink:#746335; --entry-highlight:#e2b514;
  --entry-border:#dfd5b6; --entry-soft:#fff9e6; --entry-shadow:#5145140b; --entry-dot:#ac956c;
}
/* Quiet structure around the student lookup. */
.school-entry .hero {
  background: radial-gradient(ellipse at 95% 30%, var(--entry-glow), transparent 55%),
              radial-gradient(ellipse at 0% 85%, var(--entry-glow-soft), transparent 50%), var(--entry-paper);
}
.school-entry .entry-kicker { display:flex; align-items:center; gap:10px; margin-bottom:22px; font-size:11px; font-weight:600; letter-spacing:.16em; color:var(--entry-ink); }
.entry-kicker > span { width:8px; height:8px; border-radius:50%; background:var(--entry-highlight); box-shadow:0 0 0 5px var(--entry-glow); flex-shrink:0; }
.school-entry .hero-graph { padding:28px 22px; border:1px solid var(--entry-border); border-radius:24px; background:linear-gradient(135deg, #ffffffc9, var(--entry-soft)); box-shadow:0 22px 64px var(--entry-shadow); }
.school-entry main.demo {
  position:relative; isolation:isolate;
  background:radial-gradient(ellipse at 8% 25%, var(--entry-glow), transparent 50%),
             radial-gradient(ellipse at 95% 90%, var(--entry-glow), transparent 55%), var(--entry-paper);
  border-top-color:var(--entry-border);
}
.school-entry main.demo::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.3; background-image:radial-gradient(var(--entry-dot) 0.65px, transparent 0.65px); background-size:24px 24px; mask-image:linear-gradient(to right, #000, transparent 65%); }
.entry-journey { padding:0; margin:30px 0; list-style:none; display:grid; gap:0; }
.entry-journey li { display:flex; gap:16px; position:relative; padding:0 0 24px; }
.entry-journey li:last-child { padding-bottom:0; }
.entry-journey li:not(:last-child)::before { content:""; position:absolute; top:39px; bottom:0; left:19px; width:1px; background:var(--entry-border); }
.entry-step { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border-radius:12px; background:var(--entry-soft); border:1px solid var(--entry-border); color:var(--entry-ink); font-size:12px; font-weight:600; }
.entry-journey strong { font-size:15px; font-weight:600; }
.entry-journey p { color:#68675f; font-size:14px; line-height:1.6; margin-top:5px; max-width:37ch; }
.school-entry .demo .onboarding-card { position:relative; background:#ffffffed; border:1px solid var(--entry-border); box-shadow:0 24px 65px var(--entry-shadow), 0 3px 10px var(--entry-shadow); overflow:hidden; }
.school-entry .demo .onboarding-card::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, var(--accent) 0 18%, var(--entry-highlight) 18% 65%, var(--entry-border) 100%); }
.entry-card-heading { display:flex; gap:14px; align-items:center; padding-bottom:22px; border-bottom:1px solid var(--entry-border); }
.entry-card-heading h3 { font-size:21px; letter-spacing:-.025em; font-weight:600; }
.entry-card-heading p { margin-top:4px; color:#68675f; font-size:13px; }
.entry-card-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:var(--entry-soft); color:var(--entry-ink); flex-shrink:0; }
.entry-card-icon svg { width:28px; height:28px; }
.school-entry .demo #campus-id { background:var(--entry-paper); }
@media (max-width:640px) {
  .school-entry .hero-graph { padding:20px 14px; }
  .school-entry .entry-kicker { font-size:10px; letter-spacing:.1em; }
}

/* Keep the column headings, nodes, and caption on the same center lines. */
.school-entry .graph-col { align-items:center; min-width:0; }
.school-entry .graph-col[data-label]::before { left:0; right:0; text-align:center; }
.school-entry .graph-node { max-width:100%; white-space:normal; text-align:center; overflow-wrap:normal; }
.school-entry .hero-graph figcaption { text-align:center; margin-inline:auto; max-width:44ch; text-wrap:balance; }

/* LaTeX resume editing */
.resume-tabs button[aria-pressed="true"] { color:var(--ink); border-bottom-color:#d4ac32; }
#view-resume #resume-canvas { min-height:0; flex:1; }
#view-resume .resume-stage { min-height:650px; }
#view-resume .resume-frame { min-height:500px; }
#resume-canvas.resume-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px; }
.resume-comparison section { min-width:0; display:flex; flex-direction:column; }
.resume-comparison h3 { padding:8px; font-size:12px; background:#fff; }
.resume-comparison .resume-frame { flex:1; }
#resume-line-tools { padding:12px 18px; background:#fff; border-bottom:1px solid var(--line); max-height:300px; overflow:auto; }
#resume-line-tools label { display:block; font-size:12px; margin-top:10px; }
#resume-line-tools select, #resume-line-text { display:block; width:100%; border:1px solid var(--line); border-radius:6px; padding:8px; font:inherit; font-size:13px; margin:6px 0; }
.resume-proposal { margin-top:16px; border-top:1px solid var(--line); padding-top:12px; }
.resume-proposal strong { display:block; font-size:12px; margin:8px 0 4px; }
.resume-proposal p { white-space:pre-wrap; font-size:13px; }
.resume-proposal .inline-link { margin-left:10px; }
#resume-messages .pending { animation:resume-pulse 1.2s ease-in-out infinite alternate; }
@keyframes resume-pulse { to { opacity:.5; } }
@media (prefers-reduced-motion:reduce) { #resume-messages .pending { animation:none; } }
