/* Workspace content primitives. app-shell.css owns navigation; page families own task layouts and dialogs. */
body.dp-app-shell [hidden] { display:none!important; }
body.dp-app-shell :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--ds-cobalt,#EB6600); outline-offset:3px; }

/* Comfortable, familiar controls. The complete degree worksheet retains its own row and progress controls. */
body.dp-app-shell:not(.course-plan-page) :is(button,input,select,textarea) { font-family:inherit; }
body.dp-app-shell:not(.course-plan-page) :is(button,.button,.portal-primary,.portal-secondary,.courses-primary,.courses-secondary) { min-height:44px; border-radius:var(--ds-radius-control,8px); }
body.dp-app-shell:not(.course-plan-page) :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]) {
  min-width:0;
  min-height:46px;
  border:1px solid var(--ds-control-border,#7b899b);
  border-radius:var(--ds-radius-control,8px);
  background-color:var(--ds-surface,#fff);
  color:var(--ds-ink,#192840);
  font-size:1rem;
  line-height:1.5;
}
body.dp-app-shell:not(.course-plan-page) :is(input,textarea)::placeholder { color:var(--ds-muted,#4e5e74); opacity:1; }
body.dp-app-shell:not(.course-plan-page) :is(input,select,textarea):disabled { color:var(--ds-muted,#4e5e74); background-color:var(--ds-canvas,#f1f4f9); }
body.dp-app-shell:not(.course-plan-page) :is(input[type="checkbox"],input[type="radio"]) { accent-color:var(--ds-cobalt,#EB6600); }

/* The policy library keeps its full researched content in a readable workspace. */
body.dp-app-shell.dp-explore-page main { max-width:1480px; min-width:0; margin:0 auto; padding:32px 32px 44px; }
body.dp-app-shell.dp-explore-page main > section { max-width:none; padding:0; }
body.dp-app-shell.dp-explore-page #explore > .section-head { align-items:flex-end; flex-wrap:wrap; gap:16px 32px; padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid var(--ds-border,#d9e1ec); }
body.dp-app-shell.dp-explore-page #explore .section-head :is(h1,h2) { margin:6px 0 0; color:var(--ds-ink,#192840); font-size:clamp(1.75rem,3vw,2.25rem); font-weight:650; line-height:1.15; letter-spacing:var(--ds-title-tracking,-.03em); }
body.dp-app-shell.dp-explore-page #explore .section-head p { max-width:40ch; margin:0; color:var(--ds-muted,#4e5e74); font-size:1rem; line-height:1.55; }
body.dp-app-shell.dp-explore-page .eyebrow { color:var(--ds-muted,#4e5e74); font-size:.875rem; font-weight:500; letter-spacing:0; text-transform:none; }
body.dp-app-shell.dp-explore-page .filterbar { padding:20px; gap:16px; border-color:var(--ds-border,#d9e1ec); border-radius:var(--ds-radius-card,12px); background:var(--ds-surface,#fff); }
body.dp-app-shell.dp-explore-page .filterbar label { color:var(--ds-muted,#4e5e74); font-size:.875rem; line-height:1.5; }
body.dp-app-shell.dp-explore-page .result-line { color:var(--ds-muted,#4e5e74); font-size:.875rem; line-height:1.5; gap:10px 20px; }
body.dp-app-shell.dp-explore-page .cards { gap:18px; }
body.dp-app-shell.dp-explore-page .card { padding:24px; border-color:var(--ds-border,#d9e1ec); border-radius:var(--ds-radius-card,12px); background:var(--ds-surface,#fff); box-shadow:none; }
body.dp-app-shell.dp-explore-page .card h3 { color:var(--ds-ink,#192840); font-size:1.25rem; line-height:1.35; letter-spacing:-.02em; }
body.dp-app-shell.dp-explore-page .card p { color:var(--ds-muted,#4e5e74); font-size:1rem; line-height:1.55; }
body.dp-app-shell.dp-explore-page .card .monogram { color:var(--tok-acc-text,#B84F00); background:var(--ds-soft-blue,#FFF0E3); }
body.dp-app-shell.dp-explore-page .card .ceiling { color:var(--tok-acc-text,#B84F00); font-size:2rem; font-weight:650; letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
body.dp-app-shell.dp-explore-page .card :is(small,.label,.card-bottom) { color:var(--ds-muted,#4e5e74); font-size:.875rem; line-height:1.5; }
body.dp-app-shell.dp-explore-page .card-bottom button { min-height:44px; padding-block:10px; color:var(--tok-acc-text,#B84F00); font-size:.875rem; text-decoration:underline; text-underline-offset:4px; }
body.dp-app-shell.dp-explore-page .bar span { background:var(--ds-cobalt,#EB6600); }
body.dp-app-shell.dp-explore-page :is(.note,.resources) { color:var(--ds-muted,#4e5e74); font-size:.875rem; line-height:1.6; }
body.dp-app-shell.dp-explore-page #learn { margin-top:32px; padding-top:24px; border-top:1px solid var(--ds-border,#d9e1ec); }
body.dp-app-shell.dp-explore-page .resources { margin:0; border-color:var(--ds-border,#d9e1ec); }
@media (max-width:900px) {
  body.dp-app-shell.dp-explore-page main { padding:24px 20px 36px; }
  body.dp-app-shell.dp-explore-page #explore > .section-head { align-items:flex-start; gap:12px; }
  body.dp-app-shell.dp-explore-page .filterbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:550px) {
  body.dp-app-shell.dp-explore-page main { padding:24px 16px 32px; }
  body.dp-app-shell.dp-explore-page #explore > .section-head { padding-bottom:20px; margin-bottom:20px; }
  body.dp-app-shell.dp-explore-page .filterbar { grid-template-columns:minmax(0,1fr); padding:16px; gap:14px; }
  body.dp-app-shell.dp-explore-page .filterbar > label { grid-column:auto; }
  body.dp-app-shell.dp-explore-page .card { padding:20px; }
  body.dp-app-shell.dp-explore-page .result-line { flex-wrap:wrap; }
  body.dp-app-shell.dp-explore-page .resources { padding:18px; gap:12px; }
}
@media print {
  body.dp-app-shell.dp-explore-page main { max-width:none; padding:0; }
  body.dp-app-shell:not(.course-plan-page) :is(input,select,textarea) { box-shadow:none; }
}
