.ready-text-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ready-text-breadcrumb{display:flex;gap:7px;align-items:center;color:#506076;font-size:.85rem;margin-bottom:8px}
.ready-text-breadcrumb [aria-current="page"]{font-weight:700;color:#20324a}
.ready-text-private{white-space:normal;text-align:center}
.ready-text-panel{max-width:100%;min-width:0}
.ready-text-panel h2,.ready-text-panel h3{margin-block:0 8px}
.ready-text-search{position:relative;container-type:inline-size;min-width:0;margin-block:6px 8px}
.ready-text-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}
.ready-text-search-row input{display:block;width:100%;min-width:0}
.ready-text-search-row .button{white-space:nowrap;min-height:44px}
.ready-text-results{position:relative;margin-top:6px;max-height:min(60vh,560px);overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #dce3eb;border-radius:12px;box-shadow:0 12px 28px #18243a26;padding:6px;min-width:0}
.ready-text-results[hidden]{display:none}
.ready-text-results p{padding:8px;margin:0}
.ready-text-results [data-ready-options]{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
@container (min-width:560px){.ready-text-results [data-ready-options]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:850px){.ready-text-results [data-ready-options]{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ready-text-suggestion{display:grid;align-content:start;gap:3px;width:100%;padding:10px 12px;text-align:left;border:1px solid #edf0f4;border-radius:8px;background:#fff;color:inherit;font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.ready-text-suggestion:hover,.ready-text-suggestion[aria-selected="true"],.ready-text-suggestion[id]:focus-visible{background:#eeebfa}
.ready-text-suggestion[aria-selected="true"]{border-color:#b5acf0;box-shadow:inset 3px 0 var(--navy,#15105f)}
.ready-text-suggestion:disabled{cursor:default;opacity:.65}
.ready-text-suggestion span,.ready-text-suggestion small{color:#506076;font-size:.84rem;line-height:1.35}
.ready-text-selected{min-width:0;margin-block:14px}
.ready-text-result-list{display:grid;gap:8px}
.ready-text-result,.ready-text-student{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dce3eb;border-radius:12px;padding:12px;background:#fff;min-width:0}
.ready-text-student{border-color:#b5acf0;background:#f6f3ff;box-shadow:inset 3px 0 var(--navy,#15105f)}
.ready-text-student-toggle{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between;gap:12px;align-self:stretch;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.ready-text-student-toggle:hover .ready-text-remove-hint{text-decoration:underline}
.ready-text-student-toggle:focus-visible{outline:3px solid #b5acf0;outline-offset:2px;border-radius:6px}
.ready-text-card-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:6px;align-items:center}
.ready-text-card-actions .button{min-width:88px}
.ready-text-card-actions .button:disabled{opacity:.55;cursor:not-allowed}
.ready-text-family-card .ready-text-family-option{display:flex;flex:1 1 auto;align-items:center;min-width:0;padding:0;border:0;background:transparent}
.ready-text-family-card .ready-text-family-option:hover{background:transparent}
.ready-text-family-card .ready-text-family-option:disabled{opacity:.65;cursor:default}
.ready-text-family-card .ready-text-family-option:focus-visible{outline:3px solid #b5acf0;outline-offset:2px;border-radius:6px}
.ready-text-student-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.ready-text-family-option{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}
.ready-text-family-option:hover,.ready-text-family-option:focus-visible{border-color:var(--navy,#15105f);background:#f8f6ff}
.ready-text-family-option:focus-visible{outline:3px solid #b5acf0;outline-offset:2px}
.ready-text-family-option:disabled{cursor:default;opacity:.65}
.ready-text-family-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.ready-text-add-action{display:inline-block;flex:0 0 auto;border:1px solid #dce3eb;border-radius:8px;padding:8px 12px;color:var(--navy,#15105f);font-weight:700}
.ready-text-remove-hint{color:var(--navy,#15105f);font-size:.82rem;font-weight:700}
.ready-text-result>div{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.ready-text-result span,.ready-text-student span,.ready-text-student small{color:#506076;font-size:.88rem;line-height:1.35}
.ready-text-family-copy>strong{color:var(--ink,#242743);font-size:1rem}
.ready-text-family-option .ready-text-add-action{color:var(--navy,#15105f);font-size:.875rem}
.ready-text-student small{display:block}
.ready-text-student-toggle .ready-text-remove-hint{color:var(--navy,#15105f);font-size:.82rem;font-weight:700}
.ready-text-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.ready-text-actions label{display:grid;gap:4px;font-size:.85rem}
.ready-text-actions select{min-width:120px}
.ready-text-paging{display:flex;gap:8px;justify-content:flex-end}
.ready-text-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:12px}
.ready-text-form label{display:grid;gap:5px;min-width:0}
.ready-text-form input,.ready-text-form select{width:100%;min-width:0}
.ready-text-error{color:#9b2525;min-height:1.2em}
.ready-text-panel textarea[data-ready-preview]{display:block;box-sizing:border-box;width:100%;min-height:520px;line-height:1.5;resize:vertical;white-space:pre-wrap}
@media(max-width:768px){.ready-text-form{grid-template-columns:1fr 1fr}}
@media(max-width:550px){.ready-text-form{grid-template-columns:1fr}.ready-text-result,.ready-text-student,.ready-text-student-toggle{align-items:stretch;flex-direction:column}.ready-text-result>.button,.ready-text-student .button{align-self:flex-start}.ready-text-search-row{grid-template-columns:1fr}.ready-text-search-row .button{justify-self:start}.ready-text-results{max-height:min(50vh,320px)}.ready-text-panel textarea[data-ready-preview]{min-height:420px}}
@media(max-width:550px){.ready-text-card-actions{width:100%}.ready-text-card-actions .button{flex:1 1 0}.ready-text-family-card .ready-text-family-option{width:100%}}

/* Scoped fields retain the portal theme without depending on another page. */
.ready-text-heading h1{font-size:1.75rem;line-height:1.2;color:var(--navy,#15105f);margin:4px 0 10px}
.ready-text-panel{padding:22px;margin-top:18px}
.ready-text-panel h2{font-size:1.2rem;line-height:1.3;color:var(--navy,#15105f)}
.ready-text-panel h3{font-size:1rem;line-height:1.3;color:var(--navy,#15105f)}
.ready-text-panel p{line-height:1.5;margin:8px 0 14px}
.ready-text-panel label{font-size:.875rem;font-weight:600;color:var(--ink,#242743)}
.ready-text-panel input,.ready-text-panel select,.ready-text-panel textarea{box-sizing:border-box;font:inherit;font-size:1rem;color:var(--ink,#242743);background:#fff;border:1px solid var(--line,#e5e7f0);border-radius:9px;padding:11px 12px;min-height:44px;max-width:100%}
.ready-text-panel select{padding-right:30px}
.ready-text-panel select:disabled{opacity:1;color:var(--muted,#72758b);background:var(--paper,#f5f6fa)}
.ready-text-panel input:focus-visible,.ready-text-panel select:focus-visible,.ready-text-panel textarea:focus-visible,.ready-text-panel button:focus-visible{outline:3px solid #b5acf0;outline-offset:2px;border-color:var(--navy,#15105f)}
.ready-text-panel .form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ready-text-private{border-radius:20px;background:#eeebfa;color:var(--navy,#15105f);font-size:.75rem;font-weight:700;padding:8px 12px}
.ready-text-breadcrumb [aria-current="page"]{color:var(--navy,#15105f)}
@media(max-width:550px){.ready-text-panel{padding:16px}.ready-text-heading h1{font-size:1.5rem}.ready-text-panel .button{min-height:44px}.ready-text-panel textarea[data-ready-preview]{padding:12px}}

.ready-text-selected{display:grid;gap:10px}

.ready-text-role-choice{margin-top:14px}.ready-text-role-choice label{display:flex;align-items:center;gap:9px;min-height:44px}.ready-text-role-choice input[type="checkbox"]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:var(--navy,#15105f)}

.ready-family-diagnostic details{min-width:0}
.ready-family-diagnostic summary{cursor:pointer;color:var(--navy,#15105f);font-size:1.1rem;font-weight:700;line-height:1.4}
.ready-family-diagnostic summary:focus-visible{outline:3px solid #b5acf0;outline-offset:4px;border-radius:4px}
.ready-family-diagnostic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block:16px}
.ready-family-diagnostic-slot{min-width:0}
.ready-family-diagnostic-slot label{display:block;margin-bottom:6px}
.ready-family-diagnostic-slot input{display:block;width:100%}
.ready-family-diagnostic-results{display:grid;gap:6px;max-height:240px;overflow:auto;margin-top:8px}
.ready-family-diagnostic-option{display:block;width:100%;padding:10px 12px;text-align:left;font:inherit;color:var(--ink,#242743);background:#fff;border:1px solid var(--line,#e5e7f0);border-radius:9px;cursor:pointer;overflow-wrap:anywhere}
.ready-family-diagnostic-option:hover,.ready-family-diagnostic-option:focus-visible{background:#f6f3ff;border-color:var(--navy,#15105f)}
.ready-family-diagnostic-option small{display:block;color:#506076}
.ready-family-diagnostic-slot [data-diagnostic-selected]{min-height:1.4em;overflow-wrap:anywhere}
.ready-family-diagnostic-slot [data-diagnostic-selected] .button{margin-left:8px}
.ready-family-diagnostic-answer{margin-top:14px;padding:14px;border:1px solid #dce3eb;border-radius:10px;background:#f8f9fc}
.ready-family-diagnostic-answer ul{margin:10px 0 0;padding-left:20px}
.ready-family-diagnostic-answer li{margin-top:8px;overflow-wrap:anywhere}
.ready-family-diagnostic-answer li span{display:block}
@media(max-width:650px){.ready-family-diagnostic-grid{grid-template-columns:1fr;gap:12px}}
