/* PIGMORA Experience System V13
   Obsidian / warm ivory / precision copper, designed for clarity, not generic glass cards.
   Existing forms and domain logic are preserved. WCAG 2.2 AA is a release target,
   not a claim of certification. */
:root {
  --pm-night: #101719;
  --pm-deep: #192225;
  --pm-ink: #172427;
  --pm-copper: #c98d73;
  --pm-copper-deep: #925d48;
  --pm-sea: #91c5b3;
  --pm-parchment: #faf9f5;
  --pm-canvas: #f1f2ee;
  --pm-line: #e0e4de;
  --pm-muted: #637276;
  --pm-focus: #147c75;
}
html { scroll-padding-top: 92px; }
:focus-visible { outline: 3px solid #3e9e94 !important; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position:absolute !important; width:1px; height:1px; clip:rect(0 0 0 0); overflow:hidden; white-space:nowrap; }
button, input, select, textarea, summary { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .57; cursor: not-allowed; }
button:focus-visible, a:focus-visible { outline-color: var(--pm-focus); }
.app-v13 { background: var(--pm-canvas); color: var(--pm-ink); }
.app-v13 .workspace { grid-template-columns: 236px minmax(0,1fr); }
.app-v13 .sidebar { background: #10181a; padding: 31px 16px 22px; border-right: 1px solid #324041; }
.app-v13 .sidebar .wordmark { margin: 0 8px 47px; letter-spacing: .18em; }
.app-v13 .sidebar .wordmark-note { font-size: 8px; font-weight: 650; opacity: .63; }
.app-v13 .workspace-switch { margin: 0 8px 31px; }
.app-v13 .workspace-switch select { border: 1px solid #415052; border-radius: 10px; background: #243033; color: #f6f3ed; }
.app-v13 .side-nav { display: grid; gap: 4px; }
.app-v13 .nav-overline { color: #91ada8; font-weight: 700; font-size: 10px; letter-spacing: .18em; margin: 4px 17px 12px; }
.app-v13 .side-nav .nav-item { width: 100%; text-align:left; display:flex; align-items:center; gap:13px; border: 1px solid transparent; border-radius: 11px; padding: 11px 13px; color: #c5d2cf; background:transparent; font-size: 13px; transition:background .16s,color .16s; }
.app-v13 .side-nav .nav-item span:first-child { display:inline-grid; place-items:center; width:23px; height:23px; color:#acbfba; font-size:21px; }
.app-v13 .side-nav .nav-item:hover,.app-v13 .side-nav .nav-item:focus-visible { background: #263437; color:white; }
.app-v13 .side-nav .nav-item.active { background: #31423f; color: #fff9ef; border-color:#5f7469; box-shadow:inset 3px 0 var(--pm-copper); }
.side-more { margin-top:10px; border-top:1px solid #2d3a3b; padding-top:11px; }
.side-more summary { list-style:none; padding:12px 17px; color:#b1c6bf; border-radius:10px; display:flex; justify-content:space-between; font-size:12px; letter-spacing:.03em; }
.side-more summary::-webkit-details-marker { display:none; }
.side-more summary:hover { background:#273639; }
.side-secondary { display:grid; gap:3px; padding:5px 0 8px 12px; }
.app-v13 .sidebar-bottom { opacity:.8; font-size:11px; }
.app-v13 .workspace-header { background:#fafaf7; border-color:#dbe2da; position:sticky; top:0; z-index:9; gap:22px; padding-inline:clamp(19px,3.1vw,48px); }
.app-v13 .header-actions { flex-shrink:0; }
.app-v13 .breadcrumb { flex-shrink:0; }
.global-search-wrap { position:relative; width:min(460px,42vw); flex:1 1 250px; }
.global-search-wrap input { width:100%; height:43px; border-radius:100px; background:#eef1ec; color:#1e2c30; border:1px solid #d7ddd5; padding: 10px 65px 10px 42px; outline:none; font-size:13px; }
.global-search-wrap input:focus { box-shadow:0 0 0 3px #a4d3c499; border-color:#52877d; }
.global-search-wrap .search-glyph { position:absolute; top:4px; left:14px; font-size:26px; color:#628078; z-index:1; }
.global-search-wrap kbd { position:absolute; right:15px; top:11px; font-size:10px; color:#62766f; background:#f8faf7; border:1px solid #d4dcd3; border-radius:4px; padding:2px 5px; }
.search-results { position:absolute; z-index:35; top:51px; left:0; right:0; background:#fff; border:1px solid #d9e1d9; box-shadow:0 18px 48px #18272526; border-radius:12px; overflow:hidden; max-height:min(65vh,550px); overflow-y:auto; }
.search-hit { border:0; width:100%; background:transparent; text-align:left; padding:10px 15px; display:grid; gap:1px; color:#253430; border-bottom:1px solid #ecf0eb; }
.search-hit.selected,.search-hit:hover { background:#e8eee9; }
.search-hit strong { font-size:13px; font-weight:650; }
.search-hit small { font-size:11px; color:#64736d; }
.search-hit .search-type { font-size:9px; text-transform:uppercase; letter-spacing:.12em; color:#a06d56; }
.app-v13 .work-content { max-width:1530px; padding:clamp(22px,2.8vw,48px); }
.app-v13 .view { animation:none; }
.app-v13 .view-heading h1 { letter-spacing:-.045em; color:#18272a; }
.app-v13 .view-heading p:not(.eyebrow) { font-size:14px; }
.overview-intro { margin: 0 0 27px; }
.tiny-kicker { font-size:10px; letter-spacing:.19em; font-weight:800; color:#a26c55; text-transform:uppercase; }
.overview-intro h1 { font-size:clamp(28px,3vw,47px); font-weight:550; letter-spacing:-.045em; max-width:860px; margin:7px 0 7px; line-height:1.18; }
.overview-intro p { color:#627471; font-size:14px; max-width:660px; }
.new-experience-hero { position:relative; isolation:isolate; overflow:hidden; min-height:334px; display:grid; grid-template-columns: 1.15fr .85fr; background: radial-gradient(circle at 75% 40%,#3c4645,transparent 43%),#121a1c; border-radius:14px; color:#f8f4eb; box-shadow:0 18px 30px #14212313; }
.new-experience-hero:after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#131b1d 0%,#141d1ee9 48%,#141d1e11 100%); pointer-events:none; }
.hero-information { padding:clamp(25px,3vw,46px); position:relative; z-index:2; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.hero-information .tiny-kicker { color:#e1ae91; }
.hero-information h2 { font-size:clamp(28px,3.3vw,52px); font-weight:460; line-height:1.1; letter-spacing:-.045em; margin:10px 0 14px; max-width:630px; }
.hero-information p { font-size:14px; line-height:1.7; max-width:580px; color:#d0d9d4; }
.hero-information .button.primary { background:#ddb092; color:#182222; border-radius:100px; padding:13px 22px; margin:7px 0 11px; }
.hero-information .button.primary:hover { background:#edc6ad; }
.hero-information .data-note { font-size:10px; max-width:450px; opacity:.8; line-height:1.6; margin:0; }
.hero-cinematic { background-image:linear-gradient(90deg,#16202100,#161f2122),url('/static/assets/portrait_cinematic.webp'); background-size:cover; background-position:center 30%; min-width:0; }
.hero-image-label { display:inline-block; position:absolute; right:25px; bottom:20px; padding:7px 10px; color:#f7e9dc; background:#162124b8; border:1px solid #b58a6b88; font-size:9px; letter-spacing:.15em; }
.actions-band { padding:27px 0 21px; }
.actions-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:14px; }
.actions-heading h2 { font-size:21px; letter-spacing:-.03em; margin:0; font-weight:650; }
.actions-heading p { font-size:12px; color:var(--pm-muted); margin:0; }
.action-buttons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.action-tile,.action-more>summary { width:100%; background:#fff; text-align:left; min-height:106px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; padding:15px 19px; color:#263333; border:1px solid var(--pm-line); border-radius:11px; transition:border-color .17s,transform .17s,background .17s; }
.action-tile:hover,.action-more>summary:hover { border-color:#c69981; background:#fefcf8; transform:translateY(-2px); }
.action-tile:first-child { background:#e7efe9; border-color:#c0d0c8; }
.tile-symbol { font-family:Georgia,serif; font-size:30px; color:#aa7660; line-height:1.1; font-weight:450; }
.action-tile strong,.action-more strong { font-size:13px; margin-top:5px; }
.action-tile small,.action-more small { font-size:11px; color:var(--pm-muted); }
.action-more { position:relative; }
.action-more summary { list-style:none; }
.action-more summary::-webkit-details-marker { display:none; }
.more-popover { position:absolute; z-index:7; right:0; top:calc(100% + 7px); width:max(210px,100%); background:white; padding:5px; border:1px solid #dbe1da; border-radius:10px; box-shadow:0 15px 30px #10232226; }
.more-popover button { border:0; text-align:left; display:block; padding:10px 12px; background:transparent; color:#27372f; width:100%; border-radius:6px; font-size:12px; }
.more-popover button:hover { background:#edf1e9; }
.overview-workflow { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:2px 0 14px; }
.work-panel { min-width:0; border:1px solid #e1e4de; border-radius:12px; background:#fff; padding:clamp(19px,2.5vw,28px); }
.panel-top { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:17px; }
.panel-top h2 { font-size:23px; letter-spacing:-.03em; font-weight:600; margin:3px 0 0; }
.panel-top>span { font-size:12px; color:#637874; }
.progress-line { height:7px; width:100%; background:#e8efeb; border-radius:99px; overflow:hidden; margin:0 0 17px; }
.progress-line>span { display:block; height:100%; background:linear-gradient(90deg,#75b4a1,#d0a389); border-radius:99px; transition:width .45s ease; }
.journey-steps { display:grid; gap:5px; }
.journey-step { border:0; background:#f5f7f3; border-radius:9px; color:#263431; min-height:48px; padding:9px 12px; display:flex; align-items:center; gap:13px; text-align:left; width:100%; font-size:13px; }
.journey-step:hover:not(:disabled) { background:#e9f0e9; }
.step-marker { display:grid; place-items:center; width:29px; height:29px; border:1px solid #ccd7cd; border-radius:50%; color:#9b705c; font-weight:700; font-size:11px; background:#fff; }
.journey-step.is-done { opacity:.77; }
.journey-step.is-done .step-marker { color:#285a48; background:#d9eee0; border-color:#b9d8c1; }
.step-go { margin-left:auto; color:#ad775f; }
.data-note { color:#697a75; font-size:11px; line-height:1.65; margin:13px 0 0; }
.milestone-panel { background:linear-gradient(140deg,#fffaf5 0%,#faf9f6 100%); }
.achievement-deco { width:45px; height:45px; border-radius:50%; display:grid; place-items:center; font-size:26px !important; color:#b26d56 !important; background:#f4e7db; }
.milestone-list { display:grid; gap:9px; min-height:125px; }
.achievement-row { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid #eee6dc; border-radius:10px; padding:10px; }
.achievement-gem { display:grid; place-items:center; border-radius:9px; width:31px; height:31px; color:#a36c59; background:#f9e8dc; font-size:20px; }
.achievement-name { font-size:13px; font-weight:600; }
.gentle-empty { color:#677873; font-size:12px; line-height:1.6; }
.minor-link { color:#356f65; background:transparent; border:0; padding:3px 0; font-size:12px; font-weight:650; }
.minor-link:hover { text-decoration:underline; }
.secondary-workflow .activity-panel,.secondary-workflow .invitation-panel { background:#fdfefb; }
.invitation-panel h2 { font-size:23px; letter-spacing:-.03em; margin:5px 0; }
.invitation-panel>p { color:#687871; font-size:12px; max-width:470px; }
.invite-copy { display:flex; gap:8px; align-items:center; }
.invite-copy input { min-width:0; width:100%; border:1px solid #d9e4dc; border-radius:8px; padding:10px; font-size:12px; background:#f8faf7; color:#24352f; }
.invite-copy button { white-space:nowrap; padding:11px 14px; border-radius:8px; }
.numbers-disclosure { margin:24px 0; border:1px solid #dae3d9; background:#fff; border-radius:10px; overflow:hidden; }
.numbers-disclosure>summary { list-style:none; font-weight:650; font-size:12px; color:#495e55; display:flex; justify-content:space-between; padding:12px 18px; }
.numbers-disclosure>summary::-webkit-details-marker { display:none; }
.numbers-disclosure .stats-row { margin:0; padding:15px; }
.filter-first { margin:12px 0; display:block; }
.filter-first label,.filter-first { font-size:12px; font-weight:650; }
.filter-first input { border:1px solid #cdd8d0; background:#fff; padding:10px 12px; border-radius:8px; width:100%; font-size:13px; margin-top:6px; }
.app-v13 .record-row[hidden] { display:none; }
.form-disclosure { margin:16px 0; background:#f5f8f4; border:1px solid #dce5da; border-radius:10px; }
.form-disclosure>summary { list-style:none; font-size:12px; font-weight:700; padding:12px 14px; }
.form-disclosure summary::-webkit-details-marker { display:none; }
.form-disclosure summary small { color:#61736b; font-size:11px; font-weight:400; margin-left:7px; }
.form-disclosure-body { padding:3px 15px 13px; }
.experience-settings { position:fixed; inset:0; z-index:90; display:grid; place-items:center; padding:18px; }
.experience-scrim { background:#071113b0; backdrop-filter:blur(5px); position:absolute; inset:0; }
.experience-sheet { position:relative; background:#fffdf9; border:1px solid #dde3dc; box-shadow:0 20px 85px #081c1e55; color:#20312e; padding:clamp(22px,4vw,43px); border-radius:18px; width:min(780px,100%); max-height:92vh; overflow:auto; }
.experience-sheet h2 { font-family:Georgia,serif; letter-spacing:-.04em; font-weight:500; font-size:clamp(29px,3vw,42px); margin:9px 0 5px; }
.experience-sheet p { color:#65756b; font-size:14px; }
.sheet-close { position:absolute; top:13px; right:19px; border:0; background:transparent; font-size:30px; color:#4c6260; }
.experience-sheet fieldset { border:0; padding:13px 0; margin:0 0 8px; }
.experience-sheet legend { font-size:13px; font-weight:750; margin:7px 0; }
.choice-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.choice-row label { display:flex; align-items:center; gap:10px; background:#f6f8f5; padding:13px; border:1px solid #dfe8dc; border-radius:9px; font-size:13px; cursor:pointer; }
.choice-row label:has(input:checked) { background:#e8f3ed; border-color:#7eaa92; color:#1c4e3a; }
.choice-row input { accent-color:#327e6c; }
.experience-sheet .button { margin:10px 8px 0 0; }
.milestone-toast { position:fixed; z-index:95; bottom:20px; right:20px; background:#101e20; border:1px solid #b08065; box-shadow:0 14px 36px #0005; color:#fff4ea; border-radius:12px; padding:14px 16px; max-width:min(410px,calc(100vw - 30px)); display:flex; gap:12px; align-items:center; }
.milestone-toast span { font-size:30px; color:#deb28f; }
.milestone-toast p { margin:0; font-size:12px; }
.milestone-toast button { border:1px solid #67746f; border-radius:6px; color:white; background:transparent; padding:6px; font-size:11px; }
.experience-personalization,.experience-feedback-box { margin-top:28px; padding-top:15px; border-top:1px solid #e0e6db; }
.experience-personalization select { width:100%; margin-top:7px; }
.experience-personalization .check-row { margin:12px 0 18px; }
/* Marketing cinematic feature is intentionally separate from clinical record history. */
.cinematic-scroll { position:relative; height:230vh; background:#111819; color:#faf5ee; }
.cinematic-sticky { height:100vh; width:100%; top:0; position:sticky; display:grid; grid-template-columns: 1fr 1fr; align-items:center; overflow:hidden; }
.cinematic-sticky:before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 66% 53%,#424843 0%,#111a1b 43%,#0b1214 80%); }
.cinematic-story { padding:clamp(24px,7vw,112px); z-index:2; }
.cinematic-story h2 { font:400 clamp(42px,5.6vw,85px)/1.05 Georgia,serif; letter-spacing:-.045em; max-width:640px; margin:14px 0 17px; }
.cinematic-story h2 em { color:#dba488; }
.cinematic-story p { max-width:480px; color:#d3dcd3; line-height:1.7; font-size:clamp(14px,1.5vw,18px); }
.cinematic-story .tiny-kicker { color:#dea58e; }
.cinematic-stage { position:relative; height:100%; min-width:0; display:grid; place-items:center; }
.cinematic-stage img,.cinematic-stage canvas { position:absolute; display:block; width:min(90%,670px); height:auto; max-height:90vh; aspect-ratio:1 / 1; object-fit:cover; border-radius:48% 48% 18% 18%; box-shadow:0 18px 85px #0009; }
.cinematic-stage canvas { z-index:2; opacity:0; }
.cinematic-stage .cinematic-art-caption { position:absolute; bottom:22px; right:24px; z-index:3; color:#d3ded6; opacity:.8; font-size:10px; }
.cinematic-progress { position:absolute; left:0; bottom:0; width:100%; height:3px; background:#55666355; }
.cinematic-progress>span { display:block; height:100%; width:0; background:#dfac8f; }
.cinema-off { height:auto; min-height:600px; }
.cinema-off .cinematic-sticky { min-height:600px; position:relative; }
.cinema-off canvas { display:none; }
/* Safer defaults and visual calm on smaller viewports */
@media (max-width:1100px) {
 .app-v13 .workspace-header .breadcrumb { display:none; }
 .overview-workflow { grid-template-columns:1fr 1fr; }
 .actions-heading { display:block; }
 .actions-heading p { margin-top:4px; }
}
@media (max-width:880px) {
 .app-v13 .workspace { grid-template-columns:1fr; }
 .app-v13 .sidebar { height:100dvh; max-height:100dvh; }
 .app-v13 .workspace-header { padding-inline:20px; }
 .global-search-wrap { width:auto; flex:1; }
 .cinematic-scroll { height:180vh; }
 .cinematic-sticky { grid-template-columns:1fr; }
 .cinematic-story { padding:8vw 6vw 5vw; align-self:start; }
 .cinematic-story h2 { font-size:clamp(35px,7vw,60px); }
 .cinematic-stage { height:auto; min-height:260px; align-items:start; }
 .cinematic-stage img,.cinematic-stage canvas { width:min(70%,450px); max-height:44vh; }
}
@media (max-width:700px) {
 .app-v13 .header-actions .env-pill { display:none; }
 .app-v13 .header-actions #headerName { display:none; }
 .app-v13 .workspace-header { height:65px; gap:9px; }
 .app-v13 .workspace-header .breadcrumb { display:flex; }
 .app-v13 .workspace-header .breadcrumb > span:not(#crumb),.app-v13 .workspace-header .breadcrumb b { display:none; }
 .global-search-wrap { flex:1; min-width:0; }
 .global-search-wrap input { padding:9px 12px 9px 34px; font-size:12px; }
 .global-search-wrap input::placeholder { color:transparent; }
 .global-search-wrap:focus-within input::placeholder { color:#879991; }
 .global-search-wrap kbd { display:none; }
 .app-v13 .work-content { padding:17px; }
 .new-experience-hero { grid-template-columns:1fr; min-height:490px; }
 .hero-information { min-height:360px; padding:25px; background:linear-gradient(180deg,#121b1de8,#131d1eee); }
 .hero-cinematic { min-height:180px; background-position:center 35%; }
 .overview-workflow { grid-template-columns:1fr; }
 .action-buttons { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .action-tile,.action-more>summary { padding:13px; min-height:96px; }
 .choice-row { grid-template-columns:1fr; }
 .cinematic-scroll { height:170vh; }
 .cinematic-story { padding:23px; }
 .cinematic-story h2 { font-size:35px; }
 .cinematic-story p { font-size:13px; }
 .cinematic-stage img,.cinematic-stage canvas { width:min(70%,350px); }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
 .action-tile:hover,.action-more>summary:hover { transform:none; }
}
.reduce-effects *, .reduce-effects *::before, .reduce-effects *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }

.studio-filter-label { display:block; color:#a7c5b5; font-size:11px; margin:9px 0; }
.studio-filter-label input { background:#253839; color:white; border:1px solid #527069; border-radius:8px; padding:8px 10px; width:100%; display:block; margin-top:5px; }
/* V14: explicit data custody and source evidence tools, added without changing the visual shell. */
.app-v14 .form-stage {margin:18px 0;padding:17px 17px 19px;background:#f8faf7;border:1px solid #d9e4dc;border-radius:13px}
.app-v14 .form-stage h3 {font-size:15px;color:#2e473b;margin:0 0 9px}
.app-v14 .record-checks {max-height:280px;overflow:auto;display:grid;gap:8px;padding:5px 0 7px}
.app-v14 .record-check {display:flex;align-items:flex-start;gap:10px;padding:10px;background:white;border:1px solid #dae3d9;border-radius:8px;cursor:pointer;font-size:12px}
.app-v14 .record-check:has(input:checked){background:#e3f2e8;border-color:#85ab97}
.app-v14 .record-check input {margin-top:3px;accent-color:#377c62}
.app-v14 .share-review{background:#f7f0e8;border-color:#e2d1c0}
.app-v14 .passport-extras{margin-top:23px}
.app-v14 .research-entry{border-top:1px solid #dde5db;padding:17px 0;display:grid;gap:6px}
.app-v14 .research-entry h3 {font-size:17px;color:#243b31;margin:0}
.app-v14 .research-entry p{font-size:12px;line-height:1.65;margin:0}
.app-v14 .research-entry small{letter-spacing:.09em;text-transform:uppercase;color:#7c776a;font-size:10px}
.app-v14 .research-entry .inline-link {justify-self:start;margin:7px 0}
.app-v14 .research-rule{border-bottom:1px solid #dde5db;padding:12px 0}
.app-v14 .research-rule b {font-size:13px;color:#243b31}
.app-v14 .research-rule p {font-size:12px;color:#5f7167;margin:6px 0 0}
.app-v14 .correction-entry{border:1px solid #dae3d9;border-radius:10px;padding:14px;margin:10px 0;display:grid;gap:8px}
.app-v14 .correction-entry p{font-size:12px;color:#5d6e66;margin:0}
.app-v14 .review-form{display:grid;gap:9px}
.app-v14 .review-form textarea{min-height:80px}
.app-v14 .record-actions {display:flex;flex-wrap:wrap;gap:8px}
.app-v14 .passport-extras input[type=file]{width:100%;padding:11px;border:1px solid #d8e4dc;background:#fff}
.app-v14 #vaultPreview{min-height:35px;margin:13px 0}
.app-v14 .view-heading h1{max-width:900px}
@media (max-width:700px){.app-v14 .form-stage{padding:13px}.app-v14 .record-checks{max-height:210px}.app-v14 .passport-extras .panel{padding:17px}}
.app-v14 .incoming-invitations:empty{display:none}
.app-v14 .invitation-response-panel{background:#edf7ef;border:1px solid #9ec7ac;border-radius:13px;padding:19px;margin:16px 0}
.app-v14 .invitation-response-panel h3{font-size:17px;margin:0 0 5px}
.app-v14 .invitation-response-panel p{font-size:12px;color:#34594a;margin:0 0 11px}

/* V18 adaptive canvas and alternate 24fps editorial preview. */
.cinematic-stage video{position:absolute;display:block;width:min(90%,670px);height:auto;max-height:90vh;aspect-ratio:1/1;object-fit:cover;border-radius:48% 48% 18% 18%;z-index:4;box-shadow:0 18px 85px #0009;}
.cinematic-stage video[hidden]{display:none !important;}
.cinematic-stage canvas{will-change:opacity;transition:opacity .16s ease;}
.cinematic-controls button:focus-visible{outline:3px solid #e4b696;outline-offset:3px;}
@media(max-width:950px){.cinematic-stage video{width:min(70%,450px);max-height:44vh}}
@media(max-width:600px){.cinematic-stage video{width:min(70%,350px)}}
@media(prefers-reduced-motion:reduce){.cinematic-stage canvas,.cinematic-stage video{display:none!important}}
