@font-face{font-family:Space Grotesk;src:url("./brand/space-grotesk.woff2") format("woff2");font-weight:300 700;font-display:swap}
:root{color-scheme:light;--ink:#132d25;--muted:#54665c;--border:#d5dbd2;--teal:#125445;--paper:#f4f5ef;--accent:#e8ab76;--white:#fff;--font:"Space Grotesk",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%;background:var(--paper)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c58023;outline-offset:3px}
.crm-skip{position:fixed;z-index:90;left:10px;top:8px;transform:translateY(-160%);padding:8px 14px;background:white;color:var(--ink)}
.crm-skip:focus{transform:translateY(0)}
.crm-loading{max-width:960px;margin:20vh auto;padding:24px;font-size:24px}
.crm-shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh}
.crm-sidebar{z-index:15;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;height:100dvh;overflow:auto;background:linear-gradient(166deg,#153c32,#102d27 55%,#0d2822);color:#e6f0e8;padding:30px 15px 19px;box-shadow:inset -1px 0 0 #102f28}
.crm-brand{display:flex;align-items:center;gap:10px;padding:0 8px 31px;border-bottom:1px solid #ffffff23;margin:0 3px 28px}
.crm-brand img{width:104px;height:auto;display:block}
.crm-brand span{font-size:12px;font-weight:450;letter-spacing:-.015em;border-left:1px solid #769485;padding:2px 0 2px 10px;color:#d3e0d2;line-height:1}
.crm-nav-group{margin-bottom:24px}
.crm-nav-title{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#a0b6a9;margin:0 0 9px;padding:0 12px}
.crm-nav-btn{width:100%;display:flex;align-items:center;gap:11px;color:#d1dfd4;background:transparent;border:0;border-radius:7px;text-align:left;padding:10px 12px;line-height:1.25;font-size:13px;font-weight:450;min-height:38px;margin:2px 0;transition:background .12s}
.crm-nav-btn:hover,.crm-nav-btn:focus-visible{background:#ffffff11;color:#fff}
.crm-nav-btn.is-current{background:#315449;color:white;box-shadow:inset 0 0 0 1px #ffffff10}
.crm-nav-btn.is-current::after{content:"";width:5px;height:5px;background:#edbd84;border-radius:50%;margin-left:auto}
.crm-icon{display:inline-block;width:17px;height:17px;flex:0 0 auto;vertical-align:middle}
.crm-nav-btn>.crm-icon{width:17px;height:17px}
.crm-side-footer{margin:auto 4px 0;padding:16px 8px 0;border-top:1px solid #ffffff23;color:#abbdaf;font-size:11px}
.crm-side-footer strong{color:#e6ede6;font-weight:500}
.crm-main{min-width:0}
.crm-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:12px clamp(22px,3vw,46px);border-bottom:1px solid var(--border);background:#fbfcf8}
.crm-crumb{display:flex;gap:9px;align-items:center;min-width:0;font-size:12px;font-weight:500;color:#5c6c61}
.crm-crumb b{color:#213b2c;font-weight:550}
.crm-crumb .crm-icon{width:15px;height:15px;color:#687969}
.crm-crumb .crm-slash{color:#9ca79b}
.crm-account{display:inline-flex;align-items:center;gap:8px;color:#254137;border:1px solid transparent;border-radius:20px;background:transparent;padding:3px 7px 3px 3px;font-size:12px}
.crm-account:hover{background:#edf1e8;border-color:#d7ddd2}
.crm-account>.crm-icon{width:12px;height:12px;color:#6d7c71}
.crm-avatar{width:27px;height:27px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#d9e7da;color:#214b3d;border:1px solid #b9cbbd;font-size:10px;font-weight:650}
.crm-account-name{overflow:hidden;max-width:min(28vw,220px);text-overflow:ellipsis;white-space:nowrap}
.crm-private-dot{display:inline-block;width:6px;height:6px;background:#9bb8a1;border-radius:50%;margin-right:7px}
.crm-hamburger{display:none!important}
.crm-scrim{display:none}
.crm-content{padding:24px clamp(22px,3vw,46px) 30px;max-width:2000px;margin:0 auto}
.crm-hero{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;min-height:190px;padding:28px 30px;border:1px solid #143e30;border-radius:14px;background:#133728;color:white;overflow:hidden}
.crm-atlas,.crm-atlas::before,.crm-atlas::after,.crm-terrain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.crm-atlas{z-index:-1;overflow:hidden;background:#123c2e url("./brand/aerial.jpg") center 49%/cover no-repeat}
.crm-atlas::before{content:"";background:linear-gradient(85deg,rgba(9,36,27,.97),rgba(12,44,31,.9) 25%,rgba(15,51,37,.42) 61%,rgba(16,53,39,.20)),linear-gradient(0deg,rgba(7,31,23,.58),transparent 62%)}
.crm-atlas::after{content:"";opacity:.32;background-image:linear-gradient(90deg,rgba(230,244,227,.26) 1px,transparent 1px),linear-gradient(0deg,rgba(230,244,227,.26) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent 10%,#000 84%)}
.crm-terrain{display:block}
.crm-hero-text{min-width:0;position:relative}
.crm-hero h1{font-size:clamp(36px,3.7vw,58px);font-weight:500;line-height:1.03;letter-spacing:-.065em;margin:0 0 11px;overflow-wrap:anywhere}
.crm-hero .crm-caption{margin:0 0 12px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:550;color:#d6e8d6}
.crm-hero .crm-caption>.crm-icon{width:15px;height:15px;color:#eac18b}
.crm-hero-text p:last-child{font-size:13px;color:#e4efe5;line-height:1.5;margin:0;max-width:440px}
.crm-hero-actions,.crm-tools,.crm-view-toggle,.crm-section-title,.crm-filter-row,.crm-heading-main{display:flex;align-items:center}
.crm-hero-actions{gap:8px;justify-content:flex-end;flex-wrap:wrap}
.crm-btn{border:1px solid var(--border);background:white;color:var(--ink);border-radius:7px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;text-decoration:none;font-size:12px;font-weight:550;gap:6px;white-space:nowrap;min-height:36px}
.crm-btn:hover{background:#f0f4ec}
.crm-btn.primary{background:#efb980;border-color:#efb980;color:#27291c}
.crm-btn.primary:hover{background:#f5c99d}
.crm-btn.on-photo{color:#fff;background:#153727cf;border-color:#e5f0da70}
.crm-btn.on-photo:hover{background:#204833}
.crm-btn>.crm-icon{width:15px;height:15px}
.crm-btn-icon{display:inline-flex;align-items:center;justify-content:center;padding:5px;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:6px}
.crm-btn-icon:hover{background:#e5ece1;color:#173421}
.crm-menu-wrap{position:relative}
.crm-dropmenu{z-index:10;position:absolute;right:0;top:calc(100% + 6px);width:175px;padding:5px;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px #142e211f;background:#fff}
.crm-dropmenu button{border:0;background:transparent;display:flex;align-items:center;gap:8px;color:var(--ink);font-size:12px;width:100%;padding:8px 9px;text-align:left;border-radius:4px}
.crm-dropmenu button:hover{background:#edf2e9}
.crm-metrics{background:white;border-radius:10px;border:1px solid var(--border);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 29px;padding:17px 0}
.crm-stat{padding:0 clamp(12px,1.65vw,25px);min-width:0;position:relative}
.crm-stat+.crm-stat{border-left:1px solid var(--border)}
.crm-stat-label{display:flex;align-items:center;gap:7px;color:#59675b;font-size:clamp(10px,.9vw,13px);line-height:1.3;font-weight:550}
.crm-stat-label .crm-icon{width:15px;height:15px;color:#698566}
.crm-stat strong{display:block;font-size:clamp(24px,2.4vw,39px);line-height:1.12;font-weight:500;letter-spacing:-.055em;font-variant-numeric:tabular-nums;margin-top:8px;word-break:break-word}
.crm-stat small{display:block;color:#68776a;font-size:11px;line-height:1.4;margin-top:5px}
.crm-board-section{min-width:0}
.crm-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.crm-heading-main{gap:8px;align-items:center;min-width:0}
.crm-board-name{appearance:none;border:0;background:transparent;color:var(--ink);font:inherit;font-size:clamp(21px,1.8vw,29px);font-weight:550;letter-spacing:-.047em;line-height:1.3;max-width:100%;padding:2px 24px 2px 0;cursor:pointer}
.crm-selector{position:relative;max-width:100%}
.crm-selector>.crm-icon{width:13px;height:13px;position:absolute;right:2px;top:50%;transform:translateY(-50%);pointer-events:none}
.crm-tools{gap:8px;flex-wrap:wrap}
.crm-search{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--border);border-radius:7px;color:#697a6c;padding:7px 10px;height:35px}
.crm-search .crm-icon{width:15px;height:15px}
.crm-search input{border:0;outline:none;background:transparent;width:clamp(90px,10vw,146px);font-size:12px;color:var(--ink)}
.crm-search input:focus-visible{outline:none}
.crm-search:focus-within{outline:2px solid #648b73}
.crm-view-toggle{border:1px solid var(--border);border-radius:7px;padding:2px;background:#fff;gap:1px}
.crm-view-toggle button{border:0;border-radius:5px;padding:5px 7px;background:transparent;display:flex;align-items:center;justify-content:center;color:#637367;height:29px}
.crm-view-toggle button[aria-pressed=true]{color:#1f523b;background:#e7eee3}
.crm-view-toggle .crm-icon{width:15px;height:15px}
.crm-heading-sub{margin:3px 0 0;font-size:12px;color:var(--muted)}
.crm-kanban{display:flex;gap:12px;overflow-x:auto;align-items:stretch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b3c5b5 #e9eee5;padding:2px 1px 14px;min-height:292px}
.crm-lane{--lane:#8eac95;width:clamp(224px,19vw,292px);flex:0 0 auto;border:1px solid #d9dfd5;border-radius:9px;scroll-snap-align:start;background:#edf0e9;min-height:266px;overflow:hidden;display:flex;flex-direction:column;transition:background-color .14s,border-color .14s}
.crm-lane[data-kind=conversation]{--lane:#77a9bc}.crm-lane[data-kind=scope]{--lane:#b1a3c4}.crm-lane[data-kind=loi]{--lane:#c89558}.crm-lane[data-kind=live]{--lane:#73a584}.crm-lane[data-kind=accepted]{--lane:#68988c}.crm-lane[data-kind=terms]{--lane:#c58f77}.crm-lane[data-kind=won]{--lane:#4b8b63}.crm-lane[data-kind=lost],.crm-lane[data-kind=hold]{--lane:#a0a19a}
.crm-lane.is-over{background:#d8e8d9;border-color:#408460;box-shadow:inset 0 0 0 1px #408460}
.crm-lane-head{padding:12px 12px 11px;border-top:3px solid var(--lane);border-bottom:1px solid #d6ddd1}
.crm-lane-row{display:flex;gap:7px;align-items:center}
.crm-lane-row h3{font-size:15px;line-height:1.2;font-weight:600;letter-spacing:-.026em;margin:0;overflow-wrap:anywhere}
.crm-count{font-variant-numeric:tabular-nums;font-size:10px;font-weight:650;background:#fff9;border:1px solid #d3dacd;border-radius:5px;min-width:19px;padding:1px 4px;text-align:center;line-height:1.35;color:#59685a}
.crm-lane-add{margin-left:auto;flex-shrink:0}
.crm-lane-add .crm-icon{width:15px;height:15px}
.crm-lane-value{font-size:12px;margin:6px 0 0;color:#566759}
.crm-lane-extra{font-size:10px;margin:4px 0 0;color:#687669}
.crm-lane-body{background:radial-gradient(circle at 1px 1px,#52705f14 .7px,transparent .8px) 0 0/12px 12px;display:flex;flex-direction:column;gap:8px;flex:1;padding:8px}
.crm-card{display:block;text-align:left;width:100%;border:1px solid #dbe0d6;background:#fff;color:var(--ink);border-radius:7px;padding:12px;box-shadow:0 1px 2px #1d382408;line-height:1.35;cursor:grab}
.crm-card:hover{border-color:#a2b7a2;box-shadow:0 3px 7px #213b2412}
.crm-card.is-dragging{opacity:.52;cursor:grabbing}
.crm-card-top{display:flex;align-items:center;gap:8px}
.crm-company-logo{height:33px;width:33px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;background:#e8efe3;color:#486546;border:1px solid #00000008;font-size:12px;font-weight:650;letter-spacing:-.05em}
.crm-company-logo img{width:100%;height:100%;object-fit:contain;padding:2px}
.crm-company-logo.t1{background:#e0ece8;color:#366753}.crm-company-logo.t2{background:#f3e8d9;color:#8e623b}.crm-company-logo.t3{background:#e5eaf2;color:#526799}.crm-company-logo.t4{background:#ebe6ee;color:#785e89}
.crm-card-title{display:block;font-size:14px;font-weight:600;letter-spacing:-.03em;overflow-wrap:anywhere}
.crm-card-location{display:block;color:var(--muted);font-size:11px;line-height:1.25;margin-top:2px}
.crm-card-product{display:block;color:#425d4b;font-size:11px;font-weight:500;margin:12px 0 0}
.crm-card-bottom{margin-top:8px;padding-top:9px;border-top:1px solid #e7ece2;display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.crm-card-price{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.crm-card-price small,.crm-card-area{color:#657467;font-size:10px;font-weight:450}
.crm-card-area{display:inline-flex;align-items:center;gap:3px}.crm-card-area .crm-icon{width:12px;height:12px}
.crm-stage-empty{min-height:52px;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;background:transparent;border:1px dashed #c5cfbf;border-radius:6px;font-size:12px;color:#687b6a}
.crm-stage-empty:hover{background:#e1e9dd;color:#2a5639}
.crm-stage-empty .crm-icon{width:13px;height:13px}
.crm-filter-row{justify-content:space-between;gap:10px;margin:0 0 12px}
.crm-filter{display:inline-flex;gap:1px;align-items:center;border-bottom:1px solid #d6ddd2}
.crm-filter button{border:0;border-bottom:2px solid transparent;white-space:nowrap;font-size:12px;padding:5px 8px 7px;background:transparent;color:#617267}
.crm-filter button[aria-pressed=true]{color:#22543a;border-bottom-color:#437957;font-weight:650}
.crm-paging{display:flex;align-items:center;gap:3px;line-height:1}
.crm-paging .crm-btn-icon{border:1px solid var(--border);background:#fafbf7;border-radius:5px;padding:4px}.crm-paging .crm-icon{width:14px;height:14px}
.crm-paging .crm-btn-icon:disabled{opacity:.34;cursor:default}
.crm-empty-note{margin:0 0 10px;display:flex;gap:7px;align-items:center;color:#54675c;font-size:12px}
.crm-empty-note>.crm-icon{width:14px;height:14px;flex:0 0 auto}
.crm-list-wrap{overflow:auto;border:1px solid var(--border);border-radius:8px;background:white}
.crm-list{border-collapse:collapse;width:100%;min-width:670px;text-align:left;font-size:12px}
.crm-list th,.crm-list td{padding:11px 12px;border-bottom:1px solid #e8ece4}
.crm-list tr:last-child td{border-bottom:0}
.crm-list th{font-size:11px;color:#5a685e;background:#eef1ea;font-weight:550}
.crm-list td:first-child button{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;color:#244b30;font-size:13px;font-weight:600;text-align:left}
.crm-list .crm-company-logo{width:27px;height:27px;font-size:10px}
.crm-list tr:hover td{background:#fafcf8}
.crm-no-results{margin:4px 0 12px;color:#596a60;font-size:13px}
.crm-move-alert{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:35;max-width:min(94vw,540px);display:flex;align-items:center;gap:9px;background:#173a2b;color:white;box-shadow:0 5px 24px #16342933;border-radius:8px;padding:12px;font-size:12px}
.crm-move-alert .crm-btn{min-height:29px;padding:5px 8px}
#toast{pointer-events:none;position:fixed;z-index:70;bottom:16px;right:16px;max-width:min(92vw,440px)}
#toast:not(:empty){padding:10px 14px;background:#16382b;color:#fff;border-radius:7px;box-shadow:0 3px 15px #17332138;font-size:13px}
@media(max-width:1100px){.crm-shell{grid-template-columns:178px minmax(0,1fr)}.crm-sidebar{padding:24px 10px 16px}.crm-hero{min-height:154px;padding:24px}.crm-content{padding-left:22px;padding-right:22px}.crm-topbar{padding-inline:22px}.crm-stat{padding-inline:12px}}
@media(max-width:820px){.crm-shell{grid-template-columns:1fr}.crm-sidebar{position:fixed;top:0;left:0;width:220px;transform:translateX(-102%);transition:transform .16s}.crm-shell.has-nav .crm-sidebar{transform:translateX(0)}.crm-shell.has-nav .crm-scrim{display:block;position:fixed;inset:0;background:#152b2090;z-index:14;border:0}.crm-hamburger{display:inline-flex!important}.crm-topbar{min-height:53px}.crm-hero h1{font-size:38px}.crm-content{padding-top:17px}.crm-stat-label{font-size:12px}.crm-metrics{margin-bottom:23px}.crm-stat strong{font-size:27px}}
@media(max-width:580px){.crm-content{padding:12px 13px 20px}.crm-topbar{padding:8px 12px;gap:6px}.crm-crumb{gap:5px;font-size:11px}.crm-crumb>.crm-icon,.crm-crumb>span:first-of-type,.crm-slash{display:none}.crm-hero{min-height:180px;align-items:flex-start;justify-content:flex-end;flex-direction:column;padding:18px 17px;gap:16px}.crm-hero h1{font-size:36px;margin-bottom:9px}.crm-hero .crm-caption{margin-bottom:8px}.crm-hero-text p:last-child{font-size:12px}.crm-hero-actions{justify-content:flex-start}.crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0;margin-top:10px}.crm-stat{padding:11px 12px}.crm-stat:nth-child(3){border-left:0}.crm-stat:nth-child(n+3){border-top:1px solid var(--border)}.crm-stat strong{font-size:24px;margin-top:4px}.crm-stat small{font-size:10px;margin-top:2px}.crm-stat-label{font-size:11px}.crm-board-head{gap:10px;margin-bottom:10px}.crm-tools{flex-wrap:nowrap;justify-content:space-between;width:100%}.crm-search{flex:1}.crm-search input{width:100%;min-width:0}.crm-lane{width:min(76vw,265px)}.crm-atlas{background-position:68% 55%}.crm-filter button{font-size:11px}.crm-menu-wrap .crm-dropmenu{right:auto;left:0}.crm-move-alert{flex-wrap:wrap;width:92vw}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.crm-transfer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:sticky;top:4px;z-index:4;border:1px solid #a1b7a4;border-radius:8px;background:#e7f0e6;padding:7px 10px;margin-bottom:8px;font-size:12px;box-shadow:0 3px 10px #193d2211}
.crm-transfer strong{font-weight:600;color:#36513d}
.crm-transfer-chip{display:inline-flex;align-items:center;gap:5px;padding:7px 12px;background:white;border-radius:6px;border:1px dashed #8ba58e;font-size:12px;font-weight:550}
.crm-transfer-chip .crm-icon{width:14px;height:14px}
.crm-transfer-chip.is-over{background:#c7e4c6;border:1px solid #367149}
.crm-export-title{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#66756a;font-weight:600;margin:4px 9px 5px}

@media(min-width:821px){.crm-content{padding-top:26px}.crm-metrics{margin-top:16px;margin-bottom:30px}.crm-nav-group{margin-bottom:25px}.crm-stage-empty{background:#f4f6f280}}
@media(max-width:580px){.crm-account-name{max-width:31vw}.crm-hero{min-height:188px}.crm-atlas::before{background:linear-gradient(85deg,#0a241bef,#103626a8 72%,#173e2c77)}.crm-empty-note{align-items:flex-start;font-size:11px}.crm-topbar .crm-crumb>span{display:none}}
@media(prefers-reduced-motion:reduce){.crm-terrain{display:none}}

.crm-side-footer{display:flex;align-items:center;gap:6px}
.crm-side-footer .crm-private-dot{margin:0;flex:0 0 auto}
.crm-rail-control{margin-left:auto;padding:4px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid #789a8738;border-radius:5px;color:#caddd0}
.crm-rail-control:hover{background:#5b816d3d}
.crm-rail-control>.crm-icon{width:15px;height:15px}
@media(min-width:821px){
 .crm-shell.is-compact{grid-template-columns:68px minmax(0,1fr)}
 .is-compact .crm-sidebar{padding-inline:8px}
 .is-compact .crm-brand{border:0;display:block;background:url("./brand/mark.svg") center/30px no-repeat;filter:brightness(0) invert(.94);height:33px;margin:0 0 28px;padding:0}
 .is-compact .crm-brand img,.is-compact .crm-brand span,.is-compact .crm-nav-title,.is-compact .crm-nav-btn>span,.is-compact .crm-nav-btn.is-current::after,.is-compact .crm-side-footer>span{display:none}
 .is-compact .crm-nav-group{margin:0 4px 13px;padding-bottom:13px;border-bottom:1px solid #ffffff1c}
 .is-compact .crm-nav-group:last-child{border:0}
 .is-compact .crm-nav-btn{justify-content:center;padding-inline:0}
 .is-compact .crm-rail-control{margin-inline:auto;transform:rotate(180deg)}
 .is-compact .crm-side-footer{padding-inline:0}
}
@media(max-width:820px){.crm-rail-control{display:none}}
