.page-demo { min-width: 320px; overflow-x: hidden; background: #071015; }
.demo-minimal-header { min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: 8px clamp(14px,2vw,30px); border-bottom: 1px solid var(--line); background: #081218; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.demo-brand { display: inline-flex; gap: 10px; align-items: center; justify-self: start; color: var(--text); text-decoration: none; letter-spacing: .13em; }
.demo-minimal-header .language-switch { justify-self: end; }
.demo-page { width: 100%; max-width: none; padding: clamp(10px,1.25vw,24px); }
.demo-layout { width: 100%; max-width: none; margin: 0; display: grid; grid-template-columns: minmax(300px,32%) minmax(0,68%); gap: 18px; align-items: start; }
.demo-left-column { height: calc(100vh - 94px); min-height: 650px; display: grid; grid-template-rows: minmax(210px,38%) minmax(0,62%); gap: 14px; }
.demo-side-panel { min-height: 0; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #0d1920; }
.demo-help-panel { padding: 22px; }.demo-help-panel h1 { margin-bottom: 12px; font-size: clamp(1.25rem,2vw,1.75rem); letter-spacing: -.02em; }.demo-help-panel p:last-child { color: var(--muted); }
.demo-panel-kicker { margin-bottom: 6px; color: var(--accent); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.demo-virtual-stand { padding: 18px; }.demo-stand-heading { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }.demo-stand-heading h2 { margin: 0; font-size: 1.2rem; }
.demo-badge { flex: none; padding: 4px 8px; border-radius: 999px; background: #4a3410; color: #ffd97a; font: .64rem ui-monospace,Consolas,monospace; }
.demo-connection-area { min-height: 190px; margin-top: 16px; display: grid; place-items: center; align-content: center; gap: 18px; border: 1px dashed #35515d; border-radius: 11px; background: repeating-linear-gradient(135deg,rgba(101,184,255,.025),rgba(101,184,255,.025) 10px,transparent 10px,transparent 20px); text-align: center; }
.demo-connection-placeholder { max-width: 260px; padding: 0 16px; color: #78909a; font-size: .8rem; }
.demo-signal-state { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .78rem; }.demo-signal-state i { width: 8px; height: 8px; border-radius: 50%; background: #52636a; }.demo-signal-state.is-active i { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.demo-scenario-summary { margin-top: 16px; }.demo-scenario-summary > span { display:block; color:var(--muted); font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; }.demo-scenario-summary strong { display:block; margin-top:3px; }.demo-scenario-summary p { margin:7px 0 0; color:var(--muted); font-size:.82rem; }
.demo-scenario-list { display: grid; gap: 8px; margin-top: 14px; }.demo-scenario-button { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #101f27; color: var(--text); text-align: left; cursor: pointer; }.demo-scenario-button:hover,.demo-scenario-button.is-active { border-color: var(--accent); }.demo-scenario-button.is-active { color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.demo-app-column { min-width: 0; }.demo-app-heading { min-height: 46px; display:flex; align-items:center; justify-content:space-between; gap:15px; padding:0 4px; color:var(--muted); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; }.demo-app-heading div { display:flex; gap:12px; align-items:baseline; }.demo-app-heading small { color:#607b86; text-transform:none; letter-spacing:0; }
.demo-tablet-frame { padding: 10px; overflow: hidden; border: 1px solid #36515d; border-radius: 18px; background: #020506; box-shadow: 0 28px 70px rgba(0,0,0,.4); }
.autonica-demo { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #202020; color: #fff; font-family: Roboto,"Segoe UI",sans-serif; container-type: inline-size; }
.demo-element { box-sizing: border-box; min-width: 0; min-height: 0; }.demo-absolute { position: absolute; }.demo-container { display: flex; overflow: hidden; }
.demo-element[hidden] { display: none !important; }
.demo-layout-row { flex-direction: row; }.demo-layout-column { flex-direction: column; }.demo-layout-grid { display: grid; }.demo-layout-free { display: block; }.demo-layout-free:not(.demo-absolute) { position: relative; }
.demo-button { display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; user-select: none; z-index: 1; }.demo-button:hover { filter: brightness(1.15); }.demo-button:active:not(:disabled) { filter: brightness(1.35); transform: scale(.985); }.demo-button.is-selected { outline: 3px solid #3b96ff; outline-offset: -3px; }.demo-button.is-pending { outline: 3px solid #ffd24a; outline-offset: -3px; }.demo-button:disabled { cursor: not-allowed; filter: grayscale(.8); opacity: .48; }
.demo-button:not(.demo-absolute) { position: relative; }
.demo-button img,.demo-image img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }.demo-button,.demo-button span,.demo-text,.demo-indicator { white-space: pre-wrap; overflow-wrap: anywhere; }.demo-button span { max-width:100%; max-height:100%; overflow:hidden; }.demo-text,.demo-indicator { display: flex; overflow: hidden; }
.demo-image.is-status-indicator { z-index: 2; pointer-events: none; }
.demo-input { padding: 2px 6px; color: #fff; background: #111; border: 1px solid #666; }.demo-slider { accent-color: #ff3030; cursor: pointer; }.demo-slider.is-vertical { writing-mode: vertical-lr; direction: rtl; }.demo-slider:disabled { cursor:not-allowed; opacity:.45; }.demo-indicator.is-blinking { animation:demo-indicator-blink var(--demo-blink-period,500ms) steps(1,end) infinite; }.demo-progress { overflow: hidden; background: #333; }.demo-progress > i { display:block; width:58%; height:100%; background:#36d493; }
@keyframes demo-indicator-blink { 0%,49.99% { color:var(--demo-indicator-color,#fff); } 50%,100% { color:transparent; } }
.demo-switch { cursor: pointer; }.demo-switch.is-on { box-shadow: inset 0 0 0 3px #36d493; }.demo-scope canvas { width: 100%; height: 100%; display: block; }
.demo-placeholder { display:flex; align-items:center; justify-content:center; border:1px dashed #d68b38; background:rgba(90,52,10,.32); color:#ffd08a; font-size:clamp(7px,1.2cqw,13px); text-align:center; }.demo-noscript { color:#ffb0a8; }
@media (max-width: 1050px) { .demo-layout { grid-template-columns: 1fr; }.demo-left-column { height:auto; min-height:0; grid-template-columns:1fr 1fr; grid-template-rows:none; }.demo-side-panel { max-height:440px; }.demo-app-column { grid-row:1; }.demo-left-column { grid-row:2; } }
@media (max-width: 680px) { .demo-minimal-header { grid-template-columns:1fr auto; }.demo-minimal-header > span { display:none; }.demo-page { padding:10px; }.demo-left-column { grid-template-columns:1fr; }.demo-tablet-frame { padding:5px; border-radius:10px; }.demo-app-heading { align-items:flex-start; flex-direction:column; padding:8px 2px; }.demo-app-heading div { flex-direction:column; gap:2px; } }
