/* Ask your MP to join (ask-mp.js): the block on a not-joined MP's page, the action on a directory row, the line
   on a joined office's page and the owner's list. Tokens only, so the dark theme follows; one column from 320px. */
.ask-mp{display:grid;gap:10px;margin:18px 0;padding:14px;border-radius:14px;border:1px solid var(--line);background:var(--theme-surface,#fff);color:var(--ink);min-width:0;scroll-margin-top:96px}
.ask-mp:empty{display:none}
.ask-mp h2{font-size:1.15rem;margin:0;overflow-wrap:anywhere}
.ask-mp p{margin:0;line-height:1.5;overflow-wrap:anywhere}
.ask-lede{color:var(--ink);max-width:70ch}
.ask-count{font-weight:700;font-size:1.02rem;color:var(--theme-accent,#087f75)}
.ask-body{display:grid;gap:10px;min-width:0}
.ask-go,.ask-back{justify-self:start;min-height:44px;max-width:100%;white-space:normal;text-align:left}
.ask-done{font-weight:650;padding:10px 12px;border-radius:10px;background:var(--theme-tint,#e0f4ee);color:var(--ink)}
.ask-note{color:var(--ink)}
.ask-small{font-size:.86rem;color:var(--muted)}
.ask-error{padding:10px 12px;border-radius:10px;background:var(--danger-bg,#fdecea);color:var(--danger,#9b1c1c)}
.ask-form{display:grid;gap:8px;min-width:0}
.ask-form label{font-weight:650;font-size:.9rem;overflow-wrap:anywhere}
.ask-form input{width:100%;min-width:0;min-height:44px;box-sizing:border-box;font:inherit;font-size:1rem;color:var(--ink)}
.ask-form input[name="otp"]{max-width:12ch;letter-spacing:.2em;font-variant-numeric:tabular-nums}
.ask-form small{font-size:.84rem;line-height:1.45;color:var(--muted)}
.ask-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ask-actions .button{min-height:44px}
.ask-actions .text-link{min-height:44px;padding:0 4px;background:none;border:0;color:var(--theme-accent,#087f75);font:inherit;text-decoration:underline;cursor:pointer}
.ask-office{font-size:.86rem;border-top:1px solid var(--line);padding-top:10px}
.ask-office a{color:var(--muted);text-decoration:underline}
.ask-office a:hover,.ask-office a:focus-visible{color:var(--theme-accent,#087f75)}
.ask-joined{margin:0;font-weight:650;color:var(--ink)}
.ask-row{justify-self:start;display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:36px;padding:4px 10px;border-radius:999px;border:1px solid var(--theme-accent,#087f75);background:transparent;color:var(--theme-accent,#087f75);font:inherit;font-size:.8rem;font-weight:650;cursor:pointer;max-width:100%;text-align:left}
.ask-row span{font-weight:500;color:var(--ink)}
.ask-row:hover,.ask-row:focus-visible{background:var(--theme-tint,#e0f4ee)}
.ask-mp :focus-visible,.ask-row:focus-visible,.ask-admin :focus-visible{outline:2px solid var(--theme-accent,#087f75);outline-offset:3px}
.ask-admin{min-width:0}
.ask-admin h1{font-size:clamp(1.4rem,5vw,2rem);margin:4px 0 8px;overflow-wrap:anywhere}
.ask-admin header p{margin:0 0 6px;max-width:75ch}
.ask-admin-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.ask-admin-row{display:grid;gap:8px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--theme-surface,#fff);min-width:0}
.ask-admin-who{display:grid;gap:2px;min-width:0}
.ask-admin-who a{color:var(--ink);overflow-wrap:anywhere}
.ask-admin-who span{font-size:.84rem;color:var(--muted);overflow-wrap:anywhere}
.ask-admin-who .ask-admin-flag{justify-self:start;padding:2px 8px;border-radius:999px;background:var(--theme-soft,#eef3f0);color:var(--ink);font-size:.76rem}
.ask-admin-row dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.ask-admin-row dt{font-size:.76rem;color:var(--muted)}
.ask-admin-row dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
.ask-admin-count{font-size:1.2rem;color:var(--theme-accent,#087f75)}
.ask-registration-note{margin:0 0 14px;padding:12px 14px;border-radius:12px;border-left:3px solid var(--theme-accent,#087f75);background:var(--theme-soft,#eef3f0);color:var(--ink);line-height:1.5;overflow-wrap:anywhere}
.ask-review{display:grid;gap:4px;margin:10px 0;padding:10px 12px;border-radius:10px;background:var(--theme-soft,#eef3f0);color:var(--ink);min-width:0}
.ask-review p{margin:0;overflow-wrap:anywhere;line-height:1.45}
@media (min-width:640px){
  .ask-mp{padding:18px}
  .ask-admin-row{grid-template-columns:minmax(0,1.4fr) minmax(0,2fr);align-items:center}
}
