:root{--ink:#172b2a;--muted:#7b8885;--green:#235c4c;--light:#eef4ef;--line:#e4e9e5;--bg:#f5f7f4;--white:#fff;--amber:#946e22}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{border:1px solid #d9e1db;background:#fff;border-radius:7px;padding:10px 14px;cursor:pointer;color:var(--ink);transition:.15s}button:hover{background:#edf3ee;border-color:#b8c9be}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#184736;color:#fff}.quiet{border-color:transparent;background:transparent;color:#64736e}.icon{font-size:20px;padding:4px 10px}.mobile{display:none}#sidebar{width:238px;background:#fff;border-right:1px solid var(--line);height:100dvh;position:fixed;z-index:20;padding:32px 20px;display:flex;flex-direction:column}.brand{font-size:29px;letter-spacing:5px;font-weight:800;color:#244e40;padding-left:9px}.brand span{display:block;font-size:9px;font-weight:500;letter-spacing:2px;margin-top:6px;text-transform:uppercase}.workspace{display:flex;gap:10px;align-items:center;border-block:1px solid var(--line);padding:24px 0;margin-top:28px;font-size:12px;font-weight:600}small{display:block;color:var(--muted);font-weight:400;line-height:1.65}.avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#e6eee5;color:#3e6251;border-radius:50%;font-size:11px;font-weight:700}.avatar.small{width:31px;height:31px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#99a29c;margin:27px 12px 14px}nav{display:grid;gap:5px}nav a{color:#64736c;display:flex;align-items:center;gap:12px;padding:12px;border-radius:7px;font-size:13px}nav a:hover{text-decoration:none;background:var(--bg)}nav a.active{background:#eaf1e9;color:#285542;font-weight:600}nav a span:first-child{font-size:18px;width:20px}nav .count{margin-left:auto;font-size:10px;background:#f0f3ef;padding:2px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;font-size:10px;padding:20px 4px 0;color:#53685c}.sidebar-bottom small{font-size:10px;margin-top:9px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#568464;margin-right:5px}.app{margin-left:238px}header{height:75px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 35px;background:#ffffffc9}.crumb{font-size:12px;color:#8d9690}.crumb span{padding:0 12px;color:#c0c7c0}.crumb b{color:#4c6255;font-weight:500}.header-actions{display:flex;align-items:center;gap:18px;font-size:12px}main{padding:32px 35px;min-height:calc(100dvh - 130px);max-width:1760px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}.eyebrow{font-size:9px;letter-spacing:2px;color:#849389;font-weight:600}h1{font-size:29px;letter-spacing:-.8px;font-weight:600;margin:9px 0 7px}.page-heading p{color:#859087;font-size:12px;margin:0;line-height:1.5}.heading-actions{display:flex;gap:8px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px;position:relative}.stat .label{font-size:11px;color:#738276}.stat b{display:block;font-size:30px;font-weight:500;letter-spacing:-1px;margin:15px 0 9px}.stat small{font-size:10px}.stat .stat-icon{position:absolute;right:19px;top:18px;color:#6d8a74;background:#f1f5ef;padding:7px 9px;border-radius:7px}.grid{display:grid;grid-template-columns:1.55fr 1fr;gap:22px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:21px 22px;border-bottom:1px solid #edf0eb;gap:12px}.panel-title h2{font-size:14px;margin:0;font-weight:600}.panel-title small{font-size:10px}.panel-body{padding:22px}.pill,.badge{display:inline-block;padding:5px 8px;border-radius:4px;font-size:10px;line-height:1.3;max-width:260px;background:#eef2ed;color:#55705b}.pill.amber,.badge.amber{background:#fbf3df;color:#97752c}.pill.red,.badge.red{background:#faece7;color:#ae6650}.pill.blue{background:#edf1f7;color:#5f7b9f}.muted{color:var(--muted);font-size:12px}.funnel{display:grid;gap:19px}.funnel-row{display:grid;grid-template-columns:145px 1fr 35px;gap:15px;align-items:center;font-size:11px}.bar{height:20px;background:#f3f5f0;border-radius:3px;overflow:hidden}.bar i{height:100%;display:block;background:#537963;border-radius:3px}.funnel-row:nth-child(2) .bar i{background:#7e9a80}.funnel-row:nth-child(3) .bar i{background:#a7b8a0}.funnel-row:nth-child(4) .bar i{background:#c4cdb2}.funnel-row:nth-child(5) .bar i{background:#dce2ce}.signal{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid #edf0ec}.signal:last-child{border:0}.signal .dot{width:8px;height:8px;background:#c0a568;border-radius:50%;margin-top:4px;flex-shrink:0}.signal b{font-size:12px;font-weight:500}.signal p{font-size:11px;color:#8a928b;line-height:1.6;margin:5px 0 0}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:17px;flex-wrap:wrap}input,select,textarea{border:1px solid #dce3dc;background:white;border-radius:6px;padding:10px 12px;color:var(--ink);max-width:100%}input[type=search]{min-width:230px;flex:1}input[type=checkbox]{width:auto}input[type=number]{min-width:0}textarea{min-height:100px;resize:vertical}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.7px;color:#8a978c;background:#fbfcf9;padding:14px 19px;font-weight:500;border-bottom:1px solid var(--line);text-transform:uppercase}td{padding:17px 19px;border-bottom:1px solid #edf0eb;font-size:12px}td.wrap{white-space:normal;min-width:200px;max-width:350px;line-height:1.5}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf8}.name-btn{border:0;background:none;padding:0;font-weight:500;text-align:left;color:#284d3b;cursor:pointer}.sub{display:block;font-size:10px;color:#98a093;font-weight:400;margin-top:5px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.list-footer{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:11px;color:#8b978b}.list-footer button{padding:5px 10px;margin-left:5px}.empty{padding:45px;text-align:center;color:#8b958b;line-height:1.8}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.property{padding:22px;background:#fff;border:1px solid var(--line);border-radius:9px}.property h3{font-size:15px;line-height:1.5;margin:14px 0 6px;min-height:44px}.property .metrics{display:flex;gap:22px;padding-block:18px;margin-top:10px;border-top:1px solid var(--line)}.property .metrics b{font-size:19px;font-weight:500}.property small{font-size:10px}.property .row{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.notice{padding:13px 17px;background:#eff3e9;border:1px solid #dde5d5;border-radius:7px;margin-bottom:20px;font-size:11px;color:#6a7e5f;line-height:1.7}.tabs{display:flex;gap:5px;margin-bottom:20px;overflow:auto}.tabs button{border-color:transparent;background:transparent;font-size:12px;white-space:nowrap}.tabs button.selected{background:#e6eee3;color:#28533b}footer{padding:18px 35px;display:flex;gap:15px;justify-content:space-between;font-size:10px;color:#91a08e;border-top:1px solid var(--line)}dialog{border:0;border-left:1px solid var(--line);padding:0;margin:0 0 0 auto;width:min(750px,95vw);max-width:95vw;height:100dvh;max-height:100dvh;background:#f8faf6;color:var(--ink);box-shadow:-20px 0 80px #142d251a}dialog::backdrop{background:#20392c60}.detail-head{padding:27px 30px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;position:sticky;top:0;z-index:2}.detail-head h2{margin:5px 0;font-size:22px;font-weight:500}.detail-body{padding:25px 30px}.detail-body section{margin:0 0 24px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:20px}.detail-body h3{font-size:13px;margin:0 0 17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label{display:grid;gap:7px;color:#71816e;font-size:11px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:22px}.kv{display:grid;grid-template-columns:140px 1fr;gap:10px;font-size:12px;padding:8px 0;line-height:1.7}.kv>span:first-child{color:#8a9584}.prose{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.contact{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.contact:last-child{border:0}.split{display:flex;gap:10px;flex-wrap:wrap}.recommendation{padding:19px 22px;border-bottom:1px solid var(--line)}.recommendation h3{font-size:14px;margin:0}.recommendation .row{display:flex;justify-content:space-between;align-items:center;gap:10px}.recommendation p{font-size:12px;color:#7b8876;line-height:1.7;margin:10px 0}.recommendation button{font-size:11px}.score{font-size:10px;color:#54735a}.audit-item{padding:18px 22px;border-bottom:1px solid var(--line)}.audit-item h3{font-size:12px;margin:7px 0;font-weight:500}.audit-item p{font-size:11px;line-height:1.7;color:#879281;white-space:pre-wrap;margin:5px 0}.timeline-time{color:#a1ab99;font-size:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#244e3c;color:#fff;border-radius:8px;padding:14px 22px;box-shadow:0 8px 25px #0002;z-index:100;display:none;font-size:12px}#toast.show{display:block}.error{background:#fae9e4;color:#a25340}.loading{opacity:.5;pointer-events:none}.calc-total{padding:18px;background:#eef3e9;border-radius:6px;margin-top:20px;font-size:12px;line-height:2}.calc-total b{font-size:24px;display:block}.field-filter{width:180px}details{font-size:12px;margin-top:15px}summary{cursor:pointer;color:#74836b}.link-wrap{overflow-wrap:anywhere;word-break:break-word}.checkrow{display:flex;align-items:center;gap:8px;font-size:12px}.error-panel{padding:30px;color:#a45040;background:#fff4ef;border:1px solid #edd0c3;border-radius:8px}@media(min-width:1500px){.cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:1200px){#sidebar{width:205px;padding-inline:14px}.app{margin-left:205px}main{padding:28px 25px}.cards{grid-template-columns:repeat(2,1fr)}.stat{padding:16px}.stat b{font-size:25px}.grid{grid-template-columns:1fr 1fr}.heading-actions button{font-size:11px}.funnel-row{grid-template-columns:125px 1fr 25px;gap:8px}}@media(max-width:900px){.page-heading{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}header{padding:0 22px}.header-actions .quiet{font-size:11px}.cards{grid-template-columns:repeat(2,1fr)}.crumb{font-size:10px}}@media(max-width:680px){#sidebar{transform:translateX(-100%);transition:transform .2s;width:238px}#sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #20392c40}.app{margin:0}.mobile{display:block}header{height:62px;padding:0 14px;gap:10px}.crumb{flex:1}.crumb span,.crumb b{display:none}.header-actions{gap:8px}.header-actions .quiet{font-size:10px;padding:5px}.header-actions .avatar{display:none}main{padding:25px 16px}h1{font-size:26px}.page-heading{gap:17px;margin-bottom:22px}.stats{gap:10px}.stat{padding:16px 13px}.stat .stat-icon{display:none}.stat b{font-size:27px}.stat .label{font-size:10px}.cards{grid-template-columns:1fr}.toolbar input[type=search]{min-width:100%;width:100%}.toolbar select{max-width:100%;flex:1}.grid{gap:16px}.panel-title{padding:18px}.panel-body{padding:18px}footer{padding:16px;flex-direction:column}.detail-head{padding:20px}.detail-body{padding:18px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.kv{grid-template-columns:110px 1fr}.heading-actions{width:100%}.heading-actions button{flex:1}.property h3{min-height:0}}
.login-page{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at top right,#e3ecdc,transparent 65%),#f5f7f4}.login-card{width:min(440px,calc(100% - 36px));padding:46px 38px;background:#fff;border:1px solid #e0e7dc;border-radius:16px;box-shadow:0 18px 70px #254c3610;min-height:0}.login-card h1{letter-spacing:7px;font-size:38px;margin:20px 0}.login-card p{font-size:13px;color:#7b8879;line-height:1.9}.login-card form{display:grid;gap:13px;margin:28px 0}.login-card form[hidden]{display:none}.login-card label{font-size:12px}.login-card input{padding:14px}.login-card button{padding:14px}.login-card #code{font-size:24px;letter-spacing:8px;text-align:center}.login-card small{font-size:10px}.login-card #login-status{font-size:12px;min-height:24px;color:#496543}.session-user{font-size:10px;color:#62705e;max-width:200px;overflow:hidden;text-overflow:ellipsis}

.action-overview{margin:22px 0}.action-overview p{line-height:1.7}.matching-controls{margin-bottom:20px}.matching-controls .toolbar{align-items:end}.matching-controls label{display:grid;gap:6px;font-size:12px;color:#62705e}.matching-controls input{width:100px}.matching-controls select{min-width:220px;flex:1}.match-checks{list-style:none;margin:16px 0;padding:0;display:grid;gap:8px}.match-checks li{display:grid;grid-template-columns:150px 1fr;gap:10px;padding:10px 12px;border-radius:6px;background:#f5f7f4;font-size:12px;line-height:1.7}.check-pass b{color:#397349}.check-tolerance b{color:#986900}.check-fail b{color:#ad3e3e}.check-unknown b{color:#788172}.contact-history{padding:12px;background:#f4f6f0;border-left:3px solid #c8d7bc;font-size:12px;line-height:1.8;margin:12px 0}.action-buttons{display:flex;gap:8px;flex-wrap:wrap}.action-overview+.stats{margin-top:22px}@media(max-width:700px){.match-checks li{grid-template-columns:1fr;gap:2px}.matching-controls select{width:100%;min-width:0}.matching-controls .tabs{flex-wrap:wrap}.recommendation .row{flex-wrap:wrap;gap:10px}.action-buttons{width:100%}}

.coach-box{background:#f0f5ec;border:1px solid #d9e3d2;border-radius:8px;padding:18px}.coach-box p,.negotiation-entry p,.negotiation-topics p{line-height:1.8}.coach-question{padding:12px;background:#f1f5ed;border-left:3px solid #688b59;line-height:1.7;font-size:13px}.negotiation-topics{margin:22px 0}.negotiation-entry details{margin:15px 0}.negotiation-topics .property h3{min-height:0}.negotiation-topics .property{display:block}
