/* 投流切片大师 · 制作工作区。沿用 JOYPLUS 品牌与真实业务组件。 */
:root { --jp-sidebar-w: 220px; --jp-canvas: #f5f6f8; --jp-font-ui: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif; }
body.workspace { font-size: 13px; line-height: 1.5; overflow-x: clip; }
.workspace .row.wrap .seg { max-width: 100%; overflow-x: auto; }
.workspace :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 12px; z-index: 100; background: #fff; padding: 12px; }
.workspace .side { padding: 22px 14px 16px; }
.workspace .side .brand { margin: 0 6px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--jp-hairline); border-radius: 0; }
.workspace .brand img { width: 144px; }
.workspace .brand span { margin-top: 10px; color: var(--ink); font-size: 13.5px; font-weight: 700; letter-spacing: 0; }
.workspace .brand small { display: block; color: var(--muted); margin-top: 2px; font-size: 11.5px; font-weight: 400; }
.workspace .side .nav-label { margin: 14px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--jp-fg-4, #8a8f98); }
.workspace .nav { gap: 3px; }
.workspace .nav a { min-height: 35px; padding: 6px 10px; border-radius: 9px; font-size: 13px; transition: background .14s, color .14s; }
.workspace .nav a.on { background: var(--jp-sel-bg, #eef0f3); color: var(--jp-fg, #1d1d1d); }
.workspace .nav a.on::before { left: -14px; width: 11px; height: 15px; margin-top: -7.5px; background: var(--jp-joy, #e8492f); border-radius: 0; clip-path: polygon(0 10%, 100% 0, 92% 76%, 36% 82%, 10% 100%, 16% 80%, 4% 80%); }
.workspace .nav a.on svg.i { color: var(--accent); }
.workspace-bar { position: sticky; top: 0; z-index: 30; height: 54px; border-bottom: 1px solid #e8eaee; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); }
.workspace-location { display: flex; gap: 11px; align-items: center; color: #828791; font-size: 13px; min-width: 0; white-space: nowrap; overflow: hidden; }
.collapsed-brand { display: none; align-items: center; padding-right: 12px; margin-right: 1px; border-right: 1px solid #e5e8ed; flex-shrink: 0; }
.collapsed-brand img { height: 22px; width: auto; display: block; }
.workspace-location .ws-loc-prefix { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; flex-shrink: 0; }
.workspace-location > span, .workspace-location .ws-loc-prefix > span { color: #d1d5dc; }
.workspace-location b { color: #3c4048; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.workspace-status { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--muted); font-size: 12px; }
.mode-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--jp-bubble, 14px 14px 14px 4px); background: var(--jp-surface-3, #f1f2f4); color: #4a515c; font-weight: 600; white-space: nowrap; }
.mode-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jp-ok, #18915a); flex-shrink: 0; }
.mode-badge.is-showcase { background: var(--jp-demo-bg, #fffbeb); color: var(--jp-demo-ink, #92400e); border: 1px solid var(--jp-demo-border, #fde68a); }
.mode-badge.is-showcase::before { background: var(--jp-demo, #d97706); }
.showcase-notice { display: flex; align-items: center; gap: 9px; min-height: 30px; padding: 5px 28px; background: var(--jp-demo-bg, #fffbeb); color: #78350f; font-size: 12px; line-height: 1.4; border-bottom: 1px solid var(--jp-demo-border, #fde68a); }
.showcase-notice .sn-badge { flex: none; font-weight: 700; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: #fef3c7; color: var(--jp-demo-ink, #92400e); border: 1px solid #fcd34d; white-space: nowrap; }
.showcase-notice .sn-text { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase-notice .sn-short { display: none; }
.showcase-notice .sn-close { flex: none; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--jp-demo-ink, #92400e); cursor: pointer; display: grid; place-items: center; opacity: .72; transition: opacity .14s, background .14s; }
.showcase-notice .sn-close:hover { opacity: 1; background: rgba(217, 119, 6, .14); }
body.is-showcase .top .actions :is(#recv, #scan, #btn-new, #btn-deliver, #up-btn, #save, #pw, #add, [data-write]) { display: none !important; }
.workspace .top .in { padding: 20px 28px 0; max-width: 1600px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.workspace .top h1 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.heading-dot { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-top: 2px; }
.workspace .top .sub:empty { display: none; }
.workspace .top .sub { font-size: 12.5px; margin-top: 3px; }
.workspace .content { max-width: 1600px; padding: 12px 28px 50px; }
.workspace .stack { gap: 12px; }
.workspace .btn { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; font-weight: 600; box-shadow: none; }
.workspace .btn.sm { height: 34px; padding: 0 12px; font-size: 12.5px; }
.workspace .btn.icon, .workspace .btn.sm.icon { width: 34px; padding: 0; }
.workspace .btn.primary, .workspace .btn.accent { background: var(--jp-grad-joy, var(--accent)); box-shadow: 0 4px 12px -6px rgba(214, 63, 36, .48), inset 0 1px 0 rgba(255, 255, 255, .18); }
.workspace .btn.primary:hover, .workspace .btn.accent:hover { background: var(--jp-grad-joy-hover, var(--accent-ink)); }
.workspace .btn.primary:active, .workspace .btn.accent:active { box-shadow: none; }
.workspace .input, .workspace select.input { height: 34px; border-radius: 8px; font-size: 13px; }
.workspace textarea.input { height: auto; min-height: 80px; }
.workspace input[type="checkbox"], .workspace input[type="radio"] { accent-color: var(--accent); }
.workspace .card { box-shadow: 0 1px 2px rgba(17, 24, 39, .03); border-color: #e6e9ee; border-radius: 12px; }
.workspace .card.pad { padding: 14px 16px; }
.workspace .card h2, .workspace .section-title { font-size: 14px; font-weight: 750; }
.workspace .table th { padding: 7px 10px; font-size: 11.5px; letter-spacing: .02em; }
.workspace .table td { padding: 7px 10px; font-size: 12.5px; }
.workspace .table tbody tr:hover td { background: var(--jp-surface-2); }
.workspace .seg { min-height: 34px; align-items: center; border-radius: 8px; }
.workspace .seg button { height: 28px; line-height: 1; border-radius: 5px; font-size: 12.5px; font-weight: 500; }
.workspace .seg button.on { font-weight: 700; }
.workspace .tag, .workspace .pill { font-size: 11.5px; }
.workspace .hint { font-size: 12px; }
.sync-line { min-height: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #7c838e; font-size: 11px; margin-bottom: 12px; }
#sync-state::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #18915a; vertical-align: 2px; }
#sync-state.disconnected::before { background: #cf3427; }
.sync-line button { cursor: pointer; background: none; border: 0; font-size: 12px; color: #6b7079; padding: 3px 0 3px 8px; }
.sync-line button:hover { color: var(--ink); }
.load-error { padding: 12px 16px; border: 1px solid #f2c3be; background: #fdeceb; color: #9e2a22; border-radius: 8px; margin-bottom: 16px; }
.workspace[data-page] { min-width: 0; }
.workspace .main { min-width: 0; container-type: inline-size; container-name: workspace; }
.workspace .top .in > div:first-child { min-width: 220px; flex: 1 1 auto; }
.workspace .top .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 0 1 auto; }
@container workspace (max-width: 1120px) {
  .workspace .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@container workspace (max-width: 960px) {
  .workspace .workspace-bar, .workspace .showcase-notice { padding-inline: 18px; }
  .workspace .top .in { padding: 16px 18px 0; }
  .workspace .content { padding: 12px 18px 36px; }
}
.workspace #tiles.tiles:not(.four) { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid #e8eaee; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.workspace #tiles.tiles:not(.four) .tile { position: relative; min-width: 0; border: 0; border-right: 1px solid #edf0f3; border-radius: 0; padding: 16px 20px 14px; background: #fff; text-align: left; cursor: pointer; }
.workspace #tiles.tiles:not(.four) .tile:last-child { border-right: 0; }
.workspace #tiles.tiles:not(.four) .tile:hover { background: #fafbfc; }
.workspace #tiles.tiles:not(.four) .tile.active::after { content: ""; position: absolute; height: 2px; left: 20px; right: 20px; bottom: 0; background: var(--accent); }
.workspace #tiles.tiles.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.workspace #tiles.tiles.four .tile { min-width: 0; padding: 13px 15px; }
.workspace .tile { min-width: 0; }
.workspace .tile .label { display: block; font-size: 12px; color: #6c737e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace .tile .label svg.i { display: inline-block; vertical-align: -2.5px; margin-right: 5px; }
.workspace .tile .value { margin: 6px 0 0; font-family: var(--jp-num-font); font-size: clamp(22px, 2.3cqw, 30px); font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace .tile .value small { font-family: var(--font); font-size: 12px; color: #7c838d; font-weight: 400; margin-left: 5px; }
.workspace .tile .foot { font-size: 11px; margin-top: 3px; color: #8a909a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.overview-stage { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 20px; margin-bottom: 30px; }
.featured-work { background: #e9edf0; border-radius: 12px; min-height: 220px; display: flex; overflow: hidden; position: relative; }
.featured-copy { padding: 25px 26px; position: relative; z-index: 2; flex: 1; min-width: 0; }
.section-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #737c85; }
.featured-copy h2 { color: #282d33; font-size: 23px; line-height: 1.3; font-weight: 700; margin: 12px 0 4px; }
.featured-copy p { color: #7c8490; font-size: 12px; margin: 0; max-width: 28em; }
.featured-facts { display: flex; gap: 12px; margin: 17px 0 18px; flex-wrap: wrap; font-size: 11px; color: #727b86; }
.featured-facts b { color: #333a45; font-size: 14px; font-family: var(--jp-num-font); }
.featured-facts span + span { border-left: 1px solid #cfd6de; padding-left: 12px; }
.featured-frames { display: flex; align-items: center; align-self: stretch; flex: 0 0 39%; max-width: 270px; min-width: 190px; padding: 20px 24px 20px 0; position: relative; isolation: isolate; }
.feature-frame, .feature-cover { padding: 0; position: relative; display: block; aspect-ratio: 9 / 16; border: 3px solid #fff; width: 108px; flex-shrink: 0; border-radius: 9px; overflow: hidden; box-shadow: 0 12px 26px #28323d22; cursor: pointer; background: #4e5761; }
.feature-frame img, .feature-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-frame + .feature-frame { margin-left: -48px; }
.frame-0 { transform: rotate(-9deg) translateY(4px); z-index: 1; }
.frame-1 { transform: rotate(0); z-index: 3; }
.frame-2 { transform: rotate(9deg) translateY(4px); z-index: 2; }
.feature-frame:hover, .feature-frame:focus-visible { transform: translateY(-6px); z-index: 4; }
.frame-play { position: absolute; left: calc(50% - 15px); top: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #ffffffdb; color: #343a42; }
.frame-play svg { width: 13px; height: 13px; margin-left: 2px; }
.frame-time { position: absolute; bottom: 5px; right: 5px; border-radius: 3px; background: #121820a8; color: #fff; padding: 1px 4px; font: 10px var(--jp-num-font); }
.next-actions { padding: 18px 20px 8px; background: #fff; border: 1px solid #e8eaee; border-radius: 12px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-title-row h2 { font-size: 14px; font-weight: 700; margin: 0; }
.section-title-row > span { font-size: 11px; color: #959ba4; }
.next-actions > button, .next-actions > a { display: flex; gap: 11px; width: 100%; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid #f0f2f5; padding: 10px 0; cursor: pointer; }
.next-actions > :last-child { border-bottom: 0; }
.next-actions > button:hover b, .next-actions > a:hover b { color: var(--accent); }
.todo-icon { flex: 0 0 30px; height: 30px; border-radius: 8px; background: #f4f5f7; color: #747d89; display: grid; place-items: center; }
.todo-icon svg { width: 15px; height: 15px; }
.next-actions b { font-size: 12px; display: block; font-weight: 600; color: #454c57; }
.next-actions small { display: block; font-size: 11px; color: #9299a3; margin-top: 2px; }
.next-actions strong { margin-left: auto; font: 20px var(--jp-num-font); color: #505965; }
.next-actions > a > svg { margin-left: auto; }
.next-actions > button > svg, .next-actions > a > svg { color: #b0b6bf; }
.library-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.library-heading > div:first-child { display: flex; align-items: baseline; gap: 12px; }
.library-heading h2 { font-size: 16px; margin: 0; font-weight: 700; }
.library-heading #result-count { font-size: 11px; color: #8b929d; }
.library-tools { display: flex; align-items: center; gap: 10px; }
.library-tools select { height: 34px; width: 124px; background: #fff; }
.view-switch { height: 34px; }
.view-switch button { display: grid; place-items: center; height: 28px; padding: 0 9px; }
.workspace .library-filters { gap: 10px; }
.workspace .library-filters .input { background-color: #fff; }
.workspace .library-filters .search { width: 220px !important; }
.workspace .library-card { border-radius: 10px; }
.workspace .list-head, .workspace .drama-row { grid-template-columns: 42px minmax(0, 2.3fr) 100px minmax(0, 1.25fr) 70px 85px 16px; gap: 14px; }
.workspace .list-head { padding: 11px 20px; background: #fafbfc; font-size: 11px; }
.workspace .drama-row { padding: 16px 20px; }
.workspace .drama-row .cover { width: 42px; height: 60px; border-radius: 5px; }
.workspace .drama-row .cover.ph { background: #e9edf1; color: #84909d; text-shadow: none; box-shadow: none; font: 11px var(--jp-num-font); }
.workspace .drama-row .title b { font-size: 13px; }
.workspace .drama-row .title .en { font-size: 11px !important; }
.workspace .drama-row .title p { font-size: 11px; color: #9a9fa7; margin-top: 3px; }
.workspace .drama-row .book { font-size: 11px; padding: 1px 5px; color: #616e7d; background: #edf0f4; border-radius: 3px; }
.workspace .drama-row .prog .label { font-size: 11px; color: #9299a3; }
.workspace .drama-row .count b { font-size: 19px; }
.workspace .drama-row .count small { font-size: 11px; }
.workspace .group-head { padding: 12px 20px; font-size: 12px; background: #f8f9fb; }
.workspace .group-head .hint { font-size: 11px; }
.workspace .eps-bar i { border-radius: 1px; height: 5px; }
.source-details { margin-top: 18px; padding: 12px 0; font-size: 12px; color: #8b929c; }
.source-details summary { cursor: pointer; }
.source-details p { overflow-wrap: anywhere; padding: 8px 0; font-size: 12px; }
.is-grid .list-head { display: none; }
.is-grid #list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 16px; background: var(--page); }
.is-grid .group-head, .is-grid .empty { grid-column: 1 / -1; padding: 8px 0; background: none; border: 0; }
.workspace .is-grid .drama-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; background: #fff; border: 1px solid #e5e8ed; border-radius: 10px; padding: 18px; }
.is-grid .drama-row .title { align-self: center; }
.workspace .is-grid .drama-row .title b { display: block; line-height: 1.6; }
.workspace .is-grid .drama-row .title .en { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.is-grid .drama-row .title p { display: none; }
.is-grid .drama-row > :nth-child(3) { grid-column: 1 / 3; margin-top: 3px; }
.workspace .is-grid .drama-row > :nth-child(4) { grid-column: 1 / -1; display: block; }
.is-grid .drama-row > :nth-child(5) { grid-column: 3; grid-row: 1 / 3; text-align: right; }
.workspace .is-grid .drama-row > :nth-child(6), .workspace .is-grid .drama-row > :nth-child(7) { display: none; }
.workspace .is-grid .drama-row .hint { font-size: 11px; }
.quick-preview-body { display: block !important; }
.quick-preview { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 100%; }
.quick-preview .player video { width: 100%; max-height: 78vh; }
.preview-description { padding: 32px; }
.preview-description h3 { font-size: 20px; line-height: 1.6; margin: 20px 0 12px; }
.preview-description p { color: #737d89; line-height: 1.8; }
.preview-description dl { display: grid; grid-template-columns: 80px 1fr; row-gap: 14px; font-size: 13px; margin: 26px 0; }
.preview-description dt { color: #8b939d; }
.preview-description dd { margin: 0; }
.workspace .empty { gap: 12px; }
.workspace .empty .btn { margin-top: 12px; }
.showcase-disabled { cursor: not-allowed !important; opacity: .45; }
@media (min-width: 1600px) { .featured-copy { padding: 28px 32px; } .featured-frames { flex-basis: 38%; max-width: 300px; } .feature-frame { width: 115px; } .feature-frame + .feature-frame { margin-left: -40px; } }
@media (max-width: 1250px) {
  .workspace .list-head, .workspace .drama-row { grid-template-columns: 42px minmax(0, 1fr) 96px 60px; }
  .workspace .drama-row > :nth-child(4), .workspace .drama-row > :nth-child(6), .workspace .drama-row > :nth-child(7), .workspace .list-head > :nth-child(4), .workspace .list-head > :nth-child(6), .workspace .list-head > :nth-child(7) { display: none; }
  .workspace .drama-row > :nth-child(5) { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; }
  .overview-stage { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .featured-frames { flex-basis: 270px; }
  .next-actions { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 16px 20px; }
  .next-actions .section-title-row { width: 100%; margin-bottom: 4px; }
  .next-actions > button, .next-actions > a { flex: 1 1 190px; border: 0; }
  .workspace #tiles.tiles:not(.four) .tile { padding: 16px; }
}
@media (max-width: 900px) {
  .workspace-bar { position: static; padding: 0 20px; height: 48px; }
  .workspace .side { padding-top: 20px; }
  .workspace .side .brand { display: none; }
  .workspace .top .in { padding: 20px 20px 0; }
  .workspace .content { padding: 12px 20px 40px; }
  .showcase-notice { padding: 6px 20px; }
  .workspace .topbar .brand { margin: 0; }
  .workspace-status #workspace-date { display: none; }
  .nav-backdrop { position: fixed; inset: 56px 0 0; background: #1d253044; border: 0; z-index: 58; }
}
@media (max-width: 620px) {
  .workspace-bar { padding: 0 14px; gap: 10px; }
  .workspace .top .in { padding: 16px 14px 0; }
  .workspace .content { padding: 10px 14px 40px; }
  .showcase-notice { padding: 5px 14px; gap: 7px; }
  .showcase-notice .sn-full { display: none; }
  .showcase-notice .sn-short { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
  .workspace .top h1 { font-size: 21px; }
  .workspace #tiles.tiles:not(.four) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace #tiles.tiles:not(.four) .tile { padding: 14px; border-bottom: 1px solid #edf0f3; }
  .workspace .tile .value { font-size: 24px; }
  .workspace .tile .foot { font-size: 11px; line-height: 1.5; }
  .featured-work { min-height: 218px; }
  .featured-copy { padding: 22px 18px; }
  .featured-copy h2 { font-size: 20px; }
  .featured-facts { gap: 8px; max-width: 200px; margin: 12px 0; }
  .featured-facts span + span { padding-left: 8px; }
  .featured-copy .btn { padding: 0 10px; font-size: 12px; }
  .featured-frames { flex-basis: 95px; min-width: 95px; max-width: 95px; padding: 15px 12px 15px 0; }
  .feature-frame { width: 84px; border-width: 2px; }
  .featured-frames .frame-0, .featured-frames .frame-2 { display: none; }
  .featured-frames .frame-1 { margin-left: 0; transform: rotate(5deg); }
  .library-heading { align-items: flex-start; }
  .library-heading > div:first-child { flex-direction: column; gap: 3px; }
  .library-tools { gap: 6px; }
  .library-filters .seg { max-width: 100%; overflow-x: auto; white-space: nowrap; }
  .workspace .library-filters .search { width: 100% !important; }
  .workspace .library-filters .spacer { display: none; }
  .workspace .library-filters #f-grp { width: 100% !important; max-width: none !important; }
  .workspace .list-head { display: none; }
  .workspace .drama-row { grid-template-columns: 36px minmax(0,1fr) 56px; padding: 14px 12px; gap: 10px; }
  .workspace .drama-row .cover { width: 36px; height: 52px; }
  .workspace .drama-row > :nth-child(3) { grid-column: 2; }
  .workspace .drama-row > :nth-child(5) { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; grid-column: 3; grid-row: 1 / 3; text-align: right; }
  .workspace .drama-row .title b { font-size: 13px; }
  .workspace .group-head { padding: 10px 12px; flex-wrap: wrap; }
  .workspace .group-head .sum { margin-left: 0; }
  .workspace-location { gap: 8px; white-space: nowrap; overflow: hidden; }
  .workspace-location .ws-loc-prefix { display: none; }
  .workspace-status { gap: 8px; }
  .workspace .grid-3 { grid-template-columns: 1fr; }
  .workspace .field { min-width: 0 !important; max-width: 100%; }
  .workspace .row.wrap .seg { max-width: 100%; overflow-x: auto; }
  .workspace .row.wrap > .input { min-width: 0 !important; max-width: 100%; }
  .workspace .table { font-size: 12px; }
  .workspace .drawer .dh { flex-wrap: wrap; gap: 6px; }
  .workspace .drawer .dh .hint { max-width: 70%; overflow-wrap: anywhere; }
  .quick-preview { grid-template-columns: 1fr; }
  .quick-preview .player video { width: auto; max-width: 100%; height: 56vh; }
  .preview-description { padding: 24px; }
  .workspace .selbar { flex-wrap: wrap; max-width: 100%; }
}
@container workspace (max-width: 880px) {
  .workspace #tiles.tiles:not(.four) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workspace #tiles.tiles:not(.four) .tile { padding: 14px 16px; border-bottom: 1px solid #edf0f3; }
  .workspace #tiles.tiles:not(.four) .tile:nth-child(3n) { border-right: 0; }
  .workspace #tiles.tiles:not(.four) .tile:nth-child(n+4) { border-bottom: 0; }
  .workspace #tiles.tiles:not(.four) .tile:last-child { border-right: 1px solid #edf0f3; }
  .workspace #tiles.tiles.four { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@container workspace (max-width: 560px) {
  .workspace #tiles.tiles:not(.four) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace #tiles.tiles:not(.four) .tile { border-right: 1px solid #edf0f3; border-bottom: 1px solid #edf0f3; }
  .workspace #tiles.tiles:not(.four) .tile:first-child { grid-column: 1 / -1; border-right: 0; }
  .workspace #tiles.tiles:not(.four) .tile:nth-child(3),
  .workspace #tiles.tiles:not(.four) .tile:nth-child(5) { border-right: 0; }
  .workspace #tiles.tiles:not(.four) .tile:nth-child(4),
  .workspace #tiles.tiles:not(.four) .tile:nth-child(5) { border-bottom: 0; }
  .workspace #tiles.tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 投放准备（11-09）：四个数字 + 封面墙 ---------- */
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ptile { min-width: 0; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair-2); }
.ptile > div:last-child { min-width: 0; flex: 1; }
.ptile .pi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); }
.ptile .pi .i { width: 19px; height: 19px; }
.ptile small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptile b { display: block; font-size: 24px; line-height: 1.15; font-weight: 750; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ptile span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptile.good .pi { color: var(--good-ink); background: var(--good-wash); box-shadow: none; }
.ptile.warn .pi { color: var(--warn-ink); background: var(--warn-wash); box-shadow: none; }
.ptile.crit .pi { color: var(--crit-ink); background: var(--crit-wash); box-shadow: none; }
.pbar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; margin-top: 14px; background: var(--surface); }
.pbar i { display: block; height: 100%; }
.pbar i:first-child { border-radius: 99px 0 0 99px; } .pbar i:last-child { border-radius: 0 99px 99px 0; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 16px; margin-top: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--hair-2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pcard .pv { position: relative; aspect-ratio: 9 / 16; background: #1d1e21 center/cover no-repeat; }
.pcard .pv .tl { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.pcard .pv .code { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-size: 12px; font-weight: 650; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.pcard .alts { display: flex; gap: 6px; }
.pcard .alts button { width: 34px; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 5px; background: #333 center/cover; cursor: pointer; box-shadow: 0 0 0 1px var(--hair-2); opacity: .75; }
.pcard .alts button.on { box-shadow: 0 0 0 2px var(--ink); opacity: 1; }
.pcard .pb { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.pcard .issue { display: flex; gap: 6px; align-items: flex-start; color: var(--warn-ink); }
.pcard .issue.crit { color: var(--crit-ink); }
.pcard .issue .i { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.pcard .copy { border-top: 1px dashed var(--hair); padding-top: 8px; color: var(--ink-2); }
.pcard .copy .cl { font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.pcard .copy .ht { color: var(--muted); font-size: 11.5px; margin-top: 4px; }
@media (max-width: 980px) { .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard .alts { display: none; }
  .pcard .pb { padding: 9px 10px 11px; font-size: 11.5px; }
  .ptile { padding: 11px 12px; gap: 9px; } .ptile b { font-size: 20px; } .ptile .pi { width: 32px; height: 32px; }
}

/* ---------- 投放后台紧凑细化 ---------- */
.workspace .hero { gap: 16px; }
.workspace .hero .cover { width: 72px; height: 102px; border-radius: 8px; }
.workspace .hero h2 { font-size: 18px; }
.workspace .hero p { margin-top: 6px; font-size: 12.5px; max-width: 980px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.workspace .hero .facts { margin-top: 8px; gap: 6px; }
.workspace .tabs { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.workspace .tabs::-webkit-scrollbar { display: none; }
.workspace .tabs button { flex: 0 0 auto; white-space: nowrap; }
.workspace .life .st { min-width: 0; }
.workspace .life .st .h { white-space: nowrap; }
.workspace .mgrid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.workspace .mcard { min-width: 0; border-radius: 10px; box-shadow: none; }
.workspace .pgrid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.workspace .pcard { min-width: 0; box-shadow: none; border-radius: 10px; }
.workspace .ptile b { font-size: 26px; }
.workspace .banner { padding: 10px 14px; font-size: 12.5px; }
@container workspace (max-width: 860px) {
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace .life { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@container workspace (max-width: 560px) {
  .workspace .mgrid, .workspace .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ---------- 导航徽章与竞品实验室 ---------- */
.nav-test { font-style: normal; font-size: 10px; font-weight: 700; color: #8a5a00; background: #fff4d6; border-radius: 4px; padding: 0 4px; margin-left: 6px; vertical-align: 1px; }
.nav-new { font-style: normal; font-size: 10px; font-weight: 600; color: var(--jp-fg-3, #6b7079); background: var(--jp-surface-3, #f1f2f4); border: 1px solid var(--jp-hairline-strong, #dde0e5); border-radius: 6px; padding: 0 5px; line-height: 16px; display: inline-block; margin-left: 6px; vertical-align: 1px; }
.workspace .nav a.on .nav-new { background: #fff; color: var(--jp-joy-600, #d63f24); border-color: var(--jp-joy-200, #ffcdbd); }
.test-mark { display: inline-block; font-size: 11px; font-weight: 700; color: #8a5a00; background: #fff4d6; border-radius: 5px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lab-grid > .full { grid-column: 1 / -1; }
.lab-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.lab-tile { min-width: 0; background: #fff; border: 1px solid var(--jp-hairline, #e6e8eb); border-radius: 10px; padding: 12px 14px; }
.lab-tile small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lab-tile b { display: block; font-size: 26px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lab-tile span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.shelf .bk { border: 1px solid var(--jp-hairline, #e6e8eb); border-radius: 10px; padding: 10px 12px; background: #fff; }
.shelf .bk b { display: block; font-size: 13px; }
.shelf .bk small { color: var(--muted); font-size: 11.5px; }
.shelf .bk p { margin: 6px 0 0; font-size: 12px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 980px) { .lab-grid { grid-template-columns: minmax(0, 1fr); } }
.workspace .tile.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.workspace #per th.sortable[data-k] { cursor: pointer; }

/* ---------- 素材封面（表格第一列）和素材墙 ---------- */
.thumb-cell { position: relative; width: 34px; height: 60px; padding: 0; border: 0; border-radius: 5px; overflow: hidden; background: #1d1e21; cursor: pointer; display: block; }
.thumb-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-cell i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; background: rgba(0,0,0,.35); transition: opacity .15s; }
.thumb-cell:hover i, .thumb-cell.no-thumb i { opacity: 1; }
.vwall { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.vcard { border: 1px solid var(--jp-hairline, #e6e8eb); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.vcard .vv { position: relative; aspect-ratio: 9 / 16; background: #1d1e21 center/cover no-repeat; }
.vcard .vv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard .vv .tl { position: absolute; left: 8px; top: 8px; z-index: 2; }
.vcard .vv .big { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.vcard .vv .big b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.vcard .vv .big small { font-size: 11px; opacity: .9; }
.vcard .vb { padding: 8px 10px; font-size: 11.5px; color: var(--muted); }
.vcard .vb b { color: var(--ink); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container workspace (max-width: 1080px) { .vwall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container workspace (max-width: 560px) { .vwall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 投放数据第一层：一部剧一张卡 ---------- */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dcard { min-width: 0; display: flex; gap: 12px; background: #fff; border: 1px solid var(--jp-hairline, #e6e8eb); border-radius: 12px; padding: 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.dcard:hover { border-color: var(--ink); box-shadow: 0 4px 16px rgba(17, 24, 39, .08); }
.dc-cover { width: 84px; flex: none; aspect-ratio: 9 / 16; border-radius: 8px; background: #1d1e21 center/cover no-repeat; }
.dc-body { flex: 1; min-width: 0; }
.dc-body > b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-body > small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.dc-kpi span { display: block; min-width: 0; font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-kpi em { display: block; font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-verd { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.dc-verd .pill { font-size: 11px; }
@container workspace (max-width: 640px) { .dgrid { grid-template-columns: minmax(0, 1fr); } }
#crumb { margin-bottom: 4px; font-size: 13px; }
#crumb a { color: var(--jp-fg-3, #6b7079); }

/* 竞品榜：Foreplay × DataEye ADX 工具条、3:4 剧照墙与一键摘录 Brief */
.rivals-toolbar { display: flex; flex-direction: column; gap: 10px; padding: 11px 14px; background: #fff; }
.rivals-toolbar[hidden] { display: none !important; }
.rtb-top { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.rtb-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.rtb-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rtb-live-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: #eaf8f1; border: 1px solid #c3ebd7; color: #127848; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.rtb-sort button { height: 26px; padding: 0 10px; font-size: 12px; }
.rtb-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rtb-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 2px; border-top: 1px dashed #eceef2; }
.rtb-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border: 1px solid var(--jp-hairline, #e4e7ec); border-radius: 99px; background: #f8f9fb; color: var(--ink-2); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: background .14s, border-color .14s, color .14s; }
.rtb-chip small { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rtb-chip:hover { background: #fff; border-color: #bcc3ce; color: var(--ink); }
.rtb-chip.is-plat { background: #f3f7ff; border-color: #d6e3fb; color: #2656c7; }
.rtb-chip.on { background: #1d1d1d; border-color: #1d1d1d; color: #fff; }
.rtb-chip.on small { color: rgba(255,255,255,.72); }
.rtb-chip.is-plat.on { background: #2656c7; border-color: #2656c7; color: #fff; }

.r-live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px rgba(34, 197, 94, .28); flex-shrink: 0; animation: r-pulse 2.2s ease-in-out infinite; }
@keyframes r-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .65; transform: scale(.86); } }
@media (prefers-reduced-motion: reduce) { .r-live-dot { animation: none; } }

.rtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.rtabs button { height: 30px; padding: 0 12px; border: 1px solid var(--jp-hairline, #e6e8eb); border-radius: 15px; background: #fff; color: var(--ink-2); font-size: 12.5px; cursor: pointer; }
.rtabs button small { margin-left: 5px; color: var(--muted); font-size: 11px; }
.rtabs button.on { background: #1d1d1d; border-color: #1d1d1d; color: #fff; }
.rtabs button.on small { color: rgba(255,255,255,.7); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(166px, 1fr)); gap: 16px 14px; }
.rcard { display: flex; flex-direction: column; gap: 5px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
.rcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.rcard b { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; }
.rcard small { color: var(--muted); font-size: 11.5px; min-height: 16px; }
.rpw { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.rp { position: relative; aspect-ratio: 3 / 4; background: linear-gradient(160deg, #3a3d44, #1d1e21); overflow: hidden; }
.rp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.rp em { display: none; position: absolute; inset: auto 10px 34px; color: #fff; font-style: normal; font-weight: 700; font-size: 14px; line-height: 1.3; }
.rp.noimg img { display: none; }
.rp.noimg em { display: block; }
.rcard:hover .rp img { transform: scale(1.05); }
.rpw::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(0,0,0,.68)); pointer-events: none; }
.r-fp-tl { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; z-index: 2; pointer-events: none; }
.rk { min-width: 21px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; background: rgba(18,20,26,.84); color: #fff; font-weight: 800; font-size: 11.5px; border-radius: 5px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.rk.top { background: #e8492f; }
.r-live-pill { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 99px; background: rgba(15, 22, 28, .82); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.16); color: #eefdf4; font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.r-live-pill.is-drawer { height: 24px; padding: 0 10px; background: #eaf8f1; border-color: #bde8d2; color: #127848; font-size: 11.5px; backdrop-filter: none; }
.rup { position: absolute; top: 30px; right: 6px; padding: 1px 6px; border-radius: 9px; background: rgba(255,255,255,.92); color: var(--good-ink); font-size: 10.5px; font-weight: 700; z-index: 2; }
.rv { position: absolute; left: 7px; bottom: 7px; display: flex; align-items: center; gap: 3px; color: #fff; font-size: 11.5px; font-weight: 700; z-index: 2; }
.r-plat-tag { position: absolute; right: 6px; bottom: 7px; padding: 1px 5px; border-radius: 4px; background: rgba(15, 18, 24, .72); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.9); font-size: 9.5px; font-weight: 700; z-index: 2; pointer-events: none; }
.rtags { display: flex; flex-wrap: wrap; gap: 4px; }
.rtags i { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 9px; background: var(--jp-surface-2, #f3f4f6); color: var(--ink-2); border: 1px solid var(--jp-hairline, #e6e8eb); }
.rtags.big i { font-size: 12px; padding: 2px 9px; }
.rcard-foot { margin-top: auto; padding-top: 4px; }
.r-brief-btn { width: 100%; height: 27px; padding: 0 8px; border: 1px solid #e2e5ea; border-radius: 6px; background: #f8f9fb; color: var(--ink-2); font: inherit; font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; transition: background .14s, border-color .14s, color .14s; }
.r-brief-btn .i { width: 12px; height: 12px; flex-shrink: 0; }
.r-brief-btn:hover { background: var(--jp-sel-bg, #eef0f3); border-color: var(--jp-sel-border, #cfd3da); color: var(--jp-fg, #1d1d1d); }
.r-brief-btn.is-copied, .r-detail-brief.is-copied { background: #18915a !important; border-color: #18915a !important; color: #fff !important; }
.r-empty-filter { grid-column: 1 / -1; padding: 28px 14px; text-align: center; color: var(--muted); font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fafbfc; border: 1px dashed #e2e5ea; border-radius: 8px; }
.poster-cell { display: block; width: 42px; padding: 0; border: 0; border-radius: 5px; overflow: hidden; cursor: pointer; background: none; }
.poster-cell .rp em { font-size: 8px; inset: auto 3px 3px; }
.linkish { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: inherit; cursor: pointer; text-align: left; }
.linkish:hover { color: #e8492f; }
.rdetail { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 20px; align-items: start; }
.rdetail-status { margin-bottom: 10px; }
.rdetail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rdetail-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.rdp .rp { border-radius: 10px; }
.rdesc { margin: 12px 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.rdesc p { margin: 0 0 10px; }
.rdesc h4 { margin: 16px 0 6px; font-size: 14px; font-weight: 700; color: #1d1d1d; }
.rdesc h4:first-child { margin-top: 0; }
.rfacts { display: grid; grid-template-columns: 76px 1fr; gap: 7px 12px; margin: 0 0 16px; font-size: 13px; }
.rfacts dt { color: var(--muted); }
.rfacts dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .rdetail { grid-template-columns: 1fr; } .rdp { max-width: 220px; } .rgrid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); } }

/* 登录页（11-10 改版）：左边一面素材画面墙慢慢滚，右边白底登录；浅灰底、墨字、红只点缀 */
main.lg { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, 1fr); background: #f4f5f7; }
.lg-wall { position: relative; overflow: hidden; }
.lg-cols { position: absolute; inset: -60px -20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 16px; transform: rotate(-6deg) scale(1.15); }
.lg-col { display: flex; flex-direction: column; gap: 16px; animation: lg-up 80s linear infinite; will-change: transform; }
.lg-col:nth-child(2) { animation-duration: 95s; animation-direction: reverse; margin-top: -120px; }
.lg-col:nth-child(3) { animation-duration: 70s; margin-top: -60px; }
.lg-col:nth-child(4) { animation-duration: 105s; animation-direction: reverse; margin-top: -180px; }
.lg-col img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 24px rgba(20, 22, 26, .16); background: #e6e8eb; }
@keyframes lg-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .lg-col { animation: none; } }
.lg-wall::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 245, 247, 0) 62%, rgba(244, 245, 247, .85) 92%, #f4f5f7 100%),
              linear-gradient(180deg, rgba(244, 245, 247, .7) 0, rgba(244, 245, 247, 0) 14%, rgba(244, 245, 247, 0) 86%, rgba(244, 245, 247, .7) 100%); }
.lg-panel { position: relative; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 36px 48px 28px; background: #fff; border-left: 1px solid var(--jp-hairline, #e6e8eb); box-shadow: -18px 0 40px rgba(20, 22, 26, .05); }
.lg-logo { height: 30px; width: auto; justify-self: start; }
.lg-form { align-self: center; width: min(360px, 100%); display: flex; flex-direction: column; gap: 16px; }
.lg-kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #e8492f; }
.lg-form h1 { margin: -6px 0 0; font-size: 34px; line-height: 1.15; font-weight: 800; color: #1d1d1d; letter-spacing: -.01em; }
.lg-steps { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-size: 12.5px; font-weight: 600; color: #6b7079; }
.lg-steps span { padding: 3px 10px; border-radius: 999px; background: #f4f5f7; border: 1px solid var(--jp-hairline, #e6e8eb); }
.lg-steps i { width: 18px; height: 1px; background: #c5c9d0; }
.lg-form .field label { font-size: 12.5px; font-weight: 600; color: #3c4048; }
.lg-form .input { height: 44px; font-size: 14.5px; border-radius: 10px; }
.lg-pw { position: relative; }
.lg-pw .input { width: 100%; padding-right: 62px; }
.lg-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #6b7079; font-size: 12.5px; cursor: pointer; }
.lg-pw button:hover { background: #f4f5f7; color: #1d1d1d; }
.workspace .lg-go { height: 46px; margin-top: 6px; font-size: 15px; font-weight: 700; border-radius: 10px; }
.lg-go:disabled { opacity: .6; }
.lg-foot { font-size: 12px; color: #8a8f98; }
@media (max-width: 860px) {
  main.lg { grid-template-columns: 1fr; grid-template-rows: 210px 1fr; }
  .lg-cols { inset: -30px -10px; transform: rotate(-4deg) scale(1.05); gap: 10px; padding: 0 10px; }
  .lg-col { gap: 10px; }
  .lg-wall::after { background: linear-gradient(180deg, rgba(244, 245, 247, 0) 55%, #fff 100%); }
  .lg-panel { border-left: 0; box-shadow: none; padding: 20px 22px 22px; grid-template-rows: auto 1fr; }
  .lg-form { align-self: start; }
  .lg-foot { align-self: end; padding-top: 24px; }
  .lg-logo { height: 26px; margin-bottom: 10px; }
  .lg-form h1 { font-size: 28px; }
}
.side-collapse-btn { margin-right: -4px; color: #6b7079; }
@media (min-width: 901px) {
  body.side-collapsed .app { grid-template-columns: minmax(0, 1fr); }
  body.side-collapsed .side { display: none; }
  body.side-collapsed .collapsed-brand { display: inline-flex; }
  body.workspace.side-collapsed .top .in,
  body.workspace.side-collapsed .content { max-width: 1840px; }
  .nav-backdrop { display: none !important; }
}
@media (max-width: 900px) {
  .side-collapse-btn { display: none; }
}
