:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --panel: #ffffff;
  --ink: #10283a;
  --muted: #60707d;
  --line: #dbe4e8;
  --brand: #0f7cc9;
  --brand-dark: #095487;
  --ready: #14825d;
  --work: #a15f08;
  --shadow: 0 20px 60px rgba(16, 40, 58, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body.has-lightbox {
  overflow: hidden;
}

button, input {
  font: inherit;
}

select, textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.shell {
  min-height: 100vh;
}

.login-screen {
  min-height: 100vh;
  color: #f7fbff;
  background:
    linear-gradient(115deg, rgba(4, 13, 21, 0.9), rgba(7, 19, 30, 0.62)),
    url("https://staging.emiko.be/assets/images/diensten/fotografie.png") center / cover;
}

.login-header,
.login-main {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand-link {
  display: inline-flex;
}

.brand-link img {
  width: 184px;
  max-width: 100%;
}

.login-header a {
  color: #f7fbff;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.login-main {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 26px 0 54px;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 28px;
  align-items: end;
}

.login-copy {
  max-width: 760px;
  padding-bottom: 14px;
}

.login-copy h1 {
  margin-bottom: 16px;
  color: #f7fbff;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.login-copy p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(247, 251, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.6;
}

.login-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 24px;
  color: var(--ink);
}

.login-card .eyebrow {
  color: #216cff;
}

.login-card h2 {
  margin-bottom: 0;
  font-size: 1.4rem;
  line-height: 1.15;
}

.login-actions {
  display: grid;
  gap: 10px;
}

.secondary-login-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 14px;
  color: var(--ink);
  background: #f5f8fb;
  font-weight: 900;
  text-decoration: none;
}

.request-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 520px);
  max-width: 100%;
  min-width: 0;
}

.request-card {
  align-self: end;
  min-width: 0;
}

.request-panel .login-copy {
  min-width: 0;
}

.request-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-trap {
  position: fixed;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 1.9rem;
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

label {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
}

input:focus {
  outline: 2px solid rgba(15, 124, 201, 0.22);
  border-color: var(--brand);
}

.login-card button,
.user-card button,
.dialog-head button,
.download-link,
.row-action {
  min-height: 42px;
  border-radius: 7px;
  padding: 0 14px;
  color: white;
  background: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.login-card button {
  width: 100%;
}

.form-message,
.message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message.is-error,
.message {
  color: #a13232;
}

.form-message.is-success {
  color: var(--ready);
}

.app-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px;
  color: white;
  background: #10283a;
}

.logo img {
  width: 180px;
}

.sidebar nav {
  display: grid;
  gap: 8px;
}

.sidebar nav button {
  min-height: 44px;
  border-radius: 7px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.sidebar nav button.active,
.sidebar nav button:hover {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.user-card {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.user-card span,
.user-card small {
  color: rgba(255, 255, 255, 0.72);
}

.workspace {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.topbar h1 {
  margin-bottom: 0;
}

.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ready);
  background: white;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stats article,
.panel,
.property-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(16, 40, 58, 0.06);
}

.stats article {
  padding: 16px;
}

.stats span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.stats strong {
  font-size: 1.8rem;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.search {
  max-width: 280px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td strong {
  display: block;
}

td small {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--work);
  background: rgba(161, 95, 8, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.ready {
  color: var(--ready);
  background: rgba(20, 130, 93, 0.1);
}

.row-action {
  background: var(--ink);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.office-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.office-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.property-dialog {
  width: min(860px, calc(100vw - 28px));
  border: 0;
  padding: 0;
}

.property-dialog::backdrop {
  background: rgba(16, 40, 58, 0.58);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.dialog-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.dialog-head button {
  width: 42px;
  padding: 0;
  background: var(--ink);
}

.media-list {
  display: grid;
  gap: 10px;
  max-height: 60vh;
  overflow: auto;
  padding: 18px 22px 22px;
}

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.media-row strong {
  display: block;
  margin-bottom: 4px;
}

.media-row small {
  color: var(--muted);
}

.empty {
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .login-panel,
  .request-panel,
  .app-view {
    grid-template-columns: 1fr;
  }

  .login-copy h1 {
    font-size: clamp(2.1rem, 12vw, 4.4rem);
  }

  .sidebar {
    position: static;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar,
  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-overview-row {
    grid-template-columns: 1fr;
  }

  .booking-overview-actions {
    justify-content: flex-start;
    justify-items: start;
  }

  .booking-overview-actions form,
  .booking-overview-actions button,
  .booking-overview-actions a {
    width: auto;
  }

  .booking-edit-fields,
  .booking-service-options {
    grid-template-columns: 1fr;
  }

  .booking-edit-days {
    grid-template-columns: repeat(5, minmax(48px, 1fr));
  }

  .booking-edit-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .workspace,
  .sidebar {
    padding: 16px;
  }

  .login-header,
  .login-main {
    width: min(100% - 24px, 1180px);
  }

  .request-panel,
  .request-card {
    width: 100%;
    max-width: 100%;
  }

  .request-panel .login-copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.4rem);
    overflow-wrap: break-word;
  }

  .login-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  th:nth-child(2),
  td:nth-child(2),
  th:nth-child(3),
  td:nth-child(3) {
    display: none;
  }

  .media-row {
    grid-template-columns: 1fr;
  }

  .portal-app {
    grid-template-columns: 1fr;
  }
}

/* Restored original portal workspace on top of the secure backend. */
.portal-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  background: var(--bg);
}

.portal-app [hidden] {
  display: none !important;
}

.portal-app .sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  padding: 24px;
  color: #f7fbff;
  background: #0d1c29;
}

.sidebar-brand {
  display: inline-flex;
}

.sidebar-brand img {
  width: 170px;
}

.portal-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.portal-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px;
  color: rgba(247, 251, 255, 0.74);
  font-weight: 900;
  text-align: left;
  text-decoration: none;
}

.portal-nav a.active,
.portal-nav a:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: #f7fbff;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(149, 229, 255, 0.14);
  color: #95e5ff;
  font-size: 0.78rem;
}

.sidebar-user {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.sidebar-user span {
  color: #95e5ff;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sidebar-user strong {
  color: #f7fbff;
  font-size: 1rem;
}

.sidebar-user small {
  color: rgba(247, 251, 255, 0.62);
  line-height: 1.4;
}

.sidebar-user button,
.topbar-actions a,
.quick-actions a,
.module-link,
.panel-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  background: var(--brand);
  font-weight: 950;
  text-decoration: none;
}

.sidebar-user button {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.portal-app .workspace {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 24px;
}

.workspace-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.workspace-topbar h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.topbar-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-actions a:first-child,
.quick-actions a:first-child {
  background: #07131e;
}

.welcome-band,
.admin-band,
.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  padding: 22px;
  background: #07131e;
  color: #f7fbff;
  box-shadow: var(--shadow);
}

.admin-band {
  background: linear-gradient(135deg, #07131e, #133425);
}

.module-head {
  background: var(--panel);
  color: var(--ink);
}

.welcome-band h2,
.admin-band h2,
.module-head h2 {
  margin-bottom: 0;
  font-size: 1.4rem;
  line-height: 1.15;
}

.welcome-band p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(247, 251, 255, 0.72);
  line-height: 1.55;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.broker-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid article {
  min-height: 118px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  box-shadow: 0 12px 36px rgba(16, 40, 58, 0.06);
}

.broker-stats-grid article {
  min-height: 126px;
  justify-items: center;
  text-align: center;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-grid strong {
  font-size: 2.15rem;
  line-height: 1;
}

.overview-layout,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.admin-grid-wide,
.accounts-office-layout {
  grid-template-columns: minmax(0, 1fr);
}

.list-panel,
.next-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-create-form {
  display: grid;
  gap: 14px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-form-stack {
  display: grid;
  gap: 14px;
}

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

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

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(15, 124, 201, 0.7);
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.12);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  background: var(--brand);
  font-weight: 950;
}

.portal-notice {
  margin: 0;
  border: 1px solid rgba(20, 130, 93, 0.24);
  border-radius: 8px;
  background: rgba(20, 130, 93, 0.1);
  color: var(--ready);
  padding: 12px 14px;
  font-weight: 900;
}

.panel-head a {
  min-height: 40px;
  background: #eef3fa;
  color: var(--ink);
}

.property-list,
.workflow-list,
.booking-overview-list,
.account-table,
.admin-account-list,
.office-list {
  display: grid;
  gap: 10px;
}

.property-row,
.booking-overview-row,
.account-row,
.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}

.property-row {
  align-items: stretch;
}

.booking-overview-panel {
  margin-bottom: 18px;
}

.booking-overview-row {
  align-items: center;
  min-height: 0;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(8, 25, 38, 0.74);
  color: #f7fbff;
  padding: 14px 16px;
}

.booking-overview-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.booking-overview-main strong {
  display: block;
  color: #f7fbff;
  font-size: 1rem;
  line-height: 1.15;
}

.booking-overview-main span,
.booking-overview-main small {
  color: rgba(224, 237, 247, 0.78);
  line-height: 1.35;
}

.booking-overview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  justify-items: end;
  gap: 8px 10px;
}

.booking-overview-actions form {
  margin: 0;
}

.booking-cancel-window,
.booking-cancel-closed {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.booking-cancel-window {
  background: rgba(15, 124, 201, 0.18);
  color: #a9d8ff;
}

.booking-cancel-closed {
  background: rgba(161, 95, 8, 0.18);
  color: #ffd89a;
}

.booking-cancel-action {
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  line-height: 1;
  background: #fff4f4;
  color: #9d2727;
  border-color: rgba(157, 39, 39, 0.28);
  box-shadow: 0 8px 20px rgba(28, 8, 8, 0.12);
}

.booking-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.78rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.booking-edit-action,
.booking-edit-save {
  border-radius: 999px;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid rgba(169, 216, 255, 0.28);
  background: rgba(15, 124, 201, 0.18);
  color: #eaf6ff;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: none;
}

.booking-edit-action:hover,
.booking-edit-save:hover {
  background: rgba(15, 124, 201, 0.28);
}

.booking-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 11, 18, 0.68);
  backdrop-filter: blur(8px);
}

.booking-edit-modal[hidden] {
  display: none;
}

.booking-edit-card {
  width: min(720px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(12, 34, 50, 0.98), rgba(5, 18, 29, 0.98));
  color: #f7fbff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  padding: 22px;
}

.booking-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.booking-edit-head h2 {
  margin: 3px 0 3px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.12;
}

.booking-edit-head span,
.booking-edit-note,
.booking-edit-status {
  color: rgba(224, 237, 247, 0.76);
  line-height: 1.45;
}

.booking-edit-close {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  font-size: 1.35rem;
  line-height: 1;
}

.booking-edit-form {
  display: grid;
  gap: 14px;
}

.booking-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-edit-fields label {
  display: grid;
  gap: 7px;
  color: #9bdcf8;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.booking-edit-fields input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  padding: 10px 12px;
  font: inherit;
  color-scheme: dark;
}

.booking-edit-fields input:disabled {
  opacity: 0.52;
}

.booking-edit-availability {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.booking-edit-availability-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.booking-edit-availability-head strong {
  text-align: center;
  color: #eaf6ff;
  font-size: 0.92rem;
}

.booking-edit-availability-head button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(169, 216, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: #f7fbff;
  font-size: 1.2rem;
  line-height: 1;
}

.booking-edit-days,
.booking-edit-slots {
  display: grid;
  gap: 8px;
}

.booking-edit-days {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.booking-edit-days button,
.booking-edit-slots button {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 251, 255, 0.82);
  padding: 8px;
  box-shadow: none;
  text-align: center;
}

.booking-edit-days button strong,
.booking-edit-days button span,
.booking-edit-days button small {
  display: block;
  line-height: 1.15;
}

.booking-edit-days button span,
.booking-edit-days button small {
  color: rgba(224, 237, 247, 0.62);
  font-size: 0.7rem;
  font-weight: 900;
}

.booking-edit-days button strong {
  margin: 2px 0;
  color: #f7fbff;
  font-size: 1.05rem;
}

.booking-edit-days button.is-active,
.booking-edit-slots button.is-active {
  border-color: rgba(33, 132, 255, 0.7);
  background: rgba(33, 132, 255, 0.22);
  color: #ffffff;
}

.booking-edit-days button.is-empty,
.booking-edit-days button:disabled {
  opacity: 0.48;
}

.booking-edit-slots {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.booking-edit-slots p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(224, 237, 247, 0.72);
  text-align: center;
}

.booking-edit-slots button strong {
  display: block;
  color: #f7fbff;
  font-size: 0.95rem;
}

.booking-edit-slots button small {
  display: block;
  margin-top: 1px;
  color: rgba(224, 237, 247, 0.64);
  font-size: 0.7rem;
}

.booking-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-service-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.booking-service-option:has(input:checked) {
  border-color: rgba(33, 132, 255, 0.52);
  background: rgba(33, 132, 255, 0.16);
}

.booking-service-option input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #2184ff;
}

.booking-service-option strong,
.booking-service-option small {
  display: block;
}

.booking-service-option small {
  margin-top: 2px;
  color: rgba(224, 237, 247, 0.68);
  line-height: 1.35;
}

.booking-edit-actions,
.booking-edit-danger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.booking-edit-danger {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-edit-danger form {
  margin: 0;
}

.portal-confirm {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 11, 18, 0.68);
  backdrop-filter: blur(8px);
}

.portal-confirm[hidden] {
  display: none;
}

.portal-confirm-card {
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(12, 34, 50, 0.98), rgba(5, 18, 29, 0.98));
  color: #f7fbff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  padding: 22px;
}

