/* Daily product operations: five sections, compact catalog, explicit choices. */
.grid.two.product-workbench{grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:24px;align-items:start}
.product-catalog{min-width:0;position:sticky;top:20px}.product-filter-bar{display:grid;gap:12px;padding:16px;background:#fff;border:1px solid #e4e8ed;border-radius:16px;margin-bottom:12px}.product-filter-bar input,.product-filter-bar select{width:100%;min-width:0}.product-direction-tabs{display:flex;flex-wrap:wrap;gap:6px}.product-direction-tabs button{padding:6px 9px;border:1px solid #e5e8ec;border-radius:8px;background:#f7f9fb;color:#566274;font-size:12px}.product-direction-tabs button span{margin-left:5px;opacity:.65}.product-direction-tabs button.active{background:#103f38;color:white;border-color:#103f38}.product-catalog .product-list{display:grid;grid-template-columns:1fr;gap:8px}.product-catalog .product-card{display:flex;gap:12px;padding:12px;border-radius:12px;cursor:pointer}.product-catalog .product-card.active{border-color:#138774;box-shadow:0 0 0 1px #138774}.product-catalog .product-thumb{width:52px;height:52px;flex:0 0 52px;border-radius:9px;overflow:hidden}.product-catalog .product-thumb img{width:100%;height:100%;object-fit:cover}.product-catalog .product-card h3{font-size:14px;line-height:1.5;margin:0 0 5px}.product-catalog .product-card p{font-size:11px;margin:0 0 8px}.product-catalog .product-card-actions{margin-top:8px}.product-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.product-pagination span{font-size:12px;color:#6c7888}.product-pagination button:disabled{opacity:.4;cursor:default}
.product-editor{min-width:0}.product-editor-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.product-editor-heading h3{margin:4px 0 0}.product-editor-nav{display:flex;gap:8px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid #e8ecef}.product-editor-nav a{padding:6px 10px;border-radius:8px;color:#47645e;background:#f0f6f4;font-size:12px;text-decoration:none}.product-editor .form-section{padding:22px 0;margin:0;border:0;border-bottom:1px solid #e8ecef;scroll-margin-top:18px}.product-editor h4{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 18px}.product-editor h4 small{font-weight:400;color:#7e8895;font-size:12px}.step-number{width:24px;height:24px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;font-size:12px;color:#17604e;background:#e9f3ed}.product-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.product-media-box{min-width:0;padding:16px;background:#f8fafb;border:1px solid #e8ecef;border-radius:12px}.product-media-box h5{margin:0 0 12px}.product-media-box small{color:#7d8897;font-weight:400;margin-left:6px}.product-media-box input{max-width:100%}.product-class-source{display:flex;align-items:end;gap:12px}.product-class-source label{flex:1}.mall-course-heading{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px;font-size:13px}.mall-course-heading span{color:#748173;font-size:12px}.mall-course-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-editor label.mall-course-option{display:flex;align-items:center;gap:10px;margin:0;padding:12px;border:1px solid #dce6df;border-radius:9px;background:#f9fbfa;font-size:13px;cursor:pointer}.product-editor .mall-course-option input{width:16px;height:16px;flex:0 0 16px;margin:0}.mall-course-option:has(input:checked){border-color:#158c72;background:#edf7f2}.mall-course-option small{display:block;color:#7b8990;font-size:11px;margin-top:4px}.mall-empty{padding:14px;border-radius:8px;background:#f6f8fa;color:#778393;font-size:13px}.mall-trial-course{margin:14px 0}.mall-trial-course>strong{display:block;font-size:13px;margin-bottom:10px}.product-offer-block{padding:14px;background:#f8fafb;border-radius:10px;margin-bottom:12px}.product-offer-block .inline{margin-top:12px}.product-editor .check{display:flex;flex-direction:row;align-items:center;gap:8px}.product-editor .check input{width:16px;height:16px;margin:0}.product-publish-bar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:18px 0;position:static;background:rgba(255,255,255,.97);border-top:1px solid #e6eae7;z-index:2}.product-publish-bar label{max-width:160px}.product-publish-bar button{height:42px}.product-editor [hidden]{display:none!important}
@media(max-width:1100px){.grid.two.product-workbench{grid-template-columns:260px minmax(0,1fr)}.product-media-grid{grid-template-columns:1fr}.mall-course-options{grid-template-columns:1fr}}
@media(max-width:760px){.grid.two.product-workbench{grid-template-columns:1fr}.product-catalog{position:static}.product-media-grid{grid-template-columns:1fr}.product-editor-nav{gap:4px}.product-editor-nav a{padding:6px}.product-class-source{display:block}.product-editor .inline{flex-wrap:wrap}.product-editor .inline>*{min-width:140px;flex:1}.product-editor{padding:16px}.product-publish-bar{gap:10px}}

/* Searchable class selection and independent purchase options. */
#products .product-editor{padding:24px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(26,58,94,.035)}
#products .product-editor .form-section{padding:22px 0!important;gap:16px!important}
#products .product-editor h4{font-size:16px;letter-spacing:.1px;margin:0 0 16px;color:#182b43}
#products .step-number{background:#eaf1fb;color:#175a9d;border-radius:8px;font-weight:700}
#products .product-editor .inline{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
#products .product-editor label{font-size:13px;line-height:1.5;color:#526177;gap:7px;margin:0}
#products .product-editor input:not([type=checkbox]),#products .product-editor select{min-height:42px;padding:10px 12px;box-shadow:none}
#products .product-editor input:focus-visible,#products .product-editor select:focus-visible{outline:3px solid #e1ecfb;outline-offset:1px}
#products .product-editor-nav{gap:6px;padding:16px 0;position:static}
#products .product-editor-nav a{background:#f1f5fa;color:#48617c;padding:8px 12px;font-weight:600}
#products .product-editor-nav a:hover{background:#e8f0fb;color:#145592}
#products .mall-section-intro{font-size:13px;color:#748196;margin:-4px 0 18px;line-height:1.7}
#products .mall-variant-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:13px;color:#283b54}
#products .mall-variant-header strong span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;background:#edf2f9;color:#5a708f;border-radius:6px;margin-left:6px;font-size:12px}
#products .mall-variant-header button{background:#edf4ff;color:#155b9e;border:1px solid #d6e4f7;border-radius:8px;padding:8px 12px;box-shadow:none;font-size:12px}
#products .mall-variant-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-bottom:14px}
#products .mall-variant-tabs button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:13px 14px;border:1px solid #e0e6ed;border-radius:10px;background:#fff;color:#41546b;box-shadow:none;min-width:0}
#products .mall-variant-tabs button strong{font-size:13px;overflow-wrap:anywhere}
#products .mall-variant-tabs button small{font-size:11px;font-weight:400;color:#748398}
#products .mall-variant-tabs button[aria-pressed=true]{background:#eff5ff;border-color:#4f87c5;box-shadow:inset 0 2px 0 #2867ac;color:#154e8b}
#products .mall-variant-detail{padding:16px;background:#f7f9fc;border:1px solid #e6ecf4;border-radius:12px;display:grid;gap:14px;margin-bottom:16px}
#products .mall-variant-detail label small{font-size:11px;color:#8a96a7}
#products .mall-variant-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:4px}
#products .mall-variant-controls .check{font-size:12px;color:#586a82}
#products .mall-text-danger{margin-left:auto;color:#b55353;background:none;border:0;padding:6px;font-size:12px;box-shadow:none}
#products .mall-context-note{font-size:12px;line-height:1.7;color:#7c899b;margin:0 0 16px}
#products .mall-class-fields{border:0;padding:0;margin:0;min-width:0}
#products .mall-class-fields:disabled{opacity:.62}
#products .product-class-source{display:block;padding:16px;background:#fcfdff;border:1px solid #e4eaf2;border-radius:12px}
#products .mall-class-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;gap:10px;align-items:end;margin-bottom:12px}
#products .mall-class-toolbar>label{min-width:0}
#products .mall-class-toolbar button{border-radius:9px;padding:10px 12px;min-height:42px;font-size:12px;box-shadow:none}
#products .mall-class-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#products .mall-class-results>button{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;text-align:left;border:1px solid #e5eaf1;border-radius:9px;background:white;box-shadow:none;color:#354961;min-width:0}
#products .mall-class-results>button:hover{background:#f5f8fd;border-color:#a9c2df}
#products .mall-class-results>button[aria-pressed=true]{background:#eff5ff;border-color:#88afd9}
#products .mall-class-results>button>span:first-child{min-width:0}
#products .mall-class-results strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere;font-weight:600}
#products .mall-class-results small{display:block;font-size:11px;color:#8995a5;margin-top:4px;font-weight:400}
#products .mall-class-pick-mark{flex:none;color:#2c6bae;font-size:11px;font-weight:500}
#products .mall-class-list-status{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px;color:#8794a5;font-size:11px}
#products .mall-class-list-status>div{display:flex;align-items:center;gap:8px}
#products .mall-class-list-status button{border:1px solid #e3e9f1;padding:4px 8px;border-radius:6px;background:white;font-size:11px;box-shadow:none}
#products .mall-class-list-status button:disabled{opacity:.4;cursor:default}
#products .mall-selected-class{display:flex;align-items:center;gap:10px;padding:10px 12px;border-left:3px solid #3c77b9;background:#edf4fd;border-radius:5px;margin-bottom:10px;font-size:12px}
#products .mall-selected-class>span{color:#7a8da6;white-space:nowrap;font-size:11px}
#products .mall-selected-class strong{font-weight:600;color:#275685;overflow-wrap:anywhere}
#products .mall-empty{grid-column:1/-1;margin:0;background:#f3f6fa;color:#8794a6;padding:18px;font-size:12px;line-height:1.7}
#products #productDeliveryClassStatus:not(:empty){display:block;font-size:11px;color:#6d83a1;margin-top:8px}
#products .mall-course-heading{margin:18px 0 10px;color:#38516f}
#products label.mall-course-option{border:1px solid #e0e7f0;border-radius:9px;padding:12px;background:#fff;color:#435972;font-size:12px;line-height:1.5}
#products label.mall-course-option:has(input:checked){border-color:#98b9df;background:#f0f6ff;color:#235e9c}
#products .mall-course-option input,#products .check input{accent-color:#2467ad}
#products .product-media-box{padding:14px;background:#fafbfd;border-color:#e5eaf1}
#products .product-media-box input[type=file]{font-size:11px!important;min-height:36px;padding:6px!important;background:#fff}
#products .product-media-box input::file-selector-button{border:0;background:#edf2f9;color:#446584;font-size:11px;border-radius:5px;padding:6px 9px;margin-right:8px}
#products .product-media-box button{padding:8px 12px;border-radius:8px;font-size:12px;box-shadow:none;margin-top:8px}
#products .product-catalog .product-card.active{border-color:#5e8dbd;box-shadow:inset 3px 0 0 #2867ac;background:#f9fbff}
#products .product-direction-tabs button.active{background:#205c9a;border-color:#205c9a}
#products .product-offer-block{background:#f8fafd;border:1px solid #e9edf4;border-radius:10px;padding:14px}
#products .product-publish-bar{padding-top:20px;gap:12px}
@media(max-width:1100px){#products .mall-class-results{grid-template-columns:1fr}#products .mall-class-toolbar{grid-template-columns:minmax(0,1fr) 110px}#products .mall-class-toolbar>button{grid-column:2;min-height:32px;padding:5px 8px}#products .mall-variant-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#products .product-editor{padding:16px}#products .mall-class-toolbar{grid-template-columns:minmax(0,1fr) 100px}#products .mall-variant-tabs{grid-template-columns:1fr 1fr}#products .mall-variant-header{align-items:flex-start}#products .mall-variant-controls{gap:12px}#products .mall-variant-tabs button{padding:10px}#products .product-class-source{padding:12px}#products .mall-selected-class{align-items:flex-start}#products .product-editor .inline{grid-template-columns:1fr}#products .product-editor .inline>*{min-width:0}#products .mall-class-toolbar input{width:100%}}
#products .mall-variant-tabs button,#products .mall-class-results>button{height:auto!important;min-height:64px;white-space:normal}
#products .mall-variant-tabs button{justify-content:center}
#products .product-editor .mall-variant-detail .inline{margin:0}
/* Optional display copy stays separate from pricing and fulfillment. */
#products .mall-presentation-settings{border:1px solid #e2e9f2;border-radius:10px;margin-top:16px;background:#fbfcfe;padding:0 14px;min-width:0}
#products .mall-presentation-settings>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:14px 0;color:#345472;font-size:13px;font-weight:600;list-style:none}
#products .mall-presentation-settings>summary:before{content:'＋';color:#7b8ea5;font-size:16px}
#products .mall-presentation-settings[open]>summary:before{content:'−'}
#products .mall-presentation-settings>summary small{margin-left:auto;font-size:11px;color:#8995a6;font-weight:400}
#products .mall-presentation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-bottom:14px}
#products .mall-presentation-group{display:grid;align-content:start;gap:12px;background:#fff;border:1px solid #e8edf4;border-radius:8px;padding:14px;min-width:0}
#products .mall-presentation-wide{grid-column:1/-1}
#products .mall-presentation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#354f6d}
#products .mall-presentation-heading label{font-size:11px}
#products .mall-presentation-heading select{min-height:30px!important;padding:4px 8px!important;font-size:11px}
#products .mall-presentation-group>small{font-size:11px;color:#8a96a7;line-height:1.6}
#products .mall-presentation-group textarea{width:100%;resize:vertical;min-height:90px;padding:10px 12px;box-sizing:border-box;border:1px solid #dce4ef;border-radius:8px;font:inherit;line-height:1.65;color:#354961}
#products .mall-variant-presentation{margin-top:0;background:white}
#products .mall-media-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:100%;min-height:48px;background:#f4f7fb;color:#8796a8;border-radius:6px;overflow:hidden}
#products .mall-media-preview img{display:block;width:100%;height:100%;object-fit:contain}
#products .product-thumb .mall-media-preview img{object-fit:cover}
#products .mall-media-message{font-size:11px;line-height:1.5;text-align:center;padding:4px}
#products .mall-media-retry{background:transparent;border:0;color:#2c6baa;padding:2px 6px!important;margin:0!important;font-size:11px!important;min-height:0!important;height:auto!important;box-shadow:none}
@media(max-width:900px){#products .mall-presentation-grid{grid-template-columns:1fr}#products .mall-presentation-wide{grid-column:auto}}
