/* QR Tools token import (generated). */
@import url("tokens.css?v=94c0c0573521");

.app-page { padding-top: 32px; }
.app-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "pitch preview" "safari preview"; gap: 20px 48px; align-items: start; }
.app-pitch { grid-area: pitch; }
.app-safari { grid-area: safari; }
.app-intro h1 { font-size: 32px; line-height: 1.25; margin: 12px 0; overflow-wrap: anywhere; }
.app-intro p, .app-intro li, .app-features p, .app-comparison p { line-height: 1.7; overflow-wrap: anywhere; }
.app-subtitle { color: var(--muted); }
.app-intro .primary-button { margin: 16px 0 24px; }
.app-intro h2, .app-features h2, .app-comparison h2 { font-size: 23px; line-height: 1.4; }
.app-intro ol { padding-inline-start: 24px; }
.app-intro li + li { margin-top: 12px; }
.app-screenshot { grid-area: preview; width: 100%; height: auto; display: block; background: #15191a; }
.app-features, .app-comparison { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; }
.app-features > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.app-features h3 { font-size: 18px; line-height: 1.4; }
.app-features p { color: var(--muted); }
.app-band div > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
@media (max-width: 760px) {
  .app-intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pitch" "preview" "safari"; gap: 24px; }
  .app-intro h1 { font-size: 28px; }
  .app-screenshot { max-width: 300px; justify-self: center; }
  .app-features > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
* { box-sizing: border-box; }
html { font-family: var(--font-sans); font-size: var(--body-size); color: var(--ink); background: var(--paper); line-height: var(--body-leading); letter-spacing: 0; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, input[type="color"], input[type="checkbox"] { cursor: pointer; }
button { background: transparent; border: 0; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 48px)); margin: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; white-space: nowrap; }
.brand img { border-radius: 8px; }
.header-inner nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.store-link, .language-control { display: flex; align-items: center; gap: 8px; }
.header-inner nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.language-control select { border: 0; background: var(--paper); min-height: 44px; max-width: 150px; padding: 6px; }
.lucide { width: 20px; height: 20px; stroke-width: 1.75; flex: 0 0 auto; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; }
h1 { font-size: var(--page-title-size); line-height: var(--page-title-leading); margin: 0 0 12px; font-weight: var(--page-title-weight); overflow-wrap: anywhere; }
h2 { font-size: 19px; margin: 0; line-height: 1.35; }
.home-link { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.page-summary { max-width: 820px; margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.mode-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.mode-switch button { min-height: 54px; display: flex; gap: 9px; align-items: center; padding: 12px 18px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 600; }
.mode-switch button:hover { background: var(--soft); }
.mode-switch button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr); gap: var(--space-6); align-items: start; }
.editor { min-width: 0; }
.workspace-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin: 0 0 18px; }
.step-number { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.format-label { margin-left: auto; color: var(--warm); font-family: var(--font-mono); font-size: 12px; font-weight: 400; }
.content-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.content-tabs button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 14px; padding: 10px 14px; }
.content-tabs button:hover { background: var(--soft); }
.content-tabs button .lucide { color: var(--muted); width: 18px; height: 18px; }
.content-tabs button[aria-selected="true"] { color: var(--ink); background: var(--accent-soft); border-color: var(--accent); font-weight: 600; }
.content-tabs button[aria-selected="true"] .lucide { color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; font-size: 14px; }
.field > span { font-weight: 500; }
.field > span > span { color: var(--accent); }
input:not([type="color"]):not([type="checkbox"]), textarea, .field select { width: 100%; border: 1px solid var(--muted); border-radius: var(--radius-md); background: var(--paper); padding: 11px 12px; font-size: 16px; min-height: 46px; }
textarea { resize: vertical; min-height: 116px; line-height: 1.6; }
input[disabled] { background: var(--soft) !important; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.wide { grid-column: 1 / -1; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.checkbox-row label { display: flex; align-items: center; gap: 7px; min-height: 44px; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.customization { border-top: 1px solid var(--line); margin-top: 28px; }
.customization > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; min-height: 54px; font-size: 14px; font-weight: 600; }
.customization > summary::-webkit-details-marker { display: none; }
.customization > summary > span { display: flex; align-items: center; gap: 10px; }
.customization > summary > .lucide { color: var(--muted); }
.customization[open] > summary > .lucide { transform: rotate(180deg); }
.customize-header { display: flex; justify-content: flex-end; align-items: center; margin: 0 0 12px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 14px; align-items: start; }
.color-control { border: 1px solid var(--muted); border-radius: var(--radius-md); display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 6px 9px; }
.color-control output { font-size: 13px; font-variant-numeric: tabular-nums; }
input[type="color"] { border: 0; padding: 0; background: transparent; width: 30px; height: 30px; flex: 0 0 auto; }
.preview-panel { min-width: 0; border-left: 1px solid var(--line); padding: 0 0 0 40px; }
.qr-stage { width: min(100%, 280px); aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.qr-stage canvas { display: block; width: 100%; height: 100%; }
.qr-stage p { padding: 20px; text-align: center; color: var(--muted); font-size: 15px; }
.export-label { font-size: 14px; margin: 0 0 12px; font-weight: 600; }
.size-control { width: 100%; display: grid; grid-template-columns: 1fr minmax(100px, 150px); gap: 12px; align-items: center; }
.export-actions { display: flex; align-items: stretch; gap: 10px; margin-bottom: 12px; }
.primary-button, .secondary-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 5px; border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.35; }
.primary-button { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.primary-button:hover { filter: brightness(.94); color: var(--on-accent); text-decoration: none; }
.icon-button { width: 46px; padding: 9px; flex: 0 0 auto; position: relative; }
.icon-button::after { content: attr(aria-label); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); border-radius: 4px; font-size: 12px; font-weight: 400; padding: 5px 8px; width: max-content; max-width: 160px; display: none; z-index: 5; pointer-events: none; }
.icon-button:hover::after, .icon-button:focus-visible::after { display: block; }
.secondary-button:hover { background: var(--soft); text-decoration: none; }
.export-actions .primary-button { flex: 1; }
.text-button { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); min-height: 44px; padding: 3px 0; font-size: 14px; }
.text-button:hover span { text-decoration: underline; }
.status { display: flex; align-items: baseline; gap: 8px; font-size: 14px; min-height: 24px; margin: 10px 0 0; overflow-wrap: anywhere; }
.status.error { color: var(--error); }
.status-dot { background: var(--accent); width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.status.error .status-dot { background: var(--error); }
.privacy-note { display: flex; gap: 8px; align-items: start; margin: 24px 0 32px; font-size: 13px; color: var(--muted); max-width: 880px; }
.privacy-note .lucide { width: 16px; height: 18px; }
.app-band { display: flex; align-items: center; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-band > img { border-radius: 8px; }
.app-band > div { flex: 1; }
.app-band p { color: var(--muted); font-size: 14px; margin: 6px 0 0; max-width: 710px; }
.app-band > a { white-space: nowrap; }
.tool-links { padding: 32px 0; }
.qr-questions { padding: 32px 0 8px; }
.qr-questions h2 { margin-bottom: 14px; }
.qr-questions details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.qr-questions summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.qr-questions p { max-width: 880px; color: var(--muted); margin: 12px 0 4px; font-size: 14px; }
.tool-links h2 { font-size: 16px; margin-bottom: 12px; }
.tool-links > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.tool-links a { min-height: 52px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.tool-links .lucide { width: 14px; height: 14px; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); padding: 14px 0 28px; }
.footer-links, .locale-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.locale-links { font-size: 12px; }
.locale-links [aria-current="page"] { color: var(--accent); font-weight: 600; }
.reader-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.drop-zone { border: 1px dashed var(--muted); border-radius: 6px; background: var(--soft); min-height: 248px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
.drop-zone > .lucide { width: 34px; height: 34px; color: var(--muted); }
.drop-zone p { text-align: center; }
.drop-zone.dragging { border-color: var(--accent); background: var(--accent-soft); }
.file-picker { cursor: pointer; position: relative; }
.file-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.camera-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.reader-result textarea { min-height: 248px; }
video { width: 100%; max-height: 360px; object-fit: cover; margin-top: 16px; border-radius: 5px; background: #000; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.not-found { padding-block: 64px; }
.not-found > p { color: var(--muted); }
.batch-input { max-width: 900px; }
.batch-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0; }
.paper-control { width: 130px; margin: 0; }
.table-scroll { width: 100%; overflow: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.table-scroll th, .table-scroll td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.table-scroll th { background: var(--soft); font-weight: 600; }
.table-scroll th:first-child { width: 90px; }
.table-scroll th:last-child { width: 150px; }
.table-scroll td img { display: block; width: 64px; height: 64px; }
.invalid-row { color: var(--error); }
.sign-preview { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 3 / 4; margin: auto; border: 1px solid var(--line); }
#sign-dialog { width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; max-height: 100dvh; margin: 0; padding: 20px; border: 0; background: var(--paper); color: var(--ink); }
#sign-dialog:not([open]) { display: none; }
#sign-dialog::backdrop { background: var(--paper); }
#sign-dialog img { display: block; max-width: 100%; height: 100%; object-fit: contain; margin: auto; }
#close-sign { position: absolute; right: 14px; top: 14px; background: var(--paper); color: var(--ink); border-color: var(--muted); z-index: 2; }
.reader-result > details { margin-bottom: 12px; }
.reader-result > details > summary { cursor: pointer; margin-bottom: 12px; font-weight: 500; }
#inspection { margin-top: 18px; }
#inspection h2 { font-size: 16px; }
#inspection-fields { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 2fr); font-size: 14px; }
#inspection-fields dt, #inspection-fields dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; white-space: pre-wrap; }
#inspection-fields dt { color: var(--muted); padding-right: 12px; }
#inspection-fields summary { color: var(--accent); cursor: pointer; }
#inspection-warnings { color: var(--error); padding-left: 20px; font-size: 14px; }
.inspection-note { color: var(--muted); font-size: 13px; }
@media (max-width: 950px) {
  .workspace { gap: 24px; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); }
  .preview-panel { padding-left: 24px; }
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid .field:last-child { grid-column: 1 / -1; }
  .export-actions { gap: 6px; }
  .primary-button, .secondary-button { padding-inline: 10px; }
  .icon-button { width: 46px; }
}
@media (max-width: 720px) {
  .mode-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; }
  .mode-switch button { justify-content: center; flex-direction: column; padding: 8px 4px; font-size: 13px; min-height: 70px; gap: 4px; overflow-wrap: anywhere; }
  .table-scroll table { min-width: 540px; }
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; padding: 12px 0; gap: 10px; }
  .brand { font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .header-inner nav { gap: 16px; font-size: 14px; flex-wrap: wrap; }
  .language-control select { max-width: 122px; }
  .title-row { padding-top: 24px; display: block; }
  h1 { font-size: 28px; }
  .home-link { margin-bottom: 16px; }
  .workspace, .reader-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .preview-panel { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .content-tabs { gap: 8px; }
  .content-tabs button { font-size: 14px; padding-inline: 9px; gap: 7px; }
  .workspace-label { margin-bottom: 14px; }
  .settings-grid { grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; }
  .settings-grid .field:last-child { grid-column: auto; }
  .color-control { gap: 7px; padding: 6px; }
  .color-control output { font-size: 11px; }
  input[type="color"] { width: 24px; }
  .qr-stage { max-width: 264px; }
  .app-band { flex-wrap: wrap; gap: 12px; }
  .app-band { align-items: flex-start; }
  .app-band > div { flex: 1; min-width: 210px; }
  .app-band > a { margin-left: 68px; }
  .tool-links > div { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .mode-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-switch button { flex-direction: row; justify-content: flex-start; padding-inline: 8px; gap: 6px; min-height: 54px; overflow-wrap: normal; }
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid .field:last-child { grid-column: 1 / -1; }
  .header-inner nav { gap: 10px; }
}