.portal-confirm-card h2 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.portal-confirm-card p {
  margin: 0;
  color: rgba(224, 237, 247, 0.78);
  line-height: 1.45;
}

.portal-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.portal-confirm-actions button {
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 950;
}

.portal-confirm-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #f7fbff;
}

.portal-confirm-submit {
  border: 1px solid rgba(255, 183, 183, 0.28);
  background: rgba(161, 50, 50, 0.16);
  color: #ffb7b7;
}

.property-row-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.property-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.row-action.secondary {
  background: #eef3fa;
  color: var(--ink);
}

.property-row:hover,
.booking-overview-row:hover,
.workflow-list a:hover,
.account-row:hover,
.office-card:hover {
  border-color: rgba(15, 124, 201, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.08);
}

.property-row strong,
.account-row strong {
  display: block;
  margin-bottom: 5px;
}

.property-row span,
.account-row span,
.workflow-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.workflow-list a {
  display: grid;
  gap: 5px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.module-link {
  background: #07131e;
}

.booking-hero,
.manage-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  padding: 22px;
  background: #07131e;
  color: #f7fbff;
  box-shadow: var(--shadow);
}

.booking-hero h2,
.manage-hero h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
}

.booking-hero p:not(.eyebrow),
.manage-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(247, 251, 255, 0.72);
  line-height: 1.55;
}

.booking-progress,
.manage-status-card {
  min-width: 260px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.progress-meta,
.manage-status-card {
  gap: 8px;
}

.progress-meta strong,
.manage-status-card strong {
  display: block;
  font-size: 1.6rem;
}

.progress-meta span,
.manage-status-card span {
  color: rgba(247, 251, 255, 0.72);
}

.booking-card {
  display: grid;
  gap: 14px;
}

.booking-step {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.step-title {
  display: flex;
  gap: 14px;
  align-items: start;
}

.step-title > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(15, 124, 201, 0.12);
  color: var(--brand);
  font-weight: 950;
}

.step-title p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.service-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 112px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  color: var(--ink);
  text-transform: none;
}

.service-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.service-option:has(input:checked) {
  border-color: rgba(15, 124, 201, 0.65);
  background: #eef7ff;
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.1);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #10283a;
  color: #95e5ff;
  font-weight: 950;
}

.service-copy {
  display: grid;
  gap: 4px;
}

.service-copy strong {
  font-size: 1rem;
}

.service-copy small,
.service-copy em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.booking-submit-step {
  background: #f8fbff;
}

.route-note-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.manage-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: 14px;
  align-items: start;
}

.upload-panel input[type="file"] {
  min-height: auto;
  padding: 12px;
}

.office-list {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.office-card {
  display: grid;
  gap: 16px;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.office-card h3 {
  margin: 0 0 8px;
}

.office-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.45;
}

.account-office-panel,
.admin-account-panel {
  max-width: 980px;
}

.accounts-create-shell {
  margin-bottom: 18px;
}

.admin-account-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  border: 1px solid rgba(15, 124, 201, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.admin-account-create-form .field {
  margin: 0;
}

.account-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.account-user-password-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
  min-width: min(100%, 430px);
}

.account-user-password-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.account-user-password-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: none;
}

.account-user-delete-form {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.account-user-delete-form small {
  max-width: 170px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: right;
}

.linked-account-panel {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(15, 124, 201, 0.16);
  border-radius: 8px;
  background: #f5f9fd;
  padding: 14px;
}

.linked-account-panel strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.linked-account-panel span {
  color: var(--muted);
  font-weight: 800;
}

.account-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.account-form-actions a {
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
}

.account-office-search {
  margin-bottom: 14px;
}

.account-office-row {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
}

.account-office-open {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, auto) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  color: inherit;
  text-decoration: none;
}

.account-office-row:hover {
  border-color: rgba(15, 124, 201, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.08);
}

.account-office-main {
  display: grid;
  gap: 5px;
}

.account-office-main strong {
  font-size: 1.02rem;
}

.account-office-main small {
  color: var(--muted);
  font-weight: 850;
}

.account-office-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 8px;
}

.account-office-stats b {
  border-radius: 8px;
  background: #f2f6fb;
  color: var(--ink);
  padding: 9px 10px;
  font-size: 0.82rem;
  text-align: center;
}

.account-office-action {
  justify-self: end;
  border-radius: 8px;
  background: #eef3fa;
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 950;
}

.account-office-more {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.account-office-more summary {
  width: max-content;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}

.account-office-delete-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
  border: 1px solid rgba(161, 50, 50, 0.16);
  border-radius: 8px;
  background: #fff7f8;
  padding: 12px;
}

.account-office-delete-form .field {
  margin: 0;
}

.account-office-delete-note {
  grid-column: 1 / -1;
  color: #9c4654;
  font-weight: 850;
}

.secondary-danger-action:disabled,
.account-office-delete-form input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.account-requests-panel {
  gap: 16px;
}

