* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f6f7f9;
  color: #1c1e21;
}
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
h1 { font-size: 1.5rem; margin-bottom: 4px; }
h2 { font-size: 1.1rem; margin-top: 28px; border-bottom: 2px solid #dfe3e8; padding-bottom: 6px; }
.sub { color: #65676b; margin-top: 0; margin-bottom: 20px; }

.search-box { display: flex; gap: 8px; margin-bottom: 8px; }
.search-box input[type=text] {
  flex: 1;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccd0d5;
  border-radius: 6px;
}
.search-box button {
  padding: 10px 20px;
  font-size: 1rem;
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.search-box button:hover { background: #145dbf; }

.empty { color: #65676b; font-style: italic; }

table { width: 100%; border-collapse: collapse; background: #fff; }
.result-table, .rate-table { margin-top: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); border-radius: 6px; overflow: hidden; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eceff1; font-size: .92rem; }
thead th { background: #eef1f5; font-weight: 600; }
tr:hover td { background: #fafbfc; }
.mahs { font-weight: 600; white-space: nowrap; }
.rate-val { font-weight: 600; }
.muted { color: #8a8d91; font-style: italic; }

.info-table { margin-top: 12px; }
.info-table th { width: 180px; background: #eef1f5; vertical-align: top; }

.mahs-title { display: flex; align-items: center; gap: 10px; }
.badge-sen {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffe69c;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
  text-decoration: none;
}
a.badge-sen {
  cursor: pointer;
}
a.badge-sen:hover {
  background: #ffe69c;
}
.sen-box {
  margin-top: 16px;
  padding: 10px 14px;
  background: #fff8e6;
  border: 1px solid #ffe69c;
  border-radius: 6px;
  font-size: .92rem;
}
.sen-box-warn { background: #f3f4f6; border-color: #dfe3e8; }

.policy-text { white-space: pre-line; line-height: 1.5; }
