:root {
        --green: #206543;
        --green-mid: #2d8f56;
        --green-light: #e6f2ec;
        --green-pale: #f2f9f5;
        --gold: #c8961e;
        --gold-light: #fdf6e3;
        --text: #1a1a1a;
        --text-muted: #6b7280;
        --border: #c8dfd3;
        --white: #ffffff;
        --radius: 16px;
        --shadow: 0 4px 24px rgba(32, 101, 67, 0.1);
      }
      * { box-sizing: border-box; margin: 0; padding: 0; }
      body {
        font-family: "Poppins", sans-serif;
        background: var(--green-pale);
        min-height: 100vh;
        color: var(--text);
        padding: 32px 16px 56px;
      }
      .header { text-align: center; margin-bottom: 36px; }
      .logo-wrap {
        display: inline-block;
        background: var(--green);
        border-radius: 20px;
        padding: 14px 20px;
        margin-bottom: 22px;
        box-shadow: 0 6px 24px rgba(32, 101, 67, 0.25);
      }
      .logo-wrap img { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); }
      .org-name {
        font-family: "Poppins", sans-serif;
        font-weight: 700; font-size: 13px;
        letter-spacing: 2.5px; text-transform: uppercase;
        color: #1a1a1a; margin-bottom: 4px;
      }
      h1 {
        font-family: "Poppins", sans-serif; font-weight: 700;
        font-size: clamp(22px, 5vw, 34px); color: var(--green);
        line-height: 1.2; margin-bottom: 6px; letter-spacing: -0.5px;
      }
      .subtitle { color: var(--text-muted); font-size: 14px; font-weight: 400; }
      .card {
        background: var(--white); border-radius: var(--radius);
        box-shadow: var(--shadow); border: 1px solid var(--border);
        max-width: 560px; margin: 0 auto 18px; overflow: hidden;
      }
      .card-header {
        background: var(--green); color: white; padding: 15px 22px;
        font-size: 12px; font-weight: 600; letter-spacing: 1px;
        text-transform: uppercase; display: flex; align-items: center; gap: 10px;
      }
      .step-badge {
        background: rgba(255, 255, 255, 0.22); border-radius: 50%;
        width: 26px; height: 26px; display: flex; align-items: center;
        justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0;
      }
      .card-body { padding: 22px; }
      .field { margin-bottom: 18px; }
      .field:last-child { margin-bottom: 0; }
      label {
        display: block; font-size: 12px; font-weight: 600; color: var(--green);
        margin-bottom: 7px; letter-spacing: 0.3px; text-transform: uppercase;
      }
      label .hint { font-weight: 400; color: var(--text-muted); text-transform: none; font-size: 12px; margin-left: 4px; }
      input[type="number"], select {
        width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
        border-radius: 10px; font-size: 14px; font-family: "Poppins", sans-serif;
        color: var(--text); background: var(--white);
        transition: border-color 0.2s, box-shadow 0.2s;
        appearance: none; -webkit-appearance: none;
      }
      input[type="number"]:focus, select:focus {
        outline: none; border-color: var(--green);
        box-shadow: 0 0 0 3px rgba(32, 101, 67, 0.1);
      }
      .select-wrap { position: relative; }
      .select-wrap::after {
        content: "▾"; position: absolute; right: 13px; top: 50%;
        transform: translateY(-50%); color: var(--green); pointer-events: none; font-size: 13px;
      }
      .toggle-row {
        display: flex; align-items: center; justify-content: space-between;
        padding: 13px 16px; background: var(--green-light); border-radius: 10px;
        cursor: pointer; user-select: none; transition: background 0.2s;
      }
      .toggle-row:hover { background: #d3eadb; }
      .toggle-row.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
      .toggle-label { font-size: 14px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 8px; }
      .toggle-switch {
        width: 44px; height: 24px; background: #b8cfc3; border-radius: 50px;
        position: relative; transition: background 0.25s; flex-shrink: 0;
      }
      .toggle-switch.on { background: var(--green); }
      .toggle-switch::after {
        content: ""; position: absolute; width: 18px; height: 18px;
        background: white; border-radius: 50%; top: 3px; left: 3px;
        transition: transform 0.25s; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
      }
      .toggle-switch.on::after { transform: translateX(20px); }
      .dest-list { display: flex; flex-direction: column; gap: 10px; }
      .dest-item {
        display: flex; align-items: center; gap: 10px; padding: 12px 14px;
        background: var(--green-pale); border-radius: 10px;
        border: 1.5px solid var(--border); animation: slideIn 0.22s ease;
      }
      @keyframes slideIn {
        from { opacity: 0; transform: translateY(-6px); }
        to { opacity: 1; transform: translateY(0); }
      }
      .dest-item .select-wrap { flex: 1; }
      .dest-item .select-wrap select { background: white; }
      .dest-days { width: 80px; flex-shrink: 0; }
      .dest-days input { padding: 11px 8px; text-align: center; }
      .dest-label {
        font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 0.5px;
        text-transform: uppercase; flex-shrink: 0; min-width: 24px; text-align: center;
      }
      .remove-btn {
        background: none; border: none; color: #e05555; cursor: pointer;
        font-size: 18px; padding: 4px; line-height: 1; flex-shrink: 0; transition: transform 0.15s;
      }
      .remove-btn:hover { transform: scale(1.2); }
      .add-dest-btn {
        display: flex; align-items: center; gap: 8px; background: none;
        border: 1.5px dashed var(--green-mid); color: var(--green);
        padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
        cursor: pointer; width: 100%; justify-content: center; transition: background 0.2s;
        font-family: "Poppins", sans-serif; margin-top: 10px; letter-spacing: 0.3px;
      }
      .add-dest-btn:hover { background: var(--green-light); }
      .road-info {
        background: var(--green-pale); border: 1.5px solid var(--border);
        border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
        font-size: 12px; color: var(--text-muted); line-height: 1.6;
      }
      .road-info strong { color: var(--green); }
      .road-route-display {
        display: flex; align-items: center; gap: 10px; padding: 13px 16px;
        background: var(--green-light); border-radius: 10px;
        font-size: 13px; font-weight: 500; color: var(--text); margin-top: 12px;
        flex-wrap: wrap; gap: 6px;
      }
      .road-leg {
        display: flex; align-items: center; gap: 6px;
        font-size: 13px;
      }
      .road-leg-price { color: var(--green); font-weight: 700; }
      .road-leg-divider { color: var(--text-muted); margin: 0 4px; }
      .route-unavailable {
        padding: 13px 16px; background: #fff8ec;
        border: 1.5px solid #e8d08a; border-radius: 10px;
        font-size: 13px; color: #7a5c10; margin-top: 12px; line-height: 1.5;
      }
      .calc-btn {
        width: 100%; background: var(--green); color: white; border: none;
        padding: 15px; border-radius: 12px; font-size: 15px; font-weight: 600;
        cursor: pointer; font-family: "Poppins", sans-serif; letter-spacing: 0.3px;
        transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
        box-shadow: 0 4px 18px rgba(32, 101, 67, 0.28);
      }
      .calc-btn:hover { background: #174d32; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(32, 101, 67, 0.38); }
      .calc-btn:active { transform: translateY(0); }
      .result-card { max-width: 560px; margin: 0 auto; display: none; }
      .result-card.show { display: block; animation: fadeUp 0.32s ease; }
      @keyframes fadeUp {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
      }
      .total-banner {
        background: var(--green); color: white; padding: 30px 24px; text-align: center;
        border-radius: var(--radius) var(--radius) 0 0; position: relative; overflow: hidden;
      }
      .total-banner::before {
        content: ""; position: absolute; top: -40px; right: -40px;
        width: 140px; height: 140px; background: rgba(255, 255, 255, 0.05); border-radius: 50%;
      }
      .total-banner::after {
        content: ""; position: absolute; bottom: -30px; left: -20px;
        width: 100px; height: 100px; background: rgba(255, 255, 255, 0.04); border-radius: 50%;
      }
      .total-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }
      .total-amount { font-weight: 700; font-size: clamp(34px, 9vw, 52px); line-height: 1; margin-bottom: 8px; letter-spacing: -1px; position: relative; z-index: 1; }
      .total-sub { font-size: 13px; opacity: 0.65; font-weight: 400; }
      .breakdown-body {
        background: white; border: 1px solid var(--border); border-top: none;
        border-radius: 0 0 var(--radius) var(--radius); overflow: hidden;
      }
      .breakdown-section { padding: 18px 22px; border-bottom: 1px solid var(--green-light); }
      .breakdown-section:last-child { border-bottom: none; }
      .breakdown-section-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green-mid); margin-bottom: 12px; }
      .breakdown-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #eef4f1; }
      .breakdown-row:last-child { border-bottom: none; }
      .breakdown-row .desc { color: var(--text-muted); }
      .breakdown-row .amount { font-weight: 600; color: var(--text); }
      .breakdown-subtotal {
        display: flex; justify-content: space-between; align-items: center;
        margin-top: 12px; padding: 10px 14px; background: var(--green-light);
        border-radius: 8px; font-weight: 600; font-size: 13px;
      }
      .breakdown-subtotal .sub-label { color: var(--green); }
      .breakdown-subtotal .sub-amt { color: var(--green); font-size: 15px; }
      .road-tag {
        display: inline-flex; align-items: center; gap: 3px;
        background: var(--green-light); color: var(--green);
        border: 1px solid var(--border); border-radius: 20px;
        font-size: 10px; font-weight: 600; padding: 2px 7px; margin-left: 5px; vertical-align: middle;
      }
      .airport-tag {
        display: inline-flex; align-items: center; gap: 3px;
        background: var(--gold-light); color: var(--gold);
        border: 1px solid #e8d08a; border-radius: 20px;
        font-size: 10px; font-weight: 600; padding: 2px 7px; margin-left: 5px; vertical-align: middle;
      }

      /* ── ACTION BUTTONS AREA ── */
      .action-area {
        padding: 18px 22px 6px;
        display: flex; flex-direction: column; gap: 10px;
      }

      /* PDF button — primary green */
      .pdf-btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        width: 100%; background: var(--green); border: none; color: white;
        padding: 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
        cursor: pointer; font-family: "Poppins", sans-serif;
        transition: background 0.2s, transform 0.15s;
        box-shadow: 0 4px 14px rgba(32,101,67,0.25);
      }
      .pdf-btn:hover { background: #174d32; transform: translateY(-1px); }

      /* compulsory notice */
      .compulsory-notice {
        display: flex; align-items: flex-start; gap: 10px;
        background: #fff0f0; border: 1.5px solid #e05555;
        border-radius: 10px; padding: 13px 16px;
        font-size: 12px; color: #b03030; line-height: 1.6;
      }
      .compulsory-notice .notice-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
      .compulsory-notice strong { color: #8b1a1a; }

      .copy-btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        width: 100%; background: var(--gold-light); border: 1.5px solid var(--gold);
        color: var(--gold); padding: 12px; border-radius: 10px;
        font-size: 13px; font-weight: 600; cursor: pointer;
        font-family: "Poppins", sans-serif; transition: background 0.2s;
      }
      .copy-btn:hover { background: #fbefd0; }
      .copy-btn.copied { background: var(--green-light); border-color: var(--green); color: var(--green); }

      .recalc-btn {
        display: block; text-align: center; color: var(--text-muted); font-size: 13px;
        cursor: pointer; padding: 10px 0 18px; text-decoration: underline;
        text-underline-offset: 3px; background: none; border: none; width: 100%;
        font-family: "Poppins", sans-serif;
      }
      .note-box {
        background: var(--gold-light); border: 1px solid #e8d08a; border-radius: 10px;
        padding: 13px 16px; font-size: 12px; color: #7a5c10;
        margin: 0 22px 10px; line-height: 1.6;
      }
      .note-box strong { color: #5a4008; }
      .warn-box {
        background: #fff8ec; border: 1px solid #e8d08a; border-radius: 10px;
        padding: 13px 16px; font-size: 12px; color: #7a5c10;
        margin: 0 22px 14px; line-height: 1.6;
      }
      .warn-box strong { color: #5a4008; }
      @media (max-width: 400px) {
        .dest-item { flex-wrap: wrap; }
        .dest-days { width: 100%; }
      }
      /* ── ICONS ── */
      .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .icon svg {
        width: 18px; height: 18px;
        stroke-width: 2;
      }
      .toggle-label .icon svg { width: 17px; height: 17px; }
      .btn-icon svg { width: 16px; height: 16px; stroke-width: 2.2; }
      .road-leg .icon svg { width: 14px; height: 14px; }
      .road-tag .icon svg { width: 11px; height: 11px; stroke-width: 2.5; }
      .airport-tag .icon svg { width: 11px; height: 11px; stroke-width: 2.5; }
      .notice-icon-wrap { display: flex; align-items: flex-start; padding-top: 1px; }
      .notice-icon-wrap svg { width: 16px; height: 16px; stroke: #b03030; stroke-width: 2.2; flex-shrink: 0; }