body[data-experience="logistics"] #app:is([data-view="zonas"], [data-view="equipo"]) { display: block; }
.route-toolbar { position: sticky; top: 72px; z-index: 12; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 16px; box-shadow: 0 4px 16px #211f2709; }
.route-toolbar h2 { font-size: 20px; margin: 0; }
.route-export-actions, .stop-contact-icons, .stop-tools { display: flex; align-items: center; gap: 6px; }
.route-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; white-space: nowrap; }
.plur-platform .route-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; min-width: 44px; padding: 0; flex: none; list-style: none; }
.route-icon::-webkit-details-marker { display: none; }
.route-icon:focus-visible, .route-download:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.seller-route-frame .route-toolbar { top: 0; }
.route-information { margin: 10px 0 14px; font-size: 12px; color: var(--muted); }
.route-information > summary { min-height: 36px; display: flex; align-items: center; }
.stop-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stop-contact .stop-phone { min-width: 0; flex: 1 1 160px; }
.stop-main-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; margin: 12px 0; }
.stop-main-actions > .primary { min-height: 44px; font-size: 12px; }
.stop-main-actions .record-done { margin-left: 0; }
.stop-more { position: relative; }
.stop-more-panel { position: absolute; z-index: 13; bottom: calc(100% + 8px); right: 0; display: grid; gap: 5px; width: 232px; max-width: calc(100vw - 60px); padding: 8px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px #211f2724; }
.stop-more:not([open]) .stop-more-panel { display: none; }
.stop-more-panel .btn { text-align: left; white-space: normal; min-height: 44px; font-size: 12px; }
.stop-editor-options { display: grid; gap: 12px; }
.stop-editor-options .btn { display: flex; align-items: center; gap: 10px; text-align: left; min-height: 52px; }
@media (max-width: 900px) { .route-toolbar { top: 66px; } }
@media (max-width: 600px) {
  .route-toolbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .route-toolbar h2 { font-size: 16px; }
  .route-export-actions .route-download { flex: 1; min-width: 0; padding-inline: 10px; font-size: 13px; }
  .stop-tools { margin-left: auto; }
}
.record-caption { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.compact-record-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.compact-record-head > div { min-width: 0; }
.compact-record-head h3 { margin: 6px 0 0; font-size: 17px; }
.record-amount { display: grid; gap: 3px; text-align: right; flex-shrink: 0; }
.record-amount small { font-size: 11px; color: var(--muted); }
.record-amount strong { font-size: 17px; font-variant-numeric: tabular-nums; }
body[data-experience="logistics"] .compact-stop { padding: 16px 18px 0; }
.compact-stop .stop-top { gap: 8px; }
.compact-stop .state { margin: 0; }
.compact-stop .addr { margin: 8px 0 4px; font-size: 13px; }
.compact-stop .stop-phone { margin: 4px 0; font-size: 12px; }
.compact-stop-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 12px 0; }
.compact-stop-actions .primary { margin-left: auto; }
.compact-stop-actions .btn { min-height: 44px; font-size: 12px; }
.record-done { margin-left: auto; color: #287149; font-size: 12px; }
.compact-disclosure { min-width: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; }
.compact-disclosure > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.compact-disclosure > summary::-webkit-details-marker { display: none; }
.compact-disclosure > summary .plur-icon { width: 16px; height: 16px; flex: none; transition: transform 160ms ease; }
.compact-disclosure[open] > summary .plur-icon { transform: rotate(180deg); }
.compact-disclosure[open] > summary { color: var(--accent); }
.compact-disclosure[open] > .record-expanded { animation: compact-reveal 160ms ease-out; }
.record-expanded { display: grid; gap: 12px; padding: 0 0 16px; }
.record-expanded > p { margin: 0; }
.record-expanded > .btn { justify-self: start; }
.action-group { display: grid; gap: 8px; }
.action-group > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.action-group .btn { font-size: 12px; min-height: 44px; }
.agenda-calendar { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px; }
.agenda-calendar > summary { min-height: 44px; padding: 10px 0; }
.agenda-calendar .list { margin-top: 10px; }
.agenda-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.agenda-layout > section:last-child { grid-row: 1; }
.agenda-calendar .list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.compact-sales-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 260px); gap: 14px; margin-bottom: 12px; }
.sales-ledger { border: 1px solid var(--line); border-radius: 14px; overflow: clip; background: white; }
.sales-record { padding: 14px 18px 0; border-bottom: 1px solid var(--line); }
.sales-record:last-child { border-bottom: 0; }
.sales-record-main { display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(100px, .4fr) minmax(100px, .4fr) auto; align-items: center; gap: 20px; padding-bottom: 10px; }
.sales-record-main h3 { font-size: 15px; margin: 0; }
.sales-record-main .record-amount strong { font-size: 15px; }
.sales-record-main .badge { justify-self: start; }
.sales-record-main .btn { min-height: 44px; font-size: 12px; }
.sales-record .compact-disclosure > summary { min-height: 36px; padding-block: 6px; }
.sales-record[hidden], .clients-table tr[hidden] { display: none !important; }
.sales-count { margin-block: 12px; }
[data-list-key="clients"] > [data-list-items],
[data-list-key="zones"] > [data-list-items],
[data-list-key="team"] > [data-list-items] { display: block; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: clip; }
[data-list-count] { margin-block: 10px; font-size: 12px; }
.clients-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 13px; }
.clients-table th { color: var(--muted); font-size: 11px; background: var(--surface-soft); padding: 12px 16px; font-weight: 600; }
.clients-table td { padding: 10px 16px; border-top: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: middle; }
.clients-table th:last-child { width: 72px; }
.clients-table th:nth-child(2) { width: 23%; }
.clients-table td a { color: var(--ink); text-decoration: none; }
.client-mobile-address { display: none; }
body[data-experience="logistics"] .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; color: var(--muted); background: transparent; border-color: transparent; flex-shrink: 0; }
body[data-experience="logistics"] .icon-button:hover { color: var(--accent); background: #be263810; border-color: #be263824; }
.directory-row { display: grid; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.directory-row:last-child { border-bottom: 0; }
.directory-row h3 { margin: 0; font-size: 14px; }
.directory-row > div { min-width: 0; }
.zone-directory { grid-template-columns: 38px minmax(0, 1fr) auto 44px; }
.directory-icon { display: grid; place-items: center; background: #be26380c; color: var(--accent); width: 38px; height: 38px; border-radius: 10px; }
.day-badge { padding: 5px 10px; background: var(--surface-soft); color: var(--muted); border-radius: 8px; font-size: 12px; text-transform: capitalize; }
.member-directory { grid-template-columns: 38px minmax(0, 1fr) auto auto 44px; }
.member-directory .avatar { width: 38px; height: 38px; border-radius: 10px; }
.member-more { grid-column: 2 / -1; }
.member-directory .member-state { position: static; margin: 0; font-size: 11px; }
.deleted-members { margin-top: 20px; }
body[data-experience="quote"] .topbar { min-height: 60px; }
html:has(body[data-experience="quote"]), body[data-experience="quote"] { min-width: 0; }
body[data-experience="quote"] .plur-app { padding-bottom: env(safe-area-inset-bottom, 0px); }
.quote-header { position: sticky; top: 0; z-index: 25; padding-top: env(safe-area-inset-top, 0px); background: var(--surface); box-shadow: 0 3px 12px #211f2708; }
body[data-experience="quote"] .quote-header .topbar { position: static; }
.plur-public .notice { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.quote-offline { color: #875215 !important; max-width: 300px; text-align: right; }
.quote-header-access:empty { display: none; }
.quote-header-access .quote-signin { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font: inherit; font-size: 12px; text-decoration: none; background: white; }
.plur-embedded body[data-experience="quote"] .topbar { display: none; }
.plur-public .quote-access { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 24px; overflow: visible; }
.quote-tab-group { display: flex; gap: 6px; align-items: center; min-width: 0; }
.plur-public .quote-access .quote-add { background: var(--accent); color: white; min-width: 180px; font-weight: 700; box-shadow: 0 3px 10px #be263820; }
.plur-public .quote-access .quote-add:hover { background: var(--red-dark); }
.plur-public .quote-access :is(.quote-add, .quote-copy) { min-height: 44px; }
.plur-public .quote-access .quote-copy { justify-self: end; border-color: #be263830; background: #be26380a; color: var(--accent); }
.plur-public .quote-access .quote-copy:hover:not(:disabled) { background: #be263816; border-color: var(--accent); }
.plur-public .quote-access .quote-copy:disabled { color: var(--muted); background: var(--surface-soft); border-color: var(--line); opacity: .65; }
.plur-public .quote-access .quote-copy.is-pulsing { background: #e9f6ee; border-color: #a8d4b6; color: #24603b; }
.plur-public .quote-access.is-sale { display: flex; }
.quote-access .quote-signin { justify-self: end; margin: 0; }
.quote-overview { max-width: 1200px; width: calc(100% - 48px); margin: 24px auto 14px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.quote-overview-title h1 { margin: 4px 0 20px; font-size: 22px; letter-spacing: -.03em; }
.quote-key-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: auto; }
.quote-key-totals > div { display: grid; gap: 6px; min-width: 0; padding: 8px 16px; border-left: 1px solid var(--line); }
.quote-key-totals > div:first-child { border-left: 0; }
.quote-key-totals span { font-size: 12px; color: var(--muted); }
.quote-key-totals strong { font-size: clamp(20px, 2.3vw, 32px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quote-key-totals > div:first-child strong { color: var(--accent); }
.quote-price-warning { font-size: 12px; color: #875215; }
body[data-experience="quote"] .plur-platform .quote-seller { width: calc(100% - 48px); max-width: 1200px; margin: 0 auto 16px; padding: 12px 18px; }
.quote-seller .seller-picker { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
.quote-seller .seller-picker label { width: min(100%, 540px); }
.quote-seller [data-seller-hint]:empty { display: none; }
body[data-experience="quote"] .plur-platform .quote-layout { display: grid; grid-template-columns: minmax(0, 1fr); width: calc(100% - 48px); max-width: 1200px; margin: 0 auto 24px; padding: 0; gap: 16px; }
.plur-platform .quote-layout > .budget-panel { position: static; top: auto; width: 100%; min-width: 0; }
.plur-platform .quote-layout > .builder-area { width: 100%; max-width: 960px; justify-self: center; border-top: 3px solid var(--accent); }
.plur-platform .budget-panel .cart-list-head { align-items: center; }
.plur-platform .budget-panel .cart-list-head h2 { padding: 0; }
.plur-platform .budget-panel .cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.plur-platform .budget-panel .cart-item .dual-price { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; padding: 0; margin-top: 8px; background: none; }
.plur-platform .budget-panel .cart-item .dual-price > div { border: 0; padding: 0; }
body[data-experience="quote"] .plur-platform .start-screen { width: calc(100% - 48px); max-width: 1200px; margin: 0 auto 24px; padding: 28px; text-align: center; }
.plur-platform .quote-steps { margin-inline: auto; }
@keyframes compact-reveal { from { opacity: .5; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (min-width: 701px) {
  body[data-experience="quote"] .plur-platform .quote-layout { margin-bottom: 16px; }
  .quote-overview { margin-top: 16px; padding: 16px; }
  .quote-overview-title h1 { margin-bottom: 12px; }
  .plur-platform .budget-panel .cart-list-head { padding-block: 12px; }
  .plur-platform .budget-panel .line-actions { grid-column: auto; grid-template-columns: 38px 30px 38px auto; }
  .plur-platform .budget-panel .line-actions button:last-child { padding-inline: 12px; }
  .plur-platform .budget-panel .totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; padding: 12px 20px; align-items: center; }
  .plur-platform .budget-panel .totals > span { grid-column: 1; grid-row: 1; }
  .plur-platform .budget-panel .totals > strong { grid-column: 1; grid-row: 2; font-size: 22px; }
  .plur-platform .budget-panel .split-total { display: contents; }
  .plur-platform .budget-panel .split-total > strong { text-align: left; }
  .plur-platform .budget-panel .split-total > :nth-child(1) { grid-column: 2; grid-row: 1; }
  .plur-platform .budget-panel .split-total > :nth-child(2) { grid-column: 2; grid-row: 2; }
  .plur-platform .budget-panel .split-total > :nth-child(3) { grid-column: 3; grid-row: 1; }
  .plur-platform .budget-panel .split-total > :nth-child(4) { grid-column: 3; grid-row: 2; }
  .plur-platform .budget-panel .totals > small { grid-column: 1 / -1; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .quote-tab-group button { font-size: 12px; padding-inline: 10px; }
  .quote-tab-group button .plur-icon { display: none; }
}
@media (max-width: 1100px) {
  .sales-record-main { grid-template-columns: minmax(140px, 1fr) auto auto; gap: 10px 16px; }
  .sales-record-client { grid-column: 1 / 3; }
  .sales-record-main .badge { justify-self: end; }
  .sales-record-main .record-amount { text-align: left; }
}
@media (max-width: 700px) {
  .compact-sales-tools { grid-template-columns: 1fr; }
  .sales-record { padding: 12px 14px 0; }
  .clients-table .client-address { display: none; }
  .clients-table th:nth-child(2) { width: 35%; }
  .clients-table th:last-child { width: 52px; }
  .clients-table :is(td, th) { padding: 10px 8px; font-size: 12px; }
  .clients-table th { font-size: 10px; }
  .client-mobile-address { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
  .directory-row { padding: 12px; gap: 10px; }
  .zone-directory { grid-template-columns: 32px minmax(0, 1fr) 44px; }
  .zone-directory .day-badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .zone-directory .icon-button { grid-column: 3; grid-row: 1 / 3; }
  .member-directory { grid-template-columns: 38px minmax(0, 1fr) 44px; }
  .member-directory > .badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .member-directory > .member-state { grid-column: 2; grid-row: 3; justify-self: start; }
  .member-directory > .icon-button, .member-directory > .record-caption { grid-column: 3; grid-row: 1; }
  .member-more { grid-column: 1 / -1; }
  .plur-public .quote-access { padding: 8px 14px; gap: 8px; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .plur-public .quote-access.quote-actions-only:not(.is-sale) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-actions-only:not(.is-sale) .quote-tab-group, .quote-access [data-action="back-to-quote"][aria-current="true"], .quote-access .quote-public-hint { display: none; }
  .quote-access :is(button, a) { font-size: 12px; padding-inline: 8px; }
  .quote-tab-group { gap: 0; }
  .quote-tab-group > :is(button, span) { flex-shrink: 0; }
  .plur-public .quote-access :is(.quote-add, .quote-copy) { min-width: 0; width: 100%; padding: 9px 8px; gap: 6px; }
  .quote-access :is(.quote-add, .quote-copy) .plur-icon { display: none; }
  .quote-overview { width: calc(100% - 28px); margin: 16px auto 12px; padding: 18px 12px; }
  .quote-overview-title h1 { font-size: 20px; margin-bottom: 12px; }
  .quote-key-totals { gap: 8px; grid-template-columns: 1fr 1fr; }
  .quote-key-totals > div:first-child { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .quote-key-totals > div:nth-child(2) { border-left: 0; }
  .quote-key-totals > div { padding: 6px; }
  .quote-key-totals > div:first-child strong { font-size: 32px; }
  .quote-key-totals span { font-size: 11px; }
  body[data-experience="quote"] .plur-platform :is(.quote-layout, .quote-seller, .start-screen) { width: calc(100% - 28px); margin-inline: auto; }
  .quote-seller .seller-picker label { display: grid; grid-template-columns: 1fr; gap: 6px; font-size: 12px; }
  .quote-seller .seller-picker select { width: 100%; }
  .plur-platform .budget-panel .cart-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plur-platform .budget-panel .line-actions { justify-content: flex-end; }
  .quote-tab-group button .plur-icon { display: none; }
}
@media (max-width: 380px) {
  .compact-record-head { gap: 8px; }
  .compact-record-head h3 { font-size: 15px; }
  .compact-record-head .record-amount strong { font-size: 15px; }
  .compact-stop-actions { flex-wrap: wrap; }
  .compact-stop-actions .btn { flex: 1; padding-inline: 8px; }
  .plur-public .quote-access { padding-inline: 10px; gap: 6px; }
  .quote-access :is(button, a) { font-size: 11.5px; padding-inline: 6px; }
  .plur-public .quote-access :is(.quote-add, .quote-copy) { padding-inline: 6px; }
  .sales-record-main { column-gap: 8px; }
  .sales-record-main .record-amount strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .compact-disclosure[open] > .record-expanded { animation: none; }
  .compact-disclosure > summary .plur-icon { transition: none; }
}
