/* GLM V8.3.2 — combined professional interaction and reliability style. No external fonts/icons. */
/* iOS Safari focuses inputs under 16px by zooming the viewport. Never disable user pinch-to-zoom. */
#auth.glm83-auth .glm83-field input,
#auth.glm83-auth .glm83-field input:not([type=checkbox]),
#auth.glm83-auth :is(input,select,textarea){font-size:16px!important;-webkit-text-size-adjust:100%;touch-action:manipulation}
#auth.glm83-auth .glm83-form-wrap{min-width:0;overflow:visible}
#auth.glm83-auth .glm83-field{width:100%;min-width:0}
@media(max-width:500px){
 #auth.glm83-auth{min-height:100svh;overflow-x:hidden}
 #auth.glm83-auth .glm83-shell{min-height:100svh}
 #auth.glm83-auth .glm83-login-form{width:100%;max-width:100%}
 #auth.glm83-auth .glm83-field input{font-size:16px!important}
}
/* 6.4-second branded post-auth experience, +3 seconds from approved initial release. */
.glm83-progress span{animation-duration:6.4s!important}
.glm832-gold-ticker{margin:0 0 28px;display:flex;align-items:center;justify-content:center;gap:12px;max-width:100%;min-height:62px;padding:10px 16px;border:1px solid rgba(209,173,100,.43);border-radius:14px;background:linear-gradient(120deg,rgba(179,126,34,.1),rgba(241,202,130,.035));box-shadow:inset 0 0 0 1px rgba(241,202,130,.04)}
.glm832-gold-symbol{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center;color:#E7BC74;filter:drop-shadow(0 0 8px #d0a76166)}
.glm832-gold-symbol svg{width:29px;height:29px;animation:glm832-spin 6.4s linear infinite}
.glm832-gold-words{display:flex;flex-direction:column;gap:3px;text-align:left;font-size:12px;line-height:1.4;color:#eed5a1;font-weight:650;letter-spacing:.005em}
.glm832-gold-words strong{font-size:clamp(13px,3vw,17px);font-weight:850;color:#f6d89c;letter-spacing:-.015em;background:linear-gradient(90deg,#D9B16C,#FFE1A1,#E0A951);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:glm832-shine 3.2s ease-in-out infinite}
@keyframes glm832-spin{to{transform:rotate(360deg)}}
@keyframes glm832-shine{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
/* Restore the user's original bottom-right theme control, scoped to logged-in app. */
html[data-glm-theme] body:has(#app:not(.hidden)) > .global-theme.glm116-theme{display:flex!important;position:fixed!important;bottom:max(16px, env(safe-area-inset-bottom))!important;right:14px!important;z-index:10340!important;max-width:min(320px,calc(100vw - 28px));visibility:visible!important;pointer-events:auto!important}
html[data-glm-theme] body:has(#auth:not(.hidden)) > .global-theme.glm116-theme{display:none!important}
html[data-glm-theme] .global-theme #glm116ThemeToggle{min-height:44px;box-shadow:0 8px 22px #071b3252;border-radius:12px!important}
html[data-glm-theme] .global-theme .glm116-theme-menu{max-height:min(70dvh,540px)!important;overflow-y:auto!important}
html[data-glm-theme] .glm82-chat-restore:not([hidden]){bottom:76px!important;right:14px!important}
/* Actor-grouped archive audit: easy to inspect work per real staff account. */
#content .glm832-audit-actors{display:grid;gap:12px;margin:14px 0 20px;min-width:0}
#content .glm832-actor-card{display:block;border:1px solid var(--border)!important;border-radius:15px;background:var(--paper)!important;color:var(--text)!important;min-width:0;overflow:hidden;box-shadow:0 2px 12px #10284009;transition:border-color .18s,box-shadow .18s,transform .18s}
#content .glm832-actor-card:hover{border-color:var(--accent)!important;box-shadow:0 10px 25px #15293d13;transform:translateY(-1px)}
#content .glm832-actor-card>summary{list-style:none;display:flex;align-items:center;gap:13px;padding:15px 16px;min-height:77px;cursor:pointer;user-select:none;background:var(--paper)!important;color:var(--text)!important}
#content .glm832-actor-card>summary::-webkit-details-marker{display:none}
#content .glm832-actor-card>summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#content .glm832-actor-card[open]>summary{border-bottom:1px solid var(--border)!important;background:var(--paper-alt)!important}
#content .glm832-actor-avatar{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:12px;background:var(--accent-soft);color:var(--accent-soft-ink);overflow:hidden}
#content .glm832-actor-avatar :is(svg,img){max-width:100%;max-height:100%}
#content .glm832-actor-identity{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
#content .glm832-actor-identity strong{font-size:14px;font-weight:850;color:var(--text)!important;line-height:1.35;overflow-wrap:anywhere}
#content .glm832-actor-identity small{font-size:11px;color:var(--sub)!important;line-height:1.5}
#content .glm832-actor-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
#content .glm832-actor-meta em{font-style:normal;font-size:11px;white-space:nowrap;border:1px solid var(--border);border-radius:99px;padding:5px 9px;background:var(--paper-alt);color:var(--text)}
#content .glm832-actor-chevron{font-size:19px;color:var(--sub);transition:transform .18s}
#content .glm832-actor-card[open] .glm832-actor-chevron{transform:rotate(180deg)}
#content .glm832-actor-events{display:grid;gap:9px;padding:14px;background:var(--paper-alt);min-width:0}
#content .glm832-actor-events .glm-audit-card{margin:0!important;min-width:0;background:var(--paper)!important;border:1px solid var(--border)!important;border-radius:11px!important}
#content .glm832-actor-events .glm-audit-context{overflow-wrap:anywhere}
#content .glm832-bin-notice{border-left:4px solid #ba6e1e;border-radius:10px;padding:12px 15px;margin:0 0 12px;background:var(--paper-alt)!important;color:var(--text)!important;font-size:12px;line-height:1.6}
/* Genuine network failures should remain visible, never become a misleading 0-record state. */
#content .glm83-inline-error{border-radius:12px;border:1px solid var(--border);background:var(--paper-alt);color:var(--text);padding:14px;margin-bottom:12px}
@media(max-width:600px){
 .glm832-gold-ticker{width:min(100%,350px);margin-bottom:23px;padding:12px;gap:8px}
 .glm832-gold-words{font-size:11px}
 .glm832-gold-words strong{font-size:14px}
 #content .glm832-actor-card>summary{padding:12px;gap:9px}
 #content .glm832-actor-meta{display:none}
 #content .glm832-actor-events{padding:8px}
 html[data-glm-theme] body:has(#app:not(.hidden)) > .global-theme.glm116-theme{right:10px!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){
 .glm832-gold-symbol svg,.glm832-gold-words strong{animation:none!important}
 #content .glm832-actor-card,#content .glm832-actor-chevron{transition:none!important;transform:none!important}
}
/* Authentication view never exposes theme controls, including pre-bootstrap first paint. */
body:has(#auth:not(.hidden)) > .global-theme.glm116-theme{display:none!important}
