/* JDA: white surfaces, black copy and teal headings across guest and admin views. */
:root{color-scheme:light;--bg:#fff;--panel:#fff;--line:#d2e3e1;--accent:#007f7a;--blue:#007f7a;--text:#111;--muted:#111;--border:#d2e3e1}
body,#viewer{background:#fff;color:#111}
#viewer:before,#viewer:after,.ambient,.ambient:before,.ambient:after{background:none!important;border-color:#d2e3e1!important;box-shadow:none!important}
#admin,#admin .panel-head,#admin .security-line,#admin .tabs,#admin .panel-body,.center-panel,.settings-card,.provider-card,.provider-status,.setup-panel,.setup-content,.studio-summary,.connection-reminder,.usage-card,.session-card{background:#fff!important;color:#111!important;border-color:#d2e3e1!important}
#admin :is(h1,h2,h3,h4),.center-panel :is(h1,h2,h3),.identity,.kicker,#admin .kicker,.summary-label,.step-title,.agenda h2,#publicEvents strong{color:#007f7a!important}
#admin :is(p,label,small,output,code,legend),.center-panel p,.hint,.security-line,.connection-footnote,.session-source,.inline-status,#publicEvents p,#publicEvents small,#publicEvents time,#poweredBy{color:#111!important}
#admin input,#admin select,.center-panel input{background:#fff!important;color:#111!important;border-color:#b6cecc!important;accent-color:#007f7a}
input::placeholder{color:#555!important;opacity:1}
.primary,#admin .primary{background:#007f7a!important;color:#fff!important;border-color:#007f7a!important;box-shadow:none!important}
.primary:hover,#admin .primary:hover{background:#00635f!important}
.secondary,#admin .secondary,.external-button,#admin .external-button{color:#006c67!important;background:#fff!important;border-color:#8dbfba!important}
.text-button,.text-link,.back-link,#admin .back-link,#admin .text-button,#admin .text-link,.agenda-nav button,#poweredBy a{color:#006c67!important}
#admin .tabs button{color:#111!important;background:#fff!important}
#admin .tabs button.selected{background:#edf9f7!important;color:#006c67!important;border-color:#79b8b2!important}
#admin .delivery-choice{background:#fff!important;color:#111!important;border-color:#c1d9d6!important}
#admin .delivery-choice:has(input:checked){background:#edf9f7!important;border-color:#007f7a!important;box-shadow:0 0 0 1px #007f7a!important}
#admin .delivery-choice strong,#admin .provider-card h3{color:#007f7a!important}
#admin .delivery-choice small{color:#111!important}
.appmark,#admin .admin-brand .appmark{font:600 15px/1 system-ui,sans-serif!important;letter-spacing:-.7px;width:46px!important;min-width:46px;height:46px!important;color:#007f7a!important;border-color:#007f7a!important;background:#fff!important}
.lock-icon,.step-number,.provider-icon,.connection-pill{color:#007f7a!important;border-color:#a7d2ce!important;background:#edf9f7!important}
#access,.center-panel{background:transparent!important}
#access .agenda,#admin .section-title{border-color:#c1d9d6!important}
#message{color:#111!important;background:#fff!important;border-color:#80b9b3!important}
body:not(.signed-in) .topbar{color:#111}
body:not(.signed-in) .status{color:#111!important}
#admin details summary,#admin .help-details summary{color:#006c67!important}
#admin .copy-field,#admin .google-signin-card,#admin .help-details,#admin .notice{background:#fff!important;color:#111!important;border-color:#c1d9d6!important}
#sharedCodeLabel input{font-variant-numeric:tabular-nums;letter-spacing:.3em}

body:not(.signed-in) .topbar{background:#fff!important}
.identity b,.security-line span,.nav-note{color:#111!important}
input:focus,select:focus,button:focus-visible,a:focus-visible{outline-color:#007f7a!important;box-shadow:0 0 0 3px #007f7a22!important;border-color:#007f7a!important}
.lock-icon{box-shadow:none!important}
#poweredBy a{border-color:#8dbfba!important}
.status:before{background:#007f7a!important}
.discovery-results{display:grid;gap:12px;margin:12px 0}
.discovered-camera{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px;border:1px solid #bddbd7;border-radius:12px}
.discovered-camera>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.discovered-camera span{font-size:.85rem}
#cameraDiscoveryCard .check-label{align-items:flex-start}

/* Keep the signed-in player, paused screen and video letterboxing on the JDA palette. */
body.signed-in #viewer,body.signed-in #offline,body.signed-in #canvas video{background:#fff!important;color:#111!important}
body.signed-in .topbar{background:transparent!important;color:#111!important}
body.signed-in #offline h1,body.signed-in #countdown{color:#007f7a!important}
body.signed-in #offline p,body.signed-in .status,body.signed-in .toolbar,body.signed-in .gesture-hint,body.signed-in #personalZoom{color:#111!important}
body.signed-in .pulse{background:#007f7a!important;box-shadow:0 0 0 10px #007f7a18!important}
body.signed-in .toolbar{background:transparent!important}
body.signed-in .tools button{background:#ffffffc7!important;color:#111!important;border-color:#b6ceccb3!important}
body.signed-in .tools button:hover{background:#edf9f7eb!important}
body.signed-in #zoomTools{border-color:#d2e3e1!important}
body.signed-in .live-dot,body.signed-in .status.live:before{background:#007f7a!important;box-shadow:none!important}
body.signed-in #personalZoom{background:#ffffffc7;border:1px solid #b6ceccb3;border-radius:7px;padding:5px}
body.signed-in #viewer .topbar,body.signed-in #viewer .toolbar{opacity:1;visibility:visible;transition:opacity .2s ease,visibility 0s}
body.signed-in #viewer.controls-idle .topbar,body.signed-in #viewer.controls-idle .toolbar{opacity:0!important;visibility:hidden;pointer-events:none!important;transition:opacity .2s ease,visibility 0s linear .2s}
body.signed-in #viewer.controls-idle #canvas{cursor:none}
@media(prefers-reduced-motion:reduce){body.signed-in #viewer .topbar,body.signed-in #viewer .toolbar{transition:none!important}}
