.q-app {
  --q-ink: #e6f2fc;
  --q-muted: #a7bbcd;
  --q-line: #2b4359;
  --q-blue: #6ae4ef;
  min-height: 100vh;
  background: radial-gradient(ellipse at top right,#10314680,transparent 50%), #081422;
  color-scheme: dark;
  color: var(--q-ink);
  font: 1rem/1.6 "Inter", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
.q-app *, .q-app *::before, .q-app *::after { box-sizing: border-box; }
.q-app h1, .q-app h2, .q-app p { margin: 0; }
.q-app input, .q-app button, .q-app textarea, .q-app select { font: inherit; }
.q-app button { cursor: pointer; }
.q-app [hidden] { display: none !important; }
.q-app :focus-visible { outline: 3px solid #75eef4; outline-offset: 3px; }
.q-app button:disabled { cursor: default; }
.q-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.q-top { background: #0a1929; border-bottom: 1px solid #273e53; }
.q-top-in, .q-wrap { width: min(1192px, calc(100% - 80px)); margin: auto; }
.q-top-in { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.q-identity, .q-user, .q-exit, .q-meta, .q-meta span, .q-aside-title, .q-btn, .q-autosave {
  display: inline-flex; align-items: center;
}
.q-identity { gap: .75rem; white-space: nowrap; }
.q-identity strong { font-size: 1.18rem; font-weight: 740; letter-spacing: .055em; color: #ecf7ff; }
.q-mark { display: block; width: 35px; height: 35px; }
.q-divider { width: 1px; height: 18px; background: #385164; }
.q-top-label { font-size: .91rem; color: var(--q-muted); }
.q-user { gap: .55rem; min-width: 0; }
.q-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #164253; color: #9cf2ee; font-weight: bold; font-size: .88rem; }
.q-username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 11em; font-size: .92rem; }
.q-demo { font-size: .78rem; padding: 0 .42rem; color: #a3eaf1; background: #123344; border-radius: 4px; }
.q-exit { gap: .35rem; color: #b5c9d6; background: transparent; border: 0; font-size: .88rem !important; padding: .5rem .25rem .5rem .5rem; }
.q-exit:hover, .q-link:hover { color: #a4fcff; text-decoration: underline; }
.q-wrap { padding: 2rem 0 3rem; }
.q-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  padding: 1.75rem 2rem; min-height: 163px; border-radius: 15px; background: linear-gradient(110deg,#102a41,#12324c 61%,#104957); border: 1px solid #294e60;
  color: #fff;
}
.q-hero-copy { position: relative; z-index: 1; max-width: 100%; }
.q-section-label { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; color: #a6dfe4; font-weight: 600; }
.q-section-label::before { content: ""; width: 20px; height: 2px; background: #5ce9ed; }
.q-hero h1 { margin: .4rem 0 .75rem; font-size: clamp(1.5rem, 2.3vw, 2.15rem); font-weight: 680; line-height: 1.35; text-wrap: balance; overflow-wrap: anywhere; }
.q-meta { flex-wrap: wrap; gap: .55rem 1.15rem; font-size: .88rem; color: #cee3ef; }
.q-meta span { gap: .4rem; overflow-wrap: anywhere; }
.q-version { border: 1px solid #486578; border-radius: 4px; padding: 0 .43rem; color: #bce8ec; font: .79rem/1.6 ui-monospace, Consolas, monospace; }
.q-hero-art { position: absolute; z-index: -1; pointer-events: none; width: 42%; height: 100%; right: 0; top: 0; overflow: hidden;
  background-image: linear-gradient(#8ebfff19 1px, transparent 1px),linear-gradient(90deg,#8ebfff19 1px,transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(90deg,transparent,#000 40%); }
.q-hero-art::before, .q-hero-art::after, .q-hero-art i, .q-hero-art b {
  content: ""; position: absolute; width: 100px; height: 100px; right: 20%; bottom: -18px; border-radius: 50%;
  border: 1px solid #75cafa8f; transform: scaleX(1.65) rotate(-30deg) skewX(14deg);
}
.q-hero-art::after { width: 160px; height: 160px; right: calc(20% - 30px); bottom: -48px; border-style: dashed; opacity: .7; }
.q-hero-art i { width: 230px; height: 230px; right: calc(20% - 65px); bottom: -83px; opacity: .65; }
.q-hero-art b { width: 300px; height: 300px; right: calc(20% - 100px); bottom: -118px; opacity: .48; }
.q-work { display: grid; grid-template-columns: minmax(230px, 27%) minmax(0, 1fr); align-items: start; gap: 1.4rem; margin-top: 1.4rem; }
.q-sidebar, .q-card, .q-receipt { background: linear-gradient(155deg,#13293b,#102132 70%); border: 1px solid var(--q-line); border-radius: 13px; }
.q-sidebar { position: sticky; top: 1rem; padding: 1.55rem; }
.q-aside-title { gap: .55rem; color: var(--q-blue); }
.q-aside-title h2 { font-size: 1rem; font-weight: 650; color: var(--q-ink); }
.q-progress-numbers { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; margin-top: 1.35rem; }
.q-percent { color: #81e7ed; font-size: 1.8rem; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
.q-done, .q-map-label, .q-legend { font-size: .86rem; color: var(--q-muted); }
.q-progress { display: block; appearance: none; width: 100%; height: 6px; border: 0; border-radius: 6px; background: #203649; margin: .6rem 0 1.6rem; }
.q-progress::-webkit-progress-bar { border-radius: 6px; background: #203649; }
.q-progress::-webkit-progress-value { background: #56d5e1; border-radius: 6px; }
.q-progress::-moz-progress-bar { background: #56d5e1; border-radius: 6px; }
.q-map-label { border-top: 1px solid #263d52; padding-top: 1.2rem; font-weight: 600; color: #bad1df; }
.q-nav { display: grid; grid-template-columns: repeat(auto-fill,minmax(35px,1fr)); gap: .45rem; margin: .8rem 0 1rem; max-height: 32vh; overflow-y: auto; padding: 3px; }
.q-nav button { appearance: none; border: 1px solid #365064; background: #102437; color: #c1d1de; border-radius: 6px; min-height: 34px; font: 600 .87rem/1.4 ui-monospace, Consolas, monospace; }
.q-nav button.q-filled { background: #143a39; border-color: #32716a; color: #9cebd3; }
.q-nav button[aria-current="step"] { color: #072535; background: var(--q-blue); border-color: var(--q-blue); }
.q-nav button:hover { box-shadow: inset 0 0 0 1px #55ccdc; }
.q-legend { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .77rem; }
.q-legend span { display: inline-flex; align-items: center; gap: .24rem; }
.q-legend i { width: 9px; height: 9px; border-radius: 2px; border: 1px solid #6e8698; background: #102437; }
.q-legend i.q-active-dot { background: var(--q-blue); border-color: var(--q-blue); }
.q-legend i.q-done-dot { background: #143a39; border-color: #4a8c75; }
.q-main-col { min-width: 0; }
.q-card { box-shadow: 0 4px 16px #010b1740; padding: clamp(1.25rem,2.5vw,2.1rem); }
.q-card-head, .q-card-foot, .q-draft-row { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.q-kind { font-size: .82rem; font-weight: 640; color: #83eaf1; background: #163749; border-radius: 5px; padding: .12rem .62rem; }
.q-step { font-size: .84rem; color: #a9bbcc; font-variant-numeric: tabular-nums; }
.q-card h2 { font-size: clamp(1.2rem,1.7vw,1.55rem); font-weight: 660; line-height: 1.55; margin: 1.02rem 0 .52rem; overflow-wrap: anywhere; white-space: pre-line; }
.q-card h2:focus:not(:focus-visible) { outline: none; }
.q-instruction { display: flex; gap: .6rem; align-items: baseline; font-size: .9rem; color: var(--q-muted); margin-bottom: 1.3rem; }
.q-req, .q-opt { white-space: nowrap; font-size: .8rem; font-weight: 600; }
.q-req { color: #ffb881; }
.q-instruction p { overflow-wrap: anywhere; white-space: pre-line; }
.q-picks { min-width: 0; display: grid; padding: 0; margin: 0; border: 0; gap: .55rem; }
.q-pick { position: relative; display: flex; gap: .75rem; align-items: center; padding: .68rem .9rem; min-height: 47px; border: 1px solid #344e63; border-radius: 7px; color: #d2e3f0; cursor: pointer; overflow-wrap: anywhere; }
.q-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-indicator { flex: none; width: 17px; height: 17px; border-radius: 50%; border: 1.4px solid #668397; background: #102437; display: grid; place-items: center; }
.q-pick input[type="checkbox"] + .q-indicator { border-radius: 4px; }
.q-indicator svg { opacity: 0; stroke-width: 2.5; }
.q-pick:has(input:checked) { background: #123649; border-color: #53b4be; color: #c2f9fc; }
.q-pick input:checked + .q-indicator { border-color: var(--q-blue); background: var(--q-blue); color: #082731; }
.q-pick input:checked + .q-indicator svg { opacity: 1; }
.q-pick input[type="radio"]:checked + .q-indicator::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #062733; }
.q-pick:has(input:focus-visible) { outline: 3px solid #6af0fb; outline-offset: 2px; }
.q-pick:hover:has(input:enabled) { border-color: #4a9fae; }
.q-pick:has(input:disabled) { cursor: default; }
.q-scale { grid-template-columns: repeat(auto-fit,minmax(77px,1fr)); }
.q-scale .q-pick { flex-direction: column; justify-content: center; text-align: center; gap: .55rem; padding: .9rem .4rem; }
.q-text { width: 100%; border: 1px solid #3a5367; border-radius: 7px; padding: .75rem .9rem; color: #e1eef7; background: #102437; line-height: 1.65; }
textarea.q-text { resize: vertical; min-height: 7rem; }
.q-text:focus { outline: 2px solid #53c2cf; border-color: #8cedf3; }
.q-text:disabled { opacity: 1; background: #0f2031; color: #b9cdda; }
.q-invalid { margin-top: .65rem !important; color: #ffa59b; font-size: .9rem; }
.q-card-foot { border-top: 1px solid #294156; margin-top: 1.55rem; padding-top: 1.15rem; }
.q-btn { min-height: 40px; justify-content: center; gap: .45rem; border-radius: 7px; border: 1px solid #3f596f; color: #cce4f0; background: #102437; font-size: .93rem !important; font-weight: 600 !important; padding: .45rem 1rem; }
.q-btn:hover:enabled { background: #203e51; border-color: #62889e; }
.q-btn.q-primary { border-color: var(--q-blue); background: var(--q-blue); color: #052533; padding-inline: 1.25rem; }
.q-btn.q-primary:hover:enabled { background: #93f4f6; border-color: #93f4f6; }
.q-btn:disabled { opacity: .48; }
.q-draft-row { margin-top: .85rem; font-size: .87rem; color: var(--q-muted); }
.q-autosave { gap: .4rem; flex-wrap: wrap; }
.q-autosave svg { flex: none; }
.q-save { flex: none; background: transparent; min-height: 35px; font-size: .85rem !important; }
.q-link { color: var(--q-blue); font-weight: 600 !important; border: 0; padding: .2rem .3rem; background: transparent; }
.q-dialog { color: var(--q-ink); width: min(440px,calc(100vw - 2.2rem)); padding: 1.8rem; border: 1px solid var(--q-line); border-radius: 13px; margin: auto; background: #102437; box-shadow: 0 12px 60px #000914a0; }
.q-dialog::backdrop { background: #020b16bb; }
.q-dialog h2, .q-receipt h1 { font-size: 1.4rem; }
.q-dialog p { color: var(--q-muted); margin: .6rem 0; }
.q-dialog-actions, .q-receipt-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; justify-content: flex-end; }
.q-app .q-problem { color: #ffaaa0; }
.q-receipt { max-width: 570px; margin: clamp(1rem,5vh,4rem) auto; padding: clamp(1.35rem,5vw,3rem); text-align: center; box-shadow: 0 8px 35px #020d193d; }
.q-success-icon { width: 63px; height: 63px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; color: #91f2cb; background: #183c39; }
.q-wait { background: #193546; color: #98e8f4; }
.q-receipt > p { color: var(--q-muted); margin: .45rem 0 1.6rem; }
.q-receipt-list { padding: .7rem 1.1rem; text-align: left; background: #0b1c2c; border: 1px solid #2a4256; border-radius: 8px; }
.q-receipt-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; }
.q-receipt-list dt { color: var(--q-muted); flex: none; }
.q-receipt-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.q-receipt-actions { justify-content: center; }
.q-profile-summary { margin-top: 1.4rem; padding-top: .8rem; border-top: 1px solid var(--q-line); }
.q-summary-head { display: flex; align-items: center; justify-content: space-between; }
.q-summary-head h3 { font-size: .93rem; margin: 0; }
.q-summary-head .q-link { font-size: .84rem; }
.q-profile-summary dl { margin: .48rem 0 0; font-size: .87rem; }
.q-profile-summary dl div { display: grid; grid-template-columns: 4em minmax(0,1fr); gap: .6rem; margin: .2rem 0; }
.q-profile-summary dt, .q-access dt { color: var(--q-muted); }
.q-profile-summary dd { margin: 0; overflow-wrap: anywhere; }
.q-text::placeholder { color: #91a7b8; opacity: 1; }
.q-register-wrap { width: min(1040px,calc(100% - 80px)); margin: auto; padding: clamp(30px,7.5vh,100px) 0 3rem; }
.q-register { display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; border-radius: 17px; border: 1px solid #2b465a; box-shadow: 0 20px 80px #020b175c; background: #102333; }
.q-reg-side { position: relative; isolation: isolate; overflow: hidden; min-width: 0; padding: clamp(1.65rem,3.75vw,3rem); display: flex; flex-direction: column; align-items: flex-start; border-right: 1px solid #2b4859; background: linear-gradient(140deg,#102c40,#113446 45%,#103142 65%,#0c2335); }
.q-reg-side::before { position: absolute; z-index: -1; content: ""; inset: 0; background-image: linear-gradient(#80f1fa0a 1px,transparent 1px),linear-gradient(90deg,#80f1fa0a 1px,transparent 1px); background-size: 26px 26px; }
.q-reg-side::after { position: absolute; z-index: -1; content: ""; width: 155%; aspect-ratio: 1; left: -40%; top: 22%; background: repeating-radial-gradient(ellipse at center,transparent 0 21px,#79e7fa20 21px 22px,transparent 22px 40px); transform: scaleY(.48) rotate(-17deg); mask-image: linear-gradient(90deg,#000,transparent); }
.q-reg-side h1 { margin: .6rem 0 .7rem; font-size: clamp(1.7rem,3.2vw,2.6rem); font-weight: 650; letter-spacing: .02em; }
.q-reg-intro { color: #bfdae3; font-size: 1rem; line-height: 1.8; max-width: 21em; }
.q-access { position: relative; margin-top: auto; width: 100%; border: 1px solid #396575; border-radius: 10px; padding: 1.1rem 1.2rem .85rem; background: linear-gradient(115deg,#123545ee,#0b2635ed); }
.q-access::before, .q-access::after { content: ""; position: absolute; height: 2px; width: 25px; top: -1px; left: 14px; background: #6de4e6; }
.q-access::after { top: auto; bottom: -1px; left: auto; right: 14px; }
.q-access-top { display: flex; gap: .45rem; align-items: center; color: #a3e7e9; font-size: .86rem; }
.q-access-light { width: 6px; height: 6px; border-radius: 50%; margin-left: auto; background: #71dad6; }
.q-access dl { margin: 1.15rem 0 1rem; }
.q-access dt { font-size: .82rem; }
.q-access dd { margin: .18rem 0 0; overflow-wrap: anywhere; color: #e8fdff; letter-spacing: .045em; font: 650 clamp(1.3rem,2.6vw,1.85rem)/1.35 "IBM Plex Mono",Consolas,monospace; }
.q-access-foot { display: flex; gap: .6rem; align-items: baseline; justify-content: space-between; border-top: 1px solid #335367; padding-top: .6rem; font-size: .84rem; }
.q-access-foot span { color: #adc6d5; flex: none; }
.q-access-foot strong { text-align: right; overflow-wrap: anywhere; font-weight: 550; }
.q-reg-main { min-width: 0; padding: clamp(1.65rem,3.75vw,3rem); }
.q-reg-main h2 { font-size: clamp(1.3rem,2.2vw,1.7rem); font-weight: 650; margin: 0 0 1.45rem; }
.q-reg-pair + .q-reg-pair { margin-top: 1.05rem; }
.q-reg-pair label { display: block; font-weight: 550; font-size: .92rem; margin-bottom: .36rem; }
.q-reg-pair .q-text { min-height: 46px; padding: .56rem .82rem; background: #0a1c2c; }
.q-select-wrap { position: relative; }
.q-select-wrap select { appearance: none; padding-right: 2.2rem !important; cursor: pointer; }
.q-select-wrap::after { content: ""; position: absolute; width: .45rem; height: .45rem; border: solid #b3d2df; border-width: 0 1.5px 1.5px 0; top: calc(50% - .32rem); right: 1.05rem; transform: rotate(45deg); pointer-events: none; }
.q-reg-note { margin-top: .6rem !important; font-size: .86rem; color: var(--q-muted); }
.q-profile-error:not(:empty) { margin-top: .6rem; font-size: .9rem; }
.q-reg-actions { display: flex; gap: .6rem; margin-top: 1.5rem; }
.q-reg-actions .q-primary { flex: 1; min-height: 45px; }
@media (min-width: 1000px) and (max-height: 790px) {
  .q-top-in { min-height: 56px; }
  .q-wrap { padding-block: .85rem; }
  .q-hero { min-height: 110px; padding: .85rem 1.5rem; }
  .q-hero h1 { margin-block: .15rem .35rem; }
  .q-work { margin-top: .85rem; }
  .q-card { padding: 1.15rem 1.5rem; }
  .q-card h2 { margin-block: .65rem .4rem; }
  .q-instruction { margin-bottom: .8rem; }
  .q-picks { gap: .4rem; }
  .q-pick { min-height: 44px; padding-block: .45rem; }
  .q-card-foot { margin-top: .95rem; padding-top: .8rem; }
  .q-draft-row { margin-top: .55rem; }
}
@media (max-width: 810px) {
  .q-top-in, .q-wrap { width: calc(100% - 36px); }
  .q-work { grid-template-columns: 185px minmax(0,1fr); gap: .85rem; }
  .q-sidebar { padding: 1rem; }
  .q-hero { padding: 1.4rem; }
  .q-register-wrap { width: calc(100% - 36px); }
}
@media (max-width: 630px) {
  .q-top-in, .q-wrap { width: calc(100% - 24px); }
  .q-top-in { min-height: 58px; gap: .4rem; }
  .q-identity,.q-user { gap: .35rem; }
  .q-identity strong { font-size: 1rem; }
  .q-top-label { font-size: .8rem; }
  .q-demo,.q-exit span { display: none; }
  .q-username { max-width: 3.5em; }
  .q-mark { width: 27px; height: 29px; border-radius: 6px; }
  .q-avatar { width: 25px; height: 25px; font-size: .8rem; }
  .q-wrap { padding: .8rem 0 1.8rem; }
  .q-hero { min-height: 135px; padding: 1.05rem 1.1rem; border-radius: 9px; }
  .q-hero h1 { font-size: 1.36rem; }
  .q-meta { gap: .3rem .65rem; font-size: .79rem; }
  .q-work { display: block; margin-top: .7rem; }
  .q-sidebar { position: static; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem; padding: .7rem .9rem; margin-bottom: .7rem; }
  .q-progress-numbers { margin: 0; gap: .5rem; }
  .q-percent { font-size: 1rem; }
  .q-progress { grid-column: 1/-1; margin: .25rem 0; height: 4px; }
  .q-nav { display: flex; grid-column: 1/-1; overflow-x: auto; gap: .32rem; margin: 0; }
  .q-nav button { flex: none; width: 33px; min-height: 30px; }
  .q-map-label,.q-legend { display: none; }
  .q-card { padding: 1rem; }
  .q-draft-row { gap: .35rem; }
  .q-draft-row .q-btn { padding-inline: .6rem; }
  .q-register-wrap { width: calc(100% - 24px); padding-top: .8rem; }
  .q-register { display: block; border-radius: 10px; }
  .q-reg-side { padding: 1.1rem; border-right: 0; border-bottom: 1px solid #315266; }
  .q-reg-side h1 { margin: .25rem 0; font-size: 1.5rem; }
  .q-reg-intro { font-size: .9rem; max-width: none; }
  .q-access { display: flex; flex-wrap: wrap; align-items: baseline; gap: .28rem .75rem; padding: .52rem .68rem; margin: .7rem 0 0; }
  .q-access::before,.q-access::after,.q-access-top { display: none; }
  .q-access dl,.q-access-foot { display: inline-flex; align-items: baseline; gap: .35rem; margin: 0; border: 0; padding: 0; }
  .q-access dd { margin: 0; font-size: .94rem; }
  .q-reg-main { padding: 1.15rem; }
  .q-reg-main h2 { font-size: 1.2rem; margin-bottom: .9rem; }
  .q-reg-pair + .q-reg-pair { margin-top: .7rem; }
  .q-profile-summary { grid-column: 1/-1; margin-top: .25rem; padding-top: .35rem; }
  .q-profile-summary .q-summary-head h3, .q-profile-summary .q-link { font-size: .8rem; }
  .q-profile-summary dl { display: flex; flex-wrap: wrap; gap: .18rem .58rem; font-size: .78rem; margin: .1rem 0 0; }
  .q-profile-summary dl div { display: inline-flex; gap: .2rem; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .q-pick, .q-btn { transition: background-color .15s ease, border-color .15s ease; }
}
