/* ZonaExpress seller design system. Lucide icons are bundled in index.html. */
:root {
  color-scheme: light;
  --bg: #f6f7f9; --panel: #fff; --panel2: #eef2f4; --line: #e0e5e9;
  --text: #24292e; --mut: #65707b; --acc: #167e70; --acc2: #106457;
  --ok: #14765d; --bad: #be344a; --warn: #9b5b18; --gold: #884e1c; --r: 8px;
  --ui-ink: #24292e; --ui-mint: #d9f3e8; --ui-focus: #14765d; --ui-sidebar: 220px;
  --ui-depth: 0 3px 0 #dbe2e7, 0 8px 16px -11px #25384735;
}
html { scrollbar-gutter: stable; }
html, body { background: var(--bg); line-height: 1.5; }
body:has(> .sheet) { overflow: hidden; }
button, input, select, textarea, h1, h2, h3, .bn, .bs { letter-spacing: 0; }
h1, h2, h3, .bn { font-family: system-ui, sans-serif; }
h1, h2 { line-height: 1.25; overflow-wrap: anywhere; font-weight: 730; }
h1 { font-size: 27px; } h2 { font-size: 22px; } h3 { font-size: 16px; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
.ui-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none; }
.ui-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.page-eyebrow { display: block; font-size: 12px; color: var(--mut); font-weight: 500; margin-bottom: 6px; }
#app > header { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); box-shadow: none; padding: calc(12px + env(safe-area-inset-top)) 20px 12px; }
.hrow { max-width: 1160px; min-height: 44px; gap: 12px; }
.company-symbol { width: 40px; height: 40px; flex-basis: 40px; border: 0; border-radius: 6px; box-shadow: none; background-size: contain; background-position: center; }
.login .company-logo { width: 160px; height: 160px; object-fit: contain; object-position: center; }
.bn { font-size: 17px; line-height: 1.3; }
.bs { font-size: 10px; text-transform: none; color: var(--mut); margin-top: 3px; }
.sync { font-size: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.sync b { font-size: 10px; color: #39755f; }
.dot { width: 6px; height: 6px; }
.wrap { max-width: 820px; padding: 28px 22px calc(120px + env(safe-area-inset-bottom)); }
.btn { background: var(--acc); color: #fff; min-height: 46px; padding: 11px 16px; font-size: 13px; font-weight: 650; border: 1px solid #106457; border-bottom: 3px solid #0c5146; border-radius: 7px; box-shadow: 0 4px 7px -5px #167e7040; gap: 8px; transition: background .16s, transform .16s; }
.btn:hover:not(:disabled) { background: var(--acc2); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid #d9e0e5; border-bottom: 3px solid #ccd6dd; box-shadow: 0 4px 7px -6px #25384735; }
.btn.ghost:hover:not(:disabled) { background: #f2f5f7; }
.btn.addmore { background: #d9f3e8; color: #195d48; border-color: #b4daca; border-bottom: 3px solid #9fcab8; }
.btn:disabled { box-shadow: none; cursor: not-allowed; }
.icon-button { width: 44px !important; height: 44px; min-height: 44px; padding: 10px; }
.linkbtn { color: #286b58; font-size: 13px; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin-bottom: 16px; }
.back-link .ui-icon { width: 17px; height: 17px; }
.danger { color: var(--bad) !important; }
input, select, textarea { border-radius: 7px; }
label { font-size: 12px; font-weight: 500; color: #586571; }
label input, label select, label textarea { background: #fff; color: var(--text); border-color: #d0d9e0; box-shadow: inset 0 1px 3px #24384708; min-height: 48px; }
.search { position: relative; margin: 20px 0; }
.search > .ui-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #75828e; width: 19px; height: 19px; pointer-events: none; }
.search input { background: #fff; border: 1px solid #d8e0e5; border-radius: 7px; min-height: 50px; padding: 13px 15px; box-shadow: 0 2px 3px #24384703; }
.search:has(> .ui-icon) input { padding-left: 44px; }
.search input:focus { border-color: #47927a; box-shadow: 0 0 0 3px #47927a12; }
.fld { background: transparent; border-radius: 7px; box-shadow: none; }
.fld input { background: #fff; border-radius: 7px; border-color: #d0d9e0; }
.fld.ic i { filter: grayscale(1); opacity: .65; }
#app > nav { background: #fff; border-top: 1px solid #d9e1e6; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); gap: 3px; box-shadow: 0 -5px 18px #24384708; }
#app > nav button { flex: 1 0 76px; min-width: 76px; min-height: 56px; padding: 7px 5px; color: #6b7681; border-radius: 6px; gap: 5px; font-size: 10px; font-weight: 600; }
#app > nav button.on { background: #24292e; color: #fff; box-shadow: 0 3px 0 #10171b; }
#app > nav button.on .ui-icon { color: #9de4c9; }
#app > nav button[data-v="create"]:not(.on) .ui-icon { color: #c54b15; background: #fff0e6; box-shadow: 0 2px 0 #edd8c9; border-radius: 5px; }
#app > nav button:hover:not(.on) { background: #eef3f4; color: #253e46; }
#app > nav .badge { background: #d94b0b; border: 2px solid #fff; min-width: 18px; height: 18px; font-size: 9px; top: 2px; left: calc(50% + 6px); }
.nav-unread { position: absolute; width: 6px; height: 6px; background: #d94b0b; border-radius: 50%; top: 5px; left: calc(50% + 10px); }
#cartpill { background: #24292e; color: #fff; border: 1px solid #3e4d56; border-bottom: 3px solid #121a20; border-radius: 8px; box-shadow: 0 6px 18px #25384725; bottom: calc(91px + env(safe-area-inset-bottom)); }
.cp-ico b { background: #b8e8d6; color: #224c3d; }
.cp-go { color: #bee9d9; font-size: 12px; }
.catalog-head, .orders-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 22px; }
.catalog-head h1, .orders-heading h1 { margin: 0; font-size: 27px; }
.catalog-head .page-eyebrow { text-align: left; max-width: none; }
.catalog-count { display: inline-flex; align-items: center; gap: 8px; font-size: 11px !important; color: #66747f; flex: none; }
.catalog-count .ui-icon { width: 18px; height: 18px; color: #548575; }
.zone-heading { margin: 28px 0 18px; }
.zone-heading h2 { font-size: 14px; margin: 0; }
.ztiles.zone-cubes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0 0 20px; }
.zone-cubes .zt { position: relative; width: 100%; aspect-ratio: 1; border-radius: 8px; border: 1px solid #dde4e9; border-bottom: 4px solid #cbd8df; padding: 16px; background: #fff !important; box-shadow: var(--ui-depth); align-items: flex-start; text-align: left; justify-content: flex-end; gap: 4px; transform: none; transition: transform .18s, border-color .18s; }
.zone-object { align-self: center; display: grid; place-items: center; width: 68px; height: 68px; min-height: 68px; margin: 0 auto 12px; background: var(--zone-tint); border-radius: 8px; border: 1px solid #ffffff80; box-shadow: 4px 5px 0 #e5eced, 0 10px 12px -10px #38525e55; transform: rotate(-5deg); }
.zone-object img { object-fit: contain; width: 90%; height: 90%; transform: rotate(5deg); filter: drop-shadow(0 5px 3px #38525e24); }
.zone-cubes .zt em { font-size: 34px; filter: drop-shadow(0 5px 3px #38525e24); transform: rotate(5deg); }
.zone-cubes .zt b { font-size: 13px; line-height: 1.35; font-weight: 650; color: #2c3842; }
.zone-cubes .zt small { font-size: 10px; color: #74808b; }
.zone-cubes .zt::after { content: '\2197'; position: absolute; bottom: 14px; right: 14px; color: #8c9ba5; font-size: 18px; }
.zone-cubes .zt:hover { transform: translateY(-3px); border-color: #9ebeb3; box-shadow: 0 6px 0 #dbe4e5, 0 12px 16px -12px #25384735; }
.zone-cubes .zt:active { transform: translateY(1px); }
.chips { gap: 8px; padding-bottom: 8px; }
.chip { font-size: 11px; min-height: 36px; border-radius: 5px; background: #fff; border: 1px solid #dce3e8; padding: 8px 11px; }
.chip.on { background: #e0f0e9; border-color: #afd1c2; color: #205f49; box-shadow: none; }
#open-advisor { justify-content: flex-start; background: #ebf6f1; color: #286c53; border-color: #c2ded0; margin: -4px 0 20px; box-shadow: none; }
#open-advisor > .ui-icon:last-child { margin-left: auto; }
.grid { gap: 18px; margin-top: 18px; }
.card { background: #fff; border: 1px solid #dde4e9; border-radius: 8px; border-bottom: 4px solid #d0dce3; box-shadow: var(--ui-depth); transition: transform .18s, border-color .18s; }
.card .ph { aspect-ratio: 1.1; padding: 16px; background: #f3f5f7; border-bottom: 1px solid #e5e9ed; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ci { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.cn { font-size: 14px; line-height: 1.4; font-weight: 700; min-height: 40px; }
.cb { font-size: 11px; margin-top: 5px; color: #75818b; }
.card .cp { color: #263c46; font-size: 19px; margin-top: 12px; font-weight: 750; }
.card .prov { font-size: 11px; margin-top: 5px; }
.card-action { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid #e8edf0; color: #346b58; font-size: 11px; font-weight: 650; }
.card-action .ui-icon { width: 15px; height: 15px; }
.favb { background: #fff; border: 1px solid #e0e5e9; border-radius: 5px; box-shadow: 0 2px 0 #d4dee4; }
.sheet { background: #1c293275; backdrop-filter: blur(5px); padding: 24px; align-items: center; }
.sheet > div { position: relative; width: 100%; max-width: 600px; max-height: calc(100dvh - 48px); background: #fff; border: 1px solid #e1e7eb; border-radius: 8px; padding: 28px; box-shadow: 0 8px 0 -4px #8d9eaa80, 0 24px 70px #14253240; overscroll-behavior: contain; }
.sheet h2 { padding-right: 44px; margin: 8px 0 12px; font-size: 23px; }
.sheet-x, .ck-x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; background: #f3f5f7; color: #64717b; border: 1px solid #dfe5e9; border-bottom: 2px solid #d1dbe2; border-radius: 6px; width: 38px; height: 38px; box-shadow: none; z-index: 4; }
.sheet-x .ui-icon { width: 18px; height: 18px; }
.grab { display: none; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.dialog-actions .btn { flex: 1 1 190px; }
.product-sheet > div { max-width: 900px; padding: 28px 28px 0; max-height: calc(100dvh - 48px); }
.product-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 28px; padding-top: 28px; }
.product-media, .product-info { min-width: 0; }
.product-sheet .gal { background: #f5f7f9; border: 1px solid #e6ebef; border-radius: 8px; border-bottom: 3px solid #d7e2e8; margin: 0; box-shadow: none; }
.product-sheet .bigph { height: 310px; background: #f5f7f9; margin: 0; }
.product-sheet .bigph img { padding: 18px; object-fit: contain; }
.product-empty { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 260px; background: #f2f5f7; border: 1px solid #e2e9ed; border-bottom: 3px solid #d5e1e7; border-radius: 8px; color: #a0b2bd; }
.product-empty .ui-icon { width: 64px; height: 64px; }
.product-empty small { font-size: 11px; }
.product-heading { padding: 0 0 10px; }
.product-heading h2 { font-size: 23px; margin: 8px 0; padding-right: 0; line-height: 1.35; }
.product-sheet .product-prices { padding: 18px 0; border-color: #e0e7ec; gap: 14px; margin: 0; }
.product-price-label { font-size: 11px; color: #71808b; }
.product-sheet .product-prices .price, .product-provider b { font-size: 21px; line-height: 1.4; color: #2b414c; }
.product-provider { border-color: #e0e7ec; padding-left: 14px; }
.product-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 18px 0; gap: 10px; }
.product-facts dt { font-size: 10px; color: #7a8792; }
.product-facts dd { font-size: 12px; overflow-wrap: anywhere; margin-top: 5px; }
.product-secondary { margin-top: 20px; border-top: 1px solid #e4eaee; padding: 16px 0; }
.product-secondary .linkbtn { font-size: 11px; }
.product-actionbar { background: #fff; border-top: 1px solid #e4eaee; padding: 16px 0 20px; }
.product-actionbar #po { background: #24292e; color: #fff; border: 1px solid #24292e; border-bottom: 3px solid #0e171e; box-shadow: 0 4px 6px -4px #273c4545; }
.product-actionbar #po:hover { background: #35464f; transform: none; }
.product-description summary { font-size: 12px; }
.product-description .desc { font-size: 13px; }
.summary-dashboard { display: grid; gap: 30px; }
.summary-dashboard .summary-head { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; border: 0; }
.summary-dashboard .summary-head h1 { font-size: 28px; margin: 0; }
.summary-dashboard .summary-head p { font-size: 12px; margin-top: 8px; }
.summary-dashboard #goc { width: auto; min-height: 44px; font-size: 12px; white-space: nowrap; background: #24292e; border: 1px solid #24292e; border-bottom: 3px solid #0f191e; color: #fff; box-shadow: 0 4px 7px -5px #25384740; }
.summary-dashboard #goc:hover { background: #35464f; }
.summary-dashboard .summary-section { margin: 0; min-width: 0; }
.summary-dashboard .summary-section h2 { font-size: 14px; margin: 0 0 18px; }
.summary-dashboard .summary-section h2::before { display: none; }
.summary-dashboard .summary-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; border: 0; margin: 0; }
.summary-dashboard .summary-metric { min-height: 132px; padding: 18px !important; background: #fff; border: 1px solid #e0e6eb !important; border-bottom: 4px solid #d0dbe2 !important; box-shadow: var(--ui-depth); }
.summary-dashboard .summary-metric::before { display: none; }
.summary-dashboard .summary-metric small { font-size: 11px; color: #6d7a85; }
.summary-dashboard .summary-metric strong { font-size: 25px; font-weight: 700; color: #2c404d; margin-top: 24px; overflow-wrap: anywhere; }
.summary-dashboard .summary-metric:first-child { background: #24292e; border-color: #24292e !important; border-bottom-color: #101c23 !important; }
.summary-dashboard .summary-metric:first-child small { color: #afc2cd; }
.summary-dashboard .summary-metric:first-child strong { color: #b4edd6; }
.summary-dashboard .summary-task { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid #dfe6eb; gap: 12px; background: none; }
.summary-task .task-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; background: #e4eee9; border: 1px solid #d3e4da; border-radius: 7px; box-shadow: 0 2px 0 #cdded5; color: #4e7b68; }
.summary-task:nth-of-type(2) .task-icon { background: #fff1e7; color: #ad744e; border-color: #eddfd3; box-shadow: 0 2px 0 #e5d6c8; }
.summary-task:nth-of-type(3) .task-icon { background: #e9eff8; color: #667e9f; border-color: #dce5ef; box-shadow: 0 2px 0 #d3deea; }
.summary-task .task-copy { flex: 1; min-width: 0; }
.summary-dashboard .summary-task b { font-size: 13px; font-weight: 650; }
.summary-dashboard .summary-task small { font-size: 11px; }
.summary-dashboard .summary-task strong { display: block; min-width: 20px; min-height: 0; font-size: 17px; padding: 0; color: #364b56 !important; background: none !important; border: 0 !important; box-shadow: none; }
.summary-task > .ui-icon { width: 15px; height: 15px; color: #a0adb6; }
.summary-dashboard .summary-recent { padding: 16px 0; gap: 14px; font-size: 12px; border-bottom-color: #dfe6eb; }
.summary-dashboard .summary-recent > span:last-child { color: #527160; font-size: 11px; max-width: 45%; }
.summary-dashboard .daily-hope { margin: 0; padding: 16px 0 16px 18px; background: none; color: #475b51; border: 0; border-left: 3px solid #bfdcc8; border-radius: 0; box-shadow: none; }
.summary-dashboard .daily-hope::before { display: none; }
.summary-dashboard .daily-hope small { font-size: 10px; color: #608273; }
.summary-dashboard .daily-hope p { font-size: 14px; line-height: 1.65; margin: 8px 0; max-width: 70ch; }
.summary-dashboard .daily-hope footer { color: #87928a; font-size: 10px; }
.summary-footnote { color: #818d97; font-size: 10px; line-height: 1.65; margin: 0; }
.inbox-tabs { display: flex; gap: 4px; padding: 4px; background: #e8edf1; border: 1px solid #e0e6eb; border-radius: 7px; }
.inbox-tabs button { flex: 1; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 5px; background: none; color: #7a8792; font-size: 12px; }
.inbox-tabs button[aria-pressed="true"] { background: #fff; color: #304944; box-shadow: 0 2px 0 #d2dce4, 0 3px 7px #25384708; }
.inbox-tabs button span { padding: 1px 5px; margin-left: 4px; background: #e9eff0; color: #638074; border-radius: 4px; font-size: 10px; }
.inbox-list { display: grid; gap: 12px; border: 0; }
.order-card.inbox-row { overflow: hidden; border: 1px solid #dce5ea; border-bottom: 3px solid #cfdae1; border-left: 4px solid #8aa7b5; border-radius: 8px; background: #f9fbfc; box-shadow: 0 4px 10px -8px #25384735; }
.inbox-open { display: grid; grid-template-columns: 44px minmax(0,1.2fr) minmax(0,1fr) auto 14px; gap: 16px; min-height: 96px; padding: 20px; border: 0; border-radius: 6px; }
.inbox-open:hover { background: #f9fcfb; }
.order-emblem { width: 42px; height: 46px; display: grid; place-items: center; border: 1px solid #dae4e8; border-bottom: 3px solid #c8d6de; border-radius: 6px; background: #f0f5f6; color: #6f8997; }
.inbox-identity b { font-size: 14px; }
.inbox-identity small, .inbox-amount small { font-size: 11px; color: #87949e; }
.inbox-amount b { font-size: 16px; color: #314652; }
.inbox-status { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border: 1px solid #cddde5; border-radius: 5px; background: #edf5f8; color: #476f82; font-size: 10px; font-weight: 650; }
.inbox-status::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; background: #829cb2; }
[data-status="nuevo"] { border-left-color: #dfa13d !important; background: #fffaf1 !important; } [data-status="nuevo"] .order-emblem { background: #fff2d7; border-color: #efcf91; color: #9b681d; } [data-status="nuevo"] .inbox-status { background: #fff2d7; border-color: #efcf91; color: #906016; } [data-status="nuevo"] .inbox-status::before { background: #d28c20; }
[data-status="aceptado"] { border-left-color: #6c9fc4 !important; background: #f3f8fc !important; } [data-status="aceptado"] .order-emblem { background: #e8f2fa; border-color: #bdd5e7; color: #42799e; } [data-status="aceptado"] .inbox-status { background: #e8f2fa; border-color: #bdd5e7; color: #42799e; } [data-status="aceptado"] .inbox-status::before { background: #5790b7; }
[data-status="pagado"] { border-left-color: #54a982 !important; background: #f1faf5 !important; } [data-status="pagado"] .order-emblem { background: #e3f4ea; border-color: #b9dec9; color: #287858; } [data-status="pagado"] .inbox-status { background: #e3f4ea; border-color: #b9dec9; color: #287858; } [data-status="pagado"] .inbox-status::before { background: #39936c; }
[data-status="despachado"] { border-left-color: #4b9f9b !important; background: #f0faf9 !important; } [data-status="despachado"] .order-emblem { background: #e0f3f1; border-color: #b8ded9; color: #247a76; } [data-status="despachado"] .inbox-status { background: #e0f3f1; border-color: #b8ded9; color: #247a76; } [data-status="despachado"] .inbox-status::before { background: #368f8a; }
[data-status="rechazado"] { border-left-color: #c87584 !important; background: #fff5f6 !important; } [data-status="rechazado"] .order-emblem { background: #fbeaec; border-color: #ecc4ca; color: #a95062; } [data-status="rechazado"] .inbox-status { background: #fbeaec; border-color: #ecc4ca; color: #a95062; } [data-status="rechazado"] .inbox-status::before { background: #b96172; }
.unsent { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #efd38a; border-left: 4px solid #d49a30; border-bottom: 3px solid #e6c56f; border-radius: 8px; background: #fffaf0; box-shadow: 0 4px 10px -8px #7c591d55; }
.unsent .btn { min-height: 42px; }
.order-dialog > div { max-width: 660px; padding: 24px; }
.order-dialog .order-dialog-heading { position: static; display: grid; gap: 7px; background: #eef8f4; border: 1px solid #cce4d8; border-left: 4px solid #4c9d78; border-bottom: 3px solid #b9d8c8; border-radius: 8px; padding: 18px; margin: 8px 0 24px; box-shadow: none; }
.order-dialog-heading > .sub:first-child { width: fit-content; padding: 4px 8px; border-radius: 5px; background: #d9f0e4; color: #25644c; font-size: 10px; font-weight: 700; }
.order-dialog-heading h2 { margin: 2px 0 0; font-size: 22px; }
.order-dialog-heading p.sub { margin: 0; font-size: 12px; }
.order-dialog-heading strong { margin-top: 5px; font-size: 27px; color: #19644d; font-variant-numeric: tabular-nums; }
.order-detail[data-status="nuevo"] .order-dialog-heading { background: #fffaf0; border-color: #efd89f; border-left-color: #d89a2c; border-bottom-color: #e8c66f; }.order-detail[data-status="nuevo"] .order-dialog-heading > .sub:first-child { background: #fff0ce; color: #926116; }.order-detail[data-status="aceptado"] .order-dialog-heading { background: #f2f8fc; border-color: #c9dfef; border-left-color: #6499c0; border-bottom-color: #b8d3e7; }.order-detail[data-status="aceptado"] .order-dialog-heading > .sub:first-child { background: #e1f0fa; color: #39769f; }.order-detail[data-status="pagado"] .order-dialog-heading { background: #f0faf5; border-color: #c4e2d1; border-left-color: #4b9d77; border-bottom-color: #b1d8c2; }.order-detail[data-status="pagado"] .order-dialog-heading > .sub:first-child { background: #dff2e8; color: #277857; }.order-detail[data-status="despachado"] .order-dialog-heading { background: #f0faf9; border-color: #c2e3df; border-left-color: #458f8b; border-bottom-color: #afdad5; }.order-detail[data-status="despachado"] .order-dialog-heading > .sub:first-child { background: #def2f0; color: #267670; }.order-detail[data-status="rechazado"] .order-dialog-heading { background: #fff5f6; border-color: #efcbd0; border-left-color: #c66b7b; border-bottom-color: #e6b7c0; }.order-detail[data-status="rechazado"] .order-dialog-heading > .sub:first-child { background: #fbe6e9; color: #a34a5d; }
.order-dialog .order-detail h3 { margin: 24px 0 10px; color: #687782; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.order-dialog .order-items { display: grid; gap: 8px; }
.order-dialog .order-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; margin: 0; padding: 10px; gap: 12px; border: 1px solid #dbe7ec; border-left: 3px solid #74b8aa; border-bottom: 3px solid #cfdee5; border-radius: 7px; background: #fff; }
.order-dialog .order-item-photo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border: 1px solid #dbe7ec; border-radius: 6px; background: #f4f9f8; color: #58777b; }
.order-dialog .order-item-photo img { width: 100%; height: 100%; object-fit: contain; }
.order-dialog .order-item-photo .ui-icon { width: 21px; height: 21px; }
.order-dialog .order-item-copy { display: grid; min-width: 0; gap: 4px; }
.order-dialog .order-item-copy b { overflow-wrap: anywhere; font-size: 13px; color: #193b40; }
.order-dialog .order-item-copy small { color: #657981; font-size: 11px; font-weight: 400; }
.order-dialog .order-item strong { align-self: center; color: #1f6155; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-dialog .order-note { margin-top: 10px; padding: 11px 13px; border-left: 3px solid #b6d5c4; border-radius: 0 6px 6px 0; background: #f3f9f6; font-size: 12px; }
.order-dialog .order-progress { gap: 8px; margin: 0; }
.order-dialog .order-progress li { min-height: 58px; padding: 9px 8px; border: 1px solid #dce5ea; border-top: 4px solid #d3dde3; border-radius: 6px; background: #f9fbfc; font-size: 10px; }
.order-dialog .order-progress .done { border-top-color: #55a37d; background: #f0faf5; color: #215f48; }
.order-dialog .order-progress [aria-current] { background: #e2f3ea; border-color: #aad5be; border-top-color: #238060; }
.order-dialog .pv { margin: 0; padding: 13px 14px; border: 1px solid #dae6ed; border-radius: 7px; background: #f5f9fc; }
.order-dialog .tinfo { margin: 10px 0; border: 1px solid #dce6ec; border-radius: 7px; background: #f4f7f9; font-size: 12px; }
.order-dialog .receipt-area { padding: 14px; border: 1px solid #c7e1d1; border-radius: 7px; background: #f2faf5; }
.payment-section { margin-top: 24px; padding: 15px; border: 1px solid #ead39d; border-left: 4px solid #d79626; border-bottom: 3px solid #e3c773; border-radius: 8px; background: #fffaf0; }
.payment-section-head { display: grid; gap: 3px; margin-bottom: 12px; }
.payment-section-head span { color: #966016; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.payment-section-head b { color: #634b24; font-size: 13px; }
.payment-section .pv { border-color: #ecdba9; background: #fffdf7; }
.payment-section .tinfo { border-color: #e8dcb8; background: #fffdf8; white-space: pre-wrap; }
.payment-section .btn { margin-top: 2px; }
.order-dialog .receipt-area { display: grid; gap: 9px; margin-top: 12px; }
.receipt-status { display: flex; align-items: center; gap: 10px; }
.receipt-status > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #dff1e7; color: #237656; }
.receipt-status.is-checking > span { background: #fff0cf; color: #9a6619; }
.receipt-spinner { box-sizing: border-box; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: receipt-spin .85s linear infinite; }
@keyframes receipt-spin { to { transform: rotate(360deg); } }
.receipt-status .ui-icon { width: 17px; height: 17px; }
.receipt-status div { display: grid; gap: 1px; min-width: 0; }
.receipt-status b { color: #24654e; font-size: 12px; }
.receipt-status small, .receipt-help { color: #62766d; font-size: 11px; }
.receipt-upload { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid #0f6759; border-bottom: 3px solid #0b5147; border-radius: 7px; background: #167e70; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.receipt-upload:hover { background: #106457; }
.receipt-upload.secondary { border-color: #b7d9ca; border-bottom-color: #9fc5b4; background: #fff; color: #276952; }
.receipt-upload .ui-icon { width: 17px; height: 17px; }
@media (max-width: 580px) { .order-dialog > div { padding: 18px; } .order-dialog .order-dialog-heading { padding: 16px; } .order-dialog .order-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); } .order-dialog .order-progress li { min-height: 52px; } .order-dialog .order-item { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; } .order-dialog .order-item-photo { width: 44px; height: 44px; } .order-dialog .order-item strong { grid-column: 2; justify-self: start; font-size: 12px; } }
.pv { padding: 12px 0; border-bottom: 1px solid #e3e9ed; font-size: 13px; gap: 14px; }
.pv > * { min-width: 0; overflow-wrap: anywhere; }
.pv b { text-align: right; }
.paybox, .warnbox, .tierbox, .tiernote, .tinfo, .total { border-radius: 7px; }
.paybox { background: #fff7f0; border-color: #eadccf; }
.paybox-h { font-size: 14px; }
.tinfo { background: #f0f5f7; color: #526774; padding: 16px; }
.directory-heading { display: flex; justify-content: space-between; padding: 18px 42px 12px 0; border-bottom: 1px solid #dce5eb; color: #8a98a3; font-size: 10px; }
#client-list { margin-top: 0; }
#client-list [data-open-client] { display: flex; width: 100%; align-items: center; text-align: left; gap: 14px; min-height: 88px; border: 0; border-bottom: 1px solid #e0e7ed; border-radius: 0; margin: 0; background: none; padding: 18px 0; color: var(--text); cursor: pointer; box-shadow: none; }
#client-list [data-open-client]:hover { background: #edf4f1; }
.client-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 7px; background: #dfeee7; color: #577f69; border: 1px solid #cde0d4; border-bottom: 3px solid #bfd4c7; font-size: 13px; font-weight: 650; box-shadow: 0 3px 7px -6px #25384725; }
.client-identity { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.client-identity b { display: block; font-size: 14px; font-weight: 650; }
.client-identity small { display: block; font-size: 11px; color: #82909a; margin-top: 5px; }
.client-orders { width: 40px; text-align: center; font-size: 13px; color: #778c80; }
.client-row > .ui-icon { width: 15px; height: 15px; color: #a3afb8; }
.directory-empty { text-align: center; padding: 56px 20px; color: #7a8c97; }
.directory-empty > .ui-icon { width: 44px; height: 44px; color: #a6c2b4; }
.directory-empty h3 { font-size: 16px; color: #506875; }
.directory-empty p { font-size: 12px; }
.client-profile { padding-top: 10px; }
.client-profile > .client-avatar { width: 58px; height: 58px; margin-bottom: 18px; font-size: 18px; }
.client-profile h2 { margin: 4px 0 8px; }
.client-totals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #e0e7eb; border-bottom: 1px solid #e0e7eb; gap: 20px; margin: 24px 0; padding: 18px 0; }
.client-totals small, .client-totals strong { display: block; overflow-wrap: anywhere; }
.client-totals small { color: #8a98a3; font-size: 11px; }
.client-totals strong { font-size: 23px; font-weight: 650; margin-top: 10px; color: #426257; }
.client-form-dialog form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 16px; }
.client-form-dialog form > label:first-child, .client-form-dialog form > label:last-of-type, .client-form-dialog form > p, .client-form-dialog form > .btn { grid-column: 1 / -1; }
.client-form-dialog form > p { font-size: 11px; margin: 18px 0 8px; }
.account-identity { display: flex; align-items: center; gap: 16px; padding: 0 0 28px; border-bottom: 1px solid #dde6eb; }
.account-identity .client-avatar { width: 58px; height: 58px; font-size: 18px; background: #24292e; color: #b9e6d4; border-color: #24292e; border-bottom-color: #131f26; }
.account-identity > div { min-width: 0; }
.account-identity h2 { font-size: 21px; margin: 0 0 6px; }
.role-label { display: inline-block; color: #6c897a; font-size: 11px; }
.account-group { margin: 28px 0; }
.account-group > h2 { color: #85939e; font-size: 11px; font-weight: 600; margin: 0 0 12px; }
.settings-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 14px 0; text-align: left; background: none; color: #435563; border: 0; border-bottom: 1px solid #e1e8ed; cursor: pointer; }
.settings-row > .ui-icon:first-child { color: #688777; width: 21px; height: 21px; }
.settings-row > span:not(.ui-icon):not(.settings-badge) { flex: 1; min-width: 0; }
.settings-row b { font-size: 13px; font-weight: 600; }
.settings-row small { display: block; margin-top: 5px; color: #8a98a3; font-size: 11px; }
.settings-row > .ui-icon:last-child { color: #a2b0ba; width: 15px; height: 15px; }
.settings-row:hover { background: #edf4f1; }
.settings-badge { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 2px 5px; font-size: 10px; background: #fff0e7; color: #b67245; border: 1px solid #f0ddd0; border-radius: 5px; }
.settings-expanded { padding: 12px 0 16px 35px; }
.account-notifications summary { list-style: none; }
.account-notifications summary::-webkit-details-marker { display: none; }
.account-notifications[open] summary > .ui-icon:last-child { transform: rotate(90deg); }
#lo { margin-top: 8px; min-height: 44px; }
.notice-list { margin-top: 20px; }
.notice-row { display: flex; align-items: center; gap: 14px; padding: 22px 0; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #dde6ec; color: var(--text); cursor: pointer; }
.notice-icon { color: #95a5af; }
.notice-row.unread .notice-icon { color: #3f9570; }
.notice-copy { min-width: 0; flex: 1; display: grid; gap: 5px; }
.notice-copy b { font-size: 13px; }
.notice-copy > span { font-size: 12px; color: #688478; }
.notice-copy small { font-size: 11px; color: #92a0a9; overflow-wrap: anywhere; }
.notice-read { font-size: 10px; color: #97a6af; white-space: nowrap; }
.notice-row.unread .notice-read { color: #a17649; }
.notice-row > .ui-icon { width: 14px; height: 14px; color: #9fadb7; }
.help-list { margin-bottom: 24px; }
.ord { background: none; border: 0; border-bottom: 1px solid #e0e7ed; border-radius: 0; box-shadow: none; padding: 20px 0; margin: 0; }
.help-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; font-size: 13px; }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary > .ui-icon { width: 16px; height: 16px; color: #8ba698; }
.help-list details[open] summary > .ui-icon { transform: rotate(45deg); }
.help-list p { font-size: 12px; line-height: 1.8; padding-right: 24px; }
.order-workspace { max-width: 880px; margin: 0 auto; }
.order-workspace .ck-in { height: auto; max-width: none; background: none; }
.order-workspace .ck-top { padding: 8px 0 22px; background: none; border-bottom: 1px solid #dce5eb; }
.order-workspace .ck-steps { padding: 0; gap: 16px; }
.ck-steps div { font-size: 12px; }
.ck-steps span { width: 28px; height: 28px; border-radius: 6px; border-color: #dce5eb; color: #8b9aa5; background: #edf1f4; box-shadow: 0 2px 0 #d4dfe6; }
.ck-steps .on span { background: #24292e; color: #b2e9d3; border-color: #24292e; box-shadow: 0 2px 0 #131f26; }
.ck-steps .done span { background: #dfefe6; color: #5b8a71; border-color: #c9e1d2; box-shadow: 0 2px 0 #bfd7c8; }
.ck-prog { height: 3px; background: #e4ebef; }
.ck-prog i { background: #83bca4; box-shadow: none; }
.order-workspace .ck-body { overflow: visible; padding: 22px 0 30px; animation: none; }
.ck-card, .cline, .sumbox { border-radius: 7px; background: #fff; border: 1px solid #dfe6eb; border-bottom: 3px solid #d5e0e6; box-shadow: 0 4px 8px -7px #25384725; }
.ck-card { padding: 20px; }
.cline { padding: 16px; grid-template-columns: 54px minmax(0,1fr) auto; }
.cl-ph { width: 54px; height: 64px; border-radius: 6px; background-color: #f0f5f7; }
.cl-q button, .price3d button, .stepper button { background: #fff; border: 1px solid #d7e1e8; border-bottom: 3px solid #c5d5df; border-radius: 6px; box-shadow: none; }
.order-workspace .ck-bar { position: sticky; bottom: calc(91px + env(safe-area-inset-bottom)); z-index: 4; border: 1px solid #d3dfe6; border-bottom: 3px solid #c3d3dc; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px #25384712; padding: 16px; }
.ck-tot b { color: #355548; font-variant-numeric: tabular-nums; }
.ck-tot span { color: #7a8b96; font-size: 10px; }
.order-product-results { display: grid; gap: 8px; margin: 12px 0 24px; max-height: 260px; overflow-y: auto; }
.order-product-result { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; background: #fff; border: 1px solid #dfe7ed; border-radius: 7px; padding: 14px; cursor: pointer; }
.order-product-result b { font-size: 13px; }
.order-product-result small { display: block; font-size: 11px; color: var(--mut); margin-top: 5px; }
.order-product-result > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.order-product-result > span:last-child { flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: #e4f2e9; color: #51836b; font-size: 22px; border: 1px solid #c8dfd0; border-bottom: 3px solid #b9d3c2; border-radius: 6px; }
.order-product-result:disabled { opacity: .55; cursor: not-allowed; }
.order-line-price { display: block; font-size: 10px; color: var(--mut); margin-top: 10px; }
.order-line-price input { width: 100%; max-width: 180px; display: block; padding: 8px; background: #f9fbfc; border: 1px solid #d6e1e8; color: var(--text); }
.ck.add-order { display: flex; align-items: center; justify-content: center; padding: 24px; background: #1c293275; backdrop-filter: blur(5px); }
.add-order .ck-in { width: 100%; height: auto; max-height: calc(100dvh - 48px); max-width: 680px; border: 1px solid #dbe5eb; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 0 -4px #8d9eaa80, 0 24px 70px #14253240; background: #fff; }
.add-order .ck-top { background: #fff; padding: 24px 28px; border-bottom: 1px solid #e0e7ed; flex: none; }
.add-order .ck-title { font-size: 17px; text-align: left; }
.add-order .ck-body { padding: 24px 28px; min-height: 0; overflow-y: auto; }
.add-order .p3d, .add-order .p3d-info, .add-order .p3d-img { transform: none !important; background-color: #fff; box-shadow: none; }
.p3d-shine { display: none; }
.add-order .p3d-info { background: none; }
.add-order .ck-card { background: none; border: 0; border-bottom: 1px solid #e3eaee; border-radius: 0; box-shadow: none; padding: 20px 0; }
.add-order .ck-bar { background: #f6faf8; border-top: 1px solid #dce8e1; padding: 20px 28px; flex: none; }
.add-order .ck-tot b { font-size: 23px; }
.add-order .qty3d output { text-shadow: none; font-size: 23px; }
.price3d input { font-family: system-ui, sans-serif; color: #36564b; }
.login { max-width: 440px; padding: 28px 24px; background: none; border: 0; box-shadow: none; }
.login h1 { font-family: system-ui, sans-serif; font-size: 28px; color: var(--text); }
.orders-heading [data-order-catalog] { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.order-workspace { max-width: 1160px; }
.order-workspace .ck-top { padding: 4px 0 20px; }
.order-workspace .ck-steps { display: flex; list-style: none; margin: 0; padding: 0; gap: 20px; }
.order-workspace .ck-steps li { display: flex; align-items: center; gap: 9px; flex: 1; font-size: 12px; color: #7b8992; }
.order-workspace .ck-steps li.on { color: #263d35; font-weight: 650; }
.order-workspace .ck-prog { margin-top: 18px; }
.order-flow { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; }
.order-workspace .ck-body { min-width: 0; padding: 24px 0 0; }
.order-workspace h2 { font-size: 15px; margin: 0 0 18px; }
.order-product-picker { border-bottom: 1px solid #dce5e9; padding: 18px 0 22px; }
.order-product-picker .search { margin: 0 0 12px; }
.order-workspace .order-product-results { margin: 0; max-height: 294px; gap: 8px; overscroll-behavior: contain; padding: 0 3px 3px 0; }
.order-workspace .order-product-results[hidden] { display: none; }
.order-workspace .order-product-result { padding: 12px; gap: 12px; min-height: 88px; border-bottom: 3px solid #d7e2e7; }
.order-workspace .order-product-result:hover:not(:disabled) { border-color: #b0cdbf; background: #fafdfb; }
.order-result-photo { flex: none; width: 42px; height: 52px; display: grid; place-items: center; background: #f0f4f6; border: 1px solid #e1e8eb; border-radius: 5px; color: #91a6b0; }
.order-result-photo img, .order-workspace .cl-ph img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.order-result-copy { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.order-workspace .order-result-copy b { font-size: 12px; line-height: 1.4; display: block; }
.order-workspace .order-result-copy small { font-size: 10px; margin-top: 3px; }
.order-result-add .ui-icon { width: 18px; height: 18px; }
.order-selected { padding-top: 0; }
.order-selected-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.order-selected-heading h2 { margin: 0; }
.order-workspace .order-add-products { width: auto; min-height: 42px; padding: 10px 12px; font-size: 12px; background: #e5f3ee; border-color: #bad8cc; border-bottom-color: #93bdae; color: #285b4b; }
.order-add-products .ui-icon { width: 17px; height: 17px; }
.order-selected h2 { display: flex; gap: 8px; align-items: center; }
.order-selected h2 > span { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 2px 5px; font-size: 10px; background: #dfeee7; color: #527a67; border-radius: 5px; }
.order-empty { padding: 24px 12px 30px; display: grid; justify-items: center; gap: 12px; color: #91a2ad; }
.order-empty > .ui-icon { width: 36px; height: 36px; }
.order-empty h3 { font-size: 12px; font-weight: 500; margin: 0; color: #7a8c98; }
.order-workspace .cline { grid-template-columns: 44px minmax(0,1fr) 110px; gap: 14px; border: 0; border-bottom: 1px solid #dce5e9; border-radius: 0; box-shadow: none; background: none; padding: 20px 0; }
.order-workspace .cl-ph { width: 44px; height: 54px; display: grid; place-items: center; color: #8ca4af; }
.order-workspace .cl-i { min-width: 0; }
.order-workspace .cline.order-product-fold { display: block; padding: 0; }
.order-product-fold > summary { display: grid; grid-template-columns: minmax(0,1fr) auto 20px; align-items: center; gap: 12px; padding: 16px 0; list-style: none; cursor: pointer; }
.order-product-fold > summary::-webkit-details-marker { display: none; }
.order-product-fold > summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.order-fold-name { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.order-fold-name small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--mut); }
.order-product-fold > summary > b { font-size: 13px; font-variant-numeric: tabular-nums; }
.order-product-fold > summary > .ui-icon { transform: rotate(90deg); }
.order-product-fold[open] > summary > .ui-icon { transform: rotate(-90deg); }
.order-fold-body { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 14px; padding: 0 0 16px; }
.order-workspace .cl-i > b { font-size: 13px; line-height: 1.5; }
.order-workspace .cl-i > .sub { font-size: 10px; margin-top: 4px; }
.order-workspace .cl-q { display: flex; align-items: center; gap: 0; margin-top: 12px; }
.order-workspace .cl-q button { width: 33px; height: 33px; font-size: 18px; border-radius: 5px; }
.order-workspace .cl-q button:disabled { opacity: .35; cursor: not-allowed; }
.order-workspace .cl-q output { display: grid; place-items: center; width: 38px; height: 33px; font-size: 13px; }
.order-workspace .order-line-price { font-size: 10px; margin-top: 12px; }
.order-workspace .order-line-price input { width: 100%; max-width: 170px; min-height: 40px; font-size: 13px; padding: 8px 10px; background: #fff; }
.order-workspace .cl-t { grid-column: auto; text-align: right; min-width: 0; }
.order-workspace .cl-t > b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.order-workspace .cl-t > small { display: block; font-size: 10px; font-weight: 500; margin-top: 6px; }
.order-remove { display: inline-grid; place-items: center; width: 33px; height: 33px; margin-top: 16px; color: #81929b; background: #fff; border: 1px solid #d9e3e8; border-bottom: 2px solid #cbd9e0; border-radius: 5px; cursor: pointer; }
.order-remove .ui-icon { width: 15px; height: 15px; }
.order-remove:hover { color: var(--bad); background: #fff5f5; }
.order-distribution { padding: 20px 0 0; font-size: 12px; color: #567563; }
.order-distribution summary { min-height: 36px; cursor: pointer; }
.order-sidebar { min-width: 0; padding-top: 24px; border-top: 1px solid #d5e1e5; }
.order-sidebar h2 { font-size: 14px; }
.order-summary-count { font-size: 11px; color: #81919c; padding-bottom: 12px; }
.order-totals .rcpt-row { font-size: 12px; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e0e7eb; }
.order-totals .rcpt-row > span { flex: 1; min-width: 0; }
.order-totals .rcpt-row b { font-size: 13px; white-space: nowrap; }
.order-amount-due { display: grid; gap: 10px; border-left: 3px solid #b3d8c6; padding: 16px; background: #e9f4ee; margin-top: 20px; border-radius: 0 6px 6px 0; }
.order-amount-due span { font-size: 10px; color: #6a897a; }
.order-amount-due b { color: #315e49; font-size: 26px; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.order-workspace .ck-bar { position: static; border: 0; border-radius: 0; box-shadow: none; padding: 20px 0 0; background: none; backdrop-filter: none; }
.order-workspace .ck-btns { display: flex; gap: 10px; width: 100%; min-width: 0; }
.order-workspace .ck-btns .btn { flex: 1; width: auto; min-width: 0; font-size: 12px; white-space: normal; }
.order-workspace .ck-btns [data-back] { flex: 0 0 44px; padding: 10px; }
.order-workspace .ck-next { background: #24292e; border-color: #24292e; border-bottom-color: #101b20; box-shadow: 0 3px 5px -4px #24384735; }
.order-workspace .ck-next:hover:not(:disabled) { background: #354a40; }
.order-workspace .ck-next:disabled { background: #dce4e6; color: #89969c; border-color: #d2dce0; opacity: 1; }
.order-workspace .ck-next .ui-icon { width: 16px; height: 16px; }
.order-client-picker { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; align-items: end; }
.order-client-picker .btn { min-height: 48px; }
.order-data-section > .sub { margin: 14px 0 0; font-size: 11px; }
.order-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.order-fields label, .order-client-picker label, .order-note label { display: grid; gap: 8px; margin: 0; font-size: 11px; }
.order-fields input, .order-client-picker select, .order-note textarea { width: 100%; margin: 0; padding: 12px; font-size: 14px; }
.order-note textarea { resize: vertical; min-height: 90px; }
.order-fields input[aria-invalid="true"], .order-line-price input[aria-invalid="true"] { border-color: var(--bad); }
.order-workspace [data-customer-fields] { padding-top: 24px; }
.order-workspace [data-customer-fields] h3 { font-size: 13px; margin: 0 0 6px; }
.order-workspace [data-customer-fields] > p { font-size: 11px; margin: 0 0 18px; }
.order-payment { padding: 22px 0; margin-top: 24px; border-top: 1px solid #dce5e9; border-bottom: 1px solid #dce5e9; }
.order-payment h3 { font-size: 13px; margin: 0 0 8px; }
.order-payment .sub { font-size: 11px; line-height: 1.8; }
.order-note { padding-top: 24px; }
.order-review-label { color: #81919c; font-size: 11px; margin: 0 0 8px; }
.order-review .rcpt-row { font-size: 12px; padding: 16px 0; gap: 18px; }
.order-review .rcpt-row > span { flex: 1; min-width: 0; }
.order-review .rcpt-row > span .sub { display: block; margin-top: 6px; font-size: 11px; }
.order-review .rcpt-row b { font-size: 13px; max-width: 50%; text-align: right; overflow-wrap: anywhere; }
.order-next-info { font-size: 11px; line-height: 1.9; margin: 24px 0 0; padding-left: 14px; border-left: 2px solid #c6ddd0; }
@media (min-width: 1100px) {
  .order-flow { grid-template-columns: minmax(0,1fr) 270px; gap: 32px; }
  .order-sidebar { position: sticky; top: 96px; padding: 24px 0 0 26px; border-top: 0; border-left: 1px solid #d5e1e5; }
}
@media (min-width: 581px) {
  .order-client-picker { grid-template-columns: minmax(0,1fr) auto; }
  .order-client-picker .btn { width: auto; }
}
@media (max-width: 580px) {
  .order-workspace .ck-steps { gap: 8px; }
  .order-workspace .ck-steps li { font-size: 11px; gap: 7px; }
  .order-workspace .ck-steps span { width: 25px; height: 25px; }
  .order-workspace .cline { grid-template-columns: 34px minmax(0,1fr) 92px; gap: 10px; }
  .order-workspace .cl-ph { width: 34px; height: 44px; }
  .order-workspace .cl-t { grid-column: auto; }
  .order-workspace .cl-i > b { font-size: 12px; }
  .order-workspace .cl-t > b { font-size: 12px; }
  .order-workspace .cl-t > small { font-size: 9px; }
  .order-fields { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .order-workspace .cline { grid-template-columns: minmax(0,1fr) 88px; }
  .order-workspace .cl-ph { display: none; }
  .order-workspace .order-result-photo { display: none; }
}
@media (min-width: 760px) {
  .summary-dashboard { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .summary-head, .summary-activity, .daily-hope, .summary-footnote { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  #app > header { padding-left: calc(var(--ui-sidebar) + 36px); padding-right: 36px; }
  #app > .wrap { margin-left: var(--ui-sidebar); margin-right: 0; max-width: none; padding: 36px 44px 110px; }
  #app > .wrap > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
  #app > nav { top: 0; right: auto; width: var(--ui-sidebar); flex-direction: column; overflow-x: hidden; overflow-y: auto; padding: 28px 14px; border: 0; border-right: 1px solid #e0e7ed; box-shadow: none; gap: 7px; scroll-snap-type: none; }
  #app > nav::before { content: 'ZonaExpressPy'; color: #293e49; font-size: 18px; font-weight: 730; padding: 5px 12px 30px; border-bottom: 1px solid #e0e7ed; margin-bottom: 18px; }
  #app > nav button { width: 100%; min-width: 0; min-height: 48px; flex: 0 0 auto; flex-direction: row; justify-content: flex-start; font-size: 12px; padding: 13px 12px; gap: 13px; }
  #app > nav button[data-v="me"] { margin-top: auto; }
  #app > nav .badge { position: static; margin-left: auto; border: 0; }
  .nav-unread { left: auto; right: 14px; top: 50%; }
  .grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ztiles.zone-cubes { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #cartpill, .updbar { left: calc(50% + var(--ui-sidebar) / 2); bottom: 24px; }
  .order-workspace .ck-bar { bottom: 20px; }
  #app[data-view="me"] .wrap, #app[data-view="help"] .wrap, #app[data-view="alerts"] .wrap { max-width: 940px; }
}
@media (min-width: 1240px) {
  .summary-dashboard .summary-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ztiles.zone-cubes { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .sheet { padding: 0; align-items: flex-end; }
  .sheet > div { border-radius: 12px 12px 0 0; padding: 26px 22px calc(22px + env(safe-area-inset-bottom)); max-height: 93dvh; border-top: 1px solid #d5e2e9; box-shadow: 0 -12px 40px #14253225; }
  .grab { display: block; background: #d5e0e7; height: 4px; width: 36px; margin: -12px auto 22px; }
  .product-sheet > div { padding: 26px 22px 0; max-height: 93dvh; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .product-sheet .bigph { height: 240px; }
  .product-empty { min-height: 130px; }
  .product-empty .ui-icon { width: 42px; height: 42px; }
  .product-heading h2 { font-size: 22px; }
  .ck.add-order { align-items: flex-end; padding: 0; }
  .add-order .ck-in { border-radius: 12px 12px 0 0; max-height: 96dvh; }
  .add-order .ck-bar { grid-template-columns: 1fr; }
  .add-order .ck-btns, .add-order .ck-btns .btn { width: 100%; }
}
@media (max-width: 580px) {
  .wrap { padding: 24px 18px calc(120px + env(safe-area-inset-bottom)); }
  #app > header { padding-left: 18px; padding-right: 18px; }
  .hrow { gap: 10px; } .bn { font-size: 15px; } .bs { font-size: 9px; }
  .sync { padding-left: 8px; max-width: 110px; }
  .company-symbol { width: 34px; height: 40px; flex-basis: 34px; }
  .catalog-head h1, .orders-heading h1 { font-size: 25px; }
  .catalog-count { gap: 5px; font-size: 10px !important; }
  .catalog-count .ui-icon { display: none; }
  .ztiles.zone-cubes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .zone-cubes .zt { padding: 14px; gap: 3px; }
  .zone-object { width: 56px; height: 56px; min-height: 56px; margin-bottom: 10px; }
  .zone-cubes .zt b { font-size: 12px; }
  .zone-cubes .zt em { font-size: 29px; }
  .grid { gap: 12px; }
  .ci { padding: 12px; } .cn { font-size: 13px; }
  .card .cp { font-size: 17px; }
  .summary-dashboard .summary-head h1 { font-size: 26px; }
  .summary-dashboard #goc { font-size: 11px; padding: 10px 12px; }
  .summary-dashboard #goc .ui-icon { width: 17px; height: 17px; }
  .summary-dashboard .summary-head { gap: 12px; }
  .summary-dashboard .summary-head p { max-width: 180px; font-size: 11px; }
  .summary-dashboard .summary-metric { min-height: 128px; padding: 16px !important; }
  .summary-dashboard .summary-metric strong { font-size: 22px; }
  .summary-dashboard .summary-metric small { font-size: 10px; }
  .inbox-open { grid-template-columns: 34px minmax(0,1fr) auto 10px; padding: 16px 12px; gap: 8px 10px; }
  .order-emblem { grid-column: 1; grid-row: 1 / 3; width: 32px; height: 40px; }
  .order-emblem .ui-icon { width: 19px; height: 19px; }
  .inbox-identity { grid-column: 2; grid-row: 1; }
  .inbox-identity b { font-size: 13px; }
  .inbox-identity small { font-size: 10px; }
  .inbox-status { grid-column: 2; grid-row: 2; font-size: 9px; }
  .inbox-amount { grid-column: 3; grid-row: 1 / 3; }
  .inbox-amount b { font-size: 13px; }
  .inbox-amount small { font-size: 10px; }
  .inbox-arrow { grid-column: 4; grid-row: 1 / 3; }
  .orders-heading .btn:not(.icon-button) { font-size: 11px; padding: 10px 12px; width: auto; }
  .orders-heading .btn > .ui-icon { width: 17px; height: 17px; }
  .directory-heading { padding-right: 29px; }
  .client-orders { width: 26px; }
  .client-avatar { width: 38px; height: 40px; }
  .client-row { gap: 10px !important; }
  .notice-row { gap: 10px; }
  .notice-read { display: none; }
  .client-totals strong { font-size: 21px; }
  .product-sheet .product-prices .price, .product-provider b { font-size: 20px; }
  .ck-card { padding: 16px; }
}
@media (max-width: 480px) {
  .ck-steps div { font-size: 11px; }
  .ck-steps span { width: 25px; height: 25px; }
  .inbox-tabs button { font-size: 11px; padding: 8px; }
}
@media (max-height: 700px) {
  .ck.add-order { padding: 4px; }
  .add-order .ck-in { max-height: calc(100dvh - 8px); }
  .add-order .ck-top { padding: 10px 16px; }
  .add-order .ck-title { font-size: 15px; }
  .add-order .ck-body { padding: 10px 16px; }
  .add-order .p3d { grid-template-columns: 52px minmax(0,1fr); gap: 10px; padding-bottom: 10px; }
  .add-order .p3d-img { height: 62px; }
  .add-order .p3d-info { padding: 1px 0; }
  .add-order .p3d-info > .sub { font-size: 11px; }
  .add-order .p3d-info b { font-size: 14px; line-height: 1.25; }
  .add-order .p3d-price { font-size: 16px; }
  .add-order .suggested-price { margin-top: 2px; }
  .add-order .ck-card { padding-top: 8px; padding-bottom: 8px; }
  .add-order .ck-body > .ck-card:not(.sale-options), .add-order .sale-options { padding-left: 12px; }
  .add-order .qty3d { margin-top: 6px; }
  .add-order .qty3d button { width: 40px; height: 38px; }
  .add-order .qty3d output { min-width: 56px; font-size: 20px; line-height: 38px; }
  .add-order .ck-card .sub { margin-top: 4px !important; font-size: 11px; }
  .add-order .sale-options > summary { min-height: 34px; padding: 3px 0; }
  .add-order .ck-bar { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
  .add-order .ck-tot b { font-size: 19px; }
  .add-order .ck-next { min-height: 40px; }
}
@media (max-width: 360px) {
  .company-symbol { display: none; }
  .summary-dashboard .summary-metric strong { font-size: 19px; }
  .summary-dashboard #goc { max-width: 114px; white-space: normal; font-size: 10px; }
  .catalog-count { max-width: 80px; }
  .inbox-open { grid-template-columns: minmax(0,1fr) auto 10px; gap: 8px; }
  .order-emblem { display: none; }
  .inbox-identity, .inbox-status { grid-column: 1; }
  .inbox-amount { grid-column: 2; }
  .inbox-arrow { grid-column: 3; }
  .client-form-dialog form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .card:hover, .zt:hover, .summary-task:hover { transform: none !important; }
}

/* Product depth and compact navigation for the seller ordering flow. */
.category-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid var(--line); margin: 8px 0 14px; }
.category-tabs button { padding: 12px 2px; min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--mut); font-size: 13px; font-weight: 600; }
.category-tabs button[aria-pressed="true"] { color: var(--acc); border-bottom-color: var(--acc); }
.card { overflow: hidden; box-shadow: 0 3px 0 #dce5e2, 0 12px 24px -18px #233d4666; border-bottom: 2px solid #cadbd6; }
.card .ph { aspect-ratio: 1; background: #fafcfb; padding: 18px; box-shadow: inset 0 -12px 22px -20px #46695866; }
.card .ph img { filter: drop-shadow(0 12px 7px #243c3926); }
.card .cn { min-height: 40px; overflow-wrap: anywhere; }
.card .cp { color: #202d2b; font-variant-numeric: tabular-nums; }
.card .minq { font-size: 11px; color: var(--mut); font-weight: 400; margin-top: 3px; }
.catalog-add { margin-top: auto; width: 100%; margin-block-start: 16px; font-size: 13px; }
.catalog-add .ui-icon { width: 18px; height: 18px; }
.product-media img { filter: drop-shadow(0 12px 8px #243c3920); }
#app > nav button[data-v="create"]:not(.on) .ui-icon { color: #167e70; background: #e2f4ee; box-shadow: 0 2px 0 #c6dfd6; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 5px 0 #dce5e2, 0 16px 24px -18px #233d4666; }
}
@media (max-width: 999px) {
  #app > nav { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 2px; overflow: visible; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  #app > nav button { min-width: 0; min-height: 60px; width: 100%; font-size: 10px; padding: 5px 1px; justify-content: flex-start; }
  #app > nav button > span:not(.ui-icon):not(.badge):not(.nav-unread) { white-space: normal; }
  #cartpill { bottom: calc(86px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); }
  .wrap { padding-bottom: calc(180px + env(safe-area-inset-bottom)); }
}
.simple-order .ck-body { padding-top: 0; }
.simple-order .order-flow { gap: 24px; }
.simple-order .simple-cart { display: grid; gap: 12px; margin-top: 18px; }
.simple-order .simple-line { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; padding: 16px; gap: 12px; align-items: start; background: #fff5eb; border: 1px solid #efd5bd; border-bottom: 3px solid #e8c8ab; border-radius: 8px; box-shadow: 0 5px 12px -10px #915c3655; }
.simple-order .cl-ph { width: 48px; height: 64px; background: #fff; border-radius: 6px; }
.simple-order .cl-i > b { font-size: 14px; }
.simple-order .cl-i > .sub { font-size: 12px; }
.simple-order .cl-q { margin-top: 10px; }
.simple-order .cl-q button, .simple-order .cl-q output { width: 40px; height: 40px; }
.simple-order .order-remove { width: 40px; height: 40px; margin-top: 10px; }
.simple-order .cl-t > b { font-size: 14px; }
.simple-order .order-product-picker[hidden] { display: none; }
.simple-delivery { margin-top: 18px; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
.simple-delivery summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font-size: 13px; font-weight: 600; }
.simple-delivery summary::before { content: '+'; font-size: 20px; color: var(--acc); }
.simple-delivery[open] summary::before { content: '-'; }
.simple-delivery summary span { font-size: 11px; color: var(--mut); font-weight: 400; margin-left: auto; }
.simple-note { grid-column: 1 / -1; }
.add-order .suggested-price { display: block; font-size: 12px; font-weight: 400; color: var(--mut); text-transform: none; margin-top: 6px; }
.add-order .sale-options > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13px; padding: 8px 0; }
.add-order .sale-options > summary::before { content: '+'; color: var(--acc); font-size: 20px; }
.add-order .sale-options[open] > summary::before { content: '-'; }
.add-order .sale-options > summary small { margin-left: auto; color: var(--mut); font-size: 11px; }
.add-order .sale-options[open] > summary { margin-bottom: 14px; }
.add-order .p3d-price { color: #116b5b; }
.add-order .suggested-price { color: #79541e; }
.add-order .ck-body > .ck-card:not(.sale-options) { border-left: 3px solid #80afcf; padding-left: 16px; background: #f1f8fc; }
.add-order .qty3d button { color: #245d83; background: #e4f1fa; }
.add-order .sale-options { border-left: 3px solid #b5a0d4; padding-left: 16px; background: #f7f3fc; }
.add-order .sale-options > summary { color: #614282; }
.add-order .sale-options > summary::before { color: #79549d; }
.add-order .sale-options .gain { color: #116b5b; }
.add-order .sale-options > summary small { margin-right: 16px; }
.add-order .sale-options .rcpt-row b { margin-right: 16px; }

@media (max-height: 700px) {
  .add-order .sale-options[open] { padding-top: 2px; padding-bottom: 5px; }
  .add-order .sale-options[open] > summary { min-height: 28px; margin-bottom: 6px; }
  .add-order .sale-options[open] .ck-lbl { font-size: 12px; line-height: 1.25; }
  .add-order .sale-options[open] .price3d { gap: 6px; margin-top: 4px; margin-bottom: 4px; }
  .add-order .sale-options[open] .price3d button,
  .add-order .sale-options[open] .price3d input { min-height: 38px; }
  .add-order .sale-options[open] .price3d button { width: 38px; height: 38px; font-size: 19px; }
  .add-order .sale-options[open] .price3d input { font-size: 17px; }
  .add-order .sale-options[open] .chipsrow { gap: 5px; margin-top: 4px; }
  .add-order .sale-options[open] .chipsrow button { min-height: 28px; padding: 4px 8px; font-size: 11px; }
  .add-order .sale-options[open] .rcpt-row { padding: 5px 0; font-size: 13px; }
  .add-order .sale-options[open] .rcpt-row[style] { margin-top: 5px !important; }
  .add-order .sale-options[open] .sub { margin-top: 2px !important; font-size: 10px; line-height: 1.3; }
}
.add-order .ck-bar { background: #edf7f3; border-top-color: #c6dfd5; }
.add-order .ck-tot b { color: #116b5b; }
.add-order .ck-tot > span { text-transform: none; font-size: 13px; letter-spacing: 0; }
.add-order .p3d { transform: none; }
.add-order .ck-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.add-order .order-summary { flex: 1 1 220px; min-width: 0; }
.add-order .ck-btns { flex: 1 1 180px; min-width: 0; }
.ck.add-order { padding: 12px; }
.add-order .ck-in { display: grid; grid-template-rows: auto minmax(0,1fr) auto; max-height: calc(100dvh - 24px); min-height: 0; }
.add-order .ck-top { padding: 14px 20px; }
.add-order .ck-title { padding-right: 48px; font-size: 16px; overflow-wrap: anywhere; }
.add-order .ck-body { padding: 16px 20px; overflow-y: auto; overscroll-behavior: contain; min-width: 0; }
.add-order .p3d { grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding-bottom: 16px; }
.add-order .p3d-img { height: 76px; }
.add-order .p3d-info b { font-size: 16px; }
.add-order .ck-card { padding-top: 12px; padding-bottom: 12px; }
.add-order .ck-bar { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
.add-order .ck-tot { display: grid; gap: 3px; }
.add-order .ck-tot span { max-width: none; }
.add-order .ck-tot b { font-size: 22px; text-align: left; }
.add-order .ck-next { min-height: 44px; }
@media (max-width: 480px) {
  .ck.add-order { padding: 6px; align-items: center; }
  .add-order .ck-in { max-height: calc(100dvh - 12px); border-radius: 8px; }
  .add-order .ck-top, .add-order .ck-body { padding: 12px 14px; }
  .add-order .ck-bar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .add-order .order-summary { flex-basis: 100%; }
  .add-order .ck-tot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .add-order .ck-tot span { font-size: 12px; }
  .add-order .ck-tot b { font-size: 20px; }
  .add-order .suggested-price { font-size: 11px; }
}
.advisor-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.advisor-heading > .ui-icon { color: var(--acc); }
.advisor-heading h2 { margin: 0; font-size: 21px; }
.advisor-sheet #advisor-form > label { display: block; font-size: 15px; color: var(--text); margin-bottom: 10px; }
.advisor-sheet textarea { width: 100%; padding: 14px; resize: vertical; min-height: 120px; font: inherit; background: #fff; color: var(--text); border: 1px solid var(--line); }
.advisor-sheet #advisor-form > .btn { width: 100%; margin-top: 16px; }
#advisor-results { margin-top: 20px; font-size: 13px; }
.advisor-product { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); }
.advisor-photo { display: grid; place-items: center; flex: 0 0 58px; height: 72px; background: #f3f7f5; border-radius: 6px; }
.advisor-photo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.advisor-copy { display: grid; gap: 5px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.advisor-copy b { font-size: 14px; }
.advisor-copy small { font-size: 11px; color: var(--mut); }
.advisor-copy strong { font-size: 15px; }
.simple-order .order-sidebar { padding-top: 18px; }
.simple-order .ck-bar { position: static; padding: 0; border: 0; box-shadow: none; background: none; }
.simple-order .ck-btns, .simple-order .ck-next { width: 100%; max-width: none; flex: 1; }
.simple-order .ck-next { justify-content: space-between; min-height: 50px; }
.simple-confirmation, .simple-tier { font-size: 12px; color: var(--mut); line-height: 1.6; margin: 14px 0 18px; }
@media (min-width: 1000px) {
  .simple-order .order-flow { grid-template-columns: minmax(0,1fr) 290px; gap: 40px; }
  .simple-order .order-sidebar { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 26px; }
}
