/* VETmie – persönliche Favoriten (Stern an Kacheln und Seitentitel, Ansicht "Meine Favoriten") */
.fav-cell{position:relative;display:flex;min-width:0}
.fav-cell>.module-task-tile{flex:1;width:100%;min-width:0}
button.fav-star{position:absolute;top:6px;right:6px;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:transparent;color:#9db3b8;display:grid;place-items:center;box-shadow:none}
button.fav-star:hover,button.fav-star:focus-visible{color:var(--teal);background:#e6f6ef}
button.fav-star .practice-icon{width:20px;height:20px}
button.fav-star.is-on{color:#d99600}
button.fav-star.is-on svg{fill:currentColor}
#pageTitle{display:inline-block;vertical-align:middle}
button.fav-page-star{position:static;display:inline-grid;vertical-align:middle;margin-left:8px}
.fav-nav-item{margin-bottom:6px}
.fav-page .fav-grid{padding:4px 0 12px}
.fav-cell-page{flex-direction:column;gap:6px}
.fav-tools{display:flex;justify-content:center;gap:6px}
.fav-tools button{padding:4px 10px;min-width:36px}
.fav-tools button.fav-star{position:static}
.fav-tools button:disabled{opacity:.35;cursor:default}
.fav-empty{padding:26px 10px 6px;text-align:center;color:var(--muted)}
.fav-hint{color:var(--muted);font-size:12px;margin:10px 0 0}
.fav-hint .practice-icon{width:15px;height:15px;color:#d99600;vertical-align:-2px}
@media print{.fav-star,.fav-nav-item{display:none!important}}

@media screen and (max-width:760px){
 /* Kacheln sind mobil einzeilig (mobile.css); der Stern sitzt rechts in der Zeile. */
 .module-task-board .fav-cell>.module-task-tile{padding-right:52px}
 .module-task-board button.fav-star{top:50%;right:2px;width:44px;height:44px;transform:translateY(-50%)}
 .mobile-appbar button.fav-star{position:relative;top:auto;right:auto;width:48px;height:48px;min-width:48px;color:#d6e6e9;background:transparent}
 .mobile-appbar button.fav-star.is-on{color:#ffc94d}
 .mobile-appbar button.fav-star .practice-icon{width:24px;height:24px}
 .fav-cell-page{flex-direction:row;align-items:stretch;gap:4px}
 .fav-tools{gap:2px}
 .fav-tools button{min-width:44px;min-height:44px;padding:0}
 .fav-tools button.fav-star{width:44px;height:auto;min-height:44px}
 .fav-hint{font-size:16px}
}

/* Favoriten-Kacheln, Entwurf „Mein Cockpit“ (18.11.2026): Bereichsfarbe, Stern auf der Kachel, Ziehen zum Umsortieren */
.fav-page .fav-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:16px}
.fav-cell-page{position:relative;display:block}
.fav-cell-page>.fav-tile{width:100%;min-height:158px;border-radius:12px;padding:22px 12px 16px;gap:8px;box-shadow:0 3px 10px #143d470d;transition:transform .12s,box-shadow .12s}
.fav-cell-page>.fav-tile:hover,.fav-cell-page>.fav-tile:focus-visible{transform:translateY(-2px);box-shadow:0 8px 20px #143d471a}
.fav-cell-page>.fav-tile strong{font-size:13.5px}.fav-cell-page>.fav-tile small{font-size:11.5px}
.fav-cell-page button.fav-tile-star{top:8px;right:8px}
.fav-grip{position:absolute;top:10px;left:11px;color:#9db3b8;font-size:13px;letter-spacing:-2px;cursor:grab;user-select:none}
.fav-cell-page .fav-tools{position:absolute;left:0;right:0;bottom:-14px;display:flex;justify-content:center;gap:6px;opacity:0;transition:opacity .12s}
.fav-cell-page:hover .fav-tools,.fav-cell-page:focus-within .fav-tools{opacity:1}
.fav-cell-page .fav-tools button{min-width:30px;padding:2px 8px;font-size:12px;background:#fff;box-shadow:0 2px 6px #143d471a}
.fav-cell-page[draggable=true]{cursor:grab}
.fav-dragging{opacity:.45}
.fav-drop-before::before,.fav-drop-after::after{content:"";position:absolute;top:6px;bottom:6px;width:4px;border-radius:3px;background:var(--teal)}
.fav-drop-before::before{left:-10px}.fav-drop-after::after{right:-10px}
.fav-hint-drag{margin-top:18px}
@media screen and (max-width:760px){
 .fav-page .fav-grid{grid-template-columns:1fr;gap:8px}
 .fav-cell-page{display:flex;align-items:stretch;gap:4px}
 .fav-cell-page>.fav-tile{flex:1;min-height:56px;padding:6px 52px 6px 8px;transform:none!important}
 .fav-cell-page button.fav-tile-star{top:50%;right:96px;transform:translateY(-50%);width:44px;height:44px}
 .fav-grip,.fav-hint-drag{display:none}
 .fav-cell-page .fav-tools{position:static;opacity:1;pointer-events:auto;gap:2px}
 .fav-cell-page .fav-tools button{min-width:44px;min-height:44px;box-shadow:none}
 .fav-cell-page[draggable=true]{cursor:default}
}
