/* Floating actions and existing-card spreadsheet; colors follow both Hub themes. */
.catalog-selection-floating{position:fixed;left:calc(var(--sidebar,268px) + 24px);right:24px;bottom:max(18px,env(safe-area-inset-bottom));z-index:24;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:15px 18px!important;margin:0!important;border:1px solid var(--hub-border);border-radius:12px;background:var(--hub-table);box-shadow:0 12px 38px var(--hub-shadow-ink);overflow:visible}.catalog-selection-floating.hidden{display:none!important}.catalog-selection-summary{flex:1 1 210px;min-width:0}.catalog-selection-summary b{display:block;font-size:13px}.catalog-selection-summary small{display:block;margin-top:4px;font-size:10px;color:var(--hub-muted);line-height:1.5}.catalog-selection-floating .btn{white-space:nowrap}.catalog-send-menu,.catalog-selection-more{position:relative}.catalog-send-menu>summary,.catalog-selection-more>summary{list-style:none;cursor:pointer;user-select:none}.catalog-send-menu>summary::-webkit-details-marker,.catalog-selection-more>summary::-webkit-details-marker{display:none}.catalog-send-menu>div,.catalog-selection-more>div{position:absolute;bottom:calc(100% + 12px);right:0;min-width:210px;max-height:min(420px,65vh);overflow-y:auto;border:1px solid var(--hub-border);border-radius:9px;padding:7px;background:var(--hub-table);box-shadow:0 10px 30px var(--hub-shadow-ink);display:grid;gap:3px}.catalog-send-menu button,.catalog-selection-more button{border:0;background:none;text-align:left;color:var(--hub-text);padding:10px 12px;border-radius:5px;font:inherit;font-size:12px;white-space:normal}.catalog-send-menu button:hover,.catalog-selection-more button:hover{background:var(--hub-surface-soft)}.catalog-send-menu button:disabled{color:var(--hub-muted);cursor:not-allowed}.catalog-selection-floating #catalog-open-selected{display:none!important}#catalog.catalog-selection-active{padding-bottom:140px}.pw-catalog-panel{overflow:visible}.catalog-batch-modal{width:min(1540px,calc(100vw - 32px));max-width:none}.catalog-batch-modal .modal-content{padding:20px 24px}.catalog-batch-modal .modal-bottom{flex-wrap:wrap;gap:9px}.cb-intro{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:18px}.cb-intro p{font-size:12px;line-height:1.8;margin-bottom:8px;max-width:950px}.cb-count{flex-shrink:0;padding:7px 11px;border:1px solid var(--hub-border);border-radius:16px;color:var(--hub-muted);font-size:11px}.cb-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:16px 0}.cb-toolbar label,.cb-shared label,.cb-dictionary>label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--hub-muted);min-width:0}.cb-toolbar select,.cb-shared select,.cb-shared textarea,.cb-dictionary>label input{min-height:38px;padding:9px 11px;border:1px solid var(--hub-border);border-radius:7px;background:var(--hub-table);color:var(--hub-text);font:inherit;font-size:12px;max-width:100%}.cb-toolbar select{max-width:460px}.cb-shared{border:1px solid var(--hub-border);border-radius:9px;padding:16px;margin:15px 0 20px;background:var(--hub-surface-soft)}.cb-shared h3{font-size:13px;margin-bottom:13px}.cb-shared-fields{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(220px,2fr) auto auto;gap:12px;align-items:end}.cb-shared textarea{resize:vertical;min-height:58px}.cb-shared .cb-check{flex-direction:row;align-items:center;min-height:38px;gap:6px;white-space:nowrap}.cb-check input,.cb-copy-dimensions input,.cb-publication-confirm input{width:15px;height:15px;flex:0 0 15px;margin:0;accent-color:var(--hub-accent)}.cb-copy-dimensions{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;font-size:11px;line-height:1.7;margin-top:15px;padding-top:14px;border-top:1px solid var(--hub-border);color:var(--hub-muted)}.cb-copy-dimensions label{display:flex;gap:6px;align-items:center}.cb-copy-dimensions small{font-size:10px}.cb-table-scroll{max-width:100%;max-height:55vh;overflow:auto;border:1px solid var(--hub-border);border-radius:9px;overscroll-behavior:contain}.cb-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.cb-table th,.cb-table td{border-right:1px solid var(--hub-border);border-bottom:1px solid var(--hub-border);vertical-align:top;padding:10px;background:var(--hub-table)}.cb-table tr:last-child td,.cb-table tr:last-child th{border-bottom:0}.cb-table th:last-child,.cb-table td:last-child{border-right:0}.cb-table thead th{position:sticky;top:0;z-index:3;text-align:left;background:var(--hub-surface-soft);min-width:190px;font-size:11px;line-height:1.6;color:var(--hub-muted)}.cb-table thead small{display:block;font-size:9px;font-weight:400}.cb-table .cb-product-column{position:sticky;left:0;z-index:2;min-width:190px;max-width:240px;text-align:left;background:var(--hub-surface-soft)}.cb-table thead .cb-product-column{z-index:4}.cb-product-column b,.cb-product-column small{display:block;overflow-wrap:anywhere;max-width:210px;line-height:1.6}.cb-product-column small{font-size:10px;font-weight:400;color:var(--hub-muted);margin-top:5px}.cb-cell{min-width:190px}.cb-cell input,.cb-cell textarea{width:100%;min-width:160px;min-height:37px;padding:8px 9px;border:1px solid var(--hub-border);border-radius:6px;background:var(--hub-table);color:var(--hub-text);font:inherit;font-size:12px;resize:vertical}.cb-cell textarea{min-width:260px;min-height:64px}.cb-cell input:focus,.cb-cell textarea:focus{outline:2px solid var(--hub-accent);outline-offset:1px}.cb-cell.changed{background:var(--hub-accent-soft)}.cb-cell-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:5px;min-height:16px}.cb-cell-tools .text-button{font-size:10px;padding:0}.cb-cell-tools small{font-size:10px;color:var(--hub-muted)}.cb-result-column{min-width:210px}.cb-state{display:inline-block;font-size:10px;padding:4px 8px;border:1px solid var(--hub-border);border-radius:14px;color:var(--hub-muted);background:var(--hub-surface-soft);line-height:1.6}.cb-state.saved{color:var(--hub-accent);background:var(--hub-accent-soft)}.cb-state.changed{color:var(--hub-text);background:var(--hub-accent-soft)}.cb-state.error{color:var(--hub-danger);background:var(--hub-surface-soft)}.cb-note{font-size:11px!important;line-height:1.8!important;color:var(--hub-muted);margin:12px 0}.cb-errors,.cb-warnings{font-size:11px;line-height:1.75;margin:9px 0 0;padding-left:17px;overflow-wrap:anywhere}.cb-errors,.cb-error{color:var(--hub-danger)}.cb-warnings{color:var(--hub-warning)}.cb-error,.cb-notice,.cb-draft{font-size:12px;line-height:1.8;border:1px solid var(--hub-border);background:var(--hub-surface-soft);border-radius:8px;padding:12px 15px;margin-bottom:16px}.cb-notice{color:var(--hub-text)}.cb-draft b{display:block}.cb-draft p{margin:5px 0 12px}.cb-draft .btn{margin-right:12px}.cb-footer-status{flex:1 1 210px;font-size:11px;color:var(--hub-muted);line-height:1.6}.cb-loading{padding:28px 12px;line-height:1.8}.cb-loading p{font-size:12px}.cb-unavailable{font-size:11px;color:var(--hub-muted);background:var(--hub-surface-soft)!important}.cb-preview{margin:22px 0 8px;padding:18px;border:1px solid var(--hub-border);border-radius:9px}.cb-preview h3{font-size:16px;margin-bottom:8px}.cb-preview>p{font-size:12px;line-height:1.7}.cb-preview details{border-top:1px solid var(--hub-border);padding:13px 0}.cb-preview summary{cursor:pointer;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}.cb-change-table{margin:12px 0;border-collapse:collapse;width:100%;font-size:11px;table-layout:fixed}.cb-change-table td,.cb-change-table th{border:1px solid var(--hub-border);padding:10px;text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.cb-change-table th{background:var(--hub-surface-soft);color:var(--hub-muted);width:24%}.cb-publication-table{table-layout:fixed;min-width:850px}.cb-publication-table th,.cb-publication-table td{min-width:160px}.cb-publication-table td p{font-size:11px;line-height:1.7;margin:8px 0 0}.cb-publication-confirm{display:flex;align-items:start;gap:9px;font-size:12px;line-height:1.8;margin:20px 0 10px}.cb-publication-confirm input{margin-top:4px}.cb-dictionary{position:sticky;bottom:0;z-index:8;padding:16px 20px;margin-top:18px;border:1px solid var(--hub-border);border-radius:9px;background:var(--hub-table);box-shadow:0 -8px 28px var(--hub-shadow-ink)}.cb-dictionary .cb-toolbar{margin-top:0;align-items:center;justify-content:space-between}.cb-dictionary h3{font-size:14px}.cb-dictionary>label{margin:10px 0}.cb-dictionary>.cb-check{flex-direction:row;align-items:center}.cb-dictionary #catalog-batch-dictionary-results{display:flex;flex-wrap:wrap;gap:7px;max-height:190px;overflow:auto;margin-top:12px}.cb-dictionary [data-cb-dictionary-pick]{border:1px solid var(--hub-border);border-radius:6px;padding:8px 12px;background:var(--hub-surface-soft);color:var(--hub-text);font-size:12px}.cb-table input:disabled,.cb-table textarea:disabled{opacity:.6;cursor:not-allowed}@media(max-width:1100px){.cb-shared-fields{grid-template-columns:1fr 2fr}.cb-shared-fields>.cb-check{align-self:center}.cb-shared-fields>.btn{justify-self:end}.catalog-selection-floating{left:calc(var(--sidebar,268px) + 16px);right:16px}}@media(max-width:900px){.catalog-selection-floating{left:16px;right:16px}.catalog-selection-summary{flex-basis:200px}.catalog-batch-modal{width:calc(100vw - 18px)}}@media(max-width:650px){.catalog-selection-floating{left:10px;right:10px;gap:8px;padding:12px!important;bottom:max(10px,env(safe-area-inset-bottom))}.catalog-selection-summary{flex-basis:100%}.catalog-selection-floating>.btn,.catalog-selection-floating>details{flex:1}.catalog-selection-floating summary{text-align:center}.catalog-send-menu>div,.catalog-selection-more>div{left:0;right:auto;min-width:205px;max-width:calc(100vw - 48px)}#catalog.catalog-selection-active{padding-bottom:220px}.catalog-batch-modal .modal-content{padding:15px}.catalog-batch-modal .modal-bottom .btn{flex:1 1 auto;font-size:11px}.cb-footer-status{flex-basis:100%}.cb-intro{flex-direction:column;gap:5px}.cb-shared{padding:12px}.cb-shared-fields{grid-template-columns:1fr}.cb-shared-fields>.btn{justify-self:stretch}.cb-toolbar>label{flex:1 1 100%}.cb-toolbar select{width:100%;max-width:none}.cb-preview{padding:12px}.cb-change-table{font-size:10px}.cb-change-table td,.cb-change-table th{padding:7px}.cb-table-scroll{max-height:52vh}.cb-dictionary{position:relative;padding:12px;bottom:auto}}
.cb-send-menu{position:relative}.cb-send-menu>summary{list-style:none;cursor:pointer}.cb-send-menu>summary::-webkit-details-marker{display:none}.cb-send-menu>div{position:absolute;bottom:calc(100% + 12px);left:0;z-index:15;min-width:210px;display:grid;gap:5px;padding:8px;border:1px solid var(--hub-border);border-radius:8px;background:var(--hub-table);box-shadow:0 -8px 28px var(--hub-shadow-ink)}.cb-send-menu button{padding:9px 12px;text-align:left;border:0;border-radius:5px;color:var(--hub-text);background:var(--hub-surface-soft);font:inherit;font-size:12px}.catalog-selection-more #catalog-delete-selected,.catalog-selection-more #catalog-remove-selected{color:var(--hub-danger)}.cb-product-column>.text-button{font-size:10px;margin-top:8px}
.cb-sent-fields{margin-top:8px;font-size:10px;line-height:1.7;color:var(--hub-muted)}.cb-sent-fields summary{cursor:pointer}.cb-sent-fields ul{padding-left:16px;margin:8px 0;overflow-wrap:anywhere}
/* Product links retain the native context menu and new-tab actions. */
.pw-product-link{text-decoration:none}.pw-product-link:focus-visible{outline:2px solid var(--hub-accent);outline-offset:4px;border-radius:3px}.pw-product-photo-link{display:inline-block}.pw-product-link.btn{display:inline-flex;align-items:center}
