/* Contact lane (fe-contact). Tokens from /styles.css; classes prefixed ct- or scoped under a ct- parent. */
.ct-omni, .ct-reach, #intake, .ct-uppage { --ct-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23d7392b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Shared mono label face */
.ct-omni__label, .ct-kind, .ct-access__name, .ct-slip__head, .ct-slip__label, .ct-origin__k, .ct-dep__brand, .ct-dep__total, .ct-pal__close, .ct-pal__label, .ct-pal__a { font-family: var(--mono); font-weight: 600; text-transform: uppercase; }

/* ---------- Hero omnibox: a "Due" line, like the head of the machine tape ---------- */
.ct-omni { margin-top: 30px; max-width: 640px; }
.ct-omni__label { display: block; margin-bottom: 10px; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--muted); }
.ct-omni__field {
  display: flex; align-items: center; min-height: 62px; padding: 6px 6px 6px 0;
  border-radius: var(--r-md); background: var(--tape);
  box-shadow: inset 0 0 0 1px var(--rule-strong), 0 18px 40px -34px rgba(13, 59, 46, 0.7);
  transition: box-shadow var(--fast) var(--ease-out);
}
.ct-omni__field:focus-within { box-shadow: inset 0 0 0 2px var(--eyeshade), 0 18px 40px -30px rgba(13, 59, 46, 0.75); }
.ct-omni__due {
  align-self: stretch; display: flex; align-items: center; padding: 0 14px 0 16px; margin-right: 4px;
  border-right: 1px dashed var(--rule-strong);
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tick-ink);
}
.ct-omni__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 10px; border: 0; background: transparent;
  font: inherit; font-size: 1.04rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.ct-omni__input::placeholder { color: #6b756f; opacity: 1; }
.ct-omni__input:focus-visible { outline: none; }
.ct-omni__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.ct-omni__go {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px;
  border: 0; border-radius: var(--r-sm); cursor: pointer; background: rgba(13, 59, 46, 0.09); color: var(--eyeshade);
  font: inherit; font-size: 0.95rem; font-weight: 620; font-stretch: 104%; white-space: nowrap;
  transition: background-color var(--fast) var(--ease-out);
}
.ct-omni__go:focus-visible { outline: 2px solid var(--eyeshade); outline-offset: 3px; }
@media (hover: hover) {
  .ct-omni__go:hover { background: var(--eyeshade); color: var(--paper-white); }
  .ct-omni__go:hover .btn__arrow { transform: translateX(3px); }
}

/* ---------- Shared bits ---------- */
.ct-kind { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--mint); }
.ct-mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0.01em; }
.ct-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.ct-ghost {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; font-stretch: 104%; color: var(--on-night);
  text-decoration: underline; text-decoration-color: rgba(168, 226, 192, 0.45); text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: text-decoration-color var(--fast) var(--ease-out);
}
.ct-ghost--sm { min-height: 44px; font-size: 0.92rem; }
.ct-ghost:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 2px; }
@media (hover: hover) { .ct-ghost:hover { text-decoration-color: var(--mint); } }
.ct-copybuf { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Reach: four ways, on the night desk ---------- */
.ct-reach {
  background:
    radial-gradient(55% 50% at 12% 0%, rgba(50, 132, 96, 0.2), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(50, 132, 96, 0.1), transparent 70%),
    var(--night);
  color: var(--on-night);
  overflow: clip;
}
.ct-reach .section__lede { color: var(--on-night-muted); }
.ct-reach :focus-visible { outline-color: var(--mint); }
.ct-reach__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(32px, 4.6vw, 72px);
  border-top: 1px solid var(--night-rule);
}
.ct-way { min-width: 0; padding-block: clamp(36px, 4vw, 52px); }
.ct-way--email { grid-column: 1 / 8; grid-row: 1; }
.ct-way--call { grid-column: 8 / 13; grid-row: 1 / 3; padding-bottom: 0; }
.ct-way--vault { grid-column: 1 / 8; grid-row: 2; border-top: 1px solid var(--night-rule); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 2.6vw, 36px); align-items: start; }
.ct-way--access { grid-column: 1 / -1; grid-row: 3; margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--night-rule); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4.6vw, 72px); align-items: start; }
.ct-way__title { margin-top: 12px; font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 630; font-stretch: 108%; letter-spacing: -0.016em; line-height: 1.2; color: var(--paper-white); }
.ct-way__text { margin-top: 12px; max-width: 34em; color: var(--on-night-muted); line-height: 1.6; text-wrap: pretty; }
.ct-way__note { margin-top: 18px; max-width: 36em; font-size: 0.9rem; color: var(--on-night-muted); }
.ct-way__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.ct-addr { margin-top: 22px; }
.ct-addr__link {
  display: inline-block; max-width: 100%;
  font-size: clamp(1.9rem, 3.65vw, 3.55rem); font-weight: 600; font-stretch: 122%; letter-spacing: -0.035em; line-height: 1.04;
  color: var(--paper-white); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--tick), var(--tick)) 0 100% / 100% 3px no-repeat; padding: 4px 0 10px;
  transition: background-size 420ms var(--ease-out);
}
@media (hover: hover) { .ct-addr__link:hover { background-size: 0 3px; background-position: 100% 100%; } }

