/* OB Range Manager — scoped to .obrso */
.obrso {
	--o-navy: #0f2a4a;
	--o-navy-2: #1d4473;
	--o-accent: #d9a21b;
	--o-ink: #15202b;
	--o-muted: #5b6b7c;
	--o-line: #dde3ea;
	--o-bg: #f4f6f9;
	--o-card: #ffffff;
	--o-ok: #1e7b45;
	--o-ok-bg: #e3f4ea;
	--o-soon: #8a5a00;
	--o-soon-bg: #fff2d1;
	--o-bad: #a32020;
	--o-bad-bg: #fde5e5;
	--o-miss: #55606c;
	--o-miss-bg: #eceff3;
	--o-s1: #1d4473;
	--o-s2: #d9a21b;
	--o-s3: #a8b8cc;
	--o-radius: 12px;
	color: var(--o-ink);
	font-size: 16px;
	line-height: 1.45;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	container-type: inline-size;
	container-name: obrso;
}
.obrso *, .obrso *::before, .obrso *::after { box-sizing: border-box; }
.obrso h2 { font-size: 1.5rem; margin: 0 0 .25rem; color: var(--o-navy); }
.obrso h3 { font-size: 1.05rem; margin: 0 0 .75rem; color: var(--o-navy); }
.obrso [hidden] { display: none !important; }
.obrso-muted { color: var(--o-muted); }
.obrso-hint { color: var(--o-muted); font-size: .875rem; margin: .25rem 0 1rem; }

.obrso-card {
	background: var(--o-card);
	border: 1px solid var(--o-line);
	border-radius: var(--o-radius);
	padding: 1.25rem;
	margin-bottom: 1rem;
	box-shadow: 0 1px 2px rgba(15, 42, 74, .04);
}

/* Buttons & links */
.obrso-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	min-height: 42px; padding: .5rem 1rem;
	border: 1px solid var(--o-line); border-radius: 8px;
	background: #fff; color: var(--o-navy) !important; font-weight: 600; font-size: .95rem;
	text-decoration: none !important; cursor: pointer; line-height: 1.1; list-style: none;
}
.obrso-btn:hover { border-color: var(--o-navy-2); }
.obrso-btn-primary { background: var(--o-navy); border-color: var(--o-navy); color: #fff !important; }
.obrso-btn-primary:hover { background: var(--o-navy-2); }
.obrso-btn[disabled] { opacity: .5; cursor: not-allowed; }
.obrso-btn-block { width: 100%; min-height: 52px; font-size: 1.1rem; }
.obrso-link { background: none; border: 0; padding: 0; color: var(--o-navy-2); text-decoration: underline; cursor: pointer; font-size: .9rem; }
.obrso-link-danger { color: var(--o-bad); }

/* Forms */
.obrso-field { display: block; margin-bottom: .9rem; }
.obrso-field > span { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .3rem; color: var(--o-navy); }
.obrso textarea { font-family: inherit; }
.obrso-field input, .obrso-field select, .obrso-field textarea, .obrso select, .obrso input[type="search"] {
	width: 100%; min-height: 44px; padding: .55rem .7rem;
	border: 1px solid #c7d0da; border-radius: 8px; background: #fff; color: var(--o-ink); font-size: 1rem;
}
.obrso input:focus, .obrso select:focus, .obrso textarea:focus { outline: 2px solid var(--o-accent); outline-offset: 1px; border-color: var(--o-navy-2); }
.obrso-check { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0 .9rem; cursor: pointer; }
.obrso-check input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: var(--o-navy); }
.obrso-check-strong span { font-weight: 600; }
.obrso-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.obrso-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
.obrso fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.obrso legend { font-weight: 700; color: var(--o-navy); font-size: 1rem; margin-bottom: .6rem; padding: 0; }
.obrso-actions { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1rem; }
.obrso-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.obrso-inline { display: inline; margin: 0; }
.obrso-notice { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 600; }
.obrso-notice-ok { background: var(--o-ok-bg); color: var(--o-ok); }
.obrso-notice-err { background: var(--o-bad-bg); color: var(--o-bad); }
.obrso-error { background: var(--o-bad-bg); color: var(--o-bad); padding: .75rem 1rem; border-radius: 8px; font-weight: 600; margin: 1rem 0 0; }

