* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f0f2f5; color: #1d1d1f; line-height: 1.5; }
.header { background: #1a1a2e; padding: 1.25rem 0; }
.header-inner { max-width: 900px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; gap: 1rem; }
.logo { height: 36px; }
.header-text h1 { color: #fff; font-size: 1.4rem; font-weight: 600; }
.header-text p { color: #00c4cc; font-size: 0.85rem; }
.container { max-width: 900px; margin: 0 auto; padding: 1.5rem 1rem; }
.credentials, .input-section { background: #fff; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e8eaed; }
.credentials h3 { font-size: 0.8rem; color: #888; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-row { display: flex; gap: 1rem; }
.form-row label { flex: 1; font-size: 0.85rem; color: #666; }
.form-row input { display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; }
.form-row input:focus { outline: none; border-color: #00c4cc; box-shadow: 0 0 0 2px rgba(0,196,204,0.15); }
.input-section label { font-weight: 600; font-size: 0.95rem; }
.hint { font-weight: 400; color: #888; font-size: 0.85rem; }
textarea { display: block; width: 100%; margin: 0.5rem 0; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-family: monospace; font-size: 0.9rem; resize: vertical; }
textarea:focus { outline: none; border-color: #00c4cc; box-shadow: 0 0 0 2px rgba(0,196,204,0.15); }
button { background: #00c4cc; color: #fff; border: none; padding: 0.6rem 1.5rem; border-radius: 6px; font-size: 0.95rem; cursor: pointer; font-weight: 500; }
button:hover { background: #00b0b8; }
button:disabled { background: #ccc; cursor: not-allowed; }
.loading { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; color: #888; }
.hidden { display: none; }
.spinner { width: 20px; height: 20px; border: 3px solid #e0e0e0; border-top-color: #00c4cc; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.report { background: #fff; border-radius: 10px; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #e8eaed; overflow: hidden; }
.report-header { padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid #f0f0f0; }
.report-header h2 { font-size: 1.1rem; flex: 1; }
.status-badge { padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.status-ok { background: #e6f9ed; color: #1a7f37; }
.status-warning { background: #fff4e5; color: #c45500; }
.status-error { background: #ffeef0; color: #cf222e; }
.status-info { background: #e8f4fd; color: #0969da; }
.status-unavailable { background: #f3e5f5; color: #7b1fa2; }
.check-section { border-bottom: 1px solid #f0f0f0; }
.check-section:last-child { border-bottom: none; }
.check-header { padding: 0.75rem 1.25rem; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; user-select: none; }
.check-header:hover { background: #fafbfc; }
.check-header .icon { font-size: 1.1rem; }
.check-header .name { flex: 1; font-weight: 500; font-size: 0.95rem; }
.check-header .arrow { color: #ccc; transition: transform 0.2s; }
.check-header.open .arrow { transform: rotate(90deg); }
.check-body { padding: 0 1.25rem 0.75rem; display: none; }
.check-body.open { display: block; }
.finding { padding: 0.4rem 0; display: flex; gap: 0.5rem; font-size: 0.9rem; }
.finding .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 0.45rem; flex-shrink: 0; }
.dot-ok { background: #1a7f37; }
.dot-warning { background: #c45500; }
.dot-error { background: #cf222e; }
.dot-info { background: #0969da; }
.dot-unavailable { background: #9c27b0; }
.finding-title { font-weight: 500; }
.finding-detail { color: #666; font-size: 0.85rem; }
.finding-detail a { color: #00c4cc; text-decoration: none; }
.finding-detail a:hover { text-decoration: underline; }
.comp-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 0.8rem; }
.comp-table th { text-align: left; padding: 0.3rem 0.5rem; border-bottom: 2px solid #e0e0e0; color: #888; font-weight: 600; }
.comp-table td { padding: 0.3rem 0.5rem; border-bottom: 1px solid #f0f0f0; }
.comp-table .pan-row { color: #9e9e9e; }
.error-msg { background: #ffeef0; color: #cf222e; padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1rem; }
.raw-details { margin-top: 0.5rem; font-size: 0.85rem; }
.raw-details summary { cursor: pointer; color: #888; font-weight: 500; }
.raw-details summary:hover { color: #1d1d1f; }
.raw-change { padding: 0.3rem 0; color: #888; font-family: monospace; font-size: 0.8rem; border-bottom: 1px solid #f5f5f5; }
#login-status { align-self: center; font-size: 0.85rem; margin-left: 0.5rem; }
.login-ok { color: #1a7f37; }
.login-expired { color: #c45500; }
.summary-card { padding: 0.75rem 1rem; border-radius: 8px; margin: 0 1.25rem 0.75rem; font-size: 0.9rem; font-weight: 500; line-height: 1.4; }
.summary-ok { background: #e6f9ed; color: #1a7f37; }
.summary-warning { background: #fff4e5; color: #c45500; }
.summary-error { background: #ffeef0; color: #cf222e; }
