﻿/* AI-07: a focused academic workspace. Local fallbacks keep Vietnamese readable offline. */
:root {
  --font-family: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  --bg-base: #f3f5fa; --bg-surface: #fff; --bg-card: #fff; --bg-input: #fff;
  --text-main: #243b67; --text-muted: #56657b; --text-dim: #607086;
  --border-subtle: #dce5eb; --border-medium: #b7c9d3; --border-focus: #087b78;
  --accent-primary: #087b78; --accent-emerald: #14745a; --accent-amber: #8b5a15;
  --accent-purple: #53649b; --accent-rose: #b44343;
  --accent-emerald-bg: #e7f5ef; --accent-amber-bg: #fff4df; --accent-rose-bg: #fff0ee;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); background: var(--bg-base); color: var(--text-main); font-size: 14px; line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: var(--accent-primary); }
:focus-visible { outline: 3px solid #087b78; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 600; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2000; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.container, .header-container { max-width: 1520px; margin: auto; padding-inline: 40px; }
.app-header { background: white; border-bottom: 1px solid var(--border-subtle); }
.header-container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 14px 14px 14px 3px; color: white; background: #193348; display: grid; place-items: center; }
.logo-icon { font-size: 25px; font-weight: 700; letter-spacing: -2px; }
.logo-icon span { font-size: 13px; margin-left: 2px; letter-spacing: -1px; }
.badge-eyebrow { font-size: 11px; color: var(--text-muted); }
.app-title { font-size: 19px; margin-top: 2px; }
.header-right-actions { display: flex; gap: 16px; align-items: end; }
.program-selector-wrapper { display: grid; gap: 4px; }
.selector-label { font-size: 11px; color: var(--text-muted); }
.select-container { position: relative; }
.select-arrow { display: none; }
.modern-select { max-width: 100%; border: 1px solid var(--border-subtle); border-radius: 7px; color: var(--text-main); background: white; padding: 9px 12px; min-height: 40px; }
#program-select { max-width: 290px; }
#profile-select { max-width: 190px; }
.sub-header-bar { background: #e6eff1; border-bottom: 1px solid #d3e1e5; }
.sub-header-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 10px; font-size: 11px; }
.catalog-info-chip { display: flex; align-items: center; gap: 9px; }
.pulse-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #087b78; }
.isolation-notice { color: var(--text-muted); }
.main-content { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 38px; padding-top: 34px; padding-bottom: 48px; min-height: 75vh; }
.workspace-sidebar { position: sticky; top: 24px; align-self: start; }
.sidebar-caption { color: var(--text-muted); font-size: 12px; padding: 0 12px 14px; }
.nav-tabs { display: flex; flex-direction: column; gap: 8px; }
.tab-btn { display: flex; align-items: center; gap: 12px; border: 1px solid transparent; background: transparent; text-align: left; color: var(--text-muted); border-radius: 9px; padding: 14px 12px; width: 100%; }
.tab-btn:hover { background: #e4ecef; }
.tab-btn.active { background: #dceeed; color: #09615e; border-color: #b9d9d6; }
.tab-icon { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #c5d2da; border-radius: 50%; font-size: 12px; flex-shrink: 0; }
.active .tab-icon { background: #087b78; color: white; border-color: #087b78; }
.tab-label { font-size: 13px; font-weight: 600; }
.tab-label small { display: block; font-weight: 400; font-size: 10px; margin-top: 3px; }
.sidebar-note { margin: 36px 12px; padding-top: 22px; border-top: 1px solid #d0dde3; }
.note-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid #9cb6c5; border-radius: 50%; margin-bottom: 12px; }
.sidebar-note p { font-size: 13px; margin-bottom: 9px; }
.sidebar-note small { color: var(--text-muted); font-size: 11px; }
.sidebar-bottom { padding: 12px; font-weight: 700; color: #647d8a; font-size: 12px; }
.sidebar-bottom span { display: block; font-weight: 400; font-size: 10px; }
.workspace-body { min-width: 0; }
.workspace-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.intro-context { font-size: 12px; color: #087b78; margin-bottom: 9px; }
.workspace-intro h2 { font-size: clamp(23px, 2.5vw, 32px); letter-spacing: -.9px; font-weight: 600; margin-bottom: 9px; }
.workspace-intro p:last-child { font-size: 13px; color: var(--text-muted); max-width: 65ch; }
.intro-symbol { width: 100px; height: 100px; color: #7da5ae; flex-shrink: 0; }
.intro-symbol svg { width: 100%; height: 100%; }
.source-notice { display: flex; gap: 10px; padding: 11px 15px; background: #fff8e9; border-left: 3px solid #c79a43; color: #75581e; font-size: 11px; margin-bottom: 24px; border-radius: 0 6px 6px 0; }
.source-notice span { font-size: 16px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: white; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 22px 0; }
.kpi-card { display: flex; flex-direction: column; padding: 0 24px; border-right: 1px solid var(--border-subtle); }
.kpi-card:last-child { border: none; }
.kpi-title { font-size: 11px; color: var(--text-muted); }
.kpi-value { font-size: 31px; line-height: 1.4; margin: 7px 0 2px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi-sub { color: var(--text-dim); font-size: 10px; }
.text-emerald { color: var(--accent-emerald); }.text-blue { color: var(--text-main); }.text-purple { color: var(--accent-purple); }.text-amber { color: var(--accent-amber); }.text-rose { color: var(--accent-rose); }
.mt-2 { margin-top: 8px; }.mt-3 { margin-top: 16px; }.mt-4 { margin-top: 24px; }.w-full { width: 100%; }
.panel-card { background: white; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 24px; min-width: 0; }
.card-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.card-title { font-size: 18px; letter-spacing: -.35px; }
.card-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 7px; max-width: 72ch; }
.quick-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.btn-primary, .btn-ghost, .btn-danger-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 7px; font-size: 12px; font-weight: 500; min-height: 40px; }
.btn-primary { background: #087b78; color: white; border: 1px solid #087b78; }
.btn-primary:hover { background: #066460; }
.btn-ghost { background: white; color: var(--text-main); border: 1px solid var(--border-subtle); }
.btn-ghost:hover { background: #f0f5f6; border-color: #b7c9d3; }
.btn-danger-ghost { color: #a53d3d; background: #fff6f4; border: 1px solid #f1d9d5; }
.btn-sm { padding: 7px 10px; font-size: 10px; min-height: 34px; }
.modern-input, .modern-textarea { width: 100%; border: 1px solid #cbd9e1; background: white; border-radius: 7px; color: var(--text-main); padding: 10px 12px; font-size: 12px; min-height: 42px; }
.modern-input::placeholder, .modern-textarea::placeholder { color: #667e8d; }
.modern-textarea { resize: vertical; line-height: 1.8; }
.search-filter-bar { display: flex; gap: 12px; padding-bottom: 16px; }
.search-filter-bar .modern-input { flex: 1; min-width: 0; background: #f8fafb; }
.filter-select { width: 210px; font-size: 12px; }
.course-checklist-wrapper { max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bed1d9 transparent; border-top: 1px solid var(--border-subtle); }
.course-item-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 9px; border-bottom: 1px solid #e8eef2; }
.course-item-row:hover { background: #f7fafb; }
.course-item-row.is-passed { background: #f0f8f5; }
.course-check-label { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; cursor: pointer; }
.course-checkbox { width: 18px; height: 18px; accent-color: #087b78; flex-shrink: 0; }
.course-info { min-width: 0; }
.course-code-name { display: block; font-size: 13px; font-weight: 500; }
.course-meta-tags { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; font-size: 10px; color: var(--text-muted); margin-top: 5px; }
.grade-input-box { width: 76px; flex-shrink: 0; }
.grade-input { text-align: center; padding: 7px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 500; }
.badge-gray { background: #edf2f5; color: #526877; }.badge-success { background: #e7f5ef; color: #14664c; }.badge-warning { background: #fff3de; color: #805315; }.badge-info { background: #e8f0f7; color: #315f83; }.badge-danger { background: #ffefec; color: #a53d3d; }
.rule-engine-header { display: flex; justify-content: space-between; gap: 20px; }
.rule-stats-summary { display: flex; gap: 6px; flex-wrap: wrap; align-content: start; }
.rules-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rules-col { padding: 0; overflow: hidden; }
.col-title-bar { padding: 18px 22px; border-bottom: 1px solid var(--border-subtle); }
.col-title-bar h3 { font-size: 14px; }.col-sub { font-size: 11px; color: var(--text-muted); }.eligible-bar { background: #eef7f3; }.blocked-bar { background: #fff8e9; }
.rules-cards-list { padding: 14px; max-height: 600px; overflow-y: auto; }
.rule-item-card { padding: 14px 8px; border-bottom: 1px solid var(--border-subtle); font-size: 12px; }
.rule-course-header { display: flex; gap: 10px; justify-content: space-between; align-items: start; }
.rule-reason-box { font-size: 11px; margin-top: 8px; padding: 8px 10px; background: #fff8e9; border-radius: 5px; }
.grid-2-col { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 22px; align-items: start; }
.form-label { font-size: 12px; font-weight: 500; display: block; margin-bottom: 7px; }
.modern-slider { width: 100%; accent-color: #087b78; margin-top: 10px; }
.slider-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.slider-val { color: #087b78; font-size: 12px; font-weight: 600; white-space: nowrap; }
.what-if-controls { border: 1px solid var(--border-subtle); border-radius: 8px; padding: 12px; font-size: 12px; background: #f8fafb; }
.what-if-controls summary { cursor: pointer; font-weight: 500; }.form-help { color: var(--text-muted); font-size: 11px; margin: 10px 0; }.weight-control + .weight-control { margin-top: 10px; }
.recommendation-card { border: 1px solid var(--border-subtle); border-left: 3px solid #087b78; border-radius: 8px; padding: 18px; margin-bottom: 14px; }
.rec-header { display: flex; justify-content: space-between; align-items: start; gap: 10px; }.rec-title { font-size: 15px; }.rec-reason { font-size: 12px; margin-top: 12px; color: var(--text-muted); }.rec-rank { color: #087b78; font-weight: 600; }
.recommendation-summary { padding: 14px; border-radius: 8px; background: #eff6f6; font-size: 12px; }
.rec-summary-grid, .rec-details-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.rec-details-grid { margin-top: 14px; }.rec-detail-label { display: block; font-size: 10px; color: var(--text-muted); }.rec-detail-value { font-size: 12px; }.rec-detail-muted { color: var(--text-muted); }.rec-badge-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }.rec-blocked-summary { margin-top: 12px; }.rec-warning-panel { padding: 12px; background: #fff8e9; color: #805315; border-radius: 6px; margin-top: 12px; font-size: 11px; }.rec-warning-title { font-weight: 600; }.rec-warning-list { padding-left: 18px; margin-top: 6px; }
.empty-state, .loading-spinner { padding: 42px 20px; text-align: center; color: var(--text-muted); font-size: 12px; }.empty-state p { max-width: 42ch; margin: auto; }.empty-icon { display: block; font-size: 36px; color: #86a8b6; margin-bottom: 14px; }
.floating-advisor-widget { position: fixed; bottom: 22px; right: 26px; z-index: 300; }
.advisor-bubble-btn { border: 1px solid #087b78; background: #087b78; color: white; border-radius: 30px; padding: 13px 18px; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 20px #19334824; }
.bubble-icon { font-size: 22px; line-height: 1; }.bubble-label { font-size: 12px; font-weight: 500; }.bubble-badge, .bubble-pulse-ring { display: none; }
.advisor-chat-window { position: fixed; bottom: 85px; right: 26px; width: 420px; height: 660px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 110px); background: white; border: 1px solid #b7c9d3; border-radius: 16px; box-shadow: 0 18px 65px #19334830; display: flex; flex-direction: column; overflow: hidden; }
.advisor-chat-window.hidden { display: none; }.advisor-chat-window.is-maximized { width: min(800px,calc(100vw - 48px)); height: calc(100dvh - 60px); max-height: none; bottom: 24px; right: 24px; }
.chat-window-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: #193348; color: white; }.advisor-title-group { display: flex; align-items: center; gap: 10px; }.advisor-avatar-small { font-size: 26px; color: #9ed6ce; }.advisor-window-title { font-size: 14px; }.advisor-status-text { font-size: 10px; color: #d0e1e6; }.chat-window-controls { display: flex; gap: 6px; }.control-btn { width: 34px; height: 34px; border: 1px solid #526877; border-radius: 6px; color: white; background: transparent; }
.chat-guardrail-banner { padding: 10px 16px; font-size: 10px; color: #526877; background: #eff4f6; }.chat-study-direction { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }.chat-direction-heading { font-size: 11px; font-weight: 600; margin-bottom: 6px; }.chat-direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.chat-direction-field { min-width: 0; }.chat-direction-field span { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 3px; }.chat-direction-field .modern-select { width: 100%; font-size: 11px; }.chat-study-direction small { display: block; color: var(--text-muted); font-size: 10px; margin-top: 6px; }
.chat-messages { overflow-y: auto; flex: 1; min-height: 80px; padding: 16px; }.chat-message { display: flex; margin-bottom: 14px; font-size: 12px; }.message-user { justify-content: end; }.message-content { max-width: 92%; padding: 12px 14px; border-radius: 10px; overflow-wrap: anywhere; }.message-content p + p { margin-top: 8px; }.message-advisor .message-content { background: #f0f5f7; }.message-user .message-content { background: #e2f1ec; }.message-content ul, .message-content ol { padding-left: 18px; }.note-text { color: var(--text-muted); }.quick-prompt-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid #edf2f5; }.chip-btn { padding: 6px 9px; font-size: 10px; border-radius: 20px; border: 1px solid var(--border-subtle); color: var(--text-main); background: white; }.chip-btn:hover { border-color: #087b78; }.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border-subtle); }.chat-input-row .modern-input { flex: 1; min-width: 0; }
.app-footer { border-top: 1px solid var(--border-subtle); padding: 24px 0 80px; color: var(--text-muted); font-size: 10px; }.footer-content { max-width: 1100px; }.footer-sub { margin-top: 6px; }
@media (min-width: 1200px) { .card-header > div:first-child { flex: 1; }.quick-actions { max-width: 250px; } }
@media (max-width: 1150px) { .header-container { flex-wrap: wrap; }.header-right-actions { flex: 1; justify-content: end; }.main-content { grid-template-columns: 180px minmax(0,1fr); gap: 22px; }.card-header { flex-wrap: wrap; }.quick-actions { justify-content: start; }.kpi-card { padding-inline: 16px; }.intro-symbol { width: 75px; }.isolation-notice { max-width: 280px; }.grid-2-col { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .container, .header-container { padding-inline: 20px; }.header-right-actions { width: 100%; justify-content: start; flex-wrap: wrap; gap: 12px; }.main-content { display: block; padding-top: 20px; }.workspace-sidebar { position: static; margin-bottom: 24px; }.sidebar-caption, .sidebar-note, .sidebar-bottom { display: none; }.nav-tabs { flex-direction: row; }.tab-btn { justify-content: center; padding: 11px 8px; }.tab-label small { display: none; }.workspace-intro h2 { font-size: 25px; }.sub-header-content { flex-wrap: wrap; gap: 4px; }.isolation-notice { max-width: none; }.rules-two-columns { grid-template-columns: 1fr; }.rule-engine-header { flex-wrap: wrap; }.panel-card { padding: 20px; }.rules-col { padding: 0; } }
@media (max-width: 520px) { .header-container { padding-block: 16px; gap: 16px; }.app-title { font-size: 17px; }.program-selector-wrapper { flex: 1; min-width: 130px; }.program-selector-wrapper:nth-child(2) { flex-basis: 100%; order: -1; }.modern-select, #program-select, #profile-select { width: 100%; max-width: none; }.selector-label { font-size: 10px; }.workspace-intro { margin-bottom: 16px; }.workspace-intro h2 { font-size: 25px; letter-spacing: -.8px; }.intro-symbol { display: none; }.tab-label { font-size: 10px; }.tab-icon { width: 22px; height: 22px; font-size: 10px; }.tab-btn { gap: 6px; }.kpi-grid { grid-template-columns: 1fr 1fr; padding: 0; }.kpi-card { padding: 16px; }.kpi-card:nth-child(2) { border-right: none; }.kpi-card:nth-child(-n+2) { border-bottom: 1px solid var(--border-subtle); }.kpi-value { font-size: 28px; }.kpi-title { font-size: 10px; }.panel-card { padding: 16px; }.card-title { font-size: 17px; }.search-filter-bar { flex-direction: column; }.filter-select { width: 100%; }.course-item-row { padding: 14px 0; gap: 8px; }.course-check-label { gap: 9px; }.course-code-name { font-size: 12px; }.grade-input-box { width: 60px; }.grade-input { font-size: 16px; }.rules-col { padding: 0; }.source-notice { font-size: 10px; }.advisor-bubble-btn { padding: 13px; }.bubble-label { display: none; }.floating-advisor-widget { bottom: 16px; right: 16px; }.advisor-chat-window { right: 12px; bottom: 76px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 92px); }.advisor-chat-window.is-maximized { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: calc(100dvh - 24px); }.rec-summary-grid, .rec-details-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* The navigation frames the ledger; semester tables carry the primary content. */
.app-header { border-top: 4px solid #243b67; }
.brand-logo { background: #243b67; border-radius: 10px; }
.brand-logo svg { width: 36px; height: 36px; }
.app-title { font-size: 22px; letter-spacing: -.7px; }
.main-content { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
.workspace-sidebar { background: #243b67; border-radius: 14px; padding: 22px 10px 12px; color: white; }
.sidebar-caption, .sidebar-note small, .sidebar-bottom, .tab-btn { color: #d4dff0; }
.sidebar-bottom span { color: #bccce6; }
.sidebar-note { border-color: #4e6185; }
.tab-btn:hover { background: #354d77; }
.tab-btn.active { color: #243b67; background: #fff; border-color: white; }
.active .tab-icon { background: #243b67; border-color: #243b67; }
.workspace-intro { padding: 12px 0 20px; border-bottom: 1px solid #dce5eb; }
.workspace-intro h2 { font-size: clamp(26px, 2.7vw, 36px); letter-spacing: -1px; }
.intro-context { color: #56657b; }
.intro-symbol { color: #607ca5; }
.sub-header-bar { background: #e9eef7; }
.kpi-grid { border-radius: 9px; padding: 18px 0; }
.kpi-value { font-size: 28px; }
.semester-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 22px; border-top: 1px solid var(--border-subtle); }
.semester-toolbar label { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 600; }
.semester-toolbar p { font-size: 11px; color: var(--text-muted); }
.semester-section { border: 1px solid #dce5eb; border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.semester-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; background: #edf2fa; border-bottom: 1px solid #dce5eb; }
.semester-heading h3 { font-size: 15px; }
.semester-heading span { font-size: 11px; color: var(--text-muted); }
.semester-empty { padding: 30px 18px; color: var(--text-muted); font-size: 12px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.transcript-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.transcript-table th { color: var(--text-muted); font-weight: 500; font-size: 10px; background: #f8fafd; white-space: nowrap; padding: 12px; border-bottom: 1px solid #dce5eb; }
.transcript-table .course-item-row { display: table-row; }
.transcript-table td { padding: 12px; border-bottom: 1px solid #edf0f5; vertical-align: middle; }
.transcript-table tr:last-child td { border-bottom: none; }
.transcript-table th:first-child, .transcript-table td:first-child { width: 60px; text-align: center; }
.transcript-table th:nth-child(3), .transcript-table td:nth-child(3) { text-align: center; }
.transcript-table td:nth-child(2) { min-width: 180px; }
.table-course-code { display: block; color: #607086; font-size: 10px; margin-bottom: 2px; }
.transcript-table .course-code-name { font-size: 12px; }
.transcript-table .grade-input { width: 68px; min-height: 38px; }
.transcript-table td:last-child { white-space: nowrap; width: 155px; }
.row-term-select { font-size: 11px; padding: 6px; min-height: 36px; max-width: 105px; }
.remove-course { border: none; background: transparent; color: #a53d3d; font-size: 20px; width: 32px; height: 36px; margin-left: 4px; }
.catalog-picker { margin-top: 28px; border-top: 1px solid #dce5eb; }
.catalog-picker summary { cursor: pointer; padding: 20px 0; font-size: 14px; font-weight: 600; }
.catalog-picker summary span { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 4px; }
.course-checklist-wrapper { max-height: 380px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.transcript-source-note { background: #edf2fa; border-left: 3px solid #607ca5; padding: 12px 16px; font-size: 12px; color: #405675; margin-bottom: 20px; }
.portal-table-scroll { border: 1px solid #cdd6e1; border-radius: 4px; }
.portal-transcript-table { border-collapse: collapse; width: 100%; min-width: 800px; font-size: 12px; color: #243b67; }
.portal-transcript-table th, .portal-transcript-table td { padding: 10px 12px; border: 1px solid #d9dfe7; text-align: center; font-variant-numeric: tabular-nums; }
.portal-transcript-table thead th { background: #eef1f5; font-weight: 600; white-space: nowrap; }
.portal-transcript-table td:nth-child(2), .portal-transcript-table td:nth-child(3) { text-align: left; }
.portal-transcript-table td:nth-child(2) { white-space: nowrap; }
.portal-transcript-table td:nth-child(3) { width: 40%; min-width: 240px; }
.portal-transcript-table .portal-term-heading th { text-align: left; padding: 12px; background: #e6edf8; color: #243b67; border-top: 2px solid #bac9df; font-size: 13px; }
.portal-transcript-table tbody tr:not(.portal-term-heading):nth-child(odd) { background: #fafbfd; }
.portal-transcript-table tbody tr:not(.portal-term-heading):hover { background: #f0f5fb; }
.portal-table-total { padding: 16px 0 4px; font-weight: 600; font-size: 12px; }
.add-term-controls { font-size: 12px; }
.add-term-controls summary { cursor: pointer; }
.add-term-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 10px; }
.add-term-fields label { display: grid; gap: 4px; }
.add-term-fields input { max-width: 125px; }
#semester-tables .transcript-table { min-width: 880px; }
#semester-tables .transcript-table td:nth-child(2) { min-width: 95px; }
#semester-tables .transcript-table td:nth-child(3) { text-align: left; min-width: 190px; }
#semester-tables .table-course-code { font-size: 11px; color: var(--text-main); }
#semester-tables .row-term-select { max-width: 175px; margin-left: 8px; }
@media (max-width: 1150px) { .main-content { grid-template-columns: 180px minmax(0,1fr); gap: 20px; } }
@media (max-width: 800px) { .main-content { display: block; }.workspace-sidebar { padding: 8px; border-radius: 10px; }.semester-toolbar { flex-wrap: wrap; gap: 8px; }.semester-heading { flex-wrap: wrap; gap: 4px; }.tab-btn:hover { color: white; }.tab-btn.active:hover { color: #243b67; } }
@media (max-width: 520px) { .container, .header-container { padding-inline: 16px; }.header-right-actions { flex-basis: 100%; }.semester-toolbar label { width: 100%; justify-content: space-between; }.semester-toolbar .modern-select { width: auto; }.semester-heading { padding: 12px; }.transcript-table { min-width: 580px; }.semester-toolbar p { font-size: 10px; }.panel-card { padding: 14px; } }
