@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --navy: #101935;
  --navy-2: #162243;
  --navy-3: #22305a;
  --coral: #ff6f61;
  --coral-dark: #ed5a4d;
  --aqua: #42d9c7;
  --blue: #4a7df2;
  --gold: #f7b955;
  --green: #2dbb83;
  --red: #dd4c57;
  --ink: #18213a;
  --text: #46516b;
  --muted: #7e879c;
  --line: #e4e8f1;
  --surface: #ffffff;
  --canvas: #f4f6fb;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(24, 33, 58, .09);
  --shadow-soft: 0 7px 22px rgba(24, 33, 58, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, input, button, select, textarea { font-size: 16px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .button, strong { font-family: "Manrope", "DM Sans", sans-serif; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { width: min(760px, calc(100% - 40px)); padding: 54px 0 100px; }
.icon { width: 20px; height: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-dark); font: 700 12px/1 "Manrope", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--aqua); }
.optional { color: var(--muted); font-size: 12px; font-weight: 400; }
.muted { color: var(--muted); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.brand-light { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--navy); background: var(--aqua); border-radius: 11px 11px 11px 3px; transform: rotate(-2deg); }
.brand-mark svg { width: 21px; }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.public-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.public-nav, .desktop-nav { display: flex; align-items: center; gap: 26px; }
.public-nav > a:first-child { color: rgba(255,255,255,.78); font-weight: 600; }
.app-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(222,227,238,.8); backdrop-filter: blur(16px); }
.desktop-nav > a { color: var(--muted); font-weight: 600; }
.desktop-nav > a:hover, .desktop-nav > a.active { color: var(--ink); }
.nav-icon-link { position: relative; padding: 9px; }
.notification-dot { position: absolute; top: 0; right: 0; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; color: #fff; background: var(--coral); border: 2px solid #fff; border-radius: 10px; font-size: 9px; }

.button { appearance: none; border: 0; border-radius: 12px; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(74,125,242,.22); outline-offset: 2px; }
.button svg { width: 18px; height: 18px; }
.button:disabled { opacity: .46; cursor: not-allowed; }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 9px 18px rgba(16,25,53,.16); }
.button-primary:hover:not(:disabled) { background: var(--navy-2); box-shadow: 0 12px 22px rgba(16,25,53,.22); }
.button-accent { color: var(--navy); background: var(--aqua); box-shadow: 0 10px 25px rgba(66,217,199,.2); }
.button-light { color: var(--navy); background: #fff; }
.button-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.button-secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.button-text { color: var(--text); background: transparent; }
.button-danger { color: var(--red); background: #fff; border: 1px solid #f0c8cc; }
.button-danger-solid{color:#fff;background:var(--red);border:1px solid var(--red)}.button-danger-solid:hover:not(:disabled){background:#c8444c;border-color:#c8444c;box-shadow:0 8px 20px rgba(220,76,84,.2)}
.button-small { min-height: 38px; padding-inline: 16px; font-size: 13px; border-radius: 10px; }
.button-large { min-height: 52px; padding-inline: 24px; }
.button-full { width: 100%; }
.icon-button { border: 0; background: transparent; color: var(--muted); padding: 6px; cursor: pointer; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-weight: 600; font-size: 13px; }
.back-link:hover { color: var(--ink); }

/* Landing */
.hero { position: relative; min-height: 720px; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(rgba(255,255,255,.7) .6px, transparent .6px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 60%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { width: 420px; height: 420px; right: -100px; top: -160px; background: radial-gradient(circle, rgba(74,125,242,.36), transparent 68%); }
.hero-orb-two { width: 380px; height: 380px; left: 32%; bottom: -250px; background: radial-gradient(circle, rgba(66,217,199,.2), transparent 66%); }
.hero-grid { position: relative; z-index: 1; min-height: 720px; padding: 125px 0 70px; display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 60px; }
.hero-copy h1 { max-width: 660px; margin: 20px 0 22px; font-size: clamp(52px, 5vw, 76px); line-height: .99; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--aqua); font-style: normal; }
.hero-copy > p { max-width: 590px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 33px; }
.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.avatar-stack { display: flex; }
.avatar-stack i { display: grid; place-items: center; width: 34px; height: 34px; margin-right: -8px; background: linear-gradient(145deg,#6479a8,#26365e); border: 2px solid var(--navy); border-radius: 50%; color: #fff; font-style: normal; font-size: 10px; }
.avatar-stack i:nth-child(2) { background: linear-gradient(145deg,#ffad83,#c65c56); }
.avatar-stack i:nth-child(3) { background: linear-gradient(145deg,#75dac9,#289b98); }
.trust-line > span:last-child { display: grid; }
.trust-line b { font-size: 12px; }
.trust-line small { margin-top: 2px; color: rgba(255,255,255,.55); }
.map-card { position: relative; height: 485px; max-width: 560px; margin-left: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 32px; background: #1e2c50; box-shadow: 0 40px 80px rgba(0,0,0,.25); transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }
.map-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(37deg, transparent 47%, #6b7898 48%, #6b7898 51%, transparent 52%), linear-gradient(-23deg, transparent 47%, #6b7898 48%, #6b7898 51%, transparent 52%); background-size: 100px 75px, 140px 90px; }
.map-grid::before, .map-grid::after { content:""; position:absolute; background:#73809c; opacity:.5; transform:rotate(-30deg); border-radius: 20px; }
.map-grid::before { width:680px;height:8px;left:-50px;top:170px; }.map-grid::after { width:520px;height:6px;left:70px;top:340px; transform:rotate(26deg); }
.map-route { position:absolute; width:270px;height:230px;left:115px;top:90px;border:4px dashed var(--aqua);border-width:0 4px 4px 0;border-radius:0 80px 90px 0;transform:rotate(15deg);filter:drop-shadow(0 0 5px rgba(66,217,199,.5)); }
.map-pin { position:absolute; z-index:2; }.pin-start{left:105px;top:105px}.pin-end{right:72px;top:315px}
.map-pin > span { display:grid;place-items:center;width:48px;height:48px;color:var(--navy);background:var(--aqua);border:5px solid rgba(255,255,255,.22);box-shadow:0 7px 20px rgba(0,0,0,.25);border-radius:50% 50% 50% 4px;transform:rotate(-45deg); }.map-pin svg{width:20px;transform:rotate(45deg)}.pin-end>span{color:#fff;background:var(--coral)}
.courier-chip { position:absolute;z-index:4;top:28px;right:24px;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;color:var(--ink);background:rgba(255,255,255,.95);box-shadow:var(--shadow);border-radius:14px; }
.courier-chip .avatar{width:38px;height:38px}.courier-chip div{display:grid}.courier-chip b{font-size:11px}.courier-chip small{font-size:9px;color:var(--muted)}.live-dot{width:8px;height:8px;background:var(--green);box-shadow:0 0 0 4px rgba(45,187,131,.15);border-radius:50%;}
.order-floating-card { position:absolute;z-index:4;left:24px;bottom:24px;width:260px;padding:20px;color:var(--ink);background:rgba(255,255,255,.97);box-shadow:var(--shadow);border-radius:18px; }
.order-floating-card h3{margin:10px 0 15px;font-size:16px}.mini-route{position:relative;display:flex;gap:11px;padding-bottom:13px}.mini-route i{flex:0 0 9px;height:9px;margin-top:3px;border:2px solid var(--blue);border-radius:50%}.mini-route:nth-of-type(2) i{border-color:var(--coral)}.mini-route:first-of-type::after{content:"";position:absolute;width:1px;height:19px;left:4px;top:12px;background:var(--line)}.mini-route span{display:grid}.mini-route b{font-size:11px}.mini-route small{font-size:9px;color:var(--muted)}.floating-total{display:flex;justify-content:space-between;padding-top:12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.floating-total b{font-size:12px;color:var(--ink)}
.section { padding: 105px 0; }
.section-heading { max-width: 620px; margin-bottom: 55px; }.section-heading.centered{text-align:center;margin-inline:auto}.section-heading h2,.split-grid h2{margin:14px 0 14px;font-size:40px;line-height:1.15;letter-spacing:-.045em}.section-heading p,.split-grid>div>p{color:var(--text);font-size:17px;line-height:1.7}
.how-section { background:#fff; }.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.step-card{position:relative;padding:32px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);transition:.2s}.step-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.step-number{position:absolute;right:25px;top:25px;color:#dfe4ee;font:800 32px/1 "Manrope"}.feature-icon,.stat-icon,.card-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px}.feature-icon svg{width:24px}.coral{color:var(--coral-dark);background:#fff0ed}.blue{color:var(--blue);background:#edf2ff}.green{color:var(--green);background:#eaf9f4}.gold{color:#cf8d22;background:#fff7e6}.step-card h3{margin:24px 0 9px;font-size:18px}.step-card p{margin:0;color:var(--text);line-height:1.65}
.split-section{background:var(--canvas)}.split-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:90px}.check-list{display:grid;gap:15px;margin:25px 0 0;padding:0;list-style:none}.check-list li{display:flex;align-items:center;gap:10px;font-weight:600}.check-list svg{width:21px;color:var(--green)}.stats-panel{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.stats-panel>div{display:grid;padding:30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.stats-panel strong{font-size:36px;letter-spacing:-.05em}.stats-panel span{color:var(--muted);font-size:12px}.stats-highlight{grid-column:1/-1;display:flex!important;flex-direction:row;align-items:center;gap:15px!important;background:var(--navy);border:0!important;color:#fff}.stats-highlight svg{width:34px;height:34px;color:var(--aqua)}.stats-highlight span{display:grid}.stats-highlight b{color:#fff}.site-footer{padding:45px 0;background:#0b1229;color:#fff}.footer-inner{display:flex;align-items:center;justify-content:space-between}.footer-inner p,.footer-inner small{margin:0;color:rgba(255,255,255,.48)}

/* Auth and forms */
.auth-page { background:var(--canvas); }.auth-page .public-header{position:absolute}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-form-side{display:grid;place-items:center;padding:120px 30px 60px}.auth-card{width:min(440px,100%)}.auth-card-wide{width:min(620px,100%)}.auth-card h1{margin:13px 0 8px;font-size:40px;letter-spacing:-.05em}.form-intro{margin-bottom:28px;color:var(--muted)}
.form-stack{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid.three{grid-template-columns:repeat(3,1fr)}label{display:grid;gap:8px;color:var(--ink);font-size:13px;font-weight:700}label small{color:var(--muted);font-weight:400}input,select,textarea{width:100%;min-height:48px;padding:12px 14px;color:var(--ink);background:#fff;border:1px solid #dce1eb;border-radius:11px;outline:none;transition:.18s}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#a4abbb}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(74,125,242,.08)}
.auth-switch{text-align:center;margin:24px 0 0;color:var(--muted)}.auth-switch a{color:var(--coral-dark);font-weight:700}.demo-box{margin-top:18px;padding:14px 16px;background:#eaf9f4;border:1px solid #cbeee3;border-radius:12px;font-size:12px}.demo-box p{margin:4px 0 0;color:var(--text);line-height:1.55}.auth-visual{position:relative;display:flex;align-items:flex-end;padding:70px;overflow:hidden;background:linear-gradient(145deg,rgba(16,25,53,.35),rgba(16,25,53,.88)),linear-gradient(135deg,#4a7df2,#42d9c7)}.auth-visual::before{content:"";position:absolute;width:480px;height:480px;right:-100px;top:-100px;border:80px solid rgba(255,255,255,.08);border-radius:50%}.auth-quote,.auth-benefits{position:relative;z-index:1;max-width:470px;color:#fff}.auth-quote>svg{width:44px;height:44px;color:var(--aqua)}.auth-quote blockquote{margin:25px 0;font:700 31px/1.35 "Manrope";letter-spacing:-.035em}.auth-quote span{color:rgba(255,255,255,.65)}
.auth-shell-returning{grid-template-columns:1fr}.auth-shell-returning .auth-form-side{padding-inline:20px}.auth-shell-returning .auth-card{padding:34px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-soft)}
.role-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;border:0}.role-picker legend{margin-bottom:9px;font-size:13px;font-weight:700}.role-picker label{display:block}.role-picker input{position:absolute;opacity:0;pointer-events:none}.role-picker label>span{display:grid;grid-template-columns:42px 1fr;column-gap:11px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.role-picker svg{grid-row:1/3;width:27px;height:27px;align-self:center;color:var(--blue)}.role-picker b{font-size:13px}.role-picker small{font-size:11px}.role-picker input:checked+span{border-color:var(--blue);box-shadow:0 0 0 3px rgba(74,125,242,.09);background:#f7f9ff}.role-picker input:checked+span::after{content:"✓";position:absolute;align-self:start;justify-self:end;color:#fff;background:var(--blue);border-radius:50%;width:18px;height:18px;text-align:center;font-size:11px;line-height:18px}.courier-fields{display:grid;gap:17px}.photo-upload{grid-template-columns:auto 1fr auto;align-items:center;padding:13px;border:1px dashed #cbd2df;border-radius:13px;background:#fff;cursor:pointer}.photo-upload input{display:none}.photo-preview{display:grid;place-items:center;width:48px;height:48px;color:var(--blue);background:#edf2ff;border-radius:12px;overflow:hidden}.photo-upload>span:nth-of-type(2){display:grid}.photo-upload em{padding:8px 11px;color:var(--blue);background:#edf2ff;border-radius:8px;font-style:normal;font-size:11px}.terms{grid-template-columns:auto 1fr;align-items:start;font-weight:400;color:var(--text)}.terms input{width:18px;min-height:18px;margin:0;accent-color:var(--navy)}.auth-visual-courier{align-items:center;background:linear-gradient(145deg,rgba(16,25,53,.18),rgba(16,25,53,.72)),linear-gradient(135deg,#273e75,#34bcae)}.auth-benefits h2{margin:17px 0 30px;font-size:38px}.auth-benefits ul{display:grid;gap:16px;padding:0;list-style:none}.auth-benefits li{display:flex;align-items:center;gap:12px;font-weight:600}.auth-benefits li span{display:grid;place-items:center;width:32px;height:32px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:9px;color:var(--aqua)}

/* App dashboards */
.page-bg{min-height:calc(100vh - 72px);background:var(--canvas)}.dashboard-shell{padding:48px 0 100px}.welcome-row,.courier-welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.welcome-row h1,.courier-welcome h1,.page-heading h1,.form-page-heading h1,.detail-heading h1{margin:9px 0 5px;font-size:34px;letter-spacing:-.045em}.welcome-row p,.courier-welcome p,.page-heading p,.form-page-heading p,.detail-heading p{margin:0;color:var(--muted)}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:35px}.stat-grid.courier-stats{grid-template-columns:repeat(4,1fr)}.stat-card{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft)}.stat-card div{display:grid}.stat-card small{color:var(--muted);font-size:12px}.stat-card strong{font-size:25px;letter-spacing:-.04em}.stat-icon{flex:0 0 44px;width:44px;height:44px}.stat-icon svg{width:22px}
.content-section{margin-top:24px}.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:17px}.section-title-row h2{margin:0 0 3px;font-size:20px;letter-spacing:-.025em}.section-title-row p{margin:0;color:var(--muted);font-size:12px}.count-badge{padding:7px 11px;color:var(--blue);background:#e8efff;border-radius:20px;font-size:11px;font-weight:700}.order-list{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.order-row{position:relative;display:grid;grid-template-columns:1.4fr 1fr .55fr 24px;align-items:center;gap:24px;padding:20px 22px;border-bottom:1px solid var(--line);transition:background .15s}.order-row:last-child{border-bottom:0}.order-row:hover{background:#fafbfe}.order-main{display:flex;align-items:flex-start;gap:14px;min-width:0}.package-mark{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;color:var(--coral-dark);background:#fff0ed;border-radius:12px}.order-main>div:last-child{min-width:0}.order-title-line{display:flex;align-items:center;gap:9px}.order-title-line h3{margin:0;font-size:14px}.order-main p{margin:5px 0;color:var(--text);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-date{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.order-date svg{width:13px;height:13px}.status-pill{display:inline-flex;align-items:center;gap:6px;width:max-content;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700;white-space:nowrap}.status-pill i{width:6px;height:6px;background:currentColor;border-radius:50%}.status-publicado{color:#cf7b17;background:#fff4e2}.status-aceptado{color:#416dcc;background:#e9efff}.status-recogido{color:#7753c4;background:#f0ebff}.status-en_camino{color:#238b80;background:#e6faf6}.status-entregado{color:#25885f;background:#e6f8f0}.status-cancelado{color:#be4550;background:#fcebed}.order-route{position:relative;display:grid;gap:11px}.order-route::before{content:"";position:absolute;left:4px;top:10px;height:24px;border-left:1px dashed #cbd2df}.order-route span{position:relative;display:grid;padding-left:18px;min-width:0}.route-dot{position:absolute;left:0;top:3px;width:9px;height:9px;border:2px solid var(--blue);background:#fff;border-radius:50%}.route-dot.end{border-color:var(--coral)}.order-route b{font-size:11px}.order-route small{color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-side{display:grid;justify-items:end;gap:8px}.order-side>strong{font-size:15px}.order-side>strong small,.active-top strong small{display:block;color:var(--muted);font-size:8px;text-align:right}.assigned{display:flex;align-items:center;gap:6px;color:var(--text);font-size:10px}.avatar{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;overflow:hidden;color:#fff;background:linear-gradient(145deg,var(--blue),#7753c4);border-radius:50%;font-style:normal;font-weight:700}.avatar-sm{width:36px;height:36px;font-size:12px}.avatar-xs{width:25px;height:25px;font-size:9px}.avatar-lg{width:64px;height:64px;font-size:22px}.avatar-xl{width:94px;height:94px;font-size:30px}.row-arrow{width:17px;color:#a3abba}.empty-state{padding:65px 25px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.empty-state>span,.standalone-state>span{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;color:var(--blue);background:#edf2ff;border-radius:20px}.empty-state h3{margin-bottom:7px}.empty-state p{color:var(--muted)}.empty-state.compact{padding:45px 24px}.empty-state.compact>span{width:52px;height:52px}
.section-history-link{flex:0 0 auto;color:var(--blue);font-size:11px;font-weight:700}
.courier-identity{display:flex;align-items:center;gap:15px}.courier-welcome p{display:flex;align-items:center;gap:5px;font-size:12px}.availability{display:flex;align-items:center;gap:10px;min-width:155px;padding:10px 14px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.availability>i{width:11px;height:11px;border-radius:50%}.availability.online>i{background:var(--green);box-shadow:0 0 0 5px rgba(45,187,131,.12)}.availability.offline>i{background:#aaa}.availability span{display:grid;text-align:left}.availability b{font-size:12px}.availability small{color:var(--muted);font-size:9px}.live-label{display:inline-flex;align-items:center;gap:7px;margin-bottom:6px;color:var(--green);font-size:10px;font-weight:700;text-transform:uppercase}.live-label i{width:7px;height:7px;background:var(--green);box-shadow:0 0 0 4px rgba(45,187,131,.12);border-radius:50%}.active-delivery-card{display:grid;grid-template-columns:.6fr 1.5fr .75fr;align-items:center;gap:24px;padding:22px;background:var(--navy);border-radius:var(--radius);box-shadow:0 18px 35px rgba(16,25,53,.15);color:#fff}.active-top{display:grid;gap:15px}.active-top>strong{font-size:23px}.active-route{display:grid;grid-template-columns:1fr 1fr;gap:18px}.active-route>div{display:flex;gap:10px}.active-route i{flex:0 0 11px;width:11px;height:11px;margin-top:4px;border:3px solid var(--aqua);border-radius:50%}.active-route>div:last-child i{border-color:var(--coral)}.active-route span{display:grid}.active-route small{color:rgba(255,255,255,.5);font-size:9px;text-transform:uppercase}.active-route b{font-size:12px}.active-route p{margin:3px 0 0;color:rgba(255,255,255,.65);font-size:10px}.offer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.offer-card{padding:21px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.offer-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px solid var(--line)}.shop-avatar{display:grid;place-items:center;width:39px;height:39px;color:var(--coral-dark);background:#fff0ed;border-radius:11px;font-weight:800}.offer-head>div{display:grid}.offer-head>div b{font-size:12px}.offer-head>div span{display:flex;align-items:center;gap:3px;color:#cf8d22;font-size:10px}.offer-head>div svg{width:12px;height:12px;fill:currentColor}.offer-head>strong{font-size:18px;text-align:right}.offer-head>strong small{display:block;color:var(--muted);font-size:8px}.offer-package{display:flex;gap:10px;padding:15px 0}.offer-package>svg{flex:0 0 20px;color:var(--coral)}.offer-package span{display:grid}.offer-package b{font-size:12px}.offer-package small{margin-top:2px;color:var(--muted);font-size:10px}.offer-route{position:relative;display:grid;gap:12px;padding:12px 14px;background:var(--canvas);border-radius:12px}.offer-route::before{content:"";position:absolute;left:19px;top:28px;height:24px;border-left:1px dashed #bdc5d5}.offer-route>div{display:flex;gap:10px}.offer-route i{position:relative;z-index:1;width:9px;height:9px;margin-top:3px;background:#fff;border:2px solid var(--blue);border-radius:50%}.offer-route>div:last-child i{border-color:var(--coral)}.offer-route span{display:grid}.offer-route b{font-size:11px}.offer-route small{color:var(--muted);font-size:9px}.offer-actions{display:grid;grid-template-columns:.7fr 1fr;gap:9px;margin-top:15px}.offer-actions form,.offer-actions button{width:100%}.card-detail-link{display:block;margin-top:12px;color:var(--blue);text-align:center;font-size:10px;font-weight:700}.notice-card{display:flex;align-items:center;gap:12px;margin-bottom:15px;padding:13px 16px;color:#805d23;background:#fff8e9;border:1px solid #f4dfb9;border-radius:12px}.notice-card>svg{color:#cf8d22}.notice-card span{display:grid}.notice-card b{font-size:12px}.notice-card small{font-size:10px}

/* New order and detail */
.form-page-shell,.detail-shell{padding:44px 0 100px}.form-page-heading{max-width:650px;margin-bottom:30px}.order-form{display:grid;gap:18px}.form-card,.detail-card{padding:25px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.form-card-heading,.card-heading{display:flex;align-items:center;gap:13px;margin-bottom:23px}.form-card-heading>span{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;color:#fff;background:var(--navy);border-radius:11px;font-weight:700}.form-card-heading h2,.card-heading h2{margin:0 0 3px;font-size:17px}.form-card-heading p,.card-heading p{margin:0;color:var(--muted);font-size:11px}.route-form-line{position:relative;display:grid;gap:20px}.route-form-line::before{content:"";position:absolute;left:4px;top:23px;height:70px;border-left:1px dashed #bfc7d6}.route-form-fields{position:relative;padding-left:23px}.route-form-fields>.route-dot{top:20px;background:#fff}.money-input{position:relative}.money-input span{position:absolute;left:14px;top:50%;color:var(--muted);transform:translateY(-50%)}.money-input input{padding-left:30px}.package-payment-fields{align-items:start}.package-payment-fields>label{gap:4px}.package-payment-fields select,.package-payment-fields input,.package-payment-fields .money-input{height:48px;min-height:48px}.package-payment-fields select{padding-block:0}.form-submit-row{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:#eaf9f4;border:1px solid #c8eadf;border-radius:14px}.form-submit-row>div{display:flex;align-items:center;gap:11px}.form-submit-row>div>svg{color:var(--green)}.form-submit-row span{display:grid}.form-submit-row b{font-size:12px}.form-submit-row small{color:var(--text);font-size:10px}
.detail-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.detail-heading h1{margin-top:13px}.detail-price{font-size:28px;text-align:right}.detail-price small{display:block;color:var(--muted);font-size:10px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:20px}.detail-main{display:grid;gap:18px}.card-icon{width:42px;height:42px}.large-route{position:relative;display:grid;gap:23px;padding:5px 0 3px}.large-route::before{content:"";position:absolute;left:7px;top:18px;height:57px;border-left:2px dashed #cfd5df}.large-route>div{display:flex;gap:16px}.large-route i{position:relative;z-index:1;flex:0 0 15px;width:15px;height:15px;margin-top:3px;background:#fff;border:4px solid var(--blue);border-radius:50%}.large-route>div:last-child i{border-color:var(--coral)}.large-route span{display:grid}.large-route small,.info-grid small,.contact-item small,.recipient-box small{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em}.large-route b{margin-top:3px;font-size:14px}.large-route p{margin:2px 0 0;color:var(--text);font-size:12px}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.info-grid>div{display:grid;padding:13px;background:var(--canvas);border-radius:11px}.info-grid b{margin-top:3px;font-size:12px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.contact-item{display:flex;align-items:center;gap:11px;padding:13px;background:var(--canvas);border-radius:12px}.contact-item>div{display:grid}.contact-item b{font-size:12px}.contact-item a{display:flex;align-items:center;gap:4px;margin-top:3px;color:var(--blue);font-size:10px}.contact-item a svg{width:12px;height:12px}.recipient-box{display:grid;grid-template-columns:1fr auto;margin-top:13px;padding:13px 15px;background:#fff8e9;border:1px solid #f2e1bd;border-radius:11px}.recipient-box small{grid-column:1/-1}.recipient-box b,.recipient-box a{font-size:12px}.recipient-box a{color:var(--blue)}.detail-aside{position:sticky;top:93px;display:grid;gap:15px}.timeline-card h2{font-size:17px}.timeline{display:grid}.timeline-event{position:relative;display:flex;gap:11px;padding-bottom:24px}.timeline-event:last-child{padding-bottom:0}.timeline-event::before{content:"";position:absolute;left:13px;top:27px;height:calc(100% - 25px);border-left:1px solid var(--line)}.timeline-event:last-child::before{display:none}.timeline-event>i{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;color:#fff;background:#c9cfdb;border-radius:50%}.timeline-event>i svg{width:14px}.timeline-event.complete>i{background:var(--green)}.timeline-event.current>i{background:var(--blue);box-shadow:0 0 0 5px rgba(74,125,242,.1)}.timeline-event>span{display:grid}.timeline-event b{font-size:12px}.timeline-event small{margin-top:2px;color:var(--muted);font-size:9px}.timeline-event p{margin:4px 0 0;color:var(--text);font-size:10px}.action-card{padding:24px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft)}.action-card h2{margin:10px 0 8px;font-size:19px}.action-card p{color:var(--muted);font-size:12px;line-height:1.5}.action-card form+form{margin-top:7px}.action-card-primary{color:#fff;background:var(--navy);border:0}.action-card-primary p{color:rgba(255,255,255,.62)}.danger-details{padding:15px 18px;background:#fff;border:1px solid var(--line);border-radius:13px;color:var(--muted);font-size:11px}.danger-details summary{cursor:pointer;font-weight:700}.danger-details p{margin:12px 0}.rating-card{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}.rating-card h2{margin:10px 0 5px}.rating-card p{margin:0;color:var(--muted);font-size:12px}.rating-card form{display:grid;gap:10px}.star-picker{display:flex;flex-direction:row-reverse;justify-content:flex-end}.star-picker input{position:absolute;opacity:0}.star-picker label{display:block;color:#d8dce5;font-size:28px;cursor:pointer}.star-picker input:checked~label,.star-picker label:hover,.star-picker label:hover~label{color:var(--gold)}.rated-note{display:flex;align-items:center;gap:9px;padding:15px;color:#946419;background:#fff7e6;border:1px solid #f3ddb4;border-radius:13px;font-size:12px}.rated-note svg{fill:currentColor}

/* Profile, notifications, states */
.profile-shell{padding:45px 0 100px}.profile-banner{display:flex;align-items:center;gap:20px;margin-bottom:27px;padding:28px;color:#fff;background:linear-gradient(120deg,var(--navy),#263c74);border-radius:22px;box-shadow:var(--shadow)}.profile-avatar-wrap{position:relative}.profile-role{position:absolute;right:-7px;bottom:-5px;padding:4px 7px;color:var(--navy);background:var(--aqua);border:3px solid #1c2c58;border-radius:12px;font-size:8px;font-weight:800;text-transform:uppercase}.profile-banner h1{margin:0 0 5px;font-size:27px}.profile-banner p{margin:0;color:rgba(255,255,255,.55)}.rating-display{display:flex;align-items:center;gap:5px;margin-top:7px;color:var(--gold);font-size:11px}.rating-display svg{width:14px;fill:currentColor}.profile-grid{display:grid;grid-template-columns:1fr 300px;align-items:start;gap:18px}.profile-form{display:grid;gap:18px}.compact-upload{margin-top:0}.switch-row{position:relative;display:flex;align-items:center;justify-content:space-between;padding:15px;background:var(--canvas);border-radius:12px}.switch-row>span{display:grid}.switch-row input{position:absolute;opacity:0}.switch-row>i{position:relative;width:44px;height:25px;background:#cbd1db;border-radius:20px;transition:.2s}.switch-row>i::after{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.15);transition:.2s}.switch-row input:checked+i{background:var(--green)}.switch-row input:checked+i::after{transform:translateX(19px)}.profile-aside{display:grid;gap:13px}.profile-aside h2{font-size:17px}.profile-aside dl{display:grid;margin:0}.profile-aside dl div{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid var(--line)}.profile-aside dl div:last-child{border-bottom:0}.profile-aside dt{color:var(--muted);font-size:10px}.profile-aside dd{margin:0;font-size:12px;font-weight:600}.page-heading{margin-bottom:25px}.notification-list{padding:0;overflow:hidden}.notification-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:17px 19px;border-bottom:1px solid var(--line);transition:.15s}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#fafbfe}.notification-item.unread{background:#f7f9ff}.notification-kind{display:grid;place-items:center;width:42px;height:42px;color:var(--blue);background:#edf2ff;border-radius:12px}.notification-kind.new_order{color:var(--coral-dark);background:#fff0ed}.notification-item>span:nth-child(2){display:grid}.notification-item b{font-size:12px}.notification-item small{margin-top:3px;color:var(--muted);font-size:10px}.standalone-state{display:grid;justify-items:center;align-content:center;min-height:calc(100vh - 72px);padding:40px;text-align:center;background:var(--canvas)}.standalone-state h1{margin-bottom:10px;font-size:35px}.standalone-state p{max-width:500px;color:var(--muted);line-height:1.7}.toast-stack{position:fixed;z-index:100;top:85px;right:18px;display:grid;gap:9px;width:min(390px,calc(100% - 36px))}.toast{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px 14px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);font-size:12px;animation:toast-in .25s ease}.toast-symbol{display:grid;place-items:center;width:25px;height:25px;color:#fff;background:var(--green);border-radius:50%;font-weight:800}.toast-error .toast-symbol{background:var(--red)}.toast-close{border:0;background:transparent;color:var(--muted);cursor:pointer}.toast-close svg{width:17px}.toast.hiding{opacity:0;transform:translateY(-6px);transition:.2s}@keyframes toast-in{from{opacity:0;transform:translateY(-10px)}}
.install-banner{position:fixed;z-index:90;left:50%;bottom:22px;transform:translateX(-50%);display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;width:min(660px,calc(100% - 30px));padding:13px;color:#fff;background:var(--navy);border:1px solid rgba(255,255,255,.12);border-radius:16px;box-shadow:0 20px 50px rgba(10,17,38,.3)}.install-banner[hidden]{display:none}.install-icon{display:grid;place-items:center;width:42px;height:42px;color:var(--navy);background:var(--aqua);border-radius:12px}.install-banner>div:nth-child(2){display:grid}.install-banner strong{font-size:12px}.install-banner p{margin:2px 0 0;color:rgba(255,255,255,.58);font-size:10px}.install-banner .icon-button{color:#fff}.mobile-nav{display:none}

@media (max-width: 920px) {
  .hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:140px}.hero-copy{text-align:center}.hero-copy>p,.hero-copy h1{margin-inline:auto}.hero-actions,.trust-line{justify-content:center}.hero-visual{width:100%;max-width:620px;margin-inline:auto}.map-card{margin:auto}.hero{min-height:1180px}.steps-grid{grid-template-columns:1fr}.split-grid{grid-template-columns:1fr;gap:45px}.auth-shell{grid-template-columns:1fr}.auth-visual{display:none}.register-shell .auth-form-side{padding-top:110px}.stat-grid.courier-stats{grid-template-columns:repeat(3,1fr)}.desktop-only{display:none}.order-row{grid-template-columns:1.2fr .85fr .45fr 18px;gap:14px}.active-delivery-card{grid-template-columns:.55fr 1.4fr}.active-actions{grid-column:1/-1}.detail-grid{grid-template-columns:1fr}.detail-aside{position:static;grid-template-columns:1fr 1fr}.timeline-card{grid-row:span 2}.profile-grid{grid-template-columns:1fr}.profile-aside{grid-template-columns:1fr auto}.profile-aside>form{align-self:end}.form-grid.three{grid-template-columns:1fr 1fr}.form-grid.three label:last-child{grid-column:1/-1}
}

@media (max-width: 680px) {
  body{padding-bottom:78px}.public-page,.auth-page{padding-bottom:0}.shell,.narrow-shell{width:min(100% - 28px,1160px)}.public-header .header-inner{height:64px}.public-nav{gap:12px}.public-nav>a:first-child{display:none}.hero{min-height:1010px}.hero-grid{padding:112px 0 50px;gap:45px}.hero-copy h1{font-size:47px}.hero-copy>p{font-size:15px}.hero-actions{display:grid}.trust-line{margin-top:28px}.map-card{height:410px;border-radius:24px}.order-floating-card{left:15px;bottom:15px}.courier-chip{right:14px;top:15px}.pin-start{left:60px}.pin-end{right:50px;top:275px}.map-route{left:70px;top:83px}.section{padding:75px 0}.section-heading{margin-bottom:35px}.section-heading h2,.split-grid h2{font-size:31px}.split-grid{gap:30px}.stats-panel>div{padding:21px}.stats-panel strong{font-size:28px}.footer-inner{display:grid;justify-items:center;gap:15px;text-align:center}.app-header .header-inner{height:62px}.desktop-nav{display:none}.mobile-nav{position:fixed;z-index:40;inset:auto 0 0;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;height:72px;padding:7px max(18px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:0 -5px 24px rgba(24,33,58,.07);backdrop-filter:blur(14px)}.mobile-nav>a{display:grid;justify-items:center;gap:2px;color:var(--muted);font-size:9px;font-weight:600}.mobile-nav>a>svg{width:22px;height:22px}.mobile-nav>a.active{color:var(--navy)}.mobile-main-action{position:relative;top:-15px}.mobile-main-action>span{position:relative;display:grid;place-items:center;width:50px;height:50px;color:#fff;background:var(--navy);border:5px solid var(--canvas);border-radius:17px;box-shadow:0 8px 20px rgba(16,25,53,.22)}.mobile-main-action svg{width:23px}.mobile-main-action b{position:absolute;top:-5px;right:-6px;display:grid;place-items:center;min-width:18px;height:18px;color:#fff;background:var(--coral);border:2px solid #fff;border-radius:10px;font-size:8px}.mobile-main-action small{font-size:9px}.dashboard-shell,.profile-shell,.form-page-shell,.detail-shell,.narrow-shell{padding-top:28px;padding-bottom:38px}.welcome-row,.courier-welcome{align-items:flex-start}.welcome-row .button{width:44px;padding:0;font-size:0}.welcome-row .button svg{margin:0}.welcome-row h1,.courier-welcome h1,.page-heading h1,.form-page-heading h1,.detail-heading h1{font-size:27px}.welcome-row p{font-size:12px}.stat-grid,.stat-grid.courier-stats{grid-template-columns:repeat(3,1fr);gap:9px}.stat-card{display:grid;justify-items:start;gap:10px;padding:13px}.stat-icon{width:38px;height:38px}.stat-card small{font-size:9px}.stat-card strong{font-size:21px}.courier-welcome{display:grid;gap:15px}.availability{width:100%}.courier-identity .avatar-lg{width:53px;height:53px}.order-list{display:grid;gap:11px;background:transparent;border:0;box-shadow:none}.order-row{grid-template-columns:1fr auto;gap:15px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow-soft)}.order-main{grid-column:1/-1}.order-route{grid-column:1/2}.order-side{align-self:end}.row-arrow{display:none}.offer-grid{grid-template-columns:1fr}.active-delivery-card{grid-template-columns:1fr}.active-route{grid-template-columns:1fr}.active-actions{grid-column:auto}.active-top{display:flex;align-items:center;justify-content:space-between}.form-grid,.form-grid.three{grid-template-columns:1fr}.form-grid.three label:last-child{grid-column:auto}.form-card,.detail-card{padding:19px}.form-submit-row{display:grid;gap:15px}.form-submit-row .button{width:100%}.detail-heading{align-items:center}.detail-price{font-size:21px}.detail-grid{gap:14px}.detail-aside{grid-template-columns:1fr}.timeline-card{grid-row:auto}.info-grid,.contact-grid{grid-template-columns:1fr}.rating-card{grid-template-columns:1fr}.profile-banner{padding:20px}.avatar-xl{width:72px;height:72px}.profile-banner h1{font-size:21px}.profile-grid{gap:13px}.profile-aside{grid-template-columns:1fr}.profile-aside>form{width:100%}.notification-list{padding:0}.auth-form-side{padding:98px 18px 45px}.auth-card h1{font-size:33px}.role-picker{grid-template-columns:1fr}.register-shell .auth-form-side{padding-top:92px}.install-banner{bottom:84px;grid-template-columns:auto 1fr auto}.install-banner .button{grid-column:2/3}.install-banner>.icon-button{grid-column:3;grid-row:1}.install-banner p{display:none}
}

@media (max-width: 680px) {
  .auth-shell-returning .auth-form-side{padding:94px 14px 32px}.auth-shell-returning .auth-card{padding:24px 20px;border-radius:17px}.auth-shell-returning .auth-card h1{font-size:29px}.auth-shell-returning .form-intro{margin-bottom:23px}
}

@media (display-mode: standalone) {
  .public-header,.app-header{padding-top:env(safe-area-inset-top)}
  .mobile-nav{height:calc(72px + env(safe-area-inset-bottom))}
}

@media (prefers-reduced-motion: reduce) { *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important} }

.notification-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.notification-heading-actions{display:flex;align-items:center;gap:9px}.notification-heading-actions form{margin:0}.notification-clear{min-height:42px;padding-inline:15px;color:var(--muted);font-size:11px;box-shadow:none}
.form-page-heading .back-link { display: block; width: max-content; }

@media (max-width: 680px) {
  .stat-card.desktop-only { display: none; }
  .notification-heading { display: grid; grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .notification-heading-actions{flex-wrap:wrap}
  .notification-heading .button { justify-self: start; width: auto; min-height: 46px; padding: 0 17px; font-size: 12px; border-radius: 12px; }
  .notification-heading .button svg { width: 17px; height: 17px; }
  .notification-heading .button.notification-enabled { color: #176b5b; background: #e2f5ed; box-shadow: none; }
}

/* Chat, evidencias y selector accesible de calificación */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.chat-card{scroll-margin-top:90px}.chat-messages{display:grid;gap:9px;max-height:390px;margin-top:4px;padding:17px;overflow:auto;background:var(--canvas);border:1px solid var(--line);border-radius:14px}.chat-message{display:flex}.chat-message.mine{justify-content:flex-end}.chat-message>span{display:grid;max-width:min(82%,520px);padding:10px 13px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:4px 14px 14px 14px;font-size:12px;line-height:1.45}.chat-message.mine>span{color:#fff;background:var(--navy);border-color:var(--navy);border-radius:14px 4px 14px 14px}.chat-message b{margin-bottom:2px;font-size:9px}.chat-message small{margin-top:4px;color:var(--muted);font-size:8px}.chat-message.mine small{color:rgba(255,255,255,.6)}.chat-empty{padding:26px 10px;color:var(--muted);font-size:12px;text-align:center}.chat-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:9px;margin-top:11px}.chat-form textarea{min-height:48px;resize:vertical}.chat-closed{margin-top:11px;padding:11px;color:var(--muted);background:var(--canvas);border-radius:10px;font-size:10px;text-align:center}.delivery-upload-grid{display:grid;gap:9px;margin:13px 0}.delivery-upload-grid label{display:grid;gap:5px;padding:11px;color:var(--ink);background:#fff;border-radius:10px}.delivery-upload-grid span{font-size:11px;font-weight:700}.delivery-upload-grid input{width:100%;font-size:10px}.delivery-upload-grid small{color:var(--muted);font-size:8px}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.evidence-grid a{position:relative;height:190px;overflow:hidden;background:var(--canvas);border:1px solid var(--line);border-radius:13px}.evidence-grid a::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(16,25,53,.78))}.evidence-grid span{position:absolute;z-index:1;left:13px;bottom:11px;color:#fff;font-size:11px;font-weight:700}
.chat-send-button{display:grid!important;place-items:center;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;color:#246f61!important;background:#e7f3ef!important;border:1px solid #d3e9e2!important;border-radius:11px!important;box-shadow:none!important}.chat-send-button:hover{color:#185e52!important;background:#dceee8!important}.chat-send-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.star-fieldset{min-width:0;margin:0;padding:0;border:0}.star-fieldset legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.star-picker{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:3px;width:max-content}.star-option{position:relative;display:grid!important;place-items:center;width:38px;height:42px;color:#d8dce5!important;font-size:30px!important;line-height:1;cursor:pointer;transition:color .15s,transform .15s}.star-option:hover{transform:translateY(-1px)}.star-option input{position:absolute!important;inset:3px;width:32px;height:36px;margin:0;opacity:0;cursor:pointer}.star-option:focus-within{border-radius:8px;outline:3px solid rgba(74,125,242,.22);outline-offset:1px}.star-picker:has(.star-option:nth-child(1):hover) .star-option:nth-child(-n+1),.star-picker:has(.star-option:nth-child(2):hover) .star-option:nth-child(-n+2),.star-picker:has(.star-option:nth-child(3):hover) .star-option:nth-child(-n+3),.star-picker:has(.star-option:nth-child(4):hover) .star-option:nth-child(-n+4),.star-picker:has(.star-option:nth-child(5):hover) .star-option:nth-child(-n+5),.star-picker:has(input[value="1"]:checked) .star-option:nth-child(-n+1),.star-picker:has(input[value="2"]:checked) .star-option:nth-child(-n+2),.star-picker:has(input[value="3"]:checked) .star-option:nth-child(-n+3),.star-picker:has(input[value="4"]:checked) .star-option:nth-child(-n+4),.star-picker:has(input[value="5"]:checked) .star-option:nth-child(-n+5){color:var(--gold)!important}
@media (max-width:680px){.chat-form{grid-template-columns:1fr}.chat-form .button{width:100%}.evidence-grid{grid-template-columns:1fr}.evidence-grid a{height:220px}}
.identity-upload{margin-top:12px}.identity-privacy{display:flex;align-items:flex-start;gap:11px;margin-top:12px;padding:14px;color:#246b57;background:#eaf9f4;border:1px solid #c8eadf;border-radius:12px}.identity-privacy>svg{flex:0 0 22px;margin-top:1px}.identity-privacy>span{display:grid;gap:3px}.identity-privacy b{font-size:11px}.identity-privacy small{font-size:10px;line-height:1.5}
.notification-item small{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.notification-status{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:12px;font-style:normal;font-size:8px;font-weight:700}.notification-status i{width:5px;height:5px;background:currentColor;border-radius:50%}
.status-sin_mensajero,.order-state-sin_mensajero{color:#b63845!important;background:#fde8eb!important}.status-vencido,.order-state-vencido{color:#9a6814!important;background:#fff3d8!important}.order-closure-note{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;padding:15px 17px;color:#9a6814;background:#fff7e7;border:1px solid #f1dfb9;border-radius:14px}.order-closure-note.all_declined{color:#a73b47;background:#fff0f2;border-color:#f2d0d4}.order-closure-note>svg{flex:0 0 20px;width:20px;height:20px;margin-top:1px}.order-closure-note h2{margin:0 0 3px;font-size:14px}.order-closure-note p{margin:0;color:var(--text);font-size:11px;line-height:1.5}
.avatar{color:#fff;background:linear-gradient(145deg,#315fc8,#5533a1);font-size:15px;font-weight:850;line-height:1;text-transform:uppercase;text-shadow:0 1px 2px rgba(10,17,37,.35)}.avatar-sm{font-size:14px}.avatar-xs{font-size:11px}.avatar-lg{font-size:24px}.avatar-xl{font-size:32px}.admin-avatar,.admin-sidebar-account>span{font-size:15px;font-weight:900;line-height:1;text-transform:uppercase}.admin-sidebar-account>span{color:#07132f;background:#59e2d4}
.evidence-grid{grid-template-columns:minmax(150px,.72fr) minmax(230px,1.28fr);align-items:start}.evidence-grid a{display:grid;height:auto;overflow:hidden;background:#f4f6fa}.evidence-grid a::after{display:none}.evidence-grid img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#eef1f6}.evidence-grid .evidence-proof img{aspect-ratio:1}.evidence-grid .evidence-identity img{aspect-ratio:900/567;padding:8px}.evidence-grid span{position:static;padding:10px 12px;color:var(--ink);background:#fff;border-top:1px solid var(--line);font-size:10px}.evidence-grid .evidence-proof{max-width:300px}@media(max-width:680px){.evidence-grid{grid-template-columns:1fr}.evidence-grid a{height:auto}.evidence-grid .evidence-proof{width:min(100%,280px);margin-inline:auto}.evidence-grid .evidence-identity{width:100%}}
.recipient-phone-inline,.courier-phone-inline{color:var(--blue);font-size:.95em;font-weight:700;white-space:nowrap;text-decoration:none}.recipient-phone-inline:hover,.courier-phone-inline:hover{text-decoration:underline}
.contact-item-recipient{align-items:flex-start}.recipient-address{display:flex;align-items:flex-start;gap:5px;margin-top:6px;color:var(--text);font-size:11px;line-height:1.4}.recipient-address svg{flex:0 0 13px;width:13px;height:13px;margin-top:1px;color:var(--blue)}
.card-icon.evidence-confirmation-icon{color:#6747ad;background:#eee8ff}
.evidence-grid{grid-template-columns:220px 290px;justify-content:start}.evidence-grid .evidence-proof{width:220px;max-width:220px}.evidence-grid .evidence-identity{width:290px;max-width:100%}@media(max-width:680px){.evidence-grid{grid-template-columns:1fr;justify-items:start}.evidence-grid .evidence-proof{width:min(100%,260px);margin-inline:0}.evidence-grid .evidence-identity{width:min(100%,290px)}}
.desktop-nav a.avatar{color:#fff}
.status-entrega_reportada,.order-state-entrega_reportada{color:#315fc8!important;background:#e8efff!important}
[data-role-fields][hidden]{display:none!important}
[data-address-optional][hidden],.municipality-menu[hidden]{display:none!important}.municipality-control{position:relative}.municipality-menu{position:absolute;z-index:35;top:calc(100% + 6px);left:0;right:0;display:grid;max-height:245px;padding:6px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px rgba(24,33,58,.16)}.municipality-option{width:100%;padding:10px 11px;color:var(--text);background:transparent;border:0;border-radius:8px;text-align:left;font-size:12px;cursor:pointer}.municipality-option:hover,.municipality-option.active{color:var(--ink);background:#edf2ff}
.municipality-control::after{content:"⌄";position:absolute;right:14px;top:50%;color:var(--muted);font-size:18px;line-height:1;transform:translateY(-58%);pointer-events:none}.municipality-control input{padding-right:40px;cursor:pointer}
.coverage-picker{position:relative}.coverage-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px 14px;color:var(--ink);background:#fff;border:1px solid #dce1eb;border-radius:11px;text-align:left;cursor:pointer}.coverage-toggle svg{width:17px;transform:rotate(90deg);transition:transform .2s}.coverage-toggle[aria-expanded="true"]{border-color:var(--blue);box-shadow:0 0 0 4px rgba(74,125,242,.08)}.coverage-toggle[aria-expanded="true"] svg{transform:rotate(-90deg)}.coverage-menu{position:absolute;z-index:36;top:calc(100% + 6px);left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:3px;max-height:280px;padding:8px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px rgba(24,33,58,.16)}.coverage-menu[hidden]{display:none!important}.coverage-all{grid-column:1/-1;width:100%;padding:9px 11px;color:var(--blue);background:#edf2ff;border:1px solid transparent;border-radius:8px;text-align:left;font-size:11px;font-weight:800;cursor:pointer}.coverage-all:hover,.coverage-all[aria-pressed="true"]{color:#fff;background:var(--blue)}.coverage-option{display:flex;grid-template:none;align-items:center;gap:8px;padding:9px;border-radius:8px;font-size:11px;font-weight:500;cursor:pointer}.coverage-option:hover{background:#edf2ff}.coverage-option input{flex:0 0 auto;width:17px;min-height:17px;margin:0;accent-color:var(--blue)}
@media (max-width:680px){.coverage-menu{grid-template-columns:1fr}}
@media (max-width:680px){.site-footer .footer-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center}.site-footer .footer-inner>*{margin-inline:auto}.site-footer .brand{justify-content:center}.site-footer p,.site-footer small{width:100%;text-align:center}}
.business-photo-upload{margin-top:17px}
.vehicle-field select{height:48px!important;min-height:48px!important;padding-block:0!important}
.bottom-cta{padding:65px 0;color:#fff;background:var(--navy);text-align:center}.bottom-cta h2{margin:15px 0 24px;font-size:32px}.bottom-cta .button{min-width:190px}@media (max-width:680px){.bottom-cta{padding:52px 20px}.bottom-cta h2{font-size:27px}.bottom-cta .button{width:100%;max-width:320px}}
.auth-back-link{display:block;width:max-content;margin-bottom:18px}
.required-mark{color:var(--red)!important;font-style:normal;font-weight:800}[data-address-required][hidden]{display:none!important}
.role-picker.single{grid-template-columns:1fr}
.image-editor{width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;overflow:auto;background:transparent;border:0;border-radius:20px}.image-editor::backdrop{background:rgba(10,16,35,.72);backdrop-filter:blur(4px)}.image-editor-card{padding:22px;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(10,16,35,.28)}.image-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.image-editor-heading small{color:var(--blue);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.image-editor-heading h2{margin:3px 0 0;font-size:21px}.image-editor-card>p{margin:8px 0 17px;color:var(--muted);font-size:11px}.image-editor-close{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;padding:0;color:var(--muted);background:var(--canvas);border:0;border-radius:10px;font-size:24px;line-height:1;cursor:pointer}.image-editor-stage{display:grid;place-items:center;padding:0;overflow:hidden;background:#f4f6fb;border:1px solid var(--line);border-radius:15px}.image-editor canvas{display:block;width:auto;height:auto;max-width:100%;max-height:52vh;touch-action:none;cursor:grab}.image-editor canvas:active{cursor:grabbing}.image-editor-zoom{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:13px;margin-top:17px}.image-editor-zoom span{font-size:11px;font-weight:800}.image-editor-zoom input{min-height:24px;padding:0;accent-color:var(--blue)}.image-editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.image-edit-status{color:var(--aqua);font-size:9px}@media(max-width:680px){.image-editor-card{padding:17px}.image-editor-actions{display:grid;grid-template-columns:1fr 1fr}.image-editor-actions .button{padding-inline:10px}.image-editor canvas{max-height:48vh}}

/* Administración */
.admin-page{min-height:100vh;background:#f2f4f8}.admin-shell{width:min(1220px,calc(100% - 40px));margin-inline:auto}.admin-header{position:sticky;z-index:50;top:0;color:#fff;background:#101935;border-bottom:1px solid rgba(255,255,255,.1)}.admin-header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:35px;min-height:68px}.admin-brand{display:flex;align-items:center;gap:10px}.admin-brand span,.admin-login-mark{display:grid;place-items:center;width:36px;height:36px;color:#101935;background:var(--aqua);border-radius:11px;font-weight:900}.admin-header nav{display:flex;gap:5px}.admin-header nav a{padding:9px 12px;color:rgba(255,255,255,.62);border-radius:9px;font-size:11px;font-weight:700}.admin-header nav a:hover,.admin-header nav a.active{color:#fff;background:rgba(255,255,255,.1)}.admin-header form button{padding:8px 11px;color:#fff;background:transparent;border:1px solid rgba(255,255,255,.22);border-radius:9px;cursor:pointer}.admin-content{padding:38px 0 80px}.admin-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.admin-title>div>small{color:var(--blue);font-size:9px;font-weight:800;letter-spacing:.13em}.admin-title h1{margin:5px 0 5px;font-size:31px}.admin-title p{margin:0;color:var(--muted);font-size:12px}.admin-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.admin-stat-grid>a{display:grid;gap:5px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft)}.admin-stat-grid small{color:var(--muted);font-size:9px;font-weight:700}.admin-stat-grid strong{font-size:29px}.admin-stat-grid em{color:var(--blue);font-size:9px;font-style:normal}.admin-two-columns{display:grid;grid-template-columns:1.2fr .8fr;align-items:start;gap:18px}.admin-panel{padding:21px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft)}.admin-panel h2{margin-bottom:17px;font-size:16px}.admin-panel-title{display:flex;align-items:start;justify-content:space-between;margin-bottom:14px}.admin-panel-title h2{margin:0 0 3px}.admin-panel-title p{margin:0;color:var(--muted);font-size:10px}.admin-panel-title>a{color:var(--blue);font-size:10px;font-weight:700}.admin-list{display:grid}.admin-list>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.admin-list>a:last-child{border-bottom:0}.admin-list>a>span:nth-child(2){display:grid}.admin-list b{font-size:11px}.admin-list small,.admin-list time{color:var(--muted);font-size:8px}.admin-avatar{display:grid;place-items:center;width:35px;height:35px;color:var(--blue);background:#edf2ff;border-radius:10px;font-weight:800}.admin-audit-mini{display:grid;gap:11px}.admin-audit-mini>div{display:grid;padding-bottom:10px;border-bottom:1px solid var(--line)}.admin-audit-mini b{font-size:10px}.admin-audit-mini span,.admin-audit-mini small{color:var(--muted);font-size:8px}.admin-empty{margin:0;padding:24px;color:var(--muted);text-align:center;font-size:11px}.admin-filters{display:grid;grid-template-columns:1fr 190px 170px auto;gap:9px;margin-bottom:15px}.admin-filters input,.admin-filters select{min-height:43px}.admin-table-wrap{padding:0;overflow:auto}.admin-table{width:100%;border-collapse:collapse;white-space:nowrap}.admin-table th{padding:12px 15px;color:var(--muted);background:#f8f9fc;text-align:left;font-size:8px;letter-spacing:.08em;text-transform:uppercase}.admin-table td{padding:14px 15px;border-top:1px solid var(--line);font-size:10px}.admin-table td:first-child{display:grid;gap:2px}.admin-table td small{color:var(--muted);font-size:8px}.admin-table td>a{color:var(--blue);font-weight:700}.admin-status{display:inline-flex;padding:5px 8px;color:#355bba;background:#edf2ff;border-radius:12px;font-size:8px;font-weight:800}.admin-status.pending{color:#946419;background:#fff4d8}.admin-status.approved{color:#207052;background:#e8f8f1}.admin-status.rejected,.admin-status.suspended{color:#a33c45;background:#ffeaec}.admin-status.large{padding:8px 12px;font-size:9px}.admin-back{display:inline-block;margin-bottom:17px;color:var(--blue);font-size:10px;font-weight:700}.admin-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:18px}.admin-review-main,.admin-review-aside{display:grid;gap:16px}.admin-review-aside{position:sticky;top:86px}.admin-data-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0}.admin-data-grid>div{display:grid;gap:4px;padding:12px;background:#f7f8fb;border-radius:10px}.admin-data-grid .wide{grid-column:1/-1}.admin-data-grid dt{color:var(--muted);font-size:8px;font-weight:700;text-transform:uppercase}.admin-data-grid dd{margin:0;font-size:11px;font-weight:600}.admin-doc-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.admin-doc-grid>a{display:grid;gap:5px;padding:10px;background:#f7f8fb;border:1px solid var(--line);border-radius:12px}.admin-doc-grid img{height:210px;border-radius:8px}.admin-doc-grid b{font-size:11px}.admin-doc-grid small{color:var(--muted);font-size:8px}.admin-doc-grid .private-doc{align-content:center;min-height:210px;padding:25px;color:#fff;background:linear-gradient(145deg,#172344,#263d74);border:0}.private-doc span{width:max-content;padding:5px 8px;color:var(--aqua);background:rgba(66,217,199,.12);border-radius:8px;font-size:8px}.admin-review-history{display:grid}.admin-review-history>div{display:flex;gap:11px;padding-bottom:17px}.admin-review-history i{flex:0 0 9px;width:9px;height:9px;margin-top:4px;background:var(--blue);border-radius:50%;box-shadow:0 0 0 4px #edf2ff}.admin-review-history span{display:grid}.admin-review-history b{font-size:10px}.admin-review-history small{color:var(--muted);font-size:8px}.admin-review-history p{margin:5px 0 0;color:var(--text);font-size:9px}.admin-account-stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}.admin-account-stats>div{display:grid;gap:2px}.admin-account-stats strong{font-size:19px}.admin-account-stats small{color:var(--muted);font-size:8px}.admin-decision{display:grid;gap:12px}.admin-decision h2{margin-bottom:0}.admin-decision form{display:grid;gap:8px}.admin-decision label{font-size:9px}.admin-privacy-note p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.admin-login-shell{display:grid;place-items:center;min-height:100vh;padding:24px;background:radial-gradient(circle at 70% 20%,#253c73,#101935 55%)}.admin-login-card{width:min(410px,100%);padding:30px;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.admin-login-card>small{display:block;margin-top:18px;color:var(--blue);font-size:8px;font-weight:800;letter-spacing:.13em}.admin-login-card h1{margin:6px 0}.admin-login-card>p{color:var(--muted);font-size:11px}.admin-login-card>a{display:block;margin-top:20px;color:var(--muted);font-size:9px;text-align:center}.review-status-shell{display:grid;place-items:center;min-height:100vh;padding:100px 20px 50px;background:var(--canvas)}.review-status-card{width:min(640px,100%);padding:30px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);text-align:center}.review-status-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 18px;color:#fff;background:var(--blue);border-radius:18px;font-size:22px;font-weight:800}.review-status-card h1{margin:9px 0;font-size:29px}.review-status-card>p{max-width:510px;margin:0 auto 22px;color:var(--muted);font-size:12px;line-height:1.65}.review-progress{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;max-width:380px;margin:28px auto 8px}.review-progress span{display:grid;place-items:center;width:29px;height:29px;color:var(--muted);background:#e8ebf2;border-radius:50%;font-size:10px;font-weight:800}.review-progress span.done{color:#fff;background:var(--green)}.review-progress i{height:2px;background:#e1e5ed}.review-progress-labels{display:grid;grid-template-columns:repeat(3,1fr);max-width:430px;margin:0 auto 25px;color:var(--muted)}.review-correction{margin:20px 0;text-align:left}.review-correction summary{padding:13px;color:var(--blue);background:#edf2ff;border-radius:11px;font-size:11px;font-weight:800;cursor:pointer}.review-correction form{margin-top:15px}.review-status-card>form:last-child{margin-top:18px}
@media(max-width:850px){.admin-header-inner{grid-template-columns:1fr auto;gap:10px}.admin-header nav{grid-column:1/-1;grid-row:2;overflow:auto;padding-bottom:8px}.admin-content{padding-top:25px}.admin-stat-grid{grid-template-columns:1fr 1fr}.admin-two-columns,.admin-review-grid{grid-template-columns:1fr}.admin-review-aside{position:static}.admin-filters{grid-template-columns:1fr 1fr}.admin-filters input{grid-column:1/-1}.admin-table{min-width:760px}}
@media(max-width:520px){.admin-shell{width:min(100% - 24px,1220px)}.admin-header-inner{padding-top:8px}.admin-brand b{font-size:12px}.admin-header nav a{padding:8px;font-size:9px}.admin-title{align-items:flex-start}.admin-title h1{font-size:25px}.admin-title>.button{padding-inline:12px;font-size:10px}.admin-stat-grid{gap:9px}.admin-stat-grid>a{padding:15px}.admin-stat-grid strong{font-size:23px}.admin-data-grid,.admin-doc-grid{grid-template-columns:1fr}.admin-filters{grid-template-columns:1fr}.admin-filters input{grid-column:auto}.review-status-card{padding:22px 17px}.review-status-card h1{font-size:24px}}

/* Legibilidad del panel administrativo */
.admin-page{font-size:16px}.admin-header nav a{font-size:14px}.admin-header form button{font-size:13px}.admin-title>div>small{font-size:12px}.admin-title p{font-size:14px}.admin-stat-grid small{font-size:13px}.admin-stat-grid em{font-size:12px}.admin-panel h2{font-size:19px}.admin-panel-title p,.admin-panel-title>a{font-size:13px}.admin-list b{font-size:14px}.admin-list small,.admin-list time{font-size:12px}.admin-audit-mini b{font-size:13px}.admin-audit-mini span,.admin-audit-mini small{font-size:12px}.admin-empty{font-size:14px}.admin-filters input,.admin-filters select{font-size:14px}.admin-table th{font-size:11px}.admin-table td{font-size:14px}.admin-table td small{font-size:12px}.admin-status{padding:6px 10px;font-size:12px}.admin-status.large{padding:9px 13px;font-size:13px}.admin-back{font-size:13px}.admin-data-grid dt{font-size:11px}.admin-data-grid dd{font-size:14px}.admin-doc-grid b{font-size:14px}.admin-doc-grid small,.private-doc span{font-size:12px}.admin-review-history b{font-size:14px}.admin-review-history small{font-size:12px}.admin-review-history p{font-size:13px}.admin-account-stats small{font-size:11px}.admin-decision label{font-size:13px}.admin-privacy-note p{font-size:13px}.admin-login-card>small{font-size:11px}.admin-login-card>p{font-size:14px}.admin-login-card>a{font-size:12px}
@media(max-width:520px){.admin-brand b{font-size:14px}.admin-header nav a{font-size:12px}.admin-title>.button{font-size:12px}.admin-stat-grid small{font-size:11px}.admin-stat-grid em{font-size:10px}}

/* Navegación administrativa lateral */
.admin-sidebar{position:fixed;z-index:60;inset:0 auto 0 0;display:flex;flex-direction:column;width:244px;padding:24px 17px 18px;color:#fff;background:#101935;border-right:1px solid rgba(255,255,255,.1);box-shadow:8px 0 30px rgba(16,25,53,.08)}.admin-sidebar .admin-brand{padding:0 8px 24px;border-bottom:1px solid rgba(255,255,255,.1)}.admin-sidebar nav{display:grid;gap:6px;margin-top:24px}.admin-sidebar nav a{padding:13px 14px;color:rgba(255,255,255,.68);border-radius:10px;font-size:14px;font-weight:700}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{color:#fff;background:rgba(255,255,255,.11)}.admin-sidebar-account{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin-top:auto;padding:15px 8px;border-top:1px solid rgba(255,255,255,.1)}.admin-sidebar-account>span{display:grid;place-items:center;width:36px;height:36px;color:var(--navy);background:var(--aqua);border-radius:10px;font-weight:800}.admin-sidebar-account>div{display:grid;min-width:0}.admin-sidebar-account b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.admin-sidebar-account small{color:rgba(255,255,255,.55);font-size:10px}.admin-sidebar>form button{width:100%;padding:10px;color:rgba(255,255,255,.72);background:transparent;border:1px solid rgba(255,255,255,.18);border-radius:9px;font-size:12px;cursor:pointer}.admin-sidebar>form button:hover{color:#fff;background:rgba(255,255,255,.08)}.admin-main{min-height:100vh;margin-left:244px}.admin-menu-toggle,.admin-menu-button,.admin-menu-overlay{display:none}
.admin-sidebar>form .admin-logout-button{color:#ffdfe1;background:rgba(220,76,84,.18);border-color:rgba(255,132,139,.42)}.admin-sidebar>form .admin-logout-button:hover{color:#fff;background:#c8444c;border-color:#c8444c}
@media(max-width:850px){.admin-sidebar{width:250px;transform:translateX(-102%);transition:transform .22s ease}.admin-menu-toggle:checked+.admin-sidebar{transform:translateX(0)}.admin-main{margin-left:0}.admin-menu-button{position:fixed;z-index:59;top:13px;left:13px;display:grid;place-items:center;width:42px;height:42px;color:#fff;background:var(--navy);border-radius:11px;box-shadow:0 7px 18px rgba(16,25,53,.2);font-size:20px;cursor:pointer}.admin-menu-overlay{position:fixed;z-index:58;inset:0;display:none;background:rgba(10,16,35,.48)}.admin-menu-toggle:checked~.admin-menu-overlay{display:block}.admin-content{padding-top:18px}.admin-content>.admin-title:first-child{padding-left:52px}.admin-content>.admin-back:first-child{margin-left:52px}}
.admin-password-reset{display:grid;gap:10px}.admin-password-reset h2{margin:0}.admin-password-reset>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.admin-password-reset form{display:grid;gap:10px}.admin-password-reset label{font-size:13px}.forced-password-shell{display:grid;place-items:center;min-height:100vh;padding:100px 20px 50px;background:var(--canvas)}.forced-password-card{width:min(470px,100%);padding:30px;background:#fff;border:1px solid var(--line);border-radius:21px;box-shadow:var(--shadow)}.forced-password-card h1{margin:10px 0;font-size:29px}.forced-password-card>p{margin-bottom:23px;color:var(--muted);font-size:13px;line-height:1.6}
.admin-order-correction{border-color:#cfdafa}.admin-order-correction>p{margin:-6px 0 16px;color:var(--muted);font-size:13px;line-height:1.55}.admin-order-correction form{display:grid;gap:12px}.admin-order-correction label{display:grid;gap:6px;font-size:13px;font-weight:700}.admin-order-correction select,.admin-order-correction textarea{width:100%;font-size:14px}.admin-order-correction textarea{min-height:100px;resize:vertical}
.email-health{padding:8px 12px;color:#8b611c;background:#fff1cf;border-radius:16px;font-size:12px;font-weight:800}.email-health.is-enabled{color:#176b50;background:#def5ea}.admin-email-tabs{display:flex;gap:7px;margin-bottom:18px;padding:5px;background:#e7eaf0;border-radius:13px;width:max-content}.admin-email-tabs a{padding:10px 16px;color:var(--muted);border-radius:9px;font-size:13px;font-weight:800}.admin-email-tabs a.active{color:var(--navy);background:#fff;box-shadow:0 3px 10px rgba(16,25,53,.08)}.admin-email-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px}.admin-email-settings form,.admin-email-test form{display:grid;gap:15px}.email-enable{display:flex!important;align-items:flex-start;gap:10px;padding:13px;background:#f2f8f5;border:1px solid #d6ebe3;border-radius:11px}.email-enable input{flex:0 0 auto;width:18px;min-height:18px;margin-top:2px;accent-color:var(--green)}.email-enable span{display:grid;gap:2px}.email-enable b{font-size:13px}.email-enable small{color:var(--muted);font-size:11px;font-weight:500}.email-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.email-form-grid label,.admin-email-test label,.email-template-card label{display:grid;gap:6px;font-size:13px;font-weight:700}.email-form-grid label.wide{grid-column:1/-1}.email-form-grid label>small{color:var(--muted);font-weight:500}.admin-email-test>p{margin:-7px 0 17px;color:var(--muted);font-size:13px;line-height:1.55}.admin-email-history{margin-top:18px;padding:0;overflow:hidden}.admin-email-history>.admin-panel-title{padding:20px 21px 12px}.email-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.email-counts span{padding:5px 8px;color:var(--muted);background:#f0f2f6;border-radius:10px;font-size:11px}.email-delivery-status{display:inline-flex;padding:5px 8px;border-radius:11px;font-size:11px;font-weight:800}.email-delivery-status.pending,.email-delivery-status.sending{color:#8b611c;background:#fff1cf}.email-delivery-status.sent{color:#176b50;background:#def5ea}.email-delivery-status.failed{color:#a43e48;background:#fde7e9}.email-error{max-width:430px;color:#a43e48!important;white-space:normal}.email-retry,.email-template-restore button{padding:5px;color:var(--blue);background:transparent;border:0;font-size:12px;font-weight:800;cursor:pointer}.email-template-help{margin-bottom:14px}.email-template-help h2{margin-bottom:6px}.email-template-help>p{margin:0 0 13px;color:var(--muted);font-size:13px}.email-template-help>div{display:flex;flex-wrap:wrap;gap:6px}.email-template-help code{padding:5px 8px;color:#36547f;background:#edf3ff;border-radius:7px;font-size:11px}.email-template-list{display:grid;gap:11px}.email-template-card{padding:0;overflow:hidden}.email-template-card summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;cursor:pointer;list-style:none}.email-template-card summary::-webkit-details-marker{display:none}.email-template-card summary>span:first-child{display:grid;gap:3px}.email-template-card summary b{font-size:15px}.email-template-card summary small{color:var(--muted);font-size:11px}.email-template-state{padding:5px 8px;color:#8b611c;background:#fff1cf;border-radius:11px;font-size:11px;font-weight:800}.email-template-state.enabled{color:#176b50;background:#def5ea}.email-template-card>form:not(.email-template-restore){display:grid;gap:13px;padding:19px 20px;border-top:1px solid var(--line);background:#fafbfc}.email-template-card textarea{resize:vertical;line-height:1.55}.email-template-preview{padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}.email-template-preview small{color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.08em}.email-template-preview p{margin:10px 0 0;font-size:13px;line-height:1.55;white-space:pre-wrap}.email-template-actions{display:flex;justify-content:flex-end}.email-template-restore{padding:0 20px 15px;text-align:right;background:#fafbfc}.email-template-restore button{color:#a43e48}
@media(max-width:850px){.admin-email-grid{grid-template-columns:1fr}.email-form-grid{grid-template-columns:1fr}.email-form-grid label.wide{grid-column:auto}.admin-email-tabs{width:100%}.admin-email-tabs a{flex:1;text-align:center}.email-counts{justify-content:flex-start}.admin-email-history>.admin-panel-title{display:grid;gap:10px}}
.email-template-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:18px}.email-template-sidebar{position:sticky;top:20px;padding:0;overflow:hidden}.email-template-sidebar-heading{display:grid;gap:4px;padding:18px 17px;border-bottom:1px solid var(--line)}.email-template-sidebar-heading>small{color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.1em}.email-template-sidebar-heading>b{font-size:15px}.email-template-sidebar nav{display:grid;max-height:calc(100vh - 245px);overflow-y:auto;padding:7px}.email-template-sidebar nav button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px 10px;color:var(--text);background:transparent;border:0;border-radius:9px;text-align:left;cursor:pointer}.email-template-sidebar nav button:hover{background:#f4f6fa}.email-template-sidebar nav button.active{color:var(--navy);background:#eaf0ff}.email-template-sidebar nav button>span{display:grid;gap:2px;min-width:0}.email-template-sidebar nav button b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.email-template-sidebar nav button small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.email-template-sidebar nav button i{width:8px;height:8px;background:#d99c36;border-radius:50%;box-shadow:0 0 0 3px #fff1cf}.email-template-sidebar nav button i.enabled{background:#2b9a73;box-shadow:0 0 0 3px #def5ea}.email-template-editors{min-width:0}.email-template-editor[hidden]{display:none!important}.email-template-editor{padding:0;overflow:hidden}.email-template-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid var(--line)}.email-template-editor-heading>div{display:grid;gap:3px}.email-template-editor-heading small{color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.09em}.email-template-editor-heading h2{margin:0;font-size:20px}.email-template-editor-heading p{margin:0;color:var(--muted);font-size:11px}.email-template-editor>form:not(.email-template-restore){display:grid;gap:15px;padding:20px 22px;background:#fafbfc}.email-template-editor label:not(.email-enable){display:grid;gap:6px;font-size:13px;font-weight:700}.email-template-variables{padding:11px 13px;background:#f0f3f8;border-radius:10px}.email-template-variables summary{color:var(--blue);font-size:12px;font-weight:800;cursor:pointer}.email-template-variables>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.email-template-variables code{padding:5px 7px;color:#36547f;background:#fff;border:1px solid #dce4f5;border-radius:7px;font-size:10px}.email-template-preview>b{display:block;margin-top:12px;font-size:15px}.email-template-editor .email-template-restore{padding:0 22px 18px}.email-template-editor .email-template-restore button{padding-right:0}
@media(max-width:900px){.email-template-workspace{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:680px){.email-template-workspace{grid-template-columns:1fr}.email-template-sidebar{position:static}.email-template-sidebar nav{display:flex;max-height:none;overflow-x:auto;padding:7px}.email-template-sidebar nav button{flex:0 0 190px}.email-template-editor-heading{align-items:flex-start;padding:17px}.email-template-editor>form:not(.email-template-restore){padding:17px}.email-template-editor .email-template-restore{padding:0 17px 15px}}
@media (max-width:680px){.public-page .public-nav{gap:9px}.public-page .public-nav>a:first-child{display:inline-flex;padding:9px 6px;color:#fff;font-size:12px}.public-page .public-nav .button{padding-inline:13px;font-size:12px}}
@media (max-width:380px){.public-page .brand{font-size:18px}.public-page .brand-mark{width:31px;height:31px}.public-page .public-nav{gap:5px}.public-page .public-nav .button{padding-inline:10px}}
.mobile-header-notifications{display:none}
@media (max-width:680px){.mobile-header-notifications{position:relative;display:grid;place-items:center;width:32px;height:32px;color:#687287;background:#f8f9fc;border:1px solid #e8ebf2;border-radius:9px;box-shadow:none}.mobile-header-notifications .icon{width:16px;height:16px;stroke-width:1.8}.mobile-header-notifications .notification-dot{top:-3px;right:-3px;min-width:14px;height:14px;padding:0 3px;border-width:1.5px;font-size:7px}}
.history-filters{display:flex;gap:8px;margin:0 0 20px;overflow:auto;padding-bottom:3px}.history-filter{flex:0 0 auto;padding:8px 13px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:20px;font-size:11px;font-weight:700}.history-filter.active{color:#fff;background:var(--navy);border-color:var(--navy)}
.history-list{display:grid;gap:11px}.history-order{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft)}.history-order summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:13px;padding:16px 18px;list-style:none;cursor:pointer}.history-order summary::-webkit-details-marker{display:none}.history-order summary:hover{background:#fafbfe}.history-order-title{display:grid;min-width:0}.history-order-title b{font-size:13px}.history-order-title small{margin-top:3px;color:var(--muted);font-size:9px}.history-order summary>strong{font-size:14px;text-align:right}.history-order summary>strong small{display:block;color:var(--muted);font-size:8px}.history-chevron{width:17px;color:var(--muted);transition:transform .2s}.history-order[open] .history-chevron{transform:rotate(90deg)}.history-order-details{display:grid;gap:14px;padding:17px 18px 18px;border-top:1px solid var(--line);background:#fafbfe}.history-route{display:grid;grid-template-columns:1fr 1fr;gap:12px}.history-route>div,.history-extra>span{display:grid;gap:3px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:11px}.history-route small,.history-extra small{color:var(--muted);font-size:8px;font-weight:700;letter-spacing:.08em}.history-route b,.history-extra b{font-size:11px}.history-route span{color:var(--text);font-size:10px}.history-extra{display:grid;grid-template-columns:1fr;gap:12px}
@media (max-width:680px){.history-filters{margin-inline:-2px}.history-order summary{grid-template-columns:auto minmax(0,1fr) auto;padding:14px;gap:10px}.history-order summary>.status-pill{grid-column:2/3}.history-order summary>strong{grid-column:3;grid-row:1}.history-chevron{grid-column:3;grid-row:2;justify-self:end}.history-route,.history-extra{grid-template-columns:1fr}}
@media (max-width:680px){body{padding-bottom:90px}.mobile-nav{height:84px;padding-bottom:max(14px,env(safe-area-inset-bottom))}.install-banner{bottom:96px}}
@media (max-width:680px) and (display-mode:standalone){.mobile-nav{height:calc(84px + env(safe-area-inset-bottom))}}
.package-payment-fields{margin-top:10px}
.status-entrega_reportada{color:#8a641e;background:#fff4d8}
.nav-message-link{position:relative;display:flex!important;align-items:center;gap:6px}.nav-message-link .icon{width:18px;height:18px}.nav-message-link b,.mobile-message-link b{position:absolute;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;color:#fff;background:var(--coral);border:2px solid #fff;border-radius:10px;font-size:8px}.nav-message-link b{top:-8px;right:-10px}.messages-shell{padding-top:38px;padding-bottom:90px}.messages-heading{margin-bottom:23px}.conversation-section{display:grid;gap:11px;margin-top:22px}.conversation-section>h2{margin:0;font-size:16px}.conversation-list{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft)}.conversation-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:72px;padding:13px 16px;border-bottom:1px solid var(--line)}.conversation-row:last-child{border-bottom:0}.conversation-row[href]:hover{background:#fafbfe}.conversation-avatar{display:grid;place-items:center;width:43px;height:43px;color:var(--blue);background:#edf2ff;border-radius:13px}.conversation-avatar svg{width:21px;height:21px}.conversation-copy{display:grid;min-width:0}.conversation-copy b{font-size:12px}.conversation-copy small{margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-row>em{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;color:#fff;background:var(--coral);border-radius:12px;font-size:9px;font-style:normal;font-weight:800}.closed-conversations{margin-top:30px}.conversation-closed{color:#9299a8;background:#eef0f4;filter:grayscale(1)}.conversation-closed .conversation-avatar{color:#9299a8;background:#dfe2e8}.conversation-lock{font-size:9px;font-weight:700}.conversation-page{max-width:780px}.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.conversation-heading>div{display:flex;align-items:center;gap:12px}.conversation-heading>div>span:last-child{display:grid}.conversation-heading small{color:var(--blue);font-size:8px;font-weight:800;letter-spacing:.08em}.conversation-heading h1{margin:2px 0 0;font-size:18px}.conversation-heading p{margin:1px 0 0;color:var(--muted);font-size:10px}.conversation-heading>a{color:var(--blue);font-size:10px;font-weight:700}.chat-messages-page{height:min(55vh,520px);max-height:none}.message-action-card .button{margin-top:13px}
@media(max-width:680px){.mobile-nav{grid-template-columns:repeat(4,1fr)}.mobile-message-link{position:relative}.mobile-message-link b{top:-4px;right:calc(50% - 19px)}.messages-shell{padding-top:24px}.conversation-row{grid-template-columns:auto minmax(0,1fr) auto;padding:12px}.conversation-row>.row-arrow{display:block}.conversation-lock{display:none}.conversation-heading{align-items:flex-start}.chat-messages-page{height:52vh}.conversation-page .detail-card{padding:15px}.chat-form{grid-template-columns:1fr}.chat-form .button{width:100%}}
@media(max-width:680px){.mobile-nav.mobile-nav-business{grid-template-columns:repeat(5,1fr)}}
.desktop-nav .nav-message-link{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center;white-space:nowrap;line-height:1}.desktop-nav .nav-message-link>span{display:inline!important}.desktop-nav .nav-message-link>svg{display:block;flex:0 0 18px}
.courier-coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.courier-coverage-grid>label{min-width:0}.messages-heading{padding-bottom:20px;border-bottom:1px solid var(--line)}.messages-heading h1{margin-bottom:7px}.messages-heading p{max-width:620px}.conversation-section>h2{font-size:15px}.conversation-list{border-radius:18px}.conversation-row{min-height:82px;padding:15px 18px;transition:background .18s ease}.conversation-avatar{width:46px;height:46px;color:#fff;background:var(--navy);border-radius:14px}.conversation-copy b{font-size:13px}.conversation-copy>span{margin-top:2px;color:var(--blue);font-size:9px;font-weight:700}.conversation-copy small{margin-top:5px;font-size:10px}.conversation-lock{padding:6px 9px;background:#e1e4ea;border-radius:12px}.conversation-page .back-link{display:inline-flex;margin-bottom:14px}.conversation-page .chat-card{padding:0;overflow:hidden;border-radius:20px}.conversation-heading{margin:0;padding:20px 22px;border-bottom:1px solid var(--line)}.conversation-heading h1{font-size:20px}.conversation-heading p{font-size:11px}.conversation-heading>a{padding:9px 12px;background:#eef3ff;border-radius:10px}.conversation-security{display:flex;align-items:center;gap:8px;padding:11px 22px;color:#3b5d56;background:#effaf7;border-bottom:1px solid #d7eee8;font-size:10px;font-weight:600}.conversation-security svg{flex:0 0 16px;width:16px;height:16px;color:#247461}.chat-messages-page{height:min(54vh,520px);margin:0;padding:24px 22px;background:#f5f7fa;border:0;border-radius:0}.chat-message{margin-bottom:2px}.chat-message>span{max-width:min(72%,540px);padding:11px 14px;border-color:#e1e5ec;border-radius:6px 16px 16px;font-size:13px;line-height:1.5;box-shadow:0 2px 8px rgba(16,25,53,.04)}.chat-message.mine>span{border-radius:16px 6px 16px 16px}.chat-message b{margin-bottom:3px;font-size:10px}.chat-message small{font-size:9px}.chat-empty{align-self:center;padding:42px 16px;font-size:12px}.conversation-page .chat-form{grid-template-columns:1fr auto;gap:11px;margin:0;padding:16px 20px;background:#fff;border-top:1px solid var(--line)}.conversation-page .chat-form textarea{min-height:52px;max-height:130px;padding:14px 16px;background:#fafbfc;border-color:#dce1e9;border-radius:13px;font-size:13px;resize:none}.conversation-page .chat-form .button{min-height:52px;padding-inline:20px}.conversation-closed{filter:none}.conversation-closed .conversation-avatar{color:#878e9c;background:#dfe2e8}
@media(max-width:680px){.courier-coverage-grid{grid-template-columns:1fr}.messages-heading{padding-bottom:16px}.conversation-row{min-height:76px;padding:13px}.conversation-page .chat-card{padding:0}.conversation-heading{display:grid;padding:16px}.conversation-heading>a{justify-self:start;margin-left:58px}.conversation-security{padding:10px 16px}.chat-messages-page{height:50vh;padding:18px 14px}.chat-message>span{max-width:86%;font-size:12px}.conversation-page .chat-form{grid-template-columns:1fr;padding:12px}.conversation-page .chat-form .button{width:100%}}

/* Panel del mensajero: valoración compacta y entrega activa legible */
.stat-grid.courier-stats{grid-template-columns:repeat(3,1fr)}.courier-avatar-rating{display:grid;justify-items:center;gap:4px}.courier-rating{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:11px;color:var(--gold);line-height:1}.courier-rating>svg{width:8px;height:8px;fill:currentColor}.courier-rating small{color:var(--muted);font-size:8px;font-weight:800;white-space:nowrap}.active-price{display:inline-flex!important;align-items:baseline;gap:5px;white-space:nowrap}.active-price>span{font-size:23px}.active-price>small{display:inline!important;color:rgba(255,255,255,.74)!important;font-size:10px!important;line-height:1;text-align:left!important}.active-delivery-card .status-pill{line-height:1.35;white-space:normal}.active-route small{color:rgba(255,255,255,.76);font-size:10px;font-weight:700;letter-spacing:.035em}.active-route b{margin-top:3px;font-size:14px}.active-route p{margin-top:4px;color:rgba(255,255,255,.88);font-size:12px;line-height:1.45}
@media(max-width:680px){.courier-avatar-rating{gap:3px}.courier-rating{gap:2px}.courier-rating>svg{width:7px;height:7px}.courier-rating small{font-size:7px}.active-price>span{font-size:20px}.active-route small{font-size:9px}.active-route b{font-size:13px}.active-route p{font-size:11px}}

/* Conversación compacta */
.conversation-page{max-width:900px}.conversation-page .chat-card{box-shadow:0 16px 42px rgba(16,25,53,.09)}.conversation-heading{padding:18px 20px}.conversation-security{padding:9px 20px}.chat-messages-page{display:flex;flex-direction:column;align-items:stretch;gap:9px;height:min(58vh,560px);min-height:360px;padding:20px;overflow-y:auto}.chat-message{display:flex;flex:0 0 auto;margin:0}.chat-message.mine{justify-content:flex-end}.chat-bubble{width:fit-content;max-width:min(68%,560px);padding:9px 12px 8px;color:var(--ink);background:#fff;border:1px solid #dde2ea;border-radius:5px 15px 15px;box-shadow:0 2px 7px rgba(16,25,53,.04)}.chat-message.mine .chat-bubble{color:#fff;background:var(--navy);border-color:var(--navy);border-radius:15px 5px 15px 15px}.chat-bubble b{display:block;margin-bottom:3px;font-size:9px;line-height:1.2}.chat-bubble p{margin:0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.chat-bubble small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.2;text-align:right}.chat-message.mine .chat-bubble small{color:rgba(255,255,255,.62)}.chat-empty{margin:auto;padding:24px;color:var(--muted);font-size:11px}.conversation-page .chat-form{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 13px}.conversation-page .chat-form textarea{height:46px;min-height:46px;max-height:100px;padding:12px 14px;border-radius:12px;font-size:12px;line-height:20px}.conversation-page .chat-form .button{min-width:92px;min-height:46px;padding:0 16px;font-size:11px}
@media(max-width:680px){.conversation-heading{padding:14px}.conversation-security{padding:8px 14px;font-size:9px}.chat-messages-page{height:52vh;min-height:310px;padding:14px 11px;gap:7px}.chat-bubble{max-width:82%;padding:8px 10px}.chat-bubble p{font-size:11px}.conversation-page .chat-form{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:9px}.conversation-page .chat-form textarea{height:43px;min-height:43px;padding:10px 12px}.conversation-page .chat-form .button{width:auto!important;min-width:70px;min-height:43px;padding:0 12px}}

/* Acceso obligatorio desde la aplicación instalada */
.app-requirements-page{min-height:100vh;padding:0;background:radial-gradient(circle at 50% 0,#e8fffb 0,#f4f6fb 46%,#edf1f8 100%)}.app-requirements-page .public-header{position:absolute}.app-requirements-shell{display:grid;place-items:center;min-height:100vh;padding:92px 20px 38px}.app-requirements-card{width:min(570px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:25px;box-shadow:0 24px 70px rgba(16,25,53,.13);text-align:center}.app-requirements-mark{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;color:var(--navy);background:var(--aqua);border-radius:22px 22px 22px 8px;box-shadow:0 13px 28px rgba(66,217,199,.28)}.app-requirements-mark svg{width:34px;height:34px}.app-requirements-card h1{margin:10px 0 9px;font-size:30px}.app-requirements-intro{max-width:490px;margin:0 auto 25px;color:var(--muted);font-size:15px;line-height:1.6}.app-requirement-steps{display:grid;gap:10px;text-align:left}.app-requirement-steps article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;background:#f7f9fc;border:1px solid #e7eaf1;border-radius:15px}.app-requirement-number{display:grid;place-items:center;width:32px;height:32px;color:#fff;background:var(--navy);border-radius:10px;font-weight:800}.app-requirement-steps article>div{display:grid;gap:3px}.app-requirement-steps strong{font-size:14px}.app-requirement-steps p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.app-requirement-state{padding:6px 9px;color:#8e641c;background:#fff2d5;border-radius:12px;font-size:11px;font-weight:800}.app-requirement-state.is-complete{color:#176b50;background:#def5ea}.app-requirement-state.is-blocked{color:#a43e48;background:#fde7e9}.app-requirements-help{display:grid;gap:4px;margin:16px 0;padding:14px;color:#36547f;background:#edf3ff;border-radius:14px;text-align:left}.app-requirements-help strong{font-size:14px}.app-requirements-help p{margin:0;font-size:13px;line-height:1.5}.app-requirements-logout{margin-top:17px}.app-requirements-logout button{padding:8px;color:var(--muted);background:transparent;border:0;font-weight:700;cursor:pointer}.app-requirements-card>[hidden]{display:none!important}@media(max-width:600px){.app-requirements-shell{align-items:start;padding:82px 14px 24px}.app-requirements-card{padding:25px 17px;border-radius:21px}.app-requirements-card h1{font-size:26px}.app-requirements-intro{font-size:14px}.app-requirement-steps article{grid-template-columns:auto minmax(0,1fr);padding:13px}.app-requirement-state{grid-column:2;justify-self:start}.app-requirement-steps p{font-size:12px}}

/* Paneles plegables */
.collapsible-panel>.card-heading,.collapsible-panel>.form-card-heading,.collapsible-panel>.section-title-row,.collapsible-panel>.admin-panel-title,.collapsible-panel>.conversation-heading{gap:12px}.panel-collapse-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;margin-bottom:17px}.panel-collapse-heading>.eyebrow,.panel-collapse-heading>h2{grid-column:1;margin:0}.panel-collapse-heading>.panel-collapse-toggle{grid-column:2;grid-row:1/span 2}.panel-collapse-toggle{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin-left:auto;padding:0;color:var(--muted);background:#f3f5f8;border:1px solid #e0e4eb;border-radius:10px;cursor:pointer;transition:color .18s,background .18s,border-color .18s,transform .18s}.panel-collapse-toggle:hover{color:var(--blue);background:#edf2ff;border-color:#cfdbfb}.panel-collapse-toggle:focus-visible{outline:3px solid rgba(74,125,242,.22);outline-offset:2px}.panel-collapse-toggle svg{width:15px;height:15px;transform:rotate(90deg);transition:transform .22s ease}.is-collapsed .panel-collapse-toggle svg{transform:rotate(0)}.action-card-primary .panel-collapse-toggle{color:rgba(255,255,255,.78);background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18)}.action-card-primary .panel-collapse-toggle:hover{color:#fff;background:rgba(255,255,255,.17)}.panel-collapse-body{display:grid;grid-template-rows:1fr;min-height:0;opacity:1;transition:grid-template-rows .24s ease,opacity .18s ease}.panel-collapse-inner{min-height:0;overflow:visible}.is-collapsed>.panel-collapse-body{grid-template-rows:0fr;opacity:0}.is-collapsed>.panel-collapse-body>.panel-collapse-inner{overflow:hidden}.collapsible-panel.is-collapsed>.card-heading,.collapsible-panel.is-collapsed>.form-card-heading,.collapsible-panel.is-collapsed>.section-title-row,.collapsible-panel.is-collapsed>.admin-panel-title,.collapsible-panel.is-collapsed>.conversation-heading,.collapsible-panel.is-collapsed>.panel-collapse-heading{margin-bottom:0}.content-section.is-collapsed{padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft)}.profile-form>.panel-collapse-body>.panel-collapse-inner{display:grid;gap:18px}.admin-decision>.panel-collapse-body>.panel-collapse-inner,.admin-password-reset>.panel-collapse-body>.panel-collapse-inner{display:grid;gap:10px}.chat-card>.panel-collapse-body>.panel-collapse-inner{display:block}.form-card-heading>.panel-collapse-toggle,.card-heading>.panel-collapse-toggle,.section-title-row>.panel-collapse-toggle,.admin-panel-title>.panel-collapse-toggle,.conversation-heading>.panel-collapse-toggle{order:99}
@media(max-width:680px){.panel-collapse-toggle{flex-basis:29px;width:29px;height:29px;border-radius:9px}.panel-collapse-toggle svg{width:13px;height:13px}.content-section.is-collapsed{padding:12px 13px}.conversation-heading>.panel-collapse-toggle{position:absolute;top:12px;right:12px}.conversation-heading{position:relative;padding-right:52px}}

/* Mensajes definidos y próximos entre sí */
.chat-messages-page{gap:4px}.chat-message{padding:0}.chat-bubble{padding:8px 11px 7px;background:#fff;border:1.5px solid #c8d0dc;box-shadow:0 1px 3px rgba(16,25,53,.04)}.chat-message.mine .chat-bubble{background:#172344;border:1.5px solid #34518f;box-shadow:none}.chat-bubble b{margin-bottom:2px}.chat-bubble small{margin-top:3px}.chat-message+.chat-message{margin-top:1px}.chat-message.mine+.chat-message.theirs,.chat-message.theirs+.chat-message.mine{margin-top:7px}
@media(max-width:680px){.chat-messages-page{gap:3px}.chat-bubble{padding:7px 9px 6px}.chat-message.mine+.chat-message.theirs,.chat-message.theirs+.chat-message.mine{margin-top:5px}}

/* Plegado discreto, únicamente en los paneles de pedidos */
.dashboard-shell>.content-section .panel-collapse-toggle{flex-basis:27px;width:27px;height:27px;color:#9aa3b3;background:transparent;border:0;border-radius:50%;opacity:.68}.dashboard-shell>.content-section .panel-collapse-toggle:hover{color:var(--navy);background:rgba(16,25,53,.055);opacity:1}.dashboard-shell>.content-section .panel-collapse-toggle:focus-visible{outline:2px solid rgba(74,125,242,.2);outline-offset:1px}.dashboard-shell>.content-section .panel-collapse-toggle>span{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(225deg) translate(-1px,-1px);transition:transform .2s ease}.dashboard-shell>.content-section.is-collapsed .panel-collapse-toggle>span{transform:rotate(45deg) translate(-1px,-1px)}
@media(max-width:680px){.dashboard-shell>.content-section .panel-collapse-toggle{flex-basis:25px;width:25px;height:25px}}

/* Identidad visual en el chat */
.conversation-avatar{overflow:hidden}.conversation-avatar img,.chat-message-avatar img{width:100%;height:100%;object-fit:cover}.chat-message{align-items:flex-end;gap:7px}.chat-message.mine{flex-direction:row-reverse}.chat-message-avatar{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;overflow:hidden;color:#66728a;background:#e7ebf2;border:1px solid #d3d9e3;border-radius:50%}.chat-message-avatar svg{width:13px;height:13px}.chat-message.mine .chat-message-avatar{color:#fff;background:#34518f;border-color:#34518f}.chat-bubble{max-width:min(68%,530px)}.chat-bubble p{margin:0}.chat-message.mine+.chat-message.mine,.chat-message.theirs+.chat-message.theirs{margin-top:0}
@media(max-width:680px){.chat-message{gap:5px}.chat-message-avatar{flex-basis:24px;width:24px;height:24px}.chat-message-avatar svg{width:11px;height:11px}.chat-bubble{max-width:calc(84% - 29px)}}

/* Límites estrictos para que las fotos nunca deformen la conversación */
.chat-message-avatar{box-sizing:border-box;flex:0 0 28px!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0!important;overflow:hidden!important;border-radius:50%!important}.chat-message-avatar img{display:block!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;margin:0!important;padding:0!important;object-fit:cover!important;border-radius:50%!important}.chat-message{min-height:28px;align-items:flex-end!important}.chat-bubble{align-self:flex-end;height:auto!important;min-height:0!important;max-height:none!important}.conversation-avatar img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:680px){.chat-message-avatar{flex-basis:24px!important;width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important}.chat-message-avatar img{width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important}.chat-message{min-height:24px}}

/* Lados fijos por participante y superficie verde */
.chat-messages-page{background:#edf8f3}.chat-message.business-message{justify-content:flex-start;flex-direction:row}.chat-message.courier-message{justify-content:flex-end;flex-direction:row-reverse}.chat-message.business-message .chat-bubble{color:var(--ink);background:#fff;border-color:#b9d8cd}.chat-message.courier-message .chat-bubble{color:#fff;background:#176b5b;border-color:#176b5b}.chat-message.courier-message .chat-bubble small{color:rgba(255,255,255,.7)}.chat-message.business-message .chat-message-avatar{color:#287767;background:#dff2eb;border-color:#b9d8cd}.chat-message.courier-message .chat-message-avatar{color:#fff;background:#176b5b;border-color:#176b5b}.chat-message.business-message+.chat-message.courier-message,.chat-message.courier-message+.chat-message.business-message{margin-top:7px}.conversation-security{background:#e3f5ee;border-color:#c5e7db}
@media(max-width:680px){.chat-message.business-message+.chat-message.courier-message,.chat-message.courier-message+.chat-message.business-message{margin-top:5px}}

/* Alineación inequívoca y tipografía legible */
.chat-message.business-message{width:100%!important;margin-right:auto!important;margin-left:0!important;justify-content:flex-start!important;flex-direction:row!important}.chat-message.courier-message{width:100%!important;margin-right:0!important;margin-left:auto!important;justify-content:flex-start!important;flex-direction:row-reverse!important}.chat-message.business-message .chat-bubble{margin-right:auto;margin-left:0}.chat-message.courier-message .chat-bubble{margin-right:0;margin-left:0}.chat-bubble{padding:10px 13px 9px}.chat-bubble p{font-size:15px;line-height:1.45}.chat-bubble small{margin-top:5px;font-size:11px;line-height:1.25}.conversation-page .chat-form textarea{font-size:14px}.conversation-page .chat-form .button{font-size:13px}
@media(max-width:680px){.chat-bubble{padding:9px 11px 8px}.chat-bubble p{font-size:14px}.chat-bubble small{font-size:10px}.conversation-page .chat-form textarea{font-size:14px}.conversation-page .chat-form .button{font-size:12px}}

/* Origen visual de cada respuesta */
.chat-message.business-message .chat-bubble{border-radius:4px 15px 15px 15px}.chat-message.courier-message .chat-bubble{border-radius:15px 4px 15px 15px}.chat-bubble small{font-size:9px;opacity:.82}.chat-message.business-message .chat-bubble small{text-align:left}.chat-message.courier-message .chat-bubble small{text-align:right}
@media(max-width:680px){.chat-bubble small{font-size:8px}.chat-message.business-message .chat-bubble{border-radius:4px 13px 13px 13px}.chat-message.courier-message .chat-bubble{border-radius:13px 4px 13px 13px}}

/* Posición relativa a quien está usando el chat */
.chat-message.mine{width:100%!important;margin-right:auto!important;margin-left:0!important;justify-content:flex-start!important;flex-direction:row!important}.chat-message.theirs{width:100%!important;margin-right:0!important;margin-left:auto!important;justify-content:flex-start!important;flex-direction:row-reverse!important}.chat-message.mine .chat-bubble{margin-right:auto!important;margin-left:0!important;border-radius:4px 15px 15px 15px}.chat-message.theirs .chat-bubble{margin-right:0!important;margin-left:0!important;border-radius:15px 4px 15px 15px}.chat-message.mine .chat-bubble small{text-align:left}.chat-message.theirs .chat-bubble small{text-align:right}
@media(max-width:680px){.chat-message.mine .chat-bubble{border-radius:4px 13px 13px 13px}.chat-message.theirs .chat-bubble{border-radius:13px 4px 13px 13px}}

/* Hora breve al final del mensaje, como en las conversaciones móviles */
.chat-bubble p{display:inline}.chat-bubble small{display:inline-block;margin:0 0 0 8px;vertical-align:baseline;white-space:nowrap;font-size:9px;line-height:1;opacity:.78}
@media(max-width:680px){.chat-bubble small{margin-left:7px;font-size:8px}}

/* Marca de agua de EnRuta y burbujas limpias junto a cada foto */
.chat-messages-page{position:relative;isolation:isolate}.chat-watermark{position:absolute;z-index:0;top:50%;left:50%;display:flex;align-items:center;gap:10px;color:#176b5b;opacity:.075;transform:translate(-50%,-50%);pointer-events:none;user-select:none}.chat-watermark span{display:grid;place-items:center;width:54px;height:54px;border:2px solid currentColor;border-radius:17px}.chat-watermark svg{width:30px;height:30px}.chat-watermark b{font-family:"Manrope",sans-serif;font-size:34px;letter-spacing:-.045em}.chat-message,.chat-empty{position:relative;z-index:1}.chat-message.mine .chat-bubble{border-radius:14px 14px 14px 7px!important}.chat-message.theirs .chat-bubble{border-radius:14px 14px 7px 14px!important}.chat-message .chat-bubble::after{content:none!important}
@media(max-width:680px){.chat-watermark{gap:7px}.chat-watermark span{width:42px;height:42px;border-radius:13px}.chat-watermark svg{width:23px;height:23px}.chat-watermark b{font-size:27px}.chat-message.mine .chat-bubble{border-radius:13px 13px 13px 7px!important}.chat-message.theirs .chat-bubble{border-radius:13px 13px 7px 13px!important}}

/* Confirmación visual en los pedidos ya entregados */
.package-mark{position:relative}.package-mark-in-transit{color:#7653c5;background:#f0ebff}.package-mark-in-transit svg{width:23px;height:23px}.package-mark-delivered{color:#23845f;background:#e8f8f1}.package-mark-delivered::after{content:"✓";position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:18px;height:18px;color:#fff;background:#24a26f;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 6px rgba(36,162,111,.25);font-size:10px;font-weight:900;line-height:1}
@media(max-width:680px){.package-mark-delivered::after{top:-4px;right:-4px;width:17px;height:17px;font-size:9px}}

/* Control de disponibilidad más visible y comprensible */
.courier-welcome>form{flex:0 0 auto}.availability{min-width:220px;min-height:64px;padding:11px 16px;gap:12px;border-radius:16px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.availability:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(16,25,53,.08)}.availability>svg{display:block;flex:0 0 34px;width:34px;height:34px;padding:8px;border-radius:11px}.availability.online{border-color:#bde7d7}.availability.online>svg{color:#16845d;background:#e5f7f0}.availability.offline{border-color:#e1d6c7}.availability.offline>svg{color:#9a6b35;background:#fff4e5}.availability span{gap:2px}.availability b{font-size:14px}.availability small{max-width:155px;font-size:10px;line-height:1.35}.availability>i{display:none}
.availability{min-width:330px;text-align:left}.availability span{flex:1;min-width:0}.availability span small{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.08em}.availability span b{font-size:12px;white-space:nowrap}.availability-action{flex:0 0 auto;margin-left:auto;padding:7px 10px;color:var(--navy);background:#eef2f8;border-radius:9px;font-size:10px;font-style:normal;font-weight:800}.availability.online .availability-action{color:#b43d49;background:#fdebed}.availability.offline .availability-action{color:#fff;background:var(--navy)}
.availability .availability-status{display:block!important;visibility:visible!important;opacity:1!important;margin-top:2px;color:#176b50!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;white-space:normal!important}.availability.offline .availability-status{color:#925a24!important}
.courier-pickup-zones{align-items:flex-start!important;max-width:650px;line-height:1.45}.courier-pickup-zones svg{flex:0 0 18px;margin-top:1px}.courier-pickup-zones span{min-width:0}.courier-pickup-zones b{font-family:inherit;font-weight:700}

/* La bienvenida se alinea con la foto, sin contar la puntuacion inferior */
.courier-identity{align-items:flex-start}
.courier-identity>div:last-child{display:grid;align-content:start;padding-top:2px}
.courier-identity h1{margin-top:0}
.courier-pickup-zones .icon{flex:0 0 14px;width:14px;height:14px;margin-top:1px}
@media(max-width:680px){.courier-identity>div:last-child{padding-top:1px}.courier-pickup-zones .icon{flex-basis:13px;width:13px;height:13px}}
@media(max-width:1100px),(hover:none) and (pointer:coarse){
  .courier-welcome{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:18px}
  .courier-welcome>form{display:block;justify-self:stretch;width:100%;min-width:0;max-width:none;margin:0}
  .courier-welcome>form>.availability{-webkit-appearance:none;appearance:none;display:flex;box-sizing:border-box;width:100%!important;max-width:none;min-width:0;min-height:76px;margin:0;padding:13px 15px;color:var(--ink)!important;background:#fff!important;border-style:solid}
  .availability>svg{flex-basis:40px;width:40px;height:40px;padding:9px}
  .availability small{max-width:none}
  .availability span b{font-size:15px!important;white-space:normal}
  .availability-action{display:grid;place-items:center;min-width:76px;min-height:42px;padding:9px 13px;font-size:13px!important}
  .availability.offline .availability-action{color:#fff;background:#17875f}
  .availability.online .availability-action{color:#a83242;background:#fde7ea}
}

/* Confirmación interna de EnRuta */
.app-confirm-dialog{width:min(460px,calc(100% - 24px));padding:0;overflow:visible;background:transparent;border:0}.app-confirm-dialog::backdrop{background:rgba(10,17,37,.56);backdrop-filter:blur(3px)}.app-confirm-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;padding:26px;background:#fff;border:1px solid rgba(255,255,255,.55);border-radius:20px;box-shadow:0 24px 70px rgba(10,17,37,.25)}.app-confirm-icon{display:grid;place-items:center;width:48px;height:48px;color:#fff;background:#176b5b;border-radius:14px;font-size:22px;font-weight:900}.app-confirm-copy{min-width:0}.app-confirm-copy>small{color:#23845f;font-size:12px!important;font-weight:800;letter-spacing:.11em}.app-confirm-copy h2{margin:5px 0 9px;font-size:24px;letter-spacing:-.03em}.app-confirm-copy p{margin:0;color:var(--text);font-size:16px;line-height:1.55}.app-confirm-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:7px}.app-confirm-actions .button{min-height:52px;font-size:16px}
@media(max-width:600px){.app-confirm-card{gap:13px;padding:22px 18px}.app-confirm-icon{width:44px;height:44px}.app-confirm-copy h2{font-size:22px}.app-confirm-copy p{font-size:16px}.app-confirm-actions .button{min-height:54px;font-size:16px}}
.app-confirm-dialog.is-danger .app-confirm-icon{background:var(--red)}.app-confirm-dialog.is-danger .app-confirm-copy>small{color:var(--red)}.app-confirm-dialog.is-danger [data-confirm-accept]{color:#fff;background:var(--red);border-color:var(--red)}
@media(max-width:520px){.app-confirm-card{padding:20px}.app-confirm-icon{width:40px;height:40px;border-radius:12px}.app-confirm-copy h2{font-size:18px}.app-confirm-actions{grid-template-columns:1fr}.app-confirm-actions [data-confirm-accept]{grid-row:1}.app-confirm-actions [data-confirm-cancel]{grid-row:2}}

/* Acabado visual del chat: fondo con patrón y burbujas sin contorno */
.chat-messages-page{background-color:#d9ebe4!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='132' viewBox='0 0 210 132'%3E%3Cg fill='none' stroke='%23176b5b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.07'%3E%3Ccircle cx='27' cy='35' r='3'/%3E%3Ccircle cx='49' cy='15' r='3'/%3E%3Cpath d='M30 35h7a6 6 0 0 0 0-12h-3a6 6 0 0 1 0-12h12'/%3E%3C/g%3E%3Ctext x='114' y='91' fill='%23176b5b' fill-opacity='.06' font-family='Arial,sans-serif' font-size='16' font-weight='700'%3EEnRuta%3C/text%3E%3C/svg%3E")!important;background-size:210px 132px!important}.chat-watermark{display:none!important}.chat-message .chat-bubble{border:0!important}.chat-message.business-message .chat-bubble{background:#fff!important;box-shadow:0 2px 7px rgba(22,73,61,.08)}.chat-message.courier-message .chat-bubble{background:#3b927e!important;box-shadow:0 2px 7px rgba(22,73,61,.1)}.chat-message.courier-message .chat-bubble small{color:rgba(255,255,255,.78)}.chat-message.courier-message .chat-message-avatar{background:#3b927e;border-color:#3b927e}
@media(max-width:680px){.chat-messages-page{background-size:180px 113px!important}}

/* La fotografía del mensajero se presenta siempre como avatar circular */
.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.courier-photo-upload .photo-preview{border-radius:50%}.courier-photo-upload .photo-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.image-editor.image-editor-avatar .image-editor-stage{width:min(100%,470px);aspect-ratio:1;margin-inline:auto;border-radius:50%}.image-editor.image-editor-avatar canvas{width:100%;height:100%;max-height:none;border-radius:50%}.conversation-avatar.courier-photo-avatar{border-radius:50%}.conversation-avatar.courier-photo-avatar img{border-radius:50%}.admin-doc-grid .courier-face-doc img{justify-self:center;width:210px;max-width:100%;aspect-ratio:1;height:auto;object-fit:cover;border-radius:50%}
@media(max-width:680px){.image-editor.image-editor-avatar .image-editor-stage{width:min(100%,390px)}}

/* El chat utiliza todo el ancho disponible en móvil */
@media(max-width:680px){.messages-shell.conversation-page{width:100%!important;max-width:none!important;padding-top:12px}.conversation-page>.back-link{margin-left:14px}.conversation-page .chat-card{border-right:0;border-left:0;border-radius:0}.conversation-heading h1{margin-top:0}}

/* Cabecera compacta y compositor siempre accesible en el chat móvil */
@media(max-width:680px){.messages-shell.conversation-page{padding-top:0}.conversation-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;padding:12px 13px!important}.conversation-heading>div{flex:1 1 auto;min-width:0;gap:9px}.conversation-heading .conversation-avatar{flex:0 0 40px;width:40px;height:40px}.conversation-heading h1{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.conversation-heading p{font-size:9px}.conversation-heading>a{flex:0 0 auto;justify-self:auto;margin-left:0!important;padding:8px 9px!important;font-size:9px;white-space:nowrap}}

/* La cabecera del chat permanece visible durante toda la conversación */
@media(max-width:680px){.conversation-page .chat-card{overflow:visible}.conversation-heading{position:sticky;z-index:34;top:calc(62px + env(safe-area-inset-top));background:#fff;box-shadow:0 3px 12px rgba(16,25,53,.045)}.conversation-security{position:sticky;z-index:33;top:calc(126px + env(safe-area-inset-top));background:#e3f5ee!important}}

/* El compositor del chat queda pegado justo encima de la barra inferior */
@media(max-width:680px){
  .messages-shell.conversation-page{display:flex;flex-direction:column;min-height:calc(100vh - 62px - 64px)}
  .conversation-page .chat-card{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
  .conversation-page .chat-messages-page{flex:1 1 auto;height:auto;min-height:0}
  .conversation-page .chat-form{flex:0 0 auto}
}

/* Mis pedidos se alinea con el resto de la navegación móvil */
@media(max-width:680px){.mobile-orders-action{top:0!important;color:var(--muted)!important}.mobile-orders-action>span{display:grid;width:22px;height:22px;color:inherit;background:transparent;border:0;border-radius:0;box-shadow:none}.mobile-orders-action>span svg{width:22px;height:22px}.mobile-orders-action>small{font-size:9px;font-weight:600}.mobile-orders-action.active{color:var(--navy)!important}}

/* El regreso al listado se conserva en escritorio y se oculta en móvil */
@media(max-width:680px){.conversation-back-link{display:none!important}}

/* Entrega actual contextual: solo destaca el siguiente paso útil */
.active-delivery-card{grid-template-columns:minmax(180px,.58fr) minmax(320px,1.35fr) minmax(190px,.64fr);gap:22px}
.active-focus{display:flex;align-items:flex-start;gap:15px;min-width:0;padding:7px 3px;background:transparent;border:0;border-radius:0}
.active-step-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;color:var(--navy);background:var(--aqua);border-radius:12px}
.active-step-icon svg{width:20px;height:20px}
.active-step-copy{min-width:0}.active-step-copy>small{display:block;margin-bottom:3px;color:var(--aqua);font-size:9px;font-weight:800;letter-spacing:.1em}.active-step-copy h3{margin:0 0 9px;color:#fff;font-size:16px;letter-spacing:-.02em}
.active-location{display:grid}.active-location>span{color:rgba(255,255,255,.58);font-size:9px;font-weight:700;text-transform:uppercase}.active-location b{margin-top:2px;color:#fff;font-size:13px}.active-location p{margin:2px 0 0;color:rgba(255,255,255,.78);font-size:11px;line-height:1.4}
.active-delivery-meta{display:flex;align-items:flex-start;gap:24px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.13)}.active-delivery-meta>div{min-width:0;padding:0;background:transparent;border-radius:0}.active-delivery-meta span{display:block;margin-bottom:3px;color:rgba(255,255,255,.56);font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.active-delivery-meta b{color:#fff;font-size:11px}.active-delivery-meta p{margin:0;color:rgba(255,255,255,.84);font-size:10px;line-height:1.45;overflow-wrap:anywhere}.active-delivery-note{flex:1}
.active-guidance{margin:8px 0 0;color:rgba(255,255,255,.68);font-size:10px;line-height:1.45}.active-stage-review .active-step-icon{color:#176b5b;background:#dff6ed}.active-stage-review .active-focus{background:transparent;border:0}
.assigned-contact{display:grid;justify-items:start;gap:2px;min-width:0;text-align:left}.assigned-contact>b{max-width:145px;overflow:hidden;color:var(--text);font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.assigned-phone{display:flex;align-items:center;gap:3px;color:var(--blue);font-size:9px;font-weight:700;white-space:nowrap}.assigned-phone svg{width:10px;height:10px}.business-order-card{padding-block:19px}.business-order-profile{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:16px}.business-order-photo{display:grid;place-items:center;width:92px;height:72px;overflow:hidden;color:var(--blue);background:var(--canvas);border-radius:12px}.business-order-photo img{width:100%;height:100%;object-fit:cover}.business-order-photo svg{width:26px;height:26px}.business-order-copy{display:grid;min-width:0}.business-order-label{margin-bottom:3px;color:var(--green);font-size:8px;font-weight:800;letter-spacing:.09em}.business-order-copy h2{margin:0;font-size:17px}.business-order-copy>p{margin:4px 0 0;color:var(--muted);font-size:10px}.business-order-meta{display:flex;align-items:center;gap:10px;margin-top:8px;color:var(--text);font-size:9px}.business-order-meta>span{display:inline-flex;align-items:center;gap:4px}.business-order-meta svg{width:11px;height:11px}.business-order-rating svg{color:var(--gold);fill:currentColor}.business-order-phone{display:inline-flex;align-items:center;gap:6px;padding:5px;color:var(--ink);background:transparent;font-size:12px;font-weight:800;white-space:nowrap}.business-order-phone svg{width:15px;height:15px;color:var(--green)}.business-order-phone:hover{color:#246f61}
.active-actions .button{min-height:48px;padding-inline:16px;color:var(--navy);background:#fff;box-shadow:none}.active-actions .button:hover{background:#f2f6ff}
.active-top-price-only{justify-items:end}
@media(min-width:901px){.active-stage-pickup .active-focus{grid-column:1/3}.active-stage-pickup .active-actions{grid-column:3}}
@media(max-width:900px){.active-delivery-card{grid-template-columns:1fr 1.5fr}.active-actions{grid-column:1/-1}.active-actions .button{width:100%}}
@media(max-width:680px){.active-delivery-card{grid-template-columns:1fr;gap:13px;padding:17px}.active-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.active-stage-pickup .active-focus{padding-top:0}.active-focus{padding:5px 2px}.active-step-icon{flex-basis:38px;width:38px;height:38px}.active-step-copy h3{font-size:15px}.active-location b{font-size:13px}.active-delivery-meta{display:grid;grid-template-columns:1fr;gap:10px}.active-delivery-meta>div{grid-column:auto!important}.active-delivery-note{margin-top:6px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.active-actions{grid-column:auto}.active-actions .button{min-height:46px}.business-order-card{padding-block:15px}.business-order-profile{grid-template-columns:72px minmax(0,1fr);align-items:start;gap:11px}.business-order-photo{grid-row:1/span 2;width:72px;height:60px;border-radius:10px}.business-order-copy h2{font-size:15px}.business-order-meta{flex-wrap:wrap;gap:5px 9px;margin-top:6px}.business-order-phone{grid-column:2;justify-self:start;width:auto;height:auto;margin-top:1px;padding:3px 0}.business-order-phone svg{width:14px;height:14px}}

/* Validación clara y nota privada en la evidencia de entrega */
.delivery-upload-field{border:1px solid transparent;transition:border-color .18s,background .18s,box-shadow .18s}.delivery-upload-field>span i{color:var(--red);font-style:normal}.delivery-upload-field.is-missing{background:#fff1f2;border-color:#e65c66;box-shadow:0 0 0 3px rgba(221,76,87,.14)}.delivery-upload-field.is-missing>span,.delivery-upload-field.is-missing .delivery-field-error{color:#b72f3b}.delivery-upload-field.is-missing input{border-color:#e65c66}.delivery-field-error{font-size:9px!important;font-style:normal;font-weight:700}.delivery-field-error[hidden]{display:none}.delivery-note-field{display:grid;gap:6px;margin:12px 0 15px;color:#fff}.delivery-note-field>span{font-size:11px}.delivery-note-field>span i{color:rgba(255,255,255,.58);font-style:normal;font-weight:500}.delivery-note-field textarea{min-height:82px;padding:11px 12px;color:var(--ink);background:#fff;border-radius:11px;resize:vertical}.delivery-note-field>small{color:rgba(255,255,255,.58);font-size:8px;font-weight:500}.evidence-note{margin-top:14px;padding:13px 15px;background:#f2f8f5;border:1px solid #d9ebe3;border-radius:12px}.evidence-note small{color:#297663;font-size:9px;font-weight:800;letter-spacing:.08em}.evidence-note p{margin:5px 0 0;color:var(--text);font-size:12px;line-height:1.5;white-space:pre-wrap}

/* Evidencias visuales: selección directa, vista previa y formas diferenciadas */
.delivery-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;margin:9px 0 12px}
.delivery-upload-grid .delivery-upload-field{position:relative;display:grid;justify-items:center;gap:3px;min-width:0;padding:5px 2px;text-align:center;background:transparent;border:0;border-radius:0;cursor:pointer;transition:none}
.delivery-upload-title{min-height:22px;color:#fff;font-size:9px!important;line-height:1.25}
.delivery-photo-preview{display:grid;place-items:center;width:min(68px,100%);aspect-ratio:1;overflow:hidden;color:var(--aqua);background:transparent;border:1px solid rgba(66,217,199,.62);transition:border-color .18s,background .18s}
.delivery-photo-preview-circle{border-radius:50%}.delivery-photo-preview-square{border-radius:12px}
.delivery-photo-preview>b{font-size:20px;font-weight:400;line-height:1}.delivery-photo-preview img{display:block;width:100%;height:100%}.delivery-upload-proof .delivery-photo-preview img{object-fit:cover}.delivery-upload-identity .delivery-photo-preview img{padding:3px;object-fit:contain;background:#fff}
.delivery-photo-input{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;opacity:0!important;pointer-events:none;clip:rect(0,0,0,0)}
.delivery-upload-field:focus-within .delivery-photo-preview,.delivery-upload-field:hover .delivery-photo-preview{background:rgba(66,217,199,.07);border-color:var(--aqua)}
.delivery-upload-field.has-photo .delivery-photo-preview{background:transparent;border-style:solid;border-color:#58b993}.delivery-upload-field.has-photo::after{content:"✓";position:absolute;top:24px;right:calc(50% - 41px);display:grid;place-items:center;width:17px;height:17px;color:#fff;background:#2aa475;border:2px solid var(--navy);border-radius:50%;font-size:8px;font-weight:900}
.delivery-upload-grid .delivery-upload-field>small{min-height:10px;color:rgba(255,255,255,.62);font-size:7px;line-height:1.2}.delivery-upload-field .image-edit-status{display:none}
.delivery-upload-grid .delivery-upload-field.is-missing{background:transparent;border-color:transparent;box-shadow:none}.delivery-upload-field.is-missing .delivery-photo-preview{background:rgba(230,92,102,.06);border-color:#e65c66}.delivery-upload-field.is-missing .delivery-upload-title,.delivery-upload-field.is-missing .delivery-field-error{color:#ff9ca3}
@media(max-width:380px){.delivery-upload-grid{gap:6px}.delivery-upload-grid .delivery-upload-field{padding-inline:1px}.delivery-photo-preview{width:min(62px,100%)}.delivery-upload-field.has-photo::after{right:calc(50% - 38px)}}

/* La identidad permanece en la cabecera; las burbujas aprovechan todo el ancho */
.chat-message{gap:0}.chat-message .chat-bubble{max-width:min(76%,590px)}
@media(max-width:680px){.chat-message .chat-bubble{max-width:88%}}

/* Navegación móvil compacta, manteniendo objetivos táctiles cómodos */
@media(max-width:680px){
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .mobile-nav{align-items:center;height:calc(62px + env(safe-area-inset-bottom));padding:4px max(14px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));box-shadow:0 -3px 14px rgba(24,33,58,.055)}
  .mobile-nav>a{align-content:center;gap:1px;min-height:44px;font-size:8px;transform:translateY(6px)}
  .mobile-nav>a>svg{width:22px;height:22px}
  .mobile-main-action{top:0}
  .mobile-main-action:not(.mobile-orders-action)>span{width:34px;height:34px;border:0;border-radius:11px;box-shadow:0 4px 10px rgba(16,25,53,.16)}
  .mobile-main-action:not(.mobile-orders-action)>span svg{width:20px;height:20px}
  .mobile-main-action small{font-size:8px}
  .mobile-orders-action>span,.mobile-orders-action>span svg{width:22px;height:22px}
}

/* Barra inferior estrictamente fija: mismo alto en Safari y en la app instalada */
@media(max-width:680px){
  body{padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))!important}
  .mobile-nav{position:fixed!important;z-index:100!important;inset:auto 0 0 0!important;width:100%!important;height:calc(65px + env(safe-area-inset-bottom,0px))!important;min-height:calc(65px + env(safe-area-inset-bottom,0px))!important;max-height:calc(65px + env(safe-area-inset-bottom,0px))!important;margin:0!important;padding:4px max(14px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px))!important;align-items:center!important;background:#fff!important;box-sizing:border-box!important;transform:none!important;-webkit-transform:none!important;transition:none!important;backface-visibility:hidden;-webkit-backface-visibility:hidden;isolation:isolate}
  .mobile-nav::after{content:none!important}
  .mobile-nav>a{min-height:44px!important;transform:none!important}
  .install-banner{bottom:calc(77px + env(safe-area-inset-bottom,0px))!important}
}

/* Jerarquía clara en el centro de mensajes */
.conversation-title-line{display:flex;align-items:baseline;gap:9px;min-width:0}.conversation-title-line>b{min-width:0;overflow:hidden;color:#111827!important;font-size:16px!important;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.conversation-copy>.conversation-title-line>span{flex:0 0 auto;margin:0;color:var(--blue);font-size:10px;font-weight:700}.conversation-copy>small{margin-top:6px!important;color:#4d586f!important;font-size:12px!important;line-height:1.35}
@media(max-width:680px){.conversation-title-line{gap:7px}.conversation-title-line>b{font-size:15px!important}.conversation-copy>.conversation-title-line>span{font-size:9px}.conversation-copy>small{font-size:12px!important}}

/* La cabecera principal permanece fija y respeta la zona segura del dispositivo */
.app-header,.public-header{position:fixed!important;z-index:110;top:0;right:0;left:0;padding-top:env(safe-area-inset-top,0px);transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;contain:paint;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.app-header{background:#fff;box-shadow:0 1px 0 rgba(222,227,238,.9)}
.public-header:not(.auth-header){background:#101935;border-bottom:1px solid rgba(255,255,255,.1)}
.public-header.auth-header{background:#fff;border-bottom:1px solid rgba(222,227,238,.9)}
.has-app-header{padding-top:calc(72px + env(safe-area-inset-top,0px))}
@media(max-width:680px){html,body{overscroll-behavior-y:none}.has-app-header{padding-top:calc(62px + env(safe-area-inset-top,0px))!important}}

/* Compositor móvil del chat: siempre visible sobre la navegación inferior */
@media(max-width:680px){
  .chat-screen{padding-bottom:calc(125px + env(safe-area-inset-bottom,0px))!important}
  .chat-screen .conversation-page .chat-card{margin-bottom:60px}
  .chat-screen .conversation-page .chat-form{position:fixed!important;z-index:99!important;right:0!important;bottom:calc(65px + env(safe-area-inset-bottom,0px))!important;left:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;align-items:center!important;gap:6px!important;width:100%!important;height:60px!important;margin:0!important;padding:8px max(10px,env(safe-area-inset-right,0px)) 8px max(10px,env(safe-area-inset-left,0px))!important;background:#fff!important;border-top:1px solid var(--line)!important;box-shadow:0 -4px 18px rgba(16,25,53,.08)!important;transform:translate3d(0,0,0)!important;-webkit-transform:translate3d(0,0,0)!important;backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important}
  .chat-screen .conversation-page .chat-form textarea{width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:11px 13px!important;font-size:16px!important;line-height:20px!important;resize:none!important}
  .chat-screen .conversation-page .chat-form .button{justify-self:end;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:10px!important}
  .chat-screen .conversation-page .chat-form .button svg{width:16px;height:16px}
  .chat-screen .conversation-page .chat-messages-page{padding-bottom:74px!important;scroll-padding-bottom:74px}
}

/* El contenido del chat rellena hasta el compositor sin alterar la navegación */
@media(max-width:680px){
  .chat-screen .conversation-page .chat-card{position:fixed!important;z-index:20;top:calc(62px + env(safe-area-inset-top,0px));right:0;bottom:calc(125px + env(safe-area-inset-bottom,0px));left:0;display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;overflow:visible!important;border-radius:0!important}
  .chat-screen .conversation-heading,.chat-screen .conversation-security{position:relative!important;top:auto!important;flex:0 0 auto}
  .chat-screen .conversation-page .chat-messages-page{flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:14px 11px!important;overflow-y:auto!important;scroll-padding-bottom:14px}
}

/* Solicitud interna de cambios protegidos del perfil */
.profile-change-open{margin-top:15px;padding-inline:12px;font-size:11px}.profile-change-dialog{width:min(500px,calc(100% - 28px));padding:0;overflow:visible;background:transparent;border:0}.profile-change-dialog::backdrop{background:rgba(10,17,37,.58)}.profile-change-card{display:grid;gap:16px;padding:24px;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(10,17,37,.28)}.profile-change-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.profile-change-heading h2{margin:7px 0 0;font-size:21px}.profile-change-heading>button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;color:var(--muted);background:var(--canvas);border:0;border-radius:10px;font-size:22px;cursor:pointer}.profile-change-card>p{margin:-5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.profile-change-card label{display:grid;gap:6px;font-size:12px;font-weight:700}.profile-change-card textarea{min-height:100px;resize:vertical}.profile-change-card label small{color:var(--muted);font-size:9px;font-weight:500}.profile-change-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.profile-change-actions .button{padding-inline:12px}
@media(max-width:520px){.profile-change-card{gap:14px;padding:19px}.profile-change-heading h2{font-size:18px}.profile-change-actions{grid-template-columns:1fr}.profile-change-actions .button-primary{grid-row:1}}
.admin-change-requests{display:grid;gap:11px}.admin-change-requests article{display:grid;gap:7px;padding:13px;background:#f7f8fb;border:1px solid var(--line);border-radius:11px}.admin-change-requests article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.admin-change-requests b{font-size:13px}.admin-change-requests p{margin:0;color:var(--text);font-size:12px;line-height:1.5;white-space:pre-wrap}.admin-change-requests small{color:var(--muted);font-size:10px}
.profile-availability-card{padding:17px!important}.profile-availability-card h2{margin:0 0 6px}.profile-availability-card>p{margin:0 0 13px;color:var(--muted);font-size:10px;line-height:1.5}.profile-availability-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 11px;color:var(--ink);text-align:left;background:var(--canvas);border:0;border-radius:11px;cursor:pointer}.profile-availability-toggle>span{display:grid;gap:2px}.profile-availability-toggle b{font-size:11px}.profile-availability-toggle small{color:var(--muted);font-size:8px}.profile-availability-toggle>i{position:relative;flex:0 0 36px;width:36px;height:20px;background:#c7cdd8;border-radius:20px;transition:background .18s}.profile-availability-toggle>i::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:transform .18s}.profile-availability-toggle>i.active{background:var(--green)}.profile-availability-toggle>i.active::after{transform:translateX(16px)}.profile-availability-toggle:focus-visible{outline:3px solid rgba(74,125,242,.2);outline-offset:2px}

/* Lectura más cómoda únicamente en los detalles del pedido */
.detail-shell .back-link{font-size:12px}.detail-shell .status-pill{font-size:11px}.detail-shell .detail-heading p{font-size:13px}.detail-shell .detail-price small{font-size:9px}.detail-shell .card-heading h2{font-size:18px}.detail-shell .card-heading p{font-size:12px;line-height:1.4}.detail-shell .large-route small,.detail-shell .info-grid small,.detail-shell .contact-item small,.detail-shell .recipient-box small{font-size:10px}.detail-shell .large-route b{font-size:15px}.detail-shell .large-route p{font-size:13px}.detail-shell .info-grid b,.detail-shell .contact-item b{font-size:13px}.detail-shell .contact-item a{font-size:11px}.detail-shell .timeline-card h2{font-size:18px}.detail-shell .timeline-event b{font-size:13px}.detail-shell .timeline-event small{font-size:10px}.detail-shell .timeline-event p{font-size:11px;line-height:1.45}.detail-shell .action-card h2{font-size:20px}.detail-shell .action-card p{font-size:13px}.detail-shell .danger-details{font-size:12px}.detail-shell .business-order-label{font-size:9px}.detail-shell .business-order-copy h2{font-size:18px}.detail-shell .business-order-copy>p{font-size:11px}.detail-shell .business-order-meta{font-size:10px}.detail-shell .business-order-phone{font-size:13px}
@media(max-width:680px){.detail-shell .detail-heading p{font-size:12px}.detail-shell .card-heading h2{font-size:17px}.detail-shell .action-card h2{font-size:19px}.detail-shell .business-order-copy h2{font-size:16px}.detail-shell .business-order-meta{font-size:10px}}
.offer-arrival-time{display:flex!important;align-items:center;gap:4px;margin-top:5px;color:var(--muted)!important;font-size:10px!important;font-weight:600!important;line-height:1.25}.offer-arrival-time svg{width:11px!important;height:11px!important;fill:none!important}

/* Sistema visual único para los estados de todos los pedidos */
.order-status-icon{flex:0 0 auto;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.status-pill i,.notification-status i{display:none}.status-publicado{color:#a86612;background:#fff2d8}.status-aceptado{color:#315fc8;background:#e8efff}.status-recogido{color:#6e4db5;background:#eee8ff}.status-entrega_reportada{color:#9a6814;background:#fff3d8}.status-entregado{color:#1f7a55;background:#e4f6ed}.status-cancelado{color:#b63845;background:#fde8eb}
.order-state-publicado{color:#a86612!important;background:#fff2d8!important}.order-state-aceptado{color:#315fc8!important;background:#e8efff!important}.order-state-recogido{color:#6e4db5!important;background:#eee8ff!important}.order-state-entrega_reportada{color:#9a6814!important;background:#fff3d8!important}.order-state-entregado{color:#1f7a55!important;background:#e4f6ed!important}.order-state-cancelado{color:#b63845!important;background:#fde8eb!important}.package-mark.order-state-cancelado svg,.package-mark.order-state-aceptado svg{width:20px;height:20px}.package-mark.order-state-publicado svg,.package-mark.order-state-entrega_reportada svg{width:21px;height:21px}
.notification-status .order-status-icon{width:9px;height:9px}.notification-kind.order-state-publicado,.notification-kind.order-state-aceptado,.notification-kind.order-state-recogido,.notification-kind.order-state-entrega_reportada,.notification-kind.order-state-entregado,.notification-kind.order-state-cancelado{border-radius:12px}.notification-kind.order-state-cancelado svg,.notification-kind.order-state-aceptado svg{width:19px;height:19px}
.admin-order-status{align-items:center;gap:6px}.admin-order-status .order-status-icon{width:11px;height:11px}.admin-order-status.large .order-status-icon{width:14px;height:14px}
.timeline-event.order-event-publicado>i,.admin-order-event.order-event-publicado>i{background:#c9851e!important}.timeline-event.order-event-aceptado>i,.admin-order-event.order-event-aceptado>i{background:#315fc8!important}.timeline-event.order-event-recogido>i,.admin-order-event.order-event-recogido>i{background:#7653c5!important}.timeline-event.order-event-entrega_reportada>i,.admin-order-event.order-event-entrega_reportada>i{background:#c9851e!important}.timeline-event.order-event-entregado>i,.admin-order-event.order-event-entregado>i{background:#289267!important}.timeline-event.order-event-cancelado>i,.admin-order-event.order-event-cancelado>i{background:#c84853!important}.timeline-event.current>i{box-shadow:0 0 0 5px color-mix(in srgb,currentColor 12%,transparent)}
.admin-review-history .admin-order-event>i{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;margin-top:0;color:#fff;border-radius:50%;box-shadow:none}.admin-review-history .admin-order-event>i svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.history-empty-quiet{padding:27px 20px!important;box-shadow:none}.history-empty-quiet>span{width:38px;height:38px;margin-bottom:10px;border-radius:11px}.history-empty-quiet>span svg{width:17px;height:17px}.history-empty-quiet h3{margin-bottom:4px;font-size:14px;font-weight:700}.history-empty-quiet p{max-width:390px;margin:0 auto 14px;font-size:10px;line-height:1.45}.history-empty-quiet .button{min-height:34px;padding:8px 13px;font-size:9px}
.additional-order-notice{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;padding:9px 10px;color:#725321;background:#fff7e7;border-radius:10px;font-size:9px;line-height:1.4}.additional-order-notice svg{flex:0 0 15px;width:15px;height:15px}.additional-order-notice b{display:block;font-size:10px}
.danger-details-title{display:block;color:var(--text);font-weight:700}
.order-route.order-destination-only::before{display:none}
.order-side{min-width:0}.searching-couriers{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;width:100%;max-width:100%;color:#9a6814;font-size:14px;font-weight:700;line-height:1.25;text-align:right;white-space:nowrap}.searching-label{display:inline-block;min-width:0}.searching-couriers>em{display:inline-flex;align-items:center;flex:0 0 20px;gap:3px;width:20px;font-style:normal}.searching-couriers>em b{width:4px;height:4px;background:currentColor;border-radius:50%;animation:searching-dot 1.2s ease-in-out infinite}.searching-couriers>em b:nth-child(2){animation-delay:.16s}.searching-couriers>em b:nth-child(3){animation-delay:.32s}.package-mark.order-state-publicado svg{width:22px;height:22px;animation:searching-scan 2.2s ease-in-out infinite}@keyframes searching-scan{0%,100%{transform:translate(-3px,-4px)}25%{transform:translate(3px,-1px)}50%{transform:translate(-2px,4px)}75%{transform:translate(3px,2px)}}@keyframes searching-dot{0%,60%,100%{opacity:.28;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(max-width:680px){.order-side:has(.searching-couriers){grid-column:1/-1;justify-items:start}.searching-couriers{justify-content:flex-start;text-align:left}}@media(prefers-reduced-motion:reduce){.package-mark.order-state-publicado svg,.searching-couriers>em b{animation:none}}
.order-row.order-row-searching{background:#fffaf0;animation:searching-row-pulse 2.4s ease-in-out infinite}.order-row.order-row-searching:hover{background:#fff5df}@keyframes searching-row-pulse{0%,100%{background-color:#fffaf2}50%{background-color:#fff5e3}}@media(prefers-reduced-motion:reduce){.order-row.order-row-searching{animation:none}}

/* Entrega reportada: estado azul tanto en la etiqueta como en todos sus iconos */
.status-entrega_reportada,.order-state-entrega_reportada{color:#315fc8!important;background:#e8efff!important}.status-entrega_reportada .order-status-icon,.order-state-entrega_reportada svg{color:#315fc8!important;stroke:#315fc8!important}.timeline-event.order-event-entrega_reportada>i,.admin-order-event.order-event-entrega_reportada>i{color:#fff!important;background:#315fc8!important}.timeline-event.order-event-entrega_reportada>i svg,.admin-order-event.order-event-entrega_reportada>i svg{color:#fff!important;stroke:#fff!important}

.notification-heading-actions{margin-left:auto}.notification-clear{display:grid;place-items:center;width:36px;height:36px;padding:0;color:#8a3440;background:#fff;border:1px solid #efcfd3;border-radius:10px;box-shadow:none;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.notification-clear:hover{color:#fff;background:#c84853;border-color:#c84853}.notification-clear svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:680px){.notification-heading-actions{justify-self:stretch;justify-content:flex-end;width:100%;margin-left:0}.notification-heading-actions form{margin-left:0}.notification-clear{width:34px;height:34px}}

/* iOS amplía la página al enfocar controles con texto menor de 16 px. */
@media(max-width:920px){
  input,select,textarea{font-size:16px!important}
  input::placeholder,textarea::placeholder{font-size:inherit}
}

/* Escala legible para textos auxiliares que antes quedaban entre 8 y 10 px. */
small{font-size:11px!important;line-height:1.35}
.notification-dot,.status-pill,.count-badge,.order-date,.live-label,.history-filter,.card-detail-link,.offer-arrival-time,.section-history-link,.assigned-contact>b,.assigned-phone,.profile-aside dt,.delivery-field-error{font-size:11px!important;line-height:1.35}

@media(max-width:920px){
  small,.status-pill,.count-badge,.order-date,.live-label,.history-filter,.card-detail-link,.offer-arrival-time,.section-history-link,.assigned-contact>b,.assigned-phone,.profile-aside dt,.delivery-field-error{font-size:12px!important}
  label,.button,.back-link{font-size:14px}
  .active-guidance,.history-empty-quiet p,.profile-availability-card>p,.additional-order-notice,.conversation-heading p,.order-main p{font-size:12px!important;line-height:1.5}
  .mobile-nav>a,.mobile-nav>a span,.mobile-nav>a small{font-size:11px!important;line-height:1.2}
  .notification-dot{font-size:10px!important}
  .chat-bubble small,.order-side>strong small,.active-top strong small,.detail-price small,.history-order summary>strong small,.offer-head>strong small{font-size:11px!important}
}

/* Entrada breve de cada pantalla en teléfonos y en la app instalada. */
@media(max-width:920px) and (prefers-reduced-motion:no-preference){
  main{animation:mobile-page-enter .38s cubic-bezier(.22,.75,.24,1) both}
  .mobile-nav{animation:mobile-nav-enter .42s cubic-bezier(.22,.75,.24,1) both}
}
@keyframes mobile-page-enter{
  from{opacity:0;transform:translate3d(0,12px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes mobile-nav-enter{
  from{opacity:0;transform:translate3d(0,18px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

/* Los elementos fijos del chat deben permanecer anclados al viewport real. */
@media(max-width:920px){
  body.chat-screen main{animation:none!important;transform:none!important}
  .mobile-nav{animation:none!important;transform:none!important;-webkit-transform:none!important}
}

/* Bienvenida mostrada únicamente al iniciar la app instalada. */
.app-splash{display:none}
.show-app-splash{overflow:hidden;background:var(--navy)}
.show-app-splash body{overflow:hidden}
.show-app-splash .app-splash{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);color:#fff;background:var(--navy);opacity:1;transition:opacity .36s ease,visibility .36s ease}
.show-app-splash .app-splash-content{display:grid;justify-items:center;gap:15px;animation:app-splash-content 1s cubic-bezier(.22,.75,.24,1) both}
.show-app-splash .app-splash-mark{position:relative;display:grid;place-items:center;width:88px;height:88px;color:var(--navy);background:var(--aqua);border-radius:28px 28px 28px 9px;box-shadow:0 20px 55px rgba(0,0,0,.24)}
.show-app-splash .app-splash-mark::before{content:"";position:absolute;inset:-11px;border:1px solid rgba(66,217,199,.42);border-radius:36px 36px 36px 15px;animation:app-splash-ring 1.15s ease-out infinite}
.show-app-splash .app-splash-mark svg{width:46px;height:46px;stroke-width:1.8}
.show-app-splash .app-splash-content strong{font-size:25px;letter-spacing:-.04em}
.show-app-splash .app-splash.is-leaving{opacity:0;visibility:hidden}
.show-app-splash main,.show-app-splash .mobile-nav{opacity:0;animation:none}
@keyframes app-splash-content{0%{opacity:0;transform:scale(.72) translateY(10px)}55%{opacity:1;transform:scale(1.06) translateY(0)}100%{opacity:1;transform:scale(1) translateY(0)}}
@keyframes app-splash-ring{0%{opacity:.7;transform:scale(.82)}75%,100%{opacity:0;transform:scale(1.16)}}
@media(prefers-reduced-motion:reduce){.show-app-splash .app-splash-content,.show-app-splash .app-splash-mark::before{animation:none}.show-app-splash .app-splash{transition:none}}

/* Acción principal de la tienda con el color y la alineación del isotipo. */
@media(max-width:680px){
  .mobile-nav-business .mobile-main-action:not(.mobile-orders-action)>span{display:grid!important;place-items:center!important;color:var(--navy)!important;background:var(--aqua)!important}
  .mobile-nav-business .mobile-main-action:not(.mobile-orders-action)>span svg{display:block!important;margin:0!important;transform:none!important}
}
.business-new-order-button{color:var(--navy)!important;background:var(--aqua)!important;box-shadow:0 9px 18px rgba(66,217,199,.24)!important}
.business-new-order-button:hover{background:#58e1d1!important;box-shadow:0 12px 22px rgba(66,217,199,.3)!important}
.business-new-order-button svg{display:block;margin:0}
@media(max-width:680px){
  .welcome-row .business-new-order-button{position:relative;display:block!important;align-self:flex-start;flex:0 0 48px;width:48px!important;min-width:48px;height:48px;min-height:48px;padding:0!important;border-radius:15px;font-size:0;line-height:0}
  .welcome-row .business-new-order-button svg{position:absolute;top:50%;left:50%;width:22px;height:22px;margin:0!important;transform:translate(-50%,-50%)!important}
}
.pickup-fixed-grid{gap:12px}.pickup-fixed-field{display:grid;gap:5px;min-height:66px;padding:12px 14px;background:#f2f8f5;border:1px solid #d8ebe3;border-radius:11px}.pickup-fixed-field>span{color:#32725f;font-size:12px;font-weight:700}.pickup-fixed-field>strong{font-size:15px;line-height:1.35}.pickup-fixed-note{display:flex;align-items:flex-start;gap:7px;margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.pickup-fixed-note svg{flex:0 0 15px;width:15px;height:15px;margin-top:1px;color:var(--green)}
@media(max-width:680px){.pickup-fixed-field{min-height:0}.pickup-fixed-field>span{font-size:13px}.pickup-fixed-field>strong{font-size:16px}.pickup-fixed-note{font-size:12px!important}}
.business-location-policy{display:grid;gap:10px}.business-location-policy-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 14px;color:#73551f;background:#fff8e9;border:1px solid #f0dfb9;border-radius:12px}.business-location-policy-note>svg{width:20px;color:#b98222}.business-location-policy-note>span{display:grid;gap:3px}.business-location-policy-note b{font-size:13px}.business-location-policy-note small{color:#735f3a}.business-location-policy-note .button{min-height:38px;padding-inline:13px;font-size:12px}.business-location-policy-note.is-open{grid-template-columns:auto 1fr;color:#276c59;background:#eef9f5;border-color:#d7ebe3}.business-location-policy-note.is-open>svg{color:var(--green)}
@media(max-width:680px){.business-location-policy-note{grid-template-columns:auto 1fr}.business-location-policy-note .button{grid-column:1/-1;width:100%}}
.recipient-notes-field{margin-top:17px}.field-label-line{display:flex;align-items:baseline;gap:6px}.field-label-line .optional{font-size:12px;font-weight:400}
.detail-shell [data-order-collapsible]>.card-heading,.detail-shell [data-order-collapsible]>.panel-collapse-heading{width:100%;cursor:pointer}.detail-shell [data-order-collapsible] .panel-collapse-toggle{display:grid;place-items:center;order:99;flex:0 0 32px;width:32px;height:32px;margin-left:auto;padding:0;color:#34425f;background:transparent;border:0;border-radius:50%;box-shadow:none}.detail-shell [data-order-collapsible] .panel-collapse-toggle:hover{color:var(--navy);background:rgba(16,25,53,.06);border:0}.detail-shell [data-order-collapsible] .panel-collapse-toggle>span{display:block;box-sizing:border-box;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(225deg) translate(-1px,-1px);transition:transform .2s ease}.detail-shell [data-order-collapsible].is-collapsed .panel-collapse-toggle>span{transform:rotate(45deg) translate(-1px,-1px)}.detail-shell [data-order-collapsible].is-collapsed{padding-block:18px}.detail-shell .business-order-card>.card-heading{margin-bottom:18px}@media(max-width:680px){.detail-shell [data-order-collapsible] .panel-collapse-toggle{flex-basis:32px;width:32px;height:32px;color:#263652}.detail-shell [data-order-collapsible] .panel-collapse-toggle>span{width:9px;height:9px}}
.business-pickup-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:14px;padding:15px 16px;background:#f7f9fc;border:1px solid #e7eaf0;border-radius:13px}.business-pickup-data>div{display:grid;gap:3px;min-width:0}.business-pickup-data small{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.05em}.business-pickup-data b{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:680px){.business-pickup-data{grid-template-columns:1fr 1fr;gap:13px}.business-pickup-data>div:first-child{grid-column:1/-1}.business-pickup-data b{white-space:normal}.business-pickup-data .business-order-phone{grid-column:1/-1;justify-self:start;padding:3px 0}}
.large-route.route-stage-pickup>div:first-child,.large-route.route-stage-delivery>div:last-child{position:relative}.large-route.route-stage-pickup>div:first-child::before,.large-route.route-stage-delivery>div:last-child::before{content:"";position:absolute;z-index:0;inset:-10px -12px;background:#e7ecf5;border:1px solid #d5ddea;border-radius:12px;box-shadow:0 5px 14px rgba(16,25,53,.06)}.large-route.route-stage-pickup>div:first-child>span,.large-route.route-stage-delivery>div:last-child>span{position:relative;z-index:1}.large-route.route-stage-pickup>div:first-child small,.large-route.route-stage-pickup>div:first-child b{color:#172747}.large-route.route-stage-pickup>div:first-child i{background:var(--blue);border-color:var(--blue);animation:route-pickup-pulse 1.7s ease-in-out infinite}.large-route.route-stage-delivery>div:last-child::before{background:#fff0ed;border-color:#f3d8d2}.large-route.route-stage-delivery>div:last-child small,.large-route.route-stage-delivery>div:last-child b{color:#7c342d}.large-route.route-stage-delivery>div:last-child i{background:var(--coral);border-color:var(--coral);animation:route-delivery-pulse 1.7s ease-in-out infinite}@keyframes route-pickup-pulse{0%,100%{box-shadow:0 0 0 0 rgba(74,125,242,.34)}50%{box-shadow:0 0 0 8px rgba(74,125,242,0)}}@keyframes route-delivery-pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,123,107,.32)}50%{box-shadow:0 0 0 8px rgba(255,123,107,0)}}@media(prefers-reduced-motion:reduce){.large-route.route-stage-pickup>div:first-child i,.large-route.route-stage-delivery>div:last-child i{animation:none}}
.verification-code-form{display:grid;gap:12px;margin-top:16px}.verification-code-form label{display:grid;gap:6px}.verification-code-form label>span{color:rgba(255,255,255,.78);font-size:12px;font-weight:700}.verification-code-form input[name="verification_code"]{height:58px;padding:8px 14px;color:var(--navy);background:#fff;border:2px solid transparent;border-radius:13px;font-size:26px;font-weight:850;letter-spacing:.24em;text-align:center}.verification-code-form input[name="verification_code"]:focus{border-color:var(--aqua);outline:0;box-shadow:0 0 0 4px rgba(66,217,199,.18)}.verification-owner-card{overflow:hidden}.verification-code{display:block;margin:17px 0 10px;padding:15px 12px;color:var(--navy);background:var(--aqua);border-radius:13px;font-size:31px;font-weight:900;letter-spacing:.22em;text-align:center}.verification-code-light{color:var(--navy);background:#e7fbf7;border:1px solid #bfece3}.verification-regenerate{display:block;margin:4px auto 0;padding:7px;color:inherit;background:transparent;border:0;font-size:11px;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.action-card-primary .verification-regenerate{color:rgba(255,255,255,.72)}.verification-success{display:flex;align-items:center;gap:10px;margin:13px 0;padding:12px 13px;color:#176b50;background:#e4f7ef;border:1px solid #c9ebde;border-radius:12px}.verification-success>svg{flex:0 0 22px;width:22px;height:22px}.verification-success>span{display:grid;gap:2px}.verification-success b{font-size:12px}.verification-success small{font-size:10px;line-height:1.35}.evidence-grid-single{grid-template-columns:170px}.delivery-upload-grid-single{grid-template-columns:1fr}.delivery-upload-grid-single .delivery-upload-field{width:min(190px,100%);margin-inline:auto}.combined-delivery-form .delivery-upload-grid{margin-block:4px}.combined-delivery-form .delivery-note-field{margin-top:2px}@media(max-width:680px){.verification-code{font-size:28px}.verification-code-form input[name="verification_code"]{font-size:24px}.evidence-grid-single{grid-template-columns:1fr}}

/* Lectura cómoda en los detalles del pedido, especialmente en pantallas móviles. */
.detail-shell .card-heading h2,.detail-shell .timeline-card h2{font-size:19px}.detail-shell .card-heading p{font-size:14px}.detail-shell .large-route small,.detail-shell .info-grid small,.detail-shell .contact-item small,.detail-shell .recipient-box small,.detail-shell .business-pickup-data small{font-size:12px;letter-spacing:.05em}.detail-shell .large-route b,.detail-shell .info-grid b,.detail-shell .contact-item b,.detail-shell .business-pickup-data b{font-size:15px}.detail-shell .large-route p,.detail-shell .recipient-address{font-size:13px}.detail-shell .contact-item a{font-size:13px}.detail-shell .timeline-event b{font-size:14px}.detail-shell .timeline-event small{font-size:12px;line-height:1.4}.detail-shell .timeline-event p{font-size:13px;line-height:1.5}.detail-shell .verification-code-form label>span,.detail-shell .verification-success b,.detail-shell .verification-success small,.detail-shell .verification-regenerate{font-size:12px}
@media(max-width:680px){.detail-shell .card-heading h2,.detail-shell .timeline-card h2{font-size:19px}.detail-shell .card-heading p{font-size:14px}.detail-shell .large-route small,.detail-shell .info-grid small,.detail-shell .contact-item small,.detail-shell .business-pickup-data small{font-size:12px}.detail-shell .large-route b,.detail-shell .info-grid b,.detail-shell .contact-item b,.detail-shell .business-pickup-data b{font-size:15px}.detail-shell .timeline-event b{font-size:14px}.detail-shell .timeline-event small{font-size:12px}.detail-shell .timeline-event p{font-size:13px}}

/* Tipografía legible en el panel móvil del mensajero. */
@media(max-width:920px){
  .courier-welcome h1{font-size:30px}
  .courier-welcome .courier-pickup-zones{font-size:14px;line-height:1.45}
  .courier-stats .stat-card small{font-size:13px!important}
  .courier-stats .stat-card strong{font-size:24px}
  .active-delivery-section .section-title-row h2{font-size:23px}
  .active-delivery-card .status-pill{font-size:13px!important}
  .active-step-copy>small{font-size:12px!important}
  .active-step-copy h3{font-size:19px}
  .active-location>span{font-size:12px}
  .active-location b{font-size:16px}
  .active-location p{font-size:14px;line-height:1.5}
  .active-delivery-meta span{font-size:12px}
  .active-delivery-meta b{font-size:15px}
  .active-delivery-meta p{font-size:14px;line-height:1.5}
  .offer-head>div b,.offer-package b{font-size:14px}
  .offer-route b{font-size:14px}
  .offer-package small,.offer-route small,.notice-card small{font-size:12px!important}
}

/* Conversación legible sin modificar la posición fija del chat. */
.conversation-page .chat-bubble p{font-size:17px!important;line-height:1.5}.conversation-page .chat-bubble small{font-size:12px!important;line-height:1.25}.conversation-page .conversation-security{padding:13px 16px;color:#34425f;background:#f0f2f5!important;border-color:#dce1e8;font-size:14px;font-weight:700;line-height:1.45}.conversation-page .conversation-security svg{flex-basis:20px;width:20px;height:20px;color:#536078}.conversation-page .conversation-heading>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 13px!important;font-size:14px!important;line-height:1.2}
@media(max-width:680px){.conversation-page .chat-bubble p{font-size:17px!important}.conversation-page .chat-bubble small{font-size:12px!important}.conversation-page .conversation-security{padding:12px 13px;font-size:14px!important}.conversation-page .conversation-heading>a{min-height:42px;padding:9px 11px!important;font-size:14px!important}}

/* Reputación visible debajo de cada foto del mensajero mostrada al negocio. */
.courier-rating-stack{display:grid;justify-items:center;align-content:start;gap:4px;flex:0 0 auto}.courier-score{display:inline-flex;align-items:center;justify-content:center;gap:3px;color:#a66c12;font-size:11px;font-weight:800;line-height:1.15;white-space:nowrap}.courier-score svg{flex:0 0 12px;width:12px;height:12px;fill:currentColor;stroke:currentColor}.assigned .courier-rating-stack{min-width:60px}.assigned .courier-score{font-size:10px}.assigned .courier-score svg{width:10px;height:10px}.contact-item .courier-rating-stack{min-width:76px}.conversation-courier-rating{min-width:66px}.conversation-courier-rating .courier-score{font-size:10px}
@media(max-width:680px){.assigned .courier-rating-stack{min-width:58px}.contact-item .courier-rating-stack{min-width:72px}.courier-score{font-size:11px}.conversation-courier-rating{min-width:62px}.conversation-courier-rating .courier-score{font-size:10px}}

/* Perfil legible en escritorio y móvil, sin provocar el zoom automático de iOS. */
.profile-shell .profile-banner h1{font-size:30px}.profile-shell .profile-banner p{font-size:15px;line-height:1.45}.profile-shell .profile-role{font-size:11px}.profile-shell .rating-display{font-size:14px}.profile-shell .section-title-row h2,.profile-shell .profile-aside h2{font-size:21px}.profile-shell .section-title-row p{font-size:14px;line-height:1.45}.profile-shell .profile-form label{font-size:15px}.profile-shell .profile-form input,.profile-shell .profile-form select,.profile-shell .profile-form textarea{font-size:16px}.profile-shell .profile-form label>small,.profile-shell .coverage-picker+small{font-size:13px!important;line-height:1.5}.profile-shell .coverage-toggle{font-size:15px}.profile-shell .coverage-option,.profile-shell .coverage-all{font-size:14px}.profile-shell .identity-privacy b{font-size:15px}.profile-shell .identity-privacy small{font-size:13px!important;line-height:1.5}.profile-shell .pickup-fixed-field>span{font-size:14px}.profile-shell .pickup-fixed-field>strong{font-size:16px}.profile-shell .business-location-policy-note b{font-size:15px}.profile-shell .business-location-policy-note small{font-size:13px!important;line-height:1.5}.profile-shell .business-location-policy-note .button{font-size:14px}.profile-shell .profile-aside dt{font-size:13px!important}.profile-shell .profile-aside dd{font-size:15px;line-height:1.4}.profile-shell .profile-change-open,.profile-shell .profile-form>.button,.profile-shell .profile-aside .button{font-size:15px}.profile-change-heading h2{font-size:23px}.profile-change-card>p{font-size:14px}.profile-change-card label{font-size:14px}.profile-change-card input,.profile-change-card select,.profile-change-card textarea{font-size:16px}.profile-change-card label small{font-size:12px!important;line-height:1.45}.profile-change-actions .button{font-size:15px}
@media(max-width:680px){.profile-shell .profile-banner h1{font-size:26px}.profile-shell .profile-banner p{font-size:15px}.profile-shell .section-title-row h2,.profile-shell .profile-aside h2{font-size:20px}.profile-shell .section-title-row p{font-size:14px}.profile-shell .profile-form label{font-size:15px}.profile-shell .profile-aside dt{font-size:13px!important}.profile-shell .profile-aside dd{font-size:15px}.profile-change-heading h2{font-size:21px}}
.profile-contact-grid{align-items:start}.profile-contact-grid>label{align-content:start}.profile-phone-field{align-self:start}
.coverage-toggle{height:auto;align-items:flex-start}.coverage-toggle [data-coverage-summary]{min-width:0;padding-right:8px;line-height:1.4;overflow-wrap:anywhere}.coverage-toggle svg{flex:0 0 17px;margin-top:2px}
.profile-unsaved-dialog .app-confirm-icon{background:#c9851e}.profile-unsaved-dialog .app-confirm-copy>small{color:#9a6814}.profile-unsaved-actions{grid-template-columns:1fr 1fr 1.15fr}.profile-unsaved-actions .button{padding-inline:12px}.profile-unsaved-actions [data-profile-unsaved-save]{color:var(--navy);background:var(--aqua);box-shadow:none}
@media(max-width:620px){.profile-unsaved-actions{grid-template-columns:1fr}.profile-unsaved-actions [data-profile-unsaved-save]{grid-row:1}.profile-unsaved-actions [data-profile-unsaved-stay]{grid-row:2}.profile-unsaved-actions [data-profile-unsaved-discard]{grid-row:3}}
.notification-list-empty{overflow:visible;background:transparent;border:0;box-shadow:none}.notification-empty-message{margin:8px 0;padding:0;color:var(--muted);font-size:15px;line-height:1.5}
@media(max-width:680px){.notification-empty-message{font-size:15px}}

/* Espera activa: pulso verde suave hasta que la tienda confirme la entrega. */
.active-delivery-card.active-stage-review{color:#fff;background:var(--navy);border:0;animation:none}.active-stage-review .active-step-copy>small{color:var(--aqua)}.active-stage-review .active-step-copy h3{color:#fff}.active-stage-review .active-guidance{color:rgba(255,255,255,.68)!important}.active-stage-review .active-step-icon{color:#176b50;background:#dff6ed}.waiting-confirmation-card{color:var(--ink);background:#eefaf5;border:1px solid #bfe3d3;animation:waiting-confirmation-pulse 2.4s ease-in-out infinite}.waiting-confirmation-card .eyebrow{color:#237a60}.waiting-confirmation-card p{color:#49675d}.waiting-confirmation-card h2{color:var(--ink)}
@keyframes waiting-confirmation-pulse{0%,100%{background-color:#f2fbf7;box-shadow:0 12px 28px rgba(31,122,85,.08)}50%{background-color:#dff5eb;box-shadow:0 16px 34px rgba(31,122,85,.16)}}
@media(prefers-reduced-motion:reduce){.waiting-confirmation-card{animation:none;background:#e8f8f1}}

/* Acción final al crear un pedido: centrada y con el verde principal del negocio. */
.order-submit-row{display:flex;justify-content:flex-start;text-align:left}.order-submit-row>div{justify-content:flex-start}.order-publish-actions{display:flex;justify-content:center;padding-top:2px}.order-publish-submit{min-width:220px;color:var(--navy)!important;background:var(--aqua)!important;box-shadow:0 9px 18px rgba(66,217,199,.24)!important}.order-publish-submit:hover:not(:disabled){background:#58e1d1!important;box-shadow:0 12px 22px rgba(66,217,199,.3)!important}
@media(max-width:680px){.order-publish-actions .order-publish-submit{width:min(100%,280px)}}
.admin-email-test hr{width:100%;margin:2px 0;border:0;border-top:1px solid var(--line)}
.email-template-editor label>small{color:var(--muted);font-size:11px;font-weight:500}.email-template-preview-footer{margin-top:18px!important;padding-top:15px;border-top:1px solid var(--line);color:#40516d}.email-template-preview-footer[hidden]{display:none}
.email-template-preview-heading{display:flex;align-items:center;gap:11px;margin-top:12px}.email-template-preview-heading>b{margin:0!important}.email-template-preview-heading>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;color:#168275;background:#e9faf7;border-radius:11px}.email-template-preview-heading>span.security{color:#16765c;background:#e8f8f3}.email-template-preview-heading>span.account{color:#3d68bf;background:#edf3ff}.email-template-preview-heading>span.message{color:#6652b8;background:#f0edff}.email-template-preview-heading>span.notice{color:#a36b13;background:#fff3dd}.email-template-preview-heading svg{width:22px;height:22px}
.email-template-preview-brand{display:flex;align-items:center;gap:10px;margin:12px -16px 16px;padding:14px 16px;background:#101935}.email-template-preview-brand img{width:42px;height:42px;border-radius:12px}.email-template-preview-brand>span{display:grid;gap:2px}.email-template-preview-brand b{color:#fff;font-size:17px}.email-template-preview-brand small{color:#42d9c7!important;font-size:9px!important;letter-spacing:.03em}
.email-global-footer{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(320px,1.25fr);gap:28px;margin-top:18px;padding:21px 22px;border-color:#cfdaf0}.email-global-footer-copy>small{color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.1em}.email-global-footer-copy h2{margin:5px 0 7px}.email-global-footer-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.email-global-footer form{display:grid;gap:12px}.email-global-footer label{display:grid;gap:6px;font-size:12px;font-weight:750}.email-global-footer textarea{resize:vertical;line-height:1.55}.email-global-footer-preview{padding:12px 14px;background:#f4f6fb;border-radius:10px}.email-global-footer-preview small{color:var(--blue);font-size:9px;font-weight:850;letter-spacing:.08em}.email-global-footer-preview p{margin:7px 0 0;color:#40516d;font-size:12px;line-height:1.5;white-space:pre-wrap}.email-global-footer form>.button{justify-self:end}@media(max-width:760px){.email-global-footer{grid-template-columns:1fr}.email-global-footer form>.button{justify-self:stretch}}
.email-verification-card{max-width:560px}.email-verification-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:18px;color:#176b50;background:#def5ea;border-radius:17px}.email-verification-icon svg{width:25px;height:25px}.email-code-form input[name="code"]{font-size:30px;font-weight:850;letter-spacing:.28em;text-align:center;font-variant-numeric:tabular-nums}.email-code-form label>small{color:var(--muted);font-size:11px;font-weight:500}.email-code-resend{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0;padding:13px 15px;background:#f2f5fa;border-radius:11px}.email-code-resend p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.email-code-resend button{padding:4px;color:var(--blue);background:transparent;border:0;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}@media(max-width:560px){.email-code-resend{align-items:flex-start;flex-direction:column}.email-code-form input[name="code"]{font-size:26px}}
.profile-security-card{scroll-margin-top:24px;border-color:#d7e0f4}.profile-security-heading{display:flex;align-items:center;gap:11px;margin-bottom:11px}.profile-security-heading>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;color:#fff;background:var(--navy);border-radius:11px}.profile-security-heading svg{width:19px;height:19px}.profile-security-heading>div{display:grid;gap:2px}.profile-security-heading small{color:var(--blue);font-size:9px;font-weight:850;letter-spacing:.1em}.profile-security-heading h2{margin:0!important}.profile-security-card>p{margin:0 0 17px;color:var(--muted);font-size:12px;line-height:1.55}.profile-security-form{display:grid;gap:12px}.profile-security-form label{display:grid;gap:5px;font-size:12px;font-weight:700}.profile-security-form input{width:100%;font-size:14px}.profile-security-form label>small{color:var(--muted);font-size:10px;font-weight:500}.profile-security-note{display:flex;align-items:flex-start;gap:7px;padding:10px;color:#2d6758;background:#edf8f4;border-radius:9px;font-size:10px;line-height:1.45}.profile-security-note svg{flex:0 0 15px;width:15px;height:15px;margin-top:1px;color:var(--green)}