.request-count,
.request-state {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(15, 124, 201, 0.12);
  color: var(--brand);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.account-request-list {
  display: grid;
  gap: 12px;
}

.account-request-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(220px, 0.8fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.request-person {
  display: grid;
  gap: 7px;
}

.request-person h3 {
  margin: 0;
  font-size: 1.1rem;
}

.request-person p,
.request-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.request-person a {
  color: var(--brand-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.request-message {
  min-height: 100%;
  border-radius: 8px;
  background: #f7fafc;
  padding: 12px;
}

.request-message.muted {
  color: #8a98a5;
}

.request-review-form {
  display: grid;
  gap: 10px;
}

.request-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.secondary-danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(161, 50, 50, 0.18);
  background: rgba(161, 50, 50, 0.08);
  color: #a13232;
  padding: 12px 16px;
  font-weight: 950;
}

.request-history {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.request-history summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 950;
}

.request-history > div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.request-history-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(240px, 1fr) minmax(160px, 0.7fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.request-history-row span,
.request-history-row small {
  color: var(--muted);
}

.account-main {
  display: grid;
  gap: 16px;
  width: min(1180px, 100%);
}

.account-hero,
.account-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.account-hero {
  padding: 24px;
}

.account-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.account-hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.account-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.office-user-list {
  display: grid;
  gap: 10px;
}

.subaccount-row {
  display: grid;
  grid-template-columns: 52px minmax(160px, 1fr) minmax(210px, 1.2fr) minmax(150px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.subaccount-number {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 8px;
  background: #eef3fa;
  color: var(--muted);
  font-weight: 950;
}

.subaccount-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.subaccount-row input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
}

.subaccount-state {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(20, 130, 93, 0.12);
  color: var(--ready);
  padding: 10px 12px;
  font-weight: 950;
}

.website-admin-shell {
  min-width: 0;
}

.website-editor-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.website-editor-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.website-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 14px;
  align-items: start;
}

.website-admin-shell.is-project-detail .website-editor-layout {
  grid-template-columns: 1fr;
}

.website-admin-shell.is-project-detail .website-inspector,
.website-admin-shell.is-project-selected .website-inspector {
  display: none;
}

.website-admin-shell.is-project-selected .website-editor-layout {
  grid-template-columns: 1fr;
}

.website-canvas,
.website-inspector {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.website-canvas {
  overflow: hidden;
}

.website-canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #071521;
}

.website-canvas-header img {
  width: 140px;
  max-height: 46px;
  object-fit: contain;
}

.website-canvas-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.website-page-tab {
  min-height: 36px;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: #eef3fa;
  font-weight: 900;
}

.website-page-tab.is-active {
  color: #fff;
  background: var(--brand);
}

.website-canvas-hero {
  min-height: 320px;
  display: grid;
  align-items: end;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(4, 13, 21, 0.86), rgba(7, 19, 30, 0.38)),
    url("https://staging.emiko.be/assets/images/diensten/fotografie.png") center / cover;
}

.website-canvas-copy {
  display: grid;
  gap: 10px;
  max-width: 540px;
}

.website-canvas-copy strong {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.02;
}

.website-kicker {
  color: #95e5ff;
  font-weight: 950;
}

.website-inspector {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.website-canvas-section {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.website-canvas-section[hidden] {
  display: none;
}

.website-section-title,
.website-section-title.with-action,
.website-portfolio-tabs-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.website-section-title {
  min-width: 0;
}

.site-edit-target,
.site-edit-image {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 12px;
}

.site-edit-target.is-active,
.site-edit-image.is-active,
.website-project-row.is-active {
  border-color: rgba(38, 136, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(38, 136, 255, 0.12);
}

.edit-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.site-edit-image {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.site-edit-image img,
.inspector-preview-image {
  width: 100%;
  height: 190px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3fa;
}

.website-services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 14px;
  align-items: stretch;
}

.website-service-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.website-service-toolbar strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.website-service-feature-list {
  display: grid;
  gap: 12px;
}

.website-service-feature {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.website-service-feature.is-active {
  border-color: rgba(38, 136, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(38, 136, 255, 0.1);
}

.website-service-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.website-service-feature-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.website-service-feature-title span {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.website-service-feature-title strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-service-feature-title small {
  overflow: hidden;
  color: var(--muted);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-service-feature-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(170px, 0.38fr);
  gap: 12px;
  align-items: stretch;
}

.website-service-edit-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.website-service-feature .service-image,
.website-service-copy-card,
.website-tag-row {
  height: 100%;
}

.website-service-feature .service-image img {
  height: 122px;
}

.website-service-copy-card {
  display: grid;
  align-content: start;
  gap: 5px;
}

.website-service-copy-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
}

.website-service-copy-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.website-tag-row {
  display: grid;
  align-content: start;
  gap: 6px;
}

.website-tag-row span:last-child {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.3;
}

.website-portfolio-admin {
  background: #f7fbff;
}

.website-portfolio-overview {
  display: grid;
  gap: 16px;
}

.website-portfolio-overview[hidden],
.website-portfolio-detail[hidden] {
  display: none;
}

.website-portfolio-detail {
  display: grid;
  gap: 16px;
}

.website-portfolio-detail-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.website-portfolio-detail-head h2,
.website-portfolio-detail-head p {
  margin: 0;
}

.website-portfolio-detail-head h2 {
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.website-portfolio-detail-head p:not(.eyebrow) {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 850;
}

.website-portfolio-detail-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.website-portfolio-detail-form .website-project-edit-card {
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
}

.website-portfolio-detail-form .website-project-edit-card .inspector-preview-image {
  height: 220px;
}

.website-portfolio-detail-form .website-service-checkboxes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.website-portfolio-tabs-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.website-portfolio-tabs-panel > div:first-child {
  display: grid;
  gap: 2px;
  min-width: 160px;
}

.website-portfolio-tabs-panel span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.website-portfolio-tabs-panel strong {
  color: var(--ink);
  font-size: 1rem;
}

.website-portfolio-tab-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.website-portfolio-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef3fa;
  color: var(--ink);
  padding: 8px 12px;
}

.website-portfolio-tab strong {
  font-size: 0.86rem;
}

.website-portfolio-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
}

.website-portfolio-tab.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.website-portfolio-tab.is-active strong {
  color: #fff;
}

.website-portfolio-list-head,
.website-project-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(190px, 0.95fr) minmax(150px, 0.75fr) 94px 172px;
  gap: 12px;
  align-items: center;
}

.website-portfolio-list-head {
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.website-portfolio-table {
  display: grid;
  gap: 10px;
}

.website-project-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.website-project-row-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-align: left;
}

.website-project-row-main img {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3fa;
}

.website-project-card-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.website-project-card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.website-project-card-body p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-project-services,
.website-project-media-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-service-pill,
.project-media-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: rgba(38, 136, 255, 0.12);
  color: var(--brand);
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 950;
}

.project-media-pill {
  background: #eef3fa;
  color: var(--ink);
}

.project-media-pill.muted {
  color: var(--muted);
}

.website-project-status,
.website-online-note {
  display: inline-flex;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(20, 130, 93, 0.12);
  color: var(--ready);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.website-project-row-actions,
.website-inspector-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.website-danger-link {
  min-height: 38px;
  border: 1px solid rgba(174, 52, 52, 0.25);
  border-radius: 8px;
  background: rgba(174, 52, 52, 0.08);
  color: #ae3434;
  padding: 8px 12px;
  font-weight: 950;
}

.website-empty-row {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 22px;
  text-align: center;
  font-weight: 900;
}

.website-inspector {
  position: sticky;
  top: 18px;
}

.website-inspector h2 {
  margin: 0;
  font-size: 1.35rem;
}

.website-inspector-form {
  display: grid;
  gap: 12px;
}

.inspector-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.inspector-field input,
.inspector-field select,
.inspector-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;
  text-transform: none;
}

.inspector-field textarea {
  min-height: 112px;
  resize: vertical;
}

.inspector-file-field {
  border: 1px dashed rgba(38, 136, 255, 0.32);
  border-radius: 8px;
  background: rgba(38, 136, 255, 0.06);
  padding: 12px;
}

.website-project-edit-card,
.website-service-image-control {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.website-project-edit-card .inspector-preview-image,
.website-service-image-control img {
  height: 112px;
}

.website-project-edit-fields,
.website-project-media-panel {
  display: grid;
  gap: 10px;
}

.website-service-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  text-transform: none;
}

.website-service-checkboxes label {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.15;
  overflow: hidden;
  cursor: pointer;
}

.website-service-checkboxes label:has(input:checked) {
  border-color: rgba(38, 136, 255, 0.72);
  background: rgba(38, 136, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(38, 136, 255, 0.1);
}

.website-service-checkboxes input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.website-service-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(8, 25, 38, 0.25);
  border-radius: 7px;
  background: #fff;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  z-index: 1;
}

.website-service-checkboxes label:has(input:checked) .website-service-check {
  border-color: var(--brand);
  background: var(--brand);
}

.website-service-checkboxes label:has(input:checked) .website-service-check::after {
  content: "✓";
}

.website-service-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}

.website-project-media-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.website-project-media-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}

.website-project-media-head span,
.website-inspector-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.website-project-link-grid,
.website-project-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.website-project-slide-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.website-project-slide-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.website-project-slide-head strong {
  color: var(--ink);
}

.website-project-slide-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.website-project-slide-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.website-project-slide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.website-project-slide-field {
  display: grid;
  gap: 8px;
  border: 1px dashed rgba(38, 136, 255, 0.32);
  border-radius: 8px;
  background: rgba(38, 136, 255, 0.06);
  padding: 10px;
}

.website-project-slide-field img,
.website-project-slide-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3fa;
}

.website-project-slide-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.website-project-media-list {
  display: grid;
  gap: 7px;
}

.website-project-media-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 86px;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.website-project-media-row strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-project-media-row span,
.website-project-media-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.portal-app.is-broker {
  display: block;
  min-height: 100vh;
  color: #f7fbff;
  background:
    linear-gradient(180deg, #06192b 0%, #03111f 62%, #06192b 100%);
}

.portal-app.is-broker .sidebar {
  position: relative;
  top: auto;
  width: min(1180px, calc(100% - 32px));
  height: auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  grid-template-rows: auto;
  align-items: center;
  gap: 18px;
  margin-inline: auto;
  padding: 18px 0 12px;
  background: transparent;
}

.portal-app.is-broker .portal-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.portal-app.is-broker .portal-nav a {
  width: auto;
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.portal-app.is-broker .nav-icon {
  display: none;
}

.broker-mobile-menu {
  display: none;
}

.broker-mobile-menu summary {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  padding: 12px 44px 12px 16px;
  font-weight: 950;
  list-style: none;
  cursor: pointer;
  position: relative;
}

.broker-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.broker-mobile-menu summary::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-64%) rotate(45deg);
}

.broker-mobile-menu[open] summary::after {
  transform: translateY(-36%) rotate(225deg);
}

.broker-mobile-menu > div {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(3, 17, 31, 0.94);
  padding: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.broker-mobile-menu a,
.broker-mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(247, 251, 255, 0.76);
  padding: 11px 12px;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
}

.broker-mobile-menu a.active,
.broker-mobile-menu a:hover,
.broker-mobile-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f7fbff;
}

.portal-app.is-broker .sidebar-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 190px;
  padding: 0;
  border-top: 0;
  text-align: right;
}

.portal-app.is-broker .sidebar-user span {
  display: none;
}

.portal-app.is-broker .sidebar-user small {
  width: 100%;
}

.portal-app.is-broker .sidebar-user button {
  width: auto;
  min-height: 42px;
  margin-top: 0;
  border-radius: 999px;
  background: rgba(38, 136, 255, 0.16);
}

.portal-app.is-broker .workspace {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 24px 0 56px;
  color: #f7fbff;
}

.portal-app.is-broker .workspace-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.portal-app.is-broker .welcome-band,
.portal-app.is-broker .stats-grid article,
.portal-app.is-broker .list-panel,
.portal-app.is-broker .next-panel {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.portal-app.is-broker .property-row,
.portal-app.is-broker .workflow-list a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f7fbff;
}

.portal-app.is-broker .property-row span,
.portal-app.is-broker .workflow-list span,
.portal-app.is-broker .stats-grid span {
  color: rgba(247, 251, 255, 0.68);
}

.portal-app.is-broker .broker-stats-grid strong {
  font-size: 2.35rem;
}

.portal-app.is-broker .topbar-actions {
  display: none;
}

