:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#142330;background:#e9edef;font-synthesis:none;--navy: #032f52;--navy-dark: #001f39;--gold: #dda514;--green: #14964b;--orange: #e87519;--red: #c94036;--muted: #66747d;--line: #d9e1e5;--soft: #f4f6f7;--white: #fff;letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(221,165,20,.5);outline-offset:2px}.lead-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.icon-command{width:46px;height:46px;display:grid;flex:0 0 46px;place-items:center;border:0;border-radius:7px;background:var(--navy);color:#fff}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin:10px 0 13px;padding:3px;border:1px solid var(--line);border-radius:7px;background:var(--soft)}.segmented button{min-height:42px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px;font-weight:800}.segmented button.active{background:#fff;color:var(--navy);box-shadow:0 1px 4px #001f391f}.add-lead-button svg{width:18px;height:18px}.lead-type-label{align-self:flex-start;color:#8b610e;font-size:8px;font-weight:850;text-transform:uppercase}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.app-shell{width:min(100%,440px);min-height:100dvh;margin:0 auto;background:#fff;padding-bottom:78px;box-shadow:0 0 28px #001f3924}.demo-banner{min-height:25px;display:grid;place-items:center;padding:4px 10px;background:#f7e7ba;color:#67480e;font-size:10px;font-weight:850;text-align:center}.topbar{min-height:73px;display:flex;align-items:center;justify-content:space-between;padding:12px 17px;background:var(--navy-dark);color:#fff}.brand{display:grid;line-height:.9;color:#efc45c}.brand strong{font:24px Georgia,serif;letter-spacing:.08em}.brand span{margin-top:7px;font-size:7px;letter-spacing:.18em}.session-state{display:flex;align-items:center;gap:7px;color:#dfe8ee;font-size:11px}.status-dot{width:8px;height:8px;border-radius:50%;background:#2bc46f}.status-dot.offline{background:var(--orange)}.page{padding:17px 14px 28px}.page-heading{margin:2px 1px 15px}.page-heading p{margin:0;color:var(--gold);font-size:11px;font-weight:800;text-transform:uppercase}.page-heading h1{margin:3px 0;color:var(--navy-dark);font-size:27px;line-height:1.1}.page-heading span{color:var(--muted);font-size:12px}.page-heading.compact h1{font-size:23px}.kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kpi-grid div{min-height:74px;display:flex;flex-direction:column;justify-content:center;padding:12px 15px;border:1px solid var(--line);border-radius:7px;box-shadow:0 2px 7px #01243d14}.kpi-grid b{color:var(--navy);font-size:24px}.kpi-grid span{color:var(--muted);font-size:10px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;padding:11px 15px;font-weight:800;cursor:pointer}.button.primary{background:var(--navy);color:#fff}.button.call{background:var(--green);color:#fff}.button.secondary{width:100%;margin-top:9px;border:1px solid var(--navy);color:var(--navy);background:#fff}.button.full{width:100%;margin:13px 0}.button:disabled{cursor:not-allowed;opacity:.5}.section-head{display:flex;align-items:center;justify-content:space-between;margin:19px 1px 8px}.section-head h2{margin:0;font-size:14px}.section-head a{color:#a96f00;font-size:11px;font-weight:800}.lead-list{display:grid;gap:10px}.lead-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 2px 7px #01243d14}.lead-card-main{min-height:103px;display:grid;grid-template-columns:83px 1fr;gap:10px;align-items:center;padding:10px 62px 10px 10px}.property-art{position:relative;width:83px;height:78px;overflow:hidden;border-radius:5px;background:linear-gradient(#b9d4e7 0 48%,#91ad75 49%)}.property-art:before{content:"";position:absolute;left:13px;bottom:12px;width:54px;height:38px;background:#d8c1a7;border:3px solid #fff;box-shadow:inset 0 -8px #8a5542}.property-art:after{content:"";position:absolute;left:8px;bottom:50px;border-left:32px solid transparent;border-right:32px solid transparent;border-bottom:25px solid #754434}.property-art i{position:absolute;z-index:2;left:24px;bottom:23px;width:13px;height:15px;background:#173b50;box-shadow:24px 0 #173b50}.property-art.modern:before{background:#e9eceb;box-shadow:inset 0 -8px #7a858a}.property-art.modern:after{border-bottom-color:#4c5559}.property-art.apartment:before{left:10px;bottom:9px;width:63px;height:55px;background:#d2d0c9;box-shadow:inset 0 -8px #777b7f}.property-art.apartment:after{display:none}.property-art.apartment i{left:19px;bottom:20px;box-shadow:23px 0 #173b50,0 -22px #173b50,23px -22px #173b50}.property-art.large{width:108px;height:96px;flex:0 0 108px}.lead-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.lead-copy strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.lead-copy small{color:var(--muted);font-size:10px}.lead-copy b{margin-top:2px;font-size:12px}.chips{display:flex;gap:5px;margin-top:3px}.chips em{padding:3px 5px;border-radius:3px;background:#f4e7c6;color:#79520d;font-size:8px;font-style:normal;font-weight:800}.card-action{position:absolute;top:30px;right:10px;min-width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:6px;background:var(--green);color:#fff;font-size:9px;font-weight:800}.card-action.navy{min-width:52px;padding:0 7px;background:var(--navy)}.reasons{display:flex;flex-wrap:wrap;gap:5px;padding:7px 10px;border-top:1px solid #e9edef;background:#fafbfb}.reasons span{padding:3px 6px;border:1px solid var(--line);border-radius:3px;background:#fff;color:#4f5d67;font-size:8px}.search{display:block;margin:11px 0;color:var(--muted);font-size:10px}.search input{width:100%;min-height:43px;margin-top:5px;padding:9px 11px;border:1px solid #cbd6db;border-radius:6px}.notice{margin:10px 0;padding:10px 11px;border-left:3px solid var(--navy);background:#edf4f8;font-size:11px;line-height:1.4}.notice.warning{border-color:var(--gold);background:#fff6df;color:#76520c}.notice.success{border-color:var(--green);background:#e6f5eb;color:#126633}.notice.neutral{border-color:#8ca0ac;background:#f3f6f7;color:#475963}.filter-pills{display:flex;gap:7px;overflow-x:auto;margin:10px 0}.filter-pills button{min-height:36px;padding:7px 13px;border:1px solid var(--line);border-radius:18px;background:#fff;white-space:nowrap;font-size:10px}.filter-pills .active{border-color:var(--navy);background:var(--navy);color:#fff}.bottom-nav{position:fixed;z-index:20;bottom:0;width:min(100%,440px);display:grid;grid-template-columns:repeat(5,1fr);padding:5px 4px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.bottom-nav.four{grid-template-columns:repeat(4,1fr)}.bottom-nav a{min-height:52px;display:grid;place-content:center;justify-items:center;gap:3px;color:#586772;font-size:8px;font-weight:750}.bottom-nav a.active{color:var(--gold)}.bottom-nav svg{width:20px;height:20px}.sheet-backdrop{position:fixed;z-index:40;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#00192b8c}.sheet{width:min(100%,440px);max-height:88dvh;overflow-y:auto;padding:12px 14px calc(18px + env(safe-area-inset-bottom));border-radius:13px 13px 0 0;background:#fff}.sheet-handle{display:block;width:42px;height:4px;margin:0 auto 12px;border-radius:4px;background:#c8d0d5}.sheet h2{margin:3px 0 7px;font-size:19px}.sheet p{color:var(--muted);font-size:11px}.action-list{display:grid;gap:7px;margin:10px 0}.action-list button{min-height:47px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#20303b;text-align:left;font-size:12px;font-weight:750}.state-card{display:grid;justify-items:center;gap:8px;padding:28px 18px;border:1px solid var(--line);border-radius:7px;color:var(--muted);text-align:center}.state-card strong{color:var(--navy)}.state-card p{margin:0;font-size:12px}.state-card.error{border-color:#edc3bf;background:#fff3f2}.spinner{width:25px;height:25px;border:3px solid #dce4e8;border-top-color:var(--navy);border-radius:50%;animation:spin .8s linear infinite}.back-button{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin:-4px 0 8px;border:0;background:transparent;color:var(--navy);font-weight:800}.detail-hero{display:flex;align-items:center;gap:12px}.detail-hero>div{min-width:0}.detail-hero h1{margin:6px 0 3px;font-size:19px;overflow-wrap:anywhere}.detail-hero p{margin:0;color:var(--muted);font-size:11px}.source-label{padding:3px 6px;border-radius:3px;background:#e8f0f5;color:var(--navy);font-size:8px;font-weight:800;text-transform:uppercase}.facts,.panel{margin-top:12px;overflow:hidden;border:1px solid var(--line);border-radius:7px}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.facts div{display:grid;align-content:center;gap:4px;min-height:72px;padding:10px 11px;border-right:1px solid #ebeff1;border-bottom:1px solid #ebeff1;font-size:11px}.facts div:nth-child(2n){border-right:0}.facts b{color:var(--navy);font-size:14px}.facts span,.muted{color:var(--muted)}.panel{padding:11px}.panel h2{margin:0 0 9px;font-size:13px}.panel p{font-size:10px;line-height:1.45}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.quick-actions button{min-height:55px;padding:6px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--navy);font-size:9px;font-weight:800}.detail-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:58px;font-size:10px}.detail-actions svg{width:19px;height:19px}.property-photo{width:112px;aspect-ratio:4 / 3;flex:0 0 112px;border:1px solid var(--line);border-radius:7px;object-fit:cover;background:var(--soft)}.lead-card .property-photo{width:83px;height:78px;flex:0 0 83px;border:0;border-radius:5px}.property-meta{margin:8px 2px 0;color:var(--muted);font-size:10px}.selection-panel{margin-top:14px}.selection-panel h2{margin:0 0 8px;font-size:13px}.selection-reasons{display:flex;flex-wrap:wrap;gap:6px}.selection-reasons span{padding:6px 9px;border:1px solid var(--line);border-radius:16px;background:var(--soft);color:#475963;font-size:9px}.source-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}.source-actions a{min-height:66px;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--navy);border-radius:7px;color:var(--navy)}.source-actions svg{flex:0 0 22px}.source-actions span{min-width:0;display:grid;gap:3px}.source-actions b,.source-actions small{overflow-wrap:anywhere}.source-actions b{font-size:10px}.source-actions small{color:var(--muted);font-size:8px}.timeline-row{position:relative;display:grid;grid-template-columns:12px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #eef1f2;font-size:9px}.timeline-row>div{display:grid;gap:3px}.timeline-marker{width:9px;height:9px;margin-top:2px;border:2px solid white;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px var(--green)}.timeline-row b{text-transform:capitalize}.timeline-row span{color:var(--muted)}.confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.button.danger{background:var(--red);color:#fff}@media(max-width:360px){.property-photo,.property-art.large{width:94px;flex-basis:94px}}.follow-list,.menu-list{overflow:hidden;border:1px solid var(--line);border-radius:7px}.follow-list a,.menu-list button,.menu-list a{width:100%;min-height:57px;display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}.follow-list a:last-child,.menu-list>*:last-child{border-bottom:0}.follow-list b,.follow-list span{display:block;font-size:11px}.follow-list span{margin-top:3px;color:var(--muted);font-size:9px}.menu-list span{color:#a97000;font-size:10px;font-weight:800}.form label{display:grid;gap:5px;margin:10px 0;font-size:10px;font-weight:800}.form input,.form select,.form textarea{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd6db;border-radius:5px;background:#fff}.form textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.address-grid{grid-template-columns:minmax(0,3fr) minmax(70px,1fr)}.form-hint{color:var(--muted);font-size:10px;line-height:1.4}.contact-summary{display:grid;gap:3px}.contact-summary span,.contact-summary small{color:var(--muted);font-size:10px}.phone-panel{display:grid;gap:9px;margin-top:12px;padding:12px;border:1px solid #b8dbc7;border-radius:7px;background:#f1faf4}.phone-panel>div{display:flex;align-items:center;gap:10px}.phone-panel span{display:grid;gap:2px}.phone-panel small{color:var(--muted)}.phone-panel .button{margin:0}.detail-actions{margin-top:12px}.danger-outline{margin-top:12px;border:1px solid #bd4d46;background:#fff;color:#9d332d}.manager-grid{display:grid;gap:10px}.manager-card{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 2px 7px #01243d14}.manager-card h2{margin:0;padding:11px 12px;background:var(--navy);color:#fff;font-size:14px}.manager-card div{display:flex;justify-content:space-between;padding:8px 12px;border-bottom:1px solid var(--line);font-size:10px}.manager-card div:last-child{border-bottom:0}.manager-card span{color:var(--muted)}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:7px}table{width:100%;min-width:540px;border-collapse:collapse;font-size:10px}th,td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:right}th:first-child,td:first-child{text-align:left}thead{background:var(--soft);color:var(--muted)}.standalone-state{width:min(100% - 28px,430px);margin:12vh auto;padding:25px;border-radius:8px;background:#fff;text-align:center}.login-card{text-align:left}.login-card h1{margin:4px 0 8px;color:var(--navy-dark)}.login-eyebrow{margin:0;color:#9a6807;font-size:11px;font-weight:850;text-transform:uppercase}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:720px){body{padding:24px}.app-shell{min-height:calc(100vh - 48px);border-radius:14px;overflow:hidden}.bottom-nav{border-radius:0 0 14px 14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}
