:root { color-scheme: light; --ink: #1d303c; --muted: #526472; --brand: #0d766e; --line: #dbe3e7; --error: #ad2636; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #f5f7f8; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button { min-height: 44px; }
button:not(:disabled), a { cursor: pointer; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid #0d766e; outline-offset: 4px; }
[hidden] { display: none !important; }
.site-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px max(24px, calc((100vw - 1120px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; letter-spacing: -.6px; text-decoration: none; color: var(--ink); }
.account { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.account span { max-width: 220px; overflow-wrap: anywhere; }
.workspace { max-width: 1168px; margin: auto; padding: 42px 24px 0; }
.eyebrow { font-size: 11px; letter-spacing: 1.7px; font-weight: 750; color: var(--brand); margin: 0 0 10px; }
h1 { font-size: clamp(29px, 4vw, 38px); line-height: 1.15; letter-spacing: -1.2px; font-weight: 650; margin: 0 0 12px; }
.page-heading > p:last-child { color: var(--muted); margin: 0; font-size: 16px; }
.generator-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 28px; align-items: start; margin-top: 30px; }
.form-panel, .preview-panel { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: white; min-width: 0; }
.preview-panel { position: sticky; top: 24px; background: #eef5f3; border-color: #d7e7e2; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h2 { font-size: 19px; font-weight: 650; letter-spacing: -.4px; margin: 0; }
.step { color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px; }
.section-description { color: var(--muted); font-size: 13px; margin: 6px 0 25px; }
.required-key { white-space: nowrap; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label > span:not(.optional) { color: var(--brand); }
input { display: block; width: 100%; min-height: 46px; background: #fff; color: var(--ink); border: 1px solid #bac7cf; border-radius: 7px; padding: 10px 12px; transition: border-color .15s; }
input:hover { border-color: #718891; }
input:focus-visible { border-color: var(--brand); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--error); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field-help, .field-error { font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.field-help { color: var(--muted); margin: -8px 0 22px; }
.field-error { color: var(--error); }
.address-fields { border: 0; border-top: 1px solid var(--line); margin: 8px 0 0; padding: 22px 0 0; min-width: 0; }
legend { padding: 0 12px 0 0; font-size: 13px; font-weight: 600; }
.optional { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: 6px; }
.form-actions { display: flex; gap: 14px; align-items: center; padding-top: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s; }
.primary { background: var(--brand); color: white; }
.primary:hover { background: #095f59; }
.primary > span { font-size: 18px; }
.text-button { background: transparent; border: 0; padding: 8px 10px; color: var(--muted); font-size: 13px; border-radius: 6px; }
.text-button:hover { background: #edf2f4; color: var(--ink); }
.qr-frame { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; border: 1px solid #d3e1dc; background: white; padding: 15px; overflow: hidden; }
canvas { display: block; width: 100%; height: auto; }
#empty-preview { text-align: center; padding: 15px; color: var(--muted); }
#empty-preview img { opacity: .75; }
#empty-preview p { font-size: 21px; line-height: 1.35; letter-spacing: -.4px; color: var(--ink); margin: 20px 0 10px; }
#empty-preview span { font-size: 12px; }
.contact-preview { margin-top: 18px; overflow-wrap: anywhere; }
.contact-preview strong, .contact-preview span { display: block; }
.contact-preview strong { font-size: 17px; margin-bottom: 3px; }
.contact-preview span { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; color: var(--muted); min-height: 36px; margin: 15px 0; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.download { background: white; border-color: #adc5bd; color: #184b43; padding: 10px 5px; font-size: 11px; white-space: nowrap; }
.download:not(:disabled):hover { background: #dcece6; }
button:disabled { color: #697b76; background: #e5eeea; border-color: #cedbd5; cursor: not-allowed; }
.print-note { border-top: 1px solid #d0e0d9; margin-top: 25px; padding-top: 20px; }
.print-note h3 { font-size: 12px; margin: 0 0 7px; }
.print-note p { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 20px 0 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.sign-in { max-width: 570px; margin: 10vh auto; padding: 34px; }
.sign-in .brand { margin-bottom: 56px; }
.sign-in h1 { font-size: clamp(40px, 7vw, 58px); letter-spacing: -2px; }
.intro { font-size: 17px; color: var(--muted); margin: 24px 0 30px; }
.small { font-size: 12px; }
.muted { color: var(--muted); }
.privacy-note { padding-top: 30px; border-top: 1px solid var(--line); margin-top: 35px; font-size: 12px; color: var(--muted); }
.notice { background: #fff; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.microsoft-mark { width: 16px; height: 16px; background: linear-gradient(90deg, white 0 44%, transparent 44% 56%, white 56%); mask-image: linear-gradient(0deg, black 0 44%, transparent 44% 56%, black 56%); }
@media (max-width: 760px) { .generator-layout { grid-template-columns: 1fr; gap: 20px; } .preview-panel { position: static; } .workspace { padding: 28px 16px 0; } .site-header { padding: 14px 16px; } .form-panel, .preview-panel { padding: 22px; } .qr-frame { max-width: 380px; margin: auto; } }
@media (max-width: 420px) { .field-grid { grid-template-columns: 1fr; } .account { gap: 3px; } .account span { max-width: 90px; font-size: 12px; } .brand { font-size: 20px; } .site-footer { flex-direction: column; gap: 5px; } .form-panel, .preview-panel { padding: 18px; } .downloads { grid-template-columns: 1fr; gap: 8px; } .download { font-size: 13px; } .sign-in { padding: 26px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
