/* Screen styles for A24 Learner app (builder P). Values copied from Sterling Connect
   Admin.dc.html ("A24 Learner app", caxVals() › lax). Every class is prefixed la-
   because all screen files load on every page. Tabs, eyebrow, title, switch and
   buttons reuse the ap- classes in admin_people.css (same design values). */

.la-col { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.la-col8 { display: flex; flex-direction: column; gap: 8px; }
.la-col10 { display: flex; flex-direction: column; gap: 10px; }
.la-col12 { display: flex; flex-direction: column; gap: 12px; }
.la-card { background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: 24px; }
.la-pad { padding: 20px 22px; }
.la-rows { padding: 6px 22px; }
.la-scroll { overflow-x: auto; }
.la-minw { min-width: 0; }
.la-grow { flex: 1; min-width: 0; }
.la-end { display: flex; justify-content: flex-end; }
.la-h3 { font: 700 18px/24px 'Plus Jakarta Sans', sans-serif; color: #01204E; }
.la-sub { font-size: 13px; line-height: 20px; color: #6B7485; }
.la-row-title { font: 600 15px/22px 'DM Sans', sans-serif; color: #01204E; }
.la-row-desc { font-size: 13px; line-height: 20px; color: #6B7485; }

/* Who sees what: matrix */
.la-mx { min-width: 680px; }
.la-mx-head, .la-mx-row { display: grid; grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(84px, 1fr)); gap: 8px; padding: 12px 22px; }
.la-mx-head { border-bottom: 1px solid #E6EAF0; font: 600 12px/16px 'DM Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #6B7485; }
.la-mx-row { border-bottom: 1px solid #EEF0F4; align-items: center; }
.la-mx-label { font: 600 14px/20px 'DM Sans', sans-serif; color: #01204E; }
.la-mx-desc { font-size: 12px; line-height: 16px; color: #6B7485; }
.la-mx-cell { display: flex; justify-content: center; }
.la-tick { position: relative; display: block; width: 26px; height: 26px; }
.la-tick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.la-tick span { display: block; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #01204E; background: #FFFFFF; color: transparent; font: 700 14px/22px 'DM Sans', sans-serif; text-align: center; }
.la-tick input:checked + span { background: #01204E; color: #31FE01; }
.la-tick input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }
.la-tick.is-locked span { border-color: #DFE3EA; }
.la-tick.is-locked input { cursor: default; }

/* Exceptions */
.la-ex-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; align-items: end; }
.la-fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.la-fld-label { font: 600 13px/18px 'DM Sans', sans-serif; color: #01204E; }
.la-sel-wrap { position: relative; }
.la-sel { width: 100%; height: 42px; padding: 0 36px 0 12px; border: 1px solid #C5CBD5; border-radius: 12px; font: 400 14px/20px 'DM Sans', sans-serif; color: #121826; background: #FFFFFF; appearance: none; -webkit-appearance: none; outline: none; }
.la-sel:focus { border-color: #01204E; }
.la-sel::-webkit-calendar-picker-indicator { opacity: 0; }
.la-caret { position: absolute; right: 10px; top: 11px; width: 20px; height: 20px; pointer-events: none; display: block; }
.la-caret svg { display: block; }
.la-ex { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding-top: 10px; border-top: 1px solid #EEF0F4; }
[data-la-ex-list] { display: contents; }
.la-ex-user { font: 600 14px/20px 'DM Sans', sans-serif; color: #01204E; flex: 1 1 200px; }
.la-ex-feat { font-size: 14px; color: #3A4352; flex: 1 1 200px; }
.la-pill { height: 24px; padding: 0 9px; border-radius: 999px; font: 600 12px/24px 'DM Sans', sans-serif; }
.la-pill.is-allow { background: #E4FFD9; color: #0E5C00; }
.la-pill.is-block { background: #FDECEA; color: #9E2A21; }
.la-remove { height: 36px; padding: 0 12px; border: none; border-radius: 999px; background: transparent; color: #9E2A21; font: 600 13px/18px 'DM Sans', sans-serif; cursor: pointer; white-space: nowrap; }
.la-remove:hover { background: #FDECEA; }

/* Segments (design seg(): 34px buttons on a #EEF0F4 track) */
.la-seg { display: flex; padding: 3px; background: #EEF0F4; border-radius: 999px; gap: 3px; width: max-content; max-width: 100%; overflow-x: auto; }
.la-seg label { position: relative; display: block; flex: none; }
.la-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.la-seg span { display: block; height: 34px; padding: 0 14px; border-radius: 999px; background: transparent; color: #01204E; font: 600 13px/34px 'DM Sans', sans-serif; white-space: nowrap; }
.la-seg input:checked + span { background: #FFFFFF; box-shadow: 0 1px 3px rgba(1, 32, 78, .12); }
.la-seg input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: -3px; }
.la-segrow { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #EEF0F4; }
.la-segrow-text { flex: 1 1 240px; min-width: 0; }

/* Switch rows (design swRow()) and home widgets */
.la-swrow { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #EEF0F4; cursor: pointer; }
.la-swrow.is-locked { cursor: default; opacity: .6; }
.la-switch { transition: background .2s; }
.la-switch:has(input:disabled) input { cursor: default; }
.la-widget { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #EEF0F4; }
.la-widget-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.la-input { height: 44px; padding: 0 12px; border: 1px solid #C5CBD5; border-radius: 12px; font: 400 15px/20px 'DM Sans', sans-serif; color: #121826; outline: none; background: #FFFFFF; width: 100%; min-width: 0; }
.la-input:focus, .la-li-input:focus { border-color: #01204E; }

/* List editors (design listEd()) */
.la-list { display: flex; flex-direction: column; gap: 10px; }
.la-li { display: flex; gap: 8px; align-items: center; }
.la-num { width: 28px; font: 600 12px/20px 'DM Mono', monospace; color: #6B7485; flex: none; }
.la-li-input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #C5CBD5; border-radius: 12px; font: 400 14px/20px 'DM Sans', sans-serif; color: #121826; outline: none; background: #FFFFFF; }
.la-up { width: 32px; height: 32px; border: 1px solid #E6EAF0; border-radius: 10px; background: #FFFFFF; color: #01204E; cursor: pointer; flex: none; padding: 0; font: 400 14px/1 'DM Sans', sans-serif; }
.la-up:hover { background: #F2F5FA; }
.la-x { width: 32px; height: 32px; border: none; border-radius: 10px; background: transparent; color: #9E2A21; font: 700 16px/1 'DM Sans', sans-serif; cursor: pointer; flex: none; padding: 0; }
.la-x:hover { background: #FDECEA; }
.la-add { height: 36px; padding: 0 16px; border: 1.5px solid #01204E; border-radius: 999px; background: #FFFFFF; color: #01204E; font: 600 13px/18px 'DM Sans', sans-serif; cursor: pointer; white-space: nowrap; align-self: flex-start; }
.la-add:hover { background: #F2F5FA; }

/* File type chips (design chip(): navy when on) */
.la-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.la-chip { position: relative; display: block; }
.la-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.la-chip span { display: block; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #DFE3EA; background: #FFFFFF; color: #01204E; font: 600 13px/32px 'DM Sans', sans-serif; white-space: nowrap; }
.la-chip input:checked + span { border-color: #01204E; background: #01204E; color: #FFFFFF; }
.la-chip input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }

.la-note { padding: 12px 14px; border-radius: 14px; background: #F2F5FA; display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 20px; color: #121826; }
