/* SUPERoBOT redesign (25 Nov 2026, APP UPDATE STEPS; same design as SUPERoCRAWLER / SUPERoLAWYER).
   Layout around the React app (assets/redesign.js adds #soSide, #soBotHead, #soBotless and #soTabs inside #top):
     wide (1024px+)     menu | BOT RUN | BOTLESS RUN
     tablet (700-1023)  menu | one room (BOT RUN / BOTLESS RUN tabs)
     phone (<700)       one room (tabs) + ☰ MENU drawer
   Black frames (3px solid #000, radius 8px) like the DIAL button; the page itself never scrolls. */
:root{--so-frame:3px solid #000;--so-r:8px;--soSideW:260px;--so-green:#22c55e;--so-blue:#38bdf8;--so-yellow:#facc15}

/* ---------- header: black, rainbow heading, white buttons ---------- */
body.soChat #top>header{background:#000!important;border-bottom:3px solid #000;color:#fff}
body.soChat #top>header nav button{border:2px solid #fff!important;color:#fff!important;background:#111!important}
body.soChat #top>header nav button[class*="bg-slate-900"],body.soChat #top>header nav button[aria-current],body.soChat #top>header nav button[aria-pressed="true"]{background:#fff!important;color:#000!important}
body.soChat #top>header button[title^="Sign in"]{background:#fff!important;color:#000!important;border:2px solid #fff!important}
#top>header .solHeading{--sol-heading-outline:#fff}
#top>header .solHeadingInner span{-webkit-text-stroke:.06em #fff}

/* ---------- the grid ---------- */
body.soChat #top{display:grid!important;grid-template-columns:var(--soSideW) minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:auto auto auto minmax(0,1fr);column-gap:8px;background:#000!important}
body.soChat.soSideCollapsed #top{--soSideW:44px}
body.soChat #top>header{grid-column:1/-1;grid-row:1}
body.soChat #top>#rc-algos{grid-column:1/-1;grid-row:2}
#soSide{grid-column:1;grid-row:3/5;min-height:0}
#soBotHead{grid-column:2;grid-row:3}
body.soChat #top>main.soBotMain{grid-column:2;grid-row:4;max-width:none!important;width:auto!important;margin:0!important;min-width:0;min-height:0;padding:6px 0 8px!important}
#soBotless{grid-column:3;grid-row:3/5;min-height:0;margin:8px 8px 8px 0}
#soTabs{display:none}
.soTipsCol,.soReactTabs{display:none!important}
.soGrid{grid-template-columns:minmax(0,1fr)!important}
.soChatCol{grid-column:1/-1!important;display:flex!important}
/* React's status + BOT RUN ▶ / STOP / ATTACH / RESET bar: stacked (the room is half the screen wide) */
.soChatCol>section>div{flex-direction:column!important;align-items:stretch!important}
.soChatCol>section>div>div:last-child{justify-content:flex-start}

/* FINETUNE / CHOICE OF BOTS / LOGS (no prompt box): on wide screens the BOT RUN room takes both rooms' space */
@media (min-width:1024px){
  body.soReactView.soChat #top>main.soBotMain,body.soReactView #soBotHead{grid-column:2/4;margin-right:8px!important}
  body.soReactView #soBotless{display:none!important}
}

/* FINETUNE's 17 operator buttons: wide enough to read the name next to the "backend only" badge */
#top>main .grid.lg\:grid-cols-9{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important}

/* ---------- rooms ---------- */
.soRoomHead{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;background:var(--so-green);border:var(--so-frame);border-radius:var(--so-r);padding:3px 10px;margin:8px 0 0;color:#000}
.soRoomHead h2{margin:0;font-size:17px;font-weight:900;letter-spacing:.06em;line-height:1.15;color:#000}
.soRoomHead .soSub{font-size:11.5px;color:#052e16;font-weight:700}
.soBotHead{background:#a78bfa}
.soBotless{display:flex;flex-direction:column;gap:6px;background:#fff;border:var(--so-frame);border-radius:12px;padding:0 8px 8px;color:#0f172a;overflow:hidden}
.soBotless .soRoomHead{margin:8px 0 0}
.soBar{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.soBtn{font:900 12.5px/1.15 "Plus Jakarta Sans",system-ui,sans-serif;border:var(--so-frame);border-radius:var(--so-r);box-shadow:0 1px 0 #000;background:#fff;color:#000;padding:5px 9px;cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:4px}
.soBtn:hover{filter:brightness(.96)}
.soBtn:focus-visible,.soTab:focus-visible,.soSeg button:focus-visible,.dopX:focus-visible,#soSide select:focus-visible,#soSide input:focus-visible{outline:4px solid var(--so-yellow);outline-offset:2px}
.soGo{background:#0057c2;color:#fff;font-size:14px;padding:6px 12px}
.soDialBtn{background:var(--so-yellow)}
.soDopBtn{background:#111827;color:#fff}
.soDssBtn{background:var(--so-yellow);color:#000}
.soFine.on{background:#f472b6;color:#000}
.soSt{font-size:12px;font-weight:700;color:#0b2a6b;min-height:1.2em}
.soOutBox{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border:2px solid #0f172a;border-radius:var(--so-r);padding:8px 10px;background:#f8fafc;font-size:13px;line-height:1.45}
.soOutBox:empty::before{content:"The plan appears here. It is made by our own code, never by an AI.";color:#475569}
.soExplain{white-space:pre-wrap;font-weight:700;margin-bottom:6px}
.soOutBox details{margin:6px 0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:3px 8px}
.soOutBox summary{cursor:pointer;font-weight:900;color:#0b2a6b}
.soPlan{border-collapse:collapse;width:100%;font-size:12.5px}
.soPlan th{text-align:left;vertical-align:top;padding:2px 6px 2px 0;white-space:nowrap;color:#334155}
.soPlan td{padding:2px 0}
.soList{margin:4px 0;padding-left:18px}.soList li{margin:2px 0}
.soKind{font-size:10px;background:#e0e7ff;color:#1e1b4b;border-radius:4px;padding:0 4px}

/* ---------- the colour menu ---------- */
.soSide{display:flex;flex-direction:column;min-height:0;background:#fff7d6;border-right:3px solid #000;color:#0f172a;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.soSideTop{flex:none;padding:6px 6px 4px;background:#000}
.soToggle{width:100%;background:#fff;font-size:12px}
.soSideScroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 6px 12px;display:flex;flex-direction:column;gap:8px}
.soSideBtns{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.soSideBtns .soDialBtn{grid-column:1/-1}
.soSideBtns .soBtn{font-size:11.5px;padding:5px 4px;white-space:normal;text-align:center}
.soSec{border:var(--so-frame);border-radius:var(--so-r);box-shadow:0 1px 0 #000,inset 6px 0 0 var(--row-accent,#000);padding:5px 6px 6px 12px;background:#fff}
.soSec h3{margin:0 0 4px;font-size:12.5px;font-weight:900;letter-spacing:.02em;line-height:1.2}
.soSecL{--row-accent:var(--so-green);background:#effcef}
.soSecR{--row-accent:var(--so-blue);background:#eef8ff}
.soSecT{--row-accent:#f97316;background:#fff4e6}
.soSecH{--row-accent:#a855f7;background:#f6efff;font-size:11.5px}
.soSecH p{margin:3px 0}
.soRow{padding:3px 4px;margin:0 0 3px;border-radius:6px}
.soRow.soTouched{background:#fff;box-shadow:inset 0 0 0 2px #0f172a}
.soRow.dialSel{outline:3px solid var(--so-green);outline-offset:1px}
.soSecR .soRow.dialSel{outline-color:var(--so-blue)}
.soRow.dHi,.dopSet.dHi,.dopClose.dHi{outline:4px solid var(--so-yellow)!important;outline-offset:2px}
.soRowHead{display:flex;align-items:center;gap:4px;min-height:20px}
.soRowLab{font-size:11.5px;font-weight:900;flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.15}
.soNow{font-size:10px;color:#475569;white-space:nowrap}
.soOut{font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
.soMini{flex:none;width:24px;height:22px;border:2px solid #000;border-radius:6px;background:#fff;cursor:pointer;font-weight:900;padding:0;line-height:1}
.soRow input[type=range]{width:100%;margin:2px 0;accent-color:#0057c2}
.soRow select,#soTips select{width:100%;font:800 12px "Plus Jakarta Sans",system-ui,sans-serif;border:2px solid #000;border-radius:6px;padding:3px 4px;background:#fff;color:#000}
.soMean{font-size:10px;color:#475569;line-height:1.25}
.soSeg{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
.soSeg button{font:900 11px/1.1 "Plus Jakarta Sans",system-ui,sans-serif;border:2px solid #000;border-radius:6px;background:#fff;color:#000;padding:3px 0;cursor:pointer}
.soSeg button[aria-pressed="true"]{background:#000;color:#fff}
.soSeg button[data-v="on"][aria-pressed="true"],.soSeg button[data-v="in"][aria-pressed="true"]{background:#15803d;color:#fff}
.soSeg button[data-v="off"][aria-pressed="true"],.soSeg button[data-v="out"][aria-pressed="true"]{background:#b91c1c;color:#fff}
.soReset{background:#fff;font-size:11.5px}
.soTip{border-top:1px solid #fdba74;padding:5px 0 3px}
.soTip b{display:block;font-size:11.5px;line-height:1.25}
.soTip p{margin:2px 0 4px;font-size:10.5px;color:#475569;line-height:1.25}
.soTipGo{width:100%;background:#0057c2;color:#fff;font-size:11px;padding:4px 6px}
.soNote{font-size:12px;color:#334155;margin:4px 0}
body.soSideCollapsed .soSide .soSideScroll{display:none}
body.soSideCollapsed .soSide{background:#000}
body.soSideCollapsed .soSideTop{padding:6px 3px}
body.soSideCollapsed .soToggle{padding:6px 0;font-size:16px}

/* ---------- popups (fixed; the list scrolls inside) ---------- */
.soOverlay{position:fixed;inset:0;z-index:2147482500;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:10px;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.soOverlay[hidden]{display:none!important}
.soPanel{background:#fff;color:#0f172a;border:var(--so-frame);border-radius:12px;width:min(780px,100%);max-height:100%;height:min(900px,100%);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 10px 30px #0008}
.soPHead{flex:none;display:flex;align-items:center;gap:10px;background:#111827;color:#fff;padding:8px 10px}
.soPTitle{flex:1;min-width:0}.soPTitle h2{margin:0;font-size:18px;font-weight:900;color:#fff}.soPTitle p{margin:2px 0 0;font-size:12px;color:#cbd5e1}
.soPBody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:10px 12px;background:#f8fafc}
.soBack{background:#fff;color:#000;border:var(--so-frame);border-radius:var(--so-r);font-weight:900;padding:6px 10px;cursor:pointer}
.dopX{flex:none;margin-left:auto;width:46px;height:46px;padding:0;background:#dc2626;color:#fff;border:3px solid #fff;border-radius:10px;font-size:24px;line-height:1;font-weight:900;cursor:pointer}
.dopX:hover{background:#b91c1c}
.dssX{order:-1;margin-left:0!important;margin-right:4px;width:56px;height:56px;font-size:32px}
.dopNav{display:block;width:100%;margin:0 0 6px;text-align:left;font-weight:900;border-radius:var(--so-r);padding:7px 10px;cursor:pointer}
.dopClose{background:#dc2626;border:2px solid #7f1d1d;color:#fff}
.dopRight{font-size:12px;background:#eef8ff;border:1px solid var(--so-blue);border-radius:8px;padding:6px 8px;margin:0 0 8px}
.askChip{font:800 11.5px inherit;font-family:inherit;margin-top:4px;background:var(--so-yellow);color:#000;border:2px solid #000;border-radius:14px;padding:2px 8px;cursor:pointer}
.dopGroup{margin:12px 0 4px;font-size:14px;color:#0b2a6b;border-bottom:2px solid #0b2a6b}
.dopSets{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px;margin-top:4px}
.dopSet{border:1px solid #e2e8f0;border-radius:8px;padding:4px 6px;background:#fbfdff}
.dopSet.act{outline:3px solid var(--so-green);outline-offset:1px;background:#effcef}
.dopSetBtn{display:flex;flex-wrap:wrap;align-items:center;gap:3px;width:100%;text-align:left;background:#e0ecff;color:#0b2a6b;border:1px solid #93c5fd;border-radius:6px;font:800 13px inherit;font-family:inherit;padding:3px 6px;cursor:pointer}
.dopKind{font-size:10px;background:#0b2a6b;color:#fff;border-radius:5px;padding:1px 5px;margin-right:4px}
.dopVal{margin-left:auto;font-size:11.5px;font-variant-numeric:tabular-nums;background:#fff;color:#0b2a6b;border-radius:5px;padding:0 5px}
.dopTag{font-size:10px;background:#f1f5f9;color:#334155;border-radius:5px;padding:0 4px}.dopTag.act{background:var(--so-green);color:#fff}
.dopMean{font-size:11px;color:#475569;line-height:1.3;margin-top:2px}
.dssPanel{width:min(900px,100%)}
.dssBody{font-size:14px;color:#0f172a}
.dssBody h3{margin:16px 0 6px;font-size:17px;color:#111827}
.dssBody h4{margin:10px 0 4px;font-size:14px}
.dssTbl{width:100%;border-collapse:collapse;margin:4px 0 8px;font-size:12.5px;background:#fff}
.dssTbl th,.dssTbl td{border:1px solid #cbd5e1;padding:4px 6px;vertical-align:top;text-align:left}
.dssTbl thead th{background:#111827;color:#fff}
.dssTbl tbody th{background:#f1f5f9;white-space:nowrap}
.dssTbl td.n{white-space:nowrap;font-variant-numeric:tabular-nums}
.dssL h3{border-left:8px solid var(--so-green);padding-left:6px}.dssR h3{border-left:8px solid var(--so-blue);padding-left:6px}
.dssPrompt{margin-top:3px;font-size:11.5px;color:#334155;background:#f8fafc;border-left:3px solid #94a3b8;padding:2px 6px}
.runSub{font-size:11px;color:#475569}
.srOnly{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.sdPanel{width:min(900px,100%)}
.sdBtns{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 8px}
.dialSt{padding:2px 8px;border-radius:9px;background:#eee;color:#555;font-size:12px;font-weight:800}.dialSt.on{background:#c9f0c9;color:#0b5a0b}
.dialSetup{border:var(--so-frame);border-radius:var(--so-r);padding:6px 10px;background:#fefce8;margin:6px 0}
.dialSetup h3{margin:0 0 6px;font-size:15px;font-weight:900}
.dialSetupBtns{display:flex;flex-wrap:wrap;gap:6px}
.dsBtn{background:var(--so-green)}
.dsNote{font-size:11.5px;color:#475569;margin:6px 0 0}
.sdCols{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sdCols h4{margin:6px 0 4px;font-size:13px}
.sdRow{display:flex;align-items:center;gap:6px;padding:2px 4px;border-radius:6px;font-size:12px}
.sdRow label{width:130px;flex:none;font-weight:800}
.sdRow input[type=range]{flex:1;min-width:0}.sdRow select{flex:1;min-width:0;font-size:12px}
.sdRow output{min-width:52px;text-align:right;font-variant-numeric:tabular-nums}
.sdRow.sel{outline:3px solid var(--so-green);background:#effcef}
.dsgPanel{width:min(820px,100%)}
.dsgBody{font-size:15px;line-height:1.5;color:#111827}
.dsgBody h3{margin:4px 0 2px;font-size:16px;color:#0b2a6b}
.dsgBody p{margin:3px 0 6px}
.dsgSteps{margin:0 0 8px;padding-left:22px}.dsgSteps>li{margin:0 0 10px}
.dsgInstall>li{margin:0 0 8px}.dsgInstall ul{margin:4px 0;padding-left:20px}
.dsgH{margin:14px 0 4px!important;padding:5px 10px;background:var(--so-green);color:#000!important;border-radius:8px;font-weight:900}
.dsgCode{display:inline-block;margin:3px 0;padding:4px 8px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;font-size:12.5px;word-break:break-all;user-select:all}
.dsgTrouble{padding-left:20px}.dsgTrouble li{margin:0 0 6px}
#dsgClose{margin-top:10px}
.dsgPick{display:grid;gap:6px;margin:4px 0}
.dsgJump{display:block;padding:7px 10px;border:2px solid #0b2a6b;border-radius:9px;background:#eef6ff;color:#0b2a6b;text-decoration:none;font-size:14px}
.dsgJump:hover{background:#dbeafe}
.dsgSmall{font-size:12.5px;color:#475569}
.dsgSub{background:#bbf7d0!important}
.dsgVer{width:100%;border-collapse:collapse;margin:4px 0 8px;font-size:13.5px}
.dsgVer td{border:1px solid #cbd5e1;padding:4px 7px;vertical-align:top}.dsgVer td:first-child{white-space:nowrap;font-weight:700;background:#f8fafc;width:1%}

/* ---------- tablet: menu | one room ---------- */
@media (max-width:1023px){
  :root{--soSideW:230px}
  body.soChat #top{grid-template-columns:var(--soSideW) minmax(0,1fr)}
  #soTabs{display:flex;grid-column:2;grid-row:3;gap:6px;padding:6px 8px 0 0}
  #soBotHead{display:none}
  body.soChat #top>main.soBotMain{grid-column:2;grid-row:4;padding-right:8px!important}
  #soBotless{grid-column:2;grid-row:4;margin:6px 8px 8px 0}
  body.soRoomBot #soBotless{display:none!important}
  body.soRoomBotless.soChat #top>main.soBotMain{display:none!important}
  .soTab{flex:1;font:900 13px "Plus Jakarta Sans",system-ui,sans-serif;background:#fff;color:#000;border:var(--so-frame);border-radius:var(--so-r);padding:6px 4px;cursor:pointer}
  .soTab.on{background:var(--so-green)}
  .soMenuBtn{display:none}
  .sdCols{grid-template-columns:1fr}
}
/* ---------- phone: one room + ☰ MENU drawer ---------- */
@media (max-width:699px){
  body.soChat #top{grid-template-columns:minmax(0,1fr);column-gap:0}
  #soTabs{grid-column:1;padding:6px 6px 0}
  .soMenuBtn{display:inline-flex;flex:none;background:var(--so-yellow);font-size:13px}
  body.soChat #top>main.soBotMain{grid-column:1;padding:4px 6px 6px!important}
  #soBotless{grid-column:1;margin:6px}
  #soSide{position:fixed;top:0;bottom:0;left:calc(-1 * min(330px,90vw) - 14px);width:min(330px,90vw);z-index:2147482000;visibility:hidden;box-shadow:6px 0 24px #0009;transition:left .2s ease}
  body.soSideOpen #soSide{left:0;visibility:visible}
  body.soSideCollapsed .soSide .soSideScroll{display:flex}
  body.soSideCollapsed .soSide{background:#fff7d6}
  body.soSideCollapsed.soChat #top{--soSideW:0px}
  .soSideBtns .soBtn{font-size:12px}
  .soRowLab{font-size:12.5px}.soSeg button{font-size:12.5px;padding:5px 0}
  #top>header{height:auto!important;flex-wrap:wrap!important;overflow:visible!important;row-gap:4px;padding-top:5px!important;padding-bottom:5px!important}
  #top>header>div:first-child{flex:1 1 100%!important;min-width:0}
  #top>header>div:last-child{margin-left:auto}
  .soBar .soBtn{font-size:12px;padding:5px 7px}
  .soGo{font-size:13.5px}
  .soPHead{padding:6px 8px}.dopX{width:42px;height:42px}.dssX{width:50px;height:50px;font-size:28px}
  .dopSets{grid-template-columns:1fr}
  .sdRow label{width:110px}
}
@media (prefers-reduced-motion:reduce){#soSide{transition:none!important}}

/* ---------- 26 Nov 2026 (Oscar t265u) ---------- */
/* 📎 ATTACH, MY INSTRUCTIONS, FINETUNE: top of the menu, right below HIDE MENU */
.soTopTools{display:flex;flex-direction:column;gap:5px;margin:0 0 6px;padding:6px;background:#fff;border:var(--so-frame);border-radius:var(--so-r)}
.soTopTools .soBtn{width:100%;font-size:12px;padding:6px 6px;white-space:normal;text-align:left;line-height:1.2}
.soClip{background:#2563eb!important;color:#fff!important}
.soMyIns.on{background:#e0e7ff!important;border-color:#4338ca!important}
.soFineTuneBtn{background:#fef3c7!important}
.soClipList{font-size:10.5px;line-height:1.3;color:#0b2a6b;word-break:break-word}
.soClipList[hidden]{display:none}
/* React's own buttons stay in the page (the menu presses them) but are not shown twice */
#top>main button.soMovedOut,#top>main button[title^="Edit persistent system instructions"],#top>main button[title^="Configure Time to Answer"],
#top>main button[title^="Attach documents from internal storage"]{display:none!important}
/* padlocks for visitors who have not paid */
.soLockKey{margin:2px 0 6px;font-size:10.5px;line-height:1.3;background:#fff7ed;border:2px solid #b91c1c;border-radius:6px;padding:4px 6px;color:#7f1d1d}
.soLockKey[hidden],.soLockNote[hidden]{display:none}
.soLockNote{margin-top:4px;font-size:10.5px;line-height:1.3;background:#fef2f2;border:2px solid #b91c1c;border-radius:6px;padding:4px 6px;color:#7f1d1d}
.soLockKey .soGetFull,.soLockNote .soGetFull{display:block;margin-top:4px;width:100%;background:#e11d48!important;color:#fff!important;font-size:11px;padding:4px}
.soRow.soLocked .soSeg button.soLockBtn{color:#64748b!important;background:#f1f5f9!important}
/* one prompt tip at a time: the loaded one is lit */
.soTip.on{background:#fde68a;outline:3px solid #dc2626;outline-offset:-1px;border-radius:6px;padding:5px 5px 3px}
/* "Active: ..." line in both rooms */
.soActive{flex-basis:100%;font-size:11.5px;font-weight:800;color:#000;background:#fef9c3;border:2px solid #000;border-radius:6px;padding:2px 6px;margin:2px 0 1px;line-height:1.25}
.soActive:empty{display:none}
.soBotHead .soActive{margin:3px 0 2px}
.soBotless .soActive{flex:none;margin:5px 0 2px}
/* MY INSTRUCTIONS popup: small and short, scrolls inside, never cut (1366x768, 1280x720, phones) */
.soPopWrap{align-items:center!important;justify-content:center!important;padding:12px!important}
.soInsPop{max-height:min(60vh,480px)!important;max-width:min(560px,94vw)!important;display:flex!important;flex-direction:column}
.soInsPop>div:first-child{flex:none;padding:8px 12px!important}
.soInsPop>div:first-child h2{font-size:15px!important}
.soInsPop>div:first-child .p-2{padding:5px!important}
.soInsPop>div:last-child{flex:1 1 auto;min-height:0;overflow-y:auto;padding:10px 12px 0!important}
.soInsPop>div:last-child>*+*{margin-top:9px!important}
.soInsPop textarea{min-height:56px;height:16vh!important;max-height:18vh}
.soInsPop .grid button{padding:5px 7px!important}
.soInsPop .grid button.soPresetOn{border:3px solid #dc2626!important;background:#fef9c3!important}
.soInsPop .pt-4.border-t{position:sticky;bottom:0;background:#fff;padding:8px 0 10px!important;margin-top:8px!important}
/* the ATTACH popup: fits the screen and scrolls inside */
.soAttPop{max-height:88vh!important;display:flex!important;flex-direction:column}
.soAttPop>div:first-child{flex:none;padding:10px 14px!important}
.soAttPop>div:last-child{flex:1 1 auto;min-height:0;overflow-y:auto}
