*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f4f6fb;color:#182033}.container{max-width:960px;margin:32px auto;padding:0 16px}.card{background:#fff;border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 10px 30px rgba(15,23,42,.08)}.hero{text-align:left}h1,h2{margin:0 0 10px}.grid{display:grid;grid-template-columns:220px 1fr;gap:14px;margin:18px 0}label{font-weight:700;font-size:14px}select,input{width:100%;margin-top:8px;padding:13px 14px;border:1px solid #d8deea;border-radius:12px;font-size:16px}button{background:#175cff;color:#fff;border:0;border-radius:12px;padding:13px 22px;font-weight:700;cursor:pointer}button:disabled{opacity:.65}.result{margin-top:20px}.alert{padding:16px;border-radius:14px}.success{background:#eefaf1;color:#0b7a2a}.error{background:#fff0f0;color:#b42318}.loading{padding:16px;background:#eef4ff;border-radius:14px}.summary{background:#fff3cd;padding:14px;border-radius:14px;font-weight:700;margin-bottom:14px}.violation{border:1px solid #e2e8f0;border-radius:16px;padding:16px;margin:12px 0}.violation-head{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f7;padding-bottom:10px;margin-bottom:12px}.violation-head span{background:#fee2e2;color:#991b1b;border-radius:999px;padding:4px 10px;font-size:13px}.row{margin:10px 0;line-height:1.45}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}a{color:#175cff;text-decoration:none;font-weight:700}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:720px}th,td{border-bottom:1px solid #e5e7eb;padding:12px;text-align:left}th{background:#f8fafc}.good{color:#047857;font-weight:700}.bad{color:#dc2626;font-weight:700}@media(max-width:700px){.grid{grid-template-columns:1fr}.card{padding:18px}.section-title{align-items:flex-start;flex-direction:column}}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    font-size: 15px;
}

.history-table th,
.history-table td {
    border: 1px solid #bbb;
    padding: 18px 15px;
    text-align: center;
    white-space: nowrap;
}

.history-table th {
    font-weight: 700;
    background: #fff;
}

.history-table tr:nth-child(even) {
    background: #f7f7f7;
}

.good {
    color: #16a34a;
    background: #ecfdf3;
    padding: 4px 10px;
    border-radius: 4px;
}

.bad {
    color: #dc2626;
    background: #fee2e2;
    padding: 4px 10px;
    border-radius: 4px;
}
