/* Overwatch · affiliate use-cases page. Loads after site.css, features.css, swiss.css.
   Two halves: (1) page layout in the Swiss paper system, (2) the dark "Overwatch
   window" product render (.ow-*) that sits on the paper like a figure. */

@font-face{font-family:'Plex Mono';src:url(/assets/fonts/IBMPlexMono-Regular.ttf) format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Plex Mono';src:url(/assets/fonts/IBMPlexMono-Medium.ttf) format('truetype');font-weight:500;font-style:normal;font-display:swap}
:root{--plex:'Plex Mono','IBM Plex Mono',ui-monospace,"SF Mono",Menlo,Consolas,monospace}

/* ============================== PAGE ============================== */
.wrap{max-width:1360px;padding:0 40px}
@media (max-width:640px){.wrap{padding:0 20px}}
.micro{font-family:var(--mono);font-size:12.6px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.micro.f{color:var(--faint)}
.cross{position:absolute;width:13px;height:13px;pointer-events:none;z-index:2}
.cross::before,.cross::after{content:"";position:absolute;background:var(--accent)}
.cross::before{left:6px;top:0;width:1px;height:13px}
.cross::after{left:0;top:6px;width:13px;height:1px}

/* hero */
.uc-hero{position:relative;z-index:1;padding:96px 0 0}
.uc-hero .kick{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.uc-hero h1{margin-top:26px;font-size:clamp(46px,6.6vw,96px);line-height:.97;letter-spacing:-.04em;font-weight:750;color:var(--ink);max-width:14ch}
.uc-hero h1 span{color:var(--accent)}
.uc-hero .sub{margin-top:26px;font-family:var(--mono);font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);max-width:58ch;line-height:1.85}
.ctabar{display:grid;grid-template-columns:1fr 1fr;max-width:660px;margin:44px 0 0}
.ctabar a{display:flex;align-items:center;justify-content:center;height:52px;font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;text-align:center;padding:0 12px}
.ctabar .w{background:#fff;color:var(--ink);border:1px solid var(--line)}
.ctabar .w:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.ctabar .k{background:var(--ink);color:#fff}
.ctabar .k:hover{background:var(--accent)}
.hfoot{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:56px 0 0}
.hfoot .micro{line-height:1.8}
.hfoot .micro b{color:var(--ink);font-weight:600}

/* hero product shot (real screenshot, Swiss figure treatment) */
.appshot{position:relative;margin-top:64px}
.appshot .block{position:absolute;right:-6vw;top:-40px;width:46%;height:60%;background:var(--accent);z-index:0}
.appshot .shot{position:relative;z-index:1;width:92%;border:1px solid var(--ink);box-shadow:20px 20px 0 0 var(--ink);background:#171717}
.appshot .shot img{display:block;width:100%}
.appshot .cap{margin-top:18px}

/* sections */
section.sec{position:relative;z-index:1;padding:90px 0 0}
.sec-head{display:flex;align-items:flex-start;gap:26px;margin-bottom:54px;flex-wrap:wrap}
.sec-head h2{font-size:clamp(30px,4.4vw,54px);letter-spacing:-.035em;line-height:1.02;font-weight:750;max-width:20ch;color:var(--ink)}
.sec-head h2 span{color:var(--accent)}
.sec-head .right{margin-left:auto;text-align:right}

/* highlighted demo block */
.uc-hi{border-top:1px solid var(--line);padding:44px 0 72px;scroll-margin-top:80px}
.uc-hi-head{display:grid;grid-template-columns:120px 1fr auto;gap:30px;align-items:start;margin-bottom:28px}
.uc-n{font-family:var(--mono);font-size:12px;color:var(--faint);padding-top:10px}
.uc-hi h3{font-size:clamp(26px,3.2vw,44px);letter-spacing:-.03em;font-weight:750;line-height:1.04;color:var(--ink);max-width:22ch}
.uc-tag{margin-top:10px;color:var(--muted);font-size:16px;max-width:60ch;line-height:1.5}
.uc-hi-meta{display:flex;flex-direction:column;align-items:flex-end;gap:10px;padding-top:6px}
.uc-perm{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--faint);text-decoration:none;white-space:nowrap}
.uc-perm:hover{color:var(--accent)}

/* stage: the tinted panel the window sits on (cursor.com style figure) */
.uc-stage{position:relative;margin:0;background:var(--bg-2);border:1px solid var(--line);padding:clamp(18px,3.6vw,52px) clamp(14px,3.6vw,52px) clamp(20px,3.6vw,52px);
  background-image:radial-gradient(rgba(17,18,20,.16) 1px,transparent 1.2px);background-size:14px 14px}
.uc-stage::before{content:"";position:absolute;inset:10px;pointer-events:none;
  background:
    linear-gradient(var(--ink),var(--ink)) left top/12px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) left top/1px 12px no-repeat,
    linear-gradient(var(--ink),var(--ink)) right top/12px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) right top/1px 12px no-repeat,
    linear-gradient(var(--ink),var(--ink)) left bottom/12px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) left bottom/1px 12px no-repeat,
    linear-gradient(var(--ink),var(--ink)) right bottom/12px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) right bottom/1px 12px no-repeat;opacity:.55}
