:root {
  --vote-blue: #073f83;
  --vote-deep-blue: #062f67;
  --vote-gold: #d89a2b;
  --vote-gold-light: #f4c76a;
  --vote-ink: #1b2f4b;
  --vote-muted: #70819a;
  --vote-line: #dfe7f1;
  --vote-bg: #f4f8fc;
}

* {
  box-sizing: border-box;
}

body.vote-body {
  margin: 0;
  background: var(--vote-bg);
  color: var(--vote-ink);
  font-family: "Microsoft YaHei", "Source Han Sans CN", Arial, sans-serif;
  /* flex 布局保证内容不足一屏时页脚仍然贴底 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.vote-body > main {
  flex: 1 0 auto;
  padding-bottom: 40px;
}

body.vote-body .layer-ext-warning {
  box-sizing: border-box;
  min-width: 150px;
  background-color: #fff8e1;
  border: 1px solid #ffe08a;
  border-radius: 4px;
}

body.vote-body .layer-ext-warning .layui-layer-content {
  padding: 15px 40px 15px 20px;
  color: #a66a00;
  font-weight: 400;
}

.vote-body a {
  color: inherit;
}

.vote-header {
  min-height: 70px;
  background: #fff;
  border-bottom: 1px solid #edf1f6;
  display: flex;
  align-items: center;
  padding: 0 4vw;
  position: relative;
  z-index: 3;
}

.vote-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.vote-header-nav {
  margin-left: auto;
  display: flex;
  gap: 25px;
  align-items: center;
  color: #52647d;
  font-size: 14px;
}

.vote-header-nav a {
  text-decoration: none;
}

.vote-header-nav a:hover,
.vote-header-nav a.active {
  color: var(--vote-blue);
}

.vote-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.vote-index-shell {
  padding-bottom: 110px;
}

.vote-hero {
  min-height: 310px;
  padding: 50px 6%;
  color: #fff;
  background-color: var(--vote-blue);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.vote-hero__content {
  /*max-width: 760px;*/
  max-width: none;
  position: relative;
  width: 100%;
  padding-top: 52px;
}

.vote-logout-form {
  position: absolute;
  top: 0;
  right: 0;
}

.vote-eyebrow {
  color: var(--vote-gold-light);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.vote-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
  white-space: pre-line;
}

.vote-hero p {
  margin: 8px 0;
  color: rgba(255, 255, 255, .88);
}

.vote-hero__subtitle,
.vote-hero__time {
  width: fit-content;
  max-width: 100%;
  padding: 8px 14px;
  background: rgba(5, 31, 67, .78);
  border-left: 3px solid var(--vote-gold-light);
  color: #fff !important;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.vote-hero__subtitle {
  font-size: 16px;
}

.vote-hero__time {
  font-size: 14px;
}

.vote-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 16px 7px 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 999px;
  margin-top: 18px;
  box-shadow: 0 7px 18px rgba(5, 34, 75, .2);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .2px;
}

.vote-hero__status--active {
  color: #17633c;
  background: rgba(240, 253, 244, .96);
  border-color: rgba(183, 228, 199, .96);
}

.vote-hero__status--inactive {
  color: #a32935;
  background: rgba(255, 241, 242, .96);
  border-color: rgba(242, 184, 189, .96);
}

.vote-hero__status i {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.vote-hero__status--active i {
  background: #198754;
}

.vote-hero__status--inactive i {
  background: #dc3545;
}

.vote-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -35px auto 26px;
  position: relative;
  z-index: 2;
}

.vote-stat {
  min-height: 96px;
  background: #fff;
  border: 1px solid var(--vote-line);
  box-shadow: 0 9px 24px rgba(21, 62, 111, .08);
  padding: 18px 22px;
}

