:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #152d46;
  background: #f3f6f9;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh;
}
aside {
  background: #fff;
  padding: 30px 20px;
  border-right: 1px solid #dfe7ed;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
aside img {
  width: 100%;
  height: auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: #688298;
}
nav {
  display: grid;
  gap: 8px;
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  border: 1px solid #d2dee7;
  border-radius: 9px;
  background: #fff;
  color: #173650;
  padding: 10px 15px;
  cursor: pointer;
}
button:hover {
  background: #eaf6fb;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
nav button {
  text-align: left;
  border: 0;
  background: transparent;
}
nav button.active,
.primary {
  background: #123b59;
  color: white;
}
footer {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.8;
}
main {
  padding: 38px clamp(20px, 4vw, 65px);
  min-width: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 5px 0 22px;
}
h2 {
  font-size: 20px;
}
h3 {
  margin: 0 0 9px;
}
.toolbar,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card,
.panel {
  background: #fff;
  border: 1px solid #dfe7ed;
  border-radius: 15px;
  padding: 22px;
  margin-bottom: 18px;
}
.stat {
  font-size: 36px;
  font-weight: 700;
  display: block;
  margin: 8px 0;
}
.muted,
small {
  color: #60758a;
}
.badge {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 30px;
  background: #e8f4f9;
  color: #1c5879;
  text-transform: capitalize;
}
.danger {
  color: #a43131;
  background: #fff0f0;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid #dfe7ed;
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #637c91;
  background: #f8fafc;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: top;
}
td button {
  padding: 5px 10px;
}
label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #cad7e2;
  border-radius: 8px;
  font: inherit;
  color: #173650;
  background: white;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input[type="checkbox"] {
  width: auto;
}
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
}
dialog {
  width: min(700px, 94vw);
  max-height: 90vh;
  border: 0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 24px 100px #102b4666;
}
dialog::backdrop {
  background: #102b4680;
}
dialog header {
  position: sticky;
  top: -26px;
  background: white;
  padding: 5px 0;
  z-index: 1;
}
#message:not(:empty),
#dialog-error:not(:empty) {
  padding: 13px;
  border-radius: 8px;
  background: #e2f2f8;
}
#dialog-error {
  color: #9a2929;
}
.auth {
  max-width: 440px;
  margin: 35px auto;
}
.body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
a {
  color: #087cad;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #20aee2;
  outline-offset: 3px;
}
.qr {
  width: 200px;
  max-width: 100%;
}
.empty {
  padding: 45px;
  text-align: center;
  color: #64788b;
}
@media (max-width: 760px) {
  body {
    display: block;
  }
  aside {
    padding: 14px 18px;
    border-bottom: 1px solid #ddd;
    gap: 10px;
  }
  aside img {
    width: 180px;
  }
  aside .eyebrow {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
  }
  nav button {
    white-space: nowrap;
  }
  footer {
    display: flex;
    justify-content: space-between;
  }
  main {
    padding: 22px 16px;
  }
  h1 {
    font-size: 27px;
  }
  th,
  td {
    padding: 11px;
  }
}

/* Occupier home: shared office actions, company-scoped content. */
.occupier {
  background: #f6f5f1;
  color: #142039;
}
.occupier aside {
  background: #14213a;
  color: #fff;
  border: 0;
}
.occupier aside img {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}
.occupier aside .eyebrow {
  color: #dbc17e;
}
.occupier nav button {
  color: #e4e8ef;
}
.occupier nav button.active {
  background: #334360;
}
.occupier h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}
.office-welcome {
  background: #14213a;
  color: #fff;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.office-welcome h2 {
  font-size: 36px;
  margin: 8px 0;
}
.office-welcome .eyebrow {
  color: #dbc17e;
}
.office-welcome p {
  color: #d4ddea;
}
.office-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.office-quick button {
  padding: 20px 12px;
}
.office-quick button:first-child {
  background: #dbc17e;
  color: #14213a;
  border-color: #dbc17e;
}
.office-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.office-columns header {
  flex-wrap: wrap;
  gap: 10px;
}
.home-request {
  padding: 16px 0;
  border-top: 1px solid #e3e5e9;
}
.home-request h3 {
  font-size: 15px;
  margin: 0;
}
.office-columns .panel {
  border-color: #e3e5e9;
}
@media (max-width: 1100px) {
  .office-columns {
    grid-template-columns: 1fr;
  }
  .office-quick {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .office-welcome {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .office-welcome h2 {
    font-size: 30px;
  }
}
