/* STI Student Management Suite v2.4.337 — View Attendance usability polish.
   Only mobile presentation changes; existing <details> functionality, forms,
   attendance stats, calendar/status logic and desktop UI are preserved. */
.mye-a337-correction-chevron{display:none!important}
@media(max-width:700px){
  /* The entire correction summary is the tap target. Give the disclosure its
     own unmistakable chevron instead of the tiny arrow in helper text. */
  body .mye-a333-attendance-page #mye-attop-request.mye-attop-card{
    border:1px solid #d6e4f6!important;
    box-shadow:0 3px 12px rgba(20,62,115,.04)!important;
  }
  body .mye-a333-attendance-page #mye-attop-request summary{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 35px!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;row-gap:5px!important;
    align-items:center!important;justify-content:stretch!important;
    min-height:62px!important;width:100%!important;
    padding:4px 0!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:rgba(37,99,235,.10)!important;
  }
  body .mye-a333-attendance-page #mye-attop-request summary>strong{
    grid-column:1!important;grid-row:1!important;
    margin:0!important;min-width:0!important;
    font-size:12.25px!important;line-height:1.35!important;
    color:#173b6a!important;
  }
  body .mye-a333-attendance-page #mye-attop-request summary>span:not(.mye-a337-correction-chevron){
    grid-column:1!important;grid-row:2!important;
    display:block!important;min-width:0!important;
    font-size:11.5px!important;line-height:1.4!important;
    color:#607895!important;
  }
  body .mye-a333-attendance-page #mye-attop-request summary .mye-a337-inline-caret{display:none!important}
  body .mye-a333-attendance-page #mye-attop-request summary>.mye-a337-correction-chevron{
    display:grid!important;grid-column:2!important;grid-row:1 / span 2!important;
    place-items:center!important;align-self:center!important;
    width:35px!important;height:35px!important;margin:0!important;
    border-radius:10px!important;border:1px solid #d9e7fa!important;
    background:#edf5ff!important;color:#2563c3!important;
    transition:background .18s ease!important;
  }
  body .mye-a333-attendance-page #mye-attop-request summary>.mye-a337-correction-chevron svg{
    display:block!important;width:19px!important;height:19px!important;
    stroke:currentColor!important;
    transition:transform .2s ease!important;
  }
  body .mye-a333-attendance-page #mye-attop-request details[open] summary>.mye-a337-correction-chevron{
    background:#e0edff!important;
  }
  body .mye-a333-attendance-page #mye-attop-request details[open] summary>.mye-a337-correction-chevron svg{
    transform:rotate(180deg)!important;
  }
  body .mye-a333-attendance-page #mye-attop-request summary:focus-visible{
    outline:3px solid #91b9ff!important;outline-offset:3px!important;border-radius:7px!important;
  }
  /* Prior inline font-size/colour styles on this note are overridden
     intentionally for mobile readability; no wording or calculations change. */
  body .mye-a333-attendance-page #mye-att-workflow-panel-view>.mye-att-tracking-notice{
    display:block!important;margin:0 0 12px!important;
    padding:10px 11px!important;
    border-radius:10px!important;
    border:1px solid #e0eaf7!important;
    border-left:3px solid #82a8dc!important;
    background:#f8fbff!important;
    color:#496480!important;
    font-size:12px!important;
    line-height:1.5!important;
    font-weight:500!important;
    letter-spacing:0!important;
  }
  /* Preserve scroll clearance above the persistent mobile bottom bar,
     including when the correction form is expanded. */
  body .mye-att-page.mye-a333-attendance-page{
    padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))!important;
  }
}
@media(max-width:365px){
  body .mye-a333-attendance-page #mye-attop-request summary{column-gap:7px!important}
  body .mye-a333-attendance-page #mye-attop-request summary>strong{font-size:11.5px!important}
  body .mye-a333-attendance-page #mye-attop-request summary>span:not(.mye-a337-correction-chevron){font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  body .mye-a333-attendance-page #mye-attop-request summary>.mye-a337-correction-chevron svg{transition:none!important}
}
