:root {
    --ink: #18323d;
    --muted: #586b73;
    --blue: #2264a2;
    --line: #dbe2e3;
    --paper: #f5f7f6;
    --white: #fff;
    --radius: 8px;
    --shadow: 0 12px 40px #152d3b0c;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font:
        16px/1.6 -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}
button,
summary {
    cursor: pointer;
}
button {
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.12;
}
h1 {
    font-size: clamp(36px, 4vw, 60px);
    margin-bottom: 22px;
}
h2 {
    font-size: clamp(29px, 3vw, 41px);
    margin-bottom: 22px;
}
h3 {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 550;
}
p {
    margin-bottom: 22px;
}
small {
    font-size: 13px;
}
.container {
    width: min(1240px, calc(100% - 80px));
    margin-inline: auto;
}
.narrow {
    max-width: 800px;
}
.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 17px;
}
.lead {
    font-size: 21px;
    color: var(--muted);
    max-width: 780px;
    line-height: 1.7;
}
.muted {
    color: var(--muted);
}
.section {
    padding-block: 80px;
}
.section-bottom {
    padding-bottom: 80px;
}
.section-heading,
.crm-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 32px;
}
.section-heading h2,
.crm-heading h1 {
    margin-bottom: 0;
}
.section-heading .eyebrow {
    margin-bottom: 10px;
}
.text-link {
    font-weight: 600;
    white-space: nowrap;
}
.button {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: white;
    padding: 13px 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    min-height: 49px;
    line-height: 1.4;
}
.button:hover {
    background: #244b5c;
    text-decoration: none;
}
.button.secondary {
    background: white;
    border-color: #bbc8ce;
    color: var(--ink);
}
.button.secondary:hover {
    background: #edf2f4;
}
.button.whatsapp {
    background: #e9f3ed;
    border-color: #c2d8ca;
    color: #22543b;
}
.button.small {
    min-height: 39px;
    padding: 9px 12px;
    font-size: 13px;
}
.button.full {
    width: 100%;
}
.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.environment {
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    background: #edf2f4;
    color: #354e5b;
    padding: 7px 20px;
}
.environment a {
    margin-left: 15px;
    font-weight: 700;
}
.site-header {
    border-bottom: 1px solid var(--line);
    background: white;
    position: relative;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 100px;
}
.brand {
    flex-shrink: 0;
}
.brand img {
    height: auto;
}
.site-header nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 16px;
    font-weight: 500;
}
.site-header nav a {
    padding: 15px 0;
    white-space: nowrap;
}
.header-phone {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.language-picker {
    position: relative;
    font-size: 14px;
}
.language-picker summary {
    list-style: none;
    white-space: nowrap;
    padding: 10px 0;
}
.language-picker summary span {
    margin-left: 6px;
}
.language-picker > div {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px;
    min-width: 130px;
}
.language-picker a {
    display: block;
    padding: 8px 15px;
}
.menu-toggle {
    display: none;
}
.hero {
    position: relative;
    min-height: 550px;
    background: #1a3445;
    isolation: isolate;
    display: flex;
    align-items: center;
}
.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 55%;
    z-index: -2;
}
.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 30, 46, 0.85),
        rgba(10, 30, 46, 0.4) 60%,
        rgba(10, 30, 46, 0.08)
    );
    z-index: -1;
}
.hero-copy {
    padding-block: 85px 120px;
}
.hero h1 {
    font-size: clamp(46px, 5.2vw, 76px);
    max-width: 650px;
    color: white;
    text-wrap: balance;
    margin-bottom: 24px;
}
.hero-copy > .eyebrow {
    color: #e8f2fa;
}
.hero-copy > p:last-child {
    color: #f1f5f6;
    max-width: 490px;
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 0;
}
.hero-credit {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: white;
    background: #18323db3;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
}
.home-search {
    position: relative;
    margin-top: -51px;
    z-index: 2;
}
.search-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
}
.search-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.search-tabs a {
    background: none;
    border: 0;
    padding: 0 8px 15px;
    font-weight: 600;
    font-size: 17px;
    border-bottom: 3px solid transparent;
}
.search-tabs a.selected {
    color: var(--blue);
    border-bottom-color: var(--blue);
}
.search-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 0.7fr 1fr 0.9fr 1.1fr;
    gap: 17px;
    align-items: end;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 550;
    min-width: 0;
    margin: 0;
}
.field b {
    color: #906522;
}
.field small {
    font-weight: 400;
    color: var(--muted);
}
input,
select,
textarea {
    min-width: 0;
    width: 100%;
    border: 1px solid #c8d1d5;
    border-radius: 4px;
    background: white;
    padding: 12px;
    color: var(--ink);
    outline: none;
    font-size: 16px;
    line-height: 1.4;
}
input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #2264a21a;
}
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--blue);
}
textarea {
    resize: vertical;
    min-height: 130px;
}
.search-button {
    white-space: nowrap;
    gap: 12px;
    font-size: 14px;
}
.extra-filters {
    margin-top: 17px;
    font-size: 13px;
}
.extra-filters summary {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    list-style: none;
}
.extra-filters .form-grid {
    margin-top: 18px;
}
.soft-section {
    background: var(--paper);
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}
.property-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px #162e3b04;
}
.card-image {
    display: block;
    position: relative;
    aspect-ratio: 1.5;
    overflow: hidden;
    background: #e7eeef;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.card-image:hover img {
    transform: scale(1.025);
}
.image-placeholder {
    height: 100%;
    min-height: 160px;
    display: grid;
    place-items: center;
    background: #e8eeef;
    color: #60747b;
    padding: 20px;
    text-align: center;
}
.card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.card-badges span,
.badge {
    font-size: 12px;
    font-weight: 650;
    padding: 5px 10px;
    background: #fff;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}
.card-badges .state {
    background: #18323d;
    color: white;
}
.badge {
    background: #edf1f2;
    color: #415963;
}
.badge.available {
    background: #e6f1e9;
    color: #245d37;
}
.badge.reserved {
    background: #fbf0d9;
    color: #775622;
}
.badge.sold,
.badge.rented {
    background: #e8edf1;
    color: #3e5565;
}
.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-body > .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.card-body h3 {
    margin-bottom: 18px;
    min-height: 3em;
}
.card-facts {
    display: flex;
    gap: 10px 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 19px;
    margin-top: auto;
}
.card-bottom {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.card-bottom strong {
    font-size: 23px;
    font-weight: 550;
    font-variant-numeric: tabular-nums;
}
.card-bottom strong small {
    font-size: 13px;
    font-weight: 400;
}
.card-bottom > a {
    border: 1px solid var(--line);
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.project-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
}
.project-feature > img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}
.project-feature > div {
    padding: 50px;
}
.project-feature p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.75;
}
.advice {
    background: #e8eeec;
    padding: 80px 0;
}
.advice-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 100px;
}
.advice-grid p {
    font-size: 18px;
    color: #425b61;
}
.site-footer {
    background: #122c38;
    color: #f2f5f6;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-grid p {
    font-size: 14px;
    color: #c6d4d9;
    margin: 15px 0;
}
.footer-grid a {
    display: block;
    margin-top: 12px;
    font-size: 14px;
}
.footer-grid strong {
    display: block;
    margin-bottom: 20px;
}
.footer-grid img {
    filter: brightness(0) invert(1);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #39505c;
    font-size: 12px;
    color: #b9cbd2;
}
.page-heading {
    padding: 65px 0 35px;
}
.page-heading h1 {
    margin-bottom: 15px;
}
.result-line {
    display: flex;
    justify-content: space-between;
    margin: 32px 0;
    color: var(--muted);
    font-size: 14px;
}
.property-heading {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0 32px;
}
.property-heading h1 {
    max-width: 830px;
    font-size: clamp(32px, 3.5vw, 48px);
}
.detail-price {
    font-size: 32px;
    white-space: nowrap;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}
