:root {
  --green: #153f2d;
  --green-deep: #0f3023;
  --gold: #d9ad24;
  --gold-soft: #f3dfa2;
  --ink: #17352b;
  --muted: #64746f;
  --line: #d8c481;
  --paper: #fffdf7;
  --soft: #f6f0dc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(21, 63, 45, 0.96) 0 320px, #f8f5ea 320px 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.intro {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  padding: 20px 22px;
  box-shadow: inset 0 0 0 1px rgba(217, 173, 36, 0.65), 0 18px 40px rgba(10, 28, 21, 0.22);
}

.brand-mark {
  width: 118px;
  height: 118px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
}

h1 span {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.intro p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid rgba(217, 173, 36, 0.55);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(35, 49, 47, 0.1);
}

.form-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-top: 6px solid var(--gold);
}

.form-heading h2 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.form-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-picks p {
  width: 100%;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.quick-picks button {
  width: auto;
  min-height: 34px;
  border: 1px solid #d9d1ad;
  background: #fffaf0;
  color: var(--green);
  padding: 5px 9px;
  font-size: 0.84rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.combo-field {
  position: relative;
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
button {
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
  font: inherit;
}

input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(217, 173, 36, 0.55);
  outline-offset: 2px;
}

input,
select {
  border: 1px solid #d9d1ad;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 10px;
}

textarea {
  width: 100%;
  border: 1px solid #d9d1ad;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 9px 10px;
  resize: vertical;
}

input::placeholder {
  color: #8a8f84;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 10px;
  margin-top: 4px;
}

button {
  border: 0;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: var(--green-deep);
}

button.secondary {
  border: 1px solid #d9d1ad;
  background: var(--soft);
  color: var(--ink);
}

.combo-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9d1ad;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 10px;
  text-align: left;
  font-weight: 400;
}

.combo-button:hover {
  background: #fff8e8;
  color: var(--ink);
}

.combo-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  border: 1px solid rgba(217, 173, 36, 0.7);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(15, 48, 35, 0.18);
  padding: 10px;
}

.combo-list {
  max-height: 280px;
  margin-top: 8px;
  overflow: auto;
  border-top: 1px solid #e1d7af;
  padding-top: 8px;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.text-button {
  width: auto;
  min-height: 32px;
  border: 1px solid #d9d1ad;
  background: var(--soft);
  color: var(--green);
  padding: 4px 9px;
  font-size: 0.82rem;
}

.combo-category {
  border-bottom: 1px solid #efe5bd;
  padding: 6px 0;
}

.combo-category:last-child {
  border-bottom: 0;
}

.combo-category summary {
  color: var(--green);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 2px;
  text-transform: uppercase;
}

.combo-category-items {
  display: grid;
  gap: 2px;
}

.combo-option {
  display: block;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  padding: 8px;
  text-align: left;
  font-weight: 400;
}

.combo-option:hover,
.combo-option.active {
  background: var(--soft);
  color: var(--ink);
}

.combo-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  padding: 8px;
}

.combo-category-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  padding: 8px;
}

.output-panel {
  min-height: 520px;
  padding: 24px;
}

.empty-state {
  display: grid;
  min-height: 470px;
  place-content: center;
  text-align: center;
}

.empty-state img {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
}

.empty-state p,
.meta,
.note {
  color: var(--muted);
}

.status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green);
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 700;
}

.status.unusual {
  background: #fff6df;
  color: #805900;
}

.result-title {
  margin-bottom: 6px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.result-actions button {
  width: auto;
  min-width: 112px;
  padding: 0 16px;
}

.result-actions .copied {
  background: var(--gold);
  color: var(--green-deep);
}

.result-actions .secondary:hover,
button.secondary:hover {
  background: #eee3bd;
}

.meta {
  margin-bottom: 20px;
}

.section-grid {
  display: grid;
  gap: 14px;
}

.result-section {
  border-top: 1px solid #e1d7af;
  padding-top: 14px;
}

.result-section summary {
  margin-bottom: 6px;
  color: var(--green);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  list-style-position: outside;
}

.result-section summary:hover {
  color: var(--green-deep);
}

.result-section[open] summary {
  margin-bottom: 8px;
}

.result-section p {
  margin-bottom: 0;
}

.note {
  margin-top: 20px;
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 12px 14px;
}

.info-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  border: 1px solid rgba(217, 173, 36, 0.55);
  border-radius: 8px;
  background: #fffaf0;
  padding: 18px;
}

.info-band h2 {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 1.1rem;
}

.info-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.help-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 18px;
  margin-top: 18px;
}

.faq,
.request-box {
  border: 1px solid rgba(217, 173, 36, 0.55);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(35, 49, 47, 0.08);
}

.faq h2,
.request-box h2 {
  margin-bottom: 10px;
  color: var(--green);
}

.faq details {
  border-top: 1px solid #e1d7af;
  padding: 12px 0;
}

.faq details:first-of-type {
  border-top: 0;
}

.faq summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.faq p,
.request-box p,
.small-note {
  color: var(--muted);
}

.request-box {
  display: grid;
  gap: 14px;
}

.request-box p {
  margin-bottom: 0;
}

.privacy-note {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 10px 12px;
}

.small-note {
  font-size: 0.86rem;
}

.seo-content {
  margin-top: 18px;
  border: 1px solid rgba(217, 173, 36, 0.55);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(35, 49, 47, 0.08);
}

.seo-content h2,
.seo-content h3 {
  color: var(--green);
}

.seo-content h2 {
  margin-bottom: 10px;
}

.seo-content h3 {
  margin: 18px 0 6px;
  font-size: 1.05rem;
}

.seo-content p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  border-top: 2px solid var(--gold);
  color: var(--green);
  padding-top: 14px;
}

.site-footer span {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 24px, 680px);
    padding: 26px 0;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .help-panel {
    grid-template-columns: 1fr;
  }

  .intro {
    grid-template-columns: 78px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .brand-mark {
    width: 78px;
    height: 78px;
  }

  .form-panel {
    position: static;
  }
}

@media (max-width: 520px) {
  .intro {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  .actions,
  .result-actions {
    grid-template-columns: 1fr;
  }

  .result-actions button {
    width: 100%;
  }

  .mini-actions .text-button {
    width: 100%;
  }
}

@media print {
  body {
    background: white;
  }

  .intro,
  .form-panel,
  .info-band,
  .help-panel,
  .seo-content,
  .site-footer,
  .result-actions {
    display: none;
  }

  .shell,
  .workspace {
    width: 100%;
    display: block;
    padding: 0;
  }

  .panel {
    border: 0;
    box-shadow: none;
  }

  .output-panel::before {
    content: "The Accommodation Station - Accommodation Implementation Plan";
    display: block;
    margin-bottom: 16px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
  }
}