.ct-vault__img { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--night-rule), 0 30px 60px -36px rgba(0, 12, 6, 0.9); }
.ct-vault__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ct-vault__copy .ct-way__title { margin-top: 10px; }
.ct-facts { margin-top: 18px; display: grid; gap: 10px; font-size: 0.94rem; color: var(--on-night); }
.ct-facts li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ct-facts .tick { margin-top: 1px; }
.ct-vault__go { margin-top: 26px; }

.ct-way--access .ct-kind, .ct-way--access .ct-way__title, .ct-way--access .ct-way__text { grid-column: 1; }
.ct-way--access .ct-ghost { grid-column: 1; justify-self: start; margin-top: 14px; }
.ct-access { grid-column: 2; grid-row: 1 / span 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.ct-access__app { min-width: 0; padding-top: 18px; border-top: 2px solid var(--mint); }
.ct-access__name { font-size: 0.74rem; letter-spacing: 0.14em; color: var(--paper-white); }
.ct-steps { margin-top: 14px; display: grid; gap: 12px; counter-reset: ct-step; }
.ct-steps li { counter-increment: ct-step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; font-size: 0.95rem; line-height: 1.5; color: var(--on-night); }
.ct-steps li::before { content: counter(ct-step); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(168, 226, 192, 0.6); font-family: var(--mono); font-size: 0.74rem; font-weight: 600; color: var(--mint); }

.ct-reach__office { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--night-rule); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 0.86rem; color: var(--on-night-muted); }

