:root {
  color-scheme: light;
  --ink: #20342e;
  --muted: #78827b;
  --green: #376c55;
  --green-dark: #275440;
  --green-soft: #edf4ee;
  --paper: #fff;
  --canvas: #f6f7f2;
  --line: #e8ebe4;
  --gold: #d29d4a;
  --serif: 'Leelawadee UI', Tahoma, sans-serif;
  --sans: 'Leelawadee UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  height: 74px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(32,52,46,.07);
}

.header-inner {
  width: min(1120px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: var(--green); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: .01em; }
.brand-copy span { color: var(--muted); font-size: 15px; }
.header-year { display: flex; align-items: center; gap: 8px; color: #64746a; font-size: 16px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #68a477; box-shadow: 0 0 0 4px #e8f2e9; }

.page-shell { overflow: hidden; }
.hero {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 286px;
  margin: 30px auto 0;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: #f7f7ed;
  background:
    radial-gradient(ellipse at 82% 24%, rgba(198,166,100,.12), transparent 30%),
    linear-gradient(113deg, #274b3a 0%, #315c46 53%, #3b684f 100%);
  box-shadow: 0 12px 32px rgba(37,71,53,.13);
}

.hero::after {
  position: absolute;
  content: "";
  width: 420px;
  height: 420px;
  right: 6%;
  top: -280px;
  border: 1px solid rgba(240,230,191,.14);
  border-radius: 50%;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; display: flex; align-items: center; gap: 9px; color: #c9d7c6; font-size: 16px; letter-spacing: .03em; }
.eyebrow-line { width: 20px; height: 1px; background: #d4b674; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 43px); font-weight: 500; line-height: 1.28; letter-spacing: .005em; }
.hero h1 span { color: #e6c982; }
.hero-description { margin: 12px 0 0; color: #d6e0d3; font-size: 17px; line-height: 1.9; }
.hero-art { position: absolute; width: 335px; height: 260px; right: 40px; top: 13px; opacity: .9; }
.art-sun { position: absolute; width: 110px; height: 110px; right: 84px; top: 35px; border-radius: 50%; background: linear-gradient(140deg, #ddc587, #a58049); box-shadow: 0 0 0 16px rgba(226,202,143,.05), 0 0 0 33px rgba(226,202,143,.035); }
.art-ring { position: absolute; border: 1px solid rgba(232,217,174,.32); border-radius: 50%; transform: rotate(-24deg); }
.art-ring-one { width: 235px; height: 87px; top: 48px; right: 24px; }
.art-ring-two { width: 228px; height: 80px; top: 67px; right: 27px; transform: rotate(30deg); }
.art-leaf { position: absolute; z-index: 1; width: 62px; height: 27px; border: 1px solid #c7d4a6; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, rgba(168,195,139,.85), rgba(103,143,99,.9)); }
.art-leaf::after { position: absolute; content: ""; left: 7px; top: 14px; width: 48px; height: 1px; background: rgba(242,240,211,.7); transform: rotate(-16deg); }
.leaf-one { right: 212px; top: 141px; transform: rotate(13deg); }
.leaf-two { right: 64px; top: 157px; transform: rotate(186deg); }
.art-stem { position: absolute; right: 141px; top: 136px; width: 1px; height: 74px; background: #bccd9f; transform: rotate(29deg); }
.art-caption { position: absolute; right: 54px; bottom: 17px; color: rgba(238,232,206,.67); font-family: var(--serif); font-size: 13px; letter-spacing: .25em; }

.page-content { width: min(900px, calc(100% - 48px)); margin: 27px auto 0; }
.form-card { padding: 30px 38px 27px; background: var(--paper); border: 1px solid rgba(32,52,46,.06); border-radius: 14px; box-shadow: 0 6px 24px rgba(28,52,40,.045); }
.section-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.heading-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: var(--green-soft); color: var(--green); }
.heading-icon svg { width: 19px; height: 19px; }
.section-kicker { margin: 0 0 2px; color: #879087; font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.section-heading h2, .submissions-heading h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 500; }
.required-note { margin-left: auto; color: #929991; font-size: 15px; }
.required-note span, .required-mark { color: #bc6e56; }

#survey-form { padding-top: 21px; }
.field-group { margin-bottom: 20px; }
.field-group label { display: inline-block; margin-bottom: 8px; color: #35463d; font-size: 17px; font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap input { padding-left: 43px; }
.input-icon { position: absolute; z-index: 1; left: 14px; top: 13px; width: 19px; height: 19px; color: #8a9a8d; }
input, textarea {
  width: 100%;
  border: 1px solid #e1e6df;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
input { height: 46px; padding: 0 13px; font-size: 17px; }
textarea { min-height: 88px; padding: 11px 13px; resize: vertical; font-size: 17px; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #a4aca5; }
input:focus, textarea:focus { border-color: #83a38d; box-shadow: 0 0 0 3px rgba(75,126,91,.1); }
.field-hint { margin: 6px 0 0; color: #909890; font-size: 15px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.label-row label { margin-bottom: 8px; }
.muted-label { color: #a0a8a0; font-size: 15px; }
.repeat-list { display: grid; gap: 9px; }
.repeat-row { display: flex; align-items: center; gap: 10px; }
.repeat-row input { flex: 1; }
.row-index { width: 23px; color: #a2aaa3; font-family: var(--serif); font-size: 15px; text-align: center; }
.remove-row { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #eadbd7; border-radius: 8px; color: #a76655; background: #fff; font-size: 22px; line-height: 1; }
.remove-row:hover { background: #fff6f3; }
.add-button { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0 32px; padding: 0; border: 0; background: transparent; color: var(--green); font-size: 16px; font-weight: 500; }
.add-button:hover { color: var(--green-dark); }
.add-symbol { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #b6ccbc; border-radius: 50%; font-size: 19px; line-height: 1; }
.note-field { margin-top: 3px; margin-bottom: 0; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 23px; padding-top: 21px; border-top: 1px solid var(--line); }
.privacy-note { display: flex; align-items: center; gap: 7px; margin: 0; color: #89928a; font-size: 15px; }
.privacy-icon { width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid #aeb8af; border-radius: 50%; font-family: Georgia, serif; font-size: 14px; font-style: italic; }
.submit-button { min-width: 175px; min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font-size: 17px; font-weight: 500; box-shadow: 0 5px 12px rgba(55,108,85,.16); transition: background .16s ease, transform .16s ease; }
.submit-button svg { width: 17px; height: 17px; }
.submit-button:hover:not(:disabled) { transform: translateY(-1px); background: var(--green-dark); }
.submit-button:disabled { cursor: wait; opacity: .55; }
.form-message { display: none; margin: 14px 0 0; padding: 10px 12px; border-radius: 7px; font-size: 16px; }
.form-message.visible { display: block; }
.form-message.success { color: #326344; background: #edf6ef; }
.form-message.error { color: #964d41; background: #fff1ed; }

.submissions-section { margin-top: 29px; }
.submissions-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.submissions-heading h2 { font-size: 23px; }
.view-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid #dfe5dc; border-radius: 8px; background: #fff; color: #4c6254; font-size: 16px; font-weight: 500; transition: background .16s, border-color .16s; }
.view-button:hover, .view-button[aria-expanded="true"] { border-color: #b6cabb; background: #f1f6f1; }
.view-button svg, .refresh-button svg { width: 17px; height: 17px; }
.submissions-panel { margin-top: 15px; overflow: hidden; border: 1px solid #e6eae3; border-radius: 10px; background: #fff; box-shadow: 0 5px 20px rgba(28,52,40,.035); }
.table-toolbar { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.submission-count { margin: 0; color: #68766d; font-size: 16px; }
.refresh-button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--green); font-size: 15px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
thead { background: #f7f8f5; }
th { padding: 11px 13px; color: #6f7a71; font-size: 15px; font-weight: 500; white-space: nowrap; }
td { padding: 13px; border-top: 1px solid #eef0eb; color: #44544a; font-size: 16px; line-height: 1.65; vertical-align: top; }
th:first-child, td:first-child { width: 45px; text-align: center; }
td:first-child { color: #849087; }
td:nth-child(2) { min-width: 190px; color: #2e4939; font-weight: 500; }
td:nth-child(3), td:nth-child(4) { min-width: 150px; }
.empty-cell { padding: 28px 15px; color: #929a92; text-align: center; }
.table-message { margin: 0; padding: 0 16px 13px; color: #a25548; font-size: 15px; }
.page-footer { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 29px 0 25px; color: #8b948c; font-size: 15px; }
.footer-divider { width: 3px; height: 3px; border-radius: 50%; background: #b9c0b9; }

@media (max-width: 680px) {
  .site-header { height: 65px; }
  .header-inner, .hero { width: min(100% - 30px, 560px); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy span { font-size: 14px; }
  .header-year { gap: 6px; font-size: 14px; }
  .hero { min-height: 254px; margin-top: 16px; padding: 33px 25px; border-radius: 14px; }
  .hero h1 { max-width: 360px; font-size: clamp(29px, 8vw, 38px); }
  .hero-description { max-width: 310px; font-size: 16px; }
  .hero-art { right: -142px; top: 20px; opacity: .38; }
  .desktop-break { display: none; }
  .page-content { width: min(100% - 30px, 560px); margin-top: 16px; }
  .form-card { padding: 22px 18px 20px; border-radius: 12px; }
  .section-heading { gap: 10px; padding-bottom: 18px; }
  .heading-icon { width: 34px; height: 34px; }
  .section-heading h2 { font-size: 20px; }
  .required-note { font-size: 14px; }
  #survey-form { padding-top: 18px; }
  .field-group { margin-bottom: 17px; }
  .field-group label { font-size: 16px; }
  input { height: 44px; }
  .input-icon { top: 12px; }
  .form-footer { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 19px; padding-top: 17px; }
  .submit-button { width: 100%; min-height: 45px; }
  .submissions-section { margin-top: 24px; }
  .submissions-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .submissions-heading h2 { font-size: 21px; }
  .view-button { width: 100%; }
  .table-toolbar { padding: 0 12px; }
  .page-footer { flex-wrap: wrap; gap: 6px 9px; margin-top: 23px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
