/* PHWO — Report an issue. Teal #0D5C63, gold #E8A33D. */
.phwo-ir-wrap { margin: 14px 0 6px; text-align: center; clear: both; }
.phwo-ir-btn { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; background: #fff; color: #0D5C63; border: 1.5px solid #E8A33D; border-radius: 999px; padding: 7px 16px; font-size: 14px; line-height: 1.4; cursor: pointer; min-height: 40px; box-shadow: none; text-transform: none; letter-spacing: 0; }
.phwo-ir-btn:hover, .phwo-ir-btn:focus-visible { background: #FFF7E8; color: #0D5C63; outline: 3px solid rgba(232,163,61,.35); outline-offset: 2px; }
.phwo-ir-btn small { font-size: 12px; opacity: .8; }
.phwo-ir-btn [lang="ur"] { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; }

html.phwo-ir-lock, html.phwo-ir-lock body { overflow: hidden; }
.phwo-ir-modal { position: fixed; inset: 0; z-index: 2147483000; display: none; }
.phwo-ir-modal.is-open { display: block; }
.phwo-ir-modal.is-capturing { opacity: 0; pointer-events: none; }
.phwo-ir-back { position: absolute; inset: 0; background: rgba(8,35,38,.55); }
.phwo-ir-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; background: #fff; color: #1d2b2d; border-radius: 16px; border-top: 5px solid #0D5C63; padding: 20px 20px 16px; box-shadow: 0 20px 60px rgba(0,0,0,.3); font-size: 15px; line-height: 1.5; text-align: start; }
.phwo-ir-x { position: absolute; top: 8px; inset-inline-end: 10px; background: none; border: 0; font-size: 28px; line-height: 1; color: #0D5C63; cursor: pointer; padding: 4px 8px; }
.phwo-ir-box h2 { margin: 0 0 10px; color: #0D5C63; font-size: 20px; }
.phwo-ir-ur { display: block; font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; direction: rtl; text-align: right; line-height: 1.9; }
.phwo-ir-en { display: block; font-size: .82em; color: #4b5d60; }
.phwo-ir-q { font-weight: 700; margin: 6px 0; }
.phwo-ir-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.phwo-ir-chip { position: relative; cursor: pointer; margin: 0; }
.phwo-ir-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.phwo-ir-chip span { display: block; border: 1.5px solid #c9d6d7; border-radius: 12px; padding: 6px 12px; background: #f6fafa; min-height: 44px; }
.phwo-ir-chip input:checked + span { border-color: #0D5C63; background: #0D5C63; color: #fff; }
.phwo-ir-chip input:checked + span .phwo-ir-en { color: #e6f1f1; }
.phwo-ir-chip input:focus-visible + span { outline: 3px solid #E8A33D; outline-offset: 2px; }
.phwo-ir-field { display: block; margin: 0 0 10px; font-weight: 600; }
.phwo-ir-field small { font-weight: 400; }
.phwo-ir-field small .phwo-ir-ur, .phwo-ir-field small .phwo-ir-en { display: inline; }
.phwo-ir-field input[type="text"], .phwo-ir-field textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; border: 1.5px solid #c9d6d7; border-radius: 10px; padding: 9px 11px; font-size: 16px; font-weight: 400; background: #fff; color: #1d2b2d; }
.phwo-ir-field input:focus, .phwo-ir-field textarea:focus { border-color: #0D5C63; outline: 2px solid rgba(13,92,99,.2); }
.phwo-ir-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phwo-ir-shot { background: #FFF9EE; border: 1px dashed #E8A33D; border-radius: 12px; padding: 12px; margin: 4px 0 12px; }
.phwo-ir-take { width: 100%; background: #fff; color: #0D5C63; border: 1.5px solid #0D5C63; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 15px; min-height: 44px; }
.phwo-ir-take:disabled { opacity: .7; cursor: wait; }
.phwo-ir-note { margin: 8px 0; font-size: 13px; color: #0D5C63; }
.phwo-ir-prev { position: relative; margin: 8px 0; }
.phwo-ir-prev img { display: block; max-width: 100%; max-height: 220px; border: 1px solid #c9d6d7; border-radius: 8px; margin: 0 auto; }
.phwo-ir-rm { display: block; margin: 6px auto 0; background: #fff; color: #b42318; border: 1px solid #b42318; border-radius: 8px; padding: 4px 12px; cursor: pointer; font-size: 13px; }
.phwo-ir-rm .phwo-ir-ur, .phwo-ir-rm .phwo-ir-en { display: inline; margin: 0 3px; }
.phwo-ir-up { margin: 8px 0 0; }
.phwo-ir-up input { display: block; margin-top: 4px; font-weight: 400; max-width: 100%; }
.phwo-ir-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.phwo-ir-small { font-size: 12px; color: #4b5d60; margin: 0 0 10px; }
.phwo-ir-small .phwo-ir-en { font-size: 1em; }
.phwo-ir-msg { background: #FDECEA; color: #8a1c12; border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; }
.phwo-ir-msg.ok { background: #E6F2F2; color: #0D5C63; }
.phwo-ir-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.phwo-ir-send { background: #0D5C63; color: #fff; border: 0; border-radius: 10px; padding: 10px 20px; cursor: pointer; font-size: 16px; min-height: 48px; flex: 1 1 auto; }
.phwo-ir-send:hover { background: #0a4a50; color: #fff; }
.phwo-ir-send:disabled { opacity: .7; cursor: wait; }
.phwo-ir-cancel { background: #fff; color: #0D5C63; border: 1.5px solid #c9d6d7; border-radius: 10px; padding: 10px 16px; cursor: pointer; min-height: 48px; }
.phwo-ir-send .phwo-ir-ur, .phwo-ir-send .phwo-ir-en, .phwo-ir-cancel .phwo-ir-ur, .phwo-ir-cancel .phwo-ir-en, .phwo-ir-take .phwo-ir-ur, .phwo-ir-take .phwo-ir-en { text-align: center; color: inherit; }
.phwo-ir-done { text-align: center; padding: 10px 0; }
.phwo-ir-done .phwo-ir-ur, .phwo-ir-done .phwo-ir-en { text-align: center; }
.phwo-ir-ok { width: 56px; height: 56px; border-radius: 50%; background: #0D5C63; color: #fff; font-size: 30px; line-height: 56px; margin: 0 auto 10px; border: 3px solid #E8A33D; }
.phwo-ir-ref strong { color: #0D5C63; }
@media (max-width: 600px) {
	.phwo-ir-box { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); }
	.phwo-ir-row { grid-template-columns: 1fr; }
}
