:root { --ink:#14283d; --muted:#607286; --paper:#f5f7fa; --line:#dce4ed; --accent:#c69a42; }
body:not(.public-mode) { background:#f5f7fa; color:#14283d; font-family:'Imobly Inter','Segoe UI',sans-serif; }
body > aside { background:#062747; border-right:1px solid #183b59; color:#fff; }
body > aside .brand { display:block; text-align:center; font-style:normal; color:#fff; }
.imobly-house { display:block; width:44px; height:44px; color:#c69a42; margin:0 auto 10px; }
body > aside .brand span { display:block; margin:0; color:#fff; font:700 30px/1.2 'Imobly Inter',sans-serif; }
body > aside .brand small { color:#d5e0ea; letter-spacing:.15em; margin:12px 0 26px; }
body > aside .workspace { border-color:#ffffff26; }
body > aside .workspace small { color:#d5e0ea; overflow-wrap:anywhere; }
body > aside .avatar { background:#c69a42; color:#031d35; }
body > aside nav a { color:#dae5ee; border-radius:7px; }
body > aside nav a:hover,body > aside nav a.active { background:#ffffff12; color:#f2ca7c; }
body > aside .aside-bottom p { color:#c9d9e6; font-style:normal; font-size:17px; }
body > aside .aside-bottom small { color:#c9d9e6; }
body > aside #logout { color:#fff; background:transparent; border-color:#ffffff30; }
body:not(.public-mode) .shell > header { background:#fff; color:#14283d; border-color:#dce4ed; }
body:not(.public-mode) .shell > footer { color:#607286; }
body:not(.public-mode) :is(button,.button):not(.broker-site button,.broker-site .button) { background:#062747; color:#fff; border-color:#062747; border-radius:7px; transition:background .2s,transform .2s; }
body:not(.public-mode) :is(button,.button):not(.broker-site button,.broker-site .button):hover { filter:none; background:#103d62; }
body:not(.public-mode) .quiet:not(.broker-site .quiet) { background:transparent; color:#062747; border-color:transparent; }
body:not(.public-mode) .quiet:not(.broker-site .quiet):is(:hover,:active,:focus-visible) { background:transparent; color:#062747; border-color:transparent; box-shadow:none; text-shadow:none; filter:none; }
body:not(.public-mode) .quiet:not(.broker-site .quiet):hover { text-decoration:underline; text-underline-offset:3px; }
body:not(.public-mode) .quiet:not(.broker-site .quiet):focus-visible { outline:2px solid #c69a42; outline-offset:3px; }
.lead-contact { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.lead-whatsapp { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:8px 10px; border:1px solid #b8dbc9; border-radius:7px; background:#effaf3; color:#116337; text-decoration:none; }
.lead-whatsapp:hover { background:#def4e5; color:#0b502b; }
.lead-whatsapp:focus-visible { outline:2px solid #116337; outline-offset:3px; }
.lead-whatsapp .ui-icon { width:20px; height:20px; }
body:not(.public-mode) .danger { background:#fff!important; color:#a12c35!important; border-color:#e5bdc1!important; }
body:not(.public-mode) .auth-story { background:linear-gradient(145deg,#062747,#031d35); color:#fff; }
body:not(.public-mode) .auth-story h1 { color:#fff; font-family:Georgia,'Times New Roman',serif; font-weight:500; letter-spacing:-1px; }
body:not(.public-mode) .auth-story p { color:#d6e2ec; }
body:not(.public-mode) .auth-story .eyebrow { color:#e0b967; }
body:not(.public-mode) .auth-brand { display:block; color:#fff; font:700 38px/1.2 'Imobly Inter',sans-serif; letter-spacing:-1px; }
body:not(.public-mode) .auth-brand .imobly-house { width:52px; height:52px; margin:0 0 12px; }
body:not(.public-mode) .auth-brand span { color:#d6e2ec; font:500 9px/1.5 'Imobly Inter',sans-serif; letter-spacing:.14em; margin-top:12px; }
body:not(.public-mode) .auth-form-wrap { background:#fff; }
body:not(.public-mode) .auth-form-wrap h2,body:not(.public-mode) .heading h1 { color:#062747; }
body:not(.public-mode) .auth-form-wrap button[type=submit] { background:#c69a42; color:#031d35; border-color:#c69a42; font-weight:650; }
body:not(.public-mode) .auth-form-wrap a { color:#062747; text-decoration:underline; text-underline-offset:3px; }
body:not(.public-mode) .welcome-panel { background:linear-gradient(120deg,#062747,#103d62); color:#fff; }
body:not(.public-mode) .welcome-panel h2 { color:#fff; }
body:not(.public-mode) .welcome-panel p { color:#d6e2ec; }
body:not(.public-mode) .welcome-panel .light-button { background:#c69a42; color:#031d35; border-color:#c69a42; }
body:not(.public-mode) .stat,body:not(.public-mode) .editor-panel { background:#fff; border-color:#dce4ed; }
body:not(.public-mode) .notice,body:not(.public-mode) .editor-local-note { background:#edf3f8; color:#22425d; border-color:#dce4ed; }
body:not(.public-mode) .publish-control { background:#edf3f8; color:#14283d; }
body:not(.public-mode) .status-dot { background:#c69a42; }
body:not(.public-mode) input[type=checkbox] { accent-color:#062747; }
.story-editor { margin:18px 0; padding:16px; border:1px solid #dce4ed; border-radius:9px; min-width:0; }
.story-editor legend { padding:0 6px; font-size:12px; font-weight:600; }
.story-editor > img { width:100%; max-height:180px; object-fit:contain; border-radius:6px; margin-bottom:12px; }
.story-editor .consent { font-size:11px; line-height:1.6; }
.story-editor input[type=checkbox] { width:16px; height:16px; min-width:16px; }
@media(max-width:760px) { body > aside .brand .imobly-house { width:32px; height:32px; margin-bottom:5px; } body > aside .brand small { margin-bottom:16px; } }
body:not(.public-mode) .auth-story > img { opacity:.2; filter:grayscale(1); mix-blend-mode:screen; }
body:not(.public-mode) .auth-form-wrap form > button { background:#c69a42; color:#031d35; border-color:#c69a42; font-weight:650; }
.auth-mode #auth-form > button { background:#c69a42; color:#031d35; border-color:#c69a42; font-weight:650; }
.auth-mode #auth-form > button:hover { background:#b88c38; border-color:#b88c38; }

/* Keep the secondary story action clear, including hover and keyboard focus. */
body:not(.public-mode) #site-form button[data-add-story],
body:not(.public-mode) #site-form button[data-add-story]:hover,
body:not(.public-mode) #site-form button[data-add-story]:active,
body:not(.public-mode) #site-form button[data-add-story]:focus-visible {
  background:transparent;
  color:#062747;
  border-color:transparent;
  box-shadow:none;
  text-shadow:none;
  filter:none;
}
body:not(.public-mode) #site-form button[data-add-story]:hover { text-decoration-thickness:2px; }
body:not(.public-mode) #site-form button[data-add-story]:focus-visible { outline:2px solid #c69a42; outline-offset:4px; }
.contacts-table td { overflow-wrap:anywhere; }
@media(max-width:640px) {
  .contacts-table,.contacts-table tbody { display:block; width:100%; }
  .contacts-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .contacts-table tr { display:grid; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
  .contacts-table tr:last-child { border-bottom:0; }
  .contacts-table td { display:block; width:100%; min-width:0; padding:0; border:0; }
  .contacts-table td::before { content:attr(data-label); display:block; margin-bottom:6px; font-size:11px; font-weight:600; color:#607286; }
}
