/* ============================================================
   S J LOGISTICS — investors.css
   The IR hub: listing strip, "start here" shelf, searchable
   document library with sticky rail, grievance panel.
   ============================================================ */

/* listing facts strip inside the hero */
.iv-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.iv-fact { border-radius: 16px; padding: 15px 17px; background: rgba(255,255,255,.055); border: 1px solid rgba(196,181,253,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.iv-fact .k { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(225,216,250,.62); }
.iv-fact .v { font-family: "Space Grotesk"; font-weight: 600; font-size: 16.5px; color: #fff; margin-top: 6px; line-height: 1.25; }
.iv-fact .v .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7ef0b0; margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(126,240,176,.5); animation: iv-live 2s ease-out infinite; vertical-align: 1px; }
@keyframes iv-live { 70%, 100% { box-shadow: 0 0 0 8px rgba(126,240,176,0); } }
@media (max-width: 860px) { .iv-facts { grid-template-columns: 1fr 1fr; } }

/* ===== Live market card ===== */
.iv-mkt { padding: clamp(48px, 6vw, 72px) 24px 0; background: linear-gradient(180deg, #ffffff, #ffffff); }
[data-theme="dark"] .iv-mkt { background: #0d0719; }
.iv-mkt-card { display: grid; grid-template-columns: 300px 1fr; border-radius: 24px; overflow: hidden;
  background: linear-gradient(165deg, #241b3d, #150e26); color: #fff; border: 1px solid rgba(196,181,253,.24);
  box-shadow: 0 44px 90px -40px rgba(20,12,36,.75), inset 0 1px 0 rgba(255,255,255,.06); }
.iv-mkt-left { padding: clamp(22px, 3vw, 30px); border-right: 1px solid rgba(196,181,253,.16); display: flex; flex-direction: column; }
.iv-mkt-sym { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.iv-mkt-sym .tick { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 14px; letter-spacing: .08em; color: #fff;
  background: linear-gradient(140deg, #633599, #8b5cf6); border-radius: 8px; padding: 5px 10px; box-shadow: 0 8px 18px -8px rgba(139,92,246,.7); }
.iv-mkt-sym .exch { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(225,216,250,.6); }
.iv-mkt-price { display: flex; align-items: baseline; gap: 7px; margin-top: 16px; font-family: "Space Grotesk"; font-weight: 700;
  font-size: clamp(38px, 4.6vw, 52px); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.iv-mkt-price .cur { font-size: 20px; color: rgba(225,216,250,.7); order: -1; }
.iv-mkt-chg { margin-top: 10px; }
.iv-mkt-chg .badge { display: inline-flex; align-items: center; gap: 6px; font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 12.5px;
  border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.08); color: rgba(225,216,250,.8); }
.iv-mkt-chg .badge.up { background: rgba(52,199,123,.16); color: #7ef0b0; border: 1px solid rgba(126,240,176,.3); }
.iv-mkt-chg .badge.down { background: rgba(255,99,132,.14); color: #ff9db4; border: 1px solid rgba(255,157,180,.3); }
.iv-mkt-facts { list-style: none; margin: 18px 0 0; padding: 0; }
.iv-mkt-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(196,181,253,.2); font-size: 12.5px; }
.iv-mkt-facts li:last-child { border-bottom: none; }
.iv-mkt-facts span { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(225,216,250,.55); padding-top: 2px; }
.iv-mkt-facts b { font-family: "Space Grotesk"; font-weight: 600; font-variant-numeric: tabular-nums; }
.iv-mkt-nse { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 13.5px; color: #d6c4ff; }
.iv-mkt-nse:hover { color: #fff; }
.iv-mkt-nse svg { width: 14px; height: 14px; }
.iv-mkt-note { margin: 10px 0 0; font-size: 10.5px; line-height: 1.5; color: rgba(225,216,250,.45); }
.iv-mkt-right { position: relative; padding: clamp(18px, 2.6vw, 26px); display: flex; flex-direction: column; min-height: 320px; }
.iv-mkt-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.iv-mkt-delay { display: inline-flex; align-items: center; gap: 7px; font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(225,216,250,.62); border: 1px dashed rgba(196,181,253,.32);
  border-radius: 999px; padding: 6px 12px; cursor: help; }
.iv-mkt-delay svg { width: 13px; height: 13px; }
.iv-mkt-tabs { display: flex; gap: 6px; }
.iv-mkt-tabs button { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; color: rgba(225,216,250,.65);
  background: rgba(255,255,255,.05); border: 1px solid rgba(196,181,253,.2); border-radius: 999px; padding: 7px 14px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.iv-mkt-tabs button:hover { color: #fff; background: rgba(255,255,255,.1); }
.iv-mkt-tabs button.on { color: #fff; background: linear-gradient(135deg, #3c2b5d, #8b5cf6); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(139,92,246,.6); }
.iv-mkt-stale { margin: 12px 0 0; padding: 8px 13px; border-radius: 10px; font-size: 11.5px; line-height: 1.5;
  color: #ffd9a8; background: rgba(255,190,110,.1); border: 1px solid rgba(255,190,110,.28); }
.iv-mkt-stale[hidden] { display: none; }
.iv-mkt-chart { position: relative; flex: 1; min-height: 220px; margin-top: 12px; }
.iv-mkt-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.iv-mkt-tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -130%); white-space: nowrap;
  background: #1c162a; border: 1px solid rgba(196,181,253,.3); border-radius: 10px; padding: 7px 11px;
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.iv-mkt-tip .d { color: rgba(225,216,250,.6); margin-right: 8px; }
.iv-mkt-off { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 20px; border: 1.5px dashed rgba(196,181,253,.3); border-radius: 16px; }
.iv-mkt-off[hidden] { display: none; }
.iv-mkt-off b { font-family: "Space Grotesk"; font-weight: 700; font-size: 16.5px; }
.iv-mkt-off span { font-size: 12.5px; color: rgba(225,216,250,.65); max-width: 40ch; }
.iv-mkt-off-btns { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.iv-mkt-off a { font-weight: 700; font-size: 13.5px; color: #d6c4ff; }
.iv-mkt-off a:hover { color: #fff; }
.iv-mkt-off button { cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13px; color: #fff; border: none;
  padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, #3c2b5d, #8b5cf6); box-shadow: 0 10px 22px -10px rgba(99,53,153,.7); }
.iv-mkt-off button:hover { transform: translateY(-1px); }
@media (max-width: 860px) { .iv-mkt-card { grid-template-columns: 1fr; } .iv-mkt-left { border-right: none; border-bottom: 1px solid rgba(196,181,253,.16); } }

/* ===== “Start here” shelf ===== */
.iv-key { padding: var(--sec-pad) var(--gut) clamp(30px, 4vw, 44px); background: linear-gradient(180deg, #ffffff, #f6f3fc); }
[data-theme="dark"] .iv-key { background: linear-gradient(180deg, #0d0719, #160f28); }
.iv-key-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(24px, 3vw, 34px); }
.iv-key-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 22px; overflow: hidden;
  background: linear-gradient(165deg, #2a2140, #1a1229); color: #fff; border: 1px solid rgba(196,181,253,.22);
  box-shadow: 0 26px 54px -30px rgba(20,12,36,.7); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease; }
.iv-key-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.55); box-shadow: 0 36px 70px -30px rgba(99,53,153,.6), 0 0 30px -10px rgba(139,92,246,.5); }
.iv-key-card::after { content: ""; position: absolute; right: -34px; top: -34px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.35), transparent 70%); pointer-events: none; }
.iv-key-tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-family: "JetBrains Mono", monospace; font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #c4a5ff; border: 1px solid rgba(196,181,253,.35); border-radius: 999px; padding: 5px 10px; }
.iv-key-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c084fc; }
.iv-key-card h3 { font-family: "Space Grotesk"; font-weight: 700; font-size: 17.5px; line-height: 1.25; margin: 14px 0 0; color: #fff; }
.iv-key-card p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(225,216,250,.68); flex: 1; }
.iv-key-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 13.5px; color: #fff; }
.iv-key-open .pdf { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, #633599, #8b5cf6); box-shadow: 0 8px 16px -8px rgba(139,92,246,.7); }
.iv-key-open .pdf svg { width: 15px; height: 15px; }
.iv-key-open .arr { width: 15px; height: 15px; transition: transform .25s ease; }
.iv-key-card:hover .iv-key-open .arr { transform: translateX(4px); }
@media (max-width: 940px) { .iv-key-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .iv-key-grid { grid-template-columns: 1fr; } }

/* ===== Library — the filing cabinet ===== */
.iv-lib { padding: clamp(30px, 4vw, 44px) 24px clamp(70px, 9vw, 110px); background: linear-gradient(180deg, #f6f3fc, #ffffff); }
[data-theme="dark"] .iv-lib { background: linear-gradient(180deg, #160f28, #0d0719); }
.iv-cab { max-width: 1180px; margin: 0 auto; }
/* cabinet header */
.iv-cab-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.iv-cab-label .k { display: block; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #7c46c9; }
[data-theme="dark"] .iv-cab-label .k { color: #c4a5ff; }
.iv-cab-label b { display: block; margin-top: 5px; font-family: "Space Grotesk"; font-weight: 700; font-size: clamp(19px, 2.4vw, 25px);
  letter-spacing: -.01em; color: var(--ink); }
.iv-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.iv-search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.iv-search input { width: 100%; padding: 13px 38px 13px 41px; border-radius: 13px; border: 1px solid var(--border); background: #fff;
  color: var(--ink); font-family: inherit; font-size: 14.5px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
[data-theme="dark"] .iv-search input { background: rgba(255,255,255,.05); border-color: rgba(196,181,253,.24); }
.iv-search input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.2); }
.iv-search-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(139,92,246,.14); color: #7c46c9; font-size: 17px; line-height: 1; display: grid; place-items: center; }
.iv-search-x[hidden] { display: none; }
[data-theme="dark"] .iv-search-x { color: #c4a5ff; }
/* explorer: folder list beside the open folder */
.iv-explorer { display: grid; grid-template-columns: 268px 1fr; gap: 16px; align-items: start; }
.iv-list { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 20px; background: #fff;
  border: 1px solid var(--border); box-shadow: 0 24px 50px -40px rgba(60,43,93,.45); position: sticky; top: 100px; }
[data-theme="dark"] .iv-list { background: rgba(255,255,255,.035); border-color: rgba(196,181,253,.18); }
.iv-list-head { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); padding: 6px 10px 8px; }
.iv-tab { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; cursor: pointer; font-family: inherit;
  text-align: left; padding: 11px 12px; border-radius: 13px; border: 1px solid transparent; background: none; color: var(--muted);
  transition: background .22s ease, color .22s ease, border-color .22s ease; }
.iv-tab:hover { background: rgba(139,92,246,.07); color: var(--ink); }
.iv-tab.on { color: #fff; background: linear-gradient(120deg, #3c2b5d 0%, #633599 65%, #7a45b8 130%);
  border-color: transparent; box-shadow: 0 12px 26px -14px rgba(99,53,153,.8); }
.iv-tab .ic { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #7c46c9;
  background: rgba(139,92,246,.11); border: 1px solid rgba(139,92,246,.22); transition: all .22s ease; }
[data-theme="dark"] .iv-tab .ic { color: #c4a5ff; }
.iv-tab.on .ic { background: rgba(255,255,255,.2); color: #fff; border-color: transparent; }
.iv-tab .ic svg { width: 16px; height: 16px; }
.iv-tab .nm { flex: 1; min-width: 0; font-family: "Space Grotesk"; font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.iv-tab .n { flex: none; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; background: rgba(99,53,153,.1); color: #7c46c9; }
[data-theme="dark"] .iv-tab .n { background: rgba(196,181,253,.16); color: #c4a5ff; }
.iv-tab.on .n { background: rgba(255,255,255,.22); color: #fff; }
.iv-tab-go { display: none; flex: none; width: 16px; height: 16px; opacity: .5; }
/* nested groups: a parent folder holding sub-folders */
.iv-group { border-radius: 13px; }
.iv-grp-btn { display: flex; align-items: center; gap: 11px; width: 100%; cursor: pointer; font-family: inherit;
  text-align: left; padding: 11px 12px; border-radius: 13px; border: 1px solid transparent; background: none;
  color: var(--ink); transition: background .22s ease; }
.iv-grp-btn:hover { background: rgba(139,92,246,.07); }
.iv-grp-btn .ic { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  color: #7c46c9; background: rgba(139,92,246,.11); border: 1px solid rgba(139,92,246,.22); }
[data-theme="dark"] .iv-grp-btn .ic { color: #c4a5ff; }
.iv-grp-btn .ic svg { width: 16px; height: 16px; }
.iv-grp-btn .nm { flex: 1; font-family: "Space Grotesk"; font-weight: 700; font-size: 13.5px; }
.iv-grp-btn .n { flex: none; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; background: rgba(99,53,153,.1); color: #7c46c9; }
[data-theme="dark"] .iv-grp-btn .n { background: rgba(196,181,253,.16); color: #c4a5ff; }
.grp-chev { flex: none; width: 15px; height: 15px; color: var(--faint); transition: transform .3s ease; }
.iv-group.open .grp-chev { transform: rotate(180deg); }
.iv-kids { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1); }
.iv-group.open .iv-kids { grid-template-rows: 1fr; }
.iv-kids > * { overflow: hidden; }
.iv-kids { position: relative; }
.iv-group.open .iv-kids::before { content: ""; position: absolute; left: 27px; top: 4px; bottom: 6px; width: 1.5px;
  background: linear-gradient(180deg, rgba(139,92,246,.4), rgba(139,92,246,.08)); }
.iv-tab.kid { padding-left: 44px; }
.iv-tab.kid .nm { font-weight: 600; font-size: 13px; }
.iv-tab.kid::before { content: ""; position: absolute; left: 27px; top: 50%; width: 10px; height: 1.5px;
  background: rgba(139,92,246,.4); }
.iv-tab.kid.on::before { background: rgba(255,255,255,.5); }
/* breadcrumb inside the open folder */
.iv-crumb { display: block; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.iv-crumb span { color: #8b5cf6; }
/* the open folder */
.iv-folders { position: relative; border: 1px solid var(--border); border-radius: 22px; background: #fff;
  padding: clamp(20px, 3vw, 30px); box-shadow: 0 34px 70px -44px rgba(60,43,93,.45); min-width: 0; }
[data-theme="dark"] .iv-folders { background: rgba(255,255,255,.035); border-color: rgba(196,181,253,.18); }
.iv-back { display: none; align-items: center; gap: 8px; cursor: pointer; font-family: "JetBrains Mono", monospace; font-size: 11px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7c46c9; background: rgba(139,92,246,.09);
  border: 1px solid rgba(139,92,246,.25); border-radius: 999px; padding: 9px 15px; margin-bottom: 16px; }
[data-theme="dark"] .iv-back { color: #c4a5ff; }
.iv-back svg { width: 14px; height: 14px; }
.iv-folder { animation: iv-folder-in .35s cubic-bezier(.22,1,.36,1); }
@keyframes iv-folder-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.iv-folder-head { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--border); }
.iv-folder-head .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #633599, #8b5cf6); box-shadow: 0 10px 22px -10px rgba(99,53,153,.6); }
.iv-folder-head .ic svg { width: 22px; height: 22px; }
.iv-folder-head .tx { flex: 1; min-width: 0; }
.iv-folder-head h2 { font-family: "Space Grotesk"; font-weight: 700; font-size: clamp(19px, 2.4vw, 25px); letter-spacing: -.01em; color: var(--ink); margin: 0; }
.iv-folder-head p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.iv-folder-n { flex: none; font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.iv-folder-n b { color: #7c46c9; } [data-theme="dark"] .iv-folder-n b { color: #c4a5ff; }
/* archive drawer — the accordion at the back of the folder */
.iv-drawer { margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 14px; }
.iv-drawer-btn { width: 100%; display: flex; align-items: center; gap: 13px; cursor: pointer; font-family: inherit; text-align: left;
  padding: 14px 16px; border-radius: 15px; border: 1px dashed rgba(139,92,246,.4); background: rgba(139,92,246,.05); color: var(--ink);
  transition: background .25s ease, border-color .25s ease; }
.iv-drawer-btn:hover { background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.6); }
.iv-drawer-btn .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #7c46c9;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.25); }
[data-theme="dark"] .iv-drawer-btn .ic { color: #c4a5ff; }
.iv-drawer-btn .ic svg { width: 18px; height: 18px; }
.iv-drawer-btn .tx { flex: 1; font-family: "Space Grotesk"; font-weight: 600; font-size: 14.5px; }
.iv-drawer-btn .tx span { display: block; font-family: "Inter", sans-serif; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.iv-drawer-btn .chev { flex: none; width: 18px; height: 18px; color: #7c46c9; transition: transform .35s ease; }
[data-theme="dark"] .iv-drawer-btn .chev { color: #c4a5ff; }
.iv-drawer.open .iv-drawer-btn .chev { transform: rotate(180deg); }
.iv-drawer-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.4,0,.2,1); }
.iv-drawer.open .iv-drawer-body { grid-template-rows: 1fr; }
.iv-drawer-body > .iv-rows { overflow: hidden; }
.iv-drawer.open .iv-drawer-body > .iv-rows { padding-top: 10px; }
/* cabinet footer */
.iv-cab-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 0 4px; }
.iv-count { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.iv-count b { color: #7c46c9; } [data-theme="dark"] .iv-count b { color: #c4a5ff; }
.iv-cab-help { font-size: 12.5px; color: var(--muted); }
.iv-cab-help a { font-weight: 700; color: #7c46c9; } [data-theme="dark"] .iv-cab-help a { color: #c4a5ff; }
/* search mode: every folder opens into one flat result list */
.iv-cab.searching .iv-list { opacity: .5; pointer-events: none; }
.iv-cab.searching .iv-folder-head p { display: none; }
.iv-cab.searching .iv-drawer-btn { display: none; }
.iv-cab.searching .iv-drawer { border-top: none; padding-top: 0; margin-top: 0; }
.iv-cab.searching .iv-drawer-body { grid-template-rows: 1fr; }
.iv-cab.searching .iv-folder + .iv-folder { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--border); }
/* mobile: folder list is the page, tapping drills into a folder */
@media (max-width: 820px) {
  .iv-explorer { grid-template-columns: 1fr; }
  .iv-list { position: static; }
  .iv-tab-go { display: block; }
  .iv-folders { display: none; }
  .iv-back { display: inline-flex; }
  .iv-explorer.viewing .iv-list { display: none; }
  .iv-explorer.viewing .iv-folders { display: block; }
  /* while searching, results replace the drill-down entirely */
  .iv-cab.searching .iv-list { display: none; }
  .iv-cab.searching .iv-folders { display: block; }
  .iv-cab.searching .iv-back { display: none; }
}
/* document rows */
.iv-rows { display: flex; flex-direction: column; gap: 9px; }
.iv-row { display: flex; align-items: center; gap: 15px; padding: 14px 16px; border-radius: 15px; background: #fff; border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
[data-theme="dark"] .iv-row { background: rgba(255,255,255,.04); }
.iv-row:hover { transform: translateX(4px); border-color: rgba(139,92,246,.42); box-shadow: 0 16px 34px -24px rgba(99,53,153,.5); }
.iv-pdf { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #7c46c9;
  background: rgba(139,92,246,.09); border: 1px solid rgba(139,92,246,.22); position: relative; }
[data-theme="dark"] .iv-pdf { color: #c4a5ff; }
.iv-pdf svg { width: 19px; height: 19px; }
.iv-pdf .ext { position: absolute; right: -4px; bottom: -4px; font-family: "JetBrains Mono", monospace; font-size: 7.5px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: linear-gradient(140deg, #633599, #8b5cf6); border-radius: 5px; padding: 2px 4px; }
.iv-row-tx { flex: 1; min-width: 0; }
.iv-row-tx b { font-family: "Space Grotesk"; font-weight: 600; font-size: 15px; color: var(--ink); display: block; line-height: 1.3; }
.iv-row-tx span { font-size: 12.5px; line-height: 1.45; color: var(--muted); display: block; margin-top: 3px; }
.iv-chip { flex: none; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.iv-open { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, #3c2b5d 0%, #633599 58%, #8b5cf6 125%); box-shadow: 0 10px 22px -10px rgba(99,53,153,.6);
  transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
.iv-open:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(99,53,153,.7); }
.iv-open svg { width: 14px; height: 14px; }
@media (max-width: 880px) {
  .iv-lib-grid { grid-template-columns: 1fr; }
  .iv-rail { position: static; }
  .iv-nav { flex-direction: row; overflow-x: auto; padding: 6px; }
  .iv-nav a { flex: none; }
  .iv-nav .n { margin-left: 6px; }
  .iv-rail-help { display: none; }
}
@media (max-width: 620px) {
  .iv-chip { display: none; }
  .iv-row { flex-wrap: wrap; }
  .iv-open { margin-left: 57px; }
}
/* empty search state */
.iv-none { display: none; text-align: center; padding: clamp(34px, 6vw, 60px) 20px; border: 1.5px dashed rgba(139,92,246,.35); border-radius: 20px; }
.iv-none.show { display: block; }
.iv-none .big { font-family: "Space Grotesk"; font-weight: 700; font-size: clamp(19px, 2.4vw, 24px); color: var(--ink); }
.iv-none p { margin: 8px auto 0; font-size: 14px; color: var(--muted); max-width: 40ch; }
.iv-none button { margin-top: 16px; border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13.5px; color: #fff;
  padding: 11px 20px; border-radius: 999px; background: linear-gradient(135deg, #3c2b5d, #8b5cf6); box-shadow: 0 12px 24px -10px rgba(99,53,153,.6); }

/* ===== Grievance / help panel ===== */
.iv-help { position: relative; overflow: hidden; padding: var(--sec-pad) var(--gut); background: linear-gradient(165deg, #2a2140 0%, #3c2b5d 52%, #2b2a29 100%); }
.iv-help .orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; pointer-events: none; }
.iv-help .orb.a { width: 340px; height: 340px; background: #8b5cf6; left: -100px; top: -110px; }
.iv-help .orb.b { width: 300px; height: 300px; background: #d946ef; right: -80px; bottom: -100px; }
.iv-help-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; }
.iv-help-head { max-width: 640px; margin-bottom: clamp(26px, 4vw, 40px); }
.iv-help-head .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.iv-help-head .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c084fc; box-shadow: 0 0 0 4px rgba(168,85,247,.22); }
.iv-help-head h2 { font-family: "Space Grotesk"; font-weight: 700; letter-spacing: -.02em; font-size: clamp(26px, 4vw, 44px); line-height: 1.06; margin: 14px 0 0; color: #fff; }
.iv-help-head h2 .g { background: linear-gradient(100deg, #c4a5ff, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iv-help-head p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: rgba(225,216,250,.78); }
.iv-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.iv-help-card { border-radius: 20px; padding: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(196,181,253,.2);
  transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.iv-help-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(139,92,246,.5); }
.iv-help-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #633599, #8b5cf6); box-shadow: 0 10px 22px -10px rgba(139,92,246,.7); }
.iv-help-card .ic svg { width: 20px; height: 20px; }
.iv-help-card h3 { font-family: "Space Grotesk"; font-weight: 700; font-size: 18px; color: #fff; margin: 16px 0 0; }
.iv-help-card p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: rgba(225,216,250,.72); }
.iv-help-card .links { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.iv-help-card .links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: #d6c4ff; }
.iv-help-card .links a:hover { color: #fff; }
.iv-help-card .links a svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 880px) { .iv-help-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .iv-fact .v .live { animation: none !important; }
}
