/* ============================================================
   Quely Session Hero — the live QD session.
   Faithful product chrome: collapsed rail · top bar w/ timer ·
   center item (description, tabs, accordions) · right chat ·
   bottom agenda bar — plus choreographed overlays.
   Canvas 1320×800. All classes namespaced .sh-*.
   ============================================================ */

.sh-stage{
  position:relative;width:1320px;height:800px;
  background:#fff;color:#030712;
  font-family:Inter,system-ui,sans-serif;
  display:flex;flex-direction:column;overflow:hidden;border-radius:12px;
}
.sh-stage *{box-sizing:border-box;}
.sh-stage ::-webkit-scrollbar{width:0;height:0;}

/* top bookmarks bar */
.sh-bookmarks{flex:0 0 30px;height:30px;background:#2A2633;display:flex;align-items:center;
  justify-content:flex-end;padding:0 18px;gap:7px;color:rgba(255,255,255,.6);font-size:12px;font-weight:500;}
.sh-bookmarks svg{color:rgba(255,255,255,.5);}

.sh-shell{flex:1 1 auto;min-height:0;display:flex;}

/* ---------------- rail ---------------- */
.sh-rail{flex:0 0 60px;width:60px;height:100%;position:relative;background:#F9FAFB;
  border-right:1px solid #E5E7EB;display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:7px;}
.sh-rail .mark{width:28px;height:28px;display:block;margin-bottom:3px;}
.sh-rail-org{width:32px;height:32px;border-radius:50%;background:#5C28A4;color:#fff;font-weight:700;
  font-size:13px;display:flex;align-items:center;justify-content:center;margin-bottom:3px;}
.sh-railic{position:relative;width:40px;height:36px;border-radius:9px;display:flex;align-items:center;
  justify-content:center;color:#6B7280;}
.sh-railic.on{background:#F4ECFE;border:1px solid #CCABF7;color:#5C28A4;}
.sh-railic.on::before{content:"";position:absolute;left:2px;top:8px;bottom:8px;width:3px;border-radius:3px;background:#5C28A4;}
.sh-feedback{position:absolute;left:0;top:46%;writing-mode:vertical-rl;transform:rotate(180deg);
  background:#F7A325;color:#fff;font-weight:700;font-size:11px;padding:12px 4px;border-radius:0 6px 6px 0;}
.sh-rail-foot{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:9px;}
.sh-rail-foot img{width:30px;height:30px;border-radius:50%;display:block;}

/* ---------------- main column ---------------- */
.sh-col{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;position:relative;}

/* top bar */
.sh-top{flex:0 0 56px;height:56px;display:flex;align-items:center;gap:12px;padding:0 22px;
  border-bottom:1px solid #F3F4F6;background:#fff;}
.sh-crumb{display:flex;align-items:center;gap:9px;font-size:14px;color:#6B7280;min-width:0;}
.sh-crumb .sep{color:#D1D5DB;}
.sh-crumb .cur{color:#111827;font-weight:500;}
.sh-top-right{margin-left:auto;display:flex;align-items:center;gap:14px;}
.sh-timer{display:inline-flex;align-items:center;gap:7px;font-family:'Geist Mono',monospace;font-size:16px;
  font-weight:600;letter-spacing:.06em;color:#5C28A4;background:#F4ECFE;border:1px solid #E3D2FB;
  border-radius:9px;padding:6px 12px;}
.sh-timer.run{color:#16A34A;background:#ECFDF3;border-color:#BBF7D0;}
.sh-ic{color:#6B7280;display:flex;}
.sh-presence{display:flex;align-items:center;}
.sh-presence img{width:30px;height:30px;border-radius:50%;border:2px solid #fff;margin-left:-9px;display:block;
  box-shadow:0 0 0 1px #E5E7EB;transition:opacity .4s,transform .4s;}
.sh-presence img.join{opacity:0;transform:scale(.6);}
.sh-invite{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;background:#fff;border:1px solid #E5E7EB;
  border-radius:9px;font-size:13.5px;font-weight:600;color:#111827;box-shadow:0 1px 2px rgba(3,7,18,.05);white-space:nowrap;}

/* body split */
.sh-body{flex:1 1 auto;min-height:0;display:flex;}
.sh-center{flex:1 1 auto;min-width:0;position:relative;overflow:hidden;background:#fff;}
.sh-scroll{position:absolute;inset:0;padding:26px 30px 90px;overflow:hidden;}
.sh-scroll-inner{transition:transform .58s cubic-bezier(.33,1,.68,1);}

/* item header card */
.sh-itemhd{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px;}
.sh-itemhd .caret{color:#9CA3AF;margin-top:4px;}
.sh-itemhd .iticon{width:30px;height:30px;border-radius:8px;background:#2A6FDB;color:#fff;display:flex;
  align-items:center;justify-content:center;flex:0 0 auto;margin-top:1px;}
.sh-itemhd .sh-itemhd-h{font-size:22px;font-weight:700;letter-spacing:-0.02em;margin:2px 0 0;color:#030712;}
.sh-itemhd .meta{margin-left:auto;display:flex;align-items:center;gap:10px;}
.sh-status-pill{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#6B7280;
  background:#F9FAFB;border:1px solid #E5E7EB;border-radius:8px;padding:5px 10px;white-space:nowrap;}
.sh-status-pill b{color:#374151;font-weight:600;}

.sh-card{border:1px solid #E5E7EB;border-radius:12px;padding:18px 20px;position:relative;margin-bottom:22px;
  background:#fff;}
.sh-key{position:absolute;top:-11px;left:18px;background:#fff;border:1px solid #E5E7EB;border-radius:7px;
  padding:3px 9px;font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;color:#4B5563;white-space:nowrap;}
.sh-card h2{font-size:18px;font-weight:700;letter-spacing:-0.01em;margin:6px 0 8px;color:#111827;}
.sh-tags-l{font-size:12.5px;color:#9CA3AF;margin:0 0 7px;}
.sh-tag{display:inline-flex;align-items:center;font-size:12px;font-weight:500;color:#4B5563;background:#F3F4F6;
  border-radius:6px;padding:3px 9px;}
.sh-dots{position:absolute;top:16px;right:16px;color:#9CA3AF;}

.sh-h3{font-size:15px;font-weight:700;color:#111827;margin:0 0 8px;}
.sh-desc{font-size:13.5px;line-height:1.6;color:#4B5563;margin:0 0 6px;}
.sh-desc ul{margin:6px 0 0;padding-left:20px;}
.sh-desc li{margin-bottom:3px;}
.sh-seemore{font-size:13px;font-weight:600;color:#111827;text-decoration:underline;cursor:default;}

/* tabs */
.sh-tabs{display:flex;align-items:center;gap:26px;border-bottom:1px solid #E5E7EB;margin:18px 0 0;}
.sh-tab{display:inline-flex;align-items:center;gap:8px;padding:0 2px 12px;font-size:14px;font-weight:600;
  color:#6B7280;position:relative;}
.sh-tab.on{color:#111827;}
.sh-tab.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#111827;border-radius:2px;}
.sh-tab .ct{font-size:12px;font-weight:600;color:#6B7280;background:#F3F4F6;border-radius:999px;padding:1px 8px;}
.sh-tabwrap{padding-top:16px;}

/* attachment rows */
.sh-attlist{display:flex;flex-direction:column;gap:9px;}
.sh-att{display:flex;align-items:center;gap:13px;padding:12px 15px;border:1px solid #E5E7EB;border-radius:10px;
  background:#fff;box-shadow:0 1px 2px rgba(3,7,18,.04);}
.sh-att.landing{animation:shPop .55s cubic-bezier(.22,.82,.27,1) both;}
.sh-att .fav{width:30px;height:30px;border-radius:7px;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;background:#F9FAFB;border:1px solid #EEF0F2;padding:5px;}
.sh-att .fav img{width:100%;height:100%;object-fit:contain;}
.sh-att .nm{font-size:13.5px;font-weight:600;color:#111827;}
.sh-att .sub{font-size:11.5px;color:#9CA3AF;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:560px;}

/* relationships graph */
.sh-rel{display:flex;gap:14px;height:430px;}
.sh-relcanvas{flex:1 1 auto;border:1px solid #E5E7EB;border-radius:12px;background:
  radial-gradient(circle, #E5E7EB 1px, transparent 1px) 0 0/22px 22px, #FCFCFD;position:relative;overflow:hidden;}
.sh-reltree{position:absolute;left:50%;top:18px;transform:translateX(-50%);width:520px;height:360px;}
.sh-relwires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;}
.sh-relzoom{position:absolute;top:14px;left:14px;display:flex;flex-direction:column;gap:0;border:1px solid #E5E7EB;
  border-radius:9px;overflow:hidden;background:#fff;z-index:2;}
.sh-relzoom span{width:32px;height:30px;display:flex;align-items:center;justify-content:center;color:#6B7280;
  border-bottom:1px solid #F3F4F6;}
.sh-relnode{position:absolute;width:150px;border:1px solid #E5E7EB;border-radius:9px;background:#fff;padding:9px 11px;
  box-shadow:0 2px 6px rgba(3,7,18,.06);font-size:11px;}
.sh-relnode.focus{border-color:#5C28A4;box-shadow:0 0 0 3px #F4ECFE;}
.sh-relnode .rk{font-family:'Geist Mono',monospace;font-size:9.5px;color:#9CA3AF;font-weight:600;}
.sh-relnode .rt{font-weight:600;color:#374151;font-size:11.5px;margin-top:2px;line-height:1.3;}
.sh-relnode .rf{font-size:9px;color:#5C28A4;font-weight:600;margin-top:3px;}
.sh-rellinked{flex:0 0 256px;border:1px solid #E5E7EB;border-radius:12px;padding:14px;}
.sh-rellinked .lh{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:700;color:#111827;margin-bottom:12px;}
.sh-rellinked .cur{border:1px solid #CCABF7;background:#FBF8FE;border-radius:9px;padding:9px 11px;margin-bottom:12px;}
.sh-rellinked .cur .rk{font-family:'Geist Mono',monospace;font-size:10px;color:#5C28A4;font-weight:600;}
.sh-rellinked .cur .rt{font-size:13px;font-weight:600;color:#111827;}
.sh-rellinked .ch{font-size:12px;color:#6B7280;font-weight:600;margin-bottom:7px;}
.sh-rellinked .crow{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #E5E7EB;border-radius:8px;margin-bottom:6px;}
.sh-rellinked .crow .k{font-family:'Geist Mono',monospace;font-size:10.5px;font-weight:600;color:#5C28A4;
  background:#F4ECFE;border-radius:5px;padding:1px 6px;}
.sh-rellinked .crow .t{font-size:11.5px;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* accordion sections */
.sh-acc{border:1px solid #E5E7EB;border-radius:12px;margin-top:14px;overflow:hidden;}
.sh-acc-hd{display:flex;align-items:center;gap:11px;padding:18px 20px;}
.sh-acc-hd .caret{color:#9CA3AF;}
.sh-acc-hd .aic{width:26px;height:26px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#fff;flex:0 0 auto;}
.sh-acc-hd .aic.est{background:#16A34A;} .sh-acc-hd .aic.dia{background:#EF4444;} .sh-acc-hd .aic.doc{background:#2A6FDB;}
.sh-acc-hd .aic.tools{background:#22B8CF;} .sh-acc-hd .aic.topic{background:#8B5CF6;}
.sh-acc-hd b{font-size:16px;font-weight:700;color:#111827;}
.sh-acc-hd .right{margin-left:auto;display:flex;align-items:center;gap:10px;color:#9CA3AF;}
.sh-acc-body{padding:0 20px 20px;}

/* tools picker */
.sh-toolsgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.sh-toolcard{border:1px solid #E5E7EB;border-radius:12px;padding:26px;display:flex;flex-direction:column;
  align-items:center;gap:11px;position:relative;transition:border-color .15s,box-shadow .15s;}
.sh-toolcard.sel{border-color:#8D4BF6;box-shadow:0 0 0 1px #8D4BF6;}
.sh-toolcard .tic{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#fff;}
.sh-toolcard b{font-size:14px;font-weight:700;color:#111827;}
.sh-toolcard .cbx{position:absolute;top:14px;right:14px;width:20px;height:20px;border-radius:5px;
  border:1.5px solid #D1D5DB;display:flex;align-items:center;justify-content:center;color:#fff;background:#fff;}
.sh-toolcard.sel .cbx{background:#5C28A4;border-color:#5C28A4;}
.sh-toolshd{text-align:center;margin-bottom:16px;}
.sh-toolshd .q{width:24px;height:24px;border-radius:50%;border:1.5px solid #E5E7EB;display:inline-flex;
  align-items:center;justify-content:center;color:#9CA3AF;margin-bottom:7px;}
.sh-toolshd b{display:block;font-size:14px;font-weight:700;color:#111827;}
.sh-toolshd span{font-size:12.5px;color:#9CA3AF;}
.sh-toolsfoot{display:flex;align-items:center;gap:12px;margin-top:16px;}
.sh-toggle{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:500;color:#374151;}
.sh-toggle .tg{width:36px;height:20px;border-radius:999px;background:#D1D5DB;position:relative;transition:background .2s;}
.sh-toggle.on .tg{background:#111827;}
.sh-toggle .tg::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .2s;}
.sh-toggle.on .tg::after{left:18px;}
.sh-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 17px;border-radius:9px;font-size:13.5px;font-weight:600;}
.sh-btn.dark{background:#111827;color:#fff;} .sh-btn.dark.hot{background:#000;transform:translateY(1px);}
.sh-btn.ghost{background:#fff;color:#374151;border:1px solid #E5E7EB;}

/* doc + diagram tool bodies */
.sh-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.sh-toolbar .seg{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#6B7280;border:1px solid #E5E7EB;
  border-radius:8px;padding:7px 11px;}
.sh-toolbar .search{flex:1 1 auto;max-width:380px;display:flex;align-items:center;gap:8px;color:#9CA3AF;font-size:13px;
  border:1px solid #E5E7EB;border-radius:8px;padding:7px 12px;}
.sh-toolbar .new{margin-left:auto;background:#2A6FDB;color:#fff;border-radius:8px;padding:7px 16px;font-size:13px;font-weight:600;}
.sh-docgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;}
.sh-doccard{border:1px solid #EEF0F2;border-radius:11px;overflow:hidden;background:#fff;}
.sh-doccard .thumb{height:96px;background:#F5F3FB;display:flex;align-items:center;justify-content:center;color:#A78BD8;position:relative;}
.sh-doccard .thumb .av{position:absolute;top:8px;right:8px;width:18px;height:18px;border-radius:50%;}
.sh-doccard .ft{padding:9px 11px;}
.sh-doccard .ft b{font-size:13px;font-weight:600;color:#111827;}
.sh-doccard .ft span{display:block;font-size:11px;color:#9CA3AF;margin-top:2px;}
.sh-doccard.new{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-style:dashed;
  color:#9CA3AF;background:#FCFCFD;}
.sh-doccard.new b{font-size:13px;color:#374151;} .sh-doccard.new span{font-size:11px;}
.sh-empty{text-align:center;padding:34px 0;}
.sh-empty .eic{width:54px;height:54px;border-radius:13px;background:#F4ECFE;display:inline-flex;align-items:center;
  justify-content:center;color:#5C28A4;margin-bottom:12px;}
.sh-empty b{display:block;font-size:16px;font-weight:700;color:#111827;}
.sh-empty p{font-size:13px;color:#9CA3AF;margin:5px 0 16px;line-height:1.5;}

/* estimation */
.sh-estgrid{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 18px;}
.sh-estcard{width:62px;height:84px;border:1px solid #E5E7EB;border-radius:10px;display:flex;align-items:center;
  justify-content:center;font-size:24px;font-weight:700;color:#374151;background:#fff;transition:all .18s;}
.sh-estcard.sel{border-color:#5C28A4;background:#5C28A4;color:#fff;box-shadow:0 6px 16px -6px rgba(92,40,164,.5);transform:translateY(-3px);}
.sh-estvoters{display:flex;flex-direction:column;gap:9px;}
.sh-voter{display:flex;align-items:center;gap:11px;padding:10px 13px;border:1px solid #E5E7EB;border-radius:10px;}
.sh-voter img{width:28px;height:28px;border-radius:50%;}
.sh-voter .vn{font-size:13.5px;font-weight:600;color:#111827;flex:1 1 auto;}
.sh-voter .vv{font-size:15px;font-weight:700;color:#5C28A4;background:#F4ECFE;border-radius:8px;padding:3px 13px;min-width:42px;text-align:center;}
.sh-voter .vv.wait{color:#9CA3AF;background:#F3F4F6;}

/* ---------------- right chat ---------------- */
.sh-chat{flex:0 0 372px;width:372px;height:100%;border-left:1px solid #E5E7EB;display:flex;flex-direction:column;background:#fff;}
.sh-chat-top{padding:14px 18px 6px;}
.sh-askorbit{display:inline-flex;align-items:center;gap:9px;border-radius:10px;padding:9px 15px;
  font-size:14px;font-weight:700;color:#111827;background:#fff;white-space:nowrap;position:relative;
  box-shadow:0 0 0 1.5px transparent;
  background-image:linear-gradient(#fff,#fff),linear-gradient(95deg,#8D4BF6,#2A9BDB 55%,#1F8A5B);
  background-origin:border-box;background-clip:padding-box,border-box;border:1.5px solid transparent;}
.sh-askorbit.hot{box-shadow:0 0 0 4px rgba(141,75,246,.16);}
.sh-askorbit .ob{width:24px;height:24px;border-radius:7px;background:#F1E9FC;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto;}

/* ---- orbit chat view ---- */
.sh-orbitview{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;}
.sh-ob-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#F4EEFD;}
.sh-ob-head .back{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:700;color:#4B3A66;
  background:#EADDFB;border-radius:9px;padding:7px 13px;}
.sh-ob-head .mode{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:#111827;
  background:#fff;border-radius:9px;padding:7px 12px;box-shadow:0 1px 2px rgba(3,7,18,.08);}
.sh-ob-head .mode .ob{width:22px;height:22px;border-radius:6px;background:#F1E9FC;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto;}
.sh-orbitbody{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:8px 16px 6px;
  background:linear-gradient(180deg,#fff 0%,#FBF7FF 100%);}
.sh-actions{display:flex;align-items:center;gap:9px;margin:0 16px 10px;border:1px solid #EFE6FB;border-radius:12px;padding:13px 14px;
  font-size:14px;font-weight:700;color:#111827;background:#fff;box-shadow:0 1px 2px rgba(3,7,18,.05);}
.sh-actions .ai{color:#7C3AED;display:flex;align-items:center;}
.sh-actions .ct{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;background:#FEE2E2;color:#DC2626;
  border-radius:999px;font-size:11px;font-weight:700;padding:0 5px;}
.sh-actions .beta{font-size:11px;font-weight:700;color:#2A9BDB;border:1px solid #BCE3F7;border-radius:999px;padding:2px 8px;}
.sh-actions .ch{margin-left:auto;color:#9CA3AF;}
.sh-orbitwelcome{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:6px 8px;}
.sh-orbithero{width:128px;height:128px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle,rgba(140,75,246,.22) 0%,rgba(140,75,246,0) 68%);}
.sh-orbithero img{width:106px;height:106px;object-fit:contain;}
.sh-orbitwelcome h3{font-size:21px;font-weight:700;color:#111827;letter-spacing:-.02em;margin:2px 0 0;}
.sh-orbitwelcome p{font-size:13.5px;line-height:1.55;color:#4B5563;max-width:300px;margin:0;}
.sh-orbitwelcome p.q{font-size:15px;font-weight:700;color:#111827;margin-top:10px;}
.sh-orbitconvo{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px;padding:6px 0 2px;}
.sh-ob-user{align-self:flex-end;max-width:86%;background:#111827;color:#fff;font-size:13px;line-height:1.5;
  border-radius:13px 13px 4px 13px;padding:10px 13px;}
.sh-ob-typing,.sh-ob-reply{display:flex;gap:9px;align-items:flex-start;max-width:92%;}
.sh-ob-typing .av,.sh-ob-reply .av{width:26px;height:26px;border-radius:50%;background:#F1E9FC;flex:0 0 auto;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.sh-ob-typing .av img,.sh-ob-reply .av img{width:100%;height:100%;object-fit:contain;}
.sh-ob-typing .dots{display:inline-flex;align-items:center;gap:4px;background:#F6F2FE;border:1px solid #EAD9FB;border-radius:12px;padding:11px 13px;}
.sh-ob-typing .dots i{width:6px;height:6px;border-radius:50%;background:#A78BFA;animation:sh-ob-blink 1.2s infinite;}
.sh-ob-typing .dots i:nth-child(2){animation-delay:.2s;}
.sh-ob-typing .dots i:nth-child(3){animation-delay:.4s;}
@keyframes sh-ob-blink{0%,60%,100%{opacity:.3;}30%{opacity:1;}}
.sh-ob-reply .bd{background:linear-gradient(135deg,#F6F2FE,#FBF8FE);border:1px solid #EAD9FB;border-radius:4px 13px 13px 13px;
  padding:11px 13px;font-size:12.5px;line-height:1.5;color:#374151;}
.sh-ob-reply .bd p{margin:0 0 7px;}
.sh-ob-reply .bd p:last-child{margin-bottom:0;}
.sh-ob-reply .bd b{font-weight:700;color:#5C28A4;}
.sh-orbitinput{margin:0 16px 14px;border:1.5px solid #C9B8EC;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:11px;background:#fff;
  box-shadow:0 1px 2px rgba(3,7,18,.05);}
.sh-orbitinput .chips{display:flex;gap:8px;}
.sh-orbitinput .chip{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:#4B5563;
  border:1px solid #E5E7EB;border-radius:9px;padding:5px 10px;}
.sh-orbitinput .field{font-size:13.5px;color:#9CA3AF;min-height:30px;}
.sh-orbitinput .row{display:flex;align-items:center;}
.sh-orbitinput .row .send{margin-left:auto;color:#6B7280;}
.sh-chat-sort{display:flex;gap:9px;padding:12px 18px 10px;}
.sh-chat-sort .sg{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:#4B5563;
  border:1px solid #E5E7EB;border-radius:8px;padding:5px 10px;white-space:nowrap;}
.sh-threads{flex:1 1 auto;min-height:0;overflow:hidden;padding:4px 18px 0;}
.sh-msg{padding:14px 0;border-top:1px solid #F3F4F6;opacity:0;transform:translateY(8px);transition:opacity .4s,transform .4s;}
.sh-msg.in{opacity:1;transform:none;}
.sh-msg:first-child{border-top:none;}
.sh-msg-hd{display:flex;align-items:center;gap:9px;margin-bottom:7px;}
.sh-msg-hd img,.sh-msg-hd .ava{width:26px;height:26px;border-radius:50%;flex:0 0 auto;}
.sh-msg-hd .ava{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;}
.sh-msg-hd .ava.orbit{background:#F1E9FC;overflow:hidden;}
.sh-msg-hd .who{font-size:13px;font-weight:600;color:#111827;white-space:nowrap;}
.sh-msg-hd .t{font-size:11px;color:#9CA3AF;margin-left:auto;}
.sh-msg .bd{font-size:13px;line-height:1.5;color:#374151;}
.sh-msg .bd b{font-weight:600;color:#111827;}
.sh-mention{color:#5C28A4;font-weight:600;background:#F4ECFE;border-radius:5px;padding:0 5px;}
.sh-msg .bd.ai{background:linear-gradient(135deg,#F6F2FE,#FBF8FE);border:1px solid #EAD9FB;border-radius:10px;padding:10px 12px;margin-top:2px;}
.sh-msg-att{display:inline-flex;align-items:center;gap:9px;margin-top:9px;border:1px solid #E5E7EB;border-radius:9px;padding:8px 11px;}
.sh-msg-att .pdf{width:26px;height:30px;border-radius:4px;background:#FEE2E2;color:#DC2626;display:flex;align-items:center;
  justify-content:center;font-size:8px;font-weight:800;}
.sh-msg-att .fn{font-size:12px;font-weight:600;color:#374151;}
.sh-msg-foot{display:flex;align-items:center;gap:8px;margin-top:10px;}
.sh-chip{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;color:#6B7280;border:1px solid #E5E7EB;
  border-radius:7px;padding:3px 9px;}
.sh-chip.res{} .sh-chip.res.done{color:#067647;border-color:#BBF7D0;background:#ECFDF3;}
.sh-chat-input{flex:0 0 auto;border-top:1px solid #E5E7EB;padding:12px 16px;}
.sh-chat-input .field{font-size:13px;color:#9CA3AF;padding:6px 2px 12px;}
.sh-chat-input .icons{display:flex;align-items:center;gap:16px;color:#9CA3AF;}
.sh-chat-input .icons .send{margin-left:auto;color:#9CA3AF;}

/* ---------------- bottom agenda bar ---------------- */
.sh-agenda{position:absolute;left:24px;right:24px;bottom:18px;z-index:25;display:flex;align-items:center;
  gap:14px;background:#1B1820;border-radius:14px;padding:9px 14px;box-shadow:0 12px 30px -8px rgba(0,0,0,.5);}
.sh-agenda .nav{display:flex;align-items:center;gap:7px;}
.sh-agenda .nb{width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.08);color:#fff;display:flex;
  align-items:center;justify-content:center;}
.sh-agenda .count{background:#000;border-radius:999px;color:#fff;font-size:12.5px;font-weight:600;padding:5px 16px;white-space:nowrap;}
.sh-agenda .item{display:flex;align-items:center;gap:10px;flex:1 1 auto;color:#fff;font-size:13.5px;font-weight:500;
  background:rgba(255,255,255,.08);border-radius:8px;padding:8px 14px;}
.sh-agenda .item svg{color:rgba(255,255,255,.55);}
.sh-agenda .sh-agenda-grab{position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);width:36px;height:5px;
  border-radius:3px;background:rgba(255,255,255,.3);}
.sh-agenda.hot{box-shadow:0 0 0 2px #8D4BF6, 0 12px 30px -8px rgba(0,0,0,.5);}

/* ---------------- overlays ---------------- */
.sh-scrim{position:absolute;inset:0;background:rgba(3,7,18,.28);backdrop-filter:blur(2px);opacity:0;pointer-events:none;
  z-index:30;}
.sh-scrim.show{opacity:1;}
.sh-pop{position:absolute;background:#fff;border-radius:14px;border:1px solid #E5E7EB;
  box-shadow:0 24px 60px -12px rgba(3,7,18,.4);opacity:0;pointer-events:none;
  transition:transform .3s cubic-bezier(.2,.75,.3,1);z-index:33;overflow:hidden;}
.sh-pop.show{opacity:1;pointer-events:auto;}

/* queue popover (centered over item) */
.sh-queuepop{top:50%;left:50%;transform:translate(-50%,-46%) scale(.97);width:660px;}
.sh-queuepop.show{transform:translate(-50%,-50%) scale(1);}
.sh-qp-hd{display:flex;align-items:center;gap:9px;padding:14px 18px 12px;font-size:14px;font-weight:600;color:#111827;}
.sh-qp-banner{margin:0 16px;background:#15131A;color:#fff;border-radius:10px;padding:14px 16px;display:flex;align-items:center;gap:12px;
  border-left:3px solid #8D4BF6;}
.sh-qp-banner .bt{font-size:13px;flex:1 1 auto;}
.sh-qp-banner .ca{display:inline-flex;align-items:center;gap:7px;background:#2C2733;border-radius:8px;padding:6px 12px;font-size:12.5px;font-weight:600;white-space:nowrap;}
.sh-qp-filters{display:flex;gap:9px;padding:14px 16px 10px;}
.sh-qp-filters .f{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:#6B7280;border:1px solid #E5E7EB;border-radius:8px;padding:7px 12px;}
.sh-qp-filters .f.search{flex:1 1 auto;}
.sh-qp-listhd{display:flex;align-items:center;padding:4px 18px;font-size:13px;}
.sh-qp-listhd b{font-weight:700;color:#111827;} .sh-qp-listhd .ct{font-size:11px;font-weight:600;color:#6B7280;background:#F3F4F6;border-radius:999px;padding:1px 8px;margin-left:8px;}
.sh-qp-listhd .left{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:#6B7280;white-space:nowrap;}
.sh-qp-list{padding:4px 16px;display:flex;flex-direction:column;gap:2px;max-height:280px;overflow:hidden;}
.sh-qprow{display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:8px;}
.sh-qprow.hot{background:#F4ECFE;}
.sh-qprow .grip{color:#D1D5DB;}
.sh-qprow .kk{font-family:'Geist Mono',monospace;font-size:10.5px;font-weight:600;color:#5C28A4;background:#F4ECFE;border-radius:5px;padding:2px 7px;display:inline-flex;align-items:center;gap:4px;}
.sh-qprow .kk.topic{color:#7C3AED;background:#F3EEFE;} .sh-qprow .kk.grp{color:#6B7280;background:#F3F4F6;}
.sh-qprow .tt{font-size:13px;color:#374151;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sh-qprow .est{font-size:12px;color:#9CA3AF;}
.sh-qprow .cnt{font-size:12px;font-weight:600;color:#6B7280;}
.sh-qp-add{margin:8px 16px;border:1px dashed #D1D5DB;border-radius:10px;padding:13px;text-align:center;font-size:13px;font-weight:600;color:#6B7280;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;}
.sh-qp-total{display:flex;align-items:center;padding:10px 20px;border-top:1px solid #F3F4F6;font-size:13px;color:#6B7280;}
.sh-qp-total .pts{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-weight:600;color:#111827;white-space:nowrap;}

/* timer popover */
.sh-timerpop{top:60px;right:120px;width:330px;}
.sh-timerpop.show{transform:translateY(0);} .sh-timerpop{transform:translateY(-8px);}
.sh-tp-hd{display:flex;align-items:center;padding:15px 18px 12px;font-size:15px;font-weight:700;color:#111827;}
.sh-tp-hd .x{margin-left:auto;color:#9CA3AF;}
.sh-tp-cur{margin:0 16px 14px;background:#ECFDF3;border:1px solid #BBF7D0;border-radius:12px;padding:13px 15px;display:flex;align-items:center;}
.sh-tp-cur .lbl{font-size:13px;font-weight:600;color:#111827;} .sh-tp-cur .sub{font-size:11px;color:#16A34A;margin-top:2px;}
.sh-tp-cur .tm{margin-left:auto;font-family:'Geist Mono',monospace;font-size:18px;font-weight:700;color:#16A34A;letter-spacing:.04em;}
.sh-tp-quick{display:flex;gap:8px;padding:0 16px 12px;}
.sh-tp-quick .q{flex:1;text-align:center;border:1px solid #E5E7EB;border-radius:8px;padding:7px;font-size:12px;font-weight:600;color:#374151;}
.sh-tp-quick .ctrl{margin-left:auto;display:flex;gap:6px;}
.sh-tp-quick .ctrl .c{width:32px;height:32px;border-radius:8px;border:1px solid #E5E7EB;display:flex;align-items:center;justify-content:center;color:#6B7280;}
.sh-tp-quick .ctrl .c.stop{background:#FEE2E2;color:#DC2626;border-color:#FECACA;}
.sh-tp-tabs{display:flex;gap:6px;margin:0 16px 12px;background:#F3F4F6;border-radius:9px;padding:3px;}
.sh-tp-tab{flex:1;text-align:center;padding:7px;font-size:12.5px;font-weight:600;color:#6B7280;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:6px;}
.sh-tp-tab.on{background:#fff;color:#5C28A4;box-shadow:0 1px 2px rgba(0,0,0,.06);}
.sh-tp-tab .b{font-size:10px;background:#E3D2FB;color:#5C28A4;border-radius:999px;padding:0 6px;font-weight:700;}
.sh-tp-list{padding:0 16px;display:flex;flex-direction:column;gap:0;}
.sh-tprow{display:flex;align-items:center;gap:11px;padding:11px 0;border-top:1px solid #F3F4F6;}
.sh-tprow:first-child{border-top:none;}
.sh-tprow .info b{font-size:13.5px;font-weight:600;color:#111827;display:block;}
.sh-tprow .info span{font-family:'Geist Mono',monospace;font-size:12px;color:#6B7280;}
.sh-tprow .play{margin-left:auto;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;}
.sh-tprow .play.g{background:#16A34A;} .sh-tprow .play.y{background:#F7A325;}
.sh-tprow .del{color:#D1D5DB;}
.sh-tp-add{margin:12px 16px 16px;background:#111827;color:#fff;border-radius:10px;padding:11px;text-align:center;font-size:13.5px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;}

/* invite popover */
.sh-invitepop{top:60px;right:16px;width:390px;transform:translateY(-8px);}
.sh-invitepop.show{transform:translateY(0);}
.sh-iv-top{text-align:center;padding:24px 22px 10px;}
.sh-iv-top .pic{width:54px;height:54px;border-radius:50%;background:#F3F4F6;display:inline-flex;align-items:center;justify-content:center;color:#9CA3AF;margin-bottom:10px;}
.sh-iv-top b{display:block;font-size:18px;font-weight:700;color:#111827;}
.sh-iv-top p{font-size:13px;color:#6B7280;margin:6px 0 0;line-height:1.5;}
.sh-iv-tabs{display:flex;gap:24px;padding:6px 22px 0;border-bottom:1px solid #E5E7EB;}
.sh-iv-tab{padding:0 2px 11px;font-size:13.5px;font-weight:600;color:#6B7280;position:relative;}
.sh-iv-tab.on{color:#111827;}
.sh-iv-tab.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#111827;}
.sh-iv-body{padding:16px 22px 8px;min-height:188px;}
.sh-iv-search{display:flex;align-items:center;gap:9px;border:1.5px solid #B585F2;border-radius:10px;padding:10px 13px;color:#374151;font-size:13.5px;margin-bottom:12px;box-shadow:0 0 0 3px #F4ECFE;}
.sh-iv-search .cx{margin-left:auto;color:#9CA3AF;}
.sh-iv-row{display:flex;align-items:center;gap:11px;padding:9px 0;}
.sh-iv-row .av{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex:0 0 auto;}
.sh-iv-row img{width:30px;height:30px;border-radius:50%;}
.sh-iv-row .nm b{font-size:13.5px;font-weight:600;color:#111827;display:block;}
.sh-iv-row .nm span{font-size:12px;color:#9CA3AF;}
.sh-iv-row .act{margin-left:auto;font-size:12.5px;font-weight:600;}
.sh-iv-row .act.invited{color:#16A34A;background:#ECFDF3;border-radius:7px;padding:4px 10px;}
.sh-iv-row .act.invite{color:#111827;}
.sh-iv-foot{display:flex;align-items:center;gap:10px;padding:12px 22px 18px;border-top:1px solid #F3F4F6;}
.sh-iv-foot .lk{width:34px;height:34px;border-radius:8px;border:1px solid #E5E7EB;display:flex;align-items:center;justify-content:center;color:#6B7280;}
.sh-iv-slack{display:inline-flex;align-items:center;gap:8px;border:1px solid #E5E7EB;border-radius:8px;padding:8px 13px;font-size:13px;font-weight:600;color:#374151;}
.sh-iv-slack img{width:16px;height:16px;}
.sh-iv-foot .cancel{margin-left:auto;font-size:13px;font-weight:600;color:#6B7280;padding:8px 14px;}
.sh-iv-foot .go{background:#111827;color:#fff;border-radius:8px;padding:8px 18px;font-size:13.5px;font-weight:600;}
.sh-iv-foot .go.hot{background:#000;}
.sh-iv-chan{display:flex;align-items:center;gap:10px;border:1px solid #E5E7EB;border-radius:9px;padding:11px 13px;font-size:13px;color:#9CA3AF;margin-top:8px;}
.sh-iv-chan .lbl{color:#6B7280;font-weight:600;background:#F3F4F6;border-radius:6px;padding:3px 9px;}
.sh-iv-email{display:flex;align-items:center;gap:9px;}
.sh-iv-email .fld{flex:1 1 auto;border:1px solid #E5E7EB;border-radius:9px;padding:10px 13px;font-size:13px;color:#374151;}
.sh-iv-email .add{background:#111827;color:#fff;border-radius:9px;padding:10px 18px;font-size:13.5px;font-weight:600;}

/* file picker — macOS Finder open panel */
.sh-filepop{top:50%;left:50%;transform:translate(-50%,-46%) scale(.98);width:664px;
  background:#fff;border-radius:11px;border:none;
  box-shadow:0 44px 90px -20px rgba(0,0,0,.55), 0 0 0 .5px rgba(0,0,0,.22);}
.sh-filepop.show{transform:translate(-50%,-50%) scale(1);}
/* unified toolbar */
.sh-fp-toolbar{display:flex;align-items:center;gap:13px;height:52px;padding:0 16px;
  background:linear-gradient(#f7f7f8,#e8e8ea);border-bottom:.5px solid #cfcfd3;border-radius:11px 11px 0 0;}
.sh-fp-lights{display:flex;gap:8px;}
.sh-fp-lights span{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.13);}
.sh-fp-lights .r{background:#FF5F57;} .sh-fp-lights .y{background:#FEBC2E;} .sh-fp-lights .g{background:#28C840;}
.sh-fp-navbtns{display:flex;gap:3px;margin-left:6px;}
.sh-fp-navbtns .nb{width:27px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#4b4b50;}
.sh-fp-navbtns .nb.dim{color:#c2c2c7;}
.sh-fp-loc{font-size:14.5px;font-weight:600;color:#1d1d1f;letter-spacing:-.01em;}
.sh-fp-right{margin-left:auto;display:flex;align-items:center;gap:12px;}
.sh-fp-viewseg{display:flex;background:#dededf;border-radius:7px;padding:2px;gap:2px;}
.sh-fp-viewseg .v{width:31px;height:23px;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#6a6a70;}
.sh-fp-viewseg .v.on{background:#fff;color:#1d1d1f;box-shadow:0 1px 2px rgba(0,0,0,.16);}
.sh-fp-search2{display:flex;align-items:center;gap:6px;width:148px;background:#fff;border:.5px solid #cdced2;border-radius:7px;
  padding:5px 9px;color:#9a9aa0;font-size:13px;}
/* body */
.sh-fp-body{display:flex;height:336px;background:#fff;}
.sh-fp-side{flex:0 0 180px;background:#ededf0;padding:8px 10px;font-size:13px;color:#1d1d1f;overflow:hidden;}
.sh-fp-sh{font-size:11px;font-weight:700;color:#8e8e93;margin:11px 8px 4px;}
.sh-fp-sh:first-child{margin-top:3px;}
.sh-fp-side .row{display:flex;align-items:center;gap:9px;padding:5px 8px;border-radius:7px;font-weight:500;line-height:1;}
.sh-fp-side .row .g{width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:#0a84ff;flex:0 0 auto;}
.sh-fp-side .row.sel{background:#0a84ff;color:#fff;}
.sh-fp-side .row.sel .g{color:#fff;}
/* main — icon view */
.sh-fp-main{flex:1 1 auto;background:#fff;padding:16px 16px;overflow:hidden;}
.sh-fp-files{display:flex;flex-wrap:wrap;gap:6px 8px;align-content:flex-start;}
.sh-fp-file{width:100px;padding:8px 6px 9px;border-radius:8px;text-align:center;}
.sh-fp-file .ic{width:56px;height:64px;margin:0 auto 7px;display:flex;align-items:flex-end;justify-content:center;}
.sh-fp-file .page{width:50px;height:62px;background:#fff;border:.5px solid #dcdce0;border-radius:6px;
  box-shadow:0 1px 3px rgba(0,0,0,.13);display:flex;align-items:center;justify-content:center;position:relative;}
.sh-fp-file .page::before{content:"";position:absolute;top:0;right:0;width:0;height:0;
  border-width:0 13px 13px 0;border-style:solid;border-color:#eef0f2 #fff;border-radius:0 6px 0 0;}
.sh-fp-file .page img{width:26px;height:26px;object-fit:contain;}
.sh-fp-file .page .lbl{font-size:9.5px;font-weight:800;letter-spacing:.02em;}
.sh-fp-file .folder{width:52px;height:40px;background:linear-gradient(#79c2ff,#3a96f5);border-radius:3px 5px 5px 5px;position:relative;
  box-shadow:0 1px 2px rgba(0,0,0,.16);}
.sh-fp-file .folder .tab{position:absolute;top:-5px;left:3px;width:20px;height:7px;background:#79c2ff;border-radius:3px 3px 0 0;}
.sh-fp-file .nm{font-size:12px;color:#1d1d1f;line-height:1.25;display:inline-block;padding:1px 7px;border-radius:6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:94px;}
.sh-fp-file.sel .nm{background:#0a84ff;color:#fff;}
.sh-fp-file.sel .page{box-shadow:0 0 0 2px #0a84ff,0 1px 3px rgba(0,0,0,.13);}
/* footer */
.sh-fp-foot{display:flex;align-items:center;gap:10px;padding:11px 16px;
  background:linear-gradient(#f4f4f5,#e8e8ea);border-top:.5px solid #cfcfd3;border-radius:0 0 11px 11px;}
.sh-fp-foot .newf{font-size:13px;font-weight:500;color:#1d1d1f;background:#fff;border:.5px solid #c7c7cc;border-radius:7px;
  padding:6px 13px;box-shadow:0 1px 1px rgba(0,0,0,.04);}
.sh-fp-foot .cancel{margin-left:auto;font-size:13px;font-weight:500;color:#1d1d1f;background:#fff;border:.5px solid #c7c7cc;
  border-radius:7px;padding:6px 16px;box-shadow:0 1px 1px rgba(0,0,0,.04);}
.sh-fp-foot .open{font-size:13px;font-weight:600;color:#fff;background:#0a84ff;border-radius:7px;padding:6px 19px;
  box-shadow:0 1px 2px rgba(10,132,255,.35);transition:background .15s;}
.sh-fp-foot .open.hot{background:#0060df;transform:translateY(.5px);}

/* caption */
.sh-cap{position:absolute;left:90px;bottom:78px;z-index:28;display:inline-flex;align-items:center;gap:10px;
  background:#1B1820;color:#fff;border-radius:10px;padding:9px 15px;white-space:nowrap;font-size:13px;font-weight:500;
  box-shadow:4px 4px 0 #F7A325;opacity:0;transform:translateY(8px);transition:opacity .35s,transform .35s;}
.sh-cap.show{opacity:1;transform:none;}
.sh-cap .cd{width:8px;height:8px;border-radius:50%;background:#F7A325;flex:0 0 auto;}
.sh-cap b{font-weight:700;}

/* cursor */
.sh-cursor{position:absolute;top:0;left:0;width:24px;height:24px;z-index:60;pointer-events:none;
  transform:translate(-100px,-100px);transition:transform .52s cubic-bezier(.33,1,.68,1);
  will-change:transform;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));}
.sh-click{position:absolute;top:0;left:0;width:30px;height:30px;border-radius:50%;z-index:59;border:2px solid #8D4BF6;
  transform:translate(-100px,-100px) scale(0);opacity:0;pointer-events:none;}
.sh-click.fire{animation:shRipple .5s ease-out;}

@keyframes shPop{0%{opacity:0;transform:translateY(-16px) scale(.97);}55%{opacity:1;}100%{opacity:1;transform:none;}}
@keyframes shRipple{0%{transform:translate(var(--cx,-100px),var(--cy,-100px)) scale(.3);opacity:.9;}100%{transform:translate(var(--cx,-100px),var(--cy,-100px)) scale(1.5);opacity:0;}}

@media (prefers-reduced-motion: reduce){
  .sh-cursor,.sh-scroll-inner{transition:none;}
}
