/* SYTTR dashboard — fit entire photo and its built-in icon inside each card. */
.syttr-boxed-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}
.syttr-boxed-grid .syttr-box{position:relative!important;display:flex!important;align-items:flex-end!important;box-sizing:border-box!important;min-width:0!important;min-height:215px!important;overflow:hidden!important;border:2px solid #fff!important;border-radius:19px!important;background-color:#103d2b!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:contain!important;text-decoration:none!important;box-shadow:0 8px 18px #002a1c22!important;isolation:isolate!important;transition:transform .18s,box-shadow .18s!important}
.syttr-boxed-grid .syttr-box:hover,.syttr-boxed-grid .syttr-box:focus-visible{transform:translateY(-3px);box-shadow:0 12px 24px #002a1c40!important}
.syttr-boxed-grid .syttr-box::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(to bottom,transparent 45%,rgba(0,35,24,.2) 63%,rgba(0,30,20,.9) 100%)}
.syttr-boxed-grid .syttr-box-content{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;gap:5px!important;padding:13px 14px!important;color:white!important}
.syttr-boxed-grid .syttr-box-content strong{font-size:17px!important;line-height:1.2!important;color:white!important;text-shadow:0 1px 3px #002818!important}
.syttr-boxed-grid .syttr-box-content small{font-size:12px!important;line-height:1.3!important;color:white!important;text-shadow:0 1px 3px #002818!important}
@media(max-width:1300px){.syttr-boxed-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:980px){.syttr-boxed-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){.syttr-boxed-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.syttr-boxed-grid .syttr-box{min-height:190px!important}.syttr-boxed-grid .syttr-box-content{padding:10px!important}.syttr-boxed-grid .syttr-box-content strong{font-size:15px!important}}
@media(max-width:360px){.syttr-boxed-grid{grid-template-columns:1fr!important}}
/* Actual image files already uploaded to staff-app/assets/photos/ */
.syttr-boxed-grid .syttr-box:nth-child(1){background-image:url("photos/animal-records.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(2){background-image:url("photos/care-veterinary.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(3){background-image:url("photos/live-cameras.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(4){background-image:url("photos/gps-attendance.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(5){background-image:url("photos/staff-rota.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(6){background-image:url("photos/team-chat.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(7){background-image:url("photos/adoption.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(8){background-image:url("photos/staff-directory.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(9){background-image:url("photos/animal-games.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(10){background-image:url("photos/leaderboard.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(11){background-image:url("photos/my-profile.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(12){background-image:url("photos/weather.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(13){background-image:url("photos/owner-settings.webp")!important;}
.syttr-boxed-grid .syttr-box:nth-child(14){background-image:url("photos/app-updater.webp")!important;}
