/* Learning portal: readable course discovery and restrained technology accents. */
:root { --paper:#f7f8fa; --ink:#202735; --muted:#606b7c; --line:#e4e7ed; --green:#315bdc; --soft:#edf2ff; --radius:10px; }
.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; }
.wrap { width:min(1240px,calc(100% - 64px)); }
.site-header, body[data-page="/"] .site-header { min-height:78px; background:#fff; border-bottom:1px solid var(--line); color:var(--ink); }
.header-row { gap:24px; }
.brand { font-size:22px; letter-spacing:-.4px; gap:8px; }
.brand-logo { width:38px; height:38px; }
.brand b { color:#315bdc; font-weight:750; }
.nav { justify-content:flex-start; gap:22px; font-size:14px; white-space:nowrap; }
.nav a, body[data-page="/"] .nav a, body[data-page="/"] .language-link { color:#566174; padding-block:24px; }
.nav a:hover, body[data-page="/"] .nav a:hover { color:var(--green); }
.nav a.active { color:var(--green); }
.language-link { padding:0; min-width:30px; }
.header-cta, body[data-page="/"] .header-cta { color:#315bdc; background:#f2f5fe; border-color:#e0e7fd; font-size:12px; padding:10px 12px; white-space:nowrap; }
body[data-page="/"] .header-cta:hover { background:#e8eefc; }
.site-search { display:flex; align-items:center; width:205px; flex-shrink:0; border:1px solid #e2e6ed; border-radius:7px; background:#f6f7f9; }
.site-search input[type=search] { padding:9px 0 9px 12px; border:0; background:transparent; min-height:42px; font-size:12px; min-width:0; }
.site-search button { display:grid; place-items:center; color:#667389; background:transparent; border:0; width:44px; height:44px; flex-shrink:0; border-radius:6px; }
.site-search:focus-within { border-color:#315bdc; background:#fff; }
.site-search input:focus-visible { outline:none; }
.site-search button:hover { color:var(--green); background:#e8eefc; }
.learning-home { padding-bottom:56px; }
.portal-heading { display:flex; justify-content:space-between; align-items:center; padding:20px 0 16px; font-size:13px; font-weight:600; }
.portal-caption, .portal-heading a { font-weight:400; color:#687487; }
.portal-divider { color:#c0c7d2; margin:0 12px; }
.portal-heading a { display:flex; align-items:center; gap:9px; min-height:32px; font-size:12px; }
.learning-portal { display:grid; grid-template-columns:200px minmax(0,1fr) 230px; gap:16px; }
.category-menu { background:#fff; border:1px solid var(--line); border-radius:10px; padding:17px 16px 10px; }
.category-menu h2 { display:flex; align-items:center; gap:9px; font-size:14px; letter-spacing:0; margin:0 0 12px; padding-bottom:12px; border-bottom:1px solid #edf0f4; }
.category-menu h2 svg { width:18px; height:18px; color:#586681; }
.category-menu > a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 7px; margin:0 -7px; border-radius:6px; min-height:48px; }
.category-menu > a:hover { background:#f0f4ff; color:var(--green); }
.category-menu strong { display:block; font-size:13px; font-weight:600; line-height:1.5; }
.category-menu small { display:block; font-size:10px; color:#647084; margin-top:1px; line-height:1.5; }
.category-menu > a > span:last-child { color:#8a94a4; font-size:14px; }
.category-menu .all-directions { border-top:1px solid #edf0f4; border-radius:0; font-size:11px; color:#657289; margin-top:6px; min-height:38px; }
.learning-banner { background:#eaf0fc; border:1px solid #dee6f5; border-radius:10px; padding:24px 28px; display:flex; align-items:center; justify-content:space-between; gap:12px; position:relative; overflow:hidden; }
.banner-copy { position:relative; z-index:1; flex-shrink:0; }
.banner-label { display:flex; align-items:center; gap:7px; font-size:11px; color:#4f66a0; }
.banner-label > span { width:5px; height:5px; background:#315bdc; border-radius:50%; }
.learning-banner h1 { color:#1d305c; font-size:clamp(28px,2.65vw,34px); line-height:1.45; letter-spacing:-.6px; margin:14px 0 10px; }
.learning-banner p { color:#50638b; font-size:12px; line-height:1.8; margin:0 0 20px; }
.learning-banner .btn { min-height:44px; font-size:12px; padding:11px 17px; gap:18px; }
.banner-path { display:flex; align-items:center; gap:10px; font-size:11px; color:#50638b; margin-top:10px; min-height:32px; }
.banner-path:hover { color:var(--green); }
.banner-workflow { width:238px; flex-shrink:1; min-width:190px; position:relative; padding:20px 0; }
.workflow-caption { display:block; color:#606b7c; font-size:10px; margin:0 0 15px 7px; }
.workflow-node { border:1px solid #d9e2f2; background:#ffffffd9; border-radius:8px; padding:13px 11px; display:flex; gap:10px; align-items:center; box-shadow:0 4px 12px #20407704; }
.workflow-node > span:first-child { display:grid; place-items:center; width:27px; height:27px; color:#50638b; background:#edf2fc; border-radius:5px; font:11px ui-monospace,monospace; }
.workflow-node strong { display:block; font-size:12px; font-weight:600; color:#3b4f73; }
.workflow-node small { display:block; font-size:9px; color:#606b7c; }
.workflow-node .node-check, .workflow-node > span:last-child { margin-left:auto; color:#64857d; font-size:12px; }
.workflow-connector { height:13px; width:1px; background:#b9c9e8; display:block; margin-left:24px; }
.node-active { background:#315bdc; border-color:#315bdc; }
.node-active > span:first-child { background:#ffffff24; color:#fff; }
.node-active strong, .node-active > span:last-child { color:#fff; }
.node-active small { color:#d4e0ff; }
.workflow-bottom { display:block; color:#606b7c; font-size:9px; margin:14px 0 0 7px; }
.learning-start { background:white; border:1px solid var(--line); border-radius:10px; padding:25px 20px 17px; }
.start-icon { display:grid; place-items:center; width:36px; height:36px; color:#315bdc; background:#eef3ff; border-radius:9px; margin-bottom:12px; }
.learning-start h2 { font-size:15px; letter-spacing:0; margin:0 0 10px; }
.learning-start p { font-size:11px; line-height:1.9; color:#606b7c; margin-bottom:17px; }
.learning-start .btn { width:100%; font-size:12px; gap:15px; padding:11px 8px; min-height:44px; }
.start-profile { display:flex; justify-content:center; align-items:center; gap:9px; font-size:11px; color:#63718c; min-height:44px; }
.start-note { border-top:1px solid #edf0f4; padding-top:16px; margin-top:8px; }
.start-note strong { font-size:11px; font-weight:600; display:block; }
.start-note > span { font-size:10px; color:#606b7c; display:block; line-height:1.8; margin:5px 0; }
.start-note a { display:inline-flex; align-items:center; gap:8px; color:#526caa; font-size:10px; min-height:32px; }
.learning-tools { display:grid; grid-template-columns:repeat(4,1fr); background:#fff; border:1px solid var(--line); border-radius:10px; padding:20px 0; margin-top:18px; }
.learning-tools > a { display:flex; align-items:center; gap:13px; padding:0 22px; min-height:46px; }
.learning-tools > a:not(:last-child) { border-right:1px solid #edf0f4; }
.tool-icon { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; color:#4f6ba5; background:#f1f4fc; border-radius:8px; }
.learning-tools strong { display:block; font-size:13px; font-weight:600; }
.learning-tools small { display:block; font-size:10px; color:#606b7c; margin-top:3px; }
.learning-tools > a > span:last-child { color:#9aa4b3; margin-left:auto; }
.learning-tools > a:hover strong { color:var(--green); }
.learning-section { padding-top:38px; scroll-margin-top:22px; }
.learning-section-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.learning-section-head h2 { font-size:22px; letter-spacing:-.3px; margin:0; }
.learning-section-head p { font-size:11px; margin:5px 0 0; color:#606b7c; }
.learning-section-head .text-link { font-size:11px; font-weight:400; gap:9px; white-space:nowrap; }
.catalog-toolbar { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:18px; }
.catalog-filters { display:flex; flex-wrap:wrap; gap:8px; }
.catalog-filters button { font-size:12px; color:#687387; background:transparent; border:1px solid transparent; border-radius:5px; padding:6px 14px; min-height:36px; }
.catalog-filters button.selected { color:#315bdc; background:#e8eefd; border-color:#e0e7fa; font-weight:600; }
.catalog-filters button:hover { background:#edf1f8; color:#315bdc; }
.catalog-status { font-size:10px; color:#606b7c; white-space:nowrap; }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.catalog-card { min-width:0; background:#fff; border:1px solid var(--line); border-radius:10px; overflow:hidden; transition:box-shadow .18s,border-color .18s; }
.catalog-card:hover { border-color:#bdc9e7; box-shadow:0 6px 20px #334c7110; }
.course-cover { height:125px; display:flex; flex-direction:column; align-items:flex-start; padding:17px 22px; position:relative; overflow:hidden; background:#e7edf9; color:#415d97; }
.cover-type { font-size:9px; letter-spacing:1px; position:relative; z-index:1; }
.course-cover strong { font:600 29px/1.2 ui-monospace,monospace; margin:6px 0; letter-spacing:1px; position:relative; z-index:1; }
.cover-caption { font-size:10px; color:inherit; position:relative; z-index:1; }
.cover-lines { position:absolute; width:115px; height:115px; right:26px; top:26px; border:1px solid currentColor; opacity:.12; border-radius:16px; transform:rotate(-25deg); }
.cover-lines::before, .cover-lines::after { content:''; position:absolute; inset:13px -14px -13px 14px; border:1px solid currentColor; border-radius:16px; }
.cover-lines::after { inset:27px -28px -27px 28px; }
.cover-1 { background:#f0ebdf; color:#7b6029; }
.cover-2 { background:#e5edef; color:#3c6471; }
.cover-3 { background:#e8e8f3; color:#626299; }
.cover-4 { background:#e2ebf7; color:#3e669c; }
.cover-5 { background:#e5eee9; color:#3f6952; }
.cover-6 { background:#e9edf1; color:#586d85; }
.course-info { padding:17px 20px 16px; }
.course-meta { display:flex; justify-content:space-between; color:#606b7c; font-size:10px; }
.course-info h3 { font-size:16px; line-height:1.6; margin:9px 0 4px; }
.course-info h3 a:hover { color:var(--green); }
.course-info p { font-size:11px; color:#606b7c; margin:0 0 15px; }
.course-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:10px; border-top:1px solid #edf0f4; font-size:10px; color:#606b7c; }
.course-foot a { display:flex; align-items:center; gap:7px; min-height:32px; color:#4e6bae; font-size:11px; }
.catalog-empty { text-align:center; padding:44px; background:white; border:1px dashed #dce1ea; border-radius:10px; }
.catalog-empty h3 { font-size:16px; }
.catalog-empty p { font-size:12px; }
.project-route-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.project-route { min-width:0; padding:23px; background:#fff; border:1px solid var(--line); border-radius:10px; }
.route-top { display:flex; align-items:center; gap:10px; color:#606b7c; font-size:10px; margin-bottom:18px; }
.route-top > span:last-child { margin-left:auto; }
.route-icon { width:34px; height:34px; display:grid; place-items:center; color:#4774a0; background:#edf3fa; border-radius:8px; }
.route-1 { background:#edf4f3; color:#538680; }.route-2 { background:#f0eef8; color:#75619c; }
.project-route h3 { font-size:15px; margin:0 0 9px; }
.project-route h3 a:hover { color:var(--green); }
.project-route p { font-size:11px; color:#606b7c; margin-bottom:16px; }
.route-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:15px; }
.route-tags span { font-size:9px; padding:2px 7px; background:#f5f6f9; border:1px solid #eceff4; border-radius:4px; color:#606b7c; }
.route-link { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #edf0f4; padding-top:10px; font-size:11px; color:#506fb0; min-height:44px; }
.learning-bottom { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:24px; margin-top:38px; }
.learning-guides { background:#fff; border:1px solid var(--line); border-radius:10px; padding:24px; }
.learning-guides .learning-section-head { margin-bottom:10px; }
.learning-guides h2 { font-size:19px; }
.guide-list-row { display:flex; align-items:center; gap:15px; padding:16px 0; border-bottom:1px solid #edf0f4; font-size:12px; }
.guide-list-row:last-child { border-bottom:0; }
.guide-list-row:hover { color:var(--green); }
.guide-num { color:#a1adc1; font:11px ui-monospace,monospace; }
.guide-list-row small { font-size:9px; color:#606b7c; margin-left:auto; white-space:nowrap; }
.guide-list-row > span:last-child { color:#a3adba; }
.assessment-panel { background:#eef2f9; border:1px solid #e0e6f1; border-radius:10px; padding:26px; }
.panel-label { font-size:10px; color:#606b7c; }
.assessment-panel h2 { font-size:22px; line-height:1.65; margin:15px 0 12px; color:#364b72; }
.assessment-panel p { font-size:11px; line-height:1.9; color:#606b7c; margin-bottom:12px; }
.assessment-panel .text-link { font-size:12px; gap:9px; }
.assessment-standard { display:flex; align-items:center; gap:9px; font-size:10px; color:#606b7c; min-height:40px; }
.topic-links { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:24px; }
.page-head h1 { font-size:34px; letter-spacing:-.7px; }
.reading { border-radius:10px; }
.site-footer { padding:30px 0; }
.footer-brand { font-size:19px; }.footer-brand .brand-logo { width:30px; height:30px; }
@media (max-width:1200px) {
  .header-row { gap:16px; }.nav { gap:17px; font-size:12px; }.site-search { width:175px; }
  .header-cta { display:none; }.nav .nav-profile { display:block; }
  .learning-portal { grid-template-columns:180px minmax(0,1fr) 210px; gap:12px; }
  .learning-banner { padding:25px 22px; }.banner-workflow { min-width:160px; }
  .workflow-node { padding:12px 8px; gap:7px; }.workflow-node small { font-size:8px; }
  .learning-tools > a { padding:0 16px; gap:10px; }.learning-tools small { font-size:9px; }
}
@media (max-width:1050px) {
  .wrap { width:calc(100% - 40px); }.header-row { flex-wrap:wrap; position:relative; gap:14px; padding:15px 0; }
  .brand { margin-right:auto; }.menu-toggle { display:block; order:3; }
  .nav, html[lang=en] .nav { display:none; position:absolute; top:70px; left:0; right:0; padding:12px; border:1px solid var(--line); border-radius:8px; background:#fff; box-shadow:0 10px 25px #24314f18; flex-direction:column; gap:0; align-items:stretch; z-index:20; }
  .nav.open, html[lang=en] .nav.open { display:flex; }.nav a, body[data-page="/"] .nav a { padding:12px; min-height:44px; }
  body[data-page="/"] .nav { background:#fff; border-color:var(--line); }body[data-page="/"] .menu-toggle { border-color:var(--line); }
  .site-search { width:230px; }.nav .nav-profile { display:block; }
  .learning-portal { grid-template-columns:175px minmax(0,1fr); }.learning-start { display:none; }
  .banner-workflow { min-width:190px; }.learning-tools > a > span:last-child { display:none; }
  .catalog-grid, .project-route-grid { gap:15px; }.course-info { padding:15px; }.course-info h3 { font-size:14px; }
  .course-foot { font-size:9px; }.course-foot a { font-size:10px; }.project-route { padding:18px; }
  .learning-bottom { gap:18px; }.learning-guides, .assessment-panel { padding:20px; }
}
@media (max-width:760px) {
  .wrap { width:calc(100% - 32px); }.site-header { min-height:70px; }.header-row { padding:13px 0; gap:10px; }
  .brand { font-size:20px; }.brand-logo { width:34px; height:34px; }.site-search { order:4; width:100%; }
  .nav, html[lang=en] .nav { top:62px; }.language-link { font-size:12px; }
  .portal-heading { padding-top:15px; }.portal-caption { font-size:10px; }.portal-divider { margin:0 7px; }.portal-heading a { font-size:10px; }
  .learning-portal { grid-template-columns:1fr; gap:12px; }.category-menu { order:2; padding:6px 10px; display:flex; overflow-x:auto; gap:4px; scrollbar-width:thin; }
  .category-menu h2, .category-menu small, .category-menu > a > span:last-child, .category-menu .all-directions { display:none; }
  .category-menu > a { margin:0; padding:6px 12px; flex-shrink:0; min-height:44px; }.category-menu strong { font-size:11px; }
  .learning-banner { padding:26px; min-height:290px; }.learning-banner h1 { font-size:30px; margin:13px 0 10px; }
  .learning-banner p { font-size:11px; }.banner-label { font-size:10px; }.banner-workflow { min-width:150px; width:180px; }
  .workflow-node { padding:12px 9px; }.workflow-node > span:first-child { width:22px; height:22px; font-size:10px; }
  .workflow-caption, .workflow-bottom { font-size:8px; }.workflow-node strong { font-size:10px; }.workflow-node small { font-size:8px; }
  .learning-tools { grid-template-columns:repeat(2,1fr); padding:8px 0; margin-top:12px; }
  .learning-tools > a { padding:12px 14px; gap:10px; }.learning-tools > a:not(:last-child) { border-right:0; }.learning-tools > a:nth-child(odd) { border-right:1px solid #edf0f4; }
  .learning-tools strong { font-size:12px; }.learning-tools small { font-size:9px; }.tool-icon { width:31px; height:31px; }.tool-icon svg { width:18px; height:18px; }
  .learning-section { padding-top:27px; }.learning-section-head { align-items:flex-start; gap:8px; margin-bottom:13px; }.learning-section-head h2 { font-size:20px; }
  .learning-section-head p { font-size:10px; line-height:1.7; }.learning-section-head .text-link { font-size:10px; min-height:32px; }
  .catalog-toolbar { flex-wrap:wrap; gap:8px; margin-bottom:14px; }.catalog-filters { gap:3px; }.catalog-filters button { padding:6px 11px; min-height:44px; font-size:11px; }
  .catalog-status { font-size:9px; }.catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .course-cover { height:110px; padding:13px; }.course-cover strong { font-size:23px; }.cover-type, .cover-caption { font-size:8px; }
  .cover-lines { right:10px; width:70px; height:70px; }.course-info { padding:12px; }.course-info h3 { font-size:13px; }.course-meta { font-size:9px; }
  .course-info p { font-size:9px; }.course-foot { flex-wrap:wrap; gap:3px; font-size:8px; }.course-foot a { min-height:32px; font-size:10px; }
  .project-route-grid { grid-template-columns:1fr; gap:12px; }.project-route { padding:19px; }.route-top { margin-bottom:12px; }
  .learning-bottom { grid-template-columns:1fr; margin-top:27px; gap:16px; }.guide-list-row { gap:10px; font-size:11px; }.guide-list-row small { display:none; }
  .assessment-panel h2 { font-size:20px; }.learning-home { padding-bottom:32px; }.page-head h1 { font-size:28px; }
  .footer-links { font-size:11px; gap:16px; }.site-footer { padding:25px 0; }
}
@media (max-width:520px) {
  .banner-workflow { display:none; }.learning-banner { min-height:0; padding:24px; }.banner-copy { width:100%; }
  .learning-banner h1 { font-size:32px; }.learning-banner p br { display:none; }.learning-banner p { margin-bottom:19px; }
  .banner-path { display:inline-flex; margin-left:15px; }.portal-caption { display:none; }.portal-divider { display:none; }
  .course-meta > span:last-child { display:none; }.catalog-filters button { padding-inline:10px; }
}
@media (prefers-reduced-motion:reduce) { .catalog-card { transition:none; } }
@media print { .site-search, .category-menu, .learning-tools, .catalog-toolbar { display:none; }.learning-portal, .catalog-grid, .project-route-grid, .learning-bottom { display:block; }.catalog-card, .project-route { break-inside:avoid; margin-bottom:16px; } }
