:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}html{background:#f3f4f6}body{color:#111827;background:#f3f4f6;min-width:320px;min-height:100vh;margin:0;font-family:Inter,Noto Sans TC,Microsoft JhengHei,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.portal-page{min-height:100vh;padding:32px 20px 60px}.portal-container{width:100%;max-width:1100px;margin:0 auto}.hero-card{color:#fff;background:#111827;border-radius:22px;margin-bottom:20px;padding:34px}.hero-card h1{margin:12px 0 10px;font-size:clamp(30px,5vw,44px)}.hero-card p{color:#d1d5db;max-width:760px;margin:0;line-height:1.8}.hero-badge{background:#374151;border-radius:999px;padding:6px 11px;font-size:14px;font-weight:700;display:inline-block}.info-card,.upload-card,.preview-card,.rule-card,.protected-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin-bottom:20px;padding:24px}.info-card h2,.upload-card h2,.preview-card h2{margin-top:0}.steps-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.step-card{background:#f9fafb;border-radius:14px;gap:13px;padding:16px;display:flex}.step-number{color:#fff;background:#2563eb;border-radius:50%;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-weight:800;display:flex}.step-card p{color:#6b7280;margin:6px 0 0;font-size:14px;line-height:1.6}.protected-card{background:#fffbeb;border-color:#fde68a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;display:flex}.protected-card p{color:#92400e;margin:5px 0 0}.field-tags{flex-wrap:wrap;gap:8px;display:flex}.field-tags span{color:#92400e;background:#fff;border:1px solid #f59e0b;border-radius:999px;padding:7px 11px;font-size:14px;font-weight:700}.dynamic-tags span{color:#3730a3;background:#eef2ff;border-color:#c7d2fe}.message{border-radius:12px;margin-bottom:18px;padding:14px 16px;font-weight:700}.error-message{color:#991b1b;background:#fee2e2}.success-message{color:#166534;background:#dcfce7}.subtext{color:#6b7280;line-height:1.7}.file-picker{text-align:center;cursor:pointer;background:#eff6ff;border:2px dashed #93c5fd;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:160px;padding:24px;display:flex}.file-picker:hover{background:#dbeafe;border-color:#2563eb}.file-picker input{display:none}.file-picker-title{color:#1d4ed8;font-size:20px;font-weight:800}.file-picker-note{color:#64748b;margin-top:7px}.preview-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.preview-header h2{margin-bottom:5px}.preview-header p{color:#6b7280;margin:0}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:20px;display:grid}.stat-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:16px}.stat-card span{color:#6b7280;margin-bottom:7px;font-size:13px;display:block}.stat-card strong{font-size:26px}.stat-good{background:#f0fdf4;border-color:#86efac}.stat-danger{background:#fef2f2;border-color:#fca5a5}.detail-section{margin-top:26px}.detail-section h3{margin-bottom:12px}.sheet-list{gap:8px;display:grid}.sheet-row{border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(120px,1fr) minmax(150px,1fr) minmax(150px,1fr);align-items:center;gap:12px;padding:12px 14px;display:grid}.muted{color:#6b7280}.skipped-box{color:#6b7280;background:#f9fafb;border-radius:10px;margin-top:14px;padding:14px;line-height:1.7}.empty-text{color:#6b7280;background:#f9fafb;border-radius:10px;padding:14px}.problem-box{color:#991b1b;background:#fef2f2;border:1px solid #fca5a5;border-radius:12px;margin-top:18px;padding:16px}.problem-list{margin-top:8px;line-height:1.7}.checking-box{color:#1e40af;background:#eff6ff;border-radius:12px;margin-top:20px;padding:16px;font-weight:700}.ready-box{background:#f0fdf4;border:1px solid #86efac;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-top:22px;padding:18px;display:flex}.ready-box p{color:#166534;margin:5px 0 0}.primary-button,.secondary-button{border:0;border-radius:10px;padding:12px 18px;font-weight:800}.primary-button{color:#fff;background:#15803d}.primary-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{color:#111827;background:#e5e7eb}.rule-card h3{margin-top:0}.rule-card ul{color:#4b5563;margin-bottom:0;padding-left:22px;line-height:1.9}@media (width<=640px){.portal-page{padding:18px 12px 40px}.hero-card,.info-card,.upload-card,.preview-card,.rule-card,.protected-card{padding:18px}.sheet-row{grid-template-columns:1fr;gap:5px}.primary-button,.secondary-button{width:100%}}
