/* xmarket-1 (LD-20261109-1532-XMARKET): city bar, fee box, orders + photo-print sheets. Light + dark. */
html.xm-open { overflow: hidden; }
.xm-bar { margin: 10px 0 6px; display: grid; gap: 8px; }
.xm-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.xm-pill { border: 1px solid rgba(100,116,139,.25); background: var(--surface, #fff); color: inherit; border-radius: 999px; padding: 8px 14px; font: 600 14px system-ui; cursor: pointer; }
.xm-pill.hot { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; border: 0; }
.xm-cities { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.xm-city { flex: none; border: 1px solid rgba(100,116,139,.22); background: rgba(100,116,139,.06); color: inherit; border-radius: 999px; padding: 6px 12px; font: 600 13px system-ui; cursor: pointer; white-space: nowrap; }
.xm-city small { opacity: .65; margin-left: 2px; }
.xm-city.on { background: #0f172a; color: #fff; border-color: #0f172a; }
.xm-shipn { margin: 0; font-size: 12.5px; color: #64748b; }
.xm-box { margin: 12px 0; border: 1px solid rgba(100,116,139,.22); border-radius: 18px; padding: 12px 14px; background: linear-gradient(160deg, rgba(14,165,233,.08), transparent 60%); }
.xm-box h4, .xm-in h4 { margin: 12px 0 6px; font-size: 15px; }
.xm-box h4:first-child { margin-top: 0; }
.xm-rows { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; margin: 10px 0; }
.xm-rows b { text-align: right; }
.xm-rows .xm-tot { font-size: 17px; font-weight: 800; border-top: 1px dashed rgba(100,116,139,.35); padding-top: 6px; }
.xm-prov { font-style: normal; font-size: 11px; background: #fef3c7; color: #92400e; border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.xm-seg { display: flex; background: rgba(100,116,139,.12); border-radius: 12px; padding: 3px; gap: 3px; }
.xm-seg button { flex: 1; border: 0; background: transparent; color: inherit; border-radius: 9px; padding: 8px 6px; font: 600 13.5px system-ui; cursor: pointer; }
.xm-seg button.on { background: var(--surface, #fff); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.xm-seg button:disabled { opacity: .4; cursor: not-allowed; }
.xm-btn { border: 0; border-radius: 12px; padding: 10px 15px; background: #0f172a; color: #fff; font: 700 14px system-ui; cursor: pointer; }
.xm-btn.big { width: 100%; padding: 14px; font-size: 16px; background: linear-gradient(135deg, #10b981, #0ea5e9); }
.xm-btn.big:disabled { opacity: .5; cursor: not-allowed; }
.xm-btn.ghost { background: rgba(100,116,139,.16); color: inherit; }
.xm-btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 10px; }
.xm-note, .xm-sub, .xm-empty { font-size: 12.5px; color: #64748b; margin: 8px 0; }
.xm-mine { margin: 6px 0; font-size: 14px; }
.xm-sw { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 6px 0; }
.xm-sw input { width: 20px; height: 20px; }
.xm-shipf { display: grid; gap: 6px; margin: 6px 0 8px; }
.xm-admin { margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(245,158,11,.12); display: grid; gap: 6px; font-size: 13px; }
.xm-admin input { width: 90px; display: inline-block; margin-left: 6px; }
.xm-list { display: grid; gap: 8px; }
.xm-row { display: flex; gap: 10px; align-items: flex-start; border: 1px solid rgba(100,116,139,.18); border-radius: 14px; padding: 9px; }
.xm-row > img, .xm-ph { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; background: rgba(100,116,139,.12); display: grid; place-items: center; font-size: 24px; }
.xm-row > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.xm-row small { color: #64748b; font-size: 12px; }
.xm-ra { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.xm-badge { font: 700 10.5px system-ui; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: #e2e8f0; color: #334155; }
.xm-badge.xm-open, .xm-requested { background: #fef3c7; color: #92400e; } .xm-accepted, .xm-ready { background: #dbeafe; color: #1e40af; }
.xm-completed, .xm-collected { background: #dcfce7; color: #166534; } .xm-declined, .xm-cancelled { background: #fee2e2; color: #991b1b; }
.xm-sheet { position: fixed; inset: 0; z-index: 9000; background: rgba(8,12,24,.55); display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.xm-sheet[hidden] { display: none; }
.xm-in { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--surface, #fff); color: var(--text, #0f172a); border-radius: 22px 22px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0,0,0,.25); display: grid; gap: 8px; align-content: start; }
.xm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xm-head h3 { margin: 0; font-size: 19px; }
.xm-x { border: 0; background: rgba(100,116,139,.14); color: inherit; border-radius: 999px; padding: 7px 13px; font: 600 13px system-ui; cursor: pointer; }
.xm-step { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 4px; }
.xm-step b { width: 24px; height: 24px; border-radius: 50%; background: #0ea5e9; color: #fff; display: grid; place-items: center; font-size: 13px; }
.xm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.xm-pp { display: grid; gap: 4px; }
.xm-pp img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: rgba(100,116,139,.12); }
.xm-pp .input { padding: 5px 6px; font-size: 13px; min-height: 0; }
.xm-addp { aspect-ratio: 1; border: 2px dashed rgba(100,116,139,.4); border-radius: 12px; background: transparent; color: #64748b; font-size: 34px; cursor: pointer; }
.xm-shops { display: grid; gap: 6px; }
.xm-shop { display: flex; gap: 10px; align-items: center; border: 1px solid rgba(100,116,139,.22); border-radius: 12px; padding: 9px 11px; cursor: pointer; }
.xm-shop.on { border-color: #0ea5e9; background: rgba(14,165,233,.08); }
.xm-shop span { display: grid; } .xm-shop small { color: #64748b; font-size: 12px; }
.xm-thumbs { display: flex; gap: 6px; overflow-x: auto; margin-top: 6px; }
.xm-thumbs a { display: grid; gap: 2px; cursor: pointer; text-align: center; }
.xm-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: rgba(100,116,139,.12); }
/*scheme-1 dark*/
  html[data-theme="dark"] .xm-pill, html[data-theme="dark"] .xm-shop.on{ background: rgba(255,255,255,.06); } html[data-theme="dark"] .xm-pill.hot{ background: linear-gradient(135deg, #0284c7, #4f46e5); }
  html[data-theme="dark"] .xm-city.on{ background: #f8fafc; color: #0f172a; } html[data-theme="dark"] .xm-seg button.on{ background: rgba(255,255,255,.14); }
  html[data-theme="dark"] .xm-btn:not(.ghost):not(.big){ background: #f8fafc; color: #0f172a; } html[data-theme="dark"] .xm-in{ background: var(--surface, #0f172a); color: var(--text, #e2e8f0); }


/* fee0 (LD-20261109-1648): 0% fee shown as "No Lapdrop fee" */
.xm-nofee { grid-column: 1 / -1; color: #047857; font-weight: 600; }
html[data-theme="dark"] .xm-nofee { color: #6ee7b7; }
