/* All students and the deals pipeline, framed from the student dashboard (ui/dashboard-frames.js). */
body.balanced-blue.minimal-calm #main:has(.dashboard-frame-page){display:flex;flex-direction:column;max-width:none;padding-inline:clamp(16px,2vw,32px);padding-bottom:clamp(16px,2vw,32px)}
body.balanced-blue.minimal-calm #main:has(.dashboard-frame-page)>.page-footer{display:none}
body.balanced-blue.minimal-calm #main:has(.dashboard-frame-page)>:has(.dashboard-frame-page){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
body.balanced-blue.minimal-calm .dashboard-frame-page{display:flex;flex-direction:column;flex:1 1 auto;gap:10px;min-height:0}
body.balanced-blue.minimal-calm .dashboard-frame-bar{display:flex;justify-content:flex-end}
body.balanced-blue.minimal-calm .dashboard-frame-bar .btn{min-height:32px;padding:0 12px;font-size:13px}
body.balanced-blue.minimal-calm .dashboard-frame{flex:1 1 auto;width:100%;min-height:max(560px,calc(100dvh - 230px));border:1px solid var(--line);border-radius:var(--r-card,14px);background:var(--surface)}
body.balanced-blue.minimal-calm .dashboard-frame-away{display:grid;justify-items:start;gap:14px;max-width:560px;padding:24px;border:1px solid var(--line);border-radius:var(--r-card,14px);background:var(--surface)}
body.balanced-blue.minimal-calm .dashboard-frame-away p{margin:0;font-size:14px;line-height:1.5;color:var(--secondary)}
body.balanced-blue.minimal-calm .dashboard-frame-away a:not(.btn){color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* 2026-09-27: the framed dashboard fills the whole page area, edge to edge (no team hq heading, padding, border or
   box), so it reads as a team hq page rather than a small page inside one. */
body.balanced-blue.minimal-calm .main:has(.dashboard-frame-page.is-framed){display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto}
body.balanced-blue.minimal-calm #main:has(.dashboard-frame-page.is-framed){flex:1 1 auto;min-height:0;height:100%;margin:0;padding:0;max-width:none}
body.balanced-blue.minimal-calm #main:has(.dashboard-frame-page.is-framed)>.page-heading{display:none}
body.balanced-blue.minimal-calm .dashboard-frame-page.is-framed{gap:0;height:100%}
body.balanced-blue.minimal-calm .dashboard-frame-page.is-framed .dashboard-frame{min-height:0;height:100%;border:0;border-radius:0;background:transparent}
