/* A single opportunity command view. No aggregate or decorative metrics. */
#showcaseWorkspace { margin-top: 36px; scroll-margin-top: 24px; min-width: 0; }
#showcaseWorkspace[hidden], #privateCallWorkspace[hidden] { display: none !important; }
#workspaceInvitation { margin-top: 20px; }
#workspaceInvitation p { line-height: 1.65; color: var(--text-secondary); }
.sw-content { --sw-ink: var(--text, #1c1917); color: var(--sw-ink); border: 1px solid var(--border); border-radius: 16px; overflow: clip; background: var(--surface); }
.sw-masthead { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 36px; background: #162b33; color: #fff; }
.sw-masthead h2 { font-size: clamp(25px, 3.5vw, 38px); line-height: 1.18; letter-spacing: -.035em; margin: 10px 0 20px; max-width: 650px; font-weight: 600; }
.sw-masthead h2:focus { outline: 2px solid #a9d2ed; outline-offset: 6px; }
.sw-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; margin: 0 0 12px; }
.sw-masthead .sw-eyebrow { color: #c0d8d9; }
.sw-truth { margin: 0; color: #d4e2e3; font-size: 13px; line-height: 1.65; max-width: 620px; }
.sw-status { padding: 16px 32px; color: var(--text-secondary); font-size: 14px; border-bottom: 1px solid var(--border); min-height: 52px; line-height: 1.5; }
.sw-notice { margin: 24px 32px; padding: 18px; color: var(--text); background: var(--warning-soft); border-left: 3px solid var(--warning); line-height: 1.6; }
.sw-notice .sw-button { margin-left: 12px; }
.sw-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; border-bottom: 1px solid var(--border); }
.sw-metrics > div { padding: 26px 24px; border-right: 1px solid var(--border); min-width: 0; }
.sw-metrics > div:last-child { border-right: 0; }
.sw-fact dt { color: var(--text-secondary); font-size: 12px; line-height: 1.5; margin: 0 0 7px; }
.sw-fact dd { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.sw-metrics dd { font-size: clamp(16px,2vw,23px); letter-spacing: -.02em; font-weight: 600; }
.sw-risk { background: var(--warning-soft); }
.sw-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 28px; padding: 32px; align-items: start; }
.sw-main, .sw-side { display: grid; gap: 24px; min-width: 0; }
.sw-card { padding: 26px; border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.sw-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 20px; }
.sw-card .sw-eyebrow { color: var(--text-secondary); }
.sw-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 0 0 20px; }
.sw-muted { font-size: 14px; line-height: 1.65; color: var(--text-secondary); margin: 10px 0 16px; }
.sw-tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 5px; font-size: 11px; font-weight: 600; line-height: 1.5; background: var(--surface-elevated); color: var(--text-secondary); }
.sw-executed { color: var(--success); background: var(--success-soft); }
.sw-assumption { color: var(--text-secondary); }
.sw-chain { list-style: none; margin: 0 0 16px; padding: 0; }
.sw-step { display: flex; align-items: flex-start; gap: 14px; position: relative; padding-bottom: 24px; }
.sw-step:last-child { padding-bottom: 0; }
.sw-step:not(:last-child)::before { content: ''; position: absolute; top: 29px; left: 13px; bottom: 4px; width: 1px; background: var(--border-strong); }
.sw-step-mark { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text-secondary); font-size: 14px; }
.sw-done .sw-step-mark { color: var(--success); background: var(--success-soft); border-color: transparent; }
.sw-step h4 { margin: 3px 0 7px; font-size: 14px; line-height: 1.4; font-weight: 600; }
.sw-step p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.sw-button { appearance: none; font: inherit; font-size: 14px; line-height: 1.4; font-weight: 600; padding: 12px 17px; min-height: 46px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--surface); color: var(--text); cursor: pointer; text-align: left; max-width: 100%; overflow-wrap: anywhere; }
.sw-button:hover:not(:disabled) { background: var(--surface-elevated); border-color: var(--text-secondary); }
.sw-button.sw-primary { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.sw-button.sw-primary:hover:not(:disabled) { background: #1e40af; }
.sw-button:disabled { opacity: .55; cursor: wait; }
.sw-button:focus-visible, .sw-cta:focus-visible, .sw-evidence summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sw-refresh { background: transparent; color: #e4f0f0; border-color: #5d787e; flex-shrink: 0; font-size: 12px; }
.sw-refresh:hover:not(:disabled) { background: #26434b; border-color: #a6c3c8; }
.sw-owner-action { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.sw-booked-time { font-size: 23px; line-height: 1.4; letter-spacing: -.03em; }
.sw-slots { display: grid; gap: 10px; margin-top: 20px; }
.sw-slots .sw-button { width: 100%; }
.sw-recovery { border-left: 3px solid var(--warning); }
.sw-notification { padding: 14px 16px; margin: 20px 0 0; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.6; }
.sw-summary { display: grid; gap: 16px; margin: 0; }
.sw-summary .sw-fact { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sw-evidence { border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; font-size: 13px; line-height: 1.7; }
.sw-evidence summary { cursor: pointer; font-weight: 600; }
.sw-evidence ul { margin: 14px 0 0; padding-left: 18px; color: var(--text-secondary); }
.sw-next { border-top: 1px solid var(--border); padding: 30px 32px; background: var(--surface-elevated); }
.sw-next h3 { margin: 10px 0; font-size: 23px; letter-spacing: -.025em; }
.sw-cta { display: block; width: fit-content; margin-top: 26px; color: var(--accent); font-size: 14px; line-height: 1.6; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.sw-legend { margin: 30px 0 0; color: var(--text-secondary); font-size: 11px; line-height: 1.8; max-width: 700px; }
@media (max-width: 760px) {
  .sw-masthead { flex-direction: column; padding: 25px 20px; gap: 18px; }
  .sw-layout { grid-template-columns: minmax(0,1fr); padding: 20px 16px; gap: 20px; }
  .sw-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sw-metrics > div { padding: 20px 16px; border-bottom: 1px solid var(--border); }
  .sw-metrics > div:nth-child(2) { border-right: 0; }
  .sw-status { padding: 15px 20px; }
  .sw-card { padding: 22px 18px; }
  .sw-next { padding: 24px 20px; }
  .sw-notice { margin: 20px 16px; }
  .sw-notice .sw-button { margin: 12px 0 0; }
  .sw-facts { gap: 18px 12px; }
  .sw-slots .sw-button, .sw-next .sw-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waiting-pulse, .live-dot { animation: none !important; }
  #showcaseWorkspace *, #workspaceInvitation * { animation: none !important; transition: none !important; }
}
