/* Shared operations shell and commerce workspace. Business controls retain their IDs. */
body { --ink:#202b3b; --muted:#748092; --line:#e4e8ee; --card:#fff; --shadow:none; background:#f5f6f8; grid-template-columns:208px minmax(0,1fr); font-size:14px; }
body > .light-field { display:none; }
body > .sidebar { width:auto; padding:18px 12px; background:#fff; border-right:1px solid #e5e8ed; backdrop-filter:none; gap:12px; }
.sidebar .brand { padding:6px 10px 18px; gap:10px; border:0; border-radius:0; box-shadow:none; background:none; }
.sidebar .brand img { width:40px; height:40px; border-radius:8px; }
.sidebar .brand strong { font-size:17px; font-weight:650; }
.sidebar .brand span { font-size:12px; margin-top:3px; color:#85909f; }
.sidebar #moduleNav.nav { margin:0; gap:3px; overflow-y:auto; padding:0 3px; align-content:start; grid-auto-rows:min-content; }
.sidebar .nav button { min-height:36px; height:auto; padding:9px 12px; border:0; border-radius:6px; font-size:13px; line-height:1.5; font-weight:500; color:#586579; text-align:left; box-shadow:none; background:none; }
.sidebar .nav button.active { color:#1759a0; background:#edf3fc; font-weight:650; box-shadow:inset 3px 0 #2869ac; }
.sidebar .nav .nav-group-title, .sidebar .nav summary { font-size:11px; color:#8a95a5; letter-spacing:.4px; padding:14px 12px 6px; }
.sidebar .sidebar-foot { padding:12px 10px 0; border-radius:0; border-top:1px solid #edf0f3; background:none; font-size:10px; line-height:1.7; gap:2px; }
.sidebar .sidebar-foot strong { font-size:11px; }
body > .workspace { min-width:0; padding:0 28px 32px; background:none; }
.workspace > .topbar { position:relative; top:auto; margin:0 -28px 24px; padding:20px 28px; min-height:84px; align-items:center; gap:20px; background:#fff; border-bottom:1px solid #e5e8ed; box-shadow:none; backdrop-filter:none; z-index:20; }
.topbar .kicker { display:none; }
.workspace .topbar h1 { font-size:22px; line-height:1.35; margin:0; font-weight:650; letter-spacing:0; }
.workspace .topbar .top-subtitle { font-size:12px; line-height:1.6; font-weight:400; color:#8290a1; margin:6px 0 0; max-width:680px; }
.topbar .top-actions { flex-wrap:nowrap; gap:8px; align-items:center; }
.workspace button { border-radius:6px; box-shadow:none; font-weight:500; transition:background .15s,border-color .15s; }
.workspace button:hover { transform:none; }
.workspace button:focus-visible, .workspace a:focus-visible, .ops-tools summary:focus-visible { outline:3px solid #b6d3f5; outline-offset:2px; }
.workspace button.primary { background:#2365a8; color:#fff; border:1px solid #2365a8; box-shadow:none; }
.workspace button.primary:hover { background:#19558f; }
.workspace button.ghost { color:#4a5c72; background:#fff; border:1px solid #dce2ea; }
.workspace .top-actions > button { height:32px; padding:0 12px; font-size:12px; }
.topbar .admin-badge { padding:5px 9px; border-radius:5px; font-size:11px; font-weight:500; color:#397057; background:#f0f7f3; border:1px solid #dcebe2; white-space:nowrap; }
.ops-tools { position:relative; font-size:12px; }
.ops-tools > summary { padding:8px 11px; color:#4a5c72; border:1px solid #dce2ea; border-radius:6px; cursor:pointer; white-space:nowrap; list-style:none; }
.ops-tools > summary::after { content:'⌄'; margin-left:12px; }
.ops-tools-menu { position:absolute; right:0; top:40px; min-width:200px; display:grid; padding:6px; gap:3px; border:1px solid #e2e7ee; border-radius:8px; background:#fff; box-shadow:0 8px 28px #263a501a; z-index:30; }
.ops-tools .ops-tools-menu button { width:100%; height:34px; border:0; background:none; text-align:left; font-size:12px; padding:0 10px; justify-content:flex-start; color:#4a5c72; }
.ops-tools .ops-tools-menu button:hover { background:#f1f5fa; }
.workspace > .module { width:100%; min-width:0; max-width:none; margin-left:0; margin-right:0; }
.workspace .panel { border-radius:10px; box-shadow:none; background:#fff; border:1px solid #e4e8ee; }
.workspace .section-head { margin:0 0 16px; align-items:center; }
.workspace .section-head h2 { font-size:18px; margin:0; font-weight:650; }
.workspace .section-head .eyebrow { display:none; }
.workspace .section-actions { gap:8px; }
.workspace .section-actions button { height:34px; padding:0 13px; font-size:12px; }
.workspace input:not([type=checkbox]):not([type=radio]), .workspace select, .workspace textarea { border-radius:6px; border-color:#dce2ea; box-shadow:none; font-weight:400; }
#products .product-workbench { grid-template-columns:292px minmax(0,1fr); gap:20px; align-items:start; }
#products .product-catalog { top:18px; max-height:calc(100vh - 36px); overflow:auto; scrollbar-width:thin; padding-right:2px; }
#products .product-filter-bar { padding:14px; gap:12px; border:1px solid #e4e8ee; border-radius:9px; margin-bottom:10px; }
#products .product-filter-bar input, #products .product-filter-bar select { height:34px; min-height:34px; padding:6px 9px; font-size:12px; }
#products .product-filter-bar .inline { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; }
#products .product-direction-tabs { gap:5px; }
#products .product-direction-tabs button { height:28px; min-height:28px; padding:4px 8px; font-size:11px; background:#f6f7f9; border:1px solid #edf0f3; color:#657287; }
#products .product-direction-tabs button.active { background:#eaf2fc; color:#1e5f9e; border-color:#bad2ee; }
#products #productListCount { font-size:11px; color:#8a95a3; }
#products .product-list { gap:7px; }
#products .product-card { padding:13px; gap:11px; border-radius:8px; border:1px solid #e4e8ee; background:white; align-items:flex-start; }
#products .product-card.active { background:#f5f9ff; border-color:#91b4dc; box-shadow:inset 3px 0 #2c6eae; }
#products .product-thumb { width:45px; height:58px; flex-basis:45px; border-radius:5px; margin-top:2px; }
#products .product-card h3 { font-size:13px; font-weight:600; line-height:1.6; margin:0 0 5px; }
#products .product-card p { font-size:11px; line-height:1.5; color:#8591a0; margin:0 0 7px; }
#products .product-card .price, #products .product-card .status-tag { font-size:11px; padding:3px 6px; border-radius:4px; font-weight:500; }
#products .product-card-actions { display:flex; gap:10px; margin-top:8px; }
#products .product-card-actions button { height:24px; padding:0 3px; border:0; background:none; font-size:11px; color:#2466a5; }
#products .product-card-actions button.danger { color:#9d7373; }
#products .product-pagination { padding:8px 2px; margin:0; font-size:11px; }
#products .product-pagination button { height:28px; padding:0 8px; font-size:11px; }
#products .product-editor { padding:0 24px; border-radius:10px; border:1px solid #e2e7ee; box-shadow:none; display:block; overflow:visible; }
#products .product-editor-heading { padding:21px 0 17px; align-items:center; gap:12px; }
#products .product-editor-heading .eyebrow { display:none; }
#products .product-editor-heading h3 { font-size:16px; margin:0; font-weight:650; }
#products .product-editor-heading .status-tag { max-width:65%; border-radius:4px; font-size:11px; line-height:1.6; padding:4px 8px; font-weight:400; }
#products .product-editor-nav { margin:0 -24px; padding:0 24px; gap:22px; border-bottom:1px solid #e5e9ef; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; }
#products .product-editor-nav a { flex:none; padding:13px 0; background:none; color:#7b8797; border-radius:0; border-bottom:2px solid transparent; font-size:12px; font-weight:500; white-space:nowrap; }
#products .product-editor-nav a[aria-current=true] { color:#1d5f9f; border-bottom-color:#2869a9; font-weight:650; }
#products .product-editor-nav a:hover { background:none; color:#1d5f9f; }
#products .product-editor .form-section { display:grid; gap:18px!important; padding:24px 0!important; border:0; min-width:0; scroll-margin-top:16px; }
#products .product-editor.ops-tabbed .form-section:not(.ops-section-active) { display:none; }
#products .product-editor h4 { font-size:14px; font-weight:600; margin:0; gap:8px; }
#products .step-number { width:21px; height:21px; border-radius:5px; background:#edf3fa; font-size:11px; }
#products .product-editor label { font-size:12px; font-weight:500; line-height:1.6; color:#657388; gap:7px; }
#products .product-editor input:not([type=checkbox]), #products .product-editor select { height:36px; min-height:36px; padding:7px 10px; font-size:13px; color:#26374c; font-weight:400; }
#products .product-editor .inline { gap:14px; margin:0; }
#products .product-publish-bar { position:sticky; bottom:0; margin:0 -24px; padding:14px 24px; align-items:center; border-top:1px solid #e5e9ef; background:#fff; box-shadow:0 -4px 14px #263a5006; border-radius:0 0 10px 10px; z-index:8; }
#products .product-publish-bar label { display:flex; flex-direction:row; align-items:center; gap:10px; max-width:none; }
#products .product-publish-bar select { width:100px; }
#products .product-publish-bar button { height:36px; padding:0 24px; margin-left:auto; font-size:13px; }
#products #productSaveHint:empty { display:none; }
#products .product-media-grid { gap:16px; }
#products .product-media-box { border:1px dashed #d7e0eb; padding:18px; background:#fafbfd; border-radius:8px; }
#products .product-media-box h5 { font-size:12px; margin:0 0 14px; font-weight:600; }
#products .product-media-box .cover-preview { width:112px; height:112px; border-radius:6px; margin-bottom:14px; border:1px solid #e5e9ee; background:#fff; }
#products .cover-preview img { width:100%; height:100%; object-fit:contain; border-radius:0; }
#products .product-detail-image-preview:empty { min-height:112px; }
#products .product-media-box button { height:32px; min-height:32px; padding:0 12px; }
#products .mall-section-intro { margin:0; font-size:12px; line-height:1.7; }
#products .mall-variant-tabs { gap:8px; margin-bottom:12px; }
#products .mall-variant-tabs button { border-radius:6px; padding:11px 13px; min-height:60px; }
#products .mall-variant-detail, #products .product-class-source { padding:14px; border-radius:7px; }
#products .mall-class-results { gap:6px; }
#products .mall-class-results>button { padding:10px; min-height:58px; border-radius:6px; }
#products .mall-class-toolbar { gap:8px; }
#products .mall-class-toolbar button { min-height:36px; height:36px; padding:6px 10px; }
#products .mall-course-options { gap:0; border:1px solid #e5e9ee; border-radius:7px; overflow:hidden; grid-template-columns:1fr; }
#products label.mall-course-option { display:flex!important; border:0; border-bottom:1px solid #edf0f4; border-radius:0; padding:10px 12px!important; font-size:12px; height:auto!important; min-height:42px!important; line-height:1.6; background:#fff; font-weight:400; }
#products label.mall-course-option:last-child { border-bottom:0; }
#products label.mall-course-option:hover { background:#f7faff; }
#products label.mall-course-option:has(input:checked) { background:#edf5ff; color:#215c97; }
#products .mall-course-option input, #products .check input { width:15px!important; height:15px!important; min-height:15px!important; padding:0!important; margin:0!important; flex:0 0 15px; accent-color:#2a6ba9; }
#products .product-offer-block { margin:0; padding:16px; border-radius:7px; background:#fafbfd; }
#products .product-offer-block .inline { margin-top:16px; }
#products .mall-empty { padding:16px; border-radius:6px; font-size:12px; }
#products .ops-trial-toolbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:12px; border:1px solid #e4e9ef; border-radius:7px; background:#fafbfd; }
#products .ops-trial-toolbar input { flex:1; min-width:150px; width:100%; background:#fff; }
#products .ops-trial-toolbar button { height:32px; padding:0 10px; font-size:12px; border:1px solid #e0e6ed; background:#fff; color:#68788b; }
#products .ops-trial-toolbar button[aria-pressed=true] { color:#1d5e9f; border-color:#a8c5e6; background:#edf5ff; }
#products .ops-trial-count { font-size:11px; color:#8b97a6; white-space:nowrap; }
#products #productTrialPicker { max-height:480px; overflow-y:auto; scrollbar-width:thin; padding-right:4px; }
#products .mall-trial-course { margin:0 0 16px; }
#products .mall-trial-course > strong { position:sticky; top:0; padding:11px 0; margin:0; background:#fff; z-index:1; font-size:12px; color:#4c617b; font-weight:600; }
#products .ops-trial-empty { color:#8794a5; padding:24px 0; font-size:12px; text-align:center; }
#products .product-reviews-panel { margin:20px 0 0 312px; padding:20px 24px; border-radius:9px; }
#products .product-reviews-panel .form-title { margin:0 0 10px; align-items:center; }
#products .product-reviews-panel .eyebrow { display:none; }
#products .product-reviews-panel h3 { font-size:14px; margin:0; }
#products .product-reviews-panel p { font-size:12px; line-height:1.7; margin:8px 0; color:#8793a3; }
#products .product-reviews-panel button { height:30px; padding:0 12px; font-size:12px; }
#products .product-reviews-body { padding:0; min-height:0; }
#products .product-editor [hidden] { display:none!important; }
@media(min-width:1700px) { #products .product-workbench { grid-template-columns:310px minmax(0,1fr); } #products .product-reviews-panel { margin-left:330px; } }
@media(max-width:1180px) { body { grid-template-columns:180px minmax(0,1fr); } body>.workspace { padding:0 20px 24px; } .workspace>.topbar { margin:0 -20px 20px; padding:18px 20px; } .topbar .top-subtitle { max-width:450px; } #products .product-workbench { grid-template-columns:240px minmax(0,1fr); gap:16px; } #products .product-reviews-panel { margin-left:256px; } #products .product-editor { padding:0 18px; } #products .product-editor-nav { margin:0 -18px; padding:0 18px; gap:16px; } #products .product-publish-bar { margin:0 -18px; padding:12px 18px; } #products .product-media-grid { grid-template-columns:1fr; } }
@media(max-width:900px) { .workspace>.topbar { align-items:flex-start; } .topbar .top-actions { flex-wrap:wrap; justify-content:flex-end; } .topbar .top-subtitle { max-width:340px; } #products .product-workbench { grid-template-columns:220px minmax(0,1fr); gap:12px; } #products .product-reviews-panel { margin-left:232px; } #products .product-editor-heading { align-items:flex-start; flex-direction:column; } #products .product-editor-heading .status-tag { max-width:100%; } #products .product-filter-bar .inline { grid-template-columns:1fr; } }
@media(max-width:760px) { body { display:block; } body>.sidebar { position:relative; width:100%; height:auto; padding:10px 12px; } .sidebar .brand { padding:0 4px 8px; } .sidebar .brand img { width:32px;height:32px; } .sidebar .nav { max-height:125px; } .sidebar .sidebar-foot { display:none; } body>.workspace { padding:0 14px 24px; } .workspace>.topbar { margin:0 -14px 16px; padding:16px 14px; flex-direction:column; gap:12px; } .topbar .top-actions { width:100%; justify-content:flex-start; } .topbar .top-subtitle { max-width:none; } #products .product-workbench { grid-template-columns:1fr; gap:16px; } #products .product-catalog { position:static; max-height:370px; overflow:auto; } #products .product-filter-bar .inline { grid-template-columns:1fr 1fr; } #products .product-reviews-panel { margin-left:0; padding:18px; } #products .product-publish-bar { flex-wrap:wrap; gap:10px; } #products .product-publish-bar label { font-size:11px; } #products .product-publish-bar button { padding:0 16px; } #products .product-editor .inline { grid-template-columns:1fr; } #products .product-media-grid { grid-template-columns:1fr; } #products #productTrialPicker { max-height:400px; } }
