/* Account identity and the selected blue balance panel. */
@media (min-width: 821px) {
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar {
    .sidebar-compute-slot { display: none; }
    .sidebar-account-contact {
      color: var(--v3-muted, #798ca9);
      background: transparent;
      border-radius: 9px;
    }
    .sidebar-support-headset {
      display: block;
      width: 18px;
      height: 18px;
      filter: none;
      opacity: .5;
    }
    .sidebar-account-contact:hover { background: var(--theme-raised, #edf3fb); }
    .sidebar-account-contact:hover .sidebar-support-headset { opacity: .75; }
    .sidebar-account-contact:focus-visible { outline: 2px solid #8aaff9; outline-offset: 2px; }
  }
  html:root[data-theme="dark"][data-theme-page="workspace"] .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .sidebar-support-headset {
    filter: invert(1);
    opacity: .72;
  }
  html:root[data-theme="dark"][data-theme-page="workspace"] .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .sidebar-account-contact:hover .sidebar-support-headset { opacity: .95; }
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .sidebar-account-card {
    --dock-bg: #eef3fb;
    --dock-hover: #e3ecfa;
    --dock-line: #d7e3f8;
    --dock-accent: #3e67ac;
    --dock-text: #30496e;
    --dock-muted: #798ca9;
    --utility-surface: #fff;
    --utility-accent: #245fe5;
    --utility-panel: #e4edfc;
    --utility-number: #173c73;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .sidebar-account-card {
    .sidebar-account-card-head {
      display: flex;
      min-height: 20px;
      padding: 0 10px;
    }
    .sidebar-account-card-head > span {
      color: var(--dock-muted);
      font-size: 11px;
      font-weight: 500;
    }
    .v3-account-mini {
      grid-template-columns: 34px minmax(0, 1fr) 12px;
      gap: 8px;
      height: 48px;
      min-height: 48px;
      margin: 3px 0 0;
      padding: 0 10px;
      border-radius: 10px;
    }
    .v3-account-mini:hover,
    .v3-account-mini[aria-expanded="true"] { background: var(--dock-bg); }
    .v3-account-mini-copy > strong { font-size: 13px; font-weight: 500; }
    .sidebar-account-meta { gap: 5px; }
    .sidebar-account-meta > em { color: var(--dock-muted); }
    .sidebar-account-card-footer {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      width: calc(100% - 12px);
      min-height: 48px;
      margin: 8px 6px 0;
      padding: 5px 7px;
      border: 0;
      border-radius: 10px;
      background: var(--utility-panel);
    }
    &.is-utilities-only .sidebar-account-card-footer { margin: 0 6px; padding: 5px 7px; }
    .sidebar-compute-slot { display: block; min-width: 0; padding-right: 0; border-right: 0; }
    .sidebar-compute {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: 14px 18px;
      align-content: center;
      align-items: center;
      column-gap: 0;
      row-gap: 0;
      width: 100%;
      min-width: 0;
      min-height: 36px;
      margin: 0;
      padding: 2px 4px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      text-align: left;
    }
    .sidebar-compute svg { display: none; }
    .sidebar-compute > span { grid-column: 1; grid-row: 1; display: block; color: var(--dock-muted); font-size: 10px; line-height: 14px; }
    .sidebar-compute > strong { grid-column: 1; grid-row: 2; display: block; color: var(--utility-number); font-size: 14px; font-weight: 650; line-height: 18px; letter-spacing: -.3px; text-align: left; }
    .sidebar-account-contact {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1px;
      width: 100%;
      min-width: 0;
      min-height: 36px;
      padding: 3px;
      border: 0;
      border-radius: 8px;
      color: var(--dock-muted);
      background: var(--utility-surface);
      font-size: 10px;
      line-height: 14px;
      font-weight: 400;
    }
    .sidebar-account-contact svg { width: 16px; height: 16px; flex-shrink: 0; }
    .sidebar-support-headset { display: block; width: 16px; height: 16px; opacity: .6; }
    .sidebar-account-contact > span { display: inline; }
    :is(.sidebar-compute, .sidebar-account-contact):hover { background: var(--dock-hover); color: var(--dock-accent); }
    :is(.sidebar-compute, .sidebar-account-contact, .v3-account-mini):focus-visible { outline: 2px solid #8aaff9; outline-offset: 2px; }
  }
  html:root[data-theme="dark"][data-theme-page="workspace"] .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .sidebar-account-card {
    --dock-bg: var(--theme-raised, #262626);
    --dock-hover: #303030;
    --dock-line: var(--theme-border, #333);
    --dock-accent: var(--theme-text, #eee);
    --dock-text: var(--theme-text, #eee);
    --dock-muted: var(--theme-muted, #b5b5b5);
    --utility-surface: var(--theme-raised, #262626);
    --utility-accent: var(--theme-text, #eee);
    --utility-panel: var(--theme-soft, #1d1d1d);
    --utility-number: var(--theme-text, #eee);
    .sidebar-support-headset { filter: invert(1); opacity: .8; }
  }
}
@media (min-width: 821px) and (max-height: 620px) {
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .sidebar-account-card {
    .sidebar-account-card-head { min-height: 16px; }
    .v3-account-mini { height: 38px; min-height: 38px; margin-top: 0; }
    .sidebar-account-card-footer { min-height: 48px; margin-top: 6px; padding-top: 5px; padding-bottom: 5px; }
  }
}

/* Join the existing utility buttons visually without changing their DOM or actions. */
@media (min-width: 821px) {
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions {
    --header-join-gap: 13px;
    --header-control-surface: #fff;
    --header-control-line: #dfe7f4;
    --header-control-ink: #243d69;
    --header-control-blue: #3868dc;
    --header-control-hover: #edf3ff;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > :is(.topbar-membership, .dashboard-chrome-distribution) {
    position: relative;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    padding: 0 14px !important;
    border: 1px solid var(--header-control-line) !important;
    border-radius: 10px !important;
    background: var(--header-control-surface) !important;
    color: var(--header-control-ink) !important;
    box-shadow: none;
    font-size: 12px !important;
    font-weight: 500;
    transform: none;
    transition: background .16s ease, color .16s ease;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > .topbar-membership:has(+ .dashboard-chrome-distribution) {
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > .topbar-membership + .dashboard-chrome-distribution {
    margin-left: calc(-1 * var(--header-join-gap));
    border-left: 0 !important;
    border-radius: 0 10px 10px 0 !important;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > .topbar-membership + .dashboard-chrome-distribution::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    border-left: 1px solid var(--header-control-line);
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > :is(.topbar-membership, .dashboard-chrome-distribution) svg {
    width: 16px;
    height: 16px;
    color: var(--header-control-blue);
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > :is(.topbar-membership, .dashboard-chrome-distribution):is(:hover, .is-active) {
    background: var(--header-control-hover) !important;
    box-shadow: none;
    transform: none;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > :is(.topbar-membership, .dashboard-chrome-distribution):focus-visible {
    z-index: 1;
    outline: 2px solid #8caef5;
    outline-offset: 2px;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile .dashboard-chrome-user {
    min-height: 36px;
    height: 36px;
    gap: 9px;
    padding: 0 4px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    color: var(--header-control-ink);
    font-size: 12px;
    font-weight: 500;
    transform: none;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile .dashboard-chrome-user span {
    font-size: 12px;
    font-weight: 500;
    color: inherit;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile :is(.dashboard-chrome-user, .dashboard-profile-menu > header) .dashboard-profile-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #e9f0ff;
    border: 0;
    box-shadow: none;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile :is(.dashboard-chrome-user, .dashboard-profile-menu > header) .dashboard-profile-avatar img {
    content: url('https://static.yanbeiai.com/features-20261101-r1/static__linsi__assets__header-user-round.svg');
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile .dashboard-profile-menu > header .dashboard-profile-avatar {
    width: 42px;
    height: 42px;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile .dashboard-profile-menu > header .dashboard-profile-avatar img {
    width: 30px;
    height: 30px;
  }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile .dashboard-chrome-user > svg { width: 13px; height: 13px; color: #788fae; }
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile .dashboard-chrome-user:hover,
  html:root[data-theme-page="workspace"] .is-workspace-chrome .dashboard-profile.is-open .dashboard-chrome-user {
    background: var(--header-control-hover);
    box-shadow: none;
    transform: none;
  }
  html:root[data-theme="dark"][data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions {
    --header-control-surface: var(--theme-soft, #1d1d1d);
    --header-control-line: var(--theme-border, #333);
    --header-control-ink: var(--theme-text, #eee);
    --header-control-blue: var(--theme-muted, #b5b5b5);
    --header-control-hover: var(--theme-raised, #262626);
  }
}
@media (min-width: 821px) and (max-width: 1120px) {
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions { --header-join-gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html:root[data-theme-page="workspace"] .is-workspace-chrome .v3-top-actions > :is(.topbar-membership, .dashboard-chrome-distribution) { transition: none; }
}

.cc-main{display:flex;align-items:flex-start;gap:24px}.cc-add{width:58px;height:66px;flex:0 0 58px;display:grid;place-items:center;border:0;border-radius:12px;background:#eaf9ff;color:#193640;transform:rotate(-7deg);cursor:pointer}.cc-add svg{width:22px;height:22px;transform:rotate(7deg)}.cc-input{flex:1;min-width:0}.cc-input textarea{width:100%;min-height:72px;max-height:200px;resize:vertical;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:15px;line-height:1.8;padding:4px 0}.cc-input textarea::placeholder{color:#8a94a4}.cc-footer,.cc-controls{display:flex;align-items:center;gap:12px}.cc-footer{justify-content:space-between;margin-top:18px}.cc-controls{flex-wrap:wrap}.cc-mode{position:relative}.cc-mode>button,.cc-controls select,.cc-reference-button{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:inherit;padding:8px;border-radius:9px;font:inherit;font-size:13px;cursor:pointer}.cc-mode svg,.cc-reference-button svg{width:17px;height:17px}.cc-mode>button:hover,.cc-controls select:hover,.cc-reference-button:hover{background:#f1f4f8}.cc-mode-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:220px;border:1px solid #e6e9ef;background:var(--card,#fff);border-radius:14px;padding:9px;box-shadow:0 12px 38px #172a4920}.cc-mode-menu[hidden]{display:none}.cc-mode-menu>small{display:block;color:#8791a1;padding:7px 10px}.cc-mode-menu button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;border-radius:10px;padding:11px;text-align:left;color:inherit;cursor:pointer}.cc-mode-menu button[aria-checked=true],.cc-mode-menu button:hover{background:#edf2fa}.cc-mode-menu strong,.cc-mode-menu button small{display:block}.cc-mode-menu strong{font-size:13px;font-weight:550}.cc-mode-menu button small{font-size:11px;color:#778397;margin-top:3px}.cc-submit{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:0;border-radius:50%;background:#3267ff;color:#fff;cursor:pointer}.cc-submit svg{width:20px;height:20px;transform:rotate(-90deg)}.cc-meta{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:#8290a2;font-size:11px}.cc-references{display:flex;gap:10px;margin:12px 0}.cc-references[hidden]{display:none}.cc-references>span{position:relative}.cc-references img{display:block;width:62px;height:62px;object-fit:cover;border:1px solid #dfe6ee;border-radius:10px}.cc-references small{position:absolute;bottom:3px;left:5px;background:#172a49bb;color:#fff;border-radius:4px;padding:0 4px}.cc-references button{position:absolute;right:-5px;top:-5px;border:1px solid #dfe6ee;border-radius:50%;width:22px;height:22px;background:#fff;color:#334155;display:grid;place-items:center;cursor:pointer}.cc-references svg{width:13px;height:13px}.cc-main button:focus-visible,.cc-footer button:focus-visible,.cc-footer select:focus-visible{outline:2px solid #3267ff;outline-offset:3px}.cc-footer [disabled]{opacity:.5;cursor:wait}
.cs-history{max-width:720px;width:calc(100vw - 40px);border:1px solid #e1e6ee;border-radius:18px;padding:24px;color:var(--text,#20304a);background:var(--card,#fff)}.cs-history::backdrop{background:#13274755}.cs-history header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.cs-history h2{font-size:19px;margin:0}.cs-history-list{max-height:65vh;overflow:auto;display:grid;gap:9px}.cs-history-list>button{border:1px solid #e3e8f0;border-radius:12px;padding:14px;text-align:left;background:transparent;color:inherit;cursor:pointer}.cs-history-list strong,.cs-history-list small{display:block}.cs-history-list small{color:#8290a2;font-size:12px;margin-top:5px}.cs-history-list img{width:90px;height:70px;object-fit:cover;border-radius:8px;float:left;margin-right:12px}.cs-warning{padding:14px;background:#fff7e9;color:#835f24;border-radius:10px;font-size:13px;line-height:1.7;margin:0 0 16px}
html[data-theme=dark] .cc-mode-menu,html[data-theme=dark] .cs-chat,html[data-theme=dark] .cs-output{background:#171d29;border-color:#303949;color:#e4eaf2}html[data-theme=dark] .cc-mode-menu button:hover,html[data-theme=dark] .cc-mode-menu button[aria-checked=true],html[data-theme=dark] .cs-message.user{background:#253146}html[data-theme=dark] .cc-add{background:#213e4c;color:#cbeeff}html[data-theme=dark] .cs-choice:hover{background:#202e44}html[data-theme=dark] .cs-warning{background:#3a3020;color:#e9c587}
@media(max-width:1100px){.cs-layout{grid-template-columns:1fr}.cs-chat{position:static}.cs-messages{max-height:220px}.cs-tool .image-workspace{grid-template-columns:1fr}.cs-heading h1{font-size:22px}}@media(max-width:600px){.cc-main{gap:14px}.cc-add{width:44px;height:50px;flex-basis:44px}.cc-input textarea{font-size:14px}.cc-controls{gap:3px}.cc-mode>button,.cc-controls select{font-size:12px;padding:6px}.cc-meta{font-size:10px}.cs-heading{align-items:flex-start}.cs-heading-actions{flex-direction:column}.cs-chat,.cs-tool{padding:14px}.cs-output{min-height:400px}.cs-choices{margin:25px auto}.cs-mode-menu{width:200px}}
@media(prefers-reduced-motion:reduce){.cc-main *,.cc-footer *{transition:none!important;animation:none!important}}
.cc-main .sr-only,.cc-footer .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.v3-shell .content .cc-input textarea{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0;padding:4px 0;resize:vertical}
.v3-shell .content .cc-controls select{border:0;box-shadow:none;background:transparent;min-height:0;height:auto;width:auto;padding:8px;font-size:12px}
.cs-heading-actions .v3-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.cs-chat .cc-footer{gap:6px}.cs-chat .cc-controls{gap:3px}.cs-chat .cc-mode>button{padding-left:0}.cs-chat .cc-submit{align-self:flex-end}
html[data-theme=dark] .cc-mode>button:hover,html[data-theme=dark] .cc-controls select:hover,html[data-theme=dark] .cc-reference-button:hover{background:#253146;color:#e4eaf2}
html[data-theme=dark] .cs-workspace,html[data-theme=dark] .cs-history{color:#e4eaf2}html[data-theme=dark] .cs-history{background:#171d29;border-color:#303949}

.cs-workspace{width:100%;max-width:1320px;margin:0 auto;padding:18px 28px 60px;color:var(--text,#172239);box-sizing:border-box}
.cs-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:52px}
.cs-eyebrow{display:block;font-size:10px;letter-spacing:2.2px;color:#8190a6;margin-bottom:7px}
.cs-heading h1{font-size:20px;font-weight:650;margin:0;letter-spacing:.5px}
.cs-heading-actions{display:flex;gap:9px}.cs-heading-actions .v3-btn{background:var(--card,#fff);border-radius:12px;font-size:12px}
.cs-hero{text-align:center;margin:0 auto 30px}.cs-hero h2{margin:0 0 14px;font-size:36px;letter-spacing:1px;line-height:1.4;font-weight:650}.cs-hero p{font-size:14px;color:#8290a4;margin:0}
.cs-brief{max-width:920px;margin:0 auto 40px;background:var(--card,#fff);border:1px solid var(--border,#e4e9f1);border-radius:24px;box-shadow:0 14px 46px #20365b07}
.cs-brief>summary{display:none}.cs-composer-wrap{padding:26px 28px 16px}.cs-composer-wrap .cc-main{gap:24px}.cs-composer-wrap .cc-input textarea{min-height:88px;font-size:15px}
.cs-composer-wrap .cc-footer{margin-top:12px}.cs-composer-wrap [data-error]:empty,.cs-status:empty{display:none}.cs-composer-wrap [data-error]{color:#b44b55;font-size:12px;margin:8px 0 0}
.cs-status{font-size:11px;color:#8390a2;margin-top:8px}
.cs-output{min-width:0}.cs-output>header{display:none}.cs-tool{min-width:0}
.cs-choices{max-width:1040px;margin:0 auto}.cs-choice-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.cs-choice-heading h3{font-size:15px;font-weight:600;margin:0}.cs-choice-heading>span{color:#94a0af;font-size:12px}
.cs-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cs-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;border:1px solid var(--border,#e4e9f1);background:var(--card,#fff);border-radius:18px;padding:24px 20px 18px;text-align:left;cursor:pointer;color:inherit;transition:transform .16s,border-color .16s,box-shadow .16s}
.cs-choice:hover{transform:translateY(-3px);border-color:#a6bcf1;box-shadow:0 12px 28px #20365b0a}.cs-choice:focus-visible{outline:2px solid #3267ff;outline-offset:4px}
.cs-choice-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eef1ff;color:#596ed4;margin-bottom:24px}.cs-choice-icon svg{width:24px;height:24px}
.cs-choice-clone .cs-choice-icon{background:#f0ebfa;color:#9170be}.cs-choice-human .cs-choice-icon{background:#e7f5f0;color:#46927a}.cs-choice-graphic .cs-choice-icon{background:#fff1e4;color:#c48c51}
.cs-choice-number{position:absolute;right:20px;top:28px;font-size:11px;letter-spacing:1px;color:#a8b2c0}.cs-choice strong{font-size:16px;font-weight:600;line-height:1.5}.cs-choice small{font-size:12px;color:#8491a4;line-height:1.8;margin-top:7px;min-height:44px}
.cs-choice-link{display:flex;align-items:center;gap:7px;font-size:11px;color:#627796;margin-top:20px}.cs-choice-link svg{width:14px;height:14px}
.cs-editing .cs-heading{margin-bottom:22px}.cs-editing .cs-hero{display:none}.cs-editing .cs-brief{max-width:none;margin-bottom:22px;border-radius:16px;box-shadow:none}
.cs-editing .cs-brief>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;padding:15px 20px;font-size:13px;list-style:none}.cs-brief>summary::-webkit-details-marker{display:none}.cs-brief>summary>span{display:flex;gap:10px;align-items:center;min-width:0}.cs-brief>summary svg{width:16px;height:16px;flex-shrink:0;color:#7e91ae}.cs-brief [data-brief-summary]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:850px}.cs-brief>summary>small{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#8390a4;font-size:12px}
.cs-editing .cs-output>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:13px}.cs-back{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:6px 0;color:#7b8ca4;font-size:12px;cursor:pointer}.cs-back svg{width:15px;height:15px}
.cs-tool .image-studio-heading{display:none}.cs-tool .dh-shell{min-width:0}.cc-video-menu{width:260px}.cc-video>button{background:#f3f5f9;color:#4b607f}
html[data-theme=dark] .cs-brief,html[data-theme=dark] .cs-choice,html[data-theme=dark] .cs-heading-actions .v3-btn{background:#171d29;border-color:#303949;color:#e4eaf2}html[data-theme=dark] .cc-video>button{background:#253146;color:#d0dcef}html[data-theme=dark] .cs-choice-icon{background:#29334e;color:#adbcff}html[data-theme=dark] .cs-choice:hover{background:#1c2638}
@media(min-width:1101px){.v3-shell .content:has(>.cs-workspace),.v3-shell .content:has(.cs-workspace){max-width:none}.cs-tool .image-workspace{grid-template-columns:minmax(320px,.85fr) minmax(380px,1.15fr)}}
@media(max-width:1100px){.cs-workspace{padding:12px 12px 40px}.cs-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-heading{margin-bottom:34px}.cs-hero h2{font-size:30px}.cs-tool .image-workspace{grid-template-columns:1fr}}
@media(max-width:600px){.cs-workspace{padding:10px 0 30px}.cs-eyebrow{font-size:8px}.cs-heading h1{font-size:18px}.cs-heading{gap:8px;margin-bottom:32px}.cs-heading-actions{gap:6px}.cs-heading-actions .v3-btn{padding:8px;font-size:11px;min-height:34px}.cs-heading-actions svg{width:14px;height:14px}.cs-hero h2{font-size:25px}.cs-hero p{font-size:12px}.cs-brief{border-radius:18px;margin-bottom:28px}.cs-composer-wrap{padding:20px 16px 14px}.cs-composer-wrap .cc-main{gap:14px}.cs-composer-wrap .cc-input textarea{min-height:100px;font-size:14px}.cs-choice-grid{gap:10px}.cs-choice{padding:18px 14px 14px;border-radius:14px}.cs-choice strong{font-size:14px}.cs-choice small{font-size:11px;min-height:40px}.cs-choice-icon{margin-bottom:18px;width:38px;height:38px;border-radius:12px}.cs-choice-number{right:14px;top:22px}.cs-choice-link{margin-top:14px}.cs-choice-heading>span{display:none}.cc-video-menu{left:auto;right:0;width:240px}.cs-editing .cs-brief>summary{padding:13px;gap:8px}.cs-brief>summary>small{font-size:11px}.cs-brief [data-brief-summary]{max-width:180px}}
@media(prefers-reduced-motion:reduce){.cs-choice{transition:none}}
.ce-dialog{width:min(660px,calc(100vw - 32px));box-sizing:border-box;padding:24px;box-shadow:0 24px 80px #12244626}.ce-dialog header{align-items:flex-start;gap:20px}.ce-dialog header p{font-size:12px;color:#8190a4;margin:8px 0 0}.ce-dialog .cs-history-list>button{padding:16px 18px;border-radius:14px;transition:border-color .15s,background .15s}.ce-dialog .cs-history-list>button:hover{border-color:#93aff2;background:#f6f8ff}.ce-history-type{display:inline-block;color:#637fae;background:#eff4fc;font-size:11px;border-radius:6px;padding:3px 7px;margin-bottom:9px}.ce-dialog strong{font-size:14px;line-height:1.6}.ce-dialog small{margin-top:8px}.ce-dialog button[disabled]{opacity:.6;cursor:wait}.ce-error{color:#b04b56;font-size:12px;line-height:1.7}.ce-error:empty{display:none}.ce-empty{color:#8190a4;padding:35px 10px;text-align:center;font-size:13px}html[data-theme=dark] .ce-dialog .cs-history-list>button:hover{background:#253146}html[data-theme=dark] .ce-history-type{background:#253146;color:#b4c9eb}


/* Shared entry menus and body-mounted history dialogs use the same neutral surfaces. */
html[data-theme="dark"] :is(.cc-mode-menu,.cs-history) {background:var(--theme-surface,#151515);border-color:var(--theme-border,#333);color:var(--theme-text,#eee);color-scheme:dark}
html[data-theme="dark"] :is(.cc-mode-menu>small,.cc-mode-menu button small,.cc-meta,.ce-dialog header p,.ce-dialog small,.ce-empty) {color:var(--theme-muted,#b5b5b5)}
html[data-theme="dark"] :is(.cc-mode-menu button:hover,.cc-mode-menu button[aria-checked=true],.cc-mode>button:hover,.cc-reference-button:hover,.cc-video>button,.ce-history-type) {background:var(--theme-raised,#262626);color:var(--theme-text,#eee)}
html[data-theme="dark"] .cc-mode-menu button[aria-checked=true] {box-shadow:inset 3px 0 var(--theme-primary,#97b2ff)}
html[data-theme="dark"] .cc-controls :is(select,option) {background:var(--theme-surface,#151515);color:var(--theme-text,#eee)}
html[data-theme="dark"] .cc-references :is(img,button) {border-color:var(--theme-border,#333)}
html[data-theme="dark"] .cc-references button {background:var(--theme-raised,#262626);color:var(--theme-text,#eee)}
html[data-theme="dark"] .ce-dialog .cs-history-list>button {border-color:var(--theme-border,#333)}
html[data-theme="dark"] .ce-dialog .cs-history-list>button:hover {background:var(--theme-raised,#262626);border-color:var(--theme-primary,#97b2ff)}
html[data-theme="dark"] .ce-dialog .v3-btn {background:var(--theme-raised,#262626);color:var(--theme-text,#eee);border:1px solid var(--theme-border,#333);border-radius:9px;padding:8px 12px;cursor:pointer}
html[data-theme="dark"] .ce-dialog button:focus-visible {outline:2px solid var(--theme-primary,#97b2ff);outline-offset:3px}
html[data-theme="dark"] .cs-history::backdrop {background:#0009}
html[data-theme="dark"] :is(.ce-error,.ds-composer [data-error]) {color:var(--theme-danger,#ffa3af)}

.guest-login-button{border:0;border-radius:9px;padding:10px 22px;background:var(--v3-primary,#3563ef);color:#fff;font:inherit;cursor:pointer;white-space:nowrap}
.guest-workbench [data-guest-membership]{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px}
.guest-workbench .guest-support{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--v3-line,#e1e6ee);border-radius:12px;background:var(--v3-surface,#fff);color:var(--v3-ink,#243651);padding:13px;font:inherit;cursor:pointer;margin-top:auto}
.guest-workbench .guest-support img{width:20px;height:20px}
.guest-workbench .guest-legal{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;padding:32px 18px;color:var(--v3-muted,#7585a0);font-size:12px}
.guest-legal a{color:inherit;text-decoration:none}
.guest-dialog{padding:0;width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);border:1px solid var(--v3-line,#e1e6ee);border-radius:20px;background:var(--v3-surface,#fff);color:var(--v3-ink,#203454);box-shadow:0 24px 100px #0003;overflow:auto}
.guest-dialog::backdrop{background:#141c3466;backdrop-filter:blur(5px)}
.guest-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--v3-line,#e1e6ee)}
.guest-dialog>header strong{font-size:14px;font-weight:600}
.guest-dialog>header button{display:grid;place-items:center;border:0;background:transparent;color:inherit;border-radius:8px;width:32px;height:32px;cursor:pointer}
.guest-dialog iframe{display:block;width:100%;height:min(660px,calc(100dvh - 110px));border:0;background:transparent}
.guest-dialog [data-guest-status]:empty{display:none}
.guest-dialog [data-guest-status]{padding:12px 22px;margin:0;font-size:13px;color:var(--v3-muted,#7585a0)}
.guest-dialog .guest-support-body{text-align:center;padding:24px}.guest-support-body img{max-width:220px;width:100%;border-radius:12px}.guest-support-body p{font-size:13px;line-height:1.7}
.guest-dialog.guest-membership{width:min(820px,calc(100vw - 32px))}.guest-membership .guest-member-body{padding:24px}
.guest-dialog .ui-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
html[data-theme="dark"] .guest-dialog{background:#181a1f;border-color:#333842;color:#eceef4}
html[data-theme="dark"] .guest-dialog>header{border-color:#333842}
html[data-theme="dark"] .guest-workbench .guest-support{background:#202227;border-color:#333842;color:#eceef4}
html[data-theme="dark"] .guest-workbench .guest-support img{filter:invert(1);opacity:.85}
html[data-theme="dark"] .guest-workbench .guest-login-button{background:#315deb;color:#fff}
.guest-workbench button:focus-visible,.guest-dialog button:focus-visible{outline:2px solid #718dff;outline-offset:3px}
@media(max-width:760px){.guest-workbench .v3-topbar{display:flex!important;padding:12px 16px}.guest-workbench .v3-topbar-heading{display:block}.guest-workbench .v3-top-actions{display:flex;gap:10px}.guest-workbench .v3-top-actions .guest-login-button{font-size:12px;padding:9px 12px}.guest-workbench .main{padding-bottom:0}.guest-dialog>header{padding:10px 16px}}

