*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:linear-gradient(135deg,#ff8c42,#ff6b35);min-height:100vh;padding:20px}#app{max-width:800px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;overflow:hidden}.header{background:linear-gradient(135deg,#ff8c42,#ff6b35);color:#fff;padding:30px;text-align:center}.header-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0}.auth-badge{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:8px 12px;border:2px solid rgba(255,255,255,.55);border-radius:10px;background:#ffffff1a;min-width:0;max-width:100%}.auth-role{font-size:13px;font-weight:700;color:#fffffff2;white-space:nowrap}.auth-name{font-size:13px;font-weight:600;color:#fffffff2;white-space:nowrap}.auth-planogram-btn{border:1px solid rgba(255,255,255,.55);background:#ffffff2e;color:#fffffffa;padding:6px 10px;border-radius:8px;font-weight:700;font-size:13px;white-space:nowrap;text-decoration:none}.auth-planogram-btn:hover{background:#ffffff42}.auth-logout-btn{border:1px solid rgba(255,255,255,.55);background:#ffffff2e;color:#fffffffa;padding:6px 10px;border-radius:8px;cursor:pointer;font-weight:700;font-size:13px;white-space:nowrap;flex-shrink:0}.auth-logout-btn:hover{background:#ffffff42}.header h1{font-size:28px;font-weight:600;margin:0}.main{padding:30px}.login-wrapper{display:flex;justify-content:center;align-items:flex-start;padding:10px 0}.steps{display:flex;justify-content:space-between;margin-bottom:40px;position:relative}.steps:before{content:"";position:absolute;top:20px;left:0;right:0;height:2px;background:#e0e0e0;z-index:0}.step{flex:1;text-align:center;position:relative;z-index:1}.step-number{display:inline-block;width:40px;height:40px;line-height:40px;border-radius:50%;background:#e0e0e0;color:#999;font-weight:700;margin-bottom:8px}.step.active .step-number{background:linear-gradient(135deg,#ff8c42,#ff6b35);color:#fff}.step.active{color:#ff8c42;font-weight:600}.step-content h2{margin-bottom:24px;color:#333;font-size:24px}.standards-empty{color:#888;font-size:14px;margin-bottom:16px}.status-group{margin-bottom:12px;border:1px solid #eee;border-radius:12px;overflow:hidden}.status-group-head{width:100%;display:flex;align-items:center;gap:8px;padding:12px 14px;border:none;background:#faf7f3;cursor:pointer;font-size:15px;font-weight:700;color:#333;text-align:left}.status-group-head:hover{background:#f3eee8}.status-group-chevron{width:1.2em;color:#888}.status-group-count{margin-left:auto;min-width:22px;padding:1px 8px;border-radius:999px;background:#e8e0d8;font-size:12px;font-weight:700;color:#5c4a3a;text-align:center}.status-group-pending .status-group-head{background:#fff4e8;color:#9a3412}.status-group-pending .status-group-count{background:#ffedd5;color:#9a3412}.status-group-passed .status-group-head{background:#ecfdf3;color:#166534}.status-group-passed .status-group-count{background:#dcfce7;color:#166534}.standards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:0;padding:12px}.standard-card{border:2px solid #e0e0e0;border-radius:12px;padding:44px 20px 20px;cursor:pointer;transition:all .3s;position:relative;border-left-width:6px}.standard-image{width:100%;height:200px;margin-bottom:16px;border-radius:8px;overflow:hidden;background:#f5f5f5;display:flex;align-items:center;justify-content:center}.standard-image img{width:100%;height:100%;object-fit:cover}.standard-card:hover{box-shadow:0 4px 12px #00000014}.standard-card.status-rejected{border-color:#fecaca;border-left-color:#dc2626;background:#fff7f7}.standard-card.status-failed{border-color:#fed7aa;border-left-color:#ea580c;background:#fffaf5}.standard-card.status-unsubmitted{border-color:#e5e7eb;border-left-color:#6b7280;background:#fafafa}.standard-card.status-passed{border-color:#bbf7d0;border-left-color:#16a34a;background:#f4fbf6}.standard-card.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb47}.standard-card h3{margin-bottom:8px;color:#333}.standard-card p{color:#666;margin-bottom:12px;font-size:14px}.status-badge{position:absolute;top:10px;right:10px;color:#fff;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;z-index:1}.status-rejected .status-badge{background:#dc2626;box-shadow:0 2px 8px #dc262659}.status-failed .status-badge{background:#ea580c;box-shadow:0 2px 8px #ea580c59}.status-unsubmitted .status-badge{background:#6b7280}.status-passed .status-badge{background:#16a34a;box-shadow:0 2px 8px #16a34a4d}.status-info{margin-top:12px;padding:10px 12px;border-radius:8px;font-size:13px}.status-info-passed{background:#16a34a1a;color:#166534}.status-info-score{font-weight:700;margin-top:4px}.status-info-rejected{background:#dc262614;color:#991b1b;font-weight:600;display:flex;flex-direction:column;gap:4px}.reject-remark{white-space:pre-wrap;word-break:break-word}.reject-hint{margin-top:6px;font-weight:500;color:#b91c1c}.status-info-failed{background:#ea580c14;color:#9a3412;font-weight:600}.rules{font-size:13px;color:#888}.rule{margin-bottom:4px;color:#888}.rule:before{content:"•";color:#ff8c42;margin-right:6px;font-weight:700}.btn{padding:12px 32px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.btn-primary{background:linear-gradient(135deg,#ff8c42,#ff6b35);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #ff8c4266}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:#f5f5f5;color:#666}.btn-secondary:hover{background:#e0e0e0}.button-group{display:flex;gap:12px;justify-content:center;margin-top:24px}.upload-area{margin-bottom:24px}.upload-box{border:2px dashed #d0d0d0;border-radius:12px;padding:40px;text-align:center;cursor:pointer;transition:all .3s;background:#fafafa}.upload-box:hover{border-color:#ff8c42;background:linear-gradient(135deg,#fff8f5,#fff0e8)}.upload-placeholder{color:#999}.upload-icon{font-size:48px;margin-bottom:16px}.hint{font-size:12px;color:#bbb;margin-top:8px}.preview-image{max-width:100%;max-height:400px;border-radius:8px}.result-container{background:linear-gradient(135deg,#fafafa,#f5f5f5);border-radius:12px;padding:24px;margin-bottom:24px;border:1px solid #f0f0f0}.match-error{text-align:center;padding:40px 20px;background:#fff5f5;border-radius:12px;border:2px solid #ff6b6b}.error-icon{font-size:64px;margin-bottom:16px}.match-error h3{color:#ff6b6b;margin-bottom:12px;font-size:24px}.error-message{color:#666;font-size:16px;margin-bottom:8px;line-height:1.6}.error-hint{color:#999;font-size:14px;font-style:italic}.result-header{display:flex;align-items:center;gap:24px;margin-bottom:24px}.score-circle{width:100px;height:100px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-weight:700}.score-circle.passed{background:linear-gradient(135deg,#4caf50,#45a049)}.score-circle.failed{background:linear-gradient(135deg,#f44336,#e53935)}.score-number{font-size:36px;line-height:1}.score-label{font-size:14px;margin-top:4px}.result-status h3{margin-bottom:8px;color:#333}.result-status p{color:#666;font-size:14px}.issues-section,.suggestions-section{margin-bottom:24px}.issues-section h4,.suggestions-section h4{margin-bottom:12px;color:#333}.issues-list{display:flex;flex-direction:column;gap:12px}.issue-item{padding:16px;border-radius:8px;border-left:4px solid}.issue-item.high{background:#fff5f5;border-color:#f44336}.issue-item.medium{background:#fff8e1;border-color:#ff9800}.issue-item.low{background:#f1f8e9;border-color:#4caf50}.issue-item.ok{background:#e8f5e9;border-color:#2e7d32}.issue-item.missing{background:#fff3e0;border-color:#fb8c00}.issue-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.issue-severity{padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600}.issue-item.high .issue-severity{background:#f44336;color:#fff}.issue-item.medium .issue-severity{background:#ff9800;color:#fff}.issue-item.low .issue-severity{background:#4caf50;color:#fff}.issue-item.ok .issue-severity{background:#2e7d32;color:#fff}.issue-item.missing .issue-severity{background:#fb8c00;color:#fff}.issue-rule{font-weight:600;color:#333}.issue-description{color:#666;font-size:14px}.suggestions-list{list-style:none;display:flex;flex-direction:column;gap:8px}.suggestions-list li{background:linear-gradient(135deg,#fff8f5,#fff0e8);border-radius:8px;color:#666;position:relative;padding:12px 12px 12px 32px;border:1px solid #ffe8d6}.suggestions-list li:before{content:"💡";position:absolute;left:12px;filter:hue-rotate(-30deg) saturate(1.2)}@media (max-width: 640px){body{padding:8px}.header{padding:14px 12px;text-align:left}.header-top{flex-direction:column;align-items:stretch;gap:10px}.header h1{font-size:18px;line-height:1.3;word-break:break-word}.auth-badge{justify-content:flex-start;width:100%}.auth-name{max-width:100%;overflow:hidden;text-overflow:ellipsis}.main{padding:16px 12px 24px}.step-content h2{font-size:20px}.standards-grid{grid-template-columns:1fr}}
