/* Owner portal: Dashboard, Institutes, one institute's page. Works with app.css. */
.ow { display: flex; flex-direction: column; gap: 16px; }
.ow h2 { font-size: 18px; font-weight: 700; margin: 0; }
.ow h3 { font-size: 16px; font-weight: 700; margin: 0; }
.ow .page-head { margin-bottom: 0; }
.ow .panel { margin-bottom: 0; min-width: 0; }
.ow .panel > h2, .ow .panel > h3 { margin-bottom: 10px; }
.ow .panel-title { padding: 16px 20px 8px; }
.ow-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.ow .panel > .ow-between { margin-bottom: 10px; }
.ow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ow-grow { flex: 1 1 200px; min-width: 0; }
.ow-pad { padding: 14px 20px; }
.ow-r { text-align: right; }
th.ow-r { text-align: right; }
.btn.ow-white { background: #FFFFFF; color: #101828; }
.ow .chip.ow-chip { min-height: 36px; padding: 3px 13px; font-size: 13px; }
.ow .chip.ow-chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.ow-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ow-fig { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 13px 15px; min-width: 0; text-align: left; font: inherit; color: inherit; }
.ow-l { font-size: 13px; color: var(--slate); }
.ow-v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.ow-v.bad { color: #9A2A0A; }
.ow-v.txt { font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.5; color: var(--ink-2); padding: 4px 0; }
.ow-s { font-size: 12.5px; color: var(--slate); }
.ow-link { font-weight: 600; color: #9A2A0A; }
.ow-riskbtn { cursor: pointer; background: #FFF8F3; border: 2px solid #E9B8A0; padding: 12px 14px; }
.ow-riskbtn:hover { background: #FFF1E8; }
.ow-two { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.ow-main { flex: 3 1 440px; min-width: 0; }
.ow-side { flex: 2 1 300px; min-width: 0; }
div.ow-side, .ow-col { display: flex; flex-direction: column; gap: 16px; }
.ow-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ow-todo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule-2); }
.ow-todo .pill { flex: 0 0 84px; text-align: center; }
.ow-stack { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; }
.ow-seg.g { background: #027A48; } .ow-seg.a { background: #E0A030; } .ow-seg.r { background: #B42318; } .ow-seg.n { background: #667085; }
.ow-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; }
.ow-mbar { margin-bottom: 11px; font-size: 13.5px; }
.ow-track { height: 8px; border-radius: 4px; background: #EAECF0; overflow: hidden; margin-top: 4px; }
.ow-track > div { height: 100%; background: var(--brand); border-radius: 4px; }
.ow-track.big { height: 12px; border-radius: 6px; margin: 0; } .ow-track.big > div.low { background: #C2570C; }
.ow-tedit { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.ow-dark { background: var(--night); color: #FFFFFF; border-radius: 18px; padding: 20px 22px; }
.ow-dim { color: #D0D5DD; font-size: 13px; }
.ow-bars { display: flex; align-items: stretch; gap: 8px; height: 170px; margin: 16px 0 6px; border-bottom: 1px solid #4B4160; }
.ow-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; font-size: 11.5px; color: #D0D5DD; }
.ow-bar i { display: block; width: 100%; min-height: 1px; background: #6D4FA3; border-radius: 4px 4px 0 0; } .ow-bar i.now { background: #C4A5FF; }
.ow-health { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.ow-hbox { display: flex; justify-content: space-between; gap: 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 16px; }
.ow-an { display: flex; flex-direction: column; gap: 12px; }
.ow-cmp { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 54px; gap: 12px; align-items: center; min-height: 34px; font-size: 13.5px; }
.ow-cmp b { text-align: right; }
.ow-months { display: flex; gap: 10px; height: 150px; align-items: stretch; }
.ow-mo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; font-size: 12px; min-width: 0; }
.ow-mo i { display: block; width: 100%; max-width: 40px; min-height: 1px; background: #C9B5F5; border-radius: 4px 4px 0 0; flex: 0 0 auto; max-height: 100px; } .ow-mo i.now { background: var(--brand); }
.ow-mo span { color: var(--slate); }
.ow-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--rule-2); font-size: 13.5px; }
.ow-linkrow { width: 100%; background: none; border-width: 1px 0 0; border-style: solid; border-color: var(--rule-2); font: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 40px; }
.ow-linkrow:hover { background: var(--rule-2); } .ow-linkrow[aria-current] { font-weight: 700; }
.ow-risk { border: 2px solid #E9B8A0; }
.ow-rrow { display: flex; flex-wrap: wrap; gap: 14px 20px; padding: 14px 0; border-top: 1px solid var(--rule-2); }
.ow-rname { flex: 1 1 170px; } .ow-rname h4 { margin: 0 0 4px; font-size: 15px; } .ow-rname .pill { margin-bottom: 4px; }
.ow-rwhy { flex: 2 1 260px; font-size: 13.5px; min-width: 0; } .ow-rwhy ul { margin: 2px 0 6px; padding-left: 18px; }
.ow-dl { flex: 1 1 180px; margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; font-size: 13px; align-content: start; }
.ow-dl dt { color: var(--slate); } .ow-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ow-rbtns { flex: 0 1 160px; display: flex; flex-direction: column; gap: 6px; }
.ow input.ow-search { width: 240px; max-width: 100%; }
.ow .mt-view button { cursor: pointer; }
.ow-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ow-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.ow-card h3 { overflow-wrap: anywhere; }
.ow-chead { display: flex; gap: 12px; align-items: center; }
.ow-chead .ow-grow { flex-basis: 100px; }
.ow-logo { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #FFFFFF; font-weight: 700; font-size: 14px; object-fit: contain; background: #FFFFFF; }
.ow-logo.sm { width: 36px; height: 36px; border-radius: 10px; font-size: 12.5px; } .ow-logo.big { width: 56px; height: 56px; border-radius: 14px; font-size: 18px; }
.ow-cnums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: #F9FAFB; border-radius: 12px; padding: 10px 12px; }
.ow-cnums b { display: block; font-size: 19px; } .ow-cnums span { font-size: 12px; color: var(--slate); }
.ow-alert { font-size: 13px; font-weight: 600; border-radius: 10px; padding: 8px 10px; }
.ow-alert.bad { background: #FDEBE4; color: #9A2A0A; } .ow-alert.warn { background: #FEF0C7; color: #B54708; } .ow-alert.ok { background: #E5F3EC; color: #027A48; } .ow-alert.none { background: var(--rule-2); color: #344054; }
.ow-cact { display: flex; gap: 6px; margin-top: auto; justify-content: flex-end; flex-wrap: wrap; }
.ow-card .ow-cact .btn { flex: 1; }
.ow-list { min-width: 980px; }
.ow-who { display: flex; gap: 10px; align-items: center; min-width: 0; }
.ow-need.bad { color: #9A2A0A; font-weight: 600; } .ow-need.warn { color: #B54708; font-weight: 600; } .ow-need.ok, .ow-need.none { color: var(--slate); }
.ow-back { align-self: flex-start; }
.ow-tabbody { display: flex; flex-direction: column; gap: 16px; }
.ow .tabs { margin-bottom: 0; }
.ow-switch { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 42px; margin: 0; border-top: 1px solid var(--rule-2); font-weight: 400; cursor: pointer; }
.ow-switch input { width: 18px; height: 18px; accent-color: var(--brand); }
.ow-laterbox { background: #F9FAFB; border-style: dashed; border-color: var(--field); }
.ow-brand { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.ow-dialog { width: min(560px, 100%); }
.ow-c { text-align: center; } th.ow-c { text-align: center; }
.ow-okt { color: #027A48; }
.ow-mt { margin-top: 12px; }
.ow-num { width: 96px !important; min-height: 38px !important; padding: 4px 10px !important; }
.ow-end { display: flex; justify-content: flex-end; }
.ow-addrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--rule-2); }
.ow-addrow input { flex: 1 1 180px; width: auto; }
.ow-fs { border: 0; margin: 0; padding: 0; }
.ow-fs legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.ow-opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; padding: 10px 12px; margin: 0 0 8px; border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; }
.ow-opt input[type=radio] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.ow-opt > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ow-figbtn { cursor: pointer; } .ow-figbtn:hover { background: #F9FAFB; } .ow-figbtn .ow-s { color: var(--brand); font-weight: 600; }
.ow-rowend { justify-content: flex-end; flex-wrap: nowrap; }
.ow select.ow-pick { width: auto; min-height: 40px; }
.btn.ow-ghostw { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .45); }
.ow .tabs[aria-label=Courses] { flex-wrap: wrap; }
.ow-rbox { background: #F9FAFB; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.ow-rsplit { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.ow .panel.ow-rlist { flex: 1 1 280px; max-width: 340px; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.ow-ritem { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px 12px; text-align: left; font: inherit; color: inherit; background: none; border: 2px solid transparent; border-radius: 12px; cursor: pointer; }
.ow-ritem:hover { background: #F9FAFB; } .ow-ritem[aria-current] { background: var(--brand-soft); border-color: var(--brand); }
.ow .panel.ow-rpane { flex: 999 1 420px; display: flex; flex-direction: column; gap: 12px; }
.ow-rchecks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.ow-rdups { margin: 0; padding-left: 18px; }
.ow-rq { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; }
.ow-ropt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 11px; border: 1px solid var(--rule); border-radius: 9px; font-size: 14px; }
.ow-ropt .qhtml { flex: 1; min-width: 0; } .ow-ropt.on { border-color: var(--ok); background: #E5F3EC; }
.ow details summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.ow-glabel { font-weight: 600; font-size: 14px; margin: 12px 0 6px; }
.ow-msg { border-top: 1px solid var(--rule-2); padding-top: 10px; } .ow-msg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ow-msg.me { background: #F9FAFB; border-radius: 10px; padding: 10px 12px; border-top: 0; }
.ow textarea { width: 100%; }
.ow-tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.ow-trow { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--rule-2); }
.ow-selfstart { align-self: flex-start; }
.as-list { padding-bottom: 90px; }
.as-toolbar .mt-view { margin: 0 0 0 auto; }
@media (max-width: 560px) { .ow-tcards { grid-template-columns: minmax(0, 1fr); } }
.ow-searchrow { display: flex; gap: 10px; flex-wrap: wrap; }
.ow .ow-searchrow input.ow-search { width: auto; flex: 1 1 260px; max-width: none; }
.ow .ow-searchrow select { width: auto; flex: 0 1 240px; }
.ow .ow-between > .mt-view { margin: 0 0 0 auto; }
/* the owner menu */
.ow-menu .ow-group { font-size: 12px; font-weight: 600; color: #AEB7C4; padding: 10px 14px 2px; }
.ow-menu .side-link { min-height: 36px; padding: 6px 14px; }
.ow-menu .ow-later { color: #AEB7C4; }
.ow-tag { margin-left: auto; font-size: 11px; font-weight: 500; color: #AEB7C4; }
.layout.rail .ow-menu .ow-group { height: 1px; padding: 0; margin: 6px 8px; background: rgba(255, 255, 255, .15); overflow: hidden; color: transparent; }
.layout.rail .ow-menu .ow-later { opacity: .6; }
.layout.rail .ow-menu .ow-tag { display: none; }
@media (max-width: 860px) { .ow-menu .ow-group { display: none; } }
@media (max-width: 560px) { .ow-cmp { grid-template-columns: minmax(0, 1fr) 54px; } .ow-cmp .ow-track { grid-column: 1 / -1; grid-row: 2; } .ow input.ow-search { width: 100%; } }
/* AI second check (file 56) */
.ow-aibox { border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ow-aibox h3 { margin: 0; }
.ow-pre { white-space: pre-wrap; margin: 6px 0 0; font-size: 13.5px; }
/* Platform settings (file 52) and the notice banner */
.ow-setgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; align-items: start; }
.ow-setgrid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.ow-setcard { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ow-setcard h2 { margin: 0; }
.ow-setcard .ow-s { margin: 0; }
.ow-setrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule-2); }
.ow-setrow.col { flex-direction: column; align-items: stretch; gap: 6px; }
.ow-range { width: 100%; min-height: 28px; padding: 0; margin: 0; border: 0; background: none; accent-color: var(--brand); }
.ow-phone { display: flex; gap: 8px; flex-wrap: wrap; }
.ow-phone select { flex: 0 1 210px; width: auto; }
.ow-phone input { flex: 1 1 170px; width: auto; min-width: 0; }
.ow-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ow-upload .dropzone { flex: 1 1 220px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.ow-upprev { flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.ow-upprev img { max-width: 52px; max-height: 52px; object-fit: contain; }
.ow-savebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--rule-2); border-radius: 14px; padding: 12px 16px; }
.ss-notice { background: #FFF2D9; color: #7A4B00; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
main.main > .ss-notice { margin: 12px 24px 0; }
@media (max-width: 560px) { main.main > .ss-notice { margin: 8px 12px 0; } }

/* Review and publish › Questions to check (file 133) */
.qtc-list { display: grid; gap: 12px; margin: 14px 0; }
.qtc-card { border: 1px solid #E4E7EC; border-radius: 12px; padding: 14px 16px; background: #fff; display: grid; gap: 10px; }
.qtc-why { display: grid; gap: 6px; justify-items: start; }
.qtc-rep { font-size: 14px; }
.qtc-acts { flex-wrap: wrap; gap: 8px; }
.qtc-prev { border-top: 1px solid #E4E7EC; padding-top: 12px; display: grid; gap: 10px; }
/* Score table tab (file 138) */
.st { display: flex; flex-direction: column; gap: 14px; }
.st-banner { background: #0B1F26; color: #fff; border-radius: 16px; padding: 18px 22px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.st-banner.light { background: #fff; color: #101828; border: 1px solid #EAECF0; }
.st-grow { flex: 1 1 340px; display: grid; gap: 6px; }
.st-eye { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #7FE0D6; } .st-banner.light .st-eye { color: #0E7C7B; }
.st-big { font-size: 20px; font-weight: 800; } .st-sub { font-size: 14px; color: #C9D3DB; line-height: 1.5; } .st-banner.light .st-sub { color: #475467; }
.st-acts { display: flex; flex-direction: column; gap: 8px; } .st-row { display: flex; gap: 8px; }
.st-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.st-two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 14px; }
@media (max-width: 900px) { .st-two { grid-template-columns: 1fr; } }
.st-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #475467; margin-bottom: 6px; }
.st-key { display: inline-flex; gap: 6px; align-items: center; }
.st-sw { display: inline-block; width: 22px; height: 0; border-top: 3px solid #0E7C7B; }
.st-sw.dash { border-top: 2px dashed #98A2B3; } .st-sw.cur { border-top: 2px solid #344054; } .st-sw.bar { width: 12px; height: 10px; border: 0; background: #D9F2EF; }
.st-side { display: flex; flex-direction: column; gap: 8px; }
.st-avg { display: flex; align-items: baseline; gap: 10px; } .st-avg b { font-size: 30px; font-weight: 800; }
.st-old { color: #667085; text-decoration: line-through; }
.st-note { margin: 0; font-size: 13px; color: #344054; line-height: 1.5; background: #F0F9F8; border-radius: 10px; padding: 10px 12px; }
.st-up { color: #067647; } .st-dn { color: #B42318; }
.st-edit { max-height: 52vh; overflow: auto; }
.st-grid table td, .st-grid table th { padding: 4px 10px; }
.st-in { width: 84px; padding: 5px 8px; border: 1px solid #D0D5DD; border-radius: 8px; font: inherit; text-align: right; }
.st-in.bad { border-color: #F04438; }
.st-bands { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0; } .st-bands label { display: flex; gap: 6px; align-items: center; font-size: 14px; }
