.with-mic { display: grid; grid-template-columns: 1fr 48px; gap: 8px; }
.with-mic input, .with-mic textarea { margin-top: 7px; }
.mic { align-self: stretch; max-height: 48px; margin-top: 7px; border: 0; border-radius: 12px; color: var(--blue); background: #eaf2fd; font-size: 15px; touch-action: none; user-select: none; }
.mic svg { width: 23px; height: 23px; fill: currentColor; }
.textarea-mic .mic { max-height: 52px; }
.mic.listening { color: #fff; background: #c23a31; animation: pulse 1s infinite; }
.mic.starting { color: #fff; background: #d88400; animation: pulse .75s infinite; }
.speech-feedback { position: fixed; z-index: 50; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 18px); padding: 10px 15px; border-radius: 999px; color: #fff; background: #d88400; box-shadow: 0 10px 30px #10203338; font-size: 13px; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.speech-feedback.show { opacity: 1; transform: translate(-50%, 0); }
.speech-feedback[data-mode="listening"] { background: #c23a31; }
.speech-feedback[data-mode="finishing"] { background: #102033; }
@keyframes pulse { 50% { filter: brightness(1.18); } }
.issue { margin-bottom: 14px; padding-bottom: 15px; border-bottom: 1px solid #f0d7ba; }
.issue-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.issue-head > strong { font-size: 13px; }
.issue-remove { width: 34px; height: 34px; }
.otherwitter { display: block; }
.room-head > div { min-width: 0; }
.other-room { margin-top: 7px; }
.preview { position: relative; overflow: hidden; border-radius: 9px; }
.preview-stamp { position: absolute; left: 5px; right: 5px; bottom: 5px; color: #fff; font-size: 8px; line-height: 1.3; text-shadow: 0 1px 3px #000, 0 0 4px #000; }
.intro { padding-bottom: 17px; }
.intro h1 { max-width: 620px; font-size: clamp(28px, 6vw, 40px); line-height: 1.06; }
@media (max-width: 420px) { .intro h1 { font-size: 30px; } }
.location-card { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.location-card.enabled { border-color: #a9d5bd; background: #edf8f2; }
.location-card.denied { border-color: #f1c7c2; background: #fff3f1; }
.location-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; font-size: 21px; }
.location-card strong, .location-card small { display: block; }
.location-card strong { font-size: 13px; }
.location-card small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.location-card button { min-height: 40px; padding: 7px 11px; }
.phase { min-width: 0; }
.extra-photos .photo-box { margin-top: 8px; }
.add-phase-photo { width: 100%; margin: 7px 0 0; font-size: 10px; }
.after-add { color: #075fcf; }
.microphone-help { margin: -6px 0 15px; padding: 11px 12px; display: grid; gap: 5px; border: 1px solid #f1c7c2; border-radius: 11px; color: #7a271a; background: #fff3f1; font-size: 11px; line-height: 1.4; }
.microphone-help a { color: #7a271a; font-weight: 800; text-underline-offset: 3px; }
.desktop-phone-notice { display: none; }
@media (min-width: 860px) and (hover: hover) and (pointer: fine) {
  .desktop-phone-notice { display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: center; margin: 0 0 22px; padding: 16px 18px; border: 1px solid #bfd5f4; border-radius: 16px; background: #eef5ff; }
  .desktop-phone-icon { display: grid; place-items: end center; width: 44px; height: 54px; padding-bottom: 4px; border: 3px solid #1769e0; border-radius: 9px; }
  .desktop-phone-icon::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #1769e0; }
  .desktop-phone-notice strong { display: block; margin-bottom: 4px; font-size: 15px; }
  .desktop-phone-notice p { margin: 0 0 5px; color: #52657a; font-size: 13px; line-height: 1.45; }
  .desktop-phone-notice span { color: #1769e0; font-size: 12px; }
}
.app-support { width: min(720px, 100%); margin: 0 auto; padding: 0 18px 28px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.app-support strong { color: var(--ink); }
.app-support a { color: var(--blue); font-weight: 800; text-decoration: none; }
.photo-box.has-photo > .photo-button { display: none; }
.pdf-status { min-height: 18px; margin: 9px 0 0; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.4; }
@media (max-width: 420px) { .location-card { grid-template-columns: 35px 1fr; } .location-card button { grid-column: 1 / -1; width: 100%; } }
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 20px}.choice{appearance:none;text-align:left;border:1px solid #cfd9e6;background:#fff;border-radius:16px;padding:16px;color:#102033}.choice strong,.choice small{display:block}.choice small{margin-top:5px;color:#66758a;line-height:1.35}.choice.selected{border:2px solid #1769e0;background:#eef5ff;padding:15px}.maintenance-photos{margin-top:18px}#extraPhotos{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}@media(max-width:620px){.choice-grid{grid-template-columns:1fr}#extraPhotos{grid-template-columns:1fr}}
.safe-photo-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 4px;
  color: #52657a;
  font-size: 14px;
  line-height: 1.4;
}

.safe-photo-note[hidden],
.other-checkpoint[hidden] {
  display: none !important;
}

.safe-photo-note input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.equipment-result {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .equipment-result { grid-template-columns: 1fr; }
}
