@font-face{font-family:'IBM Plex Sans';src:url('fonts/IBMPlexSans-Variable.ttf') format('truetype');font-style:normal;font-weight:100 700;font-display:swap}

:root{--bg:#f6f7f4;--paper:#fff;--ink:#202c28;--muted:#52605b;--line:#dce3de;--green:#254d3e;--lime:#dbedb5;--sidebar:#fdfefa;--radius:13px}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.35}
button{color:inherit}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #92b792;outline-offset:3px}
input:focus,select:focus,textarea:focus{outline:2px solid #9bbd99;outline-offset:1px}
button{border:0;background:none}
button svg,span svg{display:block}
svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.65}
h1,h2,h3,p{margin:0}
[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;border-right:1px solid #e6ebe3;background:var(--sidebar);padding:32px 19px 0;z-index:20;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:9px;letter-spacing:-1.3px;font-size:29px;font-weight:700;padding-left:9px;line-height:1}
.brand-dot{color:var(--muted);margin-left:-9px}
.brand-mark{width:33px;height:34px;background:var(--lime);display:grid;place-items:center;border-radius:11px;color:var(--green)}
.brand-mark svg{width:23px;height:23px;stroke-width:2}
.nav-label{font-size:12px;font-weight:700;letter-spacing:1.15px;color:var(--muted);padding-left:12px;margin-top:32px;margin-bottom:12px}
.nav-item{display:flex;align-items:center;width:100%;padding:12px 13px;gap:11px;color:var(--muted);font-size:12px;font-weight:600;border-radius:8px;margin-bottom:5px;text-align:left;transition:background .15s}
.nav-item:hover{background:#f1f4ec}
.nav-item.active{background:#eaf0df;color:#345536}
.nav-item svg{width:17px;height:17px}
.nav-count{margin-left:auto;font-size:12px;color:var(--muted);font-weight:700}
.active .nav-count{background:#fff9;padding:0 6px;border-radius:4px;color:#48673b}
.nav-divider{height:1px;background:var(--line);margin:18px 12px}
.sidebar-bottom{margin-top:auto;position:relative;padding-top:60px}
.demo-note{font-size:12px;color:var(--muted);padding:14px 12px;background:#f5f7ee;border:1px solid #eaf0df;border-radius:9px}
.demo-note p{font-size:12px;color:var(--muted);line-height:1.7;margin:6px 0 0 12px}
.demo-dot{display:inline-block;width:5px;height:5px;background:#82a66a;border-radius:50%;margin-right:6px;vertical-align:middle}
.profile{display:flex;align-items:center;text-align:left;gap:10px;width:100%;border-top:1px solid var(--line);margin-top:22px;padding:21px 4px}
.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:26px;height:26px;font-size:12px;font-weight:700;background:#eef0e9;color:var(--muted);flex-shrink:0}
.avatar-dark{width:34px;height:34px;background:#ebeee4;color:#53634b;font-size:12px}
.profile strong{display:block;font-size:12px;font-weight:700}
.profile small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.profile>span:last-child{margin-left:auto;color:var(--muted)}
.profile-popover{position:absolute;bottom:85px;left:0;background:#fff;padding:14px;border:1px solid var(--line);box-shadow:0 8px 35px #1b302214;border-radius:10px;width:220px}
.profile-popover p{color:var(--muted);font-size:12px;margin-bottom:12px}
.profile-popover button{display:flex;align-items:center;gap:10px;font-size:12px}
.main-shell{margin-left:232px}
.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fbfcf9}
.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}
.breadcrumb svg{width:15px;height:15px;color:var(--muted)}
.breadcrumb strong{font-weight:600;color:#52614f}
.slash{color:var(--muted)}
.date-label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.date-label svg{width:15px;height:15px}
.mobile-profile{display:none!important}
main{max-width:1600px;margin:auto;padding:32px 40px 22px}
.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}
.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:700;color:var(--muted)}
.page-heading h1{font-size:33px;line-height:1.3;letter-spacing:-1.4px;font-weight:700;display:flex;align-items:center;gap:9px;margin-top:6px}
.title-dot{width:7px;height:7px;background:#b7cc96;border-radius:50%;margin-top:13px}
.page-heading p{font-size:12px;color:var(--muted);margin-top:8px}
.button{min-height:39px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;border-radius:7px;font-size:12px;font-weight:650;transition:background .15s,transform .15s}
.button:active{transform:translateY(1px)}
.button svg{width:16px;height:16px}
.primary{background:var(--green);color:#fff;box-shadow:0 3px 4px #29482a0b}
.primary:hover{background:#32604c}
.secondary{background:#fff;border:1px solid #dfe5db;color:#52614d}
.secondary:hover{background:#f5f7f0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:29px}
.stat-card{background:#fff;border:1px solid #e6ebe1;border-radius:11px;min-height:111px;padding:17px 21px;position:relative;text-align:left;transition:transform .15s,border-color .15s}
.stat-card:hover{border-color:#b2c59e;transform:translateY(-2px)}
.stat-card:first-child{background:#edf2e4;border-color:#e1e9d4}
.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:550}
.stat-icon{display:grid;place-items:center;width:25px;height:25px;color:var(--muted)}
.stat-value{display:flex;align-items:baseline;gap:10px;margin-top:7px}
.stat-value strong{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-1px}
.stat-value small{color:var(--muted);font-size:12px}
.stat-card:first-child .stat-value small{color:var(--muted)}
.stat-card:first-child .stat-icon{color:var(--muted)}
.leads-panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 4px 15px #34472f02}
.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 23px 18px}
.panel-heading h2{font-size:15px;font-weight:700;letter-spacing:-.3px}
.panel-heading h2 span{display:inline-flex;align-items:center;justify-content:center;padding:1px 7px;margin-left:5px;border-radius:5px;background:#f2f4ed;color:var(--muted);font-size:12px;vertical-align:2px;font-weight:650}
.panel-heading p{color:var(--muted);font-size:12px;margin-top:5px}
.data-label{font-size:12px;color:var(--muted);background:#f6f8f0;border:1px solid #edf1e5;padding:5px 9px;border-radius:5px}
.tabs{display:flex;align-items:center;padding:0 23px;gap:25px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.tab{padding:12px 0 14px;white-space:nowrap;color:var(--muted);position:relative;font-size:12px;font-weight:600}
.tab span{margin-left:5px;font-size:12px;color:var(--muted)}
.tab.active{color:#395b38}
.tab.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:#65844a;border-radius:2px}
.tab.active span{color:var(--muted)}
.toolbar{display:flex;align-items:center;justify-content:space-between;padding:17px 23px;gap:14px}
.search{display:flex;align-items:center;gap:9px;border:1px solid #e8ece3;padding:8px 10px;border-radius:6px;width:290px;max-width:45%;color:var(--muted);background:#fdfefb}
.search svg{width:15px;height:15px}
.search input{border:0;outline:0;min-width:0;width:100%;background:none;font-size:12px;color:#516049;padding:0}
.search:focus-within{outline:2px solid #b8c9a9}
.search input:focus{outline:0}
.search input::placeholder{color:var(--muted)}
.search kbd{display:block;font-family:inherit;color:var(--muted);font-size:12px;border:1px solid #e8ece2;padding:0 5px;border-radius:3px}
.filter-group{display:flex;gap:9px}
.select-wrap{position:relative;display:flex;align-items:center;gap:7px;border:1px solid #e8ece3;padding:7px 9px;border-radius:6px;color:var(--muted)}
.select-wrap>span{pointer-events:none}
.select-wrap svg{width:14px;height:14px}
.select-wrap select{appearance:none;border:0;background:none;padding:0 19px 0 21px;margin:0 -22px;color:var(--muted);cursor:pointer;font-size:12px;width:145px;z-index:1;min-height:20px}
.select-wrap>span:last-child{margin-left:5px}
.select-wrap.period select{width:117px}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}
thead{background:#fafbf7;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7}
th{font-size:12px;font-weight:600;color:var(--muted);padding:12px 10px}
th:first-child{padding-left:24px;width:23%}
th:nth-child(2){width:19%}
th:nth-child(3){width:17%}
th:nth-child(4){width:17%}
th:nth-child(5){width:14%}
th:nth-child(6){width:9%}
th:last-child{width:3%;padding:0}
th.date-column{white-space:nowrap}
th.date-column svg{display:inline-block;width:10px;height:10px;vertical-align:-1px}
td{height:72px;padding:10px;border-bottom:1px solid #f0f2eb;font-size:12px;vertical-align:middle}
td:first-child{padding-left:24px}
td:last-child{padding:0 8px 0 0;color:var(--muted)}
td:last-child svg{width:13px;height:13px}
.lead-row{cursor:pointer;transition:background .15s}
.lead-row:hover{background:#f8faf4}
.lead-row.is-new{background:#fcfdf8}
.lead-row.is-new:hover{background:#f5f8ed}
.client-name{font-weight:700;color:#35422f;font-size:12px;display:flex;align-items:center;gap:6px}
.new-dot{background:#9bbd6f;width:5px;height:5px;border-radius:50%;flex-shrink:0}
.subtext{font-size:12px;color:var(--muted);margin-top:4px;font-weight:450}
.product-name{font-size:12px;color:var(--muted);font-weight:600}
.product-name,.source-name,.client-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.source{display:flex;gap:7px;align-items:center;min-width:0}
.source-symbol{display:grid;place-items:center;width:25px;height:25px;background:#f3f5ec;border-radius:6px;color:var(--muted);flex-shrink:0}
.source-symbol.email{background:#f0f1f7;color:var(--muted)}
.source-symbol svg{width:13px;height:13px}
.source-copy{min-width:0}
.source-name{font-size:12px;color:var(--muted)}
.source-copy .subtext{font-size:12px;margin-top:2px}
.status{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:12px;font-weight:650;white-space:nowrap}
.status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
.status.new{background:#eff3df;color:var(--muted)}
.status.work{background:#edf2f8;color:var(--muted)}
.status.waiting{background:#fbf3e4;color:var(--muted)}
.status.won{background:#eaf3e8;color:var(--muted)}
.status.lost{background:#f8eded;color:var(--muted)}
.processor{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap}
.processor .avatar{width:23px;height:23px;font-size:12px}
.avatar.blue{background:#eef0f7;color:var(--muted)}
.unprocessed{font-size:12px;color:var(--muted)}
.date-cell{font-size:12px;color:var(--muted)}
.date-cell .subtext{font-size:12px;color:var(--muted)}
.table-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 23px;min-height:64px;color:var(--muted);font-size:12px}
.pagination{display:flex;align-items:center;gap:5px}
.pagination>div{display:flex;gap:3px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:29px;border-radius:5px;color:var(--muted)}
.icon-button:hover{background:#f0f4e8}
.icon-button svg{width:16px;height:16px}
.page-number{width:28px;height:28px;border-radius:5px;color:var(--muted);font-size:12px}
.page-number.active{background:#eef3e4;color:var(--muted)}
.page-footnote{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;margin-top:19px}
.page-footnote svg{width:12px;height:12px}
.footnote-right{margin-left:auto;color:var(--muted)}
.empty-state{padding:64px 20px;text-align:center;color:var(--muted)}
.empty-state>div{display:inline-flex;background:#f2f5eb;padding:15px;border-radius:50%}
.empty-state h3{font-size:15px;margin-top:15px;color:#52634a}
.empty-state p{font-size:12px;margin:8px 0 20px}
.overlay{position:fixed;inset:0;background:#18282040;backdrop-filter:blur(2px);z-index:40;animation:fade-in .2s}
.drawer{position:fixed;inset:0 0 0 auto;width:480px;max-width:100%;background:#fff;z-index:50;box-shadow:-12px 0 45px #16221a12;display:flex;flex-direction:column;animation:slide-in .23s}
.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:21px 27px;border-bottom:1px solid var(--line);flex-shrink:0}
.drawer-header>div{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.drawer-header strong{font-weight:650;color:var(--muted)}
.drawer-body{padding:26px 28px;overflow-y:auto;flex:1}
.drawer-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}
.drawer h2{font-size:23px;letter-spacing:-.7px;font-weight:700}
.drawer-contact{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);margin-top:9px}
.drawer-contact svg{width:14px;height:14px}
.drawer-contact a:hover{text-decoration:underline}
.detail-source{display:flex;gap:9px;align-items:center;padding:14px 0 20px;margin-top:10px;border-bottom:1px solid var(--line)}
.detail-source .source-symbol{width:30px;height:30px}
.detail-source strong{font-size:12px;font-weight:650}
.detail-source p{font-size:12px;color:var(--muted);margin-top:2px}
.section-label{font-size:12px;font-weight:700;letter-spacing:1px;color:var(--muted);text-transform:uppercase;margin:22px 0 10px}
.message-box{background:#f8faf4;border:1px solid #eef1e7;border-radius:8px;padding:14px}
.message-box strong{display:block;font-size:12px;margin-bottom:5px;font-weight:650}
.message-box p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:var(--muted);margin-top:17px}
.field input,.field select,.field textarea{font-size:12px;font-weight:450;color:#586c4d;background:#fff;border:1px solid #e0e7d9;border-radius:6px;padding:10px 11px;min-width:0;width:100%}
.field textarea{resize:vertical;min-height:80px}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.required{color:var(--muted)}
.field-help{font-size:12px;color:var(--muted);margin-top:5px;font-weight:450}
.error-text{font-size:12px;color:var(--muted);margin-top:10px}
.drawer-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px 27px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}
.drawer-footer .button{flex:1}
.comment-form{display:flex;align-items:flex-end;gap:7px;margin-top:20px}
.comment-form textarea{font:inherit;border:1px solid #e3e9dc;border-radius:6px;min-height:68px;resize:vertical;padding:10px;font-size:12px;width:100%;color:var(--muted)}
.comment-form textarea::placeholder{color:var(--muted)}
.comment-form .button{padding:10px;min-width:36px;min-height:36px;margin-bottom:2px}
.timeline{margin-top:17px}
.timeline-event{position:relative;padding:0 0 18px 21px;border-left:1px solid #e7ecdf;margin-left:5px}
.timeline-event:last-child{padding-bottom:2px;border-color:transparent}
.timeline-event:before{content:'';width:7px;height:7px;background:#d6e1c8;position:absolute;border-radius:50%;left:-4px;top:4px;border:1px solid white}
.timeline-meta{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}
.timeline-text{font-size:12px;color:var(--muted);margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere}
.reason-preview{font-size:12px;color:var(--muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drawer-amount{font-weight:650;font-size:14px;color:var(--muted);margin-top:10px}
dialog{border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 100px #23351f24;padding:28px;width:460px;max-width:calc(100% - 24px);color:var(--ink)}
dialog::backdrop{background:#172a2040;backdrop-filter:blur(2px)}
.modal-heading{display:flex;align-items:center;justify-content:space-between}
.modal-heading h2{font-size:22px;letter-spacing:-.6px;margin-top:4px}
.muted{color:var(--muted);font-size:12px;line-height:1.8}
.modal-heading+.muted{margin-top:10px}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);margin-top:25px;padding-top:19px}
.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:#284b37;color:#fff;border:1px solid #ffffff1a;border-radius:8px;box-shadow:0 5px 30px #2d482e20;padding:13px 20px;display:flex;gap:10px;align-items:center;font-size:12px;max-width:calc(100% - 30px);animation:fade-in .2s}
.toast svg{color:#d4e5bd;width:17px;height:17px}
.login-screen{position:fixed;inset:0;background:#fcfdf9;z-index:80;display:grid;grid-template-columns:48% 52%;overflow:auto}
.login-art{background:#eaf0df;padding:47px 54px;display:flex;flex-direction:column;min-height:100vh;position:relative;overflow:hidden}
.login-art .brand{padding:0}
.login-art .brand-mark{background:#d4e4b3}
.login-art-copy{margin:auto 0;position:relative;padding:65px 0 45px}
.login-kicker{font-size:12px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}
.login-art-copy h2{font-size:clamp(35px,3.9vw,60px);font-weight:600;line-height:1.15;letter-spacing:-2.6px;margin-top:25px;color:#395537}
.login-art-copy>p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:24px}
.art-cards{margin-top:55px;max-width:390px}
.art-card{display:flex;align-items:center;gap:12px;padding:18px;background:#fff;border:1px solid #e2e8d6;border-radius:11px;box-shadow:0 5px 15px #5b784409;transform:rotate(-2deg);position:relative;z-index:1}
.art-card>div{flex:1}
.art-card strong{display:block;font-size:12px;color:var(--muted)}
.art-card small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.art-check,.art-client{display:grid;place-items:center;width:32px;height:32px;background:#edf4e3;color:var(--muted);border-radius:50%}
.secondary-card{margin-top:9px;transform:translateX(24px) rotate(2deg);opacity:.65;z-index:0}
.login-art-footer{font-size:12px;color:var(--muted);letter-spacing:.3px}
.login-form-side{display:flex;align-items:center;justify-content:center;min-height:100vh;position:relative;padding:60px 30px}
.login-card{width:340px;max-width:100%}
.login-small-brand{display:none}
.login-card h1{font-size:30px;font-weight:650;letter-spacing:-1.1px;margin-top:11px;margin-bottom:10px}
.login-card form{margin-top:30px}
.login-card .field{margin-top:21px}
.login-card .field input{height:45px;background:#fff}
.password-wrap{position:relative}
.password-wrap input{padding-right:45px}
.password-wrap button{position:absolute;top:8px;right:8px}
.login-submit{width:100%;margin-top:25px;justify-content:space-between;padding:13px 15px}
.login-divider{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:1px;color:var(--muted);margin:28px 0 20px}
.login-divider:before,.login-divider:after{content:'';height:1px;background:#e7ecde;flex:1}
.demo-entry{width:100%;justify-content:space-between;padding:12px 15px}
.login-notice{display:flex;gap:9px;align-items:flex-start;margin-top:18px;font-size:12px;line-height:1.8;color:var(--muted)}
.login-notice svg{width:14px;height:14px;margin-top:2px;flex-shrink:0}
.login-footer{position:absolute;bottom:35px;font-size:12px;color:var(--muted)}
.login-feedback{padding:11px;background:#f6f2e8;color:var(--muted);font-size:12px;border-radius:7px;margin-top:17px}
@keyframes slide-in{from{transform:translateX(35px);opacity:.6}
to{transform:translateX(0);opacity:1}
}
@keyframes fade-in{from{opacity:0}
to{opacity:1}
}
@media(min-width:1650px){td{height:78px}
.page-heading{margin-bottom:35px}
.stats{margin-bottom:35px}
main{padding-top:40px}
}
@media(max-width:1190px){.sidebar{width:207px;padding-left:13px;padding-right:13px}
.main-shell{margin-left:207px}
.topbar{padding:0 25px}
main{padding:27px 25px 20px}
.tabs{gap:18px}
.stat-card{padding:15px}
.stat-value small{font-size:12px}
.stats{gap:10px}
.processor .avatar{display:none}
.processor{font-size:12px}
th:nth-child(5){width:13%}
th:nth-child(1){width:22%}
th:nth-child(3){width:18%}
th:nth-child(4){width:17%}
th:nth-child(6){width:10%}
th,td{padding-left:7px;padding-right:7px}
.source{gap:5px}
.source-symbol{width:21px;height:23px}
.panel-heading,.toolbar{padding-left:18px;padding-right:18px}
.tabs{padding-left:18px}
.date-label{font-size:12px}
.search{width:230px}
.select-wrap select{width:135px}
.select-wrap.period select{width:110px}
.footnote-right{display:none}
}
@media(max-width:970px){.sidebar{width:180px;padding-left:10px;padding-right:10px}
.brand{font-size:26px}
.main-shell{margin-left:180px}
main{padding-left:20px;padding-right:20px}
.topbar{padding:0 20px}
.nav-item{font-size:12px;padding-left:10px;gap:8px}
.nav-label{font-size:12px;letter-spacing:.6px}
.stat-top{font-size:12px}
.stat-value{gap:7px}
.stat-value strong{font-size:27px}
.stat-value small{display:none}
.stats{gap:8px}
.stat-card{min-height:99px;padding:13px}
.toolbar{gap:8px;padding:13px}
.filter-group{gap:5px}
.search{width:200px;max-width:40%}
.search kbd{display:none}
.select-wrap{padding-left:7px;padding-right:7px}
.select-wrap select{width:128px}
.select-wrap.period select{width:104px}
.tabs{gap:15px}
.tab{font-size:12px}
table{min-width:680px}
th:first-child,td:first-child{padding-left:18px}
.sidebar-bottom{padding-top:30px}
.demo-note{font-size:12px;padding:11px 8px}
.demo-note p{font-size:12px}
.profile{gap:8px}
.profile strong{font-size:12px}
.data-label{font-size:12px}
.page-heading h1{font-size:30px}
.eyebrow{font-size:12px}
.breadcrumb{font-size:12px;gap:8px}
.date-label{font-size:12px}
.date-label svg{display:none}
.login-art{padding:35px}
.login-art-copy h2{font-size:41px}
.secondary-card{transform:translateX(10px) rotate(2deg)}
}
@media(max-width:760px){.sidebar{position:sticky;top:0;width:100%;height:62px;padding:0 18px;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);border-right:0;z-index:20}
.brand{padding:0;font-size:24px;gap:7px}
.brand-mark{width:28px;height:29px;border-radius:8px}
.brand-mark svg{width:20px}
.brand-dot{margin-left:-7px}
.nav-label,.nav-divider,.sidebar-bottom{display:none}
.sidebar nav{display:flex;gap:3px}
.nav-item{width:auto;padding:8px 10px;margin:0;font-size:12px;gap:6px}
.nav-item svg{width:14px;height:14px}
.nav-count{display:none}
.nav-item[data-view="won"],.nav-item[data-view="lost"]{display:none}
.main-shell{margin-left:0}
.topbar{height:49px;background:var(--bg);border-bottom:0;padding:0 19px}
.breadcrumb>span:first-child{display:none}
.breadcrumb{font-size:12px}
.date-label{margin-left:auto;margin-right:12px}
.mobile-profile{display:inline-flex!important}
main{padding:12px 17px 20px}
.page-heading{margin-bottom:23px;align-items:flex-end}
.page-heading h1{font-size:30px}
.page-heading .eyebrow{font-size:12px;letter-spacing:1px}
.page-heading p{font-size:12px}
.page-heading .button{font-size:12px;padding:9px 11px;min-height:35px;margin-bottom:3px}
.stats{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:23px}
.stat-card{min-height:94px;padding:13px 16px}
.stat-value small{display:inline;font-size:12px}
.stat-top{font-size:12px}
.stat-value strong{font-size:27px}
.panel-heading{padding:19px 16px 15px}
.panel-heading h2{font-size:14px}
.panel-heading p{font-size:12px}
.data-label{font-size:12px;padding:4px 7px}
.tabs{padding:0 16px;gap:23px}
.tab{font-size:12px}
.toolbar{flex-direction:column;align-items:stretch;padding:14px 16px}
.search{width:100%;max-width:100%;padding:10px}
.search input{font-size:12px}
.filter-group{gap:9px}
.select-wrap{flex:1;padding:7px 10px}
.select-wrap select{width:100%;margin:0 -22px;min-width:135px;padding-right:20px}
.select-wrap>span:last-child{margin-left:auto}
.select-wrap.period select{width:100%;min-width:110px}
table{min-width:0}
th:nth-child(2),td:nth-child(2),th:nth-child(3),td:nth-child(3),th:nth-child(5),td:nth-child(5){display:none}
th:first-child{width:47%}
th:nth-child(4){width:32%}
th:nth-child(6){width:18%}
th:last-child{width:3%}
td{height:77px}
td:first-child{padding-left:16px}
.client-name{font-size:12px}
.subtext{font-size:12px}
.status{font-size:12px}
.date-cell{font-size:12px}
.table-footer{padding:14px 16px;font-size:12px}
.page-footnote{font-size:12px;align-items:flex-start;line-height:1.8}
.page-footnote svg{margin-top:2px}
.drawer{width:100%}
.drawer-header{padding:17px 21px}
.drawer-body{padding:23px 21px}
.drawer-footer{padding:14px 20px}
.login-screen{grid-template-columns:1fr}
.login-art{display:none}
.login-form-side{min-height:100dvh;padding:50px 27px 75px}
.login-small-brand{display:block;font-size:29px;color:#4f6e3a;font-weight:700;letter-spacing:-1.5px;margin-bottom:50px}
.login-card h1{font-size:28px}
.login-footer{bottom:25px}
.toast{font-size:12px;bottom:17px;width:max-content}
.profile-popover{display:none}
.page-heading .button svg{width:13px}
.page-footnote{margin-top:14px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


.processing-meta{min-height:42px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:5px 0}
.processing-meta .processor{font-size:12px}
.processing-meta small{font-size:12px;font-weight:450;color:var(--muted)}
.unprocessed{font-size:12px;white-space:normal}
.page-heading{min-height:52px}
.page-heading h1{margin-top:0}
.processor{overflow:hidden;text-overflow:ellipsis}
.brand-mark svg{stroke-width:2}


.site-badge{display:inline-flex;align-items:center;font-size:12px;font-weight:650;line-height:1.6;padding:1px 6px;border-radius:4px;background:#edf2e8;color:var(--muted);white-space:nowrap}
.site-badge.amadey{background:#f5efe6;color:var(--muted)}
.site-badge.unknown{background:#f2f3ef;color:var(--muted)}
.source-copy .subtext{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:12px}
.client-origin{display:none}
.detail-source .site-badge{font-size:12px;padding:2px 8px}
.filter-group select{font-size:12px}
@media(max-width:760px){.client-origin{display:block;margin-top:5px}
.client-origin .site-badge{font-size:12px;padding:0 5px}
td{height:94px}
.filter-group select{font-size:12px}
}


.site-badge.landing{background:#edf1f8;color:var(--muted)}
.site-badge.manual{background:#f2f3ef;color:var(--muted)}


.source-copy .site-badge{display:block;max-width:100%;width:fit-content;overflow:hidden;text-overflow:ellipsis}
.client-origin-name{font-size:12px;color:var(--muted);margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.client-origin{display:flex;align-items:center;min-width:0}
.client-origin .site-badge{flex-shrink:0}
}


/* Typography: readable working sizes, strong hierarchy, full Cyrillic support. */

body{font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.5;font-weight:400;color:#25342c;font-synthesis:none}

button,input,select,textarea{font-family:inherit}

.brand{font-size:31px;font-weight:700;letter-spacing:-1.25px}
.brand-mark{width:35px;height:35px}
.brand-dot{color:var(--muted)}

.nav-label{font-size:12px;letter-spacing:1px;color:var(--muted);font-weight:650}
.nav-item{font-size:14px;font-weight:550;color:#5f6e59}
.nav-count{font-size:12px}
.profile strong{font-size:14px;font-weight:650}
.profile small{font-size:12px;color:var(--muted)}
.profile-popover p,.profile-popover button{font-size:12px}
.avatar-dark{font-size:12px}

.breadcrumb,.date-label{font-size:13px;color:var(--muted)}
.breadcrumb strong{font-weight:550;color:#41573d}
.page-heading h1{font-size:34px;font-weight:700;letter-spacing:-1.2px}
.page-heading{margin-bottom:25px;min-height:57px}
.title-dot{margin-top:10px}

.button{font-size:14px;font-weight:600;min-height:42px;padding:11px 17px}
.button svg{width:17px;height:17px}
.icon-button{width:32px;height:32px}
.icon-button svg{width:18px;height:18px}

.stat-top{font-size:14px;font-weight:550;color:#596b51}
.stat-value strong{font-size:34px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.stat-value small{font-size:12px;color:var(--muted)}
.stat-card:first-child .stat-value small{color:var(--muted)}
.stat-card{min-height:117px;padding:19px 21px}

.panel-heading h2{font-size:18px;font-weight:650;letter-spacing:-.25px}
.panel-heading h2 span{font-size:12px;padding:2px 7px;font-weight:550;color:var(--muted)}
.panel-heading p{font-size:13px;color:var(--muted)}
.data-label{font-size:12px;color:var(--muted)}
.tabs{gap:23px}
.tab{font-size:13px;font-weight:550;color:var(--muted);padding-top:14px;padding-bottom:15px}
.tab span{font-size:12px;color:var(--muted)}
.tab.active{color:#385f32}
.tab.active span{color:var(--muted)}

.toolbar{padding-top:18px;padding-bottom:18px;gap:12px}
.search{width:330px;padding:10px 11px}
.search input{font-size:13px;color:#354e2d;font-weight:400}
.search input::placeholder{color:var(--muted)}
.search svg{width:17px;height:17px}
.select-wrap{padding:9px 10px}
.select-wrap select,.filter-group select{font-size:13px;color:#526b45;font-weight:500;min-height:22px;width:163px}
.select-wrap.period select{width:129px}
.select-wrap svg{width:16px;height:16px}
.search kbd{font-size:12px;color:var(--muted)}

.table-wrap table{min-width:1020px}
th{font-size:12px;font-weight:550;color:var(--muted);padding-top:13px;padding-bottom:13px}
td{height:82px}
.client-name{font-size:14px;font-weight:650;color:#2b4028}
.subtext{font-size:13px;font-weight:400;color:var(--muted);margin-top:5px;font-variant-numeric:tabular-nums}
.product-name{font-size:14px;font-weight:500;color:#415d38}
.source{gap:8px}
.source-symbol{width:26px;height:28px}
.source-symbol svg{width:15px;height:15px}
.source-copy .subtext{font-size:12px;color:var(--muted);line-height:1.45}
.source-name{font-size:13px}
.site-badge{font-size:12px;font-weight:550;color:#4f6b3d;padding:2px 6px}
.site-badge.amadey{color:var(--muted)}
.site-badge.divaninfo{color:#4f6b3d}
.site-badge.landing{color:#4d6b93}
.site-badge.manual,.site-badge.unknown{color:var(--muted)}
.client-origin-name{font-size:12px;color:var(--muted)}

.status{font-size:12px;font-weight:550;padding:5px 8px;gap:5px}
.status.new{color:#566f25}
.status.work{color:#466982}
.status.waiting{color:#82652d}
.status.won{color:#47723f}
.status.lost{color:#945252}
.status:before{width:5px;height:5px}
.processor{font-size:12px;font-weight:450;color:#556e46;gap:6px}
.processor .avatar{width:26px;height:26px;font-size:12px}
.unprocessed{font-size:12px;font-weight:400;color:var(--muted)}
.date-cell{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.date-cell .subtext{font-size:12px;color:var(--muted)}
.table-footer{font-size:13px;color:var(--muted);padding-top:17px;padding-bottom:17px}
.page-number{font-size:13px;width:31px;height:31px}
.page-footnote{font-size:12px;color:var(--muted)}
.footnote-right{color:var(--muted)}
.demo-note{font-size:12px;color:var(--muted)}
.demo-note p{font-size:12px;color:var(--muted);line-height:1.7;margin-left:0}
.demo-note{padding-left:10px;padding-right:10px}

.drawer{width:520px}
.drawer-header{padding:20px 27px}
.drawer-header>div{font-size:12px;color:var(--muted)}
.drawer-header strong{color:#526e43;font-weight:550}
.drawer h2{font-size:27px;font-weight:650;letter-spacing:-.65px}
.drawer-contact{font-size:17px;font-weight:450;color:#4e7040;gap:9px}
.drawer-contact svg{width:17px;height:17px}
.detail-source .site-badge{font-size:14px;font-weight:550;padding:3px 8px}
.detail-source p{font-size:13px;color:var(--muted);margin-top:7px}
.section-label{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.9px}
.message-box{padding:16px}
.message-box strong{font-size:16px;font-weight:600;margin-bottom:9px}
.message-box p{font-size:15px;line-height:1.7;color:#536f46}
.field{font-size:14px;font-weight:550;color:#536f45;gap:8px}
.field input,.field select,.field textarea{font-size:15px;font-weight:400;color:#354f2b;padding:11px 12px}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.required{color:var(--muted);font-size:12px;font-weight:450}
.field-help{font-size:12px;color:var(--muted)}
.processing-meta{min-height:45px}
.processing-meta .processor{font-size:14px}
.processing-meta small{font-size:12px;color:var(--muted)}
.comment-form textarea{font-size:14px;line-height:1.6;color:#49673b;padding:11px}
.comment-form textarea::placeholder{color:var(--muted)}
.timeline-meta{font-size:12px;color:var(--muted)}
.timeline-text{font-size:14px;color:#536e46;line-height:1.65;margin-top:6px}
.timeline-event{padding-bottom:22px}
.error-text{font-size:13px}
.drawer-footer .button{font-size:14px}

.muted{font-size:14px;color:var(--muted)}
.modal-heading h2{font-size:25px;font-weight:650}
.eyebrow{font-size:12px;font-weight:600;color:var(--muted)}
.empty-state h3{font-size:18px}
.empty-state p{font-size:14px}
.toast{font-size:14px}
.login-card{width:365px}
.login-card h1{font-size:32px;font-weight:650}
.login-card .field input{height:48px}
.login-card .field{font-size:14px}
.login-kicker{font-size:12px;color:var(--muted);font-weight:600}
.login-art-copy h2{font-weight:600;letter-spacing:-2px}
.login-art-copy>p{font-size:16px;color:var(--muted)}
.art-card strong{font-size:14px}
.art-card small{font-size:12px;color:var(--muted)}
.login-divider{font-size:12px;color:var(--muted);letter-spacing:.7px}
.login-notice{font-size:12px;color:var(--muted)}
.login-feedback{font-size:14px}
.login-footer,.login-art-footer{font-size:12px;color:var(--muted)}

@media(max-width:1190px){
.nav-item{font-size:13px}
.breadcrumb,.date-label{font-size:12px}
.stat-card{padding:16px}
.stat-top{font-size:13px}
.stat-value small{font-size:12px}
.search{width:280px}
.toolbar{flex-wrap:wrap}
.search{max-width:none;flex:1;min-width:220px}
.filter-group{margin-left:auto}
.processor .avatar{display:none}
.tabs{gap:18px}
.footnote-right{display:none}
}

@media(max-width:970px){
.nav-item{font-size:12px}
.nav-label{font-size:12px;letter-spacing:.5px}
.stat-top{font-size:13px}
.stat-value small{display:none}
.date-label{font-size:12px}
.breadcrumb{font-size:12px}
.demo-note{font-size:12px}
.demo-note p{font-size:12px}
.profile strong{font-size:12px}
.profile small{font-size:12px}
.tab{font-size:13px}
.search{width:100%;flex-basis:100%}
.filter-group{width:100%;justify-content:flex-end}
.select-wrap{flex:1}
.select-wrap select{width:100%;min-width:160px}
.select-wrap.period select{width:100%;min-width:120px}
.source-copy .site-badge{max-width:100%}
}

@media(max-width:760px){.brand{font-size:28px}
.brand-mark{width:31px;height:31px}
.nav-item{font-size:12px;padding:8px 10px}
.topbar{padding:0 18px}
.breadcrumb{font-size:12px;gap:6px}
.date-label{font-size:12px;margin-right:7px}
.mobile-profile{width:28px}
.page-heading h1{font-size:32px}
.page-heading .button{font-size:12px;padding:10px 12px;min-height:40px}
.page-heading .button svg{width:15px}
.stats{gap:10px}
.stat-card{min-height:105px;padding:15px}
.stat-top{font-size:14px}
.stat-value strong{font-size:32px}
.stat-value small{display:inline;font-size:12px}
.panel-heading{padding:18px 16px}
.panel-heading h2{font-size:17px}
.data-label{font-size:12px}
.tabs{gap:22px}
.tab{font-size:13px}
.tab span{font-size:12px}
.toolbar{gap:10px;padding:15px 16px}
.search{min-width:0;padding:11px;width:100%}
.search input{font-size:14px}
.filter-group{width:100%;gap:8px}
.select-wrap{padding:9px 8px}
.filter-group select,.select-wrap select{font-size:13px;min-width:0;padding-right:20px;width:100%}
.select-wrap.period select{min-width:0;width:100%}
.select-wrap>span:last-child{margin-left:auto}
.table-wrap table{min-width:0}
th{font-size:12px;padding-left:7px;padding-right:7px}
th:first-child{width:46%;padding-left:16px}
th:nth-child(4){width:33%}
th:nth-child(6){width:18%}
td{height:105px;padding-left:7px;padding-right:7px}
.client-name{font-size:14px;font-weight:600}
.subtext{font-size:12px;margin-top:4px}
.client-origin{margin-top:7px}
.client-origin .site-badge{font-size:12px;padding:1px 5px}
.client-origin-name{font-size:12px;margin-left:4px}
.status{font-size:12px;font-weight:550;padding:5px 6px}
.date-cell{font-size:12px}
.date-cell .subtext{font-size:12px}
.table-footer{font-size:12px;padding:15px 16px}
.page-footnote{font-size:12px;line-height:1.7}
.drawer{width:100%}
.drawer-header{padding:17px 20px}
.drawer-header>div{font-size:12px}
.drawer-body{padding:24px 20px}
.drawer h2{font-size:25px}
.drawer-contact{font-size:16px}
.detail-source p{font-size:13px}
.section-label{font-size:12px}
.message-box strong{font-size:15px}
.message-box p{font-size:14px}
.field{font-size:13px}
.field input,.field select,.field textarea{font-size:15px;min-height:45px}
.form-row{gap:12px}
.processing-meta .processor{font-size:13px}
.processing-meta small{font-size:12px}
.timeline-meta{font-size:12px}
.timeline-text{font-size:14px}
.drawer-footer .button{font-size:13px;min-height:44px}
.login-card h1{font-size:30px}
.login-card .field{font-size:14px}
.login-small-brand{font-size:32px}
.login-footer{font-size:12px}
.login-notice{font-size:12px}
.modal-heading h2{font-size:24px}
.toast{font-size:13px}
}

@media(max-width:400px){.date-label{display:none}
.breadcrumb{font-size:12px}
.stat-top{font-size:13px}
.stat-value small{font-size:12px}
.page-heading .button{font-size:12px}
.client-name{font-size:13px}
.subtext{font-size:12px}
.status{font-size:12px;padding:5px}
.client-origin .site-badge{font-size:12px}
.client-origin-name{font-size:12px}
}


/* Working type hierarchy. Colour conveys state; text stays neutral and readable. */
body { font-size:15px; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline:3px solid #2b6750; outline-offset:3px; }
input:focus,select:focus,textarea:focus { outline:2px solid #2b6750; }
.button { font-size:14px; min-height:44px; }
.profile strong { font-size:14px; }
.profile small,.demo-note,.demo-note p,.nav-label { font-size:12px; }
.nav-item { font-size:15px; }
.breadcrumb,.date-label { font-size:13px; }
.stat-top { font-size:14px; color:var(--muted); }
.stat-value small,.stat-card:first-child .stat-value small { color:var(--muted); font-size:12px; }
.tab { font-size:14px; color:var(--muted); min-height:46px; }
.tab span,.tab.active span { color:var(--muted); font-size:12px; }
.search { min-height:44px; }
.search input,.filter-group select { font-size:14px; color:var(--ink); }
.search input::placeholder,.field input::placeholder,.field textarea::placeholder,.comment-form textarea::placeholder { color:var(--muted); opacity:1; }
.select-wrap { min-height:44px; }
th { color:var(--muted); font-size:12px; font-weight:600; }
td { height:82px; }
.client-name { font-size:15px; font-weight:600; color:var(--ink); }
.product-name { font-size:14px; color:var(--ink); }
.subtext,.source-copy .subtext,.date-cell,.date-cell .subtext,.processor,.unprocessed { font-size:13px; color:var(--muted); }
.source-name,.source-copy .site-badge { font-size:12px; color:var(--muted); }
.status,.chat-contact .status { font-size:13px; font-weight:600; }
.status.new { background:#edf3de; color:#4d641c; }
.status.work { background:#eaf1fa; color:#345c80; }
.status.waiting { background:#fff3db; color:#815a16; }
.status.won { background:#e6f2e7; color:#286339; }
.status.lost { background:#fbecec; color:#984343; }
.table-footer,.page-footnote,.footnote-right { color:var(--muted); font-size:12px; }
.icon-button,.page-number { min-width:40px; min-height:40px; color:var(--muted); }
.field { font-size:14px; color:var(--ink); }
.field input,.field select,.field textarea { font-size:15px; color:var(--ink); border-color:#becbc2; }
.section-label,.eyebrow,.timeline-meta { font-size:12px; color:var(--muted); }
.message-box p,.timeline-text,.comment-form textarea,.muted { font-size:15px; color:var(--ink); line-height:1.6; }
.error-text { color:#a62e37; font-size:14px; }
.client-product { display:none; }
@media(max-width:1190px) { .toolbar { align-items:stretch; } .search { max-width:none; } .filter-group { flex-wrap:wrap; } }
@media(max-width:760px) {
  .sidebar .nav-item { font-size:13px; min-height:44px; }
  .page-heading .button { font-size:13px; min-height:44px; }
  .topbar { padding:0 16px; }
  .breadcrumb { font-size:12px; }
  .mobile-profile { min-width:44px; }
  th:first-child { width:49%; } th:nth-child(4) { width:31%; } th:nth-child(6) { width:20%; }
  td { height:126px; } .client-name { font-size:15px; } .subtext { font-size:13px; }
  .client-product { display:block; margin-top:5px; font-size:13px; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .client-origin .site-badge,.client-origin-name { font-size:12px; }
  .client-origin-name { display:block; margin-left:0; }
  .status { font-size:12px; padding:5px 6px; }
  .date-cell,.date-cell .subtext { font-size:12px; }
  .field input,.field select,.field textarea,.search input,.filter-group select,.comment-form textarea { font-size:16px; }
  .drawer-footer .button { font-size:14px; min-height:46px; }
}

/* A laptop-height viewport should keep navigation and working content visible. */
@media(min-width:761px) and (max-height:800px) {
  .topbar { height:60px; }
  main { padding-top:20px; }
  .page-heading { min-height:44px; margin-bottom:16px; }
  .page-heading h1 { margin-top:0; }
  .sidebar { padding-top:24px; }
  .sidebar-bottom { padding-top:12px; }
  .profile { padding-top:14px; padding-bottom:14px; margin-top:12px; }
}

@media(max-width:760px) {
  .stats { gap:8px; }
  .stat-card { min-height:76px; padding:13px 14px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .stat-top { font-size:14px; }
  .stat-icon,.stat-value small { display:none; }
  .stat-value { margin-top:0; }
  .stat-value strong { font-size:28px; }
}


.purchase-total { display:grid; gap:3px; margin-top:12px; }
.purchase-total span { font-size:13px; font-weight:600; color:var(--muted); }
.purchase-total strong { color:var(--ink); font-size:clamp(26px, 4vw, 36px); font-weight:700; line-height:1.15; }
.custom-period { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; padding:0 23px 16px; }
.custom-period .field { margin:0; min-width:0; }
.custom-period input { min-height:44px; }
.custom-period .error-text { flex-basis:100%; margin:0; }
@media (min-width:971px) {
  .select-wrap.period select { width:147px; }
}
@media (max-width:760px) {
  .custom-period { padding-inline:16px; }
  .custom-period .field { flex:1 1 125px; }
}
