/* R44: desktop-only commercial palette; preserve every role's layout and behavior. */
@media screen and (min-width:901px){
  #shell .simple-role-home:is(.role-admin,.role-deputy){
    --r44-ink:#18344e;
    --r44-border:#c9dce9;
    gap:18px;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-profile{
    background:linear-gradient(122deg,#dbeef8 0%,#e9f5fc 46%,#f4f5ff 100%)!important;
    border:1px solid #b5d6e6!important;
    border-right:5px solid #2895a8!important;
    border-radius:22px!important;
    box-shadow:0 9px 24px rgba(24,67,102,.075)!important;
    color:var(--r44-ink)!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-profile .dashboard-date-card{
    background:rgba(255,255,255,.47)!important;
    border:1px solid #c3dbe9!important;
    border-radius:16px!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher{
    background:linear-gradient(150deg,#f0f7fd 0%,#f8faff 100%)!important;
    border:1px solid #c7deee!important;
    border-top:3px solid #67b7c4!important;
    border-radius:22px!important;
    box-shadow:0 12px 27px rgba(31,65,106,.065)!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .section-title h3{color:#173d5b!important}
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action]{
    --tile:#e5f1ff;
    --tile-border:#aecdea;
    --tile-ink:#1d4e78;
    position:relative;
    overflow:hidden;
    min-height:114px;
    background:var(--tile)!important;
    border:1px solid var(--tile-border)!important;
    border-radius:17px!important;
    color:#15344e!important;
    box-shadow:0 3px 9px rgba(37,69,100,.045);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,filter .2s ease;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action]::before{
    content:"";position:absolute;inset-inline:0;top:0;height:4px;
    background:var(--tile-ink);opacity:.65;
  }
  /* Educational: sky/teal */
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="students"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="classes"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="schedule"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="staff-attendance"]{--tile:#e3f0ff!important;--tile-border:#a9c9eb!important;--tile-ink:#266ba5!important}
  /* Operations: mint */
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="attendance"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="finance"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="school-readiness"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="school-bell"]{--tile:#e5f5eb!important;--tile-border:#a9d9c2!important;--tile-ink:#258265!important}
  /* Communication: peach */
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="messages"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="announcements"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="notifications"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="followups"]{--tile:#fff0e4!important;--tile-border:#ecc3a4!important;--tile-ink:#bc7145!important}
  /* Analytics: lavender */
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="management"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="analytics"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="reports"],
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher [data-action="grades"]{--tile:#f0eafa!important;--tile-border:#cfc0e6!important;--tile-ink:#8367b6!important}
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action] .role-action-icon{
    background:rgba(255,255,255,.65)!important;
    color:var(--tile-ink)!important;
    box-shadow:0 2px 9px rgba(26,55,86,.045);
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action] strong{
    color:#1a354e!important;font-weight:780;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action]:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(31,73,110,.13);
    filter:saturate(1.06);
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action]:focus-visible{
    outline:3px solid #126c84!important;outline-offset:3px!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-metrics article{
    background:#e8f2fc!important;
    border:1px solid #bdd4ed!important;
    border-top:4px solid #75a7d6!important;
    box-shadow:0 6px 18px rgba(27,62,89,.055)!important;
    border-radius:19px!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-metrics article:nth-child(4n+2){
    background:#e8f6ef!important;border-color:#b4d9c4!important;border-top-color:#77b89c!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-metrics article:nth-child(4n+3){
    background:#fff2e5!important;border-color:#e9cbb0!important;border-top-color:#dfaa7e!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-metrics article:nth-child(4n){
    background:#f0eafb!important;border-color:#d2c3e7!important;border-top-color:#a28acb!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-metrics .metric-icon{
    background:rgba(255,255,255,.67)!important;
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > :is(.dashboard-readiness,.dashboard-today,.dashboard-services,.dashboard-news){
    border:1px solid #cbddeb;
    border-radius:20px;
    box-shadow:0 6px 21px rgba(38,76,111,.04);
  }
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-readiness{background:#eff8f5!important;border-color:#b9ddd0!important}
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-today{background:#f0f6fd!important;border-color:#c1d9ef!important}
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .dashboard-news{background:#fff8ee!important;border-color:#edddc7!important}
}
@media (prefers-reduced-motion:reduce){
  #shell .simple-role-home:is(.role-admin,.role-deputy) > .role-launcher .role-action-grid>button[data-action]{transition:none!important;transform:none!important}
}
