#modulelauncher_page #dashboard_scroll.child-dashboard-scroll {
    box-sizing: border-box;
    width: min(calc(100% - 1vw), 1250px);
    height: calc(100% - 0.8vh);
    margin: 0 auto;
    padding: clamp(16px, 1.7vw, 25px);
    border: 1px solid rgba(0, 177, 173, 0.2);
    border-radius: 22px;
    overflow: hidden;
    background: #fffdf8;
    box-shadow: 0 10px 28px rgba(29, 66, 72, 0.16);
    color: #263b4d;
}

#modulelauncher_page #dashboard_scroll .child-dashboard {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
}

/* The legacy form stylesheet adds 2vh below every div. This dashboard uses
   explicit gaps, so retaining that rule creates large blank bands and offsets. */
#modulelauncher_page #dashboard_scroll .child-dashboard div {
    margin-bottom: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading h1 {
    margin: 0;
    color: #263b4d;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.1;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading p {
    margin: 5px 0 0;
    color: #627584;
    font-size: clamp(12px, 0.95vw, 14px);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearchWrap {
    position: relative;
    display: grid;
    align-items: initial;
    gap: 5px;
    margin: 0;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearchWrap > span {
    font-style: normal;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-search-control {
    position: relative;
    display: flex;
    align-items: center;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-search-control svg {
    position: absolute;
    left: 13px;
    z-index: 1;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #6e818b;
    stroke-linecap: round;
    stroke-width: 2;
    pointer-events: none;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearch {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 38px;
    padding: 0 38px 0 40px;
    border: 1px solid #c8d6d6;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #263b4d;
    font: inherit;
    font-size: 14px;
    font-style: normal;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearch::placeholder {
    font-style: normal;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearch::-webkit-search-cancel-button {
    appearance: none;
}

#modulelauncher_page #dashboard_scroll #dashboardClearSearch {
    position: absolute;
    right: 7px;
    display: grid;
    width: 27px;
    height: 27px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #607681;
    font: inherit;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll #dashboardClearSearch[hidden] {
    display: none;
}

#modulelauncher_page #dashboard_scroll #dashboardClearSearch:hover {
    background: #e8f3f2;
    color: #176e6a;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearch:focus {
    border-color: #00b1ad;
    box-shadow: 0 0 0 3px rgba(0, 177, 173, 0.18);
}

#modulelauncher_page #dashboard_scroll #dashboardAddChild {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    border: 1px solid #00b1ad;
    border-radius: 12px;
    background: #00b1ad;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 123, 120, 0.18);
}

#modulelauncher_page #dashboard_scroll #dashboardAddChild:hover {
    background: #009b98;
    transform: translateY(-1px);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filters {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: minmax(250px, 1.45fr) minmax(160px, 0.75fr) minmax(190px, 1fr) auto;
    align-items: end;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid #dce7e6;
    border-radius: 15px;
    background: #f6faf8;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-field {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-field > span,
#modulelauncher_page #dashboard_scroll .child-dashboard-sort > span {
    color: #526875;
    font-size: 11px;
    font-weight: 800;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-field select,
#modulelauncher_page #dashboard_scroll .child-dashboard-sort select {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 0 36px 0 12px;
    appearance: none;
    border: 1px solid #c8d6d6;
    border-radius: 10px;
    outline: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23566b75' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 16px;
    color: #263b4d;
    font: inherit;
    font-size: 13px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-field select:focus-visible,
#modulelauncher_page #dashboard_scroll .child-dashboard-sort select:focus-visible {
    border-color: #00b1ad;
    box-shadow: 0 0 0 3px rgba(0, 177, 173, 0.18);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-filter {
    position: relative;
}

#modulelauncher_page #dashboard_scroll #dashboardSchoolYear {
    display: none;
}

#modulelauncher_page #dashboard_scroll #dashboardSchoolYearTrigger {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px 0 12px;
    border: 1px solid #c8d6d6;
    border-radius: 10px;
    background: #fff;
    color: #263b4d;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll #dashboardSchoolYearTrigger:hover {
    border-color: #9fc7c4;
    background: #fbfefd;
}

#modulelauncher_page #dashboard_scroll #dashboardSchoolYearTrigger:focus-visible,
#modulelauncher_page #dashboard_scroll #dashboardSchoolYearTrigger[aria-expanded="true"] {
    border-color: #00b1ad;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 177, 173, 0.18);
}

#modulelauncher_page #dashboard_scroll #dashboardSchoolYearTrigger svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #566b75;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-menu {
    width: max(100%, 220px);
    padding: 6px;
    scrollbar-color: #86bfbc #eef4f3;
    scrollbar-width: thin;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-option {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #324a59;
    font: inherit;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-option:hover,
#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-option:focus-visible {
    background: #f1f8f7;
    outline: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-option.is-selected {
    background: #e6f5f3;
    color: #176e6a;
    font-weight: 750;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-check {
    width: 16px;
    flex: 0 0 16px;
    color: #008f8c;
    font-size: 13px;
    font-weight: 850;
    opacity: 0;
    text-align: center;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-school-year-option.is-selected .child-dashboard-school-year-check {
    opacity: 1;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-filter {
    position: relative;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-label {
    display: grid;
    gap: 1px;
    line-height: 1.15;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-label strong {
    color: #526875;
    font-size: 11px;
    font-weight: 800;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-label small {
    color: #70818b;
    font-size: 10px;
    font-weight: 600;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-spacer {
    visibility: hidden;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-control {
    box-sizing: border-box;
    min-height: 38px;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    padding: 3px 5px 3px 7px;
    border: 1px solid #c8d6d6;
    border-radius: 10px;
    background: #fff;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-control:focus-within {
    border-color: #00b1ad;
    box-shadow: 0 0 0 3px rgba(0, 177, 173, 0.18);
}

#modulelauncher_page #dashboard_scroll #dashboardGroupTrigger {
    display: inline-flex;
    min-width: 31px;
    min-height: 30px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 3px 0 5px;
    border: 0;
    background: transparent;
    color: #263b4d;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll #dashboardGroupTrigger:focus-visible {
    outline: 0;
}

#modulelauncher_page #dashboard_scroll #dashboardGroupTrigger svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #566b75;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    left: 0;
    width: min(260px, calc(100vw - 32px));
    max-height: 310px;
    padding: 6px;
    overflow: auto;
    border: 1px solid #d7e3e2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(34, 61, 68, 0.2);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-menu {
    max-height: 280px;
    padding: 4px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-menu-heading {
    margin: 0 5px 3px;
    color: #526875;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-search {
    display: block;
    margin: 0 0 3px;
    font-style: normal;
}

#modulelauncher_page #dashboard_scroll #dashboardGroupSearch {
    box-sizing: border-box;
    width: 100%;
    min-height: 31px;
    padding: 0 8px 0 31px;
    border: 1px solid #c8d6d6;
    border-radius: 9px;
    outline: 0;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%236e818b' stroke-width='2'/%3E%3Cpath d='m16 16 5 5' fill='none' stroke='%236e818b' stroke-linecap='round' stroke-width='2'/%3E%3C/svg%3E");
    background-position: 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    color: #263b4d;
    font: inherit;
    font-size: 13px;
    font-style: normal;
}

#modulelauncher_page #dashboard_scroll #dashboardGroupSearch:focus-visible {
    border-color: #00b1ad;
    box-shadow: 0 0 0 3px rgba(0, 177, 173, 0.18);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-menu[hidden],
#modulelauncher_page #dashboard_scroll .child-dashboard-group-search[hidden],
#modulelauncher_page #dashboard_scroll .child-dashboard-filter-option[hidden],
#modulelauncher_page #dashboard_scroll .child-dashboard-no-groups[hidden],
#modulelauncher_page #dashboard_scroll .child-dashboard-empty[hidden] {
    display: none !important;
}

#modulelauncher_page #dashboard_scroll #dashboardGroupOptions {
    display: grid;
    gap: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-option {
    display: flex;
    box-sizing: border-box;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 2px 5px;
    border-radius: 7px;
    color: #324a59;
    font-size: 12.5px;
    font-style: normal;
    line-height: 1.25;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-option:hover {
    background: #eef8f7;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-option.is-selected {
    background: #e6f5f3;
    color: #176e6a;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-option > span {
    font-size: 12.5px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-option input {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 0;
    accent-color: #00b1ad;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-no-groups {
    margin: 10px 7px;
    color: #607480;
    font-size: 12px;
    font-style: normal;
    text-align: center;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-chips {
    display: flex;
    max-height: 28px;
    min-width: 0;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-chips:empty {
    display: none;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-chip {
    display: inline-flex;
    min-width: 0;
    min-height: 27px;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid #a9d8d4;
    border-radius: 999px;
    background: #e8f8f6;
    color: #176e6a;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-chip > span:first-child {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-group-overflow {
    flex: 0 0 auto;
    color: #526875;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-clear-filters-wrap {
    align-self: end;
}

#modulelauncher_page #dashboard_scroll #dashboardClearFilters,
#modulelauncher_page #dashboard_scroll #dashboardEmptyClearFilters {
    width: max-content;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #14736f;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll #dashboard_resultsHeader {
    display: flex;
    flex: 0 0 auto;
    height: 40px;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    margin: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-alphabet {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-self: center;
    align-items: center;
    gap: 1px;
    height: 36px;
    overflow-x: auto;
    margin: 0;
    padding: 0 1px;
    scrollbar-width: thin;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-alphabet-button {
    display: grid;
    flex: 1 0 19px;
    min-width: 19px;
    height: 32px;
    padding: 0 1px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #2f6570;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-alphabet-button.is-all {
    flex-basis: 34px;
    min-width: 34px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-alphabet-button:hover,
#modulelauncher_page #dashboard_scroll .child-dashboard-alphabet-button.is-current {
    border-color: #93d4d0;
    background: #e7f7f5;
    color: #126d69;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-alphabet-button:disabled {
    color: #b7c2c5;
    cursor: default;
}

#modulelauncher_page #dashboard_scroll #dashboardChildCount {
    display: flex;
    flex: 0 0 auto;
    min-height: 36px;
    align-self: center;
    align-items: center;
    margin: 0;
    color: #526977;
    font-size: 13px;
    font-weight: 700;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-result-controls {
    display: flex;
    flex: 0 0 auto;
    height: 36px;
    min-height: 36px;
    align-self: center;
    align-items: center;
    gap: 13px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-view-switch {
    display: inline-flex;
    box-sizing: border-box;
    height: 36px;
    align-items: center;
    align-self: center;
    margin: 0;
    padding: 3px;
    border: 1px solid #d2dfde;
    border-radius: 10px;
    background: #f1f6f5;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-view-switch button {
    min-height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #5a6e79;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-view-switch button.is-selected {
    background: #fff;
    color: #146f6b;
    box-shadow: 0 1px 4px rgba(38, 71, 76, 0.15);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-sort {
    display: flex;
    height: 36px;
    min-height: 36px;
    align-self: center;
    align-items: center;
    gap: 7px;
    margin: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-sort select {
    width: 84px;
    height: 36px;
    min-height: 36px;
    padding-left: 10px;
}

#modulelauncher_page #dashboard_scroll #childGridScroll {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 1px 5px 3px 1px;
    overflow-y: auto;
    scrollbar-color: #78bbb8 #edf4f3;
    scrollbar-width: thin;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-compact-columns {
    display: none;
}

#modulelauncher_page #dashboard_scroll #childGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

#modulelauncher_page #dashboard_scroll .child-tile {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 15px;
    min-height: 72px;
    align-items: center;
    gap: 11px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #d9e3e3;
    border-radius: 15px;
    background: #fbfcfa;
    color: #263b4d;
    text-align: left;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(38, 65, 73, 0.08);
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;
}

#modulelauncher_page #dashboard_scroll .child-tile:hover {
    border-color: rgba(0, 177, 173, 0.62);
    background: #f3fbfa;
    box-shadow: 0 7px 16px rgba(34, 69, 76, 0.13);
    transform: translateY(-2px);
}

#modulelauncher_page #dashboard_scroll .child-tile:focus-visible,
#modulelauncher_page #dashboard_scroll button:focus-visible {
    outline: 3px solid rgba(0, 134, 205, 0.42);
    outline-offset: 2px;
}

#modulelauncher_page #dashboard_scroll .child-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    flex: none;
    place-items: center;
    border: 1px solid #b9ddda;
    border-radius: 50%;
    background: #dff4f2;
    color: #176e6a;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.02em;
    box-shadow: none;
}

#modulelauncher_page #dashboard_scroll .child-details {
    display: grid;
    min-width: 0;
    gap: 5px;
    margin: 0;
}

#modulelauncher_page #dashboard_scroll .child-name {
    display: block;
    overflow: hidden;
    margin: 0;
    color: #263b4d;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#modulelauncher_page #dashboard_scroll .child-dob {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: #617684;
    font-size: 12px;
}

#modulelauncher_page #dashboard_scroll .child-dob svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

#modulelauncher_page #dashboard_scroll .child-tile-chevron {
    color: #789098;
    font-size: 23px;
    line-height: 1;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-dashboard-compact-columns {
    display: grid;
    grid-template-columns: minmax(240px, 1.45fr) minmax(130px, 0.55fr) 15px;
    flex: 0 0 auto;
    gap: 10px;
    padding: 5px 15px 6px 59px;
    border-bottom: 1px solid #dbe5e4;
    color: #73858d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

#modulelauncher_page #dashboard_scroll.is-compact-view #childGrid {
    grid-template-columns: 1fr;
    gap: 3px;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-tile {
    grid-template-columns: 35px minmax(0, 1fr) 15px;
    min-height: 50px;
    padding: 6px 13px 6px 10px;
    border-color: transparent;
    border-bottom-color: #e3eaea;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-tile:hover {
    border-color: #b8dedb;
    background: #eff9f8;
    box-shadow: none;
    transform: none;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-avatar {
    width: 32px;
    height: 32px;
    font-size: 10px;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-details {
    grid-template-columns: minmax(180px, 1.45fr) minmax(130px, 0.55fr);
    align-items: center;
    gap: 12px;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-name {
    font-size: 13px;
}

#modulelauncher_page #dashboard_scroll.is-compact-view .child-dob {
    font-size: 11px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-empty {
    display: grid;
    min-height: 220px;
    place-items: center;
    align-content: center;
    color: #607480;
    text-align: center;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-empty > span {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    place-items: center;
    border-radius: 50%;
    background: #e4f5f3;
    color: #16716d;
    font-weight: 850;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-empty h2 {
    margin: 0;
    color: #314956;
    font-size: 18px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-empty p {
    margin: 6px 0 0;
    font-size: 13px;
}

#modulelauncher_page #dashboard_scroll #dashboardEmptyClearFilters {
    margin-top: 8px;
}

#modulelauncher_page #dashboard_scroll .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 980px) {
    #modulelauncher_page #dashboard_scroll .child-dashboard-filters {
        grid-template-columns: 1fr 1fr auto;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-search-field {
        grid-column: 1 / -1;
    }

    #modulelauncher_page #dashboard_scroll #childGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {
    #modulelauncher_page #dashboard_scroll.child-dashboard-scroll {
        width: calc(100% - 10px);
        padding: 15px;
        border-radius: 17px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-heading {
        display: grid;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-actions,
    #modulelauncher_page #dashboard_scroll #dashboardChildSearchWrap,
    #modulelauncher_page #dashboard_scroll #dashboardChildSearch {
        width: 100%;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-actions {
        align-items: stretch;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-result-controls {
        align-items: center;
        justify-self: end;
    }

    #modulelauncher_page #dashboard_scroll #dashboard_resultsHeader {
        display: grid;
        height: auto;
        grid-template-columns: auto 1fr;
        padding-top: 4px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-alphabet {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-filters {
        grid-template-columns: 1fr 1fr;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-search-field {
        grid-column: 1 / -1;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-clear-filters-wrap {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    #modulelauncher_page #dashboard_scroll #dashboard_resultsHeader {
        display: grid;
        grid-template-columns: 1fr;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-result-controls {
        grid-row: 2;
        justify-content: space-between;
        justify-self: stretch;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-alphabet {
        grid-row: 3;
    }

    #modulelauncher_page #dashboard_scroll.is-compact-view .child-dashboard-compact-columns {
        display: none;
    }

    #modulelauncher_page #dashboard_scroll.is-compact-view .child-details {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    #modulelauncher_page #dashboard_scroll.is-compact-view .child-tile {
        min-height: 57px;
    }
}

@media (max-width: 500px) {
    #modulelauncher_page #dashboard_scroll .child-dashboard-actions,
    #modulelauncher_page #dashboard_scroll .child-dashboard-filters {
        grid-template-columns: 1fr;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-actions {
        display: grid;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-search-field {
        grid-column: 1;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-clear-filters-wrap {
        grid-column: 1;
    }

    #modulelauncher_page #dashboard_scroll #childGrid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    #modulelauncher_page #dashboard_scroll .child-tile,
    #modulelauncher_page #dashboard_scroll #dashboardAddChild {
        transition: none;
    }

    #modulelauncher_page #dashboard_scroll .child-tile:hover,
    #modulelauncher_page #dashboard_scroll #dashboardAddChild:hover {
        transform: none;
    }
}

/* Welcoming children-directory composition. Existing controls and behaviour are
   retained; these rules only arrange and present the dashboard content. */
#modulelauncher_page #dashboard_scroll.child-dashboard-scroll {
    position: relative;
    background: #fffdf8;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading {
    position: relative;
    min-height: 62px;
    margin-bottom: 16px;
    overflow: hidden;
    padding: 10px 12px;
    border: 1px solid rgba(190, 225, 222, 0.58);
    border-radius: 18px;
    background: linear-gradient(105deg, rgba(231, 247, 245, 0.88), rgba(255, 251, 239, 0.72));
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading::before,
#modulelauncher_page #dashboard_scroll .child-dashboard-heading::after {
    position: absolute;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading::before {
    top: -64px;
    right: 94px;
    width: 128px;
    height: 128px;
    background: rgba(143, 218, 212, 0.16);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading::after {
    top: 23px;
    right: -24px;
    width: 92px;
    height: 92px;
    background: rgba(255, 215, 112, 0.19);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading > * {
    position: relative;
    z-index: 1;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-welcome {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-welcome-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid #bce3df;
    border-radius: 50%;
    background: #e5f6f4;
    color: #087d78;
    box-shadow: 0 0 0 5px rgba(0, 177, 173, 0.07);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-welcome-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading h1 {
    color: #24364f;
    font-size: clamp(25px, 2.15vw, 34px);
    letter-spacing: -0.025em;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-heading p {
    margin-top: 7px;
    color: #5b7180;
    font-size: clamp(13px, 1vw, 15px);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filters {
    grid-template-columns: minmax(250px, 1.5fr) minmax(150px, 0.78fr) minmax(185px, 1fr) minmax(108px, 0.55fr) auto;
    gap: 12px;
    margin-bottom: 17px;
    padding: 15px 17px;
    border-color: #d7e8e6;
    border-radius: 17px;
    background: #f0f8f7;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filters > * {
    position: relative;
    z-index: 1;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-filter-field > span,
#modulelauncher_page #dashboard_scroll .child-dashboard-sort > span {
    color: #415d6d;
    font-size: 12px;
}

#modulelauncher_page #dashboard_scroll #dashboardChildSearch,
#modulelauncher_page #dashboard_scroll #dashboardSchoolYearTrigger,
#modulelauncher_page #dashboard_scroll .child-dashboard-group-control,
#modulelauncher_page #dashboard_scroll .child-dashboard-sort select {
    min-height: 42px;
    border-color: #c5d8d7;
    border-radius: 11px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-sort {
    display: grid;
    height: auto;
    min-height: 0;
    align-self: stretch;
    align-items: initial;
    gap: 5px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-sort select {
    width: 100%;
    height: 42px;
    padding-left: 12px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-content {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: minmax(190px, 215px) minmax(0, 1fr);
    gap: 18px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide {
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    padding: 15px 14px 14px;
    border: 1px solid #d9e8e6;
    border-radius: 18px;
    background: linear-gradient(160deg, #f7fbfa 0%, #eef7f5 100%);
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-item {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 9px 2px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-item + .child-dashboard-guide-item {
    border-top: 0;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-item:not(.child-dashboard-guide-view)::after {
    position: absolute;
    z-index: 0;
    top: 42px;
    bottom: -10px;
    left: 18px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(69, 156, 151, 0.32), rgba(69, 156, 151, 0.08));
    content: '';
    pointer-events: none;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-search .child-dashboard-guide-icon {
    background: #def3f1;
    color: #087d78;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-filter .child-dashboard-guide-icon {
    background: #e7f3e4;
    color: #4b8251;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide-view .child-dashboard-guide-icon {
    background: #fff3cc;
    color: #9a7415;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide h2 {
    margin: 1px 0 3px;
    color: #2b4656;
    font-size: 14px;
    line-height: 1.2;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-guide p {
    margin: 0;
    color: #667b87;
    font-size: 11.5px;
    line-height: 1.4;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-tip {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin-top: auto;
    padding: 11px;
    border: 1px solid #eadca8;
    border-radius: 12px;
    background: #fff9e8;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-tip svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #9a7415;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-tip strong {
    color: #5b4b1d;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-directory {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
}

#modulelauncher_page #dashboard_scroll #dashboard_resultsHeader {
    min-height: 44px;
    height: 44px;
    margin-bottom: 5px;
}

#modulelauncher_page #dashboard_scroll #dashboardChildCount {
    color: #344f5e;
    font-size: 13.5px;
    font-weight: 800;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-view-switch {
    border-color: #cadcda;
    background: #edf5f4;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-view-switch button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

#modulelauncher_page #dashboard_scroll .child-dashboard-view-switch button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

#modulelauncher_page #dashboard_scroll .child-tile {
    border-color: #dce7e6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(38, 65, 73, 0.07);
}

#modulelauncher_page #dashboard_scroll .child-avatar {
    background: #dff4f2;
}

#modulelauncher_page #dashboard_scroll .child-tile:nth-child(4n + 2) .child-avatar {
    border-color: #c6e5e8;
    background: #e3f5f6;
    color: #34737a;
}

#modulelauncher_page #dashboard_scroll .child-tile:nth-child(4n + 3) .child-avatar {
    border-color: #ddd9ee;
    background: #f0edf9;
    color: #655d8e;
}

#modulelauncher_page #dashboard_scroll .child-tile:nth-child(4n + 4) .child-avatar {
    border-color: #ecdfb8;
    background: #fff5d9;
    color: #866b25;
}

#modulelauncher_page #dashboard_scroll .child-tile-chevron {
    justify-self: end;
}

@media (max-width: 1100px) {
    #modulelauncher_page #dashboard_scroll .child-dashboard-filters {
        grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(135px, 0.7fr));
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-clear-filters-wrap {
        grid-column: 1 / -1;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-filter-spacer {
        display: none;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        gap: 12px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 0.9fr);
        gap: 8px;
        padding: 9px 11px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide-item {
        padding: 4px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide-item + .child-dashboard-guide-item {
        border-top: 0;
        border-left: 1px solid rgba(125, 163, 165, 0.18);
        padding-left: 10px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide-item::after {
        display: none;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-tip {
        align-self: stretch;
        margin-top: 0;
        padding: 8px;
    }
}

@media (max-width: 820px) {
    #modulelauncher_page #dashboard_scroll .child-dashboard-heading h1 {
        font-size: clamp(23px, 4vw, 30px);
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-search-field {
        grid-column: 1 / -1;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-tip {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    #modulelauncher_page #dashboard_scroll .child-dashboard-heading {
        grid-template-columns: 1fr;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-welcome {
        align-items: flex-start;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-welcome-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide {
        grid-template-columns: 1fr;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-guide-item {
        display: none;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-tip {
        grid-column: auto;
    }
}

@media (max-width: 500px) {
    #modulelauncher_page #dashboard_scroll .child-dashboard-filters {
        grid-template-columns: 1fr;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-search-field,
    #modulelauncher_page #dashboard_scroll .child-dashboard-clear-filters-wrap {
        grid-column: 1;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-heading h1 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    #modulelauncher_page #dashboard_scroll #dashboard_resultsHeader {
        display: grid;
        height: auto;
        min-height: 112px;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 3px;
    }

    #modulelauncher_page #dashboard_scroll #dashboardChildCount {
        min-height: 30px;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-result-controls {
        grid-row: 2;
        justify-content: space-between;
        justify-self: stretch;
    }

    #modulelauncher_page #dashboard_scroll .child-dashboard-alphabet {
        grid-row: 3;
        width: 100%;
    }
}
