/* Little Loves v37.13.5 — brand line break and simplified enrolment pipeline. */
#portal .portal-brand>span:last-child{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;
 align-items:start!important;
 min-width:0!important;
 max-width:178px!important;
 line-height:1.12!important;
}
#portal .portal-brand>span:last-child>strong,
#portal .portal-brand>span:last-child>small{
 display:block!important;
 grid-column:1!important;
 width:100%!important;
 max-width:100%!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
#portal .portal-brand>span:last-child>strong{grid-row:1!important}
#portal .portal-brand>span:last-child>small{grid-row:2!important;margin-top:3px!important}

#portal .children-tile-grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:9px!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 overflow:visible!important;
}
#portal .children-tile-grid .child-tile{min-width:0!important;max-width:100%!important;padding:10px!important;overflow:hidden!important}
#portal .children-tile-grid .child-tile-head{min-width:0!important;align-items:flex-start!important;gap:8px!important}
#portal .children-tile-grid .child-tile-head>div{min-width:0!important}
#portal .child-name-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:1px!important;max-width:100%!important;line-height:1.12!important}
#portal .child-name-open>span{display:block!important;font-size:15px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#portal .child-name-open>strong{display:block!important;font-size:14px!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#portal .children-tile-grid .child-tile-meta{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin:7px 0 6px!important}
#portal .children-tile-grid .child-tile-meta span{padding:3px 6px!important;font-size:8.5px!important}
#portal .children-tile-grid .child-actions{min-width:0!important;width:100%!important}

#portal .enrolment-flow-board{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
#portal .enrolment-stage-group{display:block!important;width:100%!important;min-width:0!important;min-height:0!important}
#portal .enrolment-stage-tiles{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(225px,1fr))!important;gap:8px!important}
#portal .enrolment-stage-tiles .enrolment-card{height:100%}
#portal .archived-enrolment-card{box-shadow:none!important;outline:1px dashed #9aa9a0;opacity:.92}

#portal .enrolment-list-row td{transition:background-color .15s ease}
#portal .enrolment-list-row td:first-child{border-left:5px solid #71837a!important}
#portal .enrolment-list-row.enrolment-status-new td{background:#f3f9ff!important}
#portal .enrolment-list-row.enrolment-status-new td:first-child{border-left-color:#2f80c9!important}
#portal .enrolment-list-row.enrolment-status-contacted td{background:#faf7ff!important}
#portal .enrolment-list-row.enrolment-status-contacted td:first-child{border-left-color:#8b65c9!important}
#portal .enrolment-list-row.enrolment-status-application_sent td{background:#f3fbfc!important}
#portal .enrolment-list-row.enrolment-status-application_sent td:first-child{border-left-color:#3c8f9d!important}
#portal .enrolment-list-row.enrolment-status-awaiting_documents td{background:#fff8f3!important}
#portal .enrolment-list-row.enrolment-status-awaiting_documents td:first-child{border-left-color:#bd6a31!important}
#portal .enrolment-list-row.enrolment-status-enrolled td{background:#f1faf4!important}
#portal .enrolment-list-row.enrolment-status-enrolled td:first-child{border-left-color:#268047!important}
#portal .enrolment-list-row.enrolment-status-waitlist td{background:#f7f8fa!important}
#portal .enrolment-list-row.enrolment-status-waitlist td:first-child{border-left-color:#777b89!important}
#portal .enrolment-list-row.enrolment-status-lost td{background:#fff6f6!important}
#portal .enrolment-list-row.enrolment-status-lost td:first-child{border-left-color:#a34f55!important}

@media(max-width:560px){
 #portal .enrolment-stage-tiles{grid-template-columns:1fr!important}
}
@media(max-width:1050px){#portal .children-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){#portal .children-tile-grid{grid-template-columns:minmax(0,1fr)!important}}
