/* Local refinements reuse the current surfaces, type sizes and control geometry. */
/* Approved membership and ledger share one uninterrupted dark surface. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card {
  overflow:hidden;margin:4px 0 16px;border-radius:28px;text-align:left;color:#fff;
  background-color:var(--dark-card-floor);background-image:var(--dark-card-sheen);
  box-shadow:0 8px 24px rgba(17,19,21,.12);
}
/* The embedded ledger stays still when its period controls repaint under the pointer. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .income-spotlight { transform:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .mine-membership-head {
  display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;
  width:100%;min-height:120px;margin:0;padding:24px 20px;border:0;border-radius:0;background:transparent!important;color:#fff;text-align:left;box-shadow:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .profile-orb {
  display:block;grid-column:auto;grid-row:auto;width:64px;height:64px;margin:0;padding:0;border:2px solid var(--minimal-accent);border-radius:50%;overflow:hidden;box-shadow:none;background:transparent;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .mine-profile-copy { min-width:0;display:grid;gap:4px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .mine-profile-copy>strong {
  margin:0;color:#fff;font-size:21px!important;font-weight:600!important;line-height:1.4;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .is-member .mine-profile-copy>strong {
  color:var(--minimal-accent)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .mine-member-status {
  color:rgba(255,255,255,.75);font-size:11px;line-height:1.6;overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .is-member .mine-member-status {
  color:var(--minimal-accent);font-size:16px;font-weight:600;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .mine-member-pill {
  display:block;padding:8px 10px;border:1px solid var(--minimal-accent);border-radius:18px;color:var(--minimal-accent);white-space:nowrap;font-size:11px;font-weight:600;line-height:1.4;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .mine-member-arrow { color:var(--minimal-accent);font-size:28px;line-height:1; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .income-spotlight {
  margin:0!important;padding:20px!important;border:0!important;border-top:1px solid rgba(255,255,255,.16)!important;border-radius:0!important;
  background-color:transparent!important;background-image:none!important;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .ledger-overview-head {
  gap:8px;margin-bottom:12px!important;align-items:flex-start;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .ledger-overview-head>div:first-child {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .ledger-overview-head strong { font-size:16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .income-number { margin:12px 0!important;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .segment button {
  height:44px!important;min-height:44px!important;padding:0 12px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .segment button::before { top:4px;bottom:4px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .ledger-overview-foot { margin-top:12px!important;padding-top:8px!important;gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .ledger-overview-foot>span { min-width:0;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card .ledger-overview-foot>button { flex-shrink:0;min-height:44px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-account-card button:focus-visible { outline:2px solid #fff;outline-offset:-4px; }
/* The front card sets the height; compact rear layers reveal only a narrow edge. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked {
  --stack-reveal:16px;display:block;padding-bottom:var(--stack-reveal);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked:has(>.shoot-card:nth-child(3)) { --stack-reveal:24px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked:has(>.shoot-card:nth-child(4)) { --stack-reveal:28px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked>.shoot-card:first-child {
  position:relative;inset:auto;width:100%;margin:0;box-shadow:0 6px 14px rgba(15,17,18,.18)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked>.shoot-card:nth-child(n+2) {
  --stack-offset:16px;--stack-inset:8px;position:absolute;top:var(--stack-offset);bottom:auto;
  left:var(--stack-inset);right:var(--stack-inset);width:auto;height:calc(100% - var(--stack-reveal));
  min-height:0;margin:0;box-shadow:0 10px 22px rgba(15,17,18,.14)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked>.shoot-card:nth-child(3) { --stack-offset:24px;--stack-inset:16px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked>.shoot-card:nth-child(n+4) { --stack-offset:28px;--stack-inset:24px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked>.shoot-card:first-child::after {
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.14);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked>.shoot-card:nth-child(n+2)::after {
  background:rgba(255,255,255,.055);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked+.stack-toggle-row {
  margin:-30px 0 2px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked:has(>.shoot-card:nth-child(3))+.stack-toggle-row { margin-top:-34px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .spotlight-stack.stacked:has(>.shoot-card:nth-child(4))+.stack-toggle-row { margin-top:-36px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .stack-toggle {
  position:relative;isolation:isolate;justify-content:center;gap:4px;width:88px;min-height:44px;
  padding:0;border-radius:22px!important;background:transparent!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .stack-toggle::before {
  content:"";position:absolute;left:50%;top:50%;width:67.2px;height:22.4px;transform:translate(-50%,-50%);
  border-radius:11.2px;background:var(--minimal-soft);box-shadow:0 1.6px 6.4px rgba(32,35,36,.1);pointer-events:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .stack-toggle>* { position:relative;z-index:1; }
/* The visible capsule is 20% smaller; its transparent touch target stays 44px high. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .stack-toggle :is(span,b) { font-size:11.2px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .stack-toggle .chevron {
  width:5.6px;height:5.6px;margin-top:-2.4px;border-right-width:1.28px;border-bottom-width:1.28px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .stack-toggle.open .chevron { margin-top:2.4px; }

/* Zero progress shows the track alone, with no minimum yellow fill. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .shoot-progress.is-empty>span i {
  min-width:0;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-detail-page :is(.timeline-row,.pipeline-row):not(.done)>i::after {
  content:"";display:block;width:6px;height:6px;border-radius:50%;background:var(--minimal-paper,#fff);
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-mode-panel>.inspiration-account-entry {
  width:100%;margin:0;
}

/* Script tools share one compact row; commercial scripts have a fourth entry. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:16px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions.has-commercial {
  grid-template-columns:repeat(4,minmax(0,1fr));
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions>button {
  display:inline-flex;align-items:center;justify-content:center;gap:0;min-width:0;width:100%;height:44px;
  min-height:44px;margin:0;padding:0 4px;border:0;border-radius:999px!important;background:var(--minimal-dark)!important;
  color:var(--minimal-paper)!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;
  line-height:1.4;white-space:nowrap;text-align:center;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions>button span {
  font-size:inherit!important;font-weight:inherit!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions>button:focus-visible {
  outline:2px solid var(--minimal-dark);outline-offset:3px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions>button:disabled {
  opacity:.45;
}
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions>button:not(:disabled):hover {
    opacity:.86;
  }
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ui-document .script-title-actions>button:not(:disabled):active {
  opacity:.72;
}


/* Confirmation follows the complete document as a full-width final action. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-confirm-footer { margin-top:8px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-confirm-footer>.script-confirm-button {
  display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:52px;margin:0;
  padding:12px 24px;border:0;border-radius:999px!important;background:var(--minimal-dark)!important;
  color:var(--minimal-paper,#fff)!important;box-shadow:none!important;font-size:16px!important;
  font-weight:600!important;line-height:1.5;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-confirm-button:focus-visible { outline:2px solid var(--minimal-dark);outline-offset:3px; }
@media (hover:hover) and (pointer:fine) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-confirm-button:hover { opacity:.88; }
}

html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-library-card .script-library-main {
  display:block;width:100%;padding:0;border:0;border-radius:16px;background:transparent!important;
  box-shadow:none!important;color:var(--ui-ink);font:inherit;text-align:left;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-library-main>strong {
  display:block;margin:8px 0 0;font-size:14px!important;font-weight:700!important;line-height:1.45;overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-library-main>p {
  margin:6px 0 0;font-size:14px!important;font-weight:400!important;line-height:1.6;color:var(--ui-muted);overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-card-meta {
  display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding-top:8px;
  border-top:1px solid var(--ui-line);font-size:11px!important;color:var(--ui-muted);line-height:1.6;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-card-meta b {
  flex:none;font-size:11px!important;font-weight:600!important;color:var(--ui-ink);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-library-card .script-final-entry {
  display:flex;justify-content:space-between;align-items:center;width:100%;min-height:52px;margin-top:8px;
  padding:10px 0 0;border:0;border-top:1px solid var(--ui-line);border-radius:0;
  background:transparent!important;box-shadow:none!important;color:var(--ui-ink);font:inherit;text-align:left;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-final-entry>span { display:grid;gap:2px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-final-entry b { font-size:14px!important;font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-final-entry small { font-size:11px!important;font-weight:400!important;color:var(--ui-muted); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-final-entry svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }

/* Keep the export sheet flush with the canvas; safe-area spacing belongs inside its white surface. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .workspace-sheet-backdrop[data-action="close-export"] {
  padding:24px 0 0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .workspace-sheet-backdrop[data-action="close-export"]>.workspace-sheet.compact {
  width:min(100%,402px);max-width:none;max-height:calc(100dvh - 24px);margin:0;border:0;
  padding:24px 24px max(24px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;
}

/* A top-layer sheet fills the mobile canvas and stays above navigation and page motion. */
html[data-visual-mode="minimal"] body.theme-liquid dialog.workspace-sheet-dialog {
  position:fixed;inset:0;width:min(402px,100vw);height:100dvh;max-width:none;max-height:none;
  margin:0 auto;padding:0;border:0;background:transparent;color:var(--minimal-ink);overflow:hidden;box-shadow:none;
}
html[data-visual-mode="minimal"] body.theme-liquid dialog.workspace-sheet-dialog[open] { display:flex;align-items:flex-end; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .workspace-sheet-dialog>.workspace-sheet {
  width:100%;max-width:none;max-height:calc(100% - 24px);margin:0;border:0;
  padding:16px 24px max(24px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-header { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-header h2 { margin:0;font-size:21px!important;font-weight:600!important;line-height:1.4; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-close {
  display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:22px;
  background:var(--minimal-soft)!important;color:var(--minimal-ink);box-shadow:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-close svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-dialog .workspace-sheet>button { padding:14px 16px;min-height:72px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-dialog .workspace-sheet>button span,
html[data-visual-mode="minimal"] body.theme-liquid #appView .workspace-sheet-dialog .workspace-sheet label { font-size:14px!important;line-height:1.6; }

/* Script library creation lives in the heading, matching compact circular actions. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .scripts-head { display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .scripts-head .script-add-button { width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0!important;border:0;border-radius:50%!important;background:var(--minimal-dark)!important;color:var(--minimal-paper,#fff)!important;box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-add-button svg { width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
@media (hover:hover) and (pointer:fine) {
 html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-add-button:hover { opacity:.88; }
}

/* User-approved light membership page, isolated from ordinary work pages. */
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"] { background:var(--minimal-canvas,#ededed)!important;color:var(--minimal-ink); }
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"] .app-shell { background:var(--minimal-canvas,#ededed)!important;min-height:100dvh; }
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"] :is(.app-header,.tab-bar) { display:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid[data-route="membership"] #appView { padding:0!important;background:var(--minimal-canvas,#ededed)!important;transform:none!important;animation:none!important;will-change:auto!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall { display:block!important;padding:20px 0 170px;color:var(--minimal-ink); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-heading { padding:0 20px 28px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-close { display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--minimal-line,#e0e2e4);border-radius:50%;background:#fff!important;color:var(--minimal-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall svg { width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall h1 { margin:28px 0 8px;font-size:34px!important;font-weight:600!important;line-height:1.3;color:var(--minimal-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall h1>span { color:var(--minimal-ink); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-heading>p { margin:0;font-size:11px;line-height:1.7;color:var(--minimal-muted,#747a7e); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plans { display:flex!important;gap:12px;margin:0;padding:2px 20px 8px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plans::-webkit-scrollbar { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan { position:relative;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start;gap:0!important;flex:0 0 248px;min-width:0;min-height:172px!important;margin:0;padding:24px 20px!important;border:1px solid var(--minimal-line,#e0e2e4)!important;border-radius:20px!important;scroll-snap-align:center;background:#fff!important;color:var(--minimal-ink)!important;text-align:left;box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan.selected { border:1px solid var(--minimal-dark)!important;box-shadow:inset 0 0 0 1px var(--minimal-dark)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan>span { align-self:stretch;width:100%;margin:0!important;padding-right:28px;font-size:21px!important;font-weight:600!important;line-height:1.4!important;color:var(--minimal-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan>em { margin-top:8px;font-size:14px!important;font-weight:400!important;font-style:normal;line-height:1.6;color:var(--minimal-muted,#747a7e)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan>strong { display:block;align-self:stretch;width:100%;margin:auto 0 0!important;padding-top:24px;font-size:34px!important;font-weight:600!important;line-height:1.2!important;color:var(--minimal-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan>strong>i { font-size:21px!important;font-style:normal; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-refresh-row { display:flex;align-items:center;flex-wrap:wrap;column-gap:6px;margin:12px 20px 20px;color:var(--minimal-muted,#747a7e);font-size:11px;line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-refresh-row>button { min-height:44px;padding:0 4px;background:transparent!important;color:var(--minimal-ink)!important;font-size:11px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-benefit-section { margin:24px 20px 0;padding-top:24px;border-top:1px solid var(--minimal-line,#e0e2e4); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall h2 { margin:0 0 20px;font-size:21px!important;font-weight:600!important;color:var(--minimal-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-benefit-list { margin:0;padding:16px 20px;list-style:none;border-radius:20px;background-color:#fff;background-image:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-benefit-list>li { display:flex;align-items:center;gap:14px;min-height:52px;color:var(--minimal-muted,#747a7e);font-size:14px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-benefit-list>li>span { flex:1;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .benefit-check { width:20px;height:20px;color:var(--minimal-ink); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall :is(.wechat-pay-hint,.membership-history) { margin:24px 20px;color:var(--minimal-muted,#747a7e);background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .wechat-pay-hint button { min-height:44px;color:var(--minimal-ink)!important;background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-purchase-bar { position:fixed;z-index:60;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,402px);padding:16px 20px calc(16px + env(safe-area-inset-bottom));background:var(--minimal-canvas,#ededed); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-buy { width:100%;min-height:52px;padding:12px 20px;border:0;border-radius:999px!important;background:var(--minimal-dark)!important;color:#fff!important;font-size:16px!important;font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-purchase-bar>p { margin:8px 0 0;text-align:center;color:var(--minimal-muted,#747a7e);font-size:11px;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall button:disabled { opacity:.45;cursor:default; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall button:focus-visible { outline:2px solid var(--minimal-dark);outline-offset:3px; }

/* Confirmed accounts use the compact list hierarchy, with footer actions on one row. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-list { padding:16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-list h3 { margin:0 0 8px!important;font-size:16px!important;font-weight:600!important;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-list .creator-account-row { min-height:52px;padding:6px 0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-row>span { gap:2px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-row strong { font-size:14px!important;font-weight:600!important;line-height:1.5;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-row small { font-size:11px!important;font-weight:400!important;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-row b { display:flex;align-items:center;gap:4px;font-size:14px!important;font-weight:600!important;line-height:1.5;white-space:nowrap; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-account-row svg,
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions summary svg { display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions { display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions .creator-position-history { grid-column:1/-1;grid-row:1;min-width:0;padding:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions summary { width:fit-content;max-width:calc(100% - 154px);gap:8px;min-height:44px;list-style:none;font-size:14px!important;font-weight:600!important;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions summary::-webkit-details-marker { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions details[open]>summary svg { transform:rotate(180deg); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions .creator-position-remove { grid-column:2;grid-row:1;align-self:start;justify-self:end;z-index:1;min-height:44px;margin:0;padding:0 8px;font-size:14px!important;font-weight:600!important;line-height:1.5;white-space:nowrap;color:var(--minimal-danger,#c0392b); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions :is(summary,button):focus-visible { outline:2px solid var(--minimal-dark);outline-offset:3px;border-radius:8px; }
@media (hover:hover) and (pointer:fine) {
 html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .creator-position-actions :is(summary,button):hover { opacity:.8; }
}

/* Script deletion separates the object name from its consequence. */
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog.has-subject>form { height:auto; }
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog.has-subject .dialog-head { top:auto;min-height:0;padding:20px 24px 6px;align-items:center!important; }
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog.has-subject .confirm-subject { flex:0 0 auto;margin:0;padding:0 24px;font-size:16px!important;font-weight:600!important;line-height:1.5;color:var(--ink);overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog.has-subject .confirm-message { flex:0 0 auto;margin:0;padding:6px 24px 20px;font-size:14px;font-weight:400;line-height:1.7;color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog .confirm-subject[hidden] { display:none; }

/* Commercial scripts expose Brief tools through one compact control and a native sheet. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-button { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:12px 0 0;padding:10px 14px;border:0;border-radius:16px;background:var(--minimal-soft)!important;color:var(--minimal-dark)!important;font-size:14px!important;font-weight:600!important;text-align:left; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-button svg { display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-button span { font-size:14px!important;font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-undo-entry { display:flex;justify-content:flex-end; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-undo-entry .assistant-undo-button { margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-dialog>.script-brief-sheet { display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:34px 34px 0 0!important;background:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet>.workspace-sheet-header { flex:none;margin:0;padding:20px 24px 16px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet>.brief-card { display:flex;flex-direction:column;gap:16px;min-height:0;margin:0;padding:0 24px max(24px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;border:0;border-radius:0!important;background:#fff!important;box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-card>div>span { margin:0;font-size:14px!important;font-weight:400!important;line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet :is(.brief-upload,.brief-text,.brief-actions,.anchor-status,.brief-image-section) { flex-shrink:0;margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-upload { min-height:72px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-upload b { font-size:14px!important;font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-upload span { white-space:normal;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-text { min-height:180px;font-size:16px!important;line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-actions { display:grid;grid-template-columns:minmax(0,1fr);gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-actions button { min-height:44px;flex:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-actions button.primary,
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-image-picker { background:var(--minimal-dark)!important;color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-upload:focus-within { outline:2px solid var(--minimal-dark);outline-offset:3px; }
/* Sponsored-ad Skill: requirements and reports remain separate from insertable copy. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .brief-workflow strong { display:block;margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .commercial-analyze-button { flex:none;min-height:46px;width:100%;padding:12px 16px;border:0;border-radius:23px;background:var(--minimal-dark)!important;color:#fff!important;font-size:14px!important;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-sheet .commercial-analyze-button:disabled { opacity:.45;cursor:default; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view :is(.commercial-analysis,.commercial-report) { min-width:0;max-width:100%;margin:0;border:0;border-radius:18px;background:var(--minimal-soft);padding:16px;overflow-wrap:anywhere;flex:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-analysis>header { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-analysis>header h3 { margin:0;font-size:16px;font-weight:600;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-analysis>header>span { flex:none;font-size:11px;color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report { margin-top:12px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report>summary { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px;font-weight:600;list-style:none;cursor:pointer; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report>summary::-webkit-details-marker { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report>summary svg { width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report[open]>summary svg { transform:rotate(180deg); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report-content { min-width:0;max-width:100%;font-size:14px;line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report-content :is(p,li,td,th) { font-size:14px;line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report-content :is(h1,h2,h3,h4) { font-size:16px;font-weight:600;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report-content .commercial-table { max-width:100%;margin:12px 0;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--minimal-line);border-radius:12px;background:#fff; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-table table { min-width:100%;border-collapse:collapse;text-align:left; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-table :is(td,th) { min-width:96px;padding:10px 12px;border-bottom:1px solid var(--minimal-line);vertical-align:top;white-space:normal; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-table th { font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-table tr:last-child td { border-bottom:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-table:focus-visible { outline:2px solid var(--minimal-dark);outline-offset:3px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-report-note { margin:8px 0 0;font-size:11px!important;font-weight:400;line-height:1.8;color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .commercial-error { margin:0;font-size:14px;line-height:1.7;color:var(--danger,#cb3a2c); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view :is(.commercial-analyze-button,.commercial-report>summary):focus-visible { outline:2px solid var(--minimal-dark);outline-offset:3px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-button:focus-visible { outline:2px solid var(--minimal-dark);outline-offset:3px; }
@media (hover:hover) and (pointer:fine) {
 html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .script-brief-button:hover { opacity:.8; }
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan-check { display:none;position:absolute;right:16px;top:24px;width:22px;height:22px;padding:3px;border-radius:50%;background:var(--minimal-dark);color:var(--minimal-accent); }
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .membership-paywall .membership-plan.selected .membership-plan-check { display:block; }

/* Continuous assistant entry: the confirmed filming draft remains the document footer. */
#appView .script-personal-assistant { display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:12px;padding:10px 14px;border:0;border-radius:16px;background:#f0f1f3;color:#292d2e;font-size:14px;font-weight:600; }
#appView .script-personal-assistant svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none;}
#appView .script-personal-assistant:focus-visible {outline:2px solid #292d2e;outline-offset:3px;}
body[data-route="chat-workspace"] .app-header,body[data-route="chat-workspace"] .tab-bar {display:none;}
body[data-route="chat-workspace"] #appView {padding-top:0;}

/* Mine feature entries: upright copy and one shared text starting edge. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-page .account-feature-card {
  grid-template-columns:minmax(0,1fr) auto!important;
  text-align:left;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-page .account-feature-card>.account-feature-icon {
  display:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-page .account-feature-card>span:not(.account-feature-icon) {
  min-width:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-page .account-feature-card>span>em {
  display:block;
  font-style:normal!important;
}

/* Mine grouped lists: one continuous surface per group. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-feature-groups {
  display:grid;gap:16px;margin:0 0 16px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-settings-group {
  min-width:0;margin:0;padding:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-settings-card {
  overflow:hidden;border:0;border-radius:28px;background:var(--minimal-paper);box-shadow:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row {
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 8px;gap:12px;align-items:center;
  width:100%;min-width:0;min-height:60px;margin:0;padding:18px 20px!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:var(--minimal-ink)!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  text-align:left;transform:none!important;cursor:pointer;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row+ .mine-setting-row::before {
  content:"";position:absolute;top:0;left:20px;right:20px;height:1px;background:var(--minimal-line);pointer-events:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row>strong {
  min-width:0;margin:0;font-size:14px!important;font-weight:600!important;font-style:normal;line-height:1.5;color:var(--minimal-ink)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row>.mine-row-status {
  min-width:0;max-width:100px;font-size:11px!important;font-weight:400!important;font-style:normal;line-height:1.5;color:var(--muted)!important;text-align:right;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row>b {
  justify-self:end;margin:0;font-size:20px!important;font-weight:400!important;line-height:1;color:var(--muted)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row:hover:not(:active) {
  filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row:active {
  background:var(--minimal-soft)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row:focus-visible {
  outline:2px solid var(--minimal-ink);outline-offset:-4px;border-radius:12px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .mine-setting-row:disabled {
  opacity:.5;cursor:default;
}
