@media (max-width: 720px) {
  :root {
    --ref-page: #f6fbff;
    --ref-ink: #08172f;
    --ref-muted: #5f6f8b;
    --ref-line: #d6e5f8;
    --ref-blue: #2f6df3;
    --ref-deep: #163f9f;
    --ref-shadow: 0 10px 24px rgba(48, 88, 145, 0.08);
  }

  * {
    box-sizing: border-box;
  }

  html,
  body {
    min-width: 0;
    overflow-x: hidden;
    background: var(--ref-page);
  }

  body[data-current-view="home"] {
    margin: 0;
    color: var(--ref-ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    letter-spacing: 0;
  }

  

  body[data-current-view="home"] .app-shell,
  body[data-current-view="home"] .main,
  body[data-current-view="home"] #homeView,
  body[data-current-view="home"] #homeView.active {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: var(--ref-page) !important;
  }

  body[data-current-view="home"] .view:not(#homeView) {
    display: none !important;
  }

  body[data-current-view="home"] .ref-home,
  body[data-current-view="home"] .ref-home * {
    letter-spacing: 0 !important;
    writing-mode: horizontal-tb !important;
  }

  body[data-current-view="home"] .ref-home {
    width: 100% !important;
    max-width: 390px !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    padding: 0 13px calc(74px + env(safe-area-inset-bottom)) !important;
    background:
      radial-gradient(circle at 80px 96px, rgba(223, 239, 255, 0.68), transparent 118px),
      linear-gradient(180deg, #fbfdff 0%, #f6faff 100%) !important;
  }

  body[data-current-view="home"] .ref-home button {
    appearance: none !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .ref-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 45px !important;
    margin: 0 -13px !important;
    padding: 0 13px !important;
    border-bottom: 1px solid #dbe7f6 !important;
    background: rgba(255, 255, 255, 0.94) !important;
  }

  .ref-topbar h1 {
    min-width: 0 !important;
    margin: 0 !important;
    color: #0a1730 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .ref-top-actions,
  .ref-admin {
    display: flex !important;
    align-items: center !important;
  }

  .ref-top-actions {
    gap: 10px !important;
    min-width: 0 !important;
  }

  .ref-bell {
    position: relative !important;
    width: 30px !important;
    height: 30px !important;
  }

  .ref-bell::before {
    content: "" !important;
    position: absolute !important;
    left: 7px !important;
    top: 6px !important;
    width: 15px !important;
    height: 17px !important;
    border: 2px solid #111c31 !important;
    border-radius: 9px 9px 6px 6px !important;
    background: #fff !important;
  }

  .ref-bell::after {
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    top: 22px !important;
    width: 9px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #111c31 !important;
  }

  .ref-bell span {
    position: absolute !important;
    top: -1px !important;
    right: -2px !important;
    z-index: 1 !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #f14868 !important;
    color: #fff !important;
    font-size: 9px !important;
    line-height: 16px !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  .ref-bell em {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
  }

  .ref-admin {
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 128px !important;
    height: 34px !important;
    padding: 0 !important;
  }

  .ref-admin img {
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    max-width: 31px !important;
    max-height: 31px !important;
    object-fit: cover !important;
    object-position: 52% 12% !important;
    border: 1px solid #e2e8f2 !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 12px rgba(35, 54, 92, 0.12) !important;
  }

  .ref-admin strong {
    display: block !important;
    min-width: 0 !important;
    max-width: 74px !important;
    overflow: hidden !important;
    color: #12203a !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ref-admin::after {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-top: 2px solid #40506a !important;
    border-right: 2px solid #40506a !important;
    transform: rotate(45deg) !important;
  }

  .ref-greeting {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 13px 0 12px !important;
  }

  .ref-greeting h2 {
    margin: 0 0 7px !important;
    color: #0a1730 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .ref-greeting h2 span {
    display: inline-block !important;
    margin-right: 3px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    vertical-align: -1px !important;
  }

  .ref-greeting p {
    margin: 0 !important;
    color: #61708b !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  .ref-search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 25px !important;
    padding: 0 8px !important;
    border: 1px solid #d5e1ef !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #60708b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 16px rgba(42, 77, 125, 0.06) !important;
  }

  .ref-search i {
    position: relative !important;
    width: 11px !important;
    height: 11px !important;
    border: 2px solid #1d2b46 !important;
    border-radius: 50% !important;
    flex: 0 0 auto !important;
  }

  .ref-search i::after {
    content: "" !important;
    position: absolute !important;
    right: -5px !important;
    bottom: -3px !important;
    width: 6px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #1d2b46 !important;
    transform: rotate(45deg) !important;
  }

  .ref-search span {
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .ref-hero {
    position: relative !important;
    min-height: 103px !important;
    margin: 0 0 8px !important;
    padding: 15px 13px 14px !important;
    overflow: hidden !important;
    border: 1px solid #c8dbf7 !important;
    border-radius: 13px !important;
    background:
      radial-gradient(circle at 76% 42%, rgba(207, 226, 255, 0.86), transparent 82px),
      linear-gradient(135deg, #f4f9ff 0%, #e8f3ff 100%) !important;
    box-shadow: var(--ref-shadow) !important;
  }

  .ref-hero-copy {
    position: relative !important;
    z-index: 2 !important;
    width: 220px !important;
  }

  .ref-hero-copy p {
    margin: 0 0 8px !important;
    color: #244ba6 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .ref-hero-copy h2 {
    width: 158px !important;
    margin: 0 0 8px !important;
    color: #07152e !important;
    font-size: 21px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
  }

  .ref-hero-copy span {
    display: block !important;
    width: 196px !important;
    margin: 0 0 12px !important;
    color: #66748c !important;
    font-size: 9px !important;
    line-height: 1.42 !important;
  }

  .ref-primary-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 26px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #103389 0%, #244ea8 100%) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: 0 9px 18px rgba(28, 67, 155, 0.22) !important;
  }

  .ref-primary-button i {
    width: 13px !important;
    height: 13px !important;
    border-radius: 50% !important;
    background:
      radial-gradient(circle at 50% 10%, #fff 0 1px, transparent 2px),
      radial-gradient(circle at 20% 62%, #fff 0 1px, transparent 2px),
      radial-gradient(circle at 78% 64%, #fff 0 1px, transparent 2px) !important;
  }

  .ref-primary-button b {
    width: 6px !important;
    height: 6px !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
  }

  .ref-hero-visual {
    position: absolute !important;
    right: 11px !important;
    top: 13px !important;
    width: 152px !important;
    height: 84px !important;
  }

  .ref-orbit {
    position: absolute !important;
    right: 1px !important;
    bottom: 0 !important;
    width: 138px !important;
    height: 30px !important;
    border: 1px solid rgba(117, 154, 225, 0.24) !important;
    border-radius: 50% !important;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.76) 0%, rgba(206,226,255,0.7) 62%, rgba(119,160,242,0.2) 100%) !important;
  }

  .ref-visual-card {
    position: absolute !important;
    border: 1px solid rgba(184, 207, 247, 0.9) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: 0 9px 18px rgba(62, 103, 178, 0.12) !important;
  }

  .card-a { left: 31px !important; top: 0 !important; width: 63px !important; height: 56px !important; }
  .card-b { right: 26px !important; top: 10px !important; width: 62px !important; height: 34px !important; }
  .card-c { right: 13px !important; top: 50px !important; width: 66px !important; height: 28px !important; }
  .ref-visual-chip { position: absolute !important; display: grid !important; place-items: center !important; border-radius: 6px !important; color: #fff !important; font-size: 11px !important; font-weight: 900 !important; }
  .chip-a { right: 61px !important; top: 23px !important; width: 18px !important; height: 18px !important; background: #5e8df6 !important; }
  .chip-b { left: 36px !important; bottom: 28px !important; width: 26px !important; height: 16px !important; background: #f56fa2 !important; }
  .chip-c { right: 53px !important; bottom: 14px !important; width: 16px !important; height: 16px !important; background: #886dff !important; }

  .ref-scene-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 0 8px !important;
  }

  .ref-scene-card {
    position: relative !important;
    min-height: 90px !important;
    padding: 10px 8px 8px !important;
    overflow: hidden !important;
    text-align: left !important;
    border: 1px solid #d9e6f6 !important;
    border-radius: 12px !important;
    box-shadow: var(--ref-shadow) !important;
  }

  .ref-scene-ad { background: linear-gradient(180deg, #fff8fb 0%, #ffeef5 100%) !important; }
  .ref-scene-compare { background: linear-gradient(180deg, #fbfffe 0%, #edf9f5 100%) !important; }
  .ref-scene-chat { background: linear-gradient(180deg, #fbfdff 0%, #eef5ff 100%) !important; }

  .ref-scene-card span {
    display: inline-flex !important;
    align-items: center !important;
    height: 17px !important;
    margin: 0 0 8px !important;
    padding: 0 5px !important;
    border-radius: 5px !important;
    background: rgba(255,255,255,0.72) !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .ref-scene-ad span { color: #ef4778 !important; }
  .ref-scene-compare span { color: #26a987 !important; }
  .ref-scene-chat span { color: #2c6df2 !important; }

  .ref-scene-card strong {
    display: block !important;
    width: 82px !important;
    min-height: 27px !important;
    margin: 0 0 7px !important;
    color: #08172f !important;
    font-size: 11px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
  }

  .ref-scene-card small {
    display: block !important;
    width: 82px !important;
    color: #67768c !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
  }

  .ref-scene-card i {
    position: absolute !important;
    left: 13px !important;
    bottom: 13px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
  }

  .ref-scene-card i::after {
    content: "" !important;
    position: absolute !important;
    left: 7px !important;
    top: 6px !important;
    width: 6px !important;
    height: 6px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    transform: rotate(45deg) !important;
  }

  .ref-scene-ad i { background: linear-gradient(135deg, #ff7a9f, #e94878) !important; }
  .ref-scene-compare i { background: linear-gradient(135deg, #51cdb0, #20a17f) !important; }
  .ref-scene-chat i { background: linear-gradient(135deg, #5892ff, #2f70ee) !important; }

  .ref-scene-card em {
    position: absolute !important;
    right: 8px !important;
    bottom: 9px !important;
    width: 58px !important;
    height: 45px !important;
    border-radius: 12px !important;
    opacity: 0.92 !important;
    filter: drop-shadow(0 8px 10px rgba(60, 97, 151, 0.1)) !important;
  }

  .ref-scene-card em::before,
  .ref-scene-card em::after {
    content: "" !important;
    position: absolute !important;
    border-radius: 6px !important;
  }

  .ref-scene-ad em {
    background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,232,240,0.88)) !important;
  }

  .ref-scene-ad em::before {
    left: 9px !important;
    top: 9px !important;
    width: 22px !important;
    height: 3px !important;
    background: #ff9ab5 !important;
    box-shadow: 0 9px 0 #ffd0dd, 0 18px 0 #ffe0e8 !important;
  }

  .ref-scene-ad em::after {
    right: 8px !important;
    top: 15px !important;
    width: 15px !important;
    height: 15px !important;
    background: linear-gradient(135deg, #ff94b0, #f35d8a) !important;
    transform: rotate(45deg) !important;
  }

  .ref-scene-compare em {
    background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(225,248,241,0.9)) !important;
  }

  .ref-scene-compare em::before {
    left: 8px !important;
    top: 10px !important;
    width: 17px !important;
    height: 23px !important;
    border-radius: 8px 8px 4px 4px !important;
    background: radial-gradient(circle at 50% 26%, #65cdb2 0 6px, transparent 7px), linear-gradient(#9fe5d3, #63cbb0) !important;
  }

  .ref-scene-compare em::after {
    right: 8px !important;
    top: 10px !important;
    width: 17px !important;
    height: 23px !important;
    border-radius: 8px 8px 4px 4px !important;
    background: radial-gradient(circle at 50% 26%, #55bfa3 0 6px, transparent 7px), linear-gradient(#b3efe0, #6bd2b7) !important;
  }

  .ref-scene-chat em {
    background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(229,239,255,0.9)) !important;
  }

  .ref-scene-chat em::before {
    left: 9px !important;
    top: 9px !important;
    width: 29px !important;
    height: 23px !important;
    background: linear-gradient(#6f9dff, #6f9dff) left 7px top 7px / 16px 3px no-repeat, linear-gradient(#a9c3ff, #a9c3ff) left 7px top 14px / 22px 3px no-repeat, #eff5ff !important;
    box-shadow: 12px 8px 0 rgba(75, 121, 237, 0.32) !important;
  }

  .ref-scene-chat em::after {
    right: 6px !important;
    bottom: 8px !important;
    width: 16px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: #8fb0ff !important;
    box-shadow: -10px 0 0 #8fb0ff, 10px 0 0 #8fb0ff !important;
  }

  .ref-panel {
    border: 1px solid var(--ref-line) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: var(--ref-shadow) !important;
  }

  .ref-panel-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 0 10px !important;
  }

  .ref-panel-head h2 {
    margin: 0 !important;
    color: #0a1730 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .ref-panel-head button {
    background: transparent !important;
    color: #5d6d85 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .ref-title-inline {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .ref-title-inline span {
    display: inline-flex !important;
    align-items: center !important;
    height: 15px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #fff0f6 !important;
    color: #e94c7a !important;
    font-size: 8px !important;
    font-weight: 900 !important;
  }

  .ref-two-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    margin: 0 0 8px !important;
  }

  .ref-task-panel,
  .ref-progress-panel {
    min-width: 0 !important;
    min-height: 96px !important;
    padding: 10px 9px 8px !important;
  }

  .ref-task-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2px !important;
  }

  .ref-task-list div,
  .ref-task-list button {
    text-align: center !important;
  }

  .ref-task-list button {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  .ref-task-list i {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 auto 6px !important;
    border-radius: 50% !important;
  }

  .task-send { background: #f45b7c !important; }
  .task-done { background: #2db28e !important; }
  .task-review { background: #3c76ee !important; border-radius: 7px !important; }
  .task-draft { background: #3158cf !important; border-radius: 9px !important; }
  .ref-task-list span { display: block !important; color: #65748b !important; font-size: 8px !important; line-height: 1 !important; font-weight: 700 !important; }
  .ref-task-list strong { display: block !important; margin-top: 6px !important; color: #08172f !important; font-size: 12px !important; line-height: 1 !important; font-weight: 900 !important; }
  .ref-task-list em { display: block !important; margin-top: 5px !important; color: #ee416b !important; font-size: 8px !important; line-height: 1 !important; font-style: normal !important; font-weight: 900 !important; }

  .ref-progress-row {
    display: grid !important;
    grid-template-columns: 49px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 2px 0 7px !important;
  }

  .ref-progress-ring {
    --home-task-rate: 0%;
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    width: 49px !important;
    height: 49px !important;
    border-radius: 50% !important;
    background: conic-gradient(#3e79f6 var(--home-task-rate), #e8eef8 0) !important;
  }

  .ref-progress-ring::before {
    content: "" !important;
    position: absolute !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    background: #fff !important;
  }

  .ref-progress-ring strong,
  .ref-progress-ring span {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    text-align: center !important;
  }

  .ref-progress-ring strong { color: #07152e !important; font-size: 11px !important; line-height: 1 !important; font-weight: 900 !important; }
  .ref-progress-ring span { margin-top: 3px !important; color: #60708b !important; font-size: 7px !important; line-height: 1 !important; font-weight: 700 !important; }
  .ref-progress-info strong { display: block !important; color: #12203a !important; font-size: 10px !important; line-height: 1.25 !important; font-weight: 900 !important; }
  .ref-progress-info p { margin: 6px 0 7px !important; color: #64748b !important; font-size: 8px !important; line-height: 1.2 !important; font-weight: 700 !important; }
  .ref-progress-bar { display: block !important; height: 5px !important; border-radius: 999px !important; background: #e5ecf7 !important; overflow: hidden !important; }
  .ref-progress-bar b { display: block !important; width: 0%; height: 100% !important; border-radius: inherit !important; background: #3e79f6 !important; }

  .ref-progress-button {
    display: block !important;
    width: 100% !important;
    height: 20px !important;
    padding: 0 !important;
    border-radius: 5px !important;
    background: #edf3fc !important;
    color: #173d94 !important;
    font-size: 9px !important;
    line-height: 20px !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .ref-news-panel,
  .ref-material-panel {
    margin: 0 0 8px !important;
    padding: 10px 9px !important;
  }

  .ref-news-summary {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 9px !important;
    padding: 8px !important;
    border: 1px solid #dce8fb !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f6fbff 0%, #eef6ff 100%) !important;
  }

  .ref-news-summary span {
    display: inline-grid !important;
    place-items: center !important;
    min-width: 48px !important;
    height: 22px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: #2f6df3 !important;
    color: #fff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
  }

  .ref-news-summary p {
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #4d5f7a !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .ref-news-list {
    display: grid !important;
    gap: 7px !important;
  }

  .ref-news-card {
    position: relative !important;
    display: grid !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 9px 42px 9px 10px !important;
    overflow: hidden !important;
    border: 1px solid #e1eaf7 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 16px rgba(35, 74, 132, 0.06) !important;
  }

  .ref-news-card::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    width: 3px !important;
    height: 26px !important;
    border-radius: 0 999px 999px 0 !important;
    background: #2f6df3 !important;
  }

  .ref-news-card span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #2f6df3 !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ref-news-card strong {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #0a1730 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 950 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ref-news-card p {
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #65748b !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .ref-news-card a {
    position: absolute !important;
    right: 9px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #eef5ff !important;
    color: #245ccb !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }

  .ref-news-card a::before {
    content: "" !important;
    width: 13px !important;
    height: 13px !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  .ref-news-card.is-empty,
  .ref-news-card.is-loading {
    padding-right: 10px !important;
    background: #f8fbff !important;
  }

  .ref-material-strip {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(58px, 1fr) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
  }

  .ref-material-strip::-webkit-scrollbar {
    display: none !important;
  }

  .ref-material-strip button {
    position: relative !important;
    display: block !important;
    width: auto !important;
    height: 57px !important;
    min-height: 57px !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    text-align: left !important;
    background: #dce7f5 !important;
    box-shadow: inset 0 -32px 26px rgba(30, 41, 69, 0.28) !important;
  }

  .ref-material-strip img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
  }

  .ref-material-strip span,
  .ref-material-strip small {
    position: absolute !important;
    left: 5px !important;
    z-index: 1 !important;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(12,20,39,0.26) !important;
  }

  .ref-material-strip span { bottom: 18px !important; max-width: 52px !important; font-size: 9px !important; line-height: 1.1 !important; font-weight: 900 !important; }
  .ref-material-strip small { bottom: 7px !important; font-size: 8px !important; line-height: 1 !important; font-weight: 800 !important; }
  .ref-material-strip i { position: absolute !important; right: 5px !important; top: 5px !important; z-index: 1 !important; width: 16px !important; height: 16px !important; border-radius: 50% !important; background: rgba(44,54,76,0.36) !important; }

  .ref-bottom-nav {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    z-index: 30 !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    width: min(364px, calc(100vw - 26px)) !important;
    height: calc(56px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    padding: 6px 10px calc(5px + env(safe-area-inset-bottom)) !important;
    border: 1px solid #dce7f6 !important;
    border-bottom: 0 !important;
    border-radius: 13px 13px 0 0 !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 -6px 18px rgba(30,64,114,0.08) !important;
    transform: translateX(-50%) !important;
  }

  .ref-bottom-nav button {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    height: 44px !important;
    background: transparent !important;
    color: #58657a !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .ref-bottom-nav i {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    border-radius: 8px !important;
    background: currentColor !important;
  }

  .ref-bottom-nav button.active {
    color: #0c2e79 !important;
    font-weight: 900 !important;
  }
}

/* desktop create page full width - 2026-05-22 */
@media (min-width: 981px) {
  body[data-current-view="create"] #createView {
    width: 100% !important;
    max-width: none !important;
  }

  body[data-current-view="create"] #createView .workspace-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body[data-current-view="create"] #createView .form-panel,
  body[data-current-view="create"] #createView .result-panel {
    width: 100% !important;
    max-width: none !important;
    padding: 34px !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body[data-current-view="create"] #createView .category-card {
    min-height: 238px !important;
    padding: 34px 34px 30px !important;
    border-radius: 8px !important;
  }

  body[data-current-view="create"] #createView .category-card::before {
    right: 24px !important;
    top: 24px !important;
    width: 76px !important;
    height: 76px !important;
    border-radius: 8px !important;
  }

  body[data-current-view="create"] #createView .category-card::after {
    width: 190px !important;
    height: 140px !important;
  }

  body[data-current-view="create"] #createView .category-card strong {
    font-size: 31px !important;
    line-height: 1.18 !important;
  }

  body[data-current-view="create"] #createView .category-card span {
    font-size: 17px !important;
    line-height: 1.45 !important;
  }

  body[data-current-view="create"] #createView .form-stack {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: start !important;
    width: 100% !important;
  }

  body[data-current-view="create"] #createView .category-tabs,
  body[data-current-view="create"] #createView .advanced-create-fields,
  body[data-current-view="create"] #createView .form-actions,
  body[data-current-view="create"] #createView .extra-text-field,
  body[data-current-view="create"] #createView .chat-effect-image-field {
    grid-column: 1 / -1 !important;
  }

  body[data-current-view="create"] #createView .field-group {
    display: contents !important;
  }

  body[data-current-view="create"] #createView .advanced-create-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  body[data-current-view="create"] #createView label,
  body[data-current-view="create"] #createView input,
  body[data-current-view="create"] #createView select,
  body[data-current-view="create"] #createView textarea {
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-current-view="create"] #createView .form-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

/* 2026-06-01 final: home function section three modules */
body[data-current-view="home"] .desktop-scene-grid,
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

body[data-current-view="home"] .desktop-scene-card,
body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: grid !important;
  align-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 112px !important;
  padding: 18px !important;
  gap: 4px 12px !important;
  overflow: hidden !important;
  border: 1px solid #d8e2ef !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%) !important;
  box-shadow: 0 8px 20px rgba(39, 59, 92, 0.06) !important;
  color: #132033 !important;
  text-align: left !important;
  transform: none !important;
  cursor: pointer !important;
}

body[data-current-view="home"] .desktop-scene-card {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon label"
    "icon title"
    "icon desc" !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon title"
    "icon desc" !important;
}

body[data-current-view="home"] .desktop-scene-card::before,
body[data-current-view="home"] .desktop-scene-card::after,
body[data-current-view="home"] .ref-scene-card::before,
body[data-current-view="home"] .ref-scene-card::after,
body[data-current-view="home"] .ref-scene-card + .ref-scene-card::before {
  display: none !important;
  content: none !important;
}

body[data-current-view="home"] .desktop-scene-card i,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card .module-icon {
  grid-area: icon !important;
  position: static !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  margin: 0 !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 8px !important;
  background: #eef4fb !important;
  color: #315d8f !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transform: none !important;
}

body[data-current-view="home"] .desktop-scene-card i::after,
body[data-current-view="home"] .ref-scene-card i::before,
body[data-current-view="home"] .ref-scene-card i::after {
  display: none !important;
  content: none !important;
}

body[data-current-view="home"] .desktop-scene-card.scene-ad i::before {
  content: "AD" !important;
}

body[data-current-view="home"] .desktop-scene-card.scene-compare i::before {
  content: "VS" !important;
}

body[data-current-view="home"] .desktop-scene-card.scene-chat i::before {
  content: "WX" !important;
}

body[data-current-view="home"] .desktop-scene-card span {
  grid-area: label !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #315d8f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .desktop-scene-card h3,
body[data-current-view="home"] .ref-scene-card span {
  grid-area: title !important;
  position: static !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #132033 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .desktop-scene-card p,
body[data-current-view="home"] .ref-scene-card strong {
  grid-area: desc !important;
  position: static !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #637187 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .desktop-scene-card strong,
body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card small {
  display: none !important;
}

body[data-current-view="home"] .desktop-scene-card:hover,
body[data-current-view="home"] .ref-scene-card:hover {
  border-color: #9fb4d2 !important;
  background: #ffffff !important;
  box-shadow: 0 12px 24px rgba(39, 59, 92, 0.09) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 980px) {
  body[data-current-view="home"] .desktop-scene-grid,
  body[data-current-view="home"] .ref-scene-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body[data-current-view="home"] .desktop-scene-card,
  body[data-current-view="home"] .ref-scene-card,
  body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
  body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
  body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
    min-height: 90px !important;
    padding: 14px !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 3px 10px !important;
  }

  body[data-current-view="home"] .desktop-scene-card i,
  body[data-current-view="home"] .ref-scene-card i,
  body[data-current-view="home"] .ref-scene-card .module-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body[data-current-view="home"] .desktop-scene-card h3,
  body[data-current-view="home"] .ref-scene-card span {
    font-size: 16px !important;
  }

  body[data-current-view="home"] .desktop-scene-card p,
  body[data-current-view="home"] .ref-scene-card strong {
    font-size: 12px !important;
  }
}

/* 2026-06-01 final: create page module layout and remarks */
body[data-current-view="create"] #createView .form-stack {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
  width: 100% !important;
}

body[data-current-view="create"] #createView .category-tabs {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  overflow: visible !important;
}

body[data-current-view="create"] #createView .category-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon title"
    "icon desc" !important;
  align-content: center !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 88px !important;
  padding: 14px !important;
  gap: 4px 12px !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  text-align: left !important;
  box-shadow: 0 8px 20px rgba(33, 65, 112, 0.06) !important;
  overflow: hidden !important;
}

body[data-current-view="create"] #createView .category-card::before,
body[data-current-view="create"] #createView .category-card::after {
  display: none !important;
  content: none !important;
}

body[data-current-view="create"] #createView .category-card .module-icon {
  grid-area: icon !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 8px !important;
  background: #eef5ff !important;
  color: #315d8f !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body[data-current-view="create"] #createView .category-card strong {
  grid-area: title !important;
  position: static !important;
  z-index: 1 !important;
  margin: 0 !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="create"] #createView .category-card span,
body[data-current-view="create"] #createView .category-card .category-intro {
  grid-area: desc !important;
  position: static !important;
  z-index: 1 !important;
  margin: 0 !important;
  color: #667085 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="create"] #createView .category-card.active {
  border-color: #4078ff !important;
  background: #f7fbff !important;
  box-shadow: 0 12px 26px rgba(64, 120, 255, 0.12) !important;
}

body[data-current-view="create"] #createView .project-name-field,
body[data-current-view="create"] #createView .advanced-create-fields,
body[data-current-view="create"] #createView .extra-text-field,
body[data-current-view="create"] #createView .chat-effect-image-field,
body[data-current-view="create"] #createView .form-actions {
  grid-column: 1 / -1 !important;
}

body[data-current-view="create"] #createView .field-group,
body[data-current-view="create"] #createView .advanced-create-grid {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
  width: 100% !important;
}

body[data-current-view="create"] #createView .project-field,
body[data-current-view="create"] #createView .comparison-field,
body[data-current-view="create"] #createView .watermark-field,
body[data-current-view="create"] #createView .upload-effect-field {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
}

body[data-current-view="create"] #createView label,
body[data-current-view="create"] #createView input,
body[data-current-view="create"] #createView select,
body[data-current-view="create"] #createView textarea,
body[data-current-view="create"] #createView .choice-picker,
body[data-current-view="create"] #createView .choice-picker-compact {
  min-width: 0 !important;
  width: 100% !important;
}

body[data-current-view="create"] #createView .extra-text-field {
  display: grid !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

body[data-current-view="create"] #createView #extraText {
  min-height: 240px !important;
  height: 240px !important;
  resize: vertical !important;
}

body[data-current-view="create"] #createView #desiredEffect {
  min-height: 132px !important;
}

@media (max-width: 980px) {
  body[data-current-view="create"] #createView .form-stack,
  body[data-current-view="create"] #createView .category-tabs,
  body[data-current-view="create"] #createView .field-group,
  body[data-current-view="create"] #createView .advanced-create-grid,
  body[data-current-view="create"] #createView .project-field,
  body[data-current-view="create"] #createView .comparison-field,
  body[data-current-view="create"] #createView .watermark-field,
  body[data-current-view="create"] #createView .upload-effect-field {
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="create"] #createView .category-card {
    min-height: 78px !important;
    padding: 13px !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 3px 10px !important;
  }

  body[data-current-view="create"] #createView .category-card .module-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  body[data-current-view="create"] #createView .category-card strong {
    font-size: 16px !important;
  }

  body[data-current-view="create"] #createView #extraText {
    min-height: 190px !important;
    height: 190px !important;
  }
}

/* 2026-06-01 final: real clickable home assets */
body[data-current-view="home"] .desktop-tabs,
body[data-current-view="home"] .ref-material-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

body[data-current-view="home"] .desktop-tabs button,
body[data-current-view="home"] .ref-material-tabs button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  padding: 6px 10px !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  color: #315d8f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body[data-current-view="home"] .desktop-tabs button.active,
body[data-current-view="home"] .ref-material-tabs button.active {
  border-color: #9fb4d2 !important;
  background: #eef4fb !important;
  color: #132033 !important;
}

body[data-current-view="home"] .desktop-tabs button small,
body[data-current-view="home"] .ref-material-tabs button small {
  min-width: 18px !important;
  padding: 3px 5px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #637187 !important;
  text-align: center !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

body[data-current-view="home"] .desktop-material-strip button,
body[data-current-view="home"] .ref-material-strip button {
  cursor: pointer !important;
}

body[data-current-view="home"] .desktop-material-strip button:hover,
body[data-current-view="home"] .ref-material-strip button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 22px rgba(39, 59, 92, 0.10) !important;
}

@media (max-width: 980px) {
  body[data-current-view="home"] .ref-material-tabs {
    margin: 0 0 10px !important;
  }

  body[data-current-view="home"] .ref-material-tabs button {
    min-height: 28px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
  }
}

/* 2026-06-01 final: watermark manage actions */
body[data-current-view="assets"] .watermark-asset-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}

body[data-current-view="assets"] .watermark-asset-actions button {
  width: 100% !important;
  min-height: 42px !important;
}

@media (max-width: 720px) {
  body[data-current-view="assets"] .watermark-asset-actions {
    grid-template-columns: 1fr !important;
  }
}

/* desktop home clean viewport - 2026-05-22 */
@media (min-width: 981px) {
  body[data-current-view="home"] {
    overflow-x: hidden !important;
    background: #f6f9ff !important;
  }

  body[data-current-view="home"] .main,
  body[data-current-view="home"] #homeView,
  body[data-current-view="home"] #homeView.active,
  body[data-current-view="home"] .ref-home {
    min-height: 100vh !important;
    max-width: none !important;
    overflow: visible !important;
    background: #f6f9ff !important;
  }

  body[data-current-view="home"] .desktop-dashboard {
    display: block !important;
    min-height: 100vh !important;
    padding: 0 42px 36px !important;
    overflow: visible !important;
  }

  body[data-current-view="home"] .desktop-dashboard-grid {
    display: grid !important;
  }

  body[data-current-view="home"] .desktop-shell-top {
    margin-bottom: 24px !important;
  }

  body[data-current-view="home"] .desktop-hero {
    min-height: 230px !important;
    margin: 0 0 28px !important;
    padding: 38px 44px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  body[data-current-view="home"] .desktop-hero h2 {
    font-size: 42px !important;
    line-height: 1.12 !important;
  }

  body[data-current-view="home"] .desktop-scene-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    margin: 0 !important;
  }

  body[data-current-view="home"] .desktop-scene-card {
    min-height: 160px !important;
    padding: 22px 24px !important;
    grid-template-columns: minmax(0, 1fr) 150px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  body[data-current-view="home"] .desktop-scene-card h3 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body[data-current-view="home"] .desktop-scene-card p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  body[data-current-view="home"] .desktop-scene-card i {
    width: 150px !important;
    height: 116px !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 720px) {
  body[data-current-view="home"] .ref-greeting h2 {
    letter-spacing: 0 !important;
  }

  body[data-current-view="home"] .ref-scene-card {
    min-height: 104px !important;
    padding: 10px 38px 8px 8px !important;
    border-color: rgba(216, 229, 246, 0.92) !important;
    isolation: isolate !important;
  }

  body[data-current-view="home"] .ref-scene-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;
    background:
      radial-gradient(circle at 88% 76%, var(--scene-glow, rgba(255,255,255,0.8)) 0 34px, transparent 35px),
      linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.08)) !important;
  }

  body[data-current-view="home"] .ref-scene-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.02)) !important;
  }

  body[data-current-view="home"] .ref-scene-ad {
    --scene-glow: rgba(255, 160, 190, 0.36);
    background: linear-gradient(180deg, #fff5f8 0%, #ffe7f0 100%) !important;
  }

  body[data-current-view="home"] .ref-scene-compare {
    --scene-glow: rgba(88, 204, 176, 0.3);
    background: linear-gradient(180deg, #f5fffb 0%, #e2f7ef 100%) !important;
  }

  body[data-current-view="home"] .ref-scene-chat {
    --scene-glow: rgba(91, 139, 255, 0.28);
    background: linear-gradient(180deg, #f7fbff 0%, #e7f0ff 100%) !important;
  }

  body[data-current-view="home"] .ref-scene-card span,
  body[data-current-view="home"] .ref-scene-card strong,
  body[data-current-view="home"] .ref-scene-card small,
  body[data-current-view="home"] .ref-scene-card i {
    position: relative !important;
    z-index: 1 !important;
  }

  body[data-current-view="home"] .ref-scene-card span {
    background: rgba(255,255,255,0.72) !important;
    box-shadow: 0 4px 10px rgba(45, 76, 119, 0.06) !important;
  }

  body[data-current-view="home"] .ref-scene-card strong {
    width: min(70px, 100%) !important;
    text-shadow: none !important;
  }

  body[data-current-view="home"] .ref-scene-card small {
    width: min(70px, 100%) !important;
    color: #4f5f75 !important;
    text-shadow: none !important;
  }

  body[data-current-view="home"] .ref-scene-card i {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: 9px !important;
    top: 50% !important;
    bottom: auto !important;
    width: 28px !important;
    height: 28px !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 8px 15px rgba(35, 69, 124, 0.18) !important;
  }

  body[data-current-view="home"] .ref-scene-card i::after {
    left: 9px !important;
    top: 8px !important;
    width: 8px !important;
    height: 8px !important;
    border-top-width: 2.5px !important;
    border-right-width: 2.5px !important;
  }

  body[data-current-view="home"] .ref-scene-card em {
    right: -16px !important;
    bottom: -11px !important;
    width: 68px !important;
    height: 54px !important;
    border-radius: 17px !important;
    opacity: 0.58 !important;
    transform: rotate(-4deg) !important;
    filter: none !important;
  }

  .ref-bottom-nav i,

  .ref-bottom-nav button,

  .ref-bottom-nav button.active,

  .ref-bottom-nav i.home,

  .ref-bottom-nav i.create,

  .ref-bottom-nav i.works,

  .ref-bottom-nav i.tasks,

  .ref-bottom-nav i.mine,
}

@media (min-width: 721px) {
  .ref-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 720px) {
  body[data-current-view="home"] .ref-panel,
  body[data-current-view="home"] .ref-task-panel,
  body[data-current-view="home"] .ref-progress-panel,
  body[data-current-view="home"] .ref-news-panel,
  body[data-current-view="home"] .ref-material-panel {
    border-radius: 18px !important;
    background-image: none !important;
  }
}

@media (max-width: 720px) {
  body:not([data-current-view="home"]) {
    margin: 0 !important;
    overflow-x: hidden !important;
    background: #f6fbff !important;
    color: #08172f !important;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif !important;
    letter-spacing: 0 !important;
  }

  body:not([data-current-view="home"]) *,
  body:not([data-current-view="home"]) *::before,
  body:not([data-current-view="home"]) *::after {
    box-sizing: border-box !important;
    letter-spacing: 0 !important;
  }

  body:not([data-current-view="home"]) .topbar,
  body:not([data-current-view="home"]) .brand-mark-DISABLED,
  body:not([data-current-view="home"]) .system-card {
    display: none !important;
  }

  body:not([data-current-view="home"]) .app-shell,
  body:not([data-current-view="home"]) .main {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #f6fbff !important;
  }


  body:not([data-current-view="home"]) .nav-list-DISABLED {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 6px 10px 5px !important;
    overflow: hidden !important;
    border: 1px solid #dce7f6 !important;
    border-bottom: 0 !important;
    border-radius: 13px 13px 0 0 !important;
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 -6px 18px rgba(30,64,114,0.08) !important;
  }





  body:not([data-current-view="home"]) .view {
    display: none !important;
  }

  body:not([data-current-view="home"]) .view.active {
    display: block !important;
    width: 100% !important;
    max-width: 390px !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    padding: 0 13px calc(74px + env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
    background:
      radial-gradient(circle at 70px 88px, rgba(223, 239, 255, 0.7), transparent 112px),
      linear-gradient(180deg, #fbfdff 0%, #f6faff 100%) !important;
  }

  body:not([data-current-view="home"]) .section-close-bar {
    display: flex !important;
    align-items: center !important;
    height: 45px !important;
    margin: 0 -13px 14px !important;
    padding: 0 13px !important;
    border-bottom: 1px solid #dbe7f6 !important;
    background: rgba(255,255,255,0.94) !important;
  }

  body:not([data-current-view="home"]) .section-exit-title {
    appearance: none !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 0 0 17px !important;
    border: 0 !important;
    background: transparent !important;
    color: #08172f !important;
    font: inherit !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .section-exit-title::before {
    content: "" !important;
    position: absolute !important;
    left: 2px !important;
    width: 8px !important;
    height: 8px !important;
    border-left: 2px solid #1c2940 !important;
    border-bottom: 2px solid #1c2940 !important;
    transform: rotate(45deg) !important;
  }

  body:not([data-current-view="home"]) .workspace-grid,
  body:not([data-current-view="home"]) .workspace-grid.slim {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
  }

  body:not([data-current-view="home"]) .panel,
  body:not([data-current-view="home"]) .form-panel,
  body:not([data-current-view="home"]) .result-panel,
  body:not([data-current-view="home"]) .work-management-panel,
  body:not([data-current-view="home"]) .task-management-panel,
  body:not([data-current-view="home"]) .asset-upload-panel,
  body:not([data-current-view="home"]) .asset-framework-panel,
  body:not([data-current-view="home"]) .manual-panel {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    border: 1px solid #d6e5f8 !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 10px 24px rgba(48, 88, 145, 0.08) !important;
  }

  body:not([data-current-view="home"]) .panel-heading {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body:not([data-current-view="home"]) .panel-heading h2,
  body:not([data-current-view="home"]) .manual-copy h3,
  body:not([data-current-view="home"]) .asset-section-head h3,
  body:not([data-current-view="home"]) .work-param-section h3,
  body:not([data-current-view="home"]) .work-video-section h3 {
    margin: 0 !important;
    color: #0a1730 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .panel-heading span,
  body:not([data-current-view="home"]) .panel-heading p,
  body:not([data-current-view="home"]) .card-meta,
  body:not([data-current-view="home"]) .material-search-tip,
  body:not([data-current-view="home"]) .preview-lock-hint,
  body:not([data-current-view="home"]) .asset-section-head p,
  body:not([data-current-view="home"]) .manual-copy p,
  body:not([data-current-view="home"]) .manual-copy li,
  body:not([data-current-view="home"]) .manual-copy dd {
    color: #64748b !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
  }

  body:not([data-current-view="home"]) .heading-actions,
  body:not([data-current-view="home"]) .form-actions,
  body:not([data-current-view="home"]) .material-search-actions,
  body:not([data-current-view="home"]) .card-actions,
  body:not([data-current-view="home"]) .task-row-actions,
  body:not([data-current-view="home"]) .flow-state-actions,
  body:not([data-current-view="home"]) .asset-rename-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
  }

  body:not([data-current-view="home"]) button,
  body:not([data-current-view="home"]) input,
  body:not([data-current-view="home"]) select,
  body:not([data-current-view="home"]) textarea,
  body:not([data-current-view="home"]) a {
    font-family: inherit !important;
  }

  body:not([data-current-view="home"]) label {
    display: grid !important;
    gap: 6px !important;
    min-width: 0 !important;
    color: #17243a !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
  }

  body:not([data-current-view="home"]) label > span,
  body:not([data-current-view="home"]) .advanced-create-title {
    color: #17243a !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) input:not([type="checkbox"]):not([type="file"]),
  body:not([data-current-view="home"]) select,
  body:not([data-current-view="home"]) textarea {
    appearance: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 37px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 8px !important;
    outline: 0 !important;
    background: #f9fbff !important;
    color: #10203a !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85) !important;
  }

  body:not([data-current-view="home"]) textarea {
    min-height: 76px !important;
    padding-top: 10px !important;
    resize: vertical !important;
  }

  body:not([data-current-view="home"]) input[type="file"] {
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px !important;
    border: 1px dashed #c9d9ee !important;
    border-radius: 10px !important;
    background: #f9fbff !important;
    color: #5f6f8b !important;
    font-size: 10px !important;
  }

  body:not([data-current-view="home"]) .form-stack,
  body:not([data-current-view="home"]) .advanced-create-grid {
    display: grid !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .field-group,
  body:not([data-current-view="home"]) .two-col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .hidden-field {
    display: none !important;
  }

  body:not([data-current-view="home"]) .category-tabs,
  body:not([data-current-view="home"]) .filter-tabs {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding: 0 0 2px !important;
    scrollbar-width: none !important;
  }

  body:not([data-current-view="home"]) .category-tabs::-webkit-scrollbar,
  body:not([data-current-view="home"]) .filter-tabs::-webkit-scrollbar {
    display: none !important;
  }

  body:not([data-current-view="home"]) .category-card {
    appearance: none !important;
    flex: 0 0 112px !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 10px 9px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 12px !important;
    background: #f9fbff !important;
    color: #0a1730 !important;
    text-align: left !important;
    box-shadow: 0 6px 16px rgba(48,88,145,0.06) !important;
  }

  body:not([data-current-view="home"]) .category-card strong {
    display: block !important;
    margin: 0 0 7px !important;
    color: inherit !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .category-card span {
    display: block !important;
    color: #64748b !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }

  body:not([data-current-view="home"]) .category-card.active,
  body:not([data-current-view="home"]) .filter-chip.active {
    border-color: #8eb0f7 !important;
    background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%) !important;
    color: #2250b5 !important;
    box-shadow: 0 8px 18px rgba(47,109,243,0.12) !important;
  }

  body:not([data-current-view="home"]) .filter-chip {
    appearance: none !important;
    flex: 0 0 auto !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 999px !important;
    background: #f9fbff !important;
    color: #5f6f8b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .primary-button,
  body:not([data-current-view="home"]) .secondary-button,
  body:not([data-current-view="home"]) .danger-button,
  body:not([data-current-view="home"]) .download-link,
  body:not([data-current-view="home"]) .material-source-link {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .primary-button {
    border: 0 !important;
    background: linear-gradient(135deg, #f875a1 0%, #e64d7a 100%) !important;
    color: #fff !important;
    box-shadow: 0 9px 18px rgba(231,76,122,0.2) !important;
  }

  body[data-create-category="real_comparison"]:not([data-current-view="home"]) .primary-button {
    background: linear-gradient(135deg, #55cda9 0%, #24a67f 100%) !important;
    box-shadow: 0 9px 18px rgba(36,166,127,0.2) !important;
  }

  body[data-create-category="chat_feedback"]:not([data-current-view="home"]) .primary-button {
    background: linear-gradient(135deg, #5b8df6 0%, #2f6df3 100%) !important;
    box-shadow: 0 9px 18px rgba(47,109,243,0.2) !important;
  }

  body:not([data-current-view="home"]) .secondary-button,
  body:not([data-current-view="home"]) .download-link,
  body:not([data-current-view="home"]) .material-source-link {
    border: 1px solid #dce7f6 !important;
    background: #fff !important;
    color: #34506f !important;
  }

  body:not([data-current-view="home"]) .danger-button {
    border: 1px solid #ffd3de !important;
    background: #fff5f8 !important;
    color: #e54873 !important;
  }

  body:not([data-current-view="home"]) .primary-button:disabled,
  body:not([data-current-view="home"]) .secondary-button:disabled,
  body:not([data-current-view="home"]) .danger-button:disabled {
    opacity: 0.55 !important;
    box-shadow: none !important;
  }

  body:not([data-current-view="home"]) .list-toolbar {
    margin: 0 0 12px !important;
  }

  body:not([data-current-view="home"]) .works-grid,
  body:not([data-current-view="home"]) .task-list,
  body:not([data-current-view="home"]) .asset-grid,
  body:not([data-current-view="home"]) .asset-subgrid,
  body:not([data-current-view="home"]) .preview-grid,
  body:not([data-current-view="home"]) .admin-stat-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .work-card,
  body:not([data-current-view="home"]) .task-row,
  body:not([data-current-view="home"]) .asset-card,
  body:not([data-current-view="home"]) .preview-card,
  body:not([data-current-view="home"]) .asset-section,
  body:not([data-current-view="home"]) .account-panel,
  body:not([data-current-view="home"]) .manual-section,
  body:not([data-current-view="home"]) .backend-preview-box,
  body:not([data-current-view="home"]) .empty-state,
  body:not([data-current-view="home"]) .flow-state-card {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow: hidden !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 12px !important;
    background: #f9fbff !important;
    box-shadow: 0 6px 16px rgba(48,88,145,0.06) !important;
  }

  body:not([data-current-view="home"]) .work-card,
  body:not([data-current-view="home"]) .asset-card,
  body:not([data-current-view="home"]) .preview-card {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
  }

  body:not([data-current-view="home"]) .work-card > img,
  body:not([data-current-view="home"]) .asset-card > img,
  body:not([data-current-view="home"]) .preview-card > img,
  body:not([data-current-view="home"]) .preview-card > video {
    display: block !important;
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    object-fit: cover !important;
    border-radius: 9px !important;
    background: #eaf2fb !important;
  }

  body:not([data-current-view="home"]) .card-body {
    display: grid !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  body:not([data-current-view="home"]) .card-title,
  body:not([data-current-view="home"]) .asset-title-button {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #0a1730 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    text-align: left !important;
  }

  body:not([data-current-view="home"]) .status-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    min-height: 20px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: #edf3fc !important;
    color: #3159c8 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .status-pill.ok {
    background: #eafbf5 !important;
    color: #18a47d !important;
  }

  body:not([data-current-view="home"]) .status-pill.warn,
  body:not([data-current-view="home"]) .error-line {
    background: #fff5f8 !important;
    color: #e54873 !important;
  }

  body:not([data-current-view="home"]) .error-line {
    padding: 7px 8px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
  }

  body:not([data-current-view="home"]) .select-check {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    display: block !important;
    z-index: 2 !important;
  }

  body:not([data-current-view="home"]) .select-check input {
    width: 17px !important;
    height: 17px !important;
    accent-color: #2f6df3 !important;
  }

  body:not([data-current-view="home"]) .work-param-list,
  body:not([data-current-view="home"]) .preview-summary {
    display: grid !important;
    gap: 6px !important;
  }

  body:not([data-current-view="home"]) .work-param-list div,
  body:not([data-current-view="home"]) .preview-summary div,
  body:not([data-current-view="home"]) .task-note {
    display: grid !important;
    gap: 3px !important;
    padding: 7px 8px !important;
    border-radius: 8px !important;
    background: #fff !important;
  }

  body:not([data-current-view="home"]) .work-param-list span,
  body:not([data-current-view="home"]) .preview-summary span,
  body:not([data-current-view="home"]) .task-note span {
    color: #7a879a !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }

  body:not([data-current-view="home"]) .work-param-list strong,
  body:not([data-current-view="home"]) .preview-summary strong,
  body:not([data-current-view="home"]) .task-note strong {
    color: #10203a !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
  }

  body:not([data-current-view="home"]) .task-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: start !important;
  }

  body:not([data-current-view="home"]) .task-row-actions {
    justify-content: flex-end !important;
    max-width: 96px !important;
  }

  body:not([data-current-view="home"]) .task-row-actions .primary-button,
  body:not([data-current-view="home"]) .task-row-actions .secondary-button,
  body:not([data-current-view="home"]) .task-row-actions .danger-button {
    min-height: 28px !important;
    padding: 0 10px !important;
  }

  body:not([data-current-view="home"]) .preview-progress-track {
    height: 5px !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #e5ecf7 !important;
  }

  body:not([data-current-view="home"]) #previewProgressFill {
    height: 100% !important;
    width: 0% !important;
    border-radius: inherit !important;
    background: #3e79f6 !important;
  }

  body:not([data-current-view="home"]) .poster-preview-area,
  body:not([data-current-view="home"]) .poster-preview-empty {
    min-height: 190px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px dashed #c9d9ee !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%) !important;
    color: #64748b !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  body:not([data-current-view="home"]) .poster-preview-card {
    width: 100% !important;
    min-height: 210px !important;
    padding: 10px !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  body:not([data-current-view="home"]) .poster-preview-top,
  body:not([data-current-view="home"]) .poster-preview-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  body:not([data-current-view="home"]) .poster-preview-frame {
    position: relative !important;
    min-height: 155px !important;
    margin-top: 10px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%) !important;
  }

  body:not([data-current-view="home"]) .asset-search-card,
  body:not([data-current-view="home"]) #assetForm,
  body:not([data-current-view="home"]) #brandForm,
  body:not([data-current-view="home"]) #customerServiceAvatarForm,
  body:not([data-current-view="home"]) #activationForm,
  body:not([data-current-view="home"]) #adminCodeForm,
  body:not([data-current-view="home"]) #adminSiteMessageForm {
    display: grid !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .material-search-results {
    display: grid !important;
    gap: 9px !important;
    margin: 10px 0 !important;
  }

  body:not([data-current-view="home"]) .material-search-result-card {
    display: grid !important;
    grid-template-columns: 66px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 9px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 12px !important;
    background: #f9fbff !important;
  }

  body:not([data-current-view="home"]) .material-search-result-card img {
    width: 66px !important;
    height: 66px !important;
    border-radius: 9px !important;
    object-fit: cover !important;
  }

  body:not([data-current-view="home"]) .material-search-result-actions {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }

  body:not([data-current-view="home"]) .asset-section-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  body:not([data-current-view="home"]) .asset-section-head span {
    flex: 0 0 auto !important;
    color: #2f6df3 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .asset-framework,
  body:not([data-current-view="home"]) .copy-box {
    padding: 8px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #64748b !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
  }

  body:not([data-current-view="home"]) .mine-mobile-account-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    padding: 10px !important;
    border: 1px solid #d6e5f8 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(48,88,145,0.08) !important;
  }

  body:not([data-current-view="home"]) .mine-mobile-account-actions span {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #10203a !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .flow-state-card strong {
    display: block !important;
    color: #0a1730 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .flow-state-card p {
    display: block !important;
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
  }

  body:not([data-current-view="home"]) .auth-message {
    min-height: 0 !important;
    margin: 0 0 10px !important;
    color: #e54873 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
  }

  body:not([data-current-view="home"]) .manual-toc {
    display: flex !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  body:not([data-current-view="home"]) .manual-toc::-webkit-scrollbar {
    display: none !important;
  }

  body:not([data-current-view="home"]) .manual-toc a {
    flex: 0 0 auto !important;
    height: 27px !important;
    padding: 0 10px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 999px !important;
    background: #f9fbff !important;
    color: #5f6f8b !important;
    font-size: 10px !important;
    line-height: 27px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
  }

  body:not([data-current-view="home"]) .manual-section {
    display: grid !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  body:not([data-current-view="home"]) .manual-copy ol,
  body:not([data-current-view="home"]) .manual-copy ul,
  body:not([data-current-view="home"]) .manual-copy dl {
    margin: 8px 0 0 !important;
    padding-left: 18px !important;
  }

  body:not([data-current-view="home"]) .manual-section figure {
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not([data-current-view="home"]) .manual-section img {
    display: block !important;
    width: 100% !important;
    max-height: 210px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #edf4ff !important;
  }

  body:not([data-current-view="home"]) .manual-section figcaption {
    margin-top: 6px !important;
    color: #64748b !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  body:not([data-current-view="home"]) .work-dialog,
  body:not([data-current-view="home"]) dialog.work-dialog {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: min(390px, 100vw) !important;
    max-width: 390px !important;
    max-height: 88vh !important;
    margin: auto auto 0 !important;
    padding: 14px 13px calc(16px + env(safe-area-inset-bottom)) !important;
    overflow: auto !important;
    border: 1px solid #d6e5f8 !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fff !important;
    color: #08172f !important;
    box-shadow: 0 -16px 40px rgba(15,35,70,0.2) !important;
  }

  body:not([data-current-view="home"]) .dialog-close,
  body:not([data-current-view="home"]) .asset-rename-close {
    appearance: none !important;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #34506f !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  body:not([data-current-view="home"]) .asset-rename-sheet.hidden {
    display: none !important;
  }

  body:not([data-current-view="home"]) .asset-rename-sheet {
    position: fixed !important;
    inset: 0 !important;
    z-index: 80 !important;
  }

  body:not([data-current-view="home"]) .asset-rename-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(8,23,47,0.32) !important;
  }

  body:not([data-current-view="home"]) .asset-rename-panel {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    display: grid !important;
    gap: 12px !important;
    width: min(390px, 100vw) !important;
    padding: 14px 13px calc(16px + env(safe-area-inset-bottom)) !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fff !important;
    transform: translateX(-50%) !important;
  }

  body:not([data-current-view="home"]) .asset-rename-head,
  body:not([data-current-view="home"]) .admin-site-message-head,
  body:not([data-current-view="home"]) .admin-daily-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  body[data-current-view="create"] .form-panel {
    position: relative !important;
    padding-top: 13px !important;
  }

  body[data-current-view="create"] .panel-heading {
    align-items: center !important;
    margin-bottom: 14px !important;
  }

  body[data-current-view="create"] #categoryBadge {
    display: inline-flex !important;
    align-items: center !important;
    height: 21px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: #fff0f6 !important;
    color: #e94c7a !important;
    font-size: 9px !important;
    font-weight: 900 !important;
  }

  body[data-current-view="create"][data-create-category="real_comparison"] #categoryBadge {
    background: #eafbf5 !important;
    color: #18a47d !important;
  }

  body[data-current-view="create"][data-create-category="chat_feedback"] #categoryBadge {
    background: #edf4ff !important;
    color: #2f6df3 !important;
  }

  body[data-current-view="create"] .category-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body[data-current-view="create"] .category-card {
    flex: initial !important;
    width: auto !important;
    min-height: 79px !important;
    padding: 10px 8px !important;
  }

  body[data-current-view="create"] .category-card[data-category="project_ad"] {
    background: linear-gradient(180deg, #fff8fb 0%, #fff 100%) !important;
  }

  body[data-current-view="create"] .category-card[data-category="chat_feedback"] {
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%) !important;
  }

  body[data-current-view="create"] .category-card[data-category="real_comparison"] {
    background: linear-gradient(180deg, #f8fffd 0%, #fff 100%) !important;
  }

  body[data-current-view="create"] .category-card::after {
    content: "" !important;
    display: block !important;
    width: 28px !important;
    height: 18px !important;
    margin-top: 8px !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, rgba(248,117,161,0.34), rgba(248,117,161,0.08)) !important;
  }

  body[data-current-view="create"] .category-card[data-category="chat_feedback"]::after {
    background: linear-gradient(135deg, rgba(47,109,243,0.34), rgba(47,109,243,0.08)) !important;
  }

  body[data-current-view="create"] .category-card[data-category="real_comparison"]::after {
    background: linear-gradient(135deg, rgba(36,166,127,0.34), rgba(36,166,127,0.08)) !important;
  }

  body[data-current-view="create"] .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 2px !important;
    position: sticky !important;
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    z-index: 7 !important;
    padding: 8px !important;
    border: 1px solid rgba(220,231,246,0.92) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 12px 30px rgba(20,44,82,0.14) !important;
    backdrop-filter: blur(12px) !important;
  }

  body[data-current-view="create"] #generateBtn {
    width: 100% !important;
    min-height: 40px !important;
  }

  body[data-current-view="create"] #previewBackendBtn.hidden-field {
    display: none !important;
  }

  body[data-current-view="create"] .result-panel {
    margin-top: 10px !important;
  }

  body:not([data-current-view="home"]) .empty-state-visual {
    min-height: 150px !important;
    place-items: center !important;
    text-align: center !important;
  }

  body:not([data-current-view="home"]) .empty-visual-thumb {
    position: relative !important;
    width: 88px !important;
    height: 66px !important;
    margin: 0 auto 10px !important;
    border: 1px solid #d5e4f8 !important;
    border-radius: 14px !important;
    background:
      linear-gradient(#9db8f6, #9db8f6) 18px 18px / 34px 5px no-repeat,
      linear-gradient(#d8e5fb, #d8e5fb) 18px 31px / 52px 5px no-repeat,
      linear-gradient(135deg, #fff 0%, #edf4ff 100%) !important;
    box-shadow: 0 10px 22px rgba(48,88,145,0.1) !important;
  }

  body:not([data-current-view="home"]) .empty-visual-thumb::before,
  body:not([data-current-view="home"]) .empty-visual-thumb::after {
    content: "" !important;
    position: absolute !important;
    border-radius: 50% !important;
  }

  body:not([data-current-view="home"]) .empty-visual-thumb::before {
    right: 13px !important;
    top: 13px !important;
    width: 18px !important;
    height: 18px !important;
    background: #f875a1 !important;
  }

  body:not([data-current-view="home"]) .empty-visual-thumb::after {
    left: 18px !important;
    bottom: -7px !important;
    width: 52px !important;
    height: 9px !important;
    background: rgba(47,109,243,0.12) !important;
  }

  body[data-current-view="tasks"] .empty-visual-thumb::before {
    background: #2f6df3 !important;
  }

  body[data-current-view="assets"] .empty-visual-thumb::before {
    background: #24a67f !important;
  }

  body[data-current-view="mine"] .preview-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-current-view="mine"] .preview-summary div {
    min-height: 54px !important;
    align-content: center !important;
  }

  body[data-current-view="mine"] .preview-summary div:first-child,
  body[data-current-view="mine"] .preview-summary div:nth-child(2) {
    grid-column: 1 / -1 !important;
  }

  body[data-current-view="mine"] .preview-summary strong {
    overflow-wrap: anywhere !important;
  }

  body:not([data-current-view="home"]) .member-permission-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }

  body:not([data-current-view="home"]) .member-permission-box div {
    min-height: 32px !important;
    padding: 7px 8px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #40516b !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }

  body:not([data-current-view="home"]) .ref-bottom-nav i.home {
    border-radius: 6px 6px 8px 8px !important;
    clip-path: polygon(50% 6%, 88% 36%, 88% 92%, 60% 92%, 60% 62%, 40% 62%, 40% 92%, 12% 92%, 12% 36%) !important;
  }

  body:not([data-current-view="home"]) .ref-bottom-nav i.create {
    border-radius: 50% !important;
    background:
      linear-gradient(currentColor, currentColor) center / 4px 13px no-repeat,
      linear-gradient(currentColor, currentColor) center / 13px 4px no-repeat !important;
    border: 4px solid currentColor !important;
  }

  body:not([data-current-view="home"]) .ref-bottom-nav i.works {
    border-radius: 5px !important;
    background:
      linear-gradient(currentColor, currentColor) left top / 9px 9px no-repeat,
      linear-gradient(currentColor, currentColor) right top / 9px 9px no-repeat,
      linear-gradient(currentColor, currentColor) left bottom / 9px 9px no-repeat,
      linear-gradient(currentColor, currentColor) right bottom / 9px 9px no-repeat !important;
  }

  body:not([data-current-view="home"]) .ref-bottom-nav i.tasks {
    border-radius: 6px !important;
    background:
      linear-gradient(#fff, #fff) 6px 7px / 9px 2px no-repeat,
      linear-gradient(#fff, #fff) 6px 12px / 9px 2px no-repeat,
      currentColor !important;
  }

  body:not([data-current-view="home"]) .ref-bottom-nav i.mine {
    border-radius: 50% 50% 45% 45% !important;
    background:
      radial-gradient(circle at 50% 34%, #fff 0 4px, transparent 5px),
      radial-gradient(ellipse at 50% 86%, #fff 0 8px, transparent 9px),
      currentColor !important;
  }

  body:not([data-current-view="home"]) .subpage-hero {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 12px !important;
    min-height: 122px !important;
    margin: 0 0 10px !important;
    padding: 15px 13px !important;
    overflow: hidden !important;
    border: 1px solid #c8dbf7 !important;
    border-radius: 18px !important;
    background:
      radial-gradient(circle at 84% 28%, rgba(255,255,255,0.86), transparent 56px),
      linear-gradient(135deg, #f3f8ff 0%, #e6f2ff 100%) !important;
    box-shadow: 0 10px 24px rgba(48,88,145,0.08) !important;
  }

  body:not([data-current-view="home"]) .subpage-hero::before,
  body:not([data-current-view="home"]) .subpage-hero::after {
    content: "" !important;
    position: absolute !important;
    right: 17px !important;
    border: 1px solid rgba(175,199,242,0.84) !important;
    background: rgba(255,255,255,0.72) !important;
    box-shadow: 0 10px 18px rgba(53,92,159,0.11) !important;
  }

  body:not([data-current-view="home"]) .subpage-hero::before {
    top: 17px !important;
    width: 74px !important;
    height: 52px !important;
    border-radius: 12px !important;
  }

  body:not([data-current-view="home"]) .subpage-hero::after {
    top: 52px !important;
    right: 36px !important;
    width: 58px !important;
    height: 38px !important;
    border-radius: 11px !important;
  }

  body[data-current-view="create"] .subpage-hero {
    background:
      radial-gradient(circle at 83% 34%, rgba(255,228,239,0.86), transparent 64px),
      linear-gradient(135deg, #fff8fb 0%, #edf4ff 100%) !important;
  }

  body[data-current-view="works"] .subpage-hero {
    background:
      radial-gradient(circle at 84% 32%, rgba(229,239,255,0.95), transparent 64px),
      linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%) !important;
  }

  body[data-current-view="tasks"] .subpage-hero {
    background:
      radial-gradient(circle at 84% 32%, rgba(226,238,255,0.94), transparent 64px),
      linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%) !important;
  }

  body[data-current-view="assets"] .subpage-hero {
    background:
      radial-gradient(circle at 84% 32%, rgba(225,248,241,0.92), transparent 64px),
      linear-gradient(135deg, #f8fffd 0%, #edf9f5 100%) !important;
  }

  body[data-current-view="mine"] .subpage-hero,
  body[data-current-view="manual"] .subpage-hero {
    background:
      radial-gradient(circle at 84% 32%, rgba(232,240,255,0.92), transparent 64px),
      linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%) !important;
  }

  body:not([data-current-view="home"]) .subpage-hero > div,
  body:not([data-current-view="home"]) .subpage-hero > button {
    position: relative !important;
    z-index: 1 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero span {
    display: inline-flex !important;
    align-items: center !important;
    height: 18px !important;
    margin: 0 0 8px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.78) !important;
    color: #2f5fca !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero h2 {
    width: 218px !important;
    margin: 0 0 8px !important;
    color: #07152e !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero p {
    width: 216px !important;
    margin: 0 !important;
    color: #64748b !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero > button {
    appearance: none !important;
    align-self: end !important;
    height: 29px !important;
    min-width: 70px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #183d99 0%, #2f6df3 100%) !important;
    color: #fff !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: 0 9px 18px rgba(47,109,243,0.22) !important;
  }

  body[data-current-view="create"] .subpage-hero > button {
    background: linear-gradient(135deg, #f875a1 0%, #e64d7a 100%) !important;
    box-shadow: 0 9px 18px rgba(231,76,122,0.2) !important;
  }

  body[data-current-view="assets"] .subpage-hero > button {
    background: linear-gradient(135deg, #55cda9 0%, #24a67f 100%) !important;
    box-shadow: 0 9px 18px rgba(36,166,127,0.2) !important;
  }

  body[data-current-view="create"] .advanced-create-fields {
    padding: 10px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 12px !important;
    background: #f9fbff !important;
  }

  body[data-current-view="works"] .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body[data-current-view="works"] .works-grid > .empty-state {
    grid-column: 1 / -1 !important;
  }

  body[data-current-view="works"] .work-card {
    display: block !important;
    min-height: 206px !important;
    padding: 8px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
  }

  body[data-current-view="works"] .work-card > img,
  body[data-current-view="works"] .work-card .failed-preview {
    width: 100% !important;
    height: 116px !important;
    max-width: none !important;
    margin: 0 0 8px !important;
    border-radius: 11px !important;
  }

  body[data-current-view="works"] .work-card .card-body {
    gap: 6px !important;
  }

  body[data-current-view="works"] .work-card .card-title {
    display: -webkit-box !important;
    min-height: 30px !important;
    overflow: hidden !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body[data-current-view="works"] .work-card .card-meta,
  body[data-current-view="works"] .work-card .work-param-list {
    display: none !important;
  }

  body[data-current-view="works"] .work-card .card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  body[data-current-view="works"] .work-card .card-actions > * {
    min-height: 28px !important;
    padding: 0 6px !important;
  }

  body[data-current-view="tasks"] .task-row {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
  }

  body[data-current-view="tasks"] .task-row::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 5px !important;
    margin-bottom: 9px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #2f6df3 0 62%, #e4ecf8 62% 100%) !important;
  }

  body[data-current-view="tasks"] .task-row-actions {
    display: flex !important;
    justify-content: flex-start !important;
    max-width: none !important;
  }

  body[data-current-view="assets"] .asset-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body[data-current-view="assets"] .asset-grid > .empty-state,
  body[data-current-view="assets"] .asset-subgrid > .empty-state {
    grid-column: 1 / -1 !important;
  }

  body[data-current-view="assets"] .asset-card {
    display: block !important;
    min-height: 222px !important;
    padding: 8px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
    box-shadow: 0 10px 22px rgba(35,74,132,0.07) !important;
  }

  body[data-current-view="assets"] .asset-card > img {
    width: 100% !important;
    height: 108px !important;
    max-width: none !important;
    margin: 0 0 8px !important;
    border-radius: 11px !important;
  }

  body[data-current-view="assets"] .asset-card .inline-edit-field,
  body[data-current-view="assets"] .asset-card .asset-framework {
    display: none !important;
  }

  body[data-current-view="assets"] .asset-card .card-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body[data-current-view="assets"] .asset-card .card-actions.single-action {
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="assets"] .asset-card .card-actions > * {
    min-height: 28px !important;
    padding: 0 5px !important;
    overflow: hidden !important;
    font-size: 9px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="mine"] .account-panel {
    background:
      radial-gradient(circle at 86% 18%, rgba(47,109,243,0.12), transparent 78px),
      linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
  }

  body[data-current-view="mine"] .mine-account-card {
    display: grid !important;
    gap: 12px !important;
  }

  body[data-current-view="mine"] .mine-account-head {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
  }

  body[data-current-view="mine"] .mine-avatar {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #2f6df3, #173d94) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  body[data-current-view="mine"] .mine-account-head strong {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #07152e !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="mine"] .mine-account-head span {
    display: block !important;
    max-width: 100% !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="mine"] .mine-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    height: 22px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: #eafbf5 !important;
    color: #18a47d !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body[data-current-view="mine"] .mine-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-current-view="mine"] .mine-stat-grid div {
    min-height: 58px !important;
    padding: 10px !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px #e3ecf8 !important;
  }

  body[data-current-view="mine"] .mine-stat-grid span {
    display: block !important;
    color: #7a879a !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }

  body[data-current-view="mine"] .mine-stat-grid strong {
    display: block !important;
    margin-top: 8px !important;
    overflow-wrap: anywhere !important;
    color: #10203a !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  body[data-current-view="mine"] .member-permission-box {
    grid-template-columns: 1fr !important;
  }

  body[data-current-view="mine"] .mine-data-panel {
    overflow: hidden !important;
    border: 1px solid #dbe7f8 !important;
    background:
      radial-gradient(circle at 88% 18%, rgba(24,164,125,0.14), transparent 72px),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  }

  body[data-current-view="mine"] .mine-data-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-current-view="mine"] .mine-data-card {
    appearance: none !important;
    display: grid !important;
    min-width: 0 !important;
    min-height: 88px !important;
    padding: 12px !important;
    border: 1px solid #e1ebf8 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(48,88,145,0.06) !important;
    text-align: left !important;
  }

  body[data-current-view="mine"] .mine-data-card span {
    color: #64748b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
  }

  body[data-current-view="mine"] .mine-data-card strong {
    margin-top: 10px !important;
    color: #07152e !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
  }

  body[data-current-view="mine"] .mine-data-card small {
    align-self: end !important;
    margin-top: 8px !important;
    overflow: hidden !important;
    color: #2f6df3 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="manual"] .manual-panel {
    padding: 12px 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-current-view="manual"] .manual-heading,
  body[data-current-view="manual"] .manual-toc,
  body[data-current-view="manual"] .manual-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body[data-current-view="works"] .work-management-panel,
  body[data-current-view="tasks"] .task-management-panel {
    background: transparent !important;
  }

  body[data-current-view="works"] .work-card {
    min-height: 244px !important;
    padding: 7px !important;
    border-color: #dde9f8 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,250,255,0.98) 100%) !important;
    box-shadow: 0 12px 24px rgba(35,74,132,0.08) !important;
  }

  body[data-current-view="works"] .work-card.tone-chat {
    border-color: #dce7ff !important;
  }

  body[data-current-view="works"] .work-card.tone-compare {
    border-color: #d6f1e8 !important;
  }

  body[data-current-view="works"] .work-cover-button {
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    height: 118px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #edf4ff !important;
  }

  body[data-current-view="works"] .work-cover-button img,
  body[data-current-view="works"] .work-cover-button .failed-preview {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: inherit !important;
    object-fit: cover !important;
  }

  body[data-current-view="works"] .work-card-topline,
  body[data-current-view="tasks"] .task-row-topline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  body[data-current-view="works"] .work-card-topline span,
  body[data-current-view="tasks"] .task-row-topline span {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="works"] .work-card-topline strong,
  body[data-current-view="tasks"] .task-row-topline strong {
    flex: 0 0 auto !important;
    color: #2f6df3 !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
  }

  body[data-current-view="works"] .work-title-button {
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    color: #0d1b32 !important;
    text-align: left !important;
  }

  body[data-current-view="works"] .work-progress-line,
  body[data-current-view="tasks"] .task-progress-wrap {
    display: block !important;
    width: 100% !important;
    height: 5px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #e7eef8 !important;
  }

  body[data-current-view="works"] .work-progress-line i,
  body[data-current-view="tasks"] .task-progress-wrap i {
    display: block !important;
    width: var(--work-progress, var(--task-progress, 0%)) !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #2f6df3 0%, #68d5b2 100%) !important;
  }

  body[data-current-view="works"] .work-card .status-pill {
    justify-self: start !important;
    min-height: 19px !important;
    padding: 0 7px !important;
    font-size: 8px !important;
  }

  body[data-current-view="works"] .work-card .card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-current-view="works"] .work-card .card-actions > * {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="works"] .work-detail {
    display: grid !important;
    gap: 12px !important;
    padding-top: 4px !important;
  }

  body[data-current-view="works"] .work-detail h2 {
    margin: 0 !important;
    padding-right: 34px !important;
    color: #08172f !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 950 !important;
  }

  body[data-current-view="works"] .work-param-section {
    display: grid !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 13px !important;
    background: #f7faff !important;
  }

  body[data-current-view="works"] .work-param-section h3,
  body[data-current-view="works"] .work-video-section h3 {
    margin: 0 !important;
    color: #10203a !important;
    font-size: 12px !important;
    font-weight: 950 !important;
  }

  body[data-current-view="works"] .copy-box {
    padding: 10px !important;
    border-radius: 13px !important;
    background: #fff8fb !important;
    color: #44546c !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body[data-current-view="tasks"] .task-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
    padding: 12px !important;
    border-radius: 15px !important;
    background:
      radial-gradient(circle at 92% 8%, rgba(47,109,243,0.1), transparent 70px),
      linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
    box-shadow: 0 12px 24px rgba(35,74,132,0.08) !important;
  }

  body[data-current-view="tasks"] .task-row::before {
    display: none !important;
  }

  body[data-current-view="tasks"] .task-row-main {
    display: grid !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  body[data-current-view="tasks"] .task-row .card-title {
    color: #0d1b32 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 950 !important;
    white-space: normal !important;
  }

  body[data-current-view="tasks"] .task-row .card-meta {
    color: #627187 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  body[data-current-view="tasks"] .task-row-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body[data-current-view="tasks"] .task-row-actions > * {
    min-height: 28px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-current-view="tasks"] .task-row-actions .status-pill {
    justify-content: center !important;
    min-width: 0 !important;
    height: 28px !important;
  }

  body[data-current-view="tasks"] .task-status-running .task-progress-wrap i,
  body[data-current-view="tasks"] .task-status-queued .task-progress-wrap i {
    background: linear-gradient(90deg, #2f6df3 0%, #7aa5ff 100%) !important;
  }

  body[data-current-view="tasks"] .task-status-failed .task-progress-wrap i {
    background: linear-gradient(90deg, #f45d86 0%, #ffb0c6 100%) !important;
  }

  body[data-current-view="tasks"] .task-status-succeeded .task-progress-wrap i,
  body[data-current-view="tasks"] .task-status-partial .task-progress-wrap i {
    background: linear-gradient(90deg, #24a67f 0%, #7bdcbd 100%) !important;
  }
}

/* Final override: keep mobile bottom nav icons identical after navigation. */
@media (max-width: 720px) {
  .ref-bottom-nav i,

  .ref-bottom-nav button,

  .ref-bottom-nav button.active,

  .ref-bottom-nav i.home,
  .nav-item-DISABLED[data-view="home"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.7 12 3l9 7.7v8.2A2.1 2.1 0 0 1 18.9 21h-3.6v-6.1H8.7V21H5.1A2.1 2.1 0 0 1 3 18.9z'/%3E%3C/svg%3E") !important;
  }

  .ref-bottom-nav i.create,
  .nav-item-DISABLED[data-view="create"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4.8A2.8 2.8 0 0 1 7.8 2h8.4A2.8 2.8 0 0 1 19 4.8v14.4a2.8 2.8 0 0 1-2.8 2.8H7.8A2.8 2.8 0 0 1 5 19.2zm4 2.7h6v2H9zm0 4h6v2H9zm0 4h4v2H9z'/%3E%3Cpath d='M17.7 2.7 21.3 6l-6.9 7.4-3.9 1 1.1-3.8z'/%3E%3C/svg%3E") !important;
  }

  .ref-bottom-nav i.works,
  .nav-item-DISABLED[data-view="works"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.2A2.2 2.2 0 0 1 6.2 3h11.6A2.2 2.2 0 0 1 20 5.2v13.6a2.2 2.2 0 0 1-2.2 2.2H6.2A2.2 2.2 0 0 1 4 18.8zm3 2v5.1h4.1V7.2zm5.9 0v5.1H17V7.2zM7 14.1v3.2h10v-3.2z'/%3E%3C/svg%3E") !important;
  }

  .ref-bottom-nav i.tasks,
  .nav-item-DISABLED[data-view="tasks"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 3h9.6A2.2 2.2 0 0 1 19 5.2v13.6a2.2 2.2 0 0 1-2.2 2.2H7.2A2.2 2.2 0 0 1 5 18.8V5.2A2.2 2.2 0 0 1 7.2 3m1 4.1 1.7 1.7 3.7-3.7L15 6.5l-5.1 5.1-3.1-3.1zm-.1 7.1h7.8v2.1H8.1z'/%3E%3C/svg%3E") !important;
  }

  .ref-bottom-nav i.mine,
  .nav-item-DISABLED[data-view="mine"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12.2a4.6 4.6 0 1 0 0-9.2 4.6 4.6 0 0 0 0 9.2m0 2c-4.5 0-8 2.4-8 5.4V21h16v-1.4c0-3-3.5-5.4-8-5.4'/%3E%3C/svg%3E") !important;
  }
}

/* Last rule: reset old hand-drawn nav icon shapes after all mobile sections. */
@media (max-width: 720px) {
  .ref-bottom-nav i.home,
  .ref-bottom-nav i.create,
  .ref-bottom-nav i.works,
  .ref-bottom-nav i.tasks,
  .ref-bottom-nav i.mine,
  body:not([data-current-view="home"]) .ref-bottom-nav i.home,
  body:not([data-current-view="home"]) .ref-bottom-nav i.create,
  body:not([data-current-view="home"]) .ref-bottom-nav i.works,
  body:not([data-current-view="home"]) .ref-bottom-nav i.tasks,
  body:not([data-current-view="home"]) .ref-bottom-nav i.mine,
}

/* Final sizing pass: keep home and subpage bottom nav visually identical. */
@media (max-width: 720px) {
  .ref-bottom-nav,
  body:not([data-current-view="home"]) .nav-list-DISABLED {
    width: min(364px, calc(100vw - 26px)) !important;
    height: calc(56px + env(safe-area-inset-bottom)) !important;
    padding: 6px 10px calc(5px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  body[data-current-view="home"] .ref-bottom-nav button,
  .ref-bottom-nav button,

  body[data-current-view="home"] .ref-bottom-nav button span,
  .ref-bottom-nav button span,

  .ref-bottom-nav i,
}

/* Admin workbench: complete mobile backend surface. */
@media (max-width: 720px) {
  body:not([data-current-view="home"]) #adminPanel:not(.hidden-field) {
    display: grid !important;
    gap: 12px !important;
  }

  body:not([data-current-view="home"]) .admin-heading-actions {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) #adminRefreshStatus {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #66758f !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .admin-module-nav {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: max-content !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding: 2px 0 6px !important;
    scrollbar-width: none !important;
  }

  body:not([data-current-view="home"]) .admin-module-nav::-webkit-scrollbar {
    display: none !important;
  }

  body:not([data-current-view="home"]) .admin-module-nav button {
    height: 32px !important;
    padding: 0 12px !important;
    border: 1px solid #dbe7f6 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #34506f !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .admin-ops-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .admin-ops-summary div {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
    min-height: 82px !important;
    padding: 10px !important;
    border: 1px solid #dce7f6 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #34506f !important;
    text-align: left !important;
    box-shadow: 0 6px 16px rgba(48,88,145,0.06) !important;
  }

  body:not([data-current-view="home"]) .admin-ops-summary span,
  body:not([data-current-view="home"]) .admin-stat-card span {
    color: #66758f !important;
    font-size: 10px !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .admin-ops-summary strong,
  body:not([data-current-view="home"]) .admin-stat-card strong {
    color: #14233b !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
  }

  body:not([data-current-view="home"]) .admin-ops-summary small,
  body:not([data-current-view="home"]) .admin-stat-card small {
    min-width: 0 !important;
    color: #7890ad !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
  }

  body:not([data-current-view="home"]) .admin-site-message-form,
  body:not([data-current-view="home"]) .admin-daily-usage,
  body:not([data-current-view="home"]) .admin-account-toolbar {
    display: grid !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .admin-site-message-head,
  body:not([data-current-view="home"]) .admin-daily-toolbar {
    align-items: stretch !important;
  }

  body:not([data-current-view="home"]) .admin-site-message-head > div,
  body:not([data-current-view="home"]) .admin-daily-toolbar label {
    min-width: 0 !important;
  }

  body:not([data-current-view="home"]) .admin-account-toolbar {
    grid-template-columns: 1fr !important;
    background: #fff !important;
  }

  body:not([data-current-view="home"]) .admin-account-toolbar label,
  body:not([data-current-view="home"]) .permission-editor label,
  body:not([data-current-view="home"]) .inline-credit-editor label {
    display: grid !important;
    gap: 5px !important;
  }

  body:not([data-current-view="home"]) .admin-account-toolbar input,
  body:not([data-current-view="home"]) .admin-account-toolbar select,
  body:not([data-current-view="home"]) .permission-editor input,
  body:not([data-current-view="home"]) .permission-editor select,
  body:not([data-current-view="home"]) .inline-credit-editor input {
    width: 100% !important;
    min-width: 0 !important;
  }

  body:not([data-current-view="home"]) .admin-account-summary {
    display: grid !important;
    gap: 4px !important;
  }

  body:not([data-current-view="home"]) .account-credit-row summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  body:not([data-current-view="home"]) .account-fold-main {
    min-width: 0 !important;
  }

  body:not([data-current-view="home"]) .account-fold-main strong,
  body:not([data-current-view="home"]) .account-fold-main small,
  body:not([data-current-view="home"]) .account-credit-meta span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .account-credit-detail,
  body:not([data-current-view="home"]) .account-action-stack,
  body:not([data-current-view="home"]) .admin-records-column {
    display: grid !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .account-usage-grid,
  body:not([data-current-view="home"]) .permission-editor {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body:not([data-current-view="home"]) .inline-credit-editor {
    display: grid !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .account-action-stack {
    grid-template-columns: 1fr !important;
  }
}

/* Admin account cards: cleaner grouped account management. */
.account-credit-row {
  overflow: hidden;
}

.account-credit-row summary {
  cursor: pointer;
}

.account-status-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.account-status-tags b {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #f7fbff;
  color: #34506f;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.admin-account-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  background: #f8fbff;
}

.admin-account-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.admin-account-section-title strong {
  color: #14233b;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.admin-account-section-title span {
  min-width: 0;
  color: #7890ad;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}

.account-identity-grid,
.account-activation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-identity-grid div,
.account-activation-list div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  border: 1px solid #e4edf8;
  border-radius: 10px;
  background: #fff;
}

.account-identity-grid span,
.account-activation-list span {
  color: #7890ad;
  font-size: 10px;
  font-weight: 900;
}

.account-identity-grid strong,
.account-activation-list strong {
  min-width: 0;
  overflow: hidden;
  color: #14233b;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-activation-list small {
  min-width: 0;
  overflow: hidden;
  color: #8aa0ba;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-action-section .account-photo-panel {
  min-width: 0;
}

.permission-toggle {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
}

.permission-toggle input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
}

.account-permission-actions {
  justify-items: end;
}

@media (max-width: 720px) {
  body:not([data-current-view="home"]) .account-credit-row summary {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  body:not([data-current-view="home"]) .account-status-tags {
    justify-content: flex-start !important;
  }

  body:not([data-current-view="home"]) .account-credit-pill {
    justify-self: start !important;
  }

  body:not([data-current-view="home"]) .account-credit-detail {
    padding-top: 10px !important;
  }

  body:not([data-current-view="home"]) .admin-account-section {
    gap: 9px !important;
    padding: 10px !important;
    border-radius: 10px !important;
  }

  body:not([data-current-view="home"]) .admin-account-section-title {
    display: grid !important;
    gap: 3px !important;
  }

  body:not([data-current-view="home"]) .admin-account-section-title span {
    text-align: left !important;
  }

  body:not([data-current-view="home"]) .account-identity-grid,
  body:not([data-current-view="home"]) .account-activation-list,
  body:not([data-current-view="home"]) .account-usage-grid,
  body:not([data-current-view="home"]) .permission-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not([data-current-view="home"]) .account-identity-grid div:first-child,
  body:not([data-current-view="home"]) .account-activation-list div {
    grid-column: 1 / -1 !important;
  }

  body:not([data-current-view="home"]) .permission-toggle {
    min-height: 42px !important;
  }

  body:not([data-current-view="home"]) .account-permission-actions {
    justify-items: stretch !important;
  }
}

/* Admin generated image cleanup */
.account-photo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  background: #fff;
}

.account-photo-header > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-photo-header strong {
  color: #14233b;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.account-photo-header span,
.account-photo-work-head small {
  min-width: 0;
  overflow: hidden;
  color: #7890ad;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-photo-summary-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 96px;
}

.account-photo-summary-pills b,
.account-photo-param-strip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  max-width: 100%;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #f7fbff;
  color: #34506f;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-photo-work-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-top: 10px;
}

.account-photo-work {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  background: #fff;
}

.account-photo-work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.account-photo-work-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-photo-work-head span {
  color: #6e86a5;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.account-photo-work-head strong {
  min-width: 0;
  overflow: hidden;
  color: #14233b;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-photo-work-head em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.account-photo-param-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.account-photo-param-strip b {
  color: #7890ad;
  font-size: inherit;
  font-weight: 950;
}

.account-photo-muted {
  color: #9aacbf !important;
}

.account-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.account-photo-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 7px;
  border: 1px solid #e4edf8;
  border-radius: 10px;
  background: #f8fbff;
}

.account-photo-link {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf1fb;
  aspect-ratio: 1 / 1;
}

.account-photo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-photo-link span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  min-width: 0;
  padding: 4px 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-photo-params {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.account-photo-params strong {
  min-width: 0;
  overflow: hidden;
  color: #14233b;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-photo-empty {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed #cddced;
  border-radius: 12px;
  background: #f8fbff;
}

.account-photo-empty strong {
  color: #14233b;
  font-size: 13px;
  font-weight: 950;
}

.account-photo-empty span {
  color: #7890ad;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 720px) {
  body:not([data-current-view="home"]) .account-photo-header,
  body:not([data-current-view="home"]) .account-photo-work-head {
    grid-template-columns: minmax(0, 1fr) !important;
    display: grid !important;
  }

  body:not([data-current-view="home"]) .account-photo-summary-pills {
    justify-content: flex-start !important;
    min-width: 0 !important;
  }

  body:not([data-current-view="home"]) .account-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body:not([data-current-view="home"]) .account-photo-work,
  body:not([data-current-view="home"]) .account-photo-header {
    border-radius: 10px !important;
  }

  body:not([data-current-view="home"]) .account-photo-card {
    padding: 6px !important;
  }

  body:not([data-current-view="home"]) .account-photo-param-strip span {
    max-width: 100% !important;
  }
}

/* Admin filters and bulk actions */
.admin-photo-manager,
.admin-bulk-toolbar {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-photo-manager-head,
.admin-bulk-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-photo-manager-head {
  display: grid;
  gap: 12px;
}

.admin-photo-manager-head > div:first-child,
.admin-bulk-toolbar > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-photo-manager-head strong,
.admin-bulk-toolbar strong {
  color: #14233b;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.admin-photo-manager-head span,
.admin-bulk-toolbar span {
  color: #7890ad;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-photo-manager-actions,
.admin-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.admin-photo-filter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: 10px;
  min-width: 0;
}

.admin-photo-filter-grid label,
.admin-bulk-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-photo-filter-grid input,
.admin-photo-filter-grid select,
.admin-bulk-toolbar input {
  width: 100%;
  min-width: 0;
}

.admin-photo-account-strip {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding-bottom: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-photo-account-strip button {
  display: grid;
  flex: 0 0 150px;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #dbe7f6;
  border-radius: 10px;
  background: #f8fbff;
  color: #14233b;
  text-align: left;
}

.admin-photo-account-strip strong,
.admin-photo-account-strip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-photo-account-strip strong {
  font-size: 11px;
  font-weight: 950;
}

.admin-photo-account-strip span {
  color: #7890ad;
  font-size: 10px;
  font-weight: 850;
}

@media (max-width: 720px) {
  body:not([data-current-view="home"]) .admin-photo-manager,
  body:not([data-current-view="home"]) .admin-bulk-toolbar {
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .admin-photo-manager-head,
  body:not([data-current-view="home"]) .admin-bulk-toolbar {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:not([data-current-view="home"]) .admin-photo-manager-actions,
  body:not([data-current-view="home"]) .admin-bulk-actions {
    justify-content: stretch !important;
  }

  body:not([data-current-view="home"]) .admin-photo-manager-actions button,
  body:not([data-current-view="home"]) .admin-bulk-actions button {
    flex: 1 1 130px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body:not([data-current-view="home"]) .admin-photo-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body:not([data-current-view="home"]) .admin-photo-filter-grid label:first-child {
    grid-column: 1 / -1 !important;
  }

  body:not([data-current-view="home"]) .admin-photo-filter-grid span,
  body:not([data-current-view="home"]) .admin-bulk-toolbar label span {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  body:not([data-current-view="home"]) .admin-bulk-toolbar label {
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .admin-photo-account-strip button {
    flex-basis: 138px !important;
  }
}

/* Account avatar and site information panel. */
.default-account-avatar,
.ref-admin .default-account-avatar,
body[data-current-view="mine"] .mine-avatar.default-account-avatar {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  background: #05070b !important;
  color: #fff !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 16px rgba(5, 7, 11, 0.22) !important;
}

.ref-admin .default-account-avatar {
  width: 31px !important;
  height: 31px !important;
  font-size: 12px !important;
}

body[data-current-view="mine"] .mine-avatar.default-account-avatar {
  width: 42px !important;
  height: 42px !important;
  font-size: 16px !important;
}

.site-info-panel {
  overflow: hidden;
}

.site-info-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px;
  border: 1px solid #e1ebf8;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.site-info-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #05070b;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.site-info-card strong,
.site-info-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-info-card strong {
  display: block;
  color: #10203a;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.site-info-card p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.site-info-panel.has-site-message .site-info-card {
  border-color: #d6e4f6;
  background: #fff;
  box-shadow: 0 10px 24px rgba(48, 88, 145, 0.06);
}

/* 2026-05-21 home explanations and vertical check choices */
body[data-current-view="home"] .ref-scene-grid {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

body[data-current-view="home"] .ref-scene-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-height: 82px !important;
  padding: 12px 12px !important;
  text-align: left !important;
}

body[data-current-view="home"] .ref-scene-card span {
  max-width: 100%;
  height: auto !important;
  min-height: 18px !important;
  width: fit-content !important;
  padding: 3px 5px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.15 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: block !important;
  grid-column: 1 / 2 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 5px 0 0 !important;
  color: rgba(18, 35, 58, 0.72) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 750 !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card em {
  grid-column: 2 / 3 !important;
  grid-row: 1 / span 2 !important;
}

body[data-current-view="create"] #createView,
body[data-current-view="create"] #createView *,
body[data-current-view="create"] #createView *::before,
body[data-current-view="create"] #createView *::after {
  box-sizing: border-box;
}

body[data-current-view="create"] #createView .form-stack,
body[data-current-view="create"] #createView .field-group,
body[data-current-view="create"] #createView .advanced-create-fields,
body[data-current-view="create"] #createView .advanced-create-grid,
body[data-current-view="create"] #createView label {
  min-width: 0;
}

body[data-current-view="create"] #createView .category-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  overflow: visible !important;
  padding: 0 !important;
}

body[data-current-view="create"] #createView .category-card {
  position: relative !important;
  display: grid !important;
  align-content: center !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 10px 8px 10px 28px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body[data-current-view="create"] #createView .category-card strong {
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="create"] #createView .category-card::before {
  content: "" !important;
  position: absolute !important;
  left: 9px !important;
  top: 50% !important;
  width: 13px !important;
  height: 13px !important;
  border: 2px solid #b7c7dd !important;
  border-radius: 50% !important;
  background: #fff !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .category-card.active::before {
  border-color: #285aa6 !important;
  background: radial-gradient(circle at 50% 50%, #285aa6 0 4px, #fff 5px) !important;
}

body[data-current-view="create"] #createView .category-card::after {
  display: none !important;
}

body[data-current-view="create"] #createView select {
  min-width: 0 !important;
  max-width: 100% !important;
}

body[data-current-view="create"] #createView .choice-picker {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  min-width: 0;
}

body[data-current-view="create"] #createView .choice-picker-compact {
  display: flex;
  flex-direction: column;
}

body[data-current-view="create"] #createView .choice-picker.is-empty {
  display: none;
}

body[data-current-view="create"] #createView .choice-option {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 38px;
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  padding: 8px 10px 8px 34px;
  background: #fff;
  color: #14233b;
  text-align: left;
  font: inherit;
  font-size: 12px;
  line-height: 1.28;
  font-weight: 850;
  box-shadow: 0 6px 14px rgba(48, 88, 145, 0.04);
}

body[data-current-view="create"] #createView .choice-option::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #b7c7dd;
  border-radius: 4px;
  background: #fff;
  transform: translateY(-50%);
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: translateY(-58%) rotate(45deg);
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: #285aa6;
  background: #eef5ff;
  color: #163f86;
  box-shadow: 0 8px 18px rgba(40, 90, 166, 0.1);
}

body[data-current-view="create"] #createView .choice-option.active::before {
  border-color: #285aa6;
  background: #285aa6;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1;
}

body[data-current-view="create"] #createView .choice-option span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body[data-current-view="create"] #createView .choice-option:disabled {
  opacity: 0.46;
  box-shadow: none;
}

@media (max-width: 420px) {
  body[data-current-view="home"] .ref-scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-current-view="home"] .ref-scene-card {
    min-height: 118px !important;
    padding: 10px 7px !important;
  }

  body[data-current-view="home"] .ref-scene-card span {
    font-size: 10px !important;
  }

  body[data-current-view="home"] .ref-scene-card strong {
    display: block !important;
    width: 100% !important;
    font-size: 10px !important;
    line-height: 1.32 !important;
    font-weight: 750 !important;
    color: rgba(18, 35, 58, 0.68) !important;
  }

  body[data-current-view="create"] #createView .choice-picker,
  body[data-current-view="create"] #createView .choice-picker-compact {
    display: flex;
    flex-direction: column;
  }

  body[data-current-view="create"] #createView .choice-option {
    min-height: 38px;
    padding: 8px 8px 8px 32px;
    font-size: 11px;
  }
}

/* 2026-05-21 final: three home blocks + checkmark-only choices */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body[data-current-view="home"] .ref-scene-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  min-height: 116px !important;
  padding: 10px 8px !important;
  text-align: left !important;
}

body[data-current-view="home"] .ref-scene-card span {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  font-size: 10px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 6px 0 0 !important;
  font-size: 10px !important;
  line-height: 1.32 !important;
  font-weight: 750 !important;
  color: rgba(18, 35, 58, 0.68) !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card em {
  margin-top: auto !important;
  align-self: flex-end !important;
}

body[data-current-view="create"] #createView .choice-option {
  padding-left: 34px !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  left: 11px !important;
  top: 50% !important;
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  color: #285aa6 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 16px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

/* 2026-05-21 final last-layer override: screenshot-style select popup */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body[data-current-view="create"] #createView .choice-popup,
body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: none !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: block !important;
}

body[data-current-view="create"] #createView .choice-option {
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: rgba(60, 60, 67, 0.23) !important;
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  color: #000000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

/* 2026-05-21 eof override: uploaded select menu format */
body[data-current-view="create"] #createView .choice-trigger {
  grid-template-columns: minmax(0, 1fr) 22px !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow {
  position: relative !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before,
body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  content: "" !important;
  position: absolute !important;
  left: 8px !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #1f2937 !important;
  border-bottom: 2px solid #1f2937 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before {
  top: 0 !important;
  transform: rotate(225deg) !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  bottom: 0 !important;
  transform: rotate(45deg) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: block !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option {
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  left: 16px !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

/* 2026-05-21 eof final: uploaded reference segmented scene selector */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 12px 0 16px !important;
  padding: 4px !important;
  border: 1px solid rgba(60, 60, 67, 0.18) !important;
  border-radius: 16px !important;
  background: #f3f4f7 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 78px !important;
  padding: 9px 7px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  text-align: center !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card + .ref-scene-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 1px !important;
  background: rgba(60, 60, 67, 0.18) !important;
  display: block !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  background: #ffffff !important;
  color: #4b50d8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad + .ref-scene-card::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin-top: 5px !important;
  color: rgba(17, 24, 39, 0.58) !important;
  font-size: 10px !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad strong {
  color: rgba(75, 80, 216, 0.68) !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

/* 2026-05-21 eof final: uploaded popup select box */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: block !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

/* 2026-05-21 final: uploaded popup select box */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: block !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

/* 2026-05-21 eof final: uploaded reference segmented scene selector */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 12px 0 16px !important;
  padding: 4px !important;
  border: 1px solid rgba(60, 60, 67, 0.18) !important;
  border-radius: 16px !important;
  background: #f3f4f7 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 78px !important;
  padding: 9px 7px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  text-align: center !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card + .ref-scene-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 1px !important;
  background: rgba(60, 60, 67, 0.18) !important;
  display: block !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  background: #ffffff !important;
  color: #4b50d8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad + .ref-scene-card::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin-top: 5px !important;
  color: rgba(17, 24, 39, 0.58) !important;
  font-size: 10px !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad strong {
  color: rgba(75, 80, 216, 0.68) !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

/* 2026-05-21 final: uploaded reference segmented scene selector */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 12px 0 16px !important;
  padding: 4px !important;
  border: 1px solid rgba(60, 60, 67, 0.18) !important;
  border-radius: 16px !important;
  background: #f3f4f7 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 78px !important;
  padding: 9px 7px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  text-align: center !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card + .ref-scene-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 1px !important;
  background: rgba(60, 60, 67, 0.18) !important;
  display: block !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  background: #ffffff !important;
  color: #4b50d8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad + .ref-scene-card::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin-top: 5px !important;
  color: rgba(17, 24, 39, 0.58) !important;
  font-size: 10px !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad strong {
  color: rgba(75, 80, 216, 0.68) !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

/* 2026-05-21 final: uploaded screenshot popup + select box */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: block !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

/* 2026-05-21 final uploaded-reference override: remove cartoon scene module look */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 14px !important;
  padding: 0 !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 104px !important;
  padding: 12px 9px !important;
  overflow: hidden !important;
  border: 1px solid #e2e7f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 22px rgba(23, 34, 54, 0.08) !important;
  color: #111827 !important;
  text-align: left !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  border-color: #b8c0ff !important;
  background: #f4f5ff !important;
  box-shadow: 0 10px 24px rgba(69, 76, 190, 0.14) !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: #30394a !important;
  font-size: 15px !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad span {
  color: #444bd3 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin-top: 8px !important;
  color: #687386 !important;
  font-size: 11px !important;
  line-height: 1.36 !important;
  font-weight: 750 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card::before,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

/* 2026-05-21 uploaded reference: iOS-style clean scene cards */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 14px !important;
  padding: 0 !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  min-height: 116px !important;
  padding: 12px 9px 11px !important;
  overflow: hidden !important;
  border: 1px solid #e2e7f0 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 22px rgba(23, 34, 54, 0.08) !important;
  color: #111827 !important;
  text-align: left !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  border-color: #b7c0ff !important;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%) !important;
  box-shadow: 0 10px 24px rgba(69, 76, 190, 0.14) !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: #30394a !important;
  font-size: 15px !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad span {
  color: #444bd3 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin-top: 8px !important;
  color: #687386 !important;
  font-size: 11px !important;
  line-height: 1.36 !important;
  font-weight: 750 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card::before,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

/* 2026-05-21 final effective override: screenshot-style select popup */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body[data-current-view="create"] #createView .choice-popup,
body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: none !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: block !important;
}

body[data-current-view="create"] #createView .choice-option {
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: rgba(60, 60, 67, 0.23) !important;
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  left: 16px !important;
  width: 18px !important;
  height: 18px !important;
  color: #000000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
}

/* 2026-05-21 terminal override: uploaded native select popup */
body[data-current-view="create"] #createView .form-panel,
body[data-current-view="create"] #createView .form-section,
body[data-current-view="create"] #createView .field,
body[data-current-view="create"] #createView .choice-picker {
  overflow: visible !important;
}

body[data-current-view="create"] #createView .choice-trigger {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  position: absolute !important;
  top: -9px !important;
  right: 34px !important;
  min-width: 30px !important;
  height: 18px !important;
  padding: 0 7px !important;
  border: 1px solid #d9defc !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #5964c8 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow {
  position: relative !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before,
body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  content: "" !important;
  position: absolute !important;
  left: 8px !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #1f2937 !important;
  border-bottom: 2px solid #1f2937 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before {
  top: 0 !important;
  transform: rotate(225deg) !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  bottom: 0 !important;
  transform: rotate(45deg) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open {
  z-index: 300 !important;
}

body[data-current-view="create"] #createView .choice-popup,
body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: block !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

body[data-current-view="create"] #createView .choice-option span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 560px) {
  body[data-current-view="create"] #createView .choice-popup,
  body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
    width: var(--choice-popup-width, calc(100vw - 84px)) !important;
    max-width: calc(100vw - 84px) !important;
    border-radius: 12px !important;
  }
}

/* 2026-05-21 final override: screenshot-style select popup */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body[data-current-view="create"] #createView .choice-popup,
body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: none !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: block !important;
}

body[data-current-view="create"] #createView .choice-option {
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: rgba(60, 60, 67, 0.23) !important;
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  left: 16px !important;
  width: 18px !important;
  height: 18px !important;
  color: #000000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
}

/* 2026-05-21 last override: match uploaded native select popup format */
body[data-current-view="create"] #createView .form-panel,
body[data-current-view="create"] #createView .form-section,
body[data-current-view="create"] #createView .field,
body[data-current-view="create"] #createView .choice-picker {
  overflow: visible !important;
}

body[data-current-view="create"] #createView .choice-trigger {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  position: absolute !important;
  top: -9px !important;
  right: 34px !important;
  min-width: 30px !important;
  height: 18px !important;
  padding: 0 7px !important;
  border: 1px solid #d9defc !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #5964c8 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow {
  position: relative !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before,
body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  content: "" !important;
  position: absolute !important;
  left: 8px !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #1f2937 !important;
  border-bottom: 2px solid #1f2937 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before {
  top: 0 !important;
  transform: rotate(225deg) !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  bottom: 0 !important;
  transform: rotate(45deg) !important;
}

body[data-current-view="create"] #createView .choice-popup,
body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: block !important;
}

body[data-current-view="create"] #createView .choice-option {
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  left: 16px !important;
  width: 18px !important;
  height: 18px !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
}

body[data-current-view="create"] #createView .choice-option span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 560px) {
  body[data-current-view="create"] #createView .choice-popup,
  body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
    width: var(--choice-popup-width, calc(100vw - 84px)) !important;
    max-width: calc(100vw - 84px) !important;
    border-radius: 12px !important;
  }
}

/* 2026-05-21 final override: native-style centered choice popup */
body[data-current-view="create"] #createView .form-panel,
body[data-current-view="create"] #createView .form-section,
body[data-current-view="create"] #createView .field,
body[data-current-view="create"] #createView .choice-picker {
  overflow: visible !important;
}

body[data-current-view="create"] #createView select.choice-source-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-current-view="create"] #createView .choice-picker,
body[data-current-view="create"] #createView .choice-picker-compact {
  position: relative !important;
  width: 100% !important;
  margin-top: 6px !important;
}

body[data-current-view="create"] #createView .choice-trigger {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #1a2437 !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  position: absolute !important;
  top: -9px !important;
  right: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  height: 18px !important;
  padding: 0 7px !important;
  border: 1px solid #d9defc !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #5964c8 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow {
  position: relative !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before,
body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  content: "" !important;
  position: absolute !important;
  left: 8px !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #1f2937 !important;
  border-bottom: 2px solid #1f2937 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before {
  top: 0 !important;
  transform: rotate(225deg) !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  bottom: 0 !important;
  transform: rotate(45deg) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open {
  z-index: 300 !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-trigger {
  border-color: #aeb8ff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-popup,
body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  bottom: auto !important;
  z-index: 9999 !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: block !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  text-align: left !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  color: #000000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: rgba(60, 60, 67, 0.23) !important;
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

body[data-current-view="create"] #createView .choice-option span {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 560px) {
  body[data-current-view="create"] #createView .choice-popup,
  body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
    width: var(--choice-popup-width, calc(100vw - 84px)) !important;
    max-width: calc(100vw - 84px) !important;
    border-radius: 12px !important;
  }
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: #285aa6 !important;
  background: #eef5ff !important;
}

/* 2026-05-21 final: popup choices + unified three scene cards */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  min-height: 142px !important;
  padding: 9px 7px 10px !important;
  overflow: hidden !important;
  border: 1px solid #dce7f6 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  box-shadow: 0 8px 18px rgba(48, 88, 145, 0.07) !important;
  text-align: left !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  order: 2 !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #10203a !important;
  background: transparent !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  order: 3 !important;
  margin: 5px 0 0 !important;
  color: rgba(18, 35, 58, 0.68) !important;
  font-size: 9.5px !important;
  line-height: 1.32 !important;
  font-weight: 750 !important;
  max-height: 52px !important;
  padding-right: 0 !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card em {
  order: 1 !important;
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  width: 26px !important;
  height: 20px !important;
  margin: 0 0 8px !important;
  border-radius: 8px !important;
  opacity: 0.86 !important;
  background: linear-gradient(135deg, rgba(47, 109, 243, 0.26), rgba(47, 109, 243, 0.07)) !important;
}

body[data-current-view="home"] .ref-scene-card i {
  display: none !important;
}

body[data-current-view="create"] #createView label {
  position: relative;
}

body[data-current-view="create"] #createView .form-panel,
body[data-current-view="create"] #createView .form-stack,
body[data-current-view="create"] #createView .field-group,
body[data-current-view="create"] #createView .advanced-create-fields,
body[data-current-view="create"] #createView .advanced-create-grid {
  overflow: visible !important;
}

body[data-current-view="create"] #createView select + .choice-picker {
  margin-top: 7px !important;
}

body[data-current-view="create"] #createView select:has(+ .choice-picker) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-current-view="create"] #createView select.choice-source-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-current-view="create"] #createView .choice-picker,
body[data-current-view="create"] #createView .choice-picker-compact {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

body[data-current-view="create"] #createView .choice-picker.is-empty {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger {
  appearance: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #14233b !important;
  text-align: left !important;
  font: inherit !important;
  box-shadow: 0 6px 14px rgba(48, 88, 145, 0.04) !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 21px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #eef5ff !important;
  color: #285aa6 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 6px) !important;
  z-index: 80 !important;
  max-height: min(300px, 54vh) !important;
  overflow-y: auto !important;
  padding: 8px !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 38px rgba(15, 35, 68, 0.18) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open {
  z-index: 90 !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-trigger {
  border-color: #285aa6 !important;
  box-shadow: 0 0 0 3px rgba(40, 90, 166, 0.1) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 8px 10px 8px 32px !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #14233b !important;
  text-align: left !important;
  font: inherit !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  color: #285aa6 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 16px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  border-color: #285aa6 !important;
  background: #eef5ff !important;
  color: #163f86 !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

body[data-current-view="create"] #createView .choice-option span {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

/* 2026-05-21 final override: popup selector + uploaded reference scene cards */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 14px !important;
  padding: 0 !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 104px !important;
  padding: 12px 9px !important;
  overflow: hidden !important;
  border: 1px solid #e2e7f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 22px rgba(23, 34, 54, 0.08) !important;
  color: #111827 !important;
  text-align: left !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  border-color: #b8c0ff !important;
  background: #f4f5ff !important;
  box-shadow: 0 10px 24px rgba(69, 76, 190, 0.14) !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: #30394a !important;
  font-size: 15px !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad span {
  color: #444bd3 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin: 8px 0 0 !important;
  color: #687386 !important;
  font-size: 11px !important;
  line-height: 1.36 !important;
  font-weight: 750 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i {
  display: none !important;
}

body[data-current-view="home"] .ref-scene-card::before,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  display: flex !important;
}

body[data-current-view="create"] #createView .choice-option {
  padding-left: 32px !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  color: #285aa6 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 16px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}

/* 2026-05-21 eof override: uploaded select menu format */
body[data-current-view="create"] #createView .choice-trigger {
  grid-template-columns: minmax(0, 1fr) 22px !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow {
  position: relative !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 0 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before,
body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  content: "" !important;
  position: absolute !important;
  left: 8px !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #1f2937 !important;
  border-bottom: 2px solid #1f2937 !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::before {
  top: 0 !important;
  transform: rotate(225deg) !important;
}

body[data-current-view="create"] #createView .choice-trigger-arrow::after {
  bottom: 0 !important;
  transform: rotate(45deg) !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: block !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option {
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option:last-child {
  border-bottom: 0 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  left: 16px !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

/* 2026-05-21 eof final: uploaded reference segmented scene selector */
body[data-current-view="home"] .ref-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 12px 0 16px !important;
  padding: 4px !important;
  border: 1px solid rgba(60, 60, 67, 0.18) !important;
  border-radius: 16px !important;
  background: #f3f4f7 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card,
body[data-current-view="home"] .ref-scene-card.ref-scene-ad,
body[data-current-view="home"] .ref-scene-card.ref-scene-compare,
body[data-current-view="home"] .ref-scene-card.ref-scene-chat {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 78px !important;
  padding: 9px 7px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  text-align: center !important;
  overflow: hidden !important;
}

body[data-current-view="home"] .ref-scene-card + .ref-scene-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 1px !important;
  background: rgba(60, 60, 67, 0.18) !important;
  display: block !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad {
  background: #ffffff !important;
  color: #4b50d8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad + .ref-scene-card::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="home"] .ref-scene-card span,
body[data-current-view="home"] .ref-scene-card strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

body[data-current-view="home"] .ref-scene-card span {
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

body[data-current-view="home"] .ref-scene-card strong {
  display: -webkit-box !important;
  margin-top: 5px !important;
  color: rgba(17, 24, 39, 0.58) !important;
  font-size: 10px !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body[data-current-view="home"] .ref-scene-card.ref-scene-ad strong {
  color: rgba(75, 80, 216, 0.68) !important;
}

body[data-current-view="home"] .ref-scene-card em,
body[data-current-view="home"] .ref-scene-card i,
body[data-current-view="home"] .ref-scene-card::after {
  content: none !important;
  display: none !important;
}

/* 2026-05-21 eof final: uploaded popup select box */
body[data-current-view="create"] #createView .choice-trigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 22px !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  border: 1.5px solid #aeb8ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body[data-current-view="create"] #createView .choice-trigger em {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-trigger-value {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-current-view="create"] #createView .choice-popup {
  display: none !important;
}

body[data-current-view="create"] #createView .choice-picker.is-open .choice-popup {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: var(--choice-popup-top, 42vh) !important;
  z-index: 9999 !important;
  display: block !important;
  width: var(--choice-popup-width, min(360px, calc(100vw - 48px))) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f7f7f8 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
  transform: translateX(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 13px 16px 13px 46px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60, 60, 67, 0.23) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #080b12 !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body[data-current-view="create"] #createView .choice-option.active {
  background: transparent !important;
  color: #080b12 !important;
}

body[data-current-view="create"] #createView .choice-option::before {
  content: none !important;
  display: none !important;
}

body[data-current-view="create"] #createView .choice-option::after {
  content: "✓" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  text-align: center !important;
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body[data-current-view="create"] #createView .choice-option.active::after {
  opacity: 1 !important;
}
/* desktop dashboard shell - 2026-05-22 */
.desktop-dashboard { display: none; }

@media (min-width: 981px) {
  body[data-current-view="home"] {
    background: #f6f9ff !important;
  }

  body[data-current-view="home"] .ref-home > .ref-topbar,
  body[data-current-view="home"] .ref-home > .ref-greeting,
  body[data-current-view="home"] .ref-home > .ref-hero,
  body[data-current-view="home"] .ref-home > .ref-scene-grid,
  body[data-current-view="home"] .ref-home > .ref-two-col,
  body[data-current-view="home"] .ref-home > .ref-material-panel,
  body[data-current-view="home"] .ref-home > .ref-news-panel,
  body[data-current-view="home"] .ref-home > .ref-bottom-nav {
    display: none !important;
  }

  body[data-current-view="home"] .desktop-dashboard {
    display: block;
    padding: 0 42px 28px;
    min-height: 100vh;
    color: #111827;
  }

  body[data-current-view="home"] .app-shell {
    display: block !important;
  }

  

  body[data-current-view="home"] .brand-mark-DISABLED {
    min-height: 52px;
    padding: 0 6px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  body[data-current-view="home"] .brand-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #07162e !important;
    font-size: 0 !important;
    position: relative;
  }

  body[data-current-view="home"] .brand-icon::before {
    content: "+";
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
  }

  body[data-current-view="home"] .brand-title {
    font-size: 18px !important;
    white-space: nowrap;
  }

  body[data-current-view="home"] .brand-subtitle {
    display: none;
  }

  body[data-current-view="home"] .nav-list-DISABLED {
    display: grid !important;
    gap: 10px !important;
    margin-top: 12px;
  }

  

  

  

  
  
  
  
  
  
  

  body[data-current-view="home"] .system-card {
    display: grid !important;
    gap: 10px;
    margin-top: auto !important;
    border-radius: 11px !important;
    padding: 16px !important;
    background: rgba(255,255,255,0.07) !important;
  }

  body[data-current-view="home"] .system-card .label {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
  }

  body[data-current-view="home"] .health-text {
    color: #fff !important;
  }

  body[data-current-view="home"] .main {
    margin-left: 258px !important;
    padding: 0 !important;
    min-height: 100vh;
    background: #f7faff !important;
  }

  body[data-current-view="home"] .topbar {
    display: none !important;
  }

  .desktop-shell-top {
    height: 68px;
    margin: 0 -42px 28px;
    padding: 0 36px 0 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e5edf8;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
  }

  .desktop-menu-btn,
  .desktop-bell {
    width: 42px;
    height: 42px;
    border: 1px solid #e5edf8;
    border-radius: 15px;
    background: #fff;
    color: #111827;
  }

  .desktop-search {
    position: relative;
    width: min(365px, 38vw);
  }

  .desktop-search input {
    width: 100%;
    height: 40px;
    border: 1px solid #e5edf8;
    border-radius: 9px;
    padding: 0 42px 0 18px;
    background: #fbfdff;
    font-size: 14px;
    outline: none;
  }

  .desktop-search span::before {
    content: "⌕";
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
  }

  .desktop-upgrade {
    margin-left: auto;
    height: 38px;
    border: 0;
    border-radius: 19px;
    background: linear-gradient(135deg, #4078ff, #8065ff);
    color: #fff;
    padding: 0 28px;
    font-weight: 800;
  }

  .desktop-bell {
    position: relative;
  }

  .desktop-bell::before {
    content: "♧";
    font-size: 18px;
  }

  .desktop-bell em {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef3f5f;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    font-style: normal;
  }

  .desktop-account {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    font-weight: 800;
  }

  .desktop-account .default-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffe5ec, #dce9ff);
    border: 1px solid #dfe8f6;
    color: #31558f;
  }

  .desktop-hero {
    min-height: 176px;
    border: 1px solid #e5edf8;
    border-radius: 14px;
    background:
      radial-gradient(circle at 72% 44%, rgba(64,120,255,0.16), transparent 28%),
      linear-gradient(135deg, #fff 0%, #eef6ff 100%);
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    padding: 24px 34px;
    overflow: hidden;
  }

  .desktop-hero p,
  .desktop-hero h2 {
    margin: 0;
  }

  .desktop-hero p {
    color: #4b5563;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .desktop-hero h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .desktop-hero span {
    display: block;
    margin-top: 14px;
    color: #7b8799;
  }

  .desktop-hero-visual {
    position: relative;
    height: 150px;
  }

  .desktop-hero-visual i {
    position: absolute;
    left: 112px;
    top: 14px;
    width: 168px;
    height: 112px;
    border-radius: 16px;
    border: 1px solid rgba(64,120,255,0.18);
    background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(207,225,255,0.48));
    box-shadow: 0 26px 62px rgba(64,120,255,0.20);
  }

  .desktop-hero-visual b,
  .desktop-hero-visual em,
  .desktop-hero-visual strong {
    position: absolute;
    width: 110px;
    height: 56px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(64,120,255,0.18);
    background: rgba(255,255,255,0.70);
    box-shadow: 0 14px 32px rgba(64,120,255,0.16);
  }

  .desktop-hero-visual b { left: 202px; top: 28px; }
  .desktop-hero-visual b::before { content: "T"; color: #6f8dff; font-weight: 900; }
  .desktop-hero-visual em { left: 238px; top: 94px; }
  .desktop-hero-visual em::before { content: "▶"; color: #6f8dff; font-style: normal; }
  .desktop-hero-visual strong { left: 68px; top: 60px; }
  .desktop-hero-visual strong::before { content: "▣"; color: #ef6fa0; }

  .desktop-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 24px 0 20px;
  }

  .desktop-scene-card,
  .desktop-panel {
    border: 1px solid #e5edf8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(31, 58, 108, 0.08);
  }

  .desktop-scene-card {
    min-height: 160px;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 1fr 150px;
    text-align: left;
    position: relative;
    overflow: hidden;
  }

  .desktop-scene-card span {
    display: inline-block;
    width: fit-content;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .desktop-scene-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }

  .desktop-scene-card p {
    margin: 0 0 18px;
    color: #6f7b91;
  }

  .desktop-scene-card strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    height: 36px;
    border-radius: 9px;
    color: #fff;
    padding: 0 18px;
    font-size: 14px;
  }

  .desktop-scene-card i {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: 150px;
    height: 116px;
    border-radius: 18px;
    align-self: center;
    justify-self: end;
  }

  .scene-ad span { color: #e94c82; background: #fff0f6; }
  .scene-compare span { color: #11a982; background: #eafff8; }
  .scene-chat span { color: #3678ff; background: #eef4ff; }
  .scene-ad strong { background: #f65b95; }
  .scene-compare strong { background: #14b989; }
  .scene-chat strong { background: #4078ff; }
  .scene-ad i { background: #fff0f6; }
  .scene-compare i { background: #e9fff8; }
  .scene-chat i { background: #eef4ff; }

  .desktop-dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.9fr;
    gap: 16px;
  }

  .desktop-panel {
    padding: 16px 18px;
    min-width: 0;
  }

  .desktop-panel h3 {
    margin: 0;
    font-size: 16px;
  }

  .desktop-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .desktop-panel-head button,
  .desktop-panel-head span {
    border: 1px solid #e5edf8;
    border-radius: 10px;
    background: #fff;
    color: #6f7b91;
    padding: 7px 12px;
    font-size: 12px;
  }

  .desktop-legend {
    margin: 18px 0 6px;
    color: #7b8799;
    font-size: 12px;
    display: flex;
    gap: 18px;
    align-items: center;
  }

  .desktop-legend span {
    width: 8px;
    height: 4px;
    border-radius: 99px;
  }

  .desktop-legend span:nth-child(1) { background: #4078ff; }
  .desktop-legend span:nth-child(2) { background: #20b88a; }
  .desktop-legend span:nth-child(3) { background: #ff4f8a; }

  .desktop-trend svg {
    width: 100%;
    height: 148px;
  }

  .desktop-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid #e5edf8;
    padding-top: 12px;
  }

  .desktop-metrics span,
  .desktop-metrics em,
  .desktop-status em,
  .desktop-flow em,
  .desktop-assistant span,
  .desktop-upgrade-card span,
  .desktop-upgrade-card em {
    color: #6f7b91;
    font-size: 12px;
    font-style: normal;
  }

  .desktop-metrics strong {
    display: block;
    font-size: 18px;
    margin-top: 4px;
  }

  .desktop-metrics em {
    color: #1aa77b;
  }

  .desktop-status > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
  }

  .desktop-status button {
    border: 1px solid #e5edf8;
    border-radius: 10px;
    background: #fbfdff;
    padding: 14px;
    text-align: left;
  }

  .desktop-status strong {
    display: block;
    font-size: 22px;
    margin: 8px 0 4px;
  }

  .desktop-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0 14px;
  }

  .desktop-tabs span {
    border: 1px solid #e5edf8;
    border-radius: 8px;
    padding: 7px 13px;
    color: #4b5563;
    font-size: 13px;
  }

  .desktop-tabs span:first-child {
    color: #2869ff;
    border-color: #8fb3ff;
    background: #eef4ff;
  }

  .desktop-material-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .desktop-material-strip button {
    min-height: 128px;
    border: 0;
    border-radius: 10px;
    padding: 14px 10px;
    background: linear-gradient(135deg, #e7f2ff, #fff);
    color: #5474a7;
    font-weight: 800;
  }

  .desktop-material-strip button:nth-child(2) { background: linear-gradient(135deg, #fff0f4, #fff7fb); color: #a35b72; }
  .desktop-material-strip button:nth-child(3) { background: linear-gradient(135deg, #fff2e9, #fff); color: #9a6853; }
  .desktop-material-strip button:nth-child(4) { background: linear-gradient(135deg, #e6f4ff, #f9fdff); color: #3577bd; }
  .desktop-material-strip button:nth-child(5) { background: linear-gradient(135deg, #f0f7ff, #fff); color: #5c79b6; }

  .desktop-flow {
    grid-column: span 2;
  }

  .desktop-flow > div {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
  }

  .desktop-flow span {
    text-align: center;
    font-weight: 800;
  }

  .desktop-flow span::before {
    content: "✦";
    width: 44px;
    height: 44px;
    border: 1px solid #dce9ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    color: #4078ff;
    background: #fff;
  }

  .desktop-flow em {
    display: block;
    margin-top: 6px;
    font-weight: 400;
  }

  .desktop-flow i {
    height: 1px;
    background: #d7e2f0;
  }

  .desktop-assistant {
    display: grid;
    gap: 12px;
  }

  .desktop-assistant p {
    margin: 0;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: center;
  }

  .desktop-assistant p::before {
    content: "✓";
    grid-row: span 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e9fff7;
    color: #16a77a;
  }

  .desktop-assistant strong,
  .desktop-assistant span {
    display: block;
  }

  .desktop-upgrade-card > div:nth-child(2) {
    margin: 12px 0;
    border-radius: 12px;
    background: #eef5ff;
    padding: 14px 16px;
  }

  .desktop-upgrade-card strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
  }

  .desktop-upgrade-card > button {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: #4078ff;
    color: #fff;
    font-weight: 800;
  }
}

@media (max-width: 980px) {
  .desktop-dashboard { display: none !important; }
}

/* desktop sidebar exact pass - 2026-05-22 */
@media (min-width: 981px) {
  .sidebar-DISABLED {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 258px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 24px 14px 30px !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 72% 12%, rgba(51, 120, 255, 0.28), transparent 30%),
      linear-gradient(180deg, #081b36 0%, #06162e 54%, #031225 100%) !important;
    box-shadow: 16px 0 42px rgba(3, 18, 37, 0.2) !important;
  }

  .main {
    margin-left: 258px !important;
  }

  .brand-mark-DISABLED {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 56px !important;
    padding: 0 6px 22px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }

  .brand-icon {
    position: relative !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #2367f5 !important;
    box-shadow: 0 10px 22px rgba(15, 60, 140, 0.25) !important;
  }

  .brand-icon::before,
  .brand-icon::after {
    content: "" !important;
    position: absolute !important;
    background: currentColor !important;
    border-radius: 999px !important;
  }

  .brand-icon::before {
    left: 10px !important;
    top: 16px !important;
    width: 16px !important;
    height: 4px !important;
  }

  .brand-icon::after {
    left: 16px !important;
    top: 10px !important;
    width: 4px !important;
    height: 16px !important;
  }

  .brand-title {
    max-width: 178px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1.22 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }

  .brand-subtitle {
    display: none !important;
  }

  .nav-list-DISABLED {
    display: grid !important;
    gap: 8px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
  }

  .nav-item-DISABLED,
  .nav-item-DISABLED[data-view="mine"],
  .nav-item-DISABLED[data-view="assets"],
  .nav-item-DISABLED[data-view="manual"],
  .nav-upgrade {
    appearance: none !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 16px 0 54px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: rgba(255,255,255,0.78) !important;
    font: 800 15px/1 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
    text-align: left !important;
    white-space: nowrap !important;
    cursor: pointer !important;
  }

  .nav-item-DISABLED:hover,
  .nav-upgrade:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #ffffff !important;
  }

  .nav-item.active {
    background: linear-gradient(135deg, #2f73ff 0%, #1762f0 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(24, 98, 240, 0.28), inset 0 1px 0 rgba(255,255,255,0.18) !important;
  }

  .nav-item-DISABLED::before,
  .nav-upgrade::before {
    content: "" !important;
    position: absolute !important;
    left: 21px !important;
    top: 50% !important;
    width: 19px !important;
    height: 19px !important;
    transform: translateY(-50%) !important;
    background: currentColor !important;
    opacity: 0.96 !important;
    -webkit-mask: var(--desktop-nav-icon) center / contain no-repeat !important;
    mask: var(--desktop-nav-icon) center / contain no-repeat !important;
  }

  .nav-item-DISABLED[data-view="home"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3z'/%3E%3C/svg%3E");
  }

  .nav-item-DISABLED[data-view="create"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19.5 5.2 15 16.8 3.4a2 2 0 0 1 2.8 0l1 1a2 2 0 0 1 0 2.8L9 18.8zm7-1.5h9v2H9z'/%3E%3C/svg%3E");
  }

  .nav-item-DISABLED[data-view="works"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E");
  }

  .nav-item-DISABLED[data-view="tasks"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12a2 2 0 0 1 2 2v16H4V5a2 2 0 0 1 2-2m2 5 2 2 4-4 1.5 1.5L10 13 6.5 9.5zm0 8h8v2H8z'/%3E%3C/svg%3E");
  }

  .nav-item-DISABLED[data-view="assets"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h7l2 2h9v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3z'/%3E%3C/svg%3E");
  }

  .nav-item-DISABLED[data-view="mine"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 19h16v2H4zM6 11h3v7H6zm5-7h3v14h-3zm5 4h3v10h-3z'/%3E%3C/svg%3E");
  }

  .nav-upgrade {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm1 5v5h4l-6 6v-5H7z'/%3E%3C/svg%3E");
  }

  .nav-item-DISABLED[data-view="manual"] {
    --desktop-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h11a3 3 0 0 1 3 3v15H7a2 2 0 0 1-2-2zm3 4h8V5H8zm0 4h8V9H8z'/%3E%3C/svg%3E");
  }

  .nav-desktop-label {
    display: inline !important;
  }

  .nav-mobile-label {
    display: none !important;
  }

  .version-card {
    display: grid !important;
    gap: 7px !important;
    margin: auto 6px 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.07) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
  }

  .version-card .label {
    color: rgba(255,255,255,0.62) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .version-card strong {
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  .version-card .version-status {
    color: rgba(255,255,255,0.72) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .version-card button {
    appearance: none !important;
    justify-self: start !important;
    margin-top: 5px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #8fb2ff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
  }

  .version-health {
    display: none !important;
  }

  

  

  

  

  

  

  
}

@media (max-width: 980px) {
  .nav-desktop-label,
  .nav-upgrade,
  .version-status {
    display: none !important;
  }

  .nav-mobile-label {
    display: inline !important;
  }

  body .sidebar-DISABLED .nav-upgrade,
  
}

/* desktop subpage workspace - 2026-05-22 */
@media (min-width: 981px) {
  body:not([data-current-view="home"]) {
    margin: 0 !important;
    min-width: 1180px !important;
    overflow-x: auto !important;
    background: #f6f9ff !important;
    color: #111827 !important;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
  }

  body:not([data-current-view="home"]) .app-shell {
    display: block !important;
    width: 100% !important;
    min-height: 100vh !important;
    background: #f6f9ff !important;
  }

  body:not([data-current-view="home"]) .main {
    display: block !important;
    width: calc(100vw - 258px) !important;
    min-width: 922px !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin: 0 0 0 258px !important;
    padding: 0 42px 36px !important;
    overflow: visible !important;
    background: #f6f9ff !important;
  }

  body:not([data-current-view="home"]) .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 12 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 68px !important;
    margin: 0 -42px 28px !important;
    padding: 0 36px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5edf8 !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: none !important;
    backdrop-filter: blur(16px) !important;
  }

  body:not([data-current-view="home"]) .topbar h1 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body:not([data-current-view="home"]) .account-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body:not([data-current-view="home"]) .view.active {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not([data-current-view="home"]) .section-close-bar {
    display: none !important;
  }

  body:not([data-current-view="home"]) .subpage-hero {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
    min-height: 148px !important;
    margin: 0 0 24px !important;
    padding: 30px 34px !important;
    overflow: hidden !important;
    border: 1px solid #e3ebf7 !important;
    border-radius: 8px !important;
    background:
      radial-gradient(circle at 88% 20%, rgba(64,120,255,0.16), transparent 26%),
      linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%) !important;
    box-shadow: 0 18px 38px rgba(34, 74, 132, 0.08) !important;
  }

  body:not([data-current-view="home"]) .subpage-hero::before,
  body:not([data-current-view="home"]) .subpage-hero::after {
    display: none !important;
  }

  body:not([data-current-view="home"]) .subpage-hero > div {
    position: relative !important;
    z-index: 1 !important;
    min-width: 0 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero span {
    display: inline-flex !important;
    align-items: center !important;
    height: 24px !important;
    margin: 0 0 10px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #3268d8 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero h2 {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero p {
    width: auto !important;
    max-width: 720px !important;
    margin: 10px 0 0 !important;
    color: #667085 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body:not([data-current-view="home"]) .subpage-hero > button {
    appearance: none !important;
    flex: 0 0 auto !important;
    min-width: 120px !important;
    height: 40px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #4078ff, #8065ff) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 24px rgba(64,120,255,0.2) !important;
    cursor: pointer !important;
  }

  body:not([data-current-view="home"]) .workspace-grid,
  body:not([data-current-view="home"]) .workspace-grid.slim {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    gap: 24px !important;
    align-items: start !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body:not([data-current-view="home"]) .workspace-grid {
    grid-template-columns: minmax(420px, 0.92fr) minmax(360px, 1.08fr) !important;
  }

  body:not([data-current-view="home"]) .workspace-grid.slim {
    grid-template-columns: minmax(360px, 0.62fr) minmax(520px, 1.38fr) !important;
  }

  body:not([data-current-view="home"]) #createView .workspace-grid {
    grid-template-columns: minmax(520px, 0.82fr) minmax(390px, 1.18fr) !important;
  }

  body:not([data-current-view="home"]) .workspace-grid::before,
  body:not([data-current-view="home"]) .workspace-grid::after {
    display: none !important;
  }

  body:not([data-current-view="home"]) .panel,
  body:not([data-current-view="home"]) #createView .form-panel,
  body:not([data-current-view="home"]) #createView .result-panel,
  body:not([data-current-view="home"]) .work-management-panel,
  body:not([data-current-view="home"]) .task-management-panel,
  body:not([data-current-view="home"]) .asset-upload-panel,
  body:not([data-current-view="home"]) .asset-framework-panel,
  body:not([data-current-view="home"]) .manual-panel,
  body:not([data-current-view="home"]) #mineView > .workspace-grid.slim > .panel,
  body:not([data-current-view="home"]) #mineView > .panel {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 24px !important;
    padding: 26px !important;
    border: 1px solid #e3ebf7 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(33, 65, 112, 0.07) !important;
    overflow: visible !important;
  }

  body:not([data-current-view="home"]) .panel::before,
  body:not([data-current-view="home"]) .panel::after,
  body:not([data-current-view="home"]) .work-management-panel::before,
  body:not([data-current-view="home"]) .task-management-panel::before,
  body:not([data-current-view="home"]) .asset-upload-panel::before,
  body:not([data-current-view="home"]) .asset-framework-panel::before,
  body:not([data-current-view="home"]) #createView .form-panel::before,
  body:not([data-current-view="home"]) #createView .form-panel::after,
  body:not([data-current-view="home"]) #createView .result-panel::before,
  body:not([data-current-view="home"]) #createView .result-panel::after {
    display: none !important;
  }

  body:not([data-current-view="home"]) .panel-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 22px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #edf2fa !important;
  }

  body:not([data-current-view="home"]) .panel-heading h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .panel-heading span,
  body:not([data-current-view="home"]) .heading-actions span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #3268d8 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .list-toolbar {
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
  }

  body:not([data-current-view="home"]) .filter-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .filter-chip {
    min-height: 34px !important;
    padding: 0 14px !important;
    border: 1px solid #dfe8f5 !important;
    border-radius: 8px !important;
    background: #f8fbff !important;
    color: #596579 !important;
    font-weight: 900 !important;
  }

  body:not([data-current-view="home"]) .filter-chip.active {
    border-color: #4078ff !important;
    background: #eef5ff !important;
    color: #225dd8 !important;
  }

  body:not([data-current-view="home"]) .works-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .asset-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .task-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .mine-data-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .manual-panel {
    display: grid !important;
    gap: 22px !important;
  }

  body:not([data-current-view="home"]) .manual-section {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
    gap: 28px !important;
  }

  body:not([data-current-view="home"]) .form-stack,
  body:not([data-current-view="home"]) .backend-preview-box,
  body:not([data-current-view="home"]) .account-panel {
    width: 100% !important;
  }

  body:not([data-current-view="home"]) .form-actions {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body:not([data-current-view="home"]) .mine-mobile-account-actions {
    display: none !important;
  }
}

/* desktop function panels wide - 2026-05-22 */
@media (min-width: 981px) {
  body[data-current-view="create"] #createView .form-panel {
    padding-top: 30px !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body[data-current-view="create"] #createView .category-card {
    position: relative !important;
    display: grid !important;
    align-content: end !important;
    min-width: 0 !important;
    min-height: 178px !important;
    padding: 26px 26px 24px !important;
    border: 1px solid #dfe8f5 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #111827 !important;
    text-align: left !important;
    box-shadow: 0 18px 42px rgba(33, 65, 112, 0.08) !important;
    overflow: hidden !important;
  }

  body[data-current-view="create"] #createView .category-card::before {
    content: "" !important;
    position: absolute !important;
    left: auto !important;
    right: 22px !important;
    top: 22px !important;
    width: 58px !important;
    height: 58px !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #eef5ff !important;
  }

  body[data-current-view="create"] #createView .category-card::after {
    content: "" !important;
    position: absolute !important;
    right: -30px !important;
    bottom: -34px !important;
    display: block !important;
    width: 150px !important;
    height: 110px !important;
    border-radius: 28px !important;
    background: rgba(64, 120, 255, 0.08) !important;
    transform: rotate(-10deg) !important;
  }

  body[data-current-view="create"] #createView .category-card[data-category="project_ad"] {
    background: linear-gradient(180deg, #fff8fb 0%, #ffffff 100%) !important;
  }

  body[data-current-view="create"] #createView .category-card[data-category="project_ad"]::before {
    background: linear-gradient(135deg, #ffe4ee, #ff8db5) !important;
  }

  body[data-current-view="create"] #createView .category-card[data-category="real_comparison"] {
    background: linear-gradient(180deg, #f8fffd 0%, #ffffff 100%) !important;
  }

  body[data-current-view="create"] #createView .category-card[data-category="real_comparison"]::before {
    background: linear-gradient(135deg, #e5fff6, #36c7a2) !important;
  }

  body[data-current-view="create"] #createView .category-card[data-category="chat_feedback"] {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
  }

  body[data-current-view="create"] #createView .category-card[data-category="chat_feedback"]::before {
    background: linear-gradient(135deg, #e8f1ff, #5b8dff) !important;
  }

  body[data-current-view="create"] #createView .category-card.active {
    border-color: #4078ff !important;
    box-shadow: 0 22px 52px rgba(64, 120, 255, 0.15) !important;
  }

  body[data-current-view="create"] #createView .category-card strong {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 0 10px !important;
    color: #111827 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere !important;
  }

  body[data-current-view="create"] #createView .category-card span {
    position: relative !important;
    z-index: 1 !important;
    color: #667085 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
  }

  body[data-current-view="create"] #createView .category-card .module-icon {
    display: none !important;
  }
}

/* desktop create page full width final - 2026-05-22 */
@media (min-width: 981px) {
  body[data-current-view="create"] #createView {
    width: 100% !important;
    max-width: none !important;
  }

  body[data-current-view="create"] #createView .workspace-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body[data-current-view="create"] #createView .form-panel,
  body[data-current-view="create"] #createView .result-panel {
    width: 100% !important;
    max-width: none !important;
    padding: 34px !important;
  }

  body[data-current-view="create"] #createView .category-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body[data-current-view="create"] #createView .category-card {
    min-height: 238px !important;
    padding: 34px 34px 30px !important;
    border-radius: 8px !important;
  }

  body[data-current-view="create"] #createView .category-card::before {
    right: 24px !important;
    top: 24px !important;
    width: 76px !important;
    height: 76px !important;
    border-radius: 8px !important;
  }

  body[data-current-view="create"] #createView .category-card::after {
    width: 190px !important;
    height: 140px !important;
  }

  body[data-current-view="create"] #createView .category-card strong {
    font-size: 31px !important;
    line-height: 1.18 !important;
  }

  body[data-current-view="create"] #createView .category-card span {
    font-size: 17px !important;
    line-height: 1.45 !important;
  }

  body[data-current-view="create"] #createView .form-stack {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: start !important;
    width: 100% !important;
  }

  body[data-current-view="create"] #createView .category-tabs,
  body[data-current-view="create"] #createView .advanced-create-fields,
  body[data-current-view="create"] #createView .form-actions,
  body[data-current-view="create"] #createView .extra-text-field,
  body[data-current-view="create"] #createView .chat-effect-image-field {
    grid-column: 1 / -1 !important;
  }

  body[data-current-view="create"] #createView .field-group {
    display: contents !important;
  }

  body[data-current-view="create"] #createView .advanced-create-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  body[data-current-view="create"] #createView label,
  body[data-current-view="create"] #createView input,
  body[data-current-view="create"] #createView select,
  body[data-current-view="create"] #createView textarea {
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-current-view="create"] #createView .form-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}
