/* =========================================================
   PXE Stand — etkinlik, fuar & organizasyon planlama (os-st-)
   Üstte iş sekmeleri (.os-kat-bar), solda çalışma alanı,
   sağda açıklama kutusu + sekmenin araçları.
   ========================================================= */
.os-st { position: relative; height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 4px; background: #0D0C0B; container-type: inline-size; }

/* üst bar: menüler + şablon / dosya adı */
.os-st-top { flex: none; min-height: 36px; display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.os-st-menus { display: flex; gap: 1px; min-width: 0; overflow: hidden; }
.os-st-menus button { padding: 5px 8px; border-radius: 5px; font-size: 12px; color: #B9B2A6; white-space: nowrap; }
.os-st-menus button:hover { background: var(--os-p2); color: var(--os-fg); }
.os-st-doc, .os-st-fn { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; min-width: 0; }
.os-st-doc span, .os-st-fn span { font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--os-mut); }
.os-st-doc select { height: 28px; max-width: 220px; padding: 0 8px; border-radius: 6px; background: #1A1918; border: 1px solid var(--os-line); color: var(--os-fg); font: 400 11px/1 var(--f-mono); outline: none; cursor: pointer; }
.os-st-doc select:focus { border-color: var(--red); }
.os-st-fn b { font: 400 11px/1 var(--f-mono); color: var(--os-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-st:not([data-tab="fuar"]) .os-st-doc, .os-st[data-tab="fuar"] .os-st-fn { display: none; }

/* iş sekmeleri */
.os-st-kb { flex: none; border-radius: 6px 6px 0 0; }

/* ana ızgara: çalışma alanı | sağ panel */
.os-st-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4px; }
.os-st-work { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.os-st-work > [data-st-view] { flex: 1; min-height: 0; }
.os-st-side { display: block; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.os-st-kat { border-bottom: 1px solid var(--os-line); }
.os-st-tool > .os-pnl-h { position: sticky; top: 0; z-index: 2; background: var(--os-p1); }
.os-st-tool .os-pnl-h .os-badge { flex: none; }
.os-st-tb2 { padding: 14px; }
.os-st-tb2 > .os-st-lbl:first-child { margin-top: 0; }
.os-st .btn[disabled] { opacity: .45; pointer-events: none; }

/* fuar standı: modül paleti | izometrik stand */
.os-st-ed { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px; }
.os-st-pl { flex: 1; min-height: 0; overflow: auto; padding: 6px; display: grid; align-content: start; gap: 2px; }
.os-st-pi { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 8px; padding: 5px; border-radius: 6px; text-align: left; cursor: grab; transition: background .15s; }
.os-st-pi:hover { background: var(--os-p2); }
.os-st-pi:active { cursor: grabbing; }
.os-st-pic { width: 46px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: #121110; touch-action: none; }
.os-st-pic svg { width: 38px; height: 34px; overflow: visible; }
.os-st-pi b { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.os-st-pi small { display: block; margin-top: 2px; font: 400 9px/1.3 var(--f-mono); color: var(--os-mut); }
.os-st-pn { flex: none; padding: 6px 10px 9px; }
.os-st-pn .os-badge { margin-left: 0; }

/* sahne (izometrik görünüm) */
.os-st-stage { min-height: 0; }
.os-st-tb { flex: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; padding: 6px 8px; border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-st-sizes { display: flex; gap: 2px; padding: 2px; border-radius: 7px; background: #0E0D0C; }
.os-st-sizes button { height: 26px; padding: 0 10px; border-radius: 5px; font: 400 10.5px/1 var(--f-mono); color: var(--os-mut); white-space: nowrap; }
.os-st-sizes button:hover { color: var(--os-fg); }
.os-st-sizes button[aria-pressed="true"] { background: var(--os-p3); color: #F2EEE7; box-shadow: inset 0 -2px 0 var(--red); }
.os-st-tools { display: flex; flex-wrap: wrap; gap: 5px; }
.os .os-st-tools .chip { height: 26px; padding: 0 11px; font-size: 11px; color: var(--os-fg); }
.os-st-cv { position: relative; flex: 1; min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% 42%, #1F1D1B, #0E0D0C 72%); }
.os-st-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.os-st.is-place .os-st-cv { box-shadow: inset 0 0 0 2px rgba(61, 139, 255, .45); }
.os-st.is-place, .os-st.is-place * { cursor: copy !important; }
.os-st-m { cursor: grab; }
.os-st-m:active { cursor: grabbing; }
.os-st-m polygon { stroke: rgba(14, 13, 12, .35); stroke-width: .5; stroke-linejoin: round; }
.os-st-m.is-sel polygon { stroke: #3D8BFF; stroke-width: 1.1; }
.os-st-m.is-bad polygon { stroke: #FF4A3D; stroke-width: 1.1; }
.os-st-m .os-st-fp { fill: rgba(61, 139, 255, .16); stroke: #3D8BFF; stroke-width: 1.2; stroke-dasharray: 4 3; }
.os-st-m.is-bad .os-st-fp { fill: rgba(225, 37, 27, .24); stroke: #FF4A3D; }
.os-st-m.is-ghost { opacity: .62; pointer-events: none; }
.os-st-ai { fill: rgba(242, 238, 231, .035); }
.os-st-ait { fill: rgba(242, 238, 231, .2); font-family: var(--f-mono); font-weight: 700; letter-spacing: .8px; }
.os-st-dim { fill: var(--os-mut); font: 400 9px var(--f-mono); }
.os-st-lb, .os-st-pp, .os-st-sky, .os-st-hm, .os-st-fl text { pointer-events: none; }
.os-st-tag rect { fill: rgba(14, 13, 12, .84); stroke: rgba(242, 238, 231, .2); stroke-width: .6; }
.os-st-tag text { fill: #F2EEE7; font: 700 8px var(--f-mono); letter-spacing: .2px; }
.os-st-tag.is-sel rect { fill: #3D8BFF; stroke: none; }
.os-st-tag.is-bad rect { fill: #E1251B; stroke: none; }
.os-st-cab { stroke: rgba(242, 238, 231, .35); stroke-width: .8; fill: none; }
.os-st-sim { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 7px 10px; border-radius: 8px; background: rgba(14, 13, 12, .8); border: 1px solid var(--os-line); font: 400 10.5px/1.3 var(--f-mono); color: #CFC8BB; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.os-st-sim b { color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.os-st-sim em { font-style: normal; font-weight: 700; color: #F2EEE7; }
.os-st-hint { position: absolute; right: 10px; bottom: 8px; font: 400 10px/1 var(--f-mono); color: var(--os-mut); pointer-events: none; }
.os-st.is-flow .os-st-hint { opacity: .4; }

/* denetçi (fuar sekmesinin sağ panel aracı) */
.os-st-it { position: sticky; top: 0; z-index: 2; display: flex; background: var(--os-p1); border-top: 1px solid var(--os-line); border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-st-it button { flex: 1; height: 34px; font-size: 11.5px; font-weight: 600; color: var(--os-mut); white-space: nowrap; transition: color .15s; }
.os-st-it button:hover { color: var(--os-fg); }
.os-st-it button[aria-selected="true"] { color: #F2EEE7; box-shadow: inset 0 -2px 0 var(--red); }
.os-st-ib { padding: 14px; }
.os-st-ib .os-h3 em, .os-st-hb .os-h3 em { font-size: .7em; color: var(--os-mut); }
.os-st-mh { display: flex; align-items: center; gap: 12px; }
.os-st-mi { flex: none; width: 64px; height: 58px; display: grid; place-items: center; border-radius: 8px; background: #121110; }
.os-st-mi svg { width: 54px; height: 50px; overflow: visible; }
.os-st-mh .os-h3 { margin: 4px 0 0; font-size: 16px; }
.os-st-warn, .os-st-okp { margin-top: 10px; padding: 8px 10px; border-radius: 7px; font-size: 12px; line-height: 1.45; }
.os-st-warn { background: rgba(225, 37, 27, .14); color: #F08C84; }
.os-st-okp { background: rgba(46, 140, 106, .14); color: #7FD1AE; }
.os-st-dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #121110; }
.os-st-dl dt { font: 400 9.5px/1.6 var(--f-mono); text-transform: uppercase; color: var(--os-mut); }
.os-st-dl dd { font: 400 11px/1.6 var(--f-mono); text-align: right; }
.os-st-lbl { margin: 14px 0 7px; font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--os-mut); }
.os-st-sw { display: flex; flex-wrap: wrap; gap: 7px; }
.os-st-sw button { width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: transform .15s; }
.os-st-sw button:hover { transform: scale(1.1); }
.os-st-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px #1A1918, 0 0 0 4px #F2EEE7; }
.os-st-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: #CFC8BB; }
.os-st-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.os .os-st-acts .chip { height: 30px; font-size: 11.5px; color: var(--os-fg); }
.os-st-acts kbd { margin-left: 4px; }
.os .os-st-acts .os-st-del { color: #F08C84; }
.os-st-occ { display: grid; grid-template-columns: 62px 1fr 40px; align-items: center; gap: 8px; margin-top: 2px; font-size: 12px; }
.os-st-occ i { height: 6px; border-radius: 3px; background: #2A2826; overflow: hidden; }
.os-st-occ b { display: block; height: 100%; border-radius: 3px; background: #2E8C6A; transition: width .3s var(--ease); }
.os-st-occ b.is-w { background: #E2B33C; }
.os-st-occ em { font: 400 11px/1 var(--f-mono); font-style: normal; text-align: right; }
.os-st-hints { display: grid; gap: 5px; margin-top: 12px; }
.os-st-hints li { position: relative; padding: 7px 10px 7px 30px; border-radius: 7px; background: #121110; font-size: 12px; line-height: 1.4; }
.os-st-hints li::before { position: absolute; left: 9px; top: 8px; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; font: 700 9px/1 var(--f-mono); }
.os-st-hints .is-w { color: #F3C969; }
.os-st-hints .is-w::before { content: "!"; background: #E2B33C; color: #0E0D0C; }
.os-st-hints .is-ok { color: #7FD1AE; }
.os-st-hints .is-ok::before { content: "✓"; background: #2E8C6A; color: #F2EEE7; }
.os-st-fld { display: grid; gap: 6px; margin-top: 12px; }
.os-st-fld > span { font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--os-mut); }
.os-st-fld input { width: 100%; height: 36px; padding: 0 11px; border-radius: 8px; background: #0E0D0C; border: 1px solid var(--os-line); color: var(--os-fg); font-size: 13px; outline: none; color-scheme: dark; }
.os-st-fld input:focus { border-color: var(--red); }
.os-st-fls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.os-st-fls button { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--os-line); font-size: 11.5px; color: #CFC8BB; text-align: left; }
.os-st-fls i { width: 16px; height: 16px; flex: none; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.os-st-fls button[aria-pressed="true"] { border-color: #F2EEE7; color: #F2EEE7; }
.os-st-tip { margin-top: 14px; font: 400 10.5px/1.5 var(--f-mono); color: var(--os-mut); }
.os-st-disc { font-size: 12px; line-height: 1.5; color: #CFC8BB; }
.os-st-disc .os-badge { margin: 0 6px 0 0; }
.os-st-split { display: flex; height: 8px; margin-top: 14px; border-radius: 4px; overflow: hidden; background: #2A2826; }
.os-st-split i:first-child { background: #E2B33C; }
.os-st-split i:nth-child(2) { background: #6E6A64; }
.os-st-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font: 400 10px/1.3 var(--f-mono); color: var(--os-mut); }
.os-st-leg span { display: flex; align-items: center; gap: 5px; }
.os-st-leg i { width: 8px; height: 8px; border-radius: 2px; background: #6E6A64; }
.os-st-leg span:first-child i { background: #E2B33C; }
.os-st-bt { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 12px; }
.os-st-bt td { padding: 6px 0; border-bottom: 1px solid rgba(242, 238, 231, .06); vertical-align: top; }
.os-st-bt td:last-child { padding-left: 10px; text-align: right; white-space: nowrap; font: 400 11px/1.5 var(--f-mono); }
.os-st-bt tr.is-m td:first-child { color: #E2B33C; }
.os-st-bt tfoot td { padding-top: 10px; border-bottom: 0; font-weight: 700; color: #F2EEE7; }
.os-st-bt tfoot td:last-child { font-weight: 700; font-size: 12px; color: #E2B33C; }
.os-st-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.os .os-st-cta .btn { height: 34px; padding: 0 14px; font-size: 10px; }
.os-st-pg { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-top: 12px; font: 400 10.5px/1 var(--f-mono); color: var(--os-mut); }
.os-st-pg i { height: 6px; border-radius: 3px; background: #2A2826; overflow: hidden; }
.os-st-pg b { display: block; height: 100%; border-radius: 3px; background: #2E8C6A; transition: width .4s var(--ease); }
.os-st-prep { display: grid; gap: 4px; margin-top: 12px; }
.os-st-prep label { display: grid; grid-template-columns: 16px 40px minmax(0, 1fr); align-items: start; gap: 8px; padding: 8px 10px; border-radius: 7px; background: #121110; cursor: pointer; transition: background .15s; }
.os-st-prep label:hover { background: #1F1D1B; }
.os-st-prep input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #2E8C6A; cursor: pointer; }
.os-st-prep b { font: 700 10.5px/1.5 var(--f-mono); color: #E2B33C; }
.os-st-prep span { font-size: 12.5px; line-height: 1.4; }
.os-st-prep small { display: block; margin-top: 2px; font: 400 10px/1.3 var(--f-mono); color: var(--os-mut); }
.os-st-prep .is-done span { color: var(--os-mut); text-decoration: line-through; }
.os-st-prep .is-done b { color: #2E8C6A; }
.os-st-prep .is-late small { color: #F08C84; }

/* salon planı (organizasyon sekmesi) */
.os-st-hst { min-height: 0; }
.os-st-hcv { position: relative; flex: 1; min-height: 0; background: #121110 radial-gradient(rgba(242, 238, 231, .05) 1px, transparent 1px) 0 0 / 16px 16px; }
.os-st-hsvg { position: absolute; left: 10px; top: 10px; width: calc(100% - 20px); height: calc(100% - 20px); display: block; touch-action: none; }
.os-st-hall { fill: #1E1C1A; stroke: rgba(242, 238, 231, .2); stroke-width: 1; }
.os-st-hg { fill: none; stroke: rgba(242, 238, 231, .05); stroke-width: .6; }
.os-st-stg { fill: #2E2C29; stroke: #E1251B; stroke-width: 1.2; }
.os-st-kur { fill: #7D0A0A; }
.os-st-ht { fill: #F2EEE7; font: 700 7.5px var(--f-mono); letter-spacing: .5px; }
.os-st-seats rect, .os-st-seats circle { fill: #A39B8F; }
.os-st-seats .os-st-tbl { fill: #3A3633; stroke: rgba(242, 238, 231, .3); stroke-width: .6; }
.os-st-hi { cursor: grab; }
.os-st-hi:active { cursor: grabbing; }
.os-st-hi rect { fill: rgba(61, 139, 255, .18); stroke: #3D8BFF; stroke-width: 1; stroke-dasharray: 3 2; transition: fill .15s; }
.os-st-hi:hover rect { fill: rgba(61, 139, 255, .32); }
.os-st-hi text { fill: #CFE0FF; font: 700 6.5px var(--f-mono); pointer-events: none; }
.os-st-door { fill: #E2B33C; }
.os-st-dt { fill: #E2B33C; font: 700 6.5px var(--f-mono); letter-spacing: .5px; }
.os-st-exit { fill: #2E8C6A; }
.os-st-beams { pointer-events: none; mix-blend-mode: screen; }
.os-st-beam { transform-box: fill-box; transform-origin: 50% 0; animation: osStBeam 2.8s ease-in-out infinite alternate; }
@keyframes osStBeam { from { transform: translateX(-28%) scaleY(.9); opacity: .55; } to { transform: translateX(28%) scaleY(1.05); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .os-st-beam { animation: none; } }
.os-st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.os .os-st-chips .chip { height: 28px; padding: 0 11px; font-size: 11.5px; color: var(--os-fg); }
.os-st-cap { display: grid; grid-template-columns: 62px 1fr 70px; align-items: center; gap: 10px; margin: 16px 0 12px; font-size: 12px; }
.os-st-cap output { font: 400 11px/1 var(--f-mono); text-align: right; }
.os-st-hstat { margin: 6px 0 18px; }

/* organizasyon: salon planı + akış */
.os-st-org { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 4px; }
.os-st-stg.is-on { fill: #3A1A16; stroke-width: 2.2; }
.os-st-hi.is-on rect { fill: rgba(226, 179, 60, .3); stroke: #E2B33C; stroke-dasharray: none; }
.os-st-hi.is-on text { fill: #FFE6A6; }
.os-st-flow { flex: none; }
.os-st-fh { display: flex; align-items: center; gap: 8px; }
.os-st-clk { font-style: normal; font-size: 12px; color: #F2EEE7; letter-spacing: .04em; }
.os .os-st-fh .chip { height: 22px; padding: 0 10px; font-size: 10.5px; letter-spacing: 0; text-transform: none; color: var(--os-fg); }
.os-st-tl { overflow-x: auto; padding: 12px 10px 10px; scrollbar-width: thin; }
.os-st-tlw { position: relative; min-width: 720px; }
.os-st-tls { display: flex; }
.os-st-tls button { min-width: 0; height: 60px; padding: 8px; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: left; background: #121110; border-left: 1px solid rgba(242, 238, 231, .07); overflow: hidden; transition: background .2s, box-shadow .2s; }
.os-st-tls button:first-child { border-left: 0; border-radius: 6px 0 0 6px; }
.os-st-tls button:last-child { border-radius: 0 6px 6px 0; }
.os-st-tls button:hover { background: #1F1D1B; }
.os-st-tls button.is-on { background: rgba(225, 37, 27, .16); box-shadow: inset 0 -2px 0 var(--red); }
.os-st-tls b { font: 700 10px/1 var(--f-mono); color: #E2B33C; }
.os-st-tls span { font-size: 11.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-st-tls small { font: 400 9.5px/1 var(--f-mono); color: var(--os-mut); white-space: nowrap; }
.os-st-tls button.is-done span { color: var(--os-mut); }
.os-st-ph { position: absolute; top: -6px; bottom: -4px; left: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: #F2EEE7; box-shadow: 0 0 0 3px rgba(242, 238, 231, .1); pointer-events: none; }
.os-st-ph::before { content: ""; position: absolute; top: -2px; left: -4px; border: 5px solid transparent; border-top-color: #F2EEE7; }

/* sahne / lansman / aktivasyon tuvalleri */
.os-st-scv, .os-st-lcv, .os-st-acv { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0B0A09; }
.os-st-ssvg, .os-st-lsvg, .os-st-asvg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* sahne tasarımı: ön görünüş */
.os-st-trs { fill: none; stroke: #8E877C; stroke-width: 1.4; }
.os-st-trl { fill: none; stroke: #6E6A64; stroke-width: .8; }
.os-st-cbl { fill: none; stroke: rgba(242, 238, 231, .28); stroke-width: 1; }
.os-st-spk { fill: #1F1D1B; stroke: #3A3633; stroke-width: 1; }
.os-st-deck { fill: #24221F; }
.os-st-step { fill: #2E2C29; }
.os-st-stl { fill: none; stroke: rgba(14, 13, 12, .6); stroke-width: 1.2; }
.os-st-pod { fill: #1F1D1B; stroke: rgba(242, 238, 231, .14); }
.os-st-mc { fill: #0E0D0C; stroke: rgba(242, 238, 231, .18); stroke-width: .8; }
.os-st-crowd { fill: #050404; stroke: rgba(242, 238, 231, .06); }
.os-st-crowd2 { fill: #0E0D0C; }
.os-st-sdim { fill: var(--os-mut); font: 400 11px var(--f-mono); letter-spacing: .06em; }
.os-st-sbms { pointer-events: none; }
.os-st-sbm { mix-blend-mode: screen; animation: osStSwing 3.2s ease-in-out infinite alternate; }
@keyframes osStSwing { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }

/* lansman & açılış */
.os-st-lzt { font-family: Unbounded, sans-serif; font-weight: 800; fill: #F2EEE7; letter-spacing: -.02em; }
.os .os-st-lgo { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); height: 38px; padding: 0 18px; font-size: 11px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.os .os-st-lgo:hover { transform: translate(-50%, -2px); }
.os-st-steps { display: grid; gap: 4px; counter-reset: st; }
.os-st-steps li { position: relative; padding: 8px 10px 8px 34px; border-radius: 7px; background: #121110; font-size: 12px; line-height: 1.4; color: #CFC8BB; counter-increment: st; transition: background .2s, color .2s; }
.os-st-steps li::before { content: counter(st); position: absolute; left: 9px; top: 7px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #2A2826; font: 700 9.5px/1 var(--f-mono); color: var(--os-mut); }
.os-st-steps li.is-on { background: rgba(225, 37, 27, .16); color: #F2EEE7; }
.os-st-steps li.is-on::before { background: var(--red); color: #fff; }
.os-st-steps li.is-done { color: var(--os-mut); }
.os-st-steps li.is-done::before { content: "✓"; background: #2E8C6A; color: #F2EEE7; }

/* marka aktivasyonu: AVM planı */
.os-st-shop { fill: #26241F; stroke: rgba(242, 238, 231, .08); }
.os-st-alb { fill: #8E877C; font: 400 11px var(--f-mono); letter-spacing: .06em; }
.os-st-alr { fill: #F08C84; font: 700 10.5px var(--f-mono); letter-spacing: .08em; }
.os-st-azone { fill: rgba(225, 37, 27, .05); stroke: #E1251B; stroke-width: 1.5; stroke-dasharray: 6 5; }
.os-st-off { opacity: .22; }
.os-st-whl { transform-box: fill-box; transform-origin: center; animation: osStSpin 7s linear infinite; }
@keyframes osStSpin { to { transform: rotate(360deg); } }
.os-st-off .os-st-whl { animation: none; }
.os-st-app circle { stroke: rgba(14, 13, 12, .7); stroke-width: 1.2; }

/* promosyon ürünleri */
.os-st-grid { flex: 1; min-height: 0; overflow: auto; padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-content: start; gap: 10px; }
.os-st-pc { display: flex; flex-direction: column; min-width: 0; border-radius: 10px; overflow: hidden; background: #121110; text-align: left; box-shadow: inset 0 0 0 1px rgba(242, 238, 231, .06); transition: box-shadow .2s, transform .2s var(--ease); }
.os-st-pc:hover { transform: translateY(-2px); }
.os-st-pc[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--red); }
.os-st-pv, .os-st-pmi { background: radial-gradient(circle at 50% 42%, #EAE4D9, #B3AB9E 78%); }
.os-st-pv { display: block; aspect-ratio: 1 / 1; }
.os-st-pv svg { width: 100%; height: 100%; display: block; }
.os-st-pc b { padding: 10px 12px 0; font-size: 13px; font-weight: 700; }
.os-st-pc small { padding: 4px 12px 11px; font: 400 10px/1.35 var(--f-mono); color: var(--os-mut); }
.os-st-pv .po, .os-st-pmi .po { stroke: rgba(14, 13, 12, .22); stroke-width: 1.2; }
.os-st-stm { animation: osStSteam 2.4s ease-in-out infinite; }
@keyframes osStSteam { 0%, 100% { opacity: .2; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) { .os-st-beam, .os-st-sbm, .os-st-whl, .os-st-stm { animation: none; } }

/* durum çubuğu */
.os-st-bar { flex: none; height: 26px; display: flex; align-items: center; gap: 14px; padding: 0 10px; border-radius: 6px; background: #151413; font: 400 10.5px/1 var(--f-mono); color: var(--os-mut); white-space: nowrap; overflow: hidden; }
.os-st-bar b { color: var(--os-fg); }
.os-st-bar .is-w { color: #F08C84; }
.os-st-br { margin-left: auto; }

/* dar pencere */
@container (max-width: 1060px) {
  .os-st-main { grid-template-columns: minmax(0, 1fr) 270px; }
  .os-st-ed { grid-template-columns: 172px minmax(0, 1fr); }
  .os-st-menus { display: none; }
}
/* tablet / mobil: çalışma alanı üstte, açıklama kutusu ve araçlar altında */
@container (max-width: 860px) {
  .os-st-main { display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; }
  .os-st-work, .os-st-side, .os-st-work > [data-st-view] { flex: none; }
  .os-st-side { overflow: visible; }
  .os-st-it, .os-st-tool > .os-pnl-h { position: static; }
  .os-st-ed { display: flex; flex-direction: column; gap: 4px; }
  .os-st-ed > .os-pnl { flex: none; }
  .os-st-stage { order: 1; height: 420px; }
  .os-st-pal { order: 2; }
  .os-st-pl { display: flex; overflow-x: auto; overflow-y: hidden; }
  .os-st-pi { flex: none; width: 196px; }
  .os-st-pn, .os-st-hint, .os-st-br { display: none; }
  .os-st-scv, .os-st-lcv { flex: none; aspect-ratio: 16 / 9; }
  .os-st-acv { flex: none; aspect-ratio: 8 / 5; }
  .os-st-org { display: flex; flex-direction: column; }
  .os-st-hst { flex: none; height: 380px; }
  .os-st-grid { flex: none; overflow: visible; }
}
@container (max-width: 560px) {
  .os-st-top { flex-wrap: wrap; padding: 4px; }
  .os-st-doc, .os-st-fn { flex: 1; }
  .os-st-doc span { display: none; }
  .os-st-doc select { width: 100%; max-width: none; }
  .os-st-stage { height: 360px; }
  .os .os-st-tools .chip { padding: 0 8px; font-size: 10.5px; }
  .os-st-sim { font-size: 9.5px; }
  .os-st-cap { grid-template-columns: 1fr; gap: 6px; }
  .os-st-cap output { text-align: left; }
  .os-st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; }
  .os .os-st-lgo { bottom: 10px; height: 34px; font-size: 10px; }
}
