/* Naija Records — CLEAN REBUILD: CITIZEN pour styles (Find · My Area · Join ·
   Motions). Skin tokens only — every colour comes from the app.css token
   set, so both themes pair automatically through the tokens; the few
   literal-ink rules below carry their [data-theme="dark"] pair beside
   them, the houses.css discipline. Loaded AFTER houses.css. */

/* ---------- Find ---------- */
#s-find .fform select{margin-bottom:4px}
#s-find .saveok{background:var(--green-soft);border:1.5px solid var(--green);border-radius:14px;padding:11px 14px;font-size:14.5px;line-height:1.55;color:var(--ink);margin:12px 0}
#s-find .checktext{font-size:13.5px;color:var(--ink-2);line-height:1.65;margin:2px 0}
#askMount:empty{display:none}

/* ---------- polling-unit rows (Find result + My Area) ---------- */
.purow{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 14px;margin:0 0 8px}
.purow .ptx{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.purow .nm{font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.4}
.purow .of{font-size:12.5px;color:var(--ink-2);line-height:1.4}
.srcline{font-size:12.5px;color:var(--ink-2);line-height:1.5;margin:6px 0 0}

/* ---------- My Area ---------- */
.areahd .invh{margin:0 0 4px}
.invh{font-size:19px;color:var(--ink);margin:0 0 6px}
.prow.static{cursor:default}
.faacline{font-size:15.5px;color:var(--ink);line-height:1.6;margin:0}
.cdline{font-size:15px;color:var(--ink);line-height:1.6;margin:0 0 8px}
.cdline b{color:var(--ink)}

/* ---------- Join: the tier table ---------- */
.tiers{display:flex;flex-direction:column;gap:10px;margin:0 0 18px}
.tier{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px 15px;box-shadow:var(--shadow)}
.tierhd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}
.tiern{font-size:16px;font-weight:900;color:var(--ink)}
.tierp{font-size:14.5px;color:var(--ink-2);line-height:1.6;margin:0}

/* ---------- Motions ---------- */
.motop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.mowhere{font-size:13px;font-weight:700;color:var(--ink-2)}
.motitle{font-size:18px;line-height:1.45;color:var(--ink);margin:0 0 10px}
.mofield{font-size:15px;color:var(--ink);line-height:1.65;margin:0 0 9px}
.mofield b{color:var(--ink)}
#s-motions .vote-row{margin:12px 0 4px}
#s-motions .door{margin-top:12px}

/* ---------- Motions: the raising path (gate, search, write, check, kept) ---------- */
.moactbtn{width:100%}
.moflowbtn{width:100%;margin-top:14px}
.moflowdoor{margin-top:14px}
.mosupport{width:100%;margin-top:6px}
.mosupport:disabled{opacity:.85}
.mokept{margin-bottom:4px}
.moform textarea{width:100%;margin-top:6px;font:inherit;font-size:16px;padding:13px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);min-height:52px;resize:vertical}
.moq{margin-top:8px}
.moq .vote-row{margin-top:8px}
.moerr{background:var(--red-bg);border:1.5px solid var(--red);border-radius:14px;padding:11px 14px;font-size:14.5px;line-height:1.55;color:var(--ink);margin:12px 0 0}
.mostep{margin-bottom:10px}
.mostephead{display:flex;align-items:center;gap:10px;margin-bottom:3px}
.mostepn{flex:0 0 auto;width:26px;height:26px;border-radius:999px;background:var(--leg);color:#fff;font-size:13.5px;font-weight:900;display:flex;align-items:center;justify-content:center}
#s-mosearch .record,#s-modone .record{margin-bottom:12px}
#s-mogate .record .kv{padding:7px 0;border-bottom:1px solid var(--line)}
#s-mogate .record .kv:last-child{border-bottom:0}

/* ---------- Alerts centre ---------- */
#s-alerts .record{margin-bottom:12px}
#s-alerts .record .mofield:last-child{margin-bottom:0}
.alrow{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.alrow:first-child{padding-top:2px}
.alrow:last-child{border-bottom:0;padding-bottom:2px}
.altx{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.alt{font-size:15px;font-weight:800;color:var(--ink);line-height:1.4}
.ald{font-size:12.5px;color:var(--ink-2);line-height:1.45}
.alsw{flex:0 0 auto;width:52px;height:30px;border-radius:999px;border:1.5px solid var(--line);background:var(--grey-bg);position:relative;cursor:pointer;padding:0;font:inherit}
.alsw .alknob{position:absolute;top:50%;left:3px;width:22px;height:22px;border-radius:999px;background:var(--surface);box-shadow:0 1px 4px rgba(20,50,35,.25);transform:translate(0,-50%);transition:transform .18s ease}
.alsw.on{background:var(--green);border-color:var(--green)}
.alsw.on .alknob{transform:translate(22px,-50%)}
