.commerce-screen{min-width:0}.commerce-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.commerce-toolbar a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.commerce-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.commerce-filters label{display:grid;gap:5px;min-width:0;font-size:12px;color:#5c6f89}.commerce-filters input,.commerce-filters select{width:100%;min-width:0;padding:10px;border:1px solid #d9e2ed;border-radius:11px;background:#fff;color:#162a46}.commerce-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.commerce-kpi{padding:16px;border:1px solid #dce7f2;border-radius:16px;background:linear-gradient(145deg,#fff,#f0f7ff);min-width:0}.commerce-kpi small{display:block;color:#46556f;margin-bottom:8px}.commerce-kpi strong{color:#122d50;font-size:20px;overflow-wrap:anywhere}.commerce-record{padding:14px 0;border-bottom:1px solid #e4ebf3;display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}.commerce-record>div{min-width:0}.commerce-record p{margin:5px 0;font-size:13px;color:#46556f;overflow-wrap:anywhere}.commerce-record .commerce-toolbar{margin:6px 0}.commerce-list{min-width:0}.commerce-list h3{font-size:15px;color:#183759}.commerce-badge{display:inline-block;font-size:11px;font-weight:650;padding:5px 8px;border-radius:9px;background:#eaf3fe;color:#225f9f}.commerce-badge.pending{background:#fff3d7;color:#81530b}.commerce-badge.overdue{background:#feeeee;color:#a32929}.commerce-line{border:1px solid #d9e4f0;border-radius:14px;padding:12px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;min-width:0}.commerce-line label{min-width:0}.commerce-line input,.commerce-line select{min-width:0;width:100%}.commerce-line .line-product{grid-column:1/-1}.commerce-line button{justify-self:end}.commerce-lines{display:grid;gap:10px}.commerce-pagination{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:14px 0;font-size:12px}.commerce-empty{padding:22px 8px;color:#46556f;text-align:center}.commerce-help{background:#f0f6fd;border:1px solid #dce8f7;border-radius:12px;padding:12px;font-size:13px;color:#345474}.commerce-camera{width:100%;max-height:220px;border-radius:12px;background:#13243b}.commerce-private-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.commerce-private-grid label{min-width:0}.commerce-private-grid input,.commerce-private-grid select,.commerce-private-grid textarea{width:100%;min-width:0}.professional-card{padding:24px;border-radius:22px;background:linear-gradient(135deg,#10284a,#1b5189);color:white;display:grid;gap:12px;min-width:0}.professional-card .card-logo{font-size:25px;font-weight:850;letter-spacing:3px;color:#e7f3ff}.professional-card h3{color:white;margin:0;font-size:22px}.professional-card p{margin:0;color:#d6e7fa;overflow-wrap:anywhere}.professional-card img,.professional-card .card-initials{height:90px;width:90px;object-fit:cover;border-radius:20px;background:#2c618f;display:grid;place-items:center;font-size:34px}.team-person-photo{width:42px;height:42px;object-fit:cover;border-radius:13px;flex:none}.team-person-identity{display:flex;align-items:flex-start;gap:10px;flex:1;min-width:0}.private-personnel-note{padding:12px;border-radius:12px;background:#eff5fc;color:#345273;font-size:12px}#commerce-queue pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}#commerce-content .table-scroll{max-width:100%}@media(max-width:767px){.commerce-filters{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.commerce-toolbar{gap:6px;margin:8px 0}.commerce-toolbar .btn{font-size:12px;min-height:38px;padding:8px 11px}.commerce-kpis{grid-template-columns:1fr 1fr;gap:8px}.commerce-kpi{padding:12px}.commerce-kpi strong{font-size:17px}.commerce-record{display:block;padding:12px 0}.commerce-line{grid-template-columns:1fr 1fr}.commerce-line .line-product{grid-column:1/-1}.commerce-screen .compact-tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%}.commerce-screen .compact-tabs .btn{white-space:nowrap;flex:0 0 auto}.commerce-private-grid{grid-template-columns:1fr 1fr}.professional-card{padding:20px}.commerce-screen>h3{font-size:16px}}

.commerce-product-photo{width:56px;height:56px;object-fit:cover;border-radius:12px;float:right;margin:0 0 8px 10px}.commerce-cost-info{padding:8px 10px;background:#f0f6fd;border-radius:11px;margin-top:8px}.commerce-cost-info p{font-size:12px!important}#profit-dialog .commerce-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#profit-dialog details p{font-size:12px;line-height:1.5}

#commerce-date-filters{font-size:12px;color:#5b718d;margin:8px 0}#commerce-date-filters .commerce-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-filters{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:767px){.commerce-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.commerce-search-wide{grid-column:1/-1}.load-dialog{max-width:760px}.load-body{padding:18px 22px;overflow:auto;min-height:0}.load-label{display:grid;gap:7px;margin-bottom:14px;color:#5c6f89;font-size:13px}.load-label input,.load-label select{width:100%;min-width:0;padding:12px;border:1px solid #d9e2ed;border-radius:12px;background:#fff;color:#162a46;font:inherit}.load-product{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #e4ebf3}.load-product>div{min-width:0}.load-product strong{font-size:14px;overflow-wrap:anywhere}.load-product p{font-size:12px;color:#46556f;margin:6px 0}.load-product-actions{display:flex;gap:7px;align-items:end;flex-shrink:0}.load-product-actions label{display:grid;gap:4px;font-size:11px;color:#46556f}.load-product-actions input{width:70px;padding:10px;border:1px solid #d9e2ed;border-radius:10px;font:inherit}#commerce-queue>details{padding:12px 0;border-bottom:1px solid #e4ebf3}#commerce-queue p{font-size:13px;overflow-wrap:anywhere}@media(max-width:767px){.load-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);margin:auto;border-radius:20px!important}.load-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);min-height:0}.load-body{padding:14px;flex:1}.load-product{display:block;padding:12px 0}.load-product-actions{margin-top:8px;justify-content:flex-end}.load-dialog .dialog-header,.load-dialog .dialog-footer{flex-shrink:0}.load-dialog .dialog-footer{padding:12px}.load-dialog h2{font-size:19px}.load-dialog .btn{min-height:42px}}
/* Personnel and vehicle stock: compact, branded operational layout. */
.commerce-stock-view .commerce-filters{grid-template-columns:1fr 1fr 1.15fr 1.4fr;padding:16px;background:#f5f8fc;border:1px solid #e2eaf4;border-radius:15px}.commerce-stock-view #commerce-person:disabled,.load-dialog #load-person:disabled{opacity:1;color:#163451;background:#eef3f9;font-weight:650;-webkit-text-fill-color:#163451}.commerce-stock-view .commerce-filters label:has(#commerce-person){order:1}.commerce-stock-view #commerce-location-label{order:2}.commerce-stock-view .commerce-filters label:has(#commerce-trip){order:3}.commerce-stock-view .commerce-filters label:has(#commerce-search){order:4}.stock-context{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid #e4ebf3}.stock-avatar{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:15px;background:#173b66;color:#fff;font-size:18px;font-weight:750;object-fit:cover}.stock-avatar .ws-icon{width:25px;height:25px}.stock-context h3{font-size:19px;line-height:1.3;margin:0 0 6px;color:#132f50}.stock-context p{display:flex;align-items:center;gap:6px;margin:0;color:#637892;font-size:13px}.stock-context .ws-icon{flex-shrink:0}.stock-trip-state{display:flex;align-items:center;gap:10px;margin-left:auto;color:#285894;max-width:42%}.stock-trip-state strong{display:block;font-size:13px}.stock-trip-state small{display:block;font-size:12px;color:#687d95;margin-top:4px;overflow-wrap:anywhere}.stock-quantity-summary{display:flex;gap:24px;flex-wrap:wrap;padding:17px 0;color:#637892;font-size:13px}.stock-quantity-summary span{display:flex;gap:6px;align-items:center}.stock-quantity-summary strong{font-size:17px;color:#173b66}.commerce-stock-view .commerce-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}.commerce-stock-view .commerce-kpi{padding:18px 20px;background:#f5f9ff;border:1px solid #dfE9f7;border-radius:15px}.commerce-stock-view .commerce-kpi strong{font-size:25px;letter-spacing:-.5px}.stock-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.stock-list-heading h3{font-size:16px;margin:0 0 6px}.stock-list-heading p{color:#718299;font-size:12px;margin:0}.stock-list-heading .commerce-toolbar{flex-shrink:0;margin:0}.stock-table-head,.stock-item{display:grid;grid-template-columns:minmax(200px,2.5fr) minmax(95px,1fr) minmax(60px,.6fr) minmax(120px,1fr);align-items:center;gap:16px}.commerce-stock-view:has(.has-cost) .stock-table-head,.stock-ledger.has-cost .stock-item{grid-template-columns:minmax(180px,2.4fr) minmax(90px,1fr) minmax(55px,.5fr) minmax(110px,1fr) minmax(110px,1fr)}.stock-table-head{background:#f4f7fb;color:#6c8098;font-size:11px;padding:12px;border-radius:10px}.stock-item{padding:18px 12px;border-bottom:1px solid #e4ebf3;font-size:13px;color:#1b3b60;min-width:0}.stock-item>div{min-width:0;overflow-wrap:anywhere}.stock-item-product{display:flex;gap:12px;align-items:center}.stock-item-product img,.stock-product-symbol{width:42px;height:42px;border-radius:11px;flex:none;object-fit:cover}.stock-product-symbol{display:grid;place-items:center;background:#f0f5fc;color:#456e9e}.stock-item-product strong{display:block;font-size:13px;line-height:1.5}.stock-item small{display:block;font-size:11px;color:#6f829b;margin-top:5px}.stock-item-vehicle{font-weight:600;display:flex;align-items:center;gap:5px}.stock-item-quantity{font-weight:750;font-size:18px}.stock-item-quantity small{display:inline;font-size:12px;font-weight:400}.stock-item-money{font-weight:650}.stock-cost-edit{display:block;padding:5px 0 0;background:none;border:none;color:#2762ad;font:inherit;font-size:11px;cursor:pointer;text-align:left}.stock-cost-edit:focus-visible{outline:2px solid #2866dc;outline-offset:3px}.stock-empty{text-align:center;padding:32px 16px;color:#70839c}.stock-empty>.ws-icon{width:30px;height:30px;color:#8da5c4}.stock-empty h3{font-size:15px;color:#254567;margin:12px 0 6px}.stock-empty p{font-size:13px;margin:0}.stock-history{border-top:1px solid #e4ebf3;padding:16px 0;margin-top:6px}.stock-history>summary{font-size:13px;font-weight:650;color:#345678;cursor:pointer}.stock-history>summary .ws-icon{vertical-align:middle;margin-right:7px}.stock-journey{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #ecf1f8}.stock-journey strong{display:block;font-size:13px}.stock-journey small{display:block;margin-top:6px;color:#6d829a;font-size:12px}.load-person-vehicle{display:grid;grid-template-columns:1fr 1fr;gap:14px}.load-review-identity{padding:16px;background:#f1f6fd;border-radius:14px;margin-bottom:10px}.load-review-identity>span{color:#5c7695;font-size:13px}.load-review-identity h3{font-size:17px;margin:6px 0 0}.load-dialog .dialog-header{background:#142f50;color:#fff}.load-dialog .dialog-header h2{color:#fff}.load-dialog .dialog-header .btn{background:#ffffff10;border-color:#ffffff35;color:#fff}.load-dialog #load-step{font-weight:600;color:#41658d;margin-bottom:18px}.load-dialog .load-label{font-size:12px;font-weight:600}.load-dialog .load-product{padding:16px 0}.load-dialog .load-product-actions .btn{min-height:42px}.load-dialog .load-product-actions .btn:not(:disabled){border-color:#c5d8f2;color:#245ca3}.load-dialog #load-selection{background:#f1f6fd;color:#315b88;font-weight:600}.load-dialog .dialog-footer{border-top:1px solid #e4ebf3;background:#f8fafd}
@media(max-width:1023px){.stock-table-head{display:none}.stock-item,.stock-ledger.has-cost .stock-item{grid-template-columns:1fr 1fr;gap:12px}.stock-item-product{grid-column:1/-1}.stock-item-vehicle{grid-column:1}.stock-item-quantity{text-align:right}.stock-item-money::before{content:attr(data-label);display:block;color:#7588a0;font-size:11px;font-weight:400;margin-bottom:6px}.stock-item-money:last-child{text-align:right}.stock-item-money:last-child .stock-cost-edit{text-align:right;margin-left:auto}}
@media(max-width:767px){.commerce-stock-view .commerce-filters{grid-template-columns:1fr 1fr;padding:12px;gap:10px}.commerce-stock-view .commerce-filters label:has(#commerce-search){grid-column:1/-1}.stock-context{gap:10px;flex-wrap:wrap;padding:14px 0}.stock-avatar{width:44px;height:44px;border-radius:13px}.stock-context h3{font-size:17px}.stock-context-title{flex:1;min-width:0}.stock-trip-state{margin-left:54px;max-width:100%;font-size:12px}.stock-quantity-summary{gap:15px;padding:14px 0;font-size:11px}.stock-quantity-summary strong{font-size:16px}.commerce-stock-view .commerce-kpis{gap:8px;margin-bottom:16px}.commerce-stock-view .commerce-kpi{padding:12px}.commerce-stock-view .commerce-kpi small{font-size:10px;line-height:1.5}.commerce-stock-view .commerce-kpi strong{font-size:20px}.stock-list-heading{display:block;margin:14px 0 4px}.stock-list-heading .commerce-toolbar{margin:12px 0}.stock-item,.stock-ledger.has-cost .stock-item{padding:15px 2px}.stock-item-product strong{font-size:12px}.stock-history{padding:13px 0}.load-person-vehicle{gap:10px}.load-dialog .load-product strong{font-size:13px}.load-dialog .dialog-footer .btn{font-size:12px}.load-review-identity{padding:12px}.load-review-identity h3{font-size:15px}}

.commerce-refresh-mobile{display:none!important}@media screen and (max-width:767px){#ws-commerce.commerce-inventory-screen>.ws-panel-head{display:none}#ws-commerce.commerce-inventory-screen>.commerce-toolbar{margin-top:0;justify-content:space-between}#ws-commerce.commerce-inventory-screen>.commerce-toolbar>.commerce-refresh-mobile{display:inline-flex!important;margin-left:auto}}
/* Barcode loading: fixed actions, large quantity controls, compact preparation list. */
.load-dialog{overflow:hidden;max-height:calc(100dvh - 24px)}.load-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);min-height:0}.load-dialog .load-body{flex:1;overscroll-behavior:contain}.load-dialog .dialog-header,.load-dialog .dialog-footer{flex-shrink:0}.load-dialog .dialog-footer{align-items:center;flex-wrap:wrap;padding-bottom:max(12px,env(safe-area-inset-bottom))}.load-footer-summary{margin:0 auto 0 0;padding:8px 10px;border-radius:9px;font-size:12px;white-space:nowrap}.load-scan-tools{display:flex;gap:8px;margin:12px 0}.load-scan-tools>[data-load=scan]{flex:1;background:#1e5fb4;color:#fff;border-color:#1e5fb4;min-height:48px}.load-scan-tools>[data-load=scan]::before{content:'';display:inline-block;vertical-align:middle;width:20px;height:16px;border:2px solid currentColor;border-radius:4px;margin-right:8px;background:repeating-linear-gradient(90deg,transparent 0 2px,currentColor 2px 3px,transparent 3px 5px);background-clip:content-box;padding:3px}.load-scan-tools>[data-load=stop-scan]{display:none}.load-dialog:has(#load-camera-wrap:not([hidden])) [data-load=stop-scan]{display:inline-flex}.load-dialog #load-camera{height:180px;object-fit:cover}.load-code-row{display:flex;gap:8px;align-items:end;margin:12px 0}.load-code-row .load-label{flex:1;min-width:0;margin:0}.load-code-row>.btn{min-height:44px}.load-dialog #load-scan-card{border:1px solid #bad0ed;border-radius:15px;background:#edf5ff;padding:15px;margin:12px 0}.load-dialog #load-scan-product{font-size:14px;color:#153858;overflow-wrap:anywhere}.load-dialog #load-scan-product p{font-size:12px;color:#607891;margin:7px 0 12px}.load-scan-quantity-row{display:flex;align-items:end;gap:8px}.load-scan-quantity-row>label{flex:1;display:grid;gap:5px;color:#4e6d90;font-size:12px;min-width:0}.load-scan-quantity-row input{width:100%;min-width:0;height:52px;padding:8px;border:1px solid #bdd1eb;border-radius:12px;font-size:24px;text-align:center;color:#132f50;background:#fff}.load-scan-quantity-row>.btn{height:52px;min-width:44px;padding:8px 12px}.load-dialog #load-last:empty{display:none}.load-dialog #load-last{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid #d6e7de;border-radius:12px;background:#f0f8f4;color:#295d43;margin:12px 0}.load-dialog #load-last div{min-width:0}.load-dialog #load-last small{display:block;font-size:10px}.load-dialog #load-last strong{display:block;font-size:12px;margin:4px 0;overflow-wrap:anywhere}.load-dialog #load-last span{font-size:13px}.load-dialog #load-last .btn{flex-shrink:0;min-height:40px;font-size:12px}.load-selected{border:1px solid #dfe8f3;border-radius:12px;padding:12px;margin:14px 0}.load-selected>summary{cursor:pointer;font-size:13px;font-weight:650;color:#30547e}.load-selected-line{padding:12px 0;border-bottom:1px solid #e4ebf3}.load-selected-line>strong{font-size:12px;overflow-wrap:anywhere}.load-selected-line>div{display:flex;align-items:end;justify-content:flex-end;gap:8px;margin-top:8px}.load-selected-line label{display:grid;gap:4px;font-size:11px;color:#46556f}.load-selected-line input{width:75px;min-height:42px;padding:8px;border:1px solid #d9e2ed;border-radius:10px;font:inherit}.load-selected>[data-load=clear]{margin-top:10px}.load-dialog #load-draft-note{font-size:11px;line-height:1.5;color:#46556f;margin:0 0 10px}@media(max-width:767px){.load-dialog .dialog-footer{gap:7px}.load-footer-summary{width:100%;padding:4px 0;font-size:12px}.load-dialog .dialog-footer>[data-load=review],.load-dialog #load-submit{flex:1;min-height:46px}.load-dialog .dialog-footer>[data-load=back]{min-height:46px}.load-scan-tools{gap:6px}.load-scan-tools>.btn{font-size:12px;padding:10px}.load-scan-quantity-row{gap:6px}.load-scan-quantity-row>.btn{min-width:42px;padding:8px}.load-dialog #load-scan-add{flex:1;font-size:15px}.load-dialog .load-label input,.load-dialog .load-label select{font-size:16px}.load-dialog #load-camera{height:155px}.load-selected-line input{font-size:16px}}
.load-scan-photo{width:54px;height:54px;object-fit:cover;border-radius:10px;float:left;margin:0 10px 8px 0}.load-dialog #load-scan-product::after{content:'';display:block;clear:both}
.load-catalog{border-top:1px solid #e4ebf3;margin:14px 0 0;padding-top:14px}.load-catalog>summary{color:#30547e;font-size:13px;font-weight:650;cursor:pointer;margin-bottom:12px}.load-dialog #load-error{width:100%;padding:0;margin:0;min-height:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.load-dialog #load-error:empty{display:none}

/* Sale entry: compact context, product workspace and an anchored checkout footer. */
#commerce-dialog[data-kind=sale]{width:min(1120px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid #dce5f0;border-radius:20px;background:#f5f7fb;color:#183451;box-shadow:0 28px 100px #11294140}
#commerce-dialog[data-kind=sale] form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);min-height:0}
#commerce-dialog[data-kind=sale] .dialog-header{position:static;flex:none;background:#fff;padding:18px 24px;gap:14px;border-color:#e3eaf3}
#commerce-dialog[data-kind=sale] h2{font-size:22px;color:#173552;line-height:1.3;margin:0}
#commerce-dialog[data-kind=sale] h2::before{content:'NESA SAHA · SATIŞ';display:block;color:#6e829b;font-size:10px;letter-spacing:.12em;font-weight:650;margin-bottom:5px}
#commerce-dialog[data-kind=sale] #commerce-body{display:block;overflow:auto;overscroll-behavior:contain;min-height:0;padding:20px 24px;scroll-padding:16px}
#commerce-dialog[data-kind=sale] label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:550;line-height:1.4;color:#647892}
#commerce-dialog[data-kind=sale] label>*{margin:0}
#commerce-dialog[data-kind=sale] input,#commerce-dialog[data-kind=sale] select,#commerce-dialog[data-kind=sale] textarea{box-sizing:border-box;width:100%;min-width:0;min-height:42px;border:1px solid #d9e4f1;border-radius:10px;background:#fff;padding:10px 12px;font:500 13px/1.4 NesaInter,system-ui,sans-serif;color:#1b395d}
#commerce-dialog[data-kind=sale] input:focus,#commerce-dialog[data-kind=sale] select:focus,#commerce-dialog[data-kind=sale] textarea:focus{border-color:#6591e7;outline:3px solid #0b49d014;outline-offset:0}
#commerce-dialog[data-kind=sale] .btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;font-size:12px;border-radius:10px;white-space:normal}
#commerce-dialog[data-kind=sale] .ws-icon{width:18px;height:18px;flex:none}
#commerce-dialog[data-kind=sale] .sale-context{padding:16px 18px;background:#fff;border:1px solid #dfe7f1;border-radius:14px;margin-bottom:16px}
#commerce-dialog[data-kind=sale] .sale-section-heading{display:flex;gap:8px;align-items:center;color:#32669f;margin-bottom:12px}
#commerce-dialog[data-kind=sale] h3{font-size:14px;color:#1a3b61;margin:0;font-weight:650;line-height:1.4}
#commerce-dialog[data-kind=sale] .sale-context-fields{display:grid;grid-template-columns:1.15fr 1fr;gap:16px}
#commerce-dialog[data-kind=sale] .sale-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}
#commerce-dialog[data-kind=sale] .sale-products{min-width:0;background:#fff;border:1px solid #dfe7f1;border-radius:14px;padding:18px}
#commerce-dialog[data-kind=sale] .sale-scan{display:flex;align-items:end;gap:8px;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #e7edf5}
#commerce-dialog[data-kind=sale] .sale-scan label{flex:1;min-width:90px}
#commerce-dialog[data-kind=sale] .sale-scan .btn{flex:none;min-height:42px;color:#2a5d99;background:#f7faff;border-color:#d9e6f6}
#commerce-dialog[data-kind=sale] .commerce-lines{gap:14px}
#commerce-dialog[data-kind=sale] .commerce-line{margin:0;grid-template-columns:.8fr 1.3fr .85fr .85fr;gap:12px 10px;border-radius:12px;background:#fbfcfe;padding:10px 14px 12px}
#commerce-dialog[data-kind=sale] .commerce-line legend{padding:0 6px;color:#567394;font-size:11px;font-weight:600}
#commerce-dialog[data-kind=sale] .commerce-line .line-product{grid-column:1/-1}
#commerce-dialog[data-kind=sale] .commerce-line [data-commerce=remove-line]{grid-column:1/-1;min-height:28px;padding:4px 7px;color:#8b5260;background:transparent;border:0;font-size:11px}
#commerce-dialog[data-kind=sale] .sale-add-row{margin-top:14px}
#commerce-dialog[data-kind=sale] .sale-add-row .btn{color:#2863b3;border-style:dashed;width:100%;background:#f8fbff}
#commerce-dialog[data-kind=sale] .sale-sidebar{display:grid;gap:14px;min-width:0}
#commerce-dialog[data-kind=sale] .sale-settings,#commerce-dialog[data-kind=sale] .sale-summary{padding:16px;background:#fff;border:1px solid #dfe7f1;border-radius:14px}
#commerce-dialog[data-kind=sale] .sale-settings-fields{display:grid;gap:12px}
#commerce-dialog[data-kind=sale] .sale-summary{background:#edf4ff;border-color:#dce7f7}
#commerce-dialog[data-kind=sale] .sale-summary h3{margin-bottom:12px}
#commerce-dialog[data-kind=sale] .sale-summary p{display:flex;justify-content:space-between;gap:12px;margin:10px 0;color:#5c7390;font-size:12px;line-height:1.5}
#commerce-dialog[data-kind=sale] .sale-summary strong{color:#234b77;text-align:right;font-size:13px;overflow-wrap:anywhere}
#commerce-dialog[data-kind=sale] .sale-summary small{display:block;border-top:1px solid #d7e4f5;padding-top:10px;margin-top:12px;color:#6b819b;font-size:11px}
#commerce-dialog[data-kind=sale] .sale-note textarea{min-height:76px;resize:vertical;max-height:160px}
#commerce-dialog[data-kind=sale] .sale-info{font-size:11px;line-height:1.6;color:#6e829b}
#commerce-dialog[data-kind=sale] .sale-info summary{font-size:11px;color:#65809f;cursor:pointer}
#commerce-dialog[data-kind=sale] .sale-info p{margin:6px 0 0}
#commerce-dialog[data-kind=sale] #commerce-error{flex:none;margin:0;padding:0 24px 10px;background:#fff;font-size:12px;overflow-wrap:anywhere;max-height:70px;overflow:auto}
#commerce-dialog[data-kind=sale] #commerce-error:empty{display:none}
#commerce-dialog[data-kind=sale] .dialog-footer{position:static;flex:none;display:flex;align-items:center;gap:10px;padding:15px 24px max(15px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe7f1}
#commerce-dialog[data-kind=sale] .sale-footer-total{margin-right:auto;min-width:0;line-height:1.4;color:#a43838;font-size:12px}
#commerce-dialog[data-kind=sale] .sale-footer-total span{display:block;font-size:11px;color:#71859c}
#commerce-dialog[data-kind=sale] .sale-footer-total strong{display:block;font-size:24px;letter-spacing:-.5px;color:#163c67;overflow-wrap:anywhere}
#commerce-dialog[data-kind=sale] .dialog-footer .primary{min-width:160px;min-height:46px;font-size:14px;box-shadow:0 4px 10px #0b49d018}
@media(max-width:900px){#commerce-dialog[data-kind=sale] .sale-layout{grid-template-columns:minmax(0,1fr) 240px}#commerce-dialog[data-kind=sale] .sale-products{padding:14px}#commerce-dialog[data-kind=sale] .sale-scan{flex-wrap:wrap}#commerce-dialog[data-kind=sale] .sale-scan label{flex-basis:100%}}
@media(max-width:767px){
 #commerce-dialog[data-kind=sale]{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:auto;border-radius:17px}
 #commerce-dialog[data-kind=sale] form{max-height:calc(100dvh - 18px)}
 #commerce-dialog[data-kind=sale] .dialog-header{padding:14px 16px}#commerce-dialog[data-kind=sale] h2{font-size:19px}
 #commerce-dialog[data-kind=sale] #commerce-body{padding:12px}
 #commerce-dialog[data-kind=sale] input,#commerce-dialog[data-kind=sale] select,#commerce-dialog[data-kind=sale] textarea{font-size:16px;min-height:44px;padding:10px}
 #commerce-dialog[data-kind=sale] .sale-context{padding:14px;margin-bottom:12px}#commerce-dialog[data-kind=sale] .sale-context-fields{grid-template-columns:1fr;gap:10px}
 #commerce-dialog[data-kind=sale] .sale-layout{grid-template-columns:1fr;gap:12px}#commerce-dialog[data-kind=sale] .sale-products{padding:14px}
 #commerce-dialog[data-kind=sale] .sale-scan{gap:8px;margin-bottom:12px;padding-bottom:12px}#commerce-dialog[data-kind=sale] .sale-scan .btn{flex:1;min-height:44px}
 #commerce-dialog[data-kind=sale] .commerce-line{grid-template-columns:1fr 1fr;gap:12px;padding:8px 12px 10px}
 #commerce-dialog[data-kind=sale] .commerce-line label:has([name=lineTax]){grid-column:1;grid-row:3}#commerce-dialog[data-kind=sale] .commerce-line label:has([name=lineDiscount]){grid-column:2;grid-row:3}
 #commerce-dialog[data-kind=sale] .commerce-line [data-commerce=remove-line]{min-height:36px}
 #commerce-dialog[data-kind=sale] .sale-sidebar{gap:12px}#commerce-dialog[data-kind=sale] .sale-settings-fields{grid-template-columns:1fr 1fr;gap:10px}
 #commerce-dialog[data-kind=sale] .sale-settings,#commerce-dialog[data-kind=sale] .sale-summary{padding:14px}#commerce-dialog[data-kind=sale] .sale-note{padding:0 2px}
 #commerce-dialog[data-kind=sale] .dialog-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));gap:8px;flex-wrap:wrap}
 #commerce-dialog[data-kind=sale] .sale-footer-total{flex:1 1 100%;display:flex;align-items:center;justify-content:space-between;gap:10px}#commerce-dialog[data-kind=sale] .sale-footer-total strong{font-size:23px;text-align:right}
 #commerce-dialog[data-kind=sale] .dialog-footer .btn{min-height:46px;margin:0}#commerce-dialog[data-kind=sale] .dialog-footer .primary{flex:1;min-width:0}
}

#commerce-dialog[data-kind=sale] .dialog-header .btn{color:#365a83!important;background:#f7faff;border:1px solid #dce6f3}
#document-dialog{width:min(980px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 24px);overflow:hidden;border-radius:18px;background:#f5f8fc;color:#173757}#document-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 26px);min-height:0}#document-dialog .dialog-header{position:static;flex:none;padding:17px 22px;background:white;border-bottom:1px solid #e0e8f2;gap:12px}#document-dialog .dialog-header h2{font-size:20px;color:#173757;margin:5px 0 0}#document-dialog .dialog-header .btn{color:#365a83!important;background:#f7faff;border:1px solid #dce6f3}.document-eyebrow{font-size:10px;letter-spacing:.1em;font-weight:650;color:#7a8ea5}#document-body{overflow:auto;min-height:0;padding:20px 22px;display:grid;gap:14px;overscroll-behavior:contain}#document-body label{display:grid;gap:7px;font-size:12px;color:#637993;min-width:0}#document-body input,#document-body select,#document-body textarea{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:10px 12px;background:#fff;border:1px solid #d6e1ee;border-radius:10px;font:inherit;font-size:14px;color:#183857}#document-body p{font-size:12px;line-height:1.6;color:#6b8098;margin:0}#document-body h3{margin:0 0 10px;font-size:15px;color:#244d7a}.document-context{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#edf4ff;border:1px solid #dce7f7;padding:14px;border-radius:12px;font-size:14px}.document-context strong{overflow-wrap:anywhere}.document-context span{white-space:nowrap;color:#275d9b}.document-tools{display:flex;gap:8px;flex-wrap:wrap}.document-tools .btn{min-height:44px;flex:1}.document-preview{background:white;border:1px solid #dfe7f1;border-radius:12px;padding:10px}.document-preview>iframe{width:100%;height:420px;border:0;background:#f0f3f8}.document-preview p{padding:8px}.document-confirm{padding:16px;border:1px solid #dfe7f1;background:#fff;border-radius:12px;display:grid;gap:12px}.document-confirm>p{margin-top:-5px!important}.document-selection{max-height:240px;overflow:auto;border:1px solid #dce5f0;background:#fff;border-radius:12px;padding:8px}.document-selection>label{display:flex!important;gap:12px!important;align-items:center;padding:12px;border-bottom:1px solid #e7edf5}.document-selection input{width:20px!important;height:20px!important;min-height:20px!important;flex:none;accent-color:#0b49d0}.document-selection strong,.document-selection small{display:block;overflow-wrap:anywhere}.document-selection small{font-size:11px;margin-top:4px}#document-dialog .dialog-footer{position:static;flex:none;display:flex;gap:10px;background:#fff;border-color:#dfe7f1;padding:14px 22px max(14px,env(safe-area-inset-bottom))}#document-dialog .btn{min-height:42px;padding:10px 14px;font-size:13px;border-radius:10px}#document-dialog .form-error,#document-status{margin:0;padding:0 22px 10px;flex:none;background:#fff;font-size:12px;line-height:1.5;max-height:70px;overflow:auto}#document-status{color:#557493}#document-dialog .form-error:empty,#document-status:empty{display:none}.document-proof,#document-photo-preview img{display:block;max-width:100%;max-height:420px;object-fit:contain;border-radius:12px;margin:auto}.document-shared{color:#247b59!important;font-size:12px!important}.document-history{font-size:12px;color:#607a97}.document-history li{padding:5px;overflow-wrap:anywhere}
@media(max-width:767px){#document-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);margin:auto;border-radius:16px}#document-dialog form{max-height:calc(100dvh - 14px)}#document-dialog .dialog-header{padding:14px 16px}#document-dialog .dialog-header h2{font-size:18px}#document-body{padding:14px;gap:12px}#document-body input,#document-body select,#document-body textarea{font-size:16px;min-height:44px}.document-context{align-items:start;flex-wrap:wrap}.document-tools{display:grid;grid-template-columns:1fr 1fr}.document-tools>.btn:first-child{grid-column:1/-1}.document-tools .btn{min-width:0;padding:10px}.document-preview>iframe{height:320px}.document-confirm{padding:14px}#document-dialog .dialog-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}#document-dialog .dialog-footer .btn{flex:1;min-width:0;min-height:46px}}
.customer-recorder{margin:0;padding:12px;border-radius:10px;background:#f1f6fd;color:#31577f;font-size:13px}.customer-location-options{border:1px solid #dce6f2;border-radius:12px;padding:12px}.customer-location-options>summary{cursor:pointer;font-weight:650;color:#31577f;font-size:13px}.customer-coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.customer-coordinate-fields label{min-width:0}.customer-location-options .btn{margin:5px 5px 0 0}.customer-location-reminder{border:1px solid #e7d8b6;background:#fff9ed;color:#6e5522;padding:14px;border-radius:12px;margin:14px 0;font-size:13px}.customer-location-reminder p{margin:7px 0;line-height:1.6}.customer-location-body{padding:18px 22px;font-size:14px;overflow-wrap:anywhere}.customer-location-body .form-error{padding:0}#customer-location-dialog{width:min(570px,calc(100vw - 24px))}#customer-location-dialog .dialog-footer{flex-wrap:wrap}.customer-photo-tools{display:flex;flex-wrap:wrap;gap:9px;align-items:end;padding:14px 0}.customer-photo-tools>label{display:grid;gap:5px;min-width:140px;font-size:12px;color:#46556f}.customer-photo-tools select{min-width:0;width:100%}.customer-photo-tools>p{width:100%;margin:0}.customer-site-photos .v2-photos{gap:12px}.customer-photo-help{margin:0}.customer-site-photos .v2-photos img{object-fit:cover;border-radius:10px}@media(max-width:767px){#s-detail[data-mobile-tab=info] [data-mobile-customer-pane=photos],#s-detail[data-mobile-tab=visits] [data-mobile-customer-pane=photos]{display:block!important}.customer-photo-tools>label{width:100%}.customer-photo-tools>.btn{flex:1;min-height:46px}.customer-coordinate-fields{gap:9px}#customer-location-dialog .dialog-footer>.btn{flex:1;min-height:46px;font-size:12px}.customer-location-options input{width:100%;min-width:0}}
/* Customer card: scoped controls prevent legacy page typography and header rules leaking in. */
.customer-icon{display:inline-block;flex:0 0 18px;width:18px;height:18px;vertical-align:middle}.customer-profile .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}.customer-profile-header{min-width:0;color:#14284d}.customer-profile-avatar{display:none}.customer-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.customer-card-heading h3{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;letter-spacing:-.2px}.customer-profile-card{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:14px;min-width:0}.customer-profile .customer-edit{background:transparent;border:0;padding:3px;color:#285788;font-size:11px;min-height:28px;white-space:nowrap}.customer-link-row{display:flex;align-items:center;gap:9px;min-height:42px;border-top:1px solid #edf1f7;padding:5px 0}.customer-link-row>.customer-link-icon{display:grid;place-items:center;background:#edf4ff;border-radius:8px;width:30px;height:30px;flex:0 0 30px;color:#2464ca}.customer-link-row>div{min-width:0;flex:1}.customer-link-row strong{display:block;font-size:12px;font-weight:600}.customer-link-row small{display:block;font-size:11px;color:#46556f;margin-top:2px;overflow-wrap:anywhere}.customer-link-row>.btn{font-size:11px;padding:5px 8px;min-height:30px;white-space:nowrap}.customer-link-row .is-whatsapp{background:#17b75b;color:#fff}.customer-social-links{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:3px}.customer-social-links .btn{font-size:10px;padding:3px 5px;min-height:25px}.customer-social-empty{display:inline-flex;align-items:center;padding:4px}.customer-brand-icon.brand-whatsapp{color:#13a950}.is-whatsapp .customer-brand-icon{color:white}.brand-badge{width:25px;height:25px;border-radius:6px;padding:3px;justify-content:center}.brand-badge.brand-instagram,.customer-social-symbol{background:linear-gradient(145deg,#7341ce,#d5258d 48%,#ffb640)!important;color:#fff!important}.brand-badge.brand-instagram .customer-brand-icon{color:#fff}.brand-facebook,.brand-facebook .customer-brand-icon{color:#1877f2}.brand-linkedin,.brand-linkedin .customer-brand-icon{color:#0a66c2}.customer-social-symbol .customer-brand-icon{color:white}.customer-cargo-fields{margin:0}.customer-cargo-fields>div{display:grid;grid-template-columns:46% minmax(0,1fr);gap:10px;padding:8px 0;border-top:1px solid #edf1f7;font-size:12px;line-height:1.4}.customer-cargo-fields dt{color:#46556f}.customer-cargo-fields dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}.customer-unfilled{color:#8a9cb4}.customer-desktop-tabs{display:none}.customer-photo-empty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.customer-photo-empty>div{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 6px;border:1px dashed #c7d7eb;border-radius:8px;background:#f8fafd;color:#8196b1;font-size:11px}.v2-photos:has(img) .customer-photo-empty{display:none}.customer-extra-fields{border:1px solid #dce6f2;border-radius:12px;padding:12px}.customer-extra-fields summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;font-weight:650;color:#31577f}.customer-extra-fields summary>span{margin-left:auto;color:#8a9bb0;font-size:11px;font-weight:400}.customer-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.customer-extra-grid label{min-width:0}.customer-extra-grid input{width:100%;min-width:0;box-sizing:border-box}.customer-more-menu{position:relative}.customer-more-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #dce5f0;border-radius:7px;background:#fff;color:#23456e;cursor:pointer}.customer-more-menu>summary::-webkit-details-marker{display:none}.customer-more-menu>summary:focus-visible{outline:3px solid #82afff;outline-offset:2px}.customer-more-actions{position:absolute;right:0;top:calc(100% + 5px);z-index:8;min-width:210px;background:white;border:1px solid #dce5f0;border-radius:10px;padding:7px;box-shadow:0 10px 30px #17305025}.customer-profile .customer-more-actions>.btn{white-space:nowrap;width:100%}.customer-close{display:none!important}.customer-note-grid>label{display:grid;gap:5px;min-width:0}.customer-note-grid .detail-fields{min-width:0}
@media(min-width:768px){
 body:not(.auth-pending) .customer-profile-dialog{width:calc(100vw - 228px);max-width:1500px;max-height:calc(100dvh - 24px);margin:12px 12px 12px auto;border:1px solid #dbe4f0;border-radius:14px;background:#f3f6fb;box-shadow:0 12px 50px #0f244329;overflow:auto;scrollbar-width:thin}.customer-profile-dialog::backdrop{background:#0e244019;backdrop-filter:none}body.ws-sidebar-collapsed:not(.auth-pending) .customer-profile-dialog{width:calc(100vw - 96px);max-width:none}
 body:not(.auth-pending) .customer-profile-dialog>.dialog-header{display:none}
 body:not(.auth-pending) .customer-profile-dialog #s-detail.customer-profile{--cp-pad:14px;--cp-gap:12px;--cp-control:32px;--cp-font:13px;--cp-link-row:40px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:var(--cp-gap);padding:var(--cp-gap);background:#f3f6fb;position:static;color:#14284d;font-size:var(--cp-font)}
 #s-detail.customer-profile,#s-detail.customer-profile *{box-sizing:border-box}
 #s-detail.customer-profile .customer-profile-header{grid-column:1/-1;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;background:white;color:#14284d;border:1px solid #dfe7f2;border-radius:12px;padding:var(--cp-pad);min-height:0}
 #s-detail.customer-profile .customer-profile-avatar{display:grid;place-items:center;background:#edf3fc;color:#234b78;border-radius:10px;width:48px;height:54px}#s-detail.customer-profile .customer-profile-avatar .customer-icon{width:30px;height:30px}
 #s-detail.customer-profile .customer-profile-identity{min-width:0;display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap}#s-detail.customer-profile .customer-profile-identity h2{color:#14284d;font-size:clamp(17px,1.4vw,22px);line-height:1.25;margin:0;letter-spacing:-.45px;overflow-wrap:anywhere}#s-detail.customer-profile .customer-profile-identity>.status-badge{font-size:10px;line-height:1.25;padding:4px 6px}#s-detail.customer-profile .customer-profile-identity .detail-meta{flex-basis:100%;margin:0;font-size:11px;line-height:1.4;color:#7287a5}
 #s-detail.customer-profile .customer-profile-tools{max-width:none;min-width:0}#s-detail.customer-profile .detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0;flex-wrap:nowrap}
 #s-detail.customer-profile .btn{font:600 11px/1.35 NesaInter,Inter,system-ui,sans-serif;min-height:var(--cp-control)!important;padding:5px 9px;border-radius:7px;gap:5px}#s-detail.customer-profile .customer-edit{font-size:11px;border:0;min-height:24px!important;padding:2px 3px;background:transparent;color:#285788}#s-detail.customer-profile .detail-actions [href^="https://wa.me"]{color:#168a4a;border-color:#c6e8d4}#s-detail.customer-profile .customer-close{display:inline-flex!important;padding:5px;width:var(--cp-control);border-color:transparent;color:#7589a2;background:transparent}#s-detail.customer-profile .customer-more-menu>summary{width:var(--cp-control);height:var(--cp-control)}
 #s-detail.customer-profile .mobile-customer-tabs,#s-detail.customer-profile .mobile-record-visit{display:none!important}
 #s-detail.customer-profile .customer-desktop-tabs{grid-column:1/-1;display:flex;align-items:center;gap:22px;border-bottom:1px solid #dae4f0;margin:0;padding:0 10px}#s-detail.customer-profile .customer-desktop-tabs .btn{border:0;border-radius:0;background:transparent;color:#7185a0;font-size:12px;padding:5px 0 8px;min-height:32px!important;border-bottom:3px solid transparent}#s-detail.customer-profile .customer-desktop-tabs [aria-pressed=true]{color:#1862e9;border-bottom-color:#0b49d0;font-weight:700}
 #s-detail.customer-profile #v2-card{display:contents}#s-detail.customer-profile [data-customer-desktop-pane]{grid-column:1/-1;margin:0!important;min-width:0}#s-detail.customer-profile .v2-block,#s-detail.customer-profile .detail-info,#s-detail.customer-profile .note-form,#s-detail.customer-profile .note-log,#s-detail.customer-profile .customer-profile-card{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:var(--cp-pad)}
 #s-detail.customer-profile .customer-card-heading{margin-bottom:7px;min-height:24px}#s-detail.customer-profile .customer-card-heading h3{font-size:14px;line-height:1.25;margin:0}#s-detail.customer-profile .detail-info dl{display:grid;grid-template-columns:31% minmax(0,1fr);gap:12px;margin:0;padding:6px 0}#s-detail.customer-profile .detail-info dt{font-size:12px;line-height:1.4;color:#7c8da5;margin:0}#s-detail.customer-profile .detail-info dd{font-size:var(--cp-font);line-height:1.4;margin:0;overflow-wrap:anywhere;white-space:normal}#s-detail.customer-profile .detail-info [data-customer-info=address]{border-top:1px solid #edf1f7;margin-top:6px;padding-top:9px}#s-detail.customer-profile .detail-info [data-customer-info=brands] dd{justify-self:start;border-radius:5px;background:#eaf0fa;padding:2px 7px}
 #s-detail.customer-profile .customer-link-row{min-height:var(--cp-link-row);padding:4px 0;gap:8px}#s-detail.customer-profile .customer-link-row>.customer-link-icon{width:28px;height:28px;flex-basis:28px}#s-detail.customer-profile .customer-link-row>div{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:7px}#s-detail.customer-profile .customer-link-row strong{font-size:12px;line-height:1.3}#s-detail.customer-profile .customer-link-row small{font-size:11px;line-height:1.3;margin:0}#s-detail.customer-profile .customer-social-links{margin:0;gap:4px}#s-detail.customer-profile .customer-social-links .btn{font-size:10px;padding:3px 5px;min-height:24px!important}#s-detail.customer-profile .customer-social-symbol{display:none}#s-detail.customer-profile .customer-social-row{padding-left:0}#s-detail.customer-profile .customer-social-row>div{grid-template-columns:126px minmax(0,1fr)}#s-detail.customer-profile .customer-social-row strong{grid-column:2;grid-row:1}#s-detail.customer-profile .customer-social-links{grid-column:1;grid-row:1}
 #s-detail.customer-profile .customer-cargo-fields>div{font-size:12px;line-height:1.4;padding:6px 0}#s-detail.customer-profile .customer-cargo-fields dt,#s-detail.customer-profile .customer-cargo-fields dd{font-size:12px;line-height:1.4}
 #s-detail.customer-profile .customer-location-reminder{padding:12px;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px;border-radius:12px}#s-detail.customer-profile .customer-location-reminder strong{font-size:12px;line-height:1.3}#s-detail.customer-profile .customer-location-reminder p{font-size:11px;line-height:1.4;margin:0}#s-detail.customer-profile .customer-location-reminder .btn{grid-column:2;grid-row:1/3;font-size:10px;min-height:30px!important;max-width:170px;padding:5px 8px}
 #s-detail.customer-profile .note-form h3{font-size:14px;line-height:1.25;margin:0 0 8px}#s-detail.customer-profile .customer-note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 8px;align-items:end}#s-detail.customer-profile .customer-note-grid>label{font-size:11px;color:#46556f;line-height:1.3;gap:4px;margin:0}#s-detail.customer-profile .customer-note-grid>label:has([name=logKind]){grid-column:1;grid-row:1;align-self:start}#s-detail.customer-profile .customer-note-label{grid-column:2/4;grid-row:1}#s-detail.customer-profile .customer-note-grid textarea{min-height:50px!important;height:50px;font:400 12px/1.4 NesaInter,system-ui;padding:7px;width:100%;resize:vertical}#s-detail.customer-profile .customer-note-grid select,#s-detail.customer-profile .customer-note-grid input{min-height:var(--cp-control)!important;height:var(--cp-control);font:400 12px/1.35 NesaInter,system-ui;padding:5px 7px!important;box-sizing:border-box;width:100%;margin-top:4px}#s-detail.customer-profile .customer-note-grid>label>select{margin-top:0}#s-detail.customer-profile .customer-note-grid .detail-fields{display:contents}#s-detail.customer-profile .customer-note-grid .detail-fields>label{min-width:0;font-size:11px;line-height:1.3;color:#46556f}#s-detail.customer-profile .customer-note-grid .detail-fields>label:first-child{grid-column:1;grid-row:2}#s-detail.customer-profile .customer-note-grid .detail-fields>label:last-child{grid-column:2;grid-row:2}#s-detail.customer-profile .customer-note-grid>.btn{grid-column:3;grid-row:2;width:100%;font-size:11px;min-height:var(--cp-control)!important}
 #s-detail.customer-profile .customer-site-photos>h3{font-size:13px;line-height:1.25;margin:0;grid-column:1;grid-row:1;align-self:center}#s-detail.customer-profile .customer-photo-tools{display:contents}#s-detail.customer-profile .customer-photo-tools>label{grid-column:2;grid-row:1;font-size:0;min-width:0;width:115px;display:block}#s-detail.customer-profile .customer-photo-tools select{font-size:11px;min-height:var(--cp-control)!important;height:var(--cp-control);padding:4px 6px;margin:0;width:100%}#s-detail.customer-profile [data-site-photo=camera]{grid-column:3;grid-row:1}#s-detail.customer-profile [data-site-photo=choose]{grid-column:4;grid-row:1}#s-detail.customer-profile .customer-photo-tools>p{display:none}#s-detail.customer-profile .customer-site-photos>p{display:none}#s-detail.customer-profile .customer-site-photos .v2-photos{grid-column:1/-1;margin:0;gap:8px}#s-detail.customer-profile .customer-site-photos .v2-photos img{height:76px;width:120px;object-fit:cover}#s-detail.customer-profile .customer-photo-empty>div{padding:9px 6px;min-height:38px}
 #s-detail.customer-profile [data-customer-desktop-pane]{display:none!important}
 #s-detail[data-customer-desktop-tab=overview] [data-customer-desktop-pane=overview],#s-detail[data-customer-desktop-tab=overview] [data-customer-desktop-pane=notes],#s-detail[data-customer-desktop-tab=visits] [data-customer-desktop-pane=visits],#s-detail[data-customer-desktop-tab=visits] [data-customer-desktop-pane=notes],#s-detail[data-customer-desktop-tab=offers] [data-customer-desktop-pane=offers],#s-detail[data-customer-desktop-tab=other] [data-customer-desktop-pane=other]{display:block!important}
 #s-detail.customer-profile[data-customer-desktop-tab=overview] [data-customer-desktop-pane=photos],#s-detail.customer-profile[data-customer-desktop-tab=photos] [data-customer-desktop-pane=photos]{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center}
 #s-detail[data-customer-desktop-tab=overview] .detail-info{grid-column:1;grid-row:3/5}#s-detail[data-customer-desktop-tab=overview] #customer-location-card{grid-column:2;grid-row:3}#s-detail[data-customer-desktop-tab=overview] #customer-cargo-card{grid-column:2;grid-row:4}#s-detail[data-customer-desktop-tab=overview]:not(:has(#customer-location-card)) #customer-cargo-card{grid-row:3/5}#s-detail[data-customer-desktop-tab=overview] #customer-contact-card{grid-column:1;grid-row:5}#s-detail[data-customer-desktop-tab=overview] .note-form{grid-column:2;grid-row:5}#s-detail[data-customer-desktop-tab=overview] .customer-site-photos{grid-column:1/-1;grid-row:6}
 @media(max-height:850px){body:not(.auth-pending) .customer-profile-dialog #s-detail.customer-profile{--cp-pad:8px;--cp-gap:8px;--cp-control:28px;--cp-font:12px;--cp-link-row:32px}#s-detail.customer-profile .customer-profile-avatar{width:42px;height:46px}#s-detail.customer-profile .customer-profile-header{grid-template-columns:42px minmax(0,1fr) auto}#s-detail.customer-profile .customer-card-heading{min-height:20px;margin-bottom:5px}#s-detail.customer-profile .detail-info dl{padding:3px 0}#s-detail.customer-profile .customer-cargo-fields>div{padding:3px 0}#s-detail.customer-profile .customer-location-reminder{padding:9px 10px}#s-detail.customer-profile .customer-location-reminder p{font-size:10px}#s-detail.customer-profile .customer-link-row{padding:2px 0}#s-detail.customer-profile .customer-link-row>.customer-link-icon{width:25px;height:25px;flex-basis:25px}#s-detail.customer-profile .customer-photo-empty>div{padding:6px;min-height:30px}#s-detail.customer-profile .customer-note-grid textarea{height:46px;min-height:46px!important}}
 @media(max-width:1150px){body:not(.auth-pending) .customer-profile-dialog{width:calc(100vw - 24px)}#s-detail.customer-profile .customer-profile-header{grid-template-columns:42px minmax(0,1fr)}#s-detail.customer-profile .customer-profile-tools{grid-column:1/-1}#s-detail.customer-profile .detail-actions{justify-content:flex-start}#s-detail.customer-profile .customer-profile-identity h2{font-size:19px}#s-detail.customer-profile .customer-link-row>div{display:block}#s-detail.customer-profile .customer-social-links{margin-top:3px}#s-detail.customer-profile .customer-desktop-tabs{gap:16px}}
}
@media(max-width:767px){
 .customer-profile-header .customer-profile-identity h2{color:#14284d;font-size:24px;line-height:1.3;overflow-wrap:anywhere;margin:0 0 9px}.customer-profile-header .detail-meta{margin:8px 0!important}.customer-profile .detail-actions{margin:12px 0!important;display:flex;flex-wrap:wrap}.customer-profile .detail-actions>.btn{flex:1 1 120px;font-size:12px;min-height:42px!important}.customer-more-menu>summary{height:42px;width:42px}.customer-profile-card{margin:14px 0}.customer-profile .customer-card-heading h3{font-size:14px}.customer-link-row{gap:8px;flex-wrap:wrap}.customer-link-row>div{flex-basis:100px}.customer-link-row>.btn{font-size:11px;max-width:100%}.customer-social-row>.customer-edit{margin-left:auto}.customer-social-links .btn{font-size:10px;min-height:30px!important}.customer-cargo-fields>div{font-size:12px}.customer-extra-grid{grid-template-columns:minmax(0,1fr)}.customer-extra-fields summary{flex-wrap:wrap;line-height:1.5}.customer-extra-fields summary>span{margin-left:0}.customer-photo-empty{gap:6px}.customer-photo-empty>div{flex-direction:column;padding:16px 4px;font-size:10px}.customer-profile .customer-icon{width:18px;height:18px}.customer-profile .customer-edit{font-size:11px;min-height:34px!important}.customer-profile-header .customer-profile-tools .btn.primary{background:#0b49d0}.customer-note-grid{display:grid;gap:10px}.customer-note-grid>label{font-size:12px;color:#46556f}.customer-note-grid>.btn{min-height:42px;width:100%}.customer-note-grid textarea{width:100%;min-height:88px}
}
#s-detail.customer-profile .customer-social-links .customer-social-button{width:25px;height:25px;min-height:25px!important;padding:3px;border:0;border-radius:6px}.customer-social-button.brand-instagram{background:linear-gradient(145deg,#7341ce,#d5258d 48%,#ffb640)!important;color:#fff!important}.customer-social-button.brand-instagram svg{color:white}
@media(max-width:767px){.customer-profile-tools{position:relative}.customer-more-menu{position:static;flex:0 0 42px}.customer-more-actions{left:0;right:0;top:100%;width:100%;min-width:0}.customer-more-actions>.btn{white-space:normal!important}}
