/* Lecturer area (Mission Control). Generated from the confirmed mockup
   2_Organisation/ares-teamportal-mockups/admin.css, scoped to body.mc; overrides and additions follow below. */
body.mc { color-scheme: dark;
  --bg: #0f131c; --bg-2: #141926; --surface: #1a2030; --surface-2: #202839; --surface-3: #29344a;
  --line: rgba(148, 168, 200, .15); --line-2: rgba(148, 168, 200, .3);
  --ink: #e9eef7; --muted: #aab6c8; --faint: #8290a7;
  --cyan: #5fd0dc; --cyan-ink: #a3e8ef; --cyan-bg: rgba(95, 208, 220, .1);
  --rust: #e0602a; --rust-ink: #ffb08c; --rust-bg: rgba(224, 96, 42, .13);
  --amber: #e9c46a; --amber-bg: rgba(233, 196, 106, .12);
  --green: #7bd88f; --green-bg: rgba(123, 216, 143, .1);
  --violet: #a99bff; --violet-ink: #d6cfff; --violet-bg: rgba(169, 155, 255, .08);
  --mono: Menlo, "SF Mono", Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 12px; }
body.mc * { box-sizing: border-box; }
body.mc { background: var(--bg); }
body.mc { margin: 0; min-width: 320px; color: var(--ink); font: 14px/1.55 var(--sans);
  background: radial-gradient(1100px 520px at 85% -12%, rgba(95, 208, 220, .07), transparent 62%), var(--bg); }
