/* DuAl brand details, listings for rent or sale, and agent access. Colours follow dual-realestate.com. */
[data-requires][hidden]{display:none!important}
.brand{color:#2e3f52;padding-left:8px}.brand .brand-logo{display:block;width:176px;height:auto}
.workspace-avatar{background:#8e7b6d;border-color:#8e7b6d;color:#fdf5ed}.workspace-avatar svg{width:20px;height:20px}
.btn-primary{background:#2e3f52;border-color:#2e3f52}.btn-primary:hover{background:#233142;border-color:#233142}
.btn-danger{background:transparent;color:#a3432f;border:1px solid #e4c3bb}.btn-danger:hover{background:#f8ebe7;border-color:#d9a596}.modal-actions .btn-danger{margin-right:auto}
.user-profile{cursor:pointer;border-radius:8px}.user-profile:hover{background:#e9eef3}

/* Overview panels hidden by access close up instead of leaving gaps. */
.overview-refresh .stats-grid>.stat-card[hidden]+.stat-card{grid-column:span 2}
.insights-grid:has(>.revenue-panel[hidden]){grid-template-columns:1fr}
.insights-grid:not(:has(>section:not([hidden]))){display:none}

/* Listings */
.listing-tag{position:absolute;left:15px;bottom:15px;z-index:1;background:#1f2b38e6;color:#f8f6f3;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:6px 8px;border-radius:5px;backdrop-filter:blur(6px)}.listing-sale{background:#6e5c4fe8}
.property-image-wrap>.status-under-offer{color:#9a7d45}.property-image-wrap>.status-sold{color:#6b7684}
.listing-switch{border:0;padding:0;margin:0;display:flex;gap:8px;min-width:0}.listing-switch legend{font-size:14px;color:#505a63;margin-bottom:8px;padding:0}.listing-switch label{flex:1;position:relative}.listing-switch input{position:absolute;opacity:0;pointer-events:none}.listing-switch span{display:block;text-align:center;padding:11px;border:1px solid #e8e3de;border-radius:8px;font-size:14px;font-weight:600;color:#5b6878;background:#fff;cursor:pointer}.listing-switch input:checked+span{background:#2e3f52;border-color:#2e3f52;color:#f8f6f3}.listing-switch input:focus-visible+span{outline:2px solid #8ba2bc;outline-offset:2px}
.property-toolbar .filter-tabs button{display:inline-flex;align-items:center;gap:7px}.property-toolbar .filter-tabs button>span{font-size:12px;font-weight:600;background:#e9eef3;color:#2e3f52;padding:2px 5px;border-radius:4px}.property-toolbar .filter-tabs button.active>span{background:#fff}
.form-note{display:flex;align-items:center;gap:8px;font-size:13px;color:#5b6878;background:#f0f3f7;border-radius:8px;padding:11px 13px;margin:0}.form-note .icon{width:15px;height:15px;color:#2e3f52;flex-shrink:0}

/* Access */
.access-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#59697b;background:#edf1f6;border-radius:5px;padding:5px 8px;white-space:nowrap}.access-badge .icon{width:12px;height:12px}.access-badge.is-admin{background:#1f2b38;color:#d6dfe8}
.team-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:17px 0 22px}.team-tags .team-specialty{margin:0}
.team-access-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 12px}.team-access-heading>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.team-access-heading h3{font-size:18px;font-weight:500;letter-spacing:-.3px}.team-access-heading .btn{font-size:12px;padding:9px 12px;min-height:34px;gap:8px}.team-access-heading .btn .icon{width:14px;height:14px}
.access-summary{list-style:none;margin:0;padding:16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;background:#f0f3f7;border-radius:10px}.access-summary li{display:flex;align-items:center;gap:8px;font-size:13px;color:#8a929b}.access-summary .icon{width:14px;height:14px;flex-shrink:0;color:#b4bcc5}.access-summary .is-allowed{color:#302b27}.access-summary .is-allowed .icon{color:#2e3f52}
.access-form{display:grid;gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid #e8e3de}#team-access-form .access-form{margin-top:0;padding-top:0;border-top:0}
.access-fieldset{border:0;padding:0;margin:0;min-width:0;transition:opacity .2s}.access-fieldset legend{font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#2e3f52;margin-bottom:10px;padding:0}.access-fieldset[disabled]{opacity:.45}.access-fieldset[disabled] label{cursor:not-allowed}
.access-choice,.access-permissions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.access-option,.access-permission{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #e8e3de;border-radius:9px;background:#fff;cursor:pointer}.access-option:has(input:checked),.access-permission:has(input:checked){border-color:#2e3f52;background:#f3f6f9}
.access-option input,.access-permission input{width:15px;height:15px;margin-top:2px;flex-shrink:0;accent-color:#2e3f52}
.access-option strong,.access-permission strong{display:block;font-size:14px;font-weight:600;color:#302b27}.access-option small,.access-permission small{display:block;font-size:12px;line-height:1.5;color:#6b7684;margin-top:3px}

/* Account switcher and the agent's own account page */
.account-list{display:grid;gap:6px;margin-top:4px}.account-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #e8e3de;background:#fff;border-radius:10px;padding:11px 13px;cursor:pointer}.account-row:hover{border-color:#b5c2d1}.account-row>span:nth-child(2){flex:1;min-width:0}.account-row strong{display:block;font-size:14px;font-weight:600}.account-row small{display:block;font-size:12px;color:#6b7684;margin-top:3px}.account-row>.icon{width:13px;height:13px;color:#7f8fa1}.account-row.is-current{border-color:#2e3f52;background:#f3f6f9}
.account-current{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#2e3f52;white-space:nowrap}.account-current .icon{width:13px;height:13px}.account-owner-avatar{background:#1f2b38;color:#d6dfe8}
.account-panel>.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.account-access{padding:0 23px 23px}.account-access h3{font-size:16px;font-weight:600;margin-bottom:12px}.account-access .muted{font-size:13px;margin-top:14px}

/* Dialog buttons stay in view at the bottom while the content above them scrolls. */
/* Chrome measures "sticky" from inside the dialog's padding, so the offset matches that padding to reach the very bottom edge. */
#app-modal .modal-actions{position:sticky;bottom:-36px;z-index:3;margin:28px -36px -36px;padding:16px 36px 22px;background:#f8f6f3;border-top:1px solid #e8e3de}
@media(max-width:700px){#app-modal .modal-actions{bottom:-28px;margin:24px -22px -28px;padding:14px 22px 18px;flex-wrap:wrap}
  /* On phones the listing's four buttons sit two by two, the edits first. */
  #app-modal.property-dialog .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#app-modal.property-dialog .modal-actions .btn{justify-content:center;margin:0}#app-modal.property-dialog .modal-actions [data-action^=property-edit],#app-modal.property-dialog .modal-actions [data-action=property-quick]{order:-1}#app-modal.property-dialog .modal-actions .btn:only-child{grid-column:1/-1}}
/* Placeholders are hints, lighter than what's typed. */
.form-field input::placeholder,.form-field textarea::placeholder{color:#8a929b;opacity:1}
/* Messages appear above the editor's save bar, not on top of it. */
body:has(.editor-bar) .toast{bottom:100px}
@media(max-width:700px){body:has(.editor-bar) .toast{bottom:86px}}
#app-modal.quick-dialog{max-width:560px;width:calc(100% - 32px)}
.text-button{border:0;background:none;padding:0;font:inherit;color:#2e3f52;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.text-button:hover{color:#1f2b38}

/* The listing editor page (#listing/<id>): the form on the left, price, website and agent on the right, and a save bar that stays in view. */
.editor-back{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:6px 0;margin-bottom:4px;font-size:14px;font-weight:600;color:#5b6878;cursor:pointer}.editor-back:hover{color:#1f2b38}.editor-back .icon{width:14px;height:14px;transform:rotate(180deg)}
.listing-editor{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.editor-main,.editor-side{display:grid;gap:20px;min-width:0;align-content:start}
.editor-panel{padding:24px 26px 26px;overflow:visible}
.editor-panel-head h2{font-size:19px;font-weight:600;letter-spacing:-.3px;color:#302b27;margin:0}.editor-panel-head p{font-size:14px;line-height:1.6;color:#6b7684;margin:6px 0 0}
.editor-panel .form-grid{margin-top:18px}.editor-panel .amenity-groups,.editor-panel .photo-grid,.editor-panel .photo-grid:empty+.photo-add{margin-top:18px}
.editor-panel .publish-check,.editor-panel>.form-note,.editor-panel>.form-field{margin-top:16px}
.editor-sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.listing-editor textarea{resize:vertical;min-height:140px;line-height:1.6;font:inherit;font-size:15px}
.editor-preview-image{position:relative;aspect-ratio:16/10;background:#e9eef3}.editor-preview-image img{width:100%;height:100%;object-fit:cover;display:block}
.editor-preview-body{padding:16px 18px 18px;display:grid;gap:4px}.editor-preview-body p{font-size:13px;color:#6b7684;margin:0}.editor-preview-body strong{font-size:17px;font-weight:600;color:#302b27;line-height:1.35;overflow-wrap:anywhere}.editor-preview-body span{font-size:15px;font-weight:600;color:#2e3f52;margin-top:4px}
.editor-live{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:14px;font-weight:600;color:#2e3f52}.editor-live .icon{width:13px;height:13px}
.editor-danger .btn{margin-top:14px}
.editor-bar{grid-column:1/-1;position:sticky;bottom:16px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px 12px 20px;background:#fff;border:1px solid #e8e3de;border-radius:12px;box-shadow:0 10px 30px #1f2b381f}
.editor-state{margin:0;display:flex;align-items:center;gap:8px;font-size:14px;color:#6b7684}.listing-editor.is-dirty .editor-state{color:#8a6a33;font-weight:600}.listing-editor.is-dirty .editor-state:before{content:'';width:8px;height:8px;border-radius:50%;background:#c3a76a}
.editor-bar-buttons{display:flex;gap:8px}
@media(max-width:1100px){.listing-editor{grid-template-columns:minmax(0,1fr)}.editor-side{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-preview{grid-row:span 2}}
@media(max-width:700px){.editor-side{grid-template-columns:minmax(0,1fr)}.editor-preview{grid-row:auto}.editor-panel{padding:20px 18px 22px}.editor-sizes{gap:10px}.editor-bar{bottom:10px;padding:10px 10px 10px 14px}.editor-bar .btn{padding:10px 13px;font-size:14px}}

/* Listing form: tick-box amenities, photos, and publishing to the local website */
.form-field small,.price-field small{font-weight:400;color:#8a929b;margin-left:4px}
.price-field{display:flex;flex-direction:column;gap:8px}.price-field>input:disabled{opacity:.45}.inline-check{display:flex;align-items:center;gap:7px;font-size:13px;color:#5b6878;cursor:pointer}.inline-check input{width:14px;height:14px;accent-color:#2e3f52}
.form-section{margin-top:26px;padding-top:22px;border-top:1px solid #e8e3de}.form-section>h3{font-size:17px;font-weight:600;color:#302b27;letter-spacing:-.2px}.form-section>p{font-size:13px;line-height:1.6;color:#6b7684;margin:6px 0 14px}
.amenity-groups{display:grid;gap:16px}.amenity-group{border:0;padding:0;margin:0;min-width:0}.amenity-group legend{font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#2e3f52;margin-bottom:9px;padding:0}.amenity-group>div{display:flex;flex-wrap:wrap;gap:7px}
.amenity-check{position:relative;cursor:pointer}.amenity-check input{position:absolute;opacity:0;pointer-events:none}.amenity-check span{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #e8e3de;border-radius:999px;background:#fff;font-size:13px;font-weight:500;color:#505a63;transition:background .15s,border-color .15s,color .15s}.amenity-check .icon{display:none;width:13px;height:13px;margin-left:-2px}.amenity-check:hover span{border-color:#b5c2d1}.amenity-check input:checked+span{background:#2e3f52;border-color:#2e3f52;color:#f8f6f3}.amenity-check input:checked+span .icon{display:block}.amenity-check input:focus-visible+span{outline:2px solid #8ba2bc;outline-offset:2px}
.photo-grid{list-style:none;margin:0 0 10px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}.photo-grid:empty{display:none}.photo-grid li{position:relative;aspect-ratio:4/3;border-radius:9px;overflow:hidden;background:#e9eef3}.photo-grid img{width:100%;height:100%;object-fit:cover}.photo-cover,.photo-grid li>button[data-action=photo-cover]{position:absolute;left:6px;bottom:6px;font-size:12px;font-weight:700;padding:4px 7px;border-radius:5px;border:0;background:#1f2b38e6;color:#f8f6f3}.photo-grid li>button[data-action=photo-cover]{background:#f8f6f3ee;color:#2e3f52;cursor:pointer}.photo-remove{position:absolute;top:6px;right:6px;width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:50%;background:#f8f6f3ee;color:#302b27;cursor:pointer}.photo-remove .icon{width:12px;height:12px}.photo-remove:hover{background:#f8ebe7;color:#a3432f}
.photo-add{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;border:1.5px dashed #c3cfdb;border-radius:10px;background:#fff;color:#2e3f52;font-size:14px;font-weight:600;cursor:pointer}.photo-add:hover{background:#f3f6f9;border-color:#2e3f52}.photo-add input{position:absolute;width:1px;height:1px;opacity:0}.photo-add:focus-within{outline:2px solid #8ba2bc;outline-offset:2px}.photo-add .icon{width:16px;height:16px}.photo-progress{font-size:13px;color:#5b6878;margin-top:8px;min-height:16px}
.publish-check{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border:1px solid #c3cfdb;border-radius:10px;background:#f3f6f9;cursor:pointer}.publish-check input{width:17px;height:17px;margin-top:1px;flex-shrink:0;accent-color:#2e3f52}.publish-check strong{display:block;font-size:16px;font-weight:600;color:#1f2b38}.publish-check small{display:block;font-size:13px;line-height:1.6;color:#5b6878;margin-top:4px}.publish-check:has(input:disabled){opacity:.6;cursor:not-allowed}
.website-tag{position:absolute;right:15px;bottom:15px;z-index:1;display:inline-flex;align-items:center;gap:4px;background:#f8f6f3ee;color:#2e3f52;font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:6px 8px;border-radius:5px;backdrop-filter:blur(6px)}.website-tag .icon{width:11px;height:11px}
.detail-amenities{margin:20px 0 4px}.detail-amenities h3{font-size:16px;font-weight:600;margin-bottom:10px}.detail-amenities ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.detail-amenities li{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#2e3f52;background:#e9eef3;border-radius:999px;padding:6px 10px}.detail-amenities .icon{width:12px;height:12px}
.detail-website{display:flex;align-items:flex-start;gap:9px;margin:18px 0 6px;padding:12px 14px;border-radius:9px;background:#f0f3f7;font-size:13px;line-height:1.6;color:#5b6878}.detail-website .icon{width:16px;height:16px;flex-shrink:0;color:#8a929b}.detail-website.is-live{background:#e5ebf1;color:#2e3f52}.detail-website.is-live .icon{color:#2e3f52}.detail-website a{color:#1f2b38;font-weight:600;display:inline-flex;align-items:center;gap:3px}.detail-website a .icon{width:12px;height:12px;color:inherit}
.website-status{display:flex;align-items:center;gap:12px;margin:-8px 0 20px;padding:13px 16px;border:1px solid #c3cfdb;border-radius:10px;background:#f3f6f9;font-size:14px;line-height:1.6;color:#46525f}.website-status>.icon{width:17px;height:17px;flex-shrink:0;color:#2e3f52}.website-status>span{flex:1}.website-status strong{color:#1f2b38}.website-status code{font-size:13px;background:#fff;border:1px solid #e8e3de;border-radius:4px;padding:1px 5px}.website-status a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-weight:600;color:#2e3f52}.website-status a .icon{width:13px;height:13px}.website-status.is-off{background:#fbf6ec;border-color:#ecdcbc;color:#7a6440}.website-status.is-off>.icon{color:#9a7d45}

/* Room under the last thing on every page, so content never runs into the bottom edge. */
#main-content{padding-bottom:96px}
@media(max-width:680px){#main-content{padding-bottom:64px}}

/* One agency, one sidebar: the main pages, then the agency's own pages at the bottom. It fits a laptop screen without scrolling. */
.sidebar .brand{margin-bottom:30px}.sidebar .nav-list{gap:3px}.sidebar .nav-item{height:44px;white-space:nowrap}.sidebar .nav-item>span:nth-child(2){overflow:hidden;text-overflow:ellipsis}
.sidebar-bottom{margin-top:auto;padding:16px 0 22px;border-top:1px solid #e8e3de}
.nav-counter,.team-nav-count,.nav-attention{font-size:12px}

/* Top bar dropdowns: notifications and the signed-in account */
.topbar-menu-wrap{position:relative;display:flex;align-items:center}
.topbar-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:370px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e8e3de;border-radius:12px;box-shadow:0 18px 44px #1f2b3826;padding:8px}
.topbar-menu-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px 12px;border-bottom:1px solid #eef0f3;margin-bottom:6px}.topbar-menu-head strong{font-size:16px;font-weight:600;color:#1f2b38}.topbar-menu-head button{border:0;background:none;color:#2e3f52;font-size:13px;font-weight:600;cursor:pointer}.topbar-menu-head button:hover{text-decoration:underline}
.notification-item{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;border:0;background:none;padding:12px 10px;border-radius:8px;cursor:pointer}.notification-item:hover{background:#f3f6f9}
.notification-item .notification-dot{position:static;display:block;flex-shrink:0;width:9px;height:9px;border-radius:50%;margin-top:6px;background:#2e3f52;box-shadow:none}.notification-item .notification-dot.amber{background:#c3a76a}.notification-item .notification-dot.purple{background:#8a749a}.notification-item:not(.is-unread) .notification-dot{background:#d3dae2}
.notification-item strong{display:block;font-size:14px;font-weight:600;color:#302b27}.notification-item:not(.is-unread) strong{font-weight:500;color:#5b6878}.notification-item span>span{display:block;font-size:13px;line-height:1.5;color:#5b6878;margin-top:3px}.notification-item small{display:block;font-size:12px;color:#8a929b;margin-top:5px}
.topbar-menu-empty{padding:20px 10px;font-size:14px;color:#5b6878}
.account-button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:4px 10px 4px 4px;border-radius:999px;cursor:pointer;color:#302b27}.account-button:hover,.account-button[aria-expanded=true]{background:#e9eef3}.account-button .topbar-avatar{width:36px;height:36px;font-size:13px;display:grid;place-items:center;flex-shrink:0}.account-button-text{text-align:left;line-height:1.35}.account-button-text strong{display:block;font-size:14px;font-weight:600}.account-button-text small{display:block;font-size:12px;color:#5b6878}.account-button>[data-icon] .icon{width:15px;height:15px;color:#5b6878}
.account-menu{width:300px}.account-menu-head{display:flex;align-items:center;gap:12px;padding:10px 10px 14px;border-bottom:1px solid #eef0f3;margin-bottom:6px}.account-menu-head .avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#1f2b38;color:#d6dfe8;font-size:14px;flex-shrink:0}.account-menu-head strong{display:block;font-size:15px;font-weight:600}.account-menu-head small{display:block;font-size:12px;color:#5b6878;margin-top:2px}
.account-menu>button{display:flex;align-items:center;gap:11px;width:100%;border:0;background:none;padding:11px 10px;border-radius:8px;font-size:14px;color:#302b27;cursor:pointer;text-align:left}.account-menu>button:hover{background:#f3f6f9}.account-menu .icon{width:18px;height:18px;color:#5b6878}

/* Adding an amenity of your own */
.amenity-custom{margin-top:16px}
.amenity-add{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border:1.5px dashed #c3cfdb;border-radius:999px;background:#fff;color:#2e3f52;font-size:13px;font-weight:600;cursor:pointer}.amenity-add:hover{border-color:#2e3f52;background:#f3f6f9}.amenity-add .icon{width:15px;height:15px}
.amenity-new{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:12px;align-items:end;padding:16px;border:1px solid #c3cfdb;border-radius:10px;background:#f3f6f9}.amenity-new-actions{grid-column:1/-1;display:flex;gap:8px}
.amenity-ask{padding:16px 18px;border:1px solid #2e3f52;border-radius:10px;background:#f3f6f9}.amenity-ask p{font-size:13px;line-height:1.6;color:#5b6878;margin:0 0 12px}.amenity-ask p strong{font-size:15px;color:#1f2b38}.amenity-ask div{display:flex;gap:8px;flex-wrap:wrap}
.amenity-check em{font-style:normal;font-size:12px;opacity:.7;margin-left:4px}

.table-wrap{overflow-x:auto;max-width:100%}

/* Signing in: the workspace stays hidden until the server knows who you are. */
body.is-loading .sidebar,body.is-loading .app-shell,body.is-signed-out .sidebar,body.is-signed-out .app-shell{display:none}
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:#f8f6f3}
.auth-card{width:100%;max-width:440px;background:#fff;border:1px solid #e8e3de;border-radius:16px;padding:34px 32px;box-shadow:0 20px 50px #1f2b3812}
.auth-logo{color:#2e3f52;margin-bottom:26px}.auth-logo .brand-logo{width:190px;height:auto;display:block}
.auth-card .eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;color:#2e3f52}.auth-card h1{font-size:32px;font-weight:500;letter-spacing:-1.2px;margin:10px 0 8px;color:#302b27}.auth-card>.muted{font-size:14px;line-height:1.6;color:#5b6878;margin-bottom:22px}
.auth-card form{display:grid;gap:14px}.auth-card .btn{width:100%;justify-content:center;min-height:46px;font-size:14px}
.auth-error{min-height:18px;font-size:13px;color:#a3432f;margin:0}.auth-note{font-size:14px;line-height:1.6;margin:16px 0}.auth-help a{color:inherit;text-decoration:underline}.auth-help{font-size:12px;color:#6b7684;margin-top:18px;line-height:1.6}

/* The DuAl brand in place of stock photos */
.portfolio-hero.brand-hero{background:#1f2b38;display:flex;flex-direction:column;justify-content:center;padding:34px 30px 90px}
.overview-refresh .portfolio-hero.brand-hero:after{display:none}
.brand-hero-logo{color:#f8f6f3}.brand-hero-logo .brand-logo{width:min(260px,80%);height:auto;display:block}
.brand-hero .hero-photo-caption>p{font-size:22px}.brand-hero .hero-photo-caption>span{color:#acb9c8}
.brand-agency-hero .brand-agency-logo{display:grid;place-items:center;padding:30px;color:#f8f6f3;border-left:1px solid #ffffff1c}.brand-agency-logo .brand-logo{width:min(320px,90%);height:auto}
.agency-links{display:grid;gap:12px;margin:14px 0 22px}.agency-links div{display:flex;justify-content:space-between;gap:12px;font-size:14px}.agency-links dt{color:#6b7684}
.heading-buttons{display:flex;gap:8px;flex-wrap:wrap}.badge-button{border:0;cursor:pointer;font:inherit}.badge-button:hover{background:#dfe6ef}
.panel-empty{padding:18px 23px 22px;font-size:14px;line-height:1.6;color:#6b7684}
.settings-grid{display:grid;gap:20px;max-width:900px}.settings-panel form{padding:0 23px 23px}

/* Enquiries */
.lead-list{display:grid;gap:8px}.lead-list.compact{gap:0;padding:6px 12px 4px}
.lead-row{display:flex;align-items:flex-start;gap:14px;width:100%;text-align:left;background:#fff;border:1px solid #e8e3de;border-radius:12px;padding:15px 16px;cursor:pointer}
.lead-row:hover{border-color:#b5c2d1;box-shadow:0 6px 18px #1f2b3808}
.lead-list.compact .lead-row{border:0;border-bottom:1px solid #eef0f3;border-radius:0;padding:13px 11px}
.lead-main{flex:1;min-width:0}.lead-main strong{display:block;font-size:15px;font-weight:600;color:#302b27}.lead-main small{display:block;font-size:13px;color:#5b6878;margin-top:3px}
.lead-message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.5;color:#6b7684;margin-top:6px}
.lead-list.compact .lead-message{-webkit-line-clamp:1}
.lead-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0;text-align:right}.lead-side small{font-size:12px;color:#7f8994}
.lead-status{display:inline-block;font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;background:#eef1f5;color:#46525f}
.lead-status-new{background:#1f2b38;color:#f8f6f3}.lead-status-contacted{background:#e5ebf1;color:#2e3f52}.lead-status-viewing-booked{background:#f6efdf;color:#8a6a33}.lead-status-closed{background:#eef0ec;color:#6b7368}
.lead-contact{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.btn-whatsapp{background:#1d8f52;border-color:#1d8f52;color:#fff}.btn-whatsapp:hover{background:#177845}
.lead-property{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #e8e3de;background:#fff;border-radius:10px;padding:10px;cursor:pointer;margin-bottom:14px}.lead-property img{width:56px;height:56px;border-radius:8px;object-fit:cover}.lead-property span{flex:1;min-width:0}.lead-property strong{display:block;font-size:14px}.lead-property small{display:block;font-size:12px;color:#6b7684;margin-top:3px}.lead-property .icon{width:15px;height:15px;color:#7f8fa1}
.lead-quote{margin:0 0 10px;padding:14px 16px;border:1px solid #e8e3de;background:#f3f6f9;border-radius:10px;font-size:14px;line-height:1.6;color:#302b27;white-space:pre-wrap}
#app-modal .lead-page{font-size:12px;overflow-wrap:anywhere;margin-bottom:16px}
.account-button .topbar-avatar{border-radius:50%;background:#e0e7ef;color:#2e3f52;font-weight:600;border:0}
#app-modal.lead-dialog{max-width:640px;width:calc(100% - 32px)}
@media(max-width:680px){.lead-row{flex-wrap:wrap}.lead-side{flex-direction:row;align-items:center;flex-wrap:wrap;width:100%;padding-left:52px;justify-content:flex-start}.brand-agency-hero .brand-agency-logo{border-left:0;border-top:1px solid #ffffff1c}.portfolio-hero.brand-hero{padding:26px 22px 70px}}

@media(max-width:1200px){.brand .brand-logo{width:160px}}
@media(max-width:1100px){.account-button-text,.account-button>[data-icon]{display:none}.account-button{padding:0}.property-toolbar{flex-wrap:wrap}.property-toolbar .filter-tabs{overflow-x:auto;scrollbar-width:none;max-width:100%}.property-toolbar .filter-tabs button{flex-shrink:0;white-space:nowrap}}
@media(max-width:900px){.search-box input{width:110px}.topbar-actions{gap:12px}}
@media(max-width:1000px){.brand .brand-logo{width:150px}}
@media(max-width:680px){.brand .brand-logo{width:170px}.access-choice,.access-permissions,.access-summary{grid-template-columns:1fr}.team-access-heading{flex-direction:column;align-items:flex-start}.website-status{flex-wrap:wrap}.photo-grid{grid-template-columns:repeat(2,1fr)}.account-button-text,.account-button>[data-icon]{display:none}.account-button{padding:0}.topbar-menu{position:fixed;top:68px;left:12px;right:12px;width:auto;max-width:none}.amenity-new{grid-template-columns:1fr}
  .property-controls .view-switch{display:none}.property-controls .filter-tabs{overflow-x:auto;scrollbar-width:none;max-width:100%}.property-controls .filter-tab{flex-shrink:0;white-space:nowrap}
  .breadcrumb-parent,.breadcrumb-slash{display:none}.search-box input{width:80px}.topbar-actions{gap:6px}}


.client-type{display:inline-block;background:#f1ede8;color:#2e3f52;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}
.client-consent{display:flex;align-items:flex-start;gap:8px;margin:12px 0;color:#6b7280}.client-consent.is-agreed{color:#1d6b43}.client-consent svg{flex:none;margin-top:2px}
.client-links{margin:14px 0}.client-links h3{margin:0 0 8px;font-size:14px}.client-links .lead-property{margin-bottom:8px}
#client-form select[multiple]{min-height:96px}

/* Commission and deals */
.deals-section{margin:16px 0;padding-top:14px;border-top:1px solid #e8e3de}
.deals-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.deals-heading h3{margin:0;font-size:14px}.deals-heading h3 span{color:#6b7684;font-weight:400}
.deal-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 12px;margin-bottom:8px;background:#f8f6f3;border:1px solid #e8e3de;border-radius:10px}
.deal-main{display:grid;gap:3px;min-width:0}.deal-main strong{color:#2e3f52}.deal-main small{color:#6b7684;overflow-wrap:anywhere}
.deal-actions{display:flex;gap:6px;flex-shrink:0}
.deal-preview{margin:10px 0 0;padding:10px 12px;background:#f8f6f3;border:1px solid #e8e3de;border-radius:10px;font-size:14px;color:#2e3f52}.deal-preview:empty{display:none}
.commission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.commission-grid label{display:grid;gap:4px;font-size:13px;color:#6b7684}
.agency-commission{margin:16px 0}.agency-commission dl{display:grid;gap:10px;margin:12px 0}.agency-commission dl div{display:flex;justify-content:space-between;gap:12px;font-size:14px}.agency-commission dt{color:#6b7684}
@media (max-width:560px){.deal-row{flex-direction:column}}

/* One status pill everywhere: solid cream with a light blur, readable on any photo (cards, listing dialog, deleted dialog). */
.property-image-wrap>.status-badge,.detail-hero .status-badge{background:#fffdf6;background:rgba(255,253,246,.94);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:7px 10px;border-radius:5px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#2e3f52;box-shadow:0 1px 4px rgba(31,43,56,.18);gap:6px;line-height:1.2}
.property-image-wrap>.status-under-offer,.property-image-wrap>.status-vacant,.detail-hero .status-under-offer,.detail-hero .status-vacant{color:#8a6a33}
.property-image-wrap>.status-sold,.detail-hero .status-sold{color:#5d6876}
.detail-hero .status-badge{z-index:2}

/* Grid cards: the price row sits at the same height even when one title wraps to two lines. */
.property-grid:not(.is-list) .property-card,.all-property-grid:not(.is-list) .property-card{display:flex;flex-direction:column}
.property-grid:not(.is-list) .property-card>.property-body,.all-property-grid:not(.is-list) .property-card>.property-body{flex:1;display:flex;flex-direction:column}
.property-grid:not(.is-list) .property-body>.property-bottom,.all-property-grid:not(.is-list) .property-body>.property-bottom{margin-top:auto}
#view h1:focus,#view h1:focus-visible{outline:none}

/* List view: a tall portrait photo must not stretch the row. */
.is-list .property-image-wrap{height:200px;min-height:0}
.is-list .property-image-wrap .property-image-button,.is-list .property-image-wrap .property-image{height:100%;width:100%}
@media(max-width:640px){
.is-list .property-card{flex-direction:column}
.is-list .property-image-wrap{width:100%;max-width:none;height:190px;flex:none}
.website-status>span{flex:1 1 calc(100% - 40px)}
.website-status a{margin-left:29px}
}
.detail-metrics>div{display:flex;flex-direction:column;justify-content:space-between;gap:4px}
@media(max-width:640px){
.report-breakdown:not(.finance-bars) .report-row{grid-template-columns:1fr 32px;gap:6px 10px;margin:14px 0}
.report-breakdown:not(.finance-bars) .report-row>span:first-child{grid-column:1/-1;line-height:1.35}
}
.editor-sizes{align-items:end}
#modal-content .eyebrow{padding-right:48px}
.price-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.price-row>input{flex:1 1 120px;min-width:0}.price-affix{font-size:14px;font-weight:600;color:#5b6878;min-width:34px}
.currency-toggle{display:flex;gap:0}.currency-toggle label{position:relative}.currency-toggle input{position:absolute;opacity:0;pointer-events:none}.currency-toggle span{display:block;padding:9px 14px;border:1px solid #e8e3de;font-size:14px;font-weight:600;color:#5b6878;background:#fff;cursor:pointer}.currency-toggle label:first-child span{border-radius:8px 0 0 8px}.currency-toggle label:last-child span{border-radius:0 8px 8px 0;border-left:0}.currency-toggle input:checked+span{background:#2e3f52;border-color:#2e3f52;color:#f8f6f3}.currency-toggle input:focus-visible+span{outline:2px solid #2e3f52;outline-offset:2px}
.price-hint{margin:0;font-size:13px;color:#8a5a00}
