:root{
  --bg:#f4f6f8;--panel:#fff;--ink:#16202a;--muted:#6d7986;--line:#e5e9ee;
  --accent:#2f6df6;--accent-2:#1746b8;--soft:#edf3ff;--green:#16a26a;--amber:#e99718;--red:#d84a4a;
  --shadow:0 18px 55px rgba(25,35,50,.10);--radius:18px;--sidebar:#111923
}
*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.shell{min-height:100vh;display:grid;grid-template-columns:252px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:linear-gradient(180deg,#121c27 0%,#0d141d 100%);padding:20px 14px;color:#eaf0f7;display:flex;flex-direction:column;z-index:20}.brand{height:58px;display:flex;align-items:center;gap:11px;padding:0 8px 14px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#4d82ff,#1e55d5);display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 10px 30px rgba(47,109,246,.3)}.brand-mark.large{width:50px;height:50px;border-radius:15px;font-size:20px}.brand strong,.brand span{display:block}.brand strong{font-size:15px}.brand span{font-size:11px;color:#8795a5;margin-top:2px;letter-spacing:.04em}nav{padding-top:18px;display:flex;flex-direction:column;gap:5px;flex:1}nav button{border:0;background:transparent;color:#98a5b5;border-radius:11px;text-align:left;padding:10px 12px;display:flex;align-items:center;gap:11px;font-weight:650;font-size:13px;transition:.2s}nav button span{width:20px;text-align:center;font-size:16px;color:#79899b}nav button:hover{background:rgba(255,255,255,.055);color:#fff}nav button.active{background:linear-gradient(90deg,rgba(59,111,246,.24),rgba(59,111,246,.08));color:#fff;box-shadow:inset 3px 0 0 #5d8bff}nav button.active span{color:#74a0ff}.nav-sep{font-size:9px;color:#586675;font-weight:800;letter-spacing:.16em;margin:15px 12px 6px}.sidebar-foot{display:flex;align-items:center;gap:9px;padding:14px 10px 2px;border-top:1px solid rgba(255,255,255,.08)}.sidebar-foot strong,.sidebar-foot span{display:block}.sidebar-foot strong{font-size:11px}.sidebar-foot span{font-size:10px;color:#738292;margin-top:2px}.status-dot{width:8px;height:8px;border-radius:50%;background:#29c282;box-shadow:0 0 0 5px rgba(41,194,130,.1)}
.main{grid-column:2;min-width:0}.topbar{height:72px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:15;display:flex;align-items:center;padding:0 28px;gap:20px}.global-search{height:40px;background:#f5f7fa;border:1px solid #e6eaef;border-radius:12px;display:flex;align-items:center;gap:8px;padding:0 11px;max-width:620px;flex:1}.global-search span{font-size:18px;color:#7d8996}.global-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:var(--ink);font-size:13px}.global-search kbd{font-size:9px;color:#8c98a5;border:1px solid #dce1e7;background:#fff;padding:3px 5px;border-radius:5px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.icon-btn{width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:11px;color:#526070}.icon-btn:hover{background:#f7f9fb}.user-chip{display:flex;align-items:center;gap:9px;padding:0 6px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e7eefc;color:#2f65d4;font-weight:800}.user-chip strong,.user-chip span{display:block}.user-chip strong{font-size:12px}.user-chip span{font-size:10px;color:var(--muted);margin-top:2px}.mobile-brand{display:none}.content{padding:28px;max-width:1650px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-head h1{font-size:25px;margin:0 0 5px;letter-spacing:-.02em}.page-head p{margin:0;color:var(--muted);font-size:12px}.eyebrow{font-size:9px;letter-spacing:.15em;font-weight:850;color:#7090bd;text-transform:uppercase;margin-bottom:6px}.head-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 13px;color:#344250;font-weight:700;font-size:12px;transition:.18s}.btn:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(20,30,50,.08)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-2)}.btn.soft{background:var(--soft);border-color:#dbe6ff;color:#2a61d5}.btn.danger{background:#fff0f0;border-color:#ffd6d6;color:#c83d3d}.btn.wide{width:100%;padding:12px}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-bottom:18px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:17px;min-height:108px;box-shadow:0 5px 18px rgba(30,40,60,.03)}.stat-card .top{display:flex;align-items:center;justify-content:space-between}.stat-card .ico{width:31px;height:31px;border-radius:10px;background:#f1f5fd;color:#4674d8;display:grid;place-items:center;font-weight:800}.stat-card span{font-size:10px;color:var(--muted);font-weight:650}.stat-card strong{display:block;font-size:26px;margin-top:12px;letter-spacing:-.03em}.stat-card em{font-style:normal;font-size:9px;color:#8d98a4}.dashboard-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:15px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 22px rgba(20,30,50,.035);overflow:hidden}.panel-head{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-head h3{font-size:13px;margin:0}.panel-head span{font-size:10px;color:var(--muted)}.panel-body{padding:16px 18px}.stack{display:flex;flex-direction:column;gap:9px}.mini-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #edf0f3;border-radius:12px}.mini-row:hover{background:#f9fbfd}.mini-row .dot{width:8px;height:8px;border-radius:50%;background:#5b7de0}.mini-row .grow{min-width:0;flex:1}.mini-row strong,.mini-row span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-row strong{font-size:11px}.mini-row span{font-size:9px;color:var(--muted);margin-top:3px}.mini-row time{font-size:9px;color:#8793a0}.priority-high{background:#fff0ed!important;color:#c64a31!important}.priority-low{background:#eef8f2!important;color:#248559!important}.filter-bar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.filter-bar input,.filter-bar select,.field input,.field select,.field textarea{border:1px solid #dfe5eb;background:#fff;border-radius:9px;padding:9px 10px;outline:0;font-size:11px;color:#263441}.filter-bar input:focus,.filter-bar select:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#8caaf5;box-shadow:0 0 0 3px #edf2ff}.filter-bar .search-input{min-width:260px;flex:1}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;min-width:840px}th{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#7f8b97;background:#f8fafb;text-align:left;padding:11px 13px;border-bottom:1px solid var(--line);white-space:nowrap}td{font-size:11px;padding:12px 13px;border-bottom:1px solid #edf0f3;vertical-align:middle}tbody tr{transition:.15s}tbody tr:hover{background:#f8fbff}tbody tr:last-child td{border-bottom:0}.primary-cell{font-weight:750}.subtext{display:block;font-size:9px;color:#8a95a1;margin-top:3px}.chip{display:inline-flex;align-items:center;padding:4px 7px;border-radius:7px;background:#f0f3f7;color:#566271;font-size:9px;font-weight:750;white-space:nowrap}.chip.blue{background:#ebf2ff;color:#386bd5}.chip.green{background:#eaf8f1;color:#19835a}.chip.amber{background:#fff6e5;color:#a56b0c}.chip.red{background:#ffeded;color:#b63d3d}.chip.dark{background:#e8ebef;color:#394553}.empty{padding:45px 20px;text-align:center;color:#8793a0}.empty strong{display:block;color:#4d5967;margin-bottom:6px}.pagination{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.loading{display:grid;place-items:center;min-height:320px}.spinner{width:30px;height:30px;border:3px solid #e6eaf0;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.drawer-backdrop{position:fixed;inset:0;background:rgba(10,18,28,.34);backdrop-filter:blur(2px);z-index:40}.drawer{position:fixed;top:0;right:0;bottom:0;width:min(780px,94vw);background:#f5f7f9;z-index:45;box-shadow:-25px 0 60px rgba(10,20,35,.22);overflow:auto}.drawer-head{background:#fff;padding:20px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.drawer-head-row{display:flex;gap:12px;align-items:flex-start}.drawer-title{flex:1}.drawer-title h2{font-size:20px;margin:3px 0}.drawer-title p{font-size:10px;color:var(--muted);margin:0}.close-btn{border:1px solid var(--line);background:#fff;width:36px;height:36px;border-radius:10px;font-size:18px}.drawer-actions{display:flex;gap:7px;margin-top:14px;flex-wrap:wrap}.drawer-body{padding:16px}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.info-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.info-card.full{grid-column:1/-1}.info-card h4{font-size:11px;margin:0 0 11px}.kv{display:grid;grid-template-columns:140px 1fr;gap:7px;border-top:1px solid #f0f2f4;padding:8px 0}.kv:first-of-type{border-top:0}.kv span{font-size:9px;color:#85909c}.kv strong{font-size:10px;font-weight:650;overflow-wrap:anywhere}.workspace{background:linear-gradient(135deg,#172333,#1b2e47);color:#fff;border:0}.workspace h4{color:#fff}.workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.workspace .field label{color:#96a8bb}.workspace input,.workspace textarea,.workspace select{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#fff}.workspace select option{color:#222}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:9px;color:#7c8895;font-weight:750}.field textarea{min-height:85px;resize:vertical}.checklist{display:grid;grid-template-columns:1fr 1fr;gap:7px}.check-item{display:flex;align-items:center;gap:7px;padding:7px 8px;border:1px solid rgba(255,255,255,.1);border-radius:8px;font-size:9px;color:#d6e0e9}.tabs{display:flex;gap:6px;overflow:auto;margin-bottom:10px}.tab{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 10px;font-size:9px;font-weight:750;color:#667381}.tab.active{background:#1e2c3c;color:#fff;border-color:#1e2c3c}.timeline{display:flex;flex-direction:column}.timeline-item{padding:10px 0 10px 18px;border-left:1px solid #dfe5eb;position:relative}.timeline-item:before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#7193e5;left:-4px;top:15px}.timeline-item strong{font-size:10px}.timeline-item p{font-size:9px;color:#6f7c89;margin:4px 0}.timeline-item time{font-size:8px;color:#9aa4af}.object-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.object-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px;transition:.17s}.object-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(20,30,45,.08)}.object-card .object-top{display:flex;align-items:start;justify-content:space-between;gap:8px}.object-card h3{font-size:12px;margin:0}.object-card p{font-size:9px;color:var(--muted);min-height:30px}.object-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #edf0f3;padding-top:9px;gap:6px}.object-metrics span{font-size:8px;color:#8a96a1;display:block}.object-metrics strong{font-size:10px;display:block;margin-top:2px}.log-line{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.codebox{background:#111923;color:#d4dfeb;border-radius:11px;padding:11px;font:9px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;max-height:280px;overflow:auto}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.setting-row{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #eef1f4;padding:9px 0}.setting-row:first-child{border-top:0}.setting-row span{font-size:9px;color:#7c8894}.setting-row code{font-size:9px;background:#f0f3f6;padding:4px 6px;border-radius:6px}.toast-host{position:fixed;right:18px;bottom:18px;z-index:80;display:flex;flex-direction:column;gap:8px}.toast{background:#172333;color:#fff;border-radius:11px;padding:11px 13px;box-shadow:0 15px 40px rgba(15,25,40,.22);font-size:10px;max-width:360px;animation:toastin .2s ease}.toast.error{background:#ad3939}.toast.ok{background:#187b59}@keyframes toastin{from{transform:translateY(8px);opacity:0}}
.login-screen{min-height:100vh;display:grid;place-items:center;background:#0d1620;position:relative;overflow:hidden}.login-orb{position:absolute;border-radius:50%;filter:blur(5px);opacity:.6}.orb-a{width:420px;height:420px;background:radial-gradient(circle,#2458c6,transparent 68%);top:-120px;right:8%}.orb-b{width:360px;height:360px;background:radial-gradient(circle,#163f83,transparent 68%);bottom:-120px;left:6%}.login-card{width:min(420px,calc(100% - 30px));background:rgba(255,255,255,.97);border-radius:24px;padding:30px;box-shadow:0 35px 90px rgba(0,0,0,.35);position:relative}.login-card h1{font-size:28px;margin:12px 0 7px}.login-card p{font-size:11px;color:#71808f;line-height:1.55;margin-bottom:22px}.login-card label{display:flex;flex-direction:column;gap:6px;font-size:9px;font-weight:800;color:#677482;margin:10px 0}.login-card input{border:1px solid #dce2e8;border-radius:10px;padding:11px;outline:0}.password-wrap{display:flex;border:1px solid #dce2e8;border-radius:10px;overflow:hidden}.password-wrap input{border:0;flex:1;min-width:0}.password-wrap button{border:0;background:#f5f7f9;color:#637180;font-size:9px;padding:0 10px}.form-error{color:#c64242;font-size:9px;margin-top:8px;min-height:13px}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.object-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.shell{display:block}.sidebar{display:none}.main{grid-column:auto}.topbar{padding:0 14px;height:62px}.mobile-brand{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800}.mobile-brand .brand-mark{width:30px;height:30px}.global-search{display:none}.user-chip{display:none}.content{padding:16px}.stats-grid{grid-template-columns:1fr 1fr}.page-head{flex-direction:column}.object-card-grid,.settings-grid,.info-grid{grid-template-columns:1fr}.workspace-grid,.checklist{grid-template-columns:1fr}.object-card-grid{grid-template-columns:1fr}.drawer{width:100vw}.kv{grid-template-columns:110px 1fr}}
.modal-backdrop{position:fixed;inset:0;background:rgba(10,18,28,.42);backdrop-filter:blur(2px);z-index:60}.modal{position:fixed;z-index:65;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 28px));max-height:92vh;overflow:auto;background:#f6f8fa;border-radius:18px;box-shadow:0 30px 90px rgba(8,18,30,.32)}.modal-head{position:sticky;top:0;background:#fff;padding:17px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;z-index:2}.modal-head h2{font-size:17px;margin:0}.modal-body{padding:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .full{grid-column:1/-1}.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding-top:15px}.danger{color:#b53c3c!important}.btn.danger{background:#fff0f0;border-color:#f1cccc}.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:12px;overflow-x:auto;padding-bottom:10px}.kanban-col{background:#eef2f5;border:1px solid #e0e5ea;border-radius:15px;min-height:470px;overflow:hidden}.kanban-head{padding:12px 13px;display:flex;justify-content:space-between;align-items:center;background:#f8fafb;border-bottom:1px solid #e3e8ed}.kanban-head strong{font-size:10px}.kanban-list{padding:9px;display:flex;flex-direction:column;gap:8px}.deal-card{background:#fff;border:1px solid #e1e6eb;border-radius:11px;padding:11px;cursor:pointer;box-shadow:0 3px 11px rgba(20,30,45,.03)}.deal-card:hover{box-shadow:0 8px 20px rgba(20,30,45,.08)}.deal-card strong{font-size:10px;display:block}.deal-card span{display:block;font-size:9px;color:#788593;margin-top:5px}.directory-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.directory-list{display:flex;flex-direction:column;gap:7px}.dir-row{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #edf0f3;border-radius:10px}.dir-color{width:10px;height:10px;border-radius:50%;flex:0 0 auto}.dir-row .grow{flex:1;min-width:0}.dir-row strong{font-size:10px}.dir-row span{font-size:8px;color:#8a95a1;display:block;margin-top:2px}.native-note{background:#ebf5ff;border:1px solid #cfe3f9;color:#3f668a;border-radius:12px;padding:11px 13px;font-size:10px;line-height:1.5;margin-bottom:12px}.row-actions{display:flex;gap:5px;justify-content:flex-end}.row-actions button{padding:5px 7px!important}.hidden{display:none!important}@media(max-width:760px){.form-grid,.directory-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal{width:100vw;max-height:100vh;height:100vh;border-radius:0}}

/* === Geometry CRM Enhanced === */
:root{--accent:#315efb;--accent-2:#2147d7;--bg:#f3f5f8;--ink:#172033;--muted:#748095;--line:#e7eaf0;--sidebar:#0f1724;--purple:#7c5cff}
body{background:radial-gradient(circle at 75% -10%,rgba(49,94,251,.07),transparent 28%),var(--bg)}
.sidebar{background:linear-gradient(180deg,#111a28 0%,#0c131d 100%);width:264px;padding:18px 15px}.shell{grid-template-columns:264px 1fr}.main{grid-column:2}.brand{height:62px}.brand-mark{background:linear-gradient(135deg,#416dff,#6a52e9);box-shadow:0 10px 30px rgba(60,85,255,.3)}nav{gap:3px;overflow:auto;padding-right:2px}nav::-webkit-scrollbar{width:3px}nav::-webkit-scrollbar-thumb{background:#263448;border-radius:5px}nav button{font-size:12.5px;padding:10px 12px;border-radius:10px}nav button.active{background:linear-gradient(90deg,rgba(61,100,255,.28),rgba(77,85,205,.08));box-shadow:inset 3px 0 0 #6688ff}.nav-sep{margin-top:13px}
.topbar{height:70px;padding:0 24px;background:rgba(255,255,255,.9);box-shadow:0 1px 0 rgba(15,23,36,.03)}.global-search{position:relative;max-width:700px;background:#f4f6f9;border-color:#e6e9ef}.quick-create{background:#17243a;color:white;border:0;padding:10px 15px}.quick-create:hover{background:#243653}.content{padding:26px 30px 42px;max-width:1700px}.page-head{margin-bottom:20px}.page-head h1{font-size:28px;font-weight:800}.page-head p{font-size:12px}.eyebrow{color:#697b99}
.panel{box-shadow:0 7px 25px rgba(20,30,48,.045);border-radius:16px}.btn{border-radius:9px;padding:9px 13px}.btn.success{background:#eaf8f2;color:#16855b;border-color:#ccecdf}.head-select{height:36px;border:1px solid var(--line);border-radius:9px;background:white;padding:0 10px;color:var(--ink);font-weight:650}
.quick-menu{position:fixed;z-index:100;width:240px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:8px;box-shadow:0 22px 60px rgba(16,25,40,.2)}.quick-menu-title{font-size:10px;font-weight:800;color:#8792a2;padding:8px 9px;text-transform:uppercase;letter-spacing:.1em}.quick-menu button{width:100%;border:0;background:transparent;border-radius:9px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left;color:#2d3949}.quick-menu button:hover{background:#f2f5fb}.quick-menu button span{width:28px;height:28px;border-radius:8px;background:#eef2ff;color:#4266dc;display:grid;place-items:center}.quick-menu button b{font-size:12px}
.global-results{position:absolute;top:61px;left:24px;width:min(700px,calc(100vw - 480px));background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 25px 70px rgba(15,25,40,.2);padding:7px;z-index:100}.global-results-head{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#8b96a4;font-weight:800;padding:9px}.global-results-head span{float:right}.global-results button{width:100%;border:0;background:white;display:grid;grid-template-columns:110px 1fr 40px;gap:10px;align-items:center;text-align:left;padding:9px 10px;border-radius:9px}.global-results button:hover{background:#f4f7fc}.global-results button b{font-size:11px}.global-results button small{color:#98a2af}.search-kind{font-size:9px;color:#5972a7;background:#eef3ff;border-radius:6px;padding:4px 6px;text-align:center}.global-empty{padding:25px;text-align:center;color:#8793a0;font-size:11px}
.dashboard-hero{background:linear-gradient(115deg,#15233a 0%,#203f82 58%,#5f55d5 130%);border-radius:20px;color:white;padding:25px 27px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:16px;box-shadow:0 18px 45px rgba(36,61,120,.18);overflow:hidden;position:relative}.dashboard-hero:after{content:"";position:absolute;width:280px;height:280px;border:45px solid rgba(255,255,255,.05);border-radius:50%;right:-90px;top:-150px}.dashboard-hero h2{font-size:22px;margin:7px 0 6px}.dashboard-hero p{font-size:11px;color:#cbd6eb;margin:0}.hero-badge{font-size:8px;letter-spacing:.14em;font-weight:850;color:#a9c2ff}.hero-actions{display:flex;gap:8px;z-index:1}.hero-actions button{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.1);color:white;border-radius:10px;padding:10px 12px;font-weight:750}.hero-actions button:hover{background:rgba(255,255,255,.18)}.stats-grid.enhanced .stat-card{min-height:112px}.stats-grid.enhanced .stat-card:nth-child(4) .ico{background:#fff1ee;color:#cf513c}.dash-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.funnel-panel{grid-row:span 1}.funnel-list{display:flex;flex-direction:column;gap:13px}.funnel-row{display:grid;grid-template-columns:180px 1fr 110px;align-items:center;gap:12px}.funnel-label{display:flex;align-items:center;gap:8px;min-width:0}.funnel-label i{width:9px;height:9px;border-radius:3px}.funnel-label b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.funnel-label span{margin-left:auto;font-size:9px;color:#8290a1}.funnel-track{height:7px;border-radius:10px;background:#eef1f5;overflow:hidden}.funnel-track div{height:100%;border-radius:10px;min-width:4px}.funnel-row>strong{text-align:right;font-size:10px}.task-check{width:27px;height:27px;border-radius:8px;border:1px solid #d9e2ee;background:white;color:#7190be;font-weight:800;flex:0 0 auto}.task-check:hover{background:#eaf7f1;color:#13835a;border-color:#ccebdc}.overdue{color:#d84a4a!important}
.filter-bar.advanced{background:white;border:1px solid var(--line);border-radius:13px;padding:9px;margin-bottom:11px;display:flex;align-items:center;gap:7px;box-shadow:0 4px 15px rgba(20,30,50,.025)}.filter-bar.advanced .search-box{display:flex;align-items:center;gap:7px;min-width:240px;flex:1;border:1px solid #e5e8ee;background:#f8f9fb;border-radius:9px;padding:0 10px}.filter-bar.advanced .search-box input{border:0!important;background:transparent!important;box-shadow:none!important}.filter-bar.advanced select{min-width:150px}.record-count{font-size:9px;color:#768294;font-weight:750;padding:0 7px;white-space:nowrap}.bulk-bar{position:sticky;top:80px;z-index:12;display:flex;gap:7px;align-items:center;background:#18253a;color:white;padding:9px 11px;border-radius:11px;margin:0 0 9px;box-shadow:0 14px 30px rgba(14,25,43,.18)}.bulk-bar strong{font-size:10px;margin-right:5px}.bulk-bar select{height:33px;border:1px solid rgba(255,255,255,.15);background:#25344a;color:white;border-radius:8px;padding:0 8px}.bulk-bar select option{color:#222}.bulk-bar .btn{height:33px;padding:7px 10px}.enhanced-table{border-radius:14px;box-shadow:0 4px 16px rgba(20,30,50,.025)}.enhanced-table th{background:#f8f9fb;padding:11px 12px;color:#768293}.enhanced-table td{padding:11px 12px}.select-cell{width:38px!important;text-align:center}.row-check,#checkAll{width:15px;height:15px;accent-color:var(--accent)}.actions-cell{width:46px}.row-more{border:0;background:#f1f3f6;border-radius:7px;color:#758093;padding:5px 8px}.person-cell{display:flex;align-items:center;gap:9px;min-width:210px}.person-avatar{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#e7edff,#f0eaff);color:#4c67bc;display:grid;place-items:center;font-size:9px;font-weight:850;flex:0 0 auto}.person-cell strong,.person-cell span{display:block}.person-cell strong{font-size:10.5px}.person-cell span{font-size:8.5px;color:#8a95a2;margin-top:3px}.status-pill{--pill:#8294ad;display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:720;padding:5px 7px;border-radius:7px;background:color-mix(in srgb,var(--pill) 12%,white);color:color-mix(in srgb,var(--pill) 80%,#1b2430)}.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--pill)}.task-title-cell{display:flex;gap:8px;align-items:center;min-width:250px}.task-title-cell strong,.task-title-cell span{display:block}.task-title-cell span{font-size:8.5px;color:#8792a0;margin-top:3px}.priority-badge{font-size:8.5px;padding:4px 7px;border-radius:7px;background:#f1f3f6}.priority-badge.high{background:#ffeded;color:#ba3e3e}.priority-badge.low{background:#edf6ff;color:#3b74b6}.overdue-text{color:#d84444;font-weight:750}.progress{width:60px;height:4px;background:#ebedf1;border-radius:10px;overflow:hidden;display:inline-block;margin-right:6px;vertical-align:middle}.progress i{display:block;height:100%;background:#4e77e8}.call-dir{font-size:9px;padding:5px 7px;border-radius:7px;font-weight:730}.call-dir.incoming{background:#eaf8f2;color:#168157}.call-dir.outgoing{background:#edf3ff;color:#3969cf}.empty-state{text-align:center;padding:50px 20px}.empty-state h3{font-size:15px;margin:10px 0 4px}.empty-state p{font-size:10px;color:#8290a0}.empty-illustration{margin:auto;width:50px;height:50px;border-radius:15px;background:#edf2ff;color:#4b70dc;display:grid;place-items:center;font-size:24px}
.pipeline-summary{display:flex;gap:8px;overflow:auto;margin-bottom:12px}.pipeline-summary>div{min-width:165px;background:white;border:1px solid var(--line);border-radius:11px;padding:9px 10px;display:grid;grid-template-columns:9px 1fr 25px;align-items:center;gap:7px}.pipeline-summary i{width:8px;height:8px;border-radius:50%}.pipeline-summary span{font-size:8.5px;color:#6c7888}.pipeline-summary b{font-size:9px;text-align:right}.pipeline-summary strong{grid-column:2/4;font-size:11px}.enhanced-kanban{grid-auto-columns:minmax(260px,1fr)}.enhanced-kanban .kanban-col{background:#f0f2f5;border:0;min-height:590px}.enhanced-kanban .kanban-col.drag-over{background:#e8efff;outline:2px dashed #7c99e8;outline-offset:-5px}.enhanced-kanban .kanban-head{padding:12px;background:#f8f9fb}.enhanced-kanban .kanban-head>div{display:flex;align-items:center;gap:7px}.enhanced-kanban .kanban-head i{width:8px;height:8px;border-radius:50%}.enhanced-kanban .kanban-head>span{background:#e9edf2;border-radius:6px;font-size:8px;padding:4px 6px}.enhanced-kanban .deal-card{padding:12px;border-radius:12px;cursor:grab}.enhanced-kanban .deal-card:active{cursor:grabbing}.deal-card-top{display:flex;justify-content:space-between;color:#91a0b0;font-size:8px;margin-bottom:8px}.deal-card-top b{color:#60738e}.deal-amount{font-weight:800;font-size:13px;margin-top:8px;color:#263349}.deal-card small{font-size:8px;color:#8b96a3;display:block;margin-top:7px}.empty.small{padding:20px 8px;font-size:9px}
.import-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-bottom:14px}.step-label{font-size:8px;font-weight:850;letter-spacing:.1em;color:#8290a2;text-transform:uppercase;margin:5px 0 9px}.resource-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:20px}.resource-picker button{border:1px solid var(--line);background:white;border-radius:10px;padding:10px 6px;font-size:9px;font-weight:730;color:#677486}.resource-picker button span{display:block;font-size:18px;color:#7790c7;margin-bottom:5px}.resource-picker button.active{border-color:#8ba6f9;background:#eff4ff;color:#315ed1;box-shadow:inset 0 0 0 1px #a9bdf9}.drop-zone{border:1.5px dashed #cfd8e5;background:#f8fafc;border-radius:13px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:.2s}.drop-zone:hover,.drop-zone.has-file{border-color:#7897ed;background:#f0f5ff}.drop-zone input{display:none}.drop-icon{width:38px;height:38px;border-radius:11px;background:white;border:1px solid #e0e6ef;display:grid;place-items:center;color:#4a6fd6;font-size:18px;margin-bottom:8px}.drop-zone strong{font-size:10px}.drop-zone span{font-size:8.5px;color:#8793a1;margin-top:4px}.switch-row{display:flex;gap:9px;align-items:flex-start;margin:13px 0;padding:10px;border:1px solid #edf0f4;border-radius:10px}.switch-row input{margin-top:2px;accent-color:var(--accent)}.switch-row b,.switch-row small{display:block}.switch-row b{font-size:9px}.switch-row small{font-size:8px;color:#8b96a2;margin-top:3px}.import-actions{display:flex;justify-content:flex-end;gap:7px}.help-text{font-size:9.5px;color:#748194;line-height:1.6}.column-cloud{display:flex;gap:6px;flex-wrap:wrap}.column-cloud span{background:#f0f3f7;border:1px solid #e6eaf0;border-radius:7px;padding:5px 7px;font-size:8px;color:#526174}.tip-box{background:#eef6ff;border:1px solid #d8e9fc;border-radius:10px;padding:10px;font-size:9px;color:#4f6f91;line-height:1.5;margin-top:14px}.preview-box{border-top:1px solid #edf0f3;margin-top:14px;padding-top:12px}.preview-head{display:flex;justify-content:space-between;font-size:9px}.mapping-list{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.mapping-list>div{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;background:#f8f9fb;border-radius:7px;padding:6px;font-size:8px}.mapping-list b{text-align:center;color:#9aa5b1}.mapping-list strong{color:#315ec9}.mapping-list .muted{color:#9aa5b1}.history-list{display:flex;flex-direction:column}.history-item{display:flex;align-items:center;gap:10px;padding:11px 5px;border-top:1px solid #edf0f3}.history-item:first-child{border-top:0}.history-icon{width:31px;height:31px;background:#edf3ff;color:#3f6ad5;border-radius:9px;display:grid;place-items:center}.history-item .grow{flex:1}.history-item strong,.history-item span{display:block}.history-item strong{font-size:9.5px}.history-item .grow span{font-size:8px;color:#8995a2;margin-top:3px}.history-stats{min-width:60px;text-align:center}.history-stats b{font-size:11px}.history-stats span{font-size:7.5px;color:#8b96a1;margin-top:2px}.history-stats.warn b{color:#b17c20}.history-stats.bad b{color:#c64747}
.duplicate-summary{background:linear-gradient(120deg,#fff,#f4f7ff);border:1px solid #dfe6f6;border-radius:14px;padding:15px 18px;margin-bottom:13px;display:flex;align-items:center;gap:22px}.duplicate-summary>div{display:flex;align-items:baseline;gap:10px}.duplicate-summary span{font-size:9px;color:#7d8997}.duplicate-summary strong{font-size:25px}.duplicate-summary p{font-size:9px;color:#7c8896}.duplicate-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.duplicate-person{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #edf0f4;border-radius:10px;margin-bottom:6px;cursor:pointer}.duplicate-person:hover{background:#f8faff}.duplicate-person .grow{flex:1}.duplicate-person strong,.duplicate-person span{display:block}.duplicate-person strong{font-size:10px}.duplicate-person span{font-size:8px;color:#8995a2;margin-top:3px}.duplicate-person>b{font-size:8px;color:#9aa5b1}.archive-info{display:flex;align-items:center;gap:12px;background:#f7f9fc;border:1px solid var(--line);border-radius:13px;padding:13px 15px;margin-bottom:12px}.archive-info>span{width:36px;height:36px;border-radius:10px;background:white;display:grid;place-items:center;color:#6b7d96;font-size:18px}.archive-info strong{font-size:10px}.archive-info p{font-size:8.5px;color:#8692a0;margin:3px 0 0}.archive-list{display:flex;flex-direction:column}.archive-row{display:flex;align-items:center;gap:10px;padding:10px 4px;border-top:1px solid #edf0f3}.archive-row:first-child{border-top:0}.archive-icon{width:31px;height:31px;border-radius:9px;background:#edf0f4;color:#778597;display:grid;place-items:center;font-size:8px;font-weight:800}.archive-row .grow{flex:1}.archive-row strong,.archive-row span{display:block}.archive-row strong{font-size:10px}.archive-row span{font-size:8px;color:#8995a3;margin-top:3px}
.entity-extras{border-top:1px solid #e7eaf0;margin:18px -18px 0;padding:14px 18px 0}.extra-tabs{display:flex;gap:4px;margin-bottom:10px}.extra-tabs button{border:0;background:#eef1f5;color:#738092;border-radius:7px;padding:7px 10px;font-size:8.5px;font-weight:750}.extra-tabs button.active{background:#17263b;color:white}.note-compose{display:flex;gap:7px}.note-compose textarea{min-height:58px;flex:1}.activity-stream{max-height:250px;overflow:auto;margin-top:9px}.activity-event{display:grid;grid-template-columns:29px 1fr;gap:8px;padding:8px 2px;border-top:1px solid #edf0f3}.activity-symbol{width:25px;height:25px;border-radius:8px;background:#eef3ff;color:#4269cf;display:grid;place-items:center;font-size:10px}.activity-event strong{font-size:8.5px}.activity-event p{font-size:9px;color:#4d5968;margin:3px 0}.activity-event span{font-size:7.5px;color:#98a2ad}.file-upload-mini{display:flex;align-items:center;gap:9px;border:1px dashed #ccd6e4;background:#f8fafc;border-radius:10px;padding:10px;cursor:pointer}.file-upload-mini input{display:none}.file-upload-mini>span{width:28px;height:28px;border-radius:8px;background:white;border:1px solid #e1e6ed;display:grid;place-items:center;color:#3f68d0}.file-upload-mini strong,.file-upload-mini small{display:block}.file-upload-mini strong{font-size:9px}.file-upload-mini small{font-size:7.5px;color:#8995a3;margin-top:2px}.file-list{margin-top:7px}.file-row{display:flex;align-items:center;gap:8px;border-top:1px solid #edf0f3;padding:8px 2px}.file-type{width:31px;height:31px;border-radius:7px;background:#edf2ff;color:#4e6fc0;display:grid;place-items:center;font-size:7px;font-weight:800}.file-row .grow{flex:1}.file-row strong,.file-row span{display:block}.file-row strong{font-size:8.5px}.file-row span{font-size:7.5px;color:#919ba6;margin-top:2px}.file-row button{border:0;background:#f0f2f5;border-radius:7px;width:28px;height:28px}.file-row button.danger{color:#c34747;background:#fff0f0}.entity-extra-loading{font-size:9px;color:#8995a3;padding:15px;text-align:center}
.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.section-title h4{margin:0!important}.section-title span{font-size:8px;color:#8a95a2;display:block;margin-top:3px}.contact-compose{display:flex;gap:7px;margin:8px 0}.contact-compose input{flex:1;border:1px solid #e0e5eb;border-radius:9px;padding:9px}.file-chips{display:flex;gap:6px;flex-wrap:wrap}.file-chips button{border:1px solid #e2e7ee;background:#f8f9fb;border-radius:8px;padding:6px 8px;font-size:8px;color:#536273}.file-chips button span{color:#9aa4af;margin-left:5px}.muted-line{font-size:8px;color:#919ca8;padding:6px 0}.settings-hero{display:flex;align-items:center;gap:13px;background:linear-gradient(115deg,#172438,#24457c);color:white;border-radius:15px;padding:16px 18px;margin-bottom:13px}.settings-shield{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#557dff,#765fe4);display:grid;place-items:center;font-weight:900}.settings-hero div:nth-child(2){flex:1}.settings-hero strong{font-size:11px}.settings-hero p{font-size:8.5px;color:#c5d2e5;margin:4px 0 0}.settings-hero>span{font-size:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13);padding:6px 8px;border-radius:7px}.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.module-grid>div{display:flex;align-items:center;gap:7px;border:1px solid #edf0f3;border-radius:8px;padding:8px}.module-grid i{width:19px;height:19px;border-radius:6px;background:#eaf8f1;color:#16835a;display:grid;place-items:center;font-size:8px;font-style:normal}.module-grid span{font-size:8.5px}
@media(max-width:1180px){.dash-layout{grid-template-columns:1fr}.import-grid{grid-template-columns:1fr}.filter-bar.advanced{flex-wrap:wrap}.filter-bar.advanced .search-box{min-width:100%}.duplicate-grid{grid-template-columns:1fr}.global-results{width:calc(100vw - 330px)}}
@media(max-width:760px){.quick-create{display:none}.sidebar{display:flex;transform:translateX(-100%);transition:.2s;width:270px;z-index:120}.mobile-nav-open .sidebar{transform:translateX(0);box-shadow:20px 0 50px rgba(0,0,0,.25)}.content{padding:16px}.dashboard-hero{flex-direction:column;align-items:flex-start}.hero-actions{flex-wrap:wrap}.stats-grid.enhanced{grid-template-columns:1fr 1fr}.funnel-row{grid-template-columns:130px 1fr}.funnel-row>strong{display:none}.resource-picker{grid-template-columns:1fr 1fr}.mapping-list{grid-template-columns:1fr}.global-results{left:8px;right:8px;width:auto;top:58px}.enhanced-table{overflow:auto}.filter-bar.advanced select{min-width:calc(50% - 5px);flex:1}.bulk-bar{overflow:auto}.module-grid{grid-template-columns:1fr}.top-actions{gap:5px}}

/* Form clarity and required-field validation */
.modal-head .modal-subtitle{margin:4px 0 0;color:var(--muted);font-size:10px;font-weight:500}.required-star{color:#d44747;font-weight:900;margin-left:3px}.form-required-note{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:14px;border:1px solid #f0d9d9;background:#fff8f8;border-radius:11px;color:#6a4b4b}.form-required-note>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#ffe8e8;color:#c83d3d;font-size:17px;font-weight:900;flex:0 0 auto}.form-required-note strong,.form-required-note small{display:block}.form-required-note strong{font-size:10px;color:#5d3f3f}.form-required-note small{font-size:9px;color:#957676;margin-top:2px}.field label{display:flex;align-items:center;min-height:14px}.field-hint{font-size:8.5px;color:#8b96a2;line-height:1.35}.field-error{display:none;font-size:8.5px;color:#c83d3d;font-weight:650;line-height:1.35}.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:#db5b5b!important;background:#fffafa;box-shadow:0 0 0 3px rgba(219,91,91,.09)!important}.field.has-error .field-error{display:block}.field.required-field input,.field.required-field select,.field.required-field textarea{border-left-width:2px}.field input::placeholder,.field textarea::placeholder{color:#aab3bd}.modal-body .form-grid{align-items:start}.modal-foot{position:sticky;bottom:-18px;background:linear-gradient(to top,#f6f8fa 72%,rgba(246,248,250,0));margin:10px -18px -18px;padding:24px 18px 18px;z-index:2}

/* ===================== Geometry CRM 4.0 / Premium Real Estate ===================== */
:root{--navy:#0b1220;--navy2:#111b2e;--gold:#c9a96e;--violet:#7658ff;--cyan:#2ca8ff;--glass:rgba(255,255,255,.78)}
body{background:radial-gradient(circle at 90% 0%,rgba(66,110,255,.08),transparent 28%),linear-gradient(180deg,#f5f7fb 0%,#f1f4f8 100%)}
.sidebar{background:radial-gradient(circle at 30% 0%,rgba(73,111,232,.17),transparent 30%),linear-gradient(180deg,#101927 0%,#0a1019 100%);box-shadow:18px 0 55px rgba(8,17,31,.08)}
.brand-mark{background:linear-gradient(145deg,#5b84ff,#244bc6 68%,#18348f);box-shadow:0 12px 32px rgba(62,103,236,.34)}
.topbar{box-shadow:0 8px 40px rgba(20,35,60,.04)}
.content{padding:32px 34px 50px}.page-head h1{font-size:29px;font-weight:820}.page-head p{font-size:13px}.eyebrow{color:#607fba}
.panel,.stat-card{box-shadow:0 8px 30px rgba(22,39,67,.045);border-color:#e4e9f0}.panel:hover{border-color:#dce3ed}
.btn.primary{background:linear-gradient(135deg,#326df2,#1f56d7);box-shadow:0 7px 18px rgba(47,109,246,.18)}.btn.primary:hover{box-shadow:0 10px 25px rgba(47,109,246,.27)}

/* form system */
.form-section{margin:18px 0 0;padding:18px;border:1px solid #e6ebf2;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.form-section-head{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 15px;padding-bottom:12px;border-bottom:1px solid #edf0f4}.form-section-head strong{display:block;font-size:13px}.form-section-head span{display:block;font-size:10px;color:#83909e;margin-top:3px}.section-pill{font-size:8px!important;letter-spacing:.12em;color:#516b98!important;background:#eef3fb;border:1px solid #dfe8f6;border-radius:20px;padding:5px 8px;margin:0!important}.section-pill.estate{background:#f3f0ff;color:#6c58cc!important}.section-pill.money{background:#eef9f4;color:#16845b!important}.section-pill.private{background:#fff6e8;color:#a66c16!important}
.crm4-custom-sections{grid-column:1/-1}.switch-line{display:flex!important;align-items:center;gap:9px;min-height:42px;border:1px solid #e4e9ef;border-radius:10px;padding:0 11px;background:#fff}.switch-line input{width:17px;height:17px}.check-stack{display:flex;gap:18px;align-items:center;flex-wrap:wrap;min-height:42px}.check-stack label{display:flex;gap:7px;align-items:center;font-size:12px;color:#3d4b5a}.check-stack input{width:16px;height:16px}
.modal{width:min(920px,calc(100vw - 34px));max-height:94vh;border-radius:22px;box-shadow:0 35px 90px rgba(13,25,45,.22)}.modal-head{padding:21px 24px}.modal-body{padding:20px 24px 0}.modal-foot{position:sticky;bottom:0;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);z-index:3;margin-left:-24px;margin-right:-24px;padding:15px 24px;border-top:1px solid #e8ecf1}

/* automation */
.automation-hero{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:22px 24px;margin-bottom:18px;border-radius:20px;background:linear-gradient(115deg,#101a2e,#172643 64%,#1e3b73);color:#fff;box-shadow:0 18px 45px rgba(20,43,83,.19);position:relative;overflow:hidden}.automation-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-130px;background:rgba(99,135,255,.16)}.automation-bolt{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#725cff,#4c6eff);font-size:25px;box-shadow:0 10px 26px rgba(86,87,247,.4)}.automation-hero strong{font-size:18px}.automation-hero p{margin:5px 0 0;color:#aebbd0;font-size:12px;max-width:690px}.automation-kpis{display:grid;grid-template-columns:auto auto;gap:2px 9px;align-items:center;z-index:1}.automation-kpis b{font-size:22px;text-align:right}.automation-kpis span{font-size:9px;color:#aab7cd;text-transform:uppercase;letter-spacing:.08em}.automation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:17px}.automation-card{background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:17px;box-shadow:0 7px 25px rgba(24,40,65,.04);transition:.2s}.automation-card:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(24,40,65,.08)}.automation-card.off{opacity:.62}.auto-top{display:flex;align-items:center;gap:11px}.auto-icon{width:37px;height:37px;border-radius:11px;background:#f0edff;color:#6957d4;display:grid;place-items:center}.auto-top strong,.auto-top span{display:block}.auto-top strong{font-size:13px}.auto-top span{font-size:10px;color:#8190a0;margin-top:3px}.toggle{width:38px;height:22px;border:0;border-radius:20px;background:#d7dde5;padding:3px}.toggle i{display:block;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.12)}.toggle.on{background:#456ff0}.toggle.on i{transform:translateX(16px)}.automation-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:7px;align-items:center;background:#f7f9fc;border:1px solid #edf0f4;border-radius:13px;padding:11px;margin:14px 0}.automation-flow>div{min-width:0}.automation-flow small,.automation-flow b{display:block}.automation-flow small{font-size:7px;color:#98a3af;letter-spacing:.1em}.automation-flow b{font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.automation-flow>span{color:#a9b3bf}.auto-foot{display:flex;align-items:center;justify-content:space-between}.auto-foot>span{font-size:9px;color:#8996a3}.auto-foot button{border:0;background:#f1f4f8;border-radius:8px;width:30px;height:28px;margin-left:4px;color:#526276}.automation-log-preview{margin-top:5px}.run-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef1f4}.run-row:last-child{border-bottom:0}.run-row>i{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-size:11px}.run-row>i.success{background:#e9f8f1;color:#16865b}.run-row>i.error{background:#fff0f0;color:#ce4545}.run-row strong,.run-row span{display:block}.run-row strong{font-size:11px}.run-row span,.run-row time,.run-row>b{font-size:9px;color:#8794a1}.auto-payload{margin-top:14px}

/* custom field builder */
.custom-field-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 26px;margin-bottom:17px;border-radius:20px;background:linear-gradient(120deg,#fff,#f4f6ff);border:1px solid #e4e6f4;box-shadow:0 8px 25px rgba(45,54,95,.04)}.custom-field-hero>div>span{font-size:8px;font-weight:800;letter-spacing:.14em;color:#806fe0}.custom-field-hero h2{font-size:18px;margin:5px 0}.custom-field-hero p{font-size:11px;color:#768392;margin:0}.field-type-cloud{display:flex;max-width:370px;gap:7px;flex-wrap:wrap;justify-content:flex-end}.field-type-cloud i{font-style:normal;background:#fff;border:1px solid #e4e8f0;border-radius:20px;padding:7px 10px;font-size:9px;color:#5f6e7d}.custom-entity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.custom-group:last-child{grid-column:1/-1}.custom-field-row{width:100%;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #eef1f4;background:transparent;padding:11px 2px;text-align:left}.custom-field-row:last-child{border-bottom:0}.custom-field-row:hover{background:#fafbfc}.custom-field-row.disabled{opacity:.48}.field-type-icon{width:31px;height:31px;border-radius:9px;background:#eef3ff;color:#4f6fc5;display:grid;place-items:center;font-weight:800}.custom-field-row strong,.custom-field-row span{display:block}.custom-field-row strong{font-size:11px}.custom-field-row strong em{color:#e34d4d;font-style:normal}.custom-field-row .grow span{font-size:9px;color:#8996a3;margin-top:3px}.custom-field-row>small{font-size:8px;color:#8c98a4;background:#f2f4f7;padding:4px 6px;border-radius:6px}.list-badge{font-style:normal;font-size:7px;color:#5b6cc4;background:#eef0ff;border-radius:9px;padding:4px 6px}

/* real estate */
.estate-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:13px}.estate-kpis>div{padding:14px 15px;background:#fff;border:1px solid #e4e9ef;border-radius:15px}.estate-kpis span,.estate-kpis b,.estate-kpis small{display:block}.estate-kpis span{font-size:7px;letter-spacing:.11em;font-weight:800;color:#8a97a5}.estate-kpis b{font-size:23px;margin:7px 0 3px}.estate-kpis small{font-size:9px;color:#8794a1}.estate-filter-shell{background:#fff;border:1px solid #e3e8ee;border-radius:17px;padding:12px;margin-bottom:15px;box-shadow:0 6px 22px rgba(20,35,55,.035)}.estate-filter-main{display:grid;grid-template-columns:minmax(260px,1fr) 130px 185px 130px auto;gap:8px}.search-big{height:42px;border:1px solid #e1e6ed;border-radius:11px;display:flex;align-items:center;gap:8px;padding:0 11px;background:#fafbfd}.search-big input{border:0!important;background:transparent!important;outline:0;min-width:0;width:100%}.estate-filter-shell select,.estate-filter-more input,.estate-filter-more select{border:1px solid #e1e6ed;background:#fff;border-radius:10px;padding:0 10px;height:42px;font-size:11px}.estate-filter-shell details{margin-top:9px}.estate-filter-shell summary{font-size:9px;color:#667584;cursor:pointer;padding:5px}.estate-filter-more{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding-top:8px}.estate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.estate-card{background:#fff;border:1px solid #e1e6ec;border-radius:18px;overflow:hidden;box-shadow:0 7px 28px rgba(24,37,55,.05);transition:.23s;cursor:pointer}.estate-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(24,37,55,.10);border-color:#d5dce5}.estate-card-visual{height:112px;position:relative;overflow:hidden;background:linear-gradient(130deg,#1d2c45,#29446d)}.visual-pattern{position:absolute;inset:0;background:radial-gradient(circle at 15% 25%,rgba(91,139,255,.5),transparent 25%),linear-gradient(45deg,transparent 48%,rgba(255,255,255,.035) 49%,rgba(255,255,255,.035) 51%,transparent 52%);background-size:auto,24px 24px}.deal-badge,.exclusive-badge{position:absolute;top:12px;border-radius:20px;padding:5px 8px;font-size:7px;font-weight:800;letter-spacing:.08em}.deal-badge{left:12px;color:#dce8ff;background:rgba(11,22,41,.55);backdrop-filter:blur(8px)}.exclusive-badge{right:12px;color:#fff2cb;background:rgba(156,111,34,.54)}.estate-price{position:absolute;left:14px;bottom:12px;color:#fff;font-size:19px;font-weight:800}.estate-card-body{padding:15px}.estate-title{display:flex;gap:10px;justify-content:space-between}.estate-title span{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:#8996a3}.estate-title h3{font-size:14px;margin:4px 0 0}.estate-title>b{font-size:9px;color:#9ba5b0}.estate-address{font-size:10px;color:#708090;margin:8px 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.estate-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.estate-metrics>div{background:#f7f9fb;border-radius:9px;padding:8px}.estate-metrics small,.estate-metrics strong{display:block}.estate-metrics small{font-size:6px;color:#9aa5b0;letter-spacing:.08em}.estate-metrics strong{font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.estate-tags{display:flex;gap:5px;margin:10px 0}.estate-tags span{font-size:7px;background:#eef3fa;color:#5c6d81;padding:5px 7px;border-radius:8px}.estate-card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f3;padding-top:10px}.estate-card-foot>span{font-size:9px;color:#778493;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.estate-card-foot button{border:0;background:#edf3ff;color:#3267d8;border-radius:8px;padding:6px 8px;font-size:8px}.estate-dashboard-strip{display:grid;grid-template-columns:repeat(4,1fr) auto;align-items:center;gap:1px;background:#111d31;color:#fff;border-radius:16px;margin:12px 0 15px;overflow:hidden}.estate-dashboard-strip>div{padding:13px 17px;border-right:1px solid rgba(255,255,255,.08)}.estate-dashboard-strip span,.estate-dashboard-strip b{display:block}.estate-dashboard-strip span{font-size:6px;color:#899bb6;letter-spacing:.11em}.estate-dashboard-strip b{font-size:18px;margin-top:5px}.estate-dashboard-strip button{align-self:stretch;border:0;background:#1e61d8;color:#fff;padding:0 18px;font-size:9px;font-weight:700}

/* selections */
.real-process{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid #e3e8ee;border-radius:17px;padding:14px;margin-bottom:15px}.real-process>div{display:flex;align-items:center;gap:7px}.real-process i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#edf1f5;color:#7e8a98;font-style:normal;font-size:9px}.real-process .active i{background:#e8efff;color:#3568d8}.real-process b,.real-process span{display:block}.real-process b{font-size:9px}.real-process span{font-size:7px;color:#919daa;margin-top:2px}.real-process em{color:#c5ccd4;font-style:normal}.selection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.selection-card{background:#fff;border:1px solid #e2e7ed;border-radius:17px;overflow:hidden;cursor:pointer;transition:.2s}.selection-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(25,38,55,.08)}.selection-cover{height:90px;background:linear-gradient(130deg,#182740,#294d82);color:#fff;padding:13px;position:relative}.selection-cover span{font-size:7px;letter-spacing:.1em;color:#afc4e6}.selection-cover b{display:block;font-size:31px;margin-top:7px}.selection-cover small{position:absolute;left:48px;bottom:18px;color:#abc0dd}.selection-content{padding:14px}.selection-content>strong{font-size:13px}.selection-content>p{font-size:10px;color:#7a8795;height:28px}.selection-content>div{display:flex;align-items:center;justify-content:space-between}.selection-content time{font-size:8px;color:#97a2ad}.selection-add{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:13px}.selection-add select{height:40px;border:1px solid #dfe5ec;border-radius:10px;padding:0 10px}.selection-items{display:flex;flex-direction:column;gap:9px}.selection-item{display:grid;grid-template-columns:80px minmax(0,1fr) 115px 38px;gap:11px;align-items:center;border:1px solid #e7ebf0;border-radius:13px;padding:9px}.property-thumb{height:68px;background:linear-gradient(135deg,#1a2941,#2a4f7a);border-radius:10px;color:#fff;padding:8px}.property-thumb span{font-size:6px;color:#a9bfdf}.property-thumb b{display:block;font-size:18px;margin-top:9px}.selection-item strong{font-size:11px}.selection-item p{font-size:9px;color:#7f8b97;margin:4px 0}.selection-item textarea{width:100%;min-height:28px;border:1px solid #e4e8ed;border-radius:7px;font-size:8px;padding:5px}.selection-item select{height:34px;border:1px solid #e0e5eb;border-radius:8px;font-size:9px}.match-preview{margin-top:13px}.match-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf0f3;padding:9px 0}.match-score{width:43px;height:43px;border-radius:12px;background:#e9f4ff;color:#2767c5;display:grid;place-items:center;font-weight:800;font-size:11px}.match-row strong,.match-row span{display:block}.match-row strong{font-size:10px}.match-row span{font-size:8px;color:#82909e;margin-top:3px}.match-row>b{font-size:9px}

/* showings */
.showing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:16px}.showing-summary>div{background:#fff;border:1px solid #e2e7ed;border-radius:14px;padding:13px 15px}.showing-summary b,.showing-summary span{display:block}.showing-summary b{font-size:22px}.showing-summary span{font-size:8px;color:#8996a3;text-transform:uppercase;letter-spacing:.08em}.timeline-showings{max-width:950px}.showing-row{display:grid;grid-template-columns:62px 16px minmax(0,1fr);gap:10px;min-height:100px}.showing-date{text-align:center;padding-top:9px}.showing-date b,.showing-date span,.showing-date small{display:block}.showing-date b{font-size:22px}.showing-date span{font-size:9px;color:#71808f;text-transform:uppercase}.showing-date small{font-size:8px;color:#9aa4ae;margin-top:4px}.showing-line{position:relative}.showing-line:before{content:"";position:absolute;left:7px;top:0;bottom:0;width:1px;background:#dfe4ea}.showing-line:after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;left:3px;top:20px;background:#4a77e7;border:3px solid #e8efff}.showing-row.completed .showing-line:after{background:#20a36b;border-color:#e9f7f1}.showing-row.cancelled .showing-line:after{background:#d85656;border-color:#fff0f0}.showing-card{align-self:start;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e8ee;border-radius:14px;padding:12px 14px;margin-bottom:10px}.showing-card h3{font-size:12px;margin:6px 0 3px}.showing-card p{font-size:9px;color:#72808e;margin:0}.showing-card small{display:block;font-size:8px;color:#98a2ad;margin-top:5px}

@media(max-width:1250px){.estate-grid{grid-template-columns:repeat(2,1fr)}.automation-grid,.custom-entity-grid{grid-template-columns:1fr}.estate-kpis{grid-template-columns:repeat(3,1fr)}.estate-filter-main{grid-template-columns:1fr 120px 160px auto}.estate-filter-main #objClass{display:none}.selection-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.estate-grid,.selection-grid{grid-template-columns:1fr}.estate-kpis{grid-template-columns:repeat(2,1fr)}.estate-filter-main{grid-template-columns:1fr 1fr}.search-big{grid-column:1/-1}.estate-filter-more{grid-template-columns:1fr 1fr}.automation-grid{grid-template-columns:1fr}.automation-hero{grid-template-columns:auto 1fr}.automation-kpis{display:none}.real-process{overflow:auto;justify-content:flex-start}.estate-dashboard-strip{grid-template-columns:repeat(2,1fr)}.estate-dashboard-strip button{grid-column:1/-1;height:40px}.selection-item{grid-template-columns:60px 1fr}.selection-item>select,.selection-item>button{grid-column:2}.custom-field-hero{align-items:flex-start;flex-direction:column}.field-type-cloud{justify-content:flex-start}}
.custom-cell{display:block;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#536273}.actions-cell{white-space:nowrap}.match-shortcut{color:#7b5ddd!important;background:#f1edff!important;margin-right:3px!important}.match-drawer-head{padding:12px 14px;background:#f6f8fb;border:1px solid #e5eaf0;border-radius:12px;margin-bottom:12px}.match-drawer-head strong,.match-drawer-head span{display:block}.match-drawer-head strong{font-size:12px}.match-drawer-head span{font-size:9px;color:#7e8b98;margin-top:3px}.match-object{display:flex;align-items:center;gap:11px;border:1px solid #e5e9ef;border-radius:13px;padding:10px;margin-bottom:8px;cursor:pointer}.match-object:hover{background:#fafcff;border-color:#d7e0ec}.score-ring{width:48px;height:48px;border-radius:50%;display:flex;align-items:baseline;justify-content:center;padding-top:13px;background:conic-gradient(#4777ed var(--score,75%),#e7ebf2 0);box-shadow:inset 0 0 0 6px #fff;color:#315fcc}.score-ring b{font-size:13px}.score-ring span{font-size:7px}.match-object strong,.match-object p,.match-object small{display:block}.match-object strong{font-size:11px}.match-object p{font-size:9px;color:#748290;margin:3px 0}.match-object small{font-size:8px;color:#9aa5b0}.match-object>b{font-size:10px}