body.mc [hidden] { display: none !important; }
body.mc h1, body.mc h2, body.mc h3, body.mc h4, body.mc p { margin-top: 0; }
body.mc h1 { font-size: 34px; line-height: 1.12; letter-spacing: -.03em; font-weight: 650; margin: 6px 0 8px; }
body.mc h2 { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; margin-bottom: 4px; }
body.mc h3 { font-size: 15px; line-height: 1.35; font-weight: 650; margin-bottom: 4px; }
body.mc p { color: var(--muted); margin-bottom: 10px; }
body.mc a { color: var(--cyan); text-decoration: none; }
body.mc a:hover { text-decoration: underline; }
body.mc :focus-visible { outline: 2px solid #f3bc69; outline-offset: 2px; border-radius: 6px; }
body.mc button, body.mc input, body.mc select, body.mc textarea { font: inherit; color: inherit; }
body.mc .mono, body.mc code { font-family: var(--mono); font-size: 12px; }
body.mc .muted { color: var(--muted); }
body.mc .faint { color: var(--faint); }
body.mc .small { font-size: 12.5px; }
body.mc .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.mc .i { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
body.mc .i.sm { width: 15px; height: 15px; flex-basis: 15px; }
body.mc .i.xs { width: 13px; height: 13px; flex-basis: 13px; }
body.mc .page { max-width: 1280px; margin: 0 auto; padding: 30px 40px 90px; }
body.mc .crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); margin-bottom: 14px; }
body.mc .crumbs a { color: var(--muted); }
body.mc .page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
body.mc .eyebrow { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
body.mc .lead { color: var(--muted); max-width: 660px; margin: 0; font-size: 15px; }
body.mc .head-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
body.mc .meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
body.mc .meta-row > span { display: inline-flex; align-items: center; gap: 7px; }
body.mc .section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
body.mc .section-title h2 { margin: 0; }
body.mc .spacer { flex: 1; }
body.mc .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
body.mc .btn:hover { background: var(--surface-2); border-color: rgba(148, 168, 200, .5); text-decoration: none; }
body.mc .btn.primary { background: var(--cyan); border-color: var(--cyan); color: #072027; }
body.mc .btn.primary:hover { background: #82e0e9; }
body.mc .btn.ghost { background: transparent; border-color: transparent; color: var(--cyan); }
body.mc .btn.ghost:hover { background: var(--cyan-bg); }
body.mc .btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
body.mc .btn.danger { color: var(--rust-ink); border-color: rgba(224, 96, 42, .45); background: var(--rust-bg); }
body.mc .btn.esra { background: var(--cyan); border-color: var(--cyan); color: #072027; }
body.mc .btn.lect { background: var(--violet); border-color: var(--violet); color: #15122e; }
body.mc .btn.priv { background: transparent; border-color: rgba(233, 196, 106, .55); color: var(--amber); }
body.mc .btn[disabled] { opacity: .45; cursor: not-allowed; }
body.mc .icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; flex: 0 0 34px; }
body.mc .icon-btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
body.mc input[type="text"], body.mc input[type="email"], body.mc input[type="search"], body.mc input[type="datetime-local"], body.mc select, body.mc textarea { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 11px; color: var(--ink); font-size: 13.5px; width: 100%; }
body.mc select, body.mc input[type="text"], body.mc input[type="email"], body.mc input[type="search"], body.mc input[type="datetime-local"] { height: 38px; }
body.mc textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
body.mc input::placeholder, body.mc textarea::placeholder { color: #6e7b91; }
body.mc input[type="checkbox"], body.mc input[type="radio"] { accent-color: var(--cyan); width: 16px; height: 16px; margin: 0; }
body.mc .field { display: flex; flex-direction: column; gap: 6px; }
body.mc .field > label, body.mc .field > .label { font-weight: 600; font-size: 13px; }
body.mc .hint { color: var(--faint); font-size: 12px; }
body.mc .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
body.mc .span2 { grid-column: span 2; }
body.mc .check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
body.mc .check input { margin-top: 2px; }
body.mc .seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
body.mc .seg button, body.mc .seg a { border: 0; background: transparent; color: var(--muted); padding: 6px 13px; border-radius: 7px; font-weight: 600; font-size: 13px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
body.mc .seg a:hover { text-decoration: none; color: var(--ink); }
body.mc .seg [aria-pressed="true"], body.mc .seg [aria-selected="true"] { background: var(--surface-3); color: var(--ink); }
body.mc .search { position: relative; flex: 0 1 300px; }
body.mc .search input { padding-left: 36px; }
body.mc .search .i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); }
body.mc .toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
body.mc .toolbar select { width: auto; min-width: 150px; }
body.mc .count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink); font: 600 11.5px var(--mono); }
body.mc .count.amber { background: var(--amber-bg); color: var(--amber); }
body.mc .st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
body.mc .st-done { color: var(--green); background: var(--green-bg); border-color: rgba(123, 216, 143, .25); }
body.mc .st-progress { color: var(--cyan-ink); background: var(--cyan-bg); border-color: rgba(95, 208, 220, .28); }
body.mc .st-wait { color: var(--amber); background: var(--amber-bg); border-color: rgba(233, 196, 106, .32); }
body.mc .st-changes { color: var(--rust-ink); background: var(--rust-bg); border-color: rgba(224, 96, 42, .38); }
body.mc .st-none { color: var(--faint); border-color: var(--line); }
body.mc .st-idle { color: var(--muted); border: 1px dashed var(--line-2); }
body.mc .st-locked { color: var(--faint); border: 1px dashed var(--line); }
body.mc .cell-sub { display: block; color: var(--faint); font-size: 11.5px; margin-top: 3px; white-space: nowrap; }
body.mc .av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 700 11px var(--sans); color: #10141d; flex: 0 0 30px; }
body.mc .av.lg { width: 38px; height: 38px; flex-basis: 38px; font-size: 13px; }
body.mc .av0 { background: #5fd0dc; }
body.mc .av1 { background: #e9c46a; }
body.mc .av2 { background: #b3a8ff; }
body.mc .av3 { background: #7bd88f; }
body.mc .av4 { background: #f2a07f; }
body.mc .av5 { background: #8fb4ff; }
body.mc .handle { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12px; }
body.mc .sm-badge { font: 700 10px var(--mono); letter-spacing: .06em; color: var(--cyan-ink); border: 1px solid rgba(95, 208, 220, .4); border-radius: 5px; padding: 1px 5px; }
body.mc .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
body.mc .panel-pad { padding: 18px 20px; }
body.mc .table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
body.mc table { width: 100%; border-collapse: collapse; }
body.mc th { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; }
body.mc td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
body.mc tbody tr:last-child td { border-bottom: 0; }
body.mc tbody tr.click { cursor: pointer; }
body.mc tbody tr:hover { background: rgba(95, 208, 220, .035); }
body.mc tr.selected { background: rgba(95, 208, 220, .06); }
body.mc .person { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.mc .person b { font-weight: 600; }
body.mc .person .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
body.mc .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--faint); font-size: 12.5px; margin-top: 12px; }
body.mc .overlay { position: fixed; inset: 0; z-index: 60; display: flex; }
body.mc .scrim { position: absolute; inset: 0; background: rgba(5, 8, 14, .68); backdrop-filter: blur(2px); }
body.mc .dialog { position: relative; margin: auto; width: min(720px, calc(100vw - 48px)); max-height: calc(100vh - 56px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
body.mc .dialog.wide { width: min(940px, calc(100vw - 48px)); }
body.mc .dialog.narrow { width: min(500px, calc(100vw - 48px)); }
body.mc .drawer { position: relative; margin-left: auto; height: 100%; width: min(600px, 100vw); background: var(--bg-2); border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; box-shadow: -30px 0 90px rgba(0, 0, 0, .5); }
body.mc .drawer.xl { width: min(1180px, 97vw); }
body.mc .o-head { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
body.mc .o-head h2 { margin: 3px 0 0; font-size: 21px; }
body.mc .o-head .icon-btn { margin-left: auto; }
body.mc .o-body { padding: 20px 24px; overflow: auto; flex: 1; }
body.mc .o-foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: rgba(15, 19, 28, .4); border-radius: 0 0 16px 16px; }
body.mc .o-foot .note { color: var(--faint); font-size: 12.5px; margin-right: auto; display: flex; gap: 8px; align-items: center; }
body.mc .d-section { margin-bottom: 26px; }
body.mc .d-section > h3 { font: 600 11px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
body.mc .toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 80; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); font-size: 13px; display: flex; gap: 8px; align-items: center; }
body.mc .popover { position: absolute; z-index: 25; width: 380px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
body.mc .popover h3 { display: flex; align-items: center; gap: 8px; }
body.mc .popover ul { margin: 8px 0 10px; padding-left: 18px; color: var(--muted); }
body.mc .popover li { margin: 3px 0; }
body.mc .menu { position: absolute; right: 8px; top: 40px; z-index: 20; min-width: 190px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; box-shadow: 0 16px 50px rgba(0, 0, 0, .45); }
body.mc .menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 10px; background: none; border: 0; border-radius: 7px; color: var(--ink); cursor: pointer; text-align: left; font-size: 13px; }
body.mc .menu button:hover { background: var(--surface-3); }
body.mc .menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 2px; }
body.mc .menu .danger-text { color: var(--rust-ink); }
body.mc .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
body.mc .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 18px; display: flex; align-items: center; gap: 12px; }
body.mc .stat b { font-size: 26px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.mc .stat span { color: var(--muted); line-height: 1.3; }
body.mc .stat .i { color: var(--faint); margin-left: auto; }
body.mc .stat.warn b { color: var(--amber); }
/* To do: a quiet list, one line and one action per item; absent when nothing needs action. */
body.mc .todo { margin: 0 0 24px; max-width: 760px; }
body.mc .todo h2 { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; }
body.mc .todo ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
body.mc .todo li { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 4px 0 4px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
body.mc .todo li .i { color: var(--amber); }
body.mc .todo li .btn { margin-left: auto; }
body.mc .no-team { border: 1px dashed rgba(233, 196, 106, .5); background: rgba(233, 196, 106, .035); border-radius: 14px; padding: 16px 18px 18px; margin-bottom: 18px; }
body.mc .no-team-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
body.mc .no-team-head h2 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin: 0; }
body.mc .no-team-head p { margin: 0; font-size: 13px; }
body.mc .pchips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.mc .pchip { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; min-width: 0; }
body.mc .pchip .grip { color: var(--faint); cursor: grab; }
body.mc .pchip select { margin-left: auto; width: 150px; height: 32px; font-size: 12.5px; padding: 4px 8px; }
body.mc .team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.mc .team-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; transition: border-color .15s; }
body.mc .team-card:hover { border-color: var(--line-2); }
body.mc .team-card.drop { border-color: rgba(95, 208, 220, .6); box-shadow: 0 0 0 3px rgba(95, 208, 220, .12); }
body.mc .team-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 12px 11px 18px; border-bottom: 1px solid var(--line); }
body.mc .team-card h3 { margin: 0; }
body.mc .team-card header .faint { font-size: 12.5px; }
body.mc .members { list-style: none; margin: 0; padding: 6px 8px; flex: 1; }
body.mc .member { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 9px; }
body.mc .member .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
body.mc .member b { font-weight: 600; }
body.mc .member .st { margin-left: auto; }
body.mc .card-foot { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 7px; }
body.mc .card-foot .ok { color: var(--green); }
body.mc .card-foot .warnc { color: var(--amber); }
body.mc .drop-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 8px 8px; padding: 8px; border: 1px dashed var(--line-2); border-radius: 9px; color: var(--faint); font-size: 12.5px; }
body.mc .bulk { position: sticky; bottom: 18px; z-index: 15; display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px 10px 18px;
  background: var(--surface-3); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
body.mc .bulk b { margin-right: 8px; }
body.mc .paste { font-family: var(--mono); font-size: 12.5px; min-height: 120px; }
body.mc .mapping { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; font-size: 13px; color: var(--muted); }
body.mc .mapping .colmap { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
body.mc .mapping select { height: 28px; padding: 2px 6px; font-size: 12.5px; width: auto; }
body.mc .preview td, body.mc .preview th { padding: 8px 12px; font-size: 13px; }
body.mc .row-skip td { color: var(--faint); }
body.mc .summary-line { display: flex; gap: 14px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
body.mc .proposal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
body.mc .proposal .team-card header { padding: 10px 12px 9px 14px; }
body.mc .proposal .member { padding: 5px 8px; }
body.mc .member.new { background: var(--cyan-bg); border: 1px solid rgba(95, 208, 220, .3); }
body.mc .member.new .tag { margin-left: auto; font: 600 10.5px var(--mono); color: var(--cyan-ink); letter-spacing: .06em; }
body.mc .danger-zone { border: 1px solid rgba(224, 96, 42, .3); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
body.mc .danger-zone p { margin: 0; font-size: 13px; }
body.mc .mission-ref { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); margin-bottom: 8px; }
body.mc .mission-ref .who { display: flex; flex-direction: column; line-height: 1.35; }
body.mc .mission-ref .st { margin-left: auto; }
body.mc .name-edit { display: flex; align-items: center; gap: 8px; }
body.mc .name-edit input { font-size: 20px; font-weight: 650; height: 42px; width: 300px; background: transparent; border-color: transparent; padding-left: 6px; margin-left: -6px; }
body.mc .name-edit input:hover, body.mc .name-edit input:focus { border-color: var(--line-2); background: var(--bg); }
body.mc .mission-head h1 { margin-bottom: 10px; }
body.mc .needs { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 28px; overflow: hidden; }
body.mc .needs-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 12px; }
body.mc .needs-head h2 { margin: 0; display: flex; gap: 9px; align-items: center; }
body.mc .needs-head p { margin: 0; font-size: 13px; }
body.mc .need { border-top: 1px solid var(--line); }
body.mc .need-row { display: grid; grid-template-columns: 190px 130px minmax(0, 1fr) 64px 160px; align-items: center; gap: 16px; padding: 9px 20px; color: var(--ink); }
body.mc .need-row:hover { background: rgba(95, 208, 220, .035); text-decoration: none; }
body.mc .need-go { justify-self: end; display: inline-flex; align-items: center; gap: 4px; color: var(--cyan); font-weight: 600; font-size: 13px; white-space: nowrap; padding: 4px 6px 4px 10px; border-radius: 8px; }
body.mc .need-go.first { background: var(--cyan); color: #072027; }
body.mc .need-row:hover .need-go:not(.first) { text-decoration: underline; text-underline-offset: 3px; }
body.mc .need-type { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 13px; }
body.mc .need .team { font-weight: 650; }
body.mc .need .what { color: var(--muted); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.mc .need .btn { justify-self: end; }
body.mc .age { font: 12px var(--mono); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
body.mc .age.old { color: var(--amber); }
body.mc .type-plan { color: var(--amber); }
body.mc .type-question { color: var(--cyan-ink); }
body.mc .type-inc { color: var(--rust-ink); }
body.mc .type-retro { color: var(--violet-ink); }
body.mc .watch { margin: 0; padding: 9px 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; gap: 12px; align-items: baseline; font-size: 13px; }
body.mc .watch .lbl { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; flex: 0 0 auto; }
body.mc .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
body.mc .tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: center; }
body.mc .tabs a:hover { color: var(--ink); text-decoration: none; }
body.mc .tabs a[aria-selected="true"] { color: var(--ink); border-color: var(--cyan); }
body.mc .prog th { padding: 11px 12px; }
body.mc .prog td { padding: 11px 12px; }
body.mc .prog td:first-child { padding-left: 18px; }
body.mc .prog .teamname { font-weight: 650; display: block; }
body.mc .prog .lastact { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
body.mc .prog .lastact.stale { color: var(--amber); }
body.mc .prog .go { color: var(--faint); }
body.mc .prog tr:hover .go { color: var(--cyan); }
body.mc .heat-card { padding: 18px 20px 16px; margin-bottom: 22px; }
body.mc .heat { display: grid; grid-template-columns: 140px repeat(8, minmax(0, 1fr)); gap: 5px; align-items: center; margin-top: 14px; }
body.mc .heat .day { font: 11px var(--mono); color: var(--faint); text-align: center; line-height: 1.3; padding-bottom: 4px; }
body.mc .heat .day b { display: block; font-weight: 600; color: var(--muted); }
body.mc .heat .day.today b, body.mc .heat .day.today { color: var(--cyan); }
body.mc .heat .day.due b, body.mc .heat .day.due { color: var(--rust-ink); }
body.mc .heat .tname { font-size: 13px; font-weight: 600; }
body.mc .hc { height: 30px; border-radius: 6px; background: rgba(148, 168, 200, .07); }
body.mc .h1 { background: rgba(95, 208, 220, .2); }
body.mc .h2 { background: rgba(95, 208, 220, .38); }
body.mc .h3 { background: rgba(95, 208, 220, .6); }
body.mc .h4 { background: rgba(95, 208, 220, .9); }
body.mc .hc.future { background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(148, 168, 200, .08) 6px 7px); }
body.mc .hc.todaycol { box-shadow: inset 0 0 0 1px rgba(95, 208, 220, .55); }
body.mc .heat-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); }
body.mc .heat-legend .hc { width: 22px; height: 14px; border-radius: 4px; }
body.mc .estimate-note { color: var(--faint); font-size: 12.5px; }
body.mc .tl-wrap { padding: 6px 20px 14px; }
body.mc .tl-day { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 16px 0 6px; }
body.mc .tl { display: grid; grid-template-columns: 52px 26px 120px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
body.mc .tl .time { font: 12px var(--mono); color: var(--faint); padding-top: 2px; }
body.mc .tl .ic { color: var(--muted); padding-top: 1px; }
body.mc .tl .team { font-weight: 650; }
body.mc .tl .txt .by { color: var(--faint); }
body.mc .tl.esra-act .ic { color: var(--cyan); }
body.mc .tl.esra-act .txt::before { content: "ESRA · "; color: var(--cyan-ink); font-weight: 650; }
body.mc .fchips { display: flex; gap: 6px; flex-wrap: wrap; }
body.mc .fchip { border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
body.mc .fchip[aria-pressed="true"] { background: var(--surface-3); color: var(--ink); border-color: var(--line-2); }
body.mc .content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
body.mc .order-box { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
body.mc .order-box .ob-head { background: #1f2a3d; padding: 8px 16px; font: 600 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
body.mc .order-box p { margin: 0; padding: 14px 16px; color: var(--ink); font-weight: 600; }
body.mc .goal-box { border-left: 3px solid var(--rust); background: rgba(224, 96, 42, .06); padding: 10px 14px; border-radius: 0 10px 10px 0; margin-bottom: 18px; }
body.mc .goal-box p { margin: 0; color: var(--ink); }
body.mc .pb { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
body.mc .pb .id { font: 700 12px var(--mono); color: var(--rust-ink); padding-top: 2px; }
body.mc .pb b { display: block; }
body.mc .pb span { color: var(--muted); font-size: 13px; }
body.mc .dod li { margin: 6px 0; color: var(--muted); }
body.mc .dod li b { color: var(--ink); font-family: var(--mono); font-size: 12px; margin-right: 6px; }
body.mc .ref-box { border: 1px dashed rgba(233, 196, 106, .45); border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
body.mc .ref-box h3 { display: flex; gap: 8px; align-items: center; color: var(--amber); font-size: 13.5px; }
body.mc .ref-box p { margin: 0; font-size: 13px; }
body.mc .t-members { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
body.mc .t-members .person { font-size: 13px; }
body.mc .stepper { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 18px 20px 16px; border-bottom: 1px solid var(--line); background: rgba(15, 19, 28, .35); }
body.mc .step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 0 4px; }
body.mc .step::before { content: ""; position: absolute; top: 14px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--line-2); }
body.mc .step:first-child::before { display: none; }
body.mc .step.done::before, body.mc .step.current::before { background: var(--green); }
body.mc .step-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line-2); color: var(--faint); position: relative; z-index: 1; }
body.mc .step.done .step-dot { background: var(--green); border-color: var(--green); color: #0f131c; }
body.mc .step.current .step-dot { border-color: var(--amber); color: var(--amber); background: #2b2a26; box-shadow: 0 0 0 5px rgba(233, 196, 106, .12); }
body.mc .step.changes .step-dot { border-color: var(--rust); color: var(--rust-ink); background: #2b211e; }
body.mc .step-name { font-weight: 650; font-size: 12.5px; line-height: 1.3; }
body.mc .step-state { font-size: 11.5px; color: var(--faint); line-height: 1.3; }
body.mc .step.current .step-state { color: var(--amber); }
body.mc .detail { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 20px; padding: 20px 22px 30px; overflow: auto; flex: 1; align-items: start; }
body.mc .station { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; margin-bottom: 12px; }
body.mc .station > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; }
body.mc .station > summary::-webkit-details-marker { display: none; }
body.mc .station > summary .sum { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
body.mc .station > summary .sum h3 { margin: 0; }
body.mc .station > summary .sum .sum-sub { color: var(--faint); font-size: 12.5px; }
body.mc .station > summary .st { margin-left: auto; }
body.mc .station > summary .chev { color: var(--faint); transition: transform .15s; }
body.mc .station[open] > summary .chev { transform: rotate(90deg); }
body.mc .station[open] > summary { border-bottom: 1px solid var(--line); }
body.mc .station.current { border-color: rgba(233, 196, 106, .5); box-shadow: 0 0 0 3px rgba(233, 196, 106, .07); }
body.mc .station.locked > summary { cursor: default; opacity: .75; }
body.mc .sdot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 26px; border: 2px solid var(--line-2); color: var(--faint); }
body.mc .sdot.done { background: var(--green); border-color: var(--green); color: #0f131c; }
body.mc .sdot.current { border-color: var(--amber); color: var(--amber); }
body.mc .station-body { padding: 16px 18px 18px; }
body.mc .kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; margin-bottom: 14px; font-size: 13.5px; }
body.mc .kv dt { color: var(--faint); font-size: 12.5px; padding-top: 1px; }
body.mc .kv dd { margin: 0; }
body.mc .goal-quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--cyan); background: var(--cyan-bg); border-radius: 0 9px 9px 0; color: var(--ink); }
body.mc .itemchips { display: flex; flex-wrap: wrap; gap: 6px; }
body.mc .ichip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 7px; padding: 2px 8px; font-size: 12.5px; }
body.mc .ichip b { font: 700 11.5px var(--mono); color: var(--rust-ink); }
body.mc .ichip.off { border-style: dashed; color: var(--faint); }
body.mc .ichip.off b { color: var(--faint); }
body.mc .tasks td { padding: 8px 10px; font-size: 13px; }
body.mc .tasks th { padding: 8px 10px; }
body.mc .hints { border-left: 2px solid rgba(233, 196, 106, .5); padding: 2px 0 2px 14px; margin: 14px 0; }
body.mc .hints h4 { margin: 0 0 6px; font-size: 12.5px; color: var(--amber); display: flex; gap: 8px; align-items: center; }
body.mc .hints ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
body.mc .hints li { margin: 3px 0; }
body.mc .inc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
body.mc .scanthumb { display: block; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #111622; position: relative; }
body.mc .scanthumb img { display: block; width: 100%; }
body.mc .scanthumb span { position: absolute; right: 8px; bottom: 8px; font: 600 10.5px var(--mono); background: rgba(10, 13, 20, .85); padding: 3px 7px; border-radius: 5px; color: var(--muted); }
body.mc .checks { list-style: none; margin: 0 0 12px; padding: 0; }
body.mc .checks li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
body.mc .checks li .lbl { min-width: 0; }
body.mc .checks li .val { margin-left: auto; font: 12px var(--mono); color: var(--muted); }
body.mc .checks .ok { color: var(--green); }
body.mc .checks .pend { color: var(--amber); }
body.mc .checks .out { color: var(--faint); }
body.mc .sub-h { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 4px 0 6px; }
body.mc .handover { margin: 12px 0 0; padding: 10px 14px; background: var(--bg-2); border-radius: 9px; color: var(--muted); font-size: 13px; border: 1px solid var(--line); }
body.mc .files { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
body.mc .decision { margin-top: 16px; }
body.mc .voice { border-radius: 11px; padding: 13px 15px; border: 1px solid var(--line); border-left-width: 3px; margin-top: 12px; }
body.mc .v-esra { border-left-color: var(--cyan); background: rgba(95, 208, 220, .05); }
body.mc .v-lect { border-left-color: var(--violet); background: var(--violet-bg); }
body.mc .v-priv { border-left-color: var(--amber); background: rgba(233, 196, 106, .05); border-style: dashed dashed dashed solid; }
body.mc .voice-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; margin-bottom: 2px; }
body.mc .v-esra .voice-label { color: var(--cyan-ink); }
body.mc .v-lect .voice-label { color: var(--violet-ink); }
body.mc .v-priv .voice-label { color: var(--amber); }
body.mc .voice-sub { font-size: 12px; color: var(--faint); margin-bottom: 10px; }
body.mc .choice { display: flex; gap: 8px; margin-bottom: 10px; }
body.mc .choice label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 9px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; background: var(--bg-2); }
body.mc .choice label.on { border-color: var(--cyan); background: var(--cyan-bg); }
body.mc .voice .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
body.mc .voice .row .hint { margin-right: auto; }
body.mc .side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; }
body.mc .side .panel { padding: 16px; }
body.mc .side h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
body.mc .voices-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
body.mc .voices-legend span { display: flex; align-items: center; gap: 8px; }
body.mc .vsw { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }
body.mc .vsw.e { background: var(--cyan); }
body.mc .vsw.l { background: var(--violet); }
body.mc .vsw.p { background: var(--amber); }
body.mc .vsw.t { background: var(--muted); }
body.mc .history { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow: auto; padding-right: 2px; }
body.mc .hmsg { border-radius: 10px; padding: 9px 12px; font-size: 13px; border: 1px solid var(--line); border-left-width: 3px; }
body.mc .hmsg .hm-head { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; font-size: 11.5px; color: var(--faint); margin-bottom: 4px; }
body.mc .hmsg .hm-head b { color: var(--ink); font-size: 12px; }
body.mc .hmsg p { margin: 0; color: var(--ink); }
body.mc .hmsg.team { border-left-color: var(--muted); background: var(--bg-2); }
body.mc .hmsg.esra { border-left-color: var(--cyan); background: rgba(95, 208, 220, .05); }
body.mc .hmsg.lect { border-left-color: var(--violet); background: var(--violet-bg); }
body.mc .hmsg.priv { border-left-color: var(--amber); background: rgba(233, 196, 106, .05); border-style: dashed dashed dashed solid; }
body.mc .composer .seg { width: 100%; margin-bottom: 10px; }
body.mc .composer .seg button { flex: 1; justify-content: center; padding: 6px 6px; font-size: 12.5px; }
body.mc .composer .about { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 12.5px; color: var(--faint); }
body.mc .composer .about select { height: 30px; font-size: 12.5px; width: auto; padding: 2px 8px; }
body.mc .sugg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
body.mc .sugg button { text-align: left; border: 1px dashed rgba(169, 155, 255, .45); background: transparent; color: var(--violet-ink); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; cursor: pointer; display: flex; gap: 8px; align-items: flex-start; }
body.mc .sugg button:hover { background: var(--violet-bg); }
body.mc .composer .vis { font-size: 12px; color: var(--faint); display: flex; gap: 7px; align-items: center; margin: 8px 0 10px; }
body.mc .locked-note { display: flex; gap: 10px; align-items: center; color: var(--faint); font-size: 13px; }
body.mc .mlist { display: grid; gap: 14px; }
body.mc .mcard { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
body.mc .mcard.active { border-left: 3px solid var(--rust); }
body.mc .mcard .mi { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--cyan); }
body.mc .mcard h2 { margin: 2px 0 6px; }
body.mc .mcard.muted-card { opacity: .78; }
@media (max-width: 1320px) {
  body.mc .need-row { grid-template-columns: 180px 120px minmax(0, 1fr) 56px 150px; gap: 12px; }
  body.mc .detail { grid-template-columns: minmax(0, 1fr) 350px; }
}
@media (max-width: 1100px) {
  body.mc .team-grid, body.mc .proposal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.mc .pchips { grid-template-columns: 1fr 1fr; }
  body.mc .content-grid { grid-template-columns: 1fr; }
  body.mc .detail { grid-template-columns: 1fr; }
  body.mc .side { position: static; }
}
@media (max-width: 760px) {
  body.mc .page { padding: 20px 16px 80px; }
  body.mc .page-head { flex-direction: column; align-items: flex-start; }
  body.mc .stats { grid-template-columns: 1fr 1fr; }
  body.mc .team-grid, body.mc .pchips, body.mc .proposal { grid-template-columns: 1fr; }
  body.mc .need-row { grid-template-columns: 1fr; }
}
body.mc .field .seg { align-self: flex-start; }
body.mc [role="dialog"]:focus { outline: none; }
body.mc .st-dash { color: #5d6a80; font-weight: 600; }
body.mc .table-head { display: flex; align-items: center; gap: 12px; margin: -4px 0 10px; font-size: 12.5px; color: var(--faint); }
body.mc .table-head select { height: 30px; width: auto; font-size: 12.5px; padding: 2px 8px; }

/* ---------- base.css element styles neutralised inside the lecturer area ---------- */
body.mc main { max-width: none; padding: 0; min-height: calc(100vh - 140px); margin: 0; }
body.mc button, body.mc .button { min-height: 0; line-height: 1.3; }
body.mc input, body.mc select, body.mc textarea { min-height: 0; }
body.mc textarea { min-height: 84px; }
body.mc details { margin-top: 0; }
body.mc summary { color: inherit; padding: 0; font-size: inherit; }
body.mc .panel { padding: 0; margin-bottom: 0; background: var(--surface); box-shadow: none; }
body.mc .panel.panel-pad { padding: 18px 20px; }
body.mc .panel.heat-card { padding: 18px 20px 16px; margin-bottom: 22px; }
body.mc .side .panel { padding: 16px; }
body.mc .toolbar { justify-content: flex-start; }
body.mc .field { margin-bottom: 0; }
body.mc .eyebrow { margin-bottom: 0; line-height: 1.5; }
body.mc .lead { line-height: 1.55; }
body.mc .hint { margin-bottom: 0; line-height: 1.45; }
body.mc .stat { flex-direction: row; }
body.mc .checks li { display: flex; grid-template-columns: none; border-bottom: 0; }
body.mc .order-box { padding: 0; background: none; border-left-width: 1px; border-color: var(--line-2); }
body.mc .table-wrap { margin: 0; padding: 0; overflow-x: auto; position: relative; }
body.mc .heat-legend { margin-top: 0; font: 12px var(--sans); }
body.mc code { color: var(--cyan-ink); font-size: 12px; }
body.mc .notice { max-width: 1200px; margin: 16px auto 0; }
body.mc p:last-child { margin-bottom: 0; }
body.mc ol.stepper { list-style: none; margin: 0; }
body.mc .btn > span { line-height: 1.2; }
body.mc .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
body.mc a.btn { color: var(--ink); }
body.mc a.btn.primary { color: #072027; }

/* ---------- page parts ---------- */
body.mc .ph-text { min-width: 0; }
body.mc .page-head .meta-row { margin-top: 10px; }
body.mc .empty-state { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); background: rgba(15, 19, 28, .3); }
body.mc .empty-state p { margin: 0; }
body.mc .empty-state .i { color: var(--faint); }
body.mc .todo.done-todo { border-color: rgba(123, 216, 143, .3); background: linear-gradient(90deg, rgba(123, 216, 143, .07), rgba(123, 216, 143, .02)); padding: 12px 18px; }
body.mc .todo.done-todo h2 { color: var(--green); }
body.mc .todo.done-todo p { display: flex; gap: 8px; align-items: center; margin: 0; }

body.mc .cell-box { width: 40px; }
body.mc .cell-menu { width: 46px; }
body.mc .menu-host { position: relative; }
body.mc .menu { top: 36px; right: 0; }
body.mc .mission-ref .menu-host { margin-left: 6px; }
body.mc .mission-ref .st { margin-left: auto; }
body.mc .pchip .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
body.mc .pchip .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.mc .pchip { padding-left: 10px; }
body.mc .member .who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mc .member .st { flex-shrink: 0; }
body.mc .team-card header .btn { flex-shrink: 0; }
body.mc .mcard { color: var(--ink); text-decoration: none; transition: border-color .15s; }
body.mc .mcard:hover { border-color: var(--line-2); text-decoration: none; }
body.mc .mcard .mc-body { display: flex; flex-direction: column; min-width: 0; }
body.mc .mcard h2 { font-size: 20px; }
body.mc .need-list { list-style: none; margin: 0; padding: 0; }
body.mc .need-empty { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
body.mc .need-empty .i { color: var(--green); }
body.mc .need .what .faint { white-space: nowrap; }
body.mc .cellwrap { display: inline-flex; flex-direction: column; align-items: flex-start; }
body.mc .small-person .av { width: 26px; height: 26px; flex-basis: 26px; font-size: 10px; }
body.mc .small-person b { font-weight: 500; font-size: 13px; }
body.mc .scroll-x { overflow-x: auto; position: relative; }
body.mc .inline-label { display: flex; gap: 8px; align-items: center; }
body.mc .heat-top, body.mc .tl-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
body.mc .heat-top h2, body.mc .tl-top h2 { margin: 0; }
body.mc .tl-top { padding: 16px 20px 4px; }
body.mc .tl-top select { width: 200px; }
body.mc .tl-filters { padding: 8px 20px 0; }
body.mc .tl-empty { padding: 16px 0; }
body.mc .tl.lect-act .ic { color: var(--violet); }
body.mc .tl.lect-act .txt { color: var(--violet-ink); }
body.mc .heat { min-width: 640px; }
body.mc .hc[tabindex]:focus-visible { outline-offset: 1px; }
body.mc .pb .acc { display: block; color: var(--faint); font-size: 12.5px; margin-top: 3px; }
body.mc .dod { padding-left: 0; list-style: none; margin: 0; }
body.mc .ref-box ul, body.mc .plain-list { margin: 6px 0 8px; padding-left: 18px; color: var(--muted); font-size: 13px; }
body.mc .ref-box li { margin: 3px 0; }
body.mc .gap-top { margin-top: 14px; }
body.mc .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
body.mc .estimate-note { margin-bottom: 0; }
body.mc .legacy .data-table th { background: var(--bg-2); padding: 10px 12px; }
body.mc .legacy .data-table td { padding: 10px 12px; }
body.mc .block { display: block; margin-top: 3px; }

/* ---------- overlays ---------- */
body.mc .o-title { min-width: 0; flex: 1; }
body.mc .o-head .o-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
body.mc .o-head .o-actions + .o-close { margin-left: 4px; }
body.mc .o-notice { margin: 12px 24px 0; padding: 10px 14px; border-radius: 9px; border: 1px solid #5fd0dc50; background: #163137; }
body.mc .o-notice p { margin: 0; color: #c5eef2; white-space: pre-wrap; }
body.mc .o-notice.error { background: #34231f; border-color: #e88c6855; }
body.mc .o-notice.error p { color: #ffccba; }
body.mc .dialog.confirm .o-body p { color: var(--ink); }
body.mc .title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
body.mc .title-row h2 { margin: 0; }
body.mc .stations { min-width: 0; }
body.mc .step-num { font: 600 11px var(--mono); }
body.mc .review-item { padding: 8px 0; border-top: 1px solid var(--line); }
body.mc .review-item p { margin: 6px 0 0; color: var(--ink); font-size: 13.5px; white-space: pre-wrap; }
body.mc .reviews { margin-top: 12px; }
body.mc .delivery { padding: 14px 0 6px; border-top: 1px solid var(--line); }
body.mc .delivery:first-of-type { border-top: 0; padding-top: 0; }
body.mc button.scanthumb { padding: 0; display: block; width: 100%; cursor: zoom-in; background: #111622; border: 1px solid var(--line-2); border-radius: 10px; }
body.mc .scanthumb img { width: 100%; height: auto; display: block; }
body.mc .scanthumb .zoom-hint { position: absolute; right: 8px; bottom: 8px; font: 600 10.5px var(--mono); background: rgba(10, 13, 20, .85); padding: 3px 7px; border-radius: 5px; color: var(--muted); }
body.mc .empty-thumb { min-height: 160px; display: grid; place-items: center; color: var(--faint); }
body.mc .empty-thumb span { position: static; }
body.mc .checks .bad { color: var(--rust-ink); }
body.mc .checks li .lbl b { font-family: var(--mono); font-size: 12px; }
body.mc .checks li .val { white-space: nowrap; }
body.mc .files-list li a { color: var(--ink); }
body.mc .row-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
body.mc .row-actions .hint { margin-right: auto; }
body.mc blockquote.quote { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--cyan); background: var(--cyan-bg); color: var(--ink); border-radius: 0 9px 9px 0; white-space: pre-wrap; font-size: 13.5px; }
body.mc .hmsg p { white-space: pre-wrap; }
body.mc .hmsg.question { box-shadow: 0 0 0 2px rgba(233, 196, 106, .35); }
body.mc .hmsg.sys { border-left-color: var(--faint); background: transparent; }
body.mc .hm-head .st { margin-left: auto; height: 20px; font-size: 11px; }
body.mc .history.tall { max-height: 52vh; min-height: 220px; }
body.mc .composer .btn { width: 100%; }
body.mc .composer .sugg[hidden] { display: none !important; }
body.mc .composer.as-esra { border-color: rgba(95, 208, 220, .35); }
body.mc .voice textarea { background: var(--bg); }
body.mc .inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
body.mc .inline-form select { width: 280px; max-width: 100%; }
body.mc .who-sub { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; }
body.mc .mission-ref.dim { opacity: .72; }
body.mc .mission-ref > .i { color: var(--cyan); }
body.mc .check.boxed { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; align-items: center; margin-bottom: 6px; }
body.mc .linklike { color: var(--cyan); cursor: pointer; text-decoration: underline; }
body.mc .grid2.tight { margin-top: 14px; align-items: end; }
body.mc .grid2.align-end { align-items: end; }
body.mc .tab-body { margin-top: 18px; }
body.mc .callout-line { display: flex; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 14px; }
body.mc code.secret { font-size: 13px; color: var(--amber); }
body.mc .warn-text { color: var(--rust-ink); }
body.mc .cell-select { width: 300px; }
body.mc .person.big { margin-bottom: 14px; }
body.mc .proposal .team-card header input { font-weight: 650; height: 32px; padding: 4px 8px; }
body.mc .pub-card.mission-card { display: block; background: none; border: 0; padding: 0; margin: 0; border-radius: 0; }
body.mc .pub-card .teams-panel > .toolbar, body.mc .pub-card .selection-tools { justify-content: space-between; margin-bottom: 10px; }
body.mc .pub-card h4 { font-size: 13px; margin: 0; }
body.mc .pub-card .assign-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; justify-content: space-between; margin-top: 14px; }
body.mc .pub-card .assign-actions .field { min-width: 260px; }
body.mc .pub-card .data-table th { background: var(--bg-2); }
body.mc .pub-card .mission-file { margin-top: 0; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
body.mc .pub-card .mission-file > summary { color: var(--cyan); font-weight: 600; }
body.mc .pub-card .mission-file[open] > summary { margin-bottom: 10px; }
body.mc .pub-card .rollout-panel { margin-top: 14px; }
body.mc .pub-card button { padding: 8px 13px; font-size: 13px; }
body.mc .pub-card .data-table td { padding: 8px 12px; vertical-align: middle; }
body.mc .pub-card .data-table td:nth-child(4) { white-space: nowrap; }
body.mc .pub-card .data-table td .hint { margin: 2px 0 0; font-size: 11.5px; }
body.mc .tl-more { padding: 6px 20px 16px; }

/* ---------- inbox ---------- */
body.mc .inbox { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 16px; align-items: start; }
/* Compact list: one line per conversation (title, needs reply, unread count, time). */
body.mc .inbox-list { display: flex; flex-direction: column; max-height: calc(100vh - 230px); overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
body.mc .tcard { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; }
body.mc .tcard:last-child { border-bottom: 0; }
body.mc .tcard:hover { background: rgba(95, 208, 220, .035); text-decoration: none; }
body.mc .tcard .tc-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
body.mc .tcard .tc-title b { font-weight: 600; color: var(--ink); }
body.mc .tcard .tc-kind { color: var(--faint); }
body.mc .tcard.unread .tc-title b, body.mc .tcard.unanswered .tc-title b { font-weight: 700; }
body.mc .tcard.unread .tc-kind, body.mc .tcard.unanswered .tc-kind { color: var(--muted); }
body.mc .tcard.unread { box-shadow: inset 3px 0 0 var(--amber); }
body.mc .tcard.active { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--cyan); }
body.mc .tc-time { flex: 0 0 auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
body.mc .tc-reply { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; color: var(--amber); font-size: 12px; white-space: nowrap; }
body.mc .tc-unread { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); font: 600 11px var(--mono); }
body.mc .tc-top { display: flex; align-items: center; gap: 8px; }
body.mc .kind { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
body.mc .kind-esra { color: var(--cyan-ink); } body.mc .kind-lecturer_team, body.mc .kind-lecturer_private { color: var(--violet-ink); }
body.mc .tc-title { font-size: 14px; }
body.mc .tc-last { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.mc .tc-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 3px; }
body.mc .tc-tags:empty { display: none; }
body.mc .inbox-thread { padding: 16px 18px; min-height: 380px; }
body.mc .thread-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
body.mc .thread-head > div { flex: 1; min-width: 0; }
body.mc .thread-head h2 { margin: 2px 0 4px; }
body.mc .reply { margin-top: 14px; }

/* ---------- access cards ---------- */
body.mc .cards-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
body.mc .cards-sheet .access-card { border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px 16px; background: var(--bg-2); break-inside: avoid; margin: 0; }
body.mc .ac-head { display: flex; gap: 8px; align-items: center; font: 600 10.5px var(--mono); letter-spacing: .12em; color: var(--muted); }
body.mc .ac-mark { width: 14px; height: 14px; border: 2px solid var(--rust); border-radius: 50%; flex: 0 0 14px; }
body.mc .cards-sheet h3 { margin: 10px 0 0; font-size: 16px; }
body.mc .ac-team { margin: 0 0 8px; font-size: 13px; }
body.mc .cards-sheet dl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 3px 10px; margin: 0; font-size: 13px; }
body.mc .cards-sheet dt { color: var(--faint); }
body.mc .cards-sheet dd { margin: 0; overflow-wrap: anywhere; }
body.mc .ac-note { margin: 8px 0 0; font-size: 11.5px; color: var(--faint); }
.print-area { display: none; }
@media print {
  body.printing > *:not(#print-area) { display: none !important; }
  body.printing { background: #fff !important; }
  body.printing #print-area { display: block; }
  body.printing .cards-sheet { grid-template-columns: 1fr 1fr; gap: 6mm; }
  body.printing .cards-sheet .access-card { background: #fff; border: 1px dashed #777; }
  body.printing #print-area * { color: #000 !important; }
  body.printing .ac-mark { border-color: #e0602a; }
}

/* ---------- responsive additions ---------- */
@media (max-width: 1320px) {
  body.mc .prog th, body.mc .prog td { padding: 10px 9px; }
  body.mc .prog td:first-child { padding-left: 14px; }
}
@media (max-width: 1100px) {
  body.mc .inbox { grid-template-columns: 1fr; }
  body.mc .inbox-list { max-height: none; }
  body.mc .stepper { overflow-x: auto; }
}
@media (max-width: 760px) {
  body.mc .tabs { overflow-x: auto; }
  body.mc .need-row { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 16px; }
  body.mc .need .what { grid-column: 1 / -1; white-space: normal; }
  body.mc .need-go { justify-self: start; grid-column: 1 / -1; }
  body.mc .stepper { grid-template-columns: repeat(7, 96px); }
  body.mc .detail { padding: 14px; }
  body.mc .o-head { padding: 14px 16px; flex-wrap: wrap; }
  body.mc .o-body { padding: 14px 16px; }
  body.mc .o-foot { padding: 12px 16px; flex-wrap: wrap; }
  body.mc .o-notice { margin: 10px 16px 0; }
  body.mc .grid2 { grid-template-columns: 1fr; }
  body.mc .span2 { grid-column: auto; }
  body.mc .kv { grid-template-columns: 1fr; gap: 4px; }
  body.mc .inc { grid-template-columns: 1fr; }
  body.mc .cards-sheet { grid-template-columns: 1fr; }
  body.mc .toolbar .search { flex: 1 1 100%; }
  body.mc .mcard { grid-template-columns: 1fr; gap: 10px; }
  body.mc .mcard .mi { display: none; }
  body.mc .bulk { flex-wrap: wrap; }
  body.mc h1 { font-size: 27px; }
  body.mc .stats { gap: 8px; }
  body.mc .watch { flex-wrap: wrap; }
  body.mc .dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  body.mc .todo li { flex-wrap: wrap; }
  body.mc .pchip select { width: 130px; }
  body.mc .no-team-head { flex-wrap: wrap; }
  body.mc .no-team-head .spacer { display: none; }
  body.mc .name-edit input { width: 100%; }
  body.mc .cell-select { width: auto; }
  body.mc .head-actions { justify-content: flex-start; }
  body.mc .needs-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  body.mc .tabs a { white-space: nowrap; padding: 10px 10px; }
  body.mc .o-head { position: relative; padding-right: 56px; }
  body.mc .o-head .o-close { position: absolute; top: 12px; right: 12px; margin: 0; }
  body.mc .o-head .o-title { flex-basis: 100%; }
  body.mc .o-head .o-actions { margin-left: 0; justify-content: flex-start; }
  body.mc .t-members { gap: 6px 12px; }
  body.mc .t-members .person { font-size: 12.5px; }
  body.mc .t-members .av { width: 24px; height: 24px; flex-basis: 24px; font-size: 9.5px; }
}

/* ---------- members: recorded activity per person (estimate, lecturers only) ---------- */
body.mc .members-activity .estimate-tag { margin-left: auto; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
  border: 1px dashed var(--line-2); border-radius: 6px; padding: 2px 7px; }
body.mc .members-note { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; border-radius: 9px; background: var(--surface-2); color: var(--muted); }
body.mc .members-note .i { flex: 0 0 auto; color: var(--cyan); margin-top: 2px; }
body.mc .member-acts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
body.mc .member-act { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr); gap: 14px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
body.mc .member-act .ma-who { display: flex; gap: 10px; align-items: center; min-width: 0; }
body.mc .member-act .ma-body { min-width: 0; }
body.mc .member-act .ma-counts { margin: 0 0 6px; color: var(--muted); }
body.mc .member-act .ma-quiet { display: flex; gap: 6px; align-items: center; margin: 0 0 4px; color: var(--amber); font-size: 13px; }
body.mc .member-act .ma-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.mc .mstrip { display: inline-flex; gap: 2px; }
body.mc .mday { width: 11px; height: 14px; border-radius: 2px; background: var(--surface-3); opacity: .55; }
body.mc .mday.l1 { background: #3d5f73; opacity: 1; } body.mc .mday.l2 { background: #4f8ea3; opacity: 1; } body.mc .mday.l3 { background: #5fd0dc; opacity: 1; }
body.mc .watch-people { padding: 11px 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; gap: 10px; align-items: flex-start;
  background: rgba(15, 19, 28, .35); font-size: 13px; }
body.mc .watch-people .lbl { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-right: 4px; white-space: nowrap; }
@media (max-width: 760px) { body.mc .watch-people { flex-wrap: wrap; } }
body.mc .watch-people .wp-text { display: flex; flex-direction: column; gap: 3px; }
body.mc .need.non-blocking .need-type { opacity: .9; }
body.mc .need-type.type-handin, body.mc .need-type.type-failed { white-space: nowrap; }
body.mc .fam-prog td { vertical-align: middle; }
body.mc .handin-card .checks li, body.mc .delivery .checks li { align-items: flex-start; }
@media (max-width: 760px) { body.mc .member-act { grid-template-columns: 1fr; gap: 6px; } }
body.mc .type-changes { color: var(--amber); }
body.mc .needs .needs-note { padding: 8px 20px 10px; margin: 0; }
body.mc .member-act .ma-who .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
body.mc .members-activity .estimate-tag-row { display: flex; justify-content: flex-end; margin: 0 0 8px; }
body.mc .handin-card .task-why, body.mc .handin-card .hint { margin: 2px 0 0; }

/* ---------- calm lecturer views (customer feedback 2026-10-27/28: less is more) ---------- */
/* Plain text states; colour and an icon only where something needs attention. */
body.mc .ptext { white-space: nowrap; }
body.mc .ptext > .i { margin-right: 5px; vertical-align: -2px; }
body.mc .ptext .pline { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
body.mc .att-esra, body.mc .att-quiet { color: var(--amber); }
body.mc .att-rework { color: var(--rust-ink); }
body.mc .prog td { font-size: 13px; }
body.mc .prog tbody th.teamname { display: table-cell; font: 650 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: none; white-space: nowrap; padding: 11px 12px 11px 18px; vertical-align: middle; }
body.mc .prog td .faint { white-space: nowrap; }
body.mc .prog th, body.mc .prog td { padding-left: 10px; padding-right: 10px; }
body.mc .prog td.go { width: 30px; padding: 0 12px 0 0; text-align: right; }
body.mc .prog thead th:first-child { padding-left: 18px; }
body.mc .prog tbody tr:last-child th { border-bottom: 0; }
body.mc .mc-go { color: var(--faint); }
body.mc .mcard:hover .mc-go { color: var(--cyan); }
body.mc .needs-head { padding: 14px 20px 10px; }
body.mc p.need-empty { margin: 0; }
body.mc .need-row .age { justify-self: end; }

/* One estimate note per view: a sentence and a collapsed "About these numbers". Same pattern for other notes. */
body.mc details.about { margin: 12px 0 0; color: var(--faint); font-size: 12.5px; }
body.mc details.about > summary { list-style: none; cursor: pointer; display: inline; }
body.mc details.about > summary::-webkit-details-marker { display: none; }
body.mc details.about .about-lead { margin-right: 10px; }
body.mc details.about .about-more { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(95, 208, 220, .45); text-underline-offset: 3px; white-space: nowrap; }
body.mc details.about .about-more::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
body.mc details.about[open] .about-more::after { transform: translateY(0) rotate(-135deg); }
body.mc details.about .about-body { margin-top: 8px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line-2); max-width: 780px; }
body.mc details.about .about-body p, body.mc details.about .about-body li { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; }
body.mc details.about .about-body ul { margin: 0 0 6px; padding-left: 18px; }
body.mc details.about .legend { margin: 6px 0 0; gap: 6px 16px; }
body.mc .heat-card details.about { margin: 6px 0 4px; }
body.mc .members-activity details.about { margin: 0 0 10px; }
body.mc .privacy-note { margin-top: 30px; }

/* Teams page */
body.mc #teams-summary { margin: 8px 0 0; }
body.mc .team-card header { padding: 12px 16px 10px 18px; }
body.mc .team-card h3 a { color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
body.mc .team-card h3 a .i { color: var(--faint); }
body.mc .team-card h3 a:hover, body.mc .team-card h3 a:hover .i { color: var(--cyan); text-decoration: none; }
body.mc .name-line { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
body.mc .member .ptext { margin-left: auto; font-size: 12px; flex-shrink: 0; }
body.mc .no-team h2 { font-size: 15px; margin: 0 0 12px; }
body.mc .head-actions .menu-host .btn .i { margin-left: -2px; }
body.mc .head-actions .menu { min-width: 220px; }

/* Team drawer */
body.mc .dmembers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
body.mc .dmember { display: flex; align-items: center; gap: 12px; padding: 9px 0 9px 2px; border-bottom: 1px solid var(--line); }
body.mc .dmember .who { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
body.mc .dmember .who-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.mc .dmember .ptext { font-size: 12px; }
body.mc .sm-form, body.mc .add-member { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
body.mc .sm-form label { font-weight: 600; font-size: 13px; min-width: 96px; }
body.mc .sm-form select, body.mc .add-member select { width: 220px; height: 32px; font-size: 13px; padding: 4px 8px; }
body.mc .add-member { margin-top: 10px; }
body.mc .sm-form { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
body.mc .dmissions { list-style: none; margin: 0; padding: 0; }
body.mc .dmission { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 5px 0; font-size: 13.5px; }
body.mc .dmission.dim > span:first-child { color: var(--muted); }
body.mc details.fold { border-top: 1px solid var(--line); padding-top: 12px; }
body.mc details.fold > summary { list-style: none; display: flex; align-items: baseline; gap: 12px; cursor: pointer; }
body.mc details.fold > summary::-webkit-details-marker { display: none; }
body.mc details.fold > summary h3 { font: 600 11px var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin: 0; }
body.mc details.fold > summary::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(-45deg); align-self: center; }
body.mc details.fold[open] > summary::after { transform: rotate(45deg); }
body.mc details.fold[open] > summary { margin-bottom: 12px; }
body.mc details.fold .inline-form .btn.danger { margin-left: auto; }

/* Team detail (mission page) */
body.mc ul.t-members { list-style: none; margin: 8px 0 0; padding: 0; }
body.mc .t-members .no-sm { display: inline-flex; align-items: center; font-size: 13px; }
body.mc .station > summary .sum-sub .ptext { white-space: normal; }
body.mc .station > summary .chev { margin-left: auto; }
body.mc .sys-line { display: flex; gap: 10px; margin: 2px 0; padding: 2px 4px 2px 15px; color: var(--faint); font-size: 12px; line-height: 1.45; }
body.mc .sys-line .sys-at { white-space: nowrap; }
body.mc .review-item > b { font-size: 13px; }

/* Inbox */
body.mc .inbox-thread .thread-head { margin-bottom: 14px; }
body.mc .voice.reply .row { margin-top: 8px; }
@media (max-width: 760px) {
  body.mc .need-row .age { justify-self: start; }
}
body.mc .checks-fold { margin: 4px 0 8px; }
body.mc .checks-fold[open] > summary { display: block; margin-bottom: 6px; }
body.mc .older-handin { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
body.mc .older-handin > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
body.mc .composer .sugg-fold { margin: 0 0 10px; }
body.mc .composer .sugg-fold[open] > summary { display: block; margin-bottom: 8px; }
body.mc .composer .sugg-fold .sugg { margin-bottom: 0; }
/* One quiet line on the Missions page while the privacy notice is a draft (missions.js privacyDraftLine). */
body.mc .quiet-line { display: flex; align-items: center; gap: 8px; margin: -8px 0 20px; color: var(--faint); font-size: 13.5px; }
body.mc .quiet-line .i { color: var(--faint); }
body.mc .dmember .who-sub[data-privacy-pending] { display: block; margin-top: 2px; }
