.students-workspace .student-workflow-metrics{
  margin-bottom:14px;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.students-workspace .student-workflow-console{
  padding:0;
  overflow:hidden;
}
.students-workspace .student-workflow-console>.student-console-top,
.students-workspace .student-workflow-console>.student-filters{
  padding-left:18px;
  padding-right:18px;
}
.students-workspace .student-workflow-console>.student-console-top{
  padding-top:18px;
}
.students-workspace .student-workflow-console>.student-filters{
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.student-workflow-layout{
  display:grid;
  grid-template-columns:minmax(250px,320px) minmax(0,1fr);
  min-height:640px;
}
.student-workflow-queue{
  border-right:1px solid var(--line);
  background:linear-gradient(180deg,rgba(247,243,251,.92),rgba(255,255,255,.98));
  min-width:0;
}
.student-workflow-queue>header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  padding:15px 16px 11px;
  border-bottom:1px solid var(--line);
}
.student-workflow-queue>header strong{font-size:.92rem}
.student-workflow-queue>header small{color:var(--muted);text-align:right}
.student-workflow-queue>div{
  max-height:calc(100vh - 310px);
  min-height:560px;
  overflow:auto;
  padding:8px;
}
.student-workflow-person{
  width:100%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  border:1px solid transparent;
  background:transparent;
  border-radius:13px;
  padding:10px;
  text-align:left;
  color:inherit;
  cursor:pointer;
}
.student-workflow-person:hover,
.student-workflow-person:focus-visible{
  background:#fff;
  border-color:rgba(98,61,122,.16);
  outline:none;
}
.student-workflow-person.active{
  background:#fff;
  border-color:rgba(98,61,122,.3);
  box-shadow:0 9px 24px rgba(54,31,70,.08);
}
.student-workflow-person-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.student-workflow-person-copy strong,
.student-workflow-person-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-workflow-person-copy strong{font-size:.85rem}
.student-workflow-person-copy small{font-size:.73rem;color:var(--muted)}
.student-workflow-status{width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 4px rgba(128,128,128,.08)}
.student-workflow-status.red{background:#d95b68}.student-workflow-status.gold{background:#d9a22e}.student-workflow-status.green{background:#39a672}.student-workflow-status.blue{background:#4d8fe5}.student-workflow-status.violet{background:#8d6bd1}.student-workflow-status.muted{background:#9da3ad}
.student-family-mark{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:12px;
  background:#efe6f5;
  color:#5e3771;
  font-weight:900;
}
.student-family-mark.large{width:54px;height:54px;border-radius:17px;font-size:1.25rem}
.student-workflow-detail{
  min-width:0;
  padding:20px;
  background:#fff;
}
.student-workflow-identity,
.family-detail-v2 .student-workflow-identity{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:14px;
}
.student-workflow-identity>div,
.family-detail-v2 .student-workflow-identity>div{min-width:0;flex:1}
.student-workflow-identity small,
.family-detail-v2 .student-workflow-identity small{display:block;color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800}
.student-workflow-identity h2,
.family-detail-v2 .student-workflow-identity h2{margin:2px 0 3px;font-size:1.18rem}
.student-workflow-identity p,
.family-detail-v2 .student-workflow-identity p{margin:0;color:var(--muted);font-size:.82rem}
.student-decision-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid rgba(90,63,107,.13);
  border-left:4px solid #8d6bd1;
  border-radius:14px;
  padding:13px 15px;
  background:#faf8fc;
  margin-bottom:14px;
}
.student-decision-banner.red{border-left-color:#d95b68;background:#fff7f8}.student-decision-banner.gold{border-left-color:#d9a22e;background:#fffaf0}.student-decision-banner.green{border-left-color:#39a672;background:#f5fcf8}.student-decision-banner.blue{border-left-color:#4d8fe5;background:#f5f9ff}.student-decision-banner.violet{border-left-color:#8d6bd1;background:#faf7ff}.student-decision-banner.muted{border-left-color:#9da3ad}
.student-decision-banner>div{display:flex;flex-direction:column;gap:2px}.student-decision-banner span{font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:var(--muted)}.student-decision-banner strong{font-size:1rem}.student-decision-banner small{color:var(--muted)}.student-decision-banner>b{font-size:.73rem;padding:6px 9px;border-radius:999px;background:#fff;white-space:nowrap}
.student-decision-context{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:17px;
}
.student-decision-context article,
.family-impact article{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 11px;
  background:#fff;
}
.student-decision-context span,
.family-impact span{display:block;color:var(--muted);font-size:.69rem;text-transform:uppercase;letter-spacing:.05em;font-weight:800}
.student-decision-context strong,
.family-impact strong{display:block;margin-top:4px;font-size:.83rem}
.family-impact small{display:block;margin-top:4px;color:var(--muted)}
.student-current-routes,
.student-route-options,
.family-evidence-panel,
.family-household{
  border-top:1px solid var(--line);
  padding-top:15px;
  margin-top:15px;
}
.student-current-routes>header,
.student-route-options>header,
.family-evidence-panel>header,
.family-household>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.student-current-routes>header span,
.student-route-options>header span,
.family-evidence-panel>header span,
.family-household>header span{display:block;color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900}
.student-current-routes>header h3,
.student-route-options>header h3,
.family-evidence-panel>header h3,
.family-household>header h3{margin:2px 0 0;font-size:.94rem}
.student-current-route{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:1px solid var(--line);
  border-radius:12px;
  margin-bottom:7px;
}
.student-current-route>span{display:grid;place-items:center;min-width:36px;height:32px;border-radius:9px;background:#eef5ff;color:#2e609f;font-weight:900;font-size:.76rem}
.student-current-route.individual>span{background:#f1eafb;color:#6e4b9e}
.student-current-route>div{display:flex;flex-direction:column;min-width:0;gap:2px}.student-current-route strong{font-size:.82rem}.student-current-route small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-current-route>b{font-size:.7rem;color:#27835a}
.student-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.student-option-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid var(--line);
  border-radius:13px;
  padding:12px;
  background:#fff;
}
.student-option-card.warning{border-color:rgba(217,162,46,.42);background:#fffdf7}
.student-option-card header{display:flex;justify-content:space-between;gap:8px}.student-option-card header span{font-weight:900;color:#57346b}.student-option-card header b{font-size:.68rem;padding:4px 7px;border-radius:999px;background:#edf8f2;color:#287a55}.student-option-card.warning header b{background:#fff3d7;color:#8d6412}
.student-option-card h4{margin:9px 0 3px;font-size:.87rem}.student-option-card>p{margin:0 0 9px;color:var(--muted);font-size:.76rem}.student-option-card dl{display:grid;gap:6px;margin:0 0 10px}.student-option-card dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:7px}.student-option-card dt{font-size:.68rem;color:var(--muted)}.student-option-card dd{margin:0;font-size:.72rem;font-weight:700;overflow-wrap:anywhere}.student-option-card .btn{margin-top:auto;align-self:flex-start}
.student-option-warning{display:flex;flex-wrap:wrap;gap:5px;margin:-2px 0 9px}.student-option-warning span{font-size:.68rem;padding:4px 7px;border-radius:999px;background:#fff0d6;color:#8d6412}
.family-evidence-panel>div{display:flex;flex-wrap:wrap;gap:7px}.family-evidence-panel>div>span{padding:6px 9px;border-radius:999px;font-size:.72rem;font-weight:800}.family-evidence-panel .strong{background:#e9f7f0;color:#257454}.family-evidence-panel .medium{background:#edf4ff;color:#356cae}.family-evidence-panel .weak{background:#f3f1f5;color:#6d6672}
.family-household article{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:13px;
  padding:11px;
  margin-bottom:8px;
}
.family-household article.root{border-color:rgba(86,53,106,.35);box-shadow:inset 4px 0 0 #704b87}
.family-household article>div{min-width:0}.family-household article>div strong{display:block;font-size:.83rem}.family-household article>div small,.family-household article>div p{display:block;margin:3px 0 0;color:var(--muted);font-size:.73rem}.family-household article>aside{display:grid;justify-items:end;gap:4px}.family-household article>aside>b{font-size:.72rem}.family-household article>aside>small{color:var(--muted);font-size:.68rem}
.family-impact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.student-confirm-card{display:flex;gap:12px;align-items:flex-start}.student-confirm-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff1f2;color:#b53e4a;font-weight:900}.student-confirm-card p{margin:5px 0 0;color:var(--muted)}
.student-family-review>header{display:flex;gap:10px;align-items:center;margin-bottom:14px}.student-family-review>header>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#efe6f5;color:#5e3771;font-weight:900}.student-family-review section{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.student-family-review h3{margin:0 0 7px;font-size:.87rem}.student-family-review section>p{margin:0}.student-family-review section>article{display:flex;align-items:center;gap:9px;padding:8px 0}.student-family-review section>article+article{border-top:1px solid var(--line)}.student-family-review-tags{display:flex;gap:6px;flex-wrap:wrap}.student-family-review-tags span{padding:5px 8px;border-radius:999px;background:#edf5ff;color:#356cae;font-size:.72rem;font-weight:800}
.family-protection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid rgba(57,166,114,.2);border-radius:13px;background:#f5fcf8;margin-bottom:15px}.family-protection strong{font-size:.82rem;color:#277653}.family-protection span{font-size:.75rem;color:var(--muted);text-align:right}.family-health{padding:6px 9px;border-radius:999px;font-size:.72rem;font-weight:900;white-space:nowrap}.family-health.green{background:#e9f7f0;color:#257454}.family-health.gold{background:#fff3d7;color:#8d6412}.family-health.red{background:#fff0f2;color:#aa3f4a}.family-health.blue{background:#edf5ff;color:#356cae}.family-evidence-panel>div>span{display:inline-flex;align-items:center;gap:6px}.family-evidence-panel>div>span small{text-transform:uppercase;font-size:.58rem;opacity:.7}.family-household article>div em{display:block;margin-top:3px;color:var(--muted);font-size:.7rem;font-style:normal}.family-detail-actions{display:flex;justify-content:flex-end;margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}
@media (max-width:1180px){
  .students-workspace .student-workflow-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .student-decision-context{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .student-workflow-layout{grid-template-columns:1fr}
  .student-workflow-queue{border-right:0;border-bottom:1px solid var(--line)}
  .student-workflow-queue>div{min-height:0;max-height:310px}
  .student-option-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .students-workspace .student-workflow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .student-workflow-detail{padding:14px}
  .student-workflow-identity,.family-detail-v2 .student-workflow-identity{align-items:flex-start;flex-wrap:wrap}
  .student-workflow-identity .btn,.family-detail-v2 .student-workflow-identity .btn{width:100%}
  .student-decision-banner{align-items:flex-start;flex-direction:column}
  .student-decision-banner>b{white-space:normal}
  .student-decision-context,.family-impact{grid-template-columns:1fr 1fr}
  .family-household article{grid-template-columns:auto minmax(0,1fr)}
  .family-household article>aside{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px}
}
@media (max-width:460px){
  .students-workspace .student-workflow-metrics{grid-template-columns:1fr 1fr!important}
  .student-decision-context,.family-impact{grid-template-columns:1fr}
  .student-workflow-console>.student-console-top,.student-workflow-console>.student-filters{padding-left:12px;padding-right:12px}
  .student-workflow-queue>header{align-items:flex-start;flex-direction:column}
  .student-workflow-queue>header small{text-align:left}
}