.vote-stat__value {
  color: var(--vote-blue);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.vote-stat__label {
  margin-top: 10px;
  color: var(--vote-muted);
  font-size: 13px;
}

.vote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.vote-intro-layout {
  align-items: stretch;
}

.vote-intro-layout--lifted {
  margin-top: -35px;
  position: relative;
}

.vote-intro-layout > .vote-panel {
  height: 320px;
  overflow-y: auto;
}

.vote-rich-text {
  color: #52647d;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.vote-rich-text img {
  max-width: 100%;
  height: auto;
}

.vote-rich-text table {
  max-width: 100%;
}

.vote-panel {
  background: #fff;
  border: 1px solid var(--vote-line);
  padding: 24px;
  margin-bottom: 20px;
}

.vote-panel h2,
.vote-panel h3 {
  color: var(--vote-blue);
  margin: 0 0 14px;
}

.vote-panel p {
  color: #52647d;
  line-height: 1.85;
  margin-bottom: 0;
}

.vote-rule-list {
  margin: 0;
  padding-left: 20px;
  color: #52647d;
  line-height: 1.9;
}

.vote-filter {
  background: #fff;
  border: 1px solid var(--vote-line);
  padding: 16px;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.vote-filter input,
.vote-filter select,
.vote-form input {
  border: 1px solid #cbd7e6;
  border-radius: 3px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--vote-ink);
  background: #fff;
}

.vote-filter input {
  flex: 1;
}

.vote-filter select {
  min-width: 150px;
}

.vote-primary,
.vote-secondary,
.vote-disabled {
  min-height: 40px;
  border-radius: 3px;
  padding: 0 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
}

.vote-primary {
  color: #fff;
  background: var(--vote-blue);
}

.vote-body a.vote-primary {
  color: #fff;
}

.vote-primary:hover {
  background: var(--vote-deep-blue);
}

.vote-primary:disabled,
.vote-primary:disabled:hover {
  color: #8391a1;
  background: #edf1f5;
  cursor: not-allowed;
}

.vote-primary.vote-selected {
  background: var(--vote-gold);
}

.vote-primary.vote-selected:hover {
  background: #c88718;
}

.vote-secondary {
  color: var(--vote-blue);
  background: #fff;
  border-color: #afc1d8;
}

.vote-body a.vote-secondary {
  color: var(--vote-blue);
}

.vote-disabled {
  color: #9aa8b8;
  background: #eef2f6;
  cursor: not-allowed;
}

.vote-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vote-case-card {
  background: #fff;
  border: 1px solid var(--vote-line);
  overflow: hidden;
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}

.vote-case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 62, 111, .12);
}

.vote-case-card.is-selected {
  border: 2px solid var(--vote-gold);
}

.vote-case-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #e9f0f8;
}

.vote-case-card__body {
  padding: 16px;
}

.vote-case-code {
  display: inline-block;
  color: var(--vote-blue);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.vote-case-card h3 {
  font-size: 17px;
  line-height: 1.45;
  min-height: 49px;
  margin: 0 0 8px;
  color: #1c3558;
}

.vote-case-card__summary {
  color: #718096;
  font-size: 13px;
  line-height: 1.7;
  min-height: 44px;
  margin-bottom: 12px;
}

.vote-case-meta {
  color: #687b92;
  font-size: 12px;
  line-height: 1.8;
  min-height: 42px;
}

.vote-case-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #edf1f5;
}

.vote-case-card__actions a,
.vote-case-card__actions button {
  flex: 1;
  text-align: center;
  min-height: 36px;
  line-height: 34px;
  border-radius: 3px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.vote-case-card__actions a {
  color: var(--vote-blue);
  border-color: #cbd7e6;
}

.vote-case-card__actions button {
  color: #fff;
  background: var(--vote-blue);
}

.vote-case-card__actions button:hover {
  background: var(--vote-deep-blue);
}

.vote-case-card.is-selected .vote-case-card__actions button {
  background: var(--vote-gold);
}

.vote-case-card.is-selected .vote-case-card__actions button:hover {
  background: #c88718;
}

.vote-case-card__actions button:disabled,
.vote-case-card.is-selected .vote-case-card__actions button:disabled {
  color: #8391a1;
  background: #edf1f5;
  cursor: not-allowed;
}

.vote-selection-bar {
  position: sticky;
  bottom: 18px;
  margin: 24px auto 10px;
  background: var(--vote-deep-blue);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 22px rgba(5, 34, 75, .24);
}

.vote-selection-bar__count {
  min-width: 0;
}

.vote-selection-bar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.vote-selection-submit,
.vote-logout-form .vote-logout-button {
  min-width: 156px;
  min-height: 44px;
  border-color: var(--vote-gold-light);
  background: var(--vote-gold);
  color: var(--vote-deep-blue);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
  font-size: 15px;
  font-weight: 600;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.vote-edit-cancel {
  min-width: 156px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}

.vote-selection-submit:hover,
.vote-logout-form .vote-logout-button:hover {
  border-color: #ffe1a2;
  background: var(--vote-gold-light);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .28);
  color: var(--vote-deep-blue);
  transform: translateY(-1px);
}

.vote-selection-submit:focus-visible,
.vote-logout-form .vote-logout-button:focus-visible {
  outline: 3px solid rgba(244, 199, 106, .56);
  outline-offset: 2px;
}

.vote-selection-submit:disabled,
.vote-selection-submit:disabled:hover {
  border-color: #72839a;
  background: #edf1f5;
  box-shadow: none;
  color: #8391a1;
  transform: none;
}

.vote-selection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 125, 125, .72);
  background: rgba(220, 53, 69, .16);
  color: #ff9b9b;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.vote-selection-status i {
  line-height: 1;
}