.delivery-body {
  min-height: 100vh;
  color: #f8fbff;
  background:
    radial-gradient(circle at 82% 6%, rgba(38, 136, 255, 0.25), transparent 28rem),
    radial-gradient(circle at 15% 18%, rgba(122, 63, 152, 0.18), transparent 23rem),
    linear-gradient(180deg, #06192b 0%, #03111f 60%, #06192b 100%);
}

.delivery-body main,
.delivery-body .portal-header,
.delivery-body .portal-footer {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.portal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-header a,
.portal-footer a {
  color: #f8fbff;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.portal-header .portal-return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(159, 226, 255, 0.45);
  border-radius: 999px;
  background: rgba(38, 136, 255, 0.16);
  color: #f8fbff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.delivery-body .brand-link img {
  width: 190px;
}

.portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 34px;
  color: rgba(248, 251, 255, 0.72);
}

.portal-footer p {
  margin: 0;
}

.delivery-form-message {
  margin: 0;
  border: 1px solid rgba(159, 226, 255, 0.28);
  border-radius: 18px;
  background: rgba(38, 136, 255, 0.12);
  color: #f8fbff;
  padding: 12px 14px;
  font-weight: 900;
}

.delivery-form-message.is-success {
  border-color: rgba(70, 211, 154, 0.36);
  background: rgba(20, 130, 93, 0.18);
}

.delivery-form-message.is-error {
  border-color: rgba(255, 143, 143, 0.38);
  background: rgba(154, 38, 38, 0.2);
}

.download-progress-card {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(159, 226, 255, 0.28);
  border-radius: 18px;
  background: rgba(38, 136, 255, 0.12);
  color: #f8fbff;
  padding: 14px;
  font-weight: 900;
}

.download-progress-card.is-success {
  border-color: rgba(70, 211, 154, 0.36);
  background: rgba(20, 130, 93, 0.18);
}

.download-progress-card.is-error {
  border-color: rgba(255, 143, 143, 0.38);
  background: rgba(154, 38, 38, 0.2);
}

.download-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-progress-track {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.download-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4fb3ff, #46d39a);
  transition: width 0.22s ease;
}

.delivery-feedback-summary {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(159, 226, 255, 0.22);
  border-radius: 18px;
  background: rgba(38, 136, 255, 0.1);
  padding: 14px;
}

.delivery-feedback-summary h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 1rem;
}

.delivery-feedback-list {
  display: grid;
  gap: 10px;
}

.delivery-feedback-list article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px;
}

.delivery-feedback-list strong {
  color: #f8fbff;
}

.delivery-feedback-list span,
.delivery-feedback-list small,
.delivery-feedback-list p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.4;
}

/* Secure server views mapped back to the original portal screens. */
.portal-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.portal-topbar h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1;
}

.portal-topbar p:last-child {
  margin: 10px 0 0;
  color: rgba(247, 251, 255, 0.72);
}

.property-overview,
.property-view {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  padding: 18px;
}

.overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 2px 2px;
}

.overview-head span,
.property-filter span,
.property-search span,
.property-card small {
  color: #9fe2ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.property-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.delivery-select {
  position: relative;
  min-width: 228px;
}

.property-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  padding: 8px 14px 8px 16px;
  font-weight: 950;
  text-align: left;
}

.property-filter-toggle::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.82;
}

.property-filter-toggle[aria-expanded="true"] {
  border-color: rgba(159, 226, 255, 0.55);
  background: rgba(15, 124, 201, 0.24);
  box-shadow: 0 0 0 3px rgba(159, 226, 255, 0.12);
}

.property-filter-toggle strong {
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.15;
  text-transform: none;
  white-space: nowrap;
}

select.property-filter-toggle {
  min-width: 210px;
  cursor: pointer;
}

select.property-filter-toggle option {
  background: #ffffff;
  color: #10283a;
}

.delivery-native-filter {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.delivery-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: min(280px, 82vw);
  min-width: 100%;
  gap: 4px;
  border: 1px solid rgba(159, 226, 255, 0.2);
  border-radius: 16px;
  background: #071b2b;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  padding: 6px;
}

.delivery-select-menu button {
  min-height: 42px;
  border-radius: 12px;
  background: transparent;
  color: #f7fbff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 950;
}

.delivery-select-menu button:hover,
.delivery-select-menu button:focus,
.delivery-select-menu button[aria-selected="true"] {
  background: rgba(15, 124, 201, 0.26);
  color: #ffffff;
}

.property-search {
  display: grid;
  gap: 8px;
}

.property-search input,
.office-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: inherit;
  padding: 12px 18px;
  outline: none;
}

.property-overview .property-search input {
  color: #f8fbff;
}

.property-overview .property-search input::placeholder {
  color: rgba(248, 251, 255, 0.52);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.property-card {
  position: relative;
  display: grid;
  grid-template-rows: 230px auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  color: #f7fbff;
  overflow: hidden;
  text-decoration: none;
  transition: 180ms ease;
}

.property-card:hover {
  border-color: rgba(159, 226, 255, 0.62);
  background: rgba(38, 136, 255, 0.14);
  transform: translateY(-2px);
}

.property-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(159, 226, 255, 0.15), rgba(255, 255, 255, 0.035)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px);
}

.property-placeholder.has-image {
  background: #0f1e2c;
}

.property-placeholder.has-image::after,
.office-property-cover.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 31, 0.04), rgba(3, 17, 31, 0.28));
  pointer-events: none;
}

.property-placeholder img,
.office-property-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-placeholder i {
  position: relative;
  z-index: 1;
  display: inline-flex;
  border: 1px solid rgba(159, 226, 255, 0.24);
  border-radius: 999px;
  background: rgba(3, 17, 31, 0.34);
  color: #9fe2ff;
  padding: 9px 13px;
  font-style: normal;
  font-weight: 950;
}

.property-card-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px 16px;
}

.property-card strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.08;
}

.property-card span:not(.property-card-copy):not(.property-placeholder) {
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.35;
}

.property-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 16px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f7fbff;
  font-size: 0.92rem;
}

.detail-shell {
  display: grid;
  gap: 16px;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.detail-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link,
.download-all,
.media-download,
.download-current-media,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 950;
  text-decoration: none;
}

.ghost-link,
.download-current-media,
.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
}

.ghost-button {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 13px 18px;
  font: inherit;
  cursor: pointer;
}

.download-all,
.media-download {
  border: 0;
  background: #f7fbff;
  color: #03111f;
}

.property-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  border: 1px solid rgba(159, 226, 255, 0.18);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 124, 201, 0.28), rgba(20, 130, 93, 0.16)),
    #071521;
  padding: 22px;
}

.property-hero-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  width: min(100%, 1100px);
  text-align: center;
}

.property-hero-copy span {
  display: inline-flex;
  justify-self: start;
  border: 1px solid rgba(159, 226, 255, 0.34);
  border-radius: 999px;
  background: rgba(38, 136, 255, 0.2);
  color: #9fe2ff;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.property-hero-copy p {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(1.85rem, 3.4vw, 3.3rem);
  font-weight: 950;
  line-height: 1.02;
  max-width: 980px;
  overflow-wrap: anywhere;
}

.property-hero-copy .property-address-title {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
  padding: 0.1em 0;
}

.property-address-hero {
  min-height: 150px;
  padding: 18px 24px;
}

.property-address-hero .property-hero-copy {
  gap: 0;
  width: min(100%, 1040px);
}

.property-address-hero .property-address-title {
  font-size: clamp(1.45rem, 2.8vw, 2.8rem);
  line-height: 1.16;
}

.delivery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  padding: 14px;
}

.delivery-bar strong,
.delivery-bar span {
  display: block;
}

.delivery-bar span {
  margin-top: 5px;
  color: rgba(247, 251, 255, 0.72);
}

.media-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.media-tabs button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 251, 255, 0.72);
  padding: 9px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.media-tabs button.active {
  border-color: rgba(159, 226, 255, 0.72);
  background: rgba(38, 136, 255, 0.18);
  color: #f7fbff;
}

.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.viewer-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.main-viewer {
  position: relative;
  height: clamp(360px, 42vw, 620px);
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.main-viewer img,
.main-viewer video,
.main-viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #020b14;
}

.main-viewer img {
  object-fit: cover;
}

.main-viewer video,
.main-viewer iframe {
  object-fit: contain;
}

.main-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 320px;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(159, 226, 255, 0.12), rgba(255, 255, 255, 0.035)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
}

.main-placeholder strong {
  color: #9fe2ff;
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
}

.main-placeholder span {
  max-width: 540px;
  color: rgba(247, 251, 255, 0.72);
  font-weight: 850;
  line-height: 1.45;
}

.viewer-click-next {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: e-resize;
}

.viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 17, 31, 0.48);
  color: #f8fbff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.viewer-arrow-prev {
  left: 14px;
}

.viewer-arrow-next {
  right: 14px;
}

.copy-tour-link,
.download-current-media {
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid rgba(159, 226, 255, 0.25);
  border-radius: 999px;
  background: rgba(38, 136, 255, 0.14);
  color: #f8fbff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  text-decoration: none;
}

.copy-status {
  color: #9fe2ff;
  font-size: 0.86rem;
  font-weight: 950;
}

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

.media-section h3 {
  margin: 0;
  color: #9fe2ff;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.media-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.thumb-card {
  position: relative;
  display: grid;
  gap: 8px;
}

.thumb-card.is-selected .thumb-button {
  border-color: #fff21a;
  box-shadow: 0 0 0 3px rgba(255, 242, 26, 0.18);
}

.select-thumb-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
}

.thumb-button {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
  cursor: pointer;
}

.thumb-button.active {
  border-color: #fff21a;
  box-shadow: 0 0 0 3px rgba(255, 242, 26, 0.12);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-tour-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(159, 226, 255, 0.22), rgba(255, 242, 26, 0.12)),
    #061424;
  color: #f7fbff;
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selection-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(159, 226, 255, 0.24);
  border-radius: 18px;
  background: rgba(38, 136, 255, 0.12);
}

.selection-bar.is-selecting {
  justify-content: space-between;
}

.selection-bar span {
  color: #9fe2ff;
  font-weight: 950;
}

.selection-bar button {
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #f8fbff;
  color: #03111f;
  font-weight: 950;
  cursor: pointer;
}

.selection-bar .secondary-select-action {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 11, 20, 0.74);
  backdrop-filter: blur(14px);
}

.feedback-card {
  display: grid;
  gap: 16px;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #071a2d;
  color: #f8fbff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.feedback-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.feedback-head h2 {
  margin: 0;
  font-size: 1.65rem;
}

.feedback-head button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  font-size: 1.5rem;
  cursor: pointer;
}

