:root{--bg:#f7f3f5;--card:#fff;--text:#2e2530;--muted:#766d76;--border:#e4dce1;--accent:#6d3150;--accent-dark:#54223c;--soft:#f0e6ec;--success:#176b47;--error:#a22b2b}
*{box-sizing:border-box}html,body.ltcl-app-body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
body.ltcl-app-body{padding:max(12px,env(safe-area-inset-top)) 12px max(24px,env(safe-area-inset-bottom))}
button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.ltcl-shell{width:100%;max-width:620px;margin:0 auto}
.ltcl-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px 4px 8px}.ltcl-kicker{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.ltcl-header h1{margin:4px 0 2px;font-size:clamp(28px,7vw,38px);line-height:1.05}.ltcl-header p{margin:0;color:var(--muted);font-size:14px}
.ltcl-card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:16px;margin:12px 0;box-shadow:0 3px 14px rgba(67,34,52,.04)}
.ltcl-label{display:block;margin-bottom:9px;font-size:14px;font-weight:750}.ltcl-label span{font-weight:500;color:var(--muted)}
.ltcl-row{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}.ltcl-two-col{display:grid;grid-template-columns:1fr;gap:14px}
input,select,textarea{width:100%;border:1px solid #cfc4cb;border-radius:12px;background:#fff;color:var(--text);padding:13px 14px;min-height:48px;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(109,49,80,.10)}textarea{resize:vertical}
.ltcl-choice-grid{display:grid;gap:8px}.ltcl-choice-5{grid-template-columns:repeat(3,1fr)}.ltcl-choice-3{grid-template-columns:repeat(3,1fr)}.ltcl-outcome-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.ltcl-choice,.ltcl-secondary,.ltcl-ghost,.ltcl-edit{border:1px solid var(--border);background:#fff;color:var(--text);border-radius:12px;min-height:46px;padding:10px 12px;font-weight:700;cursor:pointer}
.ltcl-choice.is-selected{background:var(--accent);border-color:var(--accent);color:#fff}.ltcl-secondary{background:var(--soft);color:var(--accent-dark);border-color:#ddcbd5}.ltcl-ghost{background:transparent;color:var(--accent);min-height:38px;padding:8px 11px}
.ltcl-conditional{margin-top:16px;padding-top:15px;border-top:1px solid var(--border)}.ltcl-money{display:grid;grid-template-columns:auto 1fr;align-items:center;border:1px solid #cfc4cb;border-radius:12px;background:#fff;overflow:hidden}
.ltcl-money span{padding-left:14px;color:var(--muted);font-weight:700}.ltcl-money input{border:0;box-shadow:none}
.ltcl-order-result{margin-top:8px;min-height:20px;font-size:13px;color:var(--muted)}.ltcl-order-result.is-success{color:var(--success);font-weight:700}.ltcl-order-result.is-error{color:var(--error);font-weight:700}
.ltcl-save{width:100%;min-height:58px;margin-top:14px;border:0;border-radius:16px;background:var(--accent);color:#fff;font-size:18px;font-weight:850;letter-spacing:.04em;box-shadow:0 8px 20px rgba(109,49,80,.18);cursor:pointer}
.ltcl-save:active{background:var(--accent-dark);transform:translateY(1px)}.ltcl-save:disabled{opacity:.6}.ltcl-privacy{margin:10px 10px 24px;color:var(--muted);text-align:center;font-size:12px;line-height:1.4}
.ltcl-status{position:sticky;top:8px;z-index:20;display:none;margin:6px 0 10px;padding:12px 14px;border-radius:12px;font-weight:750;box-shadow:0 8px 22px rgba(0,0,0,.10)}.ltcl-status.is-visible{display:block}.ltcl-status.is-success{background:#e4f6ee;color:#125e3d}.ltcl-status.is-error{background:#fde7e7;color:#8d2020}
.ltcl-recent-section{margin:32px 0 60px}.ltcl-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.ltcl-section-title h2{margin:0;font-size:21px}
.ltcl-recent-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:13px 14px;margin-top:9px}.ltcl-recent-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.ltcl-recent-top strong,.ltcl-recent-top span{display:block}.ltcl-recent-top span{margin-top:3px;color:var(--muted);font-size:13px}.ltcl-edit{min-height:34px;padding:6px 10px;color:var(--accent);font-size:13px}
.ltcl-recent-meta{margin-top:9px;color:var(--accent-dark);font-size:13px;font-weight:700}.ltcl-recent-notes{margin-top:7px;font-size:13px;color:var(--muted)}.ltcl-loading,.ltcl-empty{padding:18px;text-align:center;color:var(--muted)}
.ltcl-auth{max-width:440px;margin:18vh auto 0;padding:28px;background:#fff;border-radius:20px;text-align:center;border:1px solid var(--border)}.ltcl-flower{font-size:44px}.ltcl-primary-link{display:inline-block;margin-top:12px;padding:12px 20px;border-radius:12px;background:var(--accent);color:#fff;text-decoration:none;font-weight:800}
@media(min-width:520px){.ltcl-two-col{grid-template-columns:.7fr 1.3fr}.ltcl-choice-5{grid-template-columns:repeat(5,1fr)}}@media(max-width:380px){.ltcl-choice-5{grid-template-columns:repeat(2,1fr)}.ltcl-outcome-grid{grid-template-columns:1fr}}


/* v1.0.2 — iPhone Safari zoom prevention.
   Theme CSS can otherwise reduce these below Safari's 16px threshold. */
html {
  -webkit-text-size-adjust: 100%;
}

body.ltcl-app-body .ltcl-shell input,
body.ltcl-app-body .ltcl-shell select,
body.ltcl-app-body .ltcl-shell textarea,
body.ltcl-app-body .ltcl-shell input[type="text"],
body.ltcl-app-body .ltcl-shell input[type="number"],
body.ltcl-app-body .ltcl-shell input[type="datetime-local"] {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body.ltcl-app-body #ltcl-notes {
  font-size: 16px !important;
}

/* Keep the primary action on-brand even when the active theme styles buttons. */
body.ltcl-app-body .ltcl-shell .ltcl-save,
body.ltcl-app-body .ltcl-shell button.ltcl-save {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

body.ltcl-app-body .ltcl-shell .ltcl-save:active,
body.ltcl-app-body .ltcl-shell button.ltcl-save:active {
  background: var(--accent-dark) !important;
}

/* Recent-call actions */
.ltcl-recent-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.ltcl-delete {
  border: 1px solid #eccaca;
  background: #fff;
  color: #9b2828;
  border-radius: 12px;
  min-height: 34px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.ltcl-delete:disabled {
  opacity: .55;
}

@media (max-width: 390px) {
  .ltcl-recent-actions {
    flex-direction: column;
  }
}
