/* Production-only additive states. Do not alter site-wide CSS. */
.radar-waiting-box{padding:22px 18px;margin:15px 0;border:1px solid #bca176;border-right:4px solid #c6a066;border-radius:15px;color:#173749;background:linear-gradient(135deg,#f6e9d2,#e8d1ad);line-height:1.9;font-size:15px;font-weight:800}
.radar-waiting-content{padding:25px;background:linear-gradient(145deg,#f5e6ca,#ebd3ad);color:#123248;text-align:center;line-height:1.9;font-size:16px}
.radar-waiting-content .report-submit-btn{margin-top:18px;min-height:44px;background:#102f42;color:#f4ddb0;border:1px solid #b6965f;border-radius:12px;padding:9px 35px;cursor:pointer;font-weight:800}
.report-dialog-unavailable{height:auto!important;max-width:540px}
.waiting-report-caption{font-size:13px;color:#354d5c;line-height:1.8}
.service-card .community-snapshot{background:linear-gradient(130deg,#ead7b9,#f4e3c7)}
.report-mini-btn{cursor:pointer}

/* Logo matches the official header asset across LegalPlus. */
.header .brand-icon{border:0;background:transparent;box-shadow:none;overflow:visible}
.header .brand-icon img{width:100%;height:100%;object-fit:contain;display:block}

/* V84: real server batch update timestamp; displayed in Iran time. */
.radar-update{direction:rtl;text-align:right;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin:0 0 16px;padding:15px 18px;border:1px solid rgba(211,169,83,.65);border-radius:15px;color:var(--text);background:linear-gradient(115deg,rgba(204,167,90,.19),rgba(204,167,90,.06));box-sizing:border-box}
.radar-update--main{margin:13px 14px 0;padding:18px 22px;border-radius:17px;background:linear-gradient(110deg,rgba(211,170,87,.23),rgba(211,170,87,.07))}
.radar-update-label{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:14px;font-weight:850;line-height:1.7}
.radar-update-label>.ic{width:21px;height:21px;color:var(--gold);flex:none}
.radar-update-freshness{display:inline-flex;border-radius:90px;padding:3px 10px;font-size:12px;font-weight:800;line-height:1.6;color:var(--green);background:rgba(40,151,98,.14);border:1px solid rgba(89,177,138,.48)}
.radar-update--stale .radar-update-freshness,.radar-update--missing .radar-update-freshness{color:var(--yellow);background:rgba(211,170,79,.14);border-color:rgba(224,170,72,.65)}
.radar-update-values{display:flex;align-items:center;flex-wrap:wrap;gap:5px 15px}
.radar-update-time{display:flex;align-items:center;flex-wrap:wrap;gap:5px 13px;line-height:1.7;color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;font-variant-numeric:tabular-nums}
.radar-update-time strong{font-weight:900}.radar-update-date{font-size:19px}.radar-update-clock{font-size:20px;color:var(--gold)}
.radar-update-zone{font-size:12px;font-weight:800;color:var(--muted);white-space:nowrap}
.radar-update-unavailable{font-size:15px;font-weight:800;line-height:1.9}
.radar-update--group .radar-update-date{font-size:17px}.radar-update--group .radar-update-clock{font-size:18px}
html[data-theme="ivory"] .radar-update{background:linear-gradient(115deg,rgba(233,212,176,.78),rgba(249,242,228,.9));border-color:#cda85c}
html[data-theme="ivory"] .radar-update--fresh .radar-update-freshness{color:#16724d;background:#e0f1e5}
html[data-theme="ivory"] .radar-update-clock{color:#835617}
@media(max-width:740px){.radar-update,.radar-update--main{margin:9px 0 15px;padding:13px 14px;border-radius:14px;gap:8px}.radar-update-label{font-size:13px}.radar-update-label>.ic{width:18px;height:18px}.radar-update-values{width:100%;gap:4px 11px}.radar-update-date,.radar-update--group .radar-update-date{font-size:17px}.radar-update-clock,.radar-update--group .radar-update-clock{font-size:18px}.radar-update-zone{font-size:12px}.radar-update-freshness{font-size:11px}}

/* LegalPlus Radar V85: accessible, privacy-first self-reported community form. */
.report-dialog{width:min(620px,calc(100vw - 24px));max-height:min(90vh,900px);overflow:auto;direction:rtl;color:var(--text);background:var(--panel,#091e34);border:1px solid rgba(212,169,85,.6);border-radius:18px;padding:0;box-shadow:0 24px 75px rgba(0,0,0,.48)}
.report-dialog::backdrop{background:rgba(0,10,25,.7);backdrop-filter:blur(5px)}
.radar-report-form{padding:15px 22px 23px;display:grid;gap:15px}
.radar-report-field{display:grid;gap:7px;margin:0;padding:0;border:0;min-width:0}
.radar-report-field>label,.radar-report-field>legend{font-size:15px;font-weight:850;line-height:1.8;color:var(--text)}
.radar-report-field input[type=tel],.radar-report-field select,.radar-report-field textarea{width:100%;min-height:46px;padding:9px 12px;font:inherit;font-size:16px;color:var(--text);background:var(--surface,#102b45);border:1px solid rgba(211,169,83,.35);border-radius:10px;box-sizing:border-box}
.radar-report-field textarea{resize:vertical;min-height:70px}
.radar-report-field input:focus,.radar-report-field select:focus,.radar-report-field textarea:focus{outline:2px solid var(--gold);outline-offset:2px}
.radar-report-field small{font-size:13px;line-height:1.8;color:var(--muted)}
.radar-report-conditions{display:grid;gap:9px}.radar-report-conditions label{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650}
.radar-report-conditions input,.radar-report-consent input{accent-color:#cda65e;width:18px;height:18px;flex:none}
.radar-report-phone-note{border:1px solid rgba(210,165,80,.65);border-radius:13px;background:rgba(211,170,87,.10);padding:13px 15px;line-height:1.95}
.radar-report-phone-note>strong{font-size:16px;color:var(--gold)}.radar-report-phone-note p{font-size:14px;line-height:1.95;margin:5px 0;color:var(--text)}
.radar-report-consent{display:flex;align-items:start;gap:9px;font-size:13px;line-height:1.95;color:var(--muted)}
.radar-report-feedback{padding:12px 14px;border:1px solid rgba(95,184,140,.55);background:rgba(80,145,115,.13);border-radius:11px;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.radar-report-feedback.report-error{border-color:rgba(223,103,98,.65);background:rgba(200,90,83,.14)}
.radar-report-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.radar-report-actions .report-submit-btn{min-height:47px;font:inherit;font-weight:850}.radar-report-actions .report-submit-btn:disabled{opacity:.5;cursor:wait}
.dialog-close-secondary{border:1px solid rgba(210,165,80,.4);background:transparent;color:var(--text);padding:11px 18px;border-radius:10px;font:inherit;cursor:pointer}
html[data-theme="ivory"] .report-dialog{background:#fff9ef;color:#252c35}html[data-theme="ivory"] .radar-report-field input[type=tel],html[data-theme="ivory"] .radar-report-field select,html[data-theme="ivory"] .radar-report-field textarea{background:#fff;color:#252c35}
html[data-theme="ivory"] .radar-report-phone-note>strong{color:#79511e}
@media(max-width:700px){.radar-report-form{padding:13px 15px 20px;gap:12px}.radar-report-phone-note{padding:11px 12px}.radar-report-phone-note p{font-size:13px}.report-dialog{width:calc(100vw - 18px);max-height:92vh}}

/* V86: independent, fully visible option tiles; fixes V85 fieldset/radio overlap. */
#report-dialog {color-scheme:dark;box-sizing:border-box;isolation:isolate}
#report-dialog .radar-report-form{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:0!important;box-sizing:border-box;min-height:0;height:auto!important;
 padding:18px 22px 26px!important
}
#report-dialog .radar-report-form > *{
 position:relative!important;float:none!important;clear:both!important;
 flex:0 0 auto!important;box-sizing:border-box;min-width:0
}
#report-dialog .radar-report-group{display:block!important;width:100%;height:auto!important;min-height:0!important;overflow:visible!important;margin:0 0 23px!important;padding:0!important;border:0!important}
#report-dialog .radar-report-group-title{display:block;font:850 17px/1.8 Vazirmatn,Tahoma,sans-serif;margin:0 0 4px;color:#f8edd6;text-align:right}
#report-dialog .radar-report-group-help{display:block;margin:0 0 12px;color:#a9c1ce;font-size:13px;line-height:1.8}
#report-dialog .radar-report-service-tiles{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;width:100%;height:auto!important;margin:0;padding:0}
#report-dialog .radar-report-status-tiles{display:grid!important;grid-template-columns:minmax(0,1fr);gap:11px!important;width:100%;height:auto!important;margin:0;padding:0}
#report-dialog .radar-choice{
 position:relative!important;display:flex!important;flex-direction:row!important;
 align-items:center!important;justify-content:flex-start!important;gap:11px!important;
 width:100%!important;height:auto!important;min-height:65px!important;
 box-sizing:border-box!important;padding:12px 13px!important;margin:0!important;
 color:#f7f3e9!important;text-align:right!important;cursor:pointer!important;
 border:1px solid #60788c!important;border-radius:13px!important;
 background:#163248!important;box-shadow:0 4px 12px rgba(0,0,0,.13)!important;
 font-family:Vazirmatn,Tahoma,sans-serif!important;line-height:1.6!important;
 overflow:visible!important;transform:none!important
}
#report-dialog .radar-choice input[type=radio]{
 display:block!important;visibility:visible!important;opacity:1!important;
 position:static!important;float:none!important;appearance:auto!important;
 flex:0 0 19px!important;width:19px!important;height:19px!important;
 min-width:19px!important;margin:0!important;padding:0!important;
 accent-color:#e9c17a!important;pointer-events:auto!important
}
#report-dialog .radar-choice-mark{flex:0 0 25px;display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#38546a;color:#f8e4b5;font-size:12px;font-weight:900}
#report-dialog .radar-choice-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0;flex:1 1 auto}
#report-dialog .radar-choice-copy strong{color:inherit!important;font-size:14px!important;font-weight:900!important;line-height:1.7!important}
#report-dialog .radar-choice-copy small{color:#b9cbd4!important;font-size:12px!important;line-height:1.7!important;font-weight:550!important}
#report-dialog .radar-choice:focus-within{outline:3px solid #e6bd72!important;outline-offset:2px}
#report-dialog .radar-service-choice:has(input:checked){border:2px solid #e8c072!important;background:#25445a!important;box-shadow:inset 0 0 0 1px rgba(249,208,134,.2),0 8px 23px rgba(0,0,0,.22)!important}
#report-dialog .radar-service-choice:has(input:checked) .radar-choice-mark{background:#e2bb73;color:#183044}
#report-dialog .radar-report-status-tiles .radar-status-choice{min-height:70px!important;border-width:2px!important}
#report-dialog .radar-choice-state-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;font:bold 22px/1 Arial,sans-serif}
#report-dialog .radar-choice--good{background:#103c36!important;border-color:#338f75!important}
#report-dialog .radar-choice--good .radar-choice-state-icon{background:#246d5a;color:#e1fff4}
#report-dialog .radar-choice--slow{background:#46371e!important;border-color:#b99147!important}
#report-dialog .radar-choice--slow .radar-choice-state-icon{background:#886527;color:#fff4d6}
#report-dialog .radar-choice--off{background:#49272c!important;border-color:#ad626c!important}
#report-dialog .radar-choice--off .radar-choice-state-icon{background:#803d49;color:#ffe6e6}
#report-dialog .radar-choice--good:has(input:checked){border-color:#65e6ad!important;background:#185746!important;box-shadow:0 0 0 2px rgba(72,218,153,.25)!important}
#report-dialog .radar-choice--slow:has(input:checked){border-color:#ffcf6c!important;background:#624923!important;box-shadow:0 0 0 2px rgba(253,201,90,.26)!important}
#report-dialog .radar-choice--off:has(input:checked){border-color:#ff999b!important;background:#652f38!important;box-shadow:0 0 0 2px rgba(255,141,151,.27)!important}
#report-dialog .radar-report-phone-note{display:block!important;clear:both!important;position:relative!important;float:none!important;height:auto!important;min-height:0!important;margin:0 0 20px!important;padding:14px 16px!important;background:rgba(209,166,85,.12)!important;border:1px solid #d6ae69!important;border-radius:13px!important;line-height:1.9!important;overflow:visible!important}
#report-dialog .radar-report-phone-note p{position:static!important;display:block!important;margin:7px 0!important;color:#f6e9cd!important;line-height:1.9!important}
#report-dialog .radar-report-field{display:grid!important;margin:0 0 20px!important}
#report-dialog .radar-report-field input[type=tel]{background:#133247!important;border:1px solid #8296a5!important;color:#f9f2e6!important;font-size:18px!important}
#report-dialog .radar-report-consent{display:flex!important;margin:0 0 18px!important;color:#e2d9c7!important}
#report-dialog .radar-report-actions{display:flex!important;margin-top:5px!important}
#report-dialog .radar-report-feedback{margin:0 0 16px!important}
html[data-theme="ivory"] #report-dialog{color-scheme:light}
html[data-theme="ivory"] #report-dialog .radar-report-group-title{color:#27394a}
html[data-theme="ivory"] #report-dialog .radar-report-group-help{color:#596e7e}
html[data-theme="ivory"] #report-dialog .radar-service-choice{background:#f6ebd4!important;color:#253b4b!important;border-color:#c9b17e!important}
html[data-theme="ivory"] #report-dialog .radar-service-choice .radar-choice-copy small{color:#556b79!important}
html[data-theme="ivory"] #report-dialog .radar-service-choice:has(input:checked){background:#f0d8a3!important;border-color:#aa7830!important}
html[data-theme="ivory"] #report-dialog .radar-choice--good{background:#e1f3e9!important;color:#145e49!important;border-color:#3c9871!important}
html[data-theme="ivory"] #report-dialog .radar-choice--slow{background:#fff1cf!important;color:#78521b!important;border-color:#b98c38!important}
html[data-theme="ivory"] #report-dialog .radar-choice--off{background:#ffe6e6!important;color:#903d4a!important;border-color:#c17b83!important}
html[data-theme="ivory"] #report-dialog .radar-report-status-tiles .radar-choice-copy small{color:inherit!important;opacity:.87}
html[data-theme="ivory"] #report-dialog .radar-choice--good:has(input:checked){background:#bcecd4!important}
html[data-theme="ivory"] #report-dialog .radar-choice--slow:has(input:checked){background:#ffdea2!important}
html[data-theme="ivory"] #report-dialog .radar-choice--off:has(input:checked){background:#ffd0d2!important}
html[data-theme="ivory"] #report-dialog .radar-report-phone-note{background:#f6e6c1!important}
html[data-theme="ivory"] #report-dialog .radar-report-phone-note p{color:#4b3e2d!important}
html[data-theme="ivory"] #report-dialog .radar-report-field input[type=tel]{background:#fff!important;color:#243548!important;border-color:#b69a67!important}
@media(max-width:560px){
 #report-dialog .radar-report-form{padding:14px 13px 19px!important}
 #report-dialog .radar-report-service-tiles{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 #report-dialog .radar-choice{min-height:58px!important;padding:10px 12px!important}
 #report-dialog .radar-report-group-title{font-size:16px}
 #report-dialog .radar-choice-copy strong{font-size:14px!important}
 #report-dialog .radar-report-status-tiles .radar-status-choice{min-height:65px!important}
 #report-dialog .radar-report-phone-note{padding:12px!important}
}

/* V91 - owner's approved gold primary action; overrides V90 navy style without layout changes */
#report-dialog .radar-report-actions .report-submit-btn{
  background:linear-gradient(135deg,#ffe9b0 0%,#e9be79 49%,#c89442 100%)!important;
  border:1px solid #f5d38d!important;
  color:#182c3e!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 7px 20px rgba(155,105,34,.22)!important;
  text-shadow:none!important;
  font-weight:900!important;
  min-height:50px!important;
  border-radius:12px!important;
  cursor:pointer!important;
  transition:box-shadow .18s ease,filter .18s ease,transform .18s ease;
}
#report-dialog .radar-report-actions .report-submit-btn:hover:not(:disabled){
  filter:brightness(1.045)!important;
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(160,111,47,.28)!important;
}
#report-dialog .radar-report-actions .report-submit-btn:focus-visible{
  outline:3px solid #ffe0a4!important;outline-offset:3px;
}
#report-dialog .radar-report-actions .report-submit-btn:disabled{
  opacity:.64!important;cursor:wait!important;
}
@media(prefers-reduced-motion:reduce){
 #report-dialog .radar-report-actions .report-submit-btn{transition:none!important;transform:none!important;}
}