.delivery-body .field {
  display: grid;
  gap: 8px;
  color: rgba(248, 251, 255, 0.72);
  font-weight: 900;
}

.delivery-body .field input,
.delivery-body .field select,
.delivery-body .field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.delivery-body .field textarea {
  resize: vertical;
}

.delivery-body .field input:focus,
.delivery-body .field select:focus,
.delivery-body .field textarea:focus {
  border-color: #9fe2ff;
  box-shadow: 0 0 0 4px rgba(38, 136, 255, 0.16);
}

.delivery-body .field option {
  background: #071a2d;
}

.feedback-selection-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.feedback-selection-panel span {
  color: #9fe2ff;
  font-weight: 900;
}

.feedback-photo-notes {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.feedback-photo-note {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.feedback-photo-note img {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.feedback-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  padding: 28px;
  background: rgba(2, 11, 20, 0.92);
  backdrop-filter: blur(16px);
}

.photo-lightbox figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
}

.photo-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.photo-lightbox figcaption {
  color: rgba(248, 251, 255, 0.76);
  font-weight: 900;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fbff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  width: 54px;
  height: 54px;
  justify-self: center;
  font-size: 2.2rem;
  line-height: 1;
}

.office-overview-page,
.office-detail-page,
.office-property-sections {
  display: grid;
  gap: 14px;
}

.office-search {
  display: grid;
  gap: 8px;
}

.office-search span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.office-detail-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.office-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.office-add-link {
  background: var(--brand);
}

.office-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.office-summary article {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.office-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.office-summary strong {
  font-size: 1.7rem;
}

.admin-extra-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
  box-shadow: var(--shadow);
}

.admin-extra-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 950;
}

.admin-extra-panel form {
  margin-top: 14px;
  box-shadow: none;
}

.inline-create-form {
  grid-template-columns: minmax(0, 1fr) 220px auto;
  align-items: end;
  box-shadow: none;
}

.new-property-form {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.35fr) auto;
  align-items: end;
  box-shadow: none;
}

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

.property-upload-workspace {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 16px;
}

.office-overview-page,
.office-detail-page {
  display: grid;
  gap: 14px;
}

.office-overview-page .office-list {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.office-card {
  display: grid;
  gap: 10px;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 0 12px;
  text-align: left;
  text-decoration: none;
}

.office-card:hover,
.office-card.active {
  border-color: rgba(15, 124, 201, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.1);
}

.office-card strong {
  padding: 0 12px;
  font-size: 1rem;
}

.office-card small,
.office-property-card small {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.office-card small {
  padding: 0 12px;
}

.office-card small i,
.office-property-card small i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--ready);
}

.office-card-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f6;
}

.office-card-preview span {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #10283a, #0f7cc9);
  color: #d7f2ff;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.office-card-preview span.has-image {
  background: #10283a;
}

.office-card-preview span.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 25, 38, 0.04), rgba(9, 25, 38, 0.52));
}

.office-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-card-preview b {
  position: relative;
  z-index: 1;
}

.office-card-preview span.has-image b {
  position: absolute;
  right: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #10283a;
  padding: 4px 7px;
  font-size: 0.62rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(9, 25, 38, 0.18);
}

.office-card-preview span.is-empty {
  background: #e5e8ec;
}

.office-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.office-summary article {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background: #f2f6fb;
  padding: 12px;
}

.office-summary span,
.office-search span,
.folder-guide span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.office-summary strong {
  font-size: 1.35rem;
}

.maintenance-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.maintenance-panel summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 950;
}

.maintenance-panel[open] summary {
  border-bottom: 1px solid var(--line);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
  padding: 14px;
}

.maintenance-grid section {
  display: grid;
  gap: 10px;
  align-content: start;
}

.maintenance-grid h3,
.header-manager h3 {
  margin: 0;
  font-size: 1rem;
}

.retention-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.office-property-sections {
  display: grid;
  gap: 24px;
}

.office-property-section {
  display: grid;
  gap: 12px;
}

.office-property-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.office-property-section h3 {
  margin: 0;
  font-size: 1.2rem;
}

.office-property-section > header span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 950;
}

.office-property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.office-property-card {
  position: relative;
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px;
  text-decoration: none;
}

.office-property-card.is-selected {
  border-color: rgba(15, 124, 201, 0.72);
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.12);
}

.office-property-main {
  display: grid;
  gap: 9px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.property-select-control {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  display: none;
  cursor: pointer;
}

.office-detail-panel.is-bulk-selecting .property-select-control {
  display: block;
}

.property-select-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.property-select-control span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 16px rgba(15, 30, 44, 0.18);
}

.property-select-control input:checked + span {
  border-color: #0f7cc9;
  background: #0f7cc9;
}

.property-select-control input:checked + span::after {
  content: "";
  width: 8px;
  height: 13px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.office-property-card:hover,
.office-property-card.is-active {
  border-color: rgba(15, 124, 201, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 124, 201, 0.1);
}

.office-property-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1e2c;
  color: #d7f2ff;
  font-weight: 950;
}

.office-property-cover > span {
  position: relative;
  z-index: 1;
  padding: 12px;
  text-align: center;
}

.office-property-cover .status-pill {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  min-width: 0;
  min-height: 28px;
  padding: 6px 9px;
  border: 0;
  background: rgba(20, 130, 93, 0.92);
  color: #fff;
}

.status-pill.pending,
.office-property-cover .status-pill.pending {
  background: rgba(242, 180, 71, 0.95);
  color: #4a3106;
}

.office-property-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bulk-delete-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bulk-delete-form button {
  border: 1px solid rgba(168, 53, 53, 0.18);
  border-radius: 999px;
  background: rgba(168, 53, 53, 0.07);
  color: #9d2e2e;
  padding: 7px 11px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 950;
  cursor: pointer;
}

.bulk-delete-form button[type="button"] {
  border-color: rgba(15, 124, 201, 0.18);
  background: rgba(15, 124, 201, 0.08);
  color: #0b5f99;
}

.bulk-delete-form button:hover {
  border-color: rgba(168, 53, 53, 0.34);
  background: rgba(168, 53, 53, 0.12);
}

.bulk-delete-form button[type="button"]:hover {
  border-color: rgba(15, 124, 201, 0.34);
  background: rgba(15, 124, 201, 0.13);
}

.bulk-delete-form button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.bulk-delete-form span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.folder-guide {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 12px;
}

.folder-guide code,
.service-upload-card code {
  display: block;
  overflow-x: auto;
  border-radius: 8px;
  background: #0f1e2c;
  color: #d7f2ff;
  padding: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre;
}

.header-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.header-manager p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.header-preview {
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1e2c;
  color: #d7f2ff;
  font-weight: 950;
}

.header-preview img,
.file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-upload-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-upload-grid [hidden] {
  display: none !important;
}

.upload-console {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(2, minmax(180px, 0.9fr));
  gap: 12px;
  align-items: stretch;
}

.upload-console-upload {
  display: grid;
  gap: 8px;
}

.upload-console-upload button,
.selected-service-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 9px 12px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.upload-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.upload-status.is-error {
  color: #a13232;
}

.upload-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeaf5;
}

.upload-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #2db4ef);
  transition: width 0.18s ease;
}

.upload-progress.is-indeterminate span {
  width: 38%;
  animation: uploadProgressSlide 1.1s ease-in-out infinite;
}

@keyframes uploadProgressSlide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(280%); }
}

.service-upload-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.bulk-upload-card {
  grid-column: 1 / -1;
  background: #f7fbff;
}

.bulk-upload-card .primary-action {
  justify-self: end;
}

.bulk-upload-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-upload-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.service-upload-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.service-upload-head strong {
  font-size: 1.05rem;
}

.service-upload-head b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #eef3fa;
}

.service-file-drop {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px dashed rgba(15, 124, 201, 0.45);
  border-radius: 8px;
  background: #f2f6fb;
  color: var(--brand);
  font-weight: 950;
  cursor: pointer;
  overflow: hidden;
}

.main-dropzone {
  min-height: 96px;
}

.main-dropzone.is-dragging,
.service-upload-grid.is-dragging .main-dropzone {
  border-color: var(--brand);
  background: #eaf3ff;
}

.service-file-drop span {
  pointer-events: none;
}

.service-file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-file-list {
  display: grid;
  gap: 8px;
}

.matterport-inline-form {
  min-height: 100%;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.matterport-link-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.matterport-link-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.matterport-link-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: none;
}

.matterport-link-form button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.selected-file-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 1.1fr) minmax(170px, 0.8fr) minmax(150px, auto);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.selected-file-panel.is-empty {
  grid-template-columns: 1fr;
  min-height: 58px;
  color: var(--muted);
}

.selected-file-preview {
  width: 76px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1e2c;
  color: #d7f2ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selected-file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deferred-media-preview {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.selected-file-copy {
  min-width: 0;
}

.selected-file-copy span,
.selected-file-panel label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selected-file-copy strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.selected-service-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.selected-service-form button {
  width: 100%;
}

.selected-file-panel select {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  font: inherit;
  font-weight: 850;
  text-transform: none;
}

.selected-file-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.selected-file-actions form {
  display: contents;
}

.selected-file-actions button {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f6fb;
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.selected-file-actions .row-action {
  width: 100%;
  justify-content: center;
}

.selected-file-actions button.active {
  border-color: rgba(20, 130, 93, 0.42);
  background: rgba(20, 130, 93, 0.13);
  color: var(--ready);
}

.file-library {
  display: grid;
  gap: 18px;
}

.file-library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 10px;
}

.file-library-toolbar span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.file-library-toolbar div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.file-library-toolbar button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 11px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.bulk-service-toolbar {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(180px, 0.8fr) auto auto;
}

.bulk-service-toolbar span {
  display: grid;
  gap: 2px;
}

.bulk-service-toolbar span strong {
  color: var(--ink);
  font-size: 0.92rem;
  text-transform: none;
}

.bulk-service-toolbar span small,
.bulk-service-toolbar label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bulk-service-toolbar label {
  display: grid;
  gap: 5px;
}

.bulk-service-toolbar select {
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 7px 10px;
  font: inherit;
  font-weight: 850;
  text-transform: none;
}

.bulk-service-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.file-library-empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.file-service-section {
  display: grid;
  gap: 10px;
}

.file-service-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.file-service-section header span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.file-service-section header b {
  color: var(--muted);
  font-weight: 950;
}

.file-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  gap: 12px;
}