.detail-price small {
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
}
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.property-gallery > a:first-child,
.property-gallery > img:first-child {
    grid-row: span 2;
}
.property-gallery > a,
.property-gallery > img {
    min-height: 0;
}
.property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property-gallery:has(:only-child) {
    grid-template-columns: 1fr;
    grid-template-rows: 470px;
}
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 70px;
    padding: 45px 0 80px;
}
.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px;
    gap: 25px;
}
.facts-grid > div {
    display: grid;
    grid-template-rows: 42px auto;
    gap: 3px;
}
.facts-grid span {
    font-size: 13px;
    color: var(--muted);
}
.facts-grid strong {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.facts-grid small {
    font-size: 15px;
}
.detail-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.detail-section h2 {
    font-size: 29px;
}
.detail-section summary {
    font-size: 24px;
    font-family: Georgia;
}
.prose {
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.85;
}
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 25px;
}
.feature-list > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.feature-list dt {
    font-size: 13px;
    color: var(--muted);
}
.feature-list dd {
    margin: 0;
}
.feature-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.feature-tags span {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 6px 11px;
    font-size: 13px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}
.gallery-grid img {
    aspect-ratio: 1.5;
    object-fit: cover;
}
.detail-section video {
    width: 100%;
    max-height: 480px;
    background: #122c38;
}
.contact-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    align-self: start;
    position: sticky;
    top: 20px;
}
.contact-card h2 {
    font-size: 31px;
}
.contact-card p {
    font-size: 15px;
}
.contact-card .button {
    margin-bottom: 12px;
}
.phone-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
    font-size: 14px;
}
.phone-link strong {
    font-size: 22px;
    font-weight: 500;
}
.table-scroll {
    overflow: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    text-align: left;
}
th {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
td {
    padding: 19px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
tr:last-child td {
    border-bottom: 0;
}
td small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 4px;
}
td a {
    font-weight: 550;
}
td p {
    margin: 4px 0;
    font-size: 13px;
}
.table-title {
    display: block;
    min-width: 180px;
    max-width: 420px;
}
.nowrap {
    white-space: nowrap;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 28px;
    box-shadow: 0 3px 15px #17374103;
}
.panel > h2,
.panel .section-heading > h2 {
    font-family: inherit;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.panel > p {
    font-size: 14px;
}
.panel .field {
    margin-bottom: 20px;
}
.panel .form-grid .field {
    margin-bottom: 0;
}
.panel .form-grid {
    margin-bottom: 22px;
}
.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}
.check input {
    margin-top: 3px;
}
.check-group {
    border: 0;
    padding: 20px 0;
    margin: 0;
    display: flex;
    gap: 25px;
}
.check-group legend {
    font-size: 14px;
    font-weight: 550;
    margin-bottom: 10px;
}
.align-end {
    align-self: end;
    padding-bottom: 12px;
}
.flash {
    padding: 18px 22px;
    margin-bottom: 28px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 14px;
}
.flash p:last-child {
    margin-bottom: 0;
}
.flash.success {
    background: #eaf4ee;
    border-color: #bfdcc8;
    color: #205338;
}
.flash.error,
.error {
    color: #8c3029;
}
.flash.error {
    background: #fff1ee;
    border-color: #e7beb6;
}
.empty {
    grid-column: 1/-1;
    padding: 45px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.empty h2 {
    font-size: 26px;
}
.empty-small {
    padding: 20px 0;
    color: var(--muted);
    font-size: 14px;
}
.thankyou {
    max-width: 650px;
    margin: 50px auto;
    text-align: center;
}
.success-mark {
    display: inline-grid;
    place-items: center;
    width: 65px;
    height: 65px;
    background: #e1eee6;
    color: #27613f;
    font-size: 30px;
    border-radius: 50%;
    margin-bottom: 25px;
}
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    background: #fff;
    padding: 12px;
    z-index: 100;
}
.skip:focus {
    top: 10px;
}
.preview-bar {
    padding: 14px 30px;
    background: #fff4d8;
    border-bottom: 1px solid #d5bc7a;
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.crm {
    background: #f3f5f4;
}
.crm-sidebar {
    width: 236px;
    position: fixed;
    inset: 0 auto 0 0;
    background: #fff;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding: 34px 24px;
    z-index: 20;
}
.crm-sidebar .brand {
    margin: 0 10px 32px;
}
.sidebar-label {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #6a7c83;
    margin: 0 10px 18px;
    font-weight: 700;
}
.crm-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.crm-sidebar nav a {
    padding: 11px 15px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
}
.crm-sidebar nav a.active {
    background: #eaf1f6;
    color: #17588f;
}
.sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 13px;
    color: #58707b;
    padding: 20px 10px 0;
}
.sidebar-bottom span {
    font-weight: 600;
    color: var(--ink);
}
.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
}
.crm-main {
    margin-left: 236px;
    min-width: 0;
}
.crm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 45px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}
.crm-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 42px 45px 80px;
    min-width: 0;
}
.crm-heading {
    align-items: flex-start;
    margin-bottom: 30px;
}
.crm-heading h1 {
    font:
        550 34px/1.2 -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    letter-spacing: -0.04em;
    margin: 6px 0 12px;
}
.crm-heading p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 0;
    max-width: 700px;
}
.crm-heading > .button {
    flex-shrink: 0;
    margin-top: 8px;
}
.crm-heading .eyebrow {
    font-size: 10px;
    margin-bottom: 15px;
}
.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}
.metrics > div {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    display: grid;
    grid-template-rows: 42px 58px 40px;
    align-content: start;
    gap: 5px;
}
.metrics span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.metrics strong {
    font-size: 43px;
    line-height: 1.1;
    font-weight: 550;
    font-variant-numeric: tabular-nums;
    align-self: start;
}
.metrics small {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
}
.dashboard-grid .section-heading {
    gap: 15px;
    align-items: center;
}
.dashboard-grid h2 {
    margin: 0;
    font-size: 20px !important;
}
.dashboard-grid .section-heading > a {
    font-size: 12px;
    white-space: nowrap;
}
.list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.list-row:last-child {
    border-bottom: 0;
}
.list-row small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
}
.toolbar {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}
.toolbar > input {
    flex: 2;
}
.toolbar > select {
    flex: 1;
}
.toolbar > .button {
    flex-shrink: 0;
}
.status-dot {
    width: 7px;
    height: 7px;
    background: #a5b2b7;
    border-radius: 50%;
    display: inline-block;
    margin-right: 7px;
}
.status-dot.on {
    background: #498765;
}
.pagination {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    font-size: 13px;
}
.pagination > span:first-child {
    margin-right: auto;
}
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 10px;
}
.review-notice {
    background: #fff8e8;
    border: 1px solid #e9d7a9;
    border-radius: 6px;
    padding: 17px 22px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #755625;
}
.review-notice summary {
    font-weight: 650;
}
.review-notice p:last-child {
    margin-bottom: 0;
}
.editor-form .panel > h2 {
    margin-bottom: 25px;
}
.save-bar {
    position: sticky;
    bottom: 15px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 5px 28px #102d3c1a;
    border-radius: 7px;
    padding: 15px 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    z-index: 5;
}
.save-bar > span {
    margin-right: auto;
    font-size: 13px;
    color: var(--muted);
}
.language-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 25px;
}
.language-tabs button {
    padding: 11px 22px;
    border: 0;
    background: transparent;
    border-bottom: 3px solid transparent;
    font-size: 14px;
}
.language-tabs button[aria-selected="true"] {
    border-bottom-color: var(--blue);
    color: var(--blue);
    font-weight: 650;
}
.media-editor {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.media-item {
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
    min-width: 0;
}
.media-item img {
    aspect-ratio: 1.5;
    object-fit: cover;
    width: 100%;
    border-radius: 4px;
}
.media-item > small {
    display: block;
    font-size: 10px;
    overflow-wrap: anywhere;
    margin: 10px 0;
    color: var(--muted);
}
.media-item .field {
    font-size: 12px;
    margin-bottom: 10px;
}
.media-item input {
    padding: 8px;
    font-size: 14px;
}
.media-item .check {
    font-size: 12px;
    margin: 15px 0;
}
.media-file {
    display: grid;
    place-items: center;
    aspect-ratio: 1.5;
    background: #eaf0f2;
}
.upload-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.upload-form h3 {
    font-size: 19px;
}
.upload-form > .button {
    margin-top: 20px;
}
.inline-form {
    display: flex;
    gap: 15px;
    max-width: 450px;
}
.inquiry-note {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
}
.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #eef2f3;
    padding: 30px;
}
.login-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 50px;
    width: min(510px, 100%);
}
.login-card > img {
    margin-bottom: 40px;
}
.login-card h1 {
    font-size: 37px;
}
.login-card > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 15px;
}
.login-card > .text-link {
    font-size: 13px;
    display: inline-block;
    margin-top: 25px;
}
details > summary {
    padding-block: 8px;
}
details[open] > summary {
    margin-bottom: 14px;
}
.search-panel details[open] > summary {
    margin-bottom: 0;
}
@media (max-width: 1200px) {
    .header-phone {
        display: none;
    }
    .container {
        width: calc(100% - 48px);
    }
    .site-header nav {
        gap: 20px;
    }
    .crm-content {
        padding-inline: 28px;
    }
    .crm-top {
        padding-inline: 28px;
    }
    .metrics {
        gap: 12px;
    }
    .metrics > div {
        padding: 20px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .card-grid {
        gap: 18px;
    }
    .card-body {
        padding: 20px;
    }
    .search-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .search-grid .search-button {
        grid-column: auto;
    }
    .detail-layout {
        gap: 35px;
    }
    .project-feature > div {
        padding: 35px;
    }
    .advice-grid {
        gap: 50px;
    }
    .media-editor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .crm-sidebar {
        width: 195px;
        padding-inline: 15px;
    }
    .crm-sidebar .brand img {
        width: 130px;
    }
    .crm-main {
        margin-left: 195px;
    }
    .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-grid > .property-card:last-child:nth-child(3) {
        grid-column: auto;
    }
    .header-inner {
        gap: 18px;
        min-height: 82px;
    }
    .site-header .brand img {
        width: 120px;
    }
    .site-header nav {
        font-size: 14px;
        gap: 15px;
    }
    .hero h1 {
        max-width: 550px;
    }
    .hero {
        min-height: 500px;
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .contact-card {
        position: static;
    }
    .property-heading {
        align-items: flex-start;
        gap: 30px;
    }
    .property-heading h1 {
        font-size: 37px;
    }
    .detail-price {
        font-size: 26px;
    }
    .property-gallery {
        grid-template-rows: 180px 180px;
    }
    .toolbar {
        flex-wrap: wrap;
    }
    .toolbar > input {
        flex-basis: 100%;
    }
    .crm-heading {
        flex-wrap: wrap;
    }
    .project-feature {
        grid-template-columns: 1fr;
    }
    .project-feature > img {
        max-height: 380px;
        min-height: 250px;
    }
    .advice-grid {
        gap: 35px;
    }
    .preview-bar {
        flex-wrap: wrap;
    }
    .media-editor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 650px) {
    body {
        font-size: 16px;
    }
    .container {
        width: calc(100% - 36px);
    }
    .environment {
        font-size: 10px;
        padding: 7px 12px;
    }
    .environment a {
        margin-left: 8px;
    }
    .header-inner {
        min-height: 77px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-block: 16px;
    }
    .site-header .brand img {
        width: 130px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 21px;
        background: none;
        border: 0;
        padding: 5px;
        margin-left: auto;
    }
    .menu-toggle span {
        font-size: 13px;
    }
    .site-header nav {
        display: none;
        order: 5;
        width: 100%;
        margin: 0;
        padding: 12px 0;
        flex-direction: column;
        gap: 0;
        font-size: 17px;
    }
    .site-header nav.open {
        display: flex;
    }
    .site-header nav a {
        padding: 11px 5px;
        border-bottom: 1px solid var(--line);
    }
    .language-picker {
        font-size: 12px;
    }
    .hero {
        min-height: 485px;
        align-items: flex-start;
    }
    .hero-copy {
        padding-top: 55px;
        padding-bottom: 100px;
    }
    .hero h1 {
        font-size: 46px;
        max-width: 340px;
        line-height: 1.08;
    }
    .hero-copy > p:last-child {
        font-size: 18px;
        max-width: 290px;
    }
    .hero-background {
        object-position: 62% 50%;
    }
    .hero:after {
        background: linear-gradient(90deg, #0b243bd9, #0b243b70);
    }
    .hero-credit {
        right: 12px;
        bottom: 45px;
        font-size: 9px;
    }
    .home-search {
        margin-top: -28px;
    }
    .search-panel {
        padding: 20px;
    }
    .search-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .search-grid .field {
        font-size: 12px;
    }
    .search-grid .search-budget {
        grid-column: 1/-1;
    }
    .search-grid .search-button {
        grid-column: 1/-1;
        font-size: 15px;
    }
    .search-tabs {
        margin-bottom: 19px;
    }
    .search-tabs a {
        font-size: 16px;
    }
    .search-grid input,
    .search-grid select {
        font-size: 14px;
        padding: 11px 8px;
    }
    .extra-filters .form-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding-block: 50px;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    .section-heading h2 {
        font-size: 32px;
    }
    .text-link {
        font-size: 14px;
    }
    .card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .card-body h3 {
        min-height: 0;
        font-size: 22px;
    }
    .card-body > .eyebrow {
        font-size: 11px;
    }
    .card-facts {
        font-size: 14px;
    }
    .card-bottom strong {
        font-size: 25px;
    }
    .card-body {
        padding: 22px;
    }
    .card-image {
        aspect-ratio: 1.5;
    }
    .project-feature > div {
        padding: 27px;
    }
    .project-feature > img {
        min-height: 220px;
    }
    .advice {
        padding: 50px 0;
    }
    .advice-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .advice-grid h2 {
        font-size: 37px;
        max-width: 330px;
    }
    .advice-grid p {
        font-size: 17px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .footer-bottom {
        flex-wrap: wrap;
        gap: 15px;
    }
    .footer-bottom > span {
        width: 100%;
    }
    .page-heading {
        padding-top: 40px;
    }
    .page-heading h1 {
        font-size: 39px;
    }
    .lead {
        font-size: 18px;
    }
    .property-heading {
        flex-direction: column;
        gap: 18px;
        padding-top: 35px;
    }
    .property-heading h1 {
        font-size: 35px;
    }
    .property-heading .eyebrow {
        font-size: 10px;
    }
    .detail-price {
        font-size: 29px;
        flex-direction: row;
        align-items: center;
        gap: 5px;
    }
    .property-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 130px;
        gap: 8px;
    }
    .property-gallery > a:first-child,
    .property-gallery > img:first-child {
        grid-column: 1/-1;
        grid-row: auto;
    }
    .property-gallery:has(:only-child) {
        grid-template-rows: 300px;
    }
    .detail-layout {
        gap: 30px;
        padding: 30px 0 50px;
    }
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .facts-grid > div {
        grid-template-rows: 35px auto;
    }
    .facts-grid strong {
        font-size: 27px;
    }
    .contact-card {
        padding: 25px;
    }
    .preview-bar {
        padding: 12px;
        gap: 12px;
        font-size: 12px;
    }
    .preview-bar .button {
        font-size: 13px;
        padding: 10px;
    }
    .crm-sidebar {
        position: relative;
        width: 100%;
        padding: 20px 18px 12px;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .crm-sidebar .brand {
        margin: 0 0 18px;
    }
    .sidebar-label {
        display: none;
    }
    .crm-sidebar nav {
        flex-direction: row;
        overflow: auto;
        gap: 5px;
        padding-bottom: 5px;
    }
    .crm-sidebar nav a {
        white-space: nowrap;
        padding: 9px 13px;
        font-size: 14px;
    }
    .sidebar-bottom {
        display: none;
    }
    .crm-main {
        margin-left: 0;
    }
    .crm-top {
        padding: 10px 18px;
        font-size: 10px;
    }
    .crm-content {
        padding: 28px 18px 55px;
    }
    .crm-heading h1 {
        font-size: 31px;
        overflow-wrap: anywhere;
    }
    .crm-heading p {
        font-size: 14px;
    }
    .crm-heading .eyebrow {
        font-size: 9px;
    }
    .crm-heading > .button {
        font-size: 14px;
    }
    .metrics {
        gap: 12px;
    }
    .metrics > div {
        padding: 18px 15px;
        grid-template-rows: 42px 48px 37px;
        gap: 5px;
    }
    .metrics strong {
        font-size: 38px;
    }
    .metrics span {
        font-size: 12px;
    }
    .metrics small {
        font-size: 11px;
    }
    .panel {
        padding: 22px 18px;
        margin-bottom: 22px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .panel .form-grid {
        margin-bottom: 18px;
    }
    .panel > h2 {
        font-size: 21px;
    }
    .dashboard-grid {
        gap: 0;
    }
    .dashboard-grid .section-heading {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .table-scroll {
        padding: 10px 4px;
    }
    .table-scroll th,
    .table-scroll td {
        padding: 14px 12px;
    }
    .table-title {
        min-width: 210px;
    }
    .toolbar {
        gap: 10px;
    }
    .toolbar > select {
        font-size: 14px;
    }
    .toolbar > .button {
        padding-inline: 15px;
    }
    .pagination {
        gap: 12px;
        font-size: 11px;
        flex-wrap: wrap;
    }
    .save-bar {
        padding: 13px;
        bottom: 8px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .save-bar > span {
        width: 100%;
        font-size: 11px;
    }
    .save-bar .button {
        flex: 1;
        font-size: 14px;
        padding: 10px;
    }
    .language-tabs button {
        padding-inline: 18px;
    }
    .media-editor {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .media-item {
        padding: 10px;
    }
    .media-item .button {
        padding: 8px;
        font-size: 11px;
    }
    .media-item input {
        font-size: 13px;
    }
    .media-item .field {
        font-size: 11px;
    }
    .media-item .check {
        font-size: 11px;
    }
    .check-group {
        gap: 15px;
        flex-wrap: wrap;
    }
    .review-notice {
        padding: 15px;
    }
    .login-card {
        padding: 30px;
    }
    .login-page {
        padding: 18px;
    }
    .login-card h1 {
        font-size: 32px;
    }
    .check {
        font-size: 13px;
    }
    .panel .section-heading {
        margin-bottom: 20px;
    }
    .thankyou h1 {
        font-size: 37px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.inline {
    display: inline;
}
.link-button {
    font: inherit;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid #2264a2;
    outline-offset: 4px;
}

.hero img {
    object-position: 50% 15%;
}

.video-figure {
    margin: 24px 0;
}
.video-figure figcaption {
    font-size: 14px;
    color: #53616a;
    padding: 12px 0;
    line-height: 1.6;
}

.media-caption {
    font-size: 13px;
    color: var(--muted);
    margin: 12px 0 0;
}
.hero-background {
    object-position: 50% 15%;
}

/* Compact property media: one photograph, a thumbnail strip and deliberate video playback. */
.media-gallery {
    margin: 0 0 2.5rem;
    min-width: 0;
}
.gallery-stage {
    position: relative;
    height: clamp(240px, 42vw, 460px);
    overflow: hidden;
    border-radius: 12px;
    background: #eaf0f1;
}
.gallery-enlarge {
    display: block;
    border: 0;
    padding: 0;
    background: none;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}
.gallery-enlarge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gallery-zoom,
.gallery-counter {
    position: absolute;
    color: white;
    background: #17313cec;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
.gallery-zoom {
    left: 16px;
    bottom: 16px;
}
.gallery-counter {
    right: 16px;
    bottom: 16px;
}
.gallery-arrow {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid #fff9;
    border-radius: 50%;
    color: white;
    background: #17313cec;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
.gallery-stage > .gallery-arrow {
    position: absolute;
    top: calc(50% - 22px);
}
.gallery-arrow.previous {
    left: 16px;
}
.gallery-arrow.next {
    right: 16px;
}
.gallery-caption {
    font-size: 0.85rem;
    color: var(--muted, #536873);
    margin: 0.65rem 0;
    min-height: 1.4em;
}
.gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 3px 10px;
}
.gallery-thumbnails button {
    flex: 0 0 104px;
    width: 104px;
    padding: 3px;
    background: white;
    border: 2px solid transparent;
    border-radius: 7px;
    cursor: pointer;
}
.gallery-thumbnails button[aria-pressed="true"] {
    border-color: #17313c;
}
.gallery-thumbnails img {
    display: block;
    width: 94px;
    height: 64px;
    object-fit: cover;
    border-radius: 3px;
}
.gallery-extras {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 12px;
    margin-top: 1rem;
}
.gallery-video {
    min-width: 0;
    max-width: 820px;
}
.gallery-video summary {
    list-style: none;
    cursor: pointer;
    background: #17313c;
    color: white;
    border-radius: 6px;
    padding: 1rem 1.4rem;
    font-weight: 700;
}
.gallery-video summary::-webkit-details-marker {
    display: none;
}
.gallery-video[open] {
    flex: 1 1 100%;
}
.gallery-video figure {
    margin: 1rem 0 0;
}
.gallery-video video {
    display: block;
    width: 100%;
    max-height: 480px;
    background: #10242c;
    border-radius: 8px;
}
.gallery-video figcaption {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: #536873;
}
.gallery-lightbox {
    width: 96vw;
    max-width: 1440px;
    height: 94dvh;
    max-height: 94dvh;
    background: #10242c;
    border: 0;
    border-radius: 12px;
    color: white;
    padding: 64px 16px 12px;
}
.gallery-lightbox::backdrop {
    background: #061218e6;
}
.gallery-lightbox > img {
    display: block;
    width: 100%;
    height: calc(100% - 80px);
    object-fit: contain;
}
.gallery-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: white;
    color: #17313c;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}
.lightbox-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    height: 80px;
}
.lightbox-footer p {
    font-size: 0.85rem;
    max-height: 72px;
    overflow: auto;
}
.cover-label {
    padding: 0.7rem;
    border-radius: 6px;
    color: #17313c;
    background: #e4efea;
    font-weight: 700;
}
.media-item > form + form {
    margin-top: 0.8rem;
}
@media (max-width: 600px) {
    .gallery-stage {
        height: 260px;
    }
    .gallery-zoom {
        font-size: 0.75rem;
        left: 8px;
        bottom: 8px;
    }
    .gallery-counter {
        bottom: 8px;
        right: 8px;
    }
    .gallery-lightbox {
        padding-inline: 8px;
    }
}

.card-visualisation {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #17313cec;
    color: white;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

[hidden] {
    display: none !important;
}
.hero-image-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -2;
}
.hero-image-frame .hero-background {
    z-index: auto;
    transform-origin: 50% 35%;
}
.hero-motion-enabled .hero-background {
    animation: coast-ken-burns 12s ease-out 1 forwards;
}
@keyframes coast-ken-burns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.04);
    }
}
.editor-actions {
    position: sticky;
    top: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 0 0 24px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 4px 18px #17313c12;
}
.editor-state {
    display: grid;
    gap: 5px;
    flex: 1 1 260px;
}
.editor-state span {
    color: var(--muted);
    font-size: 13px;
}
.editor-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.editor-guard {
    flex-basis: 100%;
    margin: 0;
    color: #8f3024;
}
.media-item .flash {
    font-size: 13px;
    padding: 10px;
}
button:disabled {
    opacity: 0.6;
    cursor: default;
}
@media (max-width: 600px) {
    .editor-actions {
        top: 4px;
        padding: 12px;
        gap: 10px;
    }
    .editor-buttons {
        width: 100%;
    }
    .editor-buttons .button {
        flex: 1 1 auto;
        font-size: 13px;
        padding: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-motion-enabled .hero-background {
        animation: none;
        transform: none;
    }
}

.property-card.is-completed .card-image img {
    filter: grayscale(1);
    opacity: 0.75;
}
.property-card.is-completed .card-body {
    background: #f1f3f4;
}
.property-card.is-completed .card-badges .state {
    background: #43535c;
    color: #fff;
}
.price-period-pending {
    display: block;
    font-size: 12px;
    color: #536873;
    font-weight: 400;
}
.rental-budget-hint {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.inquiry-property {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.inquiry-property:not(:has(img)) {
    grid-template-columns: 1fr;
}
.inquiry-property img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}
.inquiry-property h2 {
    font-family: inherit;
    font-size: 20px;
    line-height: 1.35;
    margin: 6px 0;
}
.inquiry-property p {
    margin: 6px 0;
    font-size: 14px;
}
.inquiry-property .eyebrow {
    font-size: 11px;
}
.general-inquiry {
    font-size: 13px;
    color: var(--muted);
    text-decoration: underline;
}
@media (max-width: 600px) {
    .inquiry-property {
        grid-template-columns: 1fr;
    }
    .inquiry-property img {
        width: 100%;
        height: 150px;
    }
}

.crm-toast {
    position: fixed;
    z-index: 1000;
    top: 20px;
    right: 24px;
    max-width: min(460px, calc(100vw - 32px));
    padding: 16px 22px;
    border: 1px solid #b6d8c2;
    border-radius: 10px;
    background: #eaf5ed;
    color: #205738;
    box-shadow: 0 8px 30px #152d3526;
}
.feature-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.feature-options {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    min-width: 0;
}
.feature-options legend {
    font-weight: 700;
    padding: 0 6px;
}
.feature-options .check {
    margin: 10px 0;
}
.media-order-panel {
    margin: 24px 0;
    padding: 18px;
    background: var(--paper);
    border-radius: 8px;
}
.media-order-panel summary {
    cursor: pointer;
    font-weight: 700;
}
[data-order-list] {
    list-style: none;
    padding: 0;
}
[data-order-id] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
[data-order-id] img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}
[data-order-position] {
    min-width: 20px;
    font-variant-numeric: tabular-nums;
}
.order-name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
}
.order-name small {
    display: block;
    color: var(--muted);
}
.order-name small[hidden] {
    display: none;
}
.drag-handle {
    cursor: grab;
    background: transparent;
    border: 0;
    font-size: 28px;
    color: inherit;
    padding: 8px;
}
.dragging {
    opacity: 0.45;
}
@media (max-width: 600px) {
    .feature-groups {
        grid-template-columns: 1fr;
    }
    .crm-toast {
        top: 12px;
        right: 16px;
    }
    [data-order-id] {
        gap: 5px;
        flex-wrap: wrap;
    }
    [data-order-id] img {
        width: 44px;
        height: 40px;
    }
    .order-name {
        min-width: 90px;
    }
}
.drag-handle {
    touch-action: none;
    user-select: none;
}
.drop-target {
    outline: 2px solid #2d6ba3;
    outline-offset: 2px;
    background: #eaf2fa;
}

.statistics-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.statistics-filter select {
    width: auto;
}
.table-scroll {
    overflow-x: auto;
}
.table-scroll th:not(:first-child),
.table-scroll td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.legal-content {
    max-width: 900px;
}
.legal-content section {
    margin-block: 2.5rem;
}
.legal-content dt {
    font-weight: 700;
    margin-top: 1rem;
}
.legal-content dd {
    margin: 0.25rem 0 0;
    overflow-wrap: anywhere;
}
.legal-content p {
    overflow-wrap: anywhere;
}
.privacy-summary {
    font-size: 0.9rem;
    color: var(--muted);
}

.statistics-daily summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
}
.statistics-daily[open] summary {
    margin-bottom: 1.5rem;
}
.legal-content .table-scroll td,
.legal-content .table-scroll th {
    text-align: left;
    white-space: normal;
    min-width: 130px;
}

.projects-switch {
    margin-bottom: 2.5rem;
}
.projects-switch .search-tabs {
    margin-bottom: 0;
}
.search-tabs {
    flex-wrap: wrap;
}
.floorplan-dialog {
    width: min(1200px, 96vw);
    max-width: 96vw;
    height: 92dvh;
    max-height: 92dvh;
    border: 0;
    border-radius: 12px;
    padding: 20px;
    color: var(--ink);
}
.floorplan-dialog::backdrop {
    background: #061218dc;
}
.floorplan-dialog[open] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floorplan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.floorplan-header h2 {
    font-family: inherit;
    font-size: 1.1rem;
    margin: 0;
}
.floorplan-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.floorplan-viewport {
    flex: 1;
    min-height: 0;
    overflow: auto;
    background: #f3f5f5;
    border: 1px solid var(--line);
}
.floorplan-viewport img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    display: block;
}
.floorplan-viewport iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.floorplan-dialog button:disabled {
    opacity: 0.4;
    cursor: default;
}
@media (max-width: 600px) {
    .floorplan-dialog {
        padding: 12px;
    }
    .floorplan-header {
        align-items: flex-start;
    }
    .floorplan-header .button {
        padding: 10px;
        white-space: nowrap;
    }
    .floorplan-tools {
        gap: 8px;
    }
    .floorplan-tools .button {
        padding: 8px 14px;
    }
    .search-tabs a {
        padding-inline: 12px;
    }
}

.floorplan-viewport img {
    margin-inline: auto;
}

.review-summary{display:flex;gap:24px;align-items:flex-start}.review-summary img{width:160px;height:115px;object-fit:cover;border-radius:8px}.review-issue{border-left:3px solid #b67523;padding:14px 20px;margin:20px 0;background:#fffcf5}.review-issue.is-resolved{border-color:#40805a;background:#f2f8f4}.review-issue form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.review-issue .field{flex:1;min-width:180px}.review-card details{margin-top:20px}.review-card summary{cursor:pointer;font-weight:600;padding:12px 0}.review-card h2{font-size:1.5rem}@media(max-width:600px){.review-summary{display:block}.review-summary img{width:100%;height:160px;margin-bottom:16px}}

.mfa-secret{overflow-wrap:anywhere;letter-spacing:.06em;padding:1rem;background:var(--cream,#f3f5f3)}
