:root { --ink:#17332f; --muted:#667772; --line:#dce6e1; --canvas:#f4f6f1; --surface:#fff; --deep-green:#123f3a; --green:#237765; --mint:#dcefe5; --lime:#c9e870; --orange:#ed966b; --blue:#97cfe5; --shadow:0 18px 48px rgba(20,54,47,.08); }
* { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; min-width:320px; color:var(--ink); background:var(--canvas); font:14px "DM Sans",sans-serif; } button,input,select,textarea { font:inherit; } a { color:inherit; text-decoration:none; } button { cursor:pointer; } button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible { outline:3px solid rgba(35,119,101,.25); outline-offset:2px; }
.app-shell { min-height:100vh; display:flex; }.sidebar { position:sticky; top:0; width:238px; height:100vh; flex:0 0 238px; display:flex; flex-direction:column; padding:25px 16px 18px; overflow-y:auto; color:#edf8f3; background:var(--deep-green); }.brand { display:flex; align-items:center; gap:10px; padding:3px 10px 31px; color:#fff; font:23px "Fraunces",serif; }.brand-mark { display:grid; width:30px; height:30px; place-items:center; border-radius:8px; color:var(--deep-green); background:var(--lime); }.brand-mark i { width:18px; }.nav-label { margin:0 10px 9px; color:#9ec3b5; font-size:10px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }.nav-list { padding:0; margin:0 0 25px; list-style:none; }.nav-button { display:flex; align-items:center; width:100%; gap:11px; margin:2px 0; padding:10px; border-radius:6px; color:#bad5ca; font-weight:600; }.nav-button:hover,.nav-button.active { color:#fff; background:rgba(255,255,255,.12); }.nav-button i { width:18px; height:18px; }.nav-count { min-width:22px; padding:2px 6px; margin-left:auto; border-radius:10px; color:var(--lime); background:rgba(201,232,112,.19); font-size:11px; text-align:center; }.storage-card { padding:15px; margin-top:auto; border:1px solid rgba(255,255,255,.1); border-radius:8px; background:rgba(255,255,255,.09); }.storage-card strong { display:block; font-size:12px; }.storage-card p { margin:5px 0 12px; color:#b5d1c4; font-size:12px; line-height:1.45; }.storage-card a { display:block; padding:8px; border:1px solid #8ab9a7; border-radius:5px; color:#fff; font-size:12px; font-weight:700; text-align:center; }
.main { width:min(100%,1600px); padding:0 34px 42px; margin:0 auto; overflow:hidden; }.topbar { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:78px; border-bottom:1px solid var(--line); }.mobile-menu { display:none; }.topbar-tools { display:flex; flex:1; max-width:330px; }.search { position:relative; width:100%; height:38px; }.search i { position:absolute; top:10px; left:12px; width:17px; color:var(--muted); }.search input { width:100%; height:100%; padding:0 12px 0 37px; border:1px solid var(--line); border-radius:6px; color:var(--ink); background:rgba(255,255,255,.72); }.icon-button { display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--line); border-radius:6px; color:var(--ink); background:transparent; }.icon-button:hover { border-color:#b7cbc2; background:var(--surface); }.icon-button i { width:18px; }.profile { display:flex; align-items:center; gap:9px; }.avatar { display:grid; width:33px; height:33px; place-items:center; border-radius:50%; color:#63321f; background:var(--orange); font-size:12px; font-weight:700; }.profile-copy strong { display:block; font-size:12px; }.profile-copy span { color:var(--muted); font-size:11px; }
.page-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; padding:34px 0 27px; }.eyebrow { color:var(--green); font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; } h1,h2,h3,p { margin-top:0; } h1 { margin:4px 0 0; font:clamp(29px,4vw,43px)/1.08 "Fraunces",serif; } h2 { font:29px "Fraunces",serif; } .page-heading p { margin:10px 0 0; color:var(--muted); }.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border:1px solid transparent; border-radius:6px; font-weight:700; white-space:nowrap; }.button i { width:17px; height:17px; }.button-primary { color:#153731; background:var(--lime); box-shadow:0 7px 18px rgba(34,91,73,.14); }.button-primary:hover { background:#b8dc55; }.button-secondary { border-color:var(--line); color:var(--ink); background:var(--surface); }.button-danger { border-color:#f5cbc8; color:#a23f3c; background:#fff5f3; }
.metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }.metric { position:relative; min-height:145px; padding:18px; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:var(--surface); }.metric::after { position:absolute; top:0; right:0; left:0; height:5px; content:""; }.metric:nth-child(1)::after { background:var(--lime); }.metric:nth-child(2)::after { background:var(--blue); }.metric:nth-child(3)::after { background:var(--orange); }.metric:nth-child(4)::after { background:#9cbaa4; }.metric-label { color:var(--muted); font-size:12px; font-weight:600; }.metric-value { margin:18px 0 5px; font:31px "Fraunces",serif; }.metric-detail { color:var(--green); font-size:12px; font-weight:700; }.metric-detail.neutral { color:var(--muted); }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(290px,.8fr); gap:18px; margin-top:20px; }.panel { border:1px solid var(--line); border-radius:8px; background:var(--surface); }.panel-header { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:61px; padding:17px 18px; border-bottom:1px solid var(--line); }.panel-title { font-size:15px; font-weight:700; }.panel-subtitle { margin-top:2px; color:var(--muted); font-size:12px; }.text-button { padding:0; border:0; color:var(--green); background:transparent; font-size:12px; font-weight:700; }.pipeline { padding:19px 18px 13px; }.pipeline-visual { display:grid; grid-template-columns:repeat(5,1fr); align-items:end; gap:9px; height:146px; padding:0 3px; border-bottom:1px solid var(--line); }.stage-bar { position:relative; min-height:34px; border-radius:5px 5px 0 0; background:var(--mint); }.stage-bar span { position:absolute; right:0; bottom:7px; left:0; color:var(--deep-green); font-size:12px; font-weight:700; text-align:center; }.stage-bar.proposal { background:var(--blue); }.stage-bar.won { background:var(--lime); }.stage-list { display:grid; grid-template-columns:repeat(5,1fr); gap:9px; padding-top:11px; }.stage-list span { color:var(--muted); font-size:11px; text-align:center; }.task-list,.activity-list { padding:0 18px 8px; }.task-row,.activity-row { display:flex; align-items:flex-start; gap:10px; padding:13px 0; border-bottom:1px solid #edf2ef; }.task-row:last-child,.activity-row:last-child { border-bottom:0; }.task-copy { min-width:0; flex:1; }.task-copy strong { display:block; font-size:12px; }.task-copy span,.activity-copy span { color:var(--muted); font-size:11px; }.due-tag { padding:4px 6px; border-radius:4px; color:#a94f2d; background:#fff1ea; font-size:10px; font-weight:700; white-space:nowrap; }.due-tag.future { color:#397063; background:#eaf4ef; }.activity-dot { display:grid; width:28px; height:28px; flex:0 0 auto; place-items:center; border-radius:50%; color:var(--green); background:var(--mint); }.activity-dot i { width:14px; }.activity-copy strong { display:block; font-size:12px; line-height:1.4; }.activity-copy time { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.section { margin-top:20px; }.toolbar { display:flex; flex-wrap:wrap; gap:10px; padding:13px 18px; border-bottom:1px solid var(--line); }.filter-select { height:35px; padding:0 31px 0 10px; border:1px solid var(--line); border-radius:5px; color:var(--ink); background:#fff; }.toolbar-spacer { flex:1; }.table-scroll { overflow-x:auto; } table { width:100%; min-width:940px; border-collapse:collapse; } th { padding:11px 18px; color:var(--muted); background:#fafcfb; font-size:10px; font-weight:700; letter-spacing:.08em; text-align:left; text-transform:uppercase; } td { padding:13px 18px; border-top:1px solid #edf2ef; vertical-align:middle; } tbody tr:hover { background:#f8fbf9; }.lead-person { display:flex; align-items:center; gap:10px; }.lead-avatar { display:grid; width:31px; height:31px; flex:0 0 auto; place-items:center; border-radius:50%; color:var(--deep-green); background:var(--mint); font-size:11px; font-weight:700; }.lead-person strong,.lead-company { display:block; font-size:12px; }.lead-person span,.cell-subtext { display:block; margin-top:2px; color:var(--muted); font-size:11px; }.value { font-size:12px; font-weight:700; }.status { display:inline-flex; padding:5px 9px; border:0; border-radius:5px; font-size:11px; font-weight:700; }.status-select { cursor:pointer; }.status-new { color:#466875; background:#e8f3f7; }.status-contacted { color:#9a5b25; background:#fff1d9; }.status-qualified { color:#3c6c59; background:#e4f2ea; }.status-proposal { color:#56529a; background:#eeeefe; }.status-won { color:#2d6c38; background:#e1f3d7; }.status-lost { color:#9f5050; background:#fae8e6; }.row-actions { display:flex; justify-content:flex-end; gap:5px; }.row-actions .icon-button { width:29px; height:29px; border-color:transparent; }.row-actions .icon-button:hover { background:#e5f0eb; }.empty-state { padding:42px 20px; color:var(--muted); text-align:center; }
.form-card { max-width:830px; margin:0 auto; }.form-body { padding:22px; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }.field { display:flex; flex-direction:column; gap:7px; }.field.full { grid-column:1 / -1; }.field label { color:#4a625a; font-size:12px; font-weight:700; }.field input,.field select,.field textarea { width:100%; padding:10px; border:1px solid #cbd9d2; border-radius:5px; color:var(--ink); background:#fff; }.field textarea { min-height:115px; resize:vertical; }.form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }.inline-form { display:inline; }.check-task { display:grid; width:28px; height:28px; place-items:center; border:1px solid #96aaa2; border-radius:50%; color:var(--green); background:transparent; }.check-task:hover { color:#fff; border-color:var(--green); background:var(--green); }.toast { position:fixed; z-index:50; right:23px; bottom:23px; display:flex; align-items:center; gap:10px; max-width:calc(100% - 46px); padding:12px 15px; border-radius:6px; color:#fff; background:var(--deep-green); box-shadow:var(--shadow); font-weight:700; }.toast i { width:18px; color:var(--lime); }
@media (max-width:1100px) { .metrics { grid-template-columns:repeat(2,1fr); }.dashboard-grid { grid-template-columns:1fr; } } @media (max-width:800px) { .sidebar { position:fixed; z-index:30; left:0; transform:translateX(-100%); transition:transform .25s ease; box-shadow:15px 0 36px rgba(10,45,39,.22); }.sidebar.open { transform:translateX(0); }.main { padding:0 18px 30px; }.mobile-menu { display:grid; }.profile-copy { display:none; }.topbar { min-height:65px; }.page-heading { flex-direction:column; align-items:start; padding:25px 0 22px; }.page-heading .button { width:100%; }.topbar-tools { max-width:none; }.metrics { gap:10px; } } @media (max-width:520px) { .metrics { grid-template-columns:1fr 1fr; }.metric { min-height:126px; padding:14px; }.metric-value { font-size:25px; }.form-grid { grid-template-columns:1fr; }.field.full { grid-column:auto; }.topbar { gap:9px; }.form-actions { flex-direction:column-reverse; }.form-actions .button { width:100%; } }