.dhv {
    --dhv-sticky-top:24px;
    --dhv-green:#304604; --dhv-olive:#87ab40; --dhv-pale:#f0f7e4;
    --dhv-border:#cad187; --dhv-ink:#253018; --dhv-muted:#59634f;
    --dhv-pink:#ea3f89; --dhv-blush:#fff3f7; --dhv-pink-ink:#b5205b;
    color:var(--dhv-ink); font:16px/1.6 ABeeZee,Lato,sans-serif;
    container-type:inline-size; padding:12px 0 32px; isolation:isolate;
}
.dhv * { box-sizing:border-box; }
.dhv p { font:inherit; }
.dhv :is(.dhv-heading,.dhv-content) p { text-align:left; }
.dhv [hidden] { display:none!important; }
.dhv ::selection { color:var(--dhv-green); background:var(--dhv-border); }
.dhv a { color:var(--dhv-green); text-underline-offset:4px; }
.dhv button,.dhv input { font:inherit; letter-spacing:normal; }
.dhv :is(button,a,input,summary):focus-visible { outline:3px solid var(--dhv-green); outline-offset:4px; }
.dhv-heading { margin-bottom:28px; }
.dhv .dhv-heading h2 { font:700 clamp(36px,4cqi,56px)/1.15 Allura,ABeeZee,Lato,sans-serif; color:var(--dhv-green); margin:0 0 14px; text-wrap:balance; }
.dhv .dhv-campaign-name { font-size:17px; color:var(--dhv-green); margin:0 0 12px; }
.dhv-intro { max-width:none; width:100%; }
.dhv .dhv-intro p { font:inherit; margin:0 0 12px; }
.dhv .dhv-dates { font-size:14px; color:var(--dhv-muted); margin:16px 0 0; }
.dhv[data-mode=ballot] .dhv-heading { margin-bottom:20px; }
.dhv[data-mode=ballot] .dhv-heading h2 { margin-bottom:8px; }
.dhv[data-mode=ballot] .dhv-campaign-name { font-size:15px; margin-bottom:0; }
.dhv[data-mode=ballot] .dhv-dates { margin-top:8px; }
.dhv .dhv-content h3 { color:var(--dhv-green); font:700 32px/1.2 Allura,ABeeZee,Lato,sans-serif; margin:0 0 14px; }
.dhv-selection-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:28px; align-items:start; }
.dhv-reading { min-width:0; }
.dhv-toolbar { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:14px 18px; align-items:center; margin-bottom:20px; }
.dhv-toolbar:empty { display:none; }
.dhv-toolbar>label { font-size:12px; font-weight:400; color:var(--dhv-green); max-width:165px; }
.dhv .dhv-search { display:block; width:100%; height:40px; margin-top:5px; border:1px solid var(--dhv-border); border-radius:8px; background:white; color:var(--dhv-ink); padding:8px 10px; }
.dhv-poems { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.dhv-poem { border:1px solid #dce4d0; border-radius:12px; background:#f5ffe6; min-width:0; transition:background-color .18s ease-out,border-color .18s ease-out; }
.dhv-poem.is-selected { background:var(--dhv-blush); border-color:var(--dhv-pink); }
.dhv .dhv-poem-label { display:grid; grid-template-columns:36px minmax(0,1fr) 22px; gap:13px; align-items:start; padding:20px 18px; min-height:138px; margin:0; cursor:pointer; font-weight:400; color:var(--dhv-ink); }
.dhv-number { display:inline-grid; place-items:center; min-width:36px; height:36px; border-radius:50%; background:#e4edc9; color:var(--dhv-green); font-size:15px; font-weight:700; font-variant-numeric:tabular-nums; padding:0 7px; }
.dhv .dhv-poem-text { font:italic 18px/1.65 ABeeZee,Lato,sans-serif; color:var(--dhv-ink); margin:2px 0 0; }
.dhv-poem-lines { display:block; min-width:0; white-space:normal; }
.dhv-poem-line { display:block; white-space:pre; min-height:1lh; }
.dhv .dhv-poem-label input.dhv-poem-checkbox { appearance:none; -webkit-appearance:none; display:grid; place-items:center; width:22px; height:22px; min-height:0; margin:5px 0 0; padding:0; border:1px solid var(--dhv-border); border-radius:3px; background:white; cursor:pointer; align-self:center; accent-color:var(--dhv-pink); }
.dhv .dhv-poem-checkbox::before { content:""; width:7px; height:12px; border:solid white; border-width:0 2px 2px 0; transform:translateY(-1px) rotate(45deg); opacity:0; }
.dhv .dhv-poem-label input.dhv-poem-checkbox:checked { background:var(--dhv-pink); border-color:var(--dhv-pink); }
.dhv .dhv-poem-checkbox:checked::before { opacity:1; }
.dhv .dhv-button { display:inline-flex; justify-content:center; align-items:center; text-align:center; background:var(--dhv-olive); color:white; border:1px solid transparent; border-radius:8px; padding:13px 19px; min-height:48px; line-height:1.4; font-size:15px; font-weight:700; text-decoration:none; cursor:pointer; transition:background-color .18s ease-out,color .18s ease-out; white-space:normal; }
.dhv .dhv-button:hover { background:var(--dhv-green); color:white; }
.dhv .dhv-button:disabled,.dhv .dhv-button[aria-disabled=true] { background:#788669; color:white; cursor:default; pointer-events:none; }
.dhv .dhv-secondary { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:white; color:var(--dhv-green); border:1px solid var(--dhv-border); border-radius:8px; padding:10px 15px; min-height:44px; cursor:pointer; line-height:1.4; font-size:14px; }
.dhv .dhv-secondary:hover { background:var(--dhv-pale); }
.dhv .dhv-secondary:disabled { color:var(--dhv-muted); opacity:.6; cursor:default; }
.dhv-shortlist,.dhv-voter-panel { position:sticky; top:var(--dhv-sticky-offset,var(--dhv-sticky-top)); max-height:none; overflow:visible; }
.admin-bar .dhv { --dhv-sticky-top:56px; }
.dhv-shortlist { border-radius:14px; background:var(--dhv-pale); padding:26px 24px; scroll-margin-top:var(--dhv-sticky-top); }
.dhv .dhv-count { color:var(--dhv-green); font-size:14px; margin:0 0 10px; font-variant-numeric:tabular-nums; }
.dhv .dhv-minimum { color:var(--dhv-green); font-size:13px; margin:0 0 16px; }
.dhv-proceed-top { margin-bottom:18px; }
.dhv .dhv-shortlist-help,.dhv .dhv-shortlist-empty { font-size:13px; color:var(--dhv-muted); margin:0 0 18px; }
.dhv-shortlist-items { list-style:none; padding:0!important; margin:0 0 20px!important; display:grid; gap:0; }
.dhv-shortlist-items li { display:grid; grid-template-columns:29px minmax(0,1fr); gap:6px 10px; align-items:start; padding:14px 0; border-bottom:1px solid #dce4d0; }
.dhv-shortlist-items .dhv-remove { grid-column:2; justify-self:end; }
.dhv-shortlist-items .dhv-number { min-width:29px; height:29px; font-size:12px; background:#d52770; color:white; }
.dhv .dhv-shortlist-items p { font:italic 15px/1.6 ABeeZee,Lato,sans-serif; margin:2px 0; }
.dhv .dhv-remove { display:inline-flex; align-items:center; gap:5px; font-size:12px; line-height:1.4; background:transparent; border:0; color:var(--dhv-green); padding:4px 0; text-decoration:underline; cursor:pointer; min-height:32px; }
.dhv-shortlist .dhv-button { width:100%; }
.dhv .dhv-proceed-help { font-size:12px; color:var(--dhv-muted); margin:10px 0 0; }
.dhv .dhv-mobile-selection { display:none; }
.dhv-ballot-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); align-items:start; gap:36px; }
.dhv-ballot-choices { min-width:0; }
.dhv .dhv-rank-help { font-size:14px; color:var(--dhv-muted); margin:0 0 12px; }
.dhv-ranking { list-style:none!important; margin:0!important; padding:0!important; display:grid; gap:12px; }
.dhv-rank-row { border:1px solid #dce4d0; border-radius:12px; padding:18px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; background:#f5ffe6; min-width:0; }
.dhv-rank-row[draggable=true] { cursor:grab; }
.dhv-rank-poem { min-width:0; }
.dhv-rank-poem small { font-size:11px; color:var(--dhv-muted); }
.dhv .dhv-rank-poem p { font:italic 17px/1.6 ABeeZee,Lato,sans-serif; margin:4px 0; }
.dhv-points { color:var(--dhv-green); font-size:14px; font-weight:700; white-space:nowrap; text-align:right; font-variant-numeric:tabular-nums; }
.dhv-rank-actions { grid-column:1/-1; display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.dhv .dhv-rank-actions button { display:inline-flex; align-items:center; justify-content:center; gap:7px; font-size:12px; min-height:36px; padding:7px 10px; background:white; border:1px solid var(--dhv-border); border-radius:6px; color:var(--dhv-green); cursor:pointer; }
.dhv-rank-actions button:hover { background:var(--dhv-pale); }
.dhv-rank-actions button:disabled { opacity:.45; cursor:default; }
.dhv .dhv-action-icon { font-family:"Font Awesome 5 Free"; font-style:normal; font-weight:900; font-size:12px; line-height:1; display:inline-block; width:12px; text-align:center; text-decoration:none; flex-shrink:0; }
.dhv-icon-up::before { content:"\f062"; }
.dhv-icon-down::before { content:"\f063"; }
.dhv-icon-close::before { content:"\f00d"; }
.dhv-icon-back::before { content:"\f060"; }
.dhv-rank-row.is-dragging { opacity:.6; cursor:grabbing; }
.dhv .dhv-ranked-count { font-size:13px; color:var(--dhv-muted); margin:15px 0 20px; }
.dhv-available-panel { margin:22px 0 18px; border-top:1px solid #dce4d0; border-bottom:1px solid #dce4d0; padding:14px 0; }
.dhv-reserve-title { cursor:pointer; font-size:14px; color:var(--dhv-green); }
.dhv .dhv-available-help { font-size:13px; color:var(--dhv-muted); margin:14px 0; }
.dhv-available { display:grid; gap:8px; margin:12px 0; }
.dhv-available-item { display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid #dce4d0; min-width:0; }
.dhv-available-item:last-child { border-bottom:0; }
.dhv .dhv-available-item p { font:italic 16px/1.6 ABeeZee,Lato,sans-serif; margin:0; }
.dhv-available-item.is-excess p { color:var(--dhv-muted); text-decoration:line-through; text-decoration-color:#b4bf9f; }
.dhv-available-actions { display:flex; flex-direction:column; gap:5px; }
.dhv-available-item .dhv-secondary { font-size:12px; padding:7px 10px; }
.dhv .dhv-back-link { text-decoration:none; border-color:var(--dhv-green); font-weight:700; margin-top:4px; }
.dhv .dhv-back-top { margin:0 0 22px; }
.dhv-voter-panel { border-radius:14px; background:var(--dhv-pale); padding:26px 24px; min-width:0; }
.dhv-vote-summary { border:0; padding:0; margin:0 0 26px; min-width:0; }
.dhv .dhv-vote-summary legend { color:var(--dhv-green); font:700 32px/1.2 Allura,ABeeZee,Lato,sans-serif; padding:0; margin:0 0 12px; }
.dhv-vote-numbers { display:flex; flex-wrap:wrap; gap:12px 20px; }
.dhv-vote-slot { display:flex; flex-direction:column; align-items:center; gap:3px; width:56px; margin:0; color:var(--dhv-green); }
.dhv .dhv-vote-number { display:block; width:56px; height:56px; min-height:0; border:4px solid var(--dhv-olive); border-radius:12px; background:white; color:var(--dhv-green); text-align:center; padding:4px 2px; font-size:18px; font-variant-numeric:tabular-nums; caret-color:var(--dhv-green); }
.dhv .dhv-vote-number[aria-invalid=true] { border-color:#982344; }
.dhv .dhv-vote-number[data-long=true] { font-size:12px; padding-inline:0; }
.dhv-vote-points { font:13px/1.4 ABeeZee,Lato,sans-serif; }
.dhv .dhv-vote-feedback { color:#982344; font-size:13px; margin:14px 0 0; }
.dhv .dhv-voter-panel>p { font-size:13px; color:var(--dhv-muted); margin:0 0 20px; }
.dhv-form-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px 14px; margin-bottom:24px; }
.dhv-form-fields label { display:block; font-size:13px; color:var(--dhv-green); min-width:0; }
.dhv-form-fields input { display:block; width:100%; height:44px; border:1px solid var(--dhv-border); border-radius:7px; background:white; padding:9px 10px; color:var(--dhv-ink); margin-top:6px; min-width:0; caret-color:var(--dhv-green); }
.dhv input::placeholder { color:var(--dhv-muted); opacity:1; }
.dhv-required { color:var(--dhv-olive); font-weight:700; }
.dhv .dhv-consents a { color:var(--dhv-olive); }
.dhv-consents { display:grid; gap:18px; }
.dhv .dhv-consents>label { display:grid; grid-template-columns:20px 1fr; gap:10px; align-items:start; color:var(--dhv-green); font-size:13px; line-height:1.7; font-weight:400; cursor:pointer; }
.dhv-consents input { accent-color:var(--dhv-green); width:18px; height:18px; min-width:18px; margin:3px 0 0; }
.dhv .dhv-consents strong { font-weight:700; }
.dhv-submit { width:100%; margin-top:24px; }
.dhv-confirmation-help { margin-top:20px; font-size:12px; color:var(--dhv-muted); }
.dhv-confirmation-help summary { cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.dhv .dhv-confirmation-help p { font-size:12px; margin:12px 0; }
.dhv .dhv-confirmation-help a { color:var(--dhv-green); text-decoration:underline; text-underline-offset:3px; }
.dhv-trap { position:absolute!important; left:-10000px!important; top:auto; width:1px; height:1px; overflow:hidden; }
.dhv-message { padding:20px 24px; border:1px solid var(--dhv-border); background:var(--dhv-pale); border-radius:12px; margin:0 0 24px; overflow-wrap:anywhere; }
.dhv-message.is-error { background:#fff7f7; color:#982344; border-color:#dba3b4; }
.dhv-message.is-pending { color:var(--dhv-pink); font-size:19px; line-height:1.6; font-weight:700; background:white; border-color:#ecc4d6; }
.dhv-confirm-result { padding:32px; background:var(--dhv-pale); border-radius:14px; margin-bottom:40px; }
.dhv .dhv-confirm-result h2 { font:700 clamp(36px,4cqi,56px)/1.15 Allura,ABeeZee,Lato,sans-serif; color:var(--dhv-green); margin:0 0 14px; text-wrap:balance; }
.dhv .dhv-confirm-result p { margin:0; max-width:75ch; text-align:left; }
.dhv .dhv-confirm-result p+p { margin-top:12px; }
.dhv-confirm-result.is-error { background:#fff7f7; border:1px solid #dba3b4; }
.dhv .dhv-confirm-result.is-error h2 { color:#982344; }
.dhv .dhv-confirm-result a { color:var(--dhv-green); text-decoration:underline; }
.dhv .dhv-latest-articles>h3 { font:700 36px/1.2 Allura,ABeeZee,Lato,sans-serif; color:var(--dhv-green); margin:0 0 8px; }
.dhv .dhv-latest-articles>p { color:var(--dhv-muted); margin:0 0 24px; }
.dhv-article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.dhv .dhv-article-card { min-width:0; margin:0; background:var(--dhv-pale); border:1px solid #dce4d0; border-radius:12px; overflow:hidden; }
.dhv .dhv-article-link { display:flex; flex-direction:column; height:100%; color:var(--dhv-green); text-decoration:none; transition:color .18s ease-out; }
.dhv .dhv-article-link:focus-visible { outline:3px solid var(--dhv-green); outline-offset:-4px; }
.dhv .dhv-article-image { margin:0; width:100%; aspect-ratio:3/2; overflow:hidden; }
.dhv .dhv-article-image img { display:block; width:100%; height:100%; object-fit:cover; }
.dhv .dhv-article-card .card_content { padding:22px; display:flex; flex-direction:column; flex:1; background:transparent; border:0; }
.dhv .dhv-article-card time { font-size:12px; color:var(--dhv-muted); }
.dhv .dhv-article-card h4 { font:400 19px/1.5 ABeeZee,Lato,sans-serif; color:var(--dhv-green); margin:12px 0 20px; overflow-wrap:anywhere; }
.dhv-article-read { margin-top:auto; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
.dhv .dhv-article-link:hover .dhv-article-read { color:var(--dhv-pink-ink); }
.dhv-loading { padding:32px; background:var(--dhv-pale); border-radius:14px; color:var(--dhv-green); }
.dhv-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.dhv-empty { grid-column:1/-1; color:var(--dhv-muted); padding:20px 0; }
@container(max-width:1000px) {
    .dhv-selection-layout { grid-template-columns:minmax(0,1fr) 280px; gap:20px; }
    .dhv-poems { grid-template-columns:1fr; }
    .dhv .dhv-poem-label { grid-template-columns:30px minmax(0,1fr) 20px; padding:17px 14px; gap:10px; }
    .dhv-poem .dhv-number { min-width:30px; height:30px; font-size:13px; }
    .dhv .dhv-poem-text { font-size:17px; }
    .dhv-ballot-layout { gap:24px; }
    .dhv-voter-panel { padding:22px 18px; }
    .dhv-rank-row { padding:15px; gap:10px; }
}
@container(max-width:760px) {
    .dhv-article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dhv-selection-layout,.dhv-ballot-layout { grid-template-columns:1fr; }
    .dhv-poems { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dhv-shortlist,.dhv-voter-panel { position:static; max-height:none; overflow:visible; }
    .dhv-shortlist { margin-top:12px; }
    .dhv-ballot-layout { gap:30px; }
    .dhv .dhv-mobile-selection { display:inline-flex; position:static; grid-column:1/-1; justify-self:start; align-items:center; gap:10px; min-height:40px; padding:7px 12px; border:1px solid var(--dhv-border); border-radius:7px; background:var(--dhv-pale); color:var(--dhv-green); text-decoration:none; font-size:13px; }
    .dhv-mobile-count { font-weight:700; font-variant-numeric:tabular-nums; }
    .dhv-shortlist-items { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px!important; }
    .dhv-voter-panel { padding:26px 24px; }
}
@container(max-width:480px) {
    .dhv-article-grid { grid-template-columns:1fr; }
    .dhv-poems,.dhv-form-fields,.dhv-shortlist-items { grid-template-columns:1fr; }
    .dhv-heading { margin-bottom:22px; }
    .dhv-toolbar>label { max-width:135px; }
    .dhv .dhv-poem-label { grid-template-columns:32px minmax(0,1fr) 20px; padding:18px 14px; gap:11px; min-height:125px; }
    .dhv .dhv-poem-text { font-size:17px; }
    .dhv-voter-panel { padding:24px 18px; }
    .dhv-vote-numbers { gap:12px; }
    .dhv-vote-slot { width:46px; }
    .dhv .dhv-vote-number { width:46px; height:50px; font-size:16px; }
    .dhv .dhv-vote-number[data-long=true] { font-size:10px; }
    .dhv-rank-row { padding:15px 12px; gap:10px; }
    .dhv .dhv-rank-poem p { font-size:16px; }
    .dhv-points { font-size:12px; }
    .dhv-rank-actions { grid-column:1/-1; }
    .dhv .dhv-rank-actions button { min-height:40px; padding-inline:6px; gap:5px; }
    .dhv-available-item { grid-template-columns:32px 1fr; gap:10px; }
    .dhv-available-actions { grid-column:2; flex-direction:row; align-items:center; gap:12px; }
    .dhv-form-fields { gap:16px; }
    .dhv .dhv-heading h2 { font-size:38px; }
    .dhv-confirm-result { padding:24px 18px; margin-bottom:32px; }
}
@media(prefers-reduced-motion:reduce) { .dhv * { transition:none!important; scroll-behavior:auto!important; } }
@media(forced-colors:active) { .dhv .dhv-poem-label input.dhv-poem-checkbox { appearance:auto; } .dhv .dhv-poem-checkbox::before { content:none; } }