/* Badges & tags */
.obrso-badge { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; text-decoration: none !important; }
.obrso-ok { background: var(--o-ok-bg); color: var(--o-ok) !important; }
.obrso-soon { background: var(--o-soon-bg); color: var(--o-soon) !important; }
.obrso-expired { background: var(--o-bad-bg); color: var(--o-bad) !important; }
.obrso-missing { background: var(--o-miss-bg); color: var(--o-miss) !important; }
.obrso-never { background: #e7eef8; color: var(--o-navy-2) !important; }
.obrso-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: .1rem .4rem; border-radius: 4px; vertical-align: middle; margin-left: .35rem; }
.obrso-tag-crso { background: var(--o-navy); color: #fff; }
.obrso-tag-rso { background: #e7eef8; color: var(--o-navy); }
.obrso-tag-muted { background: var(--o-miss-bg); color: var(--o-miss); font-weight: 600; letter-spacing: 0; }
.obrso-tag-new { background: var(--o-soon-bg); color: var(--o-soon); }

/* ---------- Sign-in kiosk ---------- */
.obrso-signin { max-width: 640px; }
.obrso-signin .obrso-card { padding: 1.5rem; }
.obrso-signin-head { border-bottom: 3px solid var(--o-accent); padding-bottom: .75rem; margin-bottom: 1.25rem; }
.obrso-signin .obrso-field input { min-height: 52px; font-size: 1.15rem; }
.obrso-signin input[name="phone"] { font-size: 1.5rem; letter-spacing: .03em; text-align: center; }
.obrso-welcome { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--o-bg); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1rem; }
.obrso-welcome-name { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--o-navy); }
.obrso-note { background: var(--o-soon-bg); color: var(--o-soon); padding: .75rem 1rem; border-radius: 8px; font-weight: 600; }
.obrso-waiver { border-top: 1px solid var(--o-line); margin-top: 1rem; padding-top: 1rem; }
.obrso-waiver-text { background: var(--o-bg); border-radius: 8px; padding: .9rem 1rem; font-size: .92rem; max-height: 220px; overflow: auto; margin-bottom: 1rem; }
.obrso-waiver-text p:last-child { margin-bottom: 0; }
.obrso-sig-label { display: flex; justify-content: space-between; font-weight: 600; color: var(--o-navy); margin-bottom: .3rem; }
.obrso-sig-pad { display: block; width: 100%; height: 180px; border: 2px dashed #9fb0c3; border-radius: 8px; background: #fff; touch-action: none; cursor: crosshair; }
.obrso-done { text-align: center; padding: 1rem 0; }
.obrso-done-icon { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; background: var(--o-ok); color: #fff; font-size: 3rem; line-height: 84px; font-weight: 700; }
.obrso-done-msg { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.obrso-closed { text-align: center; }
.obrso-event-name { margin: .1rem 0 0; font-weight: 700; color: var(--o-navy); font-size: 1.05rem; }
.obrso-signin-head .obrso-muted { margin: .1rem 0 0; }
.obrso-next-label { margin: 1.25rem 0 .2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--o-muted); }
.obrso-next-date { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--o-navy); }
.obrso-next-time { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 600; color: var(--o-navy); }
.obrso-nowrap { white-space: nowrap; }
.obrso-next-list { list-style: none; margin: 0; padding: 0; color: var(--o-muted); }
.obrso-next-list li { padding: .15rem 0; }

/* ---------- Portal ---------- */
.obrso-tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--o-line); margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none; }
.obrso-tabs::-webkit-scrollbar { display: none; }
.obrso-tabs a { padding: .7rem 1rem; font-weight: 700; color: var(--o-muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.obrso-tabs a.is-active, .obrso-tabs a:hover { color: var(--o-navy); border-bottom-color: var(--o-accent); }
.obrso-seg { display: inline-flex; background: var(--o-bg); border: 1px solid var(--o-line); border-radius: 10px; padding: 3px; margin-bottom: 1rem; }
.obrso-seg a { padding: .45rem 1rem; border-radius: 8px; font-weight: 700; color: var(--o-muted); text-decoration: none; font-size: .92rem; }
.obrso-seg a span { display: inline-block; min-width: 1.4rem; padding: 0 .35rem; margin-left: .3rem; border-radius: 999px; background: var(--o-line); color: var(--o-ink); font-size: .78rem; text-align: center; }
.obrso-seg a.is-active { background: #fff; color: var(--o-navy); box-shadow: 0 1px 2px rgba(15,42,74,.12); }
.obrso-small { font-size: .85rem; font-weight: 400; }
.obrso-notice-retired { background: var(--o-miss-bg); color: var(--o-miss); font-weight: 600; }
.obrso-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.obrso-toolbar-tight { margin-bottom: .5rem; }
.obrso-toolbar-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.obrso-toolbar-actions .obrso-filter, .obrso-toolbar-actions select { width: auto; min-width: 180px; }

.obrso-table-wrap { overflow-x: auto; padding: 0; }
.obrso-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
.obrso-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--o-muted); background: var(--o-bg); padding: .65rem .8rem; border-bottom: 1px solid var(--o-line); }
.obrso-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--o-line); vertical-align: middle; }
.obrso-table tr:last-child td { border-bottom: 0; }
.obrso-table tbody tr:hover { background: #fafbfd; }
.obrso-table tr.is-voided td { opacity: .5; text-decoration: line-through; }
.obrso-name { font-weight: 700; color: var(--o-navy); text-decoration: none; }
.obrso-name:hover { text-decoration: underline; }

.obrso-dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; }
.obrso-dl dt { color: var(--o-muted); font-size: .875rem; }
.obrso-dl dd { margin: 0; font-weight: 600; word-break: break-word; }

