/* DCA Animations & runtime helpers */


.sc-placeholder{background:rgba(255,255,255,.3);border:1px solid rgba(0,0,0,.5);
      border-radius:2px;box-sizing:border-box;overflow:hidden}
    @keyframes sc-shine{0%{background-position:100% 50%}100%{background-position:0% 50%}}
    html.sc-dc-streaming .sc-placeholder,
    html.sc-dc-streaming .sc-interp.sc-missing{position:relative;
      background:color-mix(in srgb,currentColor 5%,transparent);
      border-color:transparent}
    html.sc-dc-streaming .sc-placeholder::before,
    html.sc-dc-streaming .sc-interp.sc-missing::before{content:'';
      position:absolute;inset:0;pointer-events:none;
      background:linear-gradient(90deg,rgba(217,119,87,0) 25%,rgba(247,225,211,.95) 37%,rgba(217,119,87,0) 63%);
      background-size:400% 100%;animation:sc-shine 1.4s ease infinite}
    html.sc-dc-streaming .sc-placeholder:nth-child(n+9 of .sc-placeholder)::before,
    html.sc-dc-streaming .sc-interp.sc-missing:nth-child(n+9 of .sc-interp.sc-missing)::before{animation:none;
      background:color-mix(in srgb,currentColor 8%,transparent)}
    .sc-placeholder-error{padding:4px 8px;font:11px/1.4 ui-monospace,monospace;
      color:rgba(0,0,0,.7);word-break:break-word}
    .sc-interp.sc-missing{display:inline-block;width:2em;height:1em;overflow:hidden;
      vertical-align:text-bottom;background:rgba(255,255,255,.3);border:1px solid rgba(0,0,0,.5);
      border-radius:2px;box-sizing:border-box;color:transparent;
      user-select:none}
    .sc-interp.sc-unresolved{font-family:ui-monospace,monospace;font-size:.85em;
      color:rgba(0,0,0,.5);background:rgba(0,0,0,.05);border-radius:3px;
      padding:0 3px}
    .sc-host.sc-has-error{position:relative}
    .sc-logic-error{position:absolute;top:8px;left:8px;z-index:2147483647;max-width:60ch;
      padding:6px 10px;background:#b00020;color:#fff;font:12px/1.4 ui-monospace,monospace;
      border-radius:4px;white-space:pre-wrap;pointer-events:none}
    /* Mirrors PRINT_BASELINE_CSS in apps/web deck-stage-export.ts — keep both
       in sync until dc-runtime regains a build step. */
    @media print {
      @page { margin: 0.5cm; }
      figure, table { break-inside: avoid; }
      #dc-root, #dc-root > .sc-host { height: auto; }
      *, *::before, *::after {
        print-color-adjust: exact; -webkit-print-color-adjust: exact;
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        animation-delay: -99s !important; animation-duration: .001s !important;
        animation-iteration-count: 1 !important; animation-fill-mode: both !important;
        animation-play-state: running !important; transition-duration: 0s !important;
      }
    }

@keyframes dcaFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.dca-anim{animation:dcaFadeUp .5s ease-out both}.dca-totop{position:fixed;right:22px;bottom:22px;z-index:1500;width:46px;height:46px;border:none;border-radius:50%;cursor:pointer;background:linear-gradient(135deg,#163D68,#0A2342);color:#D4AF37;box-shadow:0 8px 24px rgba(8,26,49,.32);display:inline-flex;align-items:center;justify-content:center;opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity .25s ease,transform .25s ease,background .2s ease}.dca-totop.show{opacity:1;transform:none;pointer-events:auto}.dca-totop:hover{background:linear-gradient(135deg,#1c4a7d,#0d2b50)}@media(prefers-reduced-motion:reduce){.dca-anim{animation:none!important}.dca-totop{transition:opacity .2s ease}}

@keyframes dcaFade{from{opacity:0}to{opacity:1}}@keyframes dcaPop{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes dcaDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.dca-au-input:focus{border-color:#D4AF37!important;box-shadow:0 0 0 3px rgba(212,175,55,.25)!important}.dca-au-pbtn:hover{background:rgba(255,255,255,.22)!important;border-color:#D4AF37!important}.dca-au-item:hover{background:rgba(212,175,55,.14)!important;color:#0A2342!important}.dca-au-primary:hover{background:#B88A14!important}.dca-au-ghost:hover{color:#B88A14!important}@media (prefers-reduced-motion:reduce){.dca-au-anim{animation:none!important}}

html,body{height:100%;margin:0}#dc-root,#dc-root>.sc-host{height:100%}
