/* Enquetes — focused creator workspace */
.polls-content {
  box-sizing: border-box;
  min-height: calc(100vh - 104px);
  padding: 8px clamp(18px, 3vw, 42px) 36px;
}

.polls-content[hidden],
.poll-image-preview[hidden],
.poll-max-choice[hidden],
.poll-form-status[hidden],
.poll-created-list[hidden] {
  display: none;
}

.polls-layout {
  display: grid;
  width: min(1280px, 100%);
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  align-items: start;
  gap: 22px;
  margin: 0 auto;
}

.poll-builder,
.poll-created {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #343a42;
  border-radius: 16px;
  background: #22262b;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.poll-builder {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(20px, 2.4vw, 30px);
}

.poll-builder-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.poll-heading-icon,
.poll-created-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(93, 204, 219, .2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(46, 166, 183, .2), rgba(46, 166, 183, .08));
  color: #7bd5e1;
  font-size: 18px;
  place-items: center;
}

.poll-builder-title {
  min-width: 0;
}

.poll-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #7bcbd5;
  font: 700 9px/1.2 Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .11em;
}

.poll-builder-header h2,
.poll-created-heading h2 {
  margin: 0;
  color: #f1f4f6;
  font: 650 18px/1.25 Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.025em;
}

.poll-builder-header p {
  margin: 5px 0 0;
  color: #a0aab4;
  font: 400 12px/1.45 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-question-stack {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.poll-question-stack .poll-field {
  display: block;
  color: #d8e0e6;
  font: 600 12px/1.35 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-question-entry {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 9px;
}

.poll-question-entry input,
.poll-answer-row input,
.poll-max-choice select {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #424a53;
  border-radius: 10px;
  outline: 0;
  background: #1c2024;
  color: #f1f4f6;
  font: 450 13px/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.poll-question-entry input {
  height: 44px;
  flex: 1;
  padding: 0 13px;
}

.poll-question-entry input::placeholder,
.poll-answer-row input::placeholder {
  color: #7f8993;
}

.poll-question-entry input:focus,
.poll-answer-row input:focus,
.poll-max-choice select:focus {
  border-color: #54b9c8;
  background: #20262a;
  box-shadow: 0 0 0 3px rgba(77, 189, 205, .13);
}

.poll-image-trigger {
  display: grid;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  flex: none;
  align-self: center;
  padding: 0;
  border: 1px solid #414b54;
  border-radius: 11px;
  background: #292e33;
  color: #8bd8e2;
  cursor: pointer;
  font-size: 16px;
  place-items: center;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.poll-image-trigger:hover {
  transform: translateY(-1px);
  border-color: #58b9c8;
  background: #2d3d41;
}

.poll-image-trigger:focus-visible,
.poll-remove-answer:focus-visible,
.poll-add-answer:focus-visible,
.poll-created-collapse:focus-visible,
.poll-submit:focus-visible {
  outline: 2px solid #72d3df;
  outline-offset: 3px;
}

.poll-image-preview {
  display: flex;
  width: fit-content;
  max-width: min(100%, 400px);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #3e474f;
  border-radius: 11px;
  background: #292e33;
  color: #d2dae0;
  font: 450 11px/1.3 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-image-preview img {
  width: 48px;
  height: 42px;
  flex: none;
  border-radius: 7px;
  object-fit: cover;
}

.poll-image-preview span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poll-image-preview button,
.poll-remove-answer {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9da8b1;
  cursor: pointer;
  place-items: center;
  transition: background .15s ease, color .15s ease;
}

.poll-image-preview button:hover,
.poll-remove-answer:not(:disabled):hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.poll-answers-fieldset,
.poll-mode-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.poll-answers-fieldset legend,
.poll-mode-fieldset legend {
  width: 100%;
  margin: 0 0 11px;
  color: #e0e6eb;
  font: 600 12px/1.35 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-answers-fieldset legend span {
  margin-left: 8px;
  color: #87939e;
  font: 450 10px/1.3 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-answer-list {
  display: grid;
  gap: 8px;
  counter-reset: poll-answer;
}

.poll-answer-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  counter-increment: poll-answer;
}

.poll-answer-row::before {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid #3b444c;
  border-radius: 8px;
  background: #292e33;
  color: #9aa7b1;
  content: counter(poll-answer, decimal-leading-zero);
  font: 600 9px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  place-items: center;
}

.poll-answer-row input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
}

.poll-remove-answer:disabled {
  opacity: .28;
  cursor: default;
}

.poll-add-answer {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #83d6e0;
  cursor: pointer;
  font: 550 11px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  transition: border-color .15s ease, background .15s ease;
}

.poll-add-answer:hover:not(:disabled) {
  border-color: rgba(95, 196, 210, .18);
  background: rgba(75, 176, 190, .09);
}

.poll-add-answer:disabled {
  color: #81959a;
  cursor: default;
}

.poll-mode-fieldset {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

.poll-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.poll-mode-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border: 1px solid #3d444c;
  border-radius: 9px;
  background: rgba(255, 255, 255, .018);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.poll-mode-option:hover {
  border-color: #59666e;
}

.poll-mode-option:has(input:checked) {
  border-color: rgba(91, 199, 213, .65);
  background: linear-gradient(135deg, rgba(47, 151, 165, .15), rgba(46, 146, 160, .06));
  box-shadow: inset 0 0 0 1px rgba(91, 199, 213, .08);
}

.poll-mode-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.poll-mode-copy {
  display: block;
  min-width: 0;
  text-align: center;
}

.poll-mode-copy strong {
  display: block;
  color: #e8edf1;
  font: 600 10px/1.25 Inter, "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
}

.poll-mode-copy small {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 9px);
  left: 50%;
  width: max-content;
  max-width: min(230px, calc(100vw - 48px));
  transform: translate(-50%, 4px);
  padding: 10px 12px;
  border: 1px solid #4b555e;
  border-radius: 9px;
  background: #171b1f;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
  color: #dce5ea;
  font: 450 10px/1.45 Inter, "Helvetica Neue", Arial, sans-serif;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.poll-mode-copy small::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-right: 1px solid #4b555e;
  border-bottom: 1px solid #4b555e;
  background: #171b1f;
  content: "";
}

.poll-mode-option:hover .poll-mode-copy small,
.poll-mode-option:focus-within .poll-mode-copy small {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.poll-mode-option > i {
  display: none;
}

.poll-max-choice {
  box-sizing: border-box;
  display: grid;
  width: min(100%, 480px);
  max-width: 480px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #3d464e;
  border-radius: 12px;
  background: #292e33;
  cursor: pointer;
}

.poll-max-choice-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.poll-max-choice-copy strong {
  color: #e1e8ed;
  font: 600 11px/1.3 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-max-choice-copy small {
  color: #98a4ad;
  font: 400 10px/1.4 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-max-choice-select {
  position: relative;
  display: block;
}

.poll-max-choice select {
  width: 126px;
  min-width: 0;
  height: 40px;
  padding: 0 31px 0 11px;
  border: 1px solid #46515a;
  border-radius: 9px;
  background: #1d2226;
  color: #e5edf1;
  cursor: pointer;
  font: 550 10px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  appearance: none;
}

.poll-max-choice-select > i {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #a2b0b8;
  font-size: 9px;
  pointer-events: none;
}

.poll-form-status {
  margin: -8px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(91, 199, 213, .24);
  border-radius: 10px;
  background: rgba(50, 152, 166, .09);
  color: #a8e4e9;
  font: 450 11px/1.45 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-form-actions {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

.poll-submit {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #39a9b8;
  border-radius: 10px;
  background: linear-gradient(135deg, #198b9c, #147383);
  color: #f2feff;
  cursor: pointer;
  font: 600 12px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 7px 18px rgba(7, 107, 122, .2);
  transition: transform .15s ease, filter .15s ease;
}

.poll-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.poll-submit:disabled {
  opacity: .55;
  cursor: wait;
}

.poll-created {
  position: sticky;
  top: 108px;
  overflow: hidden;
}

.poll-created > header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.poll-created-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.poll-created-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 14px;
}

.poll-created-heading > div {
  min-width: 0;
}

.poll-created-heading .poll-eyebrow {
  margin-bottom: 4px;
  font-size: 8px;
}

.poll-created-heading h2 {
  font-size: 14px;
}

.poll-count {
  display: grid;
  min-width: 25px;
  height: 25px;
  flex: none;
  padding: 0 6px;
  border: 1px solid #414951;
  border-radius: 8px;
  background: #2c3137;
  color: #c4ced6;
  font: 650 10px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  place-items: center;
}

.poll-created-collapse {
  display: inline-flex;
  min-height: 32px;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid #414951;
  border-radius: 8px;
  background: transparent;
  color: #aeb8c1;
  cursor: pointer;
  font: 500 10px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.poll-created-collapse:hover {
  border-color: #5d9ca5;
  background: rgba(77, 176, 190, .08);
  color: #a5e6ec;
}

.poll-created-collapse i {
  font-size: 9px;
}

.poll-created-list {
  display: grid;
  max-height: calc(100vh - 202px);
  gap: 10px;
  overflow: auto;
  padding: 14px;
  scrollbar-width: thin;
}

.polls-empty {
  display: grid;
  min-height: 245px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 18px;
  color: #a1acb5;
  text-align: center;
}

.polls-empty-art {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  border: 1px solid #3d4b51;
  border-radius: 17px;
  background: radial-gradient(circle at 35% 25%, rgba(93, 196, 209, .18), rgba(93, 196, 209, .035) 72%);
  color: #71c5d0;
  font-size: 20px;
  place-items: center;
}

.polls-empty strong {
  color: #e4eaee;
  font: 600 12px/1.35 Inter, "Helvetica Neue", Arial, sans-serif;
}

.polls-empty p {
  max-width: 220px;
  margin: 0;
  color: #929da7;
  font: 400 11px/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-created-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #3b4249;
  border-radius: 12px;
  background: #272c31;
  transition: border-color .15s ease, background .15s ease;
}

.poll-created-card:hover {
  border-color: #4b646a;
  background: #2a3035;
}

.poll-created-card h3 {
  margin: 0;
  color: #edf2f5;
  font: 600 13px/1.45 Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.poll-created-card img {
  display: block;
  width: 100%;
  max-height: 180px;
  margin-top: 11px;
  border-radius: 9px;
  object-fit: cover;
}

.poll-created-card ul {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.poll-created-card li {
  position: relative;
  padding: 8px 10px 8px 27px;
  border: 1px solid #3c444b;
  border-radius: 8px;
  color: #c4cdd4;
  font: 450 10px/1.35 Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.poll-created-card li::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border: 1px solid #72828c;
  border-radius: 50%;
  content: "";
}

.poll-created-card > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #98a5ae;
  font: 500 10px/1.35 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-created-card > p::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6bc49a;
  content: "";
}

body[data-theme="light"] .poll-builder,
body[data-theme="light"] .poll-created {
  border-color: #e1e7eb;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 42, 54, .055);
}

body[data-theme="light"] .poll-builder-header h2,
body[data-theme="light"] .poll-created-heading h2 {
  color: #203542;
}

body[data-theme="light"] .poll-builder-header p,
body[data-theme="light"] .polls-empty p {
  color: #788791;
}

body[data-theme="light"] .poll-eyebrow {
  color: #25889a;
}

body[data-theme="light"] .poll-heading-icon,
body[data-theme="light"] .poll-created-icon {
  border-color: rgba(42, 156, 179, .16);
  background: linear-gradient(145deg, rgba(42, 156, 179, .12), rgba(42, 156, 179, .045));
  color: #25899a;
}

body[data-theme="light"] .poll-question-stack .poll-field,
body[data-theme="light"] .poll-answers-fieldset legend,
body[data-theme="light"] .poll-mode-fieldset legend {
  color: #344b57;
}

body[data-theme="light"] .poll-answers-fieldset legend span {
  color: #82919a;
}

body[data-theme="light"] .poll-question-entry input,
body[data-theme="light"] .poll-answer-row input,
body[data-theme="light"] .poll-max-choice select {
  border-color: #dce4e8;
  background: #fbfcfd;
  color: #233b48;
}

body[data-theme="light"] .poll-question-entry input::placeholder,
body[data-theme="light"] .poll-answer-row input::placeholder {
  color: #9aa6ad;
}

body[data-theme="light"] .poll-question-entry input:focus,
body[data-theme="light"] .poll-answer-row input:focus,
body[data-theme="light"] .poll-max-choice select:focus {
  border-color: #53b4c3;
  background: #fff;
}

body[data-theme="light"] .poll-image-trigger {
  border-color: #dce5e8;
  background: #f7fafb;
  color: #26899a;
}

body[data-theme="light"] .poll-image-trigger:hover {
  border-color: #7ac6d0;
  background: #eef9fa;
}

body[data-theme="light"] .poll-image-preview {
  border-color: #e0e7ea;
  background: #f7fafb;
  color: #526874;
}

body[data-theme="light"] .poll-image-preview button,
body[data-theme="light"] .poll-remove-answer {
  color: #71818a;
}

body[data-theme="light"] .poll-image-preview button:hover,
body[data-theme="light"] .poll-remove-answer:not(:disabled):hover {
  background: #e8eef0;
  color: #2d434e;
}

body[data-theme="light"] .poll-answer-row::before {
  border-color: #e0e7ea;
  background: #f5f8f9;
  color: #6c7e88;
}

body[data-theme="light"] .poll-add-answer {
  color: #247f91;
}

body[data-theme="light"] .poll-add-answer:hover:not(:disabled) {
  border-color: rgba(42, 156, 179, .18);
  background: rgba(42, 156, 179, .07);
}

body[data-theme="light"] .poll-mode-fieldset,
body[data-theme="light"] .poll-form-actions {
  border-color: #e8edef;
}

body[data-theme="light"] .poll-mode-option {
  border-color: #e1e7eb;
  background: #fff;
}

body[data-theme="light"] .poll-mode-option:hover {
  border-color: #b9cbd0;
}

body[data-theme="light"] .poll-mode-option:has(input:checked) {
  border-color: #7ac5d0;
  background: linear-gradient(135deg, #f0fafb, #f8fcfc);
}

body[data-theme="light"] .poll-mode-copy strong {
  color: #334b57;
}

body[data-theme="light"] .poll-mode-copy small {
  border-color: #d5e0e4;
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 53, 67, .16);
  color: #405762;
}

body[data-theme="light"] .poll-mode-copy small::after {
  border-color: #d5e0e4;
  background: #fff;
}

body[data-theme="light"] .poll-mode-option > i {
  display: none;
}

body[data-theme="light"] .poll-max-choice {
  border-color: #e0e8eb;
  background: #f6f9fa;
}

body[data-theme="light"] .poll-max-choice-copy strong {
  color: #344c58;
}

body[data-theme="light"] .poll-max-choice-copy small {
  color: #7e8d96;
}

body[data-theme="light"] .poll-max-choice select {
  border-color: #d7e1e5;
  background: #fff;
  color: #344b57;
}

body[data-theme="light"] .poll-max-choice-select > i {
  color: #6e818b;
}

body[data-theme="light"] .poll-form-status {
  border-color: rgba(42, 156, 179, .2);
  background: rgba(42, 156, 179, .06);
  color: #247f91;
}

body[data-theme="light"] .poll-submit {
  border-color: #278b9b;
  background: linear-gradient(135deg, #279aaa, #197889);
}

body[data-theme="light"] .poll-created > header {
  border-color: #e8edef;
}

body[data-theme="light"] .poll-count {
  border-color: #e1e8eb;
  background: #f4f7f8;
  color: #526874;
}

body[data-theme="light"] .poll-created-collapse {
  border-color: #dfe6e9;
  color: #657781;
}

body[data-theme="light"] .poll-created-collapse:hover {
  border-color: #83c9d3;
  background: #f1fbfc;
  color: #287f8d;
}

body[data-theme="light"] .polls-empty {
  color: #74848d;
}

body[data-theme="light"] .polls-empty-art {
  border-color: #e2eaed;
  background: radial-gradient(circle at 35% 25%, rgba(42, 156, 179, .12), rgba(42, 156, 179, .025) 72%);
  color: #4799a7;
}

body[data-theme="light"] .polls-empty strong {
  color: #405763;
}

body[data-theme="light"] .poll-created-card {
  border-color: #e2e8eb;
  background: #fff;
}

body[data-theme="light"] .poll-created-card:hover {
  border-color: #c4d9de;
  background: #fcfefe;
}

body[data-theme="light"] .poll-created-card h3 {
  color: #263e4a;
}

body[data-theme="light"] .poll-created-card li {
  border-color: #e3e9ec;
  color: #526874;
}

body[data-theme="light"] .poll-created-card li::before {
  border-color: #94a4ac;
}

body[data-theme="light"] .poll-created-card > p {
  border-color: #edf0f2;
  color: #7b8992;
}

@media (max-width: 980px) {
  .polls-layout {
    max-width: 760px;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .poll-created {
    position: static;
    order: 1;
  }

  .poll-created-list {
    max-height: none;
  }

  .poll-created-list:not([hidden]):has(.poll-created-card) {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  }
}

@media (max-width: 700px) {
  .polls-content {
    min-height: 0;
    padding: 4px 13px 24px;
  }

  .polls-layout {
    gap: 13px;
  }

  .poll-builder {
    gap: 20px;
    padding: 17px;
    border-radius: 14px;
  }

  .poll-builder-header {
    align-items: flex-start;
    gap: 11px;
  }

  .poll-heading-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 15px;
  }

  .poll-builder-header h2 {
    font-size: 16px;
  }

  .poll-builder-header p {
    font-size: 11px;
  }

  .poll-question-entry input {
    height: 42px;
    padding: 0 11px;
    font-size: 12px;
  }

  .poll-image-trigger {
    width: 38px;
    height: 38px;
  }

  .poll-answers-fieldset legend,
  .poll-mode-fieldset legend {
    font-size: 11px;
  }

  .poll-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .poll-mode-option {
    min-height: 38px;
    padding: 7px 8px;
  }

  .poll-mode-copy strong {
    font-size: 10px;
  }

  .poll-max-choice {
    width: 100%;
    gap: 8px;
    padding: 10px;
  }

  .poll-max-choice-copy strong {
    font-size: 10px;
  }

  .poll-max-choice-copy small {
    font-size: 9px;
  }

  .poll-max-choice select {
    width: 112px;
  }

  .poll-created > header {
    min-height: 66px;
    padding: 0 13px;
  }

  .poll-created-heading {
    gap: 9px;
  }

  .poll-created-icon {
    width: 34px;
    height: 34px;
  }

  .poll-created-heading h2 {
    font-size: 12px;
  }

  .poll-created-collapse {
    min-height: 30px;
    padding: 0 7px;
    font-size: 9px;
  }

  .poll-created-list {
    padding: 10px;
  }

  .polls-empty {
    min-height: 205px;
  }

  .poll-form-actions {
    justify-content: stretch;
  }

  .poll-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poll-image-trigger,
  .poll-mode-option,
  .poll-add-answer,
  .poll-submit,
  .poll-created-collapse,
  .poll-created-card {
    transition: none;
  }
}


/* Tipo de votação: as explicações ficam no fluxo do formulário para não serem cortadas nem dependerem de hover. */
.poll-mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.poll-mode-option {
  min-height: 48px;
  justify-content: flex-start;
  padding: 10px 12px;
}

.poll-mode-option:has(input:focus-visible) {
  outline: 2px solid #72d3df;
  outline-offset: 2px;
}

.poll-mode-copy { text-align: left; }
.poll-mode-copy strong { font-size: 11px; white-space: normal; }
.poll-mode-copy small { display: none; }

.poll-mode-help {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(91, 199, 213, .24);
  border-radius: 10px;
  background: rgba(50, 152, 166, .08);
  color: #a9dce2;
  font: 450 11px/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
}

.poll-mode-help i {
  flex: none;
  margin-top: 1px;
  color: #75cbd5;
}

body[data-theme="light"] .poll-mode-option:has(input:focus-visible) { outline-color: #25899a; }
body[data-theme="light"] .poll-mode-help {
  border-color: rgba(42, 156, 179, .2);
  background: rgba(42, 156, 179, .055);
  color: #47616d;
}
body[data-theme="light"] .poll-mode-help i { color: #25899a; }

@media (max-width: 420px) {
  .poll-mode-grid { grid-template-columns: minmax(0, 1fr); }
}
