.ea-page{display:grid;gap:18px;color:#173a31}.ea-page *{box-sizing:border-box}.ea-hero{padding:20px}.ea-section{background:#fff;border:1px solid #dfe9e5;border-radius:20px;padding:20px;box-shadow:0 12px 32px rgba(19,72,57,.07);display:grid;gap:16px}.ea-section-head,.ea-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ea-section-head h2,.ea-panel-head h3{margin:0;color:#152b25}.ea-section-head p,.ea-panel-head p{margin:6px 0 0;color:#6c7e78;line-height:1.6}.ea-module-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.ea-module-card{position:relative;min-height:138px;border:1px solid #dbe7e2;border-radius:18px;padding:18px;text-decoration:none;color:#173a31;background:linear-gradient(145deg,#fff,#f8fbfa);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:10px 14px;transition:.18s ease}.ea-module-card:hover,.ea-module-card.active{border-color:#17866b;box-shadow:0 12px 26px rgba(23,134,107,.12);transform:translateY(-1px)}.ea-module-card.active{background:linear-gradient(135deg,#e7f7f1,#fff)}.ea-module-icon{width:48px;height:48px;border-radius:14px;background:#e8f6f1;display:grid;place-items:center;font-size:24px}.ea-module-card h3{margin:0 0 5px;font-size:18px}.ea-module-card p{margin:0;color:#6d7f78;line-height:1.55;font-size:13px}.ea-module-card strong{align-self:end;font-size:13px;color:#277461}.ea-module-card em{align-self:end;justify-self:end;font-style:normal;font-size:13px;font-weight:800;color:#17866b}.ea-product-metrics,.ea-cost-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ea-product-metrics article,.ea-cost-grid article{min-height:104px;border:1px solid #dfe9e5;border-radius:16px;padding:16px;background:linear-gradient(145deg,#fff,#f6fbf9);position:relative;overflow:hidden}.ea-product-metrics article:after,.ea-cost-grid article:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-18px;top:-20px;background:#e0f4ec}.ea-product-metrics span,.ea-cost-grid span{display:block;color:#6e8079;font-size:13px}.ea-product-metrics strong,.ea-cost-grid strong{display:block;margin-top:8px;font-size:24px;color:#162a24}.ea-product-metrics small,.ea-cost-grid small{display:block;margin-top:6px;color:#7b8c86}.ea-subtabs{display:flex;gap:8px;flex-wrap:wrap}.ea-subtabs a{border:1px solid #d6e3de;border-radius:12px;padding:9px 13px;color:#405851;text-decoration:none;background:#fff;font-weight:700}.ea-subtabs a:hover,.ea-subtabs a.active{background:#147b63;color:#fff;border-color:#147b63}.ea-two-column{display:grid;grid-template-columns:minmax(440px,1.15fr) minmax(360px,.85fr);gap:14px}.ea-panel{border:1px solid #dfe9e5;border-radius:17px;padding:16px;background:#fff;min-width:0}.ea-panel.ea-full{grid-column:1/-1}.ea-panel-head{margin-bottom:14px}.ea-panel-head form{min-width:250px}.ea-panel-head select{width:100%;height:42px;border:1px solid #ccdcd6;border-radius:11px;padding:0 12px;background:#fff}.ea-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ea-form-grid .wide{grid-column:1/-1}.ea-bom-form{grid-template-columns:repeat(4,minmax(0,1fr))}.ea-readonly{display:grid;gap:0;margin:0;border:1px solid #e2eae7;border-radius:14px;overflow:hidden}.ea-readonly div{display:grid;grid-template-columns:130px 1fr;padding:12px;border-bottom:1px solid #e6eeeb}.ea-readonly div:last-child{border-bottom:0}.ea-readonly dt{color:#6e8179}.ea-readonly dd{margin:0;font-weight:700}.ea-selected-row{background:#effaf6}.ea-page .data-table td small{display:block;margin-top:4px;color:#81918b}.ea-page .data-table form{margin:0}.ea-page .data-table .btn{white-space:nowrap}.ea-empty{text-align:center!important;color:#83948e;padding:28px!important}.ea-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ea-project-card{border:1px solid #dfe9e5;border-radius:18px;padding:17px;background:linear-gradient(145deg,#fff,#f8fbfa)}.ea-project-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ea-project-card h3{margin:4px 0 0}.ea-project-card header small{color:#799089}.ea-project-card dl{margin:14px 0 0;display:grid;gap:9px}.ea-project-card dl div{border-top:1px dashed #dfe8e5;padding-top:9px}.ea-project-card dt{color:#7a8c86;font-size:12px}.ea-project-card dd{margin:3px 0 0;line-height:1.45}.ea-project-card footer{margin-top:14px;color:#81928c;font-size:12px}.ea-empty-card{grid-column:1/-1;min-height:190px;border:1px dashed #cadbd5;border-radius:18px;display:grid;place-items:center;align-content:center;gap:8px;color:#7a8c86;font-size:34px}.ea-empty-card b{font-size:18px;color:#3f5e54}.ea-empty-card span{font-size:13px}.ea-page .status-pill.warning{background:#fff2d7;color:#906000}.ea-page .status-pill.success{background:#e8f7f1;color:#14745d}
@media(max-width:1180px){.ea-module-cards{grid-template-columns:1fr}.ea-module-card{min-height:110px}.ea-product-metrics,.ea-cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-two-column{grid-template-columns:1fr}.ea-bom-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ea-hero,.ea-section{padding:14px;border-radius:16px}.ea-section-head,.ea-panel-head{flex-direction:column}.ea-module-card{grid-template-columns:auto 1fr;padding:14px}.ea-module-card strong{grid-column:1/2}.ea-product-metrics,.ea-cost-grid{grid-template-columns:1fr 1fr}.ea-product-metrics strong,.ea-cost-grid strong{font-size:18px}.ea-form-grid,.ea-bom-form{grid-template-columns:1fr}.ea-form-grid .wide{grid-column:1}.ea-panel{padding:13px}.ea-panel-head form{min-width:0;width:100%}.ea-project-grid{grid-template-columns:1fr}.ea-subtabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.ea-subtabs a{white-space:nowrap}.ea-page .data-table{min-width:780px}.ea-readonly div{grid-template-columns:1fr;gap:4px}}
.ea-cost-workbench{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:16px;margin-top:16px;align-items:start}.ea-cost-workbench form{margin:0}.ea-cost-form{border:1px solid #dce8e3;border-radius:16px;padding:16px;background:#fbfdfc}.ea-cost-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.ea-cost-fields .field small{display:block;margin-top:5px;color:#758881;font-size:11px}.ea-check-field{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:12px 14px;border:1px solid #dce8e3;border-radius:12px;background:#eff8f5}.ea-check-field input{width:20px!important;height:20px!important;flex:0 0 auto}.ea-cost-board{border-radius:17px;padding:18px;background:linear-gradient(145deg,#0d493d,#176b58);color:#fff;box-shadow:0 14px 30px rgba(13,73,61,.18)}.ea-cost-board h4{margin:0 0 10px;font-size:18px}.ea-cost-board>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.14);line-height:1.4}.ea-cost-board>div span{color:#c9e2da}.ea-cost-board>div b{text-align:right}.ea-cost-board .ea-cost-total{margin:7px -8px;padding:13px 8px;border-radius:11px;background:rgba(255,255,255,.13);border:0}.ea-cost-board .ea-cost-total b{font-size:21px}.ea-cost-board p{margin:14px 0 0;color:#c7ded7;font-size:12px;line-height:1.65}.ea-cost-matrix{margin-top:20px;border-top:1px solid #e1eae7;padding-top:18px}.ea-cost-matrix h4{margin:0 0 12px}.ea-cost-matrix .data-table{min-width:1500px}.ea-cost-summary{margin-top:4px}.ea-cost-summary article:nth-child(3){border-color:#9bcdbf;background:linear-gradient(145deg,#eefaf6,#fff)}
@media(max-width:1180px){.ea-cost-workbench{grid-template-columns:1fr}.ea-cost-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ea-cost-fields{grid-template-columns:1fr}.ea-cost-fields .wide{grid-column:1}.ea-cost-workbench{display:block}.ea-cost-board{margin-top:14px}.ea-cost-summary{grid-template-columns:1fr 1fr}.ea-cost-form{padding:13px}}

.ea-category-create{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr) auto;gap:10px;margin-bottom:14px}.ea-category-create input,.ea-bom-actions input,.ea-project-change-form input,.ea-project-change-form select,.ea-project-change-form textarea{border:1px solid #ccdcd6;border-radius:11px;padding:10px 12px;background:#fff}.ea-category-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ea-category-list article{position:relative;display:grid;grid-template-columns:52px 1fr;gap:2px 10px;padding:12px;border:1px solid #dfe9e5;border-radius:14px;background:#f8fbfa}.ea-category-list article>b{grid-row:1/3;display:grid;place-items:center;border-radius:10px;background:#e4f4ee;color:#13765f;letter-spacing:.8px}.ea-category-list article>span{font-weight:800}.ea-category-list article>small{color:#788b85}.ea-category-list article form{position:absolute;right:7px;bottom:5px}.ea-link-danger{border:0;background:transparent;color:#b44c43;font-size:11px;cursor:pointer}.ea-check{align-content:start}.ea-check input{width:20px;height:20px}.ea-image-strip,.ea-table-images{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ea-image-strip a,.ea-table-images a{display:block}.ea-image-strip img{width:76px;height:76px;border-radius:12px;object-fit:cover;border:1px solid #dce7e3}.ea-table-images img{width:44px;height:44px;border-radius:9px;object-fit:cover;border:1px solid #dce7e3}.ea-table-images span{color:#8a9a95;font-size:11px;white-space:nowrap}.ea-row-actions,.ea-bom-actions,.ea-project-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ea-row-actions form,.ea-bom-actions form{margin:0}.ea-bom-status{display:flex;gap:7px}.ea-lock-note{margin:8px 0;padding:12px 14px;border:1px solid #d1e3dc;border-radius:12px;background:#edf7f3;color:#355e52}.ea-bom-actions{margin:12px 0}.ea-bom-actions form{display:flex;gap:8px}.ea-bom-actions input{min-width:220px}.ea-archive-box{margin-top:14px;border:1px solid #dfe9e5;border-radius:13px;overflow:hidden}.ea-archive-box summary{padding:12px 14px;background:#f4f8f6;font-weight:800;cursor:pointer}.ea-project-actions{margin-top:13px}.ea-project-change-form{display:grid;grid-template-columns:170px 160px 1fr auto;gap:10px;align-items:start}.ea-project-change-form textarea{min-height:74px;resize:vertical}.ea-timeline{display:grid;gap:0;margin-top:15px}.ea-timeline article{position:relative;display:grid;grid-template-columns:18px 1fr;gap:10px;padding-bottom:16px}.ea-timeline article:before{content:"";position:absolute;left:6px;top:14px;bottom:0;width:2px;background:#dce9e4}.ea-timeline article:last-child:before{display:none}.ea-timeline i{position:relative;z-index:1;width:14px;height:14px;border:3px solid #d9eee6;border-radius:50%;background:#17866b}.ea-timeline b,.ea-timeline span{display:block}.ea-timeline span{margin-top:2px;color:#7b8c86;font-size:12px}.ea-timeline p{margin:7px 0 0;line-height:1.6}
@media(max-width:1180px){.ea-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-project-change-form{grid-template-columns:1fr 1fr}.ea-project-change-form textarea{grid-column:1/-1}.ea-project-change-form button{justify-self:start}}
@media(max-width:700px){.ea-form-grid,.ea-bom-form,.ea-category-create,.ea-project-change-form{grid-template-columns:1fr}.ea-form-grid .wide,.ea-project-change-form textarea{grid-column:1}.ea-project-grid,.ea-category-list{grid-template-columns:1fr}.ea-page .data-table{min-width:880px}.ea-bom-actions{align-items:stretch;flex-direction:column}.ea-bom-actions form{width:100%;flex-wrap:wrap}.ea-bom-actions input{min-width:0;flex:1}.ea-bom-status{width:100%;justify-content:flex-start}}

.ea-product-create-layout{display:grid;grid-template-columns:minmax(250px,.38fr) minmax(0,1fr);gap:18px;align-items:start}.ea-product-create-layout h4,.ea-master-editor h4,.ea-master-divider h4{margin:0 0 10px;color:#173a31}.ea-brand-manager{border:1px solid #dce8e3;border-radius:15px;padding:14px;background:#f8fbfa}.ea-brand-manager form{margin:0}.ea-brand-list{display:grid;gap:8px;margin-top:13px}.ea-brand-list article,.ea-disabled-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dfe9e5;border-radius:11px;padding:9px 10px;background:#fff}.ea-brand-list article div,.ea-disabled-list article div{min-width:0}.ea-brand-list b,.ea-brand-list small,.ea-disabled-list b,.ea-disabled-list small{display:block;overflow:hidden;text-overflow:ellipsis}.ea-brand-list small,.ea-disabled-list small{margin-top:3px;color:#7a8d86;font-size:11px}.ea-product-create-form{min-width:0}.ea-product-create-form form,.ea-master-editor form{margin:0}.ea-product-master-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.ea-product-create-form .price-tier-box,.ea-master-editor .price-tier-box{margin-top:14px}.ea-product-create-form .tier-line,.ea-master-editor .tier-line{grid-template-columns:64px repeat(4,minmax(0,1fr))}.ea-product-create-form .tier-line>*,.ea-master-editor .tier-line>*{min-width:0}.ea-product-create-form .tier-line input,.ea-product-create-form .tier-line select,.ea-master-editor .tier-line input,.ea-master-editor .tier-line select{width:100%}.ea-master-editor{padding-bottom:18px;border-bottom:1px solid #dfe8e5}.ea-master-editor>p,.ea-master-divider>p{margin:-4px 0 14px;color:#71847d;line-height:1.55}.ea-master-divider{padding-top:18px}.ea-master-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ea-master-actions form{margin:0}.ea-disabled-products{margin:0}.ea-disabled-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.ea-disabled-list form{margin:0}
@media(max-width:1180px){.ea-product-create-layout{grid-template-columns:1fr}.ea-product-master-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-disabled-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ea-product-master-fields{grid-template-columns:1fr}.ea-product-create-form .tier-line,.ea-master-editor .tier-line{grid-template-columns:44px repeat(4,minmax(115px,1fr));min-width:560px}.ea-product-create-form .price-tier-box,.ea-master-editor .price-tier-box{overflow-x:auto}.ea-disabled-list{grid-template-columns:1fr}.ea-master-actions{align-items:stretch}.ea-master-actions form,.ea-master-actions button{width:100%}}

.ea-module-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.ea-ckd{gap:18px}.ea-flow-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.ea-flow-steps span{position:relative;padding:12px 10px;border:1px solid #d9e7e2;border-radius:13px;background:#f8fbfa;font-weight:800;font-size:12px;color:#235849}.ea-flow-steps span:after{content:"→";position:absolute;right:-9px;top:17px;color:#8db5a9;z-index:2}.ea-flow-steps span:last-child:after{display:none}.ea-flow-steps small{display:block;margin-top:5px;color:#7c8d87;font-weight:500}.ea-ckd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ea-ckd-metrics article{padding:14px;border:1px solid #dce8e3;border-radius:15px;background:linear-gradient(145deg,#fff,#f3faf7)}.ea-ckd-metrics span{display:block;color:#6e817a;font-size:12px}.ea-ckd-metrics strong{display:block;margin-top:7px;color:#17352d;font-size:20px}.ea-accounting-rule{display:grid;grid-template-columns:auto 1fr;gap:5px 14px;padding:14px 16px;border:1px solid #cfe3db;border-radius:14px;background:#edf8f4;color:#3d6257}.ea-accounting-rule b{grid-row:1/3;align-self:center;color:#126e58}.ea-accounting-rule span{line-height:1.45}.ea-demo-seed{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px dashed #86bfae;border-radius:15px;background:#f1faf6}.ea-demo-seed p{margin:4px 0 0;color:#6f837b}.ea-demo-seed form{margin:0}.ea-ckd-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ea-ckd-forms .ea-panel{background:#fbfdfc}.ea-ckd-forms .field small{display:block;margin-top:4px;color:#7b8c86}.ea-record-stack{display:grid;gap:10px}.ea-record-stack>article{border:1px solid #dce8e3;border-radius:14px;padding:14px;background:#f8fbfa}.ea-record-stack header{display:flex;align-items:center;justify-content:space-between;gap:10px}.ea-record-stack h4{margin:9px 0;color:#18362e}.ea-record-stack dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.ea-record-stack dl div{padding:8px;border-radius:9px;background:#fff}.ea-record-stack dt{font-size:11px;color:#7a8b85}.ea-record-stack dd{margin:4px 0 0;font-weight:800}.ea-record-stack>article>small{display:block;margin-top:10px;color:#778a83;line-height:1.45}.ea-ckd .data-table td{vertical-align:top}.ea-ckd .data-table td small{white-space:normal}
@media(max-width:1320px){.ea-module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-flow-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.ea-flow-steps span:after{display:none}.ea-ckd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ea-ckd-forms{grid-template-columns:1fr}.ea-demo-seed{align-items:flex-start;flex-direction:column}.ea-accounting-rule{grid-template-columns:1fr}.ea-accounting-rule b{grid-row:auto}.ea-record-stack dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ea-module-cards{grid-template-columns:1fr}.ea-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-ckd-metrics{grid-template-columns:1fr 1fr}.ea-ckd-metrics strong{font-size:16px}.ea-record-stack dl{grid-template-columns:1fr 1fr}.ea-ckd .data-table{min-width:940px}}

/* P064: align the combined brand/product editor and tier-price table. */
.ea-product-create-layout{
  grid-template-columns:minmax(280px,320px) minmax(0,1fr);
  gap:24px;
}
.ea-brand-manager{
  padding:18px;
  border-radius:17px;
  background:#f7fbf9;
}
.ea-brand-manager .field + .field{margin-top:12px}
.ea-brand-manager textarea{min-height:112px;resize:vertical}
.ea-brand-manager .form-actions{justify-content:flex-end;margin-top:12px}
.ea-brand-list{margin-top:18px}
.ea-brand-list article{min-height:58px;padding:11px 12px}
.ea-product-create-form>h4{margin-bottom:14px}
.ea-product-create-form .ea-product-master-fields{
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px 16px;
  align-items:start;
}
.ea-product-create-form .ea-product-master-fields>.field{min-width:0}
.ea-product-create-form .ea-product-master-fields>.ea-field-sku{grid-column:1/span 4;grid-row:1}
.ea-product-create-form .ea-product-master-fields>.ea-field-brand{grid-column:1/span 4;grid-row:2}
.ea-product-create-form .ea-product-master-fields>.ea-field-model{grid-column:5/span 4;grid-row:1}
.ea-product-create-form .ea-product-master-fields>.ea-field-color{grid-column:9/span 4;grid-row:1}
.ea-product-create-form .ea-product-master-fields>.ea-field-spec{grid-column:5/span 8;grid-row:2}
.ea-product-create-form .ea-product-master-fields>.ea-field-unit{grid-column:1/span 4;grid-row:3}
.ea-product-create-form .ea-product-master-fields>.ea-field-category{grid-column:5/span 4;grid-row:3}
.ea-product-create-form .ea-product-master-fields>.ea-field-purchase-price{grid-column:9/span 4;grid-row:3}
.ea-product-create-form .ea-product-master-fields>.ea-field-purchase-currency{grid-column:1/span 4;grid-row:4}
.ea-product-create-form .ea-product-master-fields>.ea-field-sale-price{grid-column:5/span 4;grid-row:4}
.ea-product-create-form .ea-product-master-fields>.ea-field-sale-currency{grid-column:9/span 4;grid-row:4}
.ea-product-create-form .ea-product-master-fields>.ea-field-warning{grid-column:1/span 4;grid-row:5}
.ea-product-create-form .ea-product-master-fields>.ea-field-note{grid-column:5/span 8;grid-row:5}
.ea-product-create-form .ea-product-master-fields>.ea-field-brand .multi-select,
.ea-product-create-form .ea-product-master-fields>.ea-field-spec textarea{min-height:112px;height:112px}
.ea-product-create-form .ea-product-master-fields>.ea-field-note textarea{min-height:72px}
.ea-product-create-form .price-tier-box,
.ea-master-editor .price-tier-box{
  margin-top:18px;
  padding:18px;
  gap:10px;
  border-radius:16px;
  background:#f4faf7;
}
.ea-product-create-form .price-tier-box h3,
.ea-master-editor .price-tier-box h3{font-size:17px;margin:0}
.ea-product-create-form .price-tier-box .helper-note,
.ea-master-editor .price-tier-box .helper-note{margin:0 0 4px;line-height:1.5}
.ea-product-create-form .tier-line,
.ea-master-editor .tier-line{
  grid-template-columns:70px minmax(130px,1fr) minmax(130px,1fr) minmax(160px,1.12fr) minmax(145px,.9fr);
  gap:12px;
  align-items:center;
}
.ea-product-create-form .tier-line.tier-head,
.ea-master-editor .tier-line.tier-head{
  padding:2px 10px 0;
  font-size:12px;
}
.ea-product-create-form .tier-line:not(.tier-head),
.ea-master-editor .tier-line:not(.tier-head){
  padding:10px;
  border:1px solid #dce8e3;
  border-radius:13px;
  background:#fff;
}
.ea-product-create-form .tier-line input,
.ea-product-create-form .tier-line select,
.ea-master-editor .tier-line input,
.ea-master-editor .tier-line select{height:44px}
.ea-product-create-form .tier-line>b,
.ea-master-editor .tier-line>b{width:36px;height:36px;margin-left:2px;border-radius:10px}
.ea-product-create-form .tier-actions,
.ea-master-editor .tier-actions{padding-top:2px}
.ea-product-create-form>form>.form-actions{justify-content:flex-end;margin-top:14px}

@media(max-width:1280px){
  .ea-product-create-layout{grid-template-columns:1fr}
  .ea-brand-manager{position:static}
  .ea-brand-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:900px){
  .ea-product-create-form .ea-product-master-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ea-product-create-form .ea-product-master-fields>.field{grid-column:auto!important;grid-row:auto!important}
  .ea-product-create-form .ea-product-master-fields>.ea-field-brand,
  .ea-product-create-form .ea-product-master-fields>.ea-field-spec,
  .ea-product-create-form .ea-product-master-fields>.ea-field-note{grid-column:1/-1!important}
  .ea-product-create-form .tier-line,
  .ea-master-editor .tier-line{grid-template-columns:56px repeat(4,minmax(125px,1fr));min-width:640px}
  .ea-product-create-form .price-tier-box,
  .ea-master-editor .price-tier-box{overflow-x:auto}
}

@media(max-width:700px){
  .ea-product-create-form .ea-product-master-fields{grid-template-columns:1fr}
  .ea-product-create-form .ea-product-master-fields>.field{grid-column:1!important}
  .ea-brand-list{grid-template-columns:1fr}
  .ea-product-create-form>form>.form-actions{align-items:stretch}
  .ea-product-create-form>form>.form-actions .btn{width:100%}
}


/* P068 product gallery and details */
.ea-product-gallery-editor{grid-column:1/-1;margin-top:6px;padding:16px;border:1px solid #dce9e5;border-radius:16px;background:#f7fbf9}
.ea-product-gallery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.ea-product-gallery-head b,.ea-product-gallery-head small{display:block}.ea-product-gallery-head b{color:#173f35;font-size:15px}.ea-product-gallery-head small{margin-top:5px;color:#71837c;line-height:1.55}.ea-product-gallery-head>span{flex:0 0 auto;padding:5px 9px;border-radius:99px;background:#e1f3ed;color:#1c6d57;font-size:11px;font-weight:700}
.ea-product-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ea-product-image-slot{min-width:0;padding:9px;border:1px solid #dce7e3;border-radius:13px;background:#fff}.ea-product-image-preview{aspect-ratio:1/1;margin-bottom:8px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#edf4f1,#fafcfb)}.ea-product-image-preview img{width:100%;height:100%;object-fit:cover}.ea-product-image-preview span{color:#8a9b95;font-size:11px}.ea-product-image-slot>b{display:block;margin-bottom:6px;color:#29473f;font-size:11px}.ea-product-image-slot input[type=file]{display:block;width:100%;font-size:10px}.ea-product-image-slot label,.ea-product-image-slot>small{display:block;margin-top:7px;color:#72837d;font-size:10px}.ea-product-image-slot label input{vertical-align:-1px;accent-color:#147c64}
@media(max-width:1050px){.ea-product-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.ea-product-gallery-head{display:block}.ea-product-gallery-head>span{display:inline-block;margin-top:8px}.ea-product-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