.vote-selection-bar strong {
  color: var(--vote-gold-light);
  font-size: 22px;
}

.vote-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}

.vote-pagination button {
  min-width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid #cbd7e6;
  color: var(--vote-blue);
  cursor: pointer;
}

.vote-pagination button.active {
  color: #fff;
  background: var(--vote-blue);
  border-color: var(--vote-blue);
}

.vote-pagination button:disabled {
  color: #a2afbf;
  cursor: not-allowed;
}

.vote-article {
  background: #fff;
  border: 1px solid var(--vote-line);
  padding: 36px;
  line-height: 2;
  color: #364b66;
  overflow: hidden;
}

.vote-article img {
  max-width: 100%;
  height: auto !important;
}

.vote-article table {
  max-width: 100%;
}

.vote-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.vote-detail-meta div {
  border-top: 1px solid #e8eef5;
  padding-top: 10px;
  color: #697c93;
  font-size: 13px;
}

.vote-detail-meta strong {
  display: block;
  color: var(--vote-ink);
  margin-top: 4px;
}

.vote-hero .vote-detail-meta div {
  border-top-color: rgba(255, 255, 255, .34);
  color: rgba(255, 255, 255, .86);
}

.vote-hero .vote-detail-meta strong {
  color: #fff;
}

.vote-form {
  display: grid;
  gap: 14px;
}

.vote-login-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 42px 0 56px;
  background: #062f67;
  /*background: #062f67 url('/images/index-bg.jpeg') center / cover;*/
}

.vote-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 29, 68, .82);
  pointer-events: none;
}

.vote-login-shell {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 98px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  align-items: center;
  gap: 80px;
}

.vote-login-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  max-width: 520px;
}

.vote-login-brand img {
  width: 88px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.vote-login-brand strong,
.vote-login-brand span {
  display: block;
}

.vote-login-brand strong {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.vote-login-brand span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .68);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1.1px;
  line-height: 1.55;
}

.vote-login-card {
  width: 100%;
  padding: 38px 40px 30px;
  border: 1px solid rgba(255, 255, 255, .84);
  border-top: 4px solid var(--vote-gold);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 58px rgba(0, 23, 58, .28);
}

.vote-login-card__intro {
  margin-bottom: 24px;
}

.vote-login-kicker {
  display: block;
  color: #ad741a;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.vote-login-card h1 {
  margin: 8px 0 7px;
  color: var(--vote-blue);
  font-size: 30px;
  line-height: 1.25;
}

.vote-login-card__intro p {
  margin: 0;
  color: #728198;
  font-size: 14px;
}

.vote-login-form {
  gap: 17px;
}

.vote-login-role-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vote-login-role-picker label {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ccd9e7;
  background: #f8fbff;
  color: #60738d;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.vote-login-role-picker label.active {
  border-color: var(--vote-blue);
  background: #edf5ff;
  color: var(--vote-blue);
  box-shadow: inset 3px 0 0 var(--vote-gold);
}

.vote-login-role-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vote-login-role-picker i {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #e5edf7;
  border-radius: 50%;
  font-size: 14px;
}

.vote-login-role-picker label.active i {
  color: #fff;
  background: var(--vote-blue);
}

.vote-login-role-picker span,
.vote-login-role-picker strong,
.vote-login-role-picker small {
  display: block;
}

.vote-login-role-picker strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.35;
}

.vote-login-role-picker small {
  margin-top: 3px;
  color: #8291a5;
  font-size: 11px;
}

.vote-login-field {
  display: block;
  margin: 0;
}

.vote-login-field > span {
  display: block;
  margin-bottom: 7px;
  color: #4b6079;
  font-size: 13px;
  font-weight: 600;
}

.vote-login-input-wrap {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid #cbd7e6;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.vote-login-input-wrap:focus-within {
  border-color: var(--vote-blue);
  box-shadow: 0 0 0 3px rgba(7, 63, 131, .1);
}

.vote-login-input-wrap i {
  flex: 0 0 42px;
  color: #7f91a7;
  text-align: center;
  font-size: 14px;
}

