/* SEND Life Update 19C - focused parent evidence hub */
.sl19c-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-bottom: 14px;
    padding: clamp(22px, 4vw, 34px);
    overflow: hidden;
    background:
        radial-gradient(circle at 98% 0%, rgba(121, 83, 217, .12), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(5, 166, 167, .13), transparent 38%),
        #fff;
}
.sl19c-hero-copy { max-width: 720px; }
.sl19c-hero h1 {
    margin: 3px 0 9px;
    color: #13245e;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.08;
}
.sl19c-hero-copy > p:last-child {
    max-width: 680px;
    margin: 0;
    color: #566c84;
    font-size: 1rem;
    line-height: 1.6;
}
.sl19c-hero-actions {
    display: flex;
    min-width: 220px;
    flex-direction: column;
    gap: 10px;
}
.sl19c-hero-actions .sl-button { justify-content: center; min-height: 46px; }
.sl19c-primary-action { box-shadow: 0 12px 26px rgba(5, 166, 167, .2); }

.sl19c-help-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 18px;
}
.sl19c-help-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #dcebf0;
    border-radius: 13px;
    background: rgba(255,255,255,.78);
    color: #334e68;
    font-size: .88rem;
    font-weight: 750;
    text-align: center;
}
.sl19c-help-strip strong {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: #e8fbfb;
    color: #087f81;
    font-size: .78rem;
}

