/* Homepage and guide navigation share the existing paper/olive palette. */
.course-topbar.has-home-tools .topbar-inner{flex-wrap:nowrap;gap:12px}
.has-home-tools .course-home-link{order:0}
.has-home-tools .course-directory-button{order:1}
.course-topbar.has-home-tools .gk-search-trigger{order:2;margin-left:auto;min-height:44px}
.has-home-tools .course-breadcrumb:empty{display:none}
.has-home-tools .course-home-short{display:none}
.course-quick-access{display:flex;align-items:center;gap:8px;margin-inline-start:0;flex:0 0 auto;order:3}
.course-topbar .course-tool-link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;box-sizing:border-box;border:1px solid #cfc8b7;border-radius:13px;background:rgba(255,253,248,.76);color:#625c3b;text-decoration:none;box-shadow:0 1px 2px #514a3410;transition:background .15s ease,border-color .15s ease,color .15s ease}
.course-tool-link svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.course-tool-link:hover{background:#eeefdf;border-color:#a5ac8d;color:#495434}
.course-tool-link:focus-visible{outline:3px solid #758552;outline-offset:3px;background:#f7f8ed}
.course-tool-link::after{content:attr(data-tooltip);position:absolute;inset-block-start:calc(100% + 9px);inset-inline-end:0;padding:7px 10px;border-radius:8px;background:#444b35;color:#fffdf7;font:12px/1.45 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-weight:600;white-space:nowrap;box-shadow:0 3px 10px #292e2520;opacity:0;visibility:hidden;pointer-events:none;z-index:2}
.course-tool-link:focus-visible::after{opacity:1;visibility:visible}
@media(hover:hover){.course-tool-link:hover::after{opacity:1;visibility:visible}}
[data-guide-root] .guide-dots{flex-wrap:wrap;max-width:100%;row-gap:4px}
@media(max-width:600px){
  .course-topbar.has-home-tools .topbar-inner{flex-wrap:wrap}
  .course-topbar.has-home-tools .gk-search-trigger{order:4;flex:1 0 100%;width:100%;margin-left:0}
  .course-quick-access{margin-inline-start:auto}
}
@media(max-width:480px){
  .course-topbar.has-home-tools .topbar-inner{padding:8px 12px;gap:8px;min-height:60px}
  .has-home-tools .course-home-full{display:none}
  .has-home-tools .course-home-short{display:inline}
  .course-topbar.has-home-tools .course-home-link{font-size:18px}
  .has-home-tools .course-directory-button{font-size:13px;min-height:44px;padding:8px 10px}
  .course-quick-access{gap:6px}
  [data-guide-root] .guide-dots{gap:4px}
}
@media(prefers-reduced-motion:reduce){.course-tool-link{transition:none}}