.uc-cap{display:block;margin-top:18px}

/* detail: complaint / what you show / type this */
.uc-detail{display:grid;grid-template-columns:1fr 1.1fr 1.2fr;gap:14px;margin-top:14px}
.uc-col{background:var(--bg-2);padding:28px 26px 30px;display:flex;flex-direction:column;gap:12px;min-width:0}
.uc-lab{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);display:block}
.uc-qbar{width:72px;height:12px;background:var(--ink);-webkit-mask:url(/assets/pixel-bar.svg?v=1) left center/contain no-repeat;mask:url(/assets/pixel-bar.svg?v=1) left center/contain no-repeat}
.uc-quote{font-size:19px;line-height:1.32;letter-spacing:-.015em;font-weight:600;color:var(--ink);margin:0}
.uc-src{margin-top:auto;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);text-decoration:none;line-height:1.7;padding-top:8px}
a.uc-src:hover{color:var(--accent)}
.uc-sol{color:var(--ink);font-size:15.5px;line-height:1.55;margin:0}
.uc-steps{margin:6px 0 0;padding:0;list-style:none;counter-reset:st;display:flex;flex-direction:column;gap:9px}
.uc-steps li{position:relative;padding-left:34px;color:var(--muted);font-size:14.5px;line-height:1.5;counter-increment:st}
.uc-steps li::before{content:counter(st,decimal-leading-zero);position:absolute;left:0;top:2px;font-family:var(--mono);font-size:11px;color:var(--accent)}
.uc-prompt{position:relative;background:#fff;border:1px solid var(--line);padding:14px 16px 52px}
.uc-prompt-k{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:8px}
.uc-prompt-t{margin:0;display:flex;gap:9px;font-size:15px;line-height:1.5;color:var(--ink);word-break:break-word;background:rgba(255,107,68,.07);border:1px solid rgba(255,107,68,.28);border-radius:8px;padding:10px 12px}
.uc-prompt-t .ow-chev{font-style:normal;color:var(--accent);flex:0 0 auto}
.uc-copy{position:absolute;left:0;right:0;bottom:0;height:38px;border:0;border-top:1px solid var(--line);background:var(--ink);color:#fff;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;cursor:pointer}
.uc-copy:hover{background:var(--accent)}
.uc-copy.ok{background:#1f9d5a}
.uc-script{margin:0;color:var(--muted);font-size:14.5px;line-height:1.6;border-left:2px solid var(--accent);padding-left:14px}

/* grid of the remaining use cases */
.uc-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:26px}
.uc-chip{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;padding:9px 12px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}
.uc-chip:hover{border-color:var(--ink);color:var(--ink)}
.uc-chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.uc-grid-meta{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}
.uc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.uc-card{background:var(--bg-2);display:flex;flex-direction:column;scroll-margin-top:80px;min-width:0}
.uc-card[hidden]{display:none}
.uc-card.open{grid-column:1/-1;background:transparent;border-top:1px solid var(--line);padding-top:30px}
.uc-card-t{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:26px 24px 24px;cursor:pointer;width:100%;min-height:214px;transition:background .15s}
.uc-card-t:hover{background:rgba(255,107,68,.06)}
.uc-card.open .uc-card-t{min-height:0;padding:0 0 22px}
.uc-card.open .uc-card-t:hover{background:transparent}
.uc-card-row{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.uc-card-row .uc-n{padding:0}
.uc-card-row .micro{font-size:10px;text-align:right}
.uc-card h4{font-size:19px;line-height:1.25;letter-spacing:-.02em;font-weight:650;color:var(--ink);margin:2px 0 0}
.uc-card.open h4{font-size:clamp(26px,3.2vw,40px);letter-spacing:-.03em;line-height:1.04;max-width:24ch}
.uc-card .uc-tag{font-size:14px;margin-top:0;color:var(--muted)}
.uc-more{margin-top:auto;padding-top:12px;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);display:inline-flex;gap:8px;align-items:center}
.uc-more i{font-style:normal;display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid var(--accent);font-size:13px}
.uc-card-b{display:flex;flex-direction:column;gap:14px}
.uc-card-b .uc-detail{margin-top:0}
.uc-card-b > .uc-perm{align-self:flex-end}
.uc-empty{color:var(--muted);padding:40px 0}

/* closing cta */
.cta-sec{padding:120px 0 60px}
.cta-sec h2{font-size:clamp(46px,7.4vw,108px);letter-spacing:-.045em;line-height:.94;font-weight:750;color:var(--ink)}
.cta-sec h2 span{color:var(--accent)}
.cta-sec .row2{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-top:50px;flex-wrap:wrap}
.cta-sec .cta{display:flex;gap:14px;flex-wrap:wrap}

@media (max-width:1000px){
  .uc-hi-head{grid-template-columns:60px 1fr}
  .uc-hi-meta{grid-column:2;align-items:flex-start;flex-direction:row;gap:16px}
  .uc-detail{grid-template-columns:1fr}
  .uc-grid{grid-template-columns:repeat(2,1fr)}
  .hfoot{grid-template-columns:1fr;gap:18px}
}
@media (max-width:640px){
  .uc-grid{grid-template-columns:1fr}
  .ctabar{grid-template-columns:1fr}
  .uc-hi-head{grid-template-columns:1fr;gap:10px}
  .uc-hi-meta{grid-column:1}
  .uc-col{padding:22px 18px 24px}
  .appshot .shot{width:100%;box-shadow:10px 10px 0 0 var(--ink)}
}

/* ============================== RENDER ============================== */
/* The Overwatch window: dark app UI on the paper page. Tokens from desktop/app.css
   (bg #171717, panel #272727, line #383838, text #f2f2f2, Sol orange accent).
   Every pane is a conversation: the chrome uses the app's Plex face, the
   messages and result cards use the reading face so they read as chat. */
.ow-wrap{position:relative;--obg:#171717;--opanel:#272727;--opanel2:#303030;--oside:#1c1c1c;--oline:#383838;--oline2:#2c2c2c;
  --otext:#f2f2f2;--omuted:#8a8a8a;--ofaint:#5c5c5c;--oacc:#ff6a44;--oacc-soft:rgba(255,106,68,.14);--obo:#e3b341;--ogreen:#2dd48a;
  --osans:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-family:var(--plex);font-size:12px;line-height:1.5;color:var(--otext);text-align:left}
.ow-wrap *{box-sizing:border-box}
.ow{position:relative;max-width:960px;min-height:540px;margin-inline:auto;display:flex;flex-direction:column;background:var(--obg);border:1px solid #0b0b0c;border-radius:10px;overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 1px 2px rgba(17,18,20,.3),0 34px 70px -30px rgba(17,18,20,.55),0 12px 28px -14px rgba(17,18,20,.35)}
.ow-ic{width:14px;height:14px;flex:0 0 auto;color:var(--omuted)}

/* top bar */
.ow-bar{display:flex;align-items:center;gap:12px;height:42px;padding:0 14px;background:var(--oside);border-bottom:1px solid var(--oline);-webkit-user-select:none;user-select:none}
.ow-lights{display:flex;gap:8px;margin-right:4px}
.ow-lights i{width:12px;height:12px;border-radius:50%;background:#3a3a3a;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.35)}
.ow-lights .r{background:#ff5f57}.ow-lights .y{background:#febc2e}.ow-lights .g{background:#28c840}
.ow-wm{font-family:'Brunea','Bitcount',var(--mono);font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--oacc);white-space:nowrap}
.ow-wm::before{content:"/";opacity:.85}
.ow-wm.sm{font-size:15px;width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:var(--oacc);color:#1a1a1a;letter-spacing:0}.ow-wm.sm::before{content:""}
.ow-mc{display:inline-flex;align-items:center;gap:8px;height:24px;padding:0 6px 0 10px;border:1px solid var(--oline);border-radius:999px;background:var(--opanel);font-size:10.5px;color:var(--otext);white-space:nowrap;font-weight:500}
.ow-mc-dot{width:6px;height:6px;border-radius:50%;background:var(--ogreen);box-shadow:0 0 0 3px rgba(45,212,138,.15)}
.ow-tog{position:relative;display:inline-block;width:24px;height:14px;border-radius:999px;background:var(--oacc);flex:0 0 auto}
.ow-tog::after{content:"";position:absolute;right:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#1b1b1b}
.ow-mpills{display:flex;gap:6px;margin-left:8px;min-width:0;overflow:hidden}
.ow-bar-r{margin-left:auto;display:flex;align-items:center;gap:14px;color:var(--omuted)}

/* model pill */
.ow-mp{display:inline-flex;align-items:center;gap:6px;height:20px;padding:0 8px;border-radius:5px;font-size:10.5px;font-weight:500;white-space:nowrap;
  color:var(--mc,#bdbdbd);background:color-mix(in srgb,var(--mc,#bdbdbd) 14%,transparent);border:1px solid color-mix(in srgb,var(--mc,#bdbdbd) 40%,transparent)}
.ow-mdot{width:6px;height:6px;border-radius:50%;background:var(--mc,#bdbdbd)}
.ow-mp.full{color:#1a1a1a;background:var(--mc,#bdbdbd);border-color:transparent;font-weight:600}
.ow-mp.full .ow-mdot{display:none}

/* body + sidebar */
.ow-body{display:flex;flex:1;min-height:0;align-items:stretch}
.ow-side{flex:0 0 196px;background:var(--oside);border-right:1px solid var(--oline);padding:12px 10px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.ow-sl{display:flex;justify-content:space-between;align-items:center;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--omuted);padding:6px 6px 6px;margin-top:6px}
.ow-cnt{font-size:9.5px;color:var(--omuted);background:var(--opanel);padding:1px 6px;border-radius:999px;letter-spacing:0}
.ow-si{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;color:#cfcfcf;font-size:11.5px;min-width:0}
.ow-si.on{background:var(--opanel);color:var(--otext)}
.ow-si-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-fold{display:flex;align-items:center;gap:8px;padding:7px 8px;border:1px solid var(--oline);border-radius:6px;font-size:11.5px;color:var(--otext);background:rgba(255,255,255,.02)}
.ow-fold b{font-weight:600;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-fi{display:flex;justify-content:space-between;gap:8px;padding:5px 8px 5px 22px;font-size:10.5px;color:#bdbdbd;position:relative;min-width:0}
.ow-fi::before{content:"";position:absolute;left:13px;top:0;bottom:0;border-left:1px solid var(--oline)}
.ow-fi-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ow-fi-age{color:var(--ofaint);font-size:9.5px;white-space:nowrap;flex:0 0 auto}
.ow-side-ft{margin-top:auto;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ow-av{width:22px;height:22px;border-radius:50%;background:var(--oacc);color:#1a1a1a;font-size:10px;font-weight:600;display:grid;place-items:center}
.ow-secondary{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#cfcfcf;border:1px solid var(--oline);border-radius:999px;padding:3px 9px}
.ow-rail{flex:0 0 40px;background:var(--oside);border-right:1px solid var(--oline);display:flex;flex-direction:column;align-items:center;gap:18px;padding:14px 0}

/* status dots (app vocabulary: green idle, orange working, gray queued) */
.ow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4a4a4a;flex:0 0 auto}
.ow-dot.done{background:var(--ogreen)}
.ow-dot.waiting{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ogreen)}
.ow-dot.queued{background:#4a4a4a}
.ow-dot.working{background:var(--oacc);box-shadow:0 0 0 3px var(--oacc-soft);animation:owPulse 1.4s ease-in-out infinite}
@keyframes owPulse{0%,100%{opacity:1;box-shadow:0 0 0 3px var(--oacc-soft)}50%{opacity:.55;box-shadow:0 0 0 6px rgba(255,106,68,.06)}}

/* panes */
.ow-main{flex:1;display:grid;grid-template-columns:1fr;min-width:0}
.ow-main[data-n="2"]{grid-template-columns:1fr 1fr}
.ow-main[data-n="3"]{grid-template-columns:1fr 1fr 1fr}
.ow-pane{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--oline);background:var(--obg)}
.ow-pane:last-child{border-right:0}
.ow-ph{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-bottom:1px solid var(--oline);background:var(--oside)}
.ow-ph-t{font-weight:500;font-size:11.5px;color:var(--otext);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ow-st{font-size:10px;color:var(--omuted);white-space:nowrap;margin-left:auto;flex:0 0 auto}
.is-working .ow-st{color:var(--oacc)}
.ow-ph-r{margin-left:auto;display:flex;align-items:center;gap:7px;flex:0 0 auto}
.ow-ph-r .ow-tog{width:22px;height:13px}.ow-ph-r .ow-tog::after{width:9px;height:9px}
.ow-eff,.ow-ctx{font-size:10px;color:#cfcfcf;font-weight:500}
.ow-ctx{color:var(--omuted)}

/* the task strip: what this session is on right now */
.ow-task{display:flex;align-items:center;gap:8px;margin:10px 12px 0;padding:8px 11px;border:1px solid rgba(255,106,68,.35);border-radius:7px;background:rgba(255,106,68,.08);font-family:var(--osans);font-size:12px;color:var(--otext);min-width:0}
.ow-task > span:first-of-type{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-chev{font-style:normal;color:var(--oacc);flex:0 0 auto}

/* conversation */
.ow-chat{padding:12px 12px 4px;display:flex;flex-direction:column;gap:9px;font-family:var(--osans);font-size:12.5px;line-height:1.5}
.ow-msg{display:flex;gap:8px;min-width:0}
.ow-msg.u{color:#d9d9d9;padding:0 2px}
.ow-msg.u .ow-msg-t{color:#bdbdbd}
.ow-msg.a{color:var(--otext);background:var(--opanel);border-radius:10px;border-top-left-radius:3px;padding:9px 11px;margin-right:14px}
.ow-msg-t{min-width:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ow-typing{display:flex;align-items:center;gap:4px;padding:6px 2px 2px}
.ow-typing > i{width:5px;height:5px;border-radius:50%;background:var(--oacc);animation:owDots 1.2s ease-in-out infinite}
.ow-typing > i:nth-child(2){animation-delay:.2s}.ow-typing > i:nth-child(3){animation-delay:.4s}
@keyframes owDots{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
.ow-meter{margin-left:10px;display:inline-flex;align-items:center;gap:8px;font-family:var(--plex);font-size:9.5px;color:var(--ofaint)}
.ow-meter-bar{width:48px;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--oacc) 0 60%,#3a3a3a 60%)}

/* result card: the outcome in words plus a small visual */
.ow-res{margin:8px 12px 12px;padding:11px 12px 12px;border:1px solid var(--oline);border-radius:9px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));font-family:var(--osans)}
.ow-res.is-done{border-color:rgba(45,212,138,.35)}
.ow-res.is-working{border-color:rgba(255,106,68,.35)}
.ow-res-h{display:flex;align-items:center;gap:8px;font-family:var(--plex);font-size:10.5px}
.ow-res-h b{font-weight:600;color:var(--otext)}
.ow-res.is-done .ow-res-h b{color:var(--ogreen)}
.ow-res.is-working .ow-res-h b{color:var(--oacc)}
.ow-res-ic{width:14px;height:14px;color:var(--ogreen);background:rgba(45,212,138,.14);border-radius:50%;padding:2px}
.ow-res-m{margin-left:auto;color:var(--ofaint);font-size:9.5px;white-space:nowrap}
.ow-res-t{margin:7px 0 0;font-size:12.5px;line-height:1.5;color:#d9d9d9}
.ow-res .ow-typing{padding:8px 0 0}
.ow-prev{margin-top:10px;padding:10px 12px 12px;border:1px solid var(--oline);border-radius:7px;background:#fafafa;display:flex;flex-direction:column;gap:6px}
.ow-prev-h{font-family:var(--osans);font-weight:700;font-size:12px;letter-spacing:-.01em;color:#161616;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-prev-l{display:block;height:5px;border-radius:3px;background:#d9d9d9;width:88%}
.ow-prev-l.short{width:62%}
.ow-prev-b{display:inline-block;width:64px;height:14px;border-radius:4px;background:var(--oacc);margin-top:2px}
.ow-res-act{display:flex;gap:6px;margin-top:10px}
.ow-btn{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:5px;border:1px solid var(--oline);font-family:var(--plex);font-size:10px;color:#d9d9d9}
.ow-btn.k{background:var(--oacc);border-color:transparent;color:#1a1a1a;font-weight:600}
.ow-res-line{display:flex;align-items:center;gap:8px;margin-top:10px;font-family:var(--plex);font-size:9.5px;color:var(--omuted)}
.ow-res-bar{width:48px;height:3px;border-radius:2px;background:linear-gradient(90deg,#5a5a5a 0 30%,#3a3a3a 30%)}

/* composer */
.ow-comp{margin-top:auto;display:flex;align-items:center;gap:10px;height:44px;padding:0 10px 0 12px;border-top:1px solid var(--oline);background:var(--oside)}
.ow-comp-ph{flex:1;color:var(--ofaint);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ow-wave{display:inline-flex;align-items:center;gap:2px;height:14px}
.ow-wave i{width:2px;background:#5a5a5a;border-radius:1px;height:6px}
.ow-wave i:nth-child(2){height:11px}.ow-wave i:nth-child(3){height:14px}.ow-wave i:nth-child(4){height:9px}
.ow-mic,.ow-send{all:unset;display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:var(--oacc);color:#1a1a1a;flex:0 0 auto}
.ow-mic .ow-ic,.ow-send .ow-ic{color:#1a1a1a}
.ow-send{background:var(--otext)}

/* master controller panel */
.ow-mcp{flex:0 0 268px;background:var(--oside);border-right:1px solid var(--oline);display:flex;flex-direction:column;min-width:0}
.ow-mcp-h{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-bottom:1px solid var(--oline);font-size:11.5px}
.ow-mcp-h b{font-weight:600;flex:1}
.ow-mcp-tiles{display:flex;align-items:center;justify-content:center;gap:18px;margin:12px 12px 6px;padding:12px;border:1px solid var(--oline);border-radius:8px;
  background:linear-gradient(180deg,rgba(255,106,68,.08),rgba(255,106,68,.02))}
.ow-tile{text-align:center}
.ow-tile b{display:block;font-size:24px;line-height:1;color:var(--oacc);font-weight:500}
.ow-tile span{display:block;margin-top:5px;font-size:8.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--omuted)}
.ow-tile-x{color:var(--ofaint);font-size:14px}
.ow-mcp-list{padding:6px 8px;display:flex;flex-direction:column;gap:2px;overflow:hidden}
.ow-mcp-row{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:6px;min-width:0}
.ow-mcp-row.is-working{background:var(--opanel)}
.ow-mcp-t{flex:1;min-width:0;display:flex;flex-direction:column}
.ow-mcp-t b{font-family:var(--osans);font-weight:500;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-mcp-t small{font-size:9.5px;color:var(--ofaint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-mcp-s{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--omuted);white-space:nowrap}
.is-working .ow-mcp-s{color:var(--oacc)}
.ow-mcp-ft{margin-top:auto;padding:10px 12px;border-top:1px solid var(--oline);font-size:9.5px;letter-spacing:.06em;color:var(--omuted)}

/* scrapbook panel */
.ow-sbp{flex:0 0 288px;background:var(--oside);border-right:1px solid var(--oline);display:flex;flex-direction:column;min-width:0}
.ow-sbp-h{display:flex;align-items:center;justify-content:space-between;gap:8px;height:38px;padding:0 12px;border-bottom:1px solid var(--oline);font-size:11.5px}
.ow-sbp-h b{font-weight:600}
.ow-sbp-tabs{display:inline-flex;gap:2px;background:var(--obg);border:1px solid var(--oline);border-radius:5px;padding:2px}
.ow-sbp-tabs i{font-style:normal;font-size:9.5px;padding:2px 7px;border-radius:3px;color:var(--omuted)}
.ow-sbp-tabs i.on{background:var(--opanel);color:var(--otext)}
.ow-graph{display:block;width:100%;height:auto;margin:8px 0 0;font-family:var(--plex)}
.ow-graph line{stroke:#3f3f3f;stroke-width:1;stroke-dasharray:2 3}
.ow-graph circle{fill:#2f2f2f;stroke:#7a7a7a;stroke-width:1}
.ow-graph circle.rule{fill:#c8f542;stroke:none}
.ow-graph circle.hub{fill:var(--oacc);stroke:none}
.ow-graph text{fill:#bdbdbd;font-size:9px}
.ow-sbp-list{padding:6px 8px;display:flex;flex-direction:column;gap:2px;overflow:hidden}
.ow-note{display:flex;align-items:flex-start;gap:8px;padding:7px 8px;border-radius:6px;font-family:var(--osans);font-size:11px;color:#cfcfcf;line-height:1.4}
.ow-note.on{background:var(--opanel);color:var(--otext)}
.ow-note span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ow-note-k{font-family:var(--plex);font-style:normal;font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--oacc);border:1px solid rgba(255,106,68,.35);padding:1px 5px;border-radius:3px;flex:0 0 auto;margin-top:1px}
.ow-sbp-ft{margin-top:auto;padding:10px 12px;border-top:1px solid var(--oline);font-size:9.5px;letter-spacing:.06em;color:var(--omuted)}

/* queue rail */
.ow-q{flex:0 0 262px;background:var(--oside);border-left:1px solid var(--oline);display:flex;flex-direction:column;min-width:0}
.ow-q-h{display:flex;align-items:center;justify-content:space-between;gap:8px;height:38px;padding:0 12px;border-bottom:1px solid var(--oline);font-size:11.5px}
.ow-q-h b{font-weight:600;display:inline-flex;align-items:center;gap:8px}
.ow-q-auto{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#cfcfcf}
.ow-q-list{padding:8px;display:flex;flex-direction:column;gap:4px;overflow:hidden}
.ow-q-row{display:flex;align-items:center;gap:9px;padding:8px 9px;border:1px solid var(--oline);border-radius:6px;background:var(--obg);font-size:10.5px;min-width:0}
.ow-q-row:first-child{border-color:rgba(255,106,68,.4);background:rgba(255,106,68,.06)}
.ow-q-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--otext);font-family:var(--osans);font-size:11.5px}
.ow-q-n{font-size:8.5px;letter-spacing:.12em;color:var(--omuted)}
.ow-q-row:first-child .ow-q-n{color:var(--oacc)}
.ow-q-ft{margin-top:auto;padding:0 12px 8px;font-size:9.5px;color:var(--ofaint);letter-spacing:.04em}
.ow-bo{all:unset;margin:0 8px 10px;display:flex;align-items:center;justify-content:center;gap:8px;height:34px;border-radius:6px;font-size:10.5px;font-weight:600;letter-spacing:.04em;
  color:#1a1a1a;background:linear-gradient(180deg,#edc85f,var(--obo));box-shadow:0 6px 18px -8px rgba(227,179,65,.6)}
.ow-bo .ow-ic{color:#1a1a1a}

/* phone layout: the desktop window plus an iPhone overlapping its right edge */
.ow-wrap.is-phone{padding-right:266px;padding-bottom:26px}
.ow-wrap.is-phone .ow-eff,.ow-wrap.is-phone .ow-ctx{display:none}
.ow-phone{position:absolute;right:0;bottom:0;width:258px;padding:11px;border-radius:44px;background:#0c0c0d;border:1px solid #2b2b2d;
  box-shadow:inset 0 0 0 1.5px #1f1f21,0 40px 70px -30px rgba(17,18,20,.7),0 10px 24px -10px rgba(17,18,20,.5)}
.ow-phone-scr{position:relative;border-radius:34px;background:var(--obg);overflow:hidden;height:540px;display:flex;flex-direction:column}
.ow-ph-status{display:flex;justify-content:space-between;align-items:center;padding:14px 22px 0;font-size:11px;font-weight:600;color:var(--otext)}
.ow-ph-sig{display:inline-flex;gap:2px;align-items:flex-end;height:10px}
.ow-ph-sig i{width:3px;background:var(--otext);border-radius:1px;height:4px}
.ow-ph-sig i:nth-child(2){height:6px}.ow-ph-sig i:nth-child(3){height:8px}.ow-ph-sig i:nth-child(4){height:10px}
.ow-ph-island{position:absolute;left:50%;top:10px;transform:translateX(-50%);width:84px;height:24px;border-radius:999px;background:#000}
.ow-ph-top{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 8px}
.ow-ph-top .ow-wm{font-size:12px}
.ow-ph-live{display:inline-flex;align-items:center;gap:6px;font-size:9.5px;color:#cfcfcf;border:1px solid var(--oline);border-radius:999px;padding:3px 8px}
.ow-ph-sess{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px;border-top:1px solid var(--oline2);border-bottom:1px solid var(--oline2);background:var(--oside)}
.ow-ph-sess b{font-weight:500;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ow-ph-body{flex:1;overflow:hidden;display:flex;flex-direction:column}
.ow-ph-body .ow-chat{padding:10px 12px 0;font-size:11.5px}
.ow-ph-body .ow-msg.a{margin-right:6px}
.ow-res.mini{margin:8px 10px 0;padding:9px 10px 10px}
.ow-res.mini .ow-res-t{font-size:11.5px}
.ow-ph-comp{display:flex;align-items:center;gap:8px;margin:10px 12px 8px;padding:6px 6px 6px 12px;border:1px solid var(--oline);border-radius:14px;background:var(--oside)}
.ow-ph-in{flex:1;font-size:11px;color:var(--ofaint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-ph-home{width:110px;height:4px;border-radius:2px;background:#4a4a4a;margin:4px auto 8px}

/* triple: compact chrome */
.ow-wrap.is-triple .ow-ph-r .ow-eff,.ow-wrap.is-triple .ow-ph-r .ow-ctx{display:none}
.ow-wrap.is-triple .ow-task .ow-st{display:none}
.ow-wrap.is-triple .ow-chat,.ow-wrap.is-triple .ow-res-t{font-size:12px}

/* responsive: stack everything, hide the sidebar */
@media (max-width:1080px){
  .ow-wrap.is-split .ow-side{flex-basis:170px}
  .ow-wrap.is-triple .ow-main[data-n="3"]{grid-template-columns:1fr 1fr}
  .ow-wrap.is-triple .ow-pane:nth-child(3){grid-column:1/-1;border-top:1px solid var(--oline)}
  .ow-wrap.is-triple .ow-pane:nth-child(2){border-right:0}
  .ow-mcp,.ow-sbp,.ow-q{flex-basis:230px}
}
@media (max-width:820px){
  .ow-side,.ow-rail{display:none}
  .ow-body{flex-direction:column}
  .ow-main[data-n="2"],.ow-main[data-n="3"],.ow-wrap.is-triple .ow-main[data-n="3"]{grid-template-columns:1fr}
  .ow-pane{border-right:0;border-bottom:1px solid var(--oline)}
  .ow-pane:last-child{border-bottom:0}
  .ow-wrap.is-triple .ow-pane:nth-child(3){grid-column:auto;border-top:0}
  .ow-mcp,.ow-sbp,.ow-q{flex-basis:auto;border-right:0;border-left:0;border-bottom:1px solid var(--oline)}
  .ow-q{order:2}
  .ow-q-ft{padding-top:4px}
  .ow-q .ow-bo{margin:8px}
  .ow-mcp-list,.ow-sbp-list,.ow-q-list{max-height:none}
  .ow-mpills{display:none}
  .ow-wrap.is-phone{padding-right:0;padding-bottom:0}
  .ow-phone{position:relative;margin:22px auto 0;width:250px}
  .ow-phone-scr{height:480px}
  .ow-comp .ow-mp.full{display:none}
}
@media (max-width:480px){
  .ow-bar{gap:8px;padding:0 10px}
  .ow-mc{display:none}
  .ow-ph-r .ow-eff,.ow-ph-r .ow-ctx,.ow-ph-r .ow-tog{display:none}
  .ow-task{margin:8px 8px 0}
  .ow-chat{padding:10px 8px 4px}
  .ow-res{margin:6px 8px 10px}
}
.ow-graph circle.sat{fill:#242424;stroke:#555}