.vote-login-form .vote-login-input-wrap input {
  min-height: 42px;
  margin: 0;
  padding: 0 11px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.vote-login-form .vote-login-input-wrap input:focus {
  outline: 0;
}

.vote-login-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 10px;
}

.vote-login-code-button {
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid #afc1d8;
  background: #fff;
  color: var(--vote-blue);
  font-size: 13px;
  cursor: pointer;
}

.vote-login-code-button:hover {
  border-color: var(--vote-blue);
  background: #edf5ff;
}

.vote-login-code-button:disabled {
  border-color: #d9e1ea;
  background: #f2f5f8;
  color: #8c9aab;
  cursor: not-allowed;
}

.vote-login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

.vote-login-notice {
  margin: 0;
  color: #8a98aa;
  text-align: center;
  font-size: 13px;
}

.vote-form label {
  color: #4b6079;
  font-size: 14px;
}

.vote-form input {
  width: 100%;
  margin-top: 6px;
}

.vote-form__tip {
  color: #7b899a;
  font-size: 13px;
  line-height: 1.7;
}

.vote-form__home-link {
  text-align: center;
}

.vote-identity-field__label {
  color: #4b6079;
  font-size: 14px;
}

.vote-identity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 10px;
}

.vote-identity-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.vote-form .vote-identity-options input {
  width: auto;
  margin: 0;
}

.vote-mine-query {
  text-align: center;
}

.vote-mine-query__form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.vote-mine-query__form .vote-primary {
  width: 100%;
}

.vote-mine-option-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 24px;
  display: grid;
  gap: 10px;
}

.vote-mine-option-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--vote-line);
  background: #fbfdff;
  padding: 12px;
}

.vote-mine-option-list__index {
  flex: 0 0 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  color: #fff;
  background: var(--vote-blue);
  font-weight: 700;
}

.vote-mine-option-list__body {
  min-width: 0;
}

.vote-mine-option-list__body strong,
.vote-mine-option-list__body span {
  display: block;
}

.vote-mine-option-list__body strong {
  color: var(--vote-blue);
  margin-bottom: 4px;
}

.vote-mine-option-list__body span {
  color: #52647d;
  line-height: 1.6;
}

.vote-confirm-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.vote-confirm-item {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--vote-line);
  border-radius: 6px;
  padding: 12px;
  background: #fbfdff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vote-confirm-item:hover {
  border-color: #b9cde6;
  box-shadow: 0 2px 10px rgba(7, 63, 131, .08);
}

.vote-confirm-item img {
  width: 112px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  background: #e9f0f8;
  flex-shrink: 0;
}

.vote-confirm-item h3 {
  color: var(--vote-ink);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 5px;
}

.vote-confirm-count {
  display: inline-block;
  min-width: 28px;
  padding: 1px 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--vote-blue);
  color: #fff;
  font-size: 14px;
  text-align: center;
  vertical-align: 2px;
}

.vote-confirm-meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #f6f9fd;
  border: 1px solid var(--vote-line);
  border-radius: 6px;
}

.vote-confirm-meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}

.vote-confirm-meta li + li {
  border-top: 1px dashed var(--vote-line);
}

.vote-confirm-meta span {
  color: var(--vote-muted);
  flex-shrink: 0;
}

