/* #883 Nest PR 9: what a whole-building survey's part sheet (65) and Report tab (66) need beyond the roof survey's look
   (assets/phone-nest-part.css, PR 6; assets/phone-nest-report.css, PR 7), which a building survey is given by
   assets/phone-nest-roof.js. Only under the switch: every rule starts with html[data-phone-nest][data-app-design="flow"]
   and needs data-nest-kind="building" (set by assets/phone-nest-roof.js only while Nest is on and a building survey's
   screen shows) with data-nest-part or data-nest-report (set only by those two modules while they arrange a screen). With
   the switch off nothing here matches. Values are reference/sn.css's (tokens
   --nest-* from assets/phone-nest.css). No url(), no web fonts. */

/* ---------- 65: a building part's overview photos (the app's plain block; a roof part has the premium folded row) ---------- */
html[data-phone-nest][data-app-design="flow"][data-nest-kind="building"][data-nest-part] body #element #element-photos:not([hidden]) {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; padding: 14px;
  background: var(--nest-card); border: 1px solid var(--nest-line); border-radius: 2px !important; box-shadow: none;
}
html[data-phone-nest][data-app-design="flow"][data-nest-kind="building"][data-nest-part] body #element #element-photos > h3 { margin: 0; font: 600 15px/1.3 var(--nest-text); color: var(--nest-ink); }
html[data-phone-nest][data-app-design="flow"][data-nest-kind="building"][data-nest-part] body #element #element-photos > .ph-photo-btn { align-self: flex-start; }
/* Remove photo is a small red text button (control table: 33, 37, 38, 65), as on a defect's photo */
html[data-phone-nest][data-app-design="flow"][data-nest-kind="building"][data-nest-part] body #element #element-photos .ph-nest-pinline > button.ph-danger {
  height: 32px; min-height: 32px; padding: 0 8px; background: none; color: var(--nest-danger);
}
/* and Place on plan / Move pin a small text button, as on a defect's photo */
html[data-phone-nest][data-app-design="flow"][data-nest-kind="building"][data-nest-part] body #element #element-photos .ph-nest-pin > button {
  height: 32px; min-height: 32px; padding: 0 8px; background: none; color: var(--nest-teal);
}

/* ---------- 66: the Report tab. phone_element_overlay's "Survey › Report" trail: the title, Back and the tabs already say
   where you are (as on Property, Elements and the part sheet under Nest) ---------- */
html[data-phone-nest][data-app-design="flow"][data-nest-kind="building"][data-nest-report="report"] body #report > .ph-capture-breadcrumb { display: none; }

/* ---------- 63, 64, 67: Property's boxes. Every label over its box, its lines at the top (Inspection date and Surveyor
   start on one line, same top, same height). A box with the phone's microphone has the shared field look and its one line of
   Clear, Undo and the dictation words (assets/phone-nest-field.css and .js, #883 fields batch), as on a roof survey. ---------- */
html[data-phone-nest][data-app-design="flow"][data-nest-roof="property"][data-nest-kind="building"] body #property label:has(> :is(input, textarea, select, .ph-flow-voice-field)) {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; align-content: flex-start; gap: 6px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
  font: 600 13px/1.2 var(--nest-text); color: var(--nest-soft); min-width: 0;
}
html[data-phone-nest][data-app-design="flow"][data-nest-roof="property"][data-nest-kind="building"] body #property .flow-property-essential { align-items: start; }
/* (the date box itself: assets/phone-nest-roof.css, owner fix 2, the same on a roof and a building survey) */