.sl19c-created-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 26px;
    align-items: center;
    border-color: #a7ded8;
    background: #f1fcfa;
}
.sl19c-created-summary h2 { margin: 2px 0 5px; }
.sl19c-created-summary p:last-child { margin: 0; color: #567080; }
.sl19c-created-counts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.sl19c-created-counts span {
    padding: 8px 11px;
    border: 1px solid #cce8e4;
    border-radius: 999px;
    background: #fff;
    color: #38566a;
    font-size: .82rem;
}
.sl19c-created-counts strong { color: #087f81; }
.sl19c-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }

.sl19c-section { margin-bottom: 18px; padding: clamp(18px, 3vw, 26px); }
.sl19c-section-heading { margin-bottom: 18px; }
.sl19c-section-heading h2 { margin: 2px 0 6px; color: #13245e; }
.sl19c-section-heading p:last-child { margin: 0; color: #63778c; }
.sl19c-section-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sl19c-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.sl19c-category-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 158px;
    flex-direction: column;
    gap: 13px;
    padding: 17px;
    border: 1px solid #dbe8ef;
    border-radius: 17px;
    background: #fff;
    color: #16345d;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(25, 55, 90, .05);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.sl19c-category-card:hover,
.sl19c-category-card:focus-visible {
    z-index: 1;
    transform: translateY(-2px);
    border-color: #45bdbd;
    box-shadow: 0 14px 26px rgba(22, 75, 102, .11);
    outline: none;
}
.sl19c-category-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 14px;
    background: #eefafa;
    font-size: 1.35rem;
}
.sl19c-category-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 7px; }
.sl19c-category-title-row { display: flex; gap: 8px; align-items: center; }
.sl19c-category-title-row strong { color: #13245e; font-size: .98rem; line-height: 1.25; }
.sl19c-category-title-row small { padding: 3px 6px; border-radius: 999px; background: #f0ebff; color: #6446ad; font-size: .64rem; }
.sl19c-category-copy > span:last-child { color: #60758a; font-size: .82rem; line-height: 1.45; }
.sl19c-category-arrow {
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: #20a7a8;
    font-size: 1.45rem;
    font-weight: 800;
}
.sl19c-appointment-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #e2e9f2;
    border-radius: 13px;
    background: #f8fbfd;
    color: #526a82;
    font-size: .88rem;
}
.sl19c-appointment-link a { color: #087f81; font-weight: 850; }

.sl19c-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.sl19c-method-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 0;
    padding: 22px;
}
.sl19c-method-card h2 { margin: 2px 0 7px; color: #13245e; font-size: 1.17rem; }
.sl19c-method-card p:not(.sl-eyebrow) { margin: 0 0 14px; color: #63778c; line-height: 1.55; }
.sl19c-method-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 15px;
    background: #eaf9fa;
    font-size: 1.45rem;
}
.sl19c-ai-card .sl19c-method-icon { background: #f1edff; }

.sl19c-record-list { display: grid; gap: 9px; }
.sl19c-record-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid #dfe9ef;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease;
}
.sl19c-record-card:hover,
.sl19c-record-card:focus-visible { border-color: #53bfc0; background: #f8fdfd; outline: none; }
.sl19c-record-card.is-important { border-left: 4px solid #efb436; }
.sl19c-record-icon {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 12px;
    background: #edf8fa;
}
.sl19c-record-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.sl19c-record-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.sl19c-record-meta strong { color: #087f81; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.sl19c-record-meta time { color: #7a8da0; font-size: .74rem; }
.sl19c-record-title { overflow: hidden; color: #17345f; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.sl19c-record-copy small { overflow: hidden; color: #60758a; text-overflow: ellipsis; white-space: nowrap; }
.sl19c-record-arrow { color: #21a7a7; font-size: 1.5rem; }

.sl19c-modal[hidden] { display: none !important; }
.sl19c-modal {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}
.sl19c-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(12, 27, 50, .68);
    cursor: default;
}
.sl19c-modal-panel {
    position: relative;
    z-index: 1;
    width: min(690px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid #d8e7ee;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(5, 20, 48, .3);
}
body.sl19c-modal-open { overflow: hidden; }
.sl19c-modal-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.sl19c-modal-heading h2 { margin: 2px 0 6px; color: #13245e; }
.sl19c-modal-heading p:last-child { margin: 0; color: #65798d; }
.sl19c-modal-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid #dce6ed;
    border-radius: 50%;
    background: #fff;
    color: #314e69;
    font-size: 1.5rem;
    cursor: pointer;
}
.sl19c-upload-form { gap: 15px; }
.sl19c-file-field {
    padding: 15px;
    border: 1px dashed #9fcfd0;
    border-radius: 14px;
    background: #f4fcfc;
}
.sl19c-file-field > span { display: block; margin-bottom: 8px; color: #17345f; font-weight: 850; }
.sl19c-file-field input { width: 100%; }
.sl19c-file-field small { display: block; margin-top: 7px; color: #647c8d; }
.sl19c-optional { color: #7d8e9e; font-size: .74rem; font-weight: 600; }
.sl19c-modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 3px; }
.sl19c-form-errors {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #e8b8b8;
    border-radius: 12px;
    background: #fff3f3;
    color: #8b2525;
}
.sl19c-form-errors ul { margin: 6px 0 0 18px; padding: 0; }

@media (max-width: 980px) {
    .sl19c-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sl19c-category-card { min-height: 142px; }
}

@media (max-width: 760px) {
    .sl19c-hero { grid-template-columns: 1fr; gap: 18px; }
    .sl19c-hero-actions { min-width: 0; }
    .sl19c-help-strip { grid-template-columns: 1fr; gap: 7px; }
    .sl19c-help-strip span { justify-content: flex-start; text-align: left; }
    .sl19c-secondary-grid { grid-template-columns: 1fr; }
    .sl19c-created-summary { grid-template-columns: 1fr; }
    .sl19c-created-counts { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .sl19c-hero,
    .sl19c-section,
    .sl19c-method-card { padding: 17px; }
    .sl19c-category-grid { grid-template-columns: 1fr; gap: 9px; }
    .sl19c-category-card {
        min-height: 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 40px 14px 13px;
    }
    .sl19c-category-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .sl19c-category-arrow { right: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
    .sl19c-appointment-link { align-items: flex-start; flex-direction: column; gap: 5px; }
    .sl19c-section-heading-row { align-items: stretch; flex-direction: column; }
    .sl19c-section-heading-row .sl-button { align-self: flex-start; }
    .sl19c-record-card { grid-template-columns: auto minmax(0, 1fr); }
    .sl19c-record-arrow { display: none; }
    .sl19c-record-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
    .sl19c-record-title,
    .sl19c-record-copy small { white-space: normal; }
    .sl19c-modal { padding: 0; align-items: end; }
    .sl19c-modal-panel {
        width: 100%;
        max-height: 92vh;
        padding: 18px 15px 22px;
        border-radius: 20px 20px 0 0;
    }
    .sl19c-modal-actions { flex-direction: column-reverse; }
    .sl19c-modal-actions .sl-button { width: 100%; justify-content: center; }
}
