.simpleOnly{display:none!important}
body.aiSimpleMode #capture{padding:18px 14px 48px}
body.aiSimpleMode #aiSimpleScreenTitle{display:block;margin:2px 4px 18px}
body.aiSimpleMode #aiSimpleScreenTitle p{margin:0;color:#35dfac;font-weight:900}
body.aiSimpleMode #aiSimpleScreenTitle h1{margin:6px 0;font-size:28px}
body.aiSimpleMode #aiSimpleScreenTitle small{color:#9fb1c4;line-height:1.5}
body.aiSimpleMode #reportForm{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.aiSimpleMode #reportForm>*:not(.upload):not(input[type="hidden"]){display:none!important}
body.aiSimpleMode #reportForm>.upload{display:block!important;padding:14px!important;border:1px solid #28445a!important;border-radius:24px!important;background:#091e2e!important}
body.aiSimpleMode #reportForm>.upload>*{display:none!important}
body.aiSimpleMode:not(.aiPhotoReady) #reportForm>.upload>#uploadTitle,
body.aiSimpleMode:not(.aiPhotoReady) #reportForm>.upload>.fieldCameraHint,
body.aiSimpleMode:not(.aiPhotoReady) #reportForm>.upload>.photoActions,
body.aiSimpleMode #reportForm>.upload>#aiSimpleAdvanced{display:block!important}
body.aiSimpleMode:not(.aiPhotoReady) .photoActions #cameraBtn{display:block!important;width:100%;min-height:68px;font-size:20px}
body.aiSimpleMode #aiSimpleAdvanced{margin:14px 0 0;padding:14px;border:1px solid #28445a;border-radius:14px;color:#dce8f1}
body.aiSimpleMode #aiSimpleAdvanced>summary{color:#35dfac;font-size:16px;font-weight:900}
body.aiSimpleMode #aiSimpleAdvanced .simpleAdvancedBody{display:grid;gap:14px;margin-top:14px}
body.aiSimpleMode #aiSimpleAdvanced #preCaptureTarget,
body.aiSimpleMode #aiSimpleAdvanced #targetLocationTool{display:block!important;margin:0}
body.aiSimpleMode.aiPhotoReady #preview{display:block!important;width:100%;max-height:52vh;object-fit:contain;border-radius:18px;background:#061521}
body.aiSimpleMode.aiPhotoReady #photoReviewCard{display:block!important;margin:10px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:#edf6fb}
body.aiSimpleMode #photoReviewCard .reviewPolicyLong{display:none!important}
body.aiSimpleMode #photoReviewCard .simpleOnly{display:block!important}
body.aiSimpleMode #photoReviewCard .simplePhotoStatus{text-align:center;padding:13px 4px;color:#75e8c5;font-weight:800}
body.aiSimpleMode #photoReviewCard .actions{display:grid!important;gap:10px;margin:0}
body.aiSimpleMode #photoReviewCard .actions button{display:block!important;width:100%;min-height:58px;border-radius:14px;font-size:18px;font-weight:900}
body.aiSimpleMode #photoReviewCard #useSelectedPhoto{background:#35dfac!important;color:#06231b!important}
body.aiSimpleMode #photoReviewCard #deleteSelectedPhoto{background:#531627!important;color:#ffb2bd!important}
body.aiSimpleMode #photoReviewCard .simpleUseNotice{margin-top:14px;padding:14px;border:1px solid #1e765f;border-radius:14px;background:#0d352f;color:#75e8c5;font-weight:800}
body.aiSimpleMode #photoReviewCard .simpleOpenNotice{padding:15px 8px;color:#c9d7e3}
body.aiSimpleMode.aiPhotoReady #aiSimpleAdvanced{margin-top:14px}
body.aiSimpleMode.aiPhotoReady #aiSimpleAdvanced #preCaptureTarget{display:none!important}
body.aiSimpleMode.aiPhotoReady #targetLocationTool>summary small{display:block;margin-top:4px;color:#9fb1c4;font-size:12px;font-weight:700}
body.aiSimpleMode #result{display:none!important}
@media(min-width:700px){body.aiSimpleMode #capture{max-width:620px;margin:auto}}

body.aiSimpleMode #photoReviewCard #simpleLocationCard{display:grid!important;gap:9px;margin:2px 0 14px;padding:14px;border:1px solid #28775f;border-radius:14px;background:#0a2930}
body.aiSimpleMode #simpleLocationCard>p{margin:0 0 2px;color:#75e8c5;font-size:15px;font-weight:900}
body.aiSimpleMode #simpleLocationCard>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;align-items:start}
body.aiSimpleMode #simpleLocationCard span{color:#9fb1c4;font-size:13px}
body.aiSimpleMode #simpleLocationCard strong{color:#edf6fb;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
body.aiSimpleMode #simpleLocationCard #retrySimpleLocation{display:block!important;width:100%;min-height:42px;margin-top:3px;padding:9px 12px;border-radius:11px;font-size:14px;font-weight:800}

.agencyForm{margin:16px 0;padding:16px;border:1px solid #28775f;border-radius:16px;background:#0a2930}
.agencyFormHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.agencyFormHead small{color:#75e8c5;font-weight:800}
.agencyFormHead h3{margin:4px 0 14px}
.agencyFormRows{display:grid;gap:9px}
.agencyFormRow{display:grid;grid-template-columns:minmax(88px,.75fr) minmax(0,1.5fr);gap:5px 10px;padding:10px;border-radius:11px;background:#0d2233}
.agencyFormRow>span{color:#9fb1c4;font-size:12px}
.agencyFormRow>strong{color:#edf6fb;line-height:1.45;overflow-wrap:anywhere}
.agencyFormRow>small{grid-column:2;font-weight:800}
.agencyFormRow .needsCheck{color:#ffbd7a}
.agencyFormRow .written{color:#75e8c5}
.agencyFormMissing{margin-top:12px;padding:12px;border:1px solid #8a5530;border-radius:11px;background:#382718;color:#ffd2a1}
.agencyForm>button{width:100%;margin-top:10px}
@media(max-width:430px){.agencyFormRow{grid-template-columns:1fr}.agencyFormRow>small{grid-column:1}}


/* Extra-compact captured-location card */
@media(max-width:699px){
 body.aiSimpleMode #photoReviewCard #simpleLocationCard{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px 8px!important;margin:2px 0 6px!important;padding:7px 9px!important;border-radius:11px!important}
 body.aiSimpleMode #simpleLocationCard>b{grid-column:1/-1;margin:0!important;font-size:13px!important;line-height:1.2!important;color:#75e8c5}
 body.aiSimpleMode #simpleLocationCard>div{min-height:0!important;margin:0!important;padding:0!important;gap:3px!important;align-items:center!important}
 body.aiSimpleMode #simpleLocationCard>div:nth-of-type(1),body.aiSimpleMode #simpleLocationCard>div:nth-of-type(2){grid-column:1/-1;grid-template-columns:76px minmax(0,1fr)!important}
 body.aiSimpleMode #simpleLocationCard>div:nth-of-type(3),body.aiSimpleMode #simpleLocationCard>div:nth-of-type(4){grid-template-columns:auto minmax(0,1fr)!important}
 body.aiSimpleMode #simpleLocationCard span{font-size:10px!important;line-height:1.15!important;white-space:nowrap!important;word-break:keep-all!important}
 body.aiSimpleMode #simpleLocationCard strong{font-size:11px!important;line-height:1.2!important;white-space:nowrap!important}
 body.aiSimpleMode #simpleLocationCard>div:nth-of-type(1) strong,body.aiSimpleMode #simpleLocationCard>div:nth-of-type(2) strong{overflow:hidden;text-overflow:ellipsis}
 body.aiSimpleMode #simpleLocationCard #retrySimpleLocation{grid-column:1/-1;min-height:30px!important;margin:1px 0 0!important;padding:4px 7px!important;font-size:11px!important}
 body.aiSimpleMode #photoReviewCard #deleteSelectedPhoto{grid-column:1/-1}
}

/* Camera review visibility: respect JS hidden state and reveal manual address only after GPS timeout */
body.aiSimpleMode #photoReviewCard [hidden]{display:none!important}
body.aiSimpleMode #simpleLocationCard #simpleAddressInput:not([hidden]){display:block!important;grid-column:1/-1;width:100%;min-height:42px;margin-top:3px;padding:10px 12px;border:1px solid #36546a;border-radius:11px;background:#10293b;color:#edf6fb;font-size:14px}
