@layer tt-override;
@import url("/phone-case/styles/collector-page.css?v=collector-guest-20261116");
@import url("/phone-case/styles/platinum-theme.css?v=task-detail-header-20261105");
/* The original stylesheet owns visuals. These rules affect only local input
   previews and event states absent from the static DOM capture. */
.studio-overlays:empty { display:none; }
/* Suppress all workspace floating notices above task dialogs. */
.studio-message { display:none !important; }
.studio-upload-image { position:relative; display:inline-flex; flex-direction:column; width:72px; margin:0 6px 8px 0; }
.studio-upload-image img { height:72px; object-fit:contain; border-radius:4px; }
.studio-upload-image button { height:24px; padding:0 4px; font-size:12px; }
.studio-overlays .ant-slider { touch-action:none; cursor:pointer; }
/* Tool forms also carry data-tool-index; only tool cards are clickable. */
[data-tool-index]:not([data-studio-layer]) { cursor:pointer; }
.studio-overlays [data-studio-layer] { cursor:default; }
.studio-overlays .ant-radio-input, .studio-overlays .ant-checkbox-input { cursor:pointer; }
.studio-overlays input[type=file] { display:none; }
[data-file-id] { cursor:pointer; }
[data-phone-case-quote] { color:rgba(255,255,255,.65); font-size:12px; margin-bottom:12px; text-align:left; }
[data-view="space"] .ant-select-show-search:has([data-phone-case-owner]) {min-width:160px;flex-shrink:0;}
.studio-overlays [data-studio-layer] > .ant-modal-root ~ .ant-modal-root { position:relative; z-index:1001; }
/* Captured forms use AntD's 100px top offset. In short windows, keep the
   complete form inside the viewport and let its body own scrolling. */
@media (max-height:700px) {
 .studio-overlays [data-studio-layer][data-tool-index] .ant-modal {top:16px;padding-bottom:16px;}
 .studio-overlays [data-studio-layer][data-tool-index] .ant-modal-content {display:flex;flex-direction:column;max-height:calc(100dvh - 32px);}
 .studio-overlays [data-studio-layer][data-tool-index] .ant-modal-header {flex-shrink:0;}
 .studio-overlays [data-studio-layer][data-tool-index] .ant-modal-body {min-height:0;overflow-y:auto;}
}
/* The source picker fixes both tab content and modal body at >=500px. Keep
   its normal layout; let the tab owner size its content in shorter windows. */
@media (max-height:603px) {
 .studio-overlays [data-studio-layer="task-space-picker"] ._Dialog_zvk42_1 .ant-modal-body {min-height:0;}
 .studio-overlays [data-studio-layer="task-space-picker"] .ant-tabs-content-holder {display:flex;}
 .studio-overlays [data-studio-layer="task-space-picker"] .ant-tabs-content,
 .studio-overlays [data-studio-layer="task-space-picker"] .ant-tabs-tabpane,
 .studio-overlays [data-studio-layer="task-space-picker"] ._Wrapper_10fdw_1 {height:100%;min-height:0;}
}

