/* Vardhaman College of Engineering — brand colours sampled from the logo:
   navy + slate shield, blush rule. Use --slate-dark for small text on or under slate. */
:root {
  --navy: #323e72;
  --navy-dark: #232c54;
  --navy-tint: #eceef6;
  --navy-tint2: #f5f6fa;
  --slate: #70888e;
  --slate-dark: #4f6267;
  --slate-tint: #eef2f3;
  --blush: #e8a8a6;
  --blush-dark: #a04a47;
  --blush-tint: #fdf1f0;

  --ink: #1c2430;
  --muted: #667085;
  --line: #e2e6ec;
  --bg: #f4f6f9;
  --card: #ffffff;
  --green: #218a4e;
  --green-tint: #e6f4ec;
  --amber: #b7791f;
  --red: #c53434;
  --red-tint: #fdeceb;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-lg: 0 4px 16px rgba(16,24,40,.10);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
small { font-size: .82em; }

/* ---- Header ---- */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  position: sticky; top: 0; z-index: 20;
}
/* Lined up with the page's content below. */
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 8px 18px; min-height: 64px; display: flex; align-items: center; gap: 18px; }
.topbar .brand { flex: none; display: flex; align-items: center; gap: 12px; color: var(--navy-dark); }
.topbar .brand:hover { text-decoration: none; }
.topbar .brand img { display: block; height: 44px; width: auto; }
.topbar .brand-text { border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.3; }
.topbar .brand-text strong { display: block; font-size: 14px; }
.topbar .brand-text small { display: block; font-size: 12px; color: var(--muted); }
/* Administrators' longer menu needs the room. */
.topbar-inner.many-links .brand-text { display: none; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav a { color: var(--ink); padding: 7px 10px; border-radius: 7px; font-weight: 500; white-space: nowrap; }
.topbar nav a:hover { background: var(--navy-tint2); text-decoration: none; }
.topbar nav a.active { background: var(--navy-tint); color: var(--navy-dark); font-weight: 600; }
.topbar .spacer { flex: 1; }
.topbar .who { flex: none; display: flex; align-items: center; gap: 10px; }
.topbar form .btn { white-space: nowrap; }
.topbar .avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-dark); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; }
.topbar .who-text { line-height: 1.3; min-width: 0; }
.topbar .who-text strong { display: block; font-size: 13.5px; white-space: nowrap; }
.topbar .who-text small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }

.wrap { max-width: 1080px; margin: 22px auto; padding: 0 18px; }
.crumb { margin: 0 0 12px; font-size: 13px; }
.page-title { font-size: 22px; margin: 0 0 4px; color: var(--navy-dark); }
.page-sub { color: var(--muted); margin: 0 0 20px; }

/* ---- Cards ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
/* Side by side in a grid, the grid's gap spaces them instead. */
.grid > .card + .card, .stat-grid > .card + .card { margin-top: 0; }
.card-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display:flex; align-items:center; gap:10px; }
.card-head h2, .card-head h3 { margin: 0; font-size: 15px; color: var(--navy-dark); }
.card-body { padding: 18px; }

.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- Stat / part cards ---- */
.part-card { display:flex; flex-direction: column; }
.part-card .num { font-size: 26px; font-weight: 700; color: var(--navy); }
.part-card .of { color: var(--muted); font-size: 13px; }
.progress { height: 7px; background: #e7ebf1; border-radius: 20px; overflow: hidden; margin-top: 10px; }
.progress > span { display:block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--slate)); }

/* ---- Badges ---- */
.badge { display:inline-flex; align-items:center; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge.open { background: var(--green-tint); color: var(--green); }
.badge.frozen { background: var(--red-tint); color: var(--red); }
.badge.warn { background: #fdf3e2; color: var(--amber); }
.badge.info { background: var(--navy-tint); color: var(--navy); }
.badge.grey { background: #eef0f3; color: var(--muted); }

/* ---- Tables ---- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); background: var(--navy-tint2); }
tr:last-child td { border-bottom: none; }
.text-right { text-align: right; }
.mono { font-variant-numeric: tabular-nums; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #fff; border: none;
  padding: 9px 15px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: background .12s ease;
}
.btn:hover { background: var(--navy-dark); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--navy-dark); border: 1px solid #cdd0de; }
.btn.secondary:hover { background: var(--navy-tint2); }
.btn.small { padding: 6px 11px; font-size: 12px; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.danger { background: var(--red); }
.btn.danger:hover { background: #a52929; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.iconbtn { background:#f4f5f7; border:1px solid var(--line); color: var(--muted); width:26px; height:26px; border-radius:6px; cursor:pointer; font-size:12px; line-height:1; }
.iconbtn:hover { background: var(--red-tint); color: var(--red); border-color:#f2c9c7; }

/* ---- Forms ---- */
label { font-weight: 600; font-size: 13px; display:block; margin-bottom: 4px; color:#333c48; }
input[type=text], input[type=number], input[type=email], input[type=password],
input[type=date], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #ccd3dd; border-radius: 7px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(50,62,114,.25); border-color: var(--navy); }
select { cursor: pointer; }
.field { margin-bottom: 12px; }
.field.inline { display:flex; align-items:center; gap: 8px; }
.field.inline input[type=checkbox] { width:auto; width:16px; height:16px; }
.field-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.field-grid .field.full { grid-column: 1 / -1; }
.help { color: var(--muted); font-size: 12px; margin-top: 3px; }
.help.note { background: var(--navy-tint2); border-left: 3px solid var(--navy); padding: 8px 11px; border-radius: 6px; margin: 0 0 12px; }
.help.evaluator-hint { background: var(--slate-tint); border-left: 3px solid var(--slate); padding: 7px 11px; border-radius:6px; color:var(--slate-dark); margin-top:10px; }
.row-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---- Part header + score chip ---- */
.part-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:14px; }
.score-chip { display:flex; align-items:center; gap:20px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 16px; box-shadow:var(--shadow); }

/* ---- Self + evaluator marks ---- */
.marks { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.mark { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.mark-label { font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); }
.mark-value { font-weight:800; color:var(--navy); font-size:15px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.mark-value small { color:var(--muted); font-weight:600; font-size:12px; }
.mark-value.big { font-size:22px; }
td .mark-value { font-size:inherit; font-weight:inherit; color:inherit; }
.mark-note { display:block; font-size:11.5px; font-weight:400; color:var(--blush-dark); }
.badge.not-done { background:var(--slate-tint); color:var(--slate-dark); }
.criterion > summary .marks { flex:none; flex-wrap:nowrap; }
.criterion > summary .mark { min-width:90px; }
.criterion > summary .mark-self { min-width:132px; }
.criterion > summary .mark-evaluator { min-width:128px; }
.criterion > summary .entry-status { min-width:86px; text-align:right; }
.marks-box { display:flex; align-items:center; gap:6px; color:var(--muted); }
.marks-box small { font-size:12px; font-weight:600; white-space:nowrap; }
.marks-box input[type=number] { width:78px; padding:4px 6px; font-size:14px; font-weight:800; color:var(--navy); font-variant-numeric:tabular-nums; }
.mark-formula { font-size:11px; color:var(--muted); white-space:nowrap; }
.mark-formula:empty { display:none; }

/* ---- Part navigation ---- */
.partnav { display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.partnav-item { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:9px; padding:8px 13px; color:var(--ink); font-weight:600; font-size:13px; }
.partnav-item:hover { text-decoration:none; border-color:#c5c9d8; }
.partnav-item.active { background:var(--navy); color:#fff; border-color:var(--navy); box-shadow:var(--shadow); }
.partnav-item.active .pn-score { color:#dfe2ee; }
.pn-code { letter-spacing:.2px; }
.pn-score { font-size:11.5px; color:var(--muted); font-variant-numeric:tabular-nums; }
.pn-dot { width:8px; height:8px; border-radius:50%; }
.pn-dot.on { background:var(--green); box-shadow:0 0 0 3px rgba(33,138,78,.15); }
.pn-dot.off { background:#cbd2db; }

/* ---- Criterion cards ---- */
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing:.6px; color: var(--navy); margin: 24px 0 10px; font-weight: 700; }
.criterion { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background:#fff; box-shadow: var(--shadow); overflow:hidden; }
.criterion > summary, .criterion .chead {
  padding: 13px 16px; display:flex; align-items:center; gap:12px; cursor: pointer; list-style: none;
}
.criterion > summary:hover { background: var(--navy-tint2); }
.criterion[open] > summary { border-bottom: 1px solid var(--line); }
.criterion > summary::-webkit-details-marker { display:none; }
.criterion .code { font-weight: 700; color: #fff; background:var(--navy); font-size: 12px; min-width: 54px; text-align:center; padding:3px 6px; border-radius:6px; }
.criterion .ctitle { flex: 1; font-weight: 600; }
.criterion .rubric { color: var(--muted); font-size: 12px; font-weight:400; margin-top:2px; }
.criterion .cbody { padding: 14px 16px 16px; }

/* itemised tables */
.table-scroll { overflow-x:auto; }
.items-table { margin-bottom:10px; }
.items-table th { background:#fff; border-bottom:2px solid var(--line); font-size:11px; padding:4px 8px; }
.items-table td { padding:6px 8px; border-bottom:1px dashed var(--line); }
.items-table .rownum { color:var(--muted); width:28px; text-align:center; font-variant-numeric:tabular-nums; }
.items-table input, .items-table select { padding:6px 8px; font-size:13px; }
/* A dropdown keeps room for its longest choice, e.g. "Q1 — 25 pts", however many columns share the row. */
.items-table select { min-width:max-content; }
/* Rows that also carry dates and documents would run off the card, so there a very long
   choice is cut short (the open list still shows it in full). */
.items-table.compact select { min-width:0; width:max-content; max-width:16rem; }
/* Fields that share a column (e.g. a course's title, code, type, programme, year, branch and
   section) sit in a small labelled grid, so the row still fits the card. */
.items-table .stack { display:grid; grid-template-columns:repeat(4, minmax(4.5rem, 1fr)); gap:6px 8px; min-width:24rem; }
.items-table .stack label { display:flex; flex-direction:column; gap:2px; margin:0; }
.items-table .stack label > span { font-size:10.5px; text-transform:uppercase; letter-spacing:.3px; color:var(--muted); }
.items-table .stack input, .items-table .stack select { min-width:0; width:100%; }
.items-table .stack .f-course { grid-column:1 / -1; }
.items-table .stack .f-course_code, .items-table .stack .f-course_type { grid-column:span 2; }
.items-table .stack-co-attainment-analysis-and-action-taken { grid-template-columns:repeat(2, minmax(10rem, 1fr)); }
.items-table .stack textarea { min-width:0; width:100%; }
.items-table .stack .f-action_taken { grid-column:1 / -1; }
.items-table .dates { display:grid; grid-template-columns:auto 1fr; gap:4px 6px; align-items:center; }
.items-table .dates label { display:contents; font-size:12px; color:var(--muted); }
.items-table .dates input { min-width:130px; }
.items-table .duration { grid-column:2; font-weight:600; white-space:nowrap; }
.items-table .duration.bad { color:var(--red); font-weight:400; white-space:normal; }

/* evidence */
.evidence-block { margin-top:14px; padding-top:12px; border-top:1px dashed var(--line); }
.evidence-label { font-size:12px; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); }
.evidence-list { list-style: none; padding: 0; margin: 6px 0 0; }
.evidence-list li { display:flex; align-items:center; gap:6px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.evidence-list li:last-child { border-bottom: none; }
.upload-row { display:flex; gap:8px; align-items:center; margin-top:10px; flex-wrap:wrap; }
.upload-row input[type=file] { flex: 0 1 auto; }
.upload-row input[type=text] { flex:1; min-width:160px; }
.criterion { scroll-margin-top:80px; }
.items-table textarea { padding:6px 8px; font-size:13px; min-width:160px; }
.items-table .follow-label { font-weight:600; min-width:130px; padding-top:12px; word-break:break-word; }
.items-table .row-docs { min-width:250px; }
.items-table .row-docs input[type=file] { padding:3px 6px; font-size:12px; }
.row-doc { display:flex; align-items:center; gap:8px; font-size:13px; margin-bottom:4px; word-break:break-word; }
.row-doc-missing { font-size:12px; color:var(--blush-dark); margin-bottom:4px; }

/* submit bar */
.submit-bar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  margin-top:20px; background:#fff; border:1px solid var(--line); border-left:4px solid var(--slate);
  border-radius:var(--radius); padding:16px 18px; box-shadow:var(--shadow); }

/* faculty roster filter + actions */
.filter-row { display:flex; gap:8px; align-items:center; margin-bottom:14px; flex-wrap:wrap; }
.filter-row input[type=text] { flex:1; min-width:180px; max-width:340px; }
.filter-row select { width:auto; min-width:150px; }
td.actions { white-space:nowrap; }
td.actions .btn { margin-left:4px; }
details.card > summary { list-style:none; }
details.card > summary::-webkit-details-marker { display:none; }

/* sticky Save-all bar */
.saveall-bar { position:fixed; left:50%; transform:translateX(-50%); bottom:18px; z-index:30;
  width:max-content; max-width:calc(100vw - 24px); display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line);
  border-radius:40px; padding:9px 10px 9px 20px; box-shadow:var(--shadow-lg); }
.saveall-bar #dirtymsg { font-size:13px; font-weight:600; }
.saveall-bar #dirtymsg.saved { color:var(--green); }
.saveall-bar #dirtymsg.unsaved { color:var(--blush-dark); }
.saveall-bar .btn { border-radius:30px; }

/* messages */
.messages { list-style: none; padding: 0; margin: 0 0 16px; }
.messages li { padding: 11px 14px; border-radius: 9px; margin-bottom: 8px; font-weight: 500; border:1px solid transparent; }
.messages .success { background: var(--green-tint); color: var(--green); border-color:#bfe3cc; }
.messages .error { background: var(--red-tint); color: var(--red); border-color:#f2c9c7; }
.messages .info, .messages .warning { background: var(--navy-tint); color: var(--navy-dark); border-color:#cdd1e4; }

.frozen-note { background: var(--blush-tint); border:1px solid #f3cfce; color:var(--blush-dark); padding:11px 15px; border-radius:9px; margin-bottom:16px; }

/* auth */
.auth-wrap { max-width: 400px; margin: 56px auto; }
.auth-wrap .brand-big { text-align:center; margin-bottom: 18px; }
.auth-wrap .brand-big img { display:block; width: 240px; max-width: 100%; height: auto; margin: 6px auto 14px; }
.auth-wrap .brand-big .page-sub { margin: 0; font-weight: 600; color: var(--navy-dark); }
.spacer { flex:1; }

/* ---- Faculty dashboard ---- */
.muted { color: var(--muted); }
.btn.large { padding: 11px 18px; font-size: 14px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.eyebrow { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.dash-title { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--navy-dark); }
.dash-title .badge { font-size: 12px; }
.dash-meta { margin: 6px 0 0; color: var(--muted); }
.dash-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-actions form { display: flex; }

.stepper { list-style: none; margin: 0 0 20px; padding: 14px 18px; display: flex; gap: 12px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.stepper .step-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #c9cfdb; background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.stepper li.done, .stepper li.current { color: var(--ink); }
.stepper li.current { font-weight: 700; }
.stepper li.done .step-dot, .stepper li.current .step-dot { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px; }
.stat-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #344054; }
.stat-value { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--navy-dark); font-variant-numeric: tabular-nums; }
.stat-value small { font-size: 15px; font-weight: 500; color: var(--muted); }
.stat-value.muted { color: #98a2b3; }
.stat-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.stat .progress { margin-top: 14px; height: 5px; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.dash-grid .card-head h2 { font-size: 16px; }
.part-rows { list-style: none; margin: 0; padding: 0; }
.part-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 84px 84px auto; grid-template-areas: "letter info self eval action";
  align-items: center; gap: 16px; padding: 18px; }
.part-row + .part-row { border-top: 1px solid var(--line); }
.part-letter { grid-area: letter; width: 38px; height: 38px; border-radius: 8px; background: var(--navy-tint); color: var(--navy-dark); display: grid; place-items: center; font-size: 17px; font-weight: 700; }
.part-info { grid-area: info; min-width: 0; }
.part-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.part-name h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.part-progress { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.part-progress .progress { flex: 1; margin: 0; height: 5px; }
.part-count { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.part-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.part-mark { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.part-mark strong { font-size: 14.5px; color: var(--navy-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.part-mark strong small { font-size: 12px; font-weight: 500; color: var(--muted); }
.part-mark strong.muted { color: #98a2b3; }
.part-self { grid-area: self; }
.part-eval { grid-area: eval; }
.part-action { grid-area: action; justify-self: end; white-space: nowrap; }

.dash-side .card + .card { margin-top: 14px; }
.side-card { padding: 16px 18px; }
.side-card h2 { margin: 0 0 12px; font-size: 15px; color: var(--navy-dark); }
.side-card p { margin: 0 0 8px; font-size: 13px; color: #344054; }
.marks-bar { display: flex; gap: 2px; height: 8px; border-radius: 20px; overflow: hidden; }
.marks-legend { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; color: #475467; }
.marks-legend li { display: flex; align-items: center; gap: 7px; }
.marks-legend strong { margin-left: auto; color: var(--navy-dark); font-variant-numeric: tabular-nums; }
.marks-legend .swatch { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.seg-A { background: var(--navy-dark); }
.seg-B { background: #4b5aa6; }
.seg-C { background: #8d98cf; }
.seg-D { background: #c3c9e7; }
.checklist { margin: 0; padding-left: 18px; font-size: 13px; color: #344054; }
.checklist li + li { margin-top: 8px; }
.help-card { background: var(--navy-tint); border-color: transparent; box-shadow: none; }
.help-link { font-size: 13px; font-weight: 600; color: var(--navy-dark); }

@media (max-width: 1120px) {
  .topbar .brand-text { display: none; }
}

@media (max-width: 1000px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
  .topbar { position: static; }
  .topbar-inner { flex-wrap: wrap; padding: 8px 16px; gap: 10px 16px; }
  .topbar nav { order: 5; width: 100%; }
  .topbar .who-text { display: none; }
  .dash-title { font-size: 23px; }
  .dash-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .dash-actions .btn { width: 100%; justify-content: center; }
  .stepper { flex-direction: column; gap: 10px; }
  .stat-grid { grid-template-columns: 1fr; }
  .part-row { grid-template-columns: 38px 1fr 1fr; grid-template-areas: "letter info info" ". self eval" ". action action"; gap: 12px 14px; padding: 16px; }
  .part-mark { align-items: flex-start; text-align: left; }
  .part-action { justify-self: stretch; justify-content: center; }
  .criterion > summary { flex-wrap: wrap; }
  .criterion > summary .entry-status { min-width: 0; }
  .items-table input[type=text] { min-width: 150px; }
  .items-table input[type=number] { min-width: 76px; }
  .criterion > summary .ctitle { flex-basis: 60%; }
  .score-chip { flex-wrap: wrap; }
}

@media print {
  .topbar, .no-print, .partnav, .submit-bar { display: none !important; }
  body { background: #fff; }
  .card, .criterion { box-shadow: none; border: 1px solid #ccc; }
}
