.icon-btn{width:var(--icon-button-size);height:var(--icon-button-size);display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--surface-bg);border:1px solid var(--surface-border);color:var(--text-secondary);box-shadow:var(--shadow-soft);transition:transform .15s ease,background .15s ease,color .15s ease}.icon-btn svg{width:20px;height:20px}.icon-btn:hover{transform:translateY(-1px);color:var(--text-primary)}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:700}.btn--primary{background:#6B8367;color:#fff}.btn--secondary{background:var(--surface-bg);border:1px solid var(--surface-border);color:var(--text-primary)}.modal.is-hidden{display:none}.modal{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px}.modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.42)}.modal__panel{position:relative;width:min(100%,380px);background:var(--surface-bg);border:1px solid var(--surface-border);border-radius:22px;padding:22px;box-shadow:var(--shadow-panel);text-align:center}.modal__close{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:999px;color:var(--text-secondary);display:flex;align-items:center;justify-content:center}.modal__close svg{width:18px;height:18px}.modal__title{font-size:1.25rem;line-height:1.2;margin-bottom:8px}.modal__text{color:var(--text-secondary);font-size:.95rem;margin-bottom:16px}.qr-image{width:240px;height:240px;margin:0 auto 10px;background:#fff;border-radius:12px;padding:10px}.qr-url{font-size:.9rem;color:var(--text-secondary);margin-bottom:14px;word-break:break-all}.modal .btn{width:100%;margin-top:8px}.back-to-top{position:fixed;right:18px;bottom:18px;width:48px;height:48px;border-radius:999px;background:var(--surface-bg);border:1px solid var(--surface-border);box-shadow:var(--shadow-soft);color:var(--text-secondary);display:none;align-items:center;justify-content:center;z-index:60}.back-to-top.is-visible{display:flex}.back-to-top svg{width:22px;height:22px}

.switch{width:46px;height:26px;border-radius:999px;border:1px solid var(--surface-border);background:#9FA4AA;display:inline-flex;align-items:center;padding:2px;transition:background .15s ease,border-color .15s ease}.switch span{width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.22);transform:translateX(0);transition:transform .15s ease}.switch.is-on{background:#4F6A4E;border-color:#4F6A4E}.switch.is-on span{transform:translateX(20px)}


.site-footer{margin:16px 0 0;padding:12px 8px 0;color:var(--text-secondary);font-size:.82rem;line-height:1.35;text-align:center;border-top:1px solid var(--surface-border)}
.site-footer p{margin:0 auto;max-width:680px}
body.mode-dark .site-footer{border-top-color:rgba(255,255,255,.08)}
@media (max-width:480px){.site-footer{font-size:.78rem;padding-top:10px;margin-top:14px}}

/* Compact legal footer */
.site-footer{margin:16px 0 0;padding:10px 0 0;text-align:center;color:var(--text-secondary);font-size:.78rem;line-height:1.35;border-top:1px solid var(--surface-border)}
.site-footer p{margin:0}
