:root{--ink:#17221d;--muted:#68746d;--paper:#f5f5ef;--panel:#fff;--line:#dfe3dc;--green:#206b4b;--dark:#124a33;--lime:#c9ef72;--red:#b94242;--shadow:0 12px 32px rgba(25,45,34,.08)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}a{color:var(--green);text-decoration:none}
button,.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:.78rem 1rem;background:var(--green);color:#fff;font:inherit;font-weight:750;cursor:pointer;transition:.18s}
button:hover,.button:hover{background:var(--dark);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{color:var(--green)!important;background:#e8f0eb!important}.small{padding:.45rem .7rem!important;font-size:.82rem!important}.danger{background:var(--red)!important}
.topbar{position:sticky;z-index:20;top:0;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem max(3vw,1rem);background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.impersonating{min-height:100vh;border:6px solid #f28a24}.impersonation-banner{position:sticky;z-index:40;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:8px max(3vw,1rem);color:#fff;background:#e8750b;box-shadow:0 5px 18px rgba(129,61,0,.25)}.impersonation-banner div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}.impersonation-banner strong{letter-spacing:.08em}.impersonation-banner form{margin:0}.impersonation-banner button{padding:.55rem .8rem;color:#8b4000;background:#fff}.impersonation-banner button:hover{color:#fff;background:#8b4000}.impersonating .topbar{top:58px}
.notification-popup{position:fixed;z-index:60;top:82px;right:18px;width:min(390px,calc(100% - 36px));overflow:hidden;color:#fff;background:#17221d;border:3px solid var(--lime);border-radius:17px;box-shadow:0 18px 55px rgba(0,0,0,.28)}.notification-title{display:flex;align-items:center;gap:12px;padding:15px 17px}.notification-title>span{font-size:1.7rem}.notification-title small{color:#c8d1cc}.notification-list{display:grid;max-height:260px;overflow:auto;background:#fff}.notification-list a{padding:13px 16px;color:var(--ink);border-top:1px solid var(--line)}.notification-list a:hover{background:#f1f6f2}.notification-list small{margin-top:3px}
.brand{color:var(--ink);font-size:1.18rem;font-weight:900;letter-spacing:-.03em;white-space:nowrap}.brand:before{content:"✓";display:inline-grid;place-items:center;width:29px;height:29px;margin-right:.55rem;border-radius:9px;color:var(--dark);background:var(--lime)}.brand small{color:var(--muted);font-size:.65rem}
.active-mode{display:flex;align-items:center;gap:7px;padding:5px 10px;border:2px solid;border-radius:12px;font-size:.72rem;letter-spacing:.06em;white-space:nowrap}.active-mode img{width:35px;height:35px;object-fit:cover;border-radius:8px}.active-mode.orders{color:#942e25;background:#fff0e8;border-color:#ef9a76}.active-mode.delivery{color:#15583e;background:#e5f5e9;border-color:#74b992}.mode-switch-link{color:#fff!important;background:var(--green)}.dashboard-mode-logo{width:118px;height:118px;object-fit:cover;border:4px solid #fff;border-radius:24px;box-shadow:var(--shadow)}.mode-hero{align-items:center}
nav{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem}nav a{padding:.45rem .58rem;border-radius:7px;color:#48534d;font-size:.85rem;font-weight:650}nav a:hover{background:#edf3ee}
.container{width:min(1240px,calc(100% - 32px));min-height:calc(100vh - 130px);margin:auto;padding:42px 0 64px}footer{padding:22px;color:#7b837f;text-align:center;font-size:.78rem;border-top:1px solid var(--line)}
h1,h2,h3,p{margin-top:0}h1{margin-bottom:.55rem;font-size:clamp(2rem,5vw,3.5rem);line-height:1.02;letter-spacing:-.055em}h2{letter-spacing:-.025em}h3{margin-bottom:.25rem}p{color:var(--muted)}small{display:block;color:var(--muted)}
.eyebrow{display:block;margin-bottom:.7rem;color:var(--green);font-size:.72rem;font-weight:900;letter-spacing:.13em}.panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.narrow{max-width:580px;margin:5vh auto}
.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.hero-row p{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:25px}
.stat{padding:22px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:14px}.stat strong{display:block;font-size:2rem}.stat span{color:var(--muted);font-weight:650}.stat.accent{background:var(--green);color:#fff}.stat.accent span{color:#d7e8df}
.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px 11px;text-align:left;border-bottom:1px solid #ebeee9;vertical-align:middle}th{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}td small{margin-top:.18rem}.empty{padding:34px!important;color:var(--muted);text-align:center}
.status,.answer,.kind{display:inline-flex;width:max-content;padding:.25rem .55rem;border-radius:999px;font-size:.72rem;font-weight:800;text-transform:capitalize}.open,.staged,.answer.yes{color:#176044;background:#dcf4e8}.finished,.installed{color:#235d17;background:#e0f4d7}.closed,.failed,.answer.no{color:#862f2f;background:#f8dfdf}.answer.pending{color:#7a5c1d;background:#faedc9}.kind.client{color:#275391;background:#e2ebfa}.kind.supplier{color:#7d4a13;background:#fae8d2}
.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.72fr);gap:24px;align-items:start}.wide-left{grid-template-columns:minmax(0,2fr) minmax(300px,.72fr)}.sticky{position:sticky;top:92px}.stack,.card-list{display:grid;gap:12px}.grow{min-width:0;flex:1}
.admin-card,.template-card,.portal-list-card{display:flex;align-items:center;gap:15px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}.template-card>div{flex:1}.avatar{flex:0 0 46px;display:grid;place-items:center;width:46px;height:46px;border-radius:13px;color:var(--dark);background:var(--lime);font-weight:900}
.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.account-actions form{margin:0}.supervision{background:#e8750b!important}.supervision:hover{background:#a64c00!important}.supervision-help{margin-top:7px;color:#9a5a1c}
label{display:grid;gap:.38rem;margin-bottom:.9rem;color:#3f4944;font-size:.83rem;font-weight:750}input,select,textarea{width:100%;border:1px solid #cfd5cf;border-radius:9px;padding:.72rem .78rem;color:var(--ink);background:#fff;font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(32,107,75,.13)}textarea{min-height:90px}fieldset{border:0;padding:0;margin:0 0 1rem}.toggle{display:flex;align-items:center;gap:8px}.toggle input{width:auto}
.flash{margin-bottom:20px;padding:13px 16px;border-radius:10px;font-weight:700}.flash.success{color:#185f43;background:#dff3e8}.flash.error{color:#8b3030;background:#fae2e2}.credential-box{margin-bottom:20px;padding:18px 20px;color:#6d4c10;background:#fff1c9;border:1px solid #f0d98e;border-radius:13px}
.login-card,.public-login{display:grid;grid-template-columns:1.15fr .75fr;gap:clamp(30px,8vw,100px);align-items:center;min-height:68vh}.login-card h1,.public-login h1{font-size:clamp(2.8rem,7vw,5.6rem)}.privacy-note{padding:12px 15px;color:var(--dark);background:#e6f0e9;border-radius:10px}
.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.product-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:14px}.product-card>div:last-child{padding:16px}.product-card p{min-height:2.8em;font-size:.87rem}.product-photo{display:grid;place-items:center;height:155px;background:#edf0e9;font-size:2.5rem}.product-photo img{width:100%;height:100%;object-fit:cover}
.product-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}.product-meta b{color:var(--green);font-size:1.08rem}.product-meta span{color:var(--muted);font-size:.76rem}.inline-create{padding:10px;background:#fff5e8;border:1px solid #f1c38e;border-radius:10px}.category-section{margin-top:42px}.hero-row.compact{margin-bottom:16px}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.category-card{display:flex;align-items:center;gap:12px;padding:12px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:13px}.category-card:hover{border-color:var(--green);box-shadow:var(--shadow)}.category-thumb{flex:0 0 62px;display:grid;place-items:center;overflow:hidden;width:62px;height:62px;background:#edf0e9;border-radius:10px;font-size:1.8rem}.category-thumb img{width:100%;height:100%;object-fit:cover}.edit-photo{display:grid;gap:7px;margin-bottom:18px}.edit-photo img{width:100%;max-height:260px;object-fit:cover;border-radius:12px}.edit-photo span{color:var(--muted);font-size:.8rem}
.import-panel{border-color:#9ec9ad;background:#fafffb}.template-downloads{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 14px}.template-downloads a{padding:9px;color:var(--dark);background:#e1f0e6;border-radius:9px;text-align:center;font-size:.82rem;font-weight:800}.template-downloads a:hover{background:#cfe7d7}
.mini-product-list{display:grid;max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:10px}.product-search{position:sticky;z-index:2;top:0;border-radius:0;background:#fff}.category-products{border-bottom:1px solid var(--line)}.category-products summary{display:flex;align-items:center;justify-content:space-between;padding:11px;color:var(--ink);background:#f5f7f3;font-weight:850;cursor:pointer}.category-products summary small{display:inline}.check-product{margin:0;padding:7px;border-bottom:1px solid var(--line)}.check-product input{position:absolute;opacity:0}.check-product span{display:grid;grid-template-columns:38px 1fr;column-gap:9px;padding:5px;border-radius:7px;cursor:pointer}.check-product i{grid-row:1/3;display:grid;place-items:center;overflow:hidden;width:38px;height:38px;background:#edf0e9;border-radius:7px;font-style:normal}.check-product i img{width:100%;height:100%;object-fit:cover}.check-product input:checked+span{background:#def0e5;box-shadow:inset 0 0 0 2px var(--green)}
.order-builder{display:grid;gap:20px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 18px}.form-grid h2,.form-grid .full{grid-column:1/-1}.quantity-product{display:grid;grid-template-columns:50px minmax(160px,1fr) 120px 55px;align-items:center;gap:12px;padding:11px 2px;border-bottom:1px solid var(--line)}.quantity-product i{display:grid;place-items:center;overflow:hidden;width:50px;height:50px;background:#eef1eb;border-radius:8px;font-style:normal}.quantity-product i img{width:100%;height:100%;object-fit:cover}.form-actions{display:flex;justify-content:flex-end;gap:10px}
.order-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.order-pill{display:block;padding:19px;color:var(--ink);background:#fff;border:2px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.order-pill:hover{transform:translateY(-2px)}.order-pill.sent{border-left:7px solid #e0a52c}.order-pill.viewed{border-left:7px solid #3d88d0}.order-pill.responding{border-left:7px solid #8b68c7}.order-pill.finished{border-left:7px solid var(--green)}.order-pill-top,.order-pill-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-state{font-size:.75rem;font-weight:850}.order-pill h3{margin-top:15px}.order-pill p{margin-bottom:12px}.order-progress{height:7px;overflow:hidden;margin:12px 0;background:#e8ece7;border-radius:999px}.order-progress span{display:block;height:100%;background:var(--green)}.order-pill-meta{color:var(--muted);font-size:.78rem}.table-product{display:flex;align-items:center;gap:10px}.table-photo{flex:0 0 52px;width:52px;height:52px;object-fit:cover;border-radius:8px}.table-photo.placeholder{display:grid;place-items:center;background:#edf0e9}.public-price{display:block;margin-bottom:5px;color:var(--green)}
.provider-response{margin:0 0 20px;border-color:#9fc9ad}.provider-message{max-width:920px;margin:0 auto 18px;padding:16px 18px;color:#174d38;background:#dff2e6;border:1px solid #acd4bb;border-radius:13px}.provider-message p{margin:5px 0 0;color:#35604e}.portal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.portal-actions form{margin:0}.repeat-order-form{display:grid;gap:16px}.repeat-category{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:15px}.repeat-category summary{padding:15px 18px;background:#edf3ee;font-size:1.05rem;font-weight:900;cursor:pointer}.repeat-order-item{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,.7fr);align-items:center;gap:14px;padding:14px 16px;border-top:1px solid var(--line)}.repeat-select{display:flex;align-items:center;gap:11px;margin:0}.repeat-select>input{width:auto}.repeat-select>span:first-of-type{display:grid;place-items:center;overflow:hidden;width:54px;height:54px;background:#edf0e9;border-radius:9px}.repeat-select img{width:100%;height:100%;object-fit:cover}.repeat-order-item>.quantity-picker{margin:0}.repeat-order-item>label:last-child{margin:0}.public-catalog-category,.portal-category{margin:0 0 38px}.public-category-heading{display:flex;align-items:center;gap:14px;margin-bottom:15px}.public-category-heading h2,.public-category-heading p{margin-bottom:3px}
.share-box{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding:18px 20px;background:#e4efe8;border:1px solid #c8ddd0;border-radius:13px}.share-box a{display:block;overflow-wrap:anywhere}.share-actions{display:flex;flex-wrap:wrap;gap:7px}code{padding:.15rem .35rem;background:rgba(0,0,0,.06);border-radius:5px}
.public-page{background:#f1f3ed}.public-page .container{width:min(920px,calc(100% - 24px))}.public-heading{text-align:center;margin-bottom:22px}.progress{display:inline-block;padding:.42rem .7rem;color:var(--green);background:#deebdf;border-radius:999px;font-size:.82rem}.public-products{display:grid;gap:13px}
.public-product{display:grid;grid-template-columns:105px 1fr auto;gap:18px;padding:16px;background:#fff;border:2px solid transparent;border-radius:16px;box-shadow:var(--shadow)}.public-product.answered{border-color:#d1e5d7}.public-photo{grid-row:1/3;display:grid;place-items:center;overflow:hidden;min-height:105px;background:#edf0e9;border-radius:11px;font-size:2rem}.public-photo img{width:100%;height:100%;object-fit:cover}.public-product-info p{margin:.3rem 0}
.quantity-picker{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0}.quantity-picker label{width:76px;margin:0}.quantity-picker label span{position:absolute;width:1px;height:1px;overflow:hidden}.quantity-picker input{padding:.54rem;text-align:center;font-weight:800}.quantity-picker button{padding:.55rem .7rem}.qty-minus{color:var(--ink);background:#edf0eb}
.choice-group{display:flex;gap:7px;align-self:center}.choice{margin:0}.choice input{position:absolute;opacity:0;width:1px}.choice span{display:block;padding:.66rem .8rem;border:1px solid var(--line);border-radius:9px;cursor:pointer;white-space:nowrap}.choice.yes input:checked+span{color:#15563b;background:#d9f1e3;border-color:#74bd93}.choice.no input:checked+span{color:#842f2f;background:#f8dddd;border-color:#db8f8f}.comment{grid-column:2/4;margin:0}
.public-actions{position:sticky;bottom:10px;display:flex;justify-content:center;gap:10px;margin:22px auto 0;padding:11px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 35px rgba(18,52,34,.16)}.finished-banner{margin-top:18px;padding:18px;color:#195b40;background:#d9efe2;border-radius:12px;text-align:center;font-weight:800}
.public-product.needs-answer{border-color:#d88b18;box-shadow:0 0 0 3px rgba(216,139,24,.16)}.pending-answer-dialog{width:min(620px,calc(100% - 24px));padding:0;border:0;border-radius:20px;box-shadow:0 24px 80px rgba(15,42,29,.32)}.pending-answer-dialog::backdrop{background:rgba(11,31,22,.58);backdrop-filter:blur(3px)}.pending-answer-dialog-card{display:grid;grid-template-columns:52px 1fr;gap:15px;padding:24px 24px 17px}.pending-answer-dialog-card h2{margin:0 0 8px}.pending-answer-dialog-card p{margin:0;color:var(--muted);line-height:1.55}.pending-warning-icon{display:grid;place-items:center;width:48px;height:48px;color:#fff;background:#d88b18;border-radius:15px;font-size:1.6rem;font-weight:950}.pending-answer-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px 24px;background:#f5f6f2}.pending-answer-dialog-actions button{min-height:50px}
@media(max-width:620px){.pending-answer-dialog-card{grid-template-columns:1fr;padding:20px 18px 14px}.pending-answer-dialog-actions{display:grid;padding:14px 18px 18px}.pending-answer-dialog-actions button{width:100%}}
.access-panel{margin-top:20px}.access-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.access-list>div{padding:10px;background:#f2f4f0;border-radius:8px}.portal-list-card{justify-content:space-between;color:var(--ink);box-shadow:var(--shadow)}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.info-grid .panel{box-shadow:none}
.update-details{margin:.55rem 0 0;padding-left:1.1rem;color:var(--muted);font-size:.82rem}.update-details li{margin:.18rem 0}.backup-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:46px 0 18px}.backup-heading h2{margin-bottom:.35rem;font-size:2rem}.backup-heading p{margin:0}.backup-actions{display:flex;flex-wrap:wrap;gap:7px}.backup-actions form{margin:0}
.list-builder{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.75fr);gap:22px;align-items:start}.product-picker .mini-product-list{max-height:72vh}.selected-list-items{display:grid;gap:7px;min-height:80px;margin-bottom:15px;padding:10px;background:#f4f7f3;border-radius:10px}.selected-list-row{display:flex;align-items:center;gap:9px;padding:7px;background:#fff;border-radius:8px}.selected-list-row img{width:42px;height:42px;object-fit:cover;border-radius:7px}.selected-list-row span{flex:1;font-weight:800}.selected-list-row button{padding:.35rem .55rem}.check-product{position:relative}.check-product em{position:absolute;right:9px;top:17px;padding:.28rem .5rem;color:#fff;background:var(--green);border-radius:7px;font-size:.7rem;font-style:normal}.check-product input:checked~em{background:#758079}.category-summary-image{display:grid!important;place-items:center;overflow:hidden;width:36px;height:36px;margin-right:8px;background:#e5eae4;border-radius:7px;font-style:normal}.category-summary-image img{width:100%;height:100%;object-fit:cover}.category-products summary small{margin-left:auto}.contact-checks{max-height:130px;overflow:auto}.templates-heading{margin-top:42px}.special-lists{margin-bottom:30px}.portal-list-card.special{border:2px solid #d4a735;background:#fffaf0}
.mode-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mode-card{display:grid;gap:9px;min-height:180px;padding:28px;text-align:left;color:var(--ink);background:#fff;border:3px solid var(--line)}.mode-card b{font-size:1.5rem}.mode-card span{color:var(--muted)}.mode-card.selected{border-color:var(--green);background:#edf7f0}
.mode-card img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:15px}.mode-permissions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:10px;background:#f5f7f3;border-radius:10px}.mode-permissions b{width:100%;font-size:.78rem}.mode-permissions label{margin:0}.mode-permissions button{margin-left:auto}
.driver-task{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:15px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:15px}.driver-task-photo{display:grid;place-items:center;overflow:hidden;width:90px;height:90px;background:#edf0e9;border-radius:11px}.driver-task-photo img{width:100%;height:100%;object-fit:cover}.driver-task form{margin:0}.delivery-detail{display:grid;grid-template-columns:minmax(220px,.7fr) 1.3fr;gap:24px}.proof-photo{width:100%;max-height:430px;object-fit:cover;border-radius:13px}.signature-photo{max-width:100%;background:#fff;border:1px solid var(--line);border-radius:12px}.proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.delivery-proof-location{display:grid;align-content:start;gap:8px;padding:18px;background:#eef7f1;border:1px solid #bfdfca;border-radius:14px}.delivery-proof-location h3,.delivery-proof-location strong,.delivery-proof-location small{margin:0}.delivery-proof-location .button{justify-self:start}.route-map{height:440px;background:#e6ebe5;border-radius:13px}.delivery-proof{display:grid;gap:10px;margin-top:18px}.signature-pad{width:100%;height:180px;touch-action:none;background:#fff;border:2px dashed #9ca99f;border-radius:11px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.driver-destination form{display:inline-block;margin:0 0 0 8px}
.driver-task{position:relative}.driver-task.next-task{border:3px solid var(--green);background:#f2fbf5}.route-number{position:absolute;left:-10px;top:-10px;display:grid;place-items:center;width:31px;height:31px;color:#fff;background:var(--green);border-radius:50%;font-weight:900}.next-label{display:block;margin-bottom:5px;color:var(--green);font-size:.68rem;letter-spacing:.1em}.driver-task-actions{display:grid;gap:7px}.route-order-actions,.driver-route-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.route-order-actions form,.driver-route-tools form{margin:0}.route-order-actions button{padding:.45rem .6rem}.driver-route-tools{position:sticky;z-index:8;top:82px;margin-bottom:22px;padding:12px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.route-start{background:#e8750b}.assign-driver{margin-top:20px}
.driver-fastest-route-form{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.driver-fastest-route-form small{max-width:330px;color:var(--green);font-size:.78rem;font-weight:800}.driver-fastest-route-form small:empty{display:none}.driver-fastest-route-form small.error{color:#a83832}.fastest-route-button:disabled{cursor:wait;opacity:.7}
.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.workspace-header h1{margin-bottom:.3rem}.workspace-header p{margin:0}.workspace-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.action-menu{position:relative}.action-menu summary{padding:.75rem 1rem;background:#fff;border:1px solid var(--line);border-radius:10px;font-weight:800;cursor:pointer;list-style:none}.action-menu>div{position:absolute;z-index:30;right:0;top:calc(100% + 6px);display:grid;min-width:210px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.action-menu a{padding:9px;border-radius:7px}.action-menu a:hover{background:#edf3ee}
.product-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.72fr);grid-template-areas:"catalog current" "catalog saved";gap:16px;align-items:start}.workspace-pane{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.catalog-pane{grid-area:catalog;overflow:hidden}.current-list-pane{grid-area:current;position:sticky;top:84px;overflow:hidden}.saved-lists-pane{grid-area:saved;position:sticky;top:570px;overflow:hidden}.workspace-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:76px;padding:14px 16px;border-bottom:1px solid var(--line)}.workspace-panel-head h2{margin:0}.workspace-panel-head input[type=search]{max-width:250px}.view-switch{display:flex;gap:3px}.view-switch button{padding:.5rem .6rem;color:var(--ink);background:#edf0eb}.view-switch button.active{color:#fff;background:var(--green)}
.workspace-category-list{max-height:72vh;overflow:auto;padding:0 14px}.workspace-category{border-bottom:1px solid #e7e1f3}.workspace-category>summary{display:flex;align-items:center;gap:12px;padding:12px 2px;color:#3f2a87;cursor:pointer}.workspace-category>summary small{margin-left:auto;padding:.2rem .5rem;background:#f0ebfb;border-radius:999px}.workspace-category>summary>a{padding:.3rem .55rem;color:var(--muted);font-size:1.2rem}.workspace-category-image{flex:0 0 62px;display:grid;place-items:center;overflow:hidden;width:62px;height:62px;background:#eef0ea;border-radius:11px}.workspace-category-image img{width:100%;height:100%;object-fit:cover}.workspace-products{display:grid;gap:7px;padding:0 0 12px}.workspace-product{position:relative;display:grid;grid-template-columns:74px 1fr auto;align-items:center;gap:10px;margin:0;padding:8px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:11px;cursor:pointer}.workspace-product>input{position:absolute;opacity:0}.workspace-product:has(>input:checked){background:#edf8f1;border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.workspace-product-image{display:grid;place-items:center;overflow:hidden;width:74px;height:62px;background:#eef0ea;border-radius:9px}.workspace-product-image img{width:100%;height:100%;object-fit:cover}.workspace-product-info{display:grid}.workspace-product-info em{color:var(--muted);font-size:.75rem;font-style:normal}.add-check{display:grid;place-items:center;width:32px;height:32px;color:#fff;background:var(--green);border-radius:50%;font-weight:900}.workspace-product:has(>input:checked) .add-check{background:#758079}.workspace-product:has(>input:checked) .add-check:after{content:"✓";font-size:.8rem}.workspace-product:has(>input:checked) .add-check{font-size:0}.row-menu{position:absolute;right:4px;top:2px}.row-menu summary{display:grid;place-items:center;width:25px;height:25px;color:var(--muted);background:#fff;border-radius:6px;list-style:none}.row-menu>div{position:absolute;z-index:9;right:0;padding:7px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);white-space:nowrap}.product-view-grid .workspace-products{grid-template-columns:repeat(2,minmax(0,1fr))}.product-view-grid .workspace-product{grid-template-columns:62px 1fr auto}.product-view-list .workspace-product-image{width:48px;height:44px}.product-view-list .workspace-product{grid-template-columns:48px 1fr auto;padding:5px}.product-view-images .workspace-products{grid-template-columns:repeat(3,minmax(0,1fr))}.product-view-images .workspace-product{display:block;padding:6px;text-align:center}.product-view-images .workspace-product-image{width:100%;height:105px}.product-view-images .workspace-product-info small,.product-view-images .workspace-product-info em{display:none}.product-view-images .workspace-product-info b{padding:6px 2px 2px;font-size:.83rem}.product-view-images .add-check{position:absolute;right:8px;bottom:8px}
.current-list-pane .selected-list-items{max-height:300px;overflow:auto;margin:0;border-radius:0}.current-list-fields{padding:14px}.compact-options{margin-bottom:12px;padding:9px;background:#f4f6f2;border-radius:9px}.compact-options summary,.compact-details summary{font-weight:850;cursor:pointer}.saved-list-cards{display:grid;max-height:300px;overflow:auto}.saved-list-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;color:var(--ink);border-bottom:1px solid var(--line)}.saved-list-card:hover{background:#f3f7f3}.saved-list-card>span:last-child{text-align:right}.saved-list-card em{color:var(--green);font-size:.72rem;font-style:normal;font-weight:850}.catalog-management{margin-top:24px}.catalog-management>summary{padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;font-weight:850;cursor:pointer}.catalog-management-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}
.mobile-workspace-tabs{display:none}.saved-list-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:16px}.list-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.task-inline-status{display:inline-flex;width:max-content;padding:.4rem .65rem;color:#165c40;background:#dcf3e5;border-radius:999px;font-size:.75rem;font-weight:900}.saved-list-products{display:grid;gap:8px}.saved-list-product{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:10px}.saved-list-product>img{width:64px;height:58px;object-fit:cover;border-radius:8px}.saved-list-product>div{display:grid}.saved-list-product span{color:var(--muted);font-size:.78rem}.history-list{display:grid;margin-top:12px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;color:var(--ink);border-top:1px solid var(--line)}
.session-limit-form{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-top:8px;padding:10px;background:#f2f4f0;border-radius:10px}.session-limit-form label{margin:0}.session-limit-form select{padding:.5rem}.session-ended{text-align:center}
.delivery-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);grid-template-areas:"all live" "all create";gap:16px;align-items:start}.delivery-all-pane{grid-area:all;overflow:hidden}.delivery-live-pane{grid-area:live;overflow:hidden}.delivery-create-pane{grid-area:create;padding:16px}.delivery-status-group{border-bottom:1px solid var(--line)}.delivery-status-group>summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:#f5f7f3;cursor:pointer}.delivery-status-group>summary small{padding:.2rem .5rem;background:#e5ebe6;border-radius:999px}.delivery-work-item{display:grid;grid-template-columns:68px 1fr auto;align-items:center;gap:10px;padding:9px 14px;color:var(--ink);border-top:1px solid var(--line)}.delivery-work-item:hover{background:#f1f7f3}.delivery-work-photo{display:grid;place-items:center;overflow:hidden;width:68px;height:60px;background:#edf0e9;border-radius:9px}.delivery-work-photo img{width:100%;height:100%;object-fit:cover}.delivery-assignee{text-align:right}.delivery-assignee em{display:block;color:var(--green);font-size:.72rem;font-style:normal;font-weight:850}.live-task-list{display:grid}.live-task-card{display:grid;gap:5px;padding:13px 15px;color:var(--ink);border-bottom:1px solid var(--line)}.live-task-card:hover{background:#f2f7f3}.live-task-card .task-inline-status{grid-row:1;grid-column:2;justify-self:end}
.delivery-selected-row{display:grid;grid-template-columns:58px 1fr 1fr;gap:8px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:11px}.delivery-selected-row>img{grid-row:1/3;width:58px;height:58px;object-fit:cover;border-radius:8px}.delivery-selected-heading{grid-column:2/4;display:flex;align-items:center;justify-content:space-between;gap:8px}.delivery-selected-heading button{padding:.3rem .5rem}.delivery-selected-row label{margin:0}.delivery-address-label,.address-check,.delivery-selected-row>label:last-child{grid-column:1/4}.address-check{display:flex;align-items:center;gap:8px}.address-check button{padding:.5rem .65rem}.address-status{color:var(--muted);font-size:.72rem}.address-status.success{color:var(--green)}.address-status.error{color:var(--red)}.delivery-form-help{padding:10px;background:#edf4ef;border-radius:9px}.delivery-list-row{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:12px;padding:12px;color:var(--ink);border-top:1px solid var(--line)}.delivery-list-row>span{display:grid}.delivery-list-row>span:last-child{text-align:right}.delivery-list-row em{color:var(--green);font-style:normal;font-weight:850}.recipient-box{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:12px;background:#e7f2e9;border-radius:10px}
.privilege-list{display:grid;gap:12px}.privilege-card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.privilege-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer}.privilege-card form{padding:0 18px 18px}.privilege-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.privilege-grid fieldset{padding:12px;background:#f4f6f2;border-radius:10px}.privilege-grid legend{font-weight:900}.account-hub{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}
@media(max-width:860px){nav{display:none}.split,.wide-left,.catalog-layout,.login-card,.public-login{grid-template-columns:1fr}.repeat-order-item{grid-template-columns:1fr}.sticky{position:static}.login-card,.public-login{min-height:0}.info-grid{grid-template-columns:1fr}}
@media(max-width:860px){.list-builder,.mode-picker,.delivery-detail,.proof-grid{grid-template-columns:1fr}.driver-task{grid-template-columns:72px 1fr}.driver-task-photo{width:72px;height:72px}.driver-task form,.driver-task>.button{grid-column:1/3}.route-map{height:340px}}
@media(max-width:860px){.workspace-header{align-items:stretch;flex-direction:column}.workspace-actions{display:grid;grid-template-columns:1fr 1fr}.workspace-actions>*{width:100%}.mobile-workspace-tabs{position:sticky;z-index:16;top:68px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:0 0 9px;padding:5px;background:rgba(245,245,239,.96);border-radius:11px}.mobile-workspace-tabs button{padding:.62rem .3rem;color:var(--ink);background:#e5e9e3;font-size:.75rem}.mobile-workspace-tabs button.active{color:#fff;background:var(--green)}.product-workspace,.delivery-workspace{display:block}.product-workspace .workspace-pane,.delivery-workspace .workspace-pane{display:none;position:static;max-height:none}.product-workspace .workspace-pane.mobile-active,.delivery-workspace .workspace-pane.mobile-active{display:block}.workspace-category-list{max-height:none}.workspace-panel-head{position:sticky;z-index:5;top:112px;background:#fff}.workspace-panel-head input[type=search]{max-width:130px}.view-switch{display:none}.product-view-images .workspace-products{grid-template-columns:repeat(2,minmax(0,1fr))}.current-list-pane .selected-list-items,.saved-list-cards{max-height:none}.catalog-management-grid,.saved-list-layout{grid-template-columns:1fr}.delivery-work-item{grid-template-columns:58px 1fr}.delivery-work-photo{width:58px;height:54px}.delivery-assignee{grid-column:2;text-align:left}.active-mode{margin-left:auto}.active-mode b{display:none}.topbar{gap:.35rem}.brand{font-size:1rem}.dashboard-mode-logo{width:82px;height:82px}.session-limit-form{align-items:stretch;flex-direction:column}.session-limit-form>*{width:100%}}
@media(max-width:620px){.impersonation-banner{position:relative;align-items:stretch;flex-direction:column}.impersonation-banner button{width:100%}.impersonating .topbar{top:0}.backup-heading{align-items:stretch;flex-direction:column}.backup-heading button{width:100%}.container{width:calc(100% - 20px);padding-top:24px}.hero-row{align-items:stretch;flex-direction:column}.form-grid{grid-template-columns:1fr}.form-grid h2,.form-grid .full{grid-column:auto}.quantity-product{grid-template-columns:44px 1fr 85px 35px}.public-product{grid-template-columns:76px 1fr;gap:12px}.choice-group,.comment{grid-column:1/3}.choice-group{display:grid;grid-template-columns:1fr 1fr}.public-actions,.share-box{align-items:stretch;flex-direction:column}.panel{padding:18px}.two-cols{grid-template-columns:1fr}}
@media(max-width:860px){.workspace-panel-head{position:static!important;top:auto!important}}
@media(max-width:860px){.privilege-grid{grid-template-columns:1fr 1fr}.delivery-selected-row{grid-template-columns:48px 1fr}.delivery-selected-row>img{width:48px;height:48px}.delivery-selected-heading{grid-column:2}.delivery-selected-row label,.delivery-address-label,.address-check,.delivery-selected-row>label:last-child{grid-column:1/3}.delivery-list-row{grid-template-columns:58px 1fr}.delivery-list-row>span:last-child{grid-column:2;text-align:left}}

/* Almacén de repartos · 1.9 */
.warehouse-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:10px;padding:4px}.warehouse-tabs a{padding:.55rem .8rem;color:var(--ink);background:#e6ebe7;border-radius:999px;white-space:nowrap;font-size:.8rem;font-weight:850}.warehouse-tabs a.active{color:#fff;background:var(--green)}
.warehouse-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;border:1px solid #d9e2dd;border-radius:24px;background:linear-gradient(135deg,#f8faf7,#eef4ef);margin-bottom:16px}.warehouse-hero.open{border-color:#69a988;background:linear-gradient(135deg,#f4fbf6,#dff2e7)}
.warehouse-door{min-width:170px;display:grid;justify-items:center;gap:5px;padding:14px;border-radius:18px;background:#26342e;color:#fff;text-align:center}.warehouse-door span{display:block;width:84px;height:58px;border:4px solid #d9b56d;border-bottom:0;background:repeating-linear-gradient(90deg,#54645d 0 13px,#35453e 13px 26px);border-radius:7px 7px 0 0}.warehouse-door.open span{background:linear-gradient(#b9dfca 0 18%,transparent 18% 82%,#b9dfca 82%);border-color:#b9dfca}.warehouse-door b{font-size:.78rem;letter-spacing:.08em}.warehouse-door small{color:#dbe6df}
.warehouse-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 16px}.warehouse-stats>div{display:flex;align-items:center;gap:11px;padding:14px 18px;border:1px solid var(--line);border-radius:15px;background:#fff}.warehouse-stats strong{font-size:1.6rem;color:var(--green)}.warehouse-stats span{font-size:.84rem;color:var(--muted)}
.warehouse-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.9fr) minmax(300px,.8fr);gap:14px;align-items:start}.warehouse-stock,.warehouse-entry,.warehouse-access{min-width:0}.warehouse-stock{border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden}.warehouse-package-list{display:grid;gap:8px;padding:12px;max-height:760px;overflow:auto}
.warehouse-package{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px;border:1px solid #e1e8e3;border-radius:14px;background:#fbfcfb}.warehouse-package>div{display:grid;gap:3px;min-width:0}.warehouse-package small{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.warehouse-entry .panel,.warehouse-access .panel{margin:0}.warehouse-entry-form textarea{min-height:72px}
.warehouse-access form+form{margin-top:10px}.warehouse-driver-list{display:grid;gap:7px;margin:10px 0 14px}.warehouse-driver-choice{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8faf8}.warehouse-driver-choice input{width:19px;height:19px}.warehouse-driver-choice span{display:grid}.warehouse-driver-choice small{color:var(--muted)}.share-link-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.share-link-box input{font-size:.76rem}
.warehouse-public-closed{max-width:620px;margin:8vh auto;text-align:center;display:grid;justify-items:center;gap:14px}.warehouse-public-closed .warehouse-door{width:210px}.warehouse-login{align-items:center}.warehouse-public-hero{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,#edf7f0,#fff);border:1px solid #cfe2d6}
.warehouse-pick-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.65fr);gap:14px;align-items:start}.warehouse-offers{border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden}.warehouse-pick-list{display:grid;gap:8px;padding:12px;max-height:720px;overflow:auto}
.warehouse-pick-card{display:grid;grid-template-columns:24px 70px minmax(0,1fr) 30px;gap:10px;align-items:center;padding:11px;border:1px solid #e0e8e2;border-radius:14px;background:#fbfcfb;cursor:pointer}.warehouse-pick-card:has(input:checked){border-color:var(--green);background:#edf8f1;box-shadow:0 0 0 2px rgba(31,119,78,.1)}.warehouse-pick-card input{width:20px;height:20px}.warehouse-pick-card>span:nth-of-type(2){display:grid;gap:3px;min-width:0}.warehouse-pick-card small{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.warehouse-pick-card em{font-size:1.4rem;color:var(--green);font-style:normal}
.warehouse-selection{position:sticky;top:84px;margin:0}.warehouse-selected-items{display:grid;gap:7px;margin:12px 0}.warehouse-selected-row{display:flex;align-items:center;gap:9px;padding:9px;border-radius:11px;background:#f0f5f1}.warehouse-selected-row img{width:42px;height:42px;object-fit:cover;border-radius:8px}.warehouse-selected-row span{flex:1;font-weight:700}.warehouse-selected-row small{color:var(--muted)}.warehouse-search{max-width:230px}
.warehouse-departures{border-top:1px solid var(--line)}.warehouse-departures>summary{padding:13px 16px;background:#f3f6f3;font-weight:850;cursor:pointer}.warehouse-departure{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;color:var(--ink);border-top:1px solid var(--line)}.warehouse-departure span{display:grid}.warehouse-departure small{color:var(--muted)}.warehouse-departure em{color:var(--green);font-size:.75rem;font-style:normal;font-weight:850}
.warehouse-history{grid-column:1/-1;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden}.warehouse-date-list{gap:10px}.warehouse-day{overflow:hidden;border:1px solid #dfe7e1;border-radius:14px;background:#fff}.warehouse-day>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;background:#f2f6f2;cursor:pointer}.warehouse-day>summary span{display:grid}.warehouse-day>summary span:last-child{text-align:right}.warehouse-day>summary small{color:var(--muted)}.warehouse-day>summary em{color:var(--green);font-size:1.1rem;font-style:normal;font-weight:900}.warehouse-day-items{display:grid;gap:8px;padding:9px}.warehouse-package-detail{grid-template-columns:64px minmax(0,1fr) auto}.warehouse-package-detail.delivered{border-color:#91c7aa;background:#f1faf4}.warehouse-package-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.warehouse-package-title .task-inline-status{flex:0 0 auto}.warehouse-package-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}.warehouse-package-actions form{margin:0}.warehouse-package-actions .button,.warehouse-package-actions button{padding:.48rem .62rem;font-size:.75rem}.warehouse-stock .workspace-panel-head form{margin:0}.driver-credentials{border:2px solid #dda044;background:#fff6e8}.credential-pin{font-size:1.35rem;letter-spacing:.12em}
.delivery-basket-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;border:1px solid #dfe7e1;border-radius:12px;background:#fff}.delivery-basket-row.pending{border-color:#e4b46f;background:#fff9ef}.delivery-basket-row>img{width:52px;height:52px;object-fit:cover;border-radius:9px}.delivery-basket-row>span{display:grid;min-width:0;gap:2px}.delivery-basket-row small{overflow:hidden;color:var(--muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.delivery-basket-row button{padding:.45rem .55rem}
.delivery-item-dialog{width:min(620px,calc(100% - 24px));max-height:calc(100vh - 24px);padding:0;border:0;border-radius:20px;box-shadow:0 24px 80px rgba(12,28,20,.35)}.delivery-item-dialog::backdrop{background:rgba(12,25,19,.62);backdrop-filter:blur(3px)}.delivery-dialog-content{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:20px;overflow:auto}.delivery-dialog-content>*{grid-column:1!important}.delivery-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.delivery-dialog-head h2{margin:2px 0 0}.delivery-dialog-head button{font-size:1.15rem}.delivery-dialog-content label{margin:0}.delivery-dialog-content .address-check{grid-column:1!important}.delivery-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}
@media(max-width:1180px){.warehouse-workspace{grid-template-columns:minmax(0,1fr) minmax(320px,.8fr)}.warehouse-access{grid-column:1/-1}.warehouse-access .panel{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(330px,1fr);gap:14px;align-items:start}}
@media(max-width:860px){.warehouse-hero,.warehouse-public-hero{align-items:flex-start;flex-direction:column;padding:18px}.warehouse-door{width:100%;grid-template-columns:auto 1fr;justify-items:start;text-align:left}.warehouse-door span{grid-row:1/3}.warehouse-stats{grid-template-columns:1fr 1fr;gap:6px}.warehouse-stats>div{display:grid;padding:10px}.warehouse-stats strong{font-size:1.3rem}.warehouse-mobile-tabs{grid-template-columns:repeat(4,1fr)}.warehouse-workspace,.warehouse-pick-workspace{display:block}.warehouse-workspace>.workspace-pane,.warehouse-pick-workspace>.workspace-pane{display:none}.warehouse-workspace>.workspace-pane.mobile-active,.warehouse-pick-workspace>.workspace-pane.mobile-active{display:block}.warehouse-access .panel{display:block}.warehouse-package{grid-template-columns:58px minmax(0,1fr)}.warehouse-package-actions{grid-column:1/-1;justify-content:stretch}.warehouse-package-actions>*{flex:1}.warehouse-package-actions .button,.warehouse-package-actions button{width:100%;text-align:center}.warehouse-package-title{align-items:flex-start;flex-direction:column}.warehouse-stock .workspace-panel-head{align-items:stretch;flex-direction:column}.warehouse-stock .workspace-panel-head button{width:100%}.warehouse-pick-card{grid-template-columns:22px 58px minmax(0,1fr)}.warehouse-pick-card em{display:none}.warehouse-selection{position:static}.warehouse-search{max-width:none;width:100%}.share-link-box{grid-template-columns:1fr}.delivery-basket-row{grid-template-columns:44px minmax(0,1fr) auto}.delivery-basket-row>img{width:44px;height:44px}.delivery-basket-row .remove-selected{grid-column:3}.delivery-basket-row .delivery-edit-item{grid-column:2;justify-self:start}.delivery-dialog-content{padding:16px}.delivery-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.delivery-dialog-actions button{width:100%}}

/* Solicitudes de acceso y perfiles de repartidor · 1.11 */
.login-request-access{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);text-align:center}.login-request-access span{color:var(--muted);font-size:.82rem}.request-access-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(480px,1.2fr);gap:clamp(28px,6vw,80px);align-items:center;min-height:68vh}.request-access-layout>section h1{font-size:clamp(2.6rem,5vw,3.7rem)}.request-benefits{display:grid;gap:9px;margin:24px 0;padding:0;list-style:none}.request-benefits li{padding-left:28px;position:relative;color:var(--muted)}.request-benefits li:before{content:"✓";position:absolute;left:0;display:grid;place-items:center;width:20px;height:20px;color:var(--dark);background:var(--lime);border-radius:50%;font-weight:900}.request-access-form{padding:28px}.request-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.request-mode-option{margin:0}.request-mode-option input{position:absolute;width:1px;height:1px;opacity:0}.request-mode-option span{display:grid;gap:4px;min-height:98px;padding:13px;border:2px solid var(--line);border-radius:12px;cursor:pointer}.request-mode-option input:checked+span{border-color:var(--green);background:#eaf5ee;box-shadow:0 0 0 2px rgba(32,107,75,.1)}.request-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.request-success{text-align:center}.request-success-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;color:var(--dark);background:var(--lime);border-radius:50%;font-size:2rem;font-weight:900}
.access-request-popup{border-color:#f2b457}.notification-list a em{display:block;margin-top:5px;color:var(--green);font-size:.75rem;font-style:normal;font-weight:850}.notification-all{display:block;padding:11px 16px;color:#17221d!important;background:var(--lime);text-align:center;font-weight:900}.nav-count{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:4px;padding:0 5px;color:#fff;background:#d36522;border-radius:999px;font-size:.67rem}.status.pending{color:#7a5c1d;background:#faedc9}.status.accepted{color:#176044;background:#dcf4e8}.status.rejected{color:#862f2f;background:#f8dfdf}
.admin-request-list{max-width:940px}.admin-request-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#fff;border:1px solid var(--line);border-left:6px solid #c3cbc5;border-radius:15px}.admin-request-card.pending{border-left-color:#efa93e}.admin-request-card.accepted{border-left-color:var(--green)}.request-card-main{min-width:0}.request-card-main h2{margin:8px 0 3px}.request-card-main p{margin-bottom:5px}.request-comment{margin-top:12px!important;padding:10px 12px;background:#f4f6f2;border-radius:9px}.request-review{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.request-review p{margin-bottom:0}.request-review>small{grid-column:1/-1}.admin-request-config{max-width:1080px}.request-reject{display:flex;justify-content:flex-end;margin-top:14px}.new-admin-credentials{border:2px solid #dda044;background:#fff6e8}
.driver-avatar{display:grid;place-items:center;overflow:hidden;flex:0 0 auto;width:58px;height:58px;color:#fff;background:var(--green);border:3px solid #fff;border-radius:50%;box-shadow:0 5px 18px rgba(23,34,29,.18);font-weight:900}.driver-avatar img{width:100%;height:100%;object-fit:cover}.driver-avatar-fallback{letter-spacing:.04em}.driver-account-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto}.driver-list-avatar{width:58px;height:58px}.driver-heading{display:flex;align-items:center;gap:15px}.driver-profile-photo{width:82px;height:82px;font-size:1.2rem}.driver-edit-hero{align-items:center}.driver-login-avatar{width:92px;height:92px;margin-bottom:18px}.driver-photo-editor{max-width:520px;margin:-10px 0 18px;padding:0}.driver-photo-editor summary{display:flex;align-items:center;gap:12px;padding:12px 15px;cursor:pointer}.driver-photo-editor summary span:last-child{display:grid}.driver-photo-editor form{padding:0 15px 15px}.driver-portal-avatar{width:50px;height:50px}.delivery-map-driver{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#edf5ef;border-radius:13px}.driver-map-avatar{width:46px;height:46px}.admin-driver-monitor-avatar{width:64px;height:64px}.admin-driver-monitor-heading>div{min-width:0}.admin-driver-monitor-heading h2{margin-bottom:4px}.map-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.map-panel-heading h2,.map-panel-heading p{margin-bottom:3px}.driver-map-pin{background:none!important;border:0!important}.driver-map-pin>span{display:grid;place-items:center;overflow:hidden;width:54px;height:54px;color:#fff;background:var(--green);border:4px solid #fff;border-radius:50%;box-shadow:0 5px 16px rgba(0,0,0,.38);font-size:.9rem;font-weight:900}.driver-map-pin img{width:100%;height:100%;object-fit:contain;background:#fff}.driver-map-pin i{display:block;width:0;height:0;margin:-4px auto 0;border-right:8px solid transparent;border-left:8px solid transparent;border-top:13px solid #fff}
.driver-itinerary-driver-legend .driver-itinerary-legend-avatar{width:30px;height:30px;border-width:2px;box-shadow:none}.driver-itinerary-driver-legend .driver-itinerary-legend-avatar img{object-fit:contain;background:#fff}.driver-map-waiting{display:flex!important;align-items:center;gap:9px;max-width:250px;padding:8px 11px!important;background:rgba(255,255,255,.96)!important;border:2px solid #296dcc!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(0,0,0,.2)!important}.driver-map-waiting-photo{display:grid;place-items:center;overflow:hidden;flex:0 0 46px;width:46px;height:46px;color:#fff;background:#296dcc;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.2);font-weight:900}.driver-map-waiting-photo img{width:100%;height:100%;object-fit:contain;background:#fff}.driver-map-waiting>span:last-child{display:grid;min-width:0}.driver-map-waiting b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.driver-map-waiting small{color:#4e5f56;font-size:.68rem;line-height:1.25}
.driver-access-actions{justify-content:flex-end;max-width:520px}.driver-access-actions form,.driver-link-actions form{margin:0}.driver-preview-button{background:#5a50b5}.driver-preview-button:hover{background:#3e368c}.whatsapp-button{color:#073b20!important;background:#60dd8b!important}.whatsapp-button:hover{color:#fff!important;background:#1e9e54!important}.driver-link-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.driver-previewing{min-height:100vh;border:6px solid #6256c5}.driver-preview-banner{position:sticky;z-index:45;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:8px max(3vw,1rem);color:#fff;background:#554aa9;box-shadow:0 5px 18px rgba(55,44,129,.28)}.driver-preview-banner div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}.driver-preview-banner strong{letter-spacing:.08em}.driver-preview-banner form{margin:0}.driver-preview-banner button{padding:.55rem .8rem;color:#3e368c;background:#fff}.driver-preview-banner button:hover{color:#fff;background:#31296e}.driver-previewing .topbar{top:58px}
.contact-previewing{min-height:100vh;border:6px solid #16827b}.contact-preview-banner{position:sticky;z-index:46;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:8px max(3vw,1rem);color:#fff;background:#106f69;box-shadow:0 5px 18px rgba(6,72,68,.3)}.contact-preview-banner div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}.contact-preview-banner strong{letter-spacing:.08em}.contact-preview-banner form,.contact-row-actions form,.hero-actions form{margin:0}.contact-preview-banner button{padding:.55rem .8rem;color:#0d625d;background:#fff}.contact-preview-banner button:hover{color:#fff;background:#084b47}.contact-previewing .topbar{top:62px}.contact-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:8px}.contact-row-actions button{padding:.42rem .65rem;font-size:.76rem}
@media(max-width:860px){.request-access-layout{grid-template-columns:1fr;min-height:0}.request-mode-grid{grid-template-columns:1fr}.request-mode-option span{min-height:0}.admin-request-card{align-items:stretch;flex-direction:column}.admin-request-card .card-actions,.admin-request-card .button{width:100%}.driver-account-card{grid-template-columns:auto minmax(0,1fr)}.driver-account-card .card-actions{grid-column:1/-1}.map-panel-heading,.request-review{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.request-review>small{grid-column:auto}.delivery-map-driver{width:100%}}
@media(max-width:620px){.request-access-form{padding:18px}.driver-heading{align-items:flex-start}.driver-profile-photo{width:64px;height:64px}.driver-account-card{grid-template-columns:1fr}.driver-list-avatar{width:66px;height:66px}.driver-account-card .card-actions{grid-column:auto}.notification-popup{top:76px;right:10px;width:calc(100% - 20px)}.driver-preview-banner,.contact-preview-banner{position:relative;align-items:stretch;flex-direction:column}.driver-preview-banner button,.contact-preview-banner button{width:100%}.driver-previewing .topbar,.contact-previewing .topbar{top:0}.driver-access-actions,.driver-link-actions{display:grid;max-width:none}.driver-access-actions>*,.driver-access-actions button,.driver-link-actions>*,.driver-link-actions button{width:100%}.contact-row-actions{display:grid}.contact-row-actions>*{width:100%}.contact-row-actions button{width:100%}}

/* Imagen o logo de cuentas · 1.12 */
.user-avatar{display:grid;place-items:center;overflow:hidden;flex:0 0 auto;width:52px;height:52px;color:var(--dark);background:var(--lime);border:2px solid #fff;border-radius:14px;box-shadow:0 5px 16px rgba(23,34,29,.14);font-weight:900}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-avatar-fallback{letter-spacing:.04em}.account-link{display:flex!important;align-items:center;gap:6px}.topbar-user-avatar{width:28px;height:28px;border-width:1px;border-radius:8px;box-shadow:none;font-size:.62rem}.dashboard-welcome,.account-profile-heading{display:flex;align-items:center;gap:16px}.dashboard-user-logo{width:76px;height:76px;border-radius:19px;font-size:1.1rem}.account-profile-logo{width:104px;height:104px;border-radius:24px;font-size:1.35rem}.admin-list-logo{width:52px;height:52px}.profile-image-form>div:first-of-type{display:flex;align-items:center;gap:14px;margin-bottom:18px}.profile-image-form h2,.profile-image-form p{margin-bottom:3px}.account-form-logo{width:82px;height:82px;border-radius:20px;font-size:1.15rem}
@media(max-width:620px){.dashboard-welcome,.account-profile-heading{align-items:flex-start}.dashboard-user-logo{width:58px;height:58px;border-radius:15px}.account-profile-logo{width:76px;height:76px;border-radius:18px}.profile-image-form>div:first-of-type{align-items:flex-start}.account-form-logo{width:66px;height:66px}.mode-hero>.dashboard-mode-logo{display:none}}
@media(max-width:860px){.topbar>nav{display:flex}.topbar>nav>a:not(.account-link){display:none}.topbar .account-link{padding:.25rem}.topbar .account-link>span:last-child{display:none}.topbar-user-avatar{width:34px;height:34px;border-radius:10px}}

/* Email y recuperación de contraseña · 1.13 */
.forgot-password-link{display:block;width:max-content;margin:13px 0;color:var(--green);font-size:.86rem;font-weight:800}.notification-title>div{min-width:0;flex:1}.notification-title form{margin:0 0 0 auto}.notification-dismiss{width:34px;height:34px;padding:0;color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);border-radius:50%;font-size:1.35rem;line-height:1}.notification-dismiss:hover{background:var(--red);transform:none}.email-status{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;padding:16px 19px;border:1px solid;border-radius:13px}.email-status b,.email-status span{display:block}.email-status.ready{color:#155d40;background:#e0f3e8;border-color:#9bc9ac}.email-status.pending{color:#765315;background:#fff1ca;border-color:#e8cf84}.email-settings-form{max-width:920px;margin:auto}.email-settings-form h2{grid-column:1/-1;margin:15px 0 4px;padding-top:15px;border-top:1px solid var(--line)}.email-settings-form h2:first-child{margin-top:0;padding-top:0;border:0}.email-settings-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.password-reset-message{text-align:center}.password-reset-message .request-success-icon{margin-inline:auto}.password-reset-layout h1{font-size:clamp(2.5rem,6vw,4.7rem)}
.email-history-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:46px 0 18px}.email-history-heading h2{margin-bottom:.35rem;font-size:2rem}.email-history-heading p{max-width:720px;margin:0}.email-history form,.email-history td form{margin:0}.email-history td:first-child{min-width:250px}.email-history .email-sent{color:#176044;background:#dcf4e8}.email-history .email-failed{color:#862f2f;background:#f8dfdf}.email-error{max-width:330px;color:#9b3535;overflow-wrap:anywhere}
@media(max-width:620px){.email-status,.email-history-heading{align-items:flex-start;flex-direction:column}.email-settings-actions{display:grid}.email-settings-actions button,.email-history-heading button{width:100%}.notification-title{align-items:flex-start}}

/* Comentarios, catálogo público y listas Delivery · 1.14 */
.saved-lists-pane{position:static;top:auto}
.feedback-layout{display:grid;grid-template-columns:minmax(320px,.7fr) minmax(0,1.3fr);gap:20px;align-items:start}.feedback-new-form{position:sticky;top:84px;margin:0}.feedback-new-form textarea{min-height:190px}.feedback-list,.feedback-history{display:grid;gap:12px}.feedback-card{margin:0}.feedback-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.feedback-card-head h2{margin:4px 0}.feedback-message{margin:18px 0;padding:15px;background:#f5f7f3;border-radius:11px;white-space:normal}.feedback-review-form{display:grid;grid-template-columns:190px 1fr auto;align-items:end;gap:10px}.feedback-review-form label{margin:0}.feedback-review-form textarea{min-height:88px}.feedback-status{display:inline-flex;width:max-content;padding:.38rem .65rem;border-radius:999px;font-size:.73rem;font-weight:900;white-space:nowrap}.feedback-status.new{color:#765315;background:#fff1ca}.feedback-status.reviewing{color:#2f4e85;background:#e5edff}.feedback-status.planned{color:#5c3b86;background:#eee6fb}.feedback-status.completed{color:#176044;background:#dcf4e8}.feedback-status.dismissed{color:#6f7470;background:#eaeeeb}.feedback-history-row{display:grid;grid-template-columns:1fr auto;gap:9px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.feedback-history-row>div{display:grid}.feedback-history-row>p,.feedback-history-row>aside{grid-column:1/-1}.feedback-history-row>aside{padding:12px;background:#e9f4ed;border-radius:10px}.feedback-history-row>aside p{margin:4px 0 0}.summary-pill{padding:.55rem .8rem;color:var(--green);background:#e2f2e8;border-radius:999px;font-weight:900}
.selection-purpose{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 12px;padding:9px;background:#edf3ee;border-radius:12px}.selection-purpose legend{grid-column:1/-1;padding:0 4px;font-size:.78rem;font-weight:900}.selection-purpose label{position:relative;margin:0}.selection-purpose input{position:absolute;width:1px;height:1px;opacity:0}.selection-purpose label:has(input:checked){color:#fff;background:var(--green);border-color:var(--green)}.selection-purpose label{padding:.68rem .75rem;background:#fff;border:1px solid var(--line);border-radius:9px;text-align:center;font-size:.8rem;font-weight:850;cursor:pointer}.delivery-purpose-fields,.public-purpose-fields{display:grid;gap:10px}.delivery-purpose-fields[hidden],.public-purpose-fields[hidden]{display:none!important}.delivery-save-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;color:#526158;font-size:.68rem;text-align:center}.delivery-save-steps>*{padding:6px 4px;background:#f1f4f1;border-radius:7px}.delivery-save-steps b{color:#165c40;background:#dff2e7}.delivery-primary-save{position:sticky;bottom:8px;z-index:7;width:100%;padding:1rem;background:var(--green);box-shadow:0 8px 24px rgba(21,88,62,.28)}.delivery-primary-save:disabled{color:#66736b;background:#d8ded9;box-shadow:none}.public-catalog-callout{display:grid;gap:4px;padding:12px;color:#3f2a87;background:#f0ebfb;border-radius:10px}.public-selection-actions{display:grid;gap:7px}.public-selection-actions button{width:100%}.public-product-badge{width:max-content;margin-top:3px;padding:.16rem .42rem;color:#3f2a87;background:#eee7fb;border-radius:999px;font-size:.62rem;font-weight:900}.public-selection-row span{display:grid}.public-selection-row small{color:var(--muted);font-size:.7rem}
.delivery-batches-section{margin-bottom:20px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.section-heading h2,.section-heading p{margin-bottom:3px}.delivery-batch-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:10px}.delivery-batch-card{display:flex;align-items:stretch;justify-content:space-between;gap:14px;padding:15px;color:var(--ink);background:#fff;border:1px solid var(--line);border-left:5px solid var(--green);border-radius:14px;box-shadow:var(--shadow)}.delivery-batch-card>span{display:grid;gap:4px}.delivery-batch-card .eyebrow{font-size:.63rem}.delivery-batch-summary{justify-items:end;text-align:right}.delivery-batch-summary em{font-style:normal}.delivery-batch-summary i{color:var(--green);font-size:.75rem;font-style:normal;font-weight:850}.task-inline-status.offered{color:#765315;background:#fff1ca}.task-inline-status.assigned{color:#2f4e85;background:#e5edff}.task-inline-status.in_progress{color:#5c3b86;background:#eee6fb}.task-inline-status.delivered{color:#176044;background:#dcf4e8}.task-inline-status.cancelled{color:#862f2f;background:#f8dfdf}.delivery-list-statuses{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.driver-warehouses{margin:20px 0}.driver-warehouse-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.driver-warehouse-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;padding:14px;color:var(--ink);background:#fff;border:2px solid #8bc2a2;border-radius:15px}.driver-warehouse-card>span:nth-child(2){display:grid;gap:3px}.driver-warehouse-card em{grid-column:2;color:var(--green);font-size:.78rem;font-style:normal;font-weight:900}.driver-warehouse-icon{display:grid;place-items:center;width:54px;height:54px;background:#e3f2e9;border-radius:12px;font-size:1.6rem}.warehouse-proof-inline{display:flex!important;gap:7px;margin-top:5px}.warehouse-proof-inline a{display:flex;align-items:center;gap:5px;padding:4px 7px;color:var(--green);background:#e5f3ea;border-radius:8px;font-size:.68rem;font-weight:850}.warehouse-proof-inline img{width:32px;height:32px;object-fit:cover;border-radius:6px}
.proof-photo-status,.delivery-submit-status{margin:0;padding:9px 11px;color:#3d5b4d;background:#edf4ef;border-radius:9px;font-size:.78rem}.delivery-submit-status:empty{display:none}.driver-proof-form.is-submitting{pointer-events:none;opacity:.88}.driver-proof-form.is-submitting .confirm-delivery-button{background:#6f7e75}.driver-delivery-error{text-align:center}.driver-delivery-error .request-success-icon{color:#fff;background:#d36522}.confirm-delivery-button{width:100%;padding:1rem}
@media(max-width:860px){.feedback-layout{grid-template-columns:1fr}.feedback-new-form{position:static}.feedback-review-form{grid-template-columns:1fr}.delivery-batch-board,.driver-warehouse-list{grid-template-columns:1fr}.delivery-batch-card{align-items:flex-start;flex-direction:column}.delivery-batch-summary{justify-items:start;text-align:left}.selection-purpose,.delivery-save-steps{grid-template-columns:1fr}.delivery-primary-save{bottom:6px}.section-heading{align-items:flex-start;flex-direction:column}}

/* Perfil operativo e itinerario del repartidor · 1.15 */
.image-compression-status{margin:0;padding:9px 11px;color:#3d5b4d;background:#edf4ef;border-radius:9px;font-size:.78rem}
.driver-profile-ready,.driver-profile-pending{width:max-content;margin-top:5px;padding:.25rem .5rem;border-radius:999px;font-weight:850}
.driver-profile-ready{color:#176044;background:#dcf4e8}.driver-profile-pending{color:#765315;background:#fff1ca}
.driver-operational-editor{margin:0 0 20px;padding:0;overflow:hidden}.driver-operational-editor>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 17px;cursor:pointer}.driver-operational-editor>summary span:nth-child(2){display:grid}.driver-operational-editor>summary em{color:var(--green);font-size:.78rem;font-style:normal;font-weight:900}.driver-operational-editor>form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 17px 18px;border-top:1px solid var(--line)}.driver-operational-editor>form label{margin:0}.driver-operational-editor>form label:nth-of-type(n+2),.driver-operational-editor>form .image-compression-status,.driver-operational-editor>form .toggle,.driver-operational-editor>form button{grid-column:1/-1}.driver-operational-editor textarea{min-height:92px;resize:vertical}
.driver-vehicle-photo{display:grid;place-items:center;overflow:hidden;flex:0 0 auto;width:90px;height:66px;background:#e6eee8;border:2px solid #fff;border-radius:13px;box-shadow:0 5px 16px rgba(23,34,29,.14);font-size:1.8rem}.driver-vehicle-photo img{width:100%;height:100%;object-fit:cover}.driver-vehicle-summary{width:86px;height:60px}.driver-vehicle-large{width:190px;height:132px;font-size:2.6rem}
.driver-operational-profile{margin-top:20px}.driver-profile-section-heading{display:flex;align-items:center;gap:18px;margin-bottom:18px}.driver-profile-section-heading h2,.driver-profile-section-heading p{margin-bottom:3px}.driver-capability-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.driver-capability-grid>div{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;padding:13px;background:#f3f6f2;border-radius:11px}.driver-capability-grid>div>span{font-size:1.35rem}.driver-capability-grid section small{display:block;color:var(--green);font-weight:900}.driver-capability-grid p{margin:3px 0 0;overflow-wrap:anywhere}.empty-profile{border:2px dashed #e1bd69;background:#fffaf0}
.driver-itinerary-panel{margin:20px 0}.driver-itinerary-route-status{margin:12px 0;padding:11px 14px;color:#174f38;background:#e5f5eb;border:1px solid #a7d5b8;border-radius:11px;font-weight:750}.driver-itinerary-route-status.success:before{content:"✓ ";font-weight:950}.driver-itinerary-route-status.error{color:#7d3e12;background:#fff0df;border-color:#efbd86}.driver-itinerary-totals{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:10px 0}.driver-itinerary-totals:empty{display:none}.driver-itinerary-totals strong,.driver-itinerary-totals span{padding:8px 11px;background:#f1f5f1;border-radius:9px}.driver-itinerary-totals span{color:var(--muted);font-size:.88rem}.driver-itinerary-map{height:440px;background:#e6ebe5;border-radius:14px}.driver-itinerary-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 2px 0;color:var(--muted);font-size:.84rem;font-weight:700}.driver-itinerary-legend span{display:flex;align-items:center;gap:6px}.driver-itinerary-legend i{display:block;width:12px;height:12px;border-radius:50%;background:var(--green)}.driver-itinerary-legend .warehouse{background:#e88424}.driver-itinerary-legend .driver{background:#296dcc}.driver-itinerary-legend .completed{background:#6b4bb8}.driver-itinerary-legend .road,.driver-itinerary-legend .actual{width:22px;height:5px;border-radius:4px}.driver-itinerary-legend .actual{background:#296dcc}.driver-itinerary-stops{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;margin:14px 0 0;padding:0;list-style:none}.driver-itinerary-stops li{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;padding:12px;background:#f1f5f1;border-radius:10px}.driver-itinerary-stops li>b{display:grid;place-items:center;width:36px;height:36px;color:#fff;background:var(--green);border-radius:50%}.driver-itinerary-stops li span{display:grid;gap:3px;min-width:0}.driver-itinerary-stops small{overflow-wrap:anywhere}.driver-itinerary-stops .driver-itinerary-origin{background:#fff3e5;border:1px solid #f0c28d}.driver-itinerary-stops .driver-itinerary-origin>b{background:#e88424;font-size:1.05rem}.driver-leg-metrics{display:block;margin-top:5px;padding:6px 8px;color:#174f38;background:#dff1e6;border-radius:7px;font-weight:800}.driver-itinerary-origin .driver-leg-metrics{color:#74400e;background:#ffe1bd}.driver-arrival-metrics{color:#57665e;font-weight:700}.driver-itinerary-marker,.driver-itinerary-warehouse-marker,.driver-itinerary-current-marker{background:none!important;border:0!important}.driver-itinerary-marker b,.driver-itinerary-warehouse-marker b,.driver-itinerary-current-marker b{position:relative;display:grid;place-items:center;width:36px;height:36px;color:#fff;background:var(--green);border:4px solid #fff;border-radius:50%;box-shadow:0 5px 13px rgba(0,0,0,.32);font-size:.85rem}.driver-itinerary-marker b:after,.driver-itinerary-warehouse-marker b:after,.driver-itinerary-current-marker b:after{content:"";position:absolute;bottom:-9px;border-right:6px solid transparent;border-left:6px solid transparent;border-top:10px solid var(--green)}.driver-itinerary-marker.delivered b{background:#6b4bb8;font-size:1rem}.driver-itinerary-marker.delivered b:after{border-top-color:#6b4bb8}.driver-itinerary-warehouse-marker b{width:42px;height:42px;background:#e88424;font-size:1.1rem}.driver-itinerary-warehouse-marker b:after{border-top-color:#e88424}.driver-itinerary-current-marker b{width:40px;height:40px;background:#296dcc;font-size:1.05rem}.driver-itinerary-current-marker b:after{border-top-color:#296dcc}
.driver-leg-metrics.error{color:#842f2b;background:#fbe1df}
@media(max-width:860px){.driver-operational-editor>form,.driver-capability-grid{grid-template-columns:1fr}.driver-operational-editor>form>*{grid-column:1!important}.driver-profile-section-heading{align-items:flex-start;flex-direction:column}.driver-vehicle-large{width:100%;height:190px}.driver-itinerary-map{height:360px}.driver-itinerary-stops{grid-template-columns:1fr}}
@media(max-width:620px){.driver-operational-editor>summary{grid-template-columns:76px minmax(0,1fr)}.driver-operational-editor>summary em{grid-column:2}.driver-vehicle-summary{width:76px;height:58px}.driver-itinerary-map{height:320px}.driver-itinerary-panel .section-heading{align-items:stretch}.driver-itinerary-panel .section-heading>.button{width:100%}.driver-itinerary-totals{display:grid;grid-template-columns:1fr;gap:6px}.driver-itinerary-legend{gap:7px 12px}.driver-itinerary-stops{grid-template-columns:minmax(0,1fr)}}
.driver-location-permission-dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto;color:var(--ink);background:#fff;border:0;border-radius:22px;box-shadow:0 26px 90px rgba(10,30,20,.38)}.driver-location-permission-dialog::backdrop{background:rgba(9,27,18,.7);backdrop-filter:blur(4px)}.driver-location-permission-card{display:grid;justify-items:start;gap:12px;padding:clamp(20px,4vw,34px)}.driver-location-permission-card h2,.driver-location-permission-card p{margin:0}.driver-location-permission-icon{display:grid;place-items:center;width:68px;height:68px;color:#fff;background:#296dcc;border:6px solid #dce9ff;border-radius:50%;font-size:2.1rem;font-weight:950}.driver-location-permission-card aside{display:grid;gap:4px;padding:13px 15px;color:#4d3d17;background:#fff3cf;border:1px solid #e6c66f;border-radius:12px}.driver-location-permission-status{width:100%;padding:10px 12px;background:#edf3ef;border-radius:10px;font-weight:850}.driver-location-permission-status.success{color:#155c3e;background:#dcf4e8}.driver-location-permission-status.error{color:#8a302d;background:#fbe1df}.driver-location-permission-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}.driver-location-permission-actions button{min-height:54px}.driver-location-permission-card>small{color:var(--muted);line-height:1.45}@media(max-width:620px){.driver-location-permission-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.driver-location-permission-card{padding:20px 16px}.driver-location-permission-actions{grid-template-columns:1fr}.driver-location-permission-actions button{width:100%}}

/* Solicitudes de almacén, doble dirección e historial del driver · 1.16 */
.warehouse-photo{display:grid;place-items:center;overflow:hidden;flex:0 0 auto;width:72px;height:72px;background:#e4eee7;border:3px solid #fff;border-radius:16px;box-shadow:0 6px 18px rgba(23,34,29,.15);font-size:2rem}.warehouse-photo img{width:100%;height:100%;object-fit:cover}.warehouse-hero-photo{width:94px;height:94px;border-radius:20px}.warehouse-public-photo{width:88px;height:88px}.warehouse-admin-photo,.warehouse-request-photo{width:58px;height:58px;border-radius:13px}.warehouse-state-pills{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}.status.approved,.status.active{color:#176044;background:#dcf4e8}.status.inactive{color:#6b5656;background:#eee4e4}.warehouse-super-card.pending{border-left:6px solid #efa93e}.warehouse-super-card.rejected{border-left:6px solid #c35d5d}.warehouse-super-card>form{border-top:1px solid var(--line);padding-top:16px}.warehouse-review-actions,.warehouse-super-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:9px;padding:0 18px 18px}.warehouse-review-actions form,.warehouse-super-controls form{margin:0;padding:0}.warehouse-review-actions form:last-child{display:flex;align-items:flex-end;gap:8px;flex:1}.warehouse-review-actions label{flex:1;margin:0}.warehouse-review-actions textarea{min-height:70px}.warehouse-requests-admin{margin-top:32px}.warehouse-request-card>summary{display:flex;align-items:center;gap:12px;cursor:pointer}.warehouse-request-card>summary span,.warehouse-request-card.inactive>span{display:grid}.warehouse-request-card.inactive{display:flex;align-items:center;gap:12px}.warehouse-request-new>summary{cursor:pointer;font-weight:900}.warehouse-request-new>form,.warehouse-request-card>form{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
.received-address-preview{display:grid;gap:3px;margin-bottom:10px;padding:10px 12px;color:#614f24;background:#fff4cf;border:1px solid #ead28b;border-radius:10px}.received-address-preview small{font-weight:850}.received-address-preview strong{overflow-wrap:anywhere}.delivery-address-pair{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr);gap:7px 12px;margin:8px 0 14px}.delivery-address-pair dt{color:var(--muted);font-size:.76rem;font-weight:850}.delivery-address-pair dd{margin:0;overflow-wrap:anywhere}
.driver-session-menu{position:relative}.driver-session-menu>summary{padding:.7rem .9rem;background:#fff;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-weight:850;list-style:none}.driver-session-menu>form,.driver-session-menu>small{display:block;margin:8px 0 0}.driver-completed-history{margin-top:34px}.driver-history-card{margin:0 0 9px;padding:0;overflow:hidden}.driver-history-card>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;cursor:pointer}.driver-history-card>summary span{display:grid}.driver-history-card>summary em{color:var(--green);font-size:.72rem;font-style:normal}.driver-history-destinations{display:grid;gap:7px;margin:0;padding:0 17px;list-style:none}.driver-history-destinations li{display:grid;gap:3px;padding:10px 12px;background:#f3f6f2;border-radius:10px}.driver-history-actions{display:flex;flex-wrap:wrap;gap:7px;padding:14px 17px}.driver-history-actions form{margin:0}.driver-archived-history{margin-top:14px;padding:12px;background:#e9eeea;border-radius:13px}.driver-archived-history>summary{cursor:pointer;font-weight:900}
@media(max-width:720px){.warehouse-hero{align-items:flex-start;flex-wrap:wrap}.warehouse-hero-photo{width:68px;height:68px}.warehouse-state-pills{justify-content:flex-start}.warehouse-super-card>summary{align-items:flex-start;flex-wrap:wrap}.warehouse-review-actions,.warehouse-super-controls{align-items:stretch;flex-direction:column}.warehouse-review-actions form,.warehouse-review-actions form:last-child,.warehouse-super-controls form,.warehouse-super-controls button{display:grid;width:100%}.delivery-address-pair{grid-template-columns:1fr;gap:2px}.delivery-address-pair dd{margin-bottom:7px}.driver-history-card>summary{align-items:flex-start;flex-direction:column}.driver-history-actions{display:grid}.driver-history-actions button{width:100%}}
.warehouse-request-card.inactive{display:block}.warehouse-request-card.inactive>summary span{display:grid}

/* Edición completa de administradores · 1.17 */
.admin-full-edit-form{display:grid;gap:18px;max-width:1180px;margin:auto}.admin-full-edit-form>section{padding-bottom:18px;border-bottom:1px solid var(--line)}.admin-full-edit-form>section:last-of-type{border-bottom:0}.admin-full-edit-form h2{margin-bottom:13px}.admin-full-edit-form .form-grid{align-items:start}.admin-full-edit-form .privilege-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-full-edit-form fieldset{padding:14px;background:#f4f6f2;border:1px solid var(--line);border-radius:12px}.admin-full-edit-form fieldset legend{font-weight:900}.credential-warning{padding:13px 15px;color:#765315;background:#fff1ca;border:1px solid #e8cf84;border-radius:11px}.credential-warning p{margin:4px 0 0}.admin-edit-save{position:sticky;z-index:8;bottom:10px;padding:10px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.admin-edit-save button{width:100%;padding:1rem}.privilege-account-link{padding:0 18px 18px}.privilege-account-link a{width:100%;text-align:center}
@media(max-width:860px){.admin-full-edit-form .privilege-grid{grid-template-columns:1fr}.admin-edit-hero{align-items:stretch}.admin-edit-save{bottom:6px}}

/* Correo propio, alta rápida y claridad visual · 1.18 */
.tenant-email-form{max-width:1040px}.account-email-setting{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin:18px 0 26px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.account-email-setting.ready{border-color:#8dc5a4;background:#f3fbf6}.account-email-setting.fallback{border-color:#e3c779;background:#fffaf0}.account-email-setting .eyebrow{margin-bottom:1px}.account-email-icon{display:grid;place-items:center;width:48px;height:48px;color:#fff;background:var(--green);border-radius:13px;font-size:1.45rem}.account-email-setting div{display:grid;gap:3px;min-width:0}.account-email-setting small{overflow-wrap:anywhere}
.driver-quick-create{padding:28px}.driver-quick-create h2{margin-bottom:7px;font-size:1.75rem}.driver-quick-create>p{margin-bottom:22px}.driver-pin-entry{display:grid;grid-template-columns:minmax(130px,1fr) auto;gap:8px}.driver-pin-entry button{white-space:nowrap}.driver-quick-create>button{width:100%;margin-top:12px;padding:1rem}.share-actions form{margin:0}.share-actions form button{height:100%}
.check-product{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px}.check-product em{position:static;align-self:center;white-space:nowrap}.workspace-product-info{min-width:0}.workspace-product-info>*{overflow-wrap:anywhere}.product-view-images .workspace-product{display:grid;grid-template-columns:1fr;align-items:start}.product-view-images .workspace-product-image{grid-row:auto}.product-view-images .workspace-product-info{min-height:45px}.product-view-images .add-check{position:static;right:auto;bottom:auto;justify-self:center;margin:2px 0 4px}.product-view-images .row-menu{top:9px;right:9px}
.driver-account-card{align-items:center;gap:18px}.driver-account-card>div{min-width:0}.driver-account-card h3,.driver-account-card p,.driver-account-card small{overflow-wrap:anywhere}.driver-account-card .driver-access-actions{justify-content:flex-end;max-width:560px}.driver-access-actions form{margin:0}
@media(min-width:1440px){
  .container{width:min(1760px,calc(100% - 64px));padding-top:52px}.panel{padding:30px}.split{grid-template-columns:minmax(0,1.7fr) minmax(410px,.75fr);gap:32px}.wide-left{grid-template-columns:minmax(0,2.1fr) minmax(410px,.75fr)}
  .catalog-layout{grid-template-columns:minmax(0,1fr) 410px;gap:32px}.list-builder{grid-template-columns:minmax(0,1.65fr) minmax(410px,.72fr);gap:30px}
  .product-workspace{grid-template-columns:minmax(720px,1.9fr) minmax(430px,.72fr);grid-template-areas:"catalog current" "catalog saved";column-gap:36px;row-gap:24px}.warehouse-workspace{grid-template-columns:minmax(560px,1.5fr) minmax(390px,.9fr) minmax(360px,.8fr);gap:22px}
  .workspace-category-list{padding:0 20px}.workspace-product{grid-template-columns:92px minmax(0,1fr) auto;gap:15px;padding:12px}.workspace-product-image{width:92px;height:76px}.workspace-category-image{width:76px;height:76px}
  .driver-account-card{grid-template-columns:74px minmax(260px,1fr) minmax(430px,auto);padding:22px}.driver-list-avatar{width:68px;height:68px}.driver-access-actions{display:grid;grid-template-columns:repeat(2,minmax(190px,1fr));justify-content:stretch;width:100%;gap:9px}.driver-access-actions>*,.driver-access-actions button{width:100%}.driver-access-actions .whatsapp-button{grid-column:1/-1}
  .warehouse-package-detail{grid-template-columns:82px minmax(0,1fr) auto;padding:14px}.delivery-work-photo{width:82px;height:72px}.email-settings-form{padding:34px}.email-settings-form .form-grid{column-gap:28px}
}
@media(max-width:860px){.account-email-setting{grid-template-columns:auto minmax(0,1fr)}.account-email-setting .button{grid-column:1/-1;width:100%}.driver-pin-entry{grid-template-columns:1fr}.driver-account-card .driver-access-actions{max-width:none}.check-product{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:620px){.account-email-setting{grid-template-columns:1fr}.account-email-icon{width:42px;height:42px}.driver-quick-create{padding:20px}.driver-account-card .driver-access-actions{justify-content:stretch;width:100%}.share-actions form,.share-actions form button{width:100%}}

/* Solicitudes y tipos de carga del repartidor · 1.19 */
.driver-request-login-button{border:1px solid #9bc8ad}.login-request-access span:nth-of-type(2){margin-top:8px;padding-top:12px;border-top:1px dashed var(--line)}
.driver-service-units{grid-column:1/-1;margin:5px 0 16px;padding:16px;background:#f4f8f5;border:1px solid #cfe0d5;border-radius:13px}.driver-service-units legend{padding:0 5px;color:var(--ink);font-size:.9rem;font-weight:900}.driver-service-units>p{margin:0 0 11px;font-size:.8rem}.driver-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.driver-unit-grid label{margin:0}.driver-unit-grid input{position:absolute;width:1px;height:1px;opacity:0}.driver-unit-grid span{display:flex;align-items:center;gap:7px;min-height:48px;padding:10px 12px;background:#fff;border:2px solid var(--line);border-radius:10px;cursor:pointer}.driver-unit-grid input:checked+span{color:#15563b;background:#def0e5;border-color:var(--green);box-shadow:0 0 0 2px rgba(32,107,75,.08)}.driver-request-card{border-left:5px solid #76a98b}.driver-request-card.pending{border-left-color:#efa93e}.notification-all-links{display:grid;grid-template-columns:1fr 1fr}.notification-all-links .notification-all+ .notification-all{border-left:1px solid rgba(23,34,29,.18)}
@media(max-width:620px){.driver-unit-grid{grid-template-columns:1fr 1fr}.notification-all-links{grid-template-columns:1fr}.notification-all-links .notification-all+ .notification-all{border-left:0;border-top:1px solid rgba(23,34,29,.18)}}

/* Entrada desde catálogo, control de puerta y panel de drivers · 1.20 */
.warehouse-door-control{margin:0 0 16px;overflow:hidden;background:#fff;border:2px solid #d8dfda;border-radius:18px;box-shadow:var(--shadow)}
.warehouse-door-control.open{border-color:#78b493}.warehouse-door-control.closed{border-color:#d9a0a0}
.warehouse-door-control>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 18px;cursor:pointer;list-style:none}
.warehouse-door-control>summary::-webkit-details-marker{display:none}.warehouse-door-control>summary>span:nth-child(2){display:grid;gap:2px}.warehouse-door-control>summary>em{color:var(--green);font-size:.76rem;font-style:normal;font-weight:900;text-align:right}
.warehouse-door-control-icon{display:block;width:42px;height:34px;border:3px solid #d9b56d;border-bottom:0;background:repeating-linear-gradient(90deg,#54645d 0 7px,#35453e 7px 14px);border-radius:6px 6px 0 0}
.warehouse-door-control.open .warehouse-door-control-icon{background:linear-gradient(#b9dfca 0 18%,transparent 18% 82%,#b9dfca 82%);border-color:#83b99a}
.warehouse-door-control-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:18px;padding:18px;border-top:1px solid var(--line);background:#f8faf8}
.warehouse-door-control-grid>section{min-width:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}.warehouse-door-control-grid form{margin:0}.warehouse-door-control-grid section>form+form{margin-top:10px}
.warehouse-quick-product{margin-bottom:12px;padding:0;overflow:hidden;border-color:#a8cbb5;background:#f8fcf9}.warehouse-quick-product>summary{padding:15px 17px;color:var(--green);cursor:pointer;font-weight:900}.warehouse-quick-product>form{padding:18px;border-top:1px solid var(--line);background:#fff}.warehouse-quick-product>form>button{width:100%}
.warehouse-catalog-result{margin-top:2px;color:var(--green);font-weight:800}.warehouse-entry-form{box-shadow:none}.warehouse-entry-form>button{width:100%;padding:1rem}
.warehouse-driver-board{display:block!important;padding:0!important;overflow:hidden}.warehouse-driver-board>.workspace-panel-head{padding:18px 20px;border-bottom:1px solid var(--line)}.warehouse-driver-operations{display:grid;gap:9px;max-height:760px;padding:12px;overflow:auto}
.warehouse-driver-operation{overflow:hidden;border:1px solid #dce5de;border-radius:14px;background:#fff}.warehouse-driver-operation[open]{border-color:#93bea4}
.warehouse-driver-operation>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;cursor:pointer;list-style:none}.warehouse-driver-operation>summary::-webkit-details-marker{display:none}.warehouse-driver-operation>summary>span:nth-child(2){display:grid;min-width:0}.warehouse-driver-operation>summary>span:nth-child(2) small{overflow-wrap:anywhere}
.warehouse-driver-avatar{width:48px;height:48px;border-radius:12px}.warehouse-driver-counts{display:grid;grid-template-columns:auto auto;gap:0 5px;align-items:center;text-align:right}.warehouse-driver-counts em{color:var(--green);font-size:1rem;font-style:normal;font-weight:900}.warehouse-driver-counts small{font-size:.65rem}
.warehouse-driver-operation-body{display:grid;gap:10px;padding:0 12px 12px;border-top:1px solid var(--line)}.warehouse-driver-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:10px}.warehouse-driver-progress span{display:grid;padding:8px;background:#f1f6f2;border-radius:9px;text-align:center}.warehouse-driver-progress b{color:var(--green);font-size:1.15rem}.warehouse-driver-progress small{font-size:.66rem}
.warehouse-driver-tasks{display:grid;gap:6px}.warehouse-driver-task{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;color:var(--ink);background:#f6f8f6;border-radius:9px}.warehouse-driver-task>span{display:grid;min-width:0}.warehouse-driver-task b,.warehouse-driver-task small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-driver-task em{flex:0 0 auto}
.warehouse-driver-links{display:grid;grid-template-columns:1fr 1fr;gap:6px}.warehouse-driver-links form{margin:0}.warehouse-driver-links>*:last-child{grid-column:1/-1}.warehouse-driver-links .button,.warehouse-driver-links button{width:100%;padding:.58rem .65rem;font-size:.72rem}
.account-details-form{margin-top:18px;margin-bottom:18px}.general-favicon-preview{display:flex;align-items:center;gap:18px;margin-bottom:20px}.general-favicon-preview img{flex:0 0 auto;width:82px;height:82px;object-fit:cover;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.general-favicon-preview h2,.general-favicon-preview p{margin-bottom:4px}.general-favicon-panel>form+form{margin-top:10px}
@media(max-width:900px){.warehouse-door-control-grid{grid-template-columns:1fr}}
@media(max-width:620px){.warehouse-door-control>summary{grid-template-columns:auto minmax(0,1fr);padding:13px}.warehouse-door-control>summary>em{grid-column:2;text-align:left}.warehouse-door-control-grid{padding:10px}.warehouse-door-control-grid>section{padding:14px}.warehouse-driver-operation>summary{grid-template-columns:auto minmax(0,1fr)}.warehouse-driver-counts{grid-column:2;justify-content:start;text-align:left}.warehouse-driver-links{grid-template-columns:1fr}.warehouse-driver-links>*:last-child{grid-column:auto}.general-favicon-preview{align-items:flex-start;flex-direction:column}}

/* Edición de paquetes, notas y ubicación exacta · 1.21 */
.package-notes{overflow-wrap:anywhere}.package-notes-compact{display:grid!important;gap:2px;margin-top:5px;padding:7px 9px;color:#5c451a;background:#fff5d8;border:1px solid #ecd797;border-radius:8px;font-size:.72rem;line-height:1.35}.package-notes-compact b{color:#6b4d12;font-size:.69rem}.package-notes-compact span{white-space:normal}.package-notes-detail{margin:14px 0;padding:14px 16px;color:#4e3c18;background:#fff5d8;border:1px solid #e8d190;border-radius:12px}.package-notes-detail h3{margin:0 0 6px;font-size:.9rem}.package-notes-detail p{margin:0;color:#4e3c18;white-space:normal}
.odoo-order-line-images{display:flex;align-items:flex-start;flex-wrap:wrap;gap:9px;margin-top:8px}.odoo-order-line-images figure{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;min-width:min(100%,230px);margin:0;padding:7px;background:#fff;border:1px solid #e5cb83;border-radius:10px}.odoo-order-line-images .odoo-order-line-image{width:72px;height:72px;border-radius:9px}.odoo-order-line-images figcaption{color:#5c451a;font-size:.68rem;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.warehouse-catalog-browser{display:grid;gap:7px;max-height:360px;margin:0 0 13px;padding:8px;background:#edf2ee;border:1px solid var(--line);border-radius:12px;overflow:auto}.warehouse-catalog-category{background:#fff;border:1px solid #dce4de;border-radius:10px;overflow:hidden}.warehouse-catalog-category>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;cursor:pointer}.warehouse-catalog-category>summary small{display:grid;place-items:center;min-width:25px;height:25px;color:var(--green);background:#e6f2ea;border-radius:999px;font-weight:900}.warehouse-catalog-category>div{display:grid;gap:5px;padding:0 7px 7px}.warehouse-catalog-product{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:9px;width:100%;padding:7px;color:var(--ink);background:#f8faf8;border:2px solid transparent;border-radius:9px;text-align:left}.warehouse-catalog-product:hover,.warehouse-catalog-product.active{color:var(--ink);background:#e5f3e9;border-color:#68a584}.warehouse-catalog-product>span:last-child{display:grid;min-width:0}.warehouse-catalog-product b,.warehouse-catalog-product small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-catalog-thumb{display:grid;place-items:center;overflow:hidden;width:48px;height:44px;background:#edf0ea;border-radius:7px}.warehouse-catalog-thumb img{width:100%;height:100%;object-fit:cover}
.delivery-edit-form{max-width:1000px;margin:auto}.delivery-edit-photo{display:grid;place-items:center;width:150px;height:120px;margin:0 auto 18px;overflow:hidden;background:#edf1eb;border-radius:16px}.delivery-edit-photo img{width:100%;height:100%;object-fit:cover}
.address-map-dialog{width:min(980px,calc(100% - 28px));max-width:none;padding:0;border:0;border-radius:20px;box-shadow:0 28px 80px rgba(0,0,0,.32)}.address-map-dialog::backdrop{background:rgba(17,30,24,.7)}.address-map-dialog-content{display:grid;gap:14px;padding:22px}.address-map-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.address-map-dialog-head h2,.address-map-dialog-head p{margin-bottom:4px}.address-map-dialog-head>.address-map-close{min-width:44px;padding:.55rem}.address-map-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.address-map-search input{min-width:0}.address-map-canvas{height:clamp(280px,46vh,470px);background:#e7ece7;border:1px solid var(--line);border-radius:14px;overflow:hidden}.address-map-canvas.load-error{display:grid;place-items:center}.address-map-status{min-height:24px;margin:0;color:var(--muted);font-weight:750}.address-map-actions{display:flex;justify-content:flex-end;gap:8px}
.driver-account-menu{position:absolute;z-index:25;right:0;width:min(620px,calc(100vw - 28px));margin-top:8px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 45px rgba(20,39,30,.24)}.driver-account-menu>.driver-photo-editor,.driver-account-menu>.driver-operational-editor{margin:0 0 8px;border:1px solid var(--line);border-radius:11px;background:#f8faf8}.driver-account-menu>.driver-photo-editor>summary,.driver-account-menu>.driver-operational-editor>summary{padding:11px}.driver-account-menu>.driver-photo-editor>form,.driver-account-menu>.driver-operational-editor>form{padding:13px;background:#fff}.driver-logout-form{margin:8px 0}.driver-account-menu>small{display:block;color:var(--muted)}.driver-session-menu[open]>summary{color:#fff;background:var(--green)}
@media(max-width:700px){.address-check{align-items:stretch;flex-direction:column}.address-check button{width:100%}.address-map-dialog-content{padding:14px}.address-map-search{grid-template-columns:1fr 1fr}.address-map-search input{grid-column:1/-1}.address-map-canvas{height:clamp(240px,38vh,320px)}.address-map-actions{display:grid;grid-template-columns:1fr}.address-map-actions button{width:100%}.driver-account-menu{position:fixed;z-index:80;top:75px;right:10px;left:10px;width:auto;max-height:calc(100vh - 95px);overflow:auto}.driver-account-menu>.driver-operational-editor>summary{grid-template-columns:68px minmax(0,1fr)}.driver-account-menu>.driver-operational-editor>summary em{grid-column:2}.warehouse-catalog-browser{max-height:430px}.delivery-edit-photo{width:120px;height:100px}}

/* Sesión, transferencia, calendario e iPhone · 1.22 */
.driver-task{grid-template-columns:90px 104px minmax(0,1fr) auto}
.driver-schedule-badge{display:grid;grid-template-columns:auto 1fr;align-items:center;align-content:center;min-height:90px;padding:9px;color:#173d2c;background:#e6f3ea;border:2px solid #8fbea2;border-radius:12px;text-align:center}
.driver-schedule-badge span{grid-column:1/-1;color:#155c3f;font-size:.68rem;font-weight:950;letter-spacing:.08em}
.driver-schedule-badge b{grid-row:2/4;font-size:2.25rem;line-height:1}
.driver-schedule-badge small{align-self:end;color:#486556;font-size:.66rem;font-weight:800}
.driver-schedule-badge em{align-self:start;color:#17221d;font-size:1.05rem;font-style:normal;font-weight:950}
.driver-day-groups{display:grid;gap:12px}.driver-day-group{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.driver-day-group>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;padding:10px 16px;cursor:pointer;list-style:none}
.driver-day-group>summary::-webkit-details-marker{display:none}.driver-day-group[open]>summary{background:#edf7f0;border-bottom:1px solid #cae0d2}
.driver-day-group>summary>span:nth-child(2){display:grid}.driver-day-group>summary>span:nth-child(2)>b{color:#155c3f;font-size:1rem;letter-spacing:.06em}.driver-day-group>summary>em{color:var(--green);font-size:.78rem;font-style:normal;font-weight:900}
.driver-day-number{display:grid;place-items:center;width:46px;height:46px;color:#fff;background:var(--green);border-radius:12px;font-size:1.45rem;font-weight:950}
.driver-day-group>.order-board{display:grid;gap:9px;padding:12px;background:#f5f7f4}
.driver-calendar{margin-bottom:22px;padding:18px}.driver-calendar-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:center}.driver-calendar-head h2{margin:0;font-size:1.3rem}.driver-calendar-head .eyebrow{margin-bottom:2px}.driver-calendar-head .button{width:44px;height:44px;padding:0;font-size:1.25rem}
.driver-calendar-weekdays,.driver-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.driver-calendar-weekdays{margin-top:14px}.driver-calendar-weekdays b{padding:5px;color:var(--muted);font-size:.7rem;text-align:center}.driver-calendar-empty{min-height:54px}
.driver-calendar-day{display:grid;align-content:center;gap:3px;min-width:0;min-height:58px;padding:5px;color:var(--ink);background:#f5f7f5;border:2px solid transparent;border-radius:10px}.driver-calendar-day:hover{color:var(--ink);background:#edf3ef;transform:none}.driver-calendar-day.today,.driver-calendar-day.active{border-color:#1e7250}.driver-calendar-day.active{box-shadow:0 0 0 3px rgba(32,107,75,.14)}.driver-calendar-day.has-available,.driver-calendar-day.has-mine{background:#fff}
.driver-calendar-day>span{display:flex;align-items:center;justify-content:center;gap:2px;min-height:12px}.driver-calendar-day small{display:inline;color:var(--ink);font-size:.6rem;font-weight:900}.available-dot,.mine-dot{display:inline-block;width:8px;height:8px;border-radius:50%}.available-dot{background:#e69a1a}.mine-dot{background:#2475bd}.driver-calendar-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:12px;color:var(--muted);font-size:.75rem;font-weight:800}.driver-calendar-legend span{display:flex;align-items:center;gap:5px}
.driver-transfer-control{min-width:175px;color:var(--ink);background:#f4f7f5;border:1px solid #cfd9d2;border-radius:10px}.driver-transfer-control>summary{padding:9px 11px;color:var(--green);cursor:pointer;font-size:.75rem;font-weight:900;list-style:none}.driver-transfer-control>summary::-webkit-details-marker{display:none}.driver-transfer-control>form,.driver-transfer-control>p{display:grid;gap:7px;margin:0;padding:10px;border-top:1px solid var(--line)}.driver-transfer-control label{margin:0}.driver-transfer-control p{max-width:240px;font-size:.72rem}.driver-transfer-control button{width:100%}
.warehouse-pick-list{display:grid;gap:10px}.warehouse-pick-day-list{display:grid;gap:8px;padding:10px;background:#f5f7f4}.warehouse-offer-date{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;padding:5px 7px;color:#17452f;background:#e2f2e8;border-radius:7px}.warehouse-offer-date b{font-size:.8rem;letter-spacing:.03em}.warehouse-offer-date em{color:#17221d;font-size:1rem;font-style:normal;font-weight:950}
html.dialog-open{overflow:hidden}.dialog-fallback{display:block;position:fixed;z-index:120;inset:12px;margin:auto;overflow:auto}
.warehouse-catalog-browser,.driver-account-menu,.delivery-dialog-content{-webkit-overflow-scrolling:touch}
@supports (height:100dvh){.delivery-item-dialog,.address-map-dialog{max-height:calc(100dvh - 24px)}.driver-account-menu{max-height:calc(100dvh - 95px)}}
@supports (padding:max(0px)){.topbar{padding-left:max(3vw,env(safe-area-inset-left));padding-right:max(3vw,env(safe-area-inset-right))}.driver-account-menu{padding-bottom:max(12px,env(safe-area-inset-bottom))}.delivery-dialog-content,.address-map-dialog-content{padding-bottom:max(16px,env(safe-area-inset-bottom))}}
@media(max-width:860px){.driver-task{grid-template-columns:72px 84px minmax(0,1fr);align-items:start}.driver-task-photo{width:72px;height:72px}.driver-schedule-badge{min-height:72px;padding:6px}.driver-schedule-badge b{font-size:1.8rem}.driver-schedule-badge small{font-size:.58rem}.driver-schedule-badge em{font-size:.88rem}.driver-task-actions{grid-column:1/-1;width:100%}.driver-task-actions>.button,.driver-transfer-control{width:100%}.route-order-actions{display:grid;grid-template-columns:repeat(3,1fr)}.route-order-actions form,.route-order-actions button{width:100%}.driver-day-group>summary{grid-template-columns:auto minmax(0,1fr)}.driver-day-group>summary>em{grid-column:2}.driver-calendar{padding:12px}.driver-calendar-grid,.driver-calendar-weekdays{gap:3px}.driver-calendar-day{min-height:50px;padding:3px}.driver-calendar-empty{min-height:50px}}
@media(max-width:430px){button,.button,input,select{min-height:44px}.driver-task{grid-template-columns:64px 78px minmax(0,1fr);gap:8px;padding:10px}.driver-task-photo{width:64px;height:64px}.driver-schedule-badge{min-height:64px}.driver-schedule-badge span{font-size:.58rem}.driver-schedule-badge b{font-size:1.55rem}.driver-schedule-badge small{display:none}.driver-schedule-badge em{font-size:.8rem}.driver-task h3{font-size:.95rem}.driver-task small{font-size:.7rem}.driver-calendar-day{min-height:46px;border-radius:8px}.driver-calendar-day small{font-size:.52rem}}

/* Centros de ayuda guiada · 1.22 */
.system-help-hero,.driver-help-hero{align-items:center}.guide-quick-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;margin:0 0 22px}.guide-quick-nav a{display:flex;align-items:center;gap:9px;min-height:58px;padding:10px 13px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);font-weight:900}.guide-quick-nav a:hover{color:var(--green);background:#eef7f1}.guide-quick-nav a>span{display:grid;place-items:center;width:36px;height:36px;background:#e6f2ea;border-radius:10px;font-size:1.15rem}
.guided-section{margin-bottom:18px;padding:0;overflow:hidden}.guided-section-head{display:flex;align-items:center;gap:14px;padding:20px 22px;background:linear-gradient(135deg,#f7fbf8,#edf5ef);border-bottom:1px solid var(--line)}.guided-section-head h2,.guided-section-head p{margin-bottom:3px}.guide-pill{display:inline-flex;align-items:center;justify-content:center;min-width:94px;padding:7px 10px;color:#15563b;background:#dff1e5;border:1px solid #9ec8ae;border-radius:999px;font-size:.68rem;font-weight:950;letter-spacing:.08em;white-space:nowrap}.guide-pill.delivery,.guide-pill.route{color:#fff;background:#267653;border-color:#267653}.guide-pill.driver,.guide-pill.warehouse{color:#184e73;background:#dceefa;border-color:#9bc3dc}.guide-pill.address,.guide-pill.map{color:#704c0d;background:#fff0c8;border-color:#e4c26e}.guide-pill.orders{color:#7b362a;background:#fae0d7;border-color:#df9e8e}.guide-pill.received{color:#6f5315;background:#fff2c8}.guide-pill.checked{color:#15563b;background:#dff1e5}.guide-pill.pending{color:#8b5200;background:#fff3d8;border-color:#e5b45c}.guide-pill.calendar,.guide-pill.today{color:#15563b;background:#e3f2e8}.guide-pill.available{color:#744c00;background:#ffe5b4;border-color:#e4aa43}.guide-pill.mine{color:#174c76;background:#dceeff;border-color:#82b7df}.guide-pill.proof{color:#6b2c67;background:#f5def2;border-color:#d59bce}.guide-pill.transfer{color:#6b3f12;background:#f7e7d2;border-color:#d9ae79}
.guided-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0;padding:8px 20px 20px}.guided-step{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:11px;padding:18px 15px;border-bottom:1px solid #e7ece8}.guided-step-number{display:grid;place-items:center;width:34px;height:34px;color:#fff;background:var(--green);border-radius:10px;font-size:1rem;font-weight:950}.guided-step h3{margin:2px 0 6px;font-size:1rem}.guided-step p{margin-bottom:10px;font-size:.86rem}.guided-step .button{width:max-content;padding:.55rem .72rem;font-size:.75rem}
.guide-address-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:20px}.guide-address-options article{padding:17px;background:#f8faf8;border:1px solid var(--line);border-radius:13px}.guide-address-options h3{margin:12px 0 5px}.guide-address-options p{margin:0;font-size:.84rem}.guide-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 20px 20px}.guide-empty-action{padding:11px 14px;color:var(--muted);background:#f3f5f3;border-radius:10px}
.guide-final-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:20px 22px;color:#fff;background:#173b2c;border-radius:17px;box-shadow:var(--shadow)}.guide-final-banner>span{color:var(--lime);font-size:.72rem;font-weight:950;letter-spacing:.12em}.guide-final-banner>div{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}.guide-final-banner .button{color:#173b2c;background:var(--lime)}
.driver-hero-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.driver-help-button{color:#174c76;background:#dceeff}.driver-help-button:hover{color:#fff;background:#246a9c}.driver-status-guide{padding-bottom:6px}.driver-help-final{margin-bottom:25px}
@media(max-width:760px){.system-help-hero,.driver-help-hero{align-items:stretch;flex-direction:column}.system-help-hero>.button,.driver-help-hero>.button{width:100%}.guide-quick-nav{grid-template-columns:1fr 1fr}.guided-section-head{align-items:flex-start;flex-direction:column;padding:17px}.guided-flow{grid-template-columns:1fr;padding:5px 12px 14px}.guided-step{padding:15px 8px}.guide-address-options{grid-template-columns:1fr;padding:14px}.guide-final-banner,.guide-final-banner>div{align-items:stretch;flex-direction:column}.guide-final-banner .button{width:100%}.driver-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.driver-hero-actions>*{width:100%}.driver-hero-actions .driver-session-menu>summary{height:100%;display:flex;align-items:center;justify-content:center}}
@media(max-width:430px){.guide-quick-nav{grid-template-columns:1fr}.guide-quick-nav a{min-height:54px}.driver-guide-nav{grid-template-columns:1fr 1fr}.driver-guide-nav a{align-items:flex-start;flex-direction:column;min-height:96px}.driver-guide-nav a>span{width:32px;height:32px}.guided-step .button{width:100%}.driver-hero-actions{grid-template-columns:1fr}}

/* Dirección legible en la ruta del repartidor · 1.22.1 */
.driver-day-group>.order-board{grid-template-columns:minmax(0,1fr)}
.driver-task-info{min-width:0;overflow-wrap:anywhere}
.driver-task-info h3,.driver-task-info p,.driver-task-info small{max-width:100%;overflow-wrap:anywhere;word-break:normal}
@media(max-width:620px){
  .driver-task{grid-template-columns:64px 104px minmax(0,1fr);align-items:start;gap:10px}
  .driver-task-photo{width:64px;height:64px}
  .driver-schedule-badge{width:104px;min-height:72px}
  .driver-task-info{grid-column:1/-1;width:100%;padding:4px 2px}
  .driver-task-info h3{font-size:1.05rem}
  .driver-task-info p,.driver-task-info small{font-size:.82rem;line-height:1.45}
  .driver-task-actions{grid-column:1/-1;width:100%}
}
.driver-calendar{padding:0;overflow:hidden}
.driver-calendar-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:78px;padding:14px 18px;cursor:pointer;list-style:none}
.driver-calendar-summary::-webkit-details-marker{display:none}
.driver-calendar-summary-icon{display:grid;place-items:center;width:46px;height:46px;background:#e4f2e8;border-radius:12px;font-size:1.35rem}
.driver-calendar-summary>span:nth-child(2){display:grid;min-width:0}
.driver-calendar-summary small{color:var(--green);font-size:.67rem;font-weight:950;letter-spacing:.09em}
.driver-calendar-summary b{font-size:1.1rem}
.driver-calendar-summary em{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:800}
.driver-calendar-summary>i{color:var(--green);font-size:1.6rem;font-style:normal;transition:transform .2s}
.driver-calendar[open]>.driver-calendar-summary{background:#edf7f0;border-bottom:1px solid #cae0d2}
.driver-calendar[open]>.driver-calendar-summary>i{transform:rotate(180deg)}
.driver-calendar-body{padding:18px}
@media(max-width:620px){
  .driver-calendar-summary{grid-template-columns:auto minmax(0,1fr) auto;padding:12px}
  .driver-calendar-summary>em{grid-column:2}
  .driver-calendar-summary>i{grid-column:3;grid-row:1/3}
  .driver-calendar-body{padding:12px}
}

/* Varias opciones al comprobar una dirección · 1.22.2 */
.clear-verified-address[hidden],.keep-client-address-unverified[hidden]{display:none!important}
.keep-client-address-unverified{color:#8b5200!important;background:#fff3d8!important;border:1px solid #e5b45c!important}
.address-unverified-inline{display:inline-flex;width:max-content;padding:4px 8px;color:#9a4b00;background:#fff1d6;border:1px solid #e8b45c;border-radius:999px;font-size:.72rem}
.address-suggestions{grid-column:1/-1;display:grid;gap:7px;margin:9px 0 14px;padding:12px;background:#eef5f0;border:1px solid #b8d2c1;border-radius:13px}
.address-suggestions-heading{display:grid;gap:2px;padding:2px 3px 7px}
.address-suggestions-heading b{color:#174d37}
.address-suggestions-heading small{color:var(--muted)}
.address-suggestion{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;justify-content:stretch;gap:10px;width:100%;padding:11px;color:var(--ink);background:#fff;border:2px solid transparent;border-radius:11px;text-align:left}
.address-suggestion:hover,.address-suggestion:focus{color:var(--ink);background:#fafffb;border-color:var(--green);transform:none}
.address-suggestion>span:first-child{display:grid;place-items:center;width:32px;height:32px;color:#fff;background:var(--green);border-radius:9px;font-weight:950}
.address-suggestion>span:last-child{display:grid;min-width:0}
.address-suggestion b{font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}
.address-suggestion small{margin-top:3px;font-size:.68rem}
@media(max-width:700px){
  .address-suggestions{padding:9px}
  .address-suggestion{min-height:58px}
}

/* Entrega visual, pruebas y fechas legibles · 1.23 */
.image-lightbox-trigger{display:block;overflow:hidden;margin:0;padding:0;background:#edf0e9;border:0;border-radius:12px;box-shadow:none}
.image-lightbox-trigger:hover{background:#edf0e9;transform:none}.image-lightbox-trigger img{display:block;width:100%;height:100%;object-fit:cover}
.driver-card-photo-button{width:100%;height:100%}
.image-lightbox-dialog{z-index:180;width:min(1100px,calc(100vw - 28px));height:min(860px,calc(100dvh - 28px));margin:auto;padding:58px 14px 14px;background:#111;border:0;border-radius:16px}
.image-lightbox-dialog::backdrop{background:rgba(0,0,0,.86)}.image-lightbox-dialog>img{display:block;width:100%;height:100%;object-fit:contain}
.image-lightbox-close{position:absolute;z-index:2;top:10px;right:10px;min-width:92px;padding:.65rem .85rem;color:#111;background:#fff}.image-lightbox-close:hover{color:#fff;background:var(--green)}
.driver-task-detail-hero{align-items:center}.driver-task-detail-heading{display:flex;align-items:center;gap:18px;min-width:0}.driver-task-detail-heading>div{min-width:0}.driver-task-product-photo{flex:0 0 150px;width:150px;height:150px;border:3px solid #fff;box-shadow:var(--shadow)}.driver-task-detail-heading h1{overflow-wrap:anywhere}
.driver-proof-form{gap:14px;max-width:920px;margin:20px auto}.delivery-proof-heading{text-align:center}.delivery-proof-heading h2{margin:3px 0}.delivery-proof-step{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:13px;padding:17px;background:#f5f8f5;border:1px solid #dce7df;border-radius:14px}.delivery-proof-step>div{display:grid;gap:9px;min-width:0}.delivery-proof-step h3,.delivery-proof-step p{margin:0}.delivery-proof-step-number{display:grid;place-items:center;width:44px;height:44px;color:#fff;background:var(--green);border-radius:13px;font-size:1.3rem;font-weight:950}.proof-photo-picker{display:flex;align-items:center;justify-content:center;min-height:58px;margin:0;padding:12px;color:#fff;background:#267653;border-radius:11px;font-size:1rem;font-weight:900;cursor:pointer}.proof-photo-picker input{position:absolute;width:1px;height:1px;opacity:0}.proof-photo-preview{width:100%;max-height:360px;object-fit:contain;background:#e8ede9;border-radius:12px}.proof-photo-preview[hidden]{display:none}.delivery-confirmation-illustration{overflow:hidden;margin:0;background:#fbf7ed;border:1px solid #eadfc8;border-radius:16px}.delivery-confirmation-illustration img{display:block;width:100%;max-height:360px;object-fit:cover}.finish-step{color:#fff;background:#173b2c;border-color:#173b2c}.finish-step .delivery-proof-step-number{color:#173b2c;background:var(--lime)}.finish-step h3{color:#fff}.confirm-delivery-button{min-height:64px;color:#173b2c;background:var(--lime);font-size:1.18rem;letter-spacing:.035em}.confirm-delivery-button:hover{color:#fff;background:#319665}
.delivery-confirmation-image-form>div{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:16px}.delivery-confirmation-image-form>div>img{width:170px;height:115px;object-fit:cover;background:#fbf7ed;border-radius:13px}.delivery-confirmation-image-form h2,.delivery-confirmation-image-form p{margin:0 0 5px}
.driver-delivered-banner,.warehouse-delivered-proof>strong,.delivered-overview>strong{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;color:#fff;background:#16804d;border-radius:10px;font-size:1.2rem;font-weight:950;letter-spacing:.08em}.driver-history-delivered-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important}.driver-history-delivered-info{display:grid;gap:5px;min-width:0}.driver-history-delivered-info .driver-delivered-banner{justify-self:start}.driver-delivered-proof-thumbs,.warehouse-proof-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.delivery-proof-thumb{width:82px;height:70px;border:2px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.14)}.delivery-proof-thumb.signature{background:#fff}.warehouse-delivered-proof{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}.warehouse-package.delivered{border:2px solid #63ad82}.warehouse-package.delivered .task-inline-status{padding:6px 9px;color:#fff;background:#16804d;font-size:.9rem;font-weight:950}.delivered-overview{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px;border:2px solid #63ad82}.delivered-overview>span{font-weight:850}.delivery-detail-package-photo{width:100%;max-height:430px;min-height:220px}.delivery-detail-package-photo img{object-fit:contain}
@media(max-width:700px){
  .driver-task-detail-hero{align-items:stretch}.driver-task-detail-heading{align-items:flex-start}.driver-task-product-photo{flex-basis:112px;width:112px;height:112px}.driver-task-detail-hero>.button{width:100%}
  .delivery-proof-step{grid-template-columns:38px minmax(0,1fr);padding:13px}.delivery-proof-step-number{width:36px;height:36px;font-size:1rem}.delivery-confirmation-illustration img{max-height:250px}.confirm-delivery-button{font-size:1rem}
  .delivery-confirmation-image-form>div{grid-template-columns:1fr}.delivery-confirmation-image-form>div>img{width:100%;height:auto;max-height:240px}
  .driver-history-delivered-item{grid-template-columns:1fr!important}.driver-delivered-proof-thumbs{justify-content:flex-start}.delivery-proof-thumb{width:92px;height:76px}
}
@media(max-width:430px){.driver-task-detail-heading{display:grid;grid-template-columns:88px minmax(0,1fr);gap:11px}.driver-task-product-photo{width:88px;height:88px}.image-lightbox-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}.driver-delivered-banner,.warehouse-delivered-proof>strong,.delivered-overview>strong{font-size:1rem}}

/* Tienda de productos y listas de pedido separadas · 1.24 */
.product-workspace[data-operation-mode=orders] .workspace-category>summary{min-height:90px;padding:9px 4px;color:#3f2a87;font-size:1.08rem}
.product-workspace[data-operation-mode=orders] .workspace-category-image{flex-basis:112px;width:112px;height:72px}
.product-workspace[data-operation-mode=orders] .workspace-category>summary small{font-size:.76rem}
.orders-product{cursor:default}.orders-product.just-added{border-color:var(--green);box-shadow:0 0 0 4px rgba(32,107,75,.14)}
.orders-product .order-product-image-button{padding:0;color:inherit;background:#eef0ea;border:0;box-shadow:none;cursor:pointer}
.orders-product .order-product-image-button:hover{background:#e5f2e9;transform:none}.orders-product .order-product-image-button:focus-visible{outline:3px solid #59a27b;outline-offset:2px}
.order-catalog-controls{display:grid;grid-template-columns:minmax(72px,90px) auto;align-items:end;gap:6px}.order-catalog-controls label{display:grid;gap:3px;margin:0;color:var(--muted);font-size:.66rem;font-weight:800}.order-catalog-controls input{min-width:0;padding:.48rem;text-align:center;font-weight:900}.order-product-add-button{padding:.55rem .65rem}
.product-view-images .orders-product{display:grid;padding:7px;text-align:center}.product-view-images .orders-product .workspace-product-image{width:100%;height:125px}.product-view-images .orders-product .workspace-product-info b{padding:7px 2px 4px;font-size:.88rem}.product-view-images .orders-product .order-catalog-controls{grid-template-columns:1fr}.product-view-images .orders-product .order-product-add-button{width:100%}
.product-view-grid .orders-product{grid-template-columns:62px minmax(0,1fr)}.product-view-grid .orders-product .order-catalog-controls{grid-column:1/-1;grid-template-columns:minmax(80px,1fr) auto}
.product-view-list .orders-product{grid-template-columns:48px minmax(0,1fr) auto}.product-view-list .orders-product .order-catalog-controls{grid-template-columns:76px auto}
.selected-order-category{display:grid;gap:7px}.selected-order-category>h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 0;padding:10px 12px;color:#3f2a87;background:#eae3f8;border-radius:10px;font-size:.94rem}.selected-order-category>h3 small{color:#3f2a87;font-size:.68rem}
.order-selected-row{display:grid;grid-template-columns:58px minmax(90px,1fr) auto auto;align-items:center;gap:8px}.order-selected-row>img{width:58px;height:54px}.order-selected-row>span{display:grid;min-width:0}.order-selected-row>span b,.order-selected-row>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-selected-row>.order-selected-quantity{flex-wrap:nowrap;margin:0}.order-selected-row>.order-selected-quantity label{width:68px}.order-selected-row>.remove-selected{padding:.45rem .55rem}
@media(max-width:620px){
  .product-workspace[data-operation-mode=orders] .workspace-category-image{flex-basis:88px;width:88px;height:62px}
  .product-workspace[data-operation-mode=orders] .workspace-category>summary{min-height:76px;font-size:.98rem}
  .product-view-images .workspace-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-view-images .orders-product .workspace-product-image{height:112px}
  .order-selected-row{grid-template-columns:54px minmax(0,1fr) auto}.order-selected-row>img{width:54px;height:50px}.order-selected-row>.order-selected-quantity{grid-column:2/4;justify-content:flex-start}.order-selected-row>.remove-selected{grid-column:3;grid-row:1}
}

/* Catálogo, creación y clasificación de listas de pedido · 1.25 */
.catalog-only-workspace{display:block}.catalog-only-workspace .catalog-pane{width:100%}
.catalog-only-workspace .workspace-category-list{max-height:none;padding-bottom:18px}
.catalog-only-workspace .workspace-products{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.catalog-only-product{grid-template-columns:86px minmax(0,1fr) auto;cursor:default}
.catalog-only-product .workspace-product-image{width:86px;height:76px}
.catalog-only-product .catalog-edit-product{padding:.55rem .75rem;white-space:nowrap}
.catalog-only-workspace .product-view-images .catalog-only-product .workspace-product-image{width:100%;height:140px}
.catalog-only-workspace .product-view-images .catalog-only-product .catalog-edit-product{display:block;width:100%;margin-top:8px}
.new-list-fields,.existing-list-fields{display:grid;gap:2px;margin:12px 0;padding:13px;background:#f5f8f5;border:1px solid #d9e5dc;border-radius:12px}
.new-list-fields[hidden],.existing-list-fields[hidden]{display:none}
.editing-list-notice{display:grid;gap:3px;margin-bottom:12px;padding:12px 13px;color:#174d38;background:#e3f3e8;border:1px solid #abd0b8;border-radius:11px}
.field-help{margin:0;color:var(--muted);font-size:.77rem}
.save-order-list-button{width:100%;min-height:52px}
.template-classification{display:grid;gap:12px}
.template-classification .section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:8px;padding:0 3px}
.template-classification .section-heading h2{margin:2px 0 0}
.template-classification .section-heading>span{padding:.45rem .7rem;color:var(--green);background:#e4f2e8;border-radius:999px;font-size:.75rem;font-weight:900}
.template-classification .unassigned-heading{margin-top:32px}
.client-list-group{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}
.client-list-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:13px 17px;color:var(--ink);background:#f4f8f5;cursor:pointer;list-style:none}
.client-list-group>summary::-webkit-details-marker{display:none}.client-list-group[open]>summary{border-bottom:1px solid var(--line)}
.client-list-group>summary>span{display:grid;gap:2px}.client-list-group>summary>span b{font-size:1.05rem}.client-list-group>summary>span small{color:var(--muted)}
.client-list-group>summary>em{color:var(--green);font-size:.78rem;font-style:normal;font-weight:900}
.client-list-group>.card-list{gap:0;padding:10px}.client-list-group .template-card{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
.client-list-group .template-card:last-child{border-bottom:0}.unassigned-list-cards .template-card{box-shadow:var(--shadow)}
@media(max-width:700px){
  .catalog-only-workspace .workspace-products{grid-template-columns:1fr}
  .catalog-only-product{grid-template-columns:72px minmax(0,1fr) auto}.catalog-only-product .workspace-product-image{width:72px;height:66px}
  .catalog-only-product .catalog-edit-product{padding:.5rem;font-size:.72rem}
  .template-classification .section-heading{align-items:flex-start}.client-list-group>summary{min-height:62px;padding:11px 13px}
  .client-list-group .template-card{align-items:stretch;flex-direction:column}.client-list-group .card-actions{display:grid}.client-list-group .card-actions>*{width:100%;text-align:center}
}
/* Compradores y listas privadas para ir de compras */
.kind.shopping,.task-inline-status.shopping{background:#fff1c8;color:#704900;border-color:#e8c45f}
.shopping-private-login{min-height:70vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:center;gap:42px;max-width:960px;margin:auto}
.shopping-login-intro{padding:34px}.shopping-login-intro h1{font-size:clamp(2.3rem,6vw,4.8rem);line-height:.96;margin:.15em 0}
.shopping-login-icon,.shopping-task-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:20px;background:#fff1c8;font-size:34px}
.shopping-mode-shell{max-width:1120px;margin:auto}
.shopping-mode-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0 18px}
.shopping-mode-header h1{font-size:clamp(2rem,5vw,4rem);line-height:1;margin:.12em 0}
.shopping-progress{min-width:124px;border-radius:22px;background:#452a86;color:#fff;padding:18px;text-align:center;box-shadow:0 14px 28px #452a8628}
.shopping-progress b{display:block;font-size:2rem}.shopping-progress span{font-size:.82rem}
.shopping-finished{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#e3f7ea;color:#16643e;border:2px solid #77ca96;border-radius:18px;padding:18px 22px;margin-bottom:16px}
.shopping-finished b{font-size:1.35rem}
.shopping-location-share{display:flex;align-items:center;gap:15px;background:#eef8f2;border:1px solid #b8dec7;border-radius:18px;padding:14px 16px;margin-bottom:18px}
.shopping-location-share button{white-space:nowrap}.shopping-location-share span{font-size:.9rem;color:#3d5d4b}
.shopping-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.shopping-list-form fieldset{border:0;padding:0;margin:0;min-width:0}.shopping-list-form.readonly{opacity:.94}
.shopping-category{background:#fff;border:1px solid var(--line);border-radius:20px;margin-bottom:14px;overflow:hidden;box-shadow:0 7px 22px #17221d0a}
.shopping-category>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;background:#eee9fc;color:#3d277f;cursor:pointer;font-size:1.08rem}
.shopping-category>summary span{font-size:.8rem;background:#fff;border-radius:999px;padding:5px 9px}
.shopping-category>div{display:grid;gap:1px;background:var(--line)}
.shopping-product{display:grid;grid-template-columns:112px minmax(0,1fr) 164px;gap:18px;align-items:center;background:#fff;padding:16px;transition:.2s}
.shopping-product.purchased{background:#eaf8ef}.shopping-product-image{background:#fff;border:0;padding:0;border-radius:16px;overflow:hidden}
.shopping-product-image img{display:block;width:112px;height:112px;object-fit:cover}.shopping-product-main h3{font-size:1.25rem;margin:.15em 0}
.shopping-product-main{min-width:0}.shopping-product input{min-width:0;max-width:100%}
.shopping-product-main>small{color:#6a7180}.shopping-product-main>p{margin:.35em 0;color:#47544c}
.shopping-quantity{display:flex;align-items:end;gap:10px;margin-top:10px}.shopping-quantity label{max-width:160px;font-size:.72rem}
.shopping-quantity input{font-size:1.18rem;font-weight:750}.shopping-quantity b{padding-bottom:12px}.shopping-quantity small{padding-bottom:12px;color:#67716b}
.shopping-item-comment{font-size:.72rem;margin-top:8px}.shopping-item-comment input{padding:9px 11px}
.shopping-purchased-toggle{cursor:pointer}.shopping-purchased-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.shopping-purchased-toggle span{display:flex;align-items:center;justify-content:center;min-height:58px;border:2px solid #6f55b7;border-radius:16px;padding:10px;color:#452a86;font-weight:800;text-align:center}
.shopping-product.purchased .shopping-purchased-toggle span{background:#1e8d55;border-color:#1e8d55;color:#fff}
.shopping-general-comment{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin:16px 0 110px}
.shopping-general-comment textarea{min-height:100px}
.shopping-sticky-actions{position:sticky;bottom:10px;z-index:20;display:flex;justify-content:flex-end;gap:10px;background:#ffffffed;border:1px solid var(--line);box-shadow:0 12px 35px #17221d2b;border-radius:20px;padding:12px;backdrop-filter:blur(12px)}
.finish-shopping-button{background:#1e8d55;font-size:1.05rem}
.shopping-preview-banner{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:center;gap:16px;background:#f18c2d;color:#241306;padding:11px;border:3px solid #c5640c}
.shopping-preview-banner form{margin:0}.shopping-preview-banner button{background:#2f1a08}
.shopping-task-list{display:grid;gap:12px}.shopping-task-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;background:#fff;border:2px solid #e2d9fa;border-radius:20px;padding:16px 18px;color:inherit;text-decoration:none}
.shopping-task-card.active{border-color:#6f55b7;box-shadow:0 10px 28px #452a8618}.shopping-task-card.finished{opacity:.75}
.shopping-task-card span:nth-child(2){display:grid;gap:3px}.shopping-task-card small{font-weight:800;color:#6f55b7}.shopping-task-card b{font-size:1.2rem}.shopping-task-card em{font-style:normal;color:#67716b}
.shopping-task-popup{max-width:520px;border:0;border-radius:24px;padding:0;box-shadow:0 25px 80px #1f173d70;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:90}
.shopping-task-popup::backdrop{background:#1e173b88}.shopping-task-popup>div{display:grid;justify-items:center;text-align:center;gap:10px;padding:30px}
.shopping-task-popup .dialog-actions{display:flex;gap:10px;margin-top:8px}.shopping-admin-product.purchased{background:#eaf8ef;border-color:#79c895}
.shopping-access-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.shopping-access-list li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:8px 0}
.shopping-admin-map .route-map{min-height:430px;border-radius:18px;overflow:hidden}

@media (max-width:760px){
  .shopping-private-login{display:block;min-height:auto}.shopping-login-intro{padding:14px 4px 24px}
  .shopping-mode-header{align-items:flex-end}.shopping-mode-header h1{font-size:2.1rem}.shopping-progress{min-width:96px;padding:12px}
  .shopping-location-share{align-items:stretch;flex-direction:column}.shopping-location-share button{width:100%}
  .shopping-product{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:12px;align-items:start}
  .shopping-product-image img{width:82px;height:82px}.shopping-purchased-toggle{grid-column:1/-1}
  .shopping-purchased-toggle span{min-height:50px}.shopping-quantity{flex-wrap:wrap}
  .shopping-sticky-actions{display:grid;grid-template-columns:1fr 1fr;bottom:6px}.shopping-sticky-actions button{padding:12px 8px}
  .shopping-preview-banner{position:relative;flex-wrap:wrap;text-align:center}
  .shopping-task-card{grid-template-columns:auto minmax(0,1fr)}.shopping-task-card>strong{grid-column:1/-1;text-align:right}
}

/* Lista de la compra, proveedores y cambio de trabajo · 1.27 */
.shopping-business-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:28px;align-items:end;margin-bottom:20px;padding:34px;color:#fff;background:linear-gradient(135deg,#203d31,#206b4b 62%,#8fbd52);border-radius:26px;box-shadow:var(--shadow)}
.shopping-business-hero .eyebrow,.shopping-business-hero p{color:#e4f5e9}.shopping-business-hero h1{max-width:800px;margin-bottom:.2rem}.shopping-business-hero h2{margin:.15rem 0 .7rem;color:#dffa9d;font-size:clamp(1.5rem,4vw,2.5rem)}
.shopping-business-actions{display:grid;gap:9px}.shopping-business-actions .button{min-height:54px}.shopping-business-actions .secondary{background:#fff!important}
.shopping-business-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 26px}.shopping-business-stats span{display:flex;align-items:baseline;gap:8px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:15px}.shopping-business-stats b{color:#452a86;font-size:1.8rem}
.shopping-business-card{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:15px;padding:18px;background:#fff;border:2px solid #ded5f6;border-radius:18px}.shopping-business-card.finished{opacity:.78;border-color:var(--line)}.shopping-business-buyer{width:62px;height:62px}.shopping-finished-lists{margin-top:28px}.shopping-finished-lists>summary{padding:16px 18px;color:#3f2a87;background:#eee9fc;border-radius:14px;font-weight:900;cursor:pointer}.shopping-finished-lists>.card-list{margin-top:12px}
.contact-name-cell{display:flex;align-items:center;gap:10px}.contact-list-photo{width:52px;height:52px;object-fit:cover;border-radius:11px}.contact-name-cell span{display:grid}.contact-name-cell em{color:#9b5c11;font-size:.72rem;font-style:normal;font-weight:850}.supplier-contact-fields{margin:15px 0;padding:17px;background:#f7f2ff;border:1px solid #d9cdf3;border-radius:14px}.supplier-contact-fields[hidden]{display:none}.supplier-contact-fields h2,.supplier-contact-fields h3{margin-bottom:14px}.contact-login-logo{display:block;overflow:hidden;width:112px;height:112px;margin-bottom:18px;background:#fff;border-radius:24px;box-shadow:var(--shadow)}.contact-login-logo img{width:100%;height:100%;object-fit:cover}
.supplier-welcome-popup,.shopping-supplier-dialog{width:min(520px,calc(100% - 28px));max-width:520px;border:0;border-radius:24px;padding:0;box-shadow:0 28px 90px #17221d77;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:95}.supplier-welcome-popup::backdrop,.shopping-supplier-dialog::backdrop{background:#17221d88}.supplier-welcome-popup>div,.shopping-supplier-dialog>div{display:grid;gap:12px;padding:28px}.supplier-welcome-popup img,.supplier-welcome-popup>div>span:first-child{width:84px;height:84px;object-fit:cover;border-radius:18px;font-size:3rem}.supplier-delivery-destination{display:grid;gap:3px;padding:14px;color:#174d38;background:#e5f4ea;border-radius:12px}.supplier-delivery-destination small{color:#174d38;font-weight:900}.supplier-welcome-popup button{width:100%}
.shopping-product-supplier{display:grid!important;grid-template-columns:auto minmax(0,1fr);justify-content:start!important;gap:9px;width:100%;margin-top:9px;padding:9px 11px!important;text-align:left}.shopping-product-supplier>span:first-child{font-size:1.3rem}.shopping-product-supplier>span:last-child{display:grid}.shopping-product-supplier small{font-size:.58rem}.shopping-product-supplier b{overflow-wrap:anywhere}
.shopping-supplier-dialog details{padding:12px;background:#f5f2fd;border-radius:12px}.shopping-supplier-dialog details>summary{color:#452a86;font-weight:850;cursor:pointer}.shopping-supplier-dialog details label{margin-top:12px}.shopping-supplier-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shopping-supplier-dialog-actions button{min-height:50px}
.shopping-view-controls{display:flex;gap:7px;margin-bottom:14px;padding:5px;background:#ebe7f7;border-radius:13px}.shopping-view-controls a{flex:1;padding:10px 12px;color:#452a86;border-radius:10px;text-align:center;font-weight:850}.shopping-view-controls a.active{color:#fff;background:#6946a5}.shopping-list-toolbar>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.shopping-supplier-route-panel{margin-bottom:15px}.shopping-supplier-route-map{height:430px;overflow:hidden;border-radius:16px;background:#e7ebe7}.shopping-supplier-route-status{margin:10px 0;padding:11px 13px;color:#4f347b;background:#f1ecfb;border-radius:10px;font-weight:800}.shopping-supplier-route-status.success{color:#176044;background:#e1f3e8}.shopping-supplier-route-status.error{color:#8b3030;background:#fae2e2}.shopping-supplier-route-metrics{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.shopping-supplier-route-metrics>*{padding:8px 11px;background:#f1f3ef;border-radius:9px}.shopping-supplier-route-marker{background:none!important;border:0!important}.shopping-supplier-route-marker b{display:grid;place-items:center;width:38px;height:38px;color:#fff;background:#6946a5;border:4px solid #fff;border-radius:50%;box-shadow:0 5px 14px #0005}
.driver-account-work-mode{display:grid;gap:7px;margin:0 0 12px;padding:11px;background:#f1f5f2;border:1px solid #dbe5df;border-radius:12px}.driver-account-work-mode>small{color:#587066;font-size:.66rem;font-weight:900;letter-spacing:.08em}.driver-account-work-mode nav{display:grid;grid-template-columns:1fr 1fr;gap:6px}.driver-account-work-mode a{padding:9px 7px;color:#405048;background:#fff;border:1px solid #dbe5df;border-radius:9px;text-align:center;font-size:.82rem;font-weight:900}.driver-account-work-mode a.active{color:#fff;background:#206b4b;border-color:#206b4b}.driver-account-work-mode a:first-child.active{background:#6946a5;border-color:#6946a5}.driver-shopping-tasks>.section-heading{margin-bottom:14px}
.account-action-help-form,.driver-action-help-form{display:grid;gap:10px}.driver-action-help-form{margin:0;padding:12px;background:#f3f6f4;border:1px solid #dce5df;border-radius:12px}.driver-action-help-form .toggle{margin:0}.driver-action-help-form button{width:100%}
@media(max-width:760px){
  .shopping-business-hero{grid-template-columns:1fr;padding:24px 20px}.shopping-business-stats{grid-template-columns:1fr}.shopping-business-card{grid-template-columns:54px minmax(0,1fr)}.shopping-business-card .card-actions{grid-column:1/-1;display:grid}.shopping-business-buyer{width:52px;height:52px}
  .shopping-list-toolbar{align-items:stretch;flex-direction:column}.shopping-list-toolbar>div{display:grid;grid-template-columns:1fr}.shopping-list-toolbar button,.shopping-back-to-work{width:100%}.shopping-supplier-route-map{height:330px}.shopping-supplier-dialog-actions{grid-template-columns:1fr}
  .driver-account-work-mode a{min-height:42px}
}

/* Importación OpenSource 19 y validación de direcciones · 1.27.1 */
.address-validation-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:850;line-height:1.25}
.address-validation-badge.validated{color:#0f6a46;background:#e8f7ef;border:1px solid #a9d9bf}
.address-validation-badge.accepted{color:#145c75;background:#e8f7fb;border:1px solid #9acddd}
.address-validation-badge.pending{color:#9a3f0d;background:#fff1df;border:1px solid #f2bf82}
.address-validation-link{flex-wrap:wrap;gap:5px 10px;text-decoration:none;cursor:pointer;box-shadow:0 2px 0 rgba(154,63,13,.08);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.package-notes .odoo-image-warning,.package-notes.odoo-image-warning{color:#8a430b;background:#fff0d8!important;border-color:#edb46c!important}.package-notes .odoo-image-warning b,.package-notes.odoo-image-warning b{color:#8a430b}
.address-validation-link strong{padding-left:9px;border-left:1px solid #e2a35a;color:#7b2d08;white-space:nowrap}
.address-validation-link:hover,.address-validation-link:focus-visible{border-color:#c96a24;box-shadow:0 0 0 3px rgba(201,106,36,.16);transform:translateY(-1px)}
.delivery-list-open{margin-top:4px;color:var(--green);font-size:.78rem;font-weight:850;text-decoration:none}
#delivery-address-verification:target{scroll-margin-top:18px;box-shadow:0 0 0 4px rgba(224,129,45,.2),var(--shadow)}
.delivery-package-import{border:2px solid #7cc39d;background:linear-gradient(145deg,#f5fff9,#fff)}
.delivery-package-import .template-downloads a{background:#e4f6ec;border:1px solid #92cfae}

/* Bandeja permanente de OpenSource · 1.27.2 */
.odoo-inbox-panel{grid-column:1/-1;border:2px solid #5c8fd9;background:linear-gradient(145deg,#f5f9ff,#fff)}
.odoo-inbox-drawer.inactive{border-color:#b7c1ba;background:linear-gradient(145deg,#f7f8f6,#fff)}.odoo-inbox-drawer>summary{list-style:none;cursor:pointer}.odoo-inbox-drawer>summary::-webkit-details-marker{display:none}.odoo-inbox-drawer>summary:focus-visible{outline:3px solid rgba(39,95,156,.22);outline-offset:5px;border-radius:12px}.odoo-inbox-drawer[open]>.odoo-inbox-heading{padding-bottom:18px;border-bottom:1px solid #cddcef}.odoo-inbox-body{padding-top:2px}
.odoo-inbox-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.odoo-inbox-heading h2{margin-bottom:.35rem}.odoo-inbox-heading p{margin-bottom:0}.odoo-inbox-count{display:grid;place-items:center;min-width:170px;padding:12px;color:#fff;background:#275f9c;border-radius:16px;text-align:center;font-weight:900}.odoo-inbox-count b{font-size:1rem;letter-spacing:.08em}.odoo-inbox-count small{color:#eaf3ff;font-size:.68rem}.odoo-inbox-count.inactive{color:#46524b;background:#e1e6e2}.odoo-inbox-count.inactive small{color:#65716a}
.copy-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.copy-field input{min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.odoo-credentials-form{margin:16px 0;padding:16px;background:#edf5ff;border-radius:14px}.odoo-api-help{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px}.odoo-api-help p{flex-basis:100%;margin:0}.odoo-api-help code{padding:6px 9px;color:#174b78;background:#dcecff;border-radius:8px;font-weight:850}
.odoo-inbox-files{display:grid;gap:9px;margin-top:15px}.odoo-inbox-file{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;background:#fff;border:1px solid #cddcef;border-radius:12px}.odoo-inbox-file>span{display:grid;min-width:0}.odoo-inbox-file>span>*{overflow-wrap:anywhere}.odoo-inbox-file>em{padding:6px 9px;color:#8b520d;background:#fff0d5;border-radius:999px;font-size:.72rem;font-style:normal;font-weight:850}.odoo-inbox-file.imported>em{color:#176044;background:#def3e7}.odoo-inbox-file.imported_warning>em{color:#76520b;background:#fff0bd}.odoo-inbox-file.error>em{color:#8b3030;background:#fae2e2}.odoo-inbox-file>div{display:flex;flex-wrap:wrap;gap:6px}.odoo-inbox-file form{margin:0}.odoo-inbox-file button{padding:.55rem .7rem}
.odoo-auto-monitor{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 14px;margin:14px 0;padding:12px 14px;color:#145a40;background:#e7f6ec;border:1px solid #9bc9ab;border-radius:12px}.odoo-auto-monitor.inactive{color:#4d5852;background:#eef1ee;border-color:#c7cec9}.odoo-auto-monitor span{overflow-wrap:anywhere}.odoo-auto-monitor span.error{color:#a32e2e}.odoo-auto-monitor small{color:#4f6f61}.odoo-inbox-error-detail{display:grid;gap:8px;margin-top:9px;padding:12px 14px;color:#702727;background:#fff1f1;border:2px solid #df8d8d;border-radius:12px}.odoo-inbox-error-detail>strong{font-size:1rem}.odoo-inbox-error-detail dl{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:7px;margin:0}.odoo-inbox-error-detail dl>div{display:grid;padding:7px 9px;background:#fff;border:1px solid #edcaca;border-radius:9px}.odoo-inbox-error-detail dt{font-size:.68rem;font-weight:900;text-transform:uppercase}.odoo-inbox-error-detail dd{margin:2px 0 0;font-weight:750}.odoo-inbox-error-detail p{margin:0}.odoo-inbox-waiting,.odoo-inbox-processing,.odoo-inbox-import-warning{margin-top:5px;padding:7px 9px;border-radius:8px}.odoo-inbox-waiting,.odoo-inbox-processing{background:#edf5ff}.odoo-inbox-import-warning{color:#72500d;background:#fff5cf;border:1px solid #e8cb75}.odoo-notification-error{margin-top:5px;padding:7px 8px;color:#8a2929;background:#fff0f0;border-radius:8px}
.odoo-notification-item{display:grid;gap:6px;padding:15px 16px;color:var(--ink);background:#f7fff3;border-top:1px solid var(--line);border-left:5px solid var(--lime)}.odoo-notification-item small{color:var(--muted)}.odoo-notification-item form{margin:5px 0 0}.odoo-notification-item button{width:100%;min-height:45px;padding:.65rem .8rem;color:#fff;background:var(--green);border-radius:10px}.odoo-notification-item button:hover{background:#144f37}
@media(max-width:760px){.odoo-inbox-heading{align-items:stretch;flex-direction:column}.odoo-inbox-count{width:100%;min-width:0}.copy-field,.odoo-inbox-file{grid-template-columns:1fr}.odoo-inbox-file>div{display:grid}.odoo-inbox-file button{width:100%}.odoo-auto-monitor{grid-template-columns:1fr}.odoo-inbox-error-detail dl{grid-template-columns:1fr 1fr}}

/* Entrega administrativa desde el almacén · 1.27.4 */
.warehouse-admin-deliver{color:#fff;background:#167448;border-color:#167448}.warehouse-admin-deliver:hover{background:#0f5b37}.warehouse-delivered-proof>small{display:block;margin:4px 0;color:#176044;font-weight:800}

/* Ayuda de acciones, galería OpenSource y ficha destacada · 1.27.9 */
.action-help-tooltip{position:fixed;z-index:260;padding:10px 12px;color:#fff;background:#173b2c;border:1px solid #4e806b;border-radius:10px;box-shadow:0 12px 32px rgba(10,30,20,.28);font-size:.76rem;font-weight:750;line-height:1.4;pointer-events:none}
.action-help-tooltip[hidden]{display:none}
.image-lightbox-dialog{display:none;grid-template-columns:64px minmax(0,1fr) 64px;grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:8px;padding:58px 14px 14px}
.image-lightbox-dialog[open],.image-lightbox-dialog.dialog-fallback{display:grid}
.image-lightbox-stage{display:grid;place-items:center;width:100%;height:100%;min-height:0;overflow:hidden;touch-action:pan-y}
.image-lightbox-stage img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.image-lightbox-nav{display:grid;place-items:center;width:56px;height:72px;padding:0;color:#111;background:#fff;border-radius:15px;font-size:2.5rem;line-height:1}
.image-lightbox-nav:hover{color:#fff;background:var(--green)}.image-lightbox-nav[hidden]{display:none}
.image-lightbox-dialog footer{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 12px;min-height:58px;padding:9px 12px;color:#fff;background:#202421;border-radius:11px}
.image-lightbox-dialog footer strong{padding:5px 8px;color:#173b2c;background:var(--lime);border-radius:8px;white-space:nowrap}
.image-lightbox-dialog footer span{overflow-wrap:anywhere;font-weight:850}.image-lightbox-dialog footer small{grid-column:2;color:#c8d2cc}
.driver-package-gallery{display:grid;gap:9px;min-width:0}.driver-package-gallery-main{min-width:0}
.driver-package-gallery-main>.image-lightbox-trigger{width:100%;height:280px;border:3px solid #fff;box-shadow:var(--shadow)}
.driver-package-gallery-thumbs{display:flex;gap:7px;max-width:100%;padding:2px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.driver-package-gallery-thumb{flex:0 0 72px;width:72px;height:62px;border:2px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.14);scroll-snap-align:start}
.driver-package-gallery>small{color:var(--muted);font-size:.72rem;font-weight:800}
.driver-task-detail-heading{display:grid;grid-template-columns:minmax(260px,420px) minmax(250px,1fr);align-items:center;gap:24px;width:100%}
.driver-task-detail-title{display:grid;align-content:center;justify-items:start;gap:9px;min-width:0}.driver-task-detail-title h1{margin:0}
.driver-task-detail-title .driver-schedule-badge{width:220px;min-height:150px;padding:15px;border-width:3px;border-radius:18px}
.driver-task-detail-title .driver-schedule-badge span{font-size:.85rem}.driver-task-detail-title .driver-schedule-badge b{font-size:3.7rem}
.driver-task-detail-title .driver-schedule-badge small{font-size:.84rem}.driver-task-detail-title .driver-schedule-badge em{font-size:1.45rem}
.driver-destination>h2{font-size:1.45rem}.driver-destination-address{margin-bottom:16px;padding:16px 18px;background:#f1f8f3;border:2px solid #8fbea2;border-radius:15px}
.driver-destination-address .delivery-address-pair{margin:0}.driver-destination-address .delivery-address-pair dt{font-size:.78rem}
.driver-destination-address .delivery-address-pair dd{font-size:1.12rem;font-weight:850;line-height:1.45}
.delivery-detail-package-gallery .driver-package-gallery-main>.image-lightbox-trigger{height:430px}
.delivery-edit-package-gallery{max-width:760px;margin:0 auto 18px}.delivery-edit-package-gallery .driver-package-gallery-main>.image-lightbox-trigger{height:300px}
@media(max-width:760px){
  .image-lightbox-dialog{grid-template-columns:44px minmax(0,1fr) 44px;width:100vw;height:100dvh;max-width:none;max-height:none;padding:64px 6px max(8px,env(safe-area-inset-bottom));border-radius:0}
  .image-lightbox-nav{width:42px;height:60px;font-size:2rem}.image-lightbox-dialog footer{grid-template-columns:auto minmax(0,1fr);font-size:.78rem}.image-lightbox-dialog footer small{grid-column:1/-1}
  .driver-task-detail-heading{grid-template-columns:1fr;gap:16px}.driver-package-gallery-main>.image-lightbox-trigger{height:260px}
  .driver-task-detail-title{justify-items:stretch}.driver-task-detail-title .driver-schedule-badge{width:100%;min-height:118px}
  .driver-task-detail-title .driver-schedule-badge b{font-size:3rem}.driver-destination-address{padding:13px}
  .delivery-detail{grid-template-columns:1fr}.delivery-detail-package-gallery .driver-package-gallery-main>.image-lightbox-trigger{height:300px}
}

/* Privacidad de tarjeta, miniaturas de paquete y almacén fluido · 1.27.10 */
.package-thumbs-100{display:flex;align-items:center;gap:8px;width:max-content;max-width:212px;padding:1px;overflow-x:auto;scroll-snap-type:x proximity}
.package-thumb-100{display:grid;place-items:center;overflow:hidden;flex:0 0 100px;width:100px;height:100px;background:#edf0e9;border-radius:12px;scroll-snap-align:start}
.package-thumb-100-button{display:block;width:100%;height:100%;min-height:0;padding:0;border:1px solid #dce5de;border-radius:12px;background:transparent}
.package-thumb-100-button:hover{background:transparent;transform:none}
.package-thumb-100-button img{display:block;width:100%;height:100%;object-fit:cover}
.card-included{color:#5e346d;background:#f7eafa;border-color:#d9b9e1}.card-included b{color:#63326f}
.warehouse-package-list{max-height:none;overflow:visible}
.warehouse-package-detail{grid-template-columns:auto minmax(0,1fr);align-items:start}
.warehouse-package-data{min-width:0}
.warehouse-package>.warehouse-package-actions{display:flex;grid-column:1/-1;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding-top:10px;border-top:1px solid #e5ebe6}
.warehouse-cleanup-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}
.warehouse-cleanup-actions form{margin:0}
.warehouse-cleanup-actions button{min-height:42px}
.warehouse-inline-assign{min-width:150px}.warehouse-inline-assign>summary{list-style:none;cursor:pointer}.warehouse-inline-assign>summary::-webkit-details-marker{display:none}.warehouse-inline-assign[open]{flex:1 1 100%;padding:10px;background:#eef7f1;border:1px solid #bad9c6;border-radius:12px}.warehouse-inline-assign[open]>summary{width:max-content;margin:0 0 9px}.warehouse-inline-assign form{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:8px}.warehouse-inline-assign form label{margin:0}.warehouse-inline-assign form button{min-height:43px}
.delivery-work-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}
.delivery-work-main,.live-task-card-main{display:grid;min-width:0;color:var(--ink)}
.delivery-assignee{display:grid;color:var(--ink)}
.live-task-card{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}
.live-task-card-main{grid-template-columns:minmax(0,1fr) auto}
.live-task-card-main>small{grid-column:1/-1}
.live-task-card .task-inline-status{grid-row:auto;grid-column:auto}
.live-task-card .live-task-status-sign{align-self:start;justify-self:end;display:grid;place-items:center;min-width:92px;min-height:44px;padding:9px 11px;border:2px solid currentColor;border-radius:10px;box-shadow:0 4px 10px rgba(23,34,29,.08);line-height:1.15;text-align:center;white-space:normal}
@media(max-width:620px){.live-task-card .live-task-status-sign{min-width:86px;min-height:42px;padding:8px 9px}.live-task-card-main{align-items:start}}
.delivery-list-row{grid-template-columns:auto minmax(0,1fr) auto}
.delivery-list-row>span{min-width:0}
.delivery-list-assignee{display:grid;align-items:end;justify-items:end;gap:5px;min-width:0;text-align:right}
.delivery-driver-identity{display:inline-flex;align-items:center;gap:7px;min-width:0;color:var(--ink);font-size:.78rem;font-weight:850;line-height:1.15}
.delivery-driver-identity>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.delivery-driver-mini-avatar{width:32px;height:32px;border-width:2px;font-size:.66rem;box-shadow:0 3px 9px rgba(23,34,29,.16)}
.delivery-driver-identity.unassigned{color:#805800}
.delivery-driver-identity.unassigned .delivery-driver-mini-avatar{color:#805800;background:#fff1c7;border-color:#f1ce75;box-shadow:none}
.delivery-assignee{align-items:end;justify-items:end;gap:6px}
.delivery-assignee-main{display:grid;justify-items:end;gap:5px;color:var(--ink)}
.order-pill-main{display:grid;color:var(--ink)}
.inline-driver-picker{display:block;max-width:330px;color:var(--ink);font-size:.78rem;text-align:left}
.inline-driver-picker>summary{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:.42rem .68rem;color:#fff;background:var(--green);border-radius:9px;cursor:pointer;font-size:.72rem;font-weight:900;line-height:1.1;list-style:none;text-align:center;white-space:nowrap}
.inline-driver-picker>summary::-webkit-details-marker{display:none}
.inline-driver-picker>summary:hover{filter:brightness(.93)}
.inline-driver-picker[open]{width:min(330px,100%);padding:9px;background:#eef7f1;border:1px solid #b9d9c6;border-radius:12px}
.inline-driver-picker[open]>summary{margin-bottom:8px}
.inline-driver-picker form,.inline-driver-picker-warning{display:grid;gap:7px}
.inline-driver-picker label{margin:0}
.inline-driver-picker select{width:100%;min-width:0}
.inline-driver-picker button,.inline-driver-picker .button{width:100%;min-height:38px;padding:.48rem .62rem}
.inline-driver-picker-warning small{color:var(--muted);white-space:normal}
.delivery-assignee .inline-driver-picker,.delivery-list-assignee .inline-driver-picker{justify-self:end}
.dashboard-inline-assign{margin-top:10px}
.dashboard-recent-section{margin-top:24px}
.dashboard-recent-section .section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}
.dashboard-recent-section .section-heading h2,.dashboard-recent-section .section-heading p{margin:0}
.dashboard-recent-section .section-heading p{margin-top:4px;color:var(--muted)}
.dashboard-recent-board{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));align-items:start}
.dashboard-recent-card{display:grid;align-content:start;min-width:0;padding:16px}
.dashboard-recent-card:hover{transform:none}
.dashboard-recent-summary{display:grid;grid-template-columns:1fr;align-items:start;gap:12px;margin-top:13px}
.dashboard-recent-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,88px));align-items:start;gap:8px;width:100%;max-width:none;padding:0;overflow:visible;scroll-snap-type:none}
.dashboard-recent-images .package-thumb-100{width:88px;height:88px;flex-basis:88px;scroll-snap-align:none}
.dashboard-recent-data{display:grid;align-content:start;gap:6px;min-width:0}
.dashboard-recent-data h3,.dashboard-recent-data p{margin:0}
.dashboard-recent-data h3{font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.dashboard-recent-date{color:var(--green);font-size:.8rem;font-weight:900}
.dashboard-recent-recipient{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;padding:7px 9px;color:var(--ink);background:#edf5ef;border:1px solid #cfe1d5;border-radius:9px;font-size:.8rem;line-height:1.3}
.dashboard-recent-recipient span{min-width:0;font-weight:900;overflow-wrap:anywhere}.dashboard-recent-recipient a{color:var(--green);font-weight:900;white-space:nowrap}.dashboard-recent-recipient small{color:var(--muted)}
.dashboard-recent-address{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:.8rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.dashboard-recent-reference{display:inline-flex;justify-self:start;max-width:100%;padding:4px 7px;color:#715016;background:#fff4cf;border:1px solid #ead28a;border-radius:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-recent-data .delivery-driver-identity{margin-top:2px}
.dashboard-recent-proofs{display:grid;gap:8px;margin-top:5px;padding:10px;background:#e5f5eb;border:1px solid #9dceb0;border-radius:11px}.dashboard-recent-proofs>strong{justify-self:start;padding:5px 8px;color:#fff;background:#16804d;border-radius:8px;font-size:.78rem;letter-spacing:.05em}.dashboard-recent-proofs>small{color:#37664a;font-weight:800}.dashboard-recent-proof-list{display:flex;align-items:start;flex-wrap:wrap;gap:9px}.dashboard-recent-proof-item{display:grid;justify-items:center;gap:4px;margin:0}.dashboard-recent-proof-item .delivery-proof-thumb{width:88px;height:76px}.dashboard-recent-proof-item .delivery-proof-thumb.signature img{object-fit:contain;background:#fff}.dashboard-recent-proof-item figcaption{color:#28583c;font-size:.68rem;font-weight:900}
.dashboard-recent-actions{display:flex;align-items:start;flex-wrap:wrap;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}
.dashboard-recent-actions>.button{min-height:34px;padding:.45rem .7rem;font-size:.72rem}
.dashboard-recent-actions .dashboard-inline-assign{margin-top:0}
.dashboard-delete-form{margin:0}.dashboard-delete-form button{min-height:34px;padding:.45rem .7rem;font-size:.72rem}
.warehouse-package-assignment{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.delivery-batch-drivers{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px}
.delivery-batch-drivers .delivery-driver-identity{padding:3px 7px 3px 3px;background:#edf5ef;border-radius:999px}
.live-task-card-main .delivery-driver-identity{margin-top:5px}
.delivery-list-row>span:last-child{align-items:end;justify-items:end;gap:5px}
.warehouse-pick-card{grid-template-columns:24px auto minmax(0,1fr) 30px}
.warehouse-selected-row{align-items:flex-start}
.warehouse-selected-row>.package-thumbs-100,.warehouse-selected-row>.image-lightbox-trigger,.warehouse-selected-row>img{flex:0 0 auto;max-width:212px;min-height:0;padding:0;object-fit:cover;border-radius:10px}
.warehouse-driver-task{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
.warehouse-driver-task-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:var(--ink)}
.warehouse-driver-task-main>span{display:grid;min-width:0}
.warehouse-driver-task-main b,.warehouse-driver-task-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.driver-task{grid-template-columns:auto 104px minmax(0,1fr) auto}
.driver-history-visuals{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.driver-itinerary-stops{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}
.driver-itinerary-stops li:not(.driver-itinerary-origin){grid-template-columns:auto 38px minmax(0,1fr)}
.driver-itinerary-stops .driver-itinerary-origin{grid-template-columns:38px minmax(0,1fr)}
@media(max-width:860px){
  .delivery-work-item,.delivery-list-row{grid-template-columns:auto minmax(0,1fr)}
  .delivery-assignee,.delivery-list-row>span:last-child{grid-column:2;text-align:left}
  .delivery-list-assignee{grid-column:2;align-items:start;justify-items:start;text-align:left}
  .warehouse-package{grid-template-columns:auto minmax(0,1fr)}
  .warehouse-pick-card{grid-template-columns:22px auto minmax(0,1fr)}
  .driver-task{grid-template-columns:auto 84px minmax(0,1fr)}
  .driver-itinerary-stops{grid-template-columns:1fr}
}
@media(max-width:620px){
  .driver-task{grid-template-columns:auto 104px minmax(0,1fr)}
  .warehouse-package-data,.delivery-work-main,.delivery-list-row>span:nth-of-type(2){grid-column:1/-1}
  .delivery-list-row .address-validation-badge{width:100%;max-width:100%;flex-wrap:wrap;gap:3px 8px;border-radius:12px;white-space:normal}
  .delivery-list-row .address-validation-badge strong{white-space:normal}
  .delivery-list-row .package-notes-compact{width:100%;min-width:0}
  .delivery-list-row b,.delivery-list-row small,.delivery-list-row .package-notes span{max-width:100%;overflow-wrap:anywhere;white-space:normal}
  .warehouse-pick-card{grid-template-columns:22px minmax(0,1fr)}
  .warehouse-pick-card>.package-thumbs-100{grid-column:2}
  .warehouse-pick-card>span:nth-of-type(2){grid-column:1/-1}
  .driver-history-visuals{justify-content:flex-start}
  .warehouse-inline-assign form{grid-template-columns:1fr}.warehouse-inline-assign[open]>summary{width:100%}
}
@media(max-width:860px){
  .delivery-assignee,.delivery-assignee-main,.delivery-list-row>span:last-child{align-items:start;justify-items:start}
  .delivery-assignee .inline-driver-picker,.delivery-list-assignee .inline-driver-picker{justify-self:start;width:100%;max-width:none}
  .inline-driver-picker[open]{width:100%;max-width:none}
  .warehouse-package-assignment{justify-content:flex-start}
  .warehouse-cleanup-actions{display:grid;grid-template-columns:1fr;width:100%}
  .warehouse-cleanup-actions button{width:100%}
  .dashboard-recent-section .section-heading{align-items:stretch;flex-direction:column}
  .dashboard-recent-section .section-heading>.button{width:100%}
  .dashboard-recent-board{grid-template-columns:1fr}
}
@media(max-width:430px){
  .dashboard-recent-card{padding:13px}
  .dashboard-recent-summary{gap:10px}
  .dashboard-recent-images{grid-template-columns:repeat(auto-fill,minmax(70px,82px));gap:7px}
  .dashboard-recent-images .package-thumb-100{width:82px;height:82px;flex-basis:82px}
  .dashboard-recent-actions{display:grid;grid-template-columns:1fr}
  .dashboard-recent-actions>.button,.dashboard-recent-actions>.inline-driver-picker{width:100%;max-width:none}
  .dashboard-recent-actions>.inline-driver-picker>summary{width:100%}
  .dashboard-recent-actions>.dashboard-delete-form,.dashboard-recent-actions>.dashboard-delete-form button{width:100%}
}
@media(max-width:430px){
  .driver-task{grid-template-columns:minmax(100px,212px) 78px minmax(0,1fr)}
  .warehouse-pick-card{grid-template-columns:22px minmax(0,1fr)}
  .driver-itinerary-stops li:not(.driver-itinerary-origin){position:relative;grid-template-columns:minmax(100px,212px) minmax(0,1fr)}
  .driver-itinerary-stops li:not(.driver-itinerary-origin)>b{position:absolute;margin:6px 0 0 68px}
  .driver-itinerary-stops li:not(.driver-itinerary-origin)>span{grid-column:1/-1}
}

/* Almacén filtrable y entrada plegada · 1.27.10 */
.warehouse-filter-bar{grid-template-columns:repeat(4,minmax(0,1fr))}
.warehouse-filter-bar>button{display:flex;align-items:center;gap:11px;min-height:74px;padding:14px 18px;color:var(--ink);background:#fff;border:2px solid var(--line);border-radius:15px;text-align:left}
.warehouse-filter-bar>button:hover{color:var(--ink);background:#f1f7f3;border-color:#9fc4ad}
.warehouse-filter-bar>button.active{color:#fff;background:var(--green);border-color:var(--green);box-shadow:0 7px 18px rgba(30,105,74,.2)}
.warehouse-filter-bar strong{font-size:1.65rem}.warehouse-filter-bar>button.active strong,.warehouse-filter-bar>button.active span{color:#fff}
.warehouse-filter-bar span{color:var(--muted);font-size:.82rem;font-weight:850}
.warehouse-route-sort-panel{display:grid;grid-template-columns:minmax(320px,1fr) auto;align-items:center;gap:10px 24px;margin:0 0 16px;padding:15px 18px;border:1px solid #b8d8c4;border-radius:16px;background:#f4faf6}.warehouse-route-sort-panel>div:first-child{display:grid;gap:3px;min-width:0}.warehouse-route-sort-panel>div:first-child>b{font-size:1.05rem}.warehouse-route-sort-panel>div:first-child>small{max-width:680px;color:var(--muted)}.warehouse-route-sort-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px}.warehouse-route-sort-actions form{margin:0}.warehouse-route-sort-message{grid-column:1/-1;color:var(--green);font-weight:850}.warehouse-route-sort-message:empty{display:none}.warehouse-route-sort-message.error{color:#a83832}.warehouse-route-position{flex:0 0 auto;padding:4px 7px;color:#fff;background:var(--green);border-radius:999px;font-size:.65rem;font-weight:950;letter-spacing:.06em}.warehouse-route-group>summary{background:#e7f4eb}
.warehouse-filter-empty{margin:10px;padding:20px;background:#f4f7f4;border-radius:12px;text-align:center}
.warehouse-workspace{grid-template-columns:minmax(620px,1.75fr) minmax(340px,.75fr);gap:20px}
.warehouse-entry-drawer{grid-column:1/-1;grid-row:1;margin:0;padding:0;overflow:hidden;border:2px solid #b7d2c1;border-radius:16px;background:#f6fbf8}
.warehouse-entry-drawer>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px;padding:15px 20px;color:#174b37;cursor:pointer;list-style:none}
.warehouse-entry-drawer>summary::-webkit-details-marker{display:none}.warehouse-entry-drawer>summary>span{display:grid}.warehouse-entry-drawer>summary b{font-size:1.05rem}.warehouse-entry-drawer>summary small{color:#557065}
.warehouse-entry-drawer>summary em{color:#276f50;font-size:.75rem;font-style:normal;font-weight:900}.warehouse-entry-drawer[open]>summary{color:#fff;background:var(--green)}.warehouse-entry-drawer[open]>summary small,.warehouse-entry-drawer[open]>summary em{color:#fff}
.warehouse-entry-content{display:grid;grid-template-columns:minmax(300px,.65fr) minmax(520px,1.35fr);gap:18px;padding:18px;background:#edf5ef;border-top:1px solid #b7d2c1}
.warehouse-entry-content>.warehouse-quick-product,.warehouse-entry-content>.warehouse-entry-form{align-self:start}
.warehouse-stock{grid-column:1;grid-row:2}.warehouse-access{grid-column:2;grid-row:2}.warehouse-history{grid-column:1/-1;grid-row:3}
@media(max-width:1180px){
  .warehouse-workspace{grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr)}
  .warehouse-entry-content{grid-template-columns:1fr}
}
@media(max-width:860px){
  .warehouse-filter-bar{grid-template-columns:1fr 1fr}.warehouse-filter-bar>button{min-height:66px;padding:10px}
  .warehouse-route-sort-panel{grid-template-columns:1fr;align-items:stretch}.warehouse-route-sort-actions{display:grid;grid-template-columns:1fr}.warehouse-route-sort-actions form,.warehouse-route-sort-actions button{width:100%}
  .warehouse-workspace{display:block}.warehouse-entry-content{display:grid;grid-template-columns:1fr;padding:10px}
  .warehouse-entry-drawer>summary{padding:13px}.warehouse-entry-drawer>summary em{display:none}
}
@media(max-width:430px){
  .warehouse-filter-bar{grid-template-columns:1fr}.warehouse-filter-bar>button{min-height:58px}
}

/* Resumen visual de paquetes por driver en el almacén · 1.27.19 */
.warehouse-driver-task-compact{grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:10px;padding:10px;background:#f6f9f7;border:1px solid #e0e8e2;border-radius:12px}
.warehouse-driver-task-compact .warehouse-driver-task-thumb{display:flex;width:100%;max-width:100%;gap:6px;padding:1px;overflow-x:auto}
.warehouse-driver-task-compact .package-thumb-100{flex:0 0 72px;width:72px;height:72px;border-radius:10px}
.warehouse-driver-task-compact .package-thumb-100-button{border-radius:10px}
.warehouse-driver-task-date{display:block;min-width:0;color:var(--ink);text-decoration:none}
.warehouse-driver-task-date .driver-schedule-badge{width:100%;min-height:76px;padding:6px;border-width:1px;border-radius:10px}
.warehouse-driver-task-date .driver-schedule-badge b{font-size:1.8rem}
.warehouse-driver-task-date .driver-schedule-badge small{font-size:.58rem}
.warehouse-driver-task-date .driver-schedule-badge em{font-size:.86rem}
.warehouse-driver-task-date:hover .driver-schedule-badge,.warehouse-driver-task-date:focus-visible .driver-schedule-badge{background:#d7eddf;border-color:var(--green);box-shadow:0 0 0 3px rgba(32,107,75,.12)}
@media(max-width:430px){
  .warehouse-driver-task-compact{grid-template-columns:minmax(0,1fr) 92px;padding:8px}
  .warehouse-driver-task-compact .package-thumb-100{flex-basis:64px;width:64px;height:64px}
  .warehouse-driver-task-date .driver-schedule-badge{min-height:68px}
  .warehouse-driver-task-date .driver-schedule-badge small{display:block}
}

/* Corrección de direcciones y orden previo de ruta · 1.27.20 */
.address-driver-updated{display:inline-flex;width:max-content;max-width:100%;margin-top:5px;padding:6px 9px;color:#174f76;background:#e4f1fb;border:1px solid #9cc5df;border-radius:9px;font-size:.72rem;font-weight:850;overflow-wrap:anywhere}
.delivery-address-history{margin:12px 0;padding:0;overflow:hidden;border:1px solid #b8cfe0;border-radius:12px;background:#f5faff}.delivery-address-history>summary{padding:11px 13px;color:#174f76;cursor:pointer;font-weight:900}.delivery-address-history>ol{display:grid;gap:8px;margin:0;padding:0 12px 12px;list-style:none}.delivery-address-history li{padding:10px;background:#fff;border:1px solid #d8e5ee;border-radius:10px}.delivery-address-history li>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.delivery-address-history li>div small{color:var(--muted)}.delivery-address-history dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 9px;margin:8px 0 0}.delivery-address-history dt{color:#5c6f64;font-size:.68rem;font-weight:900}.delivery-address-history dd{margin:0;overflow-wrap:anywhere;font-size:.8rem}
.driver-address-correction{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px;max-width:980px;margin:auto}.driver-address-correction>*{grid-column:1/-1!important;min-width:0}.driver-address-correction>label{display:grid;gap:7px;width:100%}.driver-address-correction .address-check{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%}.driver-address-correction .address-status{flex:1 1 320px;min-width:0}.driver-address-correction-heading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px}.driver-address-correction-heading h2,.driver-address-correction-heading p{margin-bottom:4px}.driver-address-package-images{max-width:212px}.driver-address-preserved{display:grid;grid-template-columns:1fr 1fr;gap:10px}.driver-address-preserved>div{display:grid;gap:5px;padding:13px;background:#f0f5f1;border:1px solid #d8e4db;border-radius:11px}.driver-address-preserved small{color:#536a5e;font-weight:850}.driver-address-preserved strong{overflow-wrap:anywhere}.driver-address-save{display:grid;grid-template-columns:minmax(260px,auto) minmax(260px,1fr);align-items:center;gap:12px;padding-top:10px;border-top:1px solid var(--line)}.driver-address-save small{color:var(--muted);font-weight:750}.driver-correct-address-button{margin:0 8px 12px 0}
.driver-address-fix-link{border:0;text-decoration:none;cursor:pointer}.driver-address-fix-link:hover,.driver-address-fix-link:focus-visible{color:#fff;background:var(--green);box-shadow:0 0 0 3px rgba(32,107,75,.15)}.driver-address-fix-link.error{border:1px solid #d98f89}.driver-address-fix-link.error:after{content:" · Pulsa para corregir";font-weight:950;text-decoration:underline}
.route-order-locked{display:inline-flex;align-items:center;padding:7px 10px;color:#76530e;background:#fff0bd;border-radius:9px;font-size:.72rem;font-weight:850}.driver-task-actions .route-order-locked{grid-column:1/-1}
.driver-fastest-route-form:has(.driver-fastest-route-proposal:not([hidden])){flex:1 1 100%;padding:10px;background:#edf7f0;border:2px solid #8fc5a5;border-radius:13px}.driver-fastest-route-proposal{flex:1 1 100%;width:100%;padding:12px;background:#fff;border:1px solid #bfd9c8;border-radius:11px}.driver-fastest-route-proposal>ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:7px;margin:9px 0;padding:0;list-style:none}.driver-fastest-route-proposal li{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:8px;padding:9px;background:#f3f7f4;border-radius:9px}.driver-fastest-route-proposal li>b{display:grid;place-items:center;width:32px;height:32px;color:#fff;background:var(--green);border-radius:50%}.driver-fastest-route-proposal li>span{display:grid;min-width:0}.driver-fastest-route-proposal small{overflow-wrap:anywhere}.driver-fastest-route-proposal em{margin-top:4px;color:var(--green);font-size:.72rem;font-style:normal;font-weight:850}.driver-fastest-route-proposal>button{width:100%}
@media(max-width:700px){
  .driver-address-correction-hero{align-items:stretch}.driver-address-correction-hero>.button{width:100%}
  .driver-address-correction-heading{grid-template-columns:1fr}.driver-address-preserved{grid-template-columns:1fr}.driver-address-correction .address-status{flex:0 0 auto;width:100%}.driver-address-save{grid-template-columns:1fr}.driver-address-save button{width:100%}
  .delivery-address-history dl{grid-template-columns:1fr}.delivery-address-history li>div{align-items:flex-start;flex-direction:column}
  .driver-route-tools>*{width:100%}.driver-route-tools form,.driver-route-tools button{width:100%}.driver-fastest-route-proposal>ol{grid-template-columns:1fr}
}

/* Lectura obligatoria de comentarios de entrega · 1.27.22 */
.driver-delivery-comment-dialog{z-index:120;width:min(620px,calc(100% - 28px));max-width:620px;max-height:calc(100vh - 28px);padding:0;overflow:auto;border:0;border-radius:22px;background:#fff;box-shadow:0 30px 95px rgba(20,28,24,.48)}
.driver-comment-confirmed,.driver-preview-readonly-note{display:grid;gap:4px;margin:12px 0;padding:13px 15px;border-radius:12px}.driver-comment-confirmed{color:#145b3c;background:#def3e5;border:1px solid #9bcaae}.driver-comment-confirmed small{color:#35664e}.driver-preview-readonly-note{color:#754513;background:#fff1db;border:2px solid #eea94c}.driver-preview-readonly-note p{margin:0}.driver-preview-readonly-note+*{margin-top:14px}
.driver-delivery-comment-dialog::backdrop{background:rgba(18,29,23,.78);backdrop-filter:blur(3px)}
.driver-delivery-comment-dialog[open],.driver-delivery-comment-dialog.dialog-fallback{display:block;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}
.driver-delivery-comment-content{display:grid;justify-items:center;gap:11px;padding:30px;text-align:center}
.driver-delivery-comment-icon{display:grid;place-items:center;width:68px;height:68px;color:#fff;background:#e47c17;border:5px solid #ffe1b7;border-radius:16px;box-shadow:0 7px 18px rgba(174,85,7,.22);font-size:2.2rem;font-weight:950}
.driver-delivery-comment-content .eyebrow{margin:2px 0 0;color:#a64e07}.driver-delivery-comment-content h2,.driver-delivery-comment-content p{margin:0}.driver-delivery-comment-task{font-weight:900}
.driver-delivery-comment-content blockquote{width:100%;margin:4px 0;padding:20px;color:#4d310e;background:#fff3d6;border:2px solid #edb65c;border-left-width:8px;border-radius:13px;font-size:1.16rem;font-style:normal;font-weight:800;line-height:1.5;text-align:left;overflow-wrap:anywhere}
.driver-delivery-comment-content form,.driver-delivery-comment-preview{display:grid;gap:8px;width:100%;margin:4px 0 0}.driver-delivery-comment-content button{width:100%;min-height:58px;font-size:1.04rem}.driver-delivery-comment-preview small{color:var(--muted);font-weight:800}
.delivery-comments-read-receipt{display:grid;gap:3px;margin:12px 0;padding:12px 14px;border-radius:11px}.delivery-comments-read-receipt.read{color:#145a3d;background:#e0f3e7;border:1px solid #8dc3a2}.delivery-comments-read-receipt.pending{color:#754812;background:#fff0cf;border:1px solid #e2b96d}.delivery-comments-read-receipt small{color:inherit}
@media(max-width:620px){.driver-delivery-comment-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.driver-delivery-comment-content{gap:9px;padding:20px}.driver-delivery-comment-icon{width:58px;height:58px;font-size:1.8rem}.driver-delivery-comment-content blockquote{padding:16px;font-size:1.05rem}}

/* Hoja de ruta imprimible por repartidor · 1.27.31 */
.route-print-sheet{display:grid;gap:16px;max-width:1120px;margin:auto;padding:24px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.route-print-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:3px solid var(--green)}.route-print-header>div:first-child{display:flex;align-items:center;gap:14px;min-width:0}.route-print-driver-photo{flex:0 0 74px;width:74px;height:74px}.route-print-header h1,.route-print-header p{margin:0}.route-print-header small{color:var(--green);font-weight:950;letter-spacing:.08em}.route-print-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.route-print-actions>*{margin:0}
.route-print-origin{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:15px;color:#633b08;background:#fff0d9;border:2px solid #e8a048;border-radius:14px}.route-print-origin>span{display:grid;place-items:center;width:46px;height:46px;background:#fff;border-radius:11px;font-size:1.5rem}.route-print-origin>div{display:grid}.route-print-origin small{font-weight:950;letter-spacing:.08em}.route-print-origin b{font-size:1.1rem}.route-print-origin p{margin:2px 0 0}.route-print-origin.warning{color:#852e28;background:#fde9e8;border-color:#d9908c}
.route-print-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;color:#174c37;background:#e9f5ed;border-radius:11px}.route-print-summary span{color:#53675d}.route-print-stops{display:grid;gap:12px}.route-print-stop{display:grid;grid-template-columns:46px 108px minmax(0,1fr);align-items:start;gap:13px;padding:14px;border:2px solid #dce7df;border-radius:15px;break-inside:avoid;page-break-inside:avoid}.route-print-number{display:grid;place-items:center;width:42px;height:42px;color:#fff;background:var(--green);border-radius:50%;font-size:1.2rem;font-weight:950}.route-print-photo{width:104px;max-width:104px}.route-print-photo .package-thumb-100{width:100px;height:100px}.route-print-stop-main{display:grid;gap:9px;min-width:0}.route-print-stop-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.route-print-stop-heading small{color:var(--green);font-weight:950;letter-spacing:.08em}.route-print-stop-heading h2{margin:2px 0 0;font-size:1.15rem}.route-print-stop-heading>b{flex:0 0 auto;padding:8px 10px;color:#174c37;background:#e7f4eb;border-radius:9px}.route-print-stop dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin:0}.route-print-stop dl>div{display:grid}.route-print-stop dt{color:#64736b;font-size:.68rem;font-weight:900;text-transform:uppercase}.route-print-stop dd{margin:0;font-weight:800;overflow-wrap:anywhere}.route-print-address{grid-column:1/-1}.route-print-footer{padding-top:12px;color:#68756e;border-top:1px solid var(--line);font-size:.75rem;text-align:center}
@media(max-width:700px){.route-print-sheet{padding:13px;border-radius:14px}.route-print-header{align-items:stretch;flex-direction:column}.route-print-actions{display:grid;grid-template-columns:1fr}.route-print-actions>*{width:100%}.route-print-summary{align-items:flex-start;flex-direction:column}.route-print-stop{grid-template-columns:40px 78px minmax(0,1fr);gap:8px;padding:10px}.route-print-number{width:36px;height:36px}.route-print-photo{width:74px}.route-print-photo .package-thumb-100{width:72px;height:72px}.route-print-stop-heading{align-items:stretch;flex-direction:column}.route-print-stop-heading>b{width:max-content}.route-print-stop dl{grid-template-columns:1fr}.route-print-address{grid-column:auto}}
@media print{
  @page{size:A4 portrait;margin:11mm}
  body{background:#fff!important;color:#111!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body>.impersonation-bar,.topbar,.notification-popup,body>footer,.route-print-actions{display:none!important}
  main.container{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
  .route-print-sheet{gap:10px;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}
  .route-print-header{padding-bottom:10px}.route-print-driver-photo{width:58px;height:58px;flex-basis:58px}
  .route-print-origin{padding:10px}.route-print-summary{padding:8px 10px}.route-print-stops{gap:8px}
  .route-print-stop{grid-template-columns:38px 78px minmax(0,1fr);gap:9px;padding:9px;border-width:1px;border-radius:10px}
  .route-print-number{width:34px;height:34px}.route-print-photo{width:74px}.route-print-photo .package-thumb-100{width:72px;height:72px}
  .route-print-stop-heading h2{font-size:1rem}.route-print-stop-heading>b{padding:5px 7px;font-size:.75rem}
  .route-print-stop dl{gap:4px 10px;font-size:.78rem}.route-print-stop .package-notes{padding:6px;font-size:.72rem}
  a{color:inherit!important;text-decoration:none!important}
}

/* Identidad y configuración privada por administrador · 1.27.32 */
.admin-private-brand{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ink);font-weight:950;text-decoration:none}.admin-brand-logo{width:46px;height:46px;border-radius:13px}.admin-private-brand>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-brand-nav{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0}.warehouse-brand-nav>a{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:4px 8px;color:var(--ink);background:#f0f7f2;border:1px solid #bdd6c6;border-radius:12px;text-decoration:none}.warehouse-brand-nav>a:hover{background:#dff0e5;border-color:#6da989}.warehouse-brand-nav img,.warehouse-brand-nav>a>span{display:grid;place-items:center;width:42px;height:42px;object-fit:cover;background:#fff;border-radius:10px}.warehouse-brand-nav small{max-width:115px;overflow:hidden;text-overflow:ellipsis;font-weight:900;white-space:nowrap}.warehouse-brand-nav.single{flex:1;justify-content:center}.warehouse-brand-nav.multiple{max-width:420px;overflow-x:auto;justify-content:flex-start}.warehouse-brand-nav.multiple>a{flex:0 0 auto}
.topbar>.admin-private-brand{flex:0 1 220px}.topbar>.active-mode{flex:0 0 auto}.topbar>.active-mode img{width:31px;height:31px}.topbar>.active-mode b{display:grid;gap:1px;font-size:.62rem;line-height:1.05}.topbar>.active-mode b span:last-child{font-size:.66rem}.topbar>nav{flex:1;min-width:0;justify-content:flex-end;flex-wrap:nowrap}.topbar-nav-menu{position:relative;flex:0 0 auto}.topbar-nav-menu>summary{display:flex;align-items:center;gap:6px;padding:.45rem .62rem;color:#33463c;border-radius:8px;cursor:pointer;font-size:.85rem;font-weight:850;list-style:none}.topbar-nav-menu>summary::-webkit-details-marker{display:none}.topbar-nav-menu>summary i{color:var(--green);font-style:normal;transition:transform .18s}.topbar-nav-menu[open]>summary{color:var(--green);background:#e8f2eb}.topbar-nav-menu[open]>summary i{transform:rotate(180deg)}.topbar-nav-dropdown{position:absolute;z-index:90;top:calc(100% + 9px);left:0;width:min(350px,calc(100vw - 24px));padding:12px;background:#fff;border:1px solid #ccdcd1;border-radius:15px;box-shadow:0 18px 46px rgba(17,47,32,.2)}.topbar-nav-label{margin:3px 6px 7px;color:#738078;font-size:.61rem;font-weight:950;letter-spacing:.12em}.topbar-warehouse-entries,.topbar-operation-links{display:grid;gap:5px}.topbar-warehouse-entries{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #e5ebe7}.topbar-warehouse-entry{display:grid!important;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;padding:7px!important;color:var(--ink)!important;background:#f2f8f4;border:1px solid #dce9e0;border-radius:11px!important}.topbar-warehouse-entry img,.topbar-warehouse-fallback{display:grid;place-items:center;width:44px;height:44px;object-fit:contain;background:#fff;border-radius:9px}.topbar-warehouse-entry>span:last-child{min-width:0}.topbar-warehouse-entry b,.topbar-warehouse-entry small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-operation-links{grid-template-columns:1fr 1fr}.topbar-operation-links>a{display:flex;align-items:center;gap:8px;min-height:46px;padding:9px!important;color:#29493a!important;background:#f7f9f7;border:1px solid #e0e8e3;border-radius:10px!important}.topbar-operation-links>a:hover,.topbar-warehouse-entry:hover{background:#e5f2e9!important}.topbar-operation-links>a>span{font-size:1.05rem}.topbar-operation-links b{font-size:.76rem;line-height:1.15}
@media(max-width:1180px){.topbar{gap:.55rem}.topbar>.admin-private-brand{flex-basis:160px}.admin-private-brand>span{max-width:105px}.topbar nav>a,.topbar-nav-menu>summary{padding:.4rem .44rem;font-size:.77rem}}
@media(max-width:860px){.topbar>.admin-private-brand{flex:0 1 auto}.topbar>.active-mode{margin-left:0}.topbar>.active-mode b{display:none}.topbar>nav{flex:0 0 auto}.topbar-nav-menu>summary{padding:.45rem .55rem;font-size:.78rem}.topbar-nav-dropdown{right:0;left:auto}.topbar-operation-links{grid-template-columns:1fr}}
@media(max-width:520px){.topbar{min-height:62px}.admin-brand-logo{width:39px;height:39px}.topbar>.active-mode img{width:28px;height:28px}.topbar>.active-mode{padding:4px 6px}.topbar-nav-menu>summary>span{font-size:0}.topbar-nav-menu>summary>span:before{content:"Almacén";font-size:.72rem}.topbar-nav-dropdown{position:fixed;top:64px;right:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 76px);overflow:auto}}
.account-private-settings{max-width:1240px;margin:22px auto;padding:0;overflow:hidden}.account-private-settings>summary,.account-mode-settings>summary,.account-catalog-item>summary,.account-catalog-new>summary,.habitual-address-item>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.account-private-settings>summary::-webkit-details-marker,.account-mode-settings>summary::-webkit-details-marker,.account-catalog-item>summary::-webkit-details-marker,.account-catalog-new>summary::-webkit-details-marker,.habitual-address-item>summary::-webkit-details-marker{display:none}.account-private-settings>summary{min-height:84px;padding:18px 22px;color:#fff;background:var(--green)}.account-private-settings>summary>span{display:grid}.account-private-settings>summary small{color:#d8eee0}.account-private-settings>summary em{font-size:.78rem;font-style:normal;font-weight:900}.account-private-settings[open]>summary{border-radius:16px 16px 0 0}.account-mode-settings{margin:14px;border:1px solid #c9dbcf;border-radius:14px;background:#f5faf6}.account-mode-settings>summary{padding:15px 17px}.account-mode-settings>summary>small{margin-left:auto;color:var(--muted)}.account-settings-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 14px 14px}.account-settings-columns>section{min-width:0;padding:14px;background:#fff;border:1px solid #dce7df;border-radius:12px}.account-catalog-item,.habitual-address-item{margin:8px 0;border:1px solid #d8e4dc;border-radius:11px;background:#fff}.account-catalog-item>summary,.habitual-address-item>summary{padding:9px}.account-catalog-item>summary>span:nth-child(2),.habitual-address-item>summary>span{display:grid;min-width:0;flex:1}.account-catalog-item small,.habitual-address-item small{color:var(--muted);overflow-wrap:anywhere}.account-catalog-item em,.habitual-address-item em{color:var(--green);font-size:.7rem;font-style:normal;font-weight:900}.account-catalog-thumb{display:grid!important;place-items:center!important;flex:0 0 52px!important;width:52px;height:52px;overflow:hidden;background:#edf3ef;border-radius:10px;font-size:1.5rem}.account-catalog-thumb img{width:100%;height:100%;object-fit:cover}.account-catalog-item>form,.habitual-address-item>form,.account-catalog-new>form{display:grid;gap:10px;margin:0;padding:12px;border-top:1px solid #e0e9e3}.account-catalog-item>form+form,.habitual-address-item>form+form{padding-top:0;border-top:0}.account-catalog-new{margin-top:10px;border:2px dashed #9fc6ad;border-radius:11px}.account-catalog-new>summary{padding:12px;color:var(--green);font-weight:950}.habitual-addresses{padding-bottom:12px}.habitual-addresses>.habitual-address-item,.habitual-addresses>.account-catalog-new,.habitual-addresses>p{margin-left:14px;margin-right:14px}
.admin-driver-monitor{scroll-margin-top:90px;margin-top:22px}.admin-driver-monitor-map{min-height:520px}.admin-route-estimate-note{margin:12px 0;padding:10px 13px;color:#654814;background:#fff2cf;border:1px solid #e2bf74;border-radius:10px}.admin-driver-monitor-stops .admin-driver-stop-schedule{color:#174e39;font-size:.84rem;font-weight:950}
.admin-driver-monitor-stops li.admin-driver-stop-completed{background:#dff3e6;border:2px solid #9dcbae}.admin-driver-monitor-stops li.admin-driver-stop-pending{background:transparent;border:2px solid #d8e3db}.admin-driver-monitor-stops li.admin-driver-stop-completed>b{background:#31835d}.admin-driver-stop-state{width:max-content;max-width:100%;padding:4px 7px;color:#15583e;background:#c8ead5;border-radius:999px;font-size:.64rem;font-style:normal;font-weight:950;letter-spacing:.05em}.admin-driver-stop-pending .admin-driver-stop-state{color:#52645b;background:#edf2ee}.admin-driver-stop-thumb{display:flex;max-width:112px;gap:5px;overflow:auto}.admin-driver-stop-thumb .package-thumb-100{flex:0 0 86px;width:86px;height:86px}.admin-driver-monitor-stops li>span{align-content:start}
.admin-driver-completed-proofs{display:flex;align-items:stretch;flex-wrap:wrap;gap:7px;margin-top:7px}.admin-driver-completed-proofs .package-thumb-100-button{display:grid;grid-template-rows:68px auto;width:82px;padding:5px;background:#fff;border:1px solid #9dcbae;border-radius:10px;overflow:hidden}.admin-driver-completed-proofs img{width:100%;height:68px;object-fit:contain;background:#fff}.admin-driver-completed-proofs small{padding-top:3px;color:#15583e;font-size:.62rem;font-weight:900;text-align:center}.admin-driver-completed-proofs .signature img{background:#fff}.admin-driver-proof-missing{display:grid;place-items:center;min-width:82px;min-height:91px;padding:7px;color:#65756c;background:rgba(255,255,255,.62);border:1px dashed #a8b9ae;border-radius:10px;font-size:.67rem;font-weight:850;text-align:center}.admin-driver-proof-missing small{padding:0;color:inherit}
@media(max-width:1050px){.warehouse-brand-nav.multiple{max-width:260px}.warehouse-brand-nav small{display:none}.warehouse-brand-nav>a{grid-template-columns:42px;padding:4px}.account-settings-columns{grid-template-columns:1fr}}
@media(max-width:860px){.admin-private-brand>span{display:none}.warehouse-brand-nav{order:1;max-width:170px}.warehouse-brand-nav.single{flex:0 1 auto}.warehouse-brand-nav img,.warehouse-brand-nav>a>span{width:38px;height:38px}.warehouse-brand-nav>a{grid-template-columns:38px}.account-private-settings>summary{align-items:flex-start;flex-direction:column}.account-mode-settings>summary{align-items:flex-start;flex-direction:column}.account-mode-settings>summary>small{margin-left:0}.admin-driver-monitor-map{min-height:410px}}
@media(max-width:520px){.warehouse-brand-nav{max-width:42vw}.warehouse-brand-nav.multiple{overflow-x:auto;scroll-snap-type:x proximity}.warehouse-brand-nav.multiple>a{scroll-snap-align:start}.account-settings-columns{padding:0 8px 8px}.account-mode-settings{margin:8px}.habitual-address-item>summary{align-items:flex-start;flex-direction:column}.admin-driver-monitor-map{min-height:350px}}

/* Mapa con resultados elegibles y control de envases retornables · 1.27.33 */
.address-map-results{display:grid;gap:6px;max-height:190px;padding:8px;overflow:auto;background:#f4f8f5;border:1px solid #cbdcd1;border-radius:12px}.address-map-results[hidden]{display:none}.address-map-result-option{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:9px;width:100%;padding:9px 11px;color:var(--ink);background:#fff;border:1px solid #d8e3dc;text-align:left}.address-map-result-option>b{display:grid;place-items:center;width:26px;height:26px;color:#fff;background:var(--green);border-radius:50%}.address-map-result-option>span{font-weight:750;overflow-wrap:anywhere}.address-map-result-option.selected{color:#174c37;background:#e1f3e7;border-color:#63a980}
.returnable-stock-setting{border:2px solid #7db58e}.returnable-stock-setting>.button{margin-top:10px}.returnable-editor{margin:14px 0;border:2px solid #9cc9aa;border-radius:14px;background:#f1f9f3}.returnable-editor>summary{padding:13px 15px;cursor:pointer}.returnable-editor>summary>span{display:grid}.returnable-editor>summary small{color:var(--muted)}.returnable-editor>div{display:grid;gap:8px;padding:0 12px 12px}.returnable-editor-row{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(230px,.8fr);align-items:center;gap:12px;margin:0;padding:10px;background:#fff;border:1px solid #d4e4d9;border-radius:11px}.returnable-editor-row>span{display:grid;gap:3px}.returnable-editor-row small{color:var(--muted)}.returnable-product-description,.returnable-summary-description,.returnable-notice-description{display:block;color:#52645b;font-size:.77rem;line-height:1.35}.returnable-summary-comment{display:block;margin-top:4px;padding:5px 7px;color:#694c05;background:#fff4cf;border-radius:7px;font-size:.77rem;line-height:1.35}.returnable-editor-fields{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:stretch;gap:8px}.returnable-editor-fields input,.returnable-editor-fields textarea{margin:0}.returnable-editor-fields input{text-align:center}.returnable-editor-fields textarea{min-height:58px;resize:vertical}.returnable-product-thumb{display:grid;place-items:center;width:52px;height:52px;object-fit:cover;background:#edf5ef;border-radius:9px}.returnable-editor.empty{display:block;padding:14px}
.returnable-task-summary{display:grid;gap:7px;margin-top:8px;padding:11px;color:#4d3b12;background:#fff4cf;border:1px solid #dfbd5e;border-radius:11px}.returnable-task-summary>ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}.returnable-task-summary li{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:6px 8px;background:rgba(255,255,255,.72);border-radius:8px}.returnable-task-summary li>span{margin-left:auto}.returnable-task-summary small{color:#705d29}
.returnable-driver-dialog{width:min(720px,calc(100% - 24px));max-width:none;padding:0;border:0;border-radius:20px;box-shadow:0 25px 80px rgba(0,0,0,.34)}.returnable-driver-dialog::backdrop{background:rgba(14,30,21,.72)}.returnable-driver-dialog>div{display:grid;gap:12px;padding:22px}.returnable-answer-choice{display:block;margin:0;padding:14px;background:#f0f7f2;border:2px solid #c8ded0;border-radius:12px;font-size:1rem}.returnable-collected-grid{display:grid;gap:8px}.returnable-collected-grid[hidden]{display:none}.returnable-collected-grid>label{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:10px;margin:0;padding:10px;background:#fff8df;border:1px solid #e6ca75;border-radius:10px}.returnable-collected-grid>label>span{display:grid}.returnable-collected-grid input{margin:0;text-align:center}.returnable-dialog-actions{display:flex;justify-content:flex-end;gap:8px}
.returnable-destination-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:14px}.returnable-destination-card h2,.returnable-destination-card p{margin-bottom:6px}.returnable-destination-card td small{display:block;color:var(--muted)}.returnable-pending-list{display:grid;gap:7px}.returnable-pending-task{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;color:var(--ink);background:#f0f6f2;border-radius:10px;text-decoration:none}.returnable-pending-task>span{display:grid}.returnable-pending-task small{color:var(--muted)}.returnable-pending-task em{color:var(--green);font-style:normal;font-weight:900}
.returnable-location-overview{margin-bottom:18px}.returnable-location-list{display:grid;gap:10px}.returnable-location-row{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(300px,1.5fr) auto;align-items:center;gap:16px;padding:14px;border:1px solid #d5e5da;border-radius:14px;background:#f7fbf8}.returnable-location-row h3,.returnable-location-row p{margin:2px 0}.returnable-location-row p{color:var(--muted)}.returnable-location-materials{display:flex;align-items:stretch;flex-wrap:wrap;gap:7px}.returnable-location-material{display:grid;grid-template-columns:44px minmax(70px,1fr) auto;align-items:center;gap:7px;min-width:155px;padding:6px 8px;background:#fff;border:1px solid #dce8e0;border-radius:10px}.returnable-location-material>b{font-size:.78rem}.returnable-location-material>strong{color:var(--green);font-size:1.15rem}.returnable-location-thumb{display:grid;place-items:center;width:42px;height:42px;object-fit:contain;background:#fff;border-radius:8px;overflow:hidden}
.returnable-account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.returnable-account-heading>div{min-width:0}.returnable-account-total{display:grid;place-items:center;flex:0 0 auto;min-width:88px;padding:12px 15px;color:#fff;background:var(--green);border-radius:16px;font-size:1.8rem;font-weight:950;line-height:1}.returnable-account-total small{margin-top:5px;font-size:.72rem}.returnable-deposit-items{display:grid;gap:8px;margin:15px 0}.returnable-deposit-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px;border:1px solid #dbe8df;border-radius:13px;background:#f8fbf9}.returnable-deposit-item>span{display:grid;gap:3px}.returnable-deposit-item>span small{color:var(--muted)}.returnable-deposit-item>strong{display:grid;place-items:end;min-width:74px;color:var(--green);font-size:1.65rem}.returnable-deposit-item>strong small{font-size:.68rem}.returnable-deposit-thumb,.returnable-deposit-edit-thumb{display:grid;place-items:center;width:68px;height:68px;object-fit:cover;border-radius:11px;background:#edf5ef}.returnable-deposit-edit-thumb{width:52px;height:52px}.returnable-deposit-no-image{font-size:1.7rem}.returnable-account-actions,.returnable-history-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.returnable-account-actions>*{flex:1 1 180px}.returnable-stock-editor{margin-top:13px;border-top:1px solid #dce7df}.returnable-stock-editor>summary{padding:14px 2px 4px;color:var(--green);font-weight:900;cursor:pointer}.returnable-stock-editor form{padding-top:10px}.returnable-stock-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:8px;margin:10px 0}.returnable-stock-edit-row{display:grid;grid-template-columns:52px minmax(0,1fr) 82px;align-items:center;gap:9px;margin:0;padding:8px;border:1px solid #d8e6dc;border-radius:11px;background:#fff}.returnable-stock-edit-row>span{display:grid}.returnable-stock-edit-row small{color:var(--muted)}.returnable-stock-edit-row input{margin:0;text-align:center}.returnable-history{margin-top:18px}.returnable-history>summary{padding:4px;cursor:pointer}.returnable-history>summary>span{display:grid}.returnable-history>summary small{color:var(--muted);font-weight:400}.returnable-history form{margin-top:15px}.returnable-history-actions{justify-content:flex-end;margin-bottom:10px}.returnable-history-actions label{margin-right:auto}.returnable-history td>small{display:block;color:var(--muted);max-width:320px}.returnable-history th:first-child,.returnable-history td:first-child{width:44px;text-align:center}.movement-in{color:#157246}.movement-out{color:#b33a35}.share-deposit-pdf:disabled{opacity:.68;cursor:wait}
@media(max-width:760px){.returnable-editor-row{grid-template-columns:48px minmax(0,1fr)}.returnable-editor-fields{grid-column:1/-1;grid-template-columns:76px minmax(0,1fr)}.returnable-product-thumb{width:44px;height:44px}.returnable-location-row{grid-template-columns:1fr}.returnable-location-row>.button{width:100%}}
@media(max-width:620px){.address-map-results{max-height:150px}.returnable-task-summary li{align-items:flex-start;flex-direction:column}.returnable-task-summary li>span{margin-left:0}.returnable-driver-dialog>div{padding:16px}.returnable-collected-grid>label{grid-template-columns:1fr}.returnable-dialog-actions{display:grid;grid-template-columns:1fr}.returnable-dialog-actions button{width:100%}.returnable-pending-task{align-items:flex-start;flex-direction:column}.returnable-account-heading{align-items:stretch;flex-direction:column}.returnable-account-total{align-self:flex-start}.returnable-deposit-item{grid-template-columns:58px minmax(0,1fr) auto}.returnable-deposit-thumb{width:56px;height:56px}.returnable-deposit-item>strong{min-width:52px;font-size:1.35rem}.returnable-stock-edit-row{grid-template-columns:48px minmax(0,1fr) 70px}.returnable-deposit-edit-thumb{width:46px;height:46px}.returnable-account-actions{display:grid;grid-template-columns:1fr}.returnable-history-actions{align-items:stretch;display:grid;grid-template-columns:1fr}.returnable-history-actions label{margin:0}.returnable-location-material{min-width:100%;grid-template-columns:42px minmax(0,1fr) auto}}

/* Destinatarios, avisos y documento de envases · 1.27.35 */
body img{object-fit:contain!important}.workspace-product-image,.workspace-category-image,.returnable-product-thumb,.returnable-deposit-thumb,.returnable-notice-thumb{background:#fff}
.warehouse-recipient-button{width:max-content;margin-top:10px}.warehouse-recipients-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:14px 18px}.warehouse-recipients-toolbar input{max-width:620px;margin:0}.warehouse-recipient-list{display:grid;gap:12px}.warehouse-recipient-card{padding:0;overflow:hidden}.warehouse-recipient-card>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 20px;cursor:pointer}.warehouse-recipient-card>summary>span:first-child{display:grid;gap:3px}.warehouse-recipient-status{display:grid;min-width:116px;padding:10px;color:#15583e;background:#e4f4ea;border-radius:12px;text-align:center}.warehouse-recipient-status strong{font-size:1.5rem}.warehouse-recipient-card-body{display:grid;gap:12px;padding:0 20px 20px;border-top:1px solid var(--line)}.warehouse-recipient-card-body>form{margin:0}.warehouse-recipient-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px}
.warehouse-recipient-filter-controls{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.warehouse-recipient-filter-controls>[type=search]{flex:1}.warehouse-recipient-debt-filter{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;min-width:190px;margin:0;padding:9px 12px;color:#15583e;background:#e4f4ea;border:1px solid #a9d4b9;border-radius:11px;cursor:pointer}.warehouse-recipient-debt-filter input{grid-row:1/3;width:20px;height:20px;margin:0}.warehouse-recipient-debt-filter span{font-weight:900}.warehouse-recipient-debt-filter small{font-size:.68rem}.warehouse-recipient-debt-filter:has(input:checked){color:#fff;background:var(--green);border-color:var(--green)}.warehouse-recipient-debt-filter:has(input:checked) small{color:#dcece4}.warehouse-recipients-toolbar>[data-recipient-visible-count]{white-space:nowrap}
.driver-returnable-notice-dialog{width:min(820px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.34)}.driver-returnable-notice-dialog::backdrop{background:rgba(12,31,23,.76)}.driver-returnable-notice-dialog>form{display:grid;gap:13px;padding:28px}.driver-returnable-alert-icon{display:grid;place-items:center;width:64px;height:64px;color:#14583e;background:#c9ef72;border-radius:18px;font-size:2rem;font-weight:900}.driver-returnable-destinations{display:grid;gap:10px;max-height:48vh;overflow:auto}.driver-returnable-destinations>article{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr);gap:14px;padding:14px;background:#f1f7f3;border:1px solid #cfe0d5;border-radius:14px}.driver-returnable-destinations h3,.driver-returnable-destinations p{margin:0}.driver-returnable-destinations ul,.driver-returnable-destination-material,.driver-returnable-balance-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.driver-returnable-destinations li,.driver-returnable-destination-material li,.driver-returnable-balance-list li{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:10px}.returnable-notice-thumb{display:grid;place-items:center;width:52px;height:52px;border-radius:9px;overflow:hidden}.returnable-notice-thumb img,.returnable-notice-thumb{object-fit:contain}.driver-returnable-destinations li>strong,.driver-returnable-destination-material li>strong,.driver-returnable-balance-list li>strong{font-size:1.25rem;text-align:right}.driver-returnable-destinations li>strong small,.driver-returnable-destination-material li>strong small,.driver-returnable-balance-list li>strong small{font-size:.62rem}.driver-returnable-notice-dialog.destination>form{max-width:680px}.driver-returnable-notice-dialog .dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.returnable-collected-grid>label{grid-template-columns:54px minmax(0,1fr) 90px}.returnable-signed-balance{display:block;margin:10px 0;padding:10px;color:#15583e;background:#dcf3e5;border-radius:9px}.driver-returnable-balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.driver-returnable-balance-card{display:grid;align-content:start;gap:14px}.returnable-zero-balance{padding:13px;color:#15583e;background:#e2f3e8;border-radius:10px}.driver-destination-comment>summary{padding:10px;color:var(--green);background:#edf3ef;border-radius:9px;font-weight:850;cursor:pointer}.driver-destination-comment form{padding-top:12px}.driver-returnable-account-link{width:100%}.destination-comment-notification{display:grid;gap:8px;padding:14px 16px;color:var(--ink);background:#fff}.destination-comment-notification blockquote{max-height:150px;margin:0;padding:11px;overflow:auto;background:#fff7df;border-left:4px solid #dfaa26;border-radius:8px;white-space:normal}.destination-comment-notification form,.destination-comment-notification button{width:100%;margin:0}.delivery-destination-comments{margin-bottom:16px}.delivery-destination-comments>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.delivery-destination-comments>div{display:grid;gap:8px;margin-top:14px}.delivery-destination-comments article{padding:12px;background:#fff7df;border:1px solid #efd693;border-radius:10px}.delivery-destination-comments article>div{display:flex;justify-content:space-between;gap:10px}.delivery-destination-comments article p{margin:8px 0;color:var(--ink)}.delivery-destination-comments article em{color:var(--muted);font-size:.75rem}
@media(min-width:1000px){.delivery-batch-form{width:calc(100vw - 48px);margin-left:calc(50% - 50vw + 24px);grid-template-columns:minmax(0,1fr) minmax(400px,460px);column-gap:22px}.delivery-batch-form .catalog-pane{overflow:visible}.delivery-batch-form .workspace-category-list{max-height:none;overflow:visible;padding-bottom:24px}.delivery-batch-form .product-view-images .workspace-products{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.delivery-batch-form .workspace-product-image{height:145px}.delivery-batch-form .current-list-pane{top:82px}.delivery-batch-form .saved-lists-pane{top:590px}}
@media(max-width:700px){.warehouse-recipients-toolbar{align-items:stretch;flex-direction:column}.warehouse-recipient-filter-controls{align-items:stretch;flex-direction:column}.warehouse-recipient-filter-controls input{max-width:none}.warehouse-recipient-debt-filter{width:100%}.warehouse-recipient-card>summary{grid-template-columns:1fr}.warehouse-recipient-status{width:max-content}.warehouse-recipient-actions{display:grid}.driver-returnable-notice-dialog>form{padding:18px}.driver-returnable-destinations>article{grid-template-columns:1fr}.driver-returnable-notice-dialog .dialog-actions{display:grid}.driver-returnable-notice-dialog .dialog-actions>*{width:100%}.driver-returnable-balances{grid-template-columns:1fr}}
.driver-returnable-date-nav{display:flex;gap:6px;margin:0 0 16px;overflow:auto;padding:4px}.driver-returnable-date-nav a{flex:0 0 auto;padding:9px 12px;background:#e8f0eb;border-radius:10px;font-weight:800}.driver-returnable-date-nav a.active{color:#fff;background:var(--green)}

/* Confirmación de carga y progreso numerado de ruta · 1.27.47 */
.driver-route-load-status,.admin-route-load-status{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:8px 11px;border:1px solid;border-radius:11px;font-size:.76rem;font-weight:850}.driver-route-load-status.loaded,.admin-route-load-status.loaded{color:#15583e;background:#e0f3e7;border-color:#9bcbae}.driver-route-load-status.pending,.admin-route-load-status.pending{color:#814d00;background:#fff0cc;border-color:#e6bd5b}.admin-route-load-status{width:100%;margin:0 0 12px}.admin-route-load-status span{font-weight:650}.driver-route-load-confirm{display:grid;gap:12px;margin-top:16px;padding:20px;color:#173c2d;background:linear-gradient(145deg,#fff5d9,#eff9f2);border:3px solid #e3ad2f;border-radius:18px;box-shadow:0 10px 24px rgba(72,57,17,.12)}.driver-route-load-confirm h2,.driver-route-load-confirm p{margin:0}.driver-route-load-confirm>small{color:#5f6e66}.driver-route-load-warehouse{display:grid;gap:3px;padding:12px 14px;background:#fff;border:1px solid #d6dfd8;border-radius:12px}.driver-route-load-warehouse b{font-size:1rem}.driver-route-load-warehouse span{color:var(--muted);overflow-wrap:anywhere}.driver-route-load-confirm form,.driver-next-destination-form{width:100%;margin:0}.route-loaded-start,.driver-next-destination-form button{width:100%;min-height:58px;padding:14px 18px;font-size:1.02rem;letter-spacing:.015em}.route-loaded-start{background:#14794e;box-shadow:0 7px 18px rgba(20,121,78,.22)}.driver-route-tools>.driver-route-load-status{margin-right:4px}.driver-route-tools>.route-start{font-weight:950}
@media(max-width:700px){.driver-route-load-confirm{padding:15px}.admin-route-load-status{align-items:flex-start;flex-direction:column}.driver-route-tools>.driver-route-load-status{width:100%}.route-loaded-start,.driver-next-destination-form button{min-height:62px}}

/* Cabecera privada y desplazamiento natural de la ruta del driver · 1.27.48 */
.driver-session-page .topbar{z-index:1000}.driver-route-brand{display:flex;align-items:center;min-width:0;gap:10px;color:var(--ink)}.driver-route-brand>img,.driver-route-brand-fallback{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;object-fit:contain;background:#fff;border:1px solid #d6e3da;border-radius:12px;box-shadow:0 5px 14px rgba(23,34,29,.1)}.driver-route-brand-fallback{font-size:1.45rem}.driver-route-brand>span:last-child{display:grid;min-width:0}.driver-route-brand small{color:var(--green);font-size:.6rem;font-weight:950;letter-spacing:.1em}.driver-route-brand b{max-width:330px;overflow:hidden;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.driver-topbar-actions,.driver-topbar-quick{display:flex;align-items:center;gap:8px;flex:0 0 auto;width:auto}.driver-topbar-actions .driver-help-compact,.driver-topbar-quick .driver-help-compact{display:none}.driver-session-menu>summary{display:flex;align-items:center;gap:7px}.driver-session-menu>summary small{color:var(--muted);font-size:.66rem}.driver-session-menu>summary b{color:var(--green);font-size:1.1rem;line-height:1}.driver-session-menu[open]>summary small,.driver-session-menu[open]>summary b{color:#fff}.driver-account-menu-compact{display:grid;gap:8px;width:min(350px,calc(100vw - 28px))}.driver-account-menu-compact>.button{width:100%}.driver-session-page .driver-route-tools{position:static;z-index:auto;top:auto}.driver-session-page .driver-itinerary-panel{position:relative;isolation:isolate}.driver-session-page .driver-itinerary-map{position:relative;z-index:0;overflow:hidden}
@media(max-width:860px){.driver-session-page .topbar>.driver-topbar-actions,.driver-session-page .topbar>.driver-topbar-quick{display:flex!important;flex:0 0 auto;grid-template-columns:none;justify-content:flex-end;gap:5px;width:auto}.driver-session-page .topbar>.driver-topbar-actions>*,.driver-session-page .topbar>.driver-topbar-quick>*{width:auto}.driver-session-page .topbar>.driver-topbar-actions>a,.driver-session-page .topbar>.driver-topbar-quick>a{display:inline-flex!important}}
@media(max-width:700px){.driver-session-page .topbar{min-height:64px;flex-wrap:nowrap;gap:7px;padding-top:7px;padding-bottom:7px}.driver-route-brand{flex:1 1 auto;gap:7px;overflow:hidden}.driver-route-brand>img,.driver-route-brand-fallback{width:42px;height:42px;border-radius:10px}.driver-route-brand small{font-size:.5rem;letter-spacing:.06em}.driver-route-brand b{max-width:none;font-size:.82rem}.driver-topbar-actions,.driver-topbar-quick{display:flex!important;flex:0 0 auto;grid-template-columns:none;justify-content:flex-end;gap:5px;width:auto}.driver-topbar-actions>*,.driver-topbar-quick>*{width:auto}.driver-topbar-actions .driver-help-button,.driver-topbar-quick .driver-help-button{min-height:42px;padding:.55rem .62rem;font-size:.74rem}.driver-topbar-actions .driver-help-wide,.driver-topbar-quick .driver-help-wide{display:none}.driver-topbar-actions .driver-help-compact,.driver-topbar-quick .driver-help-compact{display:inline}.driver-topbar-actions .driver-session-menu>summary,.driver-topbar-quick .driver-session-menu>summary{min-height:42px;padding:.5rem .62rem}.driver-topbar-actions .driver-session-menu>summary small{display:none}.driver-topbar-actions .driver-session-menu>summary b,.driver-topbar-quick .driver-session-menu>summary b{font-size:1rem}.driver-account-menu{top:66px}.driver-session-page .container{padding-top:24px}.driver-session-page .driver-route-tools{display:grid;grid-template-columns:1fr;margin-bottom:18px}.driver-session-page .driver-route-tools>*{width:100%}.driver-session-page .driver-itinerary-panel{z-index:0}}
@media(max-width:430px){.driver-route-brand>span:last-child{max-width:118px}.driver-route-brand b{font-size:.76rem}.driver-topbar-actions .driver-help-button{padding:.5rem;font-size:.7rem}.driver-topbar-actions .driver-session-menu>summary{padding:.5rem}.driver-topbar-actions .driver-session-menu>summary span{font-size:.72rem}}

/* Repartidor editable junto a la dirección del paquete · 1.27.49 */
.delivery-edit-driver-assignment{display:grid;gap:12px;margin:16px 0 20px;padding:18px;background:#eef7f1;border:2px solid #8fc5a3;border-radius:16px}.delivery-edit-driver-assignment.address-blocked{background:#fff8e6;border-color:#e6bd5b}.delivery-edit-driver-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.delivery-edit-driver-heading h2,.delivery-edit-driver-heading .eyebrow{margin-bottom:3px}.delivery-edit-driver-assignment>label{margin:0}.delivery-edit-driver-assignment select:disabled{color:#6d746f;background:#ecefea;cursor:not-allowed}.delivery-edit-driver-warning{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 14px;padding:12px 14px;color:#7b4a02;background:#fff;border:1px solid #e4bf67;border-radius:11px}.delivery-edit-driver-warning[hidden]{display:none}.delivery-edit-driver-warning small{grid-column:1}.delivery-edit-driver-warning button{grid-column:2;grid-row:1/3}.delivery-edit-driver-help{color:#536159}
@media(max-width:700px){.delivery-edit-driver-heading{align-items:flex-start;flex-direction:column}.delivery-edit-driver-warning{grid-template-columns:1fr}.delivery-edit-driver-warning small,.delivery-edit-driver-warning button{grid-column:1;grid-row:auto}.delivery-edit-driver-warning button{width:100%}}

/* Composición física con varios formatos de carga · 1.27.50 */
.delivery-load-editor{display:grid;gap:12px;margin:16px 0;padding:18px;background:#f5f8f5;border:1px solid #cbd9cf;border-radius:16px}.delivery-load-editor legend{padding:0 8px;color:var(--ink);font-size:1.05rem;font-weight:900}.delivery-load-editor>p,.delivery-load-editor>small{margin:0;color:var(--muted)}.delivery-load-total{justify-self:start;padding:8px 12px;color:#315246;background:#e7ece9;border-radius:999px;font-weight:950}.delivery-load-editor.has-load .delivery-load-total{color:#fff;background:var(--green)}.delivery-load-rows{display:grid;gap:10px}.delivery-load-category{overflow:hidden;background:#fff;border:1px solid #d7e1da;border-radius:13px}.delivery-load-category>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:#edf4ef;cursor:pointer}.delivery-load-category>summary small{color:var(--muted)}.delivery-load-category>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px;padding:9px}.delivery-load-row{display:grid;grid-template-columns:52px minmax(0,1fr) 78px;align-items:center;gap:10px;margin:0;padding:10px;background:#fff;border:1px solid #d7e1da;border-radius:12px}.delivery-load-row:has(input:not([value="0"])){border-color:#6cab84}.delivery-load-row>img,.delivery-load-row>span:first-child{display:grid;place-items:center;width:52px;height:52px;object-fit:contain;background:#f0f5f1;border-radius:9px}.delivery-load-row>span:nth-child(2){display:grid;gap:2px;min-width:0}.delivery-load-row b{overflow-wrap:anywhere}.delivery-load-row small{color:var(--muted)}.delivery-load-row em{width:max-content;max-width:100%;padding:3px 7px;color:#155c3e;background:#dff3e7;border-radius:999px;font-size:.66rem;font-style:normal;font-weight:850}.delivery-load-row em.not-returnable{color:#66716b;background:#edf0ee}.delivery-load-row input{width:78px;margin:0;text-align:center;font-size:1.08rem;font-weight:900}.delivery-load-summary{display:inline-flex;flex-wrap:wrap;gap:5px;vertical-align:middle}.delivery-load-total-inline{display:inline-flex;align-items:center;padding:3px 8px;color:#fff;background:#1c7652;border-radius:999px;white-space:nowrap}.delivery-load-summary>span{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;color:#28473a;background:#edf4ef;border-radius:999px;white-space:nowrap}.delivery-load-summary>span>img{width:24px;height:24px;object-fit:contain;background:#fff;border-radius:6px}.delivery-load-summary>span.returnable{color:#14583b;background:#dff3e7}.delivery-load-summary.detail>span{padding:6px 10px;font-size:.92rem}.delivery-load-summary.detail>span>img{width:38px;height:38px}.habitual-recipient-field{padding:12px;background:#edf6f0;border:1px solid #bcd9c7;border-radius:13px}.habitual-recipient-field small{display:block;margin-top:5px;color:var(--muted)}
.delivery-unload-checklist{display:grid;gap:14px;padding:16px;background:#f5f8f5;border:2px solid #b8cec0;border-radius:16px}.delivery-unload-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.delivery-unload-heading h3,.delivery-unload-heading p{margin:0}.delivery-unload-heading p{color:var(--muted)}.delivery-unload-total{padding:9px 12px;color:#fff;background:#1c7652;border-radius:10px;font-weight:950;white-space:nowrap}.delivery-unload-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:10px}.delivery-unload-item{position:relative;display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:92px;margin:0;padding:10px;background:#fff;border:2px solid #d6e0d9;border-radius:14px;cursor:pointer}.delivery-unload-item:hover{border-color:#78aa8b}.delivery-unload-item input{position:absolute;width:1px;height:1px;opacity:0}.delivery-unload-item>img{width:68px;height:68px;object-fit:contain;background:#f1f4f2;border-radius:10px}.delivery-unload-item-info{display:grid;gap:3px;min-width:0}.delivery-unload-item-info small{color:var(--muted)}.delivery-unload-item-info em{width:max-content;max-width:100%;padding:3px 6px;color:#155c3e;background:#dff3e7;border-radius:8px;font-size:.66rem;font-style:normal}.delivery-unload-item-info em.not-returnable{color:#66716b;background:#edf0ee}.delivery-unload-state{display:grid;place-items:center;min-width:112px;padding:10px;color:#fff;background:#d56c12;border-radius:10px;text-align:center}.delivery-unload-state em{display:none;font-style:normal;font-weight:950}.delivery-unload-item.is-checked{border-color:#23925d;background:#eaf8ef}.delivery-unload-item.is-checked .delivery-unload-state{background:#16804d}.delivery-unload-item.is-checked .delivery-unload-state b{display:none}.delivery-unload-item.is-checked .delivery-unload-state em{display:block}.delivery-unload-progress{margin:0;padding:9px 12px;color:#74480b;background:#fff0c7;border-radius:10px;font-weight:850}.delivery-unload-checklist.is-complete{border-color:#23925d;background:#e9f7ee}.delivery-unload-checklist.is-complete .delivery-unload-progress{color:#fff;background:#16804d}.driver-proof-after-load{display:grid;gap:14px;margin:0;padding:0;border:0}.driver-proof-after-load>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.driver-proof-after-load:disabled{opacity:.42}.driver-proof-after-load:disabled::before{content:"Revisa primero todos los bultos para activar la foto y la firma";display:block;padding:11px;color:#70450a;background:#fff0c7;border-radius:10px;font-weight:850}
@media(max-width:620px){.delivery-unload-heading{grid-template-columns:auto minmax(0,1fr)}.delivery-unload-total{grid-column:1/-1;justify-self:stretch;text-align:center}.delivery-unload-items{grid-template-columns:1fr}.delivery-unload-item{grid-template-columns:58px minmax(0,1fr)}.delivery-unload-item>img{width:58px;height:58px}.delivery-unload-state{grid-column:1/-1;width:100%}}
@media(max-width:600px){.delivery-load-editor{padding:13px}.delivery-load-category>div{grid-template-columns:1fr}.delivery-load-row{grid-template-columns:46px minmax(0,1fr) 70px}.delivery-load-row>img,.delivery-load-row>span:first-child{width:46px;height:46px}.delivery-load-row input{width:70px}}

/* Alta emergente y retirada segura del catálogo Delivery · 1.27.52 */
.delivery-create-dialog{width:min(920px,calc(100% - 32px));max-height:calc(100dvh - 32px)}
.delivery-create-dialog .delivery-dialog-content{gap:14px;max-height:calc(100dvh - 32px);padding:0 24px 24px}
.delivery-create-dialog .delivery-dialog-head{position:sticky;z-index:8;top:0;margin:0 -24px;padding:20px 24px 16px;background:#fff;border-bottom:1px solid var(--line)}
.delivery-create-dialog .delivery-dialog-head p{max-width:680px;margin:5px 0 0;color:var(--muted)}
.delivery-create-dialog .delivery-dialog-actions{position:sticky;z-index:7;bottom:-24px;margin:4px -24px -24px;padding:15px 24px;background:#fff;border-top:1px solid var(--line)}
.delivery-mobile-tabs{grid-template-columns:repeat(2,1fr)!important}
.catalog-product-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.catalog-product-actions form{margin:0}.catalog-product-actions button{padding:.55rem .75rem;white-space:nowrap}
.catalog-delete-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;border:2px solid #e9aaa7;background:#fff8f7}.catalog-delete-panel h2,.catalog-delete-panel p,.catalog-delete-panel form{margin:0}.catalog-delete-panel p{max-width:650px;color:var(--muted)}
@media(max-width:700px){.delivery-create-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.delivery-create-dialog .delivery-dialog-content{max-height:100dvh;padding:0 14px 18px}.delivery-create-dialog .delivery-dialog-head{margin:0 -14px;padding:15px 14px 12px}.delivery-create-dialog .delivery-dialog-actions{bottom:-18px;display:grid;grid-template-columns:1fr 1fr;margin:4px -14px -18px;padding:12px 14px}.delivery-create-dialog .delivery-dialog-actions>*{width:100%}.catalog-delete-panel{align-items:stretch;flex-direction:column}.catalog-delete-panel form,.catalog-delete-panel button{width:100%}.catalog-product-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}.catalog-product-actions>*{width:100%}}
.import-mapper-intro{display:grid;grid-template-columns:minmax(0,.7fr) minmax(420px,1.3fr);gap:24px;align-items:start}.import-mapper-intro h2,.import-mapper-intro p{margin-top:0}.import-mapper-intro form{display:grid;gap:12px;margin:0}.import-file-preview{overflow:hidden}.import-file-preview .section-heading form{margin:0}.import-file-preview .table-wrap{max-height:360px}.import-file-preview th{position:sticky;z-index:2;top:0;min-width:150px;background:#174f39;color:#fff}.import-file-preview td{max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-mapping-form{display:grid;gap:18px}.import-mapping-grid{display:grid;gap:9px}.import-mapping-row{display:grid;grid-template-columns:minmax(210px,.8fr) 100px minmax(230px,1fr) minmax(180px,.7fr);align-items:end;gap:10px;padding:12px;background:#f5f8f5;border:1px solid #d7e2da;border-radius:12px}.import-mapping-row>span{display:grid;align-self:center}.import-mapping-row>span small{color:var(--muted)}.import-mapping-row>em{align-self:center;width:max-content;padding:5px 8px;border-radius:999px;font-size:.67rem;font-style:normal;font-weight:950}.import-mapping-row>em.required{color:#7b3209;background:#ffe2ca}.import-mapping-row>em.optional{color:#4f6258;background:#e8eeea}.import-mapping-row label{margin:0}.import-profile-save{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(320px,1.3fr);align-items:end;gap:14px;padding:16px;background:#e9f5ed;border-radius:13px}.import-profile-save label{margin:0}.import-mapping-submit{min-height:54px;font-size:1rem}.import-profile-list>div{display:grid;gap:8px}.import-profile-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:#f5f8f5;border:1px solid #d9e3dc;border-radius:11px}.import-profile-list article>span{display:grid}.import-profile-list article small{color:var(--muted)}.import-profile-list form{margin:0}
@media(max-width:900px){.import-mapper-intro{grid-template-columns:1fr}.import-mapping-row{grid-template-columns:minmax(0,1fr) auto}.import-mapping-row label{grid-column:1/-1}.import-profile-save{grid-template-columns:1fr}}
@media(max-width:600px){.import-mapping-row{grid-template-columns:1fr}.import-mapping-row>em{grid-column:1}.import-profile-list article{align-items:stretch;flex-direction:column}.import-profile-list form,.import-profile-list button{width:100%}}
