/* The shared logo is an accessible Home link at every shell size. */
a.brand { text-decoration: none; color: inherit; }
[data-epg-home]:focus-visible, .home-dashboard a:focus-visible { outline: 3px solid #e4b727; outline-offset: 4px; }
.topbar-home { display: none; flex: 0 0 32px; width: 32px; border-radius: 5px; }
.topbar-home img { display: block; width: 32px; height: 38px; object-fit: contain; }
.home-dashboard { max-width: 1320px; margin: 0 auto; color: #19385b; }
.home-mode .sidebar nav, .home-mode .nav-group, .home-mode .nav-submenu { align-content: start; }
.home-mode .sidebar nav { margin: 18px 0 10px; }
.home-welcome { margin: 0 0 24px; }
.home-eyebrow { color: #60758e; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-welcome h1 { margin: 7px 0; color: #19385b; font: 700 clamp(24px,3vw,34px)/1.2 "DM Sans",sans-serif; }
.home-welcome h1:focus-visible { outline: 2px solid #235e98; outline-offset: 5px; border-radius: 3px; }
.home-welcome p, .home-panel p { color: #60758e; }
.home-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 26px; }
.home-shortcut { display: flex; align-items: center; gap: 12px; min-height: 112px; padding: 19px 16px; border: 1px solid #dce5ef; border-radius: 13px; background: #fff; color: #19385b; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.home-shortcut:hover { border-color: #79a1ca; box-shadow: 0 5px 16px #19385b0d; }
.home-shortcut-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: #eaf2fb; color: #205f9b; font-size: 22px; }
.home-shortcut > span:nth-child(2) { min-width: 0; flex: 1; }
.home-shortcut strong { display: block; font-size: 15px; }
.home-shortcut small { display: block; margin-top: 5px; color: #60758e; line-height: 1.4; }
.home-panel { margin-bottom: 20px; padding: 24px; border: 1px solid #dce5ef; border-radius: 14px; background: #fff; scroll-margin-top: 90px; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.home-section-heading h2 { margin: 0; color: #19385b; font: 700 19px "DM Sans",sans-serif; }
.home-dashboard a:not(.btn):not(.home-shortcut) { color: #235e98; }
.home-section-heading a, .home-panel > a { font-size: 13px; text-underline-offset: 3px; }
.home-class-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-class { padding: 19px; border: 1px solid #e0e8f1; border-radius: 11px; background: #f8fafd; min-width: 0; }
.home-class h3, .home-report h3, .home-update h3 { margin: 9px 0; color: #19385b; font: 700 17px "DM Sans",sans-serif; overflow-wrap: anywhere; }
.home-class small, .home-report small, .home-update small { color: #60758e; }
.home-class .btn { display: inline-block; text-decoration: none; }
.home-child-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
.home-list-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid #e7edf4; text-decoration: none; }
.home-list-item > span:first-child { min-width: 0; }
.home-list-item > span:last-child { flex-shrink: 0; font-size: 12px; }
.home-list-item strong, .home-list-item small { display: block; overflow-wrap: anywhere; }
.home-list-item small { margin-top: 5px; color: #60758e; font-size: 12px; }
.home-report, .home-update { padding: 16px 0; border-top: 1px solid #e7edf4; }
.home-update p { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .home-shortcuts, .home-class-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .topbar-home { display: block; } .home-panel { padding: 19px; } .home-columns { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .home-shortcuts { gap: 9px; }
  .home-shortcut { min-height: 108px; padding: 13px 11px; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
  .home-shortcut-icon { width: 28px; height: 28px; flex-basis: 28px; font-size: 18px; }
  .home-shortcut > span:nth-child(2) { flex-basis: calc(100% - 36px); }
  .home-shortcut > span:last-child { display: none; }
  .home-shortcut strong { font-size: 14px; }
  .home-shortcut small { font-size: 11px; }
  .home-class-grid { grid-template-columns: 1fr; }
  .home-list-item { align-items: flex-start; flex-direction: column; gap: 6px; }
  #appView .topbar .workspace-select select { width: clamp(76px,22vw,108px); }
}
