/* The redesigned Admin (admin.js), in the new look only. It builds on the preview's parts in styles.css
   (.ib-card, .ib-checks, .edit-tabs ...) and the site's tokens (--surface, --line, --accent ...). */
.ad-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ad-top h1 { margin-bottom: 0; }
.ad-top > a { text-decoration: none; }
.ad-top > a:hover { text-decoration: underline; }
.ad-main > .ib-head:first-child h2, .ad-main > h2:first-child { margin-top: 0; }
.ad-main .ib-head { margin-bottom: 12px; }
.ad-item.ad-off { display: none; }
.ad-chips { margin: 0 0 14px; }
@media (min-width: 761px) { .ad-main .chips.ad-chips { flex-wrap: wrap; overflow: visible; } }

/* A card's parts. */
.ad-item .ib-main { min-width: 0; }
.ad-item .ib-kind .tag { margin-left: 4px; vertical-align: 1px; }
.ad-item .ib-main h3 a { color: inherit; text-decoration: none; }
.ad-item .ib-main h3 a:hover { text-decoration: underline; }
.ad-item .ib-body > :last-child { margin-bottom: 0; }
.ad-item .ib-body p.small { font-size: 14px; }
.ad-item .ib-acts { align-self: start; }
.ad-item .ib-acts > button { white-space: nowrap; }
.ad-item .more-pop a[role="button"] { cursor: pointer; }
.ad-photo { display: block; max-width: 360px; border-radius: 12px; overflow: hidden; background: var(--surface-2); line-height: 0; }
.ad-photo img { width: 100%; height: auto; display: block; }
.ad-photo .fwrap { display: block; }
.ad-photo.sm { max-width: 200px; }
/* Boxes removed as not faces (Activity → Tags by member): small photos in rows that wrap. */
.ad-fgone { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ad-fgone p { margin: 6px 0 0; }
.ad-por { display: block; width: 96px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.ad-por img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-media-col { flex-direction: column; align-items: stretch; }
.ad-ticks { flex: 1 1 240px; min-width: 0; align-self: start; }
.ad-ticks li { padding: 6px 0 !important; }
.ad-ticks li:last-child { border-bottom: 0; }
.ad-ticks label.check { gap: 10px; align-items: center; }
.ad-ticks .av { width: 32px; height: 32px; }
.ad-msg { white-space: normal; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); }

/* A join request: the profile to link, its portraits, the roles to give. */
.ad-lbl { margin: 14px 0 6px !important; font-size: 13px !important; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ad-pick { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 0 0 8px; }
.ad-pick .cand { border-radius: 12px; padding: 8px 10px; min-height: 64px; }
.ad-pick .cand .ph { border-radius: 8px; }
.ad-pick .cand.none { min-height: 64px; }
.ad-pick .cand input { flex: none; margin: 0; accent-color: var(--accent); }
.ad-search { max-width: 420px; }
.ad-item .sm-results:empty { display: none; }
.ad-item .sm-results { max-width: 420px; }
.ad-item [data-morecands] { margin: 2px 0 10px; }
/* The site's rule for every details (margin 10px 0, a padded summary) is not wanted here. */
.ad-main details.more-menu, .ad-main details.ad-class, .ad-main details.ad-roles, .ad-main details.ad-help { margin: 0; }
.ad-main details.ad-roles > summary, .ad-main details.ad-help > summary { padding: 4px 0; }
.ad-main details.ad-class > summary { font-weight: 400; }
.ad-main details.ad-roles { margin-top: 12px; }
.ad-strip-wrap { margin: 4px 0 12px; }
.ad-strip-wrap > p { margin: 0 0 6px !important; font-size: 13px !important; }
.ad-rel { margin: 10px 0 0 !important; }
.ad-rel select { width: auto; display: inline-block; margin-left: 6px; padding: 6px 10px; }
.ad-roles { margin-top: 12px; }
.ad-roles > summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; }
.ad-roles[open] > summary { margin-bottom: 6px; }
.ad-roles label.check { display: flex; flex-wrap: wrap; margin: 6px 0; }
.ad-roles select { width: auto; display: inline-block; padding: 4px 8px; font-size: 16px; }   /* 16px: the owner's rule for every field */

/* The Review page's questions: a link row above the list. */
.ad-review { display: flex; align-items: center; gap: 14px; padding: 12px 18px; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface-2); color: var(--fg); text-decoration: none; }
.ad-review .ib-av { width: 36px; height: 36px; background: var(--surface); }
.ad-review > span:nth-child(2) { flex: 1; min-width: 0; }
.ad-review .ad-go { color: var(--accent); font-weight: 700; font-size: 14px; white-space: nowrap; }
.ad-review:hover .ad-go { text-decoration: underline; }
.ad-clear { margin-top: 14px; }
.ad-handled { margin-top: 24px; }

@media (max-width: 760px) {
  .ad-nav { scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  /* On a phone the menu is a row of tabs, chosen one underlined, as the site's other tab rows. */
  [data-look="new"] .ad-nav a, [data-look="new"] .ad-nav a:hover { background: none; border-radius: 0; padding: 10px 12px; }
  [data-look="new"] .ad-nav a.on { background: none; color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
  .ad-nav::-webkit-scrollbar { display: none; }
  .ad-review { padding: 12px 14px; }
  .ad-review .ad-go { font-size: 0; }
  .ad-review .ad-go::after { content: "›"; font-size: 24px; line-height: 1; }
  /* The card's body takes the full width under the picture in its corner. */
  .ad-item .ib-body, .ad-item .ib-media { margin-left: -54px; }
  .ad-item .ib-checks { padding: 10px 12px; }
  .ad-item .ib-checks li { display: block; position: relative; padding-left: 28px; line-height: 1.4; }
  .ad-item .ib-checks li .ck { position: absolute; left: 0; top: 1px; }
  .ad-item .ib-acts { flex-wrap: wrap; }
  .ad-item .ib-acts > button { flex: 1 1 auto; }
  .ad-photo, .ad-photo.sm { max-width: none; width: 100%; }
  .ad-pick { grid-template-columns: 1fr; }
  .ad-search, .ad-item .sm-results { max-width: none; }
}

/* Sections: a heading with its action on the right, a short line of what it is, then the content. */
.ad-lead { margin: 0 0 14px; font-size: 15px; max-width: 72ch; }
.ad-sec { margin: 0 0 28px; }
.ad-sec > h3, .ad-sechead h3 { margin: 0 0 6px; font-size: 18px; }
.ad-sechead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.ad-sec > p.small, .ad-sec > .small.muted { margin: 0 0 12px; font-size: 14px; }
.ad-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
.ad-tools input[type=search] { max-width: 420px; flex: 1 1 260px; }
.ad-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ad-inline input { max-width: 340px; flex: 1 1 220px; }
.ad-inline select { width: auto; }
.ad-help > summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; }
.ad-help p { margin: 8px 0 0; max-width: 72ch; }
.ad-links { margin: 0 0 18px; }
.ad-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; max-width: 640px; }
.ad-grid2 label { margin-top: 4px; }
.ad-grid2 input { margin-top: 4px; }
/* News and Beta are the old pages in this frame: their section headings sized as this Admin's. */
.ad-main > section > h2 { font-size: 18px; margin: 28px 0 8px; }
.ad-main > .ib-head + section > h2:first-child { margin-top: 0; }
.ad-sec h4 { margin: 18px 0 6px; font-size: 15px; }
.ad-sec .opts { max-width: 760px; }

