:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172d29;background:#f5f7f6;font-synthesis:none;line-height:1.5;--green:#123f36;--muted:#647570;--border:#e0e7e3;--lime:#d7f3a6}*{box-sizing:border-box}body{margin:0;font-size:16px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #528673;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.35rem);letter-spacing:-1.2px;line-height:1.2;margin-bottom:10px}h2{font-size:1.15rem;letter-spacing:-.3px}h3{font-size:1rem}svg{width:20px;height:20px;flex-shrink:0}small{font-size:.83rem}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:.75rem;font-weight:750;color:#647570;margin-bottom:12px}.skip{position:fixed;top:-90px;z-index:100;background:white;padding:12px}.skip:focus{top:0}.boot{min-height:100dvh;display:grid;place-content:center;text-align:center;justify-items:center}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--green);color:var(--lime);font-size:1.5rem;font-weight:800}.brand{display:flex;align-items:center;gap:11px;font-weight:750;letter-spacing:-.6px;font-size:1.25rem}.brand small{display:block;font-weight:500;font-size:.75rem;letter-spacing:.5px;color:#738b81}.layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:var(--green);color:#e5efe9;padding:30px 20px;display:flex;flex-direction:column;gap:30px}.sidebar .brand{padding:0 8px}.sidebar .brand-icon{background:#28594c}.sidebar .brand small{color:#a3beb1}.workspace-label{font-size:.75rem;color:#b4c9bf;display:block;margin-bottom:7px}.workspace-picker{background:#204c41;border:1px solid #487363;color:white;border-radius:10px;width:100%;padding:12px;font-size:.9rem;min-height:48px}.sidebar nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 14px;font-size:.93rem;color:#c6d7cf;border-radius:8px}.nav-link:hover{background:#245449;color:white}.nav-link.active{background:var(--lime);color:#153e30;font-weight:700}.sidebar-bottom{margin-top:auto;border-top:1px solid #3c6154;padding:20px 8px 0}.sidebar-bottom p{font-size:.85rem;overflow-wrap:anywhere;margin:0}.sidebar-bottom button{background:none;color:#c7d8ce;padding:12px 0;font-size:.85rem}.main-column{min-width:0}.topbar{height:80px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:16px}.topbar p{margin:0;font-size:.85rem}.workspace-title{font-weight:650}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ecf2ee;color:#234f3d;font-weight:700;font-size:.8rem}.topbar-right{display:flex;gap:18px;align-items:center}.topbar-right small{color:var(--muted)}.menu-toggle{display:none;background:#edf3ee;border-radius:7px;min-width:44px;min-height:44px}.content{max-width:1500px;padding:40px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-heading p{margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border-radius:8px;background:var(--green);color:white;font-weight:650;font-size:.9rem;white-space:nowrap}.button:hover{background:#24594a}.button.secondary{background:white;border:1px solid #cad7cf;color:var(--green)}.button.ghost{background:transparent;color:var(--green)}.button.danger{background:#fff0ee;color:#a63127}.button.small{min-height:38px;padding:7px 12px;font-size:.85rem}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat{padding:23px;background:white;border:1px solid var(--border);border-radius:12px}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#62736c;font-size:.85rem;margin-bottom:18px}.stat-label svg{color:#6b8b79}.stat strong{font-size:2.05rem;font-weight:650;letter-spacing:-1px;line-height:1}.stat small{display:block;color:var(--muted);margin-top:9px}.stat.highlight{background:var(--green);color:white;border-color:var(--green)}.stat.highlight .stat-label,.stat.highlight small,.stat.highlight svg{color:#c2d8c8}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px}.panel{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--border);gap:14px}.panel-head h2{margin:0}.panel-head a{font-size:.85rem;color:#327054;font-weight:650}.panel-body{padding:24px}.empty{padding:48px 24px;text-align:center;color:var(--muted)}.empty .empty-icon{margin:0 auto 15px;width:54px;height:54px;border-radius:15px;background:#eff5ee;display:grid;place-items:center;color:#457958}.empty h3{color:#233e30;margin-bottom:7px}.empty p{max-width:320px;margin:0 auto 20px;font-size:.9rem}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}th{font-weight:550;font-size:.78rem;text-transform:uppercase;letter-spacing:.6px;background:#fafcfb;color:#687a70;padding:13px 22px;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:18px 22px;border-bottom:1px solid #edf1ee}tbody tr:last-child td{border:0}tbody tr:hover{background:#f9fcf9}.person{font-weight:650;display:block}.person:hover{color:#31714c;text-decoration:underline}.subline{color:var(--muted);font-size:.82rem;display:block;margin-top:3px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 9px;font-weight:600;font-size:.77rem;white-space:nowrap;background:#edf2ef;color:#506259}.badge.new,.badge.scheduled{background:#edf2ff;color:#3b5cb0}.badge.contacted,.badge.in-progress{background:#fdf3dc;color:#846019}.badge.quoted{background:#f1eaff;color:#7353a3}.badge.won,.badge.completed,.badge.active{background:#e8f4e5;color:#387032}.badge.lost,.badge.cancelled,.badge.spam{background:#f9ecea;color:#9b5049}.badge.pending,.badge.verified{background:#fff4d8;color:#846019}.job-preview{padding:19px 24px;border-bottom:1px solid var(--border);display:block}.job-preview strong{display:block;font-size:.92rem;margin:8px 0 3px}.job-preview p{font-size:.83rem;color:var(--muted);margin:0}.integration-note{background:#eaf2e7;border:1px solid #d4e3cf;padding:22px;border-radius:12px;margin-top:24px}.integration-note h3{display:flex;align-items:center;gap:8px;margin-bottom:8px}.integration-note p{font-size:.9rem;margin:0;color:#526a55}.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.search{flex:1;min-width:180px;max-width:440px}.toolbar select{width:auto;min-width:150px}.field{display:grid;gap:7px;margin-bottom:19px}.field label,.field legend{font-size:.85rem;font-weight:650}.field .help{font-size:.83rem;color:var(--muted);margin:0}input,textarea,select{border:1px solid #cad5ce;border-radius:7px;background:white;color:#172d29;padding:11px 12px;width:100%;min-height:46px;font-size:16px}textarea{resize:vertical;min-height:100px}select{padding-right:28px}input::placeholder,textarea::placeholder{color:#839087}label{cursor:pointer}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-row .field{min-width:0}.error{color:#a22b26;font-size:.9rem;line-height:1.5;background:#fff1ee;border-radius:7px;padding:12px;margin-bottom:16px}.error:empty{display:none}.help-card{padding:24px;background:#fff;border:1px solid var(--border);border-radius:12px}.help-card p{color:var(--muted);font-size:.9rem}.settings-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:24px;align-items:start}.stack{display:grid;gap:24px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}.details{display:grid;grid-template-columns:1fr 1fr;gap:20px}.details dt{color:var(--muted);font-size:.8rem;margin-bottom:5px}.details dd{margin:0;overflow-wrap:anywhere;font-size:.95rem}.details dd a{color:#327054}.full{grid-column:1/-1}.prose{white-space:pre-wrap;overflow-wrap:anywhere}.event{padding:18px 0;border-bottom:1px solid var(--border)}.event:last-child{border:0}.event p{font-size:.92rem;margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}.event small{color:var(--muted)}.back-link{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:.88rem;margin-bottom:20px;min-height:36px}.actions{display:flex;gap:10px;flex-wrap:wrap}.domain-item,.key-item{padding:18px 0;border-bottom:1px solid var(--border)}.domain-item:last-child,.key-item:last-child{border:0}.domain-item strong{display:block;overflow-wrap:anywhere;margin-bottom:8px}.code{font-family:ui-monospace,monospace;background:#f1f5f2;border:1px solid var(--border);padding:12px;border-radius:7px;font-size:.82rem;white-space:pre-wrap;overflow-wrap:anywhere;display:block;margin:9px 0}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;border-top:1px solid var(--border);font-size:.85rem;color:var(--muted)}.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:var(--green);color:white;padding:52px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art .brand-icon{background:#2a5d4c}.auth-art .brand small{color:#a7c3b1}.auth-art h1{font-size:clamp(2.4rem,4.2vw,4.2rem);max-width:530px;letter-spacing:-2px;line-height:1.08;margin-bottom:25px}.auth-art h1 span{color:var(--lime)}.auth-art p{color:#b8cebf;max-width:420px}.auth-art .eyebrow{color:#c1d9ba}.auth-illustration{display:flex;gap:10px;align-items:end;height:110px;max-width:340px;margin:30px 0}.auth-illustration span{background:#315e4b;flex:1;border-radius:8px 8px 0 0;height:45%}.auth-illustration span:nth-child(2){height:60%;background:#47784f}.auth-illustration span:nth-child(3){height:80%;background:#7aa35e}.auth-illustration span:nth-child(4){height:100%;background:var(--lime)}.auth-panel{display:grid;align-content:center;padding:48px;max-width:560px;width:100%;margin:auto}.auth-panel h2{font-size:1.9rem;letter-spacing:-.8px;margin-bottom:9px}.auth-panel>p{color:var(--muted);margin-bottom:28px}.auth-panel .button{width:100%}.auth-tabs{display:flex;background:#eaf0eb;border-radius:8px;padding:4px;margin-bottom:25px;gap:4px}.auth-tabs button{flex:1;padding:11px 6px;border-radius:5px;background:transparent;color:#4b6254;font-size:.85rem;font-weight:650}.auth-tabs button.active{background:white;box-shadow:0 1px 4px #153b1710;color:var(--green)}.auth-switch{font-size:.85rem;text-align:center;color:var(--muted);margin-top:24px}.auth-switch button{background:none;color:var(--green);font-weight:700;padding:8px}.auth-footer{margin-top:24px;font-size:.8rem;color:#647b6a}.auth-panel .brand{display:none}.invite-notice{padding:14px;background:#eaf3e4;border:1px solid #d0e2c8;border-radius:8px;font-size:.9rem;margin-bottom:20px}dialog{border:0;border-radius:14px;max-width:620px;width:calc(100% - 32px);padding:0;color:#172d29;max-height:90dvh;box-shadow:0 25px 100px #0c281b45}dialog::backdrop{background:#0e231b80;backdrop-filter:blur(3px)}.modal-head{padding:24px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.modal-head h2{margin:0}.modal-close{background:#edf3ee;width:40px;height:40px;border-radius:50%;display:grid;place-items:center}.modal-body{padding:24px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#notifications{position:fixed;right:24px;bottom:24px;z-index:100;max-width:min(420px,calc(100% - 32px))}.toast{background:#153e30;color:white;border-radius:9px;padding:15px 20px;box-shadow:0 5px 30px #13271f30;font-size:.9rem}.toast.failure{background:#9c352d}.loading{padding:50px;text-align:center;color:var(--muted)}.card-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.customer-card{background:white;border:1px solid var(--border);border-radius:12px;padding:23px;text-align:left;display:block;width:100%}.customer-card:hover{border-color:#8ea795}.customer-card h2{margin-bottom:12px}.customer-card p{font-size:.88rem;color:var(--muted);margin-bottom:5px;overflow-wrap:anywhere}.section-gap{margin-top:24px}.list-reset{list-style:none;margin:0;padding:0}.plain-link{color:#2b6b4c;text-decoration:underline}.role-note{padding:16px;background:#f3f6f3;border-radius:7px;color:var(--muted);font-size:.88rem}
@media(min-width:1800px){.content{padding-top:48px}}@media(max-width:1150px){.layout{grid-template-columns:218px minmax(0,1fr)}.content{padding:28px}.topbar{padding-inline:28px}.stats{gap:12px}.stat{padding:18px}.dashboard-grid,.detail-layout,.settings-layout{grid-template-columns:1fr}.card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-art{padding:38px}.auth-panel{padding:38px}}
@media(max-width:720px){.layout{display:block}.sidebar{display:none;position:fixed;inset:72px 0 0;z-index:40;height:calc(100dvh - 72px);overflow-y:auto;padding-top:22px}.layout.menu-open .sidebar{display:flex}.sidebar .brand{display:none}.menu-toggle{display:grid;place-items:center}.topbar{height:72px;padding:0 16px;position:sticky;top:0;z-index:45}.topbar-right small,.topbar .avatar{display:none}.topbar p{font-size:.8rem}.content{padding:25px 16px 40px}.page-heading{align-items:flex-start;margin-bottom:25px;gap:14px}.page-heading>.button{font-size:.82rem;padding-inline:12px}.page-heading p{font-size:.88rem}h1{font-size:1.8rem}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.stat{padding:17px}.stat-label{font-size:.77rem;gap:6px;margin-bottom:13px}.stat strong{font-size:1.8rem}.stat small{font-size:.75rem}.dashboard-grid{gap:20px}.panel-head,.panel-body{padding:20px}.panel-head h2{font-size:1.05rem}.form-row{grid-template-columns:1fr;gap:0}.card-list{grid-template-columns:1fr}.details{gap:18px}.auth-layout{display:block}.auth-art{display:none}.auth-panel{min-height:100dvh;padding:28px 22px}.auth-panel .brand{display:flex;margin-bottom:40px}.auth-panel h2{font-size:1.75rem}.auth-panel>p{font-size:.92rem}.modal-body,.modal-head{padding:20px}dialog{max-height:92dvh}.toolbar{gap:10px}.toolbar .search{max-width:none}.toolbar select{flex:1}td{padding:16px}th{padding:13px 16px}.empty{padding:36px 20px}.auth-tabs button{min-height:44px}.actions .button{flex-grow:1}.topbar-right{gap:10px}#notifications{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.button-reset{font:inherit;border:0;border-bottom:1px solid var(--border);background:white;text-align:left;width:100%;color:inherit;cursor:pointer}.button-reset:hover{background:#f6faf6}
