@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2")
    format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

:root {
  --ink: #183a37;
  --deep: #153a35;
  --muted: #75817b;
  --paper: #f6f7f3;
  --line: #e2e7df;
  --mint: #e5eee4;
  --gold: #b89b68;
  --danger: #a33c35;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font: normal clamp(32px, 3.2vw, 48px)/1.15 var(--serif);
  letter-spacing: -1.4px;
  margin-bottom: 15px;
}
h2 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin-bottom: 5px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: #6c9280;
  box-shadow: 0 0 0 3px #dfe9df;
}
input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid #d9e0d7;
  background: #fff;
  border-radius: 7px;
  min-height: 46px;
  padding: 11px 13px;
  transition: border 0.15s;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--deep);
  flex-shrink: 0;
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 90px;
}
input::placeholder,
textarea::placeholder {
  color: #98a197;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
button svg {
  pointer-events: none;
}
button {
  border: 0;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 284px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 31px 22px 20px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  color: var(--deep);
  white-space: nowrap;
}
.brand-mark {
  font: italic 48px/0.85 var(--serif);
  letter-spacing: -7px;
  display: inline-block;
  padding-right: 7px;
}
.brand-mark > span:not(.brand-dot) {
  font-size: 44px;
}
.brand-dot {
  color: var(--gold);
}
.brand > span:last-child {
  font-size: 10px;
  letter-spacing: 1.45px;
  font-weight: 700;
}
.brand small {
  display: block;
  font-size: 5.1px;
  letter-spacing: 0.55px;
  margin-top: 5px;
  font-weight: 500;
}
.sidebar-label {
  margin: 43px 11px 16px;
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #8b968c;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.sidebar-label span {
  color: var(--gold);
  letter-spacing: 0.5px;
}
.property-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f6f7f2;
  border: 1px solid #e9ece3;
  border-radius: 9px;
  padding: 14px 12px;
  margin-bottom: 23px;
}
.property-chip > span {
  background: white;
  padding: 8px;
  border-radius: 7px;
  display: flex;
}
.property-chip strong {
  display: block;
  font-weight: 600;
  font-size: 12px;
  max-width: 175px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.property-chip small {
  font-size: 10px;
  color: var(--muted);
}
nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  background: transparent;
  border-radius: 7px;
  color: #738078;
  min-height: 46px;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 500;
}
.nav-item small {
  margin-left: auto;
  font-size: 9px;
  color: #a2aaa0;
}
.nav-icon {
  display: flex;
}
.nav-icon svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #f6f7f2;
}
.nav-item.active {
  background: var(--mint);
  color: var(--deep);
}
.nav-item.active small {
  color: var(--deep);
}
.nav-item.complete small:after {
  content: " ✓";
  color: #547a60;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 10px 0;
}
.sidebar-bottom > span {
  font-size: 9px;
  color: #7c8c80;
  display: flex;
  gap: 6px;
  align-items: center;
}
.sidebar-bottom svg {
  width: 12px;
  height: 12px;
}
.sidebar-bottom p {
  font: italic 19px/1.55 var(--serif);
  color: #899587;
  margin: 20px 0;
}
.sidebar-bottom > small {
  font-size: 9px;
  color: #a0a99f;
}
.workspace-main {
  margin-left: 284px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 22px;
  background: #fafbf8;
}
.breadcrumb {
  font-size: 11px;
  color: #809084;
}
.breadcrumb span {
  margin: 0 14px;
  color: #c0c9bc;
}
.save-state {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #769071;
  max-width: 400px;
}
.save-state svg {
  width: 14px;
  height: 14px;
}
.save-state.error {
  color: var(--danger);
}
.content {
  padding: 39px 48px 0;
  max-width: 1250px;
  margin: 0 auto;
}
.journey-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #81917d;
}
.private-badge {
  font-size: 9px;
  color: #8e9b8a;
  display: flex;
  align-items: center;
  gap: 5px;
}
.private-badge svg {
  width: 11px;
  height: 11px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0 29px;
  gap: 30px;
}
.page-heading p:not(.step-kicker) {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.step-kicker {
  font: 20px var(--serif);
  color: var(--gold);
  margin-bottom: 13px;
}
.step-kicker span {
  font: 11px var(--sans);
  color: #a7afa1;
  letter-spacing: 1px;
  margin-left: 5px;
}
.progress-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid #d4decf;
  box-shadow:
    inset 0 0 0 6px var(--paper),
    inset 0 0 0 7px #e5e9df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f9faf7;
}
.progress-ring > span {
  font: 29px var(--serif);
  margin-bottom: 2px;
}
.progress-ring small {
  font-size: 6px;
  letter-spacing: 1px;
  color: #8b9984;
}
.progress-track {
  height: 3px;
  background: #e2e7dc;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 27px;
}
.progress-track span {
  height: 100%;
  background: #819b77;
  display: block;
  transition: width 0.4s;
}
.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 31px 0 25px;
  font-size: 10px;
  color: #7b8879;
}
.form-meta > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-meta svg {
  width: 15px;
  height: 15px;
}
.form-meta small {
  font-size: 9px;
  color: #8d9788;
}
.required {
  color: #b3986b;
  margin-left: 2px;
}
.form-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 6px 30px;
}
.form-section {
  padding: 28px 0;
}
.form-section + .form-section {
  border-top: 1px solid var(--line);
}
.subhead {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.section-number {
  background: #f2f5ed;
  color: #8d9e7e;
  padding: 5px 9px;
  font-size: 10px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}
.subhead p {
  color: #8a9487;
  font-size: 11px;
  margin: 0;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 24px;
}
.field {
  min-width: 0;
}
.field label {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 7px;
  min-height: 18px;
}
.field .optional {
  font-size: 8px;
  color: #a2aa9d;
  font-weight: 400;
  margin-left: auto;
}
.field.wide {
  grid-column: 1/-1;
}
.field-error {
  display: block;
  min-height: 0;
  color: var(--danger);
  font-size: 10px;
}
.field-error:not(:empty) {
  margin-top: 5px;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0 31px;
}
.page-actions > .helper {
  margin-left: auto;
  margin-right: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 550;
  min-height: 44px;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--deep);
  color: #fff;
}
.primary:hover {
  background: #28524a;
}
.secondary {
  border: 1px solid #dbe2d6;
  color: #60705b;
  background: #fff;
}
.secondary:hover {
  background: #eff3e9;
}
.helper {
  color: #8d9886;
  font-size: 10px;
  line-height: 1.6;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 21px 0 27px;
  color: #a5ada0;
  font-size: 9px;
}
.page-footer > span:first-child {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.mobile-menu {
  display: none !important;
}
.icon-btn {
  background: transparent;
  display: inline-flex;
  padding: 7px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  min-width: 34px;
  min-height: 34px;
  border-radius: 5px;
}
.icon-btn:hover {
  background: var(--mint);
}
.text-btn {
  background: transparent;
  color: #59765c;
  font-size: 11px;
  padding: 7px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.text-btn svg {
  width: 14px;
  height: 14px;
}
.text-btn:hover {
  text-decoration: underline;
}
.danger {
  color: var(--danger);
}
.notice {
  background: #edf1e8;
  border: 1px solid #dbe5d1;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.notice p {
  margin: 5px 0 0;
}
.error-notice {
  background: #fbefec;
  color: var(--danger);
  border-color: #f0d8ce;
}
.success {
  color: #4e7752;
}
.repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.repeat-head h2 {
  margin: 0;
}
.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10px;
  min-width: 23px;
  background: #edf1e7;
  color: #88927e;
  margin-left: 6px;
}
.empty {
  text-align: center;
  padding: 40px 20px;
  background: #f9faf6;
  border-radius: 7px;
  border: 1px dashed #dbe3d2;
}
.empty-icon {
  display: inline-flex;
  padding: 12px;
  background: #edf1e7;
  border-radius: 50%;
  color: #809871;
  margin-bottom: 12px;
}
.empty h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 8px;
}
.empty p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.repeat-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 14px 0;
  overflow: hidden;
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.repeat-item > summary {
  background: #f7f9f3;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.repeat-item > summary > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.repeat-item .muted {
  font-size: 9px;
}
.muted {
  color: var(--muted);
}
.repeat-body {
  padding: 20px;
}
.repeat-actions {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 10px;
}
.rate-calendar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 25px;
  margin-bottom: 24px;
}
.calendar-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}
.month-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.month-head button {
  font-size: 20px;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.weekday {
  font-size: 8px;
  color: #91a087;
  padding: 5px 0;
}
.day {
  padding: 5px 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  min-height: 27px;
  border-radius: 4px;
}
.day:hover,
.day.in-range {
  background: #e8eee0;
}
.day.edge {
  background: var(--deep);
  color: white;
}
.calendar-panel .helper {
  font-size: 8px;
  text-align: center;
  margin: 8px 0 0;
}
.range-fields {
  align-self: center;
}
.range-fields .field-grid {
  gap: 12px;
}
.range-fields .optional {
  display: none;
}
.range-fields input {
  font-size: 11px;
  padding: 9px;
  min-width: 0;
}
.copy-range {
  display: flex;
  gap: 8px;
  background: #f3f6ed;
  border-radius: 6px;
  padding: 7px 9px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 16px;
}
.amenities-toolbar {
  padding: 22px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  min-width: 240px;
}
.searchbox svg {
  width: 16px;
  height: 16px;
  color: #8b9a80;
}
.searchbox input {
  border: 0;
  background: transparent;
  font-size: 11px;
  box-shadow: none;
  padding-left: 0;
}
.amenity-group {
  border-top: 1px solid var(--line);
  padding: 0;
}
.amenity-group > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  font-weight: 550;
}
.amenity-group > summary > span:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
}
.amenity-group > summary svg {
  width: 18px;
  height: 18px;
  color: #93a083;
}
.amenity-group > summary:after {
  content: "+";
  margin-left: 12px;
  font-size: 18px;
  font-weight: 400;
}
.amenity-group[open] > summary:after {
  content: "−";
}
.amenity-group .count {
  margin-left: auto;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  align-items: start;
}
.amenity {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border 0.2s;
}
.amenity.selected {
  border-color: #a6bc95;
  background: #fafcf7;
}
.amenity-main {
  display: flex;
  padding: 14px 10px;
  align-items: flex-start;
  gap: 5px;
}
.amenity-select {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 10px;
  line-height: 1.5;
  gap: 9px;
  cursor: pointer;
  position: relative;
  min-height: 70px;
  padding-right: 15px;
}
.amenity-select input {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  min-height: 14px;
  margin: 0;
}
.amen-icon {
  color: #8b9a7c;
}
.amenity.selected .amen-icon {
  color: #537249;
}
.money {
  background: #f0f3eb;
  color: #809274;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  font-family: var(--serif);
  font-size: 14px;
  align-self: flex-end;
}
.money.active {
  background: var(--deep);
  color: white;
}
.amenity-details {
  padding: 0 12px 12px;
}
.amenity-details label {
  font-size: 9px;
}
.amenity-details .optional {
  display: none;
}
.amenity-details input,
.amenity-details select {
  font-size: 10px;
  min-height: 36px;
  padding: 6px;
}
.amenity-details textarea {
  font-size: 10px;
}
.amenity-price {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.amenity-details .text-btn {
  font-size: 9px;
}
.upload-options {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 360px;
  font-size: 12px;
  margin-bottom: 20px;
}
.upload-options select {
  font-size: 12px;
}
.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: #f5f8ef;
  border: 1.5px dashed #b5c5a6;
  border-radius: 10px;
  min-height: 210px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
}
.dropzone > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  color: #8d9f7b;
}
.dropzone strong {
  font-size: 15px;
  font-weight: 500;
}
.dropzone span {
  font-size: 12px;
  color: #6c8063;
}
.dropzone small {
  font-size: 9px;
  color: #99a18e;
  margin-top: 7px;
}
.dropzone input {
  display: none;
}
.dropzone.dragover {
  background: #e1ebd7;
}
.upload-status {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 8px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 26px;
}
.file-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.file-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}
.document-preview {
  height: 145px;
  background: #eef2e7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #91a27f;
}
.file-info {
  padding: 12px;
}
.file-info strong {
  display: block;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-info small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.file-actions .text-btn {
  font-size: 9px;
}
.review-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f0f5e9;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
}
.review-banner p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.review-banner strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding-bottom: 20px;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
}
.review-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.review-card h3 {
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}
.review-card svg {
  width: 16px;
  height: 16px;
}
.review-card p {
  font-size: 10px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.review-card p > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.review-card strong {
  font-weight: 500;
}
.review-card .text-btn {
  font-size: 9px;
}
.confirmation {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 11px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
}
.confirmation input {
  margin: 0;
}
.initial-loading {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font: 22px var(--serif);
  color: #7b9275;
}
.access-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 50px 24px;
  background: radial-gradient(
    ellipse at bottom right,
    #dce5d3,
    transparent 60%
  );
}
.access-card {
  max-width: 500px;
  margin: auto;
  padding: 44px 0;
}
.access-card > svg {
  color: var(--gold);
  width: 30px;
  height: 30px;
  margin-bottom: 35px;
}
.access-card h1 {
  margin: 20px 0;
}
.access-card p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.access-card form {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}
.admin-sidebar {
  width: 250px;
}
.admin-sidebar + .workspace-main {
  margin-left: 250px;
}
.admin-sidebar .sidebar-label {
  margin-top: 45px;
}
.admin-sidebar nav {
  margin-top: 20px;
}
.admin-content {
  max-width: 1400px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}
