/* Update 113: existing portal navy/teal palette, scoped to semester operations. */
.flow113{background:#fff;border:1px solid #dbe5e9;border-radius:20px;padding:24px;margin:0 0 22px;color:#173d50;min-width:0;max-width:100%}
.flow113 *{box-sizing:border-box}.flow113 h2,.flow113 h3,.flow113 h4,.flow113 p{margin:0 0 12px}.flow113 h2{font-size:1.5rem;line-height:1.6}.flow113 h3{font-size:1.15rem}.flow113 p{line-height:1.85}.flow113 small{display:block;line-height:1.7;color:#647d8a;overflow-wrap:anywhere}.flow113 strong{overflow-wrap:anywhere}
.flow113-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.flow113-heading>div{min-width:0}.flow113-heading p{color:#647d8a;margin:0;max-width:75ch}.flow113-eyebrow{color:#a18b4c;font-size:.8rem;letter-spacing:.08em}.flow113 button,.flow113 select,.flow113 input,.flow113 textarea{font:inherit}.flow113 button{border:1px solid #cbdce1;background:#fff;color:#173d50;border-radius:10px;min-height:42px;padding:8px 14px;cursor:pointer;line-height:1.7;white-space:normal}.flow113 button:disabled{cursor:not-allowed;opacity:.55}.flow113 button:focus-visible,.flow113 input:focus-visible,.flow113 select:focus-visible,.flow113 textarea:focus-visible,.flow113 summary:focus-visible{outline:3px solid #b89a51;outline-offset:3px}.flow113 .flow113-primary{background:#103e54;color:#fff;border-color:#103e54}.flow113 .flow113-link{border:0;padding:4px 0;min-height:36px;text-decoration:underline;text-underline-offset:4px;background:transparent}
.flow113-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.flow113-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#264e55;font-weight:600}.flow113-field select,.flow113-field input,.flow113-field textarea{width:100%;min-width:0;max-width:100%;border:1px solid #cbdce1;border-radius:10px;padding:11px 12px;background:#fff;color:#173d50;font-weight:400;min-height:46px}.flow113-field select{overflow:hidden;text-overflow:ellipsis}.flow113-field textarea{resize:vertical;min-height:75px}
.flow113 .flow113-note{background:#f2f7f7;border-radius:10px;color:#4f6f77;padding:10px 13px;font-size:.9rem;margin:14px 0}.flow113 .flow113-warning{color:#86631b}.flow113 .flow113-error{color:#9a3438;background:#fff2f2;border:1px solid #e8bfc1;border-radius:10px;padding:12px}.flow113 .flow113-success{color:#1d6c56;background:#edf8f2;border:1px solid #b7dbca;border-radius:10px;padding:12px}
.flow113-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.flow113-counts button{display:flex;flex-direction:column;align-items:flex-start;text-align:start;background:#f8fafb;gap:4px;padding:13px}.flow113-counts strong{font-size:1.55rem;line-height:1.4;color:#103e54}.flow113-counts span{font-size:.85rem;color:#647d8a}.flow113 button[aria-pressed=true]{border-color:#397f7f;background:#eef6f5;color:#1d6563}
.flow113-tabs{display:flex;gap:8px;border-bottom:1px solid #dbe5e9;padding-bottom:12px;margin:18px 0}.flow113-tabs button{flex:1}.flow113-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;margin:12px 0}.flow113-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}.flow113-actions>span{margin-inline-end:auto;font-size:.9rem;color:#647d8a}.flow113-actions button{flex-shrink:1}
.flow113-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid #dbe5e9;border-radius:12px;margin:14px 0}.flow113 table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:start;table-layout:fixed}.flow113 th{background:#f3f7f8;color:#4e6d7c;font-weight:600}.flow113 th,.flow113 td{padding:12px 10px;text-align:start;vertical-align:top;border-bottom:1px solid #e3ebef;overflow-wrap:anywhere}.flow113 tr:last-child td{border-bottom:0}.flow113 th:first-child{width:65px}.flow113 td p{margin:7px 0 0;font-size:.85rem}.flow113 input[type=checkbox]{width:20px;height:20px;accent-color:#176a70;cursor:pointer}.flow113 tr.is-selected{background:#f3f9f8}.flow113-status{display:inline-block;border-radius:7px;font-size:.8rem;padding:4px 7px;background:#eef3f6;color:#4e6572;line-height:1.7}.flow113-status.status-registered{background:#e6f5ed;color:#23654e}.flow113-status.status-ready{background:#e8f4f4;color:#236d6c}.flow113-status.status-financial_hold{background:#fff4db;color:#805e15}.flow113-status.status-needs_review{background:#faeeee;color:#96515b}.flow113-course-details{margin-top:8px}.flow113-course-details summary{cursor:pointer;color:#27676b;line-height:1.7}.flow113 ul{padding-inline-start:20px;line-height:1.8;margin:10px 0}.flow113 li{margin-bottom:7px}
.flow113-preview{background:#f8fbfb;border:1px solid #bfd7d9;border-radius:14px;padding:18px;margin-top:20px}.flow113-preview table th:first-child{width:22%}.flow113-preview table{background:#fff}.flow113-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px 0}.flow113-empty{border:1px dashed #c9dade;border-radius:12px;text-align:center;padding:24px;color:#647d8a;line-height:1.9}.flow113-schedule{min-width:0}.flow113-schedule>.flow113-field{max-width:600px;margin:14px 0}.flow113-schedule-list{list-style:none;padding:0!important}.flow113-schedule-list li{border-bottom:1px solid #dbe5e9;padding:9px 0}.flow113-legacy{margin-top:18px}.flow113-legacy>summary{cursor:pointer;color:#54747e;padding:14px;font-weight:600;line-height:1.8}.flow113-legacy[open]>summary{margin-bottom:14px}
@media(max-width:1100px){.flow113-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.flow113-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.flow113{padding:15px;border-radius:16px}.flow113 h2{font-size:1.25rem}.flow113-heading{flex-wrap:wrap;gap:10px}.flow113-filters,.flow113-toolbar{grid-template-columns:minmax(0,1fr)}.flow113-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.flow113-counts button:last-child{grid-column:1/-1}.flow113-tabs{flex-direction:column}.flow113-actions{align-items:stretch}.flow113-actions>span{flex-basis:100%;margin:0}.flow113-actions>button{flex:1 1 140px}.flow113-preview{padding:12px}.flow113-table-wrap{border:0;overflow:visible}.flow113 table,.flow113 tbody,.flow113 tr,.flow113 td{display:block;width:100%}.flow113 thead{display:none}.flow113 tr{border:1px solid #dbe5e9;border-radius:12px;overflow:hidden;margin-bottom:12px;background:#fff}.flow113 td{border-bottom:1px solid #e8eef1;padding:10px 12px}.flow113 td:before{content:attr(data-label);display:block;font-size:.78rem;font-weight:600;color:#647d8a;margin-bottom:5px}.flow113 td:first-child{width:100%}.flow113 tr:last-child td{border-bottom:1px solid #e8eef1}.flow113 tr td:last-child{border-bottom:0}.flow113 .flow113-note{font-size:.85rem}.flow113 button{max-width:100%}}

.flow113-match121{border:1px solid var(--border,#d9e4e8);border-radius:16px;padding:1rem;margin:1rem 0;background:var(--panel,#fff)}.flow113-match121 summary{cursor:pointer;font-weight:700;color:var(--primary,#0c4059)}.flow113-match121 select,.flow113-match121 textarea{max-width:100%;min-width:12rem;border:1px solid #ccdcdf;border-radius:8px;padding:.6rem;background:#fff;color:#153d4c}.flow113-match121 td{vertical-align:top}.flow113-match121 .flow113-table-wrap{overflow:auto;margin:1rem 0}.flow113-match121 button{margin:.4rem 0}

/* 153: preserve visibility of historical matching independently of enrollment. */
.flow113 .flow153-history-review{margin-top:12px;padding:11px;border:1px solid #e1d3ae;border-inline-start:3px solid #aa9252;border-radius:9px;background:#fffaf0;min-width:0}.flow113 .flow153-history-review>strong{display:block;font-size:.85rem;line-height:1.8;color:#735d28}.flow113 .flow153-history-review>p{font-size:.83rem;margin:7px 0;line-height:1.85}.flow113 .flow153-history-review>small{color:#647078}.flow113 .flow153-history-review details{margin-top:8px}.flow113 .flow153-history-review summary{cursor:pointer;color:#735d28;line-height:1.8;font-size:.82rem}.flow113 .flow153-history-review ul{margin:8px 0 0;padding-inline-start:18px}.flow113 .flow153-history-review li{font-size:.82rem;overflow-wrap:anywhere}.flow113 .flow153-history-review bdi{display:block;color:#647d8a;font-size:.8rem}
