*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary: #f8fafc;--bg-card: #ffffff;--text-main: #0f172a;--text-muted: #64748b;--border-color: #e2e8f0;--primary: #2563eb;--primary-hover: #1d4ed8;--error-bg: #fef2f2;--error-border: #fecaca;--error-text: #991b1b;--font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}body{font-family:var(--font-system);background-color:var(--bg-primary);color:var(--text-main);line-height:1.5;min-height:100vh;-webkit-font-smoothing:antialiased}#root{min-height:100vh;display:flex;flex-direction:column}.screen-container{display:flex;align-items:center;justify-content:center;flex:1;padding:1.5rem}.notice-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px;padding:2.5rem 2rem;max-width:480px;width:100%;text-align:center;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -2px #0000000d}.notice-icon{width:52px;height:52px;margin:0 auto 1.25rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f1f5f9;color:#475569}.notice-card.error .notice-icon{background:var(--error-bg);color:var(--error-text)}.notice-title{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:var(--text-main)}.notice-subtitle{font-size:1rem;color:var(--text-muted);line-height:1.5}.status-badge{display:inline-block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:.25rem .65rem;border-radius:9999px;background:var(--error-bg);color:var(--error-text);border:1px solid var(--error-border);margin-bottom:1rem}.spinner-wrapper{display:flex;flex-direction:column;align-items:center;gap:1rem}.spinner{width:38px;height:38px;border:3px solid #e2e8f0;border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.spinner-text{font-size:.95rem;color:var(--text-muted)}.html-receipt-container{width:100%;flex:1;background:#fff;display:flex;flex-direction:column}.html-receipt-frame{width:100%;min-height:100vh;border:none;display:block}.html-receipt-content{width:100%;max-width:900px;margin:0 auto;padding:2rem 1.5rem}.data-viewer-container{width:100%;max-width:960px;margin:2rem auto;padding:0 1rem;flex:1}.data-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:#1e293b;color:#f8fafc;border-top-left-radius:8px;border-top-right-radius:8px;font-size:.85rem;font-weight:600}.copy-btn{background:#ffffff1f;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:4px;padding:.3rem .65rem;font-size:.75rem;cursor:pointer;transition:background .15s ease}.copy-btn:hover{background:#ffffff40}.code-block{font-family:var(--font-mono);font-size:.875rem;background:#0f172a;color:#e2e8f0;padding:1.25rem;border-bottom-left-radius:8px;border-bottom-right-radius:8px;overflow-x:auto;white-space:pre-wrap;word-break:break-all;line-height:1.6}.text-viewer-block{font-family:var(--font-mono);font-size:.925rem;background:var(--bg-card);color:var(--text-main);padding:1.5rem;border:1px solid var(--border-color);border-radius:8px;overflow-x:auto;white-space:pre-wrap;word-break:break-all;line-height:1.6}
