/* 5.33.1: paint the document canvas, not only the application container. */
@media screen{
html.jcc-portal-surface{margin:0!important;padding:0!important;min-height:100%;background:#f2f3f5!important;color-scheme:light;overscroll-behavior-y:none}
html.jcc-portal-surface[data-jcc-color-mode=dark]{background:#101923!important;color-scheme:dark}
html.jcc-portal-surface body.jcc-portal-body{margin:0!important;min-height:100vh;min-height:100svh;display:flow-root;background:#f2f3f5!important}
html.jcc-portal-surface[data-jcc-color-mode=dark] body.jcc-portal-body{background:#101923!important}
.jcc-portal-body .jcc-workspace{display:flow-root}
html.jcc-portal-surface[data-jcc-color-mode=dark] .jcc-footer{background:#101923!important;color:#afbed0!important;border-color:#43576a!important}
html.jcc-portal-surface[data-jcc-color-mode=dark] .jcc-footer strong{color:#e1e9f2!important}
.jcc-portal-body .jcc-footer{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
.jcc-module-arriving{animation:jcc-module-arrive .18s ease-out both}
@keyframes jcc-module-arrive{from{opacity:.82;transform:translateY(3px)}to{opacity:1;transform:none}}
}
/* Public entry: deliberately blue in both interface color modes. */
.jcc-public-entry,.jcc-public-entry *{box-sizing:border-box}
.jcc-public-entry{display:none}
html.jcc-entry-active{background:#082449!important;overflow:hidden}
html.jcc-entry-active .jcc-public-entry{display:grid}
.jcc-public-entry{position:fixed;inset:0;z-index:2147483000;min-height:100vh;min-height:100dvh;overflow:auto;place-items:center;padding:max(28px,env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) max(28px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));background:radial-gradient(ellipse at 30% 12%,#145a9b 0,#0a315c 42%,#061a35 100%);color:#fff;isolation:isolate;transition:opacity .18s ease}
.jcc-public-entry.is-finishing{opacity:0;pointer-events:none}
.jcc-public-entry-card{width:min(100%,620px);text-align:center;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.jcc-public-entry img{display:block;width:clamp(145px,23vw,205px);height:auto;max-height:125px;object-fit:contain;margin:0 auto 32px;background:#fff;padding:15px 19px;border-radius:13px}
.jcc-public-entry .entry-eyebrow{font-size:11px;letter-spacing:.17em;color:#d4e6f8;margin:0 0 22px;font-weight:650}
.jcc-public-entry h1{color:#fff!important;font-size:clamp(29px,5vw,46px)!important;line-height:1.15!important;letter-spacing:-.03em;margin:24px 0 15px!important;font-weight:700!important}
.jcc-public-entry .entry-english{color:#d3e8ff!important;font-size:clamp(17px,3vw,21px);margin:0 0 25px}
.jcc-public-entry .entry-orbit{display:block;margin:26px auto;width:52px;height:52px;border:3px solid #ffffff35;border-top-color:#fff;border-right-color:#ffb75c;border-radius:50%;animation:jcc-entry-spin 1.2s linear infinite}
.jcc-public-entry progress{display:block;margin:25px auto 12px;width:min(320px,85%);height:6px;accent-color:#fff;border:0;border-radius:10px;overflow:hidden;background:#ffffff30}
.jcc-public-entry progress::-webkit-progress-bar{background:#ffffff30}.jcc-public-entry progress::-webkit-progress-value{background:#fff}
.jcc-public-entry .entry-status{display:block;color:#d2e5f9;font-size:12px;min-height:2em}
.jcc-public-entry button{font:600 13px/1.5 system-ui;border:1px solid #9fb9d6;background:#ffffff0d;color:#fff!important;border-radius:9px;padding:10px 17px;margin:21px 0 0;cursor:pointer;min-height:44px}
.jcc-public-entry button:focus-visible{outline:3px solid #ffbd63;outline-offset:5px}
.jcc-public-entry .entry-footer{display:block;color:#c4d9ee;font-size:11px;margin-top:30px}
@keyframes jcc-entry-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.jcc-module-arriving,.jcc-public-entry .entry-orbit{animation:none!important}.jcc-public-entry,.jcc-public-entry progress::-webkit-progress-value{transition:none!important}}
/* Accessible interaction states: same foreground/background pair in every private dialog. */
:is(#jcc-app,dialog[class*="jcc-"]){--jcc-action-bg:#edf3fa;--jcc-action-ink:#183653;--jcc-action-hover:#dce9f6;--jcc-action-line:#819ab3;--jcc-action-selected:#173e67;--jcc-action-selected-ink:#fff;--jcc-action-disabled:#e4e9ef;--jcc-action-muted:#536274}
html[data-jcc-color-mode=dark] :is(#jcc-app,dialog[class*="jcc-"]){--jcc-action-bg:#253b53;--jcc-action-ink:#f2f6fc;--jcc-action-hover:#345470;--jcc-action-line:#91aac1;--jcc-action-selected:#b8d8ff;--jcc-action-selected-ink:#102a45;--jcc-action-disabled:#263544;--jcc-action-muted:#bdcbd9}
:is(#jcc-app,dialog[class*="jcc-"]):is(#jcc-app,dialog) button:is(:hover,:focus-visible):not(:disabled){background:var(--jcc-action-hover)!important;color:var(--jcc-action-ink)!important;-webkit-text-fill-color:var(--jcc-action-ink)!important;border-color:var(--jcc-action-line)!important;opacity:1!important}
:is(#jcc-app,dialog[class*="jcc-"]):is(#jcc-app,dialog) button:is([aria-pressed=true],[aria-selected=true],.is-active){background:var(--jcc-action-selected)!important;color:var(--jcc-action-selected-ink)!important;-webkit-text-fill-color:var(--jcc-action-selected-ink)!important;border-color:var(--jcc-action-selected)!important;box-shadow:inset 0 0 0 2px currentColor}
:is(#jcc-app,dialog[class*="jcc-"]):is(#jcc-app,dialog) button:disabled{background:var(--jcc-action-disabled)!important;color:var(--jcc-action-muted)!important;-webkit-text-fill-color:var(--jcc-action-muted)!important;border-color:var(--jcc-action-line)!important;opacity:1!important;cursor:not-allowed}
:is(#jcc-app,dialog[class*="jcc-"]):is(#jcc-app,dialog) button:is(:hover,:focus-visible,[aria-pressed=true],[aria-selected=true],:disabled) :is(span,strong,small,svg){color:inherit!important;-webkit-text-fill-color:inherit!important}
.jcc-dir-dialog.jcc-dir-dialog form>button:not(:disabled){background:#173e67;color:#fff;-webkit-text-fill-color:#fff;opacity:1}
:is(#jcc-app,dialog[class*="jcc-"]):is(#jcc-app,dialog) button:focus-visible{outline:3px solid #a86d00!important;outline-offset:3px!important}
