/* Sadat material motion: decoration only; all content and clock positions stay fixed. */
@media screen {
  html[data-sadat-ui] body:not(.print-mode) .sadat-motion-relative { position:relative; }
  html[data-sadat-ui] body:not(.print-mode) [data-sadat-motion-surface] > .sadat-motion-layer {
    position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;
    z-index:3;contain:paint;user-select:none;
  }
  .sadat-motion-layer > span { position:absolute;pointer-events:none; }
  .sadat-motion-sweep {
    inset:-45% -25%;opacity:0;
    background:linear-gradient(108deg,transparent 38%,#ffffff05 43%,#f8fbff5c 49%,#ffffff10 54%,transparent 62%);
    transform:translate3d(-150%,0,0) skewX(-12deg);
  }
  .sadat-motion-spot {
    inset:-35%;opacity:0;
    background:radial-gradient(ellipse at center,#ffffff24 0%,#d9e7ff0e 23%,transparent 54%);
    transform:translate3d(var(--sadat-light-x,0px),var(--sadat-light-y,0px),0);
    transition:transform 260ms cubic-bezier(.18,.65,.3,1),opacity 360ms ease;
  }
  html[data-sadat-ui][data-sadat-motion="on"] body:not(.print-mode)
    [data-sadat-pointer="on"] > .sadat-motion-layer > .sadat-motion-spot { opacity:1; }
  html[data-sadat-ui][data-sadat-motion="on"] body:not(.print-mode)
    .sadat-motion-reveal > .sadat-motion-layer > .sadat-motion-sweep {
    animation:sadat-material-arrival-v2 1350ms cubic-bezier(.2,.6,.25,1) 1 both;
  }
  html[dir="rtl"][data-sadat-motion="on"] .sadat-motion-reveal > .sadat-motion-layer > .sadat-motion-sweep {
    animation-direction:reverse;
  }
  html[data-sadat-ui][data-sadat-motion="on"] body:not(.print-mode)
    :is(.sidebar .nav-item,[data-ka-palette],[data-sadat-theme]).sadat-motion-ack {
    animation:sadat-control-confirm-v2 440ms ease-out 1;
  }
  html[data-sadat-ui] body:not(.print-mode)
    :is(.sidebar .nav-item,[data-ka-palette],[data-sadat-theme]):focus-visible {
    outline:2px solid var(--sadat-accent,var(--gold,#a8c6ef));outline-offset:3px;
  }
  html[data-sadat-ui][data-sadat-touch-feedback="on"] body:not(.print-mode)
    :is(.sidebar .nav-item,[data-ka-palette],[data-sadat-theme]):not(:disabled):not([aria-disabled="true"]):active {
    box-shadow:inset 0 0 0 2px var(--sadat-edge,var(--gold,#a8c6ef)),inset 0 1px #ffffff38;
  }
  html[data-sadat-ui]:not([data-sadat-motion="on"]) .sadat-motion-layer { display:none; }
  html[data-sadat-ui]:not([data-sadat-motion="on"]) .sadat-motion-ack { animation:none!important; }
}
@keyframes sadat-material-arrival-v2 {
  0% { opacity:0;transform:translate3d(-150%,0,0) skewX(-12deg); }
  18% { opacity:.78; }
  76% { opacity:.54; }
  100% { opacity:0;transform:translate3d(150%,0,0) skewX(-12deg); }
}
@keyframes sadat-control-confirm-v2 {
  0% { box-shadow:0 0 0 0 transparent; }
  35% { box-shadow:inset 0 1px #ffffff45,0 0 0 2px var(--sadat-edge,var(--gold,#a8c6ef)); }
  100% { box-shadow:0 0 0 5px transparent; }
}
@media (prefers-reduced-motion:reduce) {
  html[data-sadat-ui] .sadat-motion-layer { display:none!important; }
  html[data-sadat-ui] .sadat-motion-ack { animation:none!important; }
}
@media print {
  .sadat-motion-layer { display:none!important; }
  .sadat-motion-ack { animation:none!important; }
}
