.lh-est { --lh-a: #2563eb; --lh-b: #dc2626; --lh-border: rgba(128,128,128,.35); margin: 1.5em 0; }
.lh-est [hidden] { display: none !important; }
.lh-est { container-type: inline-size; }
.lh-est__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@container (min-width: 900px) { .lh-est__grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }

.lh-est__mapbox { height: 340px; border: 1px solid var(--lh-border); border-radius: 10px; z-index: 0; }
@container (min-width: 900px) { .lh-est__mapbox { height: 520px; } }
.lh-est__maperror { display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; background: rgba(128,128,128,.08); }

.lh-est__panel { display: flex; flex-direction: column; gap: 12px; }
.lh-est__point { display: flex; gap: 8px; align-items: center; }
.lh-est__point input { flex: 1; min-width: 0; }
.lh-est input[type=text], .lh-est input[type=number], .lh-est textarea {
	width: 100%; padding: 8px 10px; border: 1px solid var(--lh-border); border-radius: 6px; font: inherit; box-sizing: border-box;
}
.lh-est__row label { display: block; font-size: .95em; }
.lh-est__row label input[type=number], .lh-est__row textarea { margin-top: 4px; }
.lh-est__checks { display: flex; gap: 18px; flex-wrap: wrap; }
.lh-est__checks label { display: flex; align-items: center; gap: 6px; }

.lh-est__pin, .lh-pin {
	width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px;
	display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,.45); padding: 0; line-height: 1; flex: 0 0 30px;
}
.lh-est__pin { cursor: pointer; opacity: .55; }
.lh-est__pin.is-active { opacity: 1; outline: 2px solid currentColor; outline-offset: 2px; }
.lh-est__pin--pickup, .lh-pin--pickup { background: var(--lh-a); }
.lh-est__pin--dropoff, .lh-pin--dropoff { background: var(--lh-b); }

.lh-est__btn { padding: 8px 14px; border: 1px solid var(--lh-border); border-radius: 6px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
a.lh-est__btn { display: inline-block; text-decoration: none; }
.lh-est__btn--small { padding: 8px 10px; white-space: nowrap; }
.lh-est__btn--primary { background: var(--lh-a); border-color: var(--lh-a); color: #fff; font-weight: 600; padding: 12px 16px; }
.lh-est__btn[disabled] { opacity: .5; cursor: not-allowed; }

.lh-est__status { margin: 0; min-height: 1.3em; font-size: .92em; opacity: .85; }
.lh-est__status.is-error { color: var(--lh-b); opacity: 1; }
.lh-est__dist { margin: 0 0 6px; font-size: .95em; }
.lh-est__table { width: 100%; border-collapse: collapse; }
.lh-est__table td { padding: 6px 4px; border-bottom: 1px solid var(--lh-border); }
.lh-est__table td:last-child { text-align: right; white-space: nowrap; }
.lh-est__total td { font-weight: 700; font-size: 1.15em; }
.lh-est__deposit td { color: var(--lh-a); font-weight: 600; }
.lh-est__note { font-size: .9em; margin: 0; }

.lh-est__done { border: 1px solid var(--lh-border); border-radius: 10px; padding: 20px; max-width: 560px; }
.lh-est__code { font-size: 1.3em; letter-spacing: .05em; }
.lh-est__instr { white-space: pre-line; padding: 12px; margin: 12px 0; border-left: 4px solid var(--lh-a); background: rgba(128,128,128,.1); }

.lh-est__pointwrap { display: flex; flex-direction: column; gap: 4px; }
.lh-est__ptmsg { margin: 0; font-size: .85em; opacity: .85; }
.lh-est__ptmsg:empty { display: none; }
.lh-est__ptmsg.is-error { color: var(--lh-b); opacity: 1; }
.lh-est__sugg { list-style: none; margin: 0; padding: 0; border: 1px solid var(--lh-border); border-radius: 6px; overflow: hidden; }
.lh-est__sugg-title { padding: 6px 10px; font-size: .8em; opacity: .7; border-bottom: 1px solid var(--lh-border); }
.lh-est__opt { display: block; width: 100%; text-align: left; padding: 8px 10px; background: transparent; color: inherit; border: 0; border-bottom: 1px solid var(--lh-border); font: inherit; font-size: .92em; cursor: pointer; }
.lh-est__sugg li:last-child .lh-est__opt { border-bottom: 0; }
.lh-est__opt:hover { background: rgba(128,128,128,.12); }
.lh-est__opt.is-selected { background: rgba(37,99,235,.14); font-weight: 600; }
