:root { font-family: Inter, "Microsoft YaHei", sans-serif; color: #17212b; background: #f4f6f8; line-height: 1.5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
body.modal-open { overflow: hidden; }
.topbar { height: 62px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: #102a43; color: white; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: white; font-weight: 700; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.brand-logo { width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain; border-radius: 4px; }
.main-nav { display: flex; align-items: center; gap: 16px; overflow: visible; }
.main-nav > a, .main-nav-more > summary { color: #d9e2ec; text-decoration: none; white-space: nowrap; cursor: pointer; }
.main-nav > a:hover, .main-nav > a.active, .main-nav-more > summary:hover, .main-nav-more > summary.active { color: white; }
.main-nav-more { position: relative; }
.main-nav-more > summary { display: inline-flex; align-items: center; gap: 4px; list-style: none; }
.main-nav-more > summary::-webkit-details-marker { display: none; }
.main-nav-more-icon { color: #9fb3c8; font-size: 15px; line-height: 1; transition: transform .15s ease; }
.main-nav-more[open] .main-nav-more-icon { transform: rotate(180deg); }
.main-nav-menu { position: absolute; z-index: 40; top: calc(100% + 12px); right: -8px; min-width: 128px; padding: 6px; border: 1px solid #d9e2ec; border-radius: 6px; background: white; box-shadow: 0 10px 24px rgb(16 42 67 / .2); }
.main-nav-menu::before { position: absolute; top: -5px; right: 18px; width: 8px; height: 8px; border-top: 1px solid #d9e2ec; border-left: 1px solid #d9e2ec; background: white; content: ""; transform: rotate(45deg); }
.main-nav-menu a { display: block; padding: 8px 10px; border-radius: 4px; color: #334e68; text-decoration: none; white-space: nowrap; font-size: 13px; }
.main-nav-menu a:hover, .main-nav-menu a.active { color: #0f6375; background: #eef7f8; }
.topbar-account { max-width: 140px; overflow: hidden; padding: 6px 9px; color: #d9e2ec; background: transparent; text-overflow: ellipsis; white-space: nowrap; }
.topbar-account:hover { color: white; background: #243b53; }
.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 20px; }
.auth-panel { width: min(420px, 100%); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.page { max-width: 1400px; margin: 0 auto; padding: 30px 28px 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; } h1 { margin: 2px 0 6px; font-size: 30px; } h2 { margin: 0; font-size: 18px; } .eyebrow { margin: 0; color: #627d98; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; } .muted { color: #627d98; font-size: 13px; }
.panel { background: white; border: 1px solid #d9e2ec; border-radius: 7px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 2px #102a4310; } .section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
button, .link-button { border: 0; border-radius: 5px; padding: 9px 14px; cursor: pointer; font: inherit; text-decoration: none; display: inline-block; } button:disabled { cursor: not-allowed; opacity: .55; } .primary { background: #147d92; color: white; } .primary:hover { background: #0f6375; } .secondary { background: #e6eef3; color: #243b53; } .danger { color: #b42318; background: #fff1f0; } .small { padding: 6px 9px; font-size: 12px; } .button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; } table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid #e6eef3; vertical-align: top; } th { color: #627d98; font-size: 12px; font-weight: 600; } td a { color: #147d92; } .task-name-control { display: flex; min-width: 180px; align-items: center; gap: 6px; } .task-name-control > a { min-width: 0; overflow-wrap: anywhere; } .inline-rename-input { min-width: 0; flex: 1 1 150px; } .task-progress { width: 112px; height: 7px; overflow: hidden; border-radius: 99px; background: #e6eef3; } .task-progress span { display: block; height: 100%; border-radius: inherit; background: #147d92; transition: width .2s ease; } .task-progress-label { display: block; margin-top: 4px; color: #627d98; font-size: 11px; font-variant-numeric: tabular-nums; } .resume-task-action { white-space: nowrap; } .empty { color: #829ab1; text-align: center; padding: 35px; }
.task-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); align-items: end; gap: 12px; }
.task-filter-toolbar { padding: 14px 16px; }
.task-filter-toolbar .task-filter-grid { grid-template-columns: repeat(5, minmax(110px, 1fr)) repeat(2, minmax(130px, 1fr)) auto; gap: 10px; }
.task-filter-grid .filter-actions { align-items: end; padding-bottom: 1px; }
.task-actions { justify-content: flex-end; align-self: center; }
.task-list-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 14px; margin-bottom: 2px; border-bottom: 1px solid #e6eef3; }
.task-list-heading { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.task-list-heading h2 { margin-top: 1px; font-size: 17px; }
.task-list-heading .eyebrow { font-size: 10px; }
.task-filter-details { flex: 0 1 620px; width: 100%; min-width: 0; margin-left: auto; }
.task-filter-summary { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-height: 38px; padding: 8px 11px; border: 1px solid #d9e2ec; border-radius: 5px; background: #f7f9fb; color: #334e68; cursor: pointer; font-size: 12px; list-style: none; }
.task-filter-summary::-webkit-details-marker { display: none; }
.task-filter-summary::after { content: "▾"; color: #829ab1; font-size: 11px; }
.task-filter-details[open] .task-filter-summary { border-color: #9fbcca; background: #eef7f8; }
.task-filter-details[open] .task-filter-summary::after { content: "▴"; }
.task-filter-active { padding: 2px 7px; border-radius: 99px; background: #d7eef0; color: #0f6375; font-size: 11px; }
.task-filter-details .task-filter-grid { margin-top: 12px; padding: 14px; border: 1px solid #d9e2ec; border-radius: 6px; background: #f7f9fb; }
.task-list-panel { padding: 16px 20px; }
.task-list-table { min-width: 1264px; table-layout: fixed; font-size: 13px; }
.task-list-table th, .task-list-table td { padding: 12px 8px; vertical-align: middle; }
.task-list-table th { white-space: nowrap; }
.task-list-table th:nth-child(1), .task-list-table td:nth-child(1) { width: 36px; }
.task-list-table th:nth-child(2), .task-list-table td:nth-child(2) { width: 170px; }
.task-list-table th:nth-child(3), .task-list-table td:nth-child(3) { width: 82px; }
.task-list-table th:nth-child(4), .task-list-table td:nth-child(4) { width: 55px; }
.task-list-table th:nth-child(5), .task-list-table td:nth-child(5) { width: 110px; }
.task-list-table th:nth-child(6), .task-list-table td:nth-child(6) { width: 50px; }
.task-list-table th:nth-child(7), .task-list-table td:nth-child(7) { width: 145px; }
.task-list-table th:nth-child(8), .task-list-table td:nth-child(8) { width: 128px; }
.task-list-table th:nth-child(9), .task-list-table td:nth-child(9) { width: 128px; }
.task-list-table th:nth-child(10), .task-list-table td:nth-child(10) { width: 128px; }
.task-list-table th:nth-child(11), .task-list-table td:nth-child(11) { width: 232px; }
.task-list-table td:nth-child(3), .task-list-table td:nth-child(4), .task-list-table td:nth-child(5), .task-list-table td:nth-child(6), .task-list-table td:nth-child(10) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-list-table .task-name-control { min-width: 0; }
.task-list-table .task-name-control > a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-list-table .task-store-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-list-table .status { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-list-table .task-progress { width: 100%; max-width: 112px; }
.task-list-table .task-progress-label { white-space: nowrap; }
.task-row-actions { display: flex; flex-wrap: nowrap; gap: 4px; align-items: center; white-space: nowrap; }
.task-row-actions .small { min-width: 0; padding: 5px; font-size: 11px; }
.task-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 28px; background: rgb(16 42 67 / .42); }
.task-modal[hidden] { display: none; }
.task-modal-dialog { display: flex; width: min(1080px, 100%); max-height: min(900px, calc(100vh - 56px)); flex-direction: column; overflow: hidden; border: 1px solid #d9e2ec; border-radius: 9px; background: white; box-shadow: 0 20px 60px rgb(16 42 67 / .22); }
.task-modal-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #e6eef3; background: #fbfcfd; }
.task-modal-header h2 { font-size: 20px; }
.task-modal-dialog > form { min-height: 0; overflow-y: auto; padding: 0 24px 22px; }
.task-modal-dialog > form > section:first-child { padding-top: 22px; }
.task-modal-footer { position: sticky; bottom: 0; z-index: 1; margin: 22px -24px -22px; padding: 14px 24px; border-top: 1px solid #d9e2ec; background: rgb(255 255 255 / .96); }
.task-group-modal .task-modal-dialog { width: min(600px, 100%); }
.task-group-content { min-height: 0; padding: 20px 24px 24px; overflow-y: auto; }
.task-group-create { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-bottom: 18px; }
.task-group-list { max-height: 360px; overflow: auto; }
.task-modal.is-embedded { position: static; display: block; padding: 0; background: transparent; }
.task-modal.is-embedded .task-modal-dialog { width: 100%; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.task-modal.is-embedded .task-modal-dialog > form { overflow: visible; padding: 0; }
.task-modal.is-embedded .task-modal-footer { position: static; margin: 22px 0 0; }
.status { display: inline-block; border-radius: 99px; padding: 2px 8px; background: #e6eef3; font-size: 12px; } .status-generated, .status-optimized, .status-standardized, .status-success { background: #d8f3dc; color: #1b6b3a; } .status-failed, .status-rejected { background: #ffe3e0; color: #a61b1b; } .status-generating, .status-optimizing, .status-analyzing, .status-publishing { background: #fff0c2; color: #8a5a00; }
.model-pool { padding: 0; overflow: hidden; box-shadow: none; }
.model-pool-head { margin: 0; padding: 17px 20px; border-bottom: 1px solid #d9e2ec; background: #fbfcfd; }
.model-pool-head h2 { font-size: 17px; }
.model-pool-kicker { margin: 0 0 2px; color: #829ab1; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.model-list { display: block; }
.model-empty { padding: 34px 20px; color: #829ab1; text-align: center; }
.model-row { padding: 18px 20px 16px; background: white; border-bottom: 1px solid #d9e2ec; }
.model-row:last-child { border-bottom: 0; }
.model-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.model-channel-heading { min-width: 0; display: flex; align-items: center; gap: 9px; }
.model-channel-index { color: #829ab1; font-size: 11px; font-variant-numeric: tabular-nums; }
.model-channel-title { max-width: 420px; overflow: hidden; color: #243b53; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.model-type-badge { padding: 2px 7px; border: 1px solid #bcccdc; border-radius: 99px; color: #52606d; background: #f7f9fb; font-size: 10px; }
.model-toggle { display: inline-flex; grid-auto-flow: column; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #d9e2ec; border-radius: 5px; background: #f7f9fb; color: #334e68; font-size: 12px; }
.model-toggle input { width: auto; margin: 0; accent-color: #147d92; }
.model-primary-grid { display: grid; grid-template-columns: minmax(84px, .75fr) minmax(160px, 1.5fr) minmax(115px, 1fr) minmax(132px, 1.15fr) minmax(180px, 1.55fr) 64px 76px auto; gap: 10px; align-items: end; }
.model-async-grid { display: grid; grid-template-columns: minmax(240px, 2fr) minmax(120px, .6fr) minmax(120px, .6fr); gap: 10px; margin-top: 10px; }
.model-field { min-width: 0; display: grid; gap: 6px; color: #52606d; font-size: 11px; }
.model-field > span { font-weight: 600; }
.model-field input, .model-field select { min-width: 0; min-height: 39px; }
.compound-control { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.compound-control.is-manual, .compound-control.is-custom { grid-template-columns: minmax(105px, .78fr) minmax(0, 1.22fr); }
.model-row-actions { display: flex; align-items: center; align-self: end; gap: 7px; white-space: nowrap; }
.model-fetch-button, .model-delete-button { min-height: 39px; padding: 8px 10px; font-size: 12px; }
label, .folder-field { display: grid; gap: 5px; color: #52606d; font-size: 12px; } input, select, textarea { width: 100%; border: 1px solid #bcccdc; border-radius: 4px; padding: 8px; background: white; color: #17212b; font: inherit; letter-spacing: 0; } textarea { resize: vertical; } input[readonly] { background: #f0f4f8; color: #627d98; } .toggle { align-items: center; align-content: end; } .toggle input { width: auto; } .folder-picker-control { display: flex; min-height: 39px; align-items: center; gap: 9px; padding: 4px 8px; border: 1px solid #bcccdc; border-radius: 4px; background: white; } .folder-picker-control .small { flex: 0 0 auto; } .file-picker-input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.message { padding: 10px 12px; border-radius: 5px; margin-bottom: 15px; background: #fff0c2; } .message.ok { background: #d8f3dc; color: #1b6b3a; } .message.error { background: #ffe3e0; color: #a61b1b; }
.detail-grid, .run-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; } .run-grid .panel:nth-child(3), .run-grid .panel:nth-child(4), .run-grid .panel:nth-child(5) { grid-column: span 2; } .form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; } form { display: grid; gap: 12px; } .output { min-height: 80px; background: #102a43; color: #d9e2ec; padding: 16px; border-radius: 6px; white-space: pre-wrap; }
.config-stack { gap: 0; } .config-section { box-shadow: none; } .form-grid .span-2 { grid-column: span 2; } .run-submit { width: 100%; margin-bottom: 18px; } .readonly-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 16px 0 0; border: 1px solid #e6eef3; border-radius: 5px; } .readonly-grid[hidden] { display: none; } .readonly-grid > div { min-width: 0; padding: 10px 12px; border-right: 1px solid #e6eef3; border-bottom: 1px solid #e6eef3; } .readonly-grid dt { color: #829ab1; font-size: 11px; } .readonly-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 13px; } .profile-list { display: grid; gap: 14px; } .profile-row { margin: 0; } .template-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .template-editor { margin: 0; } .template-editor > span { color: #243b53; font-size: 14px; font-weight: 600; } .template-editor textarea { min-height: 330px; line-height: 1.65; }
.md-view { max-height: 560px; overflow: auto; background: #f7f9fb; padding: 14px; border-radius: 5px; white-space: pre-wrap; font-size: 12px; } .image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; } .image-card { border: 1px solid #d9e2ec; border-radius: 6px; padding: 10px; background: #fbfcfd; } .image-card > img, .optimized img { width: 100%; max-height: 220px; object-fit: contain; background: #eef2f5; border-radius: 4px; } .image-meta { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-size: 12px; } .analysis { margin-top: 9px; font-size: 12px; } .analysis p { margin: 6px 0; } details pre { max-height: 180px; overflow: auto; white-space: pre-wrap; background: #f0f4f8; padding: 8px; } .optimized { margin-top: 10px; border-top: 1px solid #d9e2ec; padding-top: 8px; font-size: 12px; }
.asset-tabs { display: flex; gap: 4px; margin: 0 0 16px; padding: 4px; overflow-x: auto; border: 1px solid #d9e2ec; border-radius: 6px; background: #eaf0f4; } .asset-tabs a { flex: 0 0 auto; padding: 8px 13px; border-radius: 4px; color: #52606d; text-decoration: none; font-size: 13px; } .asset-tabs a:hover, .asset-tabs a.active { color: #0f6375; background: white; }
.asset-toolbar { padding: 14px 16px; } .asset-filter-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(105px, .8fr)) repeat(2, minmax(135px, .9fr)) auto; gap: 10px; align-items: end; } .asset-filter-grid.compact { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; } .filter-actions { display: flex; gap: 7px; align-items: end; white-space: nowrap; }
.asset-product-table table { min-width: 1080px; table-layout: fixed; } .asset-product-table th:first-child, .asset-product-table td:first-child { width: 40px; } .asset-product-table th:nth-child(2) { width: 82px; } .asset-product-table th:nth-child(3) { width: 34%; } .asset-product-table th:nth-child(4) { width: 100px; } .asset-product-table th:nth-child(5) { width: 72px; } .asset-product-table th:nth-child(6) { width: 92px; } .asset-product-table th:nth-child(7) { width: 82px; } .asset-product-table th:nth-child(8) { width: 110px; } .asset-product-table th:nth-child(9) { width: 190px; } .asset-product-table td:nth-child(3) strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.45; } .asset-product-table td:nth-child(4), .asset-product-table td:nth-child(5), .asset-product-table td:nth-child(6), .asset-product-table td:nth-child(7), .asset-product-table td:nth-child(8), .asset-product-table td:nth-child(9) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .asset-product-table td:nth-child(7) .muted { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .asset-product-row { cursor: pointer; } .asset-product-row:hover { background: #f7fafc; } .asset-thumb { display: block; width: 66px; height: 66px; object-fit: contain; border: 1px solid #d9e2ec; border-radius: 4px; background: #f0f4f8; } .asset-thumb-placeholder { display: grid; width: 66px; height: 66px; place-items: center; border: 1px dashed #bcccdc; border-radius: 4px; color: #829ab1; background: #f7f9fb; font-size: 11px; } .mono { font-family: Consolas, "Microsoft YaHei", monospace; overflow-wrap: anywhere; } .prompt-preview { max-width: 620px; max-height: 88px; overflow: auto; white-space: pre-wrap; font-size: 12px; }
.product-filter { padding: 14px 16px; }
.product-filter-form { display: grid; grid-template-columns: minmax(240px, 360px) auto; gap: 12px; align-items: end; }
.product-list-table { padding: 14px 16px; }
.product-list-data { min-width: 1120px; table-layout: fixed; font-size: 13px; }
.product-list-data th { padding: 9px 8px; font-size: 11px; white-space: nowrap; }
.product-list-data td { padding: 10px 8px; line-height: 1.4; }
.product-col-origin { width: 76px; } .product-col-info { width: 43%; } .product-col-category { width: 10%; } .product-col-status { width: 8%; } .product-col-sku { width: 5%; } .product-col-images { width: 5%; } .product-col-updated { width: 15%; }
.product-origin-thumb { display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; border: 1px solid #d9e2ec; border-radius: 4px; background: #f0f4f8; color: #829ab1; font-size: 10px; text-decoration: none; }
.product-origin-thumb img { width: 100%; height: 100%; object-fit: cover; } .product-origin-thumb span { display: none; } .product-origin-thumb.is-missing img { display: none; } .product-origin-thumb.is-missing span { display: block; }
.product-listing { display: grid; min-width: 0; gap: 5px; } .product-listing-title { display: -webkit-box; overflow: hidden; color: #147d92; font-weight: 600; line-height: 1.4; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .product-listing-meta { display: flex; min-width: 0; align-items: center; gap: 8px; } .product-listing-meta .mono { min-width: 0; overflow: hidden; color: #627d98; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.source-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 3px; white-space: nowrap; } .source-link.unavailable { color: #829ab1; font-size: 11px; }
.product-list-data td:nth-child(3), .product-list-data td:nth-child(4), .product-list-data td:nth-child(5), .product-list-data td:nth-child(6), .product-list-data td:nth-child(7) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-strip, .listing-placeholder { display: flex; align-items: center; justify-content: space-between; gap: 18px; } .import-strip h2, .import-strip p, .listing-placeholder h2, .listing-placeholder p { margin: 0; } .import-strip form { align-items: end; } .import-file-picker { min-width: 280px; }
.asset-summary-band { margin-bottom: 18px; } .asset-summary-band .readonly-grid { margin-top: 0; background: white; } .md-editor { min-height: 480px; font: 12px/1.65 Consolas, "Microsoft YaHei", monospace; }
.asset-detail-stack { display: grid; gap: 10px; }
.asset-section.panel { width: 100%; min-width: 0; max-width: 100%; margin: 0; padding: 0; overflow: clip; box-shadow: none; }
.asset-section-summary, .asset-batch-summary { display: flex; min-width: 0; align-items: center; cursor: pointer; list-style: none; }
.asset-section-summary::-webkit-details-marker, .asset-batch-summary::-webkit-details-marker { display: none; }
.asset-section-summary { min-height: 68px; gap: 14px; padding: 14px 18px; }
.asset-section-summary:hover { background: #f7fafc; }
.asset-section-summary:focus-visible, .asset-batch-summary:focus-visible { outline: 2px solid #147d92; outline-offset: -2px; }
.asset-section-summary > span:first-child { display: grid; min-width: 0; flex: 1; gap: 2px; }
.asset-section-summary strong { color: #243b53; font-size: 17px; }
.asset-section-summary small, .asset-batch-title small { overflow-wrap: anywhere; color: #829ab1; font-size: 11px; font-weight: 400; }
.asset-section-count { flex: 0 0 auto; color: #52606d; font-size: 12px; white-space: nowrap; }
.asset-section-summary::after, .asset-batch-summary::after { flex: 0 0 auto; color: #627d98; content: "›"; font-size: 21px; line-height: 1; transform: rotate(90deg); transition: transform .15s ease; }
.asset-section[open] > .asset-section-summary::after, .asset-batch[open] > .asset-batch-summary::after { transform: rotate(-90deg); }
.asset-section[open] > .asset-section-summary { background: #fbfcfd; }
.asset-section-content { min-width: 0; padding: 18px; border-top: 1px solid #e6eef3; }
.asset-section-content > .form-grid { margin: 0; }
.asset-section-content.asset-batch-list { padding-top: 0; padding-bottom: 0; }
.asset-batch + .asset-batch { border-top: 1px solid #e6eef3; }
.asset-batch-summary { min-height: 58px; gap: 12px; padding: 11px 2px; }
.asset-batch-summary:hover { background: #f7fafc; }
.asset-batch-title { display: grid; min-width: 0; flex: 1; gap: 2px; }
.asset-batch-title strong { overflow: hidden; color: #334e68; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.asset-batch-summary .status { flex: 0 0 auto; }
.asset-batch-content { min-width: 0; padding: 2px 2px 18px; }
.asset-batch[open] > .asset-batch-summary { color: #0f6375; }
.status-pending, .status-queued, .status-running, .status-packaging, .status-publishing { background: #fff0c2; color: #8a5a00; }
.status-completed, .status-history { background: #e6eef3; color: #52606d; }
.compliance-list, .prompt-asset-list { display: grid; gap: 0; } .compliance-row { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid #e6eef3; } .compliance-row:last-child { border-bottom: 0; } .compliance-row p { margin: 4px 0 0; }
.prompt-asset-row { padding: 14px 0; border-bottom: 1px solid #e6eef3; } .prompt-asset-row:last-child { border-bottom: 0; } .prompt-asset-row .section-head { margin-bottom: 8px; } .prompt-asset-row textarea { line-height: 1.6; }
.asset-image-grid { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; } .asset-image-item { min-width: 0; max-width: 100%; overflow: hidden; padding: 10px; border: 1px solid #d9e2ec; border-radius: 6px; background: #fbfcfd; } .asset-image-grid figure { min-width: 0; max-width: 100%; margin: 0; } .asset-image-grid > .asset-image-item > figure > img { display: block; width: 100%; max-width: 100%; height: 240px; object-fit: contain; border-radius: 4px; background: #eef2f5; } .asset-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .asset-pair img, .unoptimized { width: 100%; max-width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 4px; background: #eef2f5; } .unoptimized { display: grid; place-items: center; color: #829ab1; border: 1px dashed #bcccdc; font-size: 12px; } .asset-pair figcaption { margin-top: 4px; color: #627d98; font-size: 11px; text-align: center; } .asset-image-item .image-meta { margin: 9px 0; } .upload-button { cursor: pointer; }
.compare-dialog { width: min(1180px, calc(100vw - 32px)); max-width: none; padding: 16px; border: 1px solid #bcccdc; border-radius: 7px; background: white; } .compare-dialog::backdrop { background: rgb(16 42 67 / .72); } .compare-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .compare-head strong { flex: 1; text-align: center; } .compare-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .compare-stage figure { min-width: 0; margin: 0; text-align: center; } .compare-stage img { width: 100%; height: min(68vh, 720px); object-fit: contain; cursor: zoom-in; background: #eef2f5; } .compare-stage img.zoomed { object-fit: none; cursor: zoom-out; overflow: auto; } .compare-stage figcaption { margin-top: 6px; color: #52606d; font-size: 12px; }
.quick-task-dialog { width: min(1180px, calc(100vw - 32px)); max-width: none; padding: 20px; border: 1px solid #bcccdc; border-radius: 7px; background: white; } .quick-task-dialog::backdrop { background: rgb(16 42 67 / .58); } .asset-task-frame { display: block; width: 100%; height: min(78vh, 860px); border: 1px solid #d9e2ec; border-radius: 6px; background: #f7fafc; }
.asset-reuse-dialog { width: min(600px, calc(100vw - 32px)); padding: 0; border: 1px solid #bcccdc; border-radius: 10px; background: #fff; box-shadow: 0 22px 64px rgb(16 42 67 / .28); } .asset-reuse-dialog::backdrop { background: rgb(16 42 67 / .62); } .asset-reuse-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 18px; border-bottom: 1px solid #e6eef3; background: #fbfcfd; } .asset-reuse-heading { min-width: 0; } .asset-reuse-kicker { margin: 0 0 4px; color: #147d92; font-size: 11px; font-weight: 700; letter-spacing: .08em; } .asset-reuse-heading h2 { color: #102a43; font-size: 20px; line-height: 1.25; } .asset-reuse-intro { margin: 7px 0 0; color: #627d98; font-size: 12px; line-height: 1.5; } .asset-reuse-close { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; padding: 0; border: 1px solid #d9e2ec; border-radius: 5px; color: #52606d; background: #fff; font-size: 21px; line-height: 1; } .asset-reuse-close:hover { border-color: #9fbcca; color: #0f6375; background: #eef7f8; } .asset-reuse-options { display: grid; gap: 10px; margin: 18px 24px 20px; } .asset-reuse-option { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border: 1px solid #d9e2ec; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease; } .asset-reuse-option:hover { border-color: #9fbcca; background: #f7fafc; transform: translateY(-1px); } .asset-reuse-option:has(input:checked) { border-color: #147d92; background: #eef7f8; box-shadow: 0 0 0 2px #147d9218; } .asset-reuse-option input { width: 16px; height: 16px; margin: 0; accent-color: #147d92; } .asset-reuse-copy { display: grid; min-width: 0; gap: 4px; } .asset-reuse-option-title { display: flex; min-width: 0; align-items: center; gap: 8px; } .asset-reuse-copy strong { overflow: hidden; color: #243b53; font-size: 14px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .asset-reuse-copy small { color: #627d98; font-size: 12px; line-height: 1.3; } .asset-reuse-option-title em { flex: 0 0 auto; padding: 2px 6px; border: 1px solid #d9e2ec; border-radius: 4px; color: #627d98; background: #f7f9fb; font-size: 10px; font-style: normal; line-height: 1.2; white-space: nowrap; } .asset-reuse-option > b { padding: 4px 8px; border-radius: 99px; color: #237a57; background: #d8f3dc; font-size: 11px; font-weight: 600; white-space: nowrap; } .asset-reuse-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px 18px; border-top: 1px solid #e6eef3; background: #fff; } .asset-reuse-footer .muted { min-width: 0; font-size: 11px; line-height: 1.35; } .asset-reuse-footer .primary { flex: 0 0 auto; min-width: 136px; white-space: nowrap; }
.asset-reuse-market-row { display: grid; gap: 8px; margin: 18px 24px 0; padding: 14px 16px; border: 1px solid #d9e2ec; border-radius: 7px; background: #f7fafc; } .asset-reuse-market-row label { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; color: #243b53; font-size: 13px; font-weight: 600; } .asset-reuse-market-dropdown { width: 100%; } .asset-reuse-market-dropdown .search-dropdown-menu { width: 100%; min-width: 0; padding: 6px; } .asset-reuse-market-dropdown .search-dropdown-option { min-height: 38px; padding: 9px 10px; font-size: 13px; font-weight: 500; } .asset-reuse-market-row .muted { margin: 0 0 0 104px; font-size: 11px; }
.temu-cascade, .temu-task-config { margin-top: 16px; padding: 16px; border: 1px solid #c7d7e2; border-radius: 6px; background: #f7fafc; } .temu-cascade .section-head, .temu-task-config .section-head { margin-bottom: 10px; } .temu-cascade h3, .temu-task-config h3 { margin: 0; font-size: 15px; } .temu-cascade-status { margin: 6px 0 0; }
.category-selected { min-height: 38px; padding: 9px 10px; border: 1px solid #d9e2ec; border-radius: 4px; background: white; } .category-tree { max-height: 430px; margin-top: 10px; overflow: auto; padding: 10px; border: 1px solid #d9e2ec; border-radius: 5px; background: white; } .category-tree ul { margin: 0; padding-left: 18px; list-style: none; } .category-tree > ul { padding-left: 0; } .category-tree li { padding: 3px 0; } .category-tree summary { min-height: 32px; padding: 6px 8px; cursor: pointer; color: #334e68; font-size: 13px; } .category-leaf { width: 100%; min-height: 32px; padding: 6px 8px; text-align: left; color: #147d92; background: transparent; } .category-leaf:hover { background: #e6f3f6; }
.search-dropdown { position: relative; min-width: 0; } .search-dropdown-value { display: none !important; } .search-dropdown-control { display: grid; grid-template-columns: minmax(0, 1fr) 40px; min-width: 0; } .search-dropdown-display { min-width: 0; min-height: 39px; overflow: hidden; padding: 8px 9px; border: 1px solid #bcccdc; border-right: 0; border-radius: 4px 0 0 4px; color: #17212b; background: white !important; text-overflow: ellipsis; white-space: nowrap; } .search-dropdown-display:disabled { background: #f0f4f8 !important; } .search-dropdown-trigger { display: grid; width: 40px; min-height: 39px; place-items: center; padding: 0; border: 1px solid #bcccdc; border-radius: 0 4px 4px 0; color: #52606d; background: white; font-size: 16px; line-height: 1; } .search-dropdown-trigger:hover:not(:disabled) { color: #0f6375; background: #f0f7f8; } .search-dropdown-trigger[aria-expanded="true"] { border-color: #147d92; box-shadow: 0 0 0 2px #147d9220; } .search-dropdown-trigger[aria-expanded="true"] span { transform: rotate(180deg); } .search-dropdown-trigger span { display: block; transition: transform .12s ease; } .search-dropdown-menu { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; width: max(100%, 230px); max-height: 420px; overflow: auto; padding: 8px; border: 1px solid #bcccdc; border-radius: 6px; background: white; box-shadow: 0 8px 24px #102a4326; } .search-dropdown-options { display: grid; max-height: 320px; margin-top: 6px; overflow: auto; } .search-dropdown-option { min-height: 34px; padding: 7px 8px; border-radius: 4px; color: #334e68; background: white; text-align: left; font-size: 12px; } .search-dropdown-option:hover, .search-dropdown-option[aria-selected="true"] { background: #e6f3f6; color: #0f6375; } .search-dropdown-menu .select-search { min-height: 34px; padding: 6px 8px; font-size: 12px; } .search-dropdown-menu .select-search:disabled { background: #f0f4f8; } .category-section-head { justify-content: flex-start; gap: 16px; } .category-section-head h3 { flex: 0 0 auto; } .category-dropdown { width: min(520px, 100%); min-width: 0; } .category-dropdown .search-dropdown-menu { position: fixed; top: 0; left: 0; width: min(720px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 32px)); margin-top: 0; } .category-search { margin: 0; } .category-search-results { display: grid; max-height: 280px; margin-top: 6px; overflow: auto; border: 1px solid #d9e2ec; border-radius: 5px; background: white; } .category-search-results:empty { display: none; } .category-search-result { padding: 9px 10px; border-bottom: 1px solid #e6eef3; border-radius: 0; color: #334e68; background: white; text-align: left; font-size: 12px; } .category-search-result:last-child { border-bottom: 0; } .category-search-result:hover { background: #e6f3f6; } .category-children { padding-left: 10px; }
.temu-cascade-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: start; }
.cascade-field { min-width: 0; margin: 0; }
.cascade-label { display: flex; min-height: 18px; align-items: center; gap: 0; }
.simple-dropdown .search-dropdown-options { margin-top: 0; }
fieldset.cascade-field { min-height: 66px; padding: 7px 9px 8px; border: 1px solid #bcccdc; border-radius: 4px; background: white; }
fieldset.cascade-field legend { padding: 0 3px; color: #52606d; font-size: 12px; }
.cascade-index { display: inline-grid; width: 18px; height: 18px; margin-right: 5px; place-items: center; border-radius: 50%; color: white; background: #147d92; font-size: 10px; }
.site-options { display: flex; min-height: 32px; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-radio { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid #d9e2ec; border-radius: 4px; color: #334e68; background: #f7f9fb; }
.site-radio input { width: auto; margin: 0; accent-color: #147d92; }
.temu-subsection { margin-top: 16px; padding-top: 15px; border-top: 1px solid #d9e2ec; }
.shop-bind-panel { max-width: 920px; }
.shop-bind-form { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(190px, .9fr) minmax(280px, 1.35fr) auto; gap: 12px; align-items: end; }
.shop-id-control { display: grid; grid-template-columns: minmax(125px, 1fr) auto; gap: 6px; align-items: center; }
.release-summary { display: flex; align-items: baseline; gap: 6px; padding: 9px 13px; border: 1px solid #d9e2ec; border-radius: 6px; background: #fff; color: #627d98; font-size: 12px; white-space: nowrap; }
.release-summary strong { color: #147d92; font-size: 20px; font-variant-numeric: tabular-nums; }
.release-filter-toolbar { padding: 14px 16px; }
.release-filter-grid { grid-template-columns: repeat(4, minmax(130px, 1fr)) repeat(2, minmax(145px, 1fr)) auto; }
.release-table { padding: 14px 16px; }
.release-data-table { min-width: 1120px; table-layout: fixed; font-size: 13px; }
.release-data-table th { padding: 9px 8px; font-size: 11px; white-space: nowrap; }
.release-data-table td { padding: 10px 8px; line-height: 1.4; }
.release-data-table .release-col-product { width: 25%; }
.release-data-table .release-col-goods { width: 9%; }
.release-data-table .release-col-platform { width: 5%; }
.release-data-table .release-col-shop { width: 9%; }
.release-data-table .release-col-site { width: 6%; }
.release-data-table .release-col-category { width: 8%; }
.release-data-table .release-col-price { width: 6%; }
.release-data-table .release-col-attributes { width: 10%; }
.release-data-table .release-col-status { width: 5%; }
.release-data-table .release-col-error { width: 5%; }
.release-data-table .release-col-created { width: 12%; }
.release-data-table .release-col-actions { width: 9%; }
.release-listing { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; }
.release-thumbnail { display: grid; width: 52px; height: 52px; place-items: center; overflow: hidden; border: 1px solid #d9e2ec; border-radius: 4px; background: #f0f4f8; color: #829ab1; font-size: 10px; text-decoration: none; }
.release-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.release-thumbnail span { display: none; }
.release-thumbnail.is-missing img { display: none; }
.release-thumbnail.is-missing span { display: block; }
.release-listing-titles { display: grid; min-width: 0; gap: 3px; }
.release-listing-title { display: grid; min-width: 0; color: #147d92; text-decoration: none; }
.release-listing-title strong { display: -webkit-box; overflow: hidden; color: #147d92; font-weight: 600; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; }
.release-listing-title small { overflow: hidden; color: #627d98; font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.release-goods, .release-platform, .release-shop, .release-site, .release-category, .release-price, .release-status, .release-created { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-goods { font-size: 12px; font-variant-numeric: tabular-nums; }
.release-attributes { overflow: hidden; }
.release-attributes .status { display: inline-block; max-width: 100%; line-height: 1.35; white-space: normal; }
.release-error { overflow: hidden; color: #a61b1b; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.release-created { font-size: 12px; font-variant-numeric: tabular-nums; }
.release-actions { min-width: 112px; }
.release-actions .small { white-space: normal; line-height: 1.3; }
.release-edit-dialog { width: min(620px, calc(100vw - 32px)); padding: 0; border: 1px solid #bcccdc; border-radius: 10px; background: white; box-shadow: 0 22px 64px rgb(16 42 67 / .28); }
.release-edit-dialog::backdrop { background: rgb(16 42 67 / .62); }
.release-edit-dialog form { gap: 0; }
.release-edit-fields { display: grid; gap: 12px; padding: 20px 24px; }
.release-edit-dialog .message { margin: 0 24px 14px; }
.title-policy-head { align-items: center; }
.title-policy-count { display: flex; align-items: baseline; gap: 7px; padding: 10px 14px; border: 1px solid #d9e2ec; border-radius: 6px; background: white; color: #627d98; font-size: 12px; white-space: nowrap; }
.title-policy-count strong { color: #147d92; font-size: 22px; font-variant-numeric: tabular-nums; }
.title-policy-add-panel, .title-policy-list-panel { max-width: 920px; }
.title-policy-add-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.title-policy-add-form button { min-height: 39px; }
.title-policy-input textarea { min-height: 58px; resize: vertical; line-height: 1.5; }
.title-policy-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.title-policy-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; min-height: 43px; padding: 7px 8px 7px 12px; border: 1px solid #d9e2ec; border-radius: 6px; background: #fbfcfd; }
.title-policy-row:hover { border-color: #9fbcca; background: #f7fafc; }
.title-policy-word { min-width: 0; overflow: hidden; color: #243b53; font-size: 13px; overflow-wrap: anywhere; }
.title-policy-row .small { flex: 0 0 auto; }
.title-policy-empty { display: grid; gap: 4px; padding: 28px 16px; border: 1px dashed #bcccdc; border-radius: 6px; color: #829ab1; text-align: center; }
.title-policy-empty strong { color: #52606d; }
.release-source-link { width: max-content; max-width: 100%; color: #527d8a; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.log-table { max-width: 1180px; padding: 12px 14px; }
.log-data-table { min-width: 1040px; table-layout: fixed; font-size: 13px; }
.log-data-table th { padding: 9px 8px; font-size: 11px; white-space: nowrap; }
.log-data-table td { padding: 10px 8px; vertical-align: middle; }
.log-col-time { width: 15%; } .log-col-task { width: 12%; } .log-col-mode { width: 10%; } .log-col-action { width: 12%; } .log-col-product { width: 23%; } .log-col-result { width: 7%; } .log-col-error { width: 21%; }
.log-time, .log-task, .log-mode, .log-action, .log-product, .log-result { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-time { font-variant-numeric: tabular-nums; } .log-error { overflow: hidden; color: #a61b1b; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 1180px) { .model-primary-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .field-url, .field-endpoint, .field-model, .model-row-actions { grid-column: span 2; } .asset-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .task-filter-toolbar .task-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .temu-cascade-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .topbar { padding: 0 16px; } .brand span { display: none; } .page { padding: 22px 14px 40px; } .model-primary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .model-async-grid { grid-template-columns: 1fr 1fr; } .model-async-grid .model-field:first-child { grid-column: span 2; } .field-url, .field-model, .model-row-actions { grid-column: span 2; } .field-endpoint { grid-column: auto; } .detail-grid, .run-grid, .template-grid { grid-template-columns: 1fr; } .run-grid .panel:nth-child(3), .run-grid .panel:nth-child(4), .run-grid .panel:nth-child(5) { grid-column: auto; } .form-grid, .readonly-grid, .task-filter-grid { grid-template-columns: repeat(2, 1fr); } .task-filter-toolbar .task-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .task-list-toolbar { align-items: stretch; flex-direction: column; } .task-filter-summary { justify-content: space-between; } .task-actions { justify-content: flex-start; } .task-modal { padding: 16px; } .task-modal-dialog { max-height: calc(100vh - 32px); } .asset-filter-grid, .asset-filter-grid.compact, .temu-cascade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .import-strip, .listing-placeholder { align-items: stretch; flex-direction: column; } .shop-bind-form { grid-template-columns: 1fr 1fr; } .shop-bind-form button { grid-column: span 2; } }
@media (max-width: 600px) { .page-head { align-items: stretch; flex-direction: column; } .form-grid, .readonly-grid, .template-toolbar, .asset-filter-grid, .asset-filter-grid.compact, .compare-stage, .temu-cascade-grid, .shop-bind-form, .task-filter-grid { grid-template-columns: 1fr; } .task-filter-toolbar .task-filter-grid { grid-template-columns: 1fr; } .shop-bind-form button, .form-grid .span-2, .model-async-grid .model-field:first-child { grid-column: auto; } .topbar { justify-content: center; } .main-nav { gap: 12px; } .main-nav-menu { right: -4px; } .model-pool-head, .model-row { padding-left: 14px; padding-right: 14px; } .model-primary-grid, .model-async-grid { grid-template-columns: 1fr; } .field-name, .field-url, .field-key, .field-endpoint, .field-model, .field-weight, .field-timeout, .model-row-actions { grid-column: auto; } .model-row-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .compound-control.is-manual, .compound-control.is-custom { grid-template-columns: 1fr; } .task-modal { padding: 0; } .task-modal-dialog { width: 100%; max-height: 100vh; border-radius: 0; } .task-modal-header, .task-modal-dialog > form, .task-group-content { padding-left: 16px; padding-right: 16px; } .task-modal-footer { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; } .task-group-create { grid-template-columns: 1fr; } .compare-stage img { height: 42vh; } .compare-head { flex-wrap: wrap; } .asset-reuse-dialog { padding: 0; } .asset-reuse-head { padding: 18px 16px 15px; } .asset-reuse-market-row { margin: 14px 16px 0; } .asset-reuse-market-row label { grid-template-columns: 1fr; gap: 6px; } .asset-reuse-options { margin: 14px 16px 16px; } .asset-reuse-footer { align-items: stretch; flex-direction: column; padding: 13px 16px 16px; } .asset-reuse-footer .primary { width: 100%; } }
@media (max-width: 600px) { .asset-section-summary { min-height: 62px; padding: 12px 14px; } .asset-section-summary strong { font-size: 15px; } .asset-section-count { white-space: normal; text-align: right; } .asset-section-content { padding: 14px; } .asset-section-content.asset-batch-list { padding-top: 0; padding-bottom: 0; } .asset-batch-summary { align-items: flex-start; flex-wrap: wrap; padding: 12px 0; } .asset-batch-title { flex-basis: calc(100% - 30px); } .asset-batch-summary .status { margin-left: 0; } }
@keyframes task-progress-running { from { background-position: 0 0; } to { background-position: 28px 0; } }
.task-progress.is-active { position: relative; }
.task-progress.is-active::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 10px, rgb(255 255 255 / .28) 10px 17px); background-size: 28px 100%; animation: task-progress-running 0.9s linear infinite; }
.task-progress.is-active span { min-width: 4px; background-color: #147d92; }
.task-detail-progress { width: min(320px, 100%); margin: -8px 0 18px; }
.dedupe-import-panel { max-width: 760px; }
.dedupe-import-panel textarea { width: 100%; min-height: 120px; resize: vertical; }
.dedupe-scope-form { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.dedupe-table { min-width: 980px; }
.dedupe-table th, .dedupe-table td { padding: 10px 12px; }
.dedupe-scope-cell { min-width: 120px; vertical-align: top; }
.dedupe-scope-line { display: block; line-height: 1.45; }

.task-rename-button {
  display: inline-grid;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  color: #829ab1;
  background: transparent;
  font-family: "Segoe UI Symbol", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}
.task-rename-button:hover { border-color: #d9e2ec; color: #0f6375; background: #eef7f8; }
.task-rename-button:focus-visible { outline: 2px solid #147d92; outline-offset: 1px; }
.task-row-actions > button, .task-row-actions > .link-button {
  display: inline-grid;
  width: 34px;
  min-width: 34px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  place-items: center;
  line-height: 1;
  white-space: nowrap;
}

/* Global workspace layout: one rhythm for every operational page. */
:root {
  --workspace-max: 1400px;
  --workspace-gutter: 28px;
  --panel-gap: 18px;
  --panel-padding: 20px;
  --control-height: 39px;
  --control-radius: 5px;
  --panel-radius: 7px;
}
.page { width: 100%; max-width: var(--workspace-max); padding: 30px var(--workspace-gutter) 60px; }
.page > *, .page-head > *, .panel, .section-head, .detail-grid > *, .run-grid > * { min-width: 0; }
.page-head { min-height: 56px; margin-bottom: 24px; }
.page-head h1 { line-height: 1.2; }
.panel { width: 100%; margin-bottom: var(--panel-gap); padding: var(--panel-padding); border-radius: var(--panel-radius); }
.panel:last-child { margin-bottom: 0; }
button, .link-button, input, select, textarea, .folder-picker-control { min-height: var(--control-height); border-radius: var(--control-radius); }
button, .link-button { line-height: 1.25; }
input, select, textarea { min-width: 0; }
.table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: visible; }
.table-wrap > table { width: 100%; }
.asset-filter-grid, .task-filter-grid, .release-filter-grid, .product-filter-form {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.product-filter-form { grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 1fr)) auto; }
.filter-actions { justify-content: flex-start; }
.filter-actions .link-button, .filter-actions button { min-width: 72px; }
.task-filter-toolbar .task-filter-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.task-list-toolbar { min-width: 0; }
.task-filter-details { flex-basis: 680px; }
.task-list-panel, .product-list-table, .release-table, .log-table { padding: 16px 20px; }
.task-list-table, .product-list-data, .release-data-table, .log-data-table { width: 100%; }
.task-row-actions, .release-actions { min-width: max-content; }
.shop-bind-panel, .title-policy-add-panel, .title-policy-list-panel, .dedupe-import-panel, .log-table { max-width: none; }
.dedupe-scope-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-grid, .run-grid { gap: var(--panel-gap); }
.form-grid, .template-grid, .template-toolbar { gap: 14px; }
dialog, .task-modal-dialog { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); }
dialog { margin: auto; overflow: hidden; }
dialog::backdrop { background: rgb(16 42 67 / .58); }
.quick-task-dialog, .compare-dialog, .asset-reuse-dialog, .release-edit-dialog { max-height: calc(100vh - 32px); }
.quick-task-dialog { padding: 20px; }
.asset-task-frame { max-height: calc(100vh - 112px); }
.compare-stage { min-width: 0; }
.main-nav { min-width: 0; }
.main-nav > a, .main-nav-more > summary { font-size: 13px; }

@media (max-width: 900px) {
  :root { --workspace-gutter: 14px; }
  .page { padding-top: 22px; padding-bottom: 40px; }
  .page-head { min-height: 0; }
  .asset-filter-grid, .asset-filter-grid.compact, .task-filter-grid, .release-filter-grid, .product-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-filter-form { grid-template-columns: minmax(0, 1fr) auto; }
  .task-filter-toolbar .task-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-actions { grid-column: 1 / -1; }
  .task-list-panel, .product-list-table, .release-table, .log-table { padding: 14px 16px; }
}
@media (max-width: 600px) {
  .page { padding-left: 14px; padding-right: 14px; }
  .asset-filter-grid, .asset-filter-grid.compact, .task-filter-grid, .release-filter-grid, .product-filter-form { grid-template-columns: 1fr; }
  .dedupe-scope-form { grid-template-columns: 1fr; }
  .product-filter-form { grid-template-columns: 1fr; }
  .filter-actions { grid-column: auto; }
  .filter-actions button, .filter-actions .link-button { flex: 1 1 0; text-align: center; }
  .panel { padding: 16px; }
  .task-list-panel, .product-list-table, .release-table, .log-table { padding: 12px; }
  dialog, .task-modal-dialog { max-width: 100vw; max-height: 100vh; }
}
