/* Shared monochrome theme. Media retains its original colors. */
:root {
  --bg:#111111; --panel:#181818; --panel2:#202020;
  --surface-0:#141414; --surface-1:#202020; --surface-2:#292929; --surface-3:#454545;
  --text:#f2f2f2; --muted:#ababab; --line:#303030; --line-strong:#484848;
  --accent:#eeeeee; --accent-2:#cccccc; --accent-3:#eeeeee;
  --violet:#eeeeee; --violet-deep:#cccccc; --violet-tint:#ffffff0a;
  --rose:#eeeeee; --rose-deep:#cccccc; --rose-tint:#ffffff0a;
  --green:#dedede; --red:#dedede; --yellow:#c7c7c7;
  --good:#dedede; --fair:#c7c7c7; --poor:#aaaaaa;
  --glass-bg:#181818; --glass-bg-strong:#202020; --glass-border:#303030;
  --accent-glow:transparent; --magenta-glow:transparent;
  --font-display:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-mono:ui-monospace,"Cascadia Code",Consolas,monospace;
  --r-sm:4px; --r-md:6px; --r-lg:8px; --r-xl:12px;
  --shadow-card:none; --shadow-pop:0 16px 60px #0006; --glow-accent:none;
}
body { font-weight:400; }
.storm { background:var(--bg); }
.storm::after,.card::before,.studio-art,.note-icon { display:none; }
.brand-mark { transform:none; border-radius:6px; width:28px; height:28px; }
.brand-name { font-size:30px; letter-spacing:-1.2px; }
.tagline { letter-spacing:.12em; }
.page { padding-top:32px; padding-bottom:100px; }
.hub > .brand { padding-bottom:24px; margin-bottom:24px; }
.hub-intro { grid-template-columns:1fr; }
.hub-intro,.request-intro { padding:40px 0; }
.hub-intro h1,.request-intro h1,.hero-copy h1 { letter-spacing:-.045em; font-weight:650; }
.hub-intro p,.request-intro p { max-width:600px; }
.request-intro h1.ai-studio-heading { font-weight:750; }
.request-process { gap:14px; }
.request-process b { border:0; padding:0; color:var(--text); }
.hub > * { animation:none; }
.card,.console-card,.request-card,.request-note,.request-item,.request-account-gate,
.example-card,.rtc-service-panel,.media-delete-dialog,.ai-inbox-notice,
#aiInboxMount .request-history { border-radius:8px; box-shadow:none; }
.request-note { background:transparent; border:0; border-left:1px solid var(--line); border-radius:0; }
.request-note h2 { font-size:22px; line-height:1.35; }
.button,.console-button,.owner-upload-button,.media-primary-action,.request-result {
  background:var(--accent); color:#111; border-radius:6px; box-shadow:none;
}
.button:hover { background:#d6d6d6; filter:none; transform:none; }
.small-button,.feature-toggle-button,.accounts-refresh-button,.gender-option,
.account-button,.logout-button,.upload-zone,.request-empty,.example-prompt,
.ai-option select,input,textarea { border-radius:6px; }
.feature-toggle-button.enabled { background:#eeeeee; color:#111; border-color:#eeeeee; }
.feature-toggle-button.disabled-mode { background:transparent; color:var(--muted); border-style:dashed; }
.pill-tabs,.console-tabs,.ai-view-tabs,.ai-kind-tabs {
  background:transparent; border:0; border-bottom:1px solid var(--line);
  border-radius:0; padding:0; gap:4px;
}
.console-tabs { flex-wrap:wrap; overflow:visible; }
.pill-tabs button,.console-tab,.ai-view-tabs button,.ai-kind-tabs button {
  background:transparent; color:var(--muted); border:0; border-bottom:2px solid transparent;
  border-radius:0; box-shadow:none; min-height:46px; font-weight:600;
}
.pill-tabs button.active,.console-tab.active,.ai-view-tabs button.active,.ai-kind-tabs button.active {
  background:transparent; color:var(--text); border-bottom-color:var(--text); box-shadow:none;
}
.pill-tabs button:hover,.console-tab:hover,.ai-view-tabs button:hover,.ai-kind-tabs button:hover {
  background:#ffffff05; color:var(--text);
}
.ai-view-tabs { margin:0 auto 28px; }
.ai-kind-tabs { flex-wrap:wrap; }
.ai-kind-tabs button { min-width:120px; }
.ai-inbox-launcher { border-radius:6px; background:var(--panel); color:var(--text); box-shadow:0 6px 24px #0004; }
.ai-inbox-launcher.has-unread { background:var(--accent); color:#111; }
.ai-inbox-notice { background:var(--panel); border-color:var(--line-strong); }
.ai-nav-unread { background:var(--accent); color:#111; }
.media-delete-dialog .media-delete-confirm { background:#eee; color:#111; font-weight:700; }
.example-prompt { border-color:var(--line); border-left-color:var(--accent); background:var(--surface-0); }
.example-image img,.example-upload img { background-color:#191919; background-image:conic-gradient(#272727 25%,transparent 0 50%,#272727 0 75%,transparent 0); }
.upload-zone { border-color:#565656; background:transparent; }
.upload-symbol { background:transparent; }
body.camera-locked > :not(#cameraModal):not(#cameraBlockedPage):not(script):not(style) { display:none !important; }
body.camera-locked #cameraModal { z-index:10000; background:var(--bg); }
#cameraModal .modal-card { max-height:calc(100dvh - 32px); overflow:auto; }
#cameraModal { padding:16px; }
.camera-blocked { min-height:100dvh; display:grid; place-items:center; padding:24px; }
.camera-blocked .request-card { width:min(100%,580px); }
.camera-blocked h1 { font-size:32px; line-height:1.2; margin:18px 0; }
.camera-blocked p { color:var(--muted); line-height:1.7; margin:16px 0; }
.camera-blocked button { margin-bottom:12px; padding:0 18px; }
.camera-blocked details { margin-top:12px; line-height:1.7; color:var(--muted); }
.camera-blocked summary { cursor:pointer; color:var(--text); }.camera-blocked ol { padding-left:24px; margin-top:12px; }
.animation-start-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
#requestAnimationsButton { min-height:56px; padding:0 24px; border:1px solid var(--line-strong); }
.animation-tag-preferences { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.animation-tag-preferences button,.animation-tag-row button { min-height:40px; border:1px solid var(--line-strong); border-radius:6px; padding:0 14px; background:var(--panel); color:var(--text); cursor:pointer; font:inherit; font-size:12px; }
.animation-tag-preferences button[aria-pressed="true"] { color:#111; background:#eee; }
.animation-card-tags { font-size:10px; color:var(--muted); line-height:1.6; }
.animation-tag-row { display:flex; gap:8px; margin:16px 0; }
.animation-tag-row input { flex:1; min-width:0; padding:12px; border:1px solid var(--line-strong); background:var(--surface-0); color:var(--text); }
.animation-tags-field { padding:14px; border:1px solid var(--line); border-radius:6px; font-size:12px; }
.animation-tag-checkboxes { display:flex; flex-wrap:wrap; gap:12px; }
.animation-tag-checkboxes label { display:flex; gap:7px; align-items:center; }
.animation-tag-checkboxes input { accent-color:var(--accent); }
.animation-request-dialog textarea { width:100%; margin-top:10px; padding:14px; border:1px solid var(--line-strong); background:var(--surface-0); color:var(--text); font:inherit; border-radius:6px; }
.animation-request-dialog .small-button,[data-panel="animation-requests"] .small-button { padding:0 18px; }
#animationSuggestionFilter,#ownerAnimationSuggestions select { padding:10px; background:var(--surface-1); color:var(--text); border:1px solid var(--line-strong); border-radius:6px; }
/* Compact workspace header and an image-first animation library. */
.workspace-header { display:flex; justify-content:space-between; align-items:center; gap:28px; padding-bottom:24px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.workspace-header .brand { margin:0; text-align:left; flex-shrink:0; }
.workspace-header .brand-row { justify-content:flex-start; }
.workspace-header .tagline { font-size:8px; }
.workspace-header .hub-controls { margin:0; flex-direction:column; align-items:flex-end; gap:12px; }
.workspace-header .right-pills { gap:18px; }
.workspace-header .camera-status-pill,.workspace-header .online-pill { border:0; background:transparent; padding:0; min-height:20px; font-size:10px; }
.pill-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; }
.pill-tabs button { justify-content:center; }
.hub-intro { padding:32px 0 24px; }
.hub-intro h1 { font-size:clamp(28px,3.6vw,42px); line-height:1.15; }
.hub-intro h1 br { display:none; }.hub-intro h1 em::before { content:' '; }
.hub-intro p { margin-top:12px; font-size:14px; }
.request-intro { padding:28px 0; }
.request-intro h1.ai-studio-heading { font-size:clamp(28px,3.5vw,42px); }
.animation-library { margin:12px 0 28px; }
.animation-library .section-heading h2 { font-size:18px; }
.media-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#111; }
.media-video-preview.has-video .media-poster { display:none; }
.media-preview-placeholder { background:transparent; text-shadow:0 1px 8px #000; }
.media-preview-placeholder span { background:#111c; border:1px solid #888; border-radius:50%; width:48px; height:48px; display:grid; place-items:center; }
.poster-editor { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.poster-editor label { position:relative; display:inline-flex; align-items:center; cursor:pointer; }
.poster-editor input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.poster-editor p { width:100%; margin:0; }
 .snapshot-viewer .small-button,.snapshot-dashboard .small-button { padding:0 14px; }
@media(max-width:800px) {
  .workspace-header { align-items:flex-start; gap:18px; }
  .workspace-header .left-buttons { justify-content:flex-end; flex-wrap:wrap; }
}
@media(max-width:560px) {
  .workspace-header { flex-direction:column; gap:18px; }
  .workspace-header .hub-controls { width:100%; align-items:stretch; }
  .workspace-header .left-buttons { justify-content:flex-start; flex-wrap:nowrap; gap:6px; }
  .workspace-header .left-buttons > * { font-size:10px; padding:0 9px; min-height:36px; }
  .workspace-header .account-button { max-width:120px; }
  .viewer-actions { gap:6px; }.viewer-action-button { font-size:11px; padding:0 10px; }
}
.snapshot-toolbar { grid-template-columns:minmax(130px,1fr) auto auto auto; }
.snapshot-pagination,.snap-viewer-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.snapshot-pagination { font-size:12px; color:var(--muted); }
.snap-thumb { aspect-ratio:4/3; background:#101010; }
.snap-thumb img { object-fit:contain; color:var(--muted); font-size:11px; }
.snap-thumb .snap-facing,.snap-thumb .snap-time { background:#111d; color:#fff; }
.snapshot-toolbar button[aria-pressed="true"] { background:#eee; color:#111; border-color:#eee; }
.snapshot-viewer { margin:auto; width:min(1000px,calc(100% - 24px)); max-height:calc(100dvh - 24px); overflow:auto; padding:22px; border:1px solid var(--line-strong); border-radius:8px; background:var(--panel); color:var(--text); }
.snapshot-viewer::backdrop { background:#000c; }
.snapshot-viewer p { color:var(--muted); margin:12px 0; font-size:12px; }
.snapshot-viewer img { display:block; width:100%; height:min(60dvh,650px); object-fit:contain; }
.snap-viewer-actions a { display:inline-flex; align-items:center; text-decoration:none; }
.snapshot-viewer .snap-overlay-head { align-items:center; }
@media(max-width:600px) {
  .snapshot-toolbar { grid-template-columns:1fr 1fr; }
  .snapshot-toolbar input { grid-column:1/-1; }
  .snapshot-stats { grid-template-columns:1fr 1fr; }
  .snapshot-viewer { padding:14px; }
  .snapshot-pagination { justify-content:center; }
}
.chat-request .accept { color:#111; }
.site-cover,.owner-site-icon { background:var(--surface-2); }
.viewer-action-button.next,.animation-control-button.primary,.site-open,
.site-browser-actions button.end,.site-viewer-issue-actions button.primary { background:var(--accent); box-shadow:none; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid #eee; outline-offset:3px;
}
@media(max-width:760px) {
  .page { padding:24px 20px 96px; }
  .hub-intro,.request-intro { padding:28px 0; }
  .console-tab { min-width:0; font-size:12px; padding:0 10px; }
  .console-tab[data-tab="media"] { min-width:0; }
}
@media(max-width:520px) {
  .page { padding:20px 16px 90px; }
  .hub-intro h1,.hero-copy h1 { font-size:36px; }
  .request-intro h1.ai-studio-heading { font-size:30px; }
  .ai-kind-tabs button { min-width:90px; font-size:12px; }
  .request-process { margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