.vote-confirm-meta strong {
  color: var(--vote-ink);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.vote-confirm-submit {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
}

.vote-empty {
  text-align: center;
  color: #7b899a;
  padding: 50px 20px;
}

.vote-success {
  border: 1px solid #b9dec8;
  background: #f0fbf4;
  color: #26663b;
  padding: 36px 24px;
  border-radius: 6px;
  line-height: 1.8;
  text-align: center;
}

.vote-success h2 {
  color: #26663b;
  font-size: 24px;
  margin: 0 0 8px;
}

.vote-success .fa-circle-check {
  font-size: 30px;
  vertical-align: -3px;
}

.vote-success p {
  color: #3d7a55;
  margin: 0 auto;
  max-width: 460px;
}

.vote-footer {
  margin-top: auto;
  padding: 24px 16px;
  background: var(--vote-deep-blue);
  color: rgba(255, 255, 255, .78);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .vote-login-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .vote-login-brand {
    justify-content: center;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .vote-layout {
    grid-template-columns: 1fr;
  }

  .vote-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vote-login-page {
    padding: 24px 0 34px;
  }

  .vote-login-shell {
    width: min(100% - 24px, 520px);
    gap: 24px;
  }

  .vote-login-brand {
    align-items: flex-start;
    gap: 10px;
  }

  .vote-login-brand img {
    width: 52px;
    height: 48px;
  }

  .vote-login-brand strong {
    font-size: 15px;
    text-align: left;
  }

  .vote-login-brand span {
    max-width: 250px;
    font-size: 8px;
    letter-spacing: .65px;
    text-align: left;
  }

  .vote-login-card {
    padding: 28px 20px 24px;
  }

  .vote-login-card h1 {
    font-size: 26px;
  }

  .vote-login-role-picker {
    gap: 7px;
  }

  .vote-login-role-picker label {
    min-height: 70px;
    gap: 7px;
    padding: 9px;
  }

  .vote-login-role-picker i {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .vote-login-role-picker strong {
    font-size: 13px;
  }

  .vote-login-role-picker small {
    font-size: 10px;
  }

  .vote-login-code-row {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 7px;
  }

  .vote-login-code-button {
    font-size: 12px;
  }

  .vote-header {
    min-height: 56px;
    padding: 6px 10px;
    align-items: center;
  }

  .vote-logo {
    height: 40px;
    max-width: 58px;
  }

  .vote-header-nav {
    flex: 1;
    gap: 8px;
    margin-left: 10px;
    font-size: 11px;
    line-height: 1.3;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .vote-shell {
    width: min(100% - 24px, 1200px);
  }

  .vote-hero {
    min-height: 245px;
    padding: 28px 16px 34px;
  }

  .vote-eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 1.2px;
  }

  .vote-hero h1 {
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.28;
  }

  .vote-hero__content {
    padding-top: 46px;
  }

  .vote-selection-submit,
  .vote-logout-form .vote-logout-button {
    min-width: 108px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .vote-edit-cancel {
    min-width: 108px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .vote-hero p {
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .vote-hero__subtitle,
  .vote-hero__time {
    padding: 6px 10px;
    line-height: 1.55;
  }

  .vote-hero__status {
    margin-top: 14px;
    min-height: 34px;
    padding: 6px 12px 6px 8px;
    font-size: 12px;
  }

  .vote-hero__status i {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .vote-stats {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .vote-filter {
    flex-wrap: wrap;
  }

  .vote-filter input,
  .vote-filter select,
  .vote-filter button {
    width: 100%;
  }

  .vote-case-grid {
    grid-template-columns: 1fr;
  }

  .vote-intro-layout--lifted {
    margin-top: -24px;
  }

  .vote-layout {
    gap: 16px;
  }

  #vote-cases {
    margin-top: 16px;
  }

  .vote-intro-layout > .vote-panel {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .vote-case-card h3,
  .vote-case-card__summary {
    min-height: auto;
  }

  .vote-panel,
  .vote-article {
    padding: 16px;
  }

  .vote-panel h2,
  .vote-panel h3 {
    margin-bottom: 10px;
  }

  .vote-panel h2 {
    font-size: 22px;
    line-height: 1.35;
  }

  .vote-panel p,
  .vote-rule-list {
    font-size: 13px;
    line-height: 1.8;
  }

  .vote-layout > .vote-panel {
    margin-bottom: 0;
  }

  .vote-filter {
    gap: 8px;
    padding: 12px;
    margin-bottom: 12px;
  }

  .vote-filter input,
  .vote-filter select,
  .vote-filter button {
    min-height: 38px;
  }

  .vote-case-card__body {
    padding: 12px;
  }

  .vote-case-card h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .vote-case-card__summary {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.6;
  }

  .vote-case-meta {
    min-height: auto;
    font-size: 11px;
    line-height: 1.7;
  }

  .vote-case-card__actions {
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
  }

  .vote-case-card__actions a,
  .vote-case-card__actions button {
    min-height: 34px;
    line-height: 32px;
    font-size: 12px;
  }

  .vote-detail-meta {
    grid-template-columns: 1fr;
  }

  .vote-selection-bar {
    position: static;
    bottom: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    margin-top: 18px;
    margin-bottom: 8px;
    padding: 12px;
  }

  .vote-selection-bar strong {
    font-size: 20px;
  }

  .vote-selection-bar__actions {
    display: contents;
  }

  .vote-selection-status {
    order: 0;
    grid-column: 1 / -1;
    width: 100%;
    white-space: normal;
  }

  .vote-selection-bar__actions .vote-selection-submit {
    order: 1;
    min-height: 34px;
    min-width: 108px;
    padding: 0 10px;
    font-size: 12px;
  }

  .vote-selection-bar__count {
    order: 1;
  }

  .vote-footer {
    margin-top: auto;
    padding: 18px 12px;
    font-size: 12px;
  }
}