/* ---------- The callback slip: a "While you were out" message pad ---------- */
.ct-slip {
  position: relative; display: grid; gap: 18px; padding: 34px clamp(22px, 2.4vw, 32px) 30px;
  border-radius: 4px 4px var(--r-md) var(--r-md); background: var(--tape); color: var(--ink);
  box-shadow: 0 50px 80px -50px rgba(0, 10, 5, 0.95), 0 2px 0 rgba(13, 59, 46, 0.25);
}
.ct-slip::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: 4px 4px 0 0;
  background: radial-gradient(circle at 6px 0, var(--night) 3.4px, transparent 3.9px) 0 0 / 12px 12px repeat-x, var(--eyeshade);
}
.ct-slip :focus-visible { outline-color: var(--eyeshade); }
.ct-slip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(39, 49, 44, 0.35); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--ink-2); }
.ct-slip__stamp { white-space: nowrap; padding: 4px 8px; border: 1.5px solid var(--tick-ink); border-radius: 3px; color: var(--tick-ink); transform: rotate(-4deg); }
.ct-slip__title { font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 650; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.05; color: var(--eyeshade); }
.ct-slip__title:focus { outline: none; }
.ct-slip__lede { margin-top: -8px; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.ct-slip__row { display: grid; row-gap: 8px; }
.ct-slip__row .field__error { margin-top: 0; }
.ct-slip__label { padding: 0; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--muted); }
.ct-slip__input {
  width: 100%; min-height: 46px; padding: 8px 2px; border: 0; border-bottom: 1.5px solid var(--rule-strong); border-radius: 0;
  background: transparent; font: inherit; font-size: 1.06rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.ct-slip__input:focus-visible { outline: 2px solid var(--eyeshade); outline-offset: 2px; border-bottom-color: var(--eyeshade); }
.ct-slip__input[aria-invalid='true'] { border-bottom-color: var(--tick-ink); }
.ct-slip__when { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-slip__chips { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.ct-tickbox { position: relative; display: flex; min-width: 0; }
.ct-tickbox input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-tickbox span { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.95rem; line-height: 1.25; pointer-events: none; }
/* Single choice, so the mark is a radio: a round ring that fills with a centred dot. */
.ct-tickbox span::before {
  content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-2);
  background: radial-gradient(circle closest-side, var(--eyeshade) 0 88%, transparent 94%) no-repeat 50% 50% / 0 0;
  transition: background-size 220ms var(--ease-spring), box-shadow var(--fast) var(--ease-out);
}
.ct-tickbox input:checked + span::before { background-size: 10px 10px; box-shadow: inset 0 0 0 1.5px var(--eyeshade); }
.ct-tickbox input:checked + span { font-weight: 600; }
.ct-tickbox input:focus-visible + span { outline: 2px solid var(--eyeshade); outline-offset: 2px; border-radius: 2px; }
.ct-slip__tz { margin-top: 4px; font-size: 0.82rem; color: var(--muted); }
.ct-slip__consent { font-size: 0.88rem; }
.ct-slip__send { justify-self: start; }
.ct-slip--done { align-content: start; }
.ct-slip__lines { display: grid; gap: 6px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.ct-slip__lines div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed rgba(39, 49, 44, 0.3); }
.ct-slip__lines dt { color: var(--muted); }
.ct-slip__lines dd { font-weight: 600; text-align: right; }
.ct-slip .ct-dep { margin-top: 4px; padding: 0; box-shadow: none; }
.ct-slip .ct-dep__brand { display: none; }

/* ---------- Intake additions ---------- */
.ct-origin {
  justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%;
  padding: 9px 14px; border-radius: var(--r-sm); background: rgba(13, 59, 46, 0.06); box-shadow: inset 3px 0 0 var(--eyeshade);
  font-size: 0.92rem; color: var(--ink);
}
.ct-origin[hidden] { display: none; }
.ct-origin__k { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); }
.ct-origin__v { font-weight: 620; }
.ct-origin__tags { display: contents; }
.ct-origin__tag { padding: 2px 7px; border-radius: 4px; background: var(--tape); box-shadow: inset 0 0 0 1px var(--rule-strong); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tick-ink); }
.ct-pref { margin-top: -8px; }
#intake .receipt, .ct-dep { scroll-margin-top: 104px; }

