.phone-stage { width: min(100%, 340px); margin: 0 auto; min-width: 0; scroll-margin-top: 10px; }
.device-caption { font-size: 11px; font-weight: 750; color: var(--green); margin: 0 0 7px 12px; }
.device {
  width: 100%; aspect-ratio: 6 / 13; background: #fbfaf6; display: flex; flex-direction: column;
  border: 7px solid #142820; border-radius: 33px; box-shadow: 0 12px 32px #233e2e2a;
  overflow: hidden;
}
.device-status { height: 27px; padding: 7px 14px 3px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 800; flex: none; }
.camera { width: 56px; height: 12px; border-radius: 12px; background: #142820; }
.device-head { display: flex; flex: none; gap: 8px; align-items: center; padding: 9px 13px 11px; border-bottom: 1px solid var(--line); font-size: 14px; }
.device-head .mark { transform: scale(.78); margin: -3px; }
.device-head .sample { margin-left: auto; border-radius: 5px; padding: 4px 6px; color: #5a3c1e; background: #f1e6cc; font-size: 9px; font-weight: 800; }
.phone-content { flex: 1 1 0; min-height: 0; overflow: auto; scrollbar-width: thin; padding: 16px 13px 12px; }
.device-footer { display: grid; place-items: center; height: 17px; flex: none; }
.device-footer span { border-radius: 5px; width: 86px; height: 4px; background: #142820; }
.phone-content h2 { font: 500 28px/1.04 var(--face); letter-spacing: -.045em; }
.phone-intro { margin-bottom: 15px; }
.phone-intro p { margin-top: 3px; font-size: 12px; color: var(--muted); }
#zip-search label, #address-form label { display: block; font-size: 11px; font-weight: 800; margin-bottom: 6px; }
.search-row { display: flex; gap: 6px; }
.search-row .primary { white-space: nowrap; }
.search-row .primary span { margin-left: 2px; }
.search-row input, #address-form select { min-width: 0; flex: 1; width: 100%; color: var(--ink); padding: 10px; background: #fff; border: 1px solid #aabbb0; border-radius: 9px; font-size: 16px; }
.search-row input[aria-invalid="true"] { border-color: #a73729; }
.field-message { margin-top: 6px; color: var(--muted); font-size: 10px; }
.field-message.error { font-size: 11px; color: #9a3022; font-weight: 700; }
.initial-hint { margin-top: 19px; position: relative; min-height: 197px; border-radius: 12px; overflow: hidden; background: #26483a; color: #fffaf0; display: flex; align-items: flex-end; }
.initial-hint img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.initial-hint > div { z-index: 1; width: 100%; padding: 29px 13px 12px; background: linear-gradient(transparent, #172c24f5 75%); }
.initial-hint strong { font: 23px/1.1 var(--face); }
.initial-hint p { margin-top: 4px; line-height: 1.4; font-size: 11px; }
#results-title { margin-top: 18px; }
#results-title .eyebrow { color: var(--green); font-size: 9px; margin-bottom: 5px; }
.result-total { color: var(--muted); font-size: 11px; margin-top: 5px; }
.match-note { margin-top: 11px; background: #f7edda; border: 1px solid #e8d7b4; border-radius: 9px; padding: 9px 10px; color: #604120; font-size: 11px; }
.match-note.confirmed { background: #e7eee3; border-color: #c9d6c6; color: #254b3d; }
.match-note strong { font-size: 12px; }
.match-note p { margin-top: 2px; }
.link-button { border: 0; padding: 7px 0 1px; color: inherit; font-size: 11px; font-weight: 800; background: transparent; text-align: left; text-decoration: underline; text-underline-offset: 2px; }
#address-form { margin-top: 9px; }
#address-form select { font-size: 13px; margin-bottom: 8px; }
#address-form .primary { padding: 8px 10px; }
