/* Shared by all internal tools. The gold hover/focus always returns to the hub. */
.lteam-tool-heading{display:flex;align-items:center;gap:20px;min-width:0}
.lteam-tool-heading>div{min-width:0}
a.lteam-tool-home,a.lteam-tool-home:visited{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:72px;min-width:72px;padding:12px;margin:0;border:0;border-radius:0;background:var(--lt-home-color,#246c70)!important;color:var(--lt-home-ink,#fff)!important;box-shadow:none;text-decoration:none!important;line-height:1;transition:background-color .16s ease,color .16s ease}
a.lteam-tool-home svg{display:block;width:48px;height:48px;max-width:none;fill:currentColor}
a.lteam-tool-home:focus-visible{outline:3px solid #746137;outline-offset:4px}
.topbar:has(>.lteam-tool-home){justify-content:flex-start;flex-wrap:nowrap;gap:24px}
.topbar:has(>.lteam-tool-home)>.brand{width:min(430px,calc(100% - 96px));height:auto}
.topbar:has(>.lteam-tool-home)>.brand-link{width:min(430px,calc(100% - 96px));min-width:0}
@media(max-width:600px){.lteam-tool-heading{gap:14px}a.lteam-tool-home,a.lteam-tool-home:visited{flex-basis:60px;width:60px;height:60px;min-width:60px;padding:10px}a.lteam-tool-home svg{width:40px;height:40px}.topbar:has(>.lteam-tool-home){gap:16px}}
@media(prefers-reduced-motion:reduce){a.lteam-tool-home{transition:none}}
@media print{a.lteam-tool-home{display:none!important}}

/* Hover is driven by the actual pointer so switching from trackpad to touch cannot leave a sticky hover. */
a.lteam-tool-home svg.lt-home-destination{display:none}
a.lteam-tool-home:is([data-lteam-hover],:active,:focus-visible){background:#b6a068!important;color:#000!important}
a.lteam-tool-home:is([data-lteam-hover],:active,:focus-visible) svg.lt-home-tool{display:none}
a.lteam-tool-home:is([data-lteam-hover],:active,:focus-visible) svg.lt-home-destination{display:block}

/* Gemeinsame Bildschirmkomponenten im bestehenden Dashboard und in den Werkzeugen. */
@media screen {
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app) {
   --leifels-control-radius:0px; --leifels-field:#85847b; --leifels-example:#73716a; --leifels-focus:#746137;
 }
 [data-wr-kante="weich"] :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app),
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app)[data-wr-kante="weich"] {--leifels-control-radius:4px}
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app) :is(input[type=text],input[type=email],input[type=search],input[type=date],input:not([type]),select,textarea):not(:where(.paper *,.a4 *,[data-print] *)) {
   font-family:inherit;font-size:16px;line-height:1.4;min-height:44px;max-width:100%;
   padding:9px 12px;border:1px solid var(--leifels-field);border-radius:var(--leifels-control-radius);box-shadow:none;background-color:white;
 }
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app) :is(input,textarea)::placeholder {color:var(--leifels-example);opacity:1}
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app) :is(input,textarea,select,button,a,summary):focus-visible {outline:2px solid var(--leifels-focus);outline-offset:3px}
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app) :is(.lt-actions,.lv-actions,.ltf-actions,.record-actions,.document-controls,form) button:not(:where(.lt-tile-link,.lt-star,.lt-home)) {border-radius:var(--leifels-control-radius);min-height:44px}
 :is(.lteam,.ltf-app,.lvc,.ldoc-app,.lkey-app) :is(.lt-table-wrap,.lt-project-results,.library-panel) table {border-collapse:collapse}
 .lteam .lt-tile-link,.lteam-tool-home {border-radius:0}
 .lteam .lt-head h2,.lteam .lt-section-heading h3,.lteam .lt-tool-heading h3,.lteam .lt-project-folder h4 {font-weight:500}
 .lteam .lt-launchpad {background:#fff;border:0}
 .lteam .lt-project-folder {background:#fff;border-radius:0}
 .lteam .lt-project-folder:has(>.lt-cover-link) {padding:0 0 16px;overflow:hidden}
 .lteam .lt-project-folder:has(>.lt-cover-link)>:not(.lt-cover-link,.lt-project-star,.lt-folder-top) {margin-left:16px;margin-right:16px}
 .lteam .lt-projects-home .lt-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media screen and (max-width:760px) {.lteam .lt-projects-home .lt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:540px) {.lteam .lt-projects-home .lt-grid{grid-template-columns:1fr}}
