:root {
  --sp-bg: #050a0f;
  --sp-panel: #0b1219;
  --sp-panel-2: #101922;
  --sp-line: rgba(166, 184, 199, .17);
  --sp-line-strong: rgba(166, 184, 199, .3);
  --sp-text: #f1f5f7;
  --sp-muted: #94a5b2;
  --sp-accent: #ff7a1a;
  --sp-neon: #c9ff2f;
  --sp-danger: #ff655f;
  --sp-info: #51b8ff;
  --sp-radius: 18px;
  --sp-control-radius: 10px;
  --sp-pill: 999px;
}

.sp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sp-workspace { min-height: 100svh; padding: 118px 0 72px; color: var(--sp-text); background: radial-gradient(circle at 82% 7%, rgba(87, 148, 180, .12), transparent 27rem), var(--sp-bg); }
.sp-shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.sp-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: end; padding: 54px 0 40px; border-bottom: 1px solid var(--sp-line); }
.sp-hero__copy { max-width: 850px; }
.sp-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--sp-muted); font: 700 11px/1.2 var(--font-mono, monospace); letter-spacing: .16em; text-transform: uppercase; }
.sp-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--sp-accent); box-shadow: 0 0 0 5px rgba(255, 122, 26, .11); }
.sp-hero h1 { max-width: 900px; margin: 20px 0 18px; font-size: clamp(38px, 5vw, 76px); line-height: .98; letter-spacing: -.05em; }
.sp-hero p { max-width: 760px; margin: 0; color: #b0bec8; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.65; }
.sp-hero__system { min-width: 245px; display: flex; align-items: center; gap: 13px; padding: 15px 16px; border: 1px solid var(--sp-line); border-radius: var(--sp-pill); background: rgba(11, 18, 25, .72); }
.sp-hero__system svg { width: 21px; height: 21px; fill: none; stroke: var(--sp-muted); stroke-width: 1.7; transition: transform .25s ease, stroke .25s ease; }
.sp-hero__system:hover svg { transform: rotate(-8deg) scale(1.08); stroke: var(--sp-text); }
.sp-hero__system div { display: grid; gap: 3px; flex: 1; }
.sp-hero__system span { color: var(--sp-muted); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .15em; }
.sp-hero__system strong { font-size: 13px; font-weight: 650; }
.sp-hero__system i { width: 8px; height: 8px; border-radius: 50%; background: var(--sp-accent); box-shadow: 0 0 0 5px rgba(255, 122, 26, .12); }
.sp-hero__system.is-connected i { background: var(--sp-neon); box-shadow: 0 0 13px rgba(201, 255, 47, .8), 0 0 0 5px rgba(201, 255, 47, .1); }

.sp-loading, .sp-access { min-height: 430px; display: grid; place-items: center; align-content: center; text-align: center; }
.sp-loading { gap: 18px; color: var(--sp-muted); }
.sp-loader { width: 34px; height: 34px; border: 2px solid var(--sp-line-strong); border-top-color: var(--sp-neon); border-radius: 50%; animation: sp-spin .8s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-access { max-width: 760px; margin: 0 auto; gap: 15px; padding: 76px 20px; }
.sp-access__icon { position: relative; width: 132px; height: 92px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--sp-line); border-radius: 16px; background: linear-gradient(145deg, rgba(81,184,255,.08), transparent 64%), var(--sp-panel); transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.sp-access__icon::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 28%, rgba(201,255,47,.08), transparent 66%); transform: translateX(-115%); transition: transform .55s ease; }
.sp-access__icon svg { width: 118px; height: 82px; fill: none; stroke: var(--sp-muted); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.sp-access__icon .sp-icon-primary, .sp-access__icon .sp-icon-accent { transition: transform .3s ease, stroke .3s ease, opacity .3s ease; transform-box: fill-box; transform-origin: center; }
.sp-access__icon .sp-icon-accent { stroke: var(--sp-info); }
.sp-access__icon .sp-icon-route { stroke-dasharray: 4 5; transition: stroke-dashoffset .45s ease; }
.sp-access:hover .sp-access__icon { transform: translateY(-4px); border-color: rgba(81,184,255,.48); background-color: var(--sp-panel-2); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.sp-access:hover .sp-access__icon::after { transform: translateX(115%); }
.sp-access:hover .sp-access__icon .sp-icon-primary { stroke: #c8d6de; transform: translateY(-1px); }
.sp-access:hover .sp-access__icon .sp-icon-accent { stroke: var(--sp-neon); transform: scale(1.045); }
.sp-access:hover .sp-access__icon .sp-icon-route { stroke-dashoffset: -18; }
.sp-access h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.sp-access > p:not(.sp-eyebrow) { max-width: 650px; margin: 0; color: var(--sp-muted); font-size: 17px; line-height: 1.65; }
.sp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }

.sp-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 1px solid transparent; border-radius: var(--sp-control-radius); font: 700 12px/1 var(--font-ui, sans-serif); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.sp-button:hover { transform: translateY(-2px); }
.sp-button:focus-visible, .sp-icon-button:focus-visible, .sp-sidebar button:focus-visible, .sp-opportunity:focus-visible { outline: 2px solid var(--sp-neon); outline-offset: 3px; }
.sp-button:disabled { opacity: .55; cursor: wait; transform: none; }
.sp-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .2s ease; }
.sp-button:hover svg { transform: translateX(3px); }
[dir="rtl"] .sp-button:hover svg { transform: translateX(-3px); }
.sp-button--primary { color: #0b1007; background: var(--sp-neon); }
.sp-button--primary:hover { background: #ddff79; }
.sp-button--secondary { color: var(--sp-text); border-color: var(--sp-line-strong); background: var(--sp-panel-2); }
.sp-button--secondary:hover, .sp-button--tertiary:hover { border-color: rgba(201, 255, 47, .55); }
.sp-button--tertiary { color: #c2ced6; border-color: var(--sp-line); background: transparent; }
.sp-button--danger { color: #ffd7d5; border-color: rgba(255, 101, 95, .36); background: rgba(255, 101, 95, .09); }

.sp-dashboard { padding-top: 24px; }
.sp-partner-bar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 18px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: linear-gradient(100deg, rgba(201, 255, 47, .06), transparent 32%), var(--sp-panel); }
.sp-partner-bar__identity, .sp-partner-bar__meta, .sp-partner-bar__meta > span { display: flex; align-items: center; }
.sp-partner-bar__identity { gap: 13px; }
.sp-seal { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(201, 255, 47, .1); }
.sp-seal svg { width: 25px; height: 25px; fill: none; stroke: var(--sp-neon); stroke-width: 1.7; }
.sp-partner-bar__identity > div:last-child { display: grid; gap: 5px; }
.sp-partner-bar__identity span { color: var(--sp-muted); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .14em; }
.sp-partner-bar__identity strong { font-size: 18px; letter-spacing: -.01em; }
.sp-partner-bar__meta { gap: 18px; color: var(--sp-muted); font-size: 12px; }
.sp-partner-bar__meta > span { gap: 8px; }
.sp-partner-bar__meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--sp-muted); }
.sp-partner-bar__meta i.is-live { background: var(--sp-neon); box-shadow: 0 0 10px rgba(201, 255, 47, .72); }
.sp-icon-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; color: var(--sp-muted); border: 1px solid var(--sp-line); border-radius: 50%; background: transparent; cursor: pointer; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.sp-icon-button:hover { color: var(--sp-text); border-color: var(--sp-line-strong); transform: rotate(7deg); }
.sp-icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.sp-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.sp-metrics article { position: relative; min-height: 155px; display: grid; align-content: space-between; gap: 8px; padding: 18px; overflow: hidden; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-panel); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.sp-metrics article:hover { transform: translateY(-3px); border-color: var(--sp-line-strong); background: var(--sp-panel-2); }
.sp-metric-icon { position: absolute; inset-block-start: 15px; inset-inline-end: 15px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--sp-line); border-radius: 12px; }
.sp-metric-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--sp-muted); stroke-width: 1.6; transition: transform .25s ease, stroke .25s ease; }
.sp-metrics article:hover .sp-metric-icon svg { transform: scale(1.12) rotate(-5deg); stroke: var(--sp-neon); }
.sp-metrics article > span { max-width: 70%; color: var(--sp-muted); font: 700 9px/1.3 var(--font-mono, monospace); letter-spacing: .13em; }
.sp-metrics article > strong { align-self: end; font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.sp-metrics small { color: #718491; font-size: 11px; }
.sp-metrics small b { color: var(--sp-accent); }

.sp-workgrid { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: 610px; overflow: hidden; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-panel); }
.sp-sidebar { display: flex; flex-direction: column; min-width: 0; border-inline-end: 1px solid var(--sp-line); background: #081016; }
.sp-sidebar__head { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--sp-line); color: var(--sp-muted); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .14em; }
.sp-sidebar__head svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sp-sidebar nav { display: grid; gap: 3px; padding: 12px; }
.sp-sidebar nav button { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; color: var(--sp-muted); border: 1px solid transparent; border-radius: var(--sp-control-radius); background: transparent; cursor: pointer; text-align: start; font-size: 12px; }
.sp-sidebar nav button b { min-width: 24px; padding: 4px 7px; border-radius: var(--sp-pill); background: rgba(255,255,255,.04); font: 700 10px/1 var(--font-mono, monospace); text-align: center; }
.sp-sidebar nav button:hover { color: var(--sp-text); background: rgba(255,255,255,.03); }
.sp-sidebar nav button.is-active { color: var(--sp-text); border-color: rgba(201, 255, 47, .2); background: rgba(201, 255, 47, .07); }
.sp-sidebar nav button.is-active b { color: #0b1007; background: var(--sp-neon); }
.sp-capacity { margin-top: auto; padding: 18px; border-top: 1px solid var(--sp-line); }
.sp-capacity > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: var(--sp-muted); font: 700 9px/1.3 var(--font-mono, monospace); letter-spacing: .11em; }
.sp-capacity > div b { color: var(--sp-text); }
.sp-capacity__track { height: 4px; margin: 13px 0; overflow: hidden; border-radius: var(--sp-pill); background: rgba(255,255,255,.08); }
.sp-capacity__track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--sp-neon), var(--sp-accent)); transition: width .35s ease; }
.sp-capacity button { padding: 0; color: #b6c4cc; border: 0; background: transparent; text-decoration: underline; text-decoration-color: rgba(182,196,204,.35); text-underline-offset: 4px; cursor: pointer; font-size: 11px; }

.sp-inbox { min-width: 0; }
.sp-inbox__head { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border-bottom: 1px solid var(--sp-line); }
.sp-inbox__head h2 { margin: 6px 0 0; font-size: 24px; letter-spacing: -.03em; }
.sp-search { min-width: min(340px, 45%); position: relative; }
.sp-search input { width: 100%; height: 42px; padding: 0 42px 0 15px; color: var(--sp-text); border: 1px solid var(--sp-line); border-radius: var(--sp-control-radius); background: #070d13; outline: none; }
[dir="rtl"] .sp-search input { padding: 0 15px 0 42px; }
.sp-search input:focus { border-color: rgba(201, 255, 47, .55); box-shadow: 0 0 0 3px rgba(201,255,47,.08); }
.sp-search svg { position: absolute; inset-inline-end: 14px; top: 12px; width: 18px; height: 18px; fill: none; stroke: var(--sp-muted); stroke-width: 1.7; }
.sp-list { display: grid; }
.sp-opportunity { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(130px, .55fr) minmax(130px, .55fr) 36px; gap: 18px; align-items: center; min-height: 116px; padding: 17px 22px; color: inherit; border: 0; border-bottom: 1px solid var(--sp-line); background: transparent; cursor: pointer; text-align: start; transition: background .2s ease; }
.sp-opportunity:hover { background: rgba(255,255,255,.025); }
.sp-opportunity__identity { min-width: 0; display: grid; gap: 7px; }
.sp-opportunity__identity > span { display: flex; align-items: center; gap: 9px; color: var(--sp-muted); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .1em; }
.sp-opportunity__identity > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--sp-accent); }
.sp-opportunity__identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.sp-opportunity__identity small { overflow: hidden; color: #758995; text-overflow: ellipsis; white-space: nowrap; }
.sp-opportunity__cell { display: grid; gap: 7px; }
.sp-opportunity__cell span { color: #718491; font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .11em; text-transform: uppercase; }
.sp-opportunity__cell b { color: #c9d3d9; font-size: 12px; font-weight: 600; }
.sp-opportunity__arrow { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--sp-line); border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.sp-opportunity__arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--sp-muted); stroke-width: 1.7; transition: transform .2s ease, stroke .2s ease; }
.sp-opportunity:hover .sp-opportunity__arrow { border-color: rgba(201,255,47,.4); background: rgba(201,255,47,.07); }
.sp-opportunity:hover .sp-opportunity__arrow svg { stroke: var(--sp-neon); transform: translateX(2px); }
[dir="rtl"] .sp-opportunity:hover .sp-opportunity__arrow svg { transform: translateX(-2px); }
.sp-status { width: fit-content; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: var(--sp-pill); color: #b8c6ce; background: rgba(148,165,178,.1); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .06em; text-transform: uppercase; }
.sp-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sp-status[data-tone="new"] { color: #ffc18c; background: rgba(255,122,26,.1); }
.sp-status[data-tone="active"] { color: #bce8ff; background: rgba(81,184,255,.1); }
.sp-status[data-tone="complete"] { color: #d8ff72; background: rgba(201,255,47,.1); }
.sp-status[data-tone="closed"] { color: #9aabb6; }
.sp-empty { min-height: 380px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 40px; text-align: center; }
.sp-empty svg { width: 40px; height: 40px; fill: none; stroke: #607581; stroke-width: 1.3; }
.sp-empty h3 { margin: 8px 0 0; font-size: 23px; }
.sp-empty p { max-width: 460px; margin: 0; color: var(--sp-muted); }

.sp-drawer-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(1,5,8,.68); backdrop-filter: blur(6px); }
.sp-drawer { position: fixed; z-index: 1200; inset-block: 0; inset-inline-end: 0; width: min(620px, 100%); display: flex; flex-direction: column; color: var(--sp-text); background: #091118; border-inline-start: 1px solid var(--sp-line-strong); box-shadow: -24px 0 70px rgba(0,0,0,.42); transform: translateX(102%); transition: transform .3s ease; }
[dir="rtl"] .sp-drawer { transform: translateX(-102%); box-shadow: 24px 0 70px rgba(0,0,0,.42); }
.sp-drawer.is-open { transform: translateX(0); }
.sp-drawer > header { min-height: 96px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--sp-line); }
.sp-drawer h2 { margin: 8px 0 0; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.sp-drawer__body { flex: 1; overflow-y: auto; padding: 24px; }
.sp-drawer > footer { display: flex; flex-wrap: wrap; gap: 9px; padding: 18px 24px; border-top: 1px solid var(--sp-line); background: #070d12; }
.sp-detail-section { margin-bottom: 26px; }
.sp-detail-section > span { color: var(--sp-muted); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .13em; }
.sp-detail-section > p { margin: 12px 0 0; color: #c0ccd3; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.sp-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.sp-detail-grid div { min-height: 82px; display: grid; align-content: center; gap: 7px; padding: 13px; border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-panel); }
.sp-detail-grid span { color: #70838f; font: 700 9px/1 var(--font-mono, monospace); letter-spacing: .09em; text-transform: uppercase; }
.sp-detail-grid strong { overflow-wrap: anywhere; font-size: 13px; }
.sp-progress { margin-top: 13px; }
.sp-progress__track { height: 7px; overflow: hidden; border-radius: var(--sp-pill); background: rgba(255,255,255,.07); }
.sp-progress__track i { display: block; height: 100%; background: linear-gradient(90deg, var(--sp-info), var(--sp-neon)); }
.sp-progress > div:last-child { display: flex; justify-content: space-between; margin-top: 8px; color: var(--sp-muted); font-size: 11px; }

.sp-dialog { width: min(620px, calc(100% - 28px)); max-height: min(820px, calc(100svh - 32px)); padding: 0; overflow: auto; color: var(--sp-text); border: 1px solid var(--sp-line-strong); border-radius: 24px; background: #0a1219; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.sp-dialog::backdrop { background: rgba(1,5,8,.76); backdrop-filter: blur(7px); }
.sp-dialog form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--sp-line); }
.sp-dialog h2 { margin: 8px 0 0; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.sp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; padding: 24px; }
.sp-form-grid label { display: grid; gap: 8px; color: #a9b8c1; font-size: 12px; }
.sp-form-grid__wide { grid-column: 1 / -1; }
.sp-form-grid input:not([type="checkbox"]):not([type="range"]), .sp-form-grid textarea { width: 100%; padding: 12px 13px; color: var(--sp-text); border: 1px solid var(--sp-line); border-radius: 13px; background: #060c11; outline: none; resize: vertical; }
.sp-form-grid input:focus, .sp-form-grid textarea:focus { border-color: rgba(201,255,47,.55); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.sp-form-grid input[type="range"] { width: calc(100% - 54px); accent-color: var(--sp-neon); }
.sp-form-grid output { margin-inline-start: 10px; color: var(--sp-text); }
.sp-check { grid-template-columns: auto 1fr; align-items: center; }
.sp-check input { width: 18px; height: 18px; accent-color: var(--sp-neon); }
.sp-form-status { min-height: 20px; margin: 0; padding: 0 24px; color: var(--sp-muted); font-size: 12px; }
.sp-form-status.is-error { color: #ffaaa6; }
.sp-dialog form > footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; padding: 18px 24px 22px; }
.sp-toast { position: fixed; z-index: 1300; inset-inline-end: 22px; inset-block-end: 22px; max-width: min(420px, calc(100% - 44px)); padding: 13px 17px; color: var(--sp-text); border: 1px solid var(--sp-line-strong); border-radius: var(--sp-pill); background: #111c24; box-shadow: 0 16px 45px rgba(0,0,0,.38); font-size: 13px; }

@media (max-width: 1000px) {
  .sp-shell { width: min(100% - 30px, 920px); }
  .sp-hero { grid-template-columns: 1fr; gap: 25px; }
  .sp-hero__system { width: fit-content; }
  .sp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-workgrid { grid-template-columns: 205px minmax(0,1fr); }
  .sp-opportunity { grid-template-columns: minmax(0,1fr) 120px 32px; }
  .sp-opportunity__cell:nth-of-type(3) { display: none; }
}

@media (max-width: 720px) {
  .sp-workspace { padding-top: 88px; }
  .sp-shell { width: min(100% - 20px, 680px); }
  .sp-hero { padding: 34px 4px 28px; }
  .sp-hero h1 { font-size: clamp(37px, 12vw, 58px); }
  .sp-hero__system { min-width: 0; width: 100%; }
  .sp-partner-bar { align-items: flex-start; }
  .sp-partner-bar, .sp-partner-bar__meta { flex-direction: column; }
  .sp-partner-bar__meta { width: 100%; align-items: flex-start; gap: 9px; }
  .sp-partner-bar__meta .sp-icon-button { position: absolute; inset-inline-end: 28px; }
  .sp-metrics { gap: 8px; }
  .sp-metrics article { min-height: 138px; padding: 14px; }
  .sp-metrics article > strong { font-size: 36px; }
  .sp-workgrid { display: block; }
  .sp-sidebar { border-inline-end: 0; border-bottom: 1px solid var(--sp-line); }
  .sp-sidebar__head { height: 52px; }
  .sp-sidebar nav { display: flex; overflow-x: auto; scrollbar-width: none; padding: 9px; }
  .sp-sidebar nav::-webkit-scrollbar { display: none; }
  .sp-sidebar nav button { width: auto; min-width: max-content; }
  .sp-capacity { display: none; }
  .sp-inbox__head { align-items: stretch; flex-direction: column; padding: 16px; }
  .sp-search { min-width: 0; width: 100%; }
  .sp-opportunity { grid-template-columns: minmax(0,1fr) 32px; min-height: 105px; padding: 15px 16px; }
  .sp-opportunity__cell { display: none; }
  .sp-drawer { width: 100%; }
  .sp-detail-grid, .sp-form-grid { grid-template-columns: 1fr; }
  .sp-form-grid__wide { grid-column: auto; }
  .sp-dialog form > header, .sp-form-grid, .sp-dialog form > footer { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-loader { animation-duration: 1.8s; }
  .sp-button, .sp-metrics article, .sp-metric-icon svg, .sp-opportunity__arrow svg, .sp-access__icon, .sp-access__icon::after, .sp-access__icon .sp-icon-primary, .sp-access__icon .sp-icon-accent, .sp-access__icon .sp-icon-route, .sp-drawer { transition: none; }
  .sp-access:hover .sp-access__icon, .sp-access:hover .sp-access__icon .sp-icon-primary, .sp-access:hover .sp-access__icon .sp-icon-accent { transform: none; }
}
