@import url('/style.css');
:root {
  --ink: #173c3e;
  --muted: #788280;
  --paper: #f8f7f3;
  --coral: #dd876c;
  --line: #e3e6df;
  --mint: #e9f0e7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  font-weight: 600;
}
button:hover {
  filter: brightness(1.12);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: inherit;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5ce;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
textarea {
  min-height: 100px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 14px 0 7px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    42px/1.15 Georgia,
    serif;
  letter-spacing: -1.5px;
}
h2 {
  font:
    24px/1.3 Georgia,
    serif;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
}
p {
  color: #657571;
  margin-top: 10px;
}
small {
  font-size: 11px;
}
#sidebar {
  width: 232px;
  position: fixed;
  top: 0;
  bottom: 0;
  padding: 31px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100vh;
  color: var(--ink);
  z-index: 2;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 29px;
  letter-spacing: -1.5px;
  font-weight: 650;
}
.identity img {
  width: 43px;
  height: 43px;
  border-radius: 10px;
}
.identity small {
  display: block;
  letter-spacing: 2px;
  font-size: 8px;
  font-weight: 500;
}
.workspace-label {
  margin-top: 33px;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
#tenant {
  background: var(--paper);
  font-size: 12px;
  border: 1px solid var(--line);
}
nav {
  display: grid;
  gap: 4px;
  margin-top: 24px;
}
nav button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #60716c;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
}
nav button.active {
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
}
nav button span {
  font-size: 15px;
}
.sidebar-footer {
  margin-top: auto;
  font-size: 10px;
  color: var(--muted);
  padding: 15px 6px 0;
}
.sidebar-footer a {
  display: block;
  margin-top: 15px;
  font-size: 12px;
  text-decoration: none;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #7b9d78;
  border-radius: 50%;
  margin-right: 5px;
}
.shell {
  margin-left: 232px;
  min-height: 100vh;
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 1.7px;
  background: #fff;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  letter-spacing: 0;
}
#who {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
main {
  padding: 34px 38px;
  max-width: 1700px;
  margin: auto;
}
.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  letter-spacing: 2px;
  font-size: 9px;
  text-transform: uppercase;
  color: #8a968a;
  font-weight: 600;
  margin-bottom: 9px;
}
.title p {
  max-width: 650px;
  font-size: 13px;
}
.quiet,
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  min-height: 135px;
}
.stat label {
  font-size: 11px;
  margin: 0;
  color: #708079;
  font-weight: 500;
}
.stat strong {
  display: block;
  font:
    36px Georgia,
    serif;
  margin-top: 12px;
  letter-spacing: -1px;
}
.stat small {
  color: #879087;
}
.stat:first-child {
  background: #173c3e;
  color: #fff;
  border-color: #173c3e;
}
.stat:first-child label,
.stat:first-child small {
  color: #bacfbe;
}
.grid2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
  margin-bottom: 20px;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.panel-top h2 {
  font-size: 22px;
}
.tag {
  display: inline-block;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
  background: #edf1ea;
  color: #49624a;
  font-weight: 600;
}
.tag.held,
.tag.draft {
  background: #f8ead9;
  color: #967344;
}
.tag.cancelled,
.tag.expired,
.tag.failed {
  background: #f8e6e0;
  color: #a15f48;
}
.tag.checked_in {
  background: #ddeced;
  color: #357074;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.data-table th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #87918b;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 15px 8px;
  border-bottom: 1px solid #eef0eb;
  vertical-align: middle;
}
.data-table td strong {
  display: block;
  font-size: 12px;
}
.data-table td small {
  color: #8a938e;
}
.data-table tr:last-child td {
  border: 0;
}
.data-table button {
  padding: 6px 10px;
  font-size: 11px;
}
.table-wrap {
  overflow: auto;
}
.empty {
  text-align: center;
  padding: 60px 25px;
  background: #fff;
  border: 1px dashed #d5ddd4;
  border-radius: 12px;
}
.empty h2 {
  margin-bottom: 12px;
}
.empty button {
  margin-top: 20px;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.property-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.property-cover {
  height: 150px;
  background: linear-gradient(135deg, #dae5da, #a2bfb8);
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    62px Georgia,
    serif;
  color: #fff;
}
.property-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-info {
  padding: 20px;
}
.property-info h2 {
  font-size: 23px;
}
.property-info p {
  font-size: 12px;
}
.property-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  align-items: center;
}
.property-bottom button {
  font-size: 11px;
  padding: 8px;
}
.calendar {
  overflow: auto;
}
.cal {
  min-width: 1000px;
  table-layout: fixed;
}
.cal th:first-child,
.cal td:first-child {
  width: 160px;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}
.cal td {
  height: 54px;
  padding: 4px;
  border-right: 1px solid #eff1ed;
}
.cal .booked {
  background: #e5eee1;
  color: #406249;
  cursor: pointer;
  border-radius: 4px;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal .hold {
  background: #f6e9d9;
}
.cal th {
  text-align: center;
}
.cal td:first-child {
  font-size: 11px;
  font-weight: 600;
}
.flex {
  display: flex;
  gap: 10px;
  align-items: center;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.task {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
}
.task .dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1eee5;
  color: #a59167;
  display: grid;
  place-items: center;
}
.task div:nth-child(2) {
  flex: 1;
}
.task p {
  margin: 2px 0;
  font-size: 11px;
}
.task button {
  font-size: 10px;
  padding: 6px 10px;
}
.callout {
  padding: 18px;
  border-radius: 10px;
  background: #f7ede6;
  color: #93664e;
  font-size: 12px;
  line-height: 1.6;
}
.callout strong {
  display: block;
  color: #684f3b;
}
.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.split-form .wide {
  grid-column: 1/-1;
}
dialog {
  width: min(760px, 95vw);
  max-height: 92vh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  color: var(--ink);
}
dialog::backdrop {
  background: #142e2b66;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
dialog button[type='submit'],
form > button {
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  padding: 15px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  z-index: 9;
  box-shadow: 0 10px 30px #123b3d22;
}
#toast.error {
  background: #963f33;
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 10px 38px 25px;
  font-size: 10px;
  color: #8c958e;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 240px;
  z-index: 10;
  background: white;
  padding: 10px;
}
.message {
  padding: 18px;
  background: #f4f6f1;
  border-radius: 10px;
  margin-bottom: 12px;
}
.message p {
  white-space: pre-wrap;
  color: #425d54;
}
.message small {
  color: #84958a;
}
.guest-shell {
  max-width: 760px;
  margin: 5vh auto;
  padding: 25px;
}
.guest-shell .identity {
  margin-bottom: 35px;
}
.guest-shell h1 {
  margin: 25px 0;
}
.guest-shell .guide {
  white-space: pre-wrap;
}
.field-note {
  font-size: 11px;
  color: #78847c;
  margin-top: 6px;
}
@media (max-width: 1050px) {
  #sidebar {
    width: 190px;
    padding: 25px 12px;
  }
  .shell {
    margin-left: 190px;
  }
  main {
    padding: 28px 22px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 34px;
  }
}
@media (max-width: 700px) {
  #sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 16px;
  }
  .identity {
    font-size: 23px;
  }
  .identity img {
    width: 34px;
    height: 34px;
  }
  .workspace-label {
    margin-top: 12px;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 12px;
  }
  nav button {
    white-space: nowrap;
    width: auto;
    gap: 10px;
  }
  nav button span {
    display: none;
  }
  .sidebar-footer {
    display: none;
  }
  .shell {
    margin: 0;
  }
  header {
    height: 50px;
    padding: 0 18px;
  }
  header > div:first-child {
    font-size: 8px;
  }
  main {
    padding: 24px 16px;
  }
  .title {
    align-items: flex-start;
  }
  .title h1 {
    font-size: 30px;
  }
  .title p {
    font-size: 12px;
  }
  .title button {
    font-size: 11px;
    padding: 9px 10px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
    min-height: 115px;
  }
  .stat strong {
    font-size: 30px;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .split-form {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 16px;
  }
  footer {
    margin: 15px 16px;
    display: block;
  }
  footer span {
    display: block;
    margin-top: 5px;
  }
  .header-right {
    gap: 6px;
  }
  #who {
    display: none;
  }
}
