@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');
:root{--ink:#30271f;--dark:#251b14;--gold:#c5a875;--soft:#f5f1eb;--muted:#81796e;--stroke:#e6dfd5;--green:#256750}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#f8f6f3}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}input,select,textarea{border:1px solid #ded8cf;border-radius:8px;background:#fff;color:#30271f;padding:12px 14px;outline:0;max-width:100%}input:focus,select:focus,textarea:focus{border-color:#b59b71;box-shadow:0 0 0 3px #c5a87533}textarea{resize:vertical;min-height:94px}label{display:block;margin:13px 0 7px;font-size:12px;font-weight:700;color:#605447}.overline{letter-spacing:.17em;font-size:10px;font-weight:700;color:#9d7d4f;margin:0;text-transform:uppercase}.subtle{color:var(--muted);font-size:13px;line-height:1.65}.primary{border:0;background:var(--dark);color:#f3e9d8;border-radius:7px;padding:12px 20px;font-weight:700;font-size:13px}.primary:hover{background:#4a3321}.primary:disabled{opacity:.5;cursor:wait}.button-light{border:1px solid #dcd4c8;background:white;color:#4a3c2e;border-radius:7px;padding:11px 16px;font-size:13px;font-weight:600}.button-light:hover{background:#f3efe8}.full{width:100%}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.auth-screen{display:grid;min-height:100vh;place-items:center;background:radial-gradient(circle at 75% 20%,#654932 0%,#241910 45%,#160f0c 100%);padding:20px}.auth-box{width:min(430px,100%);background:#f9f6f1;padding:50px 47px;border-radius:14px;box-shadow:0 20px 80px #0006}.auth-emblem{font-family:'Playfair Display',serif;font-size:72px;line-height:1;letter-spacing:-.1em;color:#4f3825;margin:0 0 25px}.auth-emblem span{color:#bf9c68}.auth-box h1{font-family:'Playfair Display',serif;font-size:46px;font-weight:500;margin:9px 0 4px}.auth-box form{display:grid;gap:10px;margin-top:25px}.auth-box label{margin:0}.auth-box input{width:100%}.auth-box .primary{padding:14px;margin-top:7px}.home-link{display:inline-block;font-size:12px;margin-top:26px;color:#75695a;text-decoration:none}.error{color:#a03422;font-size:13px;background:#fff0eb;border-radius:6px;padding:9px 11px}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#261b14;color:#f8f0e2;padding:0 max(25px,calc((100vw - 1360px)/2));border-bottom:3px solid #c0a174}.wordmark{font-family:'Playfair Display',serif;text-decoration:none;font-size:23px;letter-spacing:.09em;white-space:nowrap}.wordmark span{color:#d8b37d}.wordmark em{font:600 10px 'DM Sans',Arial,sans-serif;letter-spacing:.18em;color:#af9b81;margin-left:14px}.top-actions{display:flex;align-items:center;gap:20px}.private-mark{font-size:12px;color:#d5c4a9}.topbar .button-light{background:transparent;color:#ead9c1;border-color:#81694e}.main{max-width:1410px;margin:auto;padding:57px 35px 32px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap}.heading h1{font:500 54px 'Playfair Display',serif;letter-spacing:-.03em;margin:6px 0 2px}.heading .subtle{margin:0}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin:34px 0}.stat{background:#fff;border:1px solid var(--stroke);border-radius:11px;padding:21px 23px;text-align:left;display:flex;flex-direction:column;min-height:145px}.stat:hover,.stat.selected{border-color:#bfa377;box-shadow:0 6px 22px #59422c10}.stat>span{font-size:10px;letter-spacing:.12em;color:#8d7556;font-weight:700}.stat strong{font-size:36px;font-weight:600;margin:8px 0 4px}.stat small{font-size:11px;color:#8d8376}.records{background:#fff;border:1px solid var(--stroke);border-radius:11px;overflow:hidden}.records-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 27px;border-bottom:1px solid var(--stroke)}.records-tools h2{font:500 28px 'Playfair Display',serif;margin:0 0 3px}.records-tools p{margin:0}.filters{display:flex;gap:10px}.filters input{width:min(310px,45vw)}.filters select{width:158px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.13em;background:#fcfaf7;color:#887d71;border-bottom:1px solid var(--stroke);padding:16px 24px}td{padding:18px 24px;border-bottom:1px solid #f1ebe4;font-size:13px}tbody tr{cursor:pointer}tbody tr:hover{background:#fcf8f2}td strong{display:block;font-size:13px;font-weight:700;color:#342820;margin-bottom:4px}td small{display:block;color:#8c8073;font-size:11px}td .open-icon{font-size:18px;color:#a88a5e}.status{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:60px;font-size:11px;font-weight:700;background:#f6eee2;color:#956a30}.status:before{content:'●';font-size:8px}.status-new{background:#fff3e2;color:#af771b}.status-contacted,.status-scheduled{background:#edf1fa;color:#4768a2}.status-quoted{background:#f4eafb;color:#8054a3}.status-won{background:#e7f5ee;color:#298052}.status-lost{background:#f0eeee;color:#827b75}.empty{text-align:center;padding:65px 20px}.empty-icon{font-size:60px;color:#bda578}.empty h3{font:26px 'Playfair Display',serif;margin:2px}.empty p{color:#958a7b;font-size:13px}.table-foot{font-size:11px;color:#857a6d;padding:18px 26px;text-align:right}.main footer{color:#978a7b;font-size:12px;padding:35px 0;display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.main footer a{color:#9c7849}.notice{background:#eef6ee;color:#28653f;border:1px solid #cadfca;border-radius:9px;padding:12px 17px;font-size:13px;margin-top:19px}.notice.bad{background:#fff0e9;border-color:#edd1c4;color:#a54129}.scrim{position:fixed;inset:0;background:#15100c88;z-index:29}.drawer{position:fixed;right:0;top:0;bottom:0;background:#fff;z-index:30;width:min(520px,100%);box-shadow:-10px 0 45px #0002;display:flex;flex-direction:column;overflow-y:auto}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:30px 32px 26px;border-bottom:1px solid var(--stroke)}.drawer-head h2{font:500 34px 'Playfair Display',serif;margin:7px 0 0}.icon-button{background:none;border:0;font-size:30px;line-height:1;color:#776e64}.drawer-content{padding:25px 32px 55px}.detail-section{margin-top:27px;padding-top:24px;border-top:1px solid var(--stroke)}.detail-section h3{font-size:15px;margin:0 0 20px}.detail-section input,.detail-section select,.detail-section textarea{width:100%;margin-bottom:8px}.detail-section .primary{margin-top:6px;width:100%}.lead-pill{display:inline-block;background:#f5eee3;padding:7px 10px;color:#775c3d;border-radius:30px;font-size:12px}.lead-contact{margin:15px 0;display:flex;gap:10px;flex-wrap:wrap}.lead-contact a{border:1px solid #dcd5cb;padding:9px 13px;border-radius:6px;text-decoration:none;font-size:12px}.detail-section dl{display:grid;grid-template-columns:120px 1fr;gap:13px;font-size:13px}.detail-section dt{color:#8a8074}.detail-section dd{margin:0;font-weight:600;overflow-wrap:anywhere}.details-text{background:#faf7f2;padding:15px;border-radius:8px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.notes-list{margin-top:23px;display:grid;gap:11px}.note{border-left:3px solid #c5a875;background:#faf8f4;padding:12px 14px;border-radius:4px}.note small{font-size:11px;color:#86796c}.note p{font-size:13px;line-height:1.6;white-space:pre-wrap;margin:7px 0 0}.note.event{border-color:#c0cad6;background:#f3f6fa}.manual-form{display:block}.manual-form input,.manual-form textarea,.manual-form select{display:block;width:100%;margin-bottom:3px}.manual-form .primary{margin-top:24px;width:100%}[hidden]{display:none!important}@media(max-width:1000px){.stats{grid-template-columns:repeat(3,1fr)}.main{padding:35px 20px}.records-tools{flex-wrap:wrap}.heading h1{font-size:44px}}@media(max-width:620px){.topbar{padding:0 14px}.wordmark{font-size:17px}.wordmark em,.private-mark{display:none}.heading h1{font-size:41px}.heading-actions{width:100%}.stats{grid-template-columns:repeat(2,1fr);gap:9px;margin:22px 0}.stat{padding:16px;min-height:125px}.stat:last-child{grid-column:span 2}.filters{width:100%;flex-direction:column}.filters input,.filters select{width:100%}.records-tools{padding:22px 18px}td,th{padding:15px}.drawer-head,.drawer-content{padding-left:22px;padding-right:22px}.auth-box{padding:42px 27px}}
