/* Pilot uses existing SOLARGY Exo 2, orange actions and lower glass-panel identity. */
@media (min-width:801px) {
  /* Production is the visual reference; both chapters consume these same surfaces. */
  :is(#screen-2,#screen-partner) :is(.production-panel,.partner-scene-panel){border:1px solid #adcfe96b;border-radius:28px;background:linear-gradient(130deg,#172f45e8,#285469b8);color:#fff;backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #fff5,0 20px 65px #07162455;transition:background .6s,border-color .4s,box-shadow .4s}
  :is(#screen-2,#screen-partner) :is(.production-panel,.partner-scene-panel):is(:hover,:focus-within){border-color:#a5e8ffb0;box-shadow:inset 0 1px 0 #ffffff70,-8px 0 32px #50cfff18,8px 0 36px #af91ff18,0 20px 55px #0a273938}
  body:not(.preview-night) :is(#screen-2,#screen-partner) :is(.production-panel,.partner-scene-panel){background:linear-gradient(125deg,#ffffffed,#eef8ffdc 65%,#d8edf6d9);border-color:#ffffffcc;color:#173b53;box-shadow:inset 0 1px 0 #fff,0 18px 60px #153c5030}
  .editorial-flow #screen-2.production-scene-screen{padding:180px 0 48px;min-height:100svh;align-items:flex-end;background:#143749;isolation:isolate;overflow-anchor:none;scroll-margin-top:-150px}
  #screen-2.production-scene-screen .production-layout{width:min(1320px,calc(100% - 180px));z-index:2}
  #screen-2.production-scene-screen .production-panel{padding:0 32px 18px;overflow:visible}
  #screen-2 .production-scene-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:38% center;opacity:0;transition:opacity .35s;pointer-events:none;z-index:0}
  #screen-2 .production-scene-image.is-selected{opacity:1}
  .editorial-flow #screen-2.production-scene-screen[data-production-scene="technology"]{background:#e9f5fb}
  #screen-2 .production-scene-image[data-scene-image="technology"]{object-fit:contain;object-position:70% top;height:77%;width:80%;left:20%;top:7%}
  #screen-2 .production-scene-image[data-scene-image="documents"]{object-position:center 35%}
  #screen-2[data-production-scene="technology"]::after{background:linear-gradient(0deg,#12334c4d,transparent 50%);pointer-events:none}
  #screen-2 .production-scene-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #8baac055}
  :is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs){display:flex;gap:6px;flex-wrap:wrap}
  :is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs) button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:10px 18px;border:1px solid transparent;border-radius:14px;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
  #screen-2 .scene-tab-number{font-size:11px;font-weight:500;opacity:.65}
  :is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs) button:hover{background:#83d8ef26;border-color:#82c6db80}
  :is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs) button[aria-selected="true"]{background:#e1f4fc;color:#105b7c;border-color:#90c5dc;box-shadow:inset 0 1px 0 #fff8}
  #screen-2 .production-scene-tabs button:focus-visible,#screen-2 .production-scene-arrows button:focus-visible,#screen-2 .production-scene-content:focus-visible{outline:3px solid #ff8a00;outline-offset:3px}
  #screen-2 .production-scene-count{font-size:12px;font-weight:600;letter-spacing:1px;white-space:nowrap}
  #screen-2 .production-scene-panels{display:grid;padding:24px 0 20px}
  #screen-2 .production-scene-content{grid-area:1/1;display:grid;grid-template-columns:1.65fr 1fr;gap:40px;align-items:center;visibility:hidden;opacity:0;pointer-events:none}
  #screen-2 .production-scene-content.is-selected{visibility:visible;opacity:1;pointer-events:auto}
  #screen-2 .production-scene-content h2{font-size:clamp(26px,2.1vw,36px);line-height:1.14;margin-bottom:12px;max-width:740px}
  #screen-2 .production-scene-content .lead{font-size:15px;line-height:1.55;max-width:700px;margin-bottom:20px}
  #screen-2 .production-scene-content .button{display:inline-flex;gap:18px;min-height:48px;align-items:center}
  #screen-2 .production-scene-aside{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:22px 24px;border:1px solid #86aec75c;border-radius:20px;background:#c2e6f51c}
  #screen-2 .scene-aside-label{font-size:10px;font-weight:700;letter-spacing:1.4px;margin:0 0 14px;line-height:1.4;color:#386c87}
  #screen-2 .scene-points{margin:0;padding-left:18px;display:grid;gap:11px;font-size:14px;line-height:1.5}
  #screen-2 .scene-aside-copy{font-size:15px;line-height:1.5;margin:0 0 12px}
  #screen-2 .scene-text-link,#screen-2 .scene-document-links a{font-size:14px;font-weight:600;line-height:1.4;text-decoration:underline;text-underline-offset:4px}
  #screen-2 .scene-text-link{display:inline-flex;align-items:center;min-height:44px}
  #screen-2 .scene-document-links{display:grid;gap:0}
  #screen-2 .scene-document-links a{display:flex;align-items:center;min-height:44px;border-bottom:1px solid #8baac044}
  #screen-2 .scene-document-links a:last-child{border-bottom:0}
  #screen-2 .scene-text-link:hover,#screen-2 .scene-document-links a:hover{color:#a55000}
  #screen-2 .production-scene-footer{border-top:1px solid #8baac055;padding-top:12px;display:flex;gap:20px;justify-content:space-between;align-items:center}
  #screen-2 .production-scene-footer>p{margin:0;font-size:12px;line-height:1.5}
  #screen-2 .production-scene-arrows{display:flex;gap:10px}
  #screen-2 .production-scene-arrows button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #89abc4;border-radius:50%;background:#ffffff8c;color:#133a52;cursor:pointer}
  #screen-2 .production-scene-arrows button:first-child img{transform:rotate(180deg)}
  #screen-2 .production-scene-arrows button:hover:not(:disabled){background:#ff9d37;border-color:#e37a00}
  #screen-2 .production-scene-arrows button:disabled{opacity:.35;cursor:not-allowed}
  body.preview-night :is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs) button[aria-selected="true"]{background:#305d76;color:#f2f9ff;border-color:#8bb9d1}
  body.preview-night #screen-2 .scene-aside-label{color:#b1d5e7}
  body.preview-night #screen-2 .scene-text-link:hover,body.preview-night #screen-2 .scene-document-links a:hover{color:#ffb86b}
  body.preview-night #screen-2.production-scene-screen[data-production-scene="technology"]{background:#17364c}
}
@media (min-width:801px) and (max-width:1100px) {
  #screen-2.production-scene-screen .production-layout{width:calc(100% - 150px)}
  #screen-2.production-scene-screen .production-panel{padding:0 24px 16px}
  :is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs) button{font-size:14px;padding:10px 12px;gap:8px}
  #screen-2 .production-scene-content{grid-template-columns:1.35fr 1fr;gap:20px}
  #screen-2 .production-scene-aside{padding:18px}
  #screen-2 .production-scene-content h2{font-size:28px}
}
@media (min-width:801px) and (max-height:760px) {
  .editorial-flow #screen-2.production-scene-screen{padding-top:160px;padding-bottom:24px}
  #screen-2 .production-scene-panels{padding:18px 0}
  #screen-2 .production-scene-content h2{font-size:28px}
  #screen-2 .production-scene-image[data-scene-image="technology"]{height:83%;top:1%}
}
@media (prefers-reduced-motion:reduce) {
  #screen-2 .production-scene-image,:is(#screen-2,#screen-partner) :is(.production-scene-tabs,.partner-scene-tabs) button,:is(#screen-2,#screen-partner) :is(.production-panel,.partner-scene-panel){transition:none}
}
@media (min-width:801px) and (pointer:coarse) {
  .editorial-flow #screen-2.production-scene-screen{scroll-margin-top:0}
}
