@font-face {
  font-family: Poppins;
  src: url("../frontend/fonts/poppins-400.ttf");
}
@font-face {
  font-family: Poppins;
  src: url("../frontend/fonts/poppins-500.ttf");
  font-weight: 500;
}
@font-face {
  font-family: Poppins;
  src: url("../frontend/fonts/poppins-600.ttf");
  font-weight: 600;
}
@font-face {
  font-family: Poppins;
  src: url("../frontend/fonts/poppins-700.ttf");
  font-weight: 700;
}
:root {
  --navy: #192749;
  --navy-2: #253758;
  --orange: #ef8245;
  --orange-hover: #d5652a;
  --text: #26324a;
  --muted: #718097;
  --line: #e3e7ee;
  --canvas: #f5f7fb;
  --green: #19805b;
  --radius: 16px;
  --shadow: 0 15px 50px #1927490d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
h1,
h2,
h3,
h4,
p {
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 46px;
  font-weight: 600;
}
h2 {
  font-size: 31px;
  font-weight: 600;
}
h3 {
  font-size: 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #7395ed;
  outline-offset: 4px;
}
input,
textarea,
select {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  min-height: 46px;
  color: var(--text);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #ef824580;
  outline-offset: 1px;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #536079;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 7px;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--orange);
}
img {
  max-width: 100%;
  display: block;
}
small {
  font-size: 11px;
}
.container {
  width: calc(100% - 100px);
  max-width: 1240px;
  margin-inline: auto;
}
.topline {
  background: var(--navy);
  color: #cbd3e2;
  font-size: 10px;
  letter-spacing: 0.09em;
  padding: 8px 0;
}
.topline .container {
  display: flex;
  justify-content: space-between;
}
.site-header {
  background: #fff;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 98px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.1px;
  line-height: 1;
}
.brand-icon {
  color: var(--orange);
  font-size: 46px;
  line-height: 1;
  transform: translateY(-3px);
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 3px;
  margin-top: 9px;
  font-weight: 500;
  color: var(--muted);
}
.site-nav {
  display: flex;
  gap: 25px;
  font-size: 12px;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--orange);
}
.nav-end,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.language-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 3px;
}
.language-button[aria-pressed="true"] {
  color: var(--orange);
}
.language-divider {
  font-size: 11px;
  color: #b0b8c6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--orange);
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  font-size: 13px;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.button:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}
.button.small {
  padding: 9px 14px;
  font-size: 11px;
}
.button.outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.button.outline:hover {
  border-color: var(--orange);
  background: #fff6ef;
}
.button.glass {
  background: #ffffff12;
  border-color: #ffffff70;
  color: white;
}
.button.danger {
  background: #fff0ef;
  color: #a63131;
  border-color: #f4c8c8;
}
.button.full {
  width: 100%;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}
