/* Minimal workspace, concept 2. Marketing, authentication and setup keep Orbit. */
.dashboard-app {
  --canvas: #0c1018;
  --surface: #111a27;
  --surface-raised: #172131;
  --surface-hover: #1b283b;
  --line: #293445;
  --line-strong: #455671;
  --text-primary: #edf2fa;
  --text-secondary: #c7d0df;
  --text-muted: #9daabd;
  --text-dim: #95a3b8;
  --accent: #bfd3f2;
  --accent-soft: #1a293e;
  --ink: var(--text-primary);
  --muted: var(--text-muted);
  min-height: 100vh;
  background: var(--canvas);
  color: var(--text-primary);
}
.dashboard-skip {position:fixed;top:8px;left:16px;z-index:100;padding:12px 18px;border-radius:9px;background:#edf2fa;color:#111a27;transform:translateY(-180%)}
.dashboard-skip:focus {transform:none}
.dashboard-nav {position:relative;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:82px;padding:0 max(32px,calc((100% - 1150px)/2));gap:32px;border-bottom:1px solid var(--line);background:var(--canvas)}
.dashboard-nav .brand {justify-self:start;font-size:25px;letter-spacing:-1.2px;gap:9px}
.dashboard-nav .brand img {width:29px;height:29px;border-radius:8px}
.dashboard-brand-group {display:flex;align-items:center;gap:17px;min-width:0}
.dashboard-credits {position:relative}
.dashboard-credits>summary {display:flex;align-items:center;gap:6px;min-height:35px;padding:7px 10px;list-style:none;cursor:pointer;white-space:nowrap;border:1px solid #3d4c63;border-radius:8px;background:#151f2e;font-size:11px;color:#d8e6f9}
.dashboard-credits>summary::-webkit-details-marker {display:none}
.dashboard-credits>summary svg {width:13px;height:13px;color:#b7ceef}
.dashboard-credits>summary [data-credit-value] {font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.dashboard-credits>summary:hover,.dashboard-credits[open]>summary {border-color:#8da8cf;background:#1c2a3d}
.credit-popover {position:absolute;top:calc(100% + 13px);left:0;width:310px;max-width:calc(100vw - 40px);padding:22px;white-space:normal;border:1px solid #40516a;border-radius:13px;background:#131e2d;box-shadow:0 18px 45px #0007;z-index:21}
.credit-popover p,.credit-unit {font-size:11px;line-height:1.65;color:var(--text-muted);margin:13px 0 0}
.credit-panel-heading {display:flex;flex-direction:column;gap:12px}
.credit-panel-heading>span {font-size:11px;color:var(--text-muted)}
.credit-panel-heading strong {font-size:29px;font-weight:800;line-height:1.2;letter-spacing:-1px;color:var(--text-primary)}
.credit-panel-heading strong>small {display:block;font-size:11px;font-weight:600;letter-spacing:0;color:var(--text-muted);margin-top:5px}
.credit-usage {height:4px;border-radius:4px;background:#2b3a50;margin-top:20px;overflow:hidden}
.credit-usage>i {display:block;height:100%;background:#bfd3f2;border-radius:4px;transition:width .2s}
.credit-stats {display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:10px;color:var(--text-muted)}
.credit-panel-actions {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}
.credit-panel-actions>.icon-btn {margin-left:auto;color:var(--text-muted)}
.credit-panel-actions .btn {font-size:11px;min-height:38px}
.credit-history {margin-top:24px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}
.credit-history summary {cursor:pointer;color:var(--text-secondary)}
.credit-history-list>div {display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:14px;font-size:11px;color:var(--text-muted)}
.credit-history-list strong {font-size:11px;color:var(--text-secondary)}
.credit-checkout-status {margin:0 0 18px;font-size:12px;color:var(--text-secondary)}
.credit-checkout-status.success {color:#c0dfc4}
.credit-confirmed .credit-panel-heading strong {animation:credit-confirmed .5s ease-out}
@keyframes credit-confirmed {from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}
.studio-subscription-link {font-size:11px;color:var(--accent);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.credit-account-card .credit-panel-heading strong {font-size:36px}
.credit-account-card .credit-unit {max-width:620px}
.dashboard-tabs {display:flex;align-self:stretch;align-items:stretch;gap:30px}
.dashboard-tabs a {display:flex;align-items:center;position:relative;color:var(--text-muted);font-size:13px;font-weight:700;padding:0 2px;min-height:44px}
.dashboard-tabs a:hover {color:var(--text-primary)}
.dashboard-tabs a[aria-current=page] {color:var(--text-primary)}
.dashboard-tabs a[aria-current=page]:after {content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent);border-radius:2px}
.dashboard-tools {justify-self:end}
.dashboard-profile {position:relative}
.dashboard-profile>summary {display:grid;place-items:center;list-style:none;cursor:pointer;width:44px;height:44px;border-radius:50%}
.dashboard-profile>summary::-webkit-details-marker {display:none}
.dashboard-profile>summary:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.dashboard-avatar {display:grid;place-items:center;width:33px;height:33px;background:#1b2a3f;border:1px solid #405470;border-radius:50%;font-size:12px;font-weight:800;color:#d7e5f9}
.dashboard-profile[open] .dashboard-avatar,.dashboard-profile>summary:hover .dashboard-avatar {background:#283c56;border-color:#7b93b5}
.dashboard-profile-panel {position:absolute;right:0;top:calc(100% + 12px);width:280px;max-width:calc(100vw - 32px);padding:8px;border:1px solid #3a495f;border-radius:14px;background:#131c2a;box-shadow:0 18px 45px #0007}
.dashboard-profile-heading {padding:13px 12px 17px;border-bottom:1px solid var(--line);margin-bottom:5px;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.dashboard-profile-heading strong {font-size:12px;font-weight:750;color:var(--text-primary)}
.dashboard-profile-heading span {font-size:11px;color:var(--text-muted)}
.dashboard-profile-panel nav {display:flex;flex-direction:column}
.dashboard-profile-panel nav a,.dashboard-profile-panel nav button {display:flex;align-items:center;gap:11px;min-height:43px;padding:11px 12px;border:0;border-radius:7px;background:none;color:var(--text-secondary);font-size:12px;text-align:left}
.dashboard-profile-panel nav a:hover,.dashboard-profile-panel nav button:hover,.dashboard-profile-panel [aria-current=page] {background:var(--surface-hover);color:var(--text-primary)}
.dashboard-profile-panel nav svg {width:16px;height:16px;color:var(--text-muted)}
.dashboard-profile-panel [data-dashboard-signout] {border-top:1px solid var(--line);border-radius:0 0 7px 7px;margin-top:6px;padding-top:14px}
.dashboard-login {font-size:12px;display:inline-flex;min-height:44px;align-items:center;color:var(--text-secondary)}
.dashboard-app .studio-main {margin-left:0;min-height:calc(100vh - 82px);background:var(--canvas)}
.dashboard-app .workspace,.dashboard-app .studio-overview .workspace,.dashboard-app .studio-overview .workspace:has(.create-wizard) {max-width:1138px;margin:0 auto;padding:52px 44px 32px}
.dashboard-app .studio-overview .workspace:has(.create-wizard) {padding-top:64px}
.dashboard-app .wizard-intro {display:block;text-align:center;margin:0 auto 28px}
.dashboard-app .wizard-intro .studio-eyebrow {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dashboard-app .wizard-intro h1 {font-size:36px;line-height:1.2;font-weight:750;letter-spacing:-1.4px;margin:0 0 12px;color:var(--text-primary)}
.dashboard-app .wizard-intro h1 span {color:var(--accent)}
.dashboard-app .wizard-intro p {font-size:14px;line-height:1.6;color:var(--text-muted);max-width:none;margin:0}
.dashboard-app .create-wizard {max-width:670px;margin:0 auto 58px;background:none;border:0;box-shadow:none}
.dashboard-app .create-wizard form[data-step=source] {border:0;border-radius:0;box-shadow:none;background:none;overflow:visible}
.dashboard-app form[data-step=source] .wizard-progress {position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%)}
.dashboard-app .wizard-source {padding:0;background:none}
.dashboard-app .source-entry {display:flex;align-items:center;gap:9px;padding:6px;border:1px solid #45546a;border-radius:14px;background:#111a27;box-shadow:none}
.dashboard-app .source-entry:focus-within {border-color:#99b6dd;box-shadow:0 0 0 3px #a5c5f21a}
.dashboard-app .source-entry .source-input {border:0;background:none;box-shadow:none;min-width:0;flex:1}
.dashboard-app .source-entry .source-input input {height:46px;border:0;border-radius:7px;background:transparent;box-shadow:none;padding:10px 8px 10px 37px;font-size:13px;color:var(--text-primary)}
.dashboard-app .source-entry .source-input input:focus {outline:0}
.dashboard-app .source-entry .source-input input::placeholder {color:var(--text-muted)}
.dashboard-app .source-entry .source-input>svg {width:17px;height:17px;left:12px;top:14px;color:var(--text-muted)}
.dashboard-app .btn {background:#edf2fa;border:1px solid #edf2fa;border-radius:10px;color:#111a27;box-shadow:none;font-weight:800}
.dashboard-app .btn:hover:not(:disabled) {background:#fff;border-color:#fff;color:#111a27;box-shadow:none;transform:translateY(-1px)}
.dashboard-app .btn.white {background:var(--surface);border-color:var(--line-strong);color:var(--text-primary)}
.dashboard-app .btn.white:hover:not(:disabled) {background:var(--surface-hover);border-color:#7e96b7;color:var(--text-primary)}
.dashboard-app .source-entry>.btn {height:46px;min-height:46px;min-width:123px;padding:12px 17px;font-size:12px;gap:12px;border-radius:9px}
.dashboard-app .source-entry>.btn svg {width:16px;height:16px}
.dashboard-app .create-wizard .input-caption {font-size:10px;color:var(--text-muted);margin:11px 2px 0;line-height:1.6;text-align:center}
.dashboard-app .source-footer {display:flex;justify-content:center;margin-top:5px}
.dashboard-app .create-wizard .source-tabs {background:none;border:0;padding:0;border-radius:0;gap:19px;margin:0}
.dashboard-app .create-wizard .source-tabs button {font-size:11px;font-weight:650;color:var(--text-muted);padding:8px 2px;min-height:38px;background:none;border:0;border-radius:4px;box-shadow:none;gap:6px}
.dashboard-app .create-wizard .source-tabs button.active {background:none;box-shadow:none;color:var(--text-primary)}
.dashboard-app .create-wizard .source-tabs button:hover:not(:disabled) {color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.dashboard-app .create-wizard .source-tabs button svg {width:13px;height:13px}
.dashboard-app .wizard-source .source-reassurance {display:block;margin:7px auto 0;max-width:490px;font-size:10px;line-height:1.6;color:var(--text-muted)}
.dashboard-app .create-wizard .upload-zone {border:1px dashed #546984;border-radius:13px;background:var(--surface);min-height:137px;padding:20px}
.dashboard-app .create-wizard .upload-zone strong {font-size:13px;overflow-wrap:anywhere;max-width:100%}
.dashboard-app .create-wizard .upload-file-details {font-size:10px;color:var(--text-muted)}
.dashboard-app .upload-continue {min-height:44px;margin-top:15px}
.dashboard-app .create-wizard #import-error:not(:empty),.dashboard-app .create-wizard #studio-access-notice:not(:empty) {padding:18px 0 0;text-align:left}
.dashboard-app .create-wizard form[data-step=style] #import-error:not(:empty),.dashboard-app .create-wizard form[data-step=style] #studio-access-notice:not(:empty) {padding:0 24px 22px}
.dashboard-app .studio-overview .list-heading {display:flex;align-items:center;gap:10px;margin:0 0 20px}
.dashboard-app .list-heading h2,.dashboard-app .studio-overview .list-heading h2 {font-size:17px;font-weight:750;letter-spacing:-.4px;color:var(--text-primary);margin:0}
.dashboard-app .list-heading .project-count {font-size:10px;font-weight:650;background:#172131;border:1px solid var(--line);padding:2px 7px;border-radius:6px;align-self:center;margin:0;color:var(--text-muted)}
.dashboard-app .list-heading .icon-btn {margin-left:auto;color:var(--text-muted);min-width:36px;min-height:36px}
.dashboard-app .project-grid,.dashboard-app .studio-overview .project-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.dashboard-app .project-card,.dashboard-app .studio-overview .project-card {display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:0;box-shadow:none;overflow:hidden;text-align:left;transition:border-color .18s,transform .18s}
.dashboard-app .project-card:hover,.dashboard-app .studio-overview .project-card:hover {border-color:#6a819f;box-shadow:none;transform:translateY(-2px)}
.dashboard-app .project-thumb,.dashboard-app .studio-overview .project-thumb {display:grid;place-items:center;position:relative;aspect-ratio:auto;width:100%;height:144px;min-height:144px;background:#1b293c;border-bottom:1px solid #32435b;overflow:hidden}
.dashboard-app .project-thumb>img {width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.dashboard-app .project-thumb>svg,.dashboard-app .studio-overview .project-thumb>svg {width:29px;height:29px;color:#c2d0e3}
.dashboard-app .project-thumb .pill {position:absolute;top:12px;left:12px;right:auto;bottom:auto;font-size:9px;padding:4px 8px;border-radius:6px;background:#101826e8;color:#d8e5f7;border:1px solid #778daa80;backdrop-filter:blur(6px)}
.dashboard-app .project-thumb .pill.red {background:#2d1c23eb;color:#f6c8cd;border-color:#a66f7b}
.dashboard-app .project-source-duration {position:absolute;bottom:10px;right:11px;font-size:10px;background:#080f1be8;color:#e3eaf5;border:1px solid #7188a95c;border-radius:5px;padding:3px 6px}
.dashboard-app .project-card-body,.dashboard-app .studio-overview .project-card-body {display:flex;flex-direction:column;flex:1;width:100%;padding:18px 18px 16px;min-width:0}
.dashboard-app .project-card h3,.dashboard-app .studio-overview .project-card h3 {font-size:14px;line-height:1.45;font-weight:750;letter-spacing:-.2px;color:var(--text-primary);margin:0 0 8px;min-height:41px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.dashboard-app .project-meta,.dashboard-app .studio-overview .project-meta {display:flex;flex-wrap:wrap;gap:5px;font-size:11px;color:var(--text-muted);line-height:1.6}
.dashboard-app .project-expiry,.dashboard-app .studio-overview .project-expiry {font-size:10px;color:var(--text-muted);line-height:1.6;margin:5px 0 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;display:block;min-height:16px}
.dashboard-app .project-progress {height:3px;min-height:3px;background:#2a374c;border-radius:3px;overflow:hidden;margin:14px 0 0}
.dashboard-app .project-progress>i {display:block;height:100%;background:var(--accent);border-radius:3px}
.dashboard-app .project-card-action {display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:13px;margin-top:18px;font-size:11px;font-weight:750;color:#c9dcf9}
.dashboard-app .project-card-action>svg {width:14px;height:14px;margin-left:auto}
.dashboard-app .project-card-action .project-percent {font-size:10px;font-weight:650;color:var(--text-muted);margin-left:auto}
.dashboard-app .project-percent+svg {margin-left:0}
.dashboard-app .dashboard-footer {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding-top:19px;border-top:1px solid var(--line);color:var(--text-muted);font-size:11px}
.dashboard-app .dashboard-footer>span {display:inline-flex;align-items:center;gap:6px}
.dashboard-app .dashboard-footer svg {width:13px;height:13px}
.dashboard-app .dashboard-footer .studio-engine-status {padding:0;min-width:0}
.dashboard-app .dashboard-footer .engine-indicator {border:0;border-radius:0;background:none;padding:0;box-shadow:none;font-size:11px;font-weight:600;color:var(--text-muted);gap:7px}
.dashboard-app .dashboard-footer .engine-indicator i {background:#a9c9ad;box-shadow:none;width:5px;height:5px}
.dashboard-app .customizing-video .create-wizard {max-width:1050px;margin-bottom:32px}
.dashboard-app .customizing-video .wizard-intro {margin-bottom:28px}
.dashboard-app .customizing-video .dashboard-footer {margin-top:0}
.dashboard-app .create-wizard form[data-step=style] {background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:none}
.dashboard-app .wizard-progress {background:var(--surface);border-color:var(--line)}
.dashboard-app .wizard-progress [aria-current=step]>span {box-shadow:none;background:#dce7f7;color:#172337;border-color:#dce7f7}
.dashboard-app .wizard-source-summary,.dashboard-app .wizard-generate {background:#101824;border-color:var(--line)}
.dashboard-app .style-preview {background:#121d2d;border-color:var(--line)}
.dashboard-app .type-sample,.dashboard-app .preview-scene {background:#172638}
.dashboard-app .preview-scene .scene-sun {background:#a8bfdf;box-shadow:none}
.dashboard-app .preview-scene .scene-orbit {border-color:#8bafd91c}
.dashboard-app .preview-scene .scene-hill {background:#253b56}
.dashboard-app .preview-scene .hill-two {background:#1a2b42}
.dashboard-app .empty-state,.dashboard-app .studio-overview .empty-state,.dashboard-app .projects-retry-state {background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:13px}
.dashboard-app .empty-state h3 {color:var(--text-primary);font-size:15px}
.dashboard-app .empty-state p {color:var(--text-muted);font-size:12px}
.dashboard-app .empty-icon {background:var(--surface-raised);border-color:var(--line);color:var(--accent)}
.dashboard-app .page-title h1 {font-size:32px;letter-spacing:-1.2px}
.dashboard-app .page-title p {color:var(--text-muted)}
.dashboard-app .retention-summary {font-size:11px;color:var(--text-muted)}
.dashboard-app .studio-guest {max-width:700px;margin:55px auto;background:var(--surface);border-color:var(--line)}
@media(max-width:900px) {
  .dashboard-nav {padding-inline:28px;gap:22px}
  .dashboard-app .workspace,.dashboard-app .studio-overview .workspace,.dashboard-app .studio-overview .workspace:has(.create-wizard) {padding:45px 28px 28px}
  .dashboard-app .project-grid,.dashboard-app .studio-overview .project-grid {gap:13px}
  .dashboard-app .project-card-body,.dashboard-app .studio-overview .project-card-body {padding:15px 13px}
  .dashboard-app .project-card h3,.dashboard-app .studio-overview .project-card h3 {font-size:13px}
  .dashboard-app .customize-layout {grid-template-columns:minmax(0,1fr) 230px}
}
@media(max-width:650px) {
  .dashboard-nav {min-height:0;padding:16px 20px 0;grid-template-columns:1fr auto;gap:8px 16px}
  .dashboard-nav .brand {font-size:23px}
  .dashboard-nav .brand img {width:27px;height:27px}
  .dashboard-brand-group {gap:12px}
  .dashboard-credits>summary {padding:7px 8px}
  .dashboard-credits .credit-label {display:none}
  .credit-popover {left:0;width:300px;padding:20px}
  .dashboard-tabs {grid-row:2;grid-column:1/-1;gap:27px}
  .dashboard-tabs a {font-size:12px;min-height:48px}
  .dashboard-tools {grid-column:2;grid-row:1}
  .dashboard-profile-panel {top:calc(100% + 5px)}
  .dashboard-app .studio-main {min-height:calc(100vh - 117px)}
  .dashboard-app .workspace,.dashboard-app .studio-overview .workspace,.dashboard-app .studio-overview .workspace:has(.create-wizard) {padding:34px 20px 25px}
  .dashboard-app .wizard-intro {margin-bottom:23px}
  .dashboard-app .wizard-intro h1 {font-size:31px;line-height:1.2;letter-spacing:-1.2px;max-width:310px;margin:0 auto 12px}
  .dashboard-app .wizard-intro p {font-size:12px;max-width:290px;margin-inline:auto}
  .dashboard-app .create-wizard {margin-bottom:35px}
  .dashboard-app .source-entry {flex-direction:row;align-items:center;gap:4px;padding:5px;border-radius:12px}
  .dashboard-app .source-entry .source-input input {font-size:16px;padding-left:29px;padding-right:5px;height:43px}
  .dashboard-app .source-entry .source-input input::placeholder {font-size:11px}
  .dashboard-app .source-entry .source-input>svg {width:14px;height:14px;left:8px;top:14px}
  .dashboard-app .source-entry>.btn {width:auto;min-width:0;height:43px;min-height:43px;padding:10px 12px;gap:0;font-size:11px}
  .dashboard-app .source-entry>.btn svg {display:none}
  .dashboard-app .create-wizard .input-caption {font-size:9px;line-height:1.7;margin-top:10px}
  .dashboard-app .create-wizard .source-tabs button {font-size:10px;min-height:44px}
  .dashboard-app .wizard-source .source-reassurance {font-size:9px;max-width:300px;margin-top:2px}
  .dashboard-app .upload-continue {width:100%}
  .dashboard-app .project-grid,.dashboard-app .studio-overview .project-grid {grid-template-columns:1fr;gap:13px}
  .dashboard-app .project-card,.dashboard-app .studio-overview .project-card {display:grid;grid-template-columns:100px minmax(0,1fr)}
  .dashboard-app .project-thumb,.dashboard-app .studio-overview .project-thumb {height:100%;min-height:175px;max-height:none;border-bottom:0;border-right:1px solid #32435b}
  .dashboard-app .project-thumb>img {object-position:center}
  .dashboard-app .project-thumb .pill {font-size:8px;left:8px;top:10px;padding:4px 5px}
  .dashboard-app .project-source-duration {font-size:8px;right:6px;bottom:9px;padding:3px 4px}
  .dashboard-app .project-card-body,.dashboard-app .studio-overview .project-card-body {padding:16px 13px}
  .dashboard-app .project-card h3,.dashboard-app .studio-overview .project-card h3 {font-size:13px;min-height:0;line-height:1.5}
  .dashboard-app .project-meta,.dashboard-app .studio-overview .project-meta {font-size:10px}
  .dashboard-app .project-expiry,.dashboard-app .studio-overview .project-expiry {font-size:9px}
  .dashboard-app .project-card-action {font-size:10px;margin-top:12px;padding-top:11px}
  .dashboard-app .studio-overview .list-heading {margin-bottom:16px}
  .dashboard-app .list-heading h2,.dashboard-app .studio-overview .list-heading h2 {font-size:16px}
  .dashboard-app .dashboard-footer {align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:24px;font-size:10px}
  .dashboard-app .dashboard-footer .engine-indicator {font-size:10px}
  .dashboard-app .customizing-video .wizard-intro h1 {font-size:28px;max-width:330px}
  .dashboard-app .customize-layout {display:flex;flex-direction:column}
  .dashboard-app .create-wizard form[data-step=style] #import-error:not(:empty),.dashboard-app .create-wizard form[data-step=style] #studio-access-notice:not(:empty) {padding:0 17px 17px}
  .dashboard-app .page-title {gap:16px}
  .dashboard-app .page-title h1 {font-size:28px}
  .dashboard-app .page-title p {font-size:12px}
  .dashboard-app .page-title .btn {font-size:11px;min-height:43px;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce) {
  .dashboard-app * {scroll-behavior:auto!important}
}

.dashboard-credits>summary:focus-visible{outline:2px solid var(--accent-light,#b9d3ff);outline-offset:4px}

/* Clip preview: the finished video and its download, without an editor sidebar. */
#clip-dialog {
  width: min(1000px, calc(100vw - 32px), calc((100dvh - 146px) * var(--preview-ratio, .5625)));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: 18px;
}
.clip-preview-heading {height:44px;display:flex;align-items:center;justify-content:flex-end;padding:0 8px}
.clip-preview-heading .icon-btn {width:34px;height:34px;padding:7px}
.clip-preview-title {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#clip-dialog .clip-preview-video {min-height:0;aspect-ratio:var(--preview-ratio, .5625);background:#000}
#clip-dialog .clip-preview-video video {width:100%;height:100%;max-height:none;object-fit:contain}
#clip-dialog .clip-preview-video .notice {margin:16px;font-size:12px}
.clip-preview-actions {display:flex;justify-content:center;padding:12px 16px}
.clip-preview-actions .btn {width:100%;min-height:44px;font-size:13px}