.obrso-firearms { list-style: none; margin: 0 0 .75rem; padding: 0; }
.obrso-firearms li { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--o-line); }
.obrso-firearms li.is-retired { opacity: .55; }
.obrso-details summary { cursor: pointer; font-weight: 700; color: var(--o-navy-2); margin: .5rem 0; }
.obrso-form-compact { margin-top: .5rem; }

.obrso-qual-form { display: grid; grid-template-columns: 1fr 1fr 2fr .8fr auto; gap: .75rem; align-items: end; background: var(--o-bg); padding: .9rem; border-radius: 8px; margin-bottom: 1rem; }
.obrso-qual-form .obrso-field { margin: 0; }
.obrso-qual-form .obrso-btn { min-height: 44px; }

.obrso-dropdown { position: relative; }
.obrso-dropdown summary::-webkit-details-marker { display: none; }
.obrso-dropdown-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid var(--o-line); border-radius: 10px; padding: 1rem; width: 260px; box-shadow: 0 8px 24px rgba(15, 42, 74, .15); }

/* Stats */
.obrso-stats-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.obrso-live { font-size: .85rem; color: var(--o-muted); display: inline-flex; align-items: center; gap: .35rem; }
.obrso-dot { width: 9px; height: 9px; border-radius: 50%; background: #23a45a; box-shadow: 0 0 0 0 rgba(35, 164, 90, .6); animation: obrso-pulse 2s infinite; }
.obrso-stats.is-stale .obrso-dot { background: #c9862a; animation: none; }
@keyframes obrso-pulse { 0% { box-shadow: 0 0 0 0 rgba(35, 164, 90, .55); } 70% { box-shadow: 0 0 0 8px rgba(35, 164, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 164, 90, 0); } }
.obrso-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.obrso-kpi { background: var(--o-card); border: 1px solid var(--o-line); border-radius: var(--o-radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.obrso-kpi-hero { background: var(--o-navy); border-color: var(--o-navy); color: #fff; }
.obrso-kpi-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; opacity: .75; }
.obrso-kpi-value { font-size: 2.3rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.obrso-kpi-hero .obrso-kpi-value { color: var(--o-accent); }
.obrso-kpi-sub { font-size: .85rem; opacity: .8; }
.obrso-flash { animation: obrso-flash 1.2s ease; }
@keyframes obrso-flash { from { background: rgba(217, 162, 27, .45); } to { background: transparent; } }

.obrso-chart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.obrso-chart-grid > .obrso-card { margin-bottom: 0; }
.obrso-chart-grid + .obrso-chart-grid { margin-top: 1rem; }
.obrso-span-2 { grid-column: span 2; }
.obrso-chart svg { width: 100%; height: auto; display: block; }
.obrso-chart .obrso-grid { stroke: var(--o-line); stroke-width: 1; }
.obrso-chart .obrso-axis { fill: var(--o-muted); font-size: 12px; }
.obrso-chart .obrso-val { fill: var(--o-ink); font-size: 12px; font-weight: 700; }
.obrso-chart .obrso-s1 { fill: var(--o-s1); }
.obrso-chart .obrso-s2 { fill: var(--o-s2); }
.obrso-chart .obrso-s3 { fill: var(--o-s3); }
.obrso-empty { color: var(--o-muted); text-align: center; padding: 2.5rem 0; margin: 0; }
.obrso-legend { font-size: .8rem; color: var(--o-muted); margin: -.4rem 0 .5rem; display: flex; align-items: center; gap: .35rem; }
.obrso-sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-left: .4rem; }
.obrso-sw:first-child { margin-left: 0; }
.obrso-sw-1 { background: var(--o-s1); } .obrso-sw-2 { background: var(--o-s2); } .obrso-sw-3 { background: var(--o-s3); }
.obrso-hbars { list-style: none; margin: 0; padding: 0; }
.obrso-hbars li { display: grid; grid-template-columns: 7.5rem 1fr 2.5rem; align-items: center; gap: .5rem; padding: .3rem 0; font-size: .9rem; }
.obrso-hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obrso-hbar-track { background: var(--o-bg); border-radius: 4px; height: 14px; overflow: hidden; }
.obrso-hbar { display: block; height: 100%; background: var(--o-s1); border-radius: 4px; transition: width .4s; }
.obrso-hbar-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.obrso-readiness { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.obrso-big { font-size: 1.8rem; font-weight: 800; color: var(--o-navy); }
.obrso-alerts, .obrso-today { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.obrso-alerts li, .obrso-today li { padding: .45rem 0; border-bottom: 1px solid var(--o-line); font-size: .92rem; }
.obrso-alerts li:last-child, .obrso-today li:last-child { border-bottom: 0; }
.obrso-time { display: inline-block; min-width: 4.5rem; color: var(--o-muted); font-variant-numeric: tabular-nums; }

.obrso-waiver-record .obrso-waiver-text { max-height: none; }
.obrso-sig-img { max-width: 420px; width: 100%; border: 1px solid var(--o-line); border-radius: 8px; }
.obrso-login form p { margin-bottom: .8rem; }
.obrso-login input[type="text"], .obrso-login input[type="password"] { width: 100%; min-height: 44px; padding: .5rem .7rem; border: 1px solid #c7d0da; border-radius: 8px; }
.obrso-login input[type="submit"] { background: var(--o-navy); color: #fff; border: 0; border-radius: 8px; padding: .7rem 1.4rem; font-weight: 700; cursor: pointer; }


/* ---------- Women's class ---------- */
.obrso-classes { margin-bottom: 1rem; }
.obrso-class-opt { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .8rem 1rem; border: 2px solid var(--o-line); border-radius: 10px; margin-bottom: .5rem; cursor: pointer; }
.obrso-class-opt input { width: 20px; height: 20px; accent-color: var(--o-navy); flex: none; margin: 0; }
.obrso-class-opt:has(input:checked) { border-color: var(--o-navy); background: #f2f6fb; }
.obrso-class-when { font-weight: 700; color: var(--o-navy); flex: 1 1 60%; min-width: 0; }
.obrso-class-seats { font-size: .85rem; font-weight: 700; color: var(--o-ok); white-space: nowrap; }
.obrso-class-opt.is-full .obrso-class-seats { color: var(--o-soon); }
.obrso-class-signup .obrso-waiver { border-top: 1px solid var(--o-line); margin-top: .5rem; padding-top: 1rem; }
.obrso-notice-info { background: #e7eef8; color: var(--o-navy); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.obrso-class-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.obrso-class-card { display: block; text-decoration: none !important; color: inherit; transition: border-color .15s, box-shadow .15s; margin: 0; }
.obrso-class-card:hover { border-color: var(--o-navy-2); box-shadow: 0 4px 14px rgba(15,42,74,.1); }
.obrso-meter { height: 8px; background: var(--o-bg); border-radius: 99px; overflow: hidden; margin: .6rem 0; }
.obrso-meter span { display: block; height: 100%; background: var(--o-s1); border-radius: 99px; }
.obrso-class-stats { margin: 0; color: var(--o-muted); font-size: .9rem; }
.obrso-kpi-value small { font-size: 1.1rem; opacity: .7; margin-left: .15rem; }
.obrso-cap-form { display: flex; gap: .4rem; margin-top: .3rem; }
.obrso-cap-form input { width: 5.5rem; min-height: 40px; padding: .3rem .5rem; border: 1px solid #c7d0da; border-radius: 8px; font-size: 1.2rem; font-weight: 700; }
.obrso-notes { max-width: 260px; font-size: .88rem; color: var(--o-muted); }
.obrso-row-actions { white-space: nowrap; }
.obrso-row-actions .obrso-link { margin-right: .5rem; }
.obrso-move select { width: auto; min-height: 30px; padding: .1rem .3rem; font-size: .85rem; }
.obrso-att { min-height: 34px !important; padding: .2rem .4rem !important; font-size: .9rem !important; width: auto !important; }
.obrso-print { max-width: 900px; margin: 0 auto; }
.obrso-print-table td { height: 34px; }
.obrso-sigcell { min-width: 220px; border-bottom: 1px solid #999 !important; }
@media print { .obrso-noprint { display: none; } .obrso-print-table th { background: #eee !important; } }

/* Student account */
.obrso-narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.obrso-reg { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--o-line); flex-wrap: wrap; }
.obrso-reg:last-child { border-bottom: 0; }
.obrso-reg p { margin: 0; }
.obrso-reg-when { font-weight: 700; color: var(--o-navy); margin: 0; }
.obrso-reg.is-past .obrso-reg-when { color: var(--o-ink); font-weight: 600; }
.obrso-reg-actions { display: flex; align-items: center; gap: .75rem; }
.obrso-materials { list-style: none; margin: 0; padding: 0; }
.obrso-materials li { border-bottom: 1px solid var(--o-line); }
.obrso-materials li:last-child { border-bottom: 0; }
.obrso-materials a { display: flex; gap: .6rem; padding: .6rem 0; text-decoration: none; color: var(--o-ink); }
.obrso-materials a strong { color: var(--o-navy); }
.obrso-mat-icon { flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--o-bg); color: var(--o-navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.obrso-materials-admin li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; }
.obrso-materials-admin li.is-retired { opacity: .55; }
.obrso-mat-main { flex: 1; }
.obrso-mat-main a { display: inline; padding: 0; }
.obrso-mat-actions { display: flex; gap: .6rem; }
.obrso-verify-ok { font-size: 1.2rem; font-weight: 800; color: var(--o-ok); }
.obrso-verify-bad { font-size: 1.05rem; font-weight: 700; color: var(--o-bad); }
.obrso-verify-form { margin-top: 1.5rem; border-top: 1px solid var(--o-line); padding-top: 1rem; }
.obrso-standalone { padding: 2rem 16px; }


/* ---------- Tutorials ---------- */
.obrso-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.obrso-chips a { padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--o-line); background: #fff; color: var(--o-navy); font-weight: 600; font-size: .88rem; text-decoration: none; }
.obrso-chips a.is-active { background: var(--o-navy); border-color: var(--o-navy); color: #fff; }
.obrso-tut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.obrso-tut-card { margin: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.obrso-tut-card.is-retired { opacity: .55; }
.obrso-tut-link { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem; text-decoration: none !important; color: inherit; flex: 1; }
.obrso-tut-link:hover .obrso-tut-title { text-decoration: underline; }
.obrso-tut-kind { font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--o-muted); }
.obrso-tut-video { color: var(--o-bad); }
.obrso-tut-title { font-size: 1.1rem; color: var(--o-navy); line-height: 1.3; }
.obrso-tut-card .obrso-tag { align-self: flex-start; margin-left: 0; }
.obrso-tut-sum { font-size: .9rem; }
.obrso-tut-admin { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .6rem 1.1rem; background: var(--o-bg); border-top: 1px solid var(--o-line); font-size: .85rem; }
.obrso-video { background: #000; border-radius: var(--o-radius); overflow: hidden; margin-bottom: 1rem; }
.obrso-video video { display: block; width: 100%; max-height: 70vh; background: #000; }
.obrso-tut-body { font-size: 1.02rem; line-height: 1.65; }
.obrso-tut-body img { max-width: 100%; height: auto; }
.obrso-launch { align-items: center; }
.obrso-launch form { margin: 0; flex: none; }
.obrso-tutorials .wp-editor-wrap { border: 1px solid #c7d0da; border-radius: 8px; overflow: hidden; }

/* Responsive */
@container obrso (max-width: 900px) {
	.obrso-kpis { grid-template-columns: 1fr 1fr; }
	.obrso-chart-grid { grid-template-columns: 1fr; }
	.obrso-span-2 { grid-column: auto; }
	.obrso-grid-3 { grid-template-columns: 1fr 1fr; }
	.obrso-qual-form { grid-template-columns: 1fr 1fr; }
	.obrso-row-actions { white-space: normal; }
}
@container obrso (max-width: 520px) {
	.obrso-class-seats { flex-basis: 100%; padding-left: calc(20px + .75rem); }
}
@container obrso (max-width: 600px) {
	.obrso-grid-2, .obrso-grid-3 { grid-template-columns: 1fr; }
	.obrso-kpi-value { font-size: 1.9rem; }
	.obrso-signin .obrso-card { padding: 1.1rem; }
	.obrso-toolbar-actions { width: 100%; }
	.obrso-toolbar-actions .obrso-filter { flex: 1 1 100%; min-width: 0; order: -1; }
	.obrso-toolbar-actions select, .obrso-toolbar-actions .obrso-inline { flex: 1 1 100%; min-width: 0; }
	.obrso-toolbar-actions > .obrso-btn, .obrso-toolbar-actions > .obrso-dropdown { flex: 1 1 auto; }
	/* Card-style table rows on phones */
	.obrso-table thead { display: none; }
	.obrso-table, .obrso-table tbody, .obrso-table tr, .obrso-table td { display: block; width: 100%; }
	.obrso-table tr { border-bottom: 1px solid var(--o-line); padding: .5rem .25rem; }
	.obrso-table td { border: 0; padding: .25rem .6rem; display: flex; justify-content: space-between; gap: 1rem; }
	.obrso-table td[data-label]::before { content: attr(data-label); color: var(--o-muted); font-size: .8rem; font-weight: 600; }
	.obrso-dropdown-body { right: auto; left: 0; }
}
@media print {
	.obrso-tabs, .obrso-toolbar-actions, .obrso-link { display: none !important; }
	.obrso-card { border: 0; box-shadow: none; }
}

.obrso .obrso-progress { height: 10px; border-radius: 6px; background: var(--o-line); overflow: hidden; margin: .25rem 0 .4rem; }
.obrso .obrso-progress-bar { height: 100%; width: 0; background: var(--o-navy-2); transition: width .2s; }
.obrso .obrso-error-text { color: #b42318; font-weight: 600; }
.obrso details.obrso-hint code { display: block; word-break: break-all; margin-top: .3rem; font-size: .8em; }

/* Tutorial review */
.obrso .obrso-notice-warn { background: var(--o-soon-bg); color: var(--o-soon); border: 1px solid #f0d58a; }
.obrso .obrso-notice-warn a { color: inherit; }
.obrso .obrso-tag-warn { background: var(--o-soon-bg); color: var(--o-soon); }
.obrso .obrso-tag-bad { background: #fde8e7; color: #b42318; }
.obrso .obrso-review-queue ul { margin: .4rem 0 0 1.1rem; padding: 0; }
.obrso .obrso-review-queue li { margin: .15rem 0; }
.obrso .obrso-review-form { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid rgba(0,0,0,.08); color: var(--o-ink); }
.obrso .obrso-review-form .obrso-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Roster email status */
.obrso .obrso-tag-ok { background: var(--o-ok-bg); color: var(--o-ok); }
.obrso .obrso-email-cell a { word-break: break-all; margin-right: .25rem; }
.obrso .obrso-email-cell .obrso-tag { white-space: nowrap; }
.obrso #obrso-roster a[href^="tel:"] { white-space: nowrap; }

/* ---- 1.7.0: class day (RSO sign-up, check-in), survey, photos ---- */
.obrso-cd-when { margin: 0 0 1rem; line-height: 1.5; }
.obrso-cd-h { margin: 1.4rem 0 .5rem; }
.obrso-cd-list { list-style: none; margin: 0 0 .75rem; padding: 0; columns: 2; column-gap: 1.5rem; }
.obrso-cd-list li { padding: .2rem 0; break-inside: avoid; }
.obrso-staff-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.obrso-staff-buttons .obrso-btn { min-height: 58px; font-size: 1.1rem; }
.obrso-btn-yes { background: #1e7b45; border-color: #1e7b45; color: #fff !important; }
.obrso-btn-yes:hover { background: #17683a; border-color: #17683a; }
.obrso-btn-no { background: #fff; border-color: #a32020; color: #a32020 !important; }
.obrso-staff-form select { min-height: 52px; font-size: 1.1rem; }

.obrso-ci .obrso-ci-top { position: sticky; top: 0; z-index: 5; background: #fff; padding: .5rem 0 .25rem; border-bottom: 1px solid var(--o-line); margin-bottom: .5rem; }
.obrso-ci .obrso-ci-top .obrso-field { margin-bottom: .5rem; }
.obrso-ci-count { margin: .25rem 0 .25rem; font-size: 1.05rem; }
.obrso-ci-count strong { font-size: 1.4rem; color: var(--o-navy); }
.obrso-ci-list { list-style: none; margin: 0; padding: 0; }
.obrso-ci-row { border-bottom: 1px solid var(--o-line); }
.obrso-ci-row label { display: flex; align-items: center; gap: .85rem; padding: .7rem .25rem; cursor: pointer; min-height: 60px; }
.obrso-ci-row input[type="checkbox"] { width: 30px; height: 30px; flex: 0 0 30px; accent-color: #1e7b45; }
.obrso-ci-name { flex: 1; line-height: 1.35; }
.obrso-ci-when { font-size: .85rem; color: #1e7b45; font-weight: 600; white-space: nowrap; }
.obrso-ci-row.is-in { background: #e3f4ea; }
.obrso-ci-row input:disabled + .obrso-ci-name { opacity: .75; }

.obrso-copy { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 .75rem; }
.obrso-copy input { flex: 1 1 220px; min-width: 0; min-height: 42px; padding: .4rem .6rem; border: 1px solid var(--o-line); border-radius: 8px; font-size: .85rem; color: var(--o-muted); background: var(--o-bg); }

.obrso-survey .obrso-sq { border: 0; padding: 0; margin: 0 0 1.4rem; }
.obrso-survey legend, .obrso-survey .obrso-sq > span { font-weight: 600; color: var(--o-navy); margin-bottom: .5rem; padding: 0; display: block; font-size: 1rem; }
.obrso-survey .obrso-sq.is-bad legend { color: #a32020; }
.obrso-req { color: #a32020; }
.obrso-sq-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
.obrso-sq-choices { display: grid; gap: .35rem; }
.obrso-sq-opt { position: relative; }
.obrso-sq-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.obrso-sq-opt span { display: flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem .75rem; border: 1px solid var(--o-line); border-radius: 8px; background: #fff; font-size: .95rem; }
.obrso-sq-scale .obrso-sq-opt span { flex-direction: column; justify-content: center; gap: .1rem; text-align: center; font-size: .75rem; padding: .45rem .2rem; min-height: 62px; color: var(--o-muted); }
.obrso-sq-scale .obrso-sq-opt b { font-size: 1.25rem; color: var(--o-navy); }
.obrso-sq-opt input:checked + span { border-color: var(--o-navy); background: var(--o-navy); color: #fff; }
.obrso-sq-opt input:checked + span b { color: #fff; }
.obrso-sq-opt input:focus-visible + span { outline: 3px solid var(--o-accent); outline-offset: 1px; }

.obrso-sr { padding: .75rem 0; border-bottom: 1px solid var(--o-line); }
.obrso-sr:last-child { border-bottom: 0; }
.obrso-sr-q { margin: 0 0 .5rem; }
.obrso-sr-avg { display: inline-block; margin-left: .35rem; padding: .1rem .5rem; border-radius: 999px; background: var(--o-ok-bg); color: var(--o-ok); font-size: .85rem; font-weight: 700; }
.obrso-sr-bars { width: 100%; border-collapse: collapse; font-size: .9rem; }
.obrso-sr-bars th { text-align: left; font-weight: 400; color: var(--o-muted); width: 40%; padding: .15rem .5rem .15rem 0; }
.obrso-sr-bars td { padding: .15rem 0; }
.obrso-sr-bar { display: block; height: 12px; background: var(--o-bg); border-radius: 6px; overflow: hidden; }
.obrso-sr-bar span { display: block; height: 100%; background: var(--o-s1); border-radius: 6px; }
.obrso-sr-n { width: 2.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.obrso-sr-comments { margin: 0; padding-left: 1.1rem; }
.obrso-sr-comments li { margin: 0 0 .5rem; }
.obrso-sr-tools { margin: .75rem 0 .25rem; }
.obrso-sr-total td { border-top: 2px solid var(--o-line); }

.obrso-photo-grid { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.obrso-photo-grid img { display: block; width: 100%; height: auto; border-radius: 8px; }
.obrso-photo-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .3rem; }
.obrso-photo-add { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

/* Public gallery (outside .obrso, so no theme variables) */
.obrso-gallery-class { margin: 0 0 2.5rem; }
.obrso-gallery-h { text-align: center; margin: 0 0 1rem; }
.obrso-gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.obrso-gallery-2 { grid-template-columns: repeat(2, 1fr); }
.obrso-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.obrso-gallery-1 { max-width: 1024px; margin: 0 auto; }
.obrso-gallery-grid a { display: block; }
.obrso-gallery-grid img { display: block; width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 640px) {
	.obrso-gallery-2, .obrso-gallery-3 { grid-template-columns: 1fr; }
	.obrso-cd-list { columns: 1; }
	.obrso-sq-scale .obrso-sq-opt span { font-size: .7rem; }
}
.obrso-worked-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .25rem 1rem; margin: .75rem 0; }
.obrso-sr-staff { margin: .75rem 0 .25rem; }
.obrso-sr-staffcell { font-size: .875rem; }
.obrso-table-wrap > h3 { padding: 1rem 1rem 0; }
.obrso-table-wrap > .obrso-hint { padding: 0 1rem; margin-bottom: .75rem; }
.obrso-class-where { background: #fff2d1; border-left: 4px solid var(--o-accent); padding: .6rem .8rem; border-radius: 6px; margin: 0 0 1rem; font-size: .95rem; }
.obrso-class-where-note { color: #8a2a00; font-weight: 600; }
.obrso-class-where-imgs { display: grid; gap: .5rem; margin: -.5rem 0 1rem; }
.obrso-class-where-imgs img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--o-line); }
/* Top attendees */
.obrso-seg { gap: .35rem; }
.obrso-top { margin-bottom: .5rem; }
.obrso-top-list { list-style: none; margin: .25rem 0 0; padding: 0; }
.obrso-top-list li { display: flex; align-items: center; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--o-line); }
.obrso-top-list li:last-child { border-bottom: 0; }
.obrso-top-rank { flex: 0 0 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--o-bg); color: var(--o-navy); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.obrso-top-list li:nth-child(-n+3) .obrso-top-rank { background: var(--o-navy); color: #fff; }
.obrso-top-name { flex: 1; min-width: 0; line-height: 1.3; }
.obrso-top-name .obrso-muted { display: block; font-size: .8rem; }
.obrso-top-n { font-weight: 700; font-size: 1.15rem; color: var(--o-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.obrso-top-n small { font-weight: 400; font-size: .75rem; color: var(--o-muted); }
/* Officer readiness: qualified / not qualified */
.obrso-qual-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 1rem 0 .25rem; }
.obrso-qual-h { margin: 0 0 .4rem; font-size: .95rem; display: flex; align-items: center; gap: .4rem; }
.obrso-qual-h span { font-size: .8rem; padding: .05rem .5rem; border-radius: 999px; background: var(--o-bg); }
.obrso-qual-h-ok span { background: var(--o-ok-bg); color: var(--o-ok); }
.obrso-qual-h-bad span { background: #fbe9e9; color: #a32020; }
.obrso-qual-list { list-style: none; margin: 0; padding: 0; }
.obrso-qual-list li { padding: .35rem 0; border-bottom: 1px solid var(--o-line); line-height: 1.35; }
.obrso-qual-list li:last-child { border-bottom: 0; }
.obrso-qual-score { display: inline-block; min-width: 2.4rem; text-align: center; padding: .1rem .35rem; border-radius: 6px; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .obrso-qual-lists { grid-template-columns: 1fr; } }
