.everyday-card { max-width: 980px; }
.text-area-wrap { position: relative; }
.text-area-wrap textarea { width: 100%; min-height: 310px; resize: vertical; padding: 16px; border: 1px solid #cfdde5; border-radius: 11px; color: var(--navy); background: #fbfdfd; font: inherit; font-size: 14px; line-height: 1.7; }
.text-area-wrap textarea:focus { border-color: var(--teal); outline: 3px solid rgba(36, 124, 131, 0.16); background: #fff; }
.tool-field textarea { width: 100%; resize: vertical; padding: 11px 12px; border: 1px solid #cfdde5; border-radius: 9px; color: var(--navy); background: #fff; font: inherit; font-size: 13px; line-height: 1.5; }
.tool-field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(36, 124, 131, 0.16); }
.counter-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.counter-stat { min-height: 82px; padding: 13px; border: 1px solid #dbe7e9; border-radius: 10px; background: #f8fbfb; }
.counter-stat strong { display: block; color: var(--teal-dark); font-size: 23px; letter-spacing: -0.04em; }
.counter-stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.counter-note { margin-top: 13px; color: var(--muted); font-size: 11px; }
.qr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.qr-preview-card { position: sticky; top: 18px; padding: 18px; border: 1px solid #dbe7e9; border-radius: 13px; background: #f8fbfb; text-align: center; }
.qr-preview-card h3 { margin: 0 0 14px; color: var(--navy); font-size: 14px; text-align: left; }
.qr-preview-frame { display: grid; min-height: 260px; place-items: center; padding: 14px; border: 1px solid #dfeaec; border-radius: 10px; background: #fff; }
.qr-preview-frame img { display: block; width: 100%; max-width: 240px; aspect-ratio: 1; image-rendering: pixelated; }
.qr-empty { display: grid; place-items: center; gap: 8px; color: #81939c; font-size: 11px; font-weight: 700; }
.qr-empty-icon { display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid #c8dfe0; border-radius: 14px; color: var(--teal); font-size: 22px; }
.qr-preview-card[hidden], .qr-empty[hidden], .qr-preview-frame img[hidden] { display: none !important; }
.qr-fields { margin-top: 0; }
.qr-fieldset { display: grid; gap: 14px; padding: 0; border: 0; }
.qr-fieldset[hidden] { display: none !important; }
.qr-fieldset legend { margin-bottom: 10px; color: var(--navy); font-size: 13px; font-weight: 800; }
.qr-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.qr-download { width: 100%; justify-content: center; }
.qr-payload { margin-top: 14px; padding: 10px; border-radius: 8px; background: #eef6f5; color: #55727a; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 780px) {
    .counter-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .qr-layout { grid-template-columns: 1fr; }
    .qr-preview-card { position: static; order: -1; }
}
@media (max-width: 470px) {
    .counter-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
