:root {
  font-family: Arial,Helvetica,sans-serif;
  color: #263f34;
  background: #faf8f2;
  --paper: #faf8f2;
  --pine: #263f34;
  --orange: #b85e32;
  --muted: #64705d;
  --line: #dce1d2;
  --cream: #eff0e5;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:hover {
  color: #a34c25;
}

button,input,textarea,select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled,input:disabled {
  cursor: default;
  opacity: .45;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 3px solid #b85e32;
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

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

h1,h2 {
  font-family: Georgia,'Times New Roman',serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.18;
}

h1 {
  font-size: 38px;
  margin-bottom: 12px;
}

h2 {
  font-size: 27px;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 5px;
}

p {
  font-size: 15px;
  line-height: 1.8;
}

form {
  margin: 0;
}

.wrap {
  width: min(1100px,calc(100% - 64px));
  margin-inline: auto;
}

.owner-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 31px;
}

.wordmark {
  font-size: 25px;
  letter-spacing: -.045em;
  font-family: Georgia,'Times New Roman',serif;
  text-decoration: none;
  line-height: 1.1;
}

.wordmark span {
  display: block;
  font: 10px Arial,Helvetica,sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.owner-header nav {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 13px;
}

.owner-header nav>a {
  text-decoration: none;
  padding: 12px 0;
}

.text-button {
  background: none;
  border: 0;
  min-height: 44px;
  padding: 8px 0;
  font-size: 13px;
}

.text-button:hover {
  text-decoration: underline;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 100;
  background: var(--pine);
  color: #fff;
  padding: 11px 17px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.page-intro {
  margin-bottom: 27px;
}

.page-intro p {
  max-width: 650px;
  color: var(--muted);
  margin-bottom: 0;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.back-link {
  display: inline-block;
  font-size: 13px;
  min-height: 40px;
  text-decoration: none;
  margin-bottom: 13px;
}

.auth-card {
  width: min(580px,100%);
  margin: 42px auto 65px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 32px;
}

.auth-card h1 {
  font-size: 34px;
}

.auth-card>p {
  color: var(--muted);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-stack>.button {
  align-self: flex-start;
}

.form-stack label,.form-grid label,.upload-area>label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  min-width: 0;
}

input:not([type=checkbox]):not([type=file]):not([type=hidden]),textarea,select {
  width: 100%;
  border: 1px solid #bdc9b4;
  border-radius: 5px;
  background: #fff;
  padding: 11px 12px;
  min-height: 46px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

input::placeholder,textarea::placeholder {
  color: #89937f;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--pine);
  flex-shrink: 0;
}

.hint {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 0;
}

.auth-note {
  margin: 23px 0 0;
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  font-weight: 400;
}

.button.primary {
  background: var(--orange);
  color: #fff;
}

.button.primary:hover {
  background: #a84d27;
  color: #fff;
}

.button.secondary {
  background: transparent;
  border-color: #b9c5af;
  color: var(--pine);
}

.button.secondary:hover {
  background: #eef2e5;
  color: var(--pine);
}

.button.danger {
  background: #9e352a;
  color: #fff;
  border-color: #9e352a;
}

.button.danger:hover {
  background: #85291f;
  color: #fff;
}

.button.subtle-danger {
  background: transparent;
  border-color: #dfcbc3;
  color: #963e2d;
}

.button.subtle-danger:hover {
  background: #fff0e9;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.message {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 23px;
  overflow-wrap: anywhere;
}

.message.error {
  background: #fff1eb;
  border-color: #e7c4b5;
  color: #933c2c;
}

.message.success {
  background: #eaf1df;
  border-color: #cbd9b9;
  color: #3c6132;
}

.owner-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}

.owner-tabs>a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 49px;
  border-bottom: 3px solid transparent;
  padding: 9px 0 12px;
  margin-bottom: -1px;
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
}

.owner-tabs>a[aria-current=page] {
  border-bottom-color: var(--orange);
  color: var(--pine);
}

.owner-tabs>a span {
  font-size: 11px;
  border: 1px solid #d8dfcc;
  border-radius: 20px;
  line-height: 1.5;
  padding: 3px 8px;
  background: #f1f3e8;
  white-space: nowrap;
}

.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 19px;
}

.list-heading h2 {
  margin: 0;
}

.list-heading p {
  max-width: 750px;
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}

.room-list,.review-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.room-row {
  display: flex;
  align-items: center;
  gap: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  background: #fff;
}

.room-row>img,.room-placeholder {
  flex: 0 0 114px;
  width: 114px;
  height: 88px;
  border-radius: 5px;
}

.room-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1e4;
  font-size: 35px;
  color: #7f9270;
}

