/* TaTasque — ADDRESS FIELD (public/address-field/address-field.js; the smart Address attribute type). Namespace adt-. Copyright Rapid Surveys Pty Ltd.
   Theme tokens only (core.css): --line --ink --muted --card --accent. */
.adt-box { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* ADDRSUGGEST: the type-ahead list is an OVERLAY under the line (absolute; never pushes the buttons below it down mid-press) */
.adt-box { position: relative; }
.adt-sg-wrap { position: relative; min-width: 0; }
.adt-sg { position: absolute; top: calc(100% + 2px); left: 0; right: 0; z-index: 30; margin: 0; padding: 4px 0; list-style: none; max-height: 260px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); box-sizing: border-box; }
.adt-sg[hidden] { display: none; }
.adt-sg li { padding: 0 12px; min-height: 44px; display: flex; align-items: center; font-size: 15px; line-height: 1.3; cursor: pointer; color: var(--ink); }
.adt-sg li.on, .adt-sg li:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }

.adt-line { width: 100%; box-sizing: border-box; min-height: 46px; font-size: 16px; }
.adt-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adt-acts .btn { min-height: 44px; }
.adt-more { min-height: 44px; padding: 0 6px; }
.adt-msg { margin: 0; }
.adt-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--card) 92%, var(--line)); }
.adt-parts[hidden] { display: none; }
.adt-f { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; color: var(--muted); }
.adt-f-street, .adt-f-suburb { grid-column: span 2; }
.adt-in { width: 100%; box-sizing: border-box; min-height: 44px; font-size: 15px; }
.adt-notes { margin: 0; padding: 0 0 0 18px; font-size: 12px; color: var(--muted); }
.adt-notes:empty { display: none; }
.adt-notes[hidden] { display: none; }
.adt-set { border: 1px solid var(--line); border-radius: 8px; margin: 8px 0 0; padding: 8px 12px; }
.adt-set legend { font-size: 13px; font-weight: 600; padding: 0 6px; }
.adt-ticks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.adt-tick { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; cursor: pointer; }
.adt-tick input { width: 20px; height: 20px; accent-color: var(--accent); }
.adt-sethint { margin: 4px 0 0; }
.adt-pop .adt-box { min-width: 280px; }
@media (max-width: 480px) { .adt-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adt-f-street, .adt-f-suburb { grid-column: span 2; } }
