/* Emerald glass design system. Loaded after the legacy component styles. */
:root {
  color-scheme:dark;
  --gray-25:#141e1d;
  --gray-50:#111918;
  --gray-100:#1b2926;
  --gray-200:#2a3b36;
  --gray-300:#3e554d;
  --gray-400:#9aafa6;
  --gray-500:#a1b4ac;
  --gray-600:#b6c6bf;
  --gray-700:#ccdad3;
  --gray-800:#e0e9e4;
  --gray-900:#f0f6f2;
  --bg:#0c1210;
  --surface:#15201c;
  --surface-2:#192720;
  --border:#2b3b33;
  --border-strong:#436052;
  --ink:#edf5ef;
  --ink-2:#c5d5cb;
  --muted:#9aafa2;
  --muted-2:#8a9f94;
  --accent:#65dbb0;
  --accent-hover:#92edcb;
  --accent-soft:#18382c;
  --accent-ring:rgba(101,219,176,.2);
  --accent2:#22a77f;
  --success:#6be0b0;
  --success-soft:#193b2c;
  --warning:#f3c57d;
  --warning-soft:#3e3220;
  --danger:#ff9898;
  --danger-soft:#3a2426;
  --info:#8fcddf;
  --info-soft:#20353c;
  --grad-primary:linear-gradient(135deg,#237659,#154b3b);
  --grad-primary-hover:linear-gradient(135deg,#2c8969,#1b604a);
  --grad-green:var(--grad-primary);
  --grad-cosmic:var(--grad-primary);
  --shadow-accent:0 4px 16px #0003,inset 0 1px #ffffff18;
  --shadow-green:var(--shadow-accent);
  --shadow-xs:0 1px 3px #0002;
  --shadow-sm:0 3px 10px #0002;
  --shadow-md:0 8px 24px #0003;
  --shadow-lg:0 20px 50px #0006;
  --shadow-xl:0 30px 80px #0008;
  --sb-bg:#0e1712;
  --sb-border:#ffffff10;
  --sb-text:#a1b5a8;
  --sb-text-h:#edf5ef;
  --sb-text-a:#b7f9d9;
  --sb-hover:#ffffff06;
  --sb-active:#213d2e;
  font-family:Inter,'Segoe UI',Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
}
body {
  color:var(--ink);
  background:radial-gradient(ellipse at 80% -10%,#183b2e80,transparent 48%),var(--bg);
  font-family:Inter,'Segoe UI',Arial,sans-serif;
}
::selection {
  background:#347256;
  color:#fff;
}
a {
  color:var(--accent);
}
button,input,select,textarea {
  font-family:inherit;
}
button,a,input,select,textarea {
  outline-offset:3px;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid var(--accent);
}
input,textarea,select {
  background-color:#111d17;
  color:var(--ink);
  border-color:var(--border);
}
input::placeholder,textarea::placeholder {
  color:var(--muted-2);
}
input:focus,textarea:focus,select:focus {
  border-color:var(--accent)!important;
  box-shadow:0 0 0 3px var(--accent-ring)!important;
}
option {
  background:#15201c;
  color:var(--ink);
}
input[type=checkbox] {
  accent-color:var(--accent);
}
button:disabled {
  opacity:.42;
  cursor:not-allowed;
}
* {
  scrollbar-width:thin;
  scrollbar-color:#42594a #101a14;
}
/* Catalog shell */
.crm-shell .sidebar {
  width:232px;
  min-width:232px;
  background:linear-gradient(160deg,#17291ec9,#0e1712 60%);
  overflow-y:auto;
}
.crm-shell .sidebar::before {
  background:radial-gradient(circle,#3fc9951c,transparent 65%);
}
.crm-shell .sidebar::after {
  background:radial-gradient(circle,#1ba57e0d,transparent 65%);
}
.crm-shell .sb-logo {
  padding:26px 20px;
  height:90px;
  gap:12px;
}
.crm-shell .sb-logo-icon {
  width:36px;
  height:36px;
  border-radius:11px;
  background:var(--grad-primary);
  box-shadow:0 0 24px #36b68218,inset 0 1px #ffffff38;
}
.crm-shell .sb-logo-text {
  font-size:17px;
  font-weight:650;
}
.crm-shell .sb-logo-text em {
  -webkit-text-fill-color:var(--accent);
}
.crm-shell .sb-section {
  padding:24px 20px 10px;
  color:#82988a;
  font-size:10px;
  letter-spacing:.13em;
}
.crm-shell .sb-nav {
  padding:0 12px;
  gap:5px;
}
.crm-shell .nav-item {
  border:1px solid transparent;
  background:transparent;
  width:100%;
  text-align:left;
  text-decoration:none;
  height:42px;
  gap:12px;
  padding:0 12px;
  font-size:12px;
  font-family:inherit;
}
.crm-shell .nav-item.active {
  background:linear-gradient(110deg,#2d5139aa,#1e3227aa);
  border-color:#5e98683d;
  box-shadow:inset 3px 0 #83cea0,0 4px 14px #0001;
  color:#d8f9e4;
}
.crm-shell .nav-item:hover {
  background:#ffffff08;
}
.crm-shell .nav-badge-sb {
  background:#ffffff0d;
  color:#b0d9bc;
  font-size:10px;
}
.crm-shell .sb-actions {
  padding:0 12px;
  gap:8px;
}
.crm-shell .sb-btn {
  height:39px;
  font-size:11.5px;
}
.crm-shell .sb-btn-primary:hover {
  box-shadow:var(--shadow-accent);
  transform:none;
}
.crm-shell .sb-footer {
  padding:16px 12px;
}
.crm-shell .sb-avatar {
  background:var(--grad-primary);
}
.crm-shell .sb-user-role,.crm-shell .sb-status-text {
  color:#93a89b;
}
.crm-shell .sb-sdot {
  animation:none;
}
.crm-shell .main-area {
  padding:0 28px 18px;
  gap:0;
  background:radial-gradient(ellipse at 80% 0,#184d3326,transparent 46%);
}
.crm-page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-shrink:0;
  padding:27px 0 23px;
}
.crm-eyebrow {
  font-size:9px;
  color:#91a99a;
  letter-spacing:.17em;
  font-weight:600;
}
.crm-page-heading h1 {
  font-size:26px;
  letter-spacing:-.7px;
  font-weight:600;
  margin:8px 0;
}
.crm-page-heading p {
  font-size:12px;
  color:var(--muted);
  margin:0;
}
.crm-create-link {
  display:flex;
  align-items:center;
  gap:18px;
  border:1px solid #58916e70;
  background:linear-gradient(125deg,#28543c,#1b3528);
  padding:12px 16px;
  border-radius:9px;
  color:#e2f9e8;
  text-decoration:none;
  font-size:12px;
  white-space:nowrap;
  box-shadow:inset 0 1px #ffffff12;
}
.crm-create-link:hover {
  border-color:var(--accent);
}
.crm-shell .stats-bar {
  display:flex;
  gap:12px;
  border:0;
  background:none;
  min-height:0;
  margin:0 0 22px;
  flex-wrap:wrap;
  overflow:visible;
}
.crm-shell .stat {
  flex:1;
  min-width:120px;
  border:1px solid #45604c66;
  background:linear-gradient(120deg,#253c2c88,#17251dc2);
  border-radius:12px;
  padding:12px 16px;
  box-shadow:inset 0 1px #ffffff04;
  backdrop-filter:blur(16px);
}
.crm-shell .stat:first-child {
  background:radial-gradient(ellipse at top right,#4c8d5140,transparent 80%),#1b3022;
  border-color:#4f76564d;
}
.crm-shell .stat:hover {
  background:#203428!important;
}
.crm-shell .stat-label {
  font-size:9px;
  color:#a2b7a8;
  letter-spacing:.09em;
}
.crm-shell .stat-val {
  background:none;
  -webkit-text-fill-color:var(--ink);
  font-size:24px!important;
  font-weight:600!important;
  letter-spacing:-.7px;
  margin-top:7px;
}
.crm-shell .stat-sub {
  font-size:10px;
  color:#95ab9c;
  margin-top:5px;
}
.crm-shell #st-health {
  font-size:20px!important;
}
.crm-shell .progress-wrap {
  flex-basis:100%;
  margin:0;
}
.crm-shell .view {
  border:1px solid var(--border);
  border-radius:13px;
  background:#131e18;
  box-shadow:0 12px 40px #0002;
}
.crm-shell .toolbar {
  padding:14px 16px;
  gap:9px;
  background:#19281ee6;
}
.crm-shell .toolbar-title {
  font-size:13px;
  margin-right:3px;
}
.crm-shell .btn,.crm-shell .flt-sel,.crm-shell input[type=text],.crm-shell select {
  height:33px;
  font-size:11px;
  border-radius:7px;
}
.crm-shell .btn {
  background:#1b2a21;
  color:#c9d9ce;
  border-color:#354739;
}
.crm-shell .btn:hover {
  background:#2b3f30;
  border-color:#57715d;
}
.crm-shell .bulk-panel {
  background:#111d17;
  gap:5px;
}
.crm-shell .count-badge,.crm-shell .b-type {
  background:#223b2c;
  color:#b5dcbc;
  border-color:#3c5942;
}
.crm-shell .b-ok {
  background:#193b2d;
  color:#8fe0b4;
  border-color:#28563f;
}
.crm-shell .b-agent {
  color:var(--warning);
  border-color:#675235;
}
.crm-shell .table-wrap {
  background:#141f18;
}
.crm-shell th {
  background:#1c2b21!important;
  color:#a2b6a8;
  padding:13px 10px;
  font-size:10px!important;
  letter-spacing:.025em!important;
  border-bottom-color:#344a39;
}
.crm-shell td {
  padding:14px 10px;
  border-bottom-color:#27362c;
  font-size:11px;
}
.crm-shell tbody tr:nth-child(even) td {
  background:#17231b;
}
.crm-shell tbody tr:hover td {
  background:#20372a!important;
}
.crm-shell tbody tr:has(.listing-check:checked) td {
  background:#244633!important;
  box-shadow:none;
}
.crm-shell .title-cell {
  font-size:12px;
  font-weight:550;
  line-height:1.55;
}
.crm-shell .meta {
  font-size:10px;
  color:#91a899;
}
.crm-shell .photo-wrap img,.crm-shell .no-photo {
  height:66px;
  width:88px;
  border-radius:8px;
}
.crm-shell .no-photo {
  background:linear-gradient(145deg,#293e2d,#17251c);
  border:1px solid #3c5541;
  color:#91ae99;
}
.crm-shell .price {
  color:#edf5ef;
}
.crm-shell .b-type {
  font-size:9px;
}
.crm-shell .crm-select {
  font-size:11px;
}
.crm-shell .modal {
  background:#17251e!important;
  border-color:#496353!important;
  box-shadow:var(--shadow-xl)!important;
}
.crm-shell .modal-header {
  background:#203327!important;
  border-color:var(--border)!important;
}
.crm-shell .client-card {
  border-color:var(--border)!important;
}
.crm-shell .pipeline-card:hover,.crm-shell .client-card:hover {
  border-color:#557b60!important;
  box-shadow:var(--shadow-md)!important;
}
.crm-shell .role-admin {
  color:var(--accent);
  background:var(--accent-soft);
}
.crm-shell .an-stat-val.accent {
  background:none;
  -webkit-text-fill-color:var(--accent);
}
/* Workspace and customer-facing proposals */
.layout {
  grid-template-columns:232px minmax(0,1fr);
}
.layout aside {
  position:sticky;
  top:0;
  height:100vh;
  background:linear-gradient(160deg,#1d3224bb,#0e1712 65%);
  border-right:1px solid #ffffff10;
  padding:30px 18px;
  gap:24px;
}
.brand {
  font-size:18px;
  font-weight:650;
  letter-spacing:-.5px;
  padding:0 8px;
}
.brand b {
  color:var(--accent);
  font-weight:600;
}
aside p {
  letter-spacing:.1em;
  text-transform:uppercase;
  font-size:10px;
  color:#a2b5a8;
  opacity:1;
  padding-left:8px;
}
nav button,nav a {
  font-size:12px;
  line-height:1.5;
  border:1px solid transparent;
  min-height:42px;
}
nav button.active {
  background:linear-gradient(110deg,#2b4b36,#1a2d22);
  color:#dcf6e4;
  border-color:#4d735444;
  box-shadow:inset 3px 0 #83cea0;
}
nav button:hover,nav a:hover {
  background:#ffffff08;
}
.identity {
  font-size:13px;
  padding:16px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#ffffff04;
}
.identity small {
  font-size:10px;
  color:#a3b9ab;
}
.layout main {
  padding:40px;
  max-width:1560px;
}
h1 {
  font-size:clamp(27px,3vw,38px);
  font-weight:600;
  letter-spacing:-1px;
  margin:12px 0 15px;
}
h2 {
  font-size:20px;
  font-weight:600;
}
h3 {
  font-size:15px;
  font-weight:600;
}
.muted,small {
  color:var(--muted);
}
.eyebrow {
  font-size:10px;
  letter-spacing:.16em;
  color:#a4cab3;
}
.metric,.panel,.row,.property {
  background:linear-gradient(125deg,#22382a60,#17241de8);
  border:1px solid var(--border);
  box-shadow:inset 0 1px #ffffff05,0 8px 28px #0001;
  border-radius:13px;
}
.metric {
  padding:23px;
}
.metric strong {
  font-weight:550;
  color:#e3f3e8;
  font-variant-numeric:tabular-nums;
}
.metrics {
  gap:16px;
}
.metric:first-child {
  background:radial-gradient(ellipse at top right,#568a4840,transparent),#1c3021;
  border-color:#456448;
}
.panel {
  padding:26px;
}
.row {
  padding:18px;
}
.empty {
  color:var(--muted);
  background:#ffffff02;
  padding:35px;
  border-color:#3d5445;
}
.layout button,.public button {
  background:#213327;
  color:#d8e9dd;
  border-color:#3b5342;
  font-size:13px;
  border-radius:8px;
  transition:background .15s,border-color .15s;
}
.layout button:hover,.public button:hover {
  background:#2b4633;
  border-color:#6d9779;
}
.layout .primary {
  background:var(--grad-primary);
  border-color:#4d9570;
  color:#effbf3;
  box-shadow:inset 0 1px #ffffff15;
}
.layout nav button {
  background:transparent;
}
.layout nav button.active {
  background:linear-gradient(110deg,#2b4b36,#1a2d22);
}
.layout input,.layout select,.layout textarea,.public textarea {
  background:#101c16;
  color:var(--ink);
  border-color:#354c3c;
  border-radius:8px;
  font-size:13px;
}
.layout label {
  color:#b4cabc;
  font-size:12px;
}
.layout .danger {
  color:var(--danger);
}
.status {
  background:var(--accent-soft);
  color:#a4edc5;
}
#notice {
  background:#204b34;
  color:#d0f5df;
  border:1px solid #467958;
}
#notice.error {
  background:#42262b;
  color:#ffc5cb;
  border-color:#80505a;
}
dialog {
  background:#17251d;
  color:var(--ink);
  box-shadow:var(--shadow-xl);
  border-color:#456650;
}
dialog::backdrop {
  background:#030b07b8;
  backdrop-filter:blur(9px);
}
#share-result {
  padding:18px;
  border:1px solid #477254;
  border-radius:10px;
  background:#203a28;
}
#mfa-recovery {
  padding:16px;
  background:#0d1811;
  border:1px solid var(--border);
  border-radius:8px;
  overflow:auto;
}
#editor>h2 {
  margin-top:0;
}
.public {
  min-height:100vh;
  background:radial-gradient(ellipse at 70% 0,#225b3a70,transparent 55%),#0d1610;
}
.public main {
  max-width:1200px;
  padding:48px 30px;
}
.public header {
  position:relative;
  padding:34px;
  border:1px solid #547c5566;
  background:linear-gradient(115deg,#294833ad,#1a332785);
  border-radius:20px;
  backdrop-filter:blur(20px);
  margin:24px 0 32px;
  box-shadow:inset 0 1px #ffffff0a,0 20px 70px #0002;
}
.public h1 {
  font-size:clamp(30px,4vw,48px);
  max-width:800px;
  line-height:1.16;
}
.public header p {
  font-size:16px;
  color:#c5d9cb;
  max-width:780px;
  line-height:1.7;
}
.public .property {
  background:#19291f;
}
.public .property h2 {
  margin-top:0;
  line-height:1.4;
}
.public .price {
  color:#aff2c7;
  font-size:27px;
  letter-spacing:-.7px;
}
.public .gallery {
  background:linear-gradient(145deg,#284834,#15251a);
  min-height:240px;
}
.public .no-photo {
  color:#a8c3b1;
  font-size:13px;
}
.public .property button.selected,.public #filter-favorites[aria-pressed=true] {
  background:#305b3f;
  color:#cdfbdc;
  border-color:#77b88b;
}
.public #agent-card {
  background:linear-gradient(120deg,#284831,#172a1d);
  margin-top:34px;
}
.public #agent-card h2 {
  margin-top:0;
}
.public footer a {
  color:#b9f3d0;
}
.public .property-body {
  padding:26px;
}
/* Authentication */
.crm-auth {
  overflow:auto!important;
  background:#0c1510;
}
.crm-auth .bg {
  background:radial-gradient(ellipse at 50% -20%,#21734855,transparent 65%),radial-gradient(ellipse at 85% 90%,#1a523333,transparent 55%),#0c1510;
}
.crm-auth .orb1 {
  background:#31996620;
}
.crm-auth .orb2 {
  background:#4b996221;
}
.crm-auth .grid-lines {
  opacity:.4;
}
.crm-auth .card {
  background:linear-gradient(140deg,#26443188,#15271cbb);
  border-color:#618b674d;
  border-radius:22px;
  box-shadow:inset 0 1px #ffffff12,0 30px 80px #0006;
}
.crm-auth .logo-icon {
  background:var(--grad-primary);
  box-shadow:var(--shadow-accent);
}
.crm-auth .logo-sub,.crm-auth .heading p,.crm-auth .card-footer,.crm-auth label {
  color:#a4bcae;
}
.crm-auth .btn-login {
  background:var(--grad-primary);
  box-shadow:var(--shadow-accent);
  border:1px solid #5b98704d;
}
.crm-auth .btn-login:hover {
  box-shadow:0 8px 26px #1e915333;
}
.crm-auth .page {
  min-height:100dvh;
}
.crm-auth input::placeholder {
  color:#869f90;
}
.crm-auth .particle {
  display:none;
}
@media(min-width:1600px) {
  .crm-shell .main-area {
    padding-right:34px;
    padding-left:34px;
  }
  .crm-shell td {
    padding-top:17px;
    padding-bottom:17px;
  }
  .crm-page-heading {
    padding-top:32px;
    padding-bottom:27px;
  }
}
@media(max-width:1150px) {
  .crm-shell .sidebar {
    width:200px;
    min-width:200px;
  }
  .crm-shell .main-area {
    padding:0 16px 14px;
  }
  .crm-page-heading {
    padding:22px 0;
  }
  .crm-page-heading h1 {
    font-size:23px;
  }
  .crm-shell .stat {
    padding:13px;
    min-width:100px;
  }
  .crm-shell .stat-val {
    font-size:20px!important;
  }
  .layout main {
    padding:28px;
  }
  .crm-create-link {
    font-size:11px;
    padding:11px;
  }
  .crm-eyebrow {
    font-size:8px;
  }
}
@media(max-width:760px) {
  .crm-shell {
    flex-direction:column!important;
    height:100dvh;
  }
  .crm-shell .sidebar {
    width:100%;
    min-width:0;
    height:auto;
    max-height:190px;
    flex-shrink:0;
    display:block;
    overflow:auto;
    border-right:0;
    border-bottom:1px solid var(--border);
  }
  .crm-shell .sb-logo {
    height:57px;
    padding:10px 16px;
  }
  .crm-shell .sb-logo-icon {
    width:29px;
    height:29px;
  }
  .crm-shell .sb-section,.crm-shell .sb-divider,.crm-shell .sb-footer {
    display:none;
  }
  .crm-shell .sb-nav {
    flex-direction:row;
    overflow:auto;
    padding:0 12px 10px;
  }
  .crm-shell .nav-item {
    width:auto;
    flex-shrink:0;
    height:35px;
  }
  .crm-shell .sb-actions {
    flex-direction:row;
    padding:0 12px 10px;
  }
  .crm-shell .sb-btn {
    width:auto;
    height:30px;
  }
  .crm-shell .main-area {
    height:auto;
    min-height:0;
    width:100%;
    padding:0 12px 10px;
  }
  .crm-page-heading {
    padding:17px 0;
    align-items:flex-start;
  }
  .crm-page-heading h1 {
    font-size:21px;
  }
  .crm-page-heading p,.crm-eyebrow {
    display:none;
  }
  .crm-create-link {
    font-size:10px;
    gap:5px;
    padding:10px;
  }
  .crm-shell .stats-bar {
    gap:7px;
    margin-bottom:12px;
    flex-wrap:nowrap;
    overflow-x:auto;
  }
  .crm-shell .stat {
    min-width:135px;
    padding:12px;
  }
  .crm-shell .toolbar {
    padding:10px;
    gap:7px;
    max-height:180px;
    overflow-y:auto;
  }
  .layout {
    grid-template-columns:1fr;
  }
  .layout aside {
    position:static;
    height:auto;
    padding:18px;
    gap:12px;
  }
  .layout aside p,.layout .identity {
    display:none;
  }
  .layout nav {
    display:flex;
    overflow:auto;
    gap:5px;
  }
  .layout nav>* {
    flex-shrink:0;
    white-space:nowrap;
  }
  .layout main {
    padding:24px 16px;
  }
  .metrics {
    gap:8px;
  }
  .metric {
    padding:14px;
  }
  .metric strong {
    font-size:25px;
  }
  .panel {
    padding:18px;
  }
  .columns,.property-grid {
    grid-template-columns:1fr;
  }
  .public main {
    padding:28px 16px;
  }
  .public header {
    padding:24px;
  }
  .public .gallery img {
    height:250px;
  }
  .crm-auth .card {
    padding:30px 24px;
  }
  .crm-auth .page {
    padding:18px;
  }
  .toolbar>div:first-child {
    min-width:180px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
/* Semantic states retain their meaning on dark surfaces. */
.crm-shell .pipeline-card-price,.crm-shell .detail-price,.crm-shell .history-change.down,.crm-shell .price-delta.down,.crm-shell .role-manager,.crm-shell .deal-rent,.crm-shell .deal-completed {
  color:var(--success);
}
.crm-shell .sc-done,.crm-shell .cs-active,.crm-shell .cs-deal {
  color:var(--success);
  background:var(--success-soft);
  border-color:#3a604a;
}
.crm-shell .sc-running {
  color:var(--info);
}
.crm-shell .due-badge.today {
  color:var(--warning);
}
.crm-shell .cs-lost {
  color:var(--danger);
  border-color:#6e4246;
}
.crm-shell .crm-note.empty {
  padding:5px 7px;
  border-radius:6px;
}
.crm-auth .btn {
  background:var(--grad-primary);
  box-shadow:var(--shadow-accent);
  border:1px solid #5b98704d;
}
.crm-shell .an-bar-fill,
.crm-shell .an-col-bar {
  background:linear-gradient(135deg,#70c99b,#2d7752);
}
.crm-shell .pri-normal,
.crm-shell .deal-sale {
  background:var(--accent-soft);
  color:var(--accent);
}
.crm-shell .deal-stat-val.accent {
  background:none!important;
  -webkit-text-fill-color:var(--accent)!important;
}
.crm-shell .parse-btn:hover,
.crm-shell .btn-start:hover,
.crm-shell .load-more-btn:hover {
  box-shadow:0 8px 24px #174a3266!important;
}
.crm-shell .sb-user-card {
  min-height:50px;
}

/* Give catalog search its own form boundary, separate from user credentials. */
.crm-shell .catalog-search {
  margin:0;
  max-width:100%;
}
.crm-shell #s-search {
  width:240px;
  max-width:100%;
  height:33px;
  font-size:11px;
  border-radius:7px;
}

/* Surikat CRM identity: transparent mascot and a crisp, accessible wordmark. */
.surikat-brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  color:var(--ink);
  min-width:0;
}
.surikat-mark {
  display:block;
  width:48px;
  height:48px;
  flex-shrink:0;
  object-fit:contain;
}
.surikat-wordmark {
  display:block;
  font-size:20px;
  font-weight:750;
  line-height:1.15;
  letter-spacing:-.7px;
  white-space:nowrap;
  color:#edf5ef;
}
.surikat-wordmark b {
  color:var(--accent);
  font-weight:650;
}
.surikat-wordmark small {
  display:block;
  margin-top:6px;
  color:#a4bcae;
  font-size:9px;
  font-weight:400;
  line-height:1.4;
  letter-spacing:.1px;
}
.crm-shell .sb-logo.surikat-brand {
  padding:19px 15px;
  gap:9px;
}
.crm-shell .sb-logo .surikat-wordmark {
  font-size:19px;
}
.layout .brand.surikat-brand {
  padding:0;
  gap:8px;
}
.layout .brand .surikat-wordmark {
  font-size:18px;
}
.crm-auth .surikat-mark {
  width:65px;
  height:65px;
}
.crm-auth .surikat-wordmark {
  font-size:29px;
}
.crm-auth .surikat-wordmark small {
  font-size:11px;
}
.surikat-public-brand {
  margin-bottom:30px;
}
@media (min-width:761px) and (max-width:1150px) {
  .crm-shell .sb-logo .surikat-mark {width:38px;height:38px;}
  .crm-shell .sb-logo .surikat-wordmark {font-size:17px;}
  .crm-shell .sb-logo .surikat-wordmark small {font-size:8px;}
}
@media (max-width:760px) {
  .crm-shell .sb-logo.surikat-brand {padding:6px 16px;}
  .crm-shell .sb-logo .surikat-mark {width:39px;height:39px;}
  .crm-shell .sb-logo .surikat-wordmark small {display:none;}
}

/* Mouse and touch controls alongside the full-size gallery image. */
.lightbox-stage {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  max-width:100vw;
  padding:52px 12px;
}
.lightbox .lightbox-stage img {
  max-width:calc(100vw - 164px);
  max-height:calc(100dvh - 120px);
  object-fit:contain;
}
.lightbox-arrow {
  padding:0;
  width:48px;
  height:48px;
  flex-shrink:0;
  border:1px solid #ffffff38;
  border-radius:50%;
  background:#1b3029dd;
  color:#edfff5;
  cursor:pointer;
  font-size:36px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-arrow svg {display:block;width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
.lightbox-arrow:hover:not(:disabled) {
  background:#30634d;
  border-color:var(--accent);
}
.lightbox-arrow:disabled {opacity:.25;cursor:default;}
.lightbox-counter {
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  padding:6px 14px;
  border-radius:20px;
  background:#15251ddd;
  color:#e0f4e9;
  font-size:13px;
  font-variant-numeric:tabular-nums;
}
@media(max-width:600px) {
  .lightbox-stage {gap:6px;padding-inline:4px;}
  .lightbox-arrow {width:40px;height:40px;}
  .lightbox .lightbox-stage img {max-width:calc(100vw - 100px);}
}

.lightbox-load-state {position:absolute;left:60px;right:60px;top:50%;transform:translateY(-50%);text-align:center;color:#d9eadd;font-size:13px;pointer-events:none;}
.lightbox-load-state button {display:block;margin:14px auto;pointer-events:auto;}
.lightbox-load-state button[hidden] {display:none;}
.lightbox-stage:has(#lightbox-img[hidden]) {width:min(650px,100vw);min-height:240px;justify-content:space-between;}
.lightbox #lightbox-img[hidden] {display:none;}
.photo-download-progress{margin:0;padding:0;border:0;min-width:0}
.photo-download-progress[hidden]{display:none}
.photo-download-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;line-height:1.5}
.photo-download-heading span{min-width:0}.photo-download-heading strong{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;color:#75e6bd}
.photo-download-track{height:6px;margin:8px 0;overflow:hidden;border-radius:4px;background:#ffffff12;box-shadow:inset 0 1px 3px #0003}
.photo-download-fill{height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#32b88b,#8aefcd);box-shadow:0 0 12px #56d7aa45;transition:width .7s ease}
.photo-download-counts{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:10px}
.photo-download-counts b{display:inline-block;margin-left:5px;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}
.photo-download-counts span:last-child{text-align:right}
.photo-download-note{font-size:10px;line-height:1.5;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}
.photo-download-progress[data-state="paused"] .photo-download-heading strong{color:#efbf72}
.photo-download-progress[data-state="paused"] .photo-download-fill{background:#d5aa63}
:root[data-theme="light"] .photo-download-heading strong{color:#167c5d}
:root[data-theme="light"] .photo-download-track{background:#dde9e4;box-shadow:none}
:root[data-theme="light"] .photo-download-progress[data-state="paused"] .photo-download-heading strong{color:#875800}
@media(prefers-reduced-motion:reduce){.photo-download-fill{transition:none}}
.crm-shell .toolbar.catalog-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:20px;max-height:none;overflow:visible}
.catalog-heading{display:flex;align-items:center;gap:10px;width:100%;min-width:0!important}
.catalog-heading>a{margin-left:auto}
.catalog-search-row{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px}
.catalog-search-row>#s-preset{order:1;width:100%;min-width:0;height:44px}
.crm-shell .catalog-search-row .catalog-search{display:flex;align-items:center;gap:8px;order:0;min-width:0;position:relative}
.crm-shell .catalog-search-row #s-search{width:100%;min-width:0;flex:1;height:44px;font-size:14px;padding-right:36px}
.catalog-search-row .catalog-search>.btn{height:44px;flex:none;min-width:76px}
.catalog-clear-search{position:absolute;right:92px;top:6px;width:32px;height:32px;border:0;background:transparent;color:var(--muted);font-size:22px;cursor:pointer}
.catalog-clear-search[hidden]{display:none}
.crm-shell .catalog-search input[type=search]{background:var(--surface);color:var(--ink);border:1px solid var(--border-strong);border-radius:6px;font-family:inherit}
.catalog-search input[type=search]:focus{outline:2px solid var(--accent);outline-offset:1px}
.catalog-search input[type=search]::-webkit-search-cancel-button{display:none}
.crm-shell .catalog-actions>.btn{height:auto;padding:9px 12px}
.catalog-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.catalog-filter-row>.flt-sel{flex:1 1 130px;min-width:0;max-width:none;height:40px}
.catalog-filter-row>.btn,.catalog-filter-row>.adv-toggle{min-height:40px}
.catalog-active-filters{display:flex;flex-wrap:wrap;gap:8px}
.catalog-active-filters[hidden],.catalog-selection[hidden]{display:none!important}
.catalog-filter-chip{max-width:100%;overflow-wrap:anywhere;text-align:left;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--ink);font:inherit;font-size:12px;padding:7px 10px;cursor:pointer}
.catalog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid var(--border)}
.catalog-selection{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-right:auto}
.catalog-selection .bulk-panel{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.catalog-actions>.btn{min-height:36px}
@media(max-width:700px){.crm-shell .toolbar.catalog-toolbar{padding:14px;gap:12px}.catalog-search-row{grid-template-columns:1fr}.catalog-search-row>#s-preset{order:1}.catalog-filter-row>.flt-sel{flex-basis:calc(50% - 10px)}.catalog-actions{justify-content:flex-start}.catalog-actions>.btn{flex:1;white-space:normal;min-height:40px}.catalog-heading>a{font-size:11px}.catalog-selection{width:100%;margin-right:0}.catalog-search-row .catalog-search>.btn{min-width:64px}.catalog-clear-search{right:80px}}

/* Keep the catalog, rather than its controls, the main viewport surface. */
#lightbox,.property-gallery{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#lightbox img,.property-gallery img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
.crm-shell .crm-page-heading{padding:14px 0 12px;gap:12px}
.crm-shell .crm-page-heading h1{font-size:22px;margin:4px 0;letter-spacing:0}
.crm-shell .crm-page-heading p{font-size:12px}
.crm-shell .crm-create-link{padding:9px 12px;border-radius:6px}
.crm-shell .stats-bar{gap:8px;margin-bottom:10px}
.crm-shell .stat{padding:8px 12px;min-width:110px;border-radius:6px;gap:0}
.crm-shell .stat-val{font-size:19px!important;letter-spacing:0;margin-top:3px}
.crm-shell .stat-sub{font-size:10px;margin-top:2px}
.crm-shell .photo-download-heading{margin-bottom:5px;font-size:11px}
.crm-shell .photo-download-track{height:5px}
.crm-shell .photo-download-counts{margin-top:5px;font-size:10px}
.crm-shell .photo-download-note{margin-top:3px;font-size:10px}
.crm-shell .toolbar.catalog-toolbar{display:grid;grid-template-columns:260px minmax(0,1fr);grid-auto-rows:min-content;align-content:start;gap:8px 16px;padding:12px 16px;flex:0 0 auto}
.crm-shell .catalog-heading{width:auto;flex:none;gap:8px}
.crm-shell .catalog-heading>a{padding:7px 10px!important;white-space:nowrap}
.crm-shell .catalog-search-row{grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:8px}
.crm-shell .catalog-search-row #s-search,.crm-shell .catalog-search-row>#s-preset,.crm-shell .catalog-search-row .catalog-search>.btn{height:36px}
.crm-shell .catalog-clear-search{top:2px}
.crm-shell .catalog-filter-row,.crm-shell .catalog-active-filters,.crm-shell .catalog-actions{grid-column:1/-1}
.crm-shell .catalog-filter-row{gap:8px}
.crm-shell .catalog-filter-row>.flt-sel{height:34px;flex-basis:120px}
.crm-shell .catalog-filter-row>.btn,.crm-shell .catalog-filter-row>.adv-toggle{min-height:34px}
.crm-shell .catalog-actions{padding-top:7px;gap:6px}
.crm-shell .catalog-actions>.btn{min-height:30px;padding:6px 10px}
.crm-shell .view{border-radius:8px}
.crm-shell th{padding:10px;font-size:11px!important;letter-spacing:0!important}
.crm-shell td{font-size:12px;padding:12px 10px;line-height:1.5}
.crm-shell .title-cell{font-size:14px;font-weight:600;line-height:1.45;max-width:280px}
.crm-shell .meta{font-size:11px;line-height:1.5}
.crm-shell #tbody .badge{font-size:12px;font-weight:600;line-height:1.4;padding:2px 8px;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}
.crm-shell .table-wrap{min-height:180px}
@media(max-width:1100px){.crm-shell .toolbar.catalog-toolbar{grid-template-columns:1fr}.crm-shell .catalog-heading,.crm-shell .catalog-search-row{grid-column:1/-1}.crm-shell .stat{min-width:100px}}
@media(max-width:700px){.crm-shell .crm-page-heading{padding:10px 0}.crm-shell .stats-bar{flex-wrap:nowrap;overflow-x:auto;gap:6px}.crm-shell .stat{flex:0 0 130px}.crm-shell .toolbar.catalog-toolbar{padding:10px;gap:8px}.crm-shell .catalog-search-row{grid-template-columns:1fr}.crm-shell .catalog-search-row #s-search,.crm-shell .catalog-search-row>#s-preset,.crm-shell .catalog-search-row .catalog-search>.btn{height:40px}.crm-shell .catalog-filter-row>.flt-sel{flex-basis:calc(50% - 8px);height:40px}.crm-shell .catalog-actions>.btn{min-height:38px}.crm-shell .catalog-clear-search{top:4px}}
