:root {
  --ew-950: #021C17;
  --ew-900: #052F27;
  --ew-800: #0B4B3B;
  --ew-700: #0E5C48;
  --gold: #D4A017;
  --gold2: #E8C15A;
  --cream: #F7F4EE;
  --ink: #14352C;
  --card: #ffffff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body.ew-body {
  font-family: "IBM Plex Sans Thai", Kanit, sans-serif;
  background: #e8efe9;
  color: var(--ink);
}
.ew-shell { display: flex; min-height: 100vh; }
.ew-sidebar {
  width: 260px; background: linear-gradient(180deg, #06281f, #021c17);
  color: #f6f2e9; padding: 18px 12px; position: sticky; top: 0; height: 100vh;
  overflow: auto; z-index: 40;
}
.ew-brand { display: flex; gap: 10px; align-items: center; padding: 8px 10px 18px; }
.ew-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #fff; }
.ew-brand strong { display: block; letter-spacing: .12em; font-size: 13px; color: var(--gold2); }
.ew-brand span { font-size: 11px; opacity: .7; }
.ew-sidebar nav a {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px;
  color: rgba(246,242,233,.82); text-decoration: none; font-size: 14px; margin-bottom: 2px;
}
.ew-sidebar nav a:hover, .ew-sidebar nav a.is-on { background: rgba(232,193,90,.12); color: #fff; }
.ew-sidebar nav a i { width: 18px; height: 18px; }
.ew-main { flex: 1; min-width: 0; }
.ew-topbar {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px;
  background: #fff; border-bottom: 1px solid #e5ece7;
}
.ew-search { flex: 1; display: flex; align-items: center; gap: 8px; background: #f3f6f4; border-radius: 999px; padding: 8px 14px; }
.ew-search input { border: 0; background: transparent; width: 100%; outline: none; font: inherit; }
.ew-userchip { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ew-userchip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ew-userchip a { color: #0e5c48; }
.ew-guest-note { flex: 1; font-size: 13px; color: #6b7f76; }
.ew-staff-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  color: #0e5c48; border: 1px solid #cfe0d7; border-radius: 999px; padding: 7px 14px;
}
.ew-staff-link i { width: 15px; height: 15px; }
.ew-content { padding: 20px; }
.ew-content.is-flush { padding: 0; }
.ew-menu-btn { border: 0; background: rgba(255,255,255,.15); color: inherit; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; }
.is-app .ew-menu-btn { background: #f3f6f4; color: #14352c; }

body.is-calc { background: #f2f7f4; }
body.is-calc .ew-sidebar { position: fixed; left: 0; top: 0; transform: translateX(-105%); transition: .25s; }
body.is-calc.nav-open .ew-sidebar { transform: none; box-shadow: 8px 0 40px rgba(0,0,0,.35); }
body.is-calc .ew-main { width: 100%; }

.calc-hero {
  position: relative; min-height: 172px; padding: 20px 28px 96px;
  background: var(--hero) center 38%/cover no-repeat;
  color: #fff; overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.calc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(3,30,24,.94) 0%, rgba(4,38,29,.8) 30%, rgba(5,42,31,.36) 60%, rgba(5,42,31,.14) 100%);
}
.calc-menu { position: absolute; left: 14px; top: 16px; z-index: 3; color: #fff; }
.calc-hero-copy { position: relative; z-index: 2; max-width: 820px; padding-left: 54px; }
.calc-quote {
  position: relative; white-space: nowrap; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px); color: #f0d48a; margin: 6px 0 8px; padding-left: 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.calc-quote::before {
  content: ""; position: absolute; left: -6px; top: 4px; width: 16px; height: 30px;
  border-left: 3px solid #d9ab3f; border-top: 3px solid #d9ab3f; border-radius: 8px 0 0 0;
}
.calc-sub { position: relative; margin: 0; padding-left: 14px; color: rgba(255,255,255,.9); font-size: 14px; }
.calc-sub::before {
  content: ""; position: absolute; left: -6px; bottom: 2px; width: 14px; height: 18px;
  border-left: 2px solid #d9ab3f; border-bottom: 2px solid #d9ab3f; border-radius: 0 0 0 8px;
}
.calc-hero-caption {
  position: absolute; right: 28px; bottom: 58px; z-index: 2; margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 16px; color: #edc971;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.calc-user { position: absolute; right: 22px; top: 16px; z-index: 3; display: flex; gap: 10px; align-items: center; }
.calc-user .bell { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; }
.calc-user .chip { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.14); padding: 4px 10px 4px 4px; border-radius: 999px; }
.calc-user .chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.calc-user .chip b { display: block; font-size: 13px; }
.calc-user .chip small { opacity: .8; font-size: 11px; }
.calc-user .chip a { color: #fff; }
.calc-user .chip-cta { color: #fff; padding: 8px 16px; text-decoration: none; }
.calc-user .chip-cta i { width: 20px; height: 20px; color: #e8c15a; }
.calc-user .chip-staff { color: #fff; width: 40px; height: 40px; justify-content: center; padding: 0; }
.calc-user .chip-staff i { width: 18px; height: 18px; }

.calc-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 18px;
  padding: 0 22px; margin-top: -76px; position: relative; z-index: 3;
}
.calc-card, .view-card, .result-card, .cost-card {
  background: #fff; border-radius: 22px; padding: 20px;
  box-shadow: 0 18px 40px rgba(16, 48, 36, .12);
}
.card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.card-head h1, .card-head h2 { margin: 0; font-family: Kanit, sans-serif; font-size: 20px; color: #0d3d32; }
.card-head p { margin: 2px 0 0; color: #6b7f76; font-size: 13px; }
.card-head.sm h2 { font-size: 16px; }
.ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #1a6b54, #0d4a3b); color: #f2d37b; flex: 0 0 auto;
}
.shape-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.shape-tabs button {
  border: 1px solid #dbe6e0; background: #fff; color: #3c5a4f; border-radius: 12px;
  padding: 10px 14px; font: inherit; font-size: 13px; cursor: pointer;
  display: inline-flex; gap: 7px; align-items: center; transition: .18s;
}
.shape-tabs button i { width: 16px; height: 16px; }
.shape-tabs button:hover { border-color: #b6d3c6; background: #f6fbf8; }
.shape-tabs button.is-on {
  background: linear-gradient(180deg, #17765c, #0d4a3b);
  color: #fff; border-color: #0d4a3b; box-shadow: 0 6px 14px rgba(13,74,59,.22);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields.mt { margin-top: 14px; }
.fields .full, .field.full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; color: #4d675d; }
input, select, textarea {
  width: 100%; margin-top: 6px; border: 1px solid #d5e0da; border-radius: 12px;
  padding: 10px 12px; font: inherit; background: #fff; color: #14352c;
}

/* input group: label above, icon tile left of the control */
.field { display: block; }
.field.mt { margin-top: 14px; }
.flabel { display: block; font-size: 12.5px; color: #5c7a6e; margin-bottom: 7px; }
.frow { display: flex; align-items: center; gap: 10px; }
.frow input, .frow select { margin-top: 0; height: 46px; min-width: 0; }
.frow select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c7a6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.fico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px;
  background: #eef6f1; border: 1px solid #dceae3; color: #127a5c;
  display: grid; place-items: center;
}
.fico i { width: 20px; height: 20px; }
.frow .unit { font-size: 13px; color: #5c7a6e; white-space: nowrap; }
.btn-gold, .btn-green, .btn-outline, .btn-ghost, .icon-btn {
  font: inherit; cursor: pointer; border-radius: 12px; display: inline-flex; gap: 8px; align-items: center; justify-content: center;
}
.btn-calc {
  width: 100%; margin-top: 16px; border: 0; padding: 12px;
  background: linear-gradient(90deg, #c9a227, #e8c15a); color: #3b2d04; font-weight: 700;
  box-shadow: 0 8px 18px rgba(201,162,39,.28);
}
.btn-green { width: 100%; border: 0; padding: 12px; background: #0f5a46; color: #fff; font-weight: 600; margin-top: 8px; }
.btn-outline { width: 100%; border: 1px solid #c9d8d1; background: #fff; padding: 11px; color: #0f5a46; text-decoration: none; margin-top: 8px; }
.btn-ghost { border: 1px dashed #c9d8d1; background: #fff; padding: 8px 12px; }

.view-card { display: flex; flex-direction: column; min-height: 520px; }
.view-head { display: flex; align-items: center; gap: 10px; }
.view-head h2 { margin: 0 auto 0 0; font-size: 18px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid #dbe6e0; background: #fff; color: #3c5a4f; }
.view-tabs { display: flex; gap: 8px; margin: 14px 0 12px; }
.view-tabs button { border: 1px solid #e2ebe6; background: #f4f8f6; border-radius: 10px; padding: 8px 16px; font: inherit; font-size: 13px; cursor: pointer; color: #3c5a4f; }
.view-tabs button.is-on { background: linear-gradient(180deg, #17765c, #0d4a3b); color: #fff; border-color: #0d4a3b; }
.view-stage { position: relative; flex: 1; min-height: 360px; border-radius: 18px; overflow: hidden; background: #cfe3c8; }
#ew-3d { position: absolute; inset: 0; z-index: 1; }
#ew-3d canvas { width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.view-fallback { display: grid; place-items: center; height: 100%; margin: 0; padding: 24px; text-align: center; color: #3c5a4f; font-size: 13px; }
.legend {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; display: flex; gap: 16px;
  font-size: 12px; color: #2b4a3d; background: rgba(255,255,255,.88);
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(6,40,28,.16);
}
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; }
.swatch.soil { background: #a9663a; }
.swatch.ground { background: #3f9a4e; border-radius: 50%; }
.ba-slider {
  position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 190px;
  display: flex; gap: 8px; align-items: center; color: #2b4a3d; font-size: 11px;
  background: rgba(255,255,255,.8); padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(6,40,28,.16); cursor: pointer;
}
.ba-slider input { flex: 1; margin: 0; padding: 0; border: 0; height: 4px; accent-color: #0f5a46; }

.result-grid { display: grid; grid-template-columns: 1.42fr .58fr; gap: 18px; padding: 18px 22px 4px; align-items: start; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.result-metrics article {
  border: 1px solid #e5eee9; border-radius: 16px; padding: 14px 16px; background: #fbfdfc;
}
.result-metrics article > span { display: block; font-size: 12px; color: #5d746b; }
.metric-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; }
.mico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; background: #e6f4ec; color: #12784f; }
.mico i { width: 19px; height: 19px; }
.metric-row em { font-style: normal; font-size: 13px; color: #6b8278; align-self: flex-end; padding-bottom: 5px; }
.result-metrics strong { font-family: Kanit, sans-serif; font-size: 29px; color: #13664a; line-height: 1.1; }
.result-metrics small { display: block; font-size: 11.5px; color: #7d918a; }
.result-metrics .gold { background: linear-gradient(180deg, #fff8e6, #fffdf6); border-color: #f0e2b8; }
.result-metrics .gold .mico { background: #fbedc7; color: #a87c10; }
.result-metrics .gold strong { color: #b8860b; }
.note { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #7a8f86; margin: 14px 0 0; }
.note i { width: 14px; height: 14px; color: #17765c; flex: 0 0 auto; }
.transport-box { margin-top: 18px; border-top: 1px solid #eef3f0; padding-top: 16px; }
.transport-row { display: grid; grid-template-columns: 170px 1.15fr .75fr .85fr; gap: 14px; align-items: end; }
.transport-row img { width: 100%; height: 92px; object-fit: cover; object-position: 50% 72%; border-radius: 14px; }
.statbox { display: flex; align-items: stretch; height: 46px; border: 1px solid #d9e5df; border-radius: 12px; overflow: hidden; background: #fff; }
.statbox b { flex: 1; display: flex; align-items: center; padding: 0 12px; font-weight: 600; color: #14352c; }
.statbox em { font-style: normal; display: flex; align-items: center; padding: 0 12px; background: #f2f7f4; color: #6b8278; font-size: 13px; border-left: 1px solid #e3ede8; }
.tip {
  margin: 16px 0 0; background: #ecf7ef; border: 1px solid #d8ecdf; border-radius: 14px;
  padding: 12px 14px; font-size: 13px; color: #33604d; display: flex; gap: 10px; align-items: flex-start;
}
.tip i { width: 18px; height: 18px; color: #d4a017; flex: 0 0 auto; margin-top: 2px; }
.tip b { color: #0f5a46; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; }
.toggle input {
  appearance: none; -webkit-appearance: none; width: 46px; height: 26px; flex: 0 0 46px;
  margin: 0; padding: 0; border: 0; border-radius: 999px; background: #d7e2dc;
  position: relative; cursor: pointer; transition: .2s;
}
.toggle input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s;
}
.toggle input:checked { background: #0f5a46; }
.toggle input:checked::after { transform: translateX(20px); }
.grand {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; padding: 15px 16px;
  border-radius: 16px; background: linear-gradient(180deg, #fdf2d2, #f8e3a9); border: 1px solid #f0d78f;
}
.gicon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: rgba(255,255,255,.7); display: grid; place-items: center; color: #a87c10; }
.grand span { display: block; font-size: 12.5px; color: #7a6520; }
.grand strong { display: flex; align-items: baseline; gap: 6px; font-family: Kanit, sans-serif; font-size: 29px; color: #0f5a46; }
.grand strong small { font-size: 13px; color: #5f7a6d; }

.calc-feat {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 16px 22px 0; padding: 20px 12px; color: #dce8e2;
  background: linear-gradient(90deg, #06342a, #0c5040); border-radius: 20px;
}
.calc-feat div { display: flex; gap: 12px; align-items: center; justify-content: center; }
.calc-feat i { width: 26px; height: 26px; color: #e8c15a; flex: 0 0 auto; }
.calc-feat b { display: block; color: #fff; font-size: 15px; }
.calc-feat span { font-size: 12px; opacity: .72; }
.calc-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 26px 24px; font-size: 12.5px; color: #5c7a6e;
}
.calc-foot p { margin: 0; }
.calc-foot b { color: #0f5a46; }
.calc-foot nav { display: flex; gap: 12px; align-items: center; }
.calc-foot a { color: #5c7a6e; text-decoration: none; }
.calc-foot a:hover { color: #0f5a46; text-decoration: underline; }

.ew-page h1 { font-family: Kanit, sans-serif; font-size: 26px; margin: 0 0 14px; }
.ew-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.ew-table th, .ew-table td { padding: 10px 12px; border-bottom: 1px solid #eef3f0; text-align: left; font-size: 14px; }
.ew-table th { background: #f4f8f6; color: #4d675d; font-weight: 600; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; background: #e8f5ee; color: #0f5a46; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 8px 20px rgba(16,48,36,.06); }
.stat b { display: block; font-size: 28px; color: #0f5a46; }
.muted { color: #6b7f76; }
.timeline { border-left: 2px solid #d7e3dc; margin-left: 10px; padding-left: 16px; }
.timeline article { margin: 0 0 16px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: #052f27; }
.login-card { width: min(420px, 92vw); background: #fff; padding: 28px; border-radius: 20px; }
.ew-toast {
  position: fixed; right: 18px; bottom: 18px; background: #0f5a46; color: #fff;
  padding: 12px 16px; border-radius: 12px; z-index: 80;
}
.ew-dialog { position: fixed; inset: 0; background: rgba(2,28,23,.45); display: grid; place-items: center; z-index: 90; }
.ew-dialog-card { background: #fff; padding: 20px; border-radius: 16px; width: min(400px, 92vw); }
.ew-dialog[hidden], .ew-toast[hidden] { display: none; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs a, .tabs button { padding: 8px 12px; border-radius: 10px; background: #eef4f0; color: #14352c; text-decoration: none; border: 0; font: inherit; cursor: pointer; }
.tabs a.is-on, .tabs button.is-on { background: #0f5a46; color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #fff; padding: 16px; border-radius: 16px; }
.dim-label {
  color: #fff; font: 600 13px/1 "IBM Plex Sans Thai", sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.4);
  white-space: nowrap; transform: translate(-50%, -50%);
}

@media (max-width: 1240px) {
  .transport-row { grid-template-columns: 150px 1fr; }
  .transport-row img { grid-row: span 2; height: 100%; min-height: 120px; }
}
@media (max-width: 1100px) {
  .calc-grid, .result-grid, .stat-grid, .fields, .form-grid { grid-template-columns: 1fr; }
  .calc-quote { white-space: normal; }
  .calc-hero-caption { display: none; }
  .result-metrics { grid-template-columns: 1fr; }
  .calc-feat { grid-template-columns: 1fr 1fr; }
  .calc-feat div { justify-content: flex-start; padding-left: 12px; }
  .ew-sidebar { position: fixed; transform: translateX(-105%); }
  body.nav-open .ew-sidebar { transform: none; }
}
@media (max-width: 760px) {
  .transport-row { grid-template-columns: 1fr; align-items: stretch; }
  .transport-row img { grid-row: auto; height: 150px; }
  .calc-grid, .result-grid { padding-left: 14px; padding-right: 14px; }
  .calc-feat { margin-left: 14px; margin-right: 14px; }
  .ba-slider { display: none; }
}
@media (max-width: 640px) {
  .calc-hero { padding: 18px 18px 88px; }
  .calc-hero-copy { padding-left: 46px; }
  .calc-quote { font-size: 21px; }
  .calc-feat { grid-template-columns: 1fr; }
  .calc-user .chip small, .calc-user .chip b { display: none; }
  .calc-foot { justify-content: center; text-align: center; }
}
@page { size: A4; margin: 16mm; }
@media print {
  .ew-sidebar, .ew-topbar, .ew-menu-btn, .btn-green, .btn-outline, .btn-calc { display: none !important; }
  .ew-content { padding: 0; }
}

.pin-app {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 520px;
}
.pin-side {
  background: #fff;
  border: 1px solid #e5eee9;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.pin-side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pin-side-head h2 { margin: 0; font-size: 18px; }
.pin-count { font-size: 12px; color: #5d746b; }
.pin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.pin-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pin-actions i { width: 15px; height: 15px; }
.pin-manual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f6faf8;
  border-radius: 12px;
  padding: 10px;
}
.pin-manual label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #5d746b; }
.pin-manual input { border: 1px solid #d7e4de; border-radius: 8px; padding: 8px; font: inherit; }
.pin-manual button { grid-column: 1 / -1; }
.pin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.pin-stats div {
  background: #f4f8f6;
  border-radius: 12px;
  padding: 10px 12px;
}
.pin-stats span { display: block; font-size: 11px; color: #6b8278; }
.pin-stats b { font-family: Kanit, sans-serif; font-size: 22px; color: #13664a; }
.pin-stats small { margin-left: 4px; color: #7d918a; }
.pin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  flex: 1;
  min-height: 120px;
}
.pin-item {
  border: 1px solid #e5eee9;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 8px;
  background: #fff;
}
.pin-item.is-on { border-color: #0f5a46; background: #f3faf6; }
.pin-item-main {
  display: grid;
  gap: 2px;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 4px;
}
.pin-item-main b { color: #0f5a46; }
.pin-item-main em { font-style: normal; font-size: 11px; color: #b8860b; }
.pin-item-main small { display: block; color: #5d746b; font-size: 11px; }
.pin-item-ops { display: flex; gap: 6px; justify-content: flex-end; }
.pin-item-ops button {
  border: 0;
  background: #eef4f0;
  border-radius: 8px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: #14352c;
}
.pin-empty { color: #6b8278; font-size: 13px; padding: 12px 4px; }
.pin-map-wrap {
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5eee9;
  background: #dbe8e1;
}
#pin-map { height: 100%; min-height: 520px; }
.leaflet-div-icon.pin-marker {
  background: none;
  border: 0;
  display: grid;
  place-items: center;
}
.pin-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #0f5a46;
  color: #fff;
  box-shadow: 0 4px 10px rgba(6,40,28,.28);
}
.pin-dot i {
  transform: rotate(45deg);
  font: 700 11px/1 Kanit, sans-serif;
  font-style: normal;
}
.pin-marker.is-on .pin-dot { background: #d7a941; color: #3b2d04; }
.pin-dot.is-origin { background: #c9a227; color: #3b2d04; }
@media (max-width: 960px) {
  .pin-app { grid-template-columns: 1fr; }
  .pin-side { min-height: 0; }
}
