/* Colorful feature tiles: shared outside the Dashboard. */
body :is(.fw-grid,.sw-task-grid)>*{--tile-color:var(--fw-color,var(--sw-color,#4465e9))}
body :is(.fw-grid,.sw-task-grid){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
body :is(.fw-tile,.sw-task){position:relative;display:flex;flex-direction:column;align-items:center!important;text-align:center!important;min-height:172px!important;padding:21px 16px 18px!important;border:1px solid color-mix(in srgb,var(--tile-color) 38%,white)!important;border-radius:18px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--tile-color) 17%,white),color-mix(in srgb,var(--tile-color) 6%,white))!important;box-shadow:0 3px 7px #253a5310,inset 0 1px 0 #ffffffb3!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body :is(.fw-tile,.sw-task)::before,body :is(.fw-tile,.sw-task)::after{content:none!important}
body[data-feature-workspace] .fw-grid .fw-tile :is(.ic,.fw-icon),body .sw-task .sw-task-icon{display:grid;place-items:center;width:54px!important;height:54px!important;flex-basis:54px!important;margin:0 0 13px!important;border:0!important;border-radius:17px!important;color:white!important;background:linear-gradient(135deg,var(--tile-color),color-mix(in srgb,var(--tile-color) 68%,white))!important;box-shadow:0 5px 10px color-mix(in srgb,var(--tile-color) 22%,transparent),inset 0 1px 0 #ffffff40!important}
body :is(.fw-tile .ic svg,.fw-icon svg,.sw-task-icon svg){width:26px;height:26px}
body .sw-task-top{margin:0!important}
body :is(.fw-tile strong,.fw-tile b,.sw-task h2){font-size:18px!important;font-weight:750!important;line-height:1.4!important;color:#24344f!important;margin:0 0 5px!important;min-height:0!important}
body :is(.fw-description,.sw-task p),body .fw-tile>span:not(.ic):not(.stat):not(.fw-icon):not(.fw-arrow):not(.fw-open){font-size:14px!important;line-height:1.5!important;color:#64748b!important;margin:0 0 8px!important}
body :is(.fw-tile .stat,.fw-open,.sw-task-bottom){font-size:14px!important;color:var(--tile-color)!important;margin-top:auto!important;font-weight:700}
body :is(.fw-arrow,.sw-task-number){display:none!important}
@media(hover:hover){body :is(.fw-tile,.sw-task):hover{transform:translateY(-5px)!important;border-color:color-mix(in srgb,var(--tile-color) 65%,white)!important;box-shadow:0 15px 24px color-mix(in srgb,var(--tile-color) 22%,transparent),0 5px 8px #1f30441a,inset 0 1px 0 white!important}}
body :is(.fw-tile,.sw-task):focus-visible{outline:3px solid var(--primary);outline-offset:3px}
@media(max-width:1000px){body :is(.fw-grid,.sw-task-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){body :is(.fw-grid,.sw-task-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body :is(.fw-tile,.sw-task){padding:17px 12px!important}body :is(.fw-tile strong,.fw-tile b,.sw-task h2){font-size:16px!important}}
@media(prefers-reduced-motion:reduce){body :is(.fw-tile,.sw-task){transition:none}body :is(.fw-tile,.sw-task):hover{transform:none!important}}

/* Strong color on the full card, with saturated icons and a lifted hover. */
body :is(.fw-tile,.sw-task){background:linear-gradient(135deg,color-mix(in srgb,var(--tile-color) 25%,white),color-mix(in srgb,var(--tile-color) 11%,white))!important;border-color:color-mix(in srgb,var(--tile-color) 50%,white)!important;box-shadow:0 4px 10px color-mix(in srgb,var(--tile-color) 14%,transparent),inset 0 1px 0 #ffffffb3!important}
body[data-feature-workspace] .fw-grid .fw-tile :is(.ic,.fw-icon),body .sw-task .sw-task-icon{background:linear-gradient(135deg,var(--tile-color),color-mix(in srgb,var(--tile-color) 90%,white))!important;box-shadow:0 6px 12px color-mix(in srgb,var(--tile-color) 30%,transparent),inset 0 1px 0 #ffffff40!important}
