/* Full category access and readable product facts, without touching role forms. */
.category-row{display:block!important;overflow:visible!important;min-width:0;width:100%;padding:0!important}
.workbench-categories{width:100%;border:1px solid #e4e3ed;border-radius:12px;background:#fff}
.workbench-categories>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none;font-weight:600;color:#373348}
.workbench-categories>summary::-webkit-details-marker{display:none}
.workbench-categories>summary:after{content:'＋';font-size:20px;color:#6e50b6}
.workbench-categories[open]>summary:after{content:'−'}
.category-hint{margin-left:auto;color:#767180;font-size:11px;font-weight:400}
.workbench-category-options{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #ecebf1;padding:12px}
.workbench-category-options button{display:flex!important;align-items:center;justify-content:space-between;gap:10px;max-width:100%;min-height:36px;padding:7px 10px;border:1px solid #e6e3ec;border-radius:8px;background:#faf9fd;color:#565064;white-space:normal!important;cursor:pointer;font:inherit;font-size:11px}
.workbench-category-options button.active{color:#624496;background:#f1e9ff;border-color:#b69adb}
.workbench-category-options button b{font-size:10px;min-width:20px;text-align:center;color:inherit}
.workbench-categories summary:focus-visible,.workbench-category-options button:focus-visible,.workbench-link:focus-visible{outline:2px solid #8260b8;outline-offset:3px}
.pick-theme-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}
.decision-summary:empty{display:none!important}
.workbench-detail-host{white-space:normal!important;margin:12px 0 20px}
.workbench-details{font-size:13px;color:#3e3948}
.workbench-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.workbench-link{display:inline-flex;align-items:center;min-height:40px;padding:10px 12px;background:#f4effb;border:1px solid #daceec;border-radius:9px;text-decoration:none!important;color:#684690!important;font-size:12px;font-weight:600}
.workbench-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border:1px solid #e8e4ed;border-radius:12px;overflow:hidden}
.workbench-field{padding:11px 13px;border-bottom:1px solid #efedf3;min-width:0;background:#fff}
.workbench-field:nth-child(4n+1),.workbench-field:nth-child(4n+2){background:#faf9fc}
.workbench-field dt{margin:0 0 5px;font-size:10px;letter-spacing:.03em;color:#80758c}
.workbench-field dd{margin:0;font-weight:600;font-size:12px;overflow-wrap:anywhere;line-height:1.5}
.workbench-note,.workbench-source-note{margin:14px 0;font-size:11px;line-height:1.7;color:#8a8192}
.workbench-source-note summary{cursor:pointer}
.workbench-selling{font-size:12px;line-height:1.75;white-space:pre-line}
.workbench-detail-host+.drawer-data{display:none!important}
.product-card .opportunity-tag{white-space:nowrap}
.product-card .decision-summary:empty,.product-card .match-reason:empty{display:none!important}
@media(max-width:640px){.workbench-facts{grid-template-columns:1fr}.workbench-field:nth-child(even){background:#faf9fc}.workbench-categories>summary{flex-wrap:wrap;gap:6px}.category-hint{margin-left:0}.pick-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.workbench-category-options button{flex:1 1 42%}.workbench-links{flex-direction:column}.workbench-link{justify-content:center}}

.category-heading{display:flex;flex-direction:column;gap:5px;flex:0 1 auto;min-width:0}
.category-heading .category-hint{margin-left:0}
.workbench-category-shortcuts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px;margin-left:auto;flex:1 1 55%;min-width:0}
.workbench-category-shortcuts button{display:inline-flex!important;align-items:center;gap:7px;padding:7px 9px;min-height:34px;max-width:100%;border:1px solid #e6e3ec;border-radius:8px;background:#faf9fd;color:#565064;font:inherit;font-size:11px;white-space:normal!important;cursor:pointer}
.workbench-category-shortcuts button.active{color:#624496;background:#f1e9ff;border-color:#b69adb}
.workbench-category-shortcuts button b{font-size:10px;white-space:nowrap}
.workbench-category-shortcuts button:focus-visible{outline:2px solid #8260b8;outline-offset:3px}
@media(max-width:640px){.category-heading{flex:1 1 calc(100% - 35px);order:0}.workbench-categories>summary:after{order:1}.workbench-category-shortcuts{order:2;flex:1 1 100%;justify-content:flex-start;margin-left:0}.workbench-category-shortcuts button{flex:1 1 42%;justify-content:space-between}}

.batch-input-footer{flex-wrap:wrap;gap:10px}
.batch-template-tools{flex:1 1 100%;display:flex;flex-direction:column;gap:8px;min-width:0}
.batch-template-downloads{display:flex;flex-wrap:wrap;gap:8px}
.batch-template-link{display:inline-flex;align-items:center;padding:7px 11px;min-height:34px;border:1px solid #daceec;border-radius:8px;background:#f7f3fc;color:#684690!important;font-size:12px;text-decoration:none!important}
.batch-template-link:hover{background:#eee5fa}.batch-template-link:focus-visible{outline:2px solid #8260b8;outline-offset:3px}
.batch-template-tools>small{font-size:11px;color:#777080;line-height:1.6;font-weight:400}

.csv-batch-panel{grid-column:1/-1;width:100%;min-width:0;border:1px solid #daceec;border-radius:12px;padding:16px;background:#faf7ff;margin:8px 0 16px}
.csv-batch-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#4f3672;font-size:14px}.csv-batch-heading span{font-size:11px;color:#777080}
.csv-batch-guide{font-size:12px;line-height:1.7;margin:10px 0}.csv-batch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.csv-upload-label{cursor:pointer}.csv-upload-label input{display:none}
.csv-batch-actions button,.csv-batch-submit button{border:1px solid #daceec;border-radius:8px;padding:8px 12px;background:#fff;cursor:pointer;color:#684690;font:inherit;font-size:12px}
.csv-batch-help,.csv-batch-submit small{display:block;margin-top:9px;color:#777080;line-height:1.6;font-size:11px}.csv-batch-error{color:#a72b35;background:#fff0f1;padding:10px;border-radius:8px;white-space:pre-wrap;font-size:12px}
.csv-batch-count{font-size:12px;margin:12px 0}.csv-batch-table-wrap{overflow:auto;max-height:380px;border:1px solid #e7deef;border-radius:8px;background:#fff}.csv-batch-table{width:100%;border-collapse:collapse;font-size:11px}
.csv-batch-table th,.csv-batch-table td{padding:9px;border:1px solid #eee8f3;min-width:125px;max-width:280px;vertical-align:top;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.csv-batch-table th{background:#f2ebfa;position:sticky;top:0;z-index:1}
.csv-batch-table th:first-child,.csv-batch-table td:first-child{min-width:58px}.csv-row-invalid{background:#fff5f5}.csv-batch-table ul{padding-left:15px;color:#a72b35}.csv-status-success{color:#187748}.csv-status-uncertain{color:#a66b10}
.csv-batch-submit{margin-top:12px}.csv-batch-submit button{background:#72509f;color:#fff}.csv-batch-panel button:disabled{opacity:.5;cursor:not-allowed}.csv-batch-panel a:focus-visible,.csv-batch-panel button:focus-visible{outline:2px solid #8260b8;outline-offset:3px}
@media(max-width:640px){.csv-batch-panel{padding:12px}.csv-batch-actions{align-items:stretch}.csv-batch-actions>*{flex:1 1 100%;justify-content:center;text-align:center}}
