/* noted. page shell (public/shared/noted-page-shell.js), pass 2026-10-20 (Justin): "Remove timer all over, replace clock
   with iOS waiting wheel in our green ... in the middle of the screen and then the page should load when the wheel is
   done, you shouldn't see the page until the load is done. This should be universal." and "None of the other features
   have this X button to go back to the homepage. They should all have it."
   1. The waiting wheel: the classic iOS twelve-spoke wheel in Skipstone's green (the Desk's name green, #49573c). One
      mask, so the colour is a token. .noted-spinner anywhere (in-button and in-card working states).
   2. The page loader: pass 2026-11-13 replaced the centred wheel with placeholder blocks in the page's own shape and a
      soft passing light (below). The staff access dialog still opens over it, and past 10 seconds "Taking longer than
      usual" with a Reload button shows. Tokens only; no inline style, so it works under the CSP. */
:root{--noted-green:#49573c;--noted-spinner-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(0 60 60)' opacity='1.0'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(30 60 60)' opacity='0.25'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(60 60 60)' opacity='0.32'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(90 60 60)' opacity='0.39'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(120 60 60)' opacity='0.45'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(150 60 60)' opacity='0.52'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(180 60 60)' opacity='0.59'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(210 60 60)' opacity='0.66'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(240 60 60)' opacity='0.73'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(270 60 60)' opacity='0.8'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(300 60 60)' opacity='0.86'/%3E%3Crect x='55' y='6' width='10' height='30' rx='5' transform='rotate(330 60 60)' opacity='0.93'/%3E%3C/svg%3E")}
@keyframes noted-spin{to{transform:rotate(360deg)}}
.noted-spinner{display:inline-block;flex:none;width:var(--noted-spinner-size,20px);height:var(--noted-spinner-size,20px);vertical-align:middle;
  background-color:var(--noted-spinner-color,var(--noted-green));
  -webkit-mask:var(--noted-spinner-mask) center/contain no-repeat;mask:var(--noted-spinner-mask) center/contain no-repeat;
  animation:noted-spin 1s steps(12,end) infinite}
@media (prefers-reduced-motion:reduce){.noted-spinner{animation-duration:2.4s}}

/* The page loader, pass 2026-11-13 (Justin: "instead of having the spinning wheel ... the blocks are present and then
   it's a gentle like light fade from left to right that's continuous until the data actually loads"). While html carries
   .nu-page-loading the page is drawn but hidden; the noted. bar and the page's own title stay in view, and under them
   noted-page-shell.js lays soft placeholder blocks (.nu-skel) in the shape of that page's real cards, rows and tiles.
   One light passes across every block together, left to right, again and again, until the page's reads answer; then the
   blocks fade out as the page fades in. Reduce Motion: the blocks hold still. Open dialogs (staff access) stay above. */
html.nu-page-loading{background:#fff;overflow:hidden}
html.nu-page-loading body{visibility:hidden}
html.nu-page-loading dialog[open],html.nu-page-loading .nu-shell,html.nu-page-loading .nu-page-head,
html.nu-page-loading main .po-intro{visibility:visible}
html.nu-page-loading .nu-page-home{pointer-events:none}

.nu-skel{--sk-stone:#ebe9e4;--sk-slate:#4a4946;--sk-mist:#5d5c58;--sk-card:#fff;--sk-edge:#ebe9e4;--sk-well:#f1f0ed;
  --sk-light:rgba(255,255,255,.62);--sk-light-slate:rgba(255,255,255,.07);--sk-sweep:1.8s;--sk-band:max(260px,42vw);
  position:fixed;inset:0;z-index:2147483645;overflow:hidden;pointer-events:none;opacity:1;transition:opacity .24s cubic-bezier(.4,0,.2,1)}
.nu-skel.is-done{opacity:0}
.nu-skel i{--sk-glow:var(--sk-light);position:absolute;display:block;box-sizing:border-box;overflow:hidden;background:var(--sk-stone)}
.nu-skel i.sk-slate{--sk-glow:var(--sk-light-slate);background:var(--sk-slate)}
.nu-skel i.sk-mist{--sk-glow:var(--sk-light-slate);background:var(--sk-mist)}
.nu-skel i.sk-card{background:var(--sk-card);border:1px solid var(--sk-edge);box-shadow:0 2px 5px #2731200a}
.nu-skel i.sk-well{background:var(--sk-well)}
.nu-skel i.sk-tile{background:var(--sk-card)}
/* The light: one soft band the width of a good part of the screen, moved in screen terms (--x is the block's own left),
   so every block lights up in turn as the same band crosses the page. */
.nu-skel i:not(.sk-card):not(.sk-well):not(.sk-tile)::after{content:"";position:absolute;top:0;bottom:0;left:0;width:var(--sk-band);
  background:linear-gradient(90deg,transparent 0,var(--sk-glow) 50%,transparent 100%);
  transform:translateX(calc(-1 * var(--x,0px) - var(--sk-band)));
  animation:nu-skel-sweep var(--sk-sweep) cubic-bezier(.45,0,.35,1) var(--sk-phase,0s) infinite;will-change:transform}
@keyframes nu-skel-sweep{
  from{transform:translateX(calc(-1 * var(--x,0px) - var(--sk-band)))}
  to{transform:translateX(calc(100vw - var(--x,0px)))}}
@media (prefers-reduced-motion:reduce){
  .nu-skel i::after{animation:none!important;display:none}
  .nu-skel{transition:none}}

/* Past 10 seconds (noted-page-shell.js adds .nu-page-slow): the blocks keep their light, and a plain note with a Reload button sits
   in a card at the foot of the screen. The page is not shown half loaded. The note is a child of html, so it shows while the body is hidden. */
.nu-page-slow{display:none}
html.nu-page-loading .nu-page-slow{display:flex;flex-direction:column;align-items:center;gap:12px;position:fixed;z-index:2147483646;left:50%;
  bottom:max(24px,env(safe-area-inset-bottom));width:min(360px,calc(100vw - 32px));transform:translateX(-50%);box-sizing:border-box;padding:20px 16px;
  border:1px solid #e4e3dd;border-radius:24px;background:#fff;box-shadow:0 20px 65px #27312018,0 2px 5px #27312006;text-align:center;visibility:visible;color:#242424;
  font:400 16px/24px -apple-system,BlinkMacSystemFont,system-ui,sans-serif}
.nu-page-slow p{margin:0}
.nu-page-slow button{min-width:120px;min-height:44px;padding:0 24px;border:1px solid var(--noted-green);border-radius:22px;background:#fff;color:var(--noted-green);
  font:600 16px/1 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nu-page-slow button:focus-visible{outline:3px solid #242424;outline-offset:2px}

/* The way home: the same round X as New Reservation (#bkClose), top right beside each feature page's title. */
.nu-page-head{display:flex;flex:1 1 100%;width:100%;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}
.nu-page-head>h1{flex:1 1 auto;min-width:0}
body.nu-concierge .nu-page-home{flex:none;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;
  margin:0;padding:0!important;border:0!important;border-radius:50%!important;background:#f5f5f5!important;color:#242424!important;
  font:400 24px/1 var(--team-font,system-ui,sans-serif)!important;text-decoration:none!important;cursor:pointer;box-shadow:0 1px 2px #00000018,0 4px 11px #00000013!important}
body.nu-concierge .nu-page-home svg{width:18px;height:18px}
body.nu-concierge .nu-page-home:focus-visible{outline:3px solid #242424!important;outline-offset:2px!important}
@media (hover:hover) and (pointer:fine){body.nu-concierge .nu-page-home:hover{background:#e8e8e8!important}}
body.nu-concierge [data-side=guest] .nu-page-home,body.nu-concierge[data-side=guest] .nu-page-home{display:none!important}

/* Words only a screen reader hears (the pull's "Refreshing", the footer's name, the PIN label). It was styled inside the
   sign-in only, so "Refreshing" showed as plain text under the footer on phones (Justin, Nov 25). */
.nu-sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
