/* cssplit1 (04-11-2026, Mortimer: velocidad en el móvil): the rules of basc.css that only vote.html, vote_detail.html use, moved here
   in their original order and loaded only there, right after basc.css (app.CSS_AREAS / CSS_PAGE_SPLITS). Edit them here. */
/* ---------- The DAO votes (governance.py, 17-10-2026) ---------- */
.vote-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.prop-list { display: grid; gap: 12px; }
.prop-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.prop-title { overflow-wrap: anywhere; }
.prop-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 28px; align-items: start; }
.prop-text { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
@media (max-width: 960px) { .prop-detail { grid-template-columns: 1fr; } .vote-how { grid-template-columns: 1fr; }
}

/* How it works */
.vote-how { grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin: 34px 0; }
.vh-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; margin-bottom: 4px; }
.vh-ico--1 { color: #facc15; background: rgba(250,204,21,0.12); border: 1px solid rgba(250,204,21,0.35); box-shadow: 0 0 22px rgba(250,204,21,0.18); }
.vh-ico--2 { color: #67e8f9; background: rgba(0,221,235,0.12); border: 1px solid rgba(0,221,235,0.35); box-shadow: 0 0 22px rgba(0,221,235,0.16); }
.vh-ico--3 { color: #86efac; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); box-shadow: 0 0 22px rgba(34,197,94,0.16); }
.pw-thumb { width: 32px; height: 32px; border-radius: 9px; overflow: hidden; background: #120a24; border: 1px solid var(--line-strong); }
.pw-name { font-size: 0.88rem; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-meter { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.pw-x { font-weight: 900; color: #facc15; font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: right; }

/* Proposal cards */
.prop-list { gap: 14px; }
.prop-card { position: relative; isolation: isolate; gap: 10px; padding: 22px 24px; color: inherit; text-decoration: none;
    background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)), var(--panel); box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.prop-when { font-size: 0.8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.prop-excerpt { margin: 0; font-size: 0.92rem; color: #b8c2d6; line-height: 1.55; }
.prop-mini { display: grid; gap: 8px; }
.prop-mini-bar { display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,0.06); }
.prop-mini-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: #cdd5e3; }
.prop-sealed { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 0.84rem; color: var(--muted); }
.prop-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 2px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 0.84rem; color: var(--muted); }
.prop-yours { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 700; color: #fdba74; background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.4); }
.prop-go { margin-left: auto; font-weight: 800; color: #fff; }
.prop-card.is-open:not(.is-voted) .prop-go { padding: 7px 14px; border-radius: 999px; color: #04130a; background: linear-gradient(135deg, #4ade80, #22d3ee); box-shadow: 0 8px 22px rgba(34,197,94,0.35); }

/* Proposal page */
.prop-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.prop-main { display: grid; gap: 18px; min-width: 0; }
.prop-text { padding: 26px 28px; background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)), var(--panel); }
.prop-dates { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px !important; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 0.84rem !important; color: var(--muted) !important; }
.prop-weights { display: grid; gap: 12px; padding: 20px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.prop-weights-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.prop-weights-note { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 960px) {
    .vote-how { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .prop-card { padding: 18px; }
    .prop-go { margin-left: 0; }
    .prop-text { padding: 20px; }
}
/* daoflow1 (05-11-2026): a vote born on the ideas board says so, on its card of /vote and on its own page */
.prop-born { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 99px; font-size: 0.76rem; font-weight: 800;
    color: #fde68a; background: rgba(250,204,21,0.1); border: 1px solid rgba(250,204,21,0.28); }
.prop-born svg { width: 14px; height: 14px; fill: none; stroke: #facc15; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prop-origin { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 16px; padding: 16px 20px;
    border-radius: var(--radius); color: inherit; text-decoration: none; background: linear-gradient(120deg, rgba(250,204,21,0.12), rgba(250,204,21,0.03)), var(--panel);
    border: 1px solid rgba(250,204,21,0.32); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.prop-origin:hover, .prop-origin:focus-visible { transform: translateY(-2px); border-color: rgba(250,204,21,0.6); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.prop-origin-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(250,204,21,0.15); }
.prop-origin-ico svg { width: 22px; height: 22px; fill: none; stroke: #facc15; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prop-origin-body { display: grid; gap: 3px; min-width: 0; }
.prop-origin-body small { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #fde68a; }
.prop-origin-body b { font-size: 1.02rem; color: #fff; overflow-wrap: anywhere; }
.prop-origin-by { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--muted); }
.prop-origin-by img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.prop-origin-go { font-weight: 800; color: #fde68a; white-space: nowrap; }
@media (max-width: 640px) {
    .prop-origin { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; }
    .prop-origin-go { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .prop-origin { transition: none; } .prop-origin:hover { transform: none; } }
