@font-face {
  font-family: Montserrat;
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  src: url("/golosovaniya/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Montserrat;
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  src: url("/golosovaniya/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #1c1930;
  --muted: #5d5874;
  --link: #5b45d6;
  --surface: #f6f5fb;
  --selected: #efebff;
  --edge: #e8e5f3;
  --control-edge: #b4a5f4;
  --accent: #5b45d6;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 15px/1.5 Montserrat, Arial, sans-serif; }
main { max-width: 600px; margin: auto; padding: 16px 16px 40px; }
header { margin-bottom: 16px; padding: 18px 20px; border: 1px solid #ded5ff; border-top: 4px solid #917dfa; border-radius: 16px; background: var(--selected); }
header small { color: var(--ink); }
header p { margin: 0; font-size: 14px; }
#poll-visit { margin-top: 9px; font-weight: 650; }
h1 { margin: 4px 0 6px; font-size: clamp(24px, 5vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
h2 { margin: 4px 0 8px; font-size: 19px; line-height: 1.24; font-weight: 750; letter-spacing: -.025em; }
p { margin: 4px 0 10px; }
small, label { font-weight: 650; }
small { color: var(--link); }
label { display: block; }
a { color: var(--link); font-size: 14px; text-underline-offset: 2px; }
input, select, textarea, button {
  min-height: 44px;
  border: 1px solid var(--control-edge);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  font: inherit;
}
input, select, textarea { width: 100%; }
input { margin: 3px 0 0; }
input::placeholder { color: var(--muted); }
button { cursor: pointer; font-weight: 650; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[role="status"]:empty { margin: 0; }

article {
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: #fff;
}
article > img { display: block; width: 100%; height: clamp(140px,35vw,210px); object-fit: cover; }
.pad { padding: 14px 16px; }
.pad p { margin: 3px 0 7px; }
#cards button, #send-final, #finish-ok, #report-send {
  border-color: transparent;
  background: var(--accent);
  color: white;
}
#cards button { display: block; width: 100%; margin: 9px 0; }
#cards button[aria-pressed="true"] { border-color: var(--control-edge); background: var(--selected); }
#status, .who, #report-status { color: var(--muted); font-size: 14px; }
.who { overflow-wrap: anywhere; }
.poll-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.poll-actions button, #report-close, #finish-cancel {
  padding-inline: 4px;
  border-color: transparent;
  background: transparent;
  color: var(--link);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#outcome {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid var(--control-edge);
  border-radius: 14px;
  background: var(--selected);
}
#chosen-price { font-weight: 650; }
#company-card { display: inline-flex; align-items: center; min-height: 38px; }
#send-final, #finish { width: 100%; }
#send-final { display: block; margin-top: 4px; }
#finish { margin-bottom: 10px; color: var(--link); }
#organizer-note { margin-bottom: 14px; padding: 12px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
#copy-personal { display: block; margin-bottom: 8px; color: var(--link); }
#invite-guests { background: var(--selected); }
#new-poll { color: var(--link); }
.repeat-poll { border-top: 1px solid var(--edge); margin-top: 14px; padding-top: 12px; }
.repeat-poll p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

dialog {
  width: min(94vw, 460px);
  max-height: 90dvh;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
dialog::backdrop { background: #1c1930a8; }
#report-text { display: block; max-height: 44dvh; margin-top: 10px; resize: vertical; }
#amount, #winner { margin: 4px 0 8px; }
#amount-help { margin-top: 0; color: var(--muted); font-size: 14px; }
#finish-error { color: #852e22; }
.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }

.book-entry, .open-poll { display: flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; }
.book-entry { margin-bottom: 12px; border-bottom: 1px solid var(--edge); }
.library article { padding: 14px; overflow-wrap: anywhere; }
.library article h2 { font-size: 22px; }
.library article form, .book-tools form { margin: 12px 0; }
.library article button, .book-tools button { margin: 4px 0; color: var(--link); font-size: 14px; }
.poll-links { display: flex; flex-wrap: wrap; gap: 0 6px; }
.poll-links .guest-link { background: var(--selected); color: var(--ink); }
.library .open-poll { margin-top: 8px; }
.book-tools { padding: 14px 0; border-top: 1px solid var(--edge); }
.book-tools summary { min-height: 30px; cursor: pointer; font-weight: 650; }
.book-tools p, .library article p { color: var(--muted); }
.saved-result { display: grid; gap: 3px; margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--selected); }
.library textarea { min-height: 90px; }
.poll-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.poll-tabs [role="tab"] { color: var(--link); font-weight: 700; }
.poll-tabs [aria-selected="true"] { background: var(--selected); color: var(--ink); }
#poll-list [role="tabpanel"] > p { padding: 14px 0; }

@media (max-width: 360px) {
  main { padding-inline: 12px; }
  header { padding: 11px 13px; }
  h1 { font-size: 24px; }
  article > img { height: 112px; }
}

header small { color: var(--link); font-size: 12px; }
header p { color: var(--muted); }
#name, #search-polls { margin-top: 6px; }
#cards button[aria-pressed="true"] { color: #4932b2; }
.poll-tabs { padding: 5px; background: #fff; border: 1px solid var(--edge); border-radius: 14px; gap: 4px; }
.poll-tabs [role="tab"] { padding-inline: 6px; border-color: transparent; }
.poll-tabs [aria-selected="true"] { color: #4932b2; border-color: var(--control-edge); }
#outcome, .saved-result, #invite-guests { border-color: var(--edge); }
#status:not(:empty) { margin-block: 10px; }
#finish { background: var(--selected); }
#report-copy { color: var(--link); }
@media (hover:hover) {
  #cards button:not([aria-pressed="true"]):hover, #send-final:hover, #finish-ok:hover, #report-send:hover { background: #4932b2; }
  button:not(:disabled):hover, .open-poll:hover { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion:no-preference) {
  button { transition: background-color .16s,border-color .16s,color .16s; }
}
html.embedded .library>header{display:none}

:root{--ink:#211633;--muted:#635a72;--link:#6138bf;--surface:#faf8fe;--selected:#f0eaff;--edge:#e5dcf0;--control-edge:#cbb8ee;--accent:#673ec6}
body{font-size:16px;line-height:1.55;background:radial-gradient(circle at 85% 2%,#fff1e2,transparent 30%),radial-gradient(circle at 12% 12%,#f2edff,transparent 35%),#faf9fd}
main{max-width:1120px;padding:28px 22px 64px}
main>header{position:relative;overflow:hidden;padding:clamp(25px,4vw,46px);margin-bottom:24px;border:1px solid #e1d6f1;border-top:5px solid #8661ed;border-radius:22px;background:linear-gradient(115deg,#f0eaff 0%,#fff5eb 62%,#e8faf7 100%)}
main>header:after{content:"✳";position:absolute;right:4%;top:-22px;font-size:clamp(110px,16vw,205px);line-height:1;color:#bca6f84d;pointer-events:none}
main>header small{position:relative;z-index:1;display:inline-block;color:#5f39bc;font-size:13px;letter-spacing:.07em;text-transform:uppercase}
main>header h1{position:relative;z-index:1;font-size:clamp(34px,5.1vw,54px);line-height:1.08;margin:9px 0 13px;max-width:16ch}
main>header p{position:relative;z-index:1;font-size:16px;line-height:1.55;max-width:58ch;color:#4e4661}
main>header #poll-visit{display:inline-flex;margin-top:10px;padding:8px 12px;border:1px solid #e0cfef;border-radius:10px;background:#ffffffa8;font-size:14px}
main>header #poll-visit[hidden]{display:none}
h2{font-size:clamp(19px,2vw,25px)}
label{color:#332545;font-size:15px}
input,select,textarea,button{border-radius:11px}
input,select,textarea{font-size:16px}
button{font-size:15px}
article{border-color:#e6dbf2;border-radius:18px;box-shadow:0 9px 25px rgba(42,25,76,.06);transition:transform .2s,box-shadow .2s}
article>img{height:clamp(175px,20vw,225px)}
.pad{padding:18px}
.pad small{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eee8ff;color:#5934a9;font-size:12px;font-weight:750}
.pad h2{margin-top:10px;font-size:21px;line-height:1.25}
.pad p{font-size:14px;line-height:1.5}
.pad>a{display:inline-flex;min-height:40px;align-items:center;color:#5c32b4;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
#cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
#cards article{display:flex;flex-direction:column;min-width:0;margin:0}
#cards article .pad{display:flex;flex-direction:column;flex:1;align-items:flex-start}
#cards article .pad>a{margin-top:auto}
#cards button{margin-top:12px;min-height:46px;border-radius:11px;background:linear-gradient(100deg,#683cc7,#8c6cf0);box-shadow:0 7px 17px rgba(85,47,174,.16);font-size:15px}
#cards button[aria-pressed=true]{background:#e8f6ed;border-color:#afdbc0;color:#1e704e;box-shadow:none}
#cards .who{margin:10px 0 0;color:#595068;font-size:13px}
#name{max-width:480px;min-height:48px;margin-bottom:5px;border:1px solid #cdb8ed;background:#fff}
#status:not(:empty){padding:9px 12px;border-radius:10px;background:#f2edff;color:#503097}
.poll-actions{margin-top:18px;gap:10px}
.poll-actions button{padding:10px 15px;border:1px solid #d9c9f0;border-radius:10px;background:#fff;text-decoration:none;color:#5c32b4;font-weight:700}
#outcome{padding:clamp(20px,3vw,32px);border:1px solid #dcc9f4;border-left:5px solid #8b62e6;border-radius:18px;background:linear-gradient(120deg,#f2eaff,#fff9ee 65%,#e9faf5)}
#outcome small{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
#outcome h2{font-size:clamp(24px,3vw,34px)}
#company-card{font-weight:750}
#send-final,#finish-ok,#report-send{background:linear-gradient(100deg,#6338c0,#8b6cf0);border-radius:11px;box-shadow:0 8px 19px rgba(85,47,174,.17)}
#finish{min-height:46px;margin-bottom:17px;border:1px solid #d4c1ef;border-radius:11px;background:#f1ebff;color:#542baa;font-weight:750}
#organizer-note{padding:22px;border:1px solid #e3d7f1;border-radius:18px;background:#fff}
#organizer-note small{font-size:13px;letter-spacing:.05em;text-transform:uppercase}
#organizer-note button{margin:6px 8px 6px 0}
dialog{padding:25px;border:1px solid #e2d7f0;border-radius:20px;box-shadow:0 20px 60px #1f123c55}
dialog::backdrop{background:#1b1037b3}
.library{max-width:1120px}
.library label[for=search-polls]{font-size:15px;font-weight:750}
.library #search-polls{max-width:550px;min-height:48px;margin-bottom:17px}
.library .poll-tabs{max-width:550px;margin-bottom:20px;padding:5px;border-color:#e3d9f0;background:#f5f0ff}
.library .poll-tabs [role=tab]{min-height:46px;border-radius:10px;font-size:15px}
.library .poll-tabs [aria-selected=true]{background:#fff;border-color:#c6aef1;color:#542dab;box-shadow:0 3px 11px #5f37b818}
#poll-list>[role=tabpanel]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#poll-list>[role=tabpanel][hidden]{display:none}
.library article{margin:0;padding:22px;min-width:0;border-top:4px solid #8d69ef}
.library article small{color:#5f37b8;font-size:13px;font-weight:750}
.library article h2{margin:10px 0;font-size:22px;overflow-wrap:anywhere}
.library article p{font-size:14px;line-height:1.5}
.library article button,.book-tools button{min-height:42px;padding:9px 13px;border:1px solid #d5c1f0;border-radius:10px;color:#5831ad;text-decoration:none;font-size:14px}
.library .open-poll{display:inline-flex;min-height:46px;margin:12px 0 9px;padding:10px 15px;border-radius:10px;background:linear-gradient(100deg,#683cc7,#8965ea);color:#fff;text-decoration:none;font-size:14px}
.poll-links{gap:8px}
.poll-links button{flex:1;min-width:150px;margin:0}
.poll-links .guest-link{background:#eee7ff;color:#503197}
.saved-result{padding:14px;border:1px solid #e1d2f1;border-radius:12px;background:linear-gradient(115deg,#f4edff,#fff7e9)}
.book-tools{padding:16px 0}
.book-tools summary{font-size:15px;color:#4e2b9c}
.book-tools:has(#copy-book){margin-top:18px}
@media(hover:hover){article:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(42,25,76,.11)}#cards button:not([aria-pressed=true]):hover,#send-final:hover,#finish-ok:hover{filter:brightness(1.06);transform:translateY(-1px)}}
@media(max-width:900px){#cards{grid-template-columns:repeat(2,minmax(0,1fr))}#poll-list>[role=tabpanel]{grid-template-columns:1fr}}
@media(max-width:620px){main{padding:18px 15px 42px}main>header{padding:25px 20px;border-radius:18px}main>header:after{right:-25px;top:0;font-size:130px}main>header h1{font-size:34px}main>header p{font-size:15px}#cards{grid-template-columns:1fr;gap:15px}#cards article>img{height:205px}.pad{padding:17px}.library .poll-tabs{max-width:none}.library article{padding:18px}.poll-actions{display:grid;grid-template-columns:1fr 1fr}.poll-actions button{font-size:13px}.poll-links{flex-direction:column}.poll-links button{width:100%}#organizer-note{padding:18px}}
@media(max-width:360px){main{padding-inline:12px}#cards article>img{height:175px}main>header h1{font-size:30px}.poll-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){article,#cards button{transition:none}}

.vote-site-nav{background:#fff;border-bottom:1px solid #eae5f2}
.vote-site-nav__inner{box-sizing:border-box;max-width:1164px;margin:0 auto;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.vote-site-nav__brand{display:inline-flex;align-items:center;flex:none;min-height:36px}
.vote-site-nav__brand img{display:block;width:auto;height:29px;max-width:100%}
.vote-site-nav__links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 12px}
.vote-site-nav__links a{display:inline-flex;align-items:center;min-height:40px;padding:5px 10px;border-radius:10px;color:#3b2a55;font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}
.vote-site-nav__links a:hover,.vote-site-nav__links a:focus-visible{background:#f2edff;color:#5934b5;text-decoration:underline}
.vote-site-nav__links a:focus-visible,.vote-site-nav__brand:focus-visible{outline:3px solid #9879ef;outline-offset:2px}
@media(max-width:660px){.vote-site-nav__inner{padding:10px 15px;display:block}.vote-site-nav__brand img{height:26px}.vote-site-nav__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:8px}.vote-site-nav__links a{justify-content:center;min-height:42px;padding:4px 3px;font-size:12px;line-height:1.25;text-align:center;white-space:normal}}
@media(max-width:620px){main>header::after{display:none}}

/* Keep the everyday voting actions visible; tuck recovery links away. */
.library-top{display:flex;justify-content:flex-end;margin:0 0 14px}
.library .new-vote{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:11px;background:#6540c5;color:#fff;font-size:14px;font-weight:750;text-decoration:none}
.library .new-vote:hover,.library .new-vote:focus-visible{background:#5232a8;color:#fff}
#poll-search[hidden]{display:none}
.library article{display:flex;flex-direction:column;padding:19px}
.library article h2{margin:7px 0 8px;font-size:20px;line-height:1.3}
.library article .place-summary{margin:0 0 6px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.library article .poll-meta{margin:0 0 12px;color:#71677e;font-size:13px;line-height:1.5}
.poll-primary-actions{display:flex;gap:9px;margin-top:auto;align-items:stretch}
.library .poll-primary-actions .open-poll{flex:1;justify-content:center;min-width:0;margin:0;padding:9px 12px;text-align:center}
.library .poll-primary-actions .guest-link{flex:1;min-width:0;margin:0;padding:9px 12px;background:#eee7ff;color:#5430a8;font-weight:750}
.poll-more{margin-top:12px;padding-top:7px;border-top:1px solid #eee7f5}
.poll-more summary{display:inline-flex;align-items:center;min-height:36px;color:#5d39b1;font-size:14px;font-weight:700;cursor:pointer}
.poll-more[open] summary{margin-bottom:8px}
.poll-more button{display:block;width:100%;text-align:left;background:#fff}
.poll-more form{display:grid;gap:8px}
.poll-more form[hidden]{display:none}
.poll-more form label{display:grid;gap:7px}
.poll-more form input{width:100%}
.poll-more summary:focus-visible,.library .new-vote:focus-visible,.poll-primary-actions button:focus-visible,.poll-primary-actions a:focus-visible{outline:3px solid #9c80ec;outline-offset:2px}
.access-tools-content{padding:12px 2px 2px}
.access-tools-content h2{margin:8px 0 4px;font-size:17px}
.access-tools-content h2:not(:first-child){margin-top:22px}
.access-tools-content p{max-width:70ch}
#organizer-note{padding:12px 15px;margin-bottom:18px}
.organizer-main{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#organizer-note #invite-guests{min-height:46px;margin:0;padding:10px 17px;border-color:transparent;background:linear-gradient(100deg,#673ec6,#8b6cf0);color:#fff;font-weight:750}
#organizer-note #my-polls{display:inline-flex;min-height:44px;margin:0;padding:8px 12px;border:0;font-size:14px}
#organizer-note p[role=status]:empty{display:none}
.organizer-more{border-top:1px solid #eee7f5;margin-top:10px;padding-top:6px}
.organizer-more summary{display:inline-flex;align-items:center;min-height:34px;color:#6138bf;font-size:14px;font-weight:700;cursor:pointer}
.organizer-more[open] summary{margin-bottom:10px}
.organizer-more p{margin:4px 0 10px}
#finish{width:auto;min-width:220px;margin:22px 0 0}
@media(max-width:620px){.library-top{justify-content:stretch}.library .new-vote{width:100%}.poll-primary-actions{display:grid;grid-template-columns:1fr 1fr}.poll-primary-actions a,.poll-primary-actions button{font-size:13px}.organizer-main{display:grid;grid-template-columns:1fr}.organizer-main #my-polls{justify-content:center}.organizer-main #invite-guests{width:100%}#finish{width:100%}}


