:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #e9f0fb;
  background: #030712;
  font-synthesis: none;
  --text: #e9f0fb;
  --muted: #b0bdd4;
  --cyan: #83e6ff;
  --violet: #e38bfa;
  --line: #66718d;
  --panel: rgba(7, 12, 24, .91);
}
* { box-sizing: border-box; }
html { overflow-x: clip; overflow-y: scroll; scrollbar-gutter: stable; overflow-anchor: none; }
body { margin: 0; min-width: 320px; min-height: 100svh; position: relative; isolation: isolate; overflow-anchor: none; font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.page-atmosphere { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; min-height: 100svh; z-index: -2; pointer-events: none; background: #030712 url("assets/nebula-background.webp") center center / cover no-repeat; }
.page-atmosphere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 4, 13, .04), rgba(1, 4, 13, .06) 65%, rgba(1, 4, 13, .18)); }
.site-shell { display: flex; flex-direction: column; width: min(1320px, calc(100% - 64px)); min-height: 100svh; margin: 0 auto; padding-bottom: 30px; overflow-anchor: none; }
.topbar { flex-shrink: 0; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 72px 16px 130px; border-bottom: 1px solid rgba(141, 155, 206, .42); }
.beta-info { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; gap: 8px 20px; padding: 8px 11px; border: 1px solid rgba(151, 155, 168, .35); border-radius: 6px; background: rgba(27, 28, 35, .9); font-size: 16px; color: #dce7ff; }
.beta-info strong { font-size: 21px; font-weight: 600; letter-spacing: .01em; color: var(--cyan); white-space: nowrap; }
.beta-divider { width: 1px; height: 24px; background: #8a76a3; }
.header-controls { display: grid; justify-items: end; gap: 6px; flex: 0 0 auto; }
.language-control { min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 13px; background: rgba(10, 15, 29, .83); border: 1px solid #4d5673; border-radius: 10px; }
.language-flag { font-size: 17px; line-height: 1; }
.language-control select { width: 112px; padding: 8px 2px; border: 0; color: #ebf0fc; background: transparent; font-size: 15px; }
.language-control select option { background: #11182a; }
.preview-indicator { display: inline-flex; align-items: center; gap: 5px; color: #adbad1; font-size: 10px; letter-spacing: .03em; }
.preview-indicator::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #99bed3; }
.portal-main { display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 58px; align-items: start; margin-top: 86px; margin-bottom: 32px; overflow-anchor: none; }
.brand-stage { min-height: 500px; display: flex; align-items: center; justify-content: flex-end; padding-top: 12px; }
.brand-image { display: block; width: min(100%, 440px); height: auto; object-fit: contain; }
.access-column { width: 100%; max-width: 630px; min-width: 0; }
.login-card { position: relative; padding: 27px 40px 23px; border: 1px solid #697199; border-radius: 19px; background: linear-gradient(115deg, rgba(13, 18, 34, .96), rgba(4, 9, 19, .94) 66%, rgba(20, 9, 33, .9)); box-shadow: 0 15px 55px rgba(0, 0, 0, .25); }
.login-card::before { content: ""; position: absolute; top: -1px; left: 12%; width: 42%; height: 1px; background: linear-gradient(90deg, transparent, #a2eaff, transparent); box-shadow: 0 0 17px 2px rgba(89, 181, 255, .38); pointer-events: none; }
.login-card h1 { margin: 0 0 23px; font-size: clamp(30px, 2.75vw, 41px); line-height: 1.2; font-weight: 650; letter-spacing: -.035em; color: #dceeff; }
.login-fields { display: grid; gap: 20px; }
.field { display: grid; min-width: 0; gap: 8px; }
.field-label { display: block; font-size: 17px; line-height: 1.4; font-weight: 500; color: #f0f2fb; }
.input-shell { position: relative; display: flex; align-items: center; min-height: 55px; border: 1px solid #78839e; border-radius: 9px; background: linear-gradient(110deg, #0e1421, #0d1422 75%, #101321); box-shadow: inset 0 1px 5px rgba(0, 0, 0, .3); }
.input-shell:focus-within { border-color: #a3e8ff; box-shadow: 0 0 0 1px rgba(127, 221, 255, .18), 0 0 18px rgba(91, 181, 246, .1); }
.field-icon { flex: 0 0 59px; width: 59px; height: 32px; display: grid; place-items: center; color: #c2ccdf; border-inline-end: 1px solid #3d475d; }
.field-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.field-input { display: block; min-width: 0; width: 100%; min-height: 53px; padding: 12px 18px; border: 0; border-radius: 8px; color: #f5f7ff; background: transparent; font-size: 17px; letter-spacing: .005em; }
.field-input::placeholder { color: #aab5cb; opacity: 1; }
.input-shell .field-input:focus-visible { outline: 0; }
.password-shell .field-input { direction: ltr; padding-inline-end: 54px; }
.password-toggle { position: absolute; inset-inline-end: 5px; inset-block-start: 5px; width: 43px; height: 43px; display: grid; place-items: center; padding: 10px; border: 0; border-radius: 6px; color: #aebbd3; background: transparent; }
html[dir="rtl"] .password-shell .field-input { padding-inline-start: 54px; padding-inline-end: 18px; }
.password-toggle:hover { color: #e9f5ff; background: rgba(150, 189, 231, .1); }
.password-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.primary-button { min-height: 51px; padding: 12px 24px; border: 2px solid transparent; border-radius: 11px; background: linear-gradient(140deg, #0f1a2b, #0a101c 65%, #21112c) padding-box, linear-gradient(105deg, #78e6ff, #a9caed 48%, #e98cff) border-box; color: #f5f5ff; box-shadow: inset 0 10px 24px rgba(159, 197, 238, .12), 0 0 16px rgba(126, 203, 255, .1); font-size: 17px; font-weight: 600; }
.primary-button:hover { background: linear-gradient(140deg, #17283d, #11182a 65%, #301b3b) padding-box, linear-gradient(105deg, #a0eeff, #bcd9fc 48%, #f0a8ff) border-box; }
.login-submit { width: 100%; min-height: 59px; margin-top: 28px; font-size: 25px; font-weight: 500; }
.account-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-top: 17px; }
.text-button { display: inline; padding: 0; border: 0; color: #bdddfb; background: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; line-height: 1.4; text-align: inherit; }
.text-button:hover { color: #edb4ff; }
.timezone { margin: 17px 0 0; color: #9aa7bf; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.status-line, .dialog-status { margin: 15px 0 0; color: #c6ecff; font-size: 13px; }
.status-line:empty, .dialog-status:empty { display: none; }
.disclosures { display: grid; gap: 9px; margin-top: 18px; overflow-anchor: none; }
.portal-details { min-width: 0; overflow-anchor: none; }
.portal-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; min-height: 46px; padding: 9px 25px; border: 1px solid #657398; border-radius: 11px; background: linear-gradient(110deg, rgba(12, 20, 36, .94), rgba(7, 13, 26, .92)); color: #f1f4ff; font-size: 17px; font-weight: 500; }
.portal-details > summary::-webkit-details-marker { display: none; }
.portal-details > summary:hover { border-color: #9eb4d8; background: rgba(17, 28, 47, .95); }
.disclosure-chevron { flex: 0 0 20px; width: 20px; height: 20px; stroke: #cbd6ec; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.portal-details[open] > summary .disclosure-chevron { transform: rotate(180deg); }
.gallery-panel, .support-panel { margin-top: 9px; padding: 18px; border: 1px solid #647293; border-radius: 11px; background: rgba(5, 12, 25, .97); box-shadow: 0 14px 40px rgba(0, 0, 0, .22); overflow-anchor: none; }
.gallery-panel { width: calc(100% + 180px); margin-left: -180px; }
.gallery-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.gallery-pair figure { display: grid; gap: 10px; margin: 0; min-width: 0; }
.gallery-pair figcaption { color: #e0eaff; font-size: 13px; text-align: center; }
.gallery-image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #455473; border-radius: 5px; background: #070c17; cursor: zoom-in; }
.gallery-image-button:hover { border-color: var(--cyan); }
.gallery-image-button img { display: block; width: 100%; height: auto; }
.gallery-caption { margin: 12px 0 0; color: #a9b7cf; font-size: 11px; text-align: center; }
.support-panel p { margin: 0 0 15px; color: #c6d2e8; font-size: 14px; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact-address { color: #b3c1d9; font-size: 13px; overflow-wrap: anywhere; }
.secondary-button { min-height: 40px; padding: 9px 15px; border: 1px solid #62799b; border-radius: 7px; color: #dae8ff; background: #152239; font-size: 13px; }
.secondary-button:hover { border-color: #a2d7f1; background: #21334c; }
.vote-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.vote-actions > button, .vote-actions .vote-card { min-width: 0; }
.vote-actions .secondary-button, .vote-actions .vote-card { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px; border: 1px solid #62799b; border-radius: 7px; background: linear-gradient(135deg, #17263d, #101b2d); color: #e0ebfc; font-size: 12px; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.vote-actions .secondary-button:hover, .vote-actions .vote-card:hover { border-color: #a2d7f1; background: #21334c; }
.support-banner, .vote-banner { display: block; width: 100%; max-width: 468px; margin: 0 auto 16px; padding: 0; overflow: hidden; border: 1px solid #536683; border-radius: 7px; background: #0b1425; }
.support-banner img, .vote-banner img { display: block; width: 100%; height: auto; }
.support-banner > span { display: block; padding: 7px 10px; font-size: 12px; color: #c6d9ee; }
.vote-actions .vote-card { flex-direction: column; gap: 5px; min-height: 66px; }
.vote-card small { font-size: 11px; color: #a9c5e0; }
.support-extra-links { margin-top: 16px; text-align: center; }
.site-footer { display: grid; flex: 0 0 auto; justify-items: center; gap: 8px; width: 100%; max-width: 950px; margin: auto auto 0; overflow-anchor: none; text-align: center; font-size: 13px; color: #d4deee; text-shadow: 0 1px 4px #030712; }
.footer-contact { font-size: 15px; color: #ecf3ff; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 11px; }
.footer-links .text-button { font-size: 12px; color: #d5e6fa; }
.footer-links > span { color: #b4c2dc; font-size: 11px; }
.copyright { color: #c5d0e3; font-size: 13px; letter-spacing: .02em; }
.preview-dialog, .image-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100svh - 40px); margin: auto; padding: 25px; overflow: auto; border: 1px solid #7a86ac; border-radius: 17px; background: #0b1323; color: #eaf1ff; box-shadow: 0 25px 100px #0009; }
.preview-dialog { width: min(600px, calc(100% - 32px)); overscroll-behavior: contain; scroll-padding-block: 82px 20px; }
dialog::backdrop { background: rgba(1, 5, 14, .84); backdrop-filter: blur(6px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.preview-dialog .dialog-header { position: sticky; inset-block-start: -25px; z-index: 2; margin-block-start: -25px; margin-inline: -25px; padding: 22px 25px 16px; border-block-end: 1px solid #33445f; background: #0b1323; }
.dialog-header h2 { margin: 0; color: #def0ff; font-size: 23px; line-height: 1.3; font-weight: 600; }
.dialog-close { flex: 0 0 auto; min-height: 38px; padding: 7px 11px; border: 1px solid #7181a3; border-radius: 6px; background: #152239; color: #dfebff; font-size: 12px; }
.dialog-close:hover { background: #23334d; }
#dialog-body { color: #c8d4e9; font-size: 14px; text-align: start; overflow-wrap: anywhere; }
#dialog-body p { margin: 0 0 14px; }
#dialog-body p:last-child { margin-bottom: 0; }
.preview-form { display: grid; gap: 17px; }
.preview-form .field-label { font-size: 14px; }
.preview-form .field-input, #dialog-body input { min-height: 46px; padding: 10px 12px; border: 1px solid #7483a2; border-radius: 7px; background: #0b1628; font-size: 16px; }
.preview-form .primary-button { margin-top: 4px; }
.dialog-note { padding: 11px 13px; border-inline-start: 2px solid #87cde7; background: #132339; color: #bfcee4; font-size: 12px; }
.consent-list { display: grid; gap: 2px; min-inline-size: 0; margin: 3px 0 0; padding: 12px 0 0; border: 0; border-block-start: 1px solid #33445f; }
.consent-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; column-gap: 12px; min-block-size: 44px; padding-block: 10px; padding-inline: 2px; color: #dce7fa; text-align: start; cursor: pointer; }
#dialog-body .consent-row > input[type="checkbox"] { appearance: auto; inline-size: 19px; block-size: 19px; min-inline-size: 19px; min-block-size: 19px; min-height: 19px; margin-block: 2px 0; margin-inline: 0; padding: 0; border: initial; border-radius: 3px; background: initial; accent-color: #83e6ff; cursor: pointer; }
.consent-copy { display: block; min-width: 0; }
.consent-title { color: #dce7fa; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.consent-meta { display: inline; margin-inline-start: 7px; color: #a9b8d0; font-size: 11px; line-height: 1.5; }
.consent-links { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 15px; margin-block-start: 2px; text-align: start; }
.consent-links .text-button { display: inline-flex; align-items: center; min-block-size: 44px; padding-block: 6px; font-size: 13px; }
.image-dialog { width: min(1250px, calc(100% - 40px)); padding: 18px; }
.image-dialog .dialog-header { margin-bottom: 13px; }
#image-dialog-img { display: block; width: 100%; height: auto; max-height: calc(100svh - 150px); object-fit: contain; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1280px) {
  .topbar { padding-inline: 30px; }
  .beta-info { font-size: 14px; gap: 7px 15px; }
  .beta-info strong { font-size: 18px; }
  .portal-main { gap: 38px; margin-top: 65px; }
  .brand-stage { min-height: 475px; }
  .login-card { padding: 26px 29px 23px; }
  .login-card h1 { font-size: 34px; }
  .field-label { font-size: 15px; }
  .field-input { font-size: 16px; }
  .account-actions .text-button { font-size: 14px; }
}
@media (max-width: 1000px) {
  .site-shell { width: calc(100% - 44px); }
  .topbar { padding-inline: 10px; }
  .beta-info { max-width: 610px; font-size: 12px; }
  .beta-info strong { font-size: 16px; }
  .portal-main { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: 26px; margin-top: 56px; }
  .brand-stage { min-height: 440px; }
  .login-card { padding: 25px 23px 21px; }
  .login-card h1 { font-size: 30px; }
  .field-icon { flex-basis: 48px; width: 48px; }
  .field-input { padding-inline-start: 13px; }
  .portal-details > summary { padding-inline: 19px; font-size: 15px; }
  .gallery-panel { width: calc(100% + 130px); margin-left: -130px; }
}
@media (max-width: 800px) {
  .site-shell { width: calc(100% - 40px); }
  .topbar { align-items: flex-start; padding: 18px 0; gap: 18px; }
  .beta-info { display: grid; gap: 5px; max-width: 430px; }
  .beta-divider { display: none; }
  .portal-main { grid-template-columns: minmax(0, 1fr); gap: 27px; margin-top: 28px; }
  .brand-stage { justify-content: center; min-height: 0; padding: 0; }
  .brand-image { width: min(340px, 68%); }
  .access-column { max-width: 610px; margin: 0 auto; }
  .login-card { padding: 28px 30px 23px; }
  .login-card h1 { font-size: 34px; }
  .gallery-panel { width: 100%; margin-left: 0; }
  .page-atmosphere { background-position: 42% center; }
}
@media (max-width: 620px) {
  .vote-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .site-shell { width: calc(100% - 28px); padding-bottom: 24px; }
  .topbar { gap: 10px; }
  .beta-info strong { font-size: 14px; white-space: normal; }
  .beta-info { font-size: 11px; }
  .language-control { gap: 3px; padding-left: 8px; padding-right: 5px; border-radius: 8px; }
  .language-flag { font-size: 14px; }
  .language-control select { width: 84px; font-size: 12px; }
  .preview-indicator { font-size: 9px; }
  .portal-main { gap: 23px; margin-top: 24px; }
  .brand-image { width: min(290px, 78%); }
  .login-card { padding: 24px 21px 20px; border-radius: 15px; }
  .login-card h1 { font-size: clamp(25px, 6.5vw, 32px); margin-bottom: 22px; }
  .login-fields { gap: 18px; }
  .field-label { font-size: 14px; }
  .field-icon { flex-basis: 42px; width: 42px; height: 29px; }
  .field-icon svg { width: 22px; height: 22px; }
  .input-shell { min-height: 53px; }
  .field-input { min-height: 51px; padding: 11px 12px; font-size: 16px; }
  .login-submit { min-height: 55px; margin-top: 24px; font-size: 22px; }
  .account-actions { gap: 13px 10px; }
  .account-actions .text-button { font-size: 12px; }
  .timezone { font-size: 12px; }
  .portal-details > summary { min-height: 45px; padding: 10px 16px; font-size: 14px; }
  .disclosure-chevron { width: 18px; height: 18px; flex-basis: 18px; }
  .gallery-panel, .support-panel { padding: 13px; }
  .gallery-pair { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .gallery-pair figcaption { font-size: 12px; }
  .site-footer { gap: 9px; }
  .footer-links { gap: 7px 9px; }
  .footer-links .text-button { font-size: 11px; }
  .footer-contact { font-size: 13px; }
  .preview-dialog, .image-dialog { padding: 19px; }
  .preview-dialog .dialog-header { inset-block-start: -19px; margin-block-start: -19px; margin-inline: -19px; padding: 17px 19px 14px; }
  html[dir="rtl"] .password-shell .field-input { padding-inline-start: 54px; padding-inline-end: 12px; }
  .dialog-header { align-items: flex-start; gap: 12px; }
  .dialog-header h2 { font-size: 20px; }
}
@media (max-width: 360px) {
  .vote-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) {
  .language-control select { min-height: 44px; }
  .password-toggle { min-width: 44px; min-height: 44px; }
  .account-actions .text-button, .footer-links .text-button { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-links { gap: 0 10px; }
  .secondary-button, .dialog-close { min-height: 44px; }
}
