:root { color-scheme: light; --ink: #243e32; --muted: #596a60; --paper: #fffdf7; --cream: #f5f2e9; --orange: #ec754b; --line: #dedfd4; --green: #e7eee2; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; border: 1px solid transparent; border-radius: 10px; padding: 9px 16px; color: var(--ink); font-weight: 600; }
button:disabled { cursor: wait; opacity: .5; }
input,select,textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); }
textarea { resize: vertical; }
input:focus,select:focus,textarea:focus,button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
label { display: grid; gap: 5px; font-weight: 600; }
h1,h2,p { margin: 0 0 12px; }
h1 { font-size: 28px; line-height: 1.35; }
h2 { font-size: 23px; }
.eyebrow { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.muted,.privacy-note,small { color: var(--muted); }
.primary { background: var(--orange); color: #241710; }
.secondary { background: var(--green); border-color: var(--line); }
.danger { background: #fff1eb; border-color: #dfb2a2; color: #923b27; }
.error { color: #a13221; white-space: pre-wrap; }
.error:empty { display: none; }
.brand-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--orange); color: white; border-radius: 50%; font-size: 29px; font-weight: 800; flex-shrink: 0; }
.login-panel { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px,100%); padding: 38px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 45px #243e320a; display: grid; gap: 14px; }
.login-card .brand-mark { margin-bottom: 8px; }
.login-card p,.login-card h1 { margin-bottom: 0; }
.workspace { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 100vh; }
aside { padding: 30px 20px; background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 35px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand strong { font-size: 22px; }
.brand small { display: block; }
nav { display: grid; gap: 10px; }
.nav-button { background: transparent; text-align: left; padding: 13px 16px; }
.nav-button.active { background: var(--green); }
.sidebar-footer { margin-top: auto; display: grid; gap: 12px; font-size: 13px; }
main { padding: 36px clamp(20px,4vw,55px); max-width: 1600px; width: 100%; }
header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.toolbar { display: flex; gap: 10px; margin: 24px 0 18px; }
.toolbar input { max-width: 380px; }
.toolbar select { max-width: 180px; }
.toolbar button { flex-shrink: 0; }
.list-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
#list-state { padding: 18px 22px 0; color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 13px; font-weight: 600; color: var(--muted); background: #f0f2e9; text-align: left; white-space: nowrap; }
th,td { padding: 15px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { max-width: 400px; overflow-wrap: anywhere; }
td strong { display: block; }
td small { display: block; font-size: 12px; }
.badge { display: inline-block; padding: 3px 9px; background: var(--green); border-radius: 7px; font-size: 12px; white-space: nowrap; }
.badge.pending { background: #f9e9c8; }
.badge.rejected,.badge.hidden { background: #f4e2db; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; }
.pagination div { display: flex; gap: 8px; }
.privacy-note { font-size: 12px; margin-top: 20px; }
.pets { padding-left: 18px; margin: 7px 0; }
.user-photo { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; margin-bottom: 6px; }
dialog { width: min(850px,calc(100% - 32px)); max-height: 90vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 18px; padding: 26px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #20352c66; }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.review-summary { white-space: pre-wrap; border-radius: 10px; background: var(--green); padding: 12px 16px; font-size: 13px; }
.place-photo { width: min(360px,100%); max-height: 240px; object-fit: contain; margin-bottom: 16px; border-radius: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.full { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: center; gap: 8px; }
.checkbox input { width: 18px; height: 18px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 10px; }
@media (max-width: 760px) {
  .workspace { grid-template-columns: 1fr; }
  aside { padding: 18px; gap: 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  nav { display: flex; flex-wrap: wrap; gap: 5px; }
  .nav-button { padding: 8px 12px; }
  .sidebar-footer { display: flex; justify-content: space-between; align-items: center; }
  main { padding: 22px 16px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar input { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .login-card { padding: 26px; }
  .pagination { font-size: 13px; padding: 15px; }
}
