/* Public record page. Neutral placeholder branding. */

* {
  box-sizing: border-box;
}

:root {
  --green: #00684d;
  --btn: #28a745;
  --line: #d9d9d9;
  --text: #222;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Hind Siliguri", system-ui, sans-serif;
  color: var(--text);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --------------------------------------------------------------- header -- */
.site-header {
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.home-link {
  display: inline-flex;
  flex: 0 0 auto;
}
.home-link img {
  display: block;
  opacity: 0.8;
}

.brand {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.brand img {
  display: block;
  max-height: 60px;
}

.header-date {
  flex: 0 0 auto;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
}

/* ----------------------------------------------------------------- main -- */
.main-area {
  flex: 1 0 auto;
  padding-top: 28px;
  padding-bottom: 48px;
}

.record-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.record-intro {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.6;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.record-table th,
.record-table td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.7;
}

.record-table th {
  width: 42%;
  font-weight: 500;
  background: #ffffff;
}

.owner {
  margin-bottom: 6px;
}
.owner:last-child {
  margin-bottom: 0;
}

.btn-cell {
  text-align: left;
  padding: 14px 16px;
}

.btn-download {
  background-color: var(--btn);
  border: 1px solid var(--btn);
  color: #ffffff;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 5px;
  cursor: not-allowed;
  opacity: 0.85;
}
.btn-download[disabled] {
  pointer-events: none;
}

.notice {
  max-width: 840px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}
.notice-title {
  font-size: 16px;
  font-weight: 700;
  color: #b91c1c;
  margin: 0 0 8px;
}
.notice-sub {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* --------------------------------------------------------------- footer -- */
.site-footer {
  position: relative;
  background: var(--green);
  color: #ffffff;
  padding: 25px 0 0;
  overflow: hidden;
  margin-top: auto;
}

.footer-shape {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  max-width: 45%;
  opacity: 0.05;
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-col {
  min-width: 150px;
}
.footer-col h3 {
  color: #ffd54a;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}
.footer-col a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.92;
}
.footer-col a:hover {
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-tag {
  font-size: 12px;
  opacity: 0.8;
}

.footer-app {
  position: relative;
  text-align: center;
  padding: 18px 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.app-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--btn);
}

.footer-note {
  margin: 14px 0 0;
  font-size: 13px;
  opacity: 0.9;
}

/* --------------------------------------------------------------- mobile -- */
@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
  }
  .brand img {
    max-height: 46px;
  }
  .header-date {
    font-size: 12px;
    white-space: normal;
    text-align: right;
  }

  .record-intro {
    font-size: 15px;
  }
  .record-table th,
  .record-table td {
    padding: 10px 10px;
    font-size: 14px;
  }
  .record-table th {
    width: 40%;
  }

  .footer-top {
    flex-direction: column;
    gap: 22px;
    text-align: center;
    align-items: center;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-shape {
    max-width: 70%;
    opacity: 0.05;
  }
}
