/* Product previews mirror packages/ui-theme/theme.css and packages/screens.
   Keep marketing typography outside these scopes. Samples never use live data. */
@font-face { font-family: 'Ondago Inter'; src: url('/fonts/inter-var-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
.showcase .hw, .showcase .hp-demo, .uc-page :is(.ca-demo,.ap-demo,.co-demo,.ss-demo,.pv-demo) {
  --sans: 'Ondago Inter', Inter, sans-serif;
  --preview-bg: #f8f9fb; --preview-surface: #fff; --preview-soft: #f3f4f6;
  --preview-ink: #111827; --preview-muted: #6b7280; --preview-line: #e5e7eb;
  --preview-primary: #2563eb; --preview-selected: #eff6ff; --preview-border: #bfdbfe;
  --preview-warn: #b45309; --preview-warn-fill: #fffbeb;
  --paper: var(--preview-bg); --surface: var(--preview-surface); --surface-soft: var(--preview-soft);
  --ink: var(--preview-ink); --muted: var(--preview-muted); --line: var(--preview-line); --cta: var(--preview-primary);
  font-family: var(--sans); font-size: 13px; line-height: 1.5; letter-spacing: 0;
  background: var(--preview-bg); color: var(--preview-ink); border: 1px solid var(--preview-line); border-radius: 12px;
  box-shadow: 0 12px 40px #11182708;
}
html[data-theme="dark"] :is(.hw,.hp-demo,.ca-demo,.ap-demo,.co-demo,.ss-demo,.pv-demo) {
  --preview-bg: #0b1220; --preview-surface: #111827; --preview-soft: #182234;
  --preview-ink: #e5e7eb; --preview-muted: #9ca3af; --preview-line: #ffffff18;
  --preview-primary: #7aa2ff; --preview-selected: #172b4d; --preview-border: #345583;
  --preview-warn: #fbbf24; --preview-warn-fill: #332713;
}
:is(.hw,.hp-demo,.ca-demo,.ap-demo,.co-demo,.ss-demo,.pv-demo) :is(button,input,select,h3,h4) { font-family: 'Ondago Inter', Inter, sans-serif; letter-spacing: 0; }
:is(.hw,.hp-demo,.ca-demo,.ap-demo,.co-demo,.ss-demo,.pv-demo) button:focus-visible { outline: 2px solid var(--preview-primary); outline-offset: 3px; }
.showcase .hw-bar, .showcase .hp-demo-bar, .uc-page :is(.ca-demo-top,.ap-demo-toolbar,.co-demo-toolbar,.ss-demo-toolbar,.pv-app-bar) {
  background: var(--preview-surface); border-bottom: 1px solid var(--preview-line); color: var(--preview-muted);
  font: 400 11px/1.5 var(--sans); padding: 14px 18px;
}
.showcase .hw-bar { justify-content: space-between; }
.showcase .preview-wordmark { font-size: 12px; letter-spacing: .3em; color: var(--preview-ink); }
.showcase .hw-tag { border: 0; background: transparent; font-size: 11px; }
.showcase .hw-places { padding: 24px 20px 0; }
.showcase .hw-places h3, .showcase .hw-list > h3 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.showcase .hw-place-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.showcase .hw-place { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; padding: 18px; border: 1px solid var(--preview-line); border-radius: 10px; background: var(--preview-surface); color: var(--preview-ink); cursor: pointer; }
.showcase .hw-place[aria-pressed="true"] { background: var(--preview-selected); border-color: var(--preview-border); }
.showcase .hw-place strong { font-size: 14px; font-weight: 600; }
.showcase .hw-place small { display: block; color: var(--preview-muted); font-size: 11px; margin-top: 3px; }
.showcase .hw-place-icon, .showcase .hw-session-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--preview-line); background: var(--preview-bg); font-size: 22px; }
.showcase .hw-place-icon { width: 44px; height: 44px; }
.showcase .hw-place-availability { display: block; margin-top: 12px; font-size: 11px; color: var(--preview-muted); }
.showcase .hw-place-action { margin: auto 0 0 auto; font-size: 11px; white-space: nowrap; }
.showcase .hw-body { grid-template-columns: 170px minmax(0,1.4fr) minmax(0,1fr); gap: 20px; padding: 24px 20px; align-items: start; }
.showcase .hw-side, .showcase .hw-list { border: 0; padding: 0; }
.showcase .hw-side { padding-top: 4px; }
.showcase .hw-label { font: 500 12px/1.5 var(--sans); text-transform: none; letter-spacing: 0; color: var(--preview-muted); }
.showcase .hw-side > .hw-label { color: var(--preview-ink); margin-bottom: 16px; }
.showcase .hw-project { font-size: 12px; padding: 10px; border-radius: 8px; }
.showcase .hw-project[aria-pressed="true"], .showcase .hp-demo .hp-demo-project[aria-pressed="true"] { background: var(--preview-selected); color: var(--preview-ink); box-shadow: none; }
.showcase .hw-count { background: var(--preview-warn-fill); color: var(--preview-warn); font: 500 10px var(--sans); }
.showcase .hw-filters { display: flex; gap: 14px; border-bottom: 1px solid var(--preview-line); margin-bottom: 12px; }
.showcase .hw-filters button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--preview-muted); padding: 8px 0; font-size: 11px; cursor: pointer; }
.showcase .hw-filters button[aria-pressed="true"] { color: var(--preview-ink); border-bottom-color: var(--preview-primary); }
.showcase .hw-search input { box-sizing: border-box; width: 100%; min-width: 0; height: 36px; border: 1px solid var(--preview-line); border-radius: 8px; padding: 8px 12px; background: var(--preview-surface); color: var(--preview-ink); font-size: 12px; }
.showcase .hw-search input:focus-visible { outline: 2px solid var(--preview-primary); outline-offset: 2px; }
.showcase .hw-list > .hw-label { margin: 12px 0; font-size: 11px; }
.showcase .hw-session, .showcase .hp-demo .hp-demo-session { display: flex; align-items: center; gap: 12px; padding: 14px 12px; width: 100%; border: 1px solid var(--preview-line); border-radius: 10px; background: var(--preview-surface); box-shadow: none; color: var(--preview-ink); }
.showcase .hw-session[aria-pressed="true"], .showcase .hp-demo .hp-demo-session[aria-pressed="true"] { border-color: var(--preview-border); background: var(--preview-selected); box-shadow: none; }
.showcase .hw-session-copy { min-width: 0; flex: 1; text-align: left; }
.showcase .hw-task { font: 600 12px/1.45 var(--sans); }
.showcase .hw-location { display: block; font-size: 11px; margin-top: 4px; }
.showcase .hw-agent { display: block; font: 400 10px/1.6 var(--sans); color: var(--preview-muted); margin-top: 3px; }
.showcase .hw-session-end { display: flex; flex-direction: column; gap: 8px; align-items: end; }
.showcase .hw-session-end small { font-size: 9px; white-space: nowrap; color: var(--preview-muted); }
.showcase .hw-status { padding: 3px 7px; font: 400 10px/1.4 var(--sans); border: 0; border-radius: 20px; white-space: nowrap; }
.showcase .hw-status[data-tone="run"] { color: var(--preview-primary); background: var(--preview-selected); }
.showcase .hw-status[data-tone="wait"] { color: var(--preview-warn); background: var(--preview-warn-fill); }
.showcase .hw-status[data-tone="done"] { color: var(--preview-muted); background: var(--preview-soft); }
.showcase .hw-detail { padding: 16px; background: var(--preview-surface); border: 1px solid var(--preview-line); border-radius: 10px; }
.showcase .hw-detail > .hw-label { color: var(--preview-ink); margin-bottom: 20px; }
.showcase .hw-detail-title { display: flex; align-items: start; gap: 12px; }
.showcase .hw-detail-title h3 { font: 600 16px/1.35 var(--sans); margin: 0 0 8px; }
.showcase .hw-detail-meta { color: var(--preview-muted); font-size: 10px; margin: 14px 0; }
.showcase .hw-actions { display: grid; gap: 8px; }
.showcase .hw-btn { border: 1px solid var(--preview-border); color: var(--preview-primary); background: var(--preview-selected); font: 500 11px/1.5 var(--sans); padding: 9px 10px; border-radius: 8px; }
.showcase .hw-btn.primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.showcase .hw-facts { border: 1px solid var(--preview-line); border-radius: 10px; padding: 12px; margin-top: 16px; }
.showcase .hw-facts h4, .showcase .hw-activity h4 { font: 500 12px/1.5 var(--sans); margin: 0 0 10px; }
.showcase .hw-facts dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.showcase .hw-facts dt { font: 400 10px var(--sans); color: var(--preview-muted); }
.showcase .hw-facts dd { font: 500 11px/1.5 var(--sans); margin: 3px 0 0; }
.showcase .hw-activity { margin-top: 16px; }
.showcase .hw-activity[hidden] { display: none; }
.showcase .hw-note { font: 400 11px/1.5 var(--sans); color: var(--preview-muted); margin: 12px 0 0; }
.showcase .hw-note:empty { display: none; }
.showcase .hw-empty { color: var(--preview-muted); padding: 24px 12px; font-size: 12px; }
.showcase .hw-empty button { display: block; margin-top: 12px; }
.showcase .hp-demo .hp-demo-session { flex-direction: row; flex-wrap: wrap; }
.showcase .hp-demo-session .hw-session-end { flex-direction: row; align-items: center; width: 100%; }
.showcase .hp-demo-inspector { background: var(--preview-surface); }
.showcase .hp-demo :is(.hp-demo-meta,.hp-demo-project > span,.hp-demo-status) { font-family: var(--sans); letter-spacing: 0; }
.showcase .hp-demo .hp-demo-action { background: #2563eb; color: #fff; border: 1px solid #2563eb; border-radius: 8px; font-weight: 500; }
.showcase .hp-demo .showcase-choice[data-state="active"] { background: var(--preview-selected); color: var(--preview-primary); border-color: var(--preview-border); }
.showcase .hp-demo :is(.hp-transfer-task,.hp-collab-primary,.hp-team-developer) { background: var(--preview-surface); border-radius: 10px; }
.showcase .hp-demo .hp-transfer-progress { color: var(--preview-muted); }
/* Dedicated workflow pages use the same product surfaces and type hierarchy. */
.uc-page :is(.ca-env-label,.ca-env-role,.ap-terminal-role,.ap-illustration-label,.co-panel-label,.co-message-label,.ss-small-label,.pv-concept-label,.pv-table-heading,.pv-session-time,.pv-session-status) { font-family: 'Ondago Inter', Inter, sans-serif; text-transform: none; letter-spacing: 0; }
.uc-page :is(.ap-terminal,.ap-context,.co-primary,.co-review,.co-specialists,.ss-developer,.pv-sidebar,.pv-main,.ca-cloud-console) { background: var(--preview-surface); border-color: var(--preview-line); border-radius: 10px; box-shadow: none; }
.uc-page :is(.ap-terminal-heading,.co-panel-heading,.ss-person-heading,.pv-project-header,.pv-session-toolbar) { background: var(--preview-surface); border-color: var(--preview-line); }
.uc-page :is(.pv-session-row,.pv-project-button,.pv-folder-button,.ap-agent-option,.co-specialist) { border-radius: 8px; }
.uc-page :is(.pv-project-button,.pv-folder-button,.pv-session-row,.ap-agent-option,.co-specialist)[aria-pressed="true"] { background: var(--preview-selected); border-color: var(--preview-border); color: var(--preview-ink); box-shadow: none; }
.uc-page :is(.pv-search,.co-forward-button,.ss-share-button,.ap-continue-button) { border-radius: 8px; font-family: 'Ondago Inter', Inter, sans-serif; }
.uc-page :is(.co-forward-button,.ss-share-button,.ap-continue-button) { background: #2563eb; border-color: #2563eb; color: #fff; }
.uc-page :is(.ap-claude-mark,.pv-agent-claude) { background: url('/showcase-assets/claude.svg') center/22px no-repeat; color: transparent; }
.uc-page :is(.ap-claude-mark,.pv-agent-claude) > * { visibility: hidden; }
.uc-page .pv-agent-codex { background: url('/showcase-assets/codex.svg') center/22px no-repeat; color: transparent; }
.uc-page .pv-agent-codex > * { visibility: hidden; }
@media (max-width: 1100px) {
 .showcase .hw-body { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
 .showcase .hw-side { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
 .showcase .hw-side .hw-label { display: block; margin: 0 8px 0 0; }
 .showcase .hw-project { width: auto; margin: 0; }
}
@media (max-width: 640px) {
 .showcase .hw-bar { padding: 12px; flex-wrap: wrap; gap: 6px; }
 .showcase .hw-tag { font-size: 9px; }
 .showcase .hw-places { padding: 18px 12px 0; }
 .showcase .hw-place-grid { grid-template-columns: 1fr; gap: 10px; }
 .showcase .hw-place { padding: 12px; gap: 10px; }
 .showcase .hw-place strong { font-size: 12px; }
 .showcase .hw-place-action { font-size: 10px; }
 .showcase .hw-place-availability { margin-top: 6px; }
 .showcase .hw-body { grid-template-columns: 1fr; padding: 20px 12px; gap: 20px; }
 .showcase .hw-list { border: 0; }
 .showcase .hw-session { gap: 10px; flex-wrap: wrap; }
 .showcase .hw-session-end { width: 100%; flex-direction: row; align-items: center; padding-left: 48px; }
 .showcase .hw-filters { gap: 16px; }
 .showcase .hw-log { display: block; }
 .showcase .hp-demo-workspace { grid-template-columns: 1fr; }
 .showcase .hp-demo .hp-demo-session { flex: 0 0 230px; }
}

.showcase .hw-status::before { background: currentColor; }
html[data-theme="dark"] .uc-page .pv-agent-codex { filter: invert(1); }
.uc-page .pv-agent-id { display: inline-block; width: 14px; height: 14px; background-size: 14px; vertical-align: -2px; }
.uc-page .pv-agent-opencode { background: url('/showcase-assets/opencode.svg') center/14px no-repeat; color: transparent; }
.uc-page .pv-session-row[aria-expanded="true"] { background: var(--preview-selected); border-color: var(--preview-border); }
.uc-page .pv-session-status[data-status="Running"] { color: var(--preview-primary); }
.uc-page .pv-session-status[data-status="Needs you"], .uc-page .pv-needs-count { color: var(--preview-warn); }
.uc-page .ap-codex .ap-agent-mark { color: transparent; background: url('/showcase-assets/codex.svg') center/18px no-repeat; width: 20px; height: 20px; }
.uc-page .ap-opencode .ap-agent-mark { color: transparent; background: url('/showcase-assets/opencode.svg') center/18px no-repeat; width: 20px; height: 20px; }
html[data-theme="dark"] .uc-page :is(.pv-agent-opencode,.ap-codex .ap-agent-mark,.ap-opencode .ap-agent-mark) { filter: invert(1); }

/* Desktop Home preview, scaled to the marketing frame. */
.showcase .hw { overflow: hidden; text-align: left; }
.showcase .hw .hw-bar { display: flex; gap: 24px; padding: 12px 16px; background: var(--preview-bg); }
.showcase .hw .hw-brand { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.showcase .hw .hw-window-dots { display: flex; gap: 6px; }
.showcase .hw .hw-window-dots i { width: 10px; height: 10px; border: 1px solid var(--preview-line); border-radius: 50%; background: var(--preview-soft); }
.showcase .hw .hw-chrome-navigation { font-size: 17px; color: var(--preview-muted); }
.showcase .hw .hw-search { position: relative; display: flex; align-items: center; width: 42%; margin: 0 auto; }
.showcase .hw .hw-search > svg { position: absolute; left: 10px; width: 15px; }
.showcase .hw .hw-search input { height: 30px; padding: 5px 40px 5px 32px; font-size: 11px; }
.showcase .hw .hw-search kbd { position: absolute; right: 6px; border: 1px solid var(--preview-line); border-radius: 3px; padding: 0 3px; font: 10px var(--sans); }
.showcase .hw .hw-chrome-tools { display: flex; align-items: center; gap: 10px; }
.showcase .hw .hw-chrome-tools > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--preview-line); border-radius: 7px; background: var(--preview-surface); }
.showcase .hw .hw-chrome-tools .hw-coach-ring { border: 2px solid var(--preview-primary); border-radius: 50%; font: 600 8px var(--sans); color: var(--preview-ink); }
.showcase .hw .hw-shell { display: grid; grid-template-columns: 208px minmax(0,1fr); }
.showcase .hw .hw-side { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-right: 1px solid var(--preview-line); background: var(--preview-surface); grid-column: auto; align-items: stretch; }
.showcase .hw .hw-home-nav, .showcase .hw .hw-project { display: flex; justify-content: flex-start; align-items: center; gap: 10px; width: 100%; min-height: 34px; margin: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--preview-muted); font: 400 11px/1.4 var(--sans); text-align: left; cursor: pointer; }
.showcase .hw .hw-home-nav[aria-pressed="true"], .showcase .hw .hw-project[aria-pressed="true"] { background: var(--preview-selected); border-color: var(--preview-border); color: var(--preview-ink); }
.showcase .hw .hw-home-nav[aria-pressed="true"] { font-weight: 600; }
.showcase .hw .hw-sidebar-heading { margin: 14px 10px 5px; font-size: 11px; color: var(--preview-muted); }
.showcase .hw .hw-folder { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 28px; font-size: 11px; color: var(--preview-muted); }
.showcase .hw .hw-folder svg { width: 13px; height: 13px; flex-shrink: 0; }
.showcase .hw .hw-sidebar-secondary { display: block; padding: 9px 10px; color: var(--preview-muted); font-size: 11px; }
.showcase .hw .hw-sidebar-bottom { margin-top: auto; padding-top: 45px; }
.showcase .hw .hw-usage { display: flex; gap: 8px; align-items: center; padding: 10px 5px; font-size: 9px; white-space: nowrap; }
.showcase .hw .hw-usage meter { width: 100%; min-width: 0; height: 5px; background: var(--preview-line); border: 0; border-radius: 8px; }
.showcase .hw .hw-usage meter::-webkit-meter-bar { background: var(--preview-line); height: 5px; border: 0; }
.showcase .hw .hw-usage meter::-webkit-meter-optimum-value { background: #15803d; }
.showcase .hw .hw-usage meter::-moz-meter-bar { background: #15803d; }
.showcase .hw .hw-profile { display: flex; align-items: center; gap: 9px; margin-top: 10px; border-top: 1px solid var(--preview-line); padding: 12px 5px 2px; font-size: 11px; font-weight: 500; }
.showcase .hw .hw-profile > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--preview-selected); color: var(--preview-primary); font-size: 9px; }
.showcase .hw .hw-main { min-width: 0; padding: 24px 20px 8px; }
.showcase .hw .hw-home-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 28px; position: relative; }
.showcase .hw .hw-home-heading::before { content: ''; position: absolute; inset: -24px -20px 0 25%; background: url('/showcase-assets/home-mountains.jpg') center 60%/cover no-repeat; opacity: .25; mask-image: linear-gradient(to right,transparent,#000 30%,#000 85%,transparent); pointer-events: none; }
html[data-theme="dark"] .showcase .hw .hw-home-heading::before { opacity: .12; }
.showcase .hw .hw-home-heading > * { position: relative; }
.showcase .hw .hw-home-title { margin: 0 0 6px; font: 650 22px/1.3 var(--sans); }
.showcase .hw .hw-home-heading p { margin: 0; color: var(--preview-muted); font-size: 12px; }
.showcase .hw .hw-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 34px; text-decoration: none; background: var(--preview-surface); color: var(--preview-ink); border: 1px solid var(--preview-line); font: 500 11px/1.5 var(--sans); padding: 8px 12px; cursor: pointer; }
.showcase .hw .hw-btn.primary { background: #2563eb; border-color: #2563eb; color: white; }
.showcase .hw .hw-quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-bottom: 18px; }
.showcase .hw .hw-quick-actions > * { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 10px; border: 1px solid var(--preview-line); border-radius: 9px; background: var(--preview-surface); color: var(--preview-ink); text-decoration: none; text-align: left; font-family: var(--sans); cursor: pointer; }
.showcase .hw .hw-quick-actions strong { display: block; font-size: 11px; font-weight: 600; }
.showcase .hw .hw-quick-actions small { display: block; margin-top: 3px; font-size: 9px; line-height: 1.4; color: var(--preview-muted); }
.showcase .hw .hw-quick-actions > * > span:last-child { margin-left: auto; color: var(--preview-muted); }
.showcase .hw .hw-quick-icon { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border-radius: 7px; background: var(--preview-selected); color: var(--preview-primary); }
.showcase .hw .hw-quick-icon[data-color="green"] { color: #15803d; background: #f0fdf4; }
.showcase .hw .hw-quick-icon[data-color="purple"] { color: #6552d6; background: #ede9fe; }
.showcase .hw .hw-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.showcase .hw .hw-toolbar label { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; font-size: 11px; }
.showcase .hw select { box-sizing: border-box; width: 100%; min-width: 0; padding: 7px 20px 7px 10px; border: 1px solid var(--preview-line); border-radius: 7px; background-color: var(--preview-bg); color: var(--preview-ink); font: 400 11px/1.5 var(--sans); cursor: pointer; }
.showcase .hw select:focus-visible, .showcase .hw a:focus-visible { outline: 2px solid var(--preview-primary); outline-offset: 2px; }
.showcase .hw .hw-toolbar .hw-sort { flex: 0 1 115px; }
.showcase .hw .hw-view-toggle { display: flex; border: 1px solid var(--preview-line); border-radius: 7px; overflow: hidden; }
.showcase .hw .hw-view-toggle button { display: grid; place-items: center; width: 31px; height: 32px; border: 0; background: var(--preview-surface); color: var(--preview-muted); cursor: pointer; }
.showcase .hw .hw-view-toggle button[aria-pressed="true"] { background: var(--preview-selected); color: var(--preview-primary); }
.showcase .hw .hw-columns { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 18px; align-items: stretch; }
.showcase .hw .hw-list { min-width: 0; padding: 16px 10px; border: 1px solid var(--preview-line); border-radius: 10px; background: var(--preview-surface); }
.showcase .hw .hw-list > h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 6px 15px; font-size: 15px; font-weight: 600; }
.showcase .hw .hw-list .hw-label { margin: 0; font-size: 10px; }
.showcase .hw .hw-list ul { display: grid; gap: 3px; padding: 0; margin: 0; list-style: none; }
.showcase .hw .hw-list li { min-width: 0; border-bottom: 1px solid var(--preview-line); padding-bottom: 3px; }
.showcase .hw .hw-list li:last-child { border: 0; }
.showcase .hw .hw-session { display: flex; gap: 8px; padding: 12px 8px; min-height: 70px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.showcase .hw .hw-session[aria-pressed="true"] { background: var(--preview-selected); box-shadow: inset 3px 0 var(--preview-primary); }
.showcase .hw .hw-session-icon { width: 28px; height: 28px; border-radius: 7px; }
.showcase .hw .hw-session-icon img { width: 20px; height: 20px; }
.showcase .hw .hw-task { display: block; font: 500 12px/1.45 var(--sans); }
.showcase .hw .hw-agent { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 5px; font-size: 9px; }
.showcase .hw .hw-session-end { width: auto; padding: 0; gap: 8px; flex-shrink: 0; }
.showcase .hw .hw-session-end small { font-size: 9px; }
.showcase .hw .hw-status { position: static; font-size: 9px; padding: 3px 6px; }
.showcase .hw .hw-status::before { display: none; }
.showcase .hw .hw-list[data-view="grid"] ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.showcase .hw .hw-list[data-view="grid"] li { border: 1px solid var(--preview-line); border-radius: 7px; padding: 0; }
.showcase .hw .hw-list[data-view="grid"] .hw-session { flex-wrap: wrap; height: 100%; align-content: start; }
.showcase .hw .hw-list[data-view="grid"] .hw-session-copy { flex-basis: 100%; }
.showcase .hw .hw-list[data-view="grid"] .hw-session-end { flex-direction: row; }
.showcase .hw .hw-detail { min-width: 0; padding: 20px 18px 14px; border-color: var(--preview-border); background: linear-gradient(160deg,var(--preview-selected),transparent 180px),var(--preview-surface); }
.showcase .hw .hw-detail-title { align-items: center; gap: 12px; min-height: 70px; margin-bottom: 18px; }
.showcase .hw .hw-detail-title > .hw-session-icon { width: 52px; height: 52px; background: var(--preview-surface); }
.showcase .hw .hw-detail-title img { width: 32px; height: 32px; }
.showcase .hw .hw-detail-title h3 { font: 600 14px/1.4 var(--sans); margin-bottom: 8px; }
.showcase .hw .hw-detail-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin: 0; font-size: 10px; }
.showcase .hw .hw-online-dot, .showcase .hw .hw-activity-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--preview-primary); }
.showcase .hw .hw-continue { width: 100%; min-height: 40px; font-size: 12px; }
.showcase .hw .hw-continue > span:last-child { margin-left: auto; }
.showcase .hw .hw-continue > svg { margin-left: auto; }
.showcase .hw .hw-destination { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.showcase .hw .hw-destination label { position: relative; font-size: 8px; color: var(--preview-muted); text-align: right; padding: 3px 8px 0; border: 1px solid var(--preview-line); border-radius: 7px; background: var(--preview-surface); }
.showcase .hw .hw-destination select { display: block; padding: 1px 15px 7px 0; border: 0; background-color: transparent; font-size: 11px; }
.showcase .hw .hw-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.showcase .hw .hw-facts { margin: 14px 0 0; padding: 11px 7px; border: 0; border-radius: 7px; background: var(--preview-bg); }
.showcase .hw .hw-facts dl { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.showcase .hw .hw-facts dl > div { padding: 0 6px; border-right: 1px solid var(--preview-line); }
.showcase .hw .hw-facts dl > div:last-child { border: 0; }
.showcase .hw .hw-facts dt { font-size: 8px; line-height: 1.5; }
.showcase .hw .hw-facts dd { font-size: 11px; font-weight: 400; }
.showcase .hw .hw-activity { border-top: 1px solid var(--preview-line); padding-top: 18px; margin-top: 16px; }
.showcase .hw .hw-activity h4 { font-weight: 500; margin-bottom: 12px; }
.showcase .hw .hw-activity ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.showcase .hw .hw-activity li { display: flex; align-items: baseline; gap: 7px; font-size: 10px; }
.showcase .hw .hw-activity li > span:nth-child(2) { flex: 1; }
.showcase .hw .hw-activity small { white-space: nowrap; font-size: 9px; color: var(--preview-muted); }
.showcase .hw .hw-activity-dot { background: var(--preview-muted); }
.showcase .hw .hw-conversation { border: 1px solid var(--preview-line); border-radius: 7px; padding: 10px; margin-top: 14px; font-size: 11px; }
.showcase .hw .hw-conversation h4 { margin: 0; font-size: 12px; }
.showcase .hw .hw-sample-caption { margin: 9px 0 0; color: var(--preview-muted); font: 400 9px/1.5 var(--sans); text-align: right; }
.showcase .hw .hw-new-dialog { width: min(400px,calc(100% - 32px)); box-sizing: border-box; padding: 24px; color: var(--preview-ink); background: var(--preview-surface); border: 1px solid var(--preview-line); border-radius: 12px; font: 14px/1.5 var(--sans); }
.showcase .hw .hw-new-dialog::backdrop { background: #11182780; }
.showcase .hw .hw-new-dialog h3 { font-size: 20px; }
.showcase .hw .hw-new-dialog p { color: var(--preview-muted); }
.showcase .hw .hw-new-dialog label { display: block; margin: 16px 0; }
.showcase .hw .hw-new-dialog select { display: block; margin-top: 5px; font-size: 14px; min-height: 40px; }
.showcase .hw .hw-dialog-close { float: right; }
@media (hover: hover) {
 .showcase .hw :is(.hw-home-nav,.hw-project,.hw-session,.hw-quick-actions > *,.hw-btn):hover { filter: brightness(.97); }
}
@media (max-width: 1100px) {
 .showcase .hw .hw-shell { grid-template-columns: 170px minmax(0,1fr); }
 .showcase .hw .hw-main { padding: 20px 14px 8px; }
 .showcase .hw .hw-quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .showcase .hw .hw-columns { grid-template-columns: minmax(0,1fr); }
 .showcase .hw .hw-home-title { font-size: 20px; }
 .showcase .hw .hw-chrome-navigation { display: none; }
 .showcase .hw .hw-sidebar-bottom { padding-top: 20px; }
 .showcase .hw .hw-session-end { flex-direction: row; align-items: center; }
}
@media (max-width: 640px) {
 .showcase .hw .hw-bar { gap: 12px; padding: 12px; flex-wrap: wrap; }
 .showcase .hw .hw-brand { gap: 12px; }
 .showcase .hw .hw-chrome-tools { margin-left: auto; }
 .showcase .hw .hw-search { order: 3; width: 100%; }
 .showcase .hw .hw-search input { height: 44px; font-size: 16px; padding-right: 8px; }
 .showcase .hw .hw-search kbd { display: none; }
 .showcase .hw .hw-shell { grid-template-columns: minmax(0,1fr); }
 .showcase .hw .hw-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--preview-line); }
 .showcase .hw .hw-side :is(.hw-folder,.hw-sidebar-secondary,.hw-sidebar-bottom,.hw-sidebar-heading) { display: none; }
 .showcase .hw .hw-home-nav, .showcase .hw .hw-project { min-height: 44px; font-size: 12px; }
 .showcase .hw .hw-main { padding: 20px 10px 10px; }
 .showcase .hw .hw-home-heading { align-items: start; flex-direction: column; gap: 14px; padding-bottom: 18px; }
 .showcase .hw .hw-home-title { font-size: 22px; }
 .showcase .hw .hw-home-heading p { font-size: 13px; }
 .showcase .hw .hw-quick-actions { gap: 8px; }
 .showcase .hw .hw-quick-actions > * { flex-wrap: wrap; padding: 12px; gap: 8px; }
 .showcase .hw .hw-quick-actions strong { font-size: 12px; }
 .showcase .hw .hw-quick-actions small { font-size: 11px; }
 .showcase .hw .hw-quick-actions > * > span:last-child { display: none; }
 .showcase .hw .hw-toolbar { flex-wrap: wrap; gap: 10px; }
 .showcase .hw .hw-toolbar label { flex: 1 1 100%; justify-content: space-between; font-size: 12px; }
 .showcase .hw .hw-toolbar label select { max-width: 76%; }
 .showcase .hw .hw-toolbar .hw-sort { flex: 1; }
 .showcase .hw .hw-toolbar .hw-sort select { max-width: 100%; }
 .showcase .hw select { min-height: 44px; font-size: 16px; }
 .showcase .hw .hw-view-toggle button { width: 44px; height: 44px; }
 .showcase .hw .hw-columns { gap: 14px; }
 .showcase .hw .hw-list { padding: 14px 6px; }
 .showcase .hw .hw-session { flex-wrap: wrap; }
 .showcase .hw .hw-task { font-size: 13px; }
 .showcase .hw .hw-agent { font-size: 11px; }
 .showcase .hw .hw-session-end { width: 100%; padding-left: 36px; }
 .showcase .hw .hw-status, .showcase .hw .hw-session-end small { font-size: 11px; }
 .showcase .hw .hw-detail { padding: 14px 10px; }
 .showcase .hw .hw-detail-title h3 { font-size: 15px; }
 .showcase .hw .hw-detail-meta { font-size: 11px; }
 .showcase .hw .hw-btn { min-height: 44px; font-size: 12px; }
 .showcase .hw .hw-destination { grid-template-columns: 1fr; }
 .showcase .hw .hw-destination select { font-size: 16px; }
 .showcase .hw .hw-destination label { font-size: 11px; }
 .showcase .hw .hw-facts dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 0; }
 .showcase .hw .hw-facts dl > div:nth-child(2) { border: 0; }
 .showcase .hw .hw-facts dt { font-size: 10px; }
 .showcase .hw .hw-facts dd { font-size: 13px; }
 .showcase .hw .hw-activity li { font-size: 12px; }
 .showcase .hw .hw-activity small { font-size: 10px; }
 .showcase .hw .hw-sample-caption { font-size: 10px; }
 .showcase .hw .hw-new-dialog select { font-size: 16px; min-height: 44px; }
 .showcase .hw .hw-list[data-view="grid"] .hw-session-end { padding-left: 0; flex-wrap: wrap; }
}

html[data-theme="dark"] .showcase .hw .hp-agent-logo[data-agent="OpenCode"] { filter: invert(1); }

/* Quick actions remain inside the desktop frame, with their own local workflows. */
.showcase .hw :is(.hw-flow,.hw-toolbar,.hw-columns,[data-link-preview],[data-discussion-form],[data-discussion-result])[hidden] { display: none; }
.showcase .hw .hw-quick-actions [aria-expanded="true"] { border-color: var(--preview-border); background: var(--preview-selected); }
.showcase .hw .hw-flow { max-width: 680px; margin: 20px auto 0; padding: 24px; border: 1px solid var(--preview-line); border-radius: 10px; background: var(--preview-surface); font: 13px/1.6 var(--sans); overflow-wrap: anywhere; }
.showcase .hw .hw-flow h3 { margin: 18px 0 6px; font: 600 22px/1.3 var(--sans); }
.showcase .hw .hw-flow h4 { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; font: 600 14px/1.5 var(--sans); }
.showcase .hw .hw-flow p { margin: 10px 0; }
.showcase .hw .hw-flow-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.showcase .hw .hw-flow-heading > span { color: var(--preview-muted); font-size: 11px; }
.showcase .hw .hw-flow :is(.hw-flow-muted,.hw-flow-availability) { color: var(--preview-muted); font-size: 12px; }
.showcase .hw .hw-flow label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; min-width: 0; }
.showcase .hw .hw-flow :is(select,input[type="email"]) { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--preview-line); border-radius: 8px; background: var(--preview-bg); color: var(--preview-ink); font: 400 13px/1.5 var(--sans); }
.showcase .hw .hw-flow-session { margin: 20px 0; padding-bottom: 20px; border-bottom: 1px solid var(--preview-line); }
.showcase .hw .hw-flow-fields { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 12px; }
.showcase .hw .hw-flow-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.showcase .hw .hw-flow .hw-btn { font-size: 12px; min-height: 36px; padding: 8px 12px; }
.showcase .hw .hw-flow .hw-btn:disabled { opacity: .5; cursor: not-allowed; }
.showcase .hw .hw-flow-card { padding: 16px; border: 1px solid var(--preview-line); border-radius: 10px; margin: 16px 0; }
.showcase .hw .hw-person { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 0; }
.showcase .hw .hw-person > span:nth-child(2) { flex: 1; min-width: 90px; }
.showcase .hw .hw-person strong, .showcase .hw .hw-person small { display: block; }
.showcase .hw .hw-person small { color: var(--preview-muted); font-size: 11px; }
.showcase .hw .hw-person-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--preview-selected); color: var(--preview-primary); font-size: 11px; }
.showcase .hw .hw-flow-transcript { padding: 16px; background: var(--preview-bg); border-radius: 10px; }
.showcase .hw .hw-flow fieldset { border: 0; padding: 0; margin: 20px 0 12px; display: grid; gap: 8px; }
.showcase .hw .hw-flow legend { font-weight: 600; padding: 0 0 10px; }
.showcase .hw .hw-flow .hw-participant { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--preview-line); border-radius: 8px; cursor: pointer; }
.showcase .hw .hw-participant:has(:checked) { background: var(--preview-selected); border-color: var(--preview-border); }
.showcase .hw .hw-participant input { width: 16px; height: 16px; accent-color: #2563eb; }
.showcase .hw [data-flow-feedback]:not(:empty) { padding: 12px; background: var(--preview-selected); border-radius: 8px; }
@media (max-width: 640px) {
 .showcase .hw .hw-flow { padding: 16px 12px; }
 .showcase .hw .hw-flow h3 { font-size: 20px; }
 .showcase .hw .hw-flow-fields { grid-template-columns: 1fr; }
 .showcase .hw .hw-flow :is(select,input[type="email"]) { font-size: 16px; min-height: 44px; }
 .showcase .hw .hw-flow .hw-btn { min-height: 44px; }
 .showcase .hw .hw-flow-card { padding: 12px; }
}
