/* Visual adaptation of the supplied Maskan dashboard; existing views stay native. */
.page-heading{position:relative;isolation:isolate;min-height:74px}
.page-heading>div:first-child{position:relative;z-index:1;max-width:46%}
.heading-art{position:absolute;inset:-22px -28px -14px auto;width:54%;display:flex;align-items:center;pointer-events:none;overflow:hidden;z-index:0;background:linear-gradient(100deg,transparent,#eaf1f344)}
.heading-art img{position:absolute;right:-8px;bottom:-4px;width:72%;height:100%;object-fit:contain;object-position:right bottom;opacity:.29}
.heading-art p{position:relative;z-index:1;margin:0 0 0 10px;width:46%;color:#97afb7;font-family:"Apple Chancery","Segoe Print","Bradley Hand",cursive;font-size:23px;font-style:italic;line-height:1.35;text-align:center;transform:rotate(-5deg)}
.heading-art p span{white-space:nowrap}
@media(max-width:1100px){.heading-art{width:49%}.heading-art p{font-size:18px;width:53%}.heading-art img{width:70%;opacity:.23}}
@media(max-width:700px){.page-heading>div:first-child{max-width:100%}.heading-art{display:none}}
:root{--green:#087653;--text:#142b38;--muted:#667b89;--border:#dce5e9;--sidebar:242px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#f6f8fa;letter-spacing:0}
body{min-width:0}button,input,select{border-color:var(--border);letter-spacing:0}button{font-weight:600}button:focus-visible,input:focus-visible,select:focus-visible,.tablewrap:focus-visible{outline:2px solid #209a78;outline-offset:3px}
.topbar{height:72px;padding:0 28px 0 0;gap:20px;position:sticky;top:0;z-index:20;background:#fff;border-color:var(--border)}
.brand{width:var(--sidebar);height:72px;flex:none;display:flex;align-items:center;justify-content:center;gap:8px;border-right:1px solid var(--border);font-size:22px;white-space:nowrap}.brand>svg{width:28px;height:28px;stroke-width:2.5}.brand span{font-size:20px;margin:0}
.global-search{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:6px;background:#f8fafc;max-width:620px;flex:1;height:42px;padding-left:12px;margin-left:8px}.global-search>svg,.table-search>svg{width:18px;height:18px;flex:none;color:var(--muted)}.global-search input,.table-search input{border:0;background:transparent;padding:8px 0;min-width:0}.global-search button,.table-search button{border:0;background:transparent;width:38px;flex:none;padding:8px}
#identity{display:flex;align-items:center;gap:10px;margin-left:0;max-width:230px;min-width:0}.user-avatar{display:grid;place-items:center;background:#0c7155;color:#fff;border-radius:50%;width:38px;height:38px;flex:none;font-size:13px;font-weight:700}.user-label{display:grid;gap:3px;min-width:0;font-size:13px}.user-label strong{overflow:hidden;text-overflow:ellipsis}.user-label small{color:var(--muted)}#logout{border:0;flex:none;padding:8px}
#headerNotifications{position:relative;margin-left:auto;flex:none;width:40px;border:0;background:transparent}#notificationDot{position:absolute;right:8px;top:7px;width:7px;height:7px;background:#e84545;border-radius:50%;border:1px solid white}
main{max-width:none;padding:26px 28px 30px;margin-left:var(--sidebar);min-width:0}#workspace>nav{position:fixed;inset:72px auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:5px;padding:22px 16px;border:0;border-right:1px solid var(--border);background:#fafcfc;z-index:15;overflow-y:auto}#workspace>nav button{width:100%;justify-content:flex-start;padding:12px 16px;min-height:46px;flex:none;font-size:14px;font-weight:500;border-radius:7px;gap:14px}#workspace>nav button svg{width:20px;height:20px}#workspace>nav .active{background:#e4f1eb!important;color:#087653;font-weight:650}#unreadCount{margin-left:auto}
h1{font-size:28px;line-height:1.25;margin:4px 0 8px}h2{font-size:20px}.page-heading{margin-bottom:22px}#count{font-size:14px;margin:0;color:var(--muted)}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{display:flex;align-items:center;gap:16px;padding:20px 18px;border:1px solid var(--border);border-radius:7px;background:#fff;min-height:108px;min-width:0}.stat-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:8px;background:#e5f3ed;color:#087653;flex:none}.stat-icon svg{width:26px;height:26px}.stat-card:nth-child(2) .stat-icon{background:#edf4f3;color:#28474e}.stat-card:nth-child(3) .stat-icon{background:#edf1fa;color:#435d87}.stat-card:nth-child(4) .stat-icon{background:#f6f0e6;color:#89682f}.stat-card>div{min-width:0}.stat-label{display:block;font-size:13px;color:#566d7b;line-height:1.5}.stat-card strong{display:block;font-size:24px;margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.source-row{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.source-buttons{margin:0;gap:8px}.source-buttons button{min-height:46px;min-width:102px;font-size:14px;border-color:var(--border);padding-inline:14px}.source-buttons .active{border-color:#087653;background:#e8f4ee!important;box-shadow:inset 0 -1px #087653}.source-buttons img{width:27px;height:27px}.primary{background:#087653;border-color:#087653}.primary:hover:enabled{background:#075d43}#addEntry{height:46px;flex:none;padding-inline:18px;white-space:nowrap}
.catalog-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.table-search{flex:1;min-width:120px;display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:6px;background:#fff;height:44px;padding-left:14px}#toggleFilters{height:44px;padding-inline:18px;white-space:nowrap}#toggleFilters[aria-expanded=true]{color:#087653;border-color:#087653;background:#eaf5ef}#filterCount{display:grid;place-items:center;background:#087653;color:white;border-radius:4px;font-size:11px;min-width:19px;height:19px}.catalog-toolbar .filter-check{flex-direction:row;align-items:center;gap:8px;white-space:nowrap;font-size:13px;cursor:pointer;min-height:44px}.sort-control{border:1px solid var(--border);border-radius:6px;background:#fff;padding:0 12px}
#filters{margin:0 0 18px;padding:18px 0;gap:14px;align-items:end;border-block:1px solid var(--border)}#filters>label{min-width:125px;font-size:12px}#filters input,#filters select{height:42px}#filters>button{min-height:42px}
.tablewrap{border:1px solid var(--border);border-radius:7px}#catalog table{min-width:1090px}#catalog th{padding:12px;font-size:11px;font-weight:650;background:#eff3f5;color:#586d7a}#catalog td{padding:13px 12px;font-size:12px;vertical-align:middle;height:72px}#catalog td small{font-size:11px;color:#718391;line-height:1.45;margin-top:4px}.listing-source{min-width:90px}.source-name{font-size:10px;padding:4px 7px}.listing-source[data-source=salomuy] .source-name{background:#ece9ff;color:#5546bd}.listing-source[data-source=olx] .source-name{background:#cef4ef;color:#007b72}.listing-location{min-width:175px;max-width:245px}.district-name{font-size:13px;line-height:1.4;color:#1a3442}.listing-price strong{font-size:14px;color:#18313f}.listing-parameters{min-width:170px;max-width:260px;line-height:1.6}.listing-date-cell{max-width:118px;min-width:100px;white-space:normal;font-variant-numeric:tabular-nums}#catalog .listing-date{margin:0;font-size:11px}#catalog td:last-child button{min-height:34px;padding:7px 13px;font-size:12px}#catalog .status{font-size:11px;padding:5px 7px;white-space:nowrap}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;color:var(--muted);font-size:12px}.table-footer .pagination{padding:0;gap:8px}.table-footer button{min-height:34px;width:34px;padding:6px}.current-page{display:grid;place-items:center;min-width:34px;height:34px;background:#087653;color:#fff;border-radius:6px;padding:0 8px}.page-size{margin-left:16px;border:1px solid var(--border);background:white;padding:9px 12px;border-radius:6px;white-space:nowrap}
#accounts h1,#searches h1,#notifications h1,#imports h1{margin-bottom:20px}.search-row,.notification-row{background:transparent}.accountrow{flex-wrap:wrap}#message{overflow-wrap:anywhere}body:has(#workspace[hidden]) main{margin-left:0}body:has(#workspace[hidden]) .topbar{padding-left:20px}body:has(#workspace[hidden]) .brand{border:0;justify-content:flex-start}#login{margin:70px auto;padding:0 8px}#login h1{margin-bottom:24px}
.listing-source small{max-width:110px;overflow:hidden;text-overflow:ellipsis}.listing-source .source-name{max-width:110px}.stat-card:nth-child(2){cursor:default}
@media(min-width:1650px){#catalog td{padding-block:16px}.listing-location{max-width:310px}.listing-parameters{max-width:350px}}
@media(max-width:1250px){:root{--sidebar:206px}.brand{font-size:19px}.brand span{font-size:17px}.brand>svg{width:23px}main{padding:24px 20px}.source-row{flex-wrap:wrap}.stats-grid{gap:12px}.stat-card{padding:16px 12px;gap:10px}.stat-icon{width:38px;height:38px}.global-search{max-width:480px}.user-label{max-width:125px}}
@media(max-width:950px){:root{--sidebar:76px}.brand{font-size:0;gap:0}.brand span{display:none}.brand>svg{width:30px;height:30px}#workspace>nav{padding:20px 10px}#workspace>nav button{justify-content:center;padding:12px;position:relative}#workspace>nav button>span:not(.badge){display:none}#workspace>nav .badge{position:absolute;right:0;top:0;font-size:9px;margin:0}#identity .user-label{display:none}.topbar{gap:12px;padding-right:16px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:90px}.source-buttons{flex:1}.source-buttons button{min-width:95px}.catalog-toolbar{flex-wrap:wrap}.table-search{flex-basis:50%}#catalog table{min-width:1050px}}
@media(max-width:600px){:root{--sidebar:0px}.topbar{height:60px;padding:0 12px;gap:10px}.brand{width:30px;height:60px;border:0;flex:none}.global-search{height:38px;margin:0;min-width:0}.global-search input{font-size:12px}.global-search>svg{display:none}#identity{display:none}#headerNotifications{margin-left:0;width:32px;min-height:36px;padding:5px}#logout{min-height:36px;padding:5px}main{margin:0;padding:18px 14px 100px}#workspace>nav{inset:auto 0 0 0;width:100%;height:auto;flex-direction:row;gap:2px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--border);overflow-x:auto;background:#fff}#workspace>nav button{flex:1;min-width:42px;width:auto;min-height:48px;padding:8px}#workspace>nav button svg{width:21px;height:21px}h1{font-size:24px}.page-heading{margin-bottom:18px}.stats-grid{gap:8px;margin-bottom:18px}.stat-card{gap:9px;padding:12px 10px;min-height:86px}.stat-icon{width:32px;height:32px}.stat-icon svg{width:20px;height:20px}.stat-label{font-size:11px}.stat-card strong{font-size:21px}.source-row{gap:12px;margin-bottom:14px}.source-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;flex-basis:100%;gap:6px}.source-buttons button{min-width:0;min-height:42px;padding:7px 5px;font-size:12px;gap:6px}.source-buttons img{width:22px;height:22px}.source-buttons .brandmark{width:27px;font-size:10px}#addEntry{width:100%;height:42px;justify-content:center}.catalog-toolbar{gap:8px}.table-search{flex-basis:100%;height:42px}#toggleFilters{height:40px;min-height:40px;padding-inline:12px}.catalog-toolbar .filter-check{min-height:40px;font-size:12px}.table-footer{flex-wrap:wrap;font-size:11px}.table-footer .pagination{margin-left:auto}.page-size{margin-left:0;padding:9px 6px}.tablewrap[aria-busy=true]{min-height:440px}#filters{gap:12px}#filters>label{min-width:0;flex-basis:calc(50% - 12px)}#filters>button{flex:1}.accountrow{gap:10px}.row-actions{flex-wrap:wrap}dialog{max-height:calc(100dvh - 24px)}body:has(#workspace[hidden]) .brand{font-size:20px;width:auto;gap:8px}body:has(#workspace[hidden]) .brand span{display:inline}}
