/* ─────────────────────────────────────────────────────────────
   Property Onboarding — supplemental widget styles.
   Uses ONLY the design tokens defined in index.css (:root), so the
   look stays identical to the rest of the PawFred app. Classes are
   prefixed `po-` to avoid any collision with the shared stylesheet.
───────────────────────────────────────────────────────────── */

/* module fade-in on step change */
.po-panel { animation: po-fade .25s ease; }
@keyframes po-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* section label with mono number (mirrors .section-label but inline number) */
.po-section-label {
  font-size: 13px; font-weight: 600; color: var(--text-1);
  margin-bottom: .9rem; display: flex; align-items: center; gap: 8px;
}
.po-section-label .po-num { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.po-section-label .hint { font-weight: 400; }

/* Yes / No pill toggle */
.po-yn { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .15rem; }
.po-yn button {
  min-width: 74px; background: rgba(255,255,255,.04);
  border: 1px solid var(--border-2); color: var(--text-2);
  padding: .45rem .9rem; border-radius: var(--r-md);
  font-family: var(--font); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all var(--ease);
}
.po-yn button:hover { color: var(--text-1); }
.po-yn button.on-yes, .po-yn button.on-no { background: var(--blue-faint); border-color: var(--blue); color: var(--blue); }

/* reveal block */
.po-reveal { margin-top: .9rem; padding-left: .9rem; border-left: 2px solid var(--border-2); }

/* question rows */
.po-qrow { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.po-qrow:first-child { padding-top: 0; }
.po-qrow:last-child { border-bottom: none; padding-bottom: 0; }
.po-qhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.po-qtext { font-size: 13.5px; color: var(--text-1); font-weight: 500; }
.po-qsub { font-size: 12px; color: var(--text-3); margin-top: 2px; max-width: 56ch; }

/* muted info variant (app has blue .info-box + amber .note-box; add a neutral one) */
.po-note-muted {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: .85rem 1.1rem;
  font-size: 13px; color: var(--text-2); line-height: 1.6;
  display: flex; gap: 10px; align-items: flex-start; margin-top: .75rem;
}
.po-note-muted .ico { flex-shrink: 0; }

/* searchable breed combobox */
.po-combo { position: relative; }
.po-combo-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--navy-card); border: 1px solid var(--border-2);
  border-radius: var(--r-md); padding: .35rem; z-index: 30;
  max-height: 240px; overflow-y: auto; box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.po-combo-opt {
  padding: .5rem .7rem; border-radius: 8px;
  font-size: 13px; color: var(--text-1); cursor: pointer;
}
.po-combo-opt:hover, .po-combo-opt.active { background: var(--blue-faint); color: var(--blue); }
.po-combo-empty { padding: .5rem .7rem; font-size: 12.5px; color: var(--text-3); }

/* grouped fee-table heading */
.po-grp-title {
  font-size: 11px; font-weight: 600; color: var(--blue);
  margin: 1rem 0 .1rem; text-transform: uppercase; letter-spacing: .04em;
}
.po-tier-ref { color: var(--text-3); font-family: var(--mono); font-size: 12px; }

/* tag quantity table */
.po-tqt { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.po-tqt-head, .po-tqt-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: .5rem .85rem; align-items: center; gap: .5rem; }
.po-tqt-head { background: rgba(255,255,255,.02); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.po-tqt-row { border-top: 1px solid var(--border); }
.po-tqt-row > span { font-size: 13.5px; font-weight: 500; color: var(--text-1); }
.po-tqt-total { display: flex; justify-content: space-between; align-items: center; padding: .65rem .85rem; border-top: 1px solid var(--border); background: rgba(255,255,255,.02); font-size: 13.5px; font-weight: 600; color: var(--text-1); }
.po-qty-in { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .38rem .5rem; color: var(--text-1); font-family: var(--font); font-size: 13px; width: 100%; text-align: center; }
.po-qty-in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }

/* read-only Exhibit A grid */
.po-ro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; }
.po-ro-item { display: flex; flex-direction: column; gap: 2px; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.po-ro-key { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.po-ro-val { font-size: 13.5px; color: var(--text-1); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.po-lock-pill { font-size: 9.5px; color: var(--text-3); border: 1px solid var(--border-2); border-radius: 99px; padding: 1px 7px; letter-spacing: .03em; text-transform: uppercase; }

/* nested tower row */
.po-tower-row { display: grid; grid-template-columns: 1fr 72px 1fr auto; gap: .5rem; align-items: center; margin-top: .5rem; }
.po-rm { color: var(--text-3); cursor: pointer; font-size: 13px; background: none; border: none; }
.po-rm:hover { color: var(--error); }

/* divider */
.po-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

@media (max-width: 860px) {
  .po-ro-grid { grid-template-columns: 1fr; }
  .po-tower-row { grid-template-columns: 1fr 1fr; }
}
