:root {
  --teal: #00b6aa;
  --teal-dark: #087b6d;
  --teal-deep: #0b5f57;
  --lime: #cad92a;
  --lime-soft: #f4f8d8;
  --green: #16ae97;
  --green-soft: #e4f6f2;
  --amber: #e3862d;
  --amber-soft: #fdf0e2;
  --danger: #c00000;
  --danger-soft: #fbe9e9;
  --ink: #173f3a;
  --body: #5f6f6c;
  --muted: #8a9996;
  --line: #e3ece9;
  --soft: #f5faf9;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(8, 123, 109, 0.07);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

.pub-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 42px;
}

.pub-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pub-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--teal-dark);
  min-width: 0;
}

.pub-brand img {
  height: 46px;
  width: auto;
  display: block;
}

.pub-brand-divider {
  width: 1px;
  height: 42px;
  background: var(--line);
}

.pub-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pub-brand-text strong {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: -0.2px;
}

.pub-brand-text small {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--muted);
  margin-top: 2px;
}

.pub-public-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: #6b7415;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pub-public-badge svg {
  width: 14px;
  height: 14px;
}

.pub-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
}

.pub-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--body);
  transition: background 0.15s ease, color 0.15s ease;
}

.pub-nav a svg {
  width: 16px;
  height: 16px;
}

.pub-nav a:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.pub-nav a.is-active {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(0, 182, 170, 0.24);
}

.pub-nav a.pub-nav-login {
  background: var(--teal-dark);
  color: var(--white);
}

.pub-nav a.pub-nav-login:hover {
  background: var(--teal);
  color: var(--white);
}

.pub-page-head {
  padding: 26px 0 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.pub-page-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: -0.4px;
}

.pub-page-head p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