.hero {
  position: relative;
  min-height: 602px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../frontend/images/property-demo-1.jpg") center 57% / cover;
  transform: scale(1.01);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #10213ce8 0%,
    #14243cab 48%,
    #18233d15 100%
  );
}
.hero-content {
  padding: 64px 65px 102px;
  max-width: 720px;
  color: white;
}
.eyebrow {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 2.4px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.eyebrow.light {
  color: #f6b98f;
}
.hero h1 {
  font-size: 63px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -2px;
  margin: 23px 0;
}
.hero h1 em {
  font-style: normal;
  color: #ffbf95;
}
.hero p {
  max-width: 460px;
  color: #e1e5ed;
  font-size: 13px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-note strong,
.hero-note small {
  display: block;
}
.hero-note strong {
  font-size: 11px;
  font-weight: 500;
}
.hero-note small {
  color: #bfcad9;
  font-size: 10px;
}
.round-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffffff55;
  font-size: 24px;
}
.image-credit {
  position: absolute;
  right: 23px;
  bottom: 65px;
  color: #ffffff99;
  font-size: 8px;
  letter-spacing: 1px;
}
.hero-search {
  position: relative;
  margin-top: -43px;
  z-index: 2;
  padding: 0 35px;
}
.search-panel {
  padding: 22px;
  box-shadow: 0 14px 40px #14244614;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}
.search-panel label {
  font-size: 10px;
  color: var(--muted);
}
.search-panel input,
.search-panel select {
  background: #fafbfe;
  border-color: #e8ecf3;
}
.search-panel .button {
  min-height: 46px;
}
.section {
  padding-top: 68px;
  padding-bottom: 68px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h1,
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading .muted {
  margin: 10px 0 0;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.type-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  box-shadow: 0 4px 0 #edf0f6;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.type-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 4px 0 var(--orange);
}
.type-icon {
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #eff2f9;
  width: 50px;
  height: 50px;
  font-size: 30px;
  border-radius: 50%;
  margin-bottom: 15px;
}
.type-card strong,
.type-card small {
  display: block;
}
.type-card strong {
  font-size: 14px;
  font-weight: 600;
}
.type-card small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.soft {
  background: #f7f8fc;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 20px #19274904;
}
.card-image {
  position: relative;
  height: 220px;
  background: #e9edf4;
  overflow: hidden;
  display: block;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card-image:hover img {
  transform: scale(1.04);
}
.image-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 10px;
  background: #edf1f9;
  color: var(--navy);
  white-space: nowrap;
}
.badge.navy {
  background: var(--navy);
  color: white;
}
.badge.demo {
  background: #fff4e8;
  color: #855a30;
}
.badge.green,
.badge.active,
.badge.paid,
.badge.trial {
  background: #e8f5ef;
  color: #197951;
}
.badge.red,
.badge.suspended,
.badge.voided,
.badge.cancelled {
  background: #fff0ef;
  color: #a94343;
}
.badge.paused,
.badge.expired {
  background: #f1f2f5;
  color: #6e7585;
}
.card-content {
  padding: 21px;
}
.card-content h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
  line-height: 1.45;
}
.location {
  font-size: 11px;
  color: var(--muted);
}
.property-specs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #6b7890;
  margin: 20px 0;
}
.card-bottom {
  border-top: 1px solid #eef0f5;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.price {
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.price small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  width: 35px;
  height: 35px;
  font-size: 23px;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}
.icon-button.saved {
  color: var(--orange);
  background: #fff2e9;
}
.seller-banner {
  padding: 46px 54px;
  background: var(--navy);
  color: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background-image: radial-gradient(
    ellipse at 95% 40%,
    #49618355,
    transparent 60%
  );
}
.seller-banner h2 {
  font-size: 35px;
}
.seller-banner p {
  color: #c5cfdf;
  font-size: 12px;
  margin-bottom: 0;
  max-width: 510px;
}
.site-footer {
  background: #f6f7fa;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-grid h3 {
  font-size: 13px;
  margin-bottom: 18px;
}
.footer-grid p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 11px;
  margin: 12px 0;
  color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 35px;
  font-size: 10px;
  color: var(--muted);
}
.page-heading {
  padding-top: 50px;
  padding-bottom: 22px;
}
.page-heading p {
  color: var(--muted);
  max-width: 600px;
}
.page-heading .search-panel {
  margin-top: 28px;
}
.center {
  text-align: center;
}
.center p {
  margin-inline: auto;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.sort-label select {
  width: auto;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 850px;
  margin: 35px auto;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--orange);
}
.plan-ribbon {
  position: absolute;
  right: 20px;
  top: 0;
  background: var(--orange);
  padding: 5px 15px;
  border-radius: 0 0 6px 6px;
  color: white;
  font-size: 9px;
  letter-spacing: 1px;
}
.plan-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #fff0e7;
  color: var(--orange);
  font-size: 30px;
  margin-bottom: 20px;
}
.plan h2 {
  font-size: 25px;
}
.plan p {
  color: var(--muted);
  font-size: 12px;
}
.trial-price {
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -2px;
  margin: 25px 0 0;
}
.trial-price small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}
.plan li {
  padding: 8px 0;
  font-size: 12px;
}
.plan li:before {
  content: "✓";
  color: var(--green);
  margin-right: 10px;
}
.notice {
  padding: 17px 20px;
  border: 1px solid #f2d7bd;
  border-radius: 10px;
  background: #fff9f2;
  color: #835b36;
  font-size: 12px;
  margin: 20px 0;
}
.error-box {
  padding: 18px;
  color: #9c3030;
  background: #fff0ef;
  border: 1px solid #f2caca;
  border-radius: 10px;
}
.empty {
  grid-column: 1/-1;
  border: 1px dashed #d7deea;
  border-radius: 12px;
  text-align: center;
  padding: 40px 22px;
  background: white;
  color: var(--muted);
}
.empty-icon {
  font-size: 36px;
  color: #b0bdd4;
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 18px;
  color: var(--navy);
}
.workspace {
  min-height: 100vh;
  background: var(--canvas);
}
.sidebar {
  width: 246px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: var(--navy);
  color: #c2cce0;
  padding: 32px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  color: white;
  font-size: 24px;
}
.sidebar .brand small {
  color: #8798b4;
}
.sidebar-label {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #8193b4;
  margin: 44px 15px 14px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar nav a {
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}
.sidebar nav a > span:first-child {
  font-size: 19px;
  width: 20px;
  text-align: center;
  line-height: 1;
}
.sidebar nav a:hover {
  background: #ffffff08;
  color: white;
}
.sidebar nav a.active {
  background: var(--orange);
  color: white;
  box-shadow: 0 6px 15px #0000000d;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.sidebar-bottom > a {
  display: block;
  padding: 10px 14px;
  font-size: 11px;
  color: #a5b4cf;
}
.sidebar-note {
  background: #ffffff06;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}
.sidebar-note strong {
  font-size: 10px;
  font-weight: 500;
  color: #e0e6f2;
}
.sidebar-note p {
  font-size: 9px;
  line-height: 1.8;
  color: #92a5c6;
  margin: 8px 0 0;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #76cbae;
  border-radius: 50%;
  margin-right: 6px;
}
.workspace-main {
  margin-left: 246px;
}
.workspace-top {
  height: 80px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 12px;
  color: var(--muted);
}
.workspace-top > div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  background: #f8e7da;
  color: #8e5431;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  margin-left: 18px;
}
.workspace-content {
  padding: 38px 40px 60px;
  max-width: 1500px;
  margin: auto;
}
.workspace-content h1 {
  font-size: 31px;
}
.workspace-content .eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 25px 0;
}
.metric {
  padding: 24px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
}
.metric-value {
  display: block;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 12px 0 2px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.metric small {
  color: var(--muted);
  font-size: 10px;
}
.metric.accent {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.metric.accent .metric-label,
.metric.accent small {
  color: #b1bfd8;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 24px;
  overflow: hidden;
}
.panel h2 {
  font-size: 18px;
  margin-bottom: 22px;
}
.panel h3 {
  font-size: 15px;
}
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.welcome-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: #ecf1fb;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
}
.welcome-panel h2 {
  font-size: 24px;
}
.welcome-panel p {
  font-size: 12px;
  max-width: 550px;
  color: var(--muted);
  margin-bottom: 0;
}
.table-scroll {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
}
.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
  min-width: 610px;
}
th {
  background: #f9fafc;
  color: #7a869b;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.6px;
  padding: 15px 18px;
  white-space: nowrap;
}
td {
  padding: 17px 18px;
  border-top: 1px solid #edf0f6;
  vertical-align: middle;
}
td strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}
td .button {
  padding: 6px 9px;
  font-size: 9px;
}
td .actions {
  gap: 5px;
  flex-wrap: nowrap;
}
tr:hover td {
  background: #fcfdff;
}
.row-property {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 220px;
}
.row-property img {
  width: 60px;
  height: 47px;
  object-fit: cover;
  border-radius: 6px;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 22px 0;
}
.toolbar label {
  flex: 1;
  min-width: 120px;
}
.toolbar label.wide {
  flex: 2;
  min-width: 190px;
}
.toolbar input,
.toolbar select {
  font-size: 11px;
  min-height: 40px;
  padding: 9px;
}
.toolbar .button {
  padding: 11px 18px;
  min-height: 40px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 11px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .span-2 {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
}
.check-label input {
  margin-top: 3px;
  flex-shrink: 0;
}
.upload-box {
  display: block;
  border: 2px dashed #d9dfeb;
  border-radius: 12px;
  text-align: center;
  padding: 28px;
  background: #fafbfe;
  color: var(--muted);
}
.upload-box input {
  max-width: 370px;
  margin: 15px auto 0;
  font-size: 11px;
}
.upload-box strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}
.photo-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.photo-preview figure {
  position: relative;
  margin: 0;
  width: 110px;
}
.photo-preview img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 7px;
}
.photo-preview button {
  position: absolute;
  right: 4px;
  top: 4px;
  background: white;
  border: 0;
  border-radius: 50%;
  width: 23px;
  height: 23px;
}
.photo-preview figcaption {
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
  word-break: break-all;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 16px;
  margin: 28px 0;
}
.gallery-main {
  height: 460px;
  background: #eef1f6;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main .badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #ffffffdd;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #edf0f6;
}
.gallery-thumbs button.active {
  border-color: var(--orange);
}
.gallery-thumbs img {
  width: 100%;
  height: 82px;
  object-fit: cover;
}
.detail-copy {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.9;
  color: #64718a;
}
.detail-price {
  font-size: 28px;
  font-weight: 600;
}
.contact-panel {
  position: sticky;
  top: 25px;
  align-self: start;
}
.message {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
}
.message p {
  white-space: pre-wrap;
  font-size: 12px;
}
.message-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.message small {
  color: var(--muted);
}
.report-bars {
  display: flex;
  align-items: end;
  gap: 15px;
  min-height: 180px;
  padding-top: 35px;
  overflow: auto;
}
.report-bar {
  flex: 1;
  min-width: 48px;
  text-align: center;
}
.report-bar-fill {
  width: 100%;
  background: var(--orange);
  border-radius: 5px 5px 0 0;
  min-height: 2px;
  opacity: 0.8;
}
.report-bar small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 9px;
}
.report-total {
  font-size: 10px;
  color: var(--navy);
  margin-bottom: 5px;
}
.permission-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11px;
}
.permission-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
}
.permission-card p {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.audit-details {
  margin-top: 12px;
  white-space: pre-wrap;
  font-size: 11px;
  color: var(--muted);
  word-break: break-word;
}
.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
  margin-top: 20px;
}
.preview-banner {
  background: #fff1dc;
  color: #845022;
  font-size: 11px;
  padding: 10px 20px;
  text-align: center;
  position: relative;
  z-index: 30;
}
.preview-banner ~ .workspace .sidebar {
  top: 43px;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  max-width: 440px;
  background: var(--navy);
  color: white;
  padding: 16px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 40px #0003;
  font-size: 12px;
}
.toast.error {
  background: #963f3f;
}
dialog {
  padding: 0;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 25px 100px #0004;
  width: calc(100% - 32px);
  max-width: 620px;
  max-height: 90vh;
  color: var(--text);
}
dialog::backdrop {
  background: #111b35a6;
  backdrop-filter: blur(3px);
}
.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.dialog-head h2 {
  font-size: 21px;
  margin: 0;
}
.dialog-head button {
  border: 0;
  font-size: 28px;
}
#modal-body {
  padding: 26px;
}
#modal-body .form-grid {
  gap: 16px;
}
.form-error {
  font-size: 12px;
  color: #ac3737;
  margin-top: 15px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: var(--navy);
}
[hidden] {
  display: none !important;
}
.loading {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero {
    min-height: 640px;
  }
  .hero-content {
    padding-top: 85px;
  }
}
@media (max-width: 1190px) {
  .container {
    width: calc(100% - 48px);
  }
  .site-nav {
    gap: 14px;
    font-size: 11px;
  }
  .nav-end .auth-link {
    display: none;
  }
  .nav-end > .button {
    font-size: 10px;
  }
  .brand {
    font-size: 21px;
  }
  .hero-content {
    padding-left: 45px;
  }
  .workspace-content {
    padding: 30px 25px;
  }
  .workspace-top {
    padding: 0 25px;
  }
  .sidebar {
    width: 220px;
    padding: 28px 17px;
  }
  .workspace-main {
    margin-left: 220px;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric {
    padding: 18px;
  }
  .metric-value {
    font-size: 25px;
  }
  .card-image {
    height: 190px;
  }
  .role-grid {
    grid-template-columns: 1fr 1fr;
  }
  .type-card {
    padding: 18px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 140px;
  }
}
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 128px;
    left: 0;
    right: 0;
    z-index: 20;
    background: white;
    padding: 22px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-row .mobile-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-end {
    gap: 5px;
  }
  .hero {
    min-height: 545px;
  }
  .hero-content {
    padding: 50px 35px 95px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-search {
    padding: 0 16px;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .property-grid {
    grid-template-columns: 1fr 1fr;
  }
  .type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 240px;
    box-shadow: 8px 0 40px #14244633;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace-main {
    margin-left: 0;
  }
  .workspace-top .mobile-toggle {
    display: block;
  }
  .workspace-top {
    gap: 18px;
    justify-content: flex-start;
  }
  .workspace-top > div {
    margin-left: auto;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seller-banner {
    padding: 35px;
    align-items: flex-start;
  }
  .seller-banner h2 {
    font-size: 30px;
  }
  .seller-banner .button {
    align-self: center;
  }
  .page-heading h1 {
    font-size: 38px;
  }
  .gallery-main {
    height: 380px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 13px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .nav-row {
    min-height: 80px;
    gap: 10px;
  }
  .nav-end > .button {
    display: none;
  }
  .brand {
    font-size: 21px;
  }
  .topline {
    font-size: 8px;
  }
  .topline .container > span:last-child {
    display: none;
  }
  .site-nav {
    top: 106px;
  }
  .hero {
    width: calc(100% - 20px);
    min-height: 540px;
    border-radius: 13px;
  }
  .hero:after {
    background: linear-gradient(90deg, #13213ee8, #192b46a6);
  }
  .hero-content {
    padding: 42px 23px 110px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.4px;
  }
  .hero p {
    font-size: 11px;
    max-width: 330px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    padding: 11px 13px;
    font-size: 10px;
  }
  .hero-note {
    margin-top: 27px;
  }
  .hero-note small {
    font-size: 8px;
  }
  .hero-search {
    padding: 0;
    margin-top: -55px;
  }
  .search-panel {
    padding: 17px;
    gap: 12px;
  }
  .search-panel .button {
    font-size: 10px;
    padding: 10px;
  }
  .search-panel input,
  .search-panel select {
    font-size: 10px;
    min-height: 41px;
  }
  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  h2 {
    font-size: 25px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .section-heading .text-link {
    font-size: 10px;
  }
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .type-card:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .type-card:last-child .type-icon {
    margin: 0;
  }
  .type-card:last-child small {
    margin-left: auto;
  }
  .type-card strong {
    font-size: 12px;
  }
  .type-icon {
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-image {
    height: 225px;
  }
  .seller-banner {
    display: block;
    padding: 28px;
  }
  .seller-banner h2 {
    font-size: 27px;
  }
  .seller-banner .button {
    margin-top: 23px;
  }
  .footer-grid {
    gap: 25px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading {
    padding-top: 30px;
  }
  .sort-label {
    font-size: 10px;
  }
  .sort-label select {
    font-size: 10px;
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 15px;
  }
  .plan {
    padding: 27px;
  }
  .workspace-content {
    padding: 25px 17px;
  }
  .workspace-top {
    height: 68px;
    padding: 0 17px;
    font-size: 10px;
  }
  .avatar {
    margin-left: 5px;
    width: 30px;
    height: 30px;
  }
  .workspace-content h1 {
    font-size: 26px;
  }
  .workspace-content .section-heading > .button {
    font-size: 10px;
    padding: 10px 15px;
  }
  .metric-grid {
    gap: 10px;
    margin: 18px 0;
  }
  .metric {
    padding: 16px 13px;
  }
  .metric-label {
    font-size: 9px;
  }
  .metric-value {
    font-size: 23px;
  }
  .metric small {
    font-size: 8px;
  }
  .welcome-panel {
    padding: 24px;
    display: block;
  }
  .welcome-panel h2 {
    font-size: 21px;
  }
  .welcome-panel .button {
    margin-top: 18px;
  }
  .panel {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-grid .span-2 {
    grid-column: auto;
  }
  .two-col {
    gap: 0;
  }
  .toolbar {
    gap: 10px;
    padding: 14px;
  }
  .toolbar label {
    min-width: 120px;
  }
  .toolbar label.wide {
    min-width: 100%;
    flex: auto;
  }
  .toolbar .button {
    padding: 10px;
  }
  .role-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .permission-card {
    padding: 12px;
  }
  .gallery {
    display: block;
    margin: 20px 0;
  }
  .gallery-main {
    height: 290px;
    border-radius: 10px;
  }
  .gallery-thumbs {
    flex-direction: row;
    margin-top: 12px;
    gap: 8px;
  }
  .gallery-thumbs button {
    flex: 1;
    max-width: 90px;
  }
  .gallery-thumbs img {
    height: 60px;
  }
  .detail-price {
    font-size: 23px;
  }
  .property-detail h1 {
    font-size: 30px;
  }
  .dialog-head {
    padding: 18px 20px;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  #modal-body {
    padding: 20px;
  }
  .toast {
    bottom: 15px;
    left: 15px;
    right: 15px;
    max-width: none;
    font-size: 11px;
  }
  .preview-banner {
    font-size: 9px;
  }
  .preview-banner ~ .workspace .sidebar {
    top: 55px;
  }
  .image-credit {
    bottom: 75px;
  }
}
@media print {
  body,
  .workspace {
    background: white;
  }
  .sidebar,
  .workspace-top,
  .site-header,
  .site-footer,
  #admin-actions,
  #admin-filters,
  .preview-banner,
  .toast,
  .mobile-toggle,
  .pagination {
    display: none !important;
  }
  .workspace-main {
    margin: 0;
  }
  .workspace-content {
    padding: 0;
    max-width: none;
  }
  .metric,
  .panel,
  .table-scroll {
    break-inside: avoid;
    box-shadow: none;
  }
  .table-scroll {
    overflow: visible;
  }
  th,
  td {
    padding: 9px 7px;
  }
  .table-scroll table {
    min-width: 0;
    font-size: 9px;
  }
  .section-heading h1 {
    font-size: 25px;
  }
  .report-bars {
    overflow: visible;
  }
  .button {
    display: none !important;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
