.jcc-install-app{position:fixed;bottom:20px;left:20px;z-index:7000;background:#12365b;color:#fff;border:1px solid #acc4df;border-radius:14px;padding:11px 16px;box-shadow:0 4px 18px #071c3426;font:600 13px system-ui;cursor:pointer}.jcc-install-app[hidden]{display:none!important}.jcc-app-dock{display:none}.jcc-webapp-sheet{width:min(500px,calc(100vw - 28px));max-height:82dvh;box-sizing:border-box;overflow:auto;border:1px solid #92a9bf;border-radius:20px;padding:24px;background:#f6f9fd;color:#152d48;font:16px/1.6 system-ui}.jcc-webapp-sheet::backdrop{background:#061830aa;backdrop-filter:blur(4px)}.jcc-webapp-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px}.jcc-webapp-sheet h2{margin:0;font-size:23px}.jcc-webapp-sheet button{font:600 15px system-ui;color:#173b60;background:#e8f0f9;border:1px solid #91a8bf;border-radius:10px;min-height:44px;padding:12px;cursor:pointer}.jcc-webapp-sheet [data-app-menu]{display:grid;gap:10px;margin-top:20px}.jcc-webapp-sheet [data-app-menu] button{text-align:left}.jcc-webapp-sheet button:hover{background:#d1e2f5;color:#112b49}.jcc-webapp-sheet button:focus-visible,.jcc-install-app:focus-visible{outline:3px solid #b77e12;outline-offset:3px}
html[data-jcc-color-mode=dark] .jcc-webapp-sheet{background:#172a3e;color:#f0f5fc}
@media(max-width:760px){body.jcc-portal-body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}.jcc-portal-body .jcc-app-dock{position:fixed;inset:auto 0 0;z-index:6500;display:grid;grid-template-columns:repeat(4,1fr);padding:8px max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px));gap:4px;background:#0b2343;border-top:1px solid #64809f;box-shadow:0 -4px 20px #03162b22}.jcc-app-dock button{border:0;border-radius:10px;color:#f1f6ff;background:transparent;min-height:52px;font:600 11px system-ui;display:grid;place-items:center;gap:3px;padding:4px;cursor:pointer}.jcc-app-dock button span{font-size:23px;line-height:1}.jcc-app-dock button:hover,.jcc-app-dock button[aria-current=page]{background:#294e78;color:#fff}.jcc-portal-body .jcc-install-app{bottom:calc(84px + env(safe-area-inset-bottom,0px));left:12px;font-size:12px;padding:9px 12px}.jcc-portal-body .jcc-topbar{padding:10px 14px!important}.jcc-portal-body .jcc-workspace{padding:8px!important}.jcc-portal-body #jcc-app{margin:0!important}.jcc-portal-body .jcc-footer{padding-bottom:16px}.jcc-installed-app .jcc-topbar .jcc-user{display:none}.jcc-webapp-sheet{max-height:80dvh}}
@media print{.jcc-install-app,.jcc-app-dock,.jcc-webapp-sheet{display:none!important}}
/* Reuse the existing connected mobile controls; never show two navigation bars. */
@media(max-width:760px){#jcc-app #jcc-mobile-bar{background:#0b2343!important;color:#f1f6ff!important;border-top:1px solid #728eac!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom,0px))!important;box-shadow:0 -5px 20px #03162b26!important;gap:4px!important}#jcc-app #jcc-mobile-bar button{background:transparent!important;color:#f1f6ff!important;-webkit-text-fill-color:#f1f6ff!important;min-height:52px!important;border:0!important;border-radius:11px!important}#jcc-app #jcc-mobile-bar button:hover,#jcc-app #jcc-mobile-bar button:focus-visible{background:#294e78!important;color:#fff!important}#jcc-app #jcc-mobile-bar button span{color:inherit!important}#jcc-app #jcc-mobile-bar svg{width:23px!important;height:23px!important}}