.file-tile-shell {
  position: relative;
  min-width: 0;
}

.file-tile-checkbox {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.file-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(42px, auto);
  gap: 9px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.file-tile.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 124, 201, 0.12);
}

.file-tile-shell.is-bulk-selected .file-tile {
  border-color: rgba(15, 124, 201, 0.74);
  background: #f4f9ff;
  box-shadow: 0 0 0 3px rgba(15, 124, 201, 0.12);
}

.file-tile-media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1e2c;
  color: #d7f2ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.file-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-tile-copy {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
}

.file-tile-copy strong,
.file-tile-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-tile-copy strong {
  font-size: 0.86rem;
}

.file-tile-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.file-tile b {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 999px;
  background: rgba(20, 130, 93, 0.88);
  color: #fff;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 950;
}

.upload-file-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.file-thumb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1e2c;
  color: #d7f2ff;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.upload-file-row strong,
.upload-file-row small {
  display: block;
}

.upload-file-row small,
.empty-service,
.empty-state {
  color: var(--muted);
}

.file-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 6px;
}

.file-row-actions form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.empty-service,
.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.property-meta-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px auto;
}

.manage-body {
  min-height: 100vh;
  background: #f4f7fb;
  color: var(--ink);
}

.manage-header,
.manage-main,
.manage-not-found {
  width: calc(100% - clamp(24px, 4vw, 64px));
  margin-inline: auto;
}

.manage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.manage-header .sidebar-brand img {
  width: 156px;
  height: auto;
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.manage-actions a,
.manage-status-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: #10283a;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.manage-actions a:last-child,
.manage-status-card button {
  background: var(--brand);
}

.manage-main {
  width: min(100%, 1180px);
  min-width: 0;
  margin-inline: auto;
  display: grid;
  gap: 18px;
  padding-bottom: 70px;
}

.manage-hero,
.manage-side,
.service-manager,
.manage-not-found {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.manage-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--ink);
}

.manage-hero > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-address-input {
  display: block;
  width: min(100%, 1120px);
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  margin: -4px 0 0 -8px;
  padding: 4px 8px;
  font: inherit;
  font-size: clamp(1.55rem, 2.2vw, 2.65rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  overflow: hidden;
  resize: vertical;
}

.hero-address-input:hover,
.hero-address-input:focus {
  border-color: var(--line);
  background: #fff;
  outline: 0;
}

.hero-address-input::placeholder {
  color: var(--muted);
}

.manage-hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.manage-status-card {
  min-width: min(320px, 100%);
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #f2f6fb;
  padding: 12px;
}

.manage-status-card .field {
  margin: 0;
}

.manage-status-card select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-weight: 850;
}

.manage-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.manage-side,
.service-manager {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.manage-side {
  position: sticky;
  top: 16px;
}

.manage-side .header-manager {
  grid-template-columns: 1fr;
  box-shadow: none;
}

.manage-side .header-manager h2 {
  margin: 0;
  font-size: 1.2rem;
}

.publish-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.publish-stats {
  display: grid;
  gap: 8px;
}

.publish-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.publish-stats span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.service-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-manager-head h2 {
  margin: 0;
}

.manage-not-found {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  padding: 26px;
}

.mail-body {
  min-height: 100vh;
  background: #f4f7fb;
  color: var(--ink);
}

.mail-header,
.mail-main {
  width: calc(100% - clamp(24px, 4vw, 64px));
  margin-inline: auto;
}

.mail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.mail-brand img {
  width: 156px;
  height: auto;
}

.mail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mail-actions a,
.mail-submit-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: #10283a;
  color: #fff;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.mail-actions a:last-child,
.mail-submit-bar button {
  background: var(--brand);
}

.mail-main,
.mail-form {
  display: grid;
  gap: 18px;
  padding-bottom: 70px;
}

.mail-form {
  padding-bottom: 0;
}

.mail-hero,
.mail-panel,
.mail-submit-bar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mail-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.mail-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1;
}

.mail-hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.mail-next-card {
  min-width: min(310px, 100%);
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: #f2f6fb;
  padding: 16px;
}

.mail-next-card span,
.mail-next-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mail-next-card strong {
  font-size: 1.3rem;
}

.mail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr) minmax(340px, 1.15fr);
  gap: 16px;
  align-items: start;
}

.mail-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.mail-panel h2 {
  margin: 0;
  font-size: 1.45rem;
}

.recipient-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.recipient-picker summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 950;
  list-style: none;
}

.recipient-picker summary::-webkit-details-marker {
  display: none;
}

.office-recipient-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.office-recipient-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

.office-recipient-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.office-recipient-row strong {
  display: block;
}

.office-recipient-row span span,
.mail-submit-bar p {
  color: var(--muted);
}

.mail-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mail-field input,
.mail-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 850;
  text-transform: none;
}

.mail-field textarea {
  min-height: 150px;
  resize: vertical;
  font-weight: 700;
  line-height: 1.45;
}

.mail-preview-panel {
  background: #fff;
}

.mail-preview {
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.mail-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #071826;
  color: #fff;
  padding: 18px;
}

.mail-preview-head img {
  width: 132px;
  height: auto;
}

.mail-preview-head span {
  color: #8fe9ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mail-preview-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.mail-preview-body h3 {
  margin: 0;
  font-size: 1.5rem;
}

.mail-subject-preview {
  width: fit-content;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.mail-preview-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.mail-note-preview {
  border-left: 4px solid var(--brand);
  background: #f2f7ff;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  line-height: 1.5;
}

.mail-preview-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  font-weight: 950;
  text-decoration: none;
}

.mail-preview-foot {
  border-top: 1px solid #e4edf6;
  padding-top: 12px;
  font-size: 0.9rem;
}

.mail-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.mail-submit-bar p {
  margin: 0;
  font-weight: 850;
}

.mail-submit-bar p.is-error {
  color: #9f3d52;
}

.mail-submit-bar p.is-success {
  color: #007a52;
}

@media (max-width: 980px) {
  .detail-actions,
  .delivery-bar,
  .media-controls,
  .account-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .viewer-toolbar,
  .download-current-media {
    width: 100%;
  }

  .account-office-row,
  .account-office-open,
  .admin-account-create-form,
  .account-row,
  .account-request-card,
  .request-history-row,
  .subaccount-row {
    grid-template-columns: 1fr;
  }

  .account-row-actions,
  .account-user-password-form,
  .account-user-delete-form {
    grid-template-columns: 1fr;
    justify-items: stretch;
    justify-content: stretch;
  }

  .account-row-actions .badge,
  .account-user-password-form button,
  .account-user-delete-form button {
    width: 100%;
  }

  .account-user-delete-form small {
    max-width: none;
    text-align: left;
  }

  .account-office-delete-form {
    grid-template-columns: 1fr;
  }

  .account-office-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-action-group {
    align-items: stretch;
    flex-direction: column;
  }

  .manage-layout,
  .mail-layout,
  .upload-console,
  .selected-file-panel,
  .upload-file-row,
  .bulk-service-toolbar {
    grid-template-columns: 1fr;
  }

  .manage-side {
    position: static;
  }

  .selected-file-preview {
    width: min(180px, 100%);
  }
}

