/* CLD-132 / LND-177 / ED-406: the Contact us form, shared by the landing
   page (which doesn't load theme.css, so every colour has its own
   fallback) and the signed-in pages. Boxes are 16px so iOS doesn't zoom. */
.ctc-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.ctc-link:hover { color: var(--green-800, #414E26); }
.ctc-open { overflow: hidden; }
.ctc-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(28, 36, 15, .45);
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.ctc-scrim[hidden] { display: none; }
.ctc-sheet { box-sizing: border-box; width: min(460px, 100%); max-height: 90vh; overflow: auto; background: var(--surface, #fff); color: var(--text, #1F2418);
  border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); padding: 18px 20px 20px; margin: 0;
  font-family: var(--f-ui, 'Inter Tight', system-ui, sans-serif); text-align: left; }
.ctc-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ctc-hd h4 { margin: 4px 0 0; font-size: 20px; line-height: 26px; font-weight: 600; }
.ctc-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--green-50, #EDF1DE); color: inherit;
  font-size: 24px; line-height: 1; cursor: pointer; }
.ctc-body { display: grid; gap: 14px; margin-top: 10px; }
.ctc-sub, .ctc-note { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2, #6D6D6D); }
.ctc-f { display: grid; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 500; }
.ctc-f small { font-weight: 400; font-size: 13px; line-height: 18px; color: var(--text-2, #6D6D6D); }
.ctc-f select, .ctc-f input, .ctc-f textarea { box-sizing: border-box; width: 100%; font: 400 16px/22px var(--f-ui, 'Inter Tight', system-ui, sans-serif);
  color: inherit; background: var(--surface, #fff); border: 1.5px solid var(--line, #D9DCCF); border-radius: 12px; padding: 10px 12px; }
.ctc-f select { height: 46px; appearance: auto; }
.ctc-f textarea { resize: vertical; min-height: 120px; }
.ctc-f select:focus, .ctc-f input:focus, .ctc-f textarea:focus { outline: none; border-color: var(--green-500, #677E32);
  box-shadow: 0 0 0 3px var(--green-50, #EDF1DE); }
.ctc-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ctc-err { margin: 0; font-size: 14px; line-height: 20px; color: var(--orange-text, #C8390D); }
.ctc-err[hidden] { display: none; }
.ctc-ft { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.ctc-btn { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--green-500, #677E32); color: #fff;
  font: 600 15px var(--f-ui, 'Inter Tight', system-ui, sans-serif); cursor: pointer; }
.ctc-btn:hover { background: var(--green-600, #859F43); }
.ctc-btn:disabled { opacity: .6; cursor: default; }
.ctc-btn.ghost { background: transparent; color: var(--text, #1F2418); box-shadow: inset 0 0 0 1.5px var(--line, #D9DCCF); }
.ctc-btn.ghost:hover { background: var(--green-50, #EDF1DE); }
.ctc-done { display: flex; align-items: center; gap: 12px; }
.ctc-done p { margin: 0; font-size: 15px; line-height: 22px; }
.ctc-tick { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green-500, #677E32); display: grid; place-items: center; }
.ctc-tick svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .ctc-scrim { align-items: flex-end; padding: 0; }
  .ctc-sheet { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; padding: 16px 16px max(20px, env(safe-area-inset-bottom, 0px)); }
}
