:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #182430; background: #f5f7f9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
button:disabled { cursor: default; }
button, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, select:focus-visible { outline: 3px solid #13a8a1; outline-offset: 4px; }
[hidden] { display: none !important; }
.page { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e3e8ed; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 23px; letter-spacing: -.7px; }
.brand-icon { display: grid; place-items: center; width: 36px; height: 39px; color: #fff; background: #173f46; font-size: 24px; border-radius: 10px 10px 10px 2px; }
.brand-separator { width: 1px; height: 21px; background: #ccd5db; margin: 0 5px; }
.brand-caption { font-size: 13px; font-weight: 500; color: #66747f; letter-spacing: 0; }
.language select { border: 1px solid #dce3e9; border-radius: 8px; padding: 9px 28px 9px 12px; color: #45545f; background: #fff; font-size: 12px; }
.intro { padding: 64px 0 34px; }
.eyebrow { display: flex; gap: 8px; align-items: center; color: #42716b; font-size: 12px; margin: 0 0 16px; font-weight: 550; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #26a68c; }
h1 { margin: 0; font-size: clamp(29px, 4.4vw, 42px); line-height: 1.3; font-weight: 700; letter-spacing: -1.2px; }
.subtitle { margin: 15px 0 0; color: #6d7a85; font-size: 14px; line-height: 1.8; }
.tool { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 20px; overflow: hidden; border: 1px solid #e0e6eb; box-shadow: 0 12px 36px #17323c05; background: #fff; }
.input-panel, .code-panel { padding: 35px 34px 31px; }
.section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 30px; }
.step { font-size: 10px; font-weight: 650; color: #86949e; letter-spacing: .6px; border: 1px solid #dde5e9; border-radius: 5px; padding: 3px 5px; }
h2 { font-size: 14px; font-weight: 650; margin: 0; }
.field-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.secret-field { display: flex; border: 1px solid #dce3e8; border-radius: 9px; overflow: hidden; background: #fcfdfe; transition: border-color .15s, box-shadow .15s; }
.secret-field:focus-within { border-color: #218880; box-shadow: 0 0 0 3px #21888015; }
.secret-field:has(input[aria-invalid="true"]) { border-color: #bd4343; }
input { min-width: 0; width: 100%; height: 48px; border: 0; background: transparent; padding: 12px; font-size: 14px; color: #203744; outline: none; }
input::placeholder { color: #91a0ac; font-size: 12px; }
.toggle { padding: 0 12px; background: transparent; color: #3d6f70; font-size: 12px; white-space: nowrap; }
.toggle:hover { background: #edf5f4; }
.field-help { color: #7d8993; font-size: 11px; line-height: 1.8; margin: 10px 0 22px; }
.error { color: #b83535; font-size: 12px; line-height: 1.6; margin: -7px 0 15px; }
.actions { display: flex; gap: 10px; }
.button { min-height: 43px; padding: 11px 17px; font-size: 12px; font-weight: 600; border-radius: 8px; transition: background-color .15s; }
.primary { background: #1d6464; color: #fff; flex: 1; }
.primary:hover { background: #185351; }
.secondary { background: #f1f4f6; color: #596872; }
.secondary:hover { background: #e8edef; }
.privacy { margin-top: 29px; display: flex; align-items: flex-start; gap: 8px; color: #7c8b92; }
.privacy p { font-size: 10px; line-height: 1.8; margin: 0; }
.privacy-icon { flex: 0 0 auto; display: grid; place-items: center; color: #57847b; background: #eaf3ef; font-size: 9px; border-radius: 50%; width: 15px; height: 15px; margin-top: 1px; }
.code-panel { background: #17353d; color: #fff; }
.code-panel .step { color: #8cacb4; border-color: #416069; }
.live-label { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #8dd0bd; font-size: 10px; white-space: nowrap; }
.live-label .status-dot { background: #8dd0bd; width: 5px; height: 5px; }
.code { font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-variant-numeric: tabular-nums; font-size: clamp(25px, 4vw, 44px); font-weight: 500; letter-spacing: 1px; text-align: center; padding: 10px 0 15px; line-height: 1.4; white-space: nowrap; }
.code.empty { color: #66848c; font-size: 30px; letter-spacing: 1px; }
.countdown { text-align: center; color: #a4bbc2; font-size: 11px; margin: 0 0 16px; min-height: 18px; }
progress { appearance: none; display: block; width: 100%; height: 3px; border: 0; background: #38545c; color: #7ed6bc; border-radius: 3px; overflow: hidden; }
progress::-webkit-progress-bar { background: #38545c; }
progress::-webkit-progress-value { background: #7ed6bc; }
progress::-moz-progress-bar { background: #7ed6bc; }
.copy { width: 100%; margin-top: 25px; background: #d8f4e9; color: #22594f; }
.copy:hover:not(:disabled) { background: #c2eddd; }
.copy:disabled { background: #33535c; color: #9bb1b9; }
.copy-status { min-height: 18px; text-align: center; color: #a6d9c8; font-size: 11px; line-height: 1.6; margin: 10px 0 0; }
.help { display: flex; align-items: flex-start; gap: 9px; color: #7b8892; margin: 21px 0 0; }
.help p { font-size: 11px; line-height: 1.8; margin: 0; }
.help-symbol { display: grid; place-items: center; font-family: Georgia, serif; width: 14px; height: 14px; font-size: 10px; flex: 0 0 auto; border: 1px solid #a6b2b9; border-radius: 50%; margin-top: 2px; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: #94a0a8; font-size: 10px; margin: 63px 0 29px; }
#footer-brand { font-weight: 650; color: #71828c; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.noscript { padding: 18px; color: #993c31; background: #fff1ed; border-radius: 9px; font-size: 13px; }
@media (max-width: 720px) {
  .page { max-width: 580px; padding: 0 22px; }
  .header { min-height: 85px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-icon { width: 30px; height: 33px; font-size: 21px; }
  .brand-separator, .brand-caption { display: none; }
  .language select { max-width: 125px; }
  .intro { padding: 35px 0 25px; }
  h1 { font-size: 31px; }
  .subtitle { font-size: 12px; margin-top: 11px; }
  .tool { grid-template-columns: 1fr; border-radius: 15px; }
  .input-panel, .code-panel { padding: 25px 23px; }
  .section-heading { margin-bottom: 23px; }
  .privacy { margin-top: 20px; }
  .code { font-size: 42px; padding: 0 0 12px; }
  .copy { margin-top: 20px; }
  footer { margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
