/* The same materials as the operator console; the store has its own data, navigation and session. */
@import url("merchant-material-map.5eff17c158d7.css");
@import url("orbit.6827665793a9.css");
html.merchant-orbit{--bg:var(--void);--white:var(--surface);--paper:var(--surface);--blue:var(--a);--blue-dark:var(--a);--leaf:var(--a);--accent-surface:color-mix(in srgb,var(--a) 27%,#162125);--warning-ink:#f5c196;--ok-ink:#8ed9b7;--shadow:none;background:var(--void);color:var(--text);color-scheme:dark}
.merchant-orbit body,.merchant-orbit #app,.merchant-orbit .workspace{color:var(--text);background:var(--void)}
.merchant-orbit .workspace{min-width:0}
.merchant-orbit #app>.sidebar,.merchant-orbit .workspace .topbar{background:#111317;color:var(--text);border-color:var(--edge)}
.merchant-orbit .brand,.merchant-orbit .page-heading h1,.merchant-orbit h1,.merchant-orbit h2,.merchant-orbit h3{color:var(--text)}
.merchant-orbit .sidebar .nav-link{color:#c9cfd7}.merchant-orbit .sidebar .nav-link.active,.merchant-orbit .sidebar .nav-link:hover{background:var(--tint);color:var(--ui-link)}.merchant-orbit .sidebar .nav-link.active:after{background:var(--a)}
.merchant-orbit :is(.sidebar .brand-mark,.entry-brand-mark){background:#285ed8;color:white}
.merchant-orbit :is(.page-heading .subheading,.sidebar small,.nav-label,.breadcrumb,.top-divider,.footnote,.subheading,.form-group small,.empty p,.entry-desc,.entry-switch,.entry-field label){color:var(--soft)}
.merchant-orbit :is(.menu-search,.account,.environment,.avatar,.merchant-appearance){background:var(--raised);color:var(--text);border:1px solid var(--edge)}
.merchant-appearance{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:6px 12px;border-radius:9px;white-space:nowrap}.merchant-appearance svg{width:17px;height:17px}
.merchant-orbit :is(.panel,.tool-card,.module-metrics>div,.history-item,.table-wrap,dialog:not(.appearance-sheet),.assistant-main,.tools-panel,.industry,.step-card,.picker-list,.entry-legal,.customer-portal){background-color:var(--surface);color:var(--text);border-color:var(--edge)}
.merchant-orbit :is(input:not([type=color],[type=checkbox],[type=radio],[type=range]),select,textarea){background-color:#171c22;color:#f2f4f7;border-color:#515b66;caret-color:var(--a)}.merchant-orbit ::placeholder{color:var(--ui-secondary, #505b55);opacity:1}
.merchant-orbit .form-error,.merchant-orbit .page-error [role=alert]{color:#ffacac}.merchant-orbit :is(.btn,.entry-submit,.pulse-primary):not(.secondary,.danger,.ghost){background:var(--a);color:#172820;border-color:var(--a)}
.merchant-orbit :is(.btn.secondary,.btn.ghost,.picker-option,.task-model-picker>summary,.model-family>summary,.menu-matches a,.dialog-close){background:var(--raised);color:var(--text);border-color:var(--edge)}
.merchant-orbit :is(.picker-option[aria-selected=true],.picker-option[aria-checked=true],.picker-option.on,.picker-option.selected,button.filter.active,.studio-steps .active){color:var(--ui-link);background:var(--tint)}
.merchant-orbit button:disabled{opacity:.62;cursor:not-allowed}.merchant-orbit .model-version-date{display:inline-block;white-space:nowrap}.merchant-orbit video,.merchant-orbit .studio-player{background:#090a0c}.merchant-orbit iframe,.merchant-orbit .document-paper{color-scheme:light}
.merchant-orbit :is(.empty,.notice,.page-error,.loading){border-color:var(--edge)}.merchant-orbit :is(.result,pre,td,th){color:var(--text)}.merchant-orbit .result{background:#101419}.merchant-orbit table{background:#14181d}.merchant-orbit th{background:#1b2026;color:var(--soft)}
.merchant-orbit .top-actions{min-width:0}.merchant-orbit .entry-scene{background:radial-gradient(ellipse at 80% 54%,#133039,transparent 47%),#080a0d;color:var(--text)}.merchant-orbit .entry-scene .scene-copy h2{color:#fff}
.merchant-orbit .entry-side{isolation:isolate;background:radial-gradient(ellipse at 100% 0%,#18343d,transparent 63%),#0b0e12;color:var(--text)}
.merchant-orbit .entry-card{background:linear-gradient(135deg,#202830e3,#12171ce8);border:1px solid #49525b;border-radius:17px;box-shadow:inset 0 1px #ffffff14,0 18px 55px #0005;backdrop-filter:blur(14px);position:relative;isolation:isolate}
.merchant-orbit .entry-card:before{content:"";display:block;height:3px;margin:-4px 0 23px;width:46px;border-radius:5px;background:linear-gradient(90deg,#67dece,#688fbe,#bd9ed3,#67dece);background-size:200% 100%;animation:entry-spectrum 6s ease-in-out infinite alternate}
@keyframes entry-spectrum{to{background-position:100% 50%}}
.merchant-orbit .entry-input{background:#11171b;border-color:#515b65}.merchant-orbit .entry-field .entry-input input{background:transparent}.merchant-orbit :is(.entry-card h1,.entry-mobile-brand,.entry-kicker,.entry-options label,.password-visibility){color:var(--text)}.merchant-orbit .entry-kicker span{background:var(--a)}
.merchant-orbit .pulse-heading>div,.merchant-orbit .pulse-heading p{color:var(--soft)}.merchant-orbit .pulse-feature{background:linear-gradient(135deg,var(--tint),var(--surface) 75%);color:var(--text);border:1px solid var(--edge)}
.merchant-orbit .pulse-heading h1{font-weight:620;letter-spacing:-.04em}.merchant-orbit .pulse-feature :is(h2,strong,dt,dd,figcaption,button){color:var(--text)}.merchant-orbit .pulse-feature .plot-line{stroke:var(--a)}.merchant-orbit .pulse-feature .plot-area{fill:var(--tint)}.merchant-orbit .pulse-feature .plot-guide{stroke:var(--edge)}.merchant-orbit .pulse-periods button[aria-pressed=true]{background:var(--a);color:#172820}
.orbit-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 20px}
.merchant-orbit .orbit-kpis .merchant-metric{display:grid;align-content:space-between;gap:9px;text-decoration:none;color:#fff;border-radius:14px;min-height:128px;padding:17px;font-variant-numeric:tabular-nums}
.merchant-orbit .merchant-metric.bright{color:#201823}.merchant-metric>span{font-weight:580;font-size:13px}.merchant-metric .metric-reading{color:inherit;font-size:clamp(25px,2.7vw,42px);font-weight:630;line-height:1.05;letter-spacing:-.045em}.merchant-metric .metric-reading small{font-size:13px;font-weight:480;letter-spacing:normal}.merchant-metric .metric-note{font-size:11px;font-weight:450;line-height:1.4}.merchant-metric:hover{outline:1px solid var(--a)}
.favorite-stage{border:1px solid var(--edge);border-radius:14px;background:var(--surface);margin-bottom:18px;padding:17px 21px}.favorite-stage header,.deck-controls,.fav-empty{display:flex;align-items:center;gap:14px}.favorite-stage header,.fav-empty{justify-content:space-between}.favorite-stage header p,.favorite-stage header h2,.fav-empty p,.fav-detail h3{margin:0}.favorite-stage header p,.fav-detail article>p{color:var(--soft);font-size:12px}.favorite-stage header h2{font-size:20px}.favorite-stage header a,.fav-detail small{color:var(--ui-link);font-size:13px}.fav-empty{justify-content:flex-start;flex-wrap:wrap;margin:20px 0 3px}.fav-empty>svg{color:var(--ui-link)}.fav-empty p,.fav-detail article>div{color:var(--soft)}.fav-empty a{margin-left:auto}
.fav-composition{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(150px,1fr);gap:20px;align-items:center}.fav-detail{border-left:1px solid var(--edge);padding:18px}.fav-detail small{display:block;margin:12px 0}.deck-controls{justify-content:center;color:var(--soft);font-variant-numeric:tabular-nums}.deck-controls button{min-width:44px;min-height:40px;background:var(--raised);color:var(--text);border:1px solid var(--edge);border-radius:9px}
.merchant-orbit .pulse-stat strong.resources-link{font-size:18px}.merchant-orbit .appearance-sheet{max-block-size:100dvh;z-index:1000}.merchant-orbit .appearance-sheet .sheet-head button{color:var(--text)}
@media(max-width:800px){.merchant-appearance{min-width:44px;height:44px;padding:0}.merchant-appearance span{display:none}.orbit-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.merchant-orbit .orbit-kpis .merchant-metric{min-height:103px;padding:12px}.fav-composition{grid-template-columns:1fr;gap:10px}.fav-detail{border:0;border-top:1px solid var(--edge);padding:12px 0 0}.favorite-stage{padding:14px}.fav-empty a{margin:0}.merchant-orbit .appearance-sheet{inset:auto 0 0;width:100%;height:min(88dvh,760px);border:1px solid #555a63;border-radius:16px 16px 0 0}.merchant-orbit .appearance-sheet .sheet-head,.merchant-orbit .appearance-sheet footer{flex-shrink:0}.merchant-orbit button.merchant-appearance,.merchant-orbit .sheet-head button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.merchant-orbit .entry-card:before{animation:none!important}}
.merchant-orbit .orbit-kpis,.merchant-orbit .fav-detail article{background:transparent;border:0;box-shadow:none}
.merchant-orbit .orbit-kpis .merchant-metric.bright{color:#241825}
.merchant-orbit .merchant-metric .metric-reading small{color:inherit}

/* On phone widths keep all five actions in reach without shrinking the avatar;
   place the full location and the environment label on a separate line. */
@media (max-width:650px) {
  .merchant-orbit .workspace .topbar {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    grid-template-areas:"nav theme find help user" "trail trail trail env env";
    gap:2px 4px;
    height:auto; min-height:0; padding:4px 8px 6px;
    align-items:center;
  }
  .merchant-orbit .workspace .topbar :is(.breadcrumb,.top-actions) { display:contents; }
  .merchant-orbit .workspace .breadcrumb > span { display:none; }
  .merchant-orbit .workspace .breadcrumb strong {
    grid-area:trail; justify-self:start; min-width:0; max-width:100%;
    white-space:normal; overflow-wrap:anywhere; line-height:1.35;
  }
  .merchant-orbit .workspace .topbar .menu-button { grid-area:nav; }
  .merchant-orbit .workspace .topbar .merchant-appearance { grid-area:theme; }
  .merchant-orbit .workspace .topbar .menu-search { grid-area:find; }
  .merchant-orbit .workspace .topbar .support-global { grid-area:help; }
  .merchant-orbit .workspace .topbar .account { grid-area:user; }
  .merchant-orbit .workspace .topbar .environment {
    grid-area:env; justify-self:end; max-width:100%; white-space:normal; line-height:1.4;
  }
  .merchant-orbit .workspace .topbar :is(.menu-button,.merchant-appearance,.menu-search,.support-global,.account) {
    display:inline-flex; justify-content:center; align-items:center; justify-self:stretch;
    min-width:44px; width:auto; min-height:44px; padding:0 3px; margin:0;
  }
}

/* The wrapper owns text-field focus; the password toggle is a separate control. */
.merchant-orbit .entry-input:focus-within {
  border-color: transparent;
  outline: 2px solid var(--a);
  outline-offset: -2px;
}
.merchant-orbit .entry-input > input:focus-visible {
  /* The shared Orbit keyboard rule is important. Limit the exception to this wrapper. */
  outline: none !important;
}
.merchant-orbit .entry-input .password-visibility {
  border: 0;
  background: transparent;
  border-radius: 6px;
  min-width: 44px;
}
.merchant-orbit .entry-input .password-visibility:focus-visible { outline-offset: -4px; }

.merchant-orbit .catalog-views { align-items: stretch; gap: 16px; }
.merchant-orbit .catalog-views [role="tab"] {
  position: relative;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 14px;
  font-weight: 550;
}
.merchant-orbit .catalog-views [aria-selected="true"],
.merchant-orbit .catalog-views button:hover { color: var(--ui-link); }
.merchant-orbit .catalog-views [aria-selected="true"] { font-weight: 650; }
.merchant-orbit .catalog-views [aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 3px;
  width: 24px;
  height: 3px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 3px;
}

/* Leave air below the projected sphere before the workspace caption. */
.merchant-orbit .orbit-intro > div { bottom: max(8%, env(safe-area-inset-bottom)); }

/* One remaining-balance ring, above the account avatar. Keep all nav links reachable. */
#main-nav.sidebar{display:flex;flex-direction:column}
#main-nav>.brand,#main-nav>.sidebar-foot{flex:none}
#main-nav>nav{min-height:0;flex:1 1 0;overflow-y:auto;overscroll-behavior:contain}
#main-nav>.sidebar-foot{margin-top:0;padding-top:6px}
.side-account-stack{display:flex;align-items:flex-start;flex-direction:column;margin-top:4px}
.side-quota{position:relative}
.side-quota[hidden],#side-quota-hint[hidden]{display:none}
#main-nav .side-quota-toggle,#main-nav .side-account-trigger{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:inherit;box-shadow:none;cursor:pointer}
#main-nav .side-quota-toggle:focus-visible,#main-nav .side-account-trigger:focus-visible{outline:2px solid var(--accent,currentColor);outline-offset:-2px}
.side-quota-toggle svg{width:32px;height:32px;fill:none;stroke-width:2.5}
.sq-track{stroke:currentColor;opacity:.24}
.sq-balance{stroke:var(--accent,currentColor);stroke-linecap:butt;transition:stroke-dashoffset .4s ease}
#side-quota-hint{position:absolute;z-index:5;left:44px;bottom:2px;width:max-content;max-width:clamp(125px,calc(100vw - 100px),166px);padding:8px 10px;border-radius:9px;background:#1d2629;color:#f7faf9;font:500 13px/1.5 system-ui;pointer-events:none;box-shadow:0 2px 8px #0003}
#side-quota-hint span,#side-quota-hint small{display:block}
#side-quota-hint small{font-size:11px;color:#bfceca}
@media(prefers-reduced-motion:reduce){.sq-balance{transition:none}}

/* Keep the action-review reason readable in both merchant themes. */
.film-action-review{display:block;min-width:0;max-width:100%;margin:16px 0;padding:0;border:0;background:transparent}
.film-action-review p{max-width:100%;margin:8px 0 0;line-height:1.65;overflow-wrap:anywhere}
.merchant-orbit .film-action-review p{color:var(--soft)}