/* Keep the task action visible on ordinary laptop screens as well as phones. */
.studio-overlays [data-studio-layer][data-tool-index] .ant-modal {top:24px;padding-bottom:24px;}
.studio-overlays [data-studio-layer][data-tool-index] .ant-modal-content {display:flex;flex-direction:column;max-height:calc(100dvh - 48px);}
.studio-overlays [data-studio-layer][data-tool-index] .ant-modal-header,
.studio-overlays [data-studio-layer][data-tool-index] .ant-modal-footer {flex-shrink:0;}
.studio-overlays [data-studio-layer][data-tool-index] .ant-modal-body {min-height:0;overflow-y:auto;overscroll-behavior:contain;}
.studio-overlays [class*="_Info_a5cbj_"]:has(.studio-upload-image) {display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:12px;padding:16px;width:100%;}
.studio-upload-image {width:132px;margin:0;padding:8px;background:#242424;border:1px solid #414141;border-radius:8px;gap:4px;max-width:100%;}
.studio-upload-image img {width:100%;height:116px;display:block;background:#151515;border-radius:5px;}
.studio-upload-name {font-size:12px;color:#ddd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;}
.studio-upload-saved {font-size:11px;color:#81cf9c;}
.studio-upload-state {font-size:11px;color:#efb38e;}
.studio-upload-pending {border-color:#bb7347;}
.studio-upload-pending img {opacity:.75;}
.studio-upload-image button {height:28px;align-self:flex-end;color:#bbb;}
.studio-task-all {width:100%;margin-top:8px;}
img[data-workspace-image] {background:#252525;object-fit:contain;}
img[data-image-state="error"] {font-size:11px;color:#ccc;overflow:hidden;}
.studio-overlays .phone-task-details {position:relative;z-index:1100;}
@media(max-width:600px){.studio-upload-image{width:112px;}.studio-upload-image img{height:100px;}}
.studio-task-card {display:flex;align-items:center;gap:16px;width:100%;min-width:240px;min-height:116px;padding:16px;margin:0 0 12px;background:#202020;border:1px solid #3c3c3c;border-radius:10px;cursor:pointer;text-align:left;}
.studio-task-card:hover {border-color:#cf7546;background:#272321;}
.studio-task-card>img {width:88px;height:88px;border-radius:6px;flex-shrink:0;}
.studio-task-card>div {display:flex;flex-direction:column;gap:6px;min-width:0;}
.studio-task-card-status {font-size:13px;color:#efb38e;}
.studio-task-card small {font-size:12px;color:#999;}
.studio-task-card-action {font-size:13px;color:#ddd;}
.pc-detail-advanced {margin:20px 0;color:#aaa;font-size:13px;}
.pc-detail-advanced summary {cursor:pointer;padding:10px 0;}
.ant-table-cell:has([data-task-download]) {white-space:nowrap;}
.ant-table-cell [data-task-download] {margin-left:8px;}
.studio-overlays [class*="_Container_a5cbj_"]:has(.studio-upload-image) {height:auto;min-height:190px;overflow:visible;cursor:default;}
.studio-overlays [class*="_Content_a5cbj_"]:has(.studio-upload-image) {height:auto;padding:12px;justify-content:flex-start;box-sizing:border-box;cursor:default;}
.studio-overlays [class*="_Info_a5cbj_"]:has(.studio-upload-image) {padding:0;box-sizing:border-box;max-height:280px;overflow-y:auto;flex-shrink:0;}
.studio-upload-image {box-sizing:border-box;flex-shrink:0;}
.studio-overlays button[data-upload-blocked],.studio-overlays button[aria-busy="true"] {opacity:.55;cursor:wait;}

/* Extraction keeps the source dialog proportions and compact selected images.
   Larger asset cards remain appropriate in the other tool forms. */
.studio-overlays [data-extract-visual][data-tool-index] .ant-modal {top:24px;padding-bottom:24px;}
.studio-overlays [data-extract-visual][data-tool-index] .ant-modal-content {max-height:calc(100dvh - 48px);}
.studio-overlays [data-extract-visual][data-tool-index] [data-extract-preference-status]:empty {display:none;}
.studio-overlays [data-extract-visual][data-tool-index] [class*="_Container_a5cbj_"]:has(.studio-upload-image) {height:136px;min-height:136px;overflow:hidden;}
.studio-overlays [data-extract-visual][data-tool-index] [class*="_Content_a5cbj_"]:has(.studio-upload-image) {height:80px;padding:16px;justify-content:center;}
.studio-overlays [data-extract-visual][data-tool-index] [class*="_Info_a5cbj_"]:has(.studio-upload-image) {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:0;width:auto;max-width:100%;max-height:72px;overflow:visible;}
.studio-extract-thumbnail {position:relative;display:inline-flex;width:32px;height:32px;padding:0;margin:0;border:1px solid #ddd;border-radius:4px;background:transparent;gap:0;overflow:visible;}
.studio-extract-thumbnail img {width:30px;height:30px;object-fit:cover;border-radius:3px;background:transparent;}
.studio-extract-thumbnail button {position:absolute;top:-7px;right:-7px;width:14px;min-width:14px;height:14px;padding:3px;border:0;border-radius:50%;background:#484848;color:#ddd;line-height:8px;display:flex;align-items:center;justify-content:center;}
.studio-extract-thumbnail button svg {width:8px;height:8px;}
.studio-overlays [data-extract-visual][data-tool-index] [data-phone-case-quote][role="status"] {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(max-height:650px){
 .studio-overlays [data-extract-visual][data-tool-index] .ant-modal {top:16px;padding-bottom:16px;}
 .studio-overlays [data-extract-visual][data-tool-index] .ant-modal-content {max-height:calc(100dvh - 32px);}
}

.studio-overlays [data-extract-visual][data-tool-index] .studio-upload-pending {width:32px;height:32px;padding:0;border-radius:4px;}
.studio-overlays [data-extract-visual][data-tool-index] .studio-upload-pending img {width:30px;height:30px;}
.studio-overlays [data-extract-visual][data-tool-index] .studio-upload-pending .studio-upload-name {display:none;}
.studio-overlays [data-extract-visual][data-tool-index] .studio-upload-state {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}

.studio-overlays [data-extract-visual][data-tool-index] .studio-extract-thumbnail button {position:absolute;z-index:10;top:-6px;right:-6px;bottom:auto;left:auto;width:12px;min-width:12px;height:12px;min-height:12px;padding:2px;border:0;border-radius:50%;background:#424242;color:#ffffffd9;font-size:8px;line-height:8px;display:flex;align-items:center;justify-content:center;box-shadow:none;}
.studio-overlays [data-extract-visual][data-tool-index] .studio-extract-thumbnail img {object-fit:cover;}

.studio-overlays [data-extract-visual][data-tool-index] [class*="_Info_a5cbj_"]:has(.studio-extract-thumbnail:nth-child(n+13)) {overflow:auto;padding:6px;}

/* Task activity belongs to state, never to a captured decorative image. */
[data-workspace-action=tasks]{position:relative}
[data-workspace-action=tasks]>[data-task-center-badge]{position:absolute;top:0;right:3px;min-width:16px;height:16px;padding:0 3px;box-sizing:border-box;border:2px solid #2c2833;border-radius:20px;display:inline-flex;align-items:center;justify-content:center;background:#dc8647;color:#fff;font:600 10px/12px -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;pointer-events:none;white-space:nowrap;z-index:1}

/* The legacy artwork contains a permanent check; use a plain icon and let state own the badge. */
[data-workspace-action=tasks]>img{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%223%22%20width%3D%228%22%20height%3D%224%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M8%205H6a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7a2%202%200%200%200-2-2h-2M8%2012h8M8%2016h5%22%2F%3E%3C%2Fsvg%3E")!important}

/* Keep the new-task plus icon optically centered on its label. */
[data-batch-page=center] [data-batch-action="new"]{display:inline-flex;align-items:center;justify-content:center}
[data-batch-page=center] [data-batch-action="new"]>.anticon{display:inline-flex;align-items:center;justify-content:center;line-height:1;vertical-align:middle}


/* Center the product-category chevron on its label. */
[data-homepage-category] .ant-select-arrow{display:flex;align-items:center;justify-content:center}
[data-homepage-category] .ant-select-arrow>.anticon{display:flex;align-items:center;justify-content:center;line-height:1;vertical-align:middle}
[data-homepage-category] .ant-select-arrow svg{display:block;vertical-align:middle}

/* Product category: fit the slot to its label instead of a fixed 66px gap. */
@layer tt-override {
  :host div:has(> [data-homepage-navigation-product]){width:auto!important}
  :host [data-homepage-navigation-product]{width:auto!important;min-width:0!important}
}

/* Task list now lives in the top navigation. */
[data-product-history]{display:none!important}

/* Keep the compact mobile header at four tabs; the floating task-centre entry stays. */
@media(max-width:600px){
  [data-studio-nav-task-list]{display:none!important}
}

/* Keep breathing room before the workspace controls on laptop widths. */
@media(min-width:601px) and (max-width:1150px){
  [class*="_Content_kvgh3_"] [class*="_Item_kvgh3_"]{font-size:16px!important;padding-left:6px!important;padding-right:6px!important}
}

/* Keep all five desktop navigation entries in one evenly spaced group. */
@media(min-width:601px){
  [class*="_Content_kvgh3_"]>div:has(>[data-studio-nav-task-list]){gap:8px}
  [class*="_Content_kvgh3_"]>div:has(>[data-studio-nav-task-list])>[class*="_Separator_kvgh3_"]{display:none}
}

/* Tablet navigation shows five entries in one row. */
@media(min-width:601px) and (max-width:800px){
  [class*="_Content_kvgh3_"]:has([data-studio-nav-task-list]){grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Remove retired home header entries, including the bundled shell on existing previews. */
[data-homepage-source-header] [class*="_RightGroup_1xe1y_"],
[data-homepage-source-header] [class*="_OuterDivider_1xe1y_"] { display:none!important; }

/* Separate creation/discovery navigation from personal tasks and assets. */
@media(min-width:801px){
 [class*="_Content_kvgh3_"] [class*="_Separator_kvgh3_"]{display:block!important;width:1px;height:20px;min-width:1px;flex:0 0 1px;margin:0 20px;background:#c7cbd1;align-self:center}
}
@media(max-width:800px){
 [class*="_Content_kvgh3_"]{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Ratio actions stay above a consistently ordered two-column preset grid. */
[data-ratio-menu]{width:344px;max-width:calc(100vw - 16px);max-height:calc(100vh - 24px);overflow-y:auto;box-sizing:border-box}
[data-ratio-menu]>[role="menuitemradio"]{width:100%;box-sizing:border-box}
[data-ratio-menu] [class*="_OptionGrid2Col_"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}
[data-ratio-menu] [role="menuitemradio"]:focus-visible{outline:2px solid #3355e0;outline-offset:-2px}
[data-ratio-editor]{min-width:0!important;max-width:calc(100vw - 16px);z-index:1100}
[data-ratio-editor] [class*="_Custom_1pj7i_"]{display:flex;align-items:center;gap:4px;padding:10px;border:1px solid #e2e9f2;border-radius:8px;box-shadow:0 6px 24px #0f172a24;box-sizing:border-box;max-width:calc(100vw - 16px)}
[data-ratio-editor] input{width:72px;min-width:0}
[data-ratio-editor] [role="button"]{cursor:pointer;flex-shrink:0}

/* Upload choices are a floating menu anchored to the upload button, not a footer row. */
.studio-extract-upload-menu{position:absolute;z-index:1100;display:flex;flex-direction:column;min-width:140px;padding:4px;margin:0;border:1px solid #e2e9f2;border-radius:8px;background:#fff;color:#0f172a;box-shadow:0 6px 24px #0f172a24}
.studio-extract-upload-menu button{display:block;width:100%;padding:8px 12px;border:0;border-radius:4px;background:transparent;color:inherit;text-align:left;font:inherit;font-size:12px;line-height:20px;cursor:pointer;white-space:nowrap}
.studio-extract-upload-menu button:hover,.studio-extract-upload-menu button:focus-visible{background:#eef2fe;color:#3355e0;outline:none}

@layer tt-override {
/* Task table operations are text actions, not default white Ant buttons. */
:host [data-batch-page=center] .batch-task-table .batch-list-actions>.ant-btn{display:block;width:max-content;min-width:0;height:24px;min-height:24px;margin:0 0 6px;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#3355e0!important;font-size:12px;line-height:24px;text-align:left}
:host [data-batch-page=center] .batch-task-table .batch-list-actions>.ant-btn:last-child{margin-bottom:0}
:host [data-batch-page=center] .batch-task-table .batch-list-actions>.ant-btn:not(:disabled):hover{background:transparent!important;color:#2846c4!important;text-decoration:underline;text-underline-offset:3px}
:host [data-batch-page=center] .batch-task-table .batch-list-actions>.ant-btn:focus-visible{outline:2px solid #3355e0;outline-offset:3px;border-radius:2px}
:host [data-batch-page=center] .batch-task-table .batch-list-actions>.ant-btn:disabled{background:transparent!important;color:#9aa0ac!important;cursor:not-allowed;text-decoration:none}

}

@layer tt-override {

/* Task-center type labels should blend into their row. */
:host [data-batch-page=center] .batch-task-table .batch-tag{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;color:inherit!important}


/* Restore the original selected-image popup; never add a footer row. */
/* Source upload summary: three thumbnails, one count, no growing thumbnail row. */
.studio-overlays :is([data-extract-visual],[data-compact-upload]) .studio-extract-info{position:relative!important;display:flex!important;align-items:center;justify-content:center;max-height:none!important;overflow:visible!important;flex-wrap:nowrap!important}
.studio-overlays :is([data-extract-visual],[data-compact-upload]) [class*="_Content_a5cbj_"]{position:relative}
.studio-extract-summary{position:relative;height:42px;background:#ffffff21;border:1px solid #ffffff14;backdrop-filter:blur(10px);border-radius:6px;padding:4px;box-sizing:border-box}
.studio-extract-summary-open{display:flex;align-items:center;gap:6px;border:0;background:none;padding:0;height:32px;color:#ddd;cursor:pointer;font-size:10px}
.studio-extract-count{padding:0 4px;white-space:nowrap;height:32px;display:flex;align-items:center;min-width:32px;border-radius:4px;background:#0006;color:#fff;font-family:"PingFang SC"}
.studio-extract-clear{position:absolute;right:-6px;top:-6px;width:12px;height:12px;border:0;border-radius:50%;background:#424242;color:#ddd;padding:0;font-size:12px;line-height:12px;cursor:pointer}
.studio-overlays :is([data-extract-visual],[data-compact-upload]) .studio-extract-info .studio-extract-thumbnail{box-sizing:border-box;padding:0;margin:0;display:block;width:32px;height:32px;min-width:32px;border:1.5px solid #fff;border-radius:4px;overflow:hidden}
.studio-overlays :is([data-extract-visual],[data-compact-upload]) .studio-extract-info .studio-extract-thumbnail img{display:block;width:100%;height:100%;border-radius:0;object-fit:cover}
.studio-overlays :is([data-extract-visual],[data-compact-upload]) [class*="_Content_a5cbj_"]:has(.studio-extract-summary){height:80px;padding:16px;justify-content:center}
.studio-overlays :is([data-extract-visual],[data-compact-upload]) [class*="_Container_a5cbj_"]:has(.studio-extract-summary){height:136px;min-height:136px}
.studio-extract-selection{position:absolute;top:50px;left:50%;transform:translateX(-50%);z-index:1100;display:flex;flex-wrap:wrap;gap:12px;max-height:220px;overflow:auto;width:320px;padding:16px;background:#222;border:1px solid #424242;border-radius:6px;box-shadow:0 6px 20px #0008}.studio-extract-selection .studio-extract-thumbnail{overflow:visible!important}.studio-extract-selection-close{width:100%;background:none;border:0;color:#ddd;cursor:pointer;font-size:12px;padding:4px}
.studio-extract-selection .studio-extract-thumbnail{box-sizing:border-box;padding:0;margin:0;position:relative;display:block;width:32px;height:32px;flex-shrink:0;border:1.5px solid #fff;border-radius:4px}.studio-extract-selection img{display:block;width:100%;height:100%;border-radius:2.5px;object-fit:cover}.studio-extract-remove{position:absolute;top:-6px;right:-6px;width:12px;height:12px;border:0;border-radius:50%;padding:0;background:#424242;color:#ddd;font:12px/12px sans-serif;cursor:pointer}
.studio-extract-summary{background:rgba(15,23,42,.04);border-color:#e2e9f2}.studio-extract-summary-open{color:#0f172a}.studio-extract-count{background:#f2f5fa;color:#0f172a}.studio-extract-clear,.studio-extract-remove{background:#f9fbfd;color:#0f172a}.studio-extract-selection{background:#fff;border-color:#e2e9f2;box-shadow:0 6px 20px #0f172a17}.studio-extract-selection-close{color:#0f172a}.studio-extract-selection .studio-extract-thumbnail{border-color:#e2e9f2}
}

/* Configured extraction uses stable settings and accessible narrow layouts. */
.studio-overlays [data-config-extract-settings] input[type="radio"]{margin:0;accent-color:#3355e0}
.studio-overlays [data-extract-mode-card]:focus-visible,.studio-overlays [aria-label="选择尺寸比例"]:focus-visible{outline:2px solid #3355e0;outline-offset:3px}
@media(max-width:600px){
 .studio-overlays [data-extract-visual][data-tool-index] .ant-modal{top:12px;width:calc(100vw - 24px)!important;padding-bottom:12px}
 .studio-overlays [data-extract-visual][data-tool-index] .ant-modal-content{max-height:calc(100dvh - 24px)}
 .studio-overlays [data-extract-categories-layout]{flex-direction:column!important;gap:12px!important}
 .studio-overlays [data-extract-categories-layout]>:first-child{width:100%!important;min-width:0!important;border-right:0!important}
 .studio-overlays [data-extract-categories-layout]>:last-child{width:100%!important;min-width:0!important}
 .studio-overlays [data-extract-categories-layout] [class*="_Options_b4web_"]{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px;overflow-x:auto;white-space:nowrap;padding-bottom:6px}
 .studio-overlays [data-extract-categories-layout] [class*="_Options_b4web_"]>button{flex:0 0 auto;width:auto!important;margin:0!important}
 .studio-overlays [data-extract-mode-group]{grid-template-columns:1fr!important}
 .studio-overlays [data-extract-mode-card]{height:auto!important;min-height:72px!important}
}

/* Task center on phones: "新建任务" gets its own row, every filter spans the full row. */
@media(max-width:600px){
  [data-batch-page=center] div:has(>.batch-task-filters){flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  [data-batch-page=center] div:has(>.batch-task-filters)>[data-batch-action="new"]{width:100%;height:40px;min-height:40px}
  [data-batch-page=center] .batch-task-filters{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px!important;width:100%}
  [data-batch-page=center] .batch-task-filters>*,[data-batch-page=center] .batch-task-filters>.ant-picker-range{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box}
  [data-batch-page=center] .batch-task-filters>.task-select,[data-batch-page=center] .batch-task-filters>.ant-picker{flex-shrink:1}
  [data-batch-page=center] .batch-task-filters>input,[data-batch-page=center] .batch-task-filters .task-select-trigger,[data-batch-page=center] .batch-task-filters>.ant-picker{height:40px!important}
  [data-batch-page=center] .batch-task-filters>.ant-btn{height:40px!important;min-height:40px!important;margin:0}
  /* Taller filter stack: let the page scroll instead of squeezing the task table. */
  [data-batch-page=center]{height:auto!important;min-height:calc(100dvh - 64px)}
  [data-batch-page=center]>.batch-task-table{flex:none!important;overflow-y:visible!important}
}

/* The picker owns one scrollable grid; filters and actions never scroll away. */
.studio-overlays [data-paged-picker] .ant-modal-wrap::before {display:none!important;}
.studio-overlays [data-paged-picker] .ant-modal {display:block!important;margin:0 auto!important;width:min(1200px,calc(100vw - 48px))!important;max-width:none;top:24px!important;padding-bottom:0!important;}
.studio-overlays [data-paged-picker] .ant-modal-content {height:min(820px,calc(100dvh - 96px));padding:0!important;overflow:hidden;border-radius:14px;}
.studio-overlays [data-paged-picker] .ant-modal-body {height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important;}
.space-picker {display:flex;flex-direction:column;height:100%;min-height:0;color:var(--colorText,#1a1d24);background:var(--colorBgContainer,#fff);}
.space-picker-heading {display:flex;align-items:center;gap:24px;padding:18px 56px 18px 24px;border-bottom:1px solid var(--colorBorder,#eceef2);flex-shrink:0;}
.space-picker-heading strong {font-size:18px;white-space:nowrap;}
.space-picker-heading [class*='_Header_10fdw_'] {height:auto!important;padding:0!important;gap:10px;}
.space-picker-filters {display:flex;gap:10px;flex-wrap:wrap;padding:18px 24px 10px;flex-shrink:0;}
.space-picker-filters input,.space-picker select {min-width:0;height:36px;padding:0 10px;border:1px solid var(--colorBorder,#d9dce3);border-radius:6px;color:inherit;background:transparent;}
.space-picker-filters input[type=search] {flex:1;min-width:180px;}
.space-picker-filters select {width:160px;flex:none;}
.space-picker-filters input:not([type=search]) {width:160px;}
.space-picker-selection {display:flex;align-items:center;gap:16px;padding:0 24px 12px;flex-shrink:0;font-size:13px;}
.space-picker-selection label {display:flex;align-items:center;gap:7px;white-space:nowrap;}
.space-picker-selection [role=status] {margin-left:auto;color:var(--colorTextSecondary,#687080);}
.space-picker input[type=checkbox] {accent-color:var(--colorPrimary,#3355e0);width:17px;height:17px;cursor:pointer;}
.space-picker-grid {min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));align-content:start;gap:16px;padding:8px 24px 20px;}
.space-picker-card {position:relative;min-width:0;display:flex;flex-direction:column;gap:7px;border:2px solid transparent;border-radius:9px;padding:5px;cursor:pointer;}
.space-picker-card:hover {background:var(--colorFillTertiary,#f6f7f9);}
.space-picker-card.is-selected {border-color:var(--colorPrimary,#3355e0);background:var(--colorPrimaryBg,#eef2ff);}
.space-picker-image {position:relative;aspect-ratio:1;min-height:0;}
.space-picker-image [data-workspace-image-retry] {position:absolute;inset:0;width:100%;font-size:12px;padding:10px;white-space:normal;border:0;background:var(--colorFillTertiary,#f3f4f6);color:var(--colorTextSecondary,#687080);}
.space-picker-card img {width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:5px;background:var(--colorFillTertiary,#f3f4f6);}
.space-picker-card input {position:absolute;top:12px;left:12px;}
.space-picker-card > span {font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.space-picker-empty {grid-column:1/-1;text-align:center;padding:60px 12px;color:var(--colorTextSecondary,#687080);}
.space-picker-pagination {display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:12px 24px;border-top:1px solid var(--colorBorder,#eceef2);flex-shrink:0;}
.space-picker [class*='_Footer_10fdw_'] {position:static!important;flex-shrink:0;height:auto!important;padding:14px 24px!important;}
@media(max-width:600px){
 .studio-overlays [data-paged-picker] .ant-modal {width:calc(100vw - 16px)!important;top:8px!important;}
 .studio-overlays [data-paged-picker] .ant-modal-content {height:calc(100dvh - 64px);max-height:calc(100dvh - 64px)!important;}
 .space-picker-heading {padding:14px 42px 14px 12px;gap:10px;flex-wrap:wrap;}
 .space-picker-filters {padding:12px;gap:8px;}.space-picker-filters input[type=search]{flex-basis:100%;}
 .space-picker-filters select,.space-picker-filters input:not([type=search]) {width:auto;min-width:130px;flex:1 1 130px;}
 .space-picker-selection {padding:0 12px 10px;gap:10px;flex-wrap:wrap;}.space-picker-selection [role=status]{margin-left:0;}
 .space-picker-grid {padding:0 12px 12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .space-picker-pagination {padding:10px 12px;gap:8px;flex-wrap:wrap;justify-content:center;}
}

/* Shared picker keeps footer visible; hidden views never compete for height. */
.space-picker [hidden] {display:none!important;}
.space-picker-tabs {display:flex;gap:24px;padding:0 24px;flex-shrink:0;border-bottom:1px solid var(--colorBorder,#eceef2);}
.space-picker-tabs button {border:0!important;border-radius:0!important;background:transparent!important;height:48px;}
.space-picker-tabs [aria-selected=true] {color:var(--colorPrimary,#3355e0)!important;border-bottom:2px solid currentColor!important;}
.space-picker-batch-panel {display:flex;flex-direction:column;min-height:0;flex:1;}
.space-picker-batches {overflow:auto;min-height:0;flex:1;padding:0 24px;}
.space-picker-batches table {width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap;}
.space-picker-batches th,.space-picker-batches td {padding:10px;border:1px solid var(--colorBorder,#eceef2);text-align:left;}
.space-picker-batches th {background:var(--colorFillTertiary,#f6f7f9);}
.space-picker-batch-status {padding:0 24px;font-size:13px;}
.space-picker-batch-grid {overflow:visible;padding:8px 0;}
.space-picker-filters input[type=date] {width:145px;}
@media(max-width:600px){.space-picker-tabs{gap:8px;padding:0 12px;}.space-picker-filters{padding:10px 12px;gap:6px;}.space-picker-filters input,.space-picker-filters select{flex:1 1 130px!important;width:130px!important;}.space-picker-selection{flex-wrap:wrap;gap:8px;padding:0 12px 8px;}.space-picker-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;padding:8px 12px;}.space-picker-batches{padding:0 12px;}}

.space-picker-date {display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;}
.space-picker-grid {grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:12px;}
.space-picker-tabs [aria-selected=true] {color:#3355e0!important;}
@media(max-width:600px){.space-picker-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;}.space-picker-date{flex:1 1 145px;}.space-picker-date input{width:100%!important;min-width:0;}}
