/* Guided homeowner screens */
.guided-flow .kicker, .guided-flow .eyebrow, .guided-flow .fine,
.guided-flow .low p, .guided-flow .hint, .guided-flow .add-photo,
.guided-flow .summary p, .guided-flow .pin .what,
.guided-flow .next b, .guided-flow .attrib { font-size: 15px; }
.guided-flow .top a, .guided-flow button, .guided-flow .switch { min-height: 44px; }
.guided-flow .icon-btn, .guided-flow .tool, .guided-flow .clear, .guided-flow .thumb button { min-width: 44px; }
.guided-flow .fine a { display: inline-flex; align-items: center; min-height: 44px; }
.guided-flow .switch span { top: 8px; bottom: 8px; }
.guided-flow .attrib { max-width: calc(100% - 60px); }
.guided-flow .hint { max-width: 95%; white-space: normal; text-align: center; }
.guided-flow [data-step=pick] .eyebrow, .guided-flow [data-step=pick] .kicker { display: inline; }
.guided-flow [data-step=pick] .kicker { margin-left: .5em; color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.guided-progress { display: block; width: 100%; height: 3px; border: 0; appearance: none; accent-color: var(--water); background: transparent; }
.guided-progress::-webkit-progress-bar { background: transparent; }
.guided-progress::-webkit-progress-value { background: var(--water); }
.guided-progress::-moz-progress-bar { background: var(--water); }
.guided-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guided-picture, .guided-choice {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line);
  background: white; color: var(--ink); text-align: left; font-size: 16px;
  font-weight: 600; line-height: 1.3; border-radius: 14px;
}
.guided-picture { flex-direction: column; align-items: stretch; padding: 0 0 11px; overflow: hidden; }
.guided-picture span { padding: 0 11px; }
.guided-picture svg { background: #eff4f2; width: 100%; }
.guided-picture[aria-pressed=true], .guided-choice[aria-pressed=true] {
  border-color: var(--water); box-shadow: inset 0 0 0 1px var(--water); background: var(--water-soft);
}
.guided-picture[aria-pressed=true] svg { background: #e2edf5; }
.guided-options { display: grid; gap: 8px; }
.guided-choice { padding: 13px 15px; min-height: 50px; }
.guided-tick { margin-left: auto; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--muted); border-radius: 5px; }
.guided-choice[aria-pressed=true] .guided-tick { background: var(--focus); border-color: var(--focus); }
.guided-choice[aria-pressed=true] .guided-tick::after {
  content: ""; display: block; width: 5px; height: 10px; margin: 2px auto;
  border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.guided-switch { display: flex; gap: 3px; width: fit-content; margin: 8px 0 12px; padding: 3px; background: var(--ice); border-radius: 12px; }
.guided-switch button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; font-size: 16px; font-weight: 600; }
.guided-switch [aria-pressed=true] { background: white; box-shadow: 0 1px 4px var(--line); }
.guided-art { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ga-icon { flex: none; width: 24px; height: 24px; stroke: var(--focus); }
.ga-white, .ga-surface { fill: white; }
.ga-ice { fill: var(--ice); }
.ga-water { fill: var(--water); stroke: var(--water); }
.ga-pool { fill: var(--water-soft); stroke: var(--water); }
.ga-waterline { stroke: var(--water); }
.ga-crack, .ga-hair { stroke: var(--bad); }
.ga-hair { stroke-width: 1.2; }
.ga-detail { stroke: #81938b; stroke-width: 1.4; }
.ga-drawing { width: 100%; border-radius: 16px; background: #e6efee; border: 1px solid var(--line); }
.guided-flow .ga-drawing [data-zone], .guided-flow .ga-drawing [data-mark] { cursor: pointer; }
.ga-marked .ga-surface { fill: var(--water-soft); stroke: var(--water); }
.ga-label, .ga-number { stroke: none; fill: var(--muted); text-anchor: middle; font: 500 15px var(--sans); }
.ga-label { pointer-events: none; }
.ga-number { fill: white; font-weight: 750; }
.ga-drop { fill: var(--water); stroke: white; }
.ga-hit { fill: transparent; stroke: none; }
.guided-art [role=button]:focus-visible .ga-surface { stroke: var(--focus); stroke-width: 4; }
.guided-reply {
  margin: 14px 0 8px; padding: 14px 16px; background: white; color: var(--ink);
  border: 1px solid var(--line); border-left: 4px solid var(--focus); border-radius: 12px;
  scroll-margin-bottom: calc(90px + var(--safe-b)); animation: guided-appear 220ms ease-out;
}
.guided-byline { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; color: var(--focus); font-size: 15px; font-weight: 650; font-variant: small-caps; letter-spacing: .04em; }
.guided-byline img { border-radius: 50%; }
.guided-reply strong { display: block; line-height: 1.32; }
.guided-reply p { margin: 6px 0 0; font-size: 16px; }
.guided-next { color: var(--focus); font-weight: 650; }
.guided-next::before { content: "→"; margin-right: 6px; }
.guided-call { display: inline-flex; min-height: 44px; align-items: center; padding: 0 9px; background: var(--water-soft); border-radius: 8px; color: var(--ink); font-weight: 650; }
@keyframes guided-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .guided-reply, .guided-flow .screen, .guided-flow .sheet, .guided-flow .pin { animation: fade 220ms ease-out; }
}

/* Staff inbox and packet */
.guided-inbox main { padding: 18px 14px; }
.guided-tools, .guided-filters, .guided-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.guided-filters { margin: 8px 0; }
.guided-filters button { min-height: 44px; border: 1px solid var(--line); border-radius: 24px; padding: 8px 12px; background: white; font-size: 15px; font-weight: 600; }
.guided-filters [aria-pressed=true] { background: var(--ink); color: white; }
.guided-tools { justify-content: space-between; }
.guided-tools label { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; font-size: 15px; }
.guided-tools input { width: 20px; height: 20px; accent-color: var(--focus); }
.guided-tools select { min-height: 44px; max-width: 48vw; border-radius: 8px; border: 1px solid var(--line); padding: 4px; background: white; color: var(--ink); font: inherit; }
.guided-inbox #requests h2 { margin-top: 18px; }
.guided-row { display: grid; gap: 2px; margin: 8px 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: white; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.guided-row time, .guided-row-foot { font-size: 15px; color: var(--muted); }
.guided-row-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.guided-tags { margin-bottom: 7px; }
.guided-tag { font-size: 15px; font-weight: 750; border-radius: 5px; padding: 2px 8px; border-left: 4px solid var(--tag); color: var(--ink); background: color-mix(in srgb, var(--tag) 15%, white); }
.guided-tag[data-tag=leak] { --tag: #1f7ae0; }
.guided-tag[data-tag=foundation] { --tag: #b7791f; }
.guided-tag[data-tag=drainage] { --tag: #2f7a4f; }
.guided-tag[data-tag=mixed] { --tag: #6b5b95; }
.guided-tag[data-tag=urgent] { --tag: #a3361f; color: white; background: var(--tag); }
.guided-shown h3 { font-size: 17px; margin: 12px 0 5px; }
.guided-mark-line { margin: 5px 0; }
