/* The import surface belongs to the studio, rather than a separate setup page. */
.remote-workspace {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 42px 32px 70px;
  color: var(--color-text);
}
.remote-heading { margin-bottom: 28px; }
.remote-heading h1 { margin: 0 0 12px; font-family: var(--font-heading); font-size: clamp(28px, 3vw, 40px); }
.remote-heading p { max-width: 680px; color: var(--color-muted); font-size: 14px; line-height: 1.65; }
.remote-workspace.is-source-home { max-width: 920px; padding-top: clamp(44px, 8vh, 92px); }
.is-source-home > .remote-heading { max-width: 650px; margin: 0 auto 30px; text-align: center; }
.is-source-home > .remote-heading h1 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.05em; font-weight: 620; }
.is-source-home > .remote-heading p { max-width: 500px; margin-inline: auto; }
.remote-account-note { margin: -12px auto 18px; text-align: center; color: var(--color-muted); font-size: 12px; line-height: 1.6; }
.remote-source-card { width: min(100%, 680px); margin: 0 auto; padding: 7px 28px 24px; background: var(--color-surface); border: var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-subtle); }
.remote-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; border-bottom: var(--border-subtle); }
.remote-source-tab { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 60px; padding: 12px 0; background: none; border: 0; color: var(--color-muted); font: inherit; font-size: 12px; cursor: pointer; }
.remote-source-tab svg { flex: none; width: 18px; height: 18px; }
.remote-source-tab[aria-selected="true"] { color: var(--color-navy); font-weight: 600; }
.remote-source-tab[aria-selected="true"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--color-primary); }
.remote-source-tab:hover { color: var(--color-navy); }
.remote-source-tab:disabled { cursor: default; opacity: .65; }
.remote-source-form { display: grid; gap: 18px; }
.remote-field { display: grid; gap: 8px; color: var(--color-text); font-size: 12px; font-weight: 550; }
.remote-field input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 12px 13px; border: var(--border-subtle); border-radius: var(--radius-control); background: var(--color-surface); color: var(--color-text); font: inherit; font-size: 13px; font-weight: 400; }
.remote-field input::placeholder { color: var(--color-muted); }
.remote-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 210px; padding: 28px 20px; border: 1px dashed #cfd9e8; border-radius: 10px; background: var(--color-surface-soft); text-align: center; cursor: pointer; }
.remote-dropzone:hover, .remote-dropzone.is-dragging { border-color: var(--color-primary); background: var(--color-info-soft); }
.remote-dropzone:focus-within { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.remote-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.remote-upload-symbol { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 5px; border: var(--border-subtle); border-radius: 11px; background: var(--color-surface); color: var(--color-navy); }
.remote-upload-symbol svg { width: 21px; height: 21px; }
.remote-file-name { max-width: 100%; color: var(--color-navy); font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.remote-drop-copy { color: var(--color-primary); font-size: 12px; }
.remote-source-details { margin: -7px 0 0; color: var(--color-muted); font-size: 11px; line-height: 1.6; text-align: center; }
.remote-link-intro h2 { margin: 0 0 8px; color: var(--color-navy); font-size: 19px; font-weight: 550; letter-spacing: -.025em; }
.remote-link-intro p { margin: 0; max-width: 500px; }
.remote-providers { display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 1px 0 3px; }
.remote-provider { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--color-muted); }
.remote-provider small { font-size: 10px; color: var(--color-muted); }
.remote-provider.is-available > span { color: var(--color-navy); }
.remote-provider.is-available small { color: var(--color-success); }
.remote-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; color: var(--color-muted); line-height: 1.6; }
.remote-consent input { flex: none; width: 14px; height: 14px; margin-top: 2px; accent-color: var(--color-primary); }
.remote-source-form > .flow-button { min-height: 46px; width: 100%; font-size: 13px; }
.remote-signin-note { margin: -5px 0 0; color: var(--color-muted); font-size: 12px; text-align: center; }
.remote-signin-link { color: var(--color-primary); font-weight: 550; text-decoration: none; }
.remote-signin-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.workspace-auth-actions, .remote-entry-actions { display: flex; align-items: center; gap: 16px; }
.workspace-auth-actions { font-size: 12px; white-space: nowrap; }
.workspace-auth-actions .flow-button { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.remote-entry-actions { justify-content: center; flex-wrap: wrap; }
.remote-entry-actions a { min-width: 140px; text-align: center; text-decoration: none; }
.is-account-entry > .remote-notice { max-width: 650px; margin: 0 auto 24px; }
.remote-availability { margin: -5px 0 0; color: var(--color-muted); font-size: 11px; text-align: center; line-height: 1.6; }
.remote-example { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; color: var(--color-muted); font-size: 11px; }
.remote-example .remote-demo-link { margin: 0; font-size: 11px; }
.remote-intro-steps { display: flex; justify-content: center; gap: 28px; list-style: none; margin: 32px 0 0; padding: 0; color: var(--color-muted); font-size: 11px; }
.remote-intro-steps li { display: inline-flex; align-items: center; gap: 8px; }
.remote-intro-steps li:not(:last-child)::after { content: ""; width: 20px; height: 1px; margin-left: 16px; background: var(--color-border); }
/* A small disclosure keeps the preview honest without another page-wide rail. */
.remote-brand-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
.remote-demo-indicator { position: relative; flex: none; }
.remote-demo-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 8px; border: var(--border-subtle); border-radius: 6px; color: var(--color-muted); background: var(--color-surface); font-size: 10px; cursor: pointer; list-style: none; white-space: nowrap; }
.remote-demo-chip::-webkit-details-marker { display: none; }
.remote-demo-chip:hover, .remote-demo-indicator[open] .remote-demo-chip { border-color: #cdd9ea; color: var(--color-navy); }
.remote-demo-popover { position: absolute; top: calc(100% + 12px); left: 0; z-index: var(--z-overlay); width: 250px; padding: 16px; border: var(--border-subtle); border-radius: 10px; background: var(--color-surface); box-shadow: var(--shadow-preview); color: var(--color-muted); font-size: 12px; line-height: 1.6; }
.remote-demo-popover p { margin: 0 0 10px; }
.remote-demo-popover a { color: var(--color-primary); text-decoration: none; }
.remote-demo-popover a:hover { text-decoration: underline; }
.remote-demo-chip:focus-visible, .remote-demo-popover a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.remote-card { margin: 20px 0; padding: 24px; border: var(--border-subtle); border-radius: 14px; background: var(--color-surface); }
.remote-hint { color: var(--color-muted); font-size: 12px; line-height: 1.6; }
.remote-notice { padding: 14px 16px; border-radius: 10px; background: var(--color-info-soft); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.remote-notice.is-error { color: var(--color-error); border: 1px solid var(--color-error); background: var(--color-surface); }
.remote-projects { width: min(100%, 680px); margin: 38px auto 0; }
.remote-projects h2 { margin-bottom: 15px; font-size: 16px; font-weight: 550; }
.remote-project-row { display: flex; justify-content: space-between; gap: 20px; width: 100%; margin: 8px 0; padding: 18px; border: var(--border-subtle); border-radius: 10px; background: var(--color-surface); color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.remote-project-row span { color: var(--color-muted); font-size: 12px; }
.remote-project-status { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin: -8px 0 4px; color: var(--color-muted); font-size: 12px; }
.remote-state { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; line-height: 1.6; overflow-wrap: anywhere; }
.remote-state::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--color-muted); }
.remote-state.is-complete::before { background: var(--color-success); }
.remote-project-status > .text-button { margin-left: auto; font-size: 11px; }
.remote-edit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.remote-edit-grid .remote-card { min-width: 0; }
.remote-edit-grid .remote-card > h2 { margin: 0 0 18px; color: var(--color-navy); font-size: 16px; font-weight: 600; }
.remote-edit-grid .remote-card > strong { display: block; margin-bottom: 9px; font-size: 13px; line-height: 1.5; }
.remote-edit-grid .remote-card > .remote-hint { margin-bottom: 18px; }
.remote-player { display: block; width: 100%; max-height: 430px; margin: 20px 0; border-radius: 12px; background: var(--color-navy); }
.remote-moment { margin: 12px 0; padding: 3px; border: var(--border-subtle); border-radius: 10px; cursor: grab; }
.remote-moment-open { display: grid; gap: 8px; width: 100%; padding: 15px; border: 0; background: transparent; color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.remote-moment-open small, .remote-moment-open span { color: var(--color-muted); font-size: 12px; line-height: 1.5; }
.remote-recipe { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; padding: 14px; border: var(--border-subtle); border-radius: 10px; cursor: pointer; }
.remote-recipe > span { display: grid; gap: 7px; }
.remote-recipe small { color: var(--color-muted); font-size: 12px; line-height: 1.5; }
.remote-recipe input { margin-top: 3px; }
.remote-recipe.is-unavailable { opacity: .6; cursor: default; }
.remote-total { margin: 20px 0 14px; font-size: 12px; font-weight: 550; }
.remote-quote { display: grid; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: var(--border-subtle); }
.remote-quote p { margin: 0; font-size: 13px; line-height: 1.5; }
.remote-outputs { margin-top: 20px; }
.remote-output { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; padding: 16px 0; border-top: var(--border-subtle); }
.remote-output > span { color: var(--color-muted); font-size: 13px; }
.remote-workspace progress { width: 100%; height: 12px; margin: 15px 0; accent-color: var(--color-primary); }
.remote-workspace .text-button { cursor: pointer; }
.remote-workspace :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
@media (max-width: 1200px) { .remote-brand-group { gap: 8px; } .remote-demo-chip { max-width: 72px; white-space: normal; line-height: 1.2; } }
@media (max-width: 900px) {
  .remote-edit-grid { grid-template-columns: 1fr; }
  .remote-workspace { padding: 28px 20px 50px; }
  .remote-workspace.is-source-home { padding-top: 44px; }
  .remote-source-card { padding: 5px 22px 22px; }
  .remote-card { padding: 18px; }
  .remote-project-row { flex-direction: column; gap: 7px; }
  .remote-demo-chip { max-width: 62px; font-size: 9px; }
}
@media (max-width: 600px) {
  .remote-source-card { padding: 4px 16px 20px; }
  .remote-tabs { gap: 8px; }
  .remote-source-tab { gap: 5px; font-size: 10px; }
  .remote-source-tab svg { width: 15px; height: 15px; }
  .remote-intro-steps { gap: 12px; flex-direction: column; align-items: center; }
  .remote-intro-steps li:not(:last-child)::after { display: none; }
  .remote-demo-popover { width: 220px; left: -100px; }
}
