/* Blocking document startup remains separate from quiet in-app work. */
.ui-loading-screen{display:none!important}
html[data-ui-loading] body>.ui-loading-screen{display:grid!important;position:fixed;inset:0;z-index:2147483000;place-content:center;justify-items:center;gap:24px;background:var(--background,#f5f6f8);color:var(--ink,#20242e);isolation:isolate}
html[data-ui-loading] body>:not(.ui-loading-screen):not(script):not(style){visibility:hidden!important}
.ui-loading-ring{width:44px;height:44px;box-sizing:border-box;border:3px solid color-mix(in srgb,var(--primary,#315e53) 15%,transparent);border-top-color:var(--primary,#315e53);border-right-color:var(--primary,#315e53);border-radius:50%;animation:ui-loading-turn 1s linear infinite,ui-loading-appear .18s ease-out both}
.ui-loading-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ui-loading-indicator{display:none!important;pointer-events:none!important}
html[data-ui-quiet-loading]:not([data-ui-loading]) body>.ui-loading-indicator{display:grid!important;position:fixed;top:calc(76px + env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right));z-index:2147482900;place-items:center;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,var(--background,#f5f6f8) 90%,transparent)}
.ui-loading-indicator .ui-loading-ring{width:24px;height:24px;border-width:2px;animation:ui-loading-turn 1s linear infinite}
.ui-loading-retry{min-height:44px;padding:10px 18px;border:1px solid currentColor;border-radius:10px;background:transparent;color:inherit;font:inherit;cursor:pointer}
@keyframes ui-loading-appear{from{opacity:0}to{opacity:1}}
@keyframes ui-loading-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ui-loading-ring,.ui-loading-indicator .ui-loading-ring{animation:none;border-style:dotted;border-top-style:solid}}
/* Feste Regel David 26.11.2026: exactly the studio loader – card spinner, title and hint below, on an opaque
   background (also while leaving a page), never a half-built page underneath. */
.ui-loading-title,.ui-loading-text{display:none}
html[data-ui-loading] body>.ui-loading-screen .ui-loading-title,html[data-ui-loading] body>.ui-loading-screen .ui-loading-text{display:block;position:fixed;left:24px;right:24px;text-align:center;margin:0}
html[data-ui-loading] body>.ui-loading-screen .ui-loading-title{top:calc(50% + 56px);font-size:22px;font-weight:700;letter-spacing:-.5px;line-height:1.25;color:#1b202a}
html[data-ui-loading] body>.ui-loading-screen .ui-loading-text{top:calc(50% + 100px);font-size:15px;line-height:1.6;color:#707985}
/* Feste Nutzerregel 19.11.2026 12:20 (David): jede Ladeanimation ist derselbe Ring – immer exakt in der Bildschirmmitte,
   128 px Durchmesser, 12 px Ringbreite, Studiofarbe. Gilt für Startbildschirm, Seitenwechsel, Hintergrund-Laden und Inline-Status. */
:root{--msa-loader-size:76px;--msa-loader-stroke:12px}
.ui-loading-ring{width:var(--msa-loader-size)!important;height:var(--msa-loader-size)!important;border-width:var(--msa-loader-stroke)!important;border-style:solid;border-color:color-mix(in srgb,var(--brand-primary,var(--primary,#315e53)) 18%,transparent)!important;border-top-color:var(--brand-primary,var(--primary,#315e53))!important}
html[data-ui-quiet-loading]:not([data-ui-loading]) body>.ui-loading-indicator{inset:0!important;top:0!important;right:0!important;width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important}
.ui-loading-indicator .ui-loading-ring{width:var(--msa-loader-size)!important;height:var(--msa-loader-size)!important;border-width:var(--msa-loader-stroke)!important}
:not(.ui-loading-screen):not(.ui-loading-indicator)>.ui-loading-ring{position:fixed;left:50%;top:50%;margin:calc(var(--msa-loader-size) / -2) 0 0 calc(var(--msa-loader-size) / -2);z-index:2147482800;pointer-events:none}

/* Nutzerentscheid David 19.11.2026 14:22: überall genau der iOS-Ladekreis – weisses abgerundetes Kästchen (76 px) mit
   Strahlenkranz in Studiofarbe (8 Schritte), immer exakt in der Bildschirmmitte. Ersetzt den grossen Ring vom 12:20. */
:root body :is(.ui-loading-ring,.initial-loader-spinner,.native-boot-ring,.shop-handoff-ring,.entry-loading-ring){position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:-38px 0 0 -38px!important;width:76px!important;height:76px!important;box-sizing:border-box!important;border:0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 24px rgba(31,32,35,.14)!important;animation:none!important;transform:none!important;z-index:2147482800;pointer-events:none}
:root body :is(.ui-loading-ring,.initial-loader-spinner,.native-boot-ring,.shop-handoff-ring,.entry-loading-ring)::before{content:'';position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;background:var(--brand-primary,var(--primary,var(--accent,#a3966b)));-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%221.0%22%20transform%3D%22rotate%280%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.89%22%20transform%3D%22rotate%28-45%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.78%22%20transform%3D%22rotate%28-90%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.67%22%20transform%3D%22rotate%28-135%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.56%22%20transform%3D%22rotate%28-180%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.45%22%20transform%3D%22rotate%28-225%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.34%22%20transform%3D%22rotate%28-270%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.23%22%20transform%3D%22rotate%28-315%2050%2050%29%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%221.0%22%20transform%3D%22rotate%280%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.89%22%20transform%3D%22rotate%28-45%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.78%22%20transform%3D%22rotate%28-90%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.67%22%20transform%3D%22rotate%28-135%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.56%22%20transform%3D%22rotate%28-180%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.45%22%20transform%3D%22rotate%28-225%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.34%22%20transform%3D%22rotate%28-270%2050%2050%29%22%2F%3E%3Cline%20x1%3D%2250%22%20y1%3D%229%22%20x2%3D%2250%22%20y2%3D%2229%22%20stroke%3D%22%23000%22%20stroke-width%3D%229%22%20stroke-linecap%3D%22round%22%20stroke-opacity%3D%220.23%22%20transform%3D%22rotate%28-315%2050%2050%29%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;animation:msa-spokes .8s steps(8) infinite}
@keyframes msa-spokes{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){:root body :is(.ui-loading-ring,.initial-loader-spinner,.native-boot-ring,.shop-handoff-ring,.entry-loading-ring)::before{animation:none}}
