@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
html body,html body button,html body input,html body select,html body textarea,html body .citizen-profile-link{font-family:Vazirmatn,Tahoma,Arial,sans-serif}
html body{font-size:14px;line-height:1.85}html body h1,html body h2,html body h3,html body h4{letter-spacing:0;font-weight:750}html body button,html body input,html body select{font-size:13px}html body input,html body textarea{line-height:1.9}
html[data-theme] .home-board,html[data-theme] .home-board:has(>.home-poll-banner[hidden]){grid-template-areas:"polls polls" "intro honors" "paths paths" "civic civic"}
html[data-theme] .home-board>.civic-home{grid-area:civic;min-width:0}
.civic-home{--civic-line:#e6dff0;--civic-ink:#30233d;--civic-muted:#70627f;--civic-brand:#70518e;color:var(--civic-ink)}
html[data-theme="modern"] .civic-home{--civic-line:#dbe7e6;--civic-ink:#17393b;--civic-muted:#557071;--civic-brand:#087c76}
.civic-board{display:grid;gap:28px}.civic-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.civic-heading h2{margin:6px 0;font-size:24px}.civic-heading p{margin:0;color:var(--civic-muted)}
.civic-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#fff;border:1px solid var(--civic-line);padding:20px;border-radius:18px}.civic-filters label,.civic-panel-title label{display:grid;gap:6px;font-weight:600;font-size:12px;min-width:0}.civic-filters select,.civic-filters input,.civic-panel-title select{width:100%;min-width:0;border:1px solid var(--civic-line);border-radius:9px;background:#fff;padding:10px;color:inherit}.civic-search{grid-column:span 3}.civic-filters>button{align-self:end;min-height:44px}.civic-scope{font-size:12px;color:var(--civic-muted);margin:-16px 0 0}.civic-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.civic-stats>div{padding:16px 20px;border:1px solid var(--civic-line);background:#fff;border-radius:14px;display:grid;gap:3px}.civic-stats strong{font-size:28px;color:var(--civic-brand)}.civic-stats span{font-size:12px}
.civic-map-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);gap:18px;align-items:start}.civic-map-panel,.civic-map-list-panel,.civic-action-section,.civic-results-section,.civic-org-section{min-width:0;border:1px solid var(--civic-line);border-radius:18px;padding:20px;background:#fff}.civic-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.civic-panel-title h3{margin:0;font-size:17px}.civic-panel-title>span{font-size:10px;color:var(--civic-muted)}.civic-map-panel .map-stage{height:520px;min-height:300px;border-radius:12px;overflow:hidden}.civic-map-key{display:flex;flex-wrap:wrap;gap:16px;font-size:11px;color:var(--civic-muted)}.civic-map-list{max-height:680px;overflow:auto;overscroll-behavior:contain;display:grid;gap:16px;padding:3px}.civic-map-list-panel #civic-selection{font-size:11px;color:var(--civic-muted)}.civic-map-list-item{min-width:0;border-radius:14px;border:2px solid transparent}.civic-map-list-item.is-selected{border-color:var(--civic-brand);background:#faf6ff}.civic-map-list-item .civic-report{height:auto}.civic-focus{font:inherit;font-size:11px;border:0;background:transparent;color:var(--civic-brand);padding:7px 12px;cursor:pointer}.civic-map-list-item .civic-photo{height:130px}.civic-map-list-item .civic-excerpt{display:none}
html body .report-card.civic-report{display:flex;flex-direction:column;min-width:0;width:100%;padding:0;text-align:right;background:#fff;border:1px solid #e6dff0;border-radius:15px;overflow:hidden;box-shadow:none;cursor:default;transition:box-shadow .2s}.civic-report:focus-within{outline:2px solid #9b7eb9;outline-offset:2px}.civic-card-body{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1;min-width:0}.civic-report .civic-photo{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:170px;width:100%;padding:0;border:0;background:linear-gradient(135deg,#f4eff8,#e7e4f0);color:#80738f;cursor:pointer;overflow:hidden;flex-shrink:0}.civic-photo img{width:100%;height:100%;object-fit:cover}.civic-no-photo{font-size:36px}.civic-photo>span:not(.civic-no-photo){font-size:11px}.civic-photo .civic-category{position:absolute;bottom:10px;right:10px;padding:3px 10px;background:#ffffffec;color:#574466;border-radius:6px}.civic-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.civic-card-top small{font-size:10px;color:#756780}.civic-report h3{margin:0;font-size:16px;line-height:1.85}.civic-title{font:inherit;text-align:right;color:inherit;border:0;background:transparent;padding:0;cursor:pointer}.civic-title:hover{text-decoration:underline}.civic-report p.civic-location{font-size:11px;color:#73627f;margin:0}.civic-report p.civic-excerpt{font-size:12px;line-height:1.9;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.civic-card-facts{display:grid;gap:5px;padding:10px 0;margin:0;border-block:1px solid #f0eaf4}.civic-card-facts>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;flex-wrap:wrap}.civic-card-facts dt{color:#81708e}.civic-card-facts dd{margin:0;font-weight:600}.civic-report .civic-reason,.civic-reason{font-size:11px;color:#92551d;background:#fff7e9;border-radius:7px;padding:6px 9px;margin:0}.civic-next{display:grid;gap:3px;font-size:12px;line-height:1.9;padding:10px 12px;background:#f7f3fb;border-radius:9px;margin:0}.civic-next>span{color:#82708f;font-size:10px}.civic-card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:auto}.civic-card-actions>button{font-size:10px;line-height:1.9}.civic-affected{font:inherit;font-size:11px;padding:7px 9px;border:1px solid #dfd2eb;border-radius:8px;background:#fff;color:#75528f;cursor:pointer}.civic-affected[aria-pressed="true"]{background:#eee5f8;border-color:#9a7bb5}.civic-affected:disabled{opacity:.6;cursor:wait}
.civic-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}.civic-tabs button{border:1px solid var(--civic-line);background:#fff;border-radius:20px;color:var(--civic-muted);padding:8px 12px;cursor:pointer}.civic-tabs button[aria-pressed="true"]{background:var(--civic-brand);border-color:var(--civic-brand);color:#fff}.civic-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.civic-empty{padding:24px;background:#faf8fc;border:1px dashed #d9cce5;border-radius:12px;color:#786386;grid-column:1/-1}.civic-method{font-size:11px;color:var(--civic-muted);margin-top:16px;line-height:2}.civic-method summary{cursor:pointer;font-weight:600}.civic-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.civic-result{border:1px solid var(--civic-line);border-radius:12px;padding:14px;min-width:0}.civic-result h4{margin:12px 0}.civic-result>p{font-size:10px;color:var(--civic-muted)}.civic-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.civic-photo-pair figure{margin:0;min-width:0}.civic-photo-pair figcaption{font-size:11px;font-weight:700;padding:5px 0}.civic-photo-pair img{width:100%;height:150px;object-fit:cover;border-radius:8px}.civic-photo-pair small{font-size:9px;color:#81708e;display:block}.civic-photo-empty{height:150px;display:grid;place-items:center;text-align:center;padding:10px;background:#f4f0f8;border-radius:8px;font-size:11px;color:#8a7696}.civic-table-scroll{overflow:auto}.civic-org-table{border-collapse:collapse;min-width:680px;width:100%;text-align:right;font-size:12px}.civic-org-table caption{text-align:right;font-size:11px;color:var(--civic-muted);padding:10px 0}.civic-org-table th,.civic-org-table td{padding:14px 10px;border-bottom:1px solid var(--civic-line)}.civic-org-table thead{background:#f8f5fb;font-size:11px}.civic-org-table small{display:block;font-size:10px;font-weight:400;color:var(--civic-muted)}.civic-org-section>p{font-size:11px;color:var(--civic-muted)}
.civic-case-progress{padding:16px;background:#faf8fd;border:1px solid #e7dfee;border-radius:14px;margin:14px 0}.civic-case-progress h3{font-size:16px;margin:0 0 16px}.civic-case-progress>p{font-size:11px}.civic-stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:0 0 18px;gap:8px}.civic-stepper li{display:grid;gap:5px;align-content:start;text-align:center;padding:10px 4px;background:#fff;border:1px solid #e6dfeb;border-radius:8px}.civic-stepper li>span{font-size:20px;color:#9e90a7}.civic-stepper li.is-recorded{border-color:#91b9a2}.civic-stepper li.is-recorded>span{color:#228052}.civic-stepper strong{font-size:11px}.civic-stepper small{font-size:9px;color:#85738f}.civic-evidence-gallery{display:flex;flex-wrap:wrap;gap:10px}.civic-evidence-gallery img{width:100px;height:80px;object-fit:cover;border-radius:8px}.timeline time{display:block;font-size:11px;color:#826c91}.civic-case-progress+.badge{margin-top:12px}.civic-home button:focus-visible,.civic-home a:focus-visible{outline:3px solid #9b7eb9;outline-offset:3px}.civic-org-table .text-button{text-align:right}
@media(max-width:1100px){.civic-map-layout{grid-template-columns:minmax(0,1fr)}.civic-map-list{max-height:500px;grid-template-columns:repeat(2,minmax(0,1fr))}.civic-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){html[data-theme] .home-board,html[data-theme] .home-board:has(>.home-poll-banner[hidden]){grid-template-columns:minmax(0,1fr);grid-template-areas:"polls" "intro" "honors" "paths" "civic"}}
@media(max-width:650px){.civic-heading h2{font-size:20px}.civic-board{gap:20px}.civic-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.civic-search{grid-column:1/-1}.civic-filters>button{grid-column:1/-1}.civic-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.civic-stats>div{padding:12px}.civic-stats strong{font-size:24px}.civic-map-panel,.civic-map-list-panel,.civic-action-section,.civic-results-section,.civic-org-section{padding:14px}.civic-map-panel .map-stage{height:330px}.civic-map-list,.civic-card-grid,.civic-results{grid-template-columns:minmax(0,1fr)}.civic-map-list{max-height:560px}.civic-stepper{grid-template-columns:repeat(3,minmax(0,1fr))}.civic-photo-pair img,.civic-photo-empty{height:120px}.civic-org-table{font-size:11px}}
@media(prefers-reduced-motion:reduce){.civic-report{transition:none}}

.recovery-panel{width:100%;max-width:620px;box-sizing:border-box;margin:24px auto}.recovery-panel h1{font-size:24px;line-height:1.9}.recovery-panel>p{font-size:13px;line-height:2}.recovery-panel .text-button{display:inline-block;margin-top:16px}.recovery-panel [role=status],.recovery-panel [role=alert]{font-size:12px;line-height:2}.recovery-panel input{width:100%;box-sizing:border-box}.recovery-panel .primary:disabled{opacity:.55;cursor:not-allowed}@media(max-width:650px){.recovery-panel{padding:18px;margin:12px 0}.recovery-panel h1{font-size:21px}}

.directory-search{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.directory-search label{display:grid;gap:6px;flex:1;min-width:180px;font-size:12px}.directory-accounts{display:grid;gap:10px;max-height:420px;overflow:auto;margin:14px 0}.directory-account{display:flex;align-items:center;gap:12px;text-align:right;width:100%;padding:14px;border:1px solid #e3d8ed;border-radius:12px;background:#fff;color:#5c466f;cursor:pointer}.directory-account>span:nth-child(2){display:grid;gap:4px;min-width:0}.directory-account strong{font-size:14px}.directory-account small{font-size:10px;color:#9a88a5}.directory-account bdi,.conversation-peer-id{font:11px/1.8 Vazirmatn,monospace;overflow-wrap:anywhere}.directory-account:hover{background:#faf6ff;border-color:#a284b9}.directory-account:focus-visible{outline:3px solid #a284b9;outline-offset:2px}.directory-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#efe5f9;flex-shrink:0}.directory-select{margin-inline-start:auto;white-space:nowrap;font-size:11px}.directory-status{font-size:12px}.directory-notice{font-size:11px}.conversation-row .conversation-peer-id{display:block;font-size:10px;color:#82708d}.conversation-row{overflow-wrap:anywhere}#pick-message-recipient{margin-bottom:8px}#message-selected-account{overflow-wrap:anywhere}@media(max-width:600px){.directory-account{padding:10px;gap:8px}.directory-account bdi{font-size:9px}.directory-select{font-size:10px}.directory-search button{width:100%}}

@media(max-width:760px){html body .topbar{height:auto;min-height:0}}

/* Keep home map controls anchored to the map at every viewport size. */
.civic-map-frame{position:relative;isolation:isolate;min-width:0;border-radius:12px;overflow:hidden}.civic-map-frame>.map-controls{top:12px;left:12px;right:auto;max-width:calc(100% - 24px);z-index:4}.civic-map-frame>.map-controls .secondary{min-width:44px;min-height:44px}.civic-map-frame>.map-controls .secondary:hover{transform:none}
