html, body, #root { margin: 0; min-height: 100%; }
body { background: #e9edf2; }
.ld-root { font-family: system-ui, 'Segoe UI', Tahoma, sans-serif; color: #1c2430; display: flex; justify-content: center; }
.ld-root * { box-sizing: border-box; font-family: inherit; }
.ld-app { width: 100%; max-width: 430px; min-height: 100vh; background: #f2f4f8; position: relative; padding-bottom: 76px; }
.ld-demo { background: #fff3d6; color: #8a5300; font-size: 12px; text-align: center; padding: 4px; }
.ld-head { background: #0f3d3e; color: #fff; padding: 16px 16px 14px; }
.ld-head-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-direction: row-reverse; }
.ld-head-row > div { display: flex; gap: 8px; }
.ld-head h1 { margin: 0; font-size: 22px; flex: 1; text-align: right; }
.ld-head p { margin: 6px 0 0; font-size: 13px; color: #c5d8d6; }
.ld-back { background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; }
.ld-main { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ld-btn { border: 0; border-radius: 12px; padding: 14px 16px; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; min-height: 44px; }
.ld-btn.is-amber { background: #e07b00; } .ld-btn.is-green { background: #1a7f3c; }
.ld-btn.is-ghost { background: #fff; color: #0f3d3e; border: 1.5px solid #0f3d3e; }
.ld-btn.is-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.ld-btn.is-block { width: 100%; }
.ld-seg { display: flex; background: #fff; border: 1px solid #d5dbe3; border-radius: 12px; padding: 3px; gap: 3px; }
.ld-seg button { flex: 1; border: 0; background: transparent; padding: 10px 4px; border-radius: 9px; font-weight: 700; color: #5b6573; font-size: 14px; cursor: pointer; min-height: 44px; }
.ld-seg button.is-on { background: #0f3d3e; color: #fff; }
.ld-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ld-chip { border: 1px solid #d5dbe3; background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; color: #3b4452; cursor: pointer; min-height: 40px; }
.ld-chip.is-on { background: #0f3d3e; color: #fff; border-color: #0f3d3e; }
.ld-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); text-align: right; width: 100%; border: 0; display: block; }
.ld-card.is-avail { border-right: 5px solid #1a7f3c; }
.ld-card-top { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ld-card-top { flex-direction: column-reverse; align-items: stretch; }
.ld-route { font-size: 18px; font-weight: 800; }
.ld-route i { color: #e07b00; font-style: normal; }
.ld-badge { display: inline-block; align-self: flex-start; border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.ld-badge.is-green { background: #e3f4e8; color: #1a7f3c; }
.ld-card.is-avail .ld-badge.is-green { background: #1a7f3c; color: #fff; }
.ld-badge.is-amber { background: #fdeed9; color: #b76100; }
.ld-meta { color: #5b6573; font-size: 14px; line-height: 1.7; margin: 8px 0; }
.ld-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-direction: row-reverse; }
.ld-price { font-size: 22px; font-weight: 800; color: #0f3d3e; }
.ld-price-s { color: #5b6573; font-size: 14px; }
.ld-note { text-align: center; color: #5b6573; font-size: 13px; margin: 4px 0; }
.ld-note-s { color: #5b6573; font-size: 13px; }
.ld-empty { text-align: center; color: #7a8493; padding: 20px; }
.ld-label { font-size: 13px; color: #5b6573; }
.ld-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #5b6573; flex: 1; min-width: 0; }
.ld-input, .ld-field input, .ld-compose input { width: 100%; border: 1px solid #d5dbe3; background: #fff; border-radius: 12px; padding: 12px; font-size: 15px; color: #1c2430; min-height: 46px; text-align: right; }
.ld-add { color: #1a7f3c; background: #fff; cursor: pointer; font-weight: 600; }
.ld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ld-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ld-opt { border: 2px solid #d5dbe3; background: #fff; border-radius: 12px; padding: 12px; font-size: 15px; cursor: pointer; text-align: right; min-height: 46px; color: #1c2430; }
.ld-opt.is-on { border-color: #0f3d3e; font-weight: 700; }
.ld-opt.is-on.is-green { border-color: #1a7f3c; background: #e9f7ee; }
.ld-opt.is-big { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; }
.ld-opt.is-big small { color: #5b6573; font-size: 12px; }
.ld-pay { width: 100%; margin-top: 8px; display: block; }
.ld-gift { background: #e9f7ee; border: 1.5px solid #1a7f3c; border-radius: 14px; padding: 14px; }
.ld-gift b { color: #1a7f3c; font-size: 17px; } .ld-gift p { margin: 6px 0 0; color: #3b4452; font-size: 14px; line-height: 1.6; }
.ld-panel { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ld-panel h2, .ld-h2 { margin: 0; font-size: 17px; } .ld-h2 { margin-top: 6px; }
.ld-panel hr { border: 0; border-top: 1px solid #e3e7ed; width: 100%; margin: 0; }
.ld-row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ld-info { background: #e6f0f0; border-radius: 14px; padding: 14px; font-size: 14px; } .ld-info p { margin: 6px 0 0; color: #3b4452; line-height: 1.6; }
.ld-warn { background: #fde4e4; color: #a01515; border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.6; }
.ld-warn.is-strong { border: 1.5px solid #a01515; }
.ld-msg { background: #fff; padding: 12px 14px; border-radius: 14px; max-width: 84%; align-self: flex-start; font-size: 15px; line-height: 1.6; }
.ld-msg.is-me { background: #0f3d3e; color: #fff; align-self: flex-end; }
.ld-compose { display: flex; gap: 8px; }
.ld-offer { border: 2px solid #1a7f3c; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.ld-balance { background: #0f3d3e; color: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.ld-balance span, .ld-balance small { color: #c5d8d6; font-size: 14px; } .ld-balance b { font-size: 28px; }
.ld-op { padding: 4px 0; font-size: 14px; }
.ld-chat-item { cursor: pointer; }
.ld-tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; background: #fff; border-top: 1px solid #d5dbe3; display: flex; z-index: 5; }
.ld-tabs button { flex: 1; border: 0; background: transparent; padding: 18px 4px; font-size: 14px; color: #6a7482; cursor: pointer; min-height: 56px; }
.ld-tabs button.is-on { color: #0f3d3e; font-weight: 800; box-shadow: inset 0 3px 0 #0f3d3e; }