.admin-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin: 30px 0;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px;
}
.stat > span {
  font-size: 10px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font: 34px var(--serif);
  margin: 8px 0;
}
.stat small {
  font-size: 9px;
  color: #9aa38f;
}
.property-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.table-toolbar .searchbox {
  min-width: 280px;
}
.table-toolbar select {
  max-width: 170px;
  font-size: 11px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
th {
  font-size: 9px;
  color: #8f9b86;
  font-weight: 500;
  background: #fafbf7;
  padding: 13px 20px;
}
td {
  padding: 19px 20px;
  border-top: 1px solid #eef1e9;
}
td strong {
  font-size: 12px;
  font-weight: 550;
}
td small {
  display: block;
  color: #a0a791;
  font-size: 9px;
}
.status-badge {
  font-size: 9px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #f1f2e9;
  color: #99916b;
  white-space: nowrap;
}
.status-badge.submitted {
  background: #e5eeef;
  color: #64868b;
}
.status-badge.reviewed {
  background: #e8f0df;
  color: #768d58;
}
.mini-progress {
  width: 90px;
  height: 3px;
  background: #e9ede3;
  margin-top: 6px;
}
.mini-progress > span {
  display: block;
  background: #8ba177;
  height: 100%;
}
.table-empty {
  padding: 50px;
  text-align: center;
}
.table-empty h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.table-empty p {
  font-size: 12px;
  color: var(--muted);
}
.table-actions {
  display: flex;
  gap: 14px;
}
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  margin: 25px 0;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-panel h2 {
  margin-bottom: 20px;
}
.admin-panel .field {
  margin-bottom: 15px;
}
.admin-panel p {
  font-size: 12px;
  color: var(--muted);
}
.link-result {
  padding: 18px;
  background: #edf2e5;
  border-radius: 8px;
  margin-top: 18px;
}
.link-result code {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.link-result a {
  font-size: 11px;
  text-decoration: underline;
}
.modal {
  position: fixed;
  inset: 0;
  background: #123a3459;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-card {
  width: 480px;
  max-width: 100%;
  background: var(--paper);
  border-radius: 15px;
  padding: 32px;
  box-shadow: 0 15px 70px #153a3533;
}
.modal-card h2 {
  font: 30px var(--serif);
  margin-bottom: 12px;
}
.modal-card p {
  font-size: 12px;
  color: var(--muted);
}
.modal-card form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.modal-card .buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 13px 24px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  z-index: 90;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1550px) {
  .content {
    padding-top: 50px;
  }
  .sidebar {
    width: 300px;
    padding: 35px 27px;
  }
  .workspace-main {
    margin-left: 300px;
  }
  .form-section {
    padding: 33px 0;
  }
  .field-grid {
    gap: 22px 30px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 245px;
    padding: 26px 17px;
  }
  .workspace-main {
    margin-left: 245px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    font-size: 40px;
  }
  .brand > span:last-child {
    font-size: 8px;
  }
  .brand small {
    font-size: 4.4px;
  }
  .content {
    padding: 30px 30px 0;
  }
  .topbar {
    padding: 0 30px;
  }
  .amenity-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rate-calendar {
    grid-template-columns: 210px 1fr;
    gap: 15px;
  }
  .form-content {
    padding: 5px 22px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  td,
  th {
    padding: 14px 12px;
  }
  .file-grid {
    grid-template-columns: 1fr 1fr;
  }
  .table-actions {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  .sidebar,
  .admin-sidebar {
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 20px 0 70px #183a3720;
    top: 64px;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .workspace-main,
  .admin-sidebar + .workspace-main {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .topbar {
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0 20px;
    gap: 12px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  .save-state {
    font-size: 9px;
  }
  .sidebar-bottom p {
    display: none;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .content {
    max-width: 760px;
  }
  .admin-content {
    max-width: none;
  }
  .admin-heading h1 {
    font-size: 36px;
  }
  .table-toolbar .searchbox {
    min-width: 0;
    flex: 1;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat strong {
    font-size: 28px;
  }
  .stat small {
    display: none;
  }
  .admin-heading {
    margin-top: 20px;
  }
}
@media (max-width: 560px) {
  .content {
    padding: 26px 19px 0;
  }
  .topbar {
    padding: 0 12px;
    gap: 8px;
  }
  .topbar .breadcrumb {
    max-width: 120px;
    line-height: 1.5;
  }
  .topbar .breadcrumb span {
    margin: 0 4px;
  }
  .topbar .save-state {
    font-size: 8px;
    max-width: 160px;
    line-height: 1.5;
    justify-content: flex-end;
  }
  .save-state svg {
    width: 12px;
    height: 12px;
  }
  .topbar .text-btn {
    font-size: 9px;
  }
  .journey-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .private-badge {
    font-size: 7px;
  }
  .page-heading {
    margin: 25px 0 22px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 10px;
  }
  .page-heading p:not(.step-kicker) {
    font-size: 11px;
  }
  .step-kicker {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .progress-ring {
    width: 74px;
    height: 74px;
  }
  .progress-ring > span {
    font-size: 23px;
  }
  .progress-ring small {
    font-size: 4.7px;
    letter-spacing: 0.5px;
  }
  .form-meta {
    align-items: flex-start;
    margin: 20px 0 17px;
    gap: 18px;
    font-size: 9px;
  }
  .form-meta small {
    font-size: 8px;
    text-align: right;
    max-width: 140px;
  }
  .form-content {
    padding: 0 18px;
    border-radius: 9px;
  }
  .subhead {
    gap: 11px;
    margin-bottom: 21px;
  }
  .section-number {
    font-size: 8px;
    padding: 5px 7px;
  }
  .subhead h2 {
    font-size: 16px;
  }
  .subhead p {
    font-size: 10px;
  }
  .form-section {
    padding: 24px 0;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .field label {
    font-size: 11px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 46px;
  }
  .field .optional {
    font-size: 8px;
  }
  .page-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 23px 0;
  }
  .page-actions > .helper {
    order: 3;
    text-align: center;
    width: 100%;
    margin: 0;
    font-size: 9px;
  }
  .btn {
    font-size: 11px;
    padding: 11px 17px;
  }
  .page-footer {
    font-size: 8px;
    gap: 15px;
  }
  .page-footer > span:first-child {
    font-size: 7px;
  }
  .repeat-head h2 {
    font-size: 16px;
  }
  .repeat-head .btn {
    font-size: 9px;
    padding: 9px 11px;
  }
  .repeat-head .btn svg {
    width: 12px;
  }
  .repeat-body {
    padding: 16px 12px;
  }
  .repeat-item > summary {
    padding: 13px 12px;
    font-size: 11px;
  }
  .repeat-item > summary .muted {
    font-size: 8px;
    max-width: 105px;
  }
  .rate-calendar {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .calendar-panel {
    max-width: none;
  }
  .day {
    min-height: 34px;
    font-size: 11px;
  }
  .range-fields .field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .range-fields input {
    font-size: 12px;
    padding: 8px 5px;
    min-width: 0;
  }
  .range-fields label {
    font-size: 9px;
  }
  .range-fields .eyebrow {
    font-size: 8px;
  }
  .amenities-toolbar {
    display: block;
  }
  .amenities-toolbar > .helper {
    display: block;
    margin-top: 10px;
    font-size: 9px;
  }
  .searchbox {
    min-width: 0;
  }
  .searchbox input {
    font-size: 14px;
  }
  .amenity-grid {
    gap: 9px;
  }
  .amenity-main {
    padding: 12px 8px;
    gap: 2px;
  }
  .amenity-select {
    font-size: 10px;
    min-height: 80px;
  }
  .amenity-details {
    padding: 0 8px 10px;
  }
  .amenity-details input,
  .amenity-details textarea,
  .amenity-details select {
    font-size: 16px;
  }
  .amenity-price .field label {
    font-size: 8px;
  }
  .amenity-group > summary {
    font-size: 11px;
  }
  .file-grid {
    gap: 9px;
  }
  .file-info {
    padding: 10px;
  }
  .file-card img,
  .document-preview {
    height: 120px;
  }
  .review-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .review-banner {
    padding: 16px;
    gap: 10px;
  }
  .review-banner strong {
    font-size: 20px;
  }
  .review-banner p {
    font-size: 10px;
  }
  .review-card > div h3 {
    font-size: 12px;
  }
  .review-card p {
    font-size: 11px;
  }
  .confirmation {
    font-size: 10px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat strong {
    font-size: 29px;
  }
  .stat {
    padding: 17px;
  }
  .admin-heading {
    align-items: flex-start;
  }
  .admin-heading h1 {
    font-size: 33px;
  }
  .admin-heading p {
    font-size: 11px;
  }
  .admin-heading .btn {
    padding: 10px;
    font-size: 9px;
    white-space: normal;
    max-width: 110px;
  }
  .table-toolbar {
    padding: 13px;
    gap: 10px;
    flex-direction: column;
  }
  .table-toolbar select {
    max-width: none;
  }
  .property-table table,
  .property-table tbody,
  .property-table tr,
  .property-table td {
    display: block;
  }
  .property-table thead {
    display: none;
  }
  .property-table tr {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-bottom: 1px solid var(--line);
  }
  .property-table td {
    padding: 0;
    border: 0;
  }
  .property-table td:last-child {
    grid-column: 1/-1;
  }
  .property-table td:nth-child(4) {
    font-size: 9px;
  }
  .table-actions {
    justify-content: space-between;
  }
  .admin-panel {
    padding: 20px;
  }
  .modal-card {
    padding: 25px;
  }
  .modal-card h2 {
    font-size: 28px;
  }
  .access-card {
    padding: 35px 0;
  }
  .access-card h1 {
    font-size: 39px;
  }
  .access-page {
    padding: 35px 25px;
  }
  .access-page .brand > span:last-child {
    font-size: 10px;
  }
  .access-page .brand small {
    font-size: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.optional-section > summary .subhead {
  margin-bottom: 0;
}
.optional-section[open] > summary .subhead {
  margin-bottom: 25px;
}
.disclosure-mark {
  margin-left: auto;
  color: #9aad8b;
  font-size: 22px;
  font-weight: 300;
}
.optional-section[open] .disclosure-mark {
  font-size: 0;
}
.optional-section[open] .disclosure-mark:after {
  content: "−";
  font-size: 22px;
}
/* V3.1 — workspace administration and brand editor */
.brand-logo {
  width: 64px;
  max-height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand > span:last-child {
  white-space: normal;
  text-transform: uppercase;
}
.brand small {
  line-height: 1.6;
}
.footer-logo {
  display: block;
  max-width: 150px;
  max-height: 32px;
  object-fit: contain;
}
.brand:has(.brand-logo) {
  gap: 10px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.detail-layout .admin-panel {
  margin-bottom: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.panel-heading > svg {
  color: var(--gold);
}
.panel-heading h2 {
  margin-bottom: 10px;
}
.property-management {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.property-management h2 {
  margin-bottom: 8px;
}
.property-management p {
  margin: 0;
}
.danger-button {
  background: #9e4139;
  color: #fff;
}
.logo-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.logo-slot {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 9px;
}
.logo-slot h3 {
  font-size: 13px;
}
.logo-preview {
  height: 130px;
  background: #f4f6f0;
  border: 1px dashed #d6dfcd;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 15px;
}
.logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-preview span {
  font-size: 11px;
  color: var(--muted);
}
.logo-upload {
  cursor: pointer;
}
.logo-upload input {
  display: none;
}
.logo-slot .text-btn {
  margin-left: 12px;
}
.logo-slot [role="status"] {
  margin-top: 10px;
  min-height: 16px;
}
.settings-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.settings-section summary {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 16px;
}
.settings-section summary > span:last-child {
  color: var(--muted);
  font-size: 10px;
}
.settings-section[open] summary {
  margin-bottom: 22px;
}
.settings-section textarea {
  min-height: 78px;
}
.settings-label-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.settings-label-heading > span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.settings-label-heading h2 {
  margin-bottom: 8px;
}
.settings-label-heading p {
  margin: 0;
}
.label-search {
  margin: 25px 0 20px;
}
.label-editor {
  max-height: 480px;
  overflow-y: auto;
  padding: 0 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.label-row label {
  display: block;
}
.label-row label > small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.settings-save {
  position: sticky;
  bottom: 0;
  background: #f6f7f3f2;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  z-index: 10;
  backdrop-filter: blur(8px);
  box-shadow: 0 -8px 20px #153a3506;
}
.settings-save > span {
  font-size: 11px;
  color: var(--muted);
}
.admin-content > .property-table {
  margin-top: 25px;
}
.admin-panel #rename-form .btn {
  margin-top: 2px;
}
.property-table .table-actions {
  flex-wrap: wrap;
}
.admin-sidebar nav .nav-item {
  gap: 12px;
}
.admin-sidebar nav .nav-item svg {
  width: 18px;
  height: 18px;
}
.admin-sidebar .brand-logo {
  width: 54px;
}
.settings-label-heading h2 {
  font-size: 17px;
}
.admin-panel .field label {
  font-size: 12px;
}
@media (max-width: 1100px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .property-management {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-logo {
    width: 50px;
  }
  .panel-heading {
    gap: 12px;
  }
  .panel-heading .text-btn {
    font-size: 10px;
  }
}
@media (max-width: 560px) {
  .logo-settings,
  .label-editor {
    grid-template-columns: 1fr;
  }
  .logo-slot {
    padding: 16px;
  }
  .logo-slot .btn {
    font-size: 11px;
  }
  .settings-save {
    padding: 13px 12px;
    gap: 12px;
    margin: 0 -5px;
  }
  .settings-save > span {
    font-size: 9px;
    max-width: 160px;
  }
  .settings-save .btn {
    font-size: 10px;
    padding: 10px 12px;
  }
  .settings-section summary {
    font-size: 11px;
  }
  .label-editor {
    max-height: 500px;
    padding-right: 5px;
  }
  .settings-label-heading {
    align-items: flex-start;
  }
  .settings-label-heading h2 {
    font-size: 16px;
  }
  .settings-label-heading > span {
    font-size: 9px;
  }
  .detail-layout {
    gap: 0;
  }
  .property-table .table-actions {
    justify-content: flex-start;
    gap: 20px;
  }
  .admin-content .panel-heading {
    flex-direction: column;
    gap: 5px;
  }
  .admin-panel #rename-form input {
    font-size: 16px;
  }
  .settings-section input,
  .settings-section textarea,
  .label-row input {
    font-size: 16px;
  }
  .admin-panel h2 {
    font-size: 18px;
  }
  .property-management {
    gap: 18px;
  }
}

/* Editorial typography for the villa collection. */
h1 {
  font-weight: 500;
  font-size: clamp(36px, 3.7vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
}
.field label {
  font-size: 12px;
  line-height: 1.6;
}
.subhead p {
  font-size: 12px;
}
.page-heading p:not(.step-kicker) {
  font-size: 14px;
  line-height: 1.7;
}
.admin-heading h1 {
  font-size: clamp(38px, 3.7vw, 56px);
}
.sidebar-bottom p {
  font-size: 22px;
  line-height: 1.45;
}
.review-banner strong {
  font-size: 25px;
  line-height: 1.2;
}
@media (max-width: 560px) {
  h1,
  .page-heading h1 {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  .admin-heading h1 {
    font-size: 38px;
  }
  .page-heading p:not(.step-kicker) {
    font-size: 12px;
  }
  .subhead p {
    font-size: 11px;
  }
  .field label {
    font-size: 11px;
  }
}
/* Contract review and electronic signature workspace */
.contract-workspace {
  min-height: 100vh;
}
.contract-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px max(24px, calc((100vw - 1250px) / 2));
  gap: 25px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.contract-header .brand {
  max-width: 400px;
}
.contract-content {
  max-width: 1300px;
  margin: auto;
  padding: 42px 28px;
}
.contract-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
}
.contract-versions {
  padding-top: 25px;
  min-width: 0;
}
.contract-versions h2 {
  font-size: 13px;
}
.contract-version {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  color: var(--ink);
}
.contract-version.active {
  background: var(--mint);
  border-color: #b2c4a8;
}
.contract-version strong {
  font-size: 12px;
}
.contract-version span {
  font-size: 10px;
}
.contract-version small {
  font-size: 9px;
  color: var(--muted);
}
.contract-document {
  min-width: 0;
}
.contract-preview {
  display: block;
  width: 100%;
  height: 620px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #eef0eb;
}
.contract-footer {
  max-width: 1250px;
  margin: 0 auto;
  padding: 25px 28px;
}
.contract-admin-create > summary,
.contract-mail-panel > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.contract-admin-create summary h2,
.contract-mail-panel summary h2 {
  margin-bottom: 5px;
}
.contract-admin-create summary p,
.contract-mail-panel summary p {
  margin: 0;
}
.contract-admin-create form,
.contract-mail-panel form {
  margin-top: 25px;
}
.contract-admin-create > summary > span,
.contract-mail-panel > summary > span {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.document-fingerprint {
  margin-top: 18px;
  font-size: 11px;
}
.document-fingerprint code {
  display: block;
  overflow-wrap: anywhere;
  padding: 15px 0;
  font-size: 10px;
}
.contract-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contract-timeline li {
  padding: 16px 0 16px 20px;
  border-left: 2px solid var(--mint);
  position: relative;
}
.contract-timeline li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #99ae89;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  left: -5px;
  top: 22px;
}
.contract-timeline small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.contract-timeline strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.contract-timeline p {
  margin: 7px 0 0;
  white-space: pre-wrap;
}
.contract-content .confirmation {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.otp-fields {
  margin-top: 20px;
}
.otp-fields input {
  max-width: 220px;
  letter-spacing: 8px;
  font-size: 22px;
}
.contract-content form > .btn {
  margin-top: 12px;
}
.contract-content .admin-panel p {
  overflow-wrap: anywhere;
}
.contract-content .notice h2 {
  margin-bottom: 8px;
}
.contract-content .notice p {
  margin-bottom: 0;
}
@media (max-width: 750px) {
  .contract-layout {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .contract-versions {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    align-items: stretch;
    padding: 10px 0;
  }
  .contract-versions h2 {
    display: none;
  }
  .contract-version {
    min-width: 180px;
    max-width: 210px;
    margin: 0;
  }
  .contract-content {
    padding: 30px 18px;
  }
  .contract-header {
    padding: 20px 18px;
  }
  .contract-header .brand > span:last-child {
    display: none;
  }
  .contract-header .btn {
    font-size: 10px;
    padding: 10px;
  }
  .contract-preview {
    height: 460px;
  }
  .contract-content .admin-heading {
    align-items: flex-start;
  }
  .contract-content .admin-heading h1 {
    font-size: 38px;
  }
  .contract-admin-create > summary,
  .contract-mail-panel > summary {
    align-items: flex-start;
  }
  .contract-admin-create summary p,
  .contract-mail-panel summary p {
    font-size: 10px;
  }
  .contract-admin-create > summary > span,
  .contract-mail-panel > summary > span {
    font-size: 9px;
  }
  .contract-content .confirmation {
    font-size: 10px;
  }
  .contract-content .detail-actions {
    gap: 10px;
  }
  .contract-content .admin-panel .field input {
    font-size: 16px;
  }
}
.contract-content #send-code {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.contract-content h2 {
  overflow-wrap: anywhere;
}
.contract-content .admin-heading h1 {
  overflow-wrap: anywhere;
}
.contract-content .confirmation input {
  margin-top: 3px;
}
/* V4.4 — keep brand and content in their own columns at any zoom level. */
.sidebar .brand { width:100%;min-width:0;max-width:100%;white-space:normal;align-items:flex-start; }
.sidebar .brand > span:last-child { flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5;font-size:10px; }
.sidebar .brand small { white-space:normal;overflow-wrap:anywhere;font-size:7px; }
.sidebar .brand-logo { width:48px;max-width:48px;max-height:60px;flex:0 0 48px; }
.topbar { min-width:0;flex-wrap:wrap;height:auto;min-height:78px;padding-top:15px;padding-bottom:15px; }
.breadcrumb { min-width:0;overflow-wrap:anywhere; }

@media (max-width:820px) { .topbar { min-height:64px;padding-top:10px;padding-bottom:10px; } }
@media (min-width:821px) {
  .admin-sidebar { width:270px; }
  .admin-sidebar + .workspace-main { margin-left:270px; }
}