/* People: one row each, the actions in ⋯. */
.ad-plist, .ad-clist, .ad-offers, .ad-tbl { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ad-plist { margin: 6px 0 28px; }
.ad-prow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.ad-prow:first-child, .ad-crow:first-child, .ad-offers > li:first-child, .ad-tbl > li:first-child { border-top: 0; }
.ad-prow .ad-pav { width: 40px; height: 40px; }
.ad-pmain { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.ad-pmain > b a { color: inherit; text-decoration: none; }
.ad-pmain > b a:hover { text-decoration: underline; }
.ad-pmain > .small { overflow-wrap: anywhere; }
.ad-ptags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.ad-pseen { white-space: nowrap; }
.ad-pmore .more-pop { left: auto; right: 0; }
.more-pop a.ad-danger { color: var(--danger); }
.more-pop a:not(.ad-danger) + a.ad-danger { position: relative; margin-top: 9px; }
.more-pop a:not(.ad-danger) + a.ad-danger::before { content: ""; position: absolute; left: 12px; right: 12px; top: -5px; border-top: 1px solid var(--line); }
.ad-years { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); max-height: 40vh; overflow-y: auto; }

/* Classes: one row per class, opened for its people. */
.ad-classes { display: flex; flex-direction: column; gap: 8px; }
.ad-class { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ad-class > summary { cursor: pointer; display: grid; grid-template-columns: minmax(130px, 200px) 140px 1fr; gap: 14px; align-items: center; padding: 12px 16px; list-style: none; }
.ad-class > summary::-webkit-details-marker { display: none; }
.ad-class .trk-bar { width: 140px; }
.ad-class .trk-bar i { background: var(--accent); }
.ad-class[open] > summary { border-bottom: 1px solid var(--line); }
.ad-cbody { padding: 12px 16px 16px; }
.ad-cbody > p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ad-clist { border-radius: 12px; }
.ad-crow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); }
.ad-cname { display: flex; flex-direction: column; min-width: 0; }
.ad-cname a { color: inherit; font-weight: 600; text-decoration: none; }
.ad-crow.trk-none .ad-cname a { color: var(--muted); font-weight: 500; }

/* Yearbooks, Activity: tables in a card. */
.ad-table td, .ad-table th { padding: 9px 12px; }
.ad-table tr:last-child td { border-bottom: 0; }
.ad-sec .tablewrap, .ad-main > .tablewrap { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ad-offers > li { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); }
.ad-offers p { margin: 2px 0 0; }
.ad-offers select { width: auto; flex: none; }
.ad-click { cursor: pointer; }
.ad-click:hover td { background: var(--surface-2); }
.ad-main tr.flag td { background: color-mix(in srgb, var(--warn) 10%, transparent); }

/* Activity: what one member tagged. */
.ad-tbl > li { display: grid; grid-template-columns: auto 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.ad-photo.xs { width: 96px; max-width: none; aspect-ratio: 4 / 3; border-radius: 8px; }
.ad-photo.xs img { height: 100%; object-fit: cover; }
.ad-tbmain p { margin: 2px 0 0; }
.ad-events .ev-list { margin-top: 4px; }

@media (max-width: 760px) {
  .ad-prow { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .ad-prow .ad-pav { width: 36px; height: 36px; }
  .ad-pseen { grid-column: 2; grid-row: 2; white-space: normal; }
  .ad-pmore { grid-column: 3; grid-row: 1 / span 2; }
  .ad-class > summary { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 14px; }
  .ad-class > summary .small { grid-column: 1 / -1; }
  .ad-class .trk-bar { width: 90px; }
  .ad-crow { grid-template-columns: 28px minmax(0, 1fr); }
  .ad-crow > .small { grid-column: 2; }
  .ad-tbl > li { grid-template-columns: auto 72px minmax(0, 1fr); }
  .ad-tbl > li > button { grid-column: 3; justify-self: start; }
  .ad-photo.xs { width: 72px; }
  .ad-offers > li { flex-direction: column; align-items: stretch; }
  .ad-sechead { flex-wrap: wrap; }
}
/* Join questions in Settings: question and answer side by side, a remove button at the end of the row. */
.jq-list { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.jq-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.jq-row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; margin: 0; }
.jq-row input { width: 100%; box-sizing: border-box; }
.jq-rm { height: 40px; width: 40px; padding: 0; }
#jqSave:disabled { opacity: .45; cursor: default; }
@media (max-width: 640px) { .jq-row { grid-template-columns: 1fr auto; } .jq-row label:nth-child(2) { grid-column: 1; } .jq-rm { grid-row: 1; grid-column: 2; } }

/* Beta: the testers' engagement card (admin.js engCard), made to be screenshotted and shared with the testers: nothing
   of the Admin inside it. Its layout follows its own width (a container), so it reads the same in any frame. */
.eng-tools { margin: 0 0 14px; }
.eng-tools .ad-chips { margin: 0; }
.eng-card { container-type: inline-size; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 24px 24px 18px; }
.eng-top { margin: 0 0 14px; }
.eng-title { margin: 0 !important; font-size: 26px !important; line-height: 1.2; }
.eng-range { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.eng-totals { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 20px; font-size: 15px; color: var(--muted); }
.eng-totals b { color: var(--fg); font-weight: 800; font-variant-numeric: tabular-nums; }
.eng-totals > span { white-space: nowrap; }
.eng-table { border-top: 1px solid var(--line); }
.eng-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(7, 62px); gap: 0 6px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.eng-row:last-child { border-bottom: 0; }
.eng-id { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.eng-rank { font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.eng-row .eng-av { width: 40px; height: 40px; border: 0; }
.eng-row .eng-av i { font-size: 13px; }
.eng-who { display: flex; flex-direction: column; min-width: 0; }
.eng-who b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eng-who > span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eng-c { display: flex; align-items: center; justify-content: center; gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.eng-c b { font-size: 16px; font-weight: 700; }
.eng-ic { display: inline-flex; color: var(--muted); }
.eng-ic .icon { width: 16px; height: 16px; }
.eng-row:not(.eng-hrow) .eng-c .eng-ic { display: none; }
.eng-zero { color: var(--muted); opacity: .55; font-size: 16px; }
.eng-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.eng-hrow { padding: 12px 0 10px; align-items: end; }
.eng-hrow .eng-who { font-size: 12px; font-weight: 600; color: var(--muted); }
.eng-hrow .eng-av { height: 0; }
.eng-hrow .eng-c { flex-direction: column; gap: 5px; align-self: end; }
.eng-hrow .eng-l { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--muted); }
.eng-quiet .eng-who b { font-weight: 600; }
.eng-none { margin: 14px 0; color: var(--muted); }
.eng-legend, .eng-short { display: none; }
.eng-foot { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
/* A narrow card (a phone): name and "done" on one line, the six counts in a row of equal columns under it, each with its
   icon; what the icons mean in a key below. */
@container (max-width: 640px) {
  .eng-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 6px; padding: 12px 0; }
  .eng-id { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 18px 36px minmax(0, 1fr); gap: 10px; padding-right: 76px; }
  .eng-row .eng-av { width: 36px; height: 36px; }
  .eng-done { grid-column: 4 / -1; grid-row: 1; justify-content: flex-end; }
  .eng-done .eng-zero { display: none; }
  .eng-c:not(.eng-done) { grid-row: 2; justify-content: flex-start; gap: 3px; min-width: 0; }
  .eng-row:not(.eng-hrow) .eng-c .eng-ic { display: inline-flex; }
  .eng-c .eng-ic .icon { width: 14px; height: 14px; }
  .eng-c b, .eng-zero { font-size: 14px; }
  .eng-hrow, .eng-full { display: none; }
  .eng-short { display: inline; }
  .eng-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
  .eng-legend > span { display: inline-flex; align-items: center; gap: 4px; }
  .eng-legend .icon { width: 14px; height: 14px; }
}
@media (max-width: 760px) {
  .eng-card { padding: 20px 16px 16px; border-radius: 16px; }
  .eng-title { font-size: 22px !important; }
  .eng-totals { font-size: 14px; }
}
/* Adding feedback given elsewhere. */
.eng-add { margin-top: 16px !important; }
.eng-add > p { max-width: 72ch; }
.eng-form { max-width: 680px; margin-top: 4px; }
.eng-form label:not(.check) { display: flex; flex-direction: column; gap: 4px; }
.eng-form .eng-wide { grid-column: 1 / -1; }
.eng-form input:not([type=checkbox]), .eng-form select, .eng-form textarea { margin: 0; }
.eng-form select, .eng-form input[type=date], .eng-form input[type=text] { width: 100%; box-sizing: border-box; height: 45px; }
/* The site styles text boxes and lists, not the day picker: drawn as they are. */
.eng-form input[type=date] { padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font: inherit; font-size: 16px; }
.eng-board { align-self: end; padding-bottom: 10px; }
.eng-out { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); max-width: 760px; }
.eng-out > li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.eng-out > li:first-child { border-top: 0; }
.eng-out-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
@media (max-width: 760px) { .eng-out > li { flex-wrap: wrap; } .eng-out-main { flex-basis: 100%; } }

/* Settings -> Email: emails a day before message emails wait for the digest (_msgnotify.js) */
.cap-row { max-width: 240px; }

/* Admin -> Alumni directory (school.js): each Association record beside its match or its closest people */
.sd-tools select { width: auto; flex: 0 1 auto; }
.sd-total { margin: 0 0 8px; }
.sd-list { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.sd-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px 24px; padding: 16px 18px; border-top: 1px solid var(--line); }
.sd-card:first-child, .sd-lrow:first-child { border-top: 0; }
.sd-empty { padding: 16px 18px; }
.sd-rec { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sd-name { font-size: 16px; }
.sd-srcs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.sd-more summary { cursor: pointer; color: var(--accent); width: max-content; margin-top: 4px; }
.sd-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 8px 0 0; font-size: 14px; }
.sd-dl dt { color: var(--muted); }
.sd-dl dd { margin: 0; overflow-wrap: anywhere; }
.sd-match { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sd-match p { margin: 0; }
.sd-lbl { font-weight: 600; }
.sd-p { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sd-p .sd-av { width: 44px; height: 44px; }
.sd-pt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sd-pt > a { font-weight: 600; }
.sd-pt .tag { align-self: flex-start; margin-top: 2px; }
.sd-why { overflow-wrap: anywhere; }
.sd-cands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sd-cands > li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.sd-cands > li > button { flex: none; }
.sd-find input { max-width: 420px; }
.sd-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-log .sd-lrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.sd-box .sd-rec { margin-bottom: 6px; }
.sd-box h2 .tag { font-size: 12px; vertical-align: middle; }
/* Each closest person with what tells them apart (feedback #27), ticked for "Both are them" */
.sd-cands > li.sd-cand { align-items: flex-start; }
.sd-cand.on { border-color: var(--accent); background: var(--accent-soft); }
.sd-pick { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin: 0 -4px 0 -2px; cursor: pointer; }
.sd-pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.sd-cbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-facts { margin: 0; overflow-wrap: anywhere; }
.sd-pics { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.sd-pic { margin: 0; flex: none; width: 64px; text-align: center; }
.sd-pic img { display: block; width: 64px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--line); }
.sd-pic figcaption { font-size: 12px; line-height: 1.3; color: var(--muted); margin-top: 3px; }
.sd-open { width: max-content; max-width: 100%; }
.sd-hint { margin-top: -4px !important; }
.sd-confirm { border: 1px solid var(--accent); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.sd-notin p { flex-basis: 100%; }
/* To follow up: where the school's follow-up of each stands */
.sd-fus { margin: 0; }
.sd-note { display: flex; flex-direction: column; gap: 4px; }
.sd-note textarea { width: 100%; max-width: 520px; font: inherit; font-size: 15px; }
.sd-acts .sd-csv, .sd-parts .sd-csv { margin-left: auto; }
@media (max-width: 760px) {
  .sd-card { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .sd-tools select { flex: 1 1 140px; }
  .sd-cands > li { flex-wrap: wrap; }
  .sd-cands > li.sd-cand { flex-wrap: nowrap; display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .sd-cand > button { grid-column: 2; justify-self: start; }
  .sd-cand:not(:has(.sd-pick)) { grid-template-columns: minmax(0, 1fr); }
  .sd-cand:not(:has(.sd-pick)) > button { grid-column: 1; }
  .sd-parts .sd-csv { margin-left: 0; }
  .sd-pic { width: 54px; }
  .sd-pic img { width: 54px; height: 68px; }
  .sd-pics { gap: 6px; }
}
.sd-warn { color: var(--warn); }
