:root {
  color-scheme: light;
  --ink: #17284c;
  --muted: #7586a6;
  --blue: #1477f8;
  --blue-strong: #0865e8;
  --blue-soft: #eaf3ff;
  --line: #e4ebf5;
  --canvas: #f4f8fe;
  --card: rgba(255,255,255,.94);
  --green: #10a66a;
  --orange: #ef8b31;
  --red: #e55361;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8fc2ff; outline-offset: 2px; }
.app-shell { min-height: 100vh; background: radial-gradient(ellipse at 55% 0%, #e8f3ff 0, #f5f9ff 45%, #f5f8fc 100%); }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 28px 0 24px; background: rgba(255,255,255,.88); border-bottom: 1px solid #e2ebf7; box-shadow: 0 2px 10px rgba(30,77,140,.035); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { min-width: 340px; display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand-mark { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 20px; line-height: 1.2; font-weight: 760; letter-spacing: -.4px; }
.brand-copy small { color: #8292af; font-size: 11px; letter-spacing: .15px; }
.topbar-tools { display: flex; align-items: center; gap: 20px; }
.global-search { height: 42px; width: min(350px, 28vw); border: 1px solid #e7eef8; background: #f8fbff; border-radius: 12px; display: flex; align-items: center; gap: 10px; padding: 0 12px; box-shadow: inset 0 1px 1px rgba(27,66,118,.02); }
.global-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.global-search input::placeholder { color: #9aa8bf; }
.global-search kbd { color: #a2aec1; border: 1px solid #e3eaf4; background: white; padding: 2px 5px; border-radius: 5px; font-size: 10px; white-space: nowrap; }
.search-icon { width: 15px; height: 15px; border: 2px solid #91a4c1; border-radius: 50%; display: inline-block; position: relative; flex: 0 0 15px; }
.search-icon:after { content: ""; position: absolute; width: 6px; height: 2px; background: #91a4c1; right: -5px; bottom: -2px; transform: rotate(45deg); border-radius: 2px; }
.icon-button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #607596; border-radius: 11px; position: relative; }
.icon-button:hover, .profile-button:hover { background: #f1f6ff; }
.notification-button i { position: absolute; top: 1px; right: 0; height: 17px; min-width: 17px; padding: 0 4px; display: flex; align-items: center; justify-content: center; color: white; background: #f04b55; border: 2px solid white; border-radius: 12px; font-size: 10px; font-style: normal; }
.bell-icon { width: 16px; height: 17px; border: 2px solid #5c7294; border-radius: 9px 9px 4px 4px; border-bottom-width: 3px; position: relative; display: inline-block; }
.bell-icon:before { content: ""; position: absolute; top: -5px; left: 4px; width: 4px; height: 4px; border-radius: 50%; background: #5c7294; }
.bell-icon:after { content: ""; position: absolute; bottom: -6px; left: 4px; width: 5px; height: 3px; border-radius: 0 0 4px 4px; background: #5c7294; }
.profile-button { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; padding: 5px 7px; border-radius: 12px; color: inherit; text-align: left; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; color: white; background: linear-gradient(145deg,#77baff,#1765d9); box-shadow: 0 2px 6px rgba(29,99,194,.18); flex: 0 0 38px; }
.avatar-admin { background: linear-gradient(145deg,#9ccaff,#2873d9); }
.avatar-green { background: linear-gradient(145deg,#9be5ca,#16a873); }
.avatar-purple { background: linear-gradient(145deg,#d3b5ff,#8b5be5); }
.avatar-orange { background: linear-gradient(145deg,#ffd0a0,#ef8b31); }
.avatar-small { width: 27px; height: 27px; flex-basis: 27px; font-size: 11px; }
.profile-copy { display: flex; flex-direction: column; gap: 3px; }
.profile-copy strong { font-size: 14px; font-weight: 700; }
.profile-copy small { color: #8b9ab2; font-size: 11px; }
.chevron { width: 8px; height: 8px; border-right: 1.8px solid #7184a3; border-bottom: 1.8px solid #7184a3; transform: rotate(45deg) translateY(-2px); margin: 0 2px 0 6px; }
.sidebar { position: fixed; top: 76px; left: 0; bottom: 0; width: 236px; display: flex; flex-direction: column; background: rgba(249,252,255,.83); border-right: 1px solid #e3edf8; z-index: 10; }
.sidebar-nav { padding: 25px 9px 12px; display: flex; flex-direction: column; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 16px; border-radius: 0 10px 10px 0; color: #617391; text-decoration: none; font-size: 15px; font-weight: 580; border-left: 3px solid transparent; transition: background .15s ease, color .15s ease; }
.nav-item:hover { background: #f0f6ff; color: #166ce0; }
.nav-item.active { color: #096df0; background: linear-gradient(90deg,#e1efff,#eaf4ff); border-left-color: #1477f8; font-weight: 720; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: currentColor; flex: 0 0 22px; }
.nav-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-footer { margin-top: auto; padding: 0 20px 24px; color: #8194b1; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; min-height: 170px; }
.sidebar-footer strong { position: relative; font-size: 12px; font-weight: 650; }
.sidebar-footer small { position: relative; font-size: 10px; line-height: 1.5; }
.campus-art { position: relative; height: 102px; margin: 0 -20px 0; opacity: .45; overflow: hidden; background: linear-gradient(180deg,transparent,#d7eaff); }
.campus-art span { position: absolute; bottom: 0; width: 44px; height: 47px; background: #a7d0ff; border: 1px solid #84b8f2; }
.campus-art span:after { content: ""; position: absolute; inset: 8px 7px; background: repeating-linear-gradient(90deg,#f6fbff 0 4px,transparent 4px 10px), repeating-linear-gradient(0deg,transparent 0 9px,#f6fbff 9px 13px); }
.campus-art span:nth-child(1) { left: 29px; height: 56px; }
.campus-art span:nth-child(2) { left: 73px; height: 82px; width: 52px; }
.campus-art span:nth-child(3) { left: 126px; height: 47px; width: 38px; }
.campus-art i { position: absolute; left: 13px; bottom: 0; width: 180px; height: 6px; background: #9bc6f4; }
.main-content { margin-left: 236px; min-height: calc(100vh - 76px); padding: 23px 26px 34px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: 0 0 20px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #91a0b9; font-size: 12px; margin-bottom: 10px; }
.breadcrumb span:last-child { color: #5f7394; }
.page-title { margin: 0; font-size: 27px; letter-spacing: -.7px; line-height: 1.25; font-weight: 780; color: #14264c; }
.page-subtitle { margin: 7px 0 0; color: #7b8ca8; font-size: 14px; line-height: 1.5; }
.heading-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; }
.btn { min-height: 39px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d9e6f7; border-radius: 9px; color: #2763ae; background: white; font-weight: 650; font-size: 12px; white-space: nowrap; box-shadow: 0 1px 2px rgba(25,70,130,.025); }
.btn:hover { border-color: #8abaff; background: #f6faff; }
.btn-primary { background: linear-gradient(180deg,#2387ff,#096cf0); border-color: #1477f8; color: white; box-shadow: 0 5px 12px rgba(20,119,248,.14); }
.btn-primary:hover { background: #075ed4; color: white; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card { min-height: 112px; background: var(--card); border: 1px solid rgba(228,236,248,.92); border-radius: 13px; box-shadow: 0 4px 15px rgba(32,79,138,.035); display: flex; align-items: center; gap: 15px; padding: 17px 18px; min-width: 0; }
.stat-icon { width: 62px; height: 62px; flex: 0 0 62px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #e2f2ff; color: #1689f8; }
.stat-icon svg { width: 31px; height: 31px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stat-icon.green { background: #dcf9ed; color: #10a96e; }
.stat-icon.purple { background: #eee6ff; color: #8954ee; }
.stat-icon.orange { background: #fff0e4; color: #f07828; }
.stat-meta { min-width: 0; }
.stat-label { color: #647897; font-size: 12px; margin-bottom: 7px; white-space: nowrap; }
.stat-value { font-size: 27px; line-height: 1.05; font-weight: 780; color: #14264d; letter-spacing: -.5px; }
.stat-value small { font-size: 12px; font-weight: 550; color: #657997; margin-left: 4px; letter-spacing: 0; }
.stat-trend { margin-top: 7px; color: var(--green); font-size: 11px; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(285px,.95fr); gap: 15px; align-items: start; }
.left-stack, .right-stack { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.panel { background: var(--card); border: 1px solid rgba(228,236,248,.95); border-radius: 13px; box-shadow: 0 4px 15px rgba(32,79,138,.035); min-width: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 17px 12px; }
.panel-title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 750; color: #1a2b50; }
.panel-title svg { width: 19px; height: 19px; color: #1477f8; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.panel-meta { font-size: 11px; color: #8999b3; white-space: nowrap; }
.panel-body { padding: 0 14px 15px; }
.panel-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 0 16px 13px; }
.control { height: 34px; min-width: 120px; border: 1px solid #dfe8f5; background: #fbfdff; border-radius: 7px; padding: 0 10px; color: #536987; font-size: 11px; }
.control.search-control { flex: 1; min-width: 170px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e8eef7; border-radius: 8px; }
.data-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 11px; white-space: nowrap; }
.data-table th { background: #f2f7fd; color: #5b7090; font-weight: 700; text-align: left; padding: 12px 11px; border-bottom: 1px solid #e4ecf7; }
.data-table td { padding: 12px 11px; color: #526787; border-bottom: 1px solid #edf2f8; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #f7fbff; }
.data-table tbody tr.selected td { background: #edf6ff; }
.table-name { color: #263b60; font-weight: 680; }
.text-link { color: #1477f8; border: 0; background: transparent; padding: 0 3px; font-size: 11px; font-weight: 650; }
.text-link:hover { text-decoration: underline; }
.status-pill, .role-pill, .tag { display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; padding: 4px 7px; line-height: 1; font-size: 10px; font-weight: 700; }
.status-ok { color: #0b9a65; background: #dff9ed; }
.status-pending { color: #cc791e; background: #fff0dc; }
.status-rejected { color: #d44759; background: #ffe6e9; }
.status-blue { color: #176bd3; background: #e4f0ff; }
.role-admin { color: #8351dc; background: #f0e8ff; }
.role-lead { color: #176bd3; background: #e4f0ff; }
.role-co { color: #15996c; background: #e1f8ed; }
.tag { color: #3174c4; background: #edf5ff; font-weight: 600; margin: 2px 2px 2px 0; }
.progress-cell { display: flex; align-items: center; gap: 7px; min-width: 92px; }
.progress-track { width: 82px; height: 7px; background: #e9eff8; border-radius: 99px; overflow: hidden; display: inline-block; }
.progress-track span { height: 100%; display: block; background: linear-gradient(90deg,#248cff,#0868ee); border-radius: inherit; }
.progress-track.green span { background: linear-gradient(90deg,#42d4a0,#0fa975); }
.progress-track.orange span { background: linear-gradient(90deg,#ffc05e,#f58030); }
.split-panels { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 14px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.mini-table th, .mini-table td { padding: 9px 7px; border-bottom: 1px solid #edf2f8; text-align: left; }
.mini-table th { color: #7789a4; font-weight: 650; background: #f8fbff; }
.mini-table tr:last-child td { border-bottom: 0; }
.teacher-cell { display: flex; align-items: center; gap: 7px; color: #304767; font-weight: 650; }
.teacher-cell .avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: 10px; }
.donut-row { display: flex; align-items: center; gap: 18px; padding: 5px 12px 9px; }
.donut { width: 122px; height: 122px; flex: 0 0 122px; border-radius: 50%; background: conic-gradient(#1879f8 0 42%,#28c48c 42% 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.donut:after { content: ""; position: absolute; width: 76px; height: 76px; border-radius: 50%; background: white; }
.donut-center { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.donut-center strong { font-size: 19px; color: #1c2e52; }
.donut-center small { font-size: 10px; color: #8292aa; }
.legend { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.legend-item { display: grid; grid-template-columns: 9px minmax(0,1fr); gap: 8px; align-items: start; color: #617594; font-size: 11px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: #1879f8; }
.legend-dot.green { background: #28c48c; }
.legend-item strong { display: block; color: #172a50; font-size: 18px; margin-top: 3px; }
.legend-item small { color: #94a2b8; font-size: 10px; margin-left: 4px; }
.info-note { padding: 10px 12px; border-radius: 8px; color: #3674b7; background: #eef7ff; font-size: 11px; line-height: 1.6; }
.task-list { display: flex; flex-direction: column; gap: 8px; }
.task-item { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid #e9eff7; border-radius: 9px; background: #fff; padding: 11px 10px; color: inherit; }
.task-item:hover { border-color: #a9ceff; background: #f9fcff; }
.task-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #1977ed; background: #e5f2ff; flex: 0 0 34px; }
.task-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.task-icon.purple { color: #8d5be7; background: #f0e9ff; }
.task-icon.orange { color: #e9792c; background: #fff0e4; }
.task-icon.green { color: #10a96e; background: #e0f8ed; }
.task-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.task-copy strong { font-size: 11px; color: #2a3c5e; }
.task-copy small { font-size: 10px; color: #8a9ab2; }
.task-count { color: white; background: #f04b55; min-width: 21px; height: 21px; padding: 0 5px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; font-weight: 750; }
.quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.quick-action { border: 1px solid #e5eef8; border-radius: 10px; padding: 12px 10px; background: #f4f9ff; display: flex; align-items: center; gap: 9px; text-align: left; color: #1d477d; min-width: 0; }
.quick-action:hover { transform: translateY(-1px); border-color: #b6d6ff; box-shadow: 0 5px 12px rgba(25,90,170,.06); }
.quick-action.green { background: #edfbf5; color: #14784f; }
.quick-action.purple { background: #f5f0ff; color: #7143c7; }
.quick-action.orange { background: #fff6ed; color: #b95c20; }
.quick-action .quick-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: #1477f8; color: white; flex: 0 0 34px; }
.quick-action.green .quick-icon { background: #19b77e; }
.quick-action.purple .quick-icon { background: #8955e9; }
.quick-action.orange .quick-icon { background: #ef7f2d; }
.quick-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.quick-action strong { display: block; font-size: 11px; margin-bottom: 4px; }
.quick-action small { display: block; color: #8a9bb4; font-size: 9px; line-height: 1.4; }
.filter-panel { margin-bottom: 14px; padding: 12px 14px; display: grid; grid-template-columns: repeat(5,minmax(120px,1fr)); gap: 10px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 12px; }
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter-field label { font-size: 11px; color: #7486a4; font-weight: 650; }
.filter-field select, .filter-field input { height: 36px; width: 100%; min-width: 0; padding: 0 10px; color: #536987; background: #fbfdff; border: 1px solid #dfe8f5; border-radius: 7px; font-size: 11px; }
.resource-layout { display: grid; grid-template-columns: minmax(190px,.68fr) minmax(0,2.3fr) minmax(245px,.9fr); gap: 12px; align-items: start; }
.tree-list { display: flex; flex-direction: column; gap: 4px; padding: 0 3px; }
.tree-row { display: flex; align-items: center; gap: 8px; padding: 8px 7px; border-radius: 7px; color: #617696; font-size: 11px; border: 0; background: transparent; text-align: left; width: 100%; }
.tree-row:hover { background: #f2f7ff; }
.tree-row.active { color: #096cf0; background: #e6f2ff; font-weight: 750; }
.tree-row.indent-1 { padding-left: 22px; }
.tree-row.indent-2 { padding-left: 37px; }
.tree-chevron { color: #7f91ac; font-size: 13px; }
.tree-count { margin-left: auto; color: #96a5bb; font-size: 10px; }
.resource-detail-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(230px,.85fr); gap: 12px; margin-top: 12px; }
.detail-list { display: flex; flex-direction: column; }
.detail-row { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; padding: 9px 3px; border-bottom: 1px solid #edf2f8; font-size: 11px; line-height: 1.55; }
.detail-row:last-child { border-bottom: 0; }
.detail-row > span:first-child { color: #8494ad; }
.detail-row > span:last-child { color: #3d5374; }
.coverage-row { display: grid; grid-template-columns: 70px 1fr 35px; align-items: center; gap: 9px; margin: 14px 0; color: #657997; font-size: 10px; }
.coverage-row .progress-track { width: 100%; }
.detail-panel { position: sticky; top: 92px; }
.detail-section { padding: 12px 15px; border-top: 1px solid #edf2f8; }
.detail-section:first-of-type { border-top: 0; }
.detail-section h3 { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.teacher-profile { display: flex; gap: 11px; align-items: center; }
.teacher-profile .avatar { width: 54px; height: 54px; flex-basis: 54px; font-size: 18px; }
.teacher-profile strong { font-size: 14px; }
.teacher-profile p { margin: 5px 0 0; color: #8b9ab1; font-size: 10px; line-height: 1.5; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 6px 8px; color: #3e6ea8; background: #edf5ff; font-size: 10px; }
.chip .chip-role { color: #17885e; font-size: 9px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f8; color: #627694; font-size: 11px; }
.switch-row:last-child { border-bottom: 0; }
.switch { width: 34px; height: 19px; background: #d5deeb; border-radius: 99px; border: 0; padding: 2px; transition: background .15s ease; }
.switch:after { content: ""; display: block; width: 15px; height: 15px; background: white; border-radius: 50%; box-shadow: 0 1px 3px #8ca0bb; transition: transform .15s ease; }
.switch[aria-checked="true"] { background: #1477f8; }
.switch[aria-checked="true"]:after { transform: translateX(15px); }
.course-tags { display: flex; gap: 4px; flex-wrap: wrap; max-width: 310px; }
.course-tags .tag { margin: 0; }
.enrollment-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 14px; align-items: start; }
.enrollment-table .data-table td { padding: 11px 8px; }
.student-name-cell { display: flex; align-items: center; gap: 7px; }
.student-name-cell .avatar { width: 26px; height: 26px; flex-basis: 26px; font-size: 10px; }
.selection-mode { border: 1px solid #dfe8f5; background: #f9fcff; color: #5e7596; border-radius: 6px; padding: 4px 6px; font-size: 10px; }
.selection-mode.all { color: #126ddc; background: #e7f2ff; border-color: #d5e8ff; }
.selection-mode.custom { color: #11855b; background: #e3f9ef; border-color: #d1f3e3; }
.detail-close { border: 0; background: transparent; color: #8a9ab1; font-size: 19px; line-height: 1; }
.student-profile { display: flex; gap: 12px; align-items: center; }
.student-profile .avatar { width: 60px; height: 60px; flex-basis: 60px; font-size: 20px; }
.student-profile strong { font-size: 14px; }
.student-profile p { color: #8b9ab1; font-size: 10px; margin: 5px 0; }
.student-meta { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 7px 8px; margin-top: 12px; font-size: 10px; }
.student-meta span:nth-child(odd) { color: #8a9ab1; }
.student-meta span:nth-child(even) { color: #3d5374; }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mode-card { border: 1px solid #dfe8f5; border-radius: 8px; background: white; padding: 9px; text-align: left; color: #687d9b; font-size: 10px; }
.mode-card strong { display: block; color: #324867; font-size: 11px; margin-bottom: 5px; }
.mode-card.active { border-color: #5ba3ff; background: #f1f8ff; box-shadow: 0 0 0 1px rgba(20,119,248,.08); }
.course-checklist { display: flex; flex-direction: column; gap: 3px; }
.course-check { display: flex; align-items: center; gap: 8px; padding: 7px 5px; border-radius: 6px; color: #5c7190; font-size: 10px; }
.course-check:hover { background: #f4f8ff; }
.course-check input { accent-color: #1477f8; }
.course-check .course-hours { margin-left: auto; color: #91a0b5; font-size: 9px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 3px 0; color: #8494ad; font-size: 10px; }
.page-buttons { display: flex; gap: 4px; align-items: center; }
.page-buttons button { min-width: 27px; height: 27px; border: 1px solid #e2eaf5; background: white; color: #7185a4; border-radius: 6px; font-size: 10px; }
.page-buttons button.active { color: white; background: #1477f8; border-color: #1477f8; }
.empty-state { padding: 40px 20px; text-align: center; color: #8293ad; }
.toast-region { position: fixed; right: 25px; bottom: 25px; z-index: 50; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 16px; color: #244568; background: white; border: 1px solid #d9e6f6; border-radius: 10px; box-shadow: 0 10px 30px rgba(26,65,119,.13); min-width: 220px; font-size: 12px; }
.prototype-note { color: #9aa8bc; font-size: 10px; text-align: right; padding: 15px 3px 0; }
@media (max-width: 1350px) {
  .topbar { padding-right: 16px; }
  .brand { min-width: 290px; }
  .brand-copy strong { font-size: 17px; }
  .main-content { padding: 20px 18px 30px; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 14px 12px; gap: 10px; }
  .stat-icon { width: 50px; height: 50px; flex-basis: 50px; }
  .stat-value { font-size: 23px; }
  .resource-layout { grid-template-columns: minmax(170px,.65fr) minmax(0,2fr); }
  .resource-layout > .detail-panel { position: static; grid-column: 1 / -1; }
  .resource-layout .resource-detail-grid { grid-template-columns: minmax(0,1.4fr) minmax(230px,.8fr); }
  .enrollment-layout { grid-template-columns: minmax(0,1fr) 320px; }
}
@media (max-width: 1080px) {
  .sidebar { width: 76px; }
  .sidebar-nav { padding: 20px 8px; }
  .nav-item { justify-content: center; padding: 0; border-left-width: 3px; }
  .nav-item .nav-label { display: none; }
  .nav-item .nav-icon { width: 25px; }
  .sidebar-footer { padding: 0 8px 16px; align-items: center; min-height: 105px; }
  .sidebar-footer strong, .sidebar-footer small, .campus-art { display: none; }
  .main-content { margin-left: 76px; }
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .right-stack { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-panel { grid-template-columns: repeat(3,minmax(120px,1fr)); }
  .enrollment-layout { grid-template-columns: minmax(0,1fr); }
  .detail-panel { position: static; }
}
@media (max-width: 720px) {
  .topbar { height: 64px; padding: 0 12px; gap: 8px; }
  .brand { min-width: 0; gap: 7px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { display: none; }
  .topbar-tools { gap: 5px; }
  .global-search { display: none; }
  .profile-copy, .profile-button .chevron { display: none; }
  .profile-button { padding: 2px; }
  .avatar { width: 32px; height: 32px; flex-basis: 32px; }
  .sidebar { top: 64px; width: 56px; }
  .sidebar-nav { padding: 12px 4px; gap: 4px; }
  .nav-item { min-height: 43px; }
  .main-content { margin-left: 56px; padding: 16px 10px 24px; }
  .page-heading { flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .page-title { font-size: 22px; }
  .page-subtitle { font-size: 12px; }
  .heading-actions { padding-top: 3px; }
  .btn { min-height: 34px; padding: 0 10px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .stat-card { min-height: 85px; padding: 10px; gap: 8px; }
  .stat-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .stat-icon svg { width: 22px; height: 22px; }
  .stat-label { font-size: 10px; margin-bottom: 5px; }
  .stat-value { font-size: 20px; }
  .stat-trend { font-size: 9px; }
  .right-stack, .split-panels, .resource-detail-grid { grid-template-columns: minmax(0,1fr); }
  .filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 10px; }
  .resource-layout { grid-template-columns: minmax(0,1fr); }
  .panel-header { padding: 13px 12px 10px; }
  .panel-body { padding: 0 9px 10px; }
  .panel-toolbar { padding: 0 10px 10px; }
  .data-table th, .data-table td { padding: 9px 8px; }
  .donut-row { justify-content: center; }
}

/* Teacher workbench iteration 2 */
.teacher-course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.teacher-course-card { min-width: 0; padding: 15px; border: 1px solid #e5edf8; border-radius: 12px; background: linear-gradient(145deg,#fff,#fbfdff); }
.teacher-course-top, .teacher-course-footer, .teacher-course-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-code { color: #4778b7; font-size: 10px; font-weight: 750; letter-spacing: .6px; }
.teacher-course-card h3 { margin: 13px 0 6px; font-size: 15px; color: #1b3158; }
.teacher-course-card > p { margin: 0; color: #8291aa; font-size: 12px; }
.teacher-course-meta { display: flex; gap: 16px; margin: 14px 0; color: #7184a2; font-size: 11px; }
.teacher-course-meta span, .teacher-course-footer small { display: inline-flex; align-items: center; gap: 5px; }
.teacher-course-meta svg, .teacher-course-footer svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.teacher-course-progress > div { margin-bottom: 7px; color: #7184a2; font-size: 11px; }
.teacher-course-progress strong { color: #1e3b68; font-size: 12px; }
.teacher-course-footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf2f8; }
.teacher-course-footer small { color: #8291aa; font-size: 10px; }
.text-link { padding: 4px 5px; border: 0; background: transparent; color: #1477f8; font-size: 11px; font-weight: 650; white-space: nowrap; }
.text-link:hover { color: #0759c8; text-decoration: underline; }
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 11px; align-items: start; padding: 14px 0; border-bottom: 1px solid #edf2f8; }
.timeline-item:last-child { border-bottom: 0; }
.timeline-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #4e9af8; box-shadow: 0 0 0 4px #eaf3ff; }
.timeline-dot.green { background: #18b47a; box-shadow: 0 0 0 4px #e2f8ee; }
.timeline-dot.orange { background: #ef963f; box-shadow: 0 0 0 4px #fff1e4; }
.timeline-item strong { color: #2a3d60; font-size: 12px; }
.timeline-item p { margin: 5px 0; color: #7788a3; font-size: 11px; line-height: 1.6; }
.timeline-item small { color: #9aa8bc; font-size: 10px; }
.task-list { display: flex; flex-direction: column; }
.task-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 0; border: 0; border-bottom: 1px solid #edf2f8; background: transparent; text-align: left; color: inherit; }
.task-item:last-child { border-bottom: 0; }
.task-icon, .quick-icon, .resource-shortcut-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: #eaf3ff; color: #1477f8; }
.task-icon svg, .quick-icon svg, .resource-shortcut-icon svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.task-icon.green, .quick-action.green .quick-icon, .resource-shortcut-icon.green { background: #e1f8ee; color: #13a46c; }
.task-icon.purple, .quick-action.purple .quick-icon, .resource-shortcut-icon.purple { background: #f0eaff; color: #8a59e6; }
.task-icon.orange, .quick-action.orange .quick-icon { background: #fff0e3; color: #e9812d; }
.task-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.task-copy strong { font-size: 12px; color: #2b3d60; }
.task-copy small { font-size: 10px; color: #8897ae; }
.task-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 8px; background: #edf4ff; color: #246fc9; font-weight: 750; font-size: 11px; }
.task-item > svg { stroke: #a0aec2; fill: none; }

/* Teacher workbench iteration 2 */
.quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.quick-action { min-width: 0; display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid #e6eef9; border-radius: 10px; background: #fff; text-align: left; color: inherit; }
.quick-action:hover, .resource-shortcuts button:hover { border-color: #9fc6fb; background: #f8fbff; }
.quick-icon { width: 34px; height: 34px; flex-basis: 34px; }
.quick-action > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.quick-action strong { font-size: 11px; color: #294064; }
.quick-action small { font-size: 10px; line-height: 1.5; color: #8392aa; }
.completion-summary { display: flex; align-items: center; gap: 18px; padding: 10px 0 14px; }
.completion-ring { width: 116px; height: 116px; flex: 0 0 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle closest-side,#fff 78%,transparent 80% 100%), conic-gradient(#2587f7 0 82%,#e8f0fa 82% 100%); }
.completion-ring strong { color: #1b3e70; font-size: 25px; }
.completion-ring small { margin-top: 4px; color: #8292aa; font-size: 10px; }
.completion-legend { display: flex; flex: 1; flex-direction: column; gap: 13px; }
.completion-legend > div { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; gap: 7px; align-items: center; color: #7586a1; font-size: 10px; }
.completion-legend strong { color: #344968; font-size: 11px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #2587f7; }
.legend-dot.green { background: #18b47a; }
.legend-dot.orange { background: #ef963f; }
.resource-shortcuts { display: flex; flex-direction: column; gap: 9px; }
.resource-shortcuts button { display: grid; grid-template-columns: 38px minmax(0,1fr); column-gap: 11px; row-gap: 4px; align-items: center; padding: 11px; border: 1px solid #e6eef9; border-radius: 10px; background: #fff; text-align: left; }
.resource-shortcut-icon { grid-row: span 2; }
.resource-shortcuts strong { font-size: 12px; color: #294064; }
.resource-shortcuts small { font-size: 10px; color: #8392aa; line-height: 1.5; }
.resource-quality { display: flex; flex-direction: column; gap: 16px; }
.resource-quality > div > span:first-child { display: inline-block; color: #7183a0; font-size: 11px; }
.resource-quality > div > strong { float: right; color: #2d4265; font-size: 11px; }
.resource-quality .progress-track { display: flex; width: 100%; margin-top: 8px; }
.info-note { margin-top: 14px; padding: 12px 13px; border: 1px solid #dceafa; border-radius: 9px; background: #f5faff; color: #647b9e; font-size: 11px; line-height: 1.75; }
.filter-panel { align-items: end; }
.filter-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.filter-field label { color: #687d9e; font-size: 11px; font-weight: 650; }
.filter-field input, .filter-field select, .control { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #dfe8f4; border-radius: 8px; background: #fff; color: #2a3f62; font-size: 11px; }
.filter-field input:focus, .filter-field select:focus, .control:focus { border-color: #8dbaff; outline: 3px solid #eaf3ff; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.panel-toolbar .control { width: auto; min-width: 150px; }
.assistant-layout { display: grid; grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr); gap: 16px; align-items: start; }
.assistant-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field > label { color: #506584; font-size: 12px; font-weight: 650; }
.form-field em { color: #e45d68; font-style: normal; }
.form-field input:not([type="checkbox"]), .form-field textarea { width: 100%; padding: 10px 11px; border: 1px solid #dfe8f4; border-radius: 8px; background: #fff; color: #2a3f62; font-size: 12px; resize: vertical; }
.form-field input:not([type="checkbox"]) { height: 39px; }
.form-field textarea { line-height: 1.6; }
.form-two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chips label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #e1eaf6; border-radius: 8px; background: #fbfdff; color: #687d9a; font-size: 11px; }
.option-chips input { accent-color: #1477f8; }
.generate-button { min-height: 43px; width: 100%; }
.form-hint { margin: -7px 0 0; color: #8998ae; font-size: 10px; line-height: 1.6; }
.courseware-preview { padding: 17px; border: 1px solid #e2ebf7; border-radius: 11px; background: linear-gradient(145deg,#fff,#fbfdff); }
.preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.preview-label { color: #4d7cb6; font-size: 10px; font-weight: 750; letter-spacing: .4px; }
.courseware-preview h3 { margin: 14px 0 7px; color: #21385f; font-size: 19px; line-height: 1.45; }
.preview-subtitle { margin: 0 0 16px; color: #8291aa; font-size: 11px; line-height: 1.6; }
.outline-step { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 10px; padding: 13px 0; border-top: 1px solid #edf2f8; }
.outline-step > span { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 8px; background: #eaf3ff; color: #1477f8; font-size: 11px; font-weight: 750; }
.outline-step strong { color: #344a6d; font-size: 12px; }
.outline-step p { margin: 5px 0 0; color: #7c8ca6; font-size: 11px; line-height: 1.65; }
.preview-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 13px; padding-top: 14px; border-top: 1px solid #edf2f8; }

/* Teacher workbench iteration 2 */
.grading-review-banner { margin-top: 14px; padding: 14px; border: 1px solid #e0eafa; border-radius: 10px; background: #f7fbff; }
.grading-review-banner strong { color: #30476a; font-size: 12px; }
.grading-review-banner p { margin: 7px 0 0; color: #7284a1; font-size: 11px; line-height: 1.7; }
.subcell { display: block; margin-top: 4px; color: #91a0b7; font-size: 10px; }
.rubric-item { margin: 0 0 17px; }
.rubric-item > span { color: #687d9b; font-size: 11px; }
.rubric-item > strong { float: right; color: #30486d; font-size: 11px; }
.rubric-item .progress-track { display: flex; margin-top: 9px; }
.risk-list { display: flex; flex-direction: column; }
.risk-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #edf2f8; }
.risk-row:last-child { border-bottom: 0; }
.risk-row .avatar { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; }
.risk-row > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.risk-row strong { color: #344a6d; font-size: 11px; }
.risk-row small { color: #8191a9; font-size: 10px; line-height: 1.5; }
.recommendation-item { padding: 12px 0; border-bottom: 1px solid #edf2f8; }
.recommendation-item:last-child { border-bottom: 0; }
.recommendation-item strong { color: #30476a; font-size: 11px; }
.recommendation-item p { margin: 6px 0 0; color: #7889a4; font-size: 11px; line-height: 1.7; }
.skill-bar-list { display: flex; flex-direction: column; gap: 17px; padding: 8px 0; }
.skill-bar-row { display: grid; grid-template-columns: 110px minmax(60px,1fr) 40px; align-items: center; gap: 10px; }
.skill-bar-row > span:first-child { color: #687d9b; font-size: 11px; }
.skill-bar-row > strong { text-align: right; color: #30486d; font-size: 11px; }
.skill-bar-row .progress-track { display: flex; width: 100%; }
.report-highlight { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; padding: 15px; border: 1px solid #e1ebf8; border-radius: 11px; background: linear-gradient(115deg,#f4f9ff,#fff); }
.report-mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: #e2f1ff; color: #1477f8; }
.report-mark svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.report-highlight > div { display: flex; flex-direction: column; gap: 4px; }
.report-highlight small { color: #7c8da7; font-size: 10px; }
.report-highlight strong { color: #1d3c6d; font-size: 24px; }
.report-highlight strong span { color: #8595ac; font-size: 11px; font-weight: 500; }
.report-highlight p { margin: 0; color: #7c8da7; font-size: 10px; }
.class-compare { display: flex; flex-direction: column; gap: 15px; }
.class-compare > div { display: grid; grid-template-columns: 100px minmax(60px,1fr) 35px; gap: 10px; align-items: center; }
.class-compare span { color: #7184a1; font-size: 11px; }
.class-compare strong { text-align: right; color: #30486d; font-size: 11px; }
.class-compare .progress-track { display: flex; width: 100%; }

/* Teacher workbench iteration 2 */
.hardware-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.hardware-card { min-width: 0; padding: 15px; border: 1px solid #e4ecf7; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(32,79,138,.025); }
.hardware-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hardware-symbol { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: #eaf3ff; color: #1477f8; }
.hardware-symbol.green { background: #e1f8ee; color: #13a46c; }
.hardware-symbol.purple { background: #f0eaff; color: #8a59e6; }
.hardware-symbol.orange { background: #fff0e3; color: #e9812d; }
.hardware-symbol svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.hardware-card h3 { margin: 13px 0 5px; color: #2b4165; font-size: 13px; }
.hardware-card > p { margin: 0; color: #8a99af; font-size: 10px; }
.hardware-stock { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 16px; padding: 11px 0; border-top: 1px solid #edf2f8; border-bottom: 1px solid #edf2f8; }
.hardware-stock > div { display: flex; flex-direction: column; gap: 5px; }
.hardware-stock small { color: #8998ae; font-size: 9px; }
.hardware-stock strong { color: #30486d; font-size: 17px; }
.hardware-card-actions { display: flex; gap: 7px; margin-top: 12px; }
.hardware-card-actions .btn { flex: 1; min-width: 0; padding: 0 7px; font-size: 10px; }
.status-pill { white-space: nowrap; }
.progress-cell { display: flex; align-items: center; gap: 7px; min-width: 90px; }
.progress-cell .progress-track { display: flex; flex: 1; }
.progress-cell > span:last-child { color: #5e7596; font-size: 10px; }
@media (max-width: 1250px) {
  .teacher-course-grid { grid-template-columns: minmax(0,1fr); }
  .hardware-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .assistant-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 950px) {
  .quick-grid { grid-template-columns: minmax(0,1fr); }
  .completion-summary { flex-wrap: wrap; }
  .completion-ring { width: 96px; height: 96px; flex-basis: 96px; }
  .skill-bar-row { grid-template-columns: 85px minmax(50px,1fr) 34px; gap: 7px; }
}
@media (max-width: 720px) {
  .hardware-grid, .teacher-course-grid, .form-two-columns { grid-template-columns: minmax(0,1fr); }
  .timeline-item { grid-template-columns: 10px minmax(0,1fr); }
  .timeline-item .text-link { grid-column: 2; justify-self: start; }
  .risk-row { flex-wrap: wrap; }
  .risk-row > div { min-width: calc(100% - 100px); }
  .risk-row .status-pill { margin-left: 42px; }
  .skill-bar-row { grid-template-columns: 80px minmax(45px,1fr) 32px; }
  .class-compare > div { grid-template-columns: 85px minmax(45px,1fr) 32px; gap: 6px; }
  .completion-summary { align-items: flex-start; }
  .courseware-preview { padding: 12px; }
  .preview-actions .btn { flex: 1; }
  .hardware-card-actions { flex-wrap: wrap; }
}

/* Teacher review and generated preview controls */

.generated-goal { margin: 0 0 13px; padding: 10px 11px; border-left: 3px solid #65a4f8; border-radius: 0 7px 7px 0; background: #f2f8ff; color: #61799c; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.form-field input[aria-invalid="true"] { border-color: #e55361; outline: 3px solid #fff0f1; }
.grading-score-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 13px 0; }
.grading-score-grid label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #6b7f9d; font-size: 10px; }
.grading-score-grid input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #dce7f5; border-radius: 7px; color: #294164; background: white; }
.grading-total { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #eaf3ff; color: #4d668b; font-size: 11px; }
.grading-total strong { color: #0d6ce8; font-size: 18px; }
.grading-review-banner .btn { margin-top: 4px; }
@media (max-width: 720px) {
  .grading-score-grid { grid-template-columns: minmax(0,1fr); }
}


/* Third iteration: student learning center */
.student-welcome { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:16px; padding:24px 27px; border:1px solid #dceafb; border-radius:14px; background:linear-gradient(115deg,#edf6ff 0%,#fff 62%,#f1fbff 100%); overflow:hidden; }
.student-welcome > div:first-child { min-width:0; }
.student-eyebrow { display:inline-block; margin-bottom:10px; color:#4381c5; font-size:11px; font-weight:750; letter-spacing:.35px; }
.student-welcome h2 { margin:0; color:#1b3764; font-size:25px; letter-spacing:-.4px; }
.student-welcome p { margin:8px 0 15px; color:#7185a3; font-size:12px; line-height:1.7; }
.student-welcome-actions { display:flex; flex-wrap:wrap; gap:9px; }
.student-welcome-mark { width:154px; flex:0 0 154px; display:flex; flex-direction:column; align-items:center; gap:7px; padding:15px 10px; border:1px solid #dbeafa; border-radius:14px; background:rgba(255,255,255,.68); color:#2478d6; }
.student-welcome-mark > span { display:flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:18px; background:#e1f0ff; }
.student-welcome-mark svg { stroke:currentColor; fill:none; stroke-width:1.6; }
.student-welcome-mark strong { color:#2b4e7e; font-size:13px; }
.student-welcome-mark small { color:#8a9bb3; font-size:10px; }
.student-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-bottom:16px; }
.student-course-card { min-width:0; padding:16px; border:1px solid #e2ebf7; border-radius:12px; background:#fff; box-shadow:0 4px 15px rgba(32,79,138,.03); }
.student-course-card-top,.student-course-card-footer,.student-course-progress > div,.student-progress-course-top,.student-progress-course-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.student-course-status { color:#7d8eaa; font-size:10px; white-space:nowrap; }
.student-course-card h3 { margin:13px 0 7px; color:#263d63; font-size:15px; line-height:1.5; }
.student-course-card > p { min-height:34px; margin:0; color:#7b8da8; font-size:11px; line-height:1.6; }
.student-course-progress { margin-top:15px; }
.student-course-progress > div { margin-bottom:7px; color:#7c8da8; font-size:11px; }
.student-course-progress strong { color:#236bc2; font-size:12px; }
.student-course-card-footer { margin-top:13px; padding-top:11px; border-top:1px solid #edf2f8; }
.student-course-card-footer small { color:#8999af; font-size:10px; }
.student-course-card-footer .text-link { display:inline-flex; align-items:center; gap:4px; }
.student-home-grid { margin-top:16px; }
.student-goal { display:flex; align-items:flex-start; gap:11px; padding:13px 0; border-bottom:1px solid #edf2f8; }
.student-goal:last-of-type { border-bottom:0; }
.student-goal-icon { width:38px; height:38px; flex:0 0 38px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:#eaf3ff; color:#1977eb; }
.student-goal-icon.green { background:#e2f8ee; color:#13a46c; }
.student-goal-icon svg { stroke:currentColor; fill:none; stroke-width:1.8; }
.student-goal > div:last-child { flex:1; min-width:0; }
.student-goal strong { color:#304669; font-size:12px; }
.student-goal p { margin:5px 0 8px; color:#8393aa; font-size:10px; }
.student-course-switcher { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.student-course-tab { display:flex; flex-direction:column; align-items:flex-start; gap:7px; min-width:0; padding:13px 14px; border:1px solid #e1eaf6; border-radius:10px; background:#fff; color:#536b8e; text-align:left; }
.student-course-tab span { font-size:12px; font-weight:700; line-height:1.5; }
.student-course-tab small { color:#8595ac; font-size:10px; }
.student-course-tab.active { border-color:#8abaff; background:#f1f7ff; box-shadow:inset 0 0 0 1px #c8e0ff; color:#126de5; }
.student-course-detail-head { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:15px; padding:16px 19px; border:1px solid #e2ebf7; border-radius:12px; background:#fff; }
.student-course-detail-head h2 { margin:6px 0; color:#1d3864; font-size:20px; }
.student-course-detail-head p { margin:0; color:#8191a8; font-size:11px; }
.student-course-total { display:flex; flex-direction:column; align-items:flex-end; gap:3px; }
.student-course-total strong { color:#126fe8; font-size:25px; }
.student-course-total small { color:#8393aa; font-size:10px; }
.student-learning-layout,.student-progress-layout,.student-practice-layout,.student-sharing-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,.9fr); gap:15px; align-items:start; }
.student-player-stage { position:relative; display:flex; align-items:center; justify-content:center; min-height:270px; overflow:hidden; border-radius:10px; background:linear-gradient(135deg,#173d70,#276da9 48%,#132e55); color:#fff; }
.student-player-grid { position:absolute; inset:0; opacity:.3; background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.12) 30.2%,transparent 30.8%),linear-gradient(35deg,transparent 60%,rgba(255,255,255,.1) 60.2%,transparent 60.8%),radial-gradient(circle at 70% 20%,rgba(104,190,255,.8),transparent 35%); }
.student-player-content { position:relative; z-index:1; display:flex; align-items:center; flex-direction:column; gap:10px; max-width:82%; padding:22px; text-align:center; }
.student-player-label { color:#c8e5ff; font-size:10px; font-weight:750; letter-spacing:.6px; text-transform:uppercase; }
.student-player-symbol { display:flex; align-items:center; justify-content:center; width:62px; height:62px; border:1px solid rgba(255,255,255,.65); border-radius:50%; background:rgba(255,255,255,.15); }
.student-player-symbol svg { stroke:currentColor; fill:none; stroke-width:1.7; }
.student-player-content strong { font-size:16px; line-height:1.5; }
.student-player-content small { color:#d5e9fb; font-size:10px; line-height:1.6; }
.student-player-duration { position:absolute; right:12px; bottom:11px; z-index:1; padding:4px 7px; border-radius:5px; background:rgba(7,23,43,.55); color:#fff; font-size:10px; }
.student-player-meta { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin:14px 0; }
.student-player-meta > div { min-width:0; }
.student-player-meta strong { color:#2a4165; font-size:12px; line-height:1.6; }
.student-player-meta p { margin:5px 0 0; color:#8292aa; font-size:11px; line-height:1.7; }
.student-player-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:12px 0; border-top:1px solid #edf2f8; }
.student-video-slider { display:flex; align-items:center; flex:1; min-width:150px; gap:8px; color:#7b8da8; font-size:10px; }
.student-video-slider input { flex:1; min-width:55px; accent-color:#1477f8; }
.student-video-slider strong { color:#2c4b77; font-size:11px; }
.student-resource-list { display:flex; flex-direction:column; }
.student-resource-item { display:flex; align-items:center; gap:10px; width:100%; padding:12px 1px; border:0; border-bottom:1px solid #edf2f8; background:transparent; color:inherit; text-align:left; }
.student-resource-item:last-child { border-bottom:0; }
.student-resource-item.active { margin:0 -7px; padding-left:8px; padding-right:8px; width:calc(100% + 14px); border-radius:8px; background:#f0f7ff; }
.student-resource-number { display:flex; align-items:center; justify-content:center; width:30px; height:30px; flex:0 0 30px; border-radius:8px; background:#edf4ff; color:#2478d5; font-size:10px; font-weight:750; }
.student-resource-number.complete { background:#e0f8ed; color:#139d68; }
.student-resource-number svg { stroke:currentColor; fill:none; }
.student-resource-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:5px; }
.student-resource-copy strong { color:#304667; font-size:11px; line-height:1.5; }
.student-resource-copy small { color:#8a9ab0; font-size:10px; }
.student-resource-state { color:#8192ab; font-size:9px; white-space:nowrap; }
.student-skill-list { display:flex; flex-direction:column; }
.student-skill-row { display:grid; grid-template-columns:25px minmax(0,1fr) auto; align-items:center; gap:9px; padding:11px 0; border-bottom:1px solid #edf2f8; color:#526986; font-size:11px; }
.student-skill-row:last-child { border-bottom:0; }
.student-skill-row small { color:#8999b0; font-size:10px; }
.student-skill-check { display:flex; align-items:center; justify-content:center; width:24px; height:24px; border:1px solid #dce7f5; border-radius:7px; color:#8b9bb1; font-size:10px; }
.student-skill-check.complete { border-color:#c8f0dd; background:#e3f8ed; color:#109c65; }
.student-skill-check svg { stroke:currentColor; fill:none; }
.student-tip > strong { color:#344b6e; font-size:12px; }
.student-tip ol { padding-left:19px; color:#7587a3; font-size:11px; line-height:1.9; }
.student-tip .btn { width:100%; }
.student-progress-course-list { display:flex; flex-direction:column; gap:18px; }
.student-progress-course { padding-bottom:16px; border-bottom:1px solid #edf2f8; }
.student-progress-course:last-child { padding-bottom:0; border-bottom:0; }
.student-progress-course-top { align-items:flex-start; margin-bottom:9px; }
.student-progress-course-top > div { display:flex; flex-direction:column; gap:5px; min-width:0; }
.student-progress-course-top strong { color:#304669; font-size:12px; }
.student-progress-course-top small { color:#8999b0; font-size:10px; }
.student-progress-course-top > strong { color:#176fe0; font-size:14px; white-space:nowrap; }
.student-progress-course-bottom { margin-top:9px; color:#8797ad; font-size:10px; }
.student-progress-course-bottom span { min-width:0; line-height:1.5; }
.student-progress-course-bottom .text-link { flex:0 0 auto; }
.student-skill-progress-list { display:flex; flex-direction:column; gap:17px; padding:5px 0 10px; }
.student-skill-progress-row { display:grid; grid-template-columns:100px minmax(55px,1fr) 37px; align-items:center; gap:9px; color:#697e9c; font-size:11px; }
.student-skill-progress-row strong { color:#30496d; font-size:11px; text-align:right; }
.student-skill-progress-row .progress-track { display:flex; width:100%; }
.student-week-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.student-week-summary > div { display:flex; flex-direction:column; gap:5px; padding:12px; border:1px solid #e6eef9; border-radius:9px; background:#fbfdff; }
.student-week-summary strong { color:#1f4779; font-size:22px; }
.student-week-summary small { color:#8293aa; font-size:10px; }
.student-week-bars { display:flex; align-items:flex-end; justify-content:space-between; gap:8px; height:120px; margin-top:17px; padding:0 6px; border-bottom:1px solid #e6edf7; }
.student-week-bars > div { display:flex; align-items:center; flex:1; height:100%; flex-direction:column; justify-content:flex-end; gap:7px; }
.student-week-bars > div > span { width:min(25px,80%); min-height:4px; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#75b7ff,#2879e5); }
.student-week-bars small { margin-bottom:-17px; color:#8a9ab0; font-size:10px; }
.student-task-filter-bar { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; padding:7px; border:1px solid #e3ecf7; border-radius:11px; background:#fff; }
.student-filter-tab { display:flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid transparent; border-radius:8px; background:transparent; color:#6e82a0; font-size:11px; }
.student-filter-tab span { display:inline-flex; align-items:center; justify-content:center; min-width:19px; height:19px; padding:0 4px; border-radius:6px; background:#edf3fb; color:#627998; font-size:10px; }
.student-filter-tab.active { border-color:#cde2ff; background:#edf5ff; color:#176edb; font-weight:750; }
.student-filter-tab.active span { background:#d8eaff; color:#176edb; }
.student-practice-layout { grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr); }
.student-task-list { display:flex; flex-direction:column; gap:12px; min-width:0; }
.student-task-card { min-width:0; padding:15px; border:1px solid #e3ecf7; border-radius:12px; background:#fff; }
.student-task-card-top { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.student-task-card h3 { margin:11px 0 6px; color:#2c4266; font-size:13px; line-height:1.55; }
.student-task-card > p { margin:0; color:#7a8ba6; font-size:11px; line-height:1.75; }
.student-task-meta { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; color:#7d8faa; font-size:10px; }
.student-task-meta span { display:inline-flex; align-items:center; gap:5px; }
.student-task-meta svg { stroke:currentColor; fill:none; }
.student-task-evidence { display:flex; flex-direction:column; gap:5px; margin-top:12px; padding:10px; border-radius:8px; background:#f7faff; }
.student-task-evidence small { color:#8b9ab0; font-size:10px; }
.student-task-evidence strong { color:#536b8c; font-size:10px; line-height:1.6; }
.student-task-footer { display:flex; align-items:center; justify-content:space-between; gap:9px; margin-top:12px; padding-top:11px; border-top:1px solid #edf2f8; color:#8b9ab0; font-size:10px; }
.student-task-footer .btn { min-height:33px; padding:0 10px; font-size:10px; }
.student-submission-column { display:flex; flex-direction:column; gap:14px; min-width:0; }
.student-submission-boundary { margin-bottom:14px; padding:11px; border:1px solid #dceafa; border-radius:8px; background:#f4f9ff; }
.student-submission-boundary strong { color:#365781; font-size:11px; }
.student-submission-boundary p { margin:5px 0 0; color:#7488a6; font-size:10px; line-height:1.65; }
.student-evidence-selection { padding:9px 10px; border:1px dashed #d7e4f4; border-radius:8px; color:#8092ab; background:#fafcff; font-size:10px; overflow-wrap:anywhere; }
#student-evidence-file { height:auto; padding:8px; background:#fbfdff; }
.student-submission-preview { margin-top:13px; padding:12px; border:1px solid #e0eafa; border-radius:9px; background:#fbfdff; overflow-wrap:anywhere; }
.student-submission-preview > strong { color:#30496d; font-size:11px; line-height:1.6; }
.student-submission-preview > p { color:#7184a0; font-size:11px; line-height:1.75; white-space:pre-wrap; }
.student-submission-preview dl,.student-share-preview dl { display:flex; flex-direction:column; gap:8px; margin:12px 0; }
.student-submission-preview dl > div,.student-share-preview dl > div { display:grid; grid-template-columns:95px minmax(0,1fr); gap:10px; }
.student-submission-preview dt,.student-share-preview dt { color:#8292a9; font-size:10px; }
.student-submission-preview dd,.student-share-preview dd { margin:0; color:#354d70; font-size:10px; overflow-wrap:anywhere; }
.student-evidence-checklist { display:flex; flex-direction:column; gap:13px; }
.student-evidence-checklist > div { display:flex; align-items:flex-start; gap:9px; }
.student-evidence-checklist > div > span { display:flex; align-items:center; justify-content:center; width:24px; height:24px; flex:0 0 24px; border-radius:7px; background:#e3f8ed; color:#149c68; }
.student-evidence-checklist svg { stroke:currentColor; fill:none; }
.student-evidence-checklist > div > div { display:flex; flex-direction:column; gap:4px; }
.student-evidence-checklist strong { color:#3b5274; font-size:11px; }
.student-evidence-checklist small { color:#8494ab; font-size:10px; line-height:1.6; }
.student-sharing-banner { display:flex; align-items:flex-start; gap:12px; margin-bottom:15px; padding:15px; border:1px solid #dceafa; border-radius:11px; background:#f1f7ff; }
.student-sharing-banner > span { display:flex; align-items:center; justify-content:center; width:42px; height:42px; flex:0 0 42px; border-radius:10px; background:#deedff; color:#176fdd; }
.student-sharing-banner svg { stroke:currentColor; fill:none; }
.student-sharing-banner strong { color:#2f4c75; font-size:12px; }
.student-sharing-banner p { margin:6px 0 0; color:#6f84a2; font-size:11px; line-height:1.7; }
.student-privacy-option { display:flex; align-items:flex-start; gap:9px; margin:15px 0; padding:12px; border:1px solid #e2ebf7; border-radius:9px; background:#fbfdff; cursor:pointer; }
.student-privacy-option input { margin-top:3px; accent-color:#1477f8; }
.student-privacy-option span { display:flex; flex-direction:column; gap:5px; }
.student-privacy-option strong { color:#3a5274; font-size:11px; }
.student-privacy-option small { color:#8192aa; font-size:10px; line-height:1.6; }
.student-share-preview { margin-top:14px; padding:13px; border:1px dashed #d5e2f2; border-radius:9px; background:#fafcff; }
.student-share-preview.active { border-style:solid; border-color:#c9e2ff; background:#f4f9ff; }
.student-share-preview > strong { color:#526c8e; font-size:11px; }
.student-share-preview > p { color:#8192aa; font-size:10px; line-height:1.7; }
.student-share-preview-top { display:flex; align-items:center; gap:9px; }
.student-share-preview-top > span { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:9px; background:#e0efff; color:#1974e4; }
.student-share-preview-top svg { stroke:currentColor; fill:none; }
.student-share-preview-top > div { display:flex; flex-direction:column; gap:4px; }
.student-share-preview-top strong { color:#2d4d78; font-size:11px; }
.student-share-preview-top small { color:#8192aa; font-size:10px; line-height:1.5; }
.student-share-history { display:flex; flex-direction:column; }
.student-share-history-row { display:flex; align-items:flex-start; gap:10px; padding:13px 0; border-bottom:1px solid #edf2f8; }
.student-share-history-row:last-child { border-bottom:0; }
.student-share-history-icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; flex:0 0 34px; border-radius:9px; background:#edf4ff; color:#347dd0; }
.student-share-history-icon svg { stroke:currentColor; fill:none; }
.student-share-history-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:5px; }
.student-share-history-copy strong { color:#354c6e; font-size:11px; }
.student-share-history-copy small { color:#8292a9; font-size:10px; line-height:1.55; }
.student-share-history-row .status-pill { flex:0 0 auto; }
.student-sharing-principles { display:flex; flex-direction:column; gap:15px; }
.student-sharing-principles > div { display:flex; align-items:flex-start; gap:10px; }
.student-sharing-principles > div > span { display:flex; align-items:center; justify-content:center; width:30px; height:30px; flex:0 0 30px; border-radius:8px; background:#edf5ff; color:#347ed2; font-size:10px; font-weight:750; }
.student-sharing-principles strong { color:#354c6e; font-size:11px; }
.student-sharing-principles p { margin:5px 0 0; color:#7c8da7; font-size:10px; line-height:1.65; }
.form-field input[aria-invalid="true"],.form-field textarea[aria-invalid="true"] { border-color:#e55361; outline:3px solid #fff0f1; }
@media (max-width: 1250px) {
  .student-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .student-learning-layout,.student-progress-layout,.student-practice-layout,.student-sharing-layout { grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 950px) {
  .student-welcome-mark { width:120px; flex-basis:120px; }
  .student-course-grid { grid-template-columns:minmax(0,1fr); }
  .student-course-switcher { grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 720px) {
  .student-welcome { padding:17px; }
  .student-welcome-mark { display:none; }
  .student-welcome h2 { font-size:21px; }
  .student-course-grid { grid-template-columns:minmax(0,1fr); }
  .student-course-detail-head { align-items:flex-start; }
  .student-course-detail-head h2 { font-size:17px; }
  .student-player-stage { min-height:220px; }
  .student-player-meta { flex-direction:column; }
  .student-player-controls { align-items:stretch; }
  .student-player-controls > .btn { width:100%; }
  .student-video-slider { flex:1 1 100%; }
  .student-resource-item { gap:7px; }
  .student-resource-state { font-size:9px; }
  .student-progress-course-bottom { align-items:flex-start; flex-direction:column; }
  .student-task-filter-bar { gap:4px; }
  .student-filter-tab { padding:7px 8px; }
  .student-task-card { padding:12px; }
  .student-task-meta { flex-direction:column; gap:7px; }
  .student-task-footer { align-items:flex-start; flex-direction:column; }
  .student-task-footer .btn { width:100%; }
  .student-share-history-row { flex-wrap:wrap; }
  .student-share-history-copy { min-width:calc(100% - 60px); }
  .student-share-history-row .status-pill { margin-left:44px; }
  .student-submission-preview dl > div,.student-share-preview dl > div { grid-template-columns:80px minmax(0,1fr); }
}


/* Fourth iteration: enterprise HR read-only workspace */
.hr-welcome { display:flex; align-items:center; gap:16px; margin-bottom:14px; padding:20px 22px; border:1px solid #dce8f8; border-radius:14px; background:linear-gradient(115deg,#edf5ff,#fff 65%,#f7f4ff); }
.hr-welcome-icon { display:flex; align-items:center; justify-content:center; width:54px; height:54px; flex:0 0 54px; border-radius:14px; background:#deedff; color:#176fdd; }
.hr-welcome-icon svg { stroke:currentColor; fill:none; stroke-width:1.7; }
.hr-welcome-copy { flex:1; min-width:0; }
.hr-eyebrow { display:block; margin-bottom:6px; color:#3778c1; font-size:10px; font-weight:750; letter-spacing:.5px; }
.hr-welcome-copy h2 { margin:0; color:#1e3965; font-size:20px; line-height:1.45; }
.hr-welcome-copy p { margin:6px 0 0; color:#7387a5; font-size:11px; line-height:1.7; }
.hr-readonly-chip { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; padding:7px 10px; border:1px solid #cce4da; border-radius:20px; background:#f1fbf6; color:#16825a; font-size:10px; font-weight:750; white-space:nowrap; }
.hr-readonly-chip svg { stroke:currentColor; fill:none; }
.hr-demo-notice { display:flex; align-items:flex-start; gap:10px; margin:0 0 14px; padding:12px 14px; border:1px solid #f1dfbd; border-radius:10px; background:#fffaf0; color:#8b682d; }
.hr-demo-notice > span { display:flex; flex:0 0 18px; align-items:center; justify-content:center; padding-top:1px; }
.hr-demo-notice svg { stroke:currentColor; fill:none; }
.hr-demo-notice > div { min-width:0; }
.hr-demo-notice strong { display:block; color:#755722; font-size:11px; }
.hr-demo-notice p { margin:4px 0 0; color:#8b7858; font-size:10px; line-height:1.7; overflow-wrap:anywhere; }
.hr-demo-notice.compact { margin:13px 0 0; padding:10px; background:#f7faff; border-color:#e1eaf7; color:#607b9f; font-size:10px; line-height:1.65; }
.hr-demo-notice.compact > div { line-height:1.65; }
.hr-dashboard-grid,.hr-result-layout { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(270px,.85fr); gap:15px; align-items:start; }
.hr-dashboard-grid .left-stack,.hr-dashboard-grid .right-stack,.hr-result-layout .left-stack,.hr-result-layout .right-stack { min-width:0; }
.hr-share-card-list { display:flex; flex-direction:column; gap:12px; }
.hr-share-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.hr-share-card { min-width:0; padding:15px; border:1px solid #e0eaf7; border-radius:12px; background:#fff; box-shadow:0 4px 14px rgba(34,77,132,.035); }
.hr-share-card.compact { padding:13px; }
.hr-share-card-top { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.hr-share-code { display:inline-block; color:#4b76ad; font-size:10px; font-weight:750; letter-spacing:.45px; overflow-wrap:anywhere; }
.hr-share-card h3 { margin:11px 0; color:#2c4265; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.hr-share-student { display:flex; align-items:center; gap:9px; min-width:0; padding:10px; border-radius:9px; background:#f7faff; }
.hr-avatar { display:flex; align-items:center; justify-content:center; width:34px; height:34px; flex:0 0 34px; border-radius:10px; background:#e5efff; color:#2e72c7; }
.hr-avatar svg { stroke:currentColor; fill:none; }
.hr-share-student > div { display:flex; flex:1; min-width:0; flex-direction:column; gap:4px; }
.hr-share-student strong { color:#354c70; font-size:11px; overflow-wrap:anywhere; }
.hr-share-student small { color:#8494ab; font-size:9px; line-height:1.55; overflow-wrap:anywhere; }
.hr-share-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0; }
.hr-share-facts > div { display:flex; min-width:0; flex-direction:column; gap:5px; }
.hr-share-facts small { color:#8a9ab0; font-size:9px; }
.hr-share-facts strong { color:#526987; font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
.hr-share-scope-note { display:flex; align-items:flex-start; gap:7px; padding:9px; border:1px solid #e8eef8; border-radius:8px; background:#fbfdff; color:#788ba7; font-size:10px; line-height:1.6; }
.hr-share-scope-note > span:first-child { display:flex; flex:0 0 14px; color:#5f83b0; }
.hr-share-scope-note svg { stroke:currentColor; fill:none; }
.hr-share-card-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:12px; }
.hr-last-access { color:#8b9ab0; font-size:9px; line-height:1.5; }
.hr-share-card-footer .btn { min-height:34px; padding:0 11px; font-size:10px; }
.hr-share-card-footer .btn:disabled { cursor:not-allowed; color:#9aa7b8; border-color:#e6ebf3; background:#f5f7fa; box-shadow:none; }
.hr-full-button { width:100%; margin-top:12px; }
.hr-full-button svg { stroke:currentColor; fill:none; }
.hr-filter-bar { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; padding:7px; border:1px solid #e1eaf6; border-radius:10px; background:#fff; }
.hr-filter-tab { display:flex; align-items:center; gap:8px; min-height:36px; padding:0 12px; border:1px solid transparent; border-radius:8px; background:transparent; color:#6f83a0; font-size:11px; }
.hr-filter-tab span { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border-radius:6px; background:#eef3fb; color:#617997; font-size:10px; }
.hr-filter-tab.active { border-color:#cde2ff; background:#eff6ff; color:#176fdf; font-weight:750; }
.hr-filter-tab.active span { background:#dbeaff; color:#176fdf; }
.hr-permission-list { display:flex; flex-direction:column; gap:14px; }
.hr-permission-list > div { display:flex; align-items:flex-start; gap:9px; }
.hr-permission-list > div > span { display:flex; align-items:center; justify-content:center; width:25px; height:25px; flex:0 0 25px; border-radius:7px; background:#e4f8ee; color:#149766; }
.hr-permission-list > div > span.blocked { background:#fff0ef; color:#d75d63; }
.hr-permission-list svg { stroke:currentColor; fill:none; }
.hr-permission-list > div > div { display:flex; flex-direction:column; gap:4px; min-width:0; }
.hr-permission-list strong { color:#3a5173; font-size:11px; }
.hr-permission-list small { color:#8595ab; font-size:10px; line-height:1.6; }
.hr-checklist { margin:0; padding-left:19px; color:#7386a2; font-size:11px; line-height:1.9; }
.hr-access-denied { display:flex; align-items:center; flex-direction:column; gap:10px; margin:18px 0; padding:35px 20px; border:1px solid #f0d8d8; border-radius:14px; background:#fffafa; text-align:center; }
.hr-access-denied > span { display:flex; align-items:center; justify-content:center; width:62px; height:62px; border-radius:18px; background:#ffeded; color:#c8515b; }
.hr-access-denied svg { stroke:currentColor; fill:none; }
.hr-access-denied h2 { margin:2px 0; color:#653943; font-size:18px; }
.hr-access-denied p { max-width:550px; margin:0; color:#896d75; font-size:11px; line-height:1.7; }
.hr-result-summary { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:14px; padding:15px 17px; border:1px solid #e0eaf7; border-radius:12px; background:#fff; }
.hr-result-summary > div:first-child { min-width:0; }
.hr-result-summary h2 { margin:6px 0; color:#2b4267; font-size:17px; line-height:1.5; overflow-wrap:anywhere; }
.hr-result-summary p { margin:0; color:#7d8da7; font-size:10px; line-height:1.6; }
.hr-result-status { display:flex; align-items:flex-end; flex-direction:column; gap:6px; flex:0 0 auto; }
.hr-result-status small { color:#8292a9; font-size:10px; text-align:right; }
.hr-asset-tabs { display:flex; flex-direction:column; gap:7px; margin-bottom:14px; }
.hr-asset-tab { display:grid; grid-template-columns:34px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; column-gap:9px; width:100%; min-height:54px; padding:9px 10px; border:1px solid #e3ebf6; border-radius:9px; background:#fff; color:#536a8a; text-align:left; }
.hr-asset-tab > span { display:flex; align-items:center; justify-content:center; grid-row:1 / 3; width:34px; height:34px; border-radius:8px; background:#edf4ff; color:#347bd0; }
.hr-asset-tab svg { stroke:currentColor; fill:none; }
.hr-asset-tab strong { min-width:0; color:#344b6d; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.hr-asset-tab small { color:#8a9ab0; font-size:9px; }
.hr-asset-tab.active { border-color:#9fc7ff; background:#f1f7ff; box-shadow:inset 0 0 0 1px #d7e8ff; }
.hr-report-preview { padding:14px; border:1px solid #e4ecf7; border-radius:10px; background:#fbfdff; }
.hr-report-preview-head { display:flex; align-items:center; gap:10px; }
.hr-report-preview-head > span { display:flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border-radius:10px; background:#e4efff; color:#3477c7; }
.hr-report-preview-head svg { stroke:currentColor; fill:none; }
.hr-report-preview-head > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.hr-report-preview-head strong { color:#344b6d; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.hr-report-preview-head small { color:#8a9ab0; font-size:9px; }
.hr-report-preview > p { color:#7588a4; font-size:11px; line-height:1.8; }
.hr-skill-summary { display:flex; flex-direction:column; gap:14px; margin:15px 0; }
.hr-skill-summary > div { display:grid; grid-template-columns:minmax(80px,.85fr) minmax(50px,1.4fr) 36px; align-items:center; gap:9px; }
.hr-skill-summary > div > span:first-child { color:#657b99; font-size:10px; overflow-wrap:anywhere; }
.hr-skill-summary strong { color:#36547c; font-size:10px; text-align:right; }
.hr-skill-track { display:block; height:7px; overflow:hidden; border-radius:8px; background:#eaf0f8; }
.hr-skill-track i { display:block; height:100%; border-radius:8px; background:linear-gradient(90deg,#81baff,#2378e4); }
.hr-privacy-footnote { display:flex; align-items:flex-start; gap:7px; padding-top:11px; border-top:1px solid #e8eef7; color:#8191a8; font-size:10px; line-height:1.7; }
.hr-privacy-footnote svg { flex:0 0 14px; stroke:currentColor; fill:none; }
.hr-video-preview { display:flex; align-items:center; flex-direction:column; gap:11px; padding:28px 17px; border-radius:10px; background:linear-gradient(140deg,#193f70,#2c6da5 55%,#152e52); color:#fff; text-align:center; }
.hr-video-preview > span { display:flex; align-items:center; justify-content:center; width:64px; height:64px; border:1px solid rgba(255,255,255,.7); border-radius:50%; background:rgba(255,255,255,.13); }
.hr-video-preview svg { stroke:currentColor; fill:none; }
.hr-video-preview strong { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.hr-video-preview small { color:#cfe4f8; font-size:10px; }
.hr-video-preview p { margin:0; color:#dcecff; font-size:10px; line-height:1.7; }
.hr-scope-details { display:flex; flex-direction:column; gap:0; }
.hr-scope-details > div { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #edf2f8; }
.hr-scope-details > div:last-child { border-bottom:0; }
.hr-scope-details small { flex:0 0 92px; color:#8494ab; font-size:10px; line-height:1.6; }
.hr-scope-details strong { min-width:0; color:#435b7c; font-size:10px; line-height:1.6; text-align:right; overflow-wrap:anywhere; }
.hr-mini-audit strong { color:#3b5274; font-size:11px; }
.hr-mini-audit p { margin:6px 0; color:#7186a3; font-size:11px; }
.hr-mini-audit small { color:#8797ad; font-size:10px; line-height:1.6; }
.hr-audit-list { display:flex; flex-direction:column; }
.hr-audit-row { display:flex; align-items:flex-start; gap:10px; min-width:0; padding:13px 0; border-bottom:1px solid #edf2f8; }
.hr-audit-row:last-child { border-bottom:0; }
.hr-audit-icon { display:flex; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 32px; border-radius:9px; background:#e3f8ed; color:#14865c; }
.hr-audit-icon.denied { background:#fff0ef; color:#ce5a62; }
.hr-audit-icon svg { stroke:currentColor; fill:none; }
.hr-audit-main { display:flex; flex:1; min-width:0; flex-direction:column; gap:5px; }
.hr-audit-main strong { color:#394f70; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.hr-audit-main small { color:#8393aa; font-size:9px; line-height:1.55; overflow-wrap:anywhere; }
.hr-audit-result { flex:0 0 auto; max-width:140px; color:#16865b; font-size:9px; line-height:1.6; text-align:right; overflow-wrap:anywhere; }
.hr-audit-result.denied { color:#c4525d; }
.hr-audit-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.hr-audit-fields span { padding:9px; border:1px solid #e6edf7; border-radius:8px; background:#fbfdff; color:#617795; font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
@media (max-width: 1250px) {
  .hr-dashboard-grid,.hr-result-layout { grid-template-columns:minmax(0,1fr); }
  .hr-share-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 1080px) {
  .app-shell.hr-mode .sidebar { width:190px; }
  .app-shell.hr-mode .sidebar-nav { padding:18px 8px; }
  .app-shell.hr-mode .nav-item { justify-content:flex-start; padding:0 12px; border-left-width:3px; }
  .app-shell.hr-mode .nav-item .nav-label { display:inline; }
  .app-shell.hr-mode .main-content { margin-left:190px; }
}
@media (max-width: 720px) {
  .app-shell.hr-mode .sidebar { position:sticky; top:0; left:auto; bottom:auto; width:100%; height:auto; flex:none; border-right:0; border-bottom:1px solid #e0eaf6; background:rgba(249,252,255,.97); }
  .app-shell.hr-mode .sidebar-nav { display:flex; flex-direction:row; align-items:stretch; gap:6px; overflow-x:auto; overscroll-behavior-x:contain; padding:7px 9px; scrollbar-width:thin; }
  .app-shell.hr-mode .nav-item { display:flex; align-items:center; justify-content:center; flex:0 0 auto; gap:7px; min-width:max-content; min-height:40px; padding:0 11px; border:1px solid #e1eaf6; border-radius:9px; background:#fff; }
  .app-shell.hr-mode .nav-item.active { border-color:#bcd9ff; border-bottom-color:#1477f8; background:#eaf4ff; }
  .app-shell.hr-mode .nav-item .nav-label { display:inline; font-size:11px; }
  .app-shell.hr-mode .nav-item .nav-icon { display:inline-flex; width:18px; flex:0 0 18px; }
  .app-shell.hr-mode .nav-item .nav-icon svg { width:18px; height:18px; }
  .app-shell.hr-mode .sidebar-footer { display:none; }
  .app-shell.hr-mode .main-content { margin-left:0; padding:14px 11px 24px; }
  .hr-welcome { align-items:flex-start; gap:10px; padding:14px; }
  .hr-welcome-icon { width:40px; height:40px; flex-basis:40px; border-radius:10px; }
  .hr-welcome-icon svg { width:23px; height:23px; }
  .hr-welcome-copy h2 { font-size:16px; }
  .hr-welcome-copy p { font-size:10px; }
  .hr-readonly-chip { display:none; }
  .hr-demo-notice { padding:10px; gap:8px; }
  .hr-share-grid { grid-template-columns:minmax(0,1fr); }
  .hr-share-card { padding:12px; }
  .hr-share-facts { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .hr-share-facts strong { font-size:9px; }
  .hr-share-card-footer { align-items:stretch; flex-direction:column; }
  .hr-share-card-footer .btn { width:100%; min-height:42px; }
  .hr-filter-bar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hr-filter-tab { justify-content:center; padding:0 7px; }
  .hr-result-summary { flex-direction:column; gap:10px; padding:13px; }
  .hr-result-summary h2 { font-size:15px; }
  .hr-result-status { align-items:flex-start; }
  .hr-result-status small { text-align:left; }
  .hr-asset-tab { min-height:60px; }
  .hr-report-preview { padding:11px; }
  .hr-skill-summary > div { grid-template-columns:minmax(72px,.8fr) minmax(45px,1fr) 32px; gap:7px; }
  .hr-scope-details > div { gap:8px; }
  .hr-scope-details small { flex-basis:84px; }
  .hr-audit-row { flex-wrap:wrap; gap:8px; }
  .hr-audit-main { flex-basis:calc(100% - 45px); }
  .hr-audit-result { margin-left:40px; max-width:none; text-align:left; }
  .hr-audit-fields { grid-template-columns:minmax(0,1fr); }
  .hr-access-denied { padding:25px 13px; }
  .hr-access-denied h2 { font-size:16px; }
  .hr-full-button { min-height:42px; }
}

/* HR tablet width fixes */
@media (max-width: 1080px) {
  .app-shell.hr-mode .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .app-shell.hr-mode .hr-dashboard-grid .right-stack,.app-shell.hr-mode .hr-result-layout .right-stack { display:grid; grid-template-columns:minmax(0,1fr); }
  .app-shell.hr-mode .hr-welcome { flex-wrap:wrap; }
}