/* ---------- Secure deposit slip (continues the receipt tape) ---------- */
.ct-dep {
  max-width: 600px; margin-top: 44px; padding: 28px clamp(20px, 2.4vw, 28px) 26px;
  background: var(--tape); box-shadow: inset 0 0 0 1px var(--rule), 0 40px 70px -48px rgba(13, 59, 46, 0.55);
  display: grid; gap: 16px; color: #27312c;
}
.ct-dep__brand { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(39, 49, 44, 0.35); font-size: 0.74rem; letter-spacing: 0.14em; }
.ct-dep__title { font-size: 1.5rem; font-weight: 650; font-stretch: 110%; letter-spacing: -0.025em; line-height: 1.1; color: var(--eyeshade); }
.ct-dep__title:focus { outline: none; }
.ct-dep__lede { font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.ct-drop {
  position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 28px 18px; cursor: pointer;
  border-radius: var(--r-md); border: 1.5px dashed var(--rule-strong); background: var(--ledger-hi);
  transition: border-color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out);
}
.ct-drop:focus-within { outline: 2px solid var(--eyeshade); outline-offset: 2px; }
.ct-drop.is-over { border-color: var(--eyeshade); background: rgba(13, 59, 46, 0.07); }
.ct-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ct-drop__main { font-weight: 600; font-size: 1rem; color: var(--ink); }
.ct-drop__pick { color: var(--eyeshade); text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) { .ct-drop__touch { display: none; } }
@media (hover: none) { .ct-drop__desk { display: none; } }
.ct-drop__rules { max-width: 34em; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; line-height: 1.6; color: var(--muted); }
@media (hover: hover) { .ct-drop:hover { border-color: var(--eyeshade); } }
.ct-dep__list:empty { display: none; }
.ct-file { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name size' 'note acts' 'bar bar' 'sha sha'; gap: 6px 16px; align-items: center; padding: 12px 0 14px; border-bottom: 1px dashed rgba(39, 49, 44, 0.35); }
.ct-file__name { grid-area: name; }
.ct-file__size { grid-area: size; justify-self: end; }
.ct-file__note { grid-area: note; }
.ct-file__acts { grid-area: acts; justify-self: end; }
.ct-file__bar { grid-area: bar; }
.ct-file__sha { grid-area: sha; }
.ct-file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.ct-file__size { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ct-file__bar { height: 4px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.ct-file__bar i { display: block; height: 100%; background: var(--eyeshade); transform: scaleX(0); transform-origin: 0 50%; transition: transform 220ms var(--ease-out); }
.ct-file__note { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ct-file__sha { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); }
.ct-file__sha:empty { display: none; }
.ct-file__acts { display: flex; gap: 6px; }
.ct-file__btn { min-height: 40px; min-width: 44px; padding: 0 12px; border: 0; border-radius: var(--r-sm); cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--rule-strong); font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--eyeshade); }
.ct-file__btn[hidden] { display: none; }
.ct-file__btn:focus-visible { outline: 2px solid var(--eyeshade); outline-offset: 2px; }
@media (hover: hover) { .ct-file__btn:hover { box-shadow: inset 0 0 0 1px var(--eyeshade); } }
.ct-file[data-state='error'] .ct-file__note { color: var(--tick-ink); text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 0.86rem; line-height: 1.45; }
.ct-file[data-state='error'] .ct-file__bar i { background: var(--tick-ink); }
.ct-file[data-state='done'] .ct-file__note { color: var(--eyeshade); font-weight: 600; }
.ct-file[data-state='done'] .ct-file__note::before { content: ''; width: 16px; height: 16px; flex: none; background: no-repeat 50% 50% / contain var(--ct-tick); }
.ct-dep__total { display: flex; justify-content: space-between; font-size: 0.8rem; letter-spacing: 0.06em; }
.ct-dep__total span:last-child { border-bottom: 3px double currentColor; font-variant-numeric: tabular-nums; }
.ct-dep__status { font-size: 0.9rem; color: var(--ink-2); }
.ct-dep__status:empty { display: none; }
.ct-dep__alt { font-size: 0.9rem; color: var(--muted); }
.ct-dep__alt a { color: var(--eyeshade); font-weight: 600; text-underline-offset: 3px; }
.ct-dep[data-off] .ct-drop, .ct-dep[data-off] .ct-dep__list, .ct-dep[data-off] .ct-dep__total { display: none; }

/* ---------- Private link and the /upload page ---------- */
.ct-later { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(13, 59, 46, 0.05); box-shadow: inset 3px 0 0 var(--eyeshade); }
.ct-later[hidden] { display: none; }
.ct-later__title { font-weight: 620; font-size: 0.95rem; color: var(--ink); }
.ct-later__row { display: flex; gap: 8px; min-width: 0; }
.ct-later__link { flex: 1; min-width: 0; min-height: 40px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: var(--r-sm); background: var(--tape); font-family: var(--mono); font-size: 0.74rem; color: var(--ink-2); text-overflow: ellipsis; }
.ct-later__link:focus-visible { outline: 2px solid var(--eyeshade); outline-offset: 1px; }
.ct-later__warn { font-size: 0.84rem; color: var(--tick-ink); }
.ct-uppage { max-width: 760px; }
.ct-uppage__lede { color: var(--ink-2); }
.ct-upstate { margin-top: 32px; }
.ct-upstate h2 { margin-top: 0; }
.ct-upstate h2:focus { outline: none; }
.ct-upstate__wait { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ct-upsum { max-width: 600px; display: grid; gap: 6px; padding: 18px 22px; background: var(--tape); box-shadow: inset 0 0 0 1px var(--rule); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.ct-upsum div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.ct-upsum dt { color: var(--muted); }
.ct-upsum dd { font-weight: 600; text-align: right; }
.ct-uppage .ct-dep { margin-top: 16px; }
.ct-uppage .ct-upfacts { margin-top: 40px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.94rem; color: var(--ink-2); }
.ct-uppage .btn--primary { color: var(--paper-white); text-decoration: none; }
.ct-uppage .ct-dep p, .ct-uppage .ct-dep li, .ct-uppage .ct-upsum { margin-top: 0; }
.ct-uppage .ct-upfacts li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }

/* ---------- Command palette ---------- */
.ct-pal { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.ct-pal::backdrop { background: rgba(10, 26, 20, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html.ct-pal-open { overflow: hidden; }
.ct-pal__box {
  display: flex; flex-direction: column; width: min(680px, calc(100% - 32px)); max-height: min(560px, calc(100dvh - 96px)); margin: min(14vh, 120px) auto 0;
  border-radius: var(--r-lg); background: var(--tape); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(13, 59, 46, 0.12), 0 50px 120px -40px rgba(10, 26, 20, 0.75);
}
.ct-pal[open] .ct-pal__box { animation: ct-pal-in 200ms var(--ease-out); }
@keyframes ct-pal-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
.ct-pal__bar { flex: none; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--rule); }
.ct-pal__bar:focus-within { box-shadow: inset 0 -2px 0 var(--eyeshade); }
.ct-pal__glass { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; }
.ct-pal__input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; font: inherit; font-size: 1.14rem; color: var(--ink); }
.ct-pal__input::placeholder { color: #6b756f; opacity: 1; }
.ct-pal__input:focus-visible { outline: none; }
.ct-pal__c { display: none; }
.ct-pal__close { flex: none; min-width: 48px; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--r-sm); cursor: pointer; background: rgba(13, 59, 46, 0.07); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--eyeshade); }
.ct-pal__list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 10px; scroll-padding: 34px 0 8px; }
.ct-pal__label { padding: 14px 12px 6px; font-size: 0.66rem; letter-spacing: 0.16em; color: var(--muted); }
.ct-pal__opt {
  display: grid; grid-template-columns: 22px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; column-gap: 12px;
  min-height: 50px; padding: 8px 12px 8px 10px; border-radius: var(--r-sm); cursor: pointer;
}
.ct-pal__opt[aria-selected='true'] { background: rgba(13, 59, 46, 0.075); box-shadow: inset 0 0 0 1px rgba(13, 59, 46, 0.12); }
.ct-pal__tick { width: 18px; height: 18px; opacity: 0; transform: scale(0.6) rotate(-12deg); transition: opacity 140ms var(--ease-out), transform 220ms var(--ease-spring); }
.ct-pal__tick path { fill: none; stroke: var(--tick); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ct-pal__opt[aria-selected='true'] .ct-pal__tick { opacity: 1; transform: none; }
.ct-pal__t { font-weight: 600; font-size: 0.98rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-pal__h { font-size: 0.88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-pal__a { font-size: 0.66rem; letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }
.ct-pal__opt[aria-selected='true'] .ct-pal__a { color: var(--eyeshade); }
.ct-pal__foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 11px 20px; border-top: 1px solid var(--rule); background: var(--ledger-hi); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); }
.ct-pal__foot kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-right: 4px; padding: 0 5px; border-radius: 4px; background: var(--tape); box-shadow: inset 0 0 0 1px var(--rule-strong), 0 1px 0 var(--rule-strong); font-family: var(--mono); font-size: 0.66rem; color: var(--ink-2); }
.ct-pal__brand { margin-left: auto; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Phone action bar and toast ---------- */
.ct-sticky {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 6px;
  border-radius: var(--r-md); background: var(--eyeshade);
  box-shadow: inset 0 0 0 1px rgba(168, 226, 192, 0.22), 0 20px 40px -18px rgba(10, 26, 20, 0.75);
  transform: translateY(calc(100% + 30px)); visibility: hidden;
  transition: transform 280ms var(--ease-spring), visibility 0s linear 280ms;
}
.ct-sticky.is-on { transform: none; visibility: visible; transition: transform 320ms var(--ease-spring), visibility 0s; }
.ct-sticky__main, .ct-sticky__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 16px;
  border: 0; border-radius: var(--r-sm); cursor: pointer; font: inherit; font-size: 0.95rem; font-weight: 620; font-stretch: 104%; text-decoration: none;
}
.ct-sticky__main { justify-content: space-between; background: var(--paper-white); color: var(--eyeshade); }
.ct-sticky__btn { background: transparent; color: var(--paper-white); box-shadow: inset 0 0 0 1px rgba(168, 226, 192, 0.35); }
.ct-sticky :focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.ct-sticky-pad { display: none; }
html:not(.js) .ct-sticky { display: none; }

.ct-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(92vw, 440px); padding: 13px 18px;
  border-radius: var(--r-md); background: var(--night); color: var(--on-night);
  box-shadow: inset 0 0 0 1px rgba(168, 226, 192, 0.3), 0 24px 50px -20px rgba(10, 26, 20, 0.8);
  font-size: 0.94rem; font-weight: 500; line-height: 1.4;
  opacity: 0; transform: translate(-50%, 14px); pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-spring);
}
.ct-toast::before { content: ''; width: 16px; height: 16px; flex: none; background: no-repeat 50% 50% / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23a8e2c0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ct-toast.is-on:not(:empty) { opacity: 1; transform: translate(-50%, 0); }
.ct-sticky.is-on ~ .ct-toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .ct-way--email { grid-column: 1 / 7; }
  .ct-way--call { grid-column: 7 / 13; }
  .ct-way--vault { grid-column: 1 / 7; grid-template-columns: minmax(0, 1fr); }
  .ct-vault__img { max-width: 420px; }
}
@media (max-width: 980px) {
  .ct-reach__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-way--email, .ct-way--call, .ct-way--vault, .ct-way--access { grid-column: 1; grid-row: auto; }
  .ct-way--call { padding-bottom: clamp(36px, 4vw, 52px); border-top: 1px solid var(--night-rule); }
  .ct-way--call .ct-slip { max-width: 560px; }
  .ct-way--vault { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ct-way--access { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
  .ct-access { grid-column: 1; grid-row: auto; margin-top: 26px; }
}
@media (max-width: 899px) {
  .ct-sticky-pad { display: block; height: calc(70px + env(safe-area-inset-bottom)); background: var(--night); }
}
@media (min-width: 900px) { .ct-sticky { display: none; } }
@media (max-width: 720px) {
  .ct-omni { margin-top: 26px; }
  .ct-omni__due { padding: 0 10px 0 12px; }
  .ct-omni__go { min-width: 50px; padding: 0 14px; }
  .ct-omni__go-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ct-way--vault { grid-template-columns: minmax(0, 1fr); }
  .ct-vault__img { max-width: none; }
  .ct-access { grid-template-columns: minmax(0, 1fr); }
  .ct-addr__link { font-stretch: 112%; }
  .ct-pal__box { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; }
  .ct-pal__bar { padding: env(safe-area-inset-top) 10px 0 16px; }
  .ct-pal__opt { grid-template-columns: 22px minmax(0, 1fr) auto; row-gap: 2px; }
  .ct-pal__h { grid-column: 2 / -1; grid-row: 2; white-space: normal; }
  .ct-pal__a { grid-column: 3; grid-row: 1; }
  .ct-pal__foot { display: none; }
  .ct-file__btn { min-height: 44px; }
  .ct-pal__a { display: none; }
  .ct-pal__t { white-space: normal; }
  .ct-pal__k { display: none; }
  .ct-pal__c { display: inline; }
  .ct-dep { margin-top: 32px; }
}
@media (max-width: 520px) { .ct-slip__chips { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) {
  .ct-slip__head { letter-spacing: 0.08em; font-size: 0.64rem; }
  .ct-sticky__main, .ct-sticky__btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-pal[open] .ct-pal__box { animation: none; }
  .ct-sticky, .ct-sticky.is-on, .ct-toast { transition: none; }
}