.room-copy {
  flex: 1;
  min-width: 0;
}

.room-copy h3 {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.room-copy>p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.room-copy .room-street {
  color: #8a654b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.empty-panel {
  border: 1px dashed #c6d0b9;
  border-radius: 7px;
  padding: 35px 25px;
  background: #f2f4e9;
  text-align: center;
}

.empty-panel h3 {
  font-size: 22px;
  font-family: Georgia,'Times New Roman',serif;
  font-weight: 400;
}

.empty-panel p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.review-top h3 {
  margin-bottom: 5px;
}

.review-top p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.status {
  font-size: 11px;
  background: #f5efdb;
  border: 1px solid #e5d8b3;
  color: #876621;
  border-radius: 20px;
  padding: 4px 10px;
  line-height: 1.5;
  white-space: nowrap;
}

.status-approved {
  background: #edf3df;
  border-color: #d5e0bf;
  color: #4e6c3a;
}

.status-hidden {
  background: #eeeee8;
  border-color: #dbded3;
  color: #697160;
}

.review-rating {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.5;
  margin: 0 0 13px;
}

.review-rating span {
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 10px;
}

.review-text {
  font-size: 15px;
  line-height: 1.9;
  color: #526449;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 21px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 27px;
  margin-bottom: 23px;
}

.panel-heading {
  margin-bottom: 23px;
}

.panel-heading h2 {
  margin-bottom: 9px;
}

.panel-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 790px;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
}

.form-grid .full {
  grid-column: 1/-1;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
  margin-bottom: 23px;
}

.photo-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
}

.photo-item img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  background: #eef0e5;
}

.photo-item figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  padding: 8px 11px 5px;
}

.photo-actions {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid #e2e6da;
  background: #f7f8ef;
  margin-top: 3px;
}

.photo-actions button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 7px 5px;
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
}

.photo-actions button span {
  font-size: 10px;
  margin-left: 3px;
}

.photo-actions button:hover:not(:disabled) {
  background: #e8efdd;
}

.photo-actions .remove-photo {
  font-size: 10px;
  color: #963e2d;
}

.photo-actions .remove-photo:hover {
  background: #fff0e9;
}

.upload-area {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px dashed #bac9a9;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 13px;
  background: #f6f8ef;
}

input[type=file] {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  padding: 4px 0;
  font-weight: 400;
  line-height: 1.6;
}

input[type=file]::file-selector-button {
  min-height: 40px;
  background: #edf1e3;
  border: 1px solid #c4d0b8;
  border-radius: 4px;
  padding: 8px 11px;
  margin-right: 10px;
  font: inherit;
  color: var(--pine);
  cursor: pointer;
}

.empty-note {
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed #d4dcc8;
  border-radius: 5px;
  padding: 22px;
  background: #f8f9f2;
  margin: 0 0 20px;
}

.save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 5px 0 25px;
}

.save-bar p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.danger-card {
  border-color: #dfc7bd;
}

.danger-card .eyebrow {
  color: #9c3b29;
}

.form-stack .checkbox {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  padding: 14px 0;
}

.owner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
  margin-top: 45px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.owner-footer a {
  text-decoration: none;
  min-height: 44px;
  padding: 10px 0;
}

.owner-footer a:hover {
  text-decoration: underline;
}

@media(max-width:850px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .room-row {
    gap: 15px;
  }
  .room-row>img,.room-placeholder {
    flex-basis: 90px;
    width: 90px;
    height: 78px;
  }
  .room-copy h3 {
    font-size: 18px;
  }
  .room-row>.actions {
    gap: 7px;
  }
  .room-row .button {
    padding-inline: 13px;
    font-size: 12px;
  }
  .photo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
  }
  .upload-area {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .upload-area>.button {
    justify-self: start;
  }
  .room-copy>p {
    font-size: 12px;
  }
  .panel {
    padding: 23px;
  }
  .photo-item img {
    height: 180px;
  }
}

