/* Worfact shared data tables */
.lesson-table-scroll{overflow:auto;border:1px solid #dce5e4;border-radius:12px;background:#fff;box-shadow:0 3px 14px #17384b05;margin:20px 0 28px;scrollbar-width:thin;scrollbar-color:#b7cac8 #f4f7f6}
.lesson-table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:15px;line-height:1.6;color:#23434e}
.lesson-table caption{padding:18px 22px;background:#fff;color:#61777d;font-size:13px;text-align:left;caption-side:top}
.lesson-table th{background:#f2f6f5;color:#46626a;font-size:13px;font-weight:600;letter-spacing:.015em;white-space:nowrap}
.lesson-table th,.lesson-table td{padding:18px 22px;border:0;border-bottom:1px solid #e7edeb;vertical-align:middle}
.lesson-table tbody tr:last-child>td{border-bottom:0}
.lesson-table tbody tr:nth-child(even){background:#fbfcfc}
.lesson-table tbody tr:hover{background:#f1f7f5}
.lesson-table tbody tr:focus-within{background:#edf5f3}
.lesson-table td:first-child strong{font-weight:600;color:#18384a}
.lesson-table td{overflow-wrap:anywhere;max-width:380px}
.lesson-table td small{font-size:12px;line-height:1.5;color:#687d82;margin-top:5px}
.lesson-table td[colspan]{text-align:center;padding:44px 24px;color:#687d82;background:#fff}
.lesson-table th .table-sort-button{padding:4px 0;gap:10px;min-height:28px;font-size:inherit;letter-spacing:inherit}
.lesson-table th[aria-sort="ascending"],.lesson-table th[aria-sort="descending"]{background:#e6f0ec;color:#1c6069}
.lesson-table .table-sort-arrow{margin-left:auto;font-size:15px}
.lesson-table td>a:not([data-book]):not([data-cancel]),.branch-actions>a{display:inline-flex;align-items:center;min-height:34px;color:#246671;font-size:13px;font-weight:600;text-decoration:none;border:1px solid #dce7e4;border-radius:6px;background:#fff;padding:5px 10px;white-space:nowrap}
.lesson-table td>a:hover,.branch-actions>a:hover{background:#e8f1ee;border-color:#a9c6be}
.lesson-table :is(a,summary,button):focus-visible{outline:2px solid #26717b;outline-offset:3px}
.lesson-table .status-badge,.lesson-table .directory-status{font-size:12px;padding:5px 10px;border-radius:5px;font-weight:500}
.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:32px 0 12px}
.table-toolbar h2{margin:0;font-size:27px}.table-toolbar p{margin:5px 0 0;color:#687d82;font-size:14px}
.table-toolbar .primary-link{display:inline-flex;align-items:center;min-height:44px;border-radius:6px;font-size:14px;font-weight:600;white-space:nowrap}
.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0 30px}.workspace-heading h1{margin:8px 0 12px}.workspace-heading p{margin:0;color:#61777d}.workspace-heading .kicker{color:#26717b;margin-bottom:10px}
.workspace-heading>a{border:1px solid #cddbd7;border-radius:6px;padding:10px 16px;background:#fff;white-space:nowrap;font-size:14px;font-weight:600;color:#246671}
.branch-table summary{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid #dce7e4;border-radius:6px;background:#f5f8f7;font-size:13px;font-weight:500}
.branch-table summary::after{content:'⌄';font-size:16px}.branch-table details[open]>summary::after{content:'⌃'}
.branch-table .branch-items{margin-top:14px;padding:0 4px}.branch-table .branch-items li{padding-bottom:10px;border-bottom:1px solid #e7edeb}.branch-table .branch-items li:last-child{border:0;margin:0;padding:0}
@media(max-width:760px){.lesson-table th,.lesson-table td{padding:14px 16px}.lesson-table-scroll{border-radius:8px}.lesson-table{font-size:14px;min-width:640px}.workspace-heading{align-items:flex-start;flex-direction:column;gap:16px}.table-toolbar{gap:14px}.lesson-table caption{padding:14px 16px}}

@media (min-width: 761px) {
  .platform-main:has(.lesson-table-scroll) {
    max-width: 1600px;
    padding-inline: clamp(16px, 1.5vw, 24px);
  }
}
