/* AC view (views/ac.js): one assembly constituency. Sits on the leader Home's .lx.hm background and cards. */
.acv { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 40px; }
.ac-no { font-weight: 500; color: var(--text-3); font-size: .6em; margin-left: 6px; }
.acv .ac-p { color: var(--pos-ink); font-weight: 600; }
.acv .ac-n { color: var(--neg-ink); font-weight: 600; }
.acv small { color: var(--text-3); }

/* tabs */
.ac-tabs { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; padding: 8px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--border); }
.ac-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 11px; border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s; }
.ac-tabs button:hover { background: var(--surface-2); color: var(--text); }
.ac-tabs button.on { background: var(--primary); color: var(--on-primary); }
.ac-tabs button b { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 30%, transparent); color: inherit; }
#ac-pane { display: flex; flex-direction: column; gap: 16px; animation: acRise .28s ease both; }
@keyframes acRise { from { opacity: 0; transform: translateY(6px); } }

/* card heads */
.ac-h { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.ac-h > div { flex: 1; min-width: 0; }
.ac-h h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ac-h p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
.ac-h-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-ink); flex: none; }
.ac-l { display: block; margin: 14px 0 6px; font-size: 12px; color: var(--text-3); }

/* hero */
.ac-hero { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(320px, 1.25fr) minmax(340px, 1.5fr); gap: 22px; align-items: start; }
.ac-id h2 { margin: 8px 0 2px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.ac-id h2 span { font-size: .6em; font-weight: 500; color: var(--text-3); margin-left: 4px; }
.ac-id > p { margin: 0 0 12px; font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
.ac-badge { display: inline-grid; place-items: center; min-width: 46px; height: 28px; padding: 0 10px; border-radius: 9px; background: var(--primary); color: var(--on-primary); font: 600 13px/1 var(--mono, ui-monospace, monospace); }
.ac-mla { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.ac-mla span { display: flex; flex-direction: column; min-width: 0; }
.ac-mla b { font-size: 14px; }
.ac-mla small { font-size: 11.5px; line-height: 1.35; }
.ac-res { display: flex; flex-direction: column; gap: 6px; }
.ac-res > div { display: grid; grid-template-columns: 1fr; gap: 2px; position: relative; font-size: 12px; }
.ac-res > div span { color: var(--text-2); }
.ac-res > div i { display: block; height: 8px; border-radius: 4px; }
.ac-res > div b { position: absolute; right: 0; top: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.ac-head { margin: 0 0 14px; font-size: 17px; line-height: 1.5; font-weight: 500; letter-spacing: -.005em; color: var(--text); }
.ac-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.ac-kpi { display: flex; flex-direction: column; gap: 2px; padding: 10px; min-width: 0; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.ac-kpi span { color: var(--accent-ink); }
.ac-kpi b { font-size: 24px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ac-kpi small { font-size: 11.5px; line-height: 1.3; }
.ac-kpi.n b { color: var(--neg-ink); }
.ac-moods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ac-moods.one { grid-template-columns: 1fr; }
.ac-moods small { display: block; margin-bottom: 5px; font-size: 12px; }
.ac-moods p { margin: 6px 0 0; font-size: 12.5px; }
.ac-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ac-ichip { width: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: inherit; font-size: 12px; cursor: pointer; }
.ac-ichip:hover { border-color: var(--accent); color: var(--text); }
.ac-ichip b { font-variant-numeric: tabular-nums; color: var(--text); }
.ac-trend { font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: var(--surface-2); color: var(--text-3); white-space: nowrap; }
.ac-trend.rising { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-ink); }
.ac-trend.fading { background: var(--surface-2); color: var(--text-3); }

/* map */
.ac-map { display: flex; flex-direction: column; gap: 8px; }
.ac-map svg { width: 100%; aspect-ratio: 1.15; border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, var(--surface-2)), var(--surface-2)); border: 1px solid var(--border); }
.ac-map path { fill: color-mix(in srgb, var(--text) 5%, transparent); stroke: var(--border-strong, var(--border)); stroke-width: 1; }
.ac-map path.home { fill: color-mix(in srgb, var(--accent) 20%, transparent); stroke: var(--accent); stroke-width: 1.5; }
.ac-pin { cursor: pointer; outline: none; }
.ac-pin circle { opacity: .82; stroke: var(--surface); stroke-width: .12px; transition: opacity .15s; }
.ac-pin:hover circle, .ac-pin.on circle { opacity: 1; stroke: var(--text); }
.ac-pin text { fill: var(--text); text-anchor: middle; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: .5px; pointer-events: none; }
.ac-pin.near text { fill: var(--text-3); font-weight: 400; }
.ac-map-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--text-3); }
.ac-map-key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.ac-map-key .k-p { background: var(--accent); border-radius: 2px; } .ac-map-key .k-c { background: color-mix(in srgb, var(--text) 30%, transparent); border-radius: 2px; } .ac-map-key .k-n { background: var(--primary); border-radius: 2px; }
.ac-place { padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.ac-place header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.ac-place header span { color: var(--text-3); font-size: 12.5px; }
.ac-place header small { width: 100%; font-size: 11.5px; }
.ac-place-k { display: flex; gap: 14px; font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.ac-place-k b { color: var(--text); font-size: 15px; font-weight: 500; }
.ac-place p { margin: 6px 0 0; }
.ac-place-top { font-size: 12.5px; color: var(--text-2); line-height: 1.45; }

/* day by day */
.ac-days { width: 100%; height: 150px; display: block; }
.ac-days rect.p { fill: var(--accent); } .ac-days rect.c { fill: color-mix(in srgb, var(--text) 30%, transparent); } .ac-days rect.n { fill: var(--primary); }
.ac-days text { font-size: 9px; fill: var(--text-3); text-anchor: middle; }

/* two lanes */
.ac-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ac-two.wide { grid-template-columns: 1.6fr 1fr; }
.ac-lane.p { border-top: 3px solid var(--pos); }
.ac-lane.n { border-top: 3px solid var(--neg); }
.ac-rank { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin-bottom: 12px; }
.ac-rank > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 12.5px; font-weight: 600; margin-top: 10px; }

/* post card: 4:5 picture, the point it makes, numbers, reply mood */
.ac-post { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; }
.ac-rank .ac-post { margin-bottom: 0; }
.ac-post.p { background: color-mix(in srgb, var(--pos) 9%, var(--surface)); }
.ac-post.n { background: color-mix(in srgb, var(--neg) 9%, var(--surface)); }
.ac-pic { position: relative; display: block; width: 96px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.ac-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-pic i { position: absolute; left: 6px; bottom: 6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(6px); }
.ac-pic-v { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ac-pic-v b { font-size: 26px; font-weight: 300; }
.ac-post-b { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ac-post-b header { display: flex; flex-direction: column; }
.ac-post-b header b { font-size: 13.5px; overflow-wrap: anywhere; }
.ac-post-b header small { font-size: 11.5px; }
.ac-post-b > p { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 500; }
.ac-post-b q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--text-3); line-height: 1.45; quotes: none; }
.ac-post-k { display: flex; gap: 12px; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ac-post-k span { display: inline-flex; align-items: center; gap: 4px; }
.ac-post-m small { display: block; margin-top: 3px; font-size: 11.5px; }
.ac-post footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; }
.ac-post footer a { display: inline-flex; align-items: center; gap: 3px; color: var(--text-2); }
.ac-chip { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.ac-chip[style] { border-color: var(--c); }
.ac-kind { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.ac-kind.act { background: var(--primary); color: var(--on-primary); }
.ac-kind.answer { background: color-mix(in srgb, var(--accent) 26%, transparent); color: var(--accent-ink); }
.ac-qs { display: grid; gap: 8px; }
.ac-q { margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--border); }
.ac-q.p { border-left-color: var(--pos); } .ac-q.n { border-left-color: var(--neg); }
.ac-q p { margin: 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.ac-q small { font-size: 11px; }

/* issue, scheme and campaign cards */
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.ac-topic { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.ac-topic.quiet { opacity: .62; }
.ac-topic header { display: flex; align-items: center; gap: 8px; }
.ac-topic header > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--surface-2); color: var(--accent-ink); flex: none; }
.ac-topic header b { flex: 1; font-size: 14.5px; }
.ac-topic-k { display: flex; align-items: flex-end; gap: 14px; font-size: 11.5px; color: var(--text-3); }
.ac-topic-k b { display: block; font-size: 20px; font-weight: 300; color: var(--text); font-variant-numeric: tabular-nums; }
.ac-topic-k svg { margin-left: auto; }
.ac-topic-m { display: grid; grid-template-columns: 64px 1fr; gap: 5px 8px; align-items: center; }
.ac-acting { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text); font-weight: 500; }
.ac-ev { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.ac-quiet { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-quiet span { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; border: 1px dashed var(--border); font-size: 12.5px; }

/* opposition */
.ac-alleg { display: grid; gap: 10px; }
.ac-alleg > div { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--neg) 9%, var(--surface)); border: 1px solid var(--border); }
.ac-alleg p { margin: 0 0 4px; font-size: 13.5px; font-weight: 500; line-height: 1.45; }
.ac-alleg small { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 11.5px; }

/* leaders */
.ac-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ac-leader { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--c); }
.ac-leader header { display: flex; align-items: center; gap: 10px; }
.ac-leader header span { display: flex; flex-direction: column; }
.ac-leader header small { font-size: 11.5px; }
.ac-leader-n { position: relative; display: flex; align-items: baseline; gap: 6px; padding-bottom: 8px; }
.ac-leader-n b { font-size: 26px; font-weight: 300; font-variant-numeric: tabular-nums; }
.ac-leader-n i { position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 2px; background: var(--c); }
.ac-leader p { margin: 0; }
.ac-claim { font-size: 12.5px; line-height: 1.45; padding-left: 9px; border-left: 3px solid var(--border); }
.ac-claim.p { border-left-color: var(--pos); } .ac-claim.n { border-left-color: var(--neg); }

/* social media */
.ac-donut { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.ac-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ac-tbl th { text-align: left; font-weight: 500; color: var(--text-3); padding: 6px 8px; border-bottom: 1px solid var(--border); }
.ac-tbl td { padding: 8px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; vertical-align: middle; }
.ac-tbl td i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; }
.ac-tbl td small { display: block; margin-top: 2px; font-size: 11px; }
.ac-plats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-plat { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.ac-plat b { font-size: 24px; font-weight: 300; font-variant-numeric: tabular-nums; }
.ac-plat span { font-size: 12px; color: var(--text-2); }
.ac-accs { display: grid; gap: 7px; }
.ac-accs > div { display: grid; grid-template-columns: minmax(180px, 1.1fr) 2fr auto; gap: 10px; align-items: center; font-size: 12.5px; }
.ac-accs span { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
.ac-accs span b { overflow-wrap: anywhere; }
.ac-accs span small { width: 100%; font-size: 11px; }
.ac-accs i { display: block; height: 9px; border-radius: 5px; }
.ac-accs em { font-style: normal; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* news */
.ac-newsk { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12.5px; color: var(--text-2); }
.ac-newsk span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); }
.ac-newsk span.p { background: color-mix(in srgb, var(--pos) 28%, transparent); color: var(--pos-ink); }
.ac-newsk span.n { background: color-mix(in srgb, var(--neg) 28%, transparent); color: var(--neg-ink); }
.ac-stories { display: grid; gap: 8px; }
.ac-story { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); border-left: 3px solid var(--border); background: var(--surface); color: inherit; text-decoration: none; }
.ac-story:hover { border-color: var(--accent); }
.ac-story.p { border-left-color: var(--pos); } .ac-story.n { border-left-color: var(--neg); }
.ac-story b { font-size: 13.5px; font-weight: 500; line-height: 1.4; }

.ac-about summary { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--text-2); }
.ac-about ul { margin: 10px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }

@media (max-width: 1250px) { .ac-hero { grid-template-columns: 1fr 1fr; } .ac-hero .ac-map { grid-column: 1 / -1; } .ac-hero .ac-map svg { aspect-ratio: 2; } }
@media (max-width: 860px) { .acv { padding: 12px 16px 32px; } .ac-hero, .ac-two, .ac-two.wide, .ac-moods, .ac-plats { grid-template-columns: 1fr; } .ac-grid, .ac-leaders { grid-template-columns: 1fr; } .ac-accs > div { grid-template-columns: 1fr; gap: 3px; } .ac-tbl { display: block; overflow-x: auto; } }
@media (prefers-reduced-motion: reduce) { #ac-pane { animation: none; } }

/* profiles */
.ac-profs { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.ac-prof { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.ac-prof.local { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.ac-prof header { display: flex; align-items: center; gap: 8px; }
.ac-prof header span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ac-prof header b { font-size: 13.5px; overflow-wrap: anywhere; }
.ac-prof header small { font-size: 11.5px; }
.ac-prof-k { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--text-3); }
.ac-prof-k b { color: var(--text); font-weight: 500; font-size: 13px; }
.ac-prof p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.ac-prof .btn { align-self: flex-start; }
.ac-st { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: var(--surface-2); color: var(--text-3); }
.ac-st.ok { background: color-mix(in srgb, var(--pos) 30%, transparent); color: var(--pos-ink); }
.ac-st.wait { background: color-mix(in srgb, var(--accent) 26%, transparent); color: var(--accent-ink); }
.ac-want { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ac-want > div { display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; padding: 12px; border-radius: 14px; border: 1px dashed var(--border); }
.ac-want > div span { grid-row: span 3; color: var(--accent-ink); padding-top: 2px; }
.ac-want b { font-size: 13.5px; } .ac-want small { font-size: 12px; line-height: 1.4; } .ac-want em { font-style: normal; font-size: 11px; color: var(--text-3); }
/* places */
.ac-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ac-pl { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; }
.ac-pl.on, .ac-pl:hover { border-color: var(--accent); }
.ac-pl header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ac-pl header span { color: var(--text-3); font-size: 12px; } .ac-pl header small { font-size: 11px; }
.ac-pl header em { margin-left: auto; font-style: normal; font-size: 20px; font-weight: 300; font-variant-numeric: tabular-nums; }
.ac-pl-bar { display: block; height: 4px; border-radius: 2px; background: var(--surface-2); } .ac-pl-bar u { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.ac-pl p { margin: 0; }
/* hashtags, mood move */
.ac-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.ac-tags span { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-weight: 500; }
.ac-tags span.p { background: color-mix(in srgb, var(--pos) 26%, transparent); color: var(--pos-ink); } .ac-tags span.n { background: color-mix(in srgb, var(--neg) 26%, transparent); color: var(--neg-ink); }
.ac-tags small { font-size: .7em; opacity: .75; }
.ac-move { font-size: 12px; font-weight: 600; } .ac-move.up { color: var(--pos-ink); } .ac-move.down { color: var(--neg-ink); } .ac-move small { font-weight: 400; }
/* print the open tab */
@media print { body.ac-printing .rail, body.ac-printing .sidebar, body.ac-printing .page-h .actions, body.ac-printing .ac-tabs, body.ac-printing .period-bar, body.ac-printing .nt-btn, body.ac-printing .ac-about { display: none !important; } body.ac-printing .acv { padding: 0; } body.ac-printing .ac-post, body.ac-printing .ac-topic, body.ac-printing .ac-prof, body.ac-printing .ac-leader { break-inside: avoid; } @page { size: A4 landscape; margin: 10mm; } }
.ac-prof header > span:first-child { flex: none; display: inline-flex; min-width: auto; }

/* the brain: what changed, confirm queue, forms, matrix */
.ac-chs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ac-ch { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--border); }
.ac-ch > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--surface); color: var(--accent-ink); }
.ac-ch p { margin: 0; font-size: 13.5px; line-height: 1.5; align-self: center; }
.ac-ch.spike, .ac-ch.issue, .ac-ch.place { border-left-color: var(--accent); }
.ac-ch.for, .ac-ch.up { border-left-color: var(--pos); } .ac-ch.against, .ac-ch.down { border-left-color: var(--neg); }
.ac-prof-a { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ac-prof-a select, .ac-form select { height: 30px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 12.5px; max-width: 100%; }
.ac-form textarea, .ac-form input { width: 100%; margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; resize: vertical; }
.ac-map path.ac-out { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ac-map .ac-dot { fill: var(--accent); opacity: .75; cursor: pointer; }

.ac-written { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); }
.ac-written small { display: block; margin-bottom: 6px; color: var(--accent-ink); font-weight: 600; }
.ac-written p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; }