@media(max-width:620px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .owner-header {
    min-height: 73px;
    gap: 15px;
    margin-bottom: 24px;
  }
  .wordmark {
    font-size: 23px;
  }
  .wordmark span {
    font-size: 8px;
  }
  .owner-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .text-button {
    font-size: 11px;
  }
  .page-intro {
    margin-bottom: 23px;
  }
  h1 {
    font-size: 32px;
  }
  .page-intro p {
    font-size: 14px;
  }
  .auth-card {
    padding: 24px 20px;
    margin: 26px auto 45px;
  }
  .auth-card h1 {
    font-size: 30px;
  }
  .auth-card>p {
    font-size: 14px;
  }
  .form-stack {
    gap: 17px;
  }
  .auth-card .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .auth-card .actions form,.auth-card .actions .button {
    width: 100%;
  }
  .auth-card .actions form>.button {
    width: 100%;
  }
  .form-stack>.button {
    width: 100%;
    align-self: stretch;
  }
  .message {
    font-size: 13px;
    padding: 13px 15px;
  }
  .owner-tabs {
    gap: 23px;
    margin-bottom: 21px;
  }
  .owner-tabs>a {
    gap: 7px;
    font-size: 14px;
  }
  .owner-tabs>a span {
    font-size: 9px;
    padding-inline: 6px;
  }
  .list-heading {
    gap: 15px;
  }
  h2 {
    font-size: 25px;
  }
  .list-heading>.button {
    font-size: 12px;
    padding-inline: 13px;
  }
  .room-row {
    flex-wrap: wrap;
    padding: 15px;
    gap: 14px;
  }
  .room-row>img,.room-placeholder {
    flex-basis: 82px;
    width: 82px;
    height: 77px;
  }
  .room-copy h3 {
    font-size: 18px;
  }
  .room-copy {
    flex: 1 1 calc(100% - 100px);
  }
  .room-row>.actions {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px solid #e6e9df;
    padding-top: 12px;
    margin-top: 1px;
  }
  .room-row .button {
    font-size: 13px;
  }
  .review-card {
    padding: 19px;
  }
  .review-top {
    gap: 12px;
  }
  .review-top h3 {
    font-size: 17px;
  }
  .review-top p {
    font-size: 11px;
  }
  .review-text {
    font-size: 14px;
    line-height: 1.85;
  }
  .review-card .button {
    font-size: 12px;
    padding-inline: 13px;
  }
  .status {
    font-size: 10px;
    padding: 4px 8px;
  }
  .review-rating {
    font-size: 17px;
  }
  .panel {
    padding: 20px 17px;
    margin-bottom: 19px;
  }
  .panel-heading {
    margin-bottom: 21px;
  }
  .panel-heading p {
    font-size: 13px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .form-grid label,.form-stack label,.upload-area>label {
    font-size: 13px;
  }
  .hint {
    font-size: 11px;
  }
  .photo-grid {
    gap: 11px;
  }
  .photo-item img {
    height: 135px;
  }
  .photo-item figcaption {
    font-size: 10px;
    padding: 7px 8px 4px;
  }
  .photo-actions button {
    font-size: 12px;
    padding: 6px 3px;
  }
  .photo-actions button span {
    display: none;
  }
  .photo-actions .remove-photo {
    font-size: 9px;
  }
  .upload-area {
    padding: 16px 13px;
  }
  .upload-area>.button {
    font-size: 12px;
  }
  .save-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    padding: 0 0 18px;
  }
  .save-bar>.actions {
    justify-content: flex-end;
  }
  .save-bar>.actions .button {
    min-width: 100px;
  }
  .empty-panel {
    padding: 29px 20px;
  }
  .empty-panel h3 {
    font-size: 21px;
  }
  .empty-panel p {
    font-size: 13px;
  }
  .owner-footer {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
    font-size: 11px;
    padding-block: 21px;
    margin-top: 32px;
  }
  .owner-footer a {
    padding-block: 6px;
  }
  .back-link {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .danger-card .actions {
    gap: 11px;
  }
  .form-stack .checkbox {
    font-size: 13px;
  }
}

@media(max-width:360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .wordmark {
    font-size: 21px;
  }
  .owner-header nav {
    gap: 11px;
    font-size: 10px;
  }
  .text-button {
    font-size: 10px;
  }
  .owner-tabs {
    gap: 15px;
  }
  .owner-tabs>a {
    font-size: 13px;
  }
  .owner-tabs>a span {
    font-size: 8px;
  }
  .auth-card {
    padding: 23px 17px;
  }
  .auth-card h1 {
    font-size: 28px;
  }
  .photo-grid {
    gap: 8px;
  }
  .photo-item img {
    height: 113px;
  }
  .room-copy h3 {
    font-size: 17px;
  }
  .owner-header {
    gap: 11px;
  }
  .room-row {
    padding: 13px;
  }
  .room-row>img,.room-placeholder {
    flex-basis: 73px;
    width: 73px;
    height: 73px;
  }
  .room-copy {
    flex-basis: calc(100% - 92px);
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
