body.tech-mode #modal-add-product{padding:20px;background:#071e36a8;backdrop-filter:blur(7px)}
body.tech-mode #modal-add-product .tpf-panel{width:100%;max-width:1040px;max-height:calc(100dvh - 40px);border-radius:20px;border:1px solid #e5edf4;background:#f5f8fb;box-shadow:0 28px 90px #00152e45;color:#16334c;font-family:"Segoe UI",Arial,sans-serif}
body.tech-mode #modal-add-product .tpf-header{background:white;padding:19px 24px;border-bottom:1px solid #e5edf4;gap:18px}
body.tech-mode #modal-add-product .tpf-heading{display:flex;align-items:center;gap:13px;min-width:0}
body.tech-mode #modal-add-product .tpf-heading-icon{width:48px;height:48px;display:grid;place-items:center;flex:none;font-size:23px;background:#e4faf4;color:#009d8b;border:1px solid #c9eee5;border-radius:14px}
body.tech-mode #modal-add-product .tpf-eyebrow{font-size:10px;font-weight:750;letter-spacing:1.3px;color:#008875;display:block;margin-bottom:4px}
body.tech-mode #modal-add-product #modal-prod-title{font-size:24px;line-height:1.2;font-weight:750;letter-spacing:-.7px;color:#102b45;margin:0}
body.tech-mode #modal-add-product #modal-prod-title>i{display:none}
body.tech-mode #modal-add-product .tpf-subtitle{font-size:12px;line-height:1.5;color:#6c8094;margin:5px 0 0}
body.tech-mode #modal-add-product .tpf-header>button{width:38px;height:38px;min-height:38px;border-radius:11px;border:1px solid #e1e9f0;color:#668098;background:#f8fafc;font-size:25px;display:grid;place-items:center;flex:none}
body.tech-mode #modal-add-product .tpf-body{padding:20px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
body.tech-mode #modal-add-product .tpf-body>*{margin:0!important}
body.tech-mode #modal-add-product .tpf-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:19px;align-items:start}
body.tech-mode #modal-add-product .tpf-aside{display:grid;gap:15px;min-width:0}
body.tech-mode #modal-add-product .tpf-photo-card{background:white;border:1px solid #e2ebf2;border-radius:14px;padding:16px;min-width:0}
body.tech-mode #modal-add-product .tpf-photo-card>h4{font-size:13px;font-weight:700;color:#18394f;margin:0 0 4px}
body.tech-mode #modal-add-product .tpf-muted{font-size:11px;color:#718699;line-height:1.5;margin:0 0 14px}
body.tech-mode #modal-add-product #dropzone-area{height:auto;min-height:178px;max-width:100%;border:1.5px dashed #abd8d1;border-radius:12px;background:linear-gradient(140deg,#f3fcf9,#f3f8fc);padding:24px 10px;text-align:center;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;transition:border-color .15s,background .15s;overflow:hidden}
body.tech-mode #modal-add-product #dropzone-area:hover{border-color:#00a995;background:#ecfaf6}
body.tech-mode #modal-add-product #dropzone-area:focus-within{outline:3px solid #57cfc588;outline-offset:3px}
body.tech-mode #modal-add-product #dropzone-area>i{font-size:29px;color:#00a38d;background:#ddf6ef;border-radius:12px;padding:13px;margin:0}
body.tech-mode #modal-add-product #dropzone-area>p{font-size:11px;font-weight:500;color:#557b86;line-height:1.7;margin:0;max-width:160px;pointer-events:none}
body.tech-mode #modal-add-product #inp-prod-img{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.tech-mode #modal-add-product #prod-preview{max-width:100%;max-height:150px;object-fit:contain}
body.tech-mode #modal-add-product #product-photo-previews{position:relative;z-index:1;width:100%;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.tech-mode #modal-add-product #product-photo-previews:empty{display:none}
body.tech-mode #modal-add-product #product-photo-previews img{max-width:100%;width:100%;height:72px;object-fit:contain;border-radius:8px}
body.tech-mode #modal-add-product #product-photo-previews button{font-size:10px;min-height:32px}
body.tech-mode #modal-add-product .tpf-unit-tip{background:#eaf5f7;border:1px solid #d9e9ee;padding:16px;border-radius:13px;color:#476e7e}
body.tech-mode #modal-add-product .tpf-unit-tip>i{display:block;font-size:21px;color:#008f93;margin-bottom:11px}
body.tech-mode #modal-add-product .tpf-unit-tip>strong{display:block;font-size:12px;font-weight:700;color:#315970;margin-bottom:6px}
body.tech-mode #modal-add-product .tpf-unit-tip>p{font-size:11px;line-height:1.8;margin:0}
body.tech-mode #modal-add-product .tpf-fields{display:grid;gap:13px;min-width:0}
body.tech-mode #modal-add-product .tpf-section{background:white;border:1px solid #e2eaf2;border-radius:14px;padding:16px;min-width:0}
body.tech-mode #modal-add-product .tpf-section-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
body.tech-mode #modal-add-product .tpf-section-head>i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf8f5;color:#009782;font-size:14px;flex:none}
body.tech-mode #modal-add-product .tpf-section-head h4{font-size:14px;line-height:1.4;font-weight:750;margin:0;color:#16364f}
body.tech-mode #modal-add-product .tpf-section-head p{font-size:11px;line-height:1.5;margin:3px 0 0;color:#71869a}
body.tech-mode #modal-add-product .tpf-grid{display:grid;gap:12px;min-width:0}
body.tech-mode #modal-add-product .tpf-identity-grid{grid-template-columns:1.15fr 1.1fr .9fr}
body.tech-mode #modal-add-product .tpf-identity-grid>.tpf-field:first-child{grid-column:1/-1}
body.tech-mode #modal-add-product .tpf-pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.tech-mode #modal-add-product .tpf-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.tech-mode #modal-add-product .tpf-field{min-width:0}
body.tech-mode #modal-add-product .tpf-field label,
body.tech-mode #modal-add-product .tpf-disclosure-body label{display:block;font-size:11px;line-height:1.5;letter-spacing:0;text-transform:none;font-weight:650;color:#4c657b;margin:0 0 6px}
body.tech-mode #modal-add-product .tpf-field input,
body.tech-mode #modal-add-product .tpf-field select,
body.tech-mode #modal-add-product .tpf-disclosure-body input,
body.tech-mode #modal-add-product .tpf-disclosure-body select{display:block;width:100%;max-width:100%;min-width:0;min-height:43px;border:1px solid #dce6ee;border-radius:9px;background:#fbfcfe;color:#17374d;font-family:inherit;font-size:13px;font-weight:550;padding:10px 11px;line-height:1.4;text-align:left;box-shadow:0 1px 2px #103c5603;outline:none;transition:background .15s,border-color .15s,box-shadow .15s}
body.tech-mode #modal-add-product .tpf-field label>input{margin-top:6px}
body.tech-mode #modal-add-product .tpf-field input::placeholder,
body.tech-mode #modal-add-product .tpf-disclosure-body input::placeholder{color:#91a4b3;font-weight:400}
body.tech-mode #modal-add-product .tpf-field input:focus,
body.tech-mode #modal-add-product .tpf-field select:focus,
body.tech-mode #modal-add-product .tpf-disclosure-body input:focus,
body.tech-mode #modal-add-product .tpf-disclosure-body select:focus{border-color:#00a894;background:#fff;box-shadow:0 0 0 3px #00a89418}
body.tech-mode #modal-add-product #inp-prod-price{border-color:#b9e6dc;color:#007e6c;background:#f3fcf8;font-weight:750}
body.tech-mode #modal-add-product #inp-prod-cost{color:#294b64;background:#f7fafc}
body.tech-mode #modal-add-product #inp-prod-min{border-color:#eee0c9;background:#fffaf3;color:#8c5f21}
body.tech-mode #modal-add-product .tpf-field-note{font-size:10px;line-height:1.6;margin:9px 0 0;color:#7d8fa0}
body.tech-mode #modal-add-product .tpf-extras{display:grid;gap:9px}
body.tech-mode #modal-add-product .tpf-disclosure{border:1px solid #dfe8f0;background:#fff;border-radius:12px;min-width:0;overflow:hidden}
body.tech-mode #modal-add-product .tpf-disclosure>summary{display:flex;align-items:center;gap:11px;cursor:pointer;padding:13px 15px;list-style:none;min-height:60px}
body.tech-mode #modal-add-product .tpf-disclosure>summary::-webkit-details-marker{display:none}
body.tech-mode #modal-add-product .tpf-disclosure>summary>i:first-child{color:#21898d;font-size:17px;width:23px;text-align:center}
body.tech-mode #modal-add-product .tpf-disclosure>summary>span{min-width:0;flex:1}
body.tech-mode #modal-add-product .tpf-disclosure>summary strong{font-size:12px;line-height:1.4;font-weight:650;color:#34566c;display:block}
body.tech-mode #modal-add-product .tpf-disclosure>summary small{font-size:10px;line-height:1.5;color:#8395a4;display:block;margin-top:2px}
body.tech-mode #modal-add-product .tpf-disclosure>summary>i:last-child{font-size:10px;color:#7f98a6;transition:transform .15s}
body.tech-mode #modal-add-product .tpf-disclosure[open]>summary>i:last-child{transform:rotate(180deg)}
body.tech-mode #modal-add-product .tpf-disclosure-body{padding:15px;border-top:1px solid #e9eff5;background:#fcfdff;min-width:0}
body.tech-mode #modal-add-product #product-barcode-fields{min-width:0;font-size:12px}
body.tech-mode #modal-add-product #product-barcode-fields h4{font-size:13px;font-weight:700;margin:17px 0 6px;color:#35566c}
body.tech-mode #modal-add-product #product-barcode-fields p,
body.tech-mode #modal-add-product #product-sector-fields>p{font-size:11px;line-height:1.8;color:#6f8799;margin:0 0 13px}
body.tech-mode #modal-add-product #product-barcode-fields label>input{margin-top:6px}
body.tech-mode #modal-add-product .pack-row{display:grid!important;grid-template-columns:minmax(100px,1.2fr) minmax(110px,1.3fr) minmax(75px,.8fr) auto;align-items:center;gap:7px!important;padding:10px;border:1px solid #e1ebf3;border-radius:10px;background:white;margin:10px 0!important}
body.tech-mode #modal-add-product .pack-row input{width:100%!important;font-size:12px;padding:10px 8px}
body.tech-mode #modal-add-product .pack-row>button{border:1px solid #f1dce0;border-radius:8px;min-height:40px;padding:8px;color:#aa5265;background:#fff7f9;font-size:11px}
body.tech-mode #modal-add-product #add-pack{font-size:12px;min-height:40px;border:1px solid #cde8e1;color:#00816f;padding:9px 13px;background:#effaf6;border-radius:8px;font-weight:650}
body.tech-mode #modal-add-product #product-sector-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;min-width:0;border:0;padding:0;margin:0}
body.tech-mode #modal-add-product #product-sector-fields>legend{display:none}
body.tech-mode #modal-add-product #product-sector-fields>p{grid-column:1/-1;margin:0}
body.tech-mode #modal-add-product #product-sector-fields>label{margin:0;min-width:0}
body.tech-mode #modal-add-product #product-sector-fields input,
body.tech-mode #modal-add-product #product-sector-fields select{margin-top:5px}
body.tech-mode #modal-add-product .tpf-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 23px;margin:0;background:white;border-top:1px solid #e0e9f1;box-shadow:0 -5px 20px #183e5703}
body.tech-mode #modal-add-product .tpf-footer-note{font-size:11px;color:#8a9baa}
body.tech-mode #modal-add-product .tpf-actions{display:flex;align-items:center;gap:10px}
body.tech-mode #modal-add-product .tpf-cancel{min-height:44px;border:1px solid #dce6ed;border-radius:10px;background:white;color:#557186;padding:11px 20px;font-size:13px;font-weight:650}
body.tech-mode #modal-add-product .tpf-save{display:flex;align-items:center;justify-content:center;gap:9px;width:auto;min-height:44px;border:1px solid #009c88;border-radius:10px;background:linear-gradient(115deg,#00a98e,#009bb1);color:white;font-size:13px;font-weight:700;padding:11px 23px;box-shadow:0 4px 10px #009e8e1c;transform:none}
body.tech-mode #modal-add-product .tpf-save:hover{filter:brightness(.97)}
body.tech-mode #modal-add-product button:focus-visible,
body.tech-mode #modal-add-product summary:focus-visible{outline:3px solid #18b6a86b;outline-offset:3px}
@media(max-width:850px){
 body.tech-mode #modal-add-product .tpf-layout{grid-template-columns:180px minmax(0,1fr);gap:13px}
 body.tech-mode #modal-add-product .tpf-body{padding:15px}
 body.tech-mode #modal-add-product .tpf-photo-card{padding:12px}
 body.tech-mode #modal-add-product .tpf-section{padding:14px}
 body.tech-mode #modal-add-product .tpf-identity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tech-mode #modal-add-product .tpf-identity-grid>.tpf-field:last-child{grid-column:1/-1}
 body.tech-mode #modal-add-product .tpf-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tech-mode #modal-add-product .tpf-pricing-grid>.tpf-field:last-child{grid-column:1/-1}
 body.tech-mode #modal-add-product .pack-row{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 body.tech-mode #modal-add-product{padding:0;align-items:stretch}
 body.tech-mode #modal-add-product .tpf-panel{max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 body.tech-mode #modal-add-product .tpf-header{padding:16px;gap:10px}
 body.tech-mode #modal-add-product .tpf-heading{gap:10px}
 body.tech-mode #modal-add-product .tpf-heading-icon{width:39px;height:39px;font-size:19px;border-radius:11px}
 body.tech-mode #modal-add-product .tpf-eyebrow{font-size:8px;letter-spacing:1px}
 body.tech-mode #modal-add-product #modal-prod-title{font-size:21px;letter-spacing:-.5px}
 body.tech-mode #modal-add-product .tpf-subtitle{font-size:11px;max-width:220px}
 body.tech-mode #modal-add-product .tpf-header>button{width:36px;height:36px;min-height:36px}
 body.tech-mode #modal-add-product .tpf-body{padding:13px;scrollbar-gutter:auto}
 body.tech-mode #modal-add-product .tpf-layout{display:flex;flex-direction:column;gap:13px}
 body.tech-mode #modal-add-product .tpf-aside{width:100%;display:block}
 body.tech-mode #modal-add-product .tpf-unit-tip{display:none}
 body.tech-mode #modal-add-product .tpf-photo-card{padding:12px;display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:4px 12px;align-items:center}
 body.tech-mode #modal-add-product .tpf-photo-card>h4{font-size:13px;align-self:end;margin:0}
 body.tech-mode #modal-add-product .tpf-photo-card>.tpf-muted{font-size:11px;align-self:start;margin:0}
 body.tech-mode #modal-add-product #dropzone-area{grid-column:2;grid-row:1/3;min-height:95px;padding:9px 7px;gap:6px}
 body.tech-mode #modal-add-product #dropzone-area>i{font-size:18px;padding:7px;border-radius:8px}
 body.tech-mode #modal-add-product #dropzone-area>p{font-size:9px;line-height:1.5;max-width:108px}
 body.tech-mode #modal-add-product #product-photo-previews{grid-template-columns:minmax(0,1fr)}
 body.tech-mode #modal-add-product .tpf-fields{width:100%;gap:11px}
 body.tech-mode #modal-add-product .tpf-section{padding:14px;border-radius:12px}
 body.tech-mode #modal-add-product .tpf-section-head{margin-bottom:13px;gap:9px;align-items:flex-start}
 body.tech-mode #modal-add-product .tpf-section-head h4{font-size:14px}
 body.tech-mode #modal-add-product .tpf-section-head p{font-size:11px}
 body.tech-mode #modal-add-product .tpf-grid{gap:12px 10px}
 body.tech-mode #modal-add-product .tpf-field label,
 body.tech-mode #modal-add-product .tpf-disclosure-body label{font-size:12px}
 body.tech-mode #modal-add-product .tpf-field input,
 body.tech-mode #modal-add-product .tpf-field select,
 body.tech-mode #modal-add-product .tpf-disclosure-body input,
 body.tech-mode #modal-add-product .tpf-disclosure-body select{font-size:16px;min-height:46px;padding:11px 10px}
 body.tech-mode #modal-add-product .tpf-stock-grid>.tpf-field:nth-child(n+3){grid-column:1/-1}
 body.tech-mode #modal-add-product .tpf-disclosure>summary{padding:13px;min-height:65px}
 body.tech-mode #modal-add-product .tpf-disclosure>summary strong{font-size:13px}
 body.tech-mode #modal-add-product .tpf-disclosure>summary small{font-size:11px}
 body.tech-mode #modal-add-product .tpf-disclosure-body{padding:13px}
 body.tech-mode #modal-add-product #product-sector-fields{grid-template-columns:minmax(0,1fr)}
 body.tech-mode #modal-add-product .tpf-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));gap:0}
 body.tech-mode #modal-add-product .tpf-footer-note{display:none}
 body.tech-mode #modal-add-product .tpf-actions{width:100%;gap:9px}
 body.tech-mode #modal-add-product .tpf-cancel{min-height:47px;padding:12px 16px;font-size:13px}
 body.tech-mode #modal-add-product .tpf-save{flex:1;min-height:47px;padding:12px;font-size:14px}
}
@media(max-width:359px){
 body.tech-mode #modal-add-product .tpf-identity-grid,
 body.tech-mode #modal-add-product .tpf-pricing-grid,
 body.tech-mode #modal-add-product .tpf-stock-grid{grid-template-columns:minmax(0,1fr)}
 body.tech-mode #modal-add-product .tpf-photo-card{grid-template-columns:minmax(0,1fr) 110px;gap:4px 8px}
 body.tech-mode #modal-add-product .tpf-header{padding:13px}
 body.tech-mode #modal-add-product .tpf-heading-icon{display:none}
 body.tech-mode #modal-add-product .tpf-subtitle{max-width:210px}
}

body.tech-mode #modal-add-product .tpf-small-button{min-height:40px;padding:8px 12px;border:1px solid #a9d9d0;border-radius:9px;color:#075c53;background:#effbf7;font-weight:650;font-size:13px}
body.tech-mode #modal-add-product .tpf-supplier{display:grid;gap:8px;grid-column:1/-1;padding:12px;border:1px solid #dbe9ef;border-radius:12px}
body.tech-mode #modal-add-product .tpf-supplier small{font-size:12px;line-height:1.5}
body.tech-mode #modal-add-product .tpf-heading-icon{background:#e4f6ff;color:#087bce}body.tech-mode #modal-add-product .tpf-panel{font-family:Nunito,Arial,sans-serif}body.tech-mode #modal-add-product .tpf-save{background:linear-gradient(110deg,#0089b5,#00b8a2)}