@media (max-width: 680px) {
  .manage-header,
  .manage-hero,
  .mail-header,
  .mail-hero,
  .mail-submit-bar,
  .service-manager-head {
    align-items: stretch;
    flex-direction: column;
  }

  .mail-actions,
  .mail-submit-bar button {
    width: 100%;
  }

  .mail-actions a {
    flex: 1 1 160px;
  }

  .manage-actions {
    justify-content: stretch;
  }

  .manage-actions a,
  .manage-status-card button {
    width: 100%;
  }

  .matterport-link-form,
  .selected-service-form {
    grid-template-columns: 1fr;
  }

  .file-library-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .file-library-toolbar div {
    justify-content: stretch;
  }

  .file-library-toolbar button {
    width: 100%;
  }

  .file-tile-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }

  .property-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .main-viewer,
  .main-viewer img,
  .main-viewer video,
  .main-viewer iframe {
    height: 340px;
    min-height: 0;
  }

  .media-section-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }

  .ghost-link,
  .download-all,
  .media-download,
  .download-current-media {
    width: 100%;
  }

  .delivery-body main,
  .delivery-body .portal-header,
  .delivery-body .portal-footer {
    width: min(100% - 24px, 1240px);
  }

  .delivery-body .brand-link img {
    width: 150px;
  }

  .portal-header,
  .portal-header-actions,
  .portal-footer,
  .selection-bar,
  .feedback-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-footer,
  .selection-bar,
  .feedback-actions {
    display: grid;
  }

  .feedback-photo-note {
    grid-template-columns: 1fr;
  }

  .feedback-photo-note img {
    width: 100%;
    height: 150px;
  }

  .photo-lightbox {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .photo-lightbox img {
    max-height: calc(100vh - 110px);
    border-radius: 10px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

.workspace-booking {
  margin: -24px;
  min-height: 100vh;
  align-content: start;
  gap: 18px;
  padding: 24px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 82% 6%, rgba(38, 136, 255, 0.25), transparent 28rem),
    radial-gradient(circle at 16% 18%, rgba(122, 63, 152, 0.18), transparent 22rem),
    linear-gradient(180deg, #06192b 0%, #03111f 62%, #06192b 100%);
}

.workspace-booking .workspace-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.workspace-booking .workspace-topbar h1 {
  color: #f8fbff;
}

.workspace-booking .topbar-actions a {
  border: 1px solid rgba(159, 226, 255, 0.45);
  background: rgba(38, 136, 255, 0.16);
}

.booking-tabs {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wizard-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 24px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  padding: 24px;
  color: #f7fbff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.booking-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.02;
}

.lead {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.6;
}

.booking-progress {
  display: grid;
  gap: 10px;
  align-self: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2688ff, #9fe2ff);
}

.progress-buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.progress-buttons label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: rgba(248, 251, 255, 0.72);
  padding: 7px 8px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.workspace-booking:has(#booking-step-1:checked) .progress-buttons label[for="booking-step-1"],
.workspace-booking:has(#booking-step-2:checked) .progress-buttons label[for="booking-step-2"],
.workspace-booking:has(#booking-step-3:checked) .progress-buttons label[for="booking-step-3"],
.workspace-booking:has(#booking-step-4:checked) .progress-buttons label[for="booking-step-4"],
.workspace-booking:has(#booking-step-5:checked) .progress-buttons label[for="booking-step-5"],
.workspace-booking:has(#booking-step-6:checked) .progress-buttons label[for="booking-step-6"],
.progress-buttons label.is-active,
.progress-buttons label:hover {
  border-color: rgba(159, 226, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
  color: #f7fbff;
}

.progress-buttons span {
  color: #9fe2ff;
  font-size: 0.72rem;
}

.booking-card {
  display: grid;
  gap: 16px;
}

.booking-wizard .wizard-step {
  display: none;
}

.booking-wizard .wizard-step.is-active {
  display: grid;
}

.workspace-booking:has(#booking-step-1:checked) .booking-wizard .step-1,
.workspace-booking:has(#booking-step-2:checked) .booking-wizard .step-2,
.workspace-booking:has(#booking-step-3:checked) .booking-wizard .step-3,
.workspace-booking:has(#booking-step-4:checked) .booking-wizard .step-4,
.workspace-booking:has(#booking-step-5:checked) .booking-wizard .step-5,
.workspace-booking:has(#booking-step-6:checked) .booking-wizard .step-6 {
  display: grid;
}

.workspace-booking:has(#booking-step-2:checked) .progress-track span { width: 33.333%; }
.workspace-booking:has(#booking-step-3:checked) .progress-track span { width: 50%; }
.workspace-booking:has(#booking-step-4:checked) .progress-track span { width: 66.666%; }
.workspace-booking:has(#booking-step-5:checked) .progress-track span { width: 83.333%; }
.workspace-booking:has(#booking-step-6:checked) .progress-track span { width: 100%; }

.workspace-booking:has(#booking-step-2:checked) .progress-meta span::before { content: "Adres"; }
.workspace-booking:has(#booking-step-3:checked) .progress-meta span::before { content: "Moment"; }
.workspace-booking:has(#booking-step-4:checked) .progress-meta span::before { content: "Gegevens"; }
.workspace-booking:has(#booking-step-5:checked) .progress-meta span::before { content: "Overzicht"; }
.workspace-booking:has(#booking-step-6:checked) .progress-meta span::before { content: "Klaar"; }
.workspace-booking:has(#booking-step-2:checked) .progress-meta span,
.workspace-booking:has(#booking-step-3:checked) .progress-meta span,
.workspace-booking:has(#booking-step-4:checked) .progress-meta span,
.workspace-booking:has(#booking-step-5:checked) .progress-meta span,
.workspace-booking:has(#booking-step-6:checked) .progress-meta span {
  font-size: 0;
}

.workspace-booking:has(#booking-step-2:checked) .progress-meta span::before,
.workspace-booking:has(#booking-step-3:checked) .progress-meta span::before,
.workspace-booking:has(#booking-step-4:checked) .progress-meta span::before,
.workspace-booking:has(#booking-step-5:checked) .progress-meta span::before,
.workspace-booking:has(#booking-step-6:checked) .progress-meta span::before {
  font-size: 0.82rem;
}

.workspace-booking:has(#booking-step-2:checked) .progress-meta strong::before { content: "Stap 2 van 6"; }
.workspace-booking:has(#booking-step-3:checked) .progress-meta strong::before { content: "Stap 3 van 6"; }
.workspace-booking:has(#booking-step-4:checked) .progress-meta strong::before { content: "Stap 4 van 6"; }
.workspace-booking:has(#booking-step-5:checked) .progress-meta strong::before { content: "Stap 5 van 6"; }
.workspace-booking:has(#booking-step-6:checked) .progress-meta strong::before { content: "Stap 6 van 6"; }
.workspace-booking:has(#booking-step-2:checked) .progress-meta strong,
.workspace-booking:has(#booking-step-3:checked) .progress-meta strong,
.workspace-booking:has(#booking-step-4:checked) .progress-meta strong,
.workspace-booking:has(#booking-step-5:checked) .progress-meta strong,
.workspace-booking:has(#booking-step-6:checked) .progress-meta strong {
  font-size: 0;
}

.workspace-booking:has(#booking-step-2:checked) .progress-meta strong::before,
.workspace-booking:has(#booking-step-3:checked) .progress-meta strong::before,
.workspace-booking:has(#booking-step-4:checked) .progress-meta strong::before,
.workspace-booking:has(#booking-step-5:checked) .progress-meta strong::before,
.workspace-booking:has(#booking-step-6:checked) .progress-meta strong::before {
  font-size: 0.92rem;
}

.workspace-booking .booking-step,
.workspace-booking .route-note-panel {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.workspace-booking .step-title p,
.workspace-booking .route-note-panel p {
  color: rgba(248, 251, 255, 0.72);
}

.workspace-booking .step-title > span {
  background: rgba(159, 226, 255, 0.14);
  color: #9fe2ff;
}

.workspace-booking .field {
  color: rgba(248, 251, 255, 0.72);
}

.workspace-booking .field input,
.workspace-booking .field select,
.workspace-booking .field textarea {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.workspace-booking .field input::placeholder,
.workspace-booking .field textarea::placeholder {
  color: rgba(248, 251, 255, 0.46);
}

.workspace-booking .field select {
  min-height: 52px;
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #9fe2ff 50%) calc(100% - 22px) 22px / 8px 8px no-repeat,
    linear-gradient(135deg, #9fe2ff 50%, transparent 50%) calc(100% - 16px) 22px / 8px 8px no-repeat,
    rgba(255, 255, 255, 0.08);
}

.workspace-booking .field select option {
  background: #06192b;
  color: #f8fbff;
}

.workspace-booking .field input:focus,
.workspace-booking .field select:focus,
.workspace-booking .field textarea:focus {
  border-color: #2688ff;
  box-shadow: 0 0 0 4px rgba(38, 136, 255, 0.16);
}

.workspace-booking .service-option,
.workspace-booking .service-summary,
.workspace-booking .availability-head,
.workspace-booking .address-preview,
.workspace-booking .review-grid article {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fbff;
}

.workspace-booking .service-option:has(input:checked) {
  border-color: rgba(159, 226, 255, 0.72);
  background: rgba(38, 136, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(38, 136, 255, 0.14);
}

.workspace-booking .service-copy small,
.workspace-booking .service-copy em,
.workspace-booking .service-summary p,
.workspace-booking .availability-head p,
.workspace-booking .address-preview span,
.workspace-booking .review-grid span {
  color: rgba(248, 251, 255, 0.72);
}

.workspace-booking .service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.workspace-booking .service-option {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 78px;
  align-items: stretch;
  min-height: 118px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workspace-booking .service-option:hover {
  border-color: rgba(82, 166, 255, 0.56);
  background: rgba(38, 136, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(82, 166, 255, 0.25);
  transform: translateY(-2px);
}

.workspace-booking .service-option input {
  position: absolute;
  opacity: 0;
}

.workspace-booking .service-icon {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 14px 0 16px;
  border: 1px solid rgba(159, 226, 255, 0.24);
  border-radius: 15px;
  background: rgba(38, 136, 255, 0.11);
  color: #9fe2ff;
  transition: 180ms ease;
}

.workspace-booking .service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-booking .service-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 16px 14px 16px 0;
}

.workspace-booking .service-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fbff;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.05;
}

.workspace-booking .service-copy small {
  position: relative;
  display: block;
  margin: 4px 0;
  padding-left: 16px;
  font-size: 0.95rem;
  line-height: 1.25;
}

.workspace-booking .service-copy small::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.64em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(248, 251, 255, 0.68);
}

.workspace-booking .service-copy em {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 850;
}

.workspace-booking .service-copy em::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(248, 251, 255, 0.7);
  border-radius: 50%;
}

.workspace-booking .service-copy em::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 5px;
  height: 6px;
  border-left: 2px solid rgba(248, 251, 255, 0.7);
  border-bottom: 2px solid rgba(248, 251, 255, 0.7);
}

.workspace-booking .service-check {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.workspace-booking .service-check::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid rgba(248, 251, 255, 0.42);
  border-radius: 7px;
  transition: 180ms ease;
}

.workspace-booking .service-option:has(input:checked) {
  border-color: rgba(82, 166, 255, 0.76);
  background:
    radial-gradient(circle at 8% 18%, rgba(38, 136, 255, 0.2), transparent 13rem),
    rgba(38, 136, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(82, 166, 255, 0.32);
}

.workspace-booking .service-option:hover .service-icon,
.workspace-booking .service-option:has(input:checked) .service-icon {
  border-color: rgba(159, 226, 255, 0.62);
  background: rgba(38, 136, 255, 0.18);
  color: #f8fbff;
}

.workspace-booking .service-option:has(input:checked) .service-check::before {
  border-color: #9fe2ff;
  background: #2688ff;
  box-shadow: inset 0 0 0 5px rgba(3, 17, 31, 0.88);
}

.workspace-booking .availability-step {
  gap: 18px;
}

.workspace-booking .availability-head,
.workspace-booking .selected-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.workspace-booking .availability-head strong,
.workspace-booking .selected-day strong {
  display: block;
  color: #f8fbff;
  font-size: 1.12rem;
}

.workspace-booking .selected-day span,
.workspace-booking .selected-day small {
  margin: 6px 0 0;
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.45;
}

.workspace-booking .availability-loader {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(159, 226, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 20, 36, 0.42);
  color: rgba(248, 251, 255, 0.8);
}

.workspace-booking .availability-loader[hidden] {
  display: none;
}

.workspace-booking .week-controls {
  display: inline-flex;
  align-items: end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.workspace-booking .week-controls button,
.workspace-booking .month-picker select {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(159, 226, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 20, 36, 0.78);
  color: #f8fbff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: 180ms ease;
}

.workspace-booking .week-controls button:hover,
.workspace-booking .month-picker select:hover,
.workspace-booking .month-picker select:focus {
  border-color: rgba(82, 166, 255, 0.62);
  background-color: rgba(38, 136, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(82, 166, 255, 0.28);
}

.workspace-booking .week-controls button {
  width: 44px;
  font-size: 1.5rem;
  font-weight: 950;
}

.workspace-booking .week-controls .quick-date-action {
  width: auto;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-color: rgba(159, 226, 255, 0.18);
  background: rgba(5, 20, 36, 0.34);
  color: #9fe2ff;
  font-size: 0.78rem;
  font-weight: 950;
}

.workspace-booking .month-picker {
  display: grid;
  gap: 6px;
  color: #9fe2ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workspace-booking .month-picker select {
  min-width: 190px;
  padding: 0 36px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  background:
    linear-gradient(45deg, transparent 50%, #9fe2ff 50%) calc(100% - 18px) 19px / 7px 7px no-repeat,
    linear-gradient(135deg, #9fe2ff 50%, transparent 50%) calc(100% - 13px) 19px / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(38, 136, 255, 0.2), rgba(255, 255, 255, 0.07));
}

.workspace-booking .date-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.workspace-booking .week-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.workspace-booking .day-card {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: #f8fbff;
  text-align: left;
  cursor: pointer;
}

.workspace-booking .day-card strong {
  font-size: 1.45rem;
  line-height: 1;
}

.workspace-booking .day-card span,
.workspace-booking .day-card small {
  color: rgba(248, 251, 255, 0.72);
  font-weight: 850;
}

.workspace-booking .day-card small {
  align-self: end;
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

.workspace-booking .day-card.active {
  border-color: rgba(159, 226, 255, 0.82);
  background:
    radial-gradient(circle at 12% 0%, rgba(38, 136, 255, 0.22), transparent 8rem),
    rgba(38, 136, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(159, 226, 255, 0.22);
}

.workspace-booking .day-card.is-empty {
  opacity: 0.58;
}

.workspace-booking .day-card:disabled,
.workspace-booking .day-card.is-past {
  cursor: not-allowed;
}

.workspace-booking .slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.workspace-booking .slot-grid p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.5;
}

.workspace-booking .slot-grid button {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  color: #f8fbff;
  font: inherit;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: 160ms ease;
}

.workspace-booking .slot-grid button:hover {
  border-color: rgba(159, 226, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(38, 136, 255, 0.2), rgba(255, 255, 255, 0.055));
}

.workspace-booking .slot-grid button strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0;
}

.workspace-booking .slot-grid button span {
  color: rgba(248, 251, 255, 0.62);
  font-size: 0.78rem;
}

.workspace-booking .slot-grid button small {
  color: rgba(159, 226, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.workspace-booking .slot-grid button.active {
  border-color: #fff21a;
  background:
    linear-gradient(180deg, rgba(255, 242, 26, 0.24), rgba(255, 242, 26, 0.12));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 242, 26, 0.28);
}

.workspace-booking .validation-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 242, 26, 0.32);
  border-radius: 16px;
  background: rgba(255, 242, 26, 0.08);
  color: #fff7a8;
  font-weight: 950;
}

.workspace-booking .field-error input,
.workspace-booking .field-error select,
.workspace-booking .field-error textarea,
.workspace-booking .choice-error {
  border-color: rgba(255, 95, 95, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 95, 95, 0.12);
}

.workspace-booking .field-error-message {
  color: #ffd3d3;
  font-weight: 900;
}

.workspace-booking .address-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.workspace-booking .address-panel p,
.workspace-booking .address-help {
  margin: 0;
  color: rgba(248, 251, 255, 0.62);
  line-height: 1.55;
}

.workspace-booking .address-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.25fr 0.65fr;
  align-items: start;
  gap: 12px;
}

.workspace-booking .address-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(159, 226, 255, 0.18);
  border-radius: 16px;
  background: rgba(38, 136, 255, 0.1);
}

.workspace-booking .address-preview span {
  color: #9fe2ff;
}

.workspace-booking .address-preview strong {
  color: #f8fbff;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.workspace-booking .city-suggestions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.workspace-booking .city-suggestions[hidden] {
  display: none;
}

.workspace-booking .city-suggestions button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(159, 226, 255, 0.34);
  border-radius: 999px;
  background: rgba(38, 136, 255, 0.14);
  color: #f8fbff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.workspace-booking .city-suggestions button:hover,
.workspace-booking .city-suggestions button:focus-visible {
  border-color: rgba(255, 242, 26, 0.75);
  background: rgba(255, 242, 26, 0.12);
  color: #fff7a8;
}

.workspace-booking .field-full {
  grid-column: 1 / -1;
}

.workspace-booking .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.workspace-booking .submit-row p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.45;
}

.workspace-booking .submit-row label,
.workspace-booking .submit-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #f8fbff;
  color: #03111f;
  padding: 14px 22px;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.workspace-booking .submit-row .secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.workspace-booking .booking-success {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 760px;
  padding: 14px 2px 6px;
}

.workspace-booking .booking-success > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(159, 226, 255, 0.48);
  border-radius: 50%;
  background: rgba(38, 136, 255, 0.18);
  color: #fff21a;
  font-size: 2rem;
  font-weight: 950;
}

.workspace-booking .booking-success h2 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.workspace-booking .booking-success p {
  max-width: 660px;
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.workspace-booking .success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.workspace-booking .success-actions a,
.workspace-booking .success-actions label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: #f8fbff;
  color: #03111f;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.workspace-booking .success-actions label {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.wizard-actions span {
  margin-right: auto;
  color: rgba(248, 251, 255, 0.72);
  font-weight: 850;
}

.wizard-actions label,
.wizard-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #2688ff;
  color: #fff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.wizard-actions .secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.service-summary,
.availability-head,
.address-preview,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.service-summary,
.availability-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-summary p,
.availability-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.address-panel {
  display: grid;
  gap: 14px;
}

.address-preview {
  display: grid;
  gap: 5px;
}

.address-preview span,
.review-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.week-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.week-controls span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef3fa;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 900;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.review-grid strong {
  display: block;
  margin-top: 6px;
}

@media (max-width: 980px) {
  .workspace-booking .booking-hero {
    grid-template-columns: 1fr;
  }

  .workspace-booking .availability-head,
  .workspace-booking .selected-day {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-booking .address-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-booking .week-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-app {
    grid-template-columns: 1fr;
  }

  .portal-app .sidebar {
    position: static;
    height: auto;
  }

  .portal-app.is-broker .sidebar {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .portal-app.is-broker .portal-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .portal-app.is-broker .sidebar-user {
    justify-content: flex-start;
    text-align: left;
  }

  .workspace-topbar,
  .welcome-band,
  .admin-band,
  .module-head,
  .booking-hero,
  .manage-hero,
  .website-editor-head {
    align-items: stretch;
    flex-direction: column;
  }

  .overview-layout,
  .admin-grid,
  .field-grid,
  .address-grid,
  .form-grid,
  .property-grid,
  .inline-create-form,
  .account-request-card,
  .request-history-row,
  .review-grid,
  .manage-layout,
  .website-editor-layout {
    grid-template-columns: 1fr;
  }

  .website-inspector {
    position: static;
  }

  .website-portfolio-tabs-panel,
  .website-portfolio-detail-head,
  .website-section-title.with-action {
    align-items: stretch;
    flex-direction: column;
  }

  .website-services-hero,
  .website-service-feature-body {
    grid-template-columns: 1fr;
  }

  .website-service-toolbar,
  .website-service-feature-head {
    align-items: stretch;
    flex-direction: column;
  }

  .website-portfolio-detail-head,
  .website-portfolio-detail-form .website-project-edit-card {
    grid-template-columns: 1fr;
  }

  .website-portfolio-detail-form .website-service-checkboxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .website-portfolio-list-head {
    display: none;
  }

  .website-project-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .website-project-row-actions {
    justify-content: flex-start;
  }

  .website-project-link-grid,
  .website-project-upload-grid,
  .website-project-slide-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .workspace-booking {
    margin: -16px;
    padding: 16px;
  }

  .workspace-booking .progress-buttons {
    display: none;
  }

  .workspace-booking .service-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-booking .service-option {
    grid-template-columns: 62px minmax(0, 1fr) 50px;
    min-height: 112px;
  }

  .website-project-edit-card,
  .website-service-image-control {
    grid-template-columns: 1fr;
  }

  .website-service-checkboxes {
    grid-template-columns: 1fr;
  }

  .website-portfolio-detail-form .website-service-checkboxes {
    grid-template-columns: 1fr;
  }

  .workspace-booking .service-icon {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }

  .workspace-booking .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .workspace-booking .week-grid,
  .workspace-booking .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-booking .slot-grid button {
    min-height: 56px;
  }

  .workspace-booking .address-grid,
  .workspace-booking .review-grid {
    grid-template-columns: 1fr;
  }

  .workspace-booking .day-card {
    min-height: 104px;
  }

  .workspace-booking .wizard-actions,
  .workspace-booking .submit-row,
  .workspace-booking .success-actions,
  .account-form-actions,
  .request-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .workspace-booking .wizard-actions label,
  .workspace-booking .wizard-actions button,
  .workspace-booking .submit-row label,
  .workspace-booking .submit-row button,
  .workspace-booking .success-actions a,
  .workspace-booking .success-actions label,
  .account-form-actions a,
  .account-form-actions button,
  .request-actions button {
    width: 100%;
    justify-content: center;
  }

  .portal-app .workspace,
  .portal-app .sidebar {
    padding: 16px;
  }

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

  .portal-app.is-broker .sidebar {
    width: calc(100% - 32px);
    align-items: stretch;
    gap: 12px;
    padding: 14px 0 6px;
  }

  .portal-app.is-broker .sidebar-brand img {
    width: 142px;
  }

  .portal-app.is-broker .portal-nav,
  .portal-app.is-broker .sidebar-user {
    display: none;
  }

  .portal-app.is-broker .broker-mobile-menu {
    display: block;
  }

  .portal-app.is-broker .workspace {
    width: calc(100% - 32px);
    gap: 14px;
    padding: 12px 0 44px;
  }

  .portal-app.is-broker .workspace-topbar {
    min-height: 0;
    padding-bottom: 14px;
  }

  .portal-app.is-broker .workspace-overview .stats-grid {
    order: 10;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 2px;
  }

  .portal-app.is-broker .workspace-overview .stats-grid article {
    min-height: 58px;
    align-content: center;
    gap: 4px;
    padding: 10px 12px;
    box-shadow: none;
  }

  .portal-app.is-broker .workspace-overview .stats-grid span {
    font-size: 0.64rem;
  }

  .portal-app.is-broker .workspace-overview .stats-grid strong {
    font-size: 1.28rem;
  }

  .topbar-actions,
  .quick-actions {
    width: 100%;
    flex-direction: column;
  }

  .topbar-actions a,
  .quick-actions a {
    width: 100%;
  }

  .property-row,
  .account-row {
    grid-template-columns: 1fr;
  }

  .property-row-main {
    grid-template-columns: 1fr;
  }

  .property-row-actions {
    justify-content: stretch;
  }

  .property-row-actions a {
    width: 100%;
  }
}