/* Lane C1 workspace pages: the prototype's inline styles as classes, on dx tokens only. */
.c1-rowlink { color: inherit; text-decoration: none; }
/* The title link covers the row, so the whole row opens it; row presses sit above it. */
.li[data-c1-row] { position: relative; }
.c1-rowlink::after { content: ""; position: absolute; inset: 0; }
.li[data-c1-row] .fsel-w, .li[data-c1-row] > .btn { position: relative; z-index: 1; }
.c1-rowlink:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.c1-cmark-img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.banner.c1-soft { background: var(--surface-2); color: var(--ink); }
.c1-done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-c); color: var(--ok); }
.c1-m0 { margin: 0; }
.c1-head-chips { margin-top: 6px; }
.c1-col { display: grid; gap: 20px; min-width: 0; align-content: start; }
.c1-live-b { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.c1-live-r { display: grid; gap: 10px; min-width: 0; }
.chip.c1-chain { height: 32px; }
.c1-st-violet { background: var(--st-violet); } .c1-st-emerald { background: var(--st-emerald); }
.c1-st-sky { background: var(--st-sky); } .c1-st-amber { background: var(--st-amber); } .c1-st-pink { background: var(--st-pink); }
.c1-rank { width: 20px; text-align: center; font-weight: 700; flex: none; }
.c1-logo-acts { display: grid; gap: 8px; justify-items: start; }
.c1-file { cursor: pointer; position: relative; }
.c1-file:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn.c1-dz-link { color: var(--danger); justify-self: start; }
.c1-note { margin: -8px 0 0; font-size: 13px; }
.c1-inv { flex-wrap: wrap; }
.c1-inv-acts { margin-left: auto; row-gap: 12px; }
.c1-inv-acts .btn.sm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
/* Invite rows: the text keeps its width; Copy link stays on screen and Re-send and Revoke fold into the row menu when the list is narrow. */
.c1-inv-list { container-type: inline-size; }
.c1-inv-more { display: none; }
@media (min-width: 600px) {
  .c1-inv .li-main { min-width: 12rem; }
  @container (max-width: 719px) {
    .c1-inv-acts .c1-inv-fold { display: none; }
    .c1-inv-more { display: block; }
  }
  /* A narrow card puts the status chip and Copy link under the text so the address and date stay whole. */
  @container (max-width: 559px) {
    .c1-inv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 12px; row-gap: 6px; }
    .c1-inv > svg { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
    .c1-inv > .li-main { grid-column: 2 / span 2; grid-row: 1; min-width: 0; }
    .c1-inv > .chip { grid-column: 2; grid-row: 2; justify-self: start; }
    .c1-inv > .c1-inv-acts { grid-column: 3; grid-row: 2; }
    .c1-inv > .c1-inv-more { grid-column: 4; grid-row: 1 / span 2; align-self: center; }
  }
}
.empty.c1-empty-tight { padding: 28px 16px; }
.c1-tcount { font-size: 12px; flex: 1; }
.c1-code-row { min-height: 48px; }
.c1-lead { margin: -8px 0 0; color: var(--ink-2); max-width: 72ch; }
.c1-kpis3 .kpi { cursor: default; }
.tl-logo.xl > img, img.tl-logo.xl { object-fit: contain; }
.c1-stu-edit { display: flex; gap: 8px; flex: 1; min-width: 0; flex-wrap: wrap; }
.c1-stu-edit .in { flex: 1 1 140px; min-width: 0; }
.c1-stu-edit .in.c1-roll { flex: 0 0 88px; }
.stu .in.c1-roll { width: 88px; flex: none; }
.c1-tc-hide { display: none !important; }
@media (max-width: 599px) {
  .c1-inv-acts { margin-left: 0; width: 100%; }
}
.c1-self-start { justify-self: start; }
.c1-coderow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.c1-li-btn { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); font: inherit; color: inherit; }
.c1-li-btn:first-child { border-top: 0; }
.c1-dz, .c1-dz strong { color: var(--danger); }
/* Page wrappers stay out of the .wrap grid so its 20px rhythm applies to the sections. */
[data-c1-ov], [data-c1-teams], [data-c1-members] { display: contents; }
/* A primary press keeps its own colours inside a banner (kit rule 817 recolours every .btn). */
.banner .btn.p { color: var(--on-primary); border-color: var(--primary); }
/* Settings panes sit in the drawer body's own grid. */
[data-c1-settings], [data-c1-settings] > [data-dx-pane]:not([hidden]) { display: contents; }
/* The file input covers its press: clicks and keys reach it, and the label draws the button. */
.c1-file-in { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
/* A student photo fills its round slot (the kit's inset rule does not stretch an img). */
.photo-slot img.pav { width: 100%; height: 100%; object-fit: cover; }
/* Phones: the add row puts the name beside the photo and Roll with Add on a second line. */
@media (max-width: 599px) {
  .stu.c1-stu-add { flex-wrap: wrap; }
  .stu.c1-stu-add [data-c1-sname] { flex: 1 1 calc(100% - 68px); min-width: 0; }
  .stu.c1-stu-add .in.c1-roll { flex: 1 1 0; width: auto; min-width: 0; margin-left: 68px; }
  .stu.c1-stu-add .btn { flex: none; }
}
.c1-pick { width: min(560px, calc(100vw - 32px)); }
.c1-pick-tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 4px 0 8px; }
.c1-bee { margin-right: 6px; vertical-align: 1px; }
/* Bee wizard Import: the found words, same table as the Import drawer. */
#bee-new [data-bw-prev][hidden] { display: none; }
#bee-new .bw-prev { display: grid; gap: 8px; margin-top: 8px; min-width: 0; }
#bee-new .bw-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
#bee-new .bw-tbl th { text-align: start; font: 500 12px/16px var(--font); color: var(--ink-3); padding: 6px 8px; border-bottom: 1px solid var(--line); }
#bee-new .bw-tbl td { padding: 6px 8px; border-bottom: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#bee-new .bw-tbl th:last-child, #bee-new .bw-tbl td:last-child { width: 132px; }
#bee-new .bw-tbl .bw-w { font-weight: 500; }
#bee-new .bw-tbl tr.bw-bad td { background: color-mix(in srgb, var(--danger-c) 40%, transparent); }
@media (max-width: 599px) { #bee-new .bw-hide { display: none; } #bee-new .bw-tbl th:last-child, #bee-new .bw-tbl td:last-child { width: 116px; } }
/* Word list view (bee wizard): search, chapter filter, ticks, Prev and Next. */
#bee-new .wl { display: grid; gap: 8px; min-width: 0; margin-top: 8px; }
#bee-new .wl-bar { display: flex; gap: 8px; align-items: center; min-width: 0; }
#bee-new .wl-q { flex: 1 1 auto; min-width: 0; }
#bee-new .wl-f { flex: 0 1 auto; min-width: 0; max-width: 45%; }
#bee-new .wl-f .fsel { max-width: 100%; }
#bee-new .wl-f .fsel span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bee-new .wl-sel { display: flex; align-items: center; gap: 8px; min-width: 0; }
#bee-new .wl-sel .chk { width: auto; flex: 1 1 auto; min-width: 0; padding-left: 6px; }
#bee-new .wl .wl-tbl .wl-ck { width: 44px; padding: 0 0 0 10px; }
#bee-new .wl .wl-tbl .wl-c { width: 30%; }
#bee-new .wl .wl-tbl .wl-st { width: 132px; }
#bee-new .wl .wl-tbl tr[data-wl-id] { cursor: pointer; }
#bee-new .wl .wl-tbl tr[data-wl-id]:hover td { background: var(--surface-2); }
#bee-new .wl-w { display: block; overflow: hidden; text-overflow: ellipsis; }
#bee-new .wl-m { display: none; }
#bee-new .wl [data-wl-none][hidden] { display: none; }
#bee-new .wl-pg { display: flex; align-items: center; gap: 4px; color: var(--ink-3); font-size: 13px; }
#bee-new .wl-pg .num { margin-right: auto; white-space: nowrap; }
@media (max-width: 599px) { #bee-new .wl-m { display: block; color: var(--ink-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #bee-new .wl-f { max-width: 50%; } #bee-new .wl .wl-tbl .wl-st { width: 116px; } }
/* Spellers page (bee): the Who spells switch and a speller card's photo in the logo slot. */
.c1-who { display: flex; }
.tcard .pav { grid-row: 1 / 3; }
.photo-slot.c1-sp-ph { width: 72px; height: 72px; overflow: hidden; }
/* Spellers page toolbar: the Who spells switch and the search share one row; on phones the switch sits beside the title. */
.c1-bar { flex-wrap: nowrap; }
.c1-sf { flex: 1 1 260px; max-width: 440px; min-width: 0; display: flex; }
.c1-sf .srch { flex: 1 1 auto; max-width: none; }
.c1-ttl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.c1-ttl h1 { margin: 0; }
@media (max-width: 599px) { .c1-sf { max-width: none; } .c1-sf .srch { order: 0; } }
.c1-who.show-ph { display: none; }
@media (max-width: 599px) { .c1-who.show-ph { display: flex; } }
