@import url('/fonts.css');
:root {
  --ink: #233c31;
  --green: #214d3c;
  --green-soft: #e7eee5;
  --paper: #faf9f5;
  --white: #fff;
  --muted: #6c756c;
  --line: #e3e6dd;
  --orange: #b97a46;
  --serif: Georgia, 'Noto Serif', serif;
  --sans: 'Segoe UI', 'Nirmala UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(42px, 5vw, 70px);
}
h2 {
  font-size: clamp(30px, 3.1vw, 44px);
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p {
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #b68a54;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 10px;
  top: -60px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: var(--green);
  display: block;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 24px;
  min-height: 48px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #163b2c;
  transform: translateY(-1px);
}
.button.secondary {
  background: transparent;
  color: var(--green);
  border-color: #cfd8ce;
}
.button.secondary:hover {
  background: var(--green-soft);
}
.button.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green);
}
.button.small {
  padding: 10px 17px;
  min-height: 42px;
  font-size: 12px;
}
.full {
  width: 100%;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 0;
  min-height: 44px;
}
.text-link {
  border-bottom: 1px solid var(--green);
  font-weight: 600;
  font-size: 13px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.21em;
  font-weight: 500;
  margin-top: 4px;
}
.brand-mark {
  width: 42px;
  height: 46px;
  border: 1px solid #c2cdbe;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-family: Georgia;
  line-height: 1;
  background: #f1f3eb;
}
.language {
  font-size: 12px;
  font-weight: 600;
  padding: 10px 12px;
  min-height: 44px;
}
.language span {
  color: var(--muted);
  margin-left: 4px;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #faf9f5f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.desktop-nav {
  display: flex;
  gap: 18px;
}
.desktop-nav button {
  padding: 10px 0;
  font-size: 11px;
  color: var(--muted);
  position: relative;
}
.desktop-nav button.active {
  color: var(--green);
}
.desktop-nav button.active:after {
  content: '';
  position: absolute;
  height: 2px;
  width: 15px;
  background: var(--green);
  bottom: 2px;
  left: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-button {
  display: none;
  font-size: 24px;
  min-height: 44px;
  min-width: 44px;
}
#mobile-menu {
  padding: 10px 20px 20px;
  border-top: 1px solid var(--line);
}
#mobile-menu button {
  display: block;
  text-align: left;
  padding: 12px;
  width: 100%;
}
main {
  max-width: 1280px;
  margin: auto;
}
.hero {
  padding: 58px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy {
  padding: 20px 0;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  color: #63806b;
  font-style: italic;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 395px;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-footnote {
  margin-top: 40px;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-footnote > span {
  font-size: 22px;
}
.tiny-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 100%;
  background: #8da37f;
  margin-right: 6px;
}
.hero-image {
  position: relative;
  min-width: 0;
}
.hero-image > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 160px 160px 16px 16px;
}
.image-note {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #faf9f5eb;
  backdrop-filter: blur(12px);
  padding: 13px 18px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.image-note > span {
  font-size: 24px;
}
.principles {
  margin: 0 40px;
  padding: 26px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.principles > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}
.principles > div:last-child {
  border: 0;
}
.principles span {
  font-family: var(--serif);
  font-size: 20px;
  color: #93a58d;
}
.principles p {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
}
.section {
  padding: 76px 40px;
}
.section-heading {
  max-width: 620px;
  margin-bottom: 34px;
}
.section-heading h2 {
  margin-bottom: 16px;
}
.section-heading > p {
  font-size: 14px;
  max-width: 480px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 14px;
}
.card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 22px;
}
.card p {
  font-size: 14px;
}
.class-card {
  position: relative;
}
.number {
  font-family: var(--serif);
  font-size: 40px;
  color: #acbca2;
  display: block;
  margin-bottom: 20px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.tags span {
  padding: 4px 9px;
  background: #f0f2e9;
  border-radius: 5px;
  font-size: 10px;
  color: #62765f;
}
.class-card dl {
  display: grid;
  grid-template-columns: 85px 1fr;
  font-size: 11px;
  gap: 9px;
  margin: 28px 0;
}
.class-card dt {
  color: var(--muted);
}
.class-card dd {
  margin: 0;
}
.class-card .button {
  width: 100%;
  font-size: 11px;
}
.empty-public {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 35px;
  background: #f0f2e9;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 0 25px;
  align-items: center;
}
.empty-public > span {
  grid-row: span 3;
  font-size: 64px;
  font-family: Georgia;
  color: #78906c;
}
.empty-public h3 {
  margin: 0 0 8px;
}
.empty-public p {
  margin: 0;
  font-size: 13px;
  max-width: 560px;
}
.empty-public .button {
  grid-column: 3;
  grid-row: 1 / span 3;
}
.result-symbol {
  font-size: 32px;
  color: #a58452;
  display: block;
  margin-bottom: 20px;
}
.placement {
  color: var(--green);
  font-weight: 600;
}
.linked-result {
  padding: 10px;
  background: var(--green-soft);
  border-radius: 6px;
  font-size: 12px;
  margin-top: 8px;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  margin-bottom: 20px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  margin: 15px 25px 5px 0;
}
.narrow {
  max-width: 800px;
  margin: auto;
}
.cta {
  margin: 30px 40px 80px;
  background: var(--green);
  border-radius: 18px;
  padding: 46px 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  color: white;
}
.cta > span {
  font-size: 90px;
  color: #9eb99c;
  font-family: Georgia;
}
.cta .eyebrow {
  color: #b8cbb5;
  font-size: 9px;
}
.cta h2 {
  font-size: 35px;
  margin-bottom: 14px;
}
.cta p {
  color: #c2d2c1;
  margin: 0;
  font-size: 13px;
}
.cta .button {
  margin-left: auto;
  white-space: nowrap;
}
.large-copy {
  font-size: 22px;
  line-height: 1.8;
  max-width: 780px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  padding: 0;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item img {
  height: 270px;
  width: 100%;
  object-fit: cover;
}
.gallery-item span {
  display: block;
  padding: 16px;
  font-size: 13px;
}
.review {
  margin: 0;
}
.review > span {
  font-family: Georgia;
  font-size: 60px;
  color: #9dad8b;
  line-height: 1;
}
.review cite {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-details {
  margin-top: 45px;
}
.contact-details > a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details > a > span {
  background: var(--green-soft);
  width: 45px;
  height: 45px;
  border-radius: 100%;
  display: grid;
  place-items: center;
}
.contact-details small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.contact-details strong {
  font-weight: 500;
}
.address {
  margin: 30px 0;
}
.address p {
  color: var(--ink);
  margin-bottom: 8px;
}
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.form-card h3 {
  font-size: 23px;
}
.segmented {
  display: flex;
  background: #f1f3ed;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 25px;
}
.segmented button {
  flex: 1;
  padding: 10px;
  font-size: 12px;
  border-radius: 6px;
  min-height: 44px;
}
.segmented button.active {
  background: white;
  box-shadow: 0 1px 4px #22332212;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
label > span {
  color: var(--orange);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  background: white;
  border: 1px solid #d9dfd5;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  min-height: 46px;
  max-width: 100%;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.checkbox {
  flex-direction: row;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  gap: 10px;
}
.checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin-top: 2px;
}
.form-note {
  font-size: 11px;
  line-height: 1.7;
}
.form-error {
  color: #a44232;
  font-size: 13px;
  margin: 12px 0;
  white-space: pre-line;
}
.trap {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}
.success {
  padding: 50px 0;
  text-align: center;
}
.success > span {
  display: grid;
  place-items: center;
  background: var(--green-soft);
  width: 65px;
  height: 65px;
  border-radius: 100%;
  margin: 0 auto 25px;
  font-size: 30px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 36px 40px;
  max-width: 1280px;
  margin: auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 30px;
}
.footer-top p {
  font-size: 12px;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #899084;
  font-size: 10px;
}
.mobile-contact {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px);
  padding: 14px 22px;
  background: var(--ink);
  border-radius: 10px;
  color: white;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 4px 20px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  color: var(--ink);
  background: var(--paper);
  overflow: auto;
}
dialog::backdrop {
  background: #12251bb0;
  backdrop-filter: blur(3px);
}
.dialog-close {
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green-soft);
  flex-shrink: 0;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.dialog-head h2 {
  font-size: 30px;
  margin: 0;
}
.dialog-head .eyebrow {
  margin-bottom: 10px;
}
#lightbox {
  max-width: 950px;
}
#lightbox .dialog-close {
  margin-left: auto;
  display: block;
  margin-bottom: 15px;
}
#lightbox img {
  max-height: 65dvh;
  margin: auto;
  border-radius: 10px;
}
#lightbox p {
  margin: 15px 0 0;
}
.preview-banner {
  background: #ddbf82;
  padding: 10px;
  text-align: center;
  font-size: 12px;
}
.preview-banner a {
  text-decoration: underline;
  margin-left: 16px;
}
.admin-body {
  background: #f5f6f0;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 235px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar .brand {
  font-size: 15px;
}
.sidebar-caption {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #8b9687;
  margin: 50px 12px 18px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar nav button {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  min-height: 46px;
}
.sidebar nav button > span {
  font-size: 20px;
  width: 20px;
  text-align: center;
}
.sidebar nav button.active {
  background: var(--green);
  color: white;
}
.sidebar nav button small {
  margin-left: auto;
  background: #ffffff22;
  padding: 1px 7px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 5px 0;
}
.sidebar-bottom > a {
  font-size: 11px;
  display: block;
  margin-bottom: 24px;
}
.user-chip {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
}
.user-chip > span,
.avatar {
  height: 40px;
  width: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
  background: #e4eadd;
  color: #4c6947;
  border-radius: 50%;
  font-size: 15px;
}
.user-chip small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.admin-main {
  margin-left: 235px;
  max-width: 1600px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  height: 90px;
}
.admin-header .eyebrow {
  font-size: 8px;
  margin: 0 0 4px;
}
.admin-header strong {
  font-size: 15px;
  font-weight: 500;
}
.admin-content {
  padding: 38px 40px 60px;
  max-width: 1300px;
}
.page-heading {
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 38px;
  margin-bottom: 12px;
}
.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 15px;
}
.page-heading p {
  font-size: 13px;
  margin: 0;
}
.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.stat > span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  font-size: 44px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.5;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 24px;
}
.panel h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.panel-heading h2 {
  margin: 0;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shortcuts button {
  padding: 18px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11px;
  position: relative;
  min-height: 92px;
}
.shortcuts button > span {
  font-size: 24px;
  color: #7e9372;
  margin-bottom: 6px;
}
.shortcuts i {
  position: absolute;
  right: 13px;
  top: 14px;
  color: #8d9c86;
}
.empty-admin {
  text-align: center;
  padding: 32px 20px;
}
.empty-admin > span {
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  width: 50px;
  height: 50px;
  font-size: 28px;
  background: #f1f4e9;
  border-radius: 50%;
  color: #829775;
}
.empty-admin h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.empty-admin p {
  font-size: 12px;
  margin: 0;
}
.tip {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 25px;
  background: #e9eee1;
  border: 1px solid #dbe2d1;
  border-radius: 9px;
  color: #6c8260;
  font-size: 25px;
}
.tip p {
  font-size: 12px;
  margin: 0;
  color: #5b6f53;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.list-row > span:last-child {
  margin-left: auto;
}
.list-row strong {
  font-size: 12px;
}
.list-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.date-range {
  display: flex;
  gap: 8px;
}
.date-range input {
  font-size: 11px;
  padding: 5px 8px;
  min-height: 35px;
  max-width: 140px;
}
.date-range .button {
  min-height: 35px;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.mini-stats > span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 11px;
}
.mini-stats strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.measurement > .muted {
  margin: 20px 0 0;
  font-size: 10px;
}
.content-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 10px;
}
.content-tabs button {
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 12px;
  background: white;
  border: 1px solid var(--line);
  min-height: 43px;
}
.content-tabs button.active {
  background: var(--green-soft);
  border-color: #b7c7ae;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.search {
  position: relative;
  flex: 1;
  margin: 0;
  max-width: 380px;
}
.search > span {
  position: absolute;
  left: 14px;
  top: 7px;
  font-size: 22px;
  color: #879280;
}
.search input {
  padding-left: 42px;
}
.record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.record-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.record-card > img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.record-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #eef2e6;
  color: #8a9e7b;
  font-size: 30px;
  flex-shrink: 0;
}
.record-card > div {
  flex: 1;
  min-width: 0;
}
.record-card h3 {
  font-size: 16px;
  margin: 6px 0;
}
.record-card p {
  font-size: 12px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.record-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.record-card .draft-note {
  color: var(--orange);
  margin-top: 4px;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: #edf0e7;
  color: #66795d;
  font-size: 9px;
  line-height: 1.5;
}
.badge.draft {
  background: #f6edda;
  color: #947239;
}
.badge.published {
  background: #e6efdf;
  color: #4e7341;
}
.badge.archived {
  background: #eee;
  color: #888;
}
.editor-section {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 14px;
}
.editor-section h3 {
  font-size: 17px;
}
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  bottom: -30px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 20px;
}
.dialog-actions .button {
  padding: 12px 18px;
  font-size: 12px;
}
.dialog-actions .text-button {
  font-size: 11px;
}
.upload-zone {
  padding: 22px;
  background: #eef2e7;
  border: 1px dashed #a9ba9d;
  border-radius: 9px;
  text-align: center;
  font-weight: 400;
}
.upload-zone input {
  font-size: 12px;
  border: none;
  background: transparent;
  padding: 6px;
}
.upload-preview {
  max-height: 260px;
  margin: 15px auto;
  border-radius: 10px;
  object-fit: contain;
}
.upload-preview.square {
  width: 220px;
  height: 220px;
  object-fit: cover;
}
.enquiry-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 22px;
}
.enquiry-filters label {
  margin: 0;
  flex: 1;
  min-width: 140px;
  font-size: 10px;
}
.enquiry-filters .search {
  flex: 2;
  min-width: 220px;
}
.enquiry-filters select,
.enquiry-filters input {
  font-size: 12px;
}
.enquiry-card {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.enquiry-card > div {
  flex: 1;
  min-width: 0;
}
.enquiry-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.enquiry-title strong {
  font-size: 15px;
}
.enquiry-card p {
  font-size: 12px;
  margin: 7px 0;
}
.enquiry-card small {
  font-size: 10px;
  color: var(--muted);
}
.enquiry-detail {
  padding: 20px;
  background: var(--green-soft);
  border-radius: 12px;
  margin-bottom: 25px;
}
.enquiry-detail p {
  font-size: 13px;
  margin: 10px 0;
  color: var(--ink);
}
.enquiry-detail small {
  font-size: 11px;
}
.enquiry-detail .hero-actions {
  margin-top: 20px;
  gap: 10px;
}
.note-history article {
  padding: 15px;
  border-left: 2px solid #bfceaf;
  margin: 15px 0;
  background: #eef2e7;
}
.note-history p {
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--ink);
}
.note-history small {
  font-size: 9px;
  color: var(--muted);
}
.danger {
  color: #a14935;
}
.permission-list {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}
.permission-list .checkbox:last-child {
  margin: 0;
}
.audit-row {
  display: flex;
  flex-direction: column;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.audit-row strong {
  font-size: 12px;
  font-weight: 500;
}
.audit-row small {
  font-size: 10px;
  color: var(--muted);
}
.admin-mobile-nav {
  display: none;
}
.more-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.more-menu button {
  text-align: left;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}
.login-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  max-width: none;
}
.login-art {
  position: relative;
  background: var(--green);
  min-height: 100dvh;
  overflow: hidden;
  color: white;
}
.login-art > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  opacity: 0.6;
}
.login-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #123322ed);
}
.login-art > div {
  position: absolute;
  bottom: 65px;
  left: 55px;
  right: 55px;
  z-index: 1;
}
.login-art .eyebrow {
  color: #c8d7bc;
}
.login-art h1 {
  font-size: 48px;
}
.login-art p {
  color: #d6e2cc;
  max-width: 390px;
  font-size: 14px;
}
.login-panel {
  padding: 40px 55px;
  display: flex;
  flex-direction: column;
}
.login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.login-panel form {
  max-width: 370px;
  width: 100%;
  margin: auto;
}
.login-panel h2 {
  font-size: 40px;
  margin-bottom: 15px;
}
.login-panel form > p {
  font-size: 13px;
  margin-bottom: 30px;
}
.login-panel form > .form-note {
  font-size: 10px;
  margin: 22px 0;
}
.login-panel > small {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}
.login-panel .form-error {
  margin-bottom: 16px;
}
@media (min-width: 1440px) {
  .hero {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .hero-image > img {
    height: 560px;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 12px;
  }
  .desktop-nav button {
    font-size: 10px;
  }
  .header-inner {
    padding: 18px 24px;
  }
  .header-actions {
    gap: 6px;
  }
  .hero {
    gap: 30px;
    padding: 40px 24px;
  }
  .hero-image > img {
    height: 460px;
  }
  .cards {
    gap: 15px;
  }
  .card {
    padding: 22px;
  }
  .sidebar {
    width: 210px;
    padding: 25px 16px;
  }
  .admin-main {
    margin-left: 210px;
  }
  .admin-content,
  .admin-header {
    padding-left: 25px;
    padding-right: 25px;
  }
  .admin-grid {
    gap: 16px;
  }
  .panel {
    padding: 22px;
  }
  .panel-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-image > img {
    height: 410px;
  }
  .section {
    padding: 55px 24px;
  }
  .principles {
    margin: 0 24px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards > article:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .contact-grid {
    gap: 35px;
  }
  .form-card {
    padding: 25px;
  }
  .cta {
    margin: 25px 24px 60px;
    padding: 30px;
    gap: 20px;
  }
  .cta > span {
    font-size: 65px;
  }
  .cta h2 {
    font-size: 29px;
  }
  .cta .eyebrow {
    font-size: 8px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .empty-public {
    grid-template-columns: 55px 1fr;
    gap: 0 20px;
  }
  .empty-public .button {
    grid-row: auto;
    grid-column: 2;
    justify-self: start;
    margin-top: 20px;
  }
  .sidebar {
    width: 190px;
  }
  .sidebar nav button {
    font-size: 11px;
    padding: 12px 9px;
  }
  .sidebar .brand {
    font-size: 13px;
  }
  .admin-main {
    margin-left: 190px;
  }
  .stat {
    padding: 19px;
  }
  .stat-grid {
    gap: 12px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .login-panel {
    padding: 30px;
  }
  .login-art > div {
    left: 30px;
    right: 30px;
  }
  .login-art h1 {
    font-size: 40px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 14px;
  }
  .header-inner {
    padding: 12px 18px;
    gap: 8px;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand-mark {
    width: 35px;
    height: 39px;
    font-size: 28px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-actions > .button {
    display: none;
  }
  .header-actions {
    gap: 2px;
  }
  .language {
    font-size: 12px;
    padding: 10px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 38px 20px 28px;
    align-items: stretch;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 47px;
    margin-bottom: 20px;
    max-width: 420px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 360px;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 23px;
  }
  .hero-footnote {
    margin-top: 25px;
    font-size: 10px;
    line-height: 1.5;
  }
  .hero-image > img {
    height: 340px;
    border-radius: 120px 120px 12px 12px;
  }
  .image-note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 10px;
    padding: 10px 13px;
  }
  .principles {
    margin: 0 20px;
    padding: 19px 0;
    gap: 12px;
  }
  .principles > div {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    padding-left: 10px;
  }
  .principles span {
    font-size: 17px;
  }
  .principles p {
    font-size: 10px;
    max-width: 90px;
    line-height: 1.5;
  }
  .section {
    padding: 45px 20px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .section-heading > .eyebrow {
    font-size: 9px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 25px;
  }
  .class-card dl {
    font-size: 12px;
  }
  .class-card .button {
    font-size: 13px;
  }
  .empty-public {
    padding: 25px;
    gap: 0 15px;
    grid-template-columns: 35px 1fr;
  }
  .empty-public > span {
    font-size: 42px;
    align-self: start;
    grid-row: span 2;
  }
  .empty-public h3 {
    font-size: 18px;
  }
  .empty-public p {
    font-size: 12px;
  }
  .empty-public .button {
    grid-column: 1 / span 2;
    margin-top: 23px;
    width: 100%;
  }
  .cta {
    margin: 12px 20px 45px;
    padding: 30px;
    flex-wrap: wrap;
    gap: 22px;
  }
  .cta > span {
    display: none;
  }
  .cta h2 {
    font-size: 32px;
  }
  .cta .button {
    margin-left: 0;
    width: 100%;
  }
  .cta .eyebrow {
    font-size: 8px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  footer {
    padding: 30px 20px 95px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-item img {
    height: 180px;
  }
  .gallery-item span {
    padding: 12px;
    font-size: 11px;
  }
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .contact-details {
    margin-top: 25px;
  }
  .form-card {
    padding: 24px 20px;
  }
  .form-row {
    gap: 12px;
  }
  .form-row label {
    font-size: 11px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .segmented button {
    font-size: 11px;
  }
  .mobile-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: #faf9f5f5;
    border-top: 1px solid var(--line);
    gap: 10px;
    z-index: 25;
    backdrop-filter: blur(10px);
  }
  .mobile-contact a {
    flex: 1;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    font-size: 13px;
    background: var(--green-soft);
    color: var(--green);
  }
  .mobile-contact a:last-child {
    background: var(--green);
    color: white;
  }
  #toast {
    bottom: 90px;
    width: calc(100vw - 40px);
    text-align: center;
  }
  .sidebar {
    display: none;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-header {
    height: 76px;
    padding: 14px 20px;
  }
  .admin-header .eyebrow {
    font-size: 7px;
  }
  .admin-header strong {
    font-size: 13px;
  }
  .admin-header .text-button {
    font-size: 11px;
  }
  .admin-content {
    padding: 30px 18px 110px;
  }
  .page-heading h1 {
    font-size: 33px;
    margin-bottom: 10px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .split {
    flex-wrap: wrap;
    gap: 18px;
  }
  .split > .button {
    font-size: 12px;
    padding: 12px 20px;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-grid > .stat:last-child {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 15px 19px;
  }
  .stat-grid > .stat:last-child strong {
    font-size: 28px;
    order: -1;
  }
  .stat-grid > .stat:last-child small {
    margin-left: auto;
    max-width: 80px;
    line-height: 1.4;
    font-size: 9px;
  }
  .stat {
    padding: 19px 16px;
  }
  .stat strong {
    font-size: 40px;
  }
  .stat > span {
    font-size: 11px;
  }
  .stat small {
    font-size: 9px;
    line-height: 1.5;
  }
  .panel {
    padding: 22px 18px;
    margin-bottom: 18px;
  }
  .panel h2 {
    font-size: 16px;
  }
  .shortcuts button {
    font-size: 12px;
    min-height: 95px;
  }
  .admin-grid {
    gap: 0;
  }
  .tip {
    padding: 18px;
    font-size: 24px;
    align-items: flex-start;
  }
  .tip p {
    font-size: 11px;
  }
  .date-range {
    width: 100%;
    gap: 6px;
  }
  .date-range input {
    min-width: 0;
    max-width: none;
    flex: 1;
    font-size: 11px;
  }
  .date-range .button {
    font-size: 11px;
    padding: 8px;
  }
  .mini-stats strong {
    font-size: 27px;
  }
  .mini-stats > span {
    font-size: 10px;
  }
  .content-tabs {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .toolbar .search {
    max-width: none;
    width: 100%;
    flex-basis: 100%;
  }
  .record-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .record-card h3 {
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .record-card > img {
    width: 50px;
    height: 55px;
  }
  .record-icon {
    width: 42px;
    height: 48px;
    font-size: 26px;
  }
  .record-card .button {
    font-size: 10px;
    padding: 9px 13px;
    min-height: 43px;
    gap: 6px;
  }
  .record-card small {
    font-size: 9px;
  }
  .record-card p {
    font-size: 11px;
  }
  .enquiry-filters {
    gap: 10px;
  }
  .enquiry-filters .search {
    flex-basis: 100%;
    max-width: none;
  }
  .enquiry-filters label {
    min-width: calc(50% - 10px);
  }
  .enquiry-filters input,
  .enquiry-filters select {
    font-size: 16px;
  }
  .enquiry-card {
    padding: 18px 14px;
    gap: 12px;
  }
  .enquiry-card .avatar {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    align-self: flex-start;
  }
  .enquiry-title strong {
    font-size: 14px;
  }
  .enquiry-card p {
    font-size: 11px;
  }
  .enquiry-card small {
    font-size: 9px;
  }
  .admin-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #faf9f5fa;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 8px 4px calc(10px + env(safe-area-inset-bottom));
    z-index: 25;
    justify-content: space-around;
  }
  .admin-mobile-nav button {
    font-size: 8px;
    min-width: 44px;
    max-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
    gap: 5px;
    padding: 6px 4px;
    color: #8b9584;
    min-height: 48px;
  }
  .admin-mobile-nav button > span {
    font-size: 20px;
    line-height: 1;
  }
  .admin-mobile-nav button.active {
    color: var(--green);
    background: #e9eee3;
    border-radius: 7px;
  }
  dialog {
    padding: 23px 20px;
    max-height: 92dvh;
    width: calc(100% - 20px);
    border-radius: 16px;
  }
  .dialog-head h2 {
    font-size: 26px;
  }
  .dialog-actions {
    bottom: -23px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 15px 20px;
  }
  .dialog-actions .button {
    font-size: 11px;
    flex: 1;
  }
  .dialog-actions .text-button {
    font-size: 10px;
  }
  .permission-list {
    padding: 18px 14px;
  }
  .checkbox {
    font-size: 12px;
    line-height: 1.6;
    min-height: 30px;
  }
  .login-screen {
    display: flex;
    flex-direction: column;
  }
  .login-art {
    min-height: 235px;
    max-height: 235px;
  }
  .login-art > div {
    left: 24px;
    right: 24px;
    bottom: 23px;
  }
  .login-art h1 {
    font-size: 30px;
    margin-bottom: 0;
  }
  .login-art .eyebrow {
    font-size: 8px;
    margin-bottom: 14px;
  }
  .login-art p {
    display: none;
  }
  .login-panel {
    padding: 26px 24px 30px;
    min-height: calc(100dvh - 235px);
  }
  .login-top {
    margin-bottom: 35px;
  }
  .login-panel h2 {
    font-size: 34px;
  }
  .login-panel form {
    margin: 0 auto 35px;
  }
  .login-panel form > .eyebrow {
    font-size: 8px;
  }
  .login-panel form > p {
    font-size: 12px;
    margin-bottom: 25px;
  }
  .login-panel form > .form-note {
    font-size: 10px;
  }
  .login-panel label {
    font-size: 12px;
  }
  .preview-banner {
    font-size: 10px;
  }
  .preview-banner a {
    display: block;
    margin: 0;
  }
  .large-copy {
    font-size: 18px;
  }
  .filter-label {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 41px;
  }
  .brand {
    font-size: 13px;
  }
  .hero-image > img {
    height: 300px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .admin-mobile-nav button {
    font-size: 7px;
  }
  .mini-stats > span {
    font-size: 9px;
  }
}

.about-art {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 44px;
}
@media (max-width: 680px) {
  .about-art {
    height: 230px;
    margin-bottom: 30px;
  }
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
}
video {
  display: block;
  width: 100%;
  max-height: 650px;
  border-radius: 8px;
  background: #edf0e8;
}
.guide-recordings .cards {
  grid-template-columns: 1fr 1fr;
}
@media print {
  .guide-recordings,
  header,
  .button {
    display: none !important;
  }
  .section.narrow {
    padding: 16px;
    max-width: none;
  }
  h1 {
    font-size: 28px;
  }
  .panel {
    padding: 10px 15px;
    margin-bottom: 10px;
    break-inside: avoid;
  }
  .panel h2 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .panel p {
    font-size: 10px;
    line-height: 1.4;
    margin: 0;
  }
}
