:root{font-family:Segoe UI,system-ui,sans-serif;color:#1c3329;background:#f4f6f3;font-synthesis:none;--forest: #12382c;--forest-deep: #112c24;--green: #28604a;--gold: #dbb36b;--line: #dce5dd;--muted: #53675d;--surface: #fff}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:disabled{cursor:default;opacity:.58}:focus-visible{outline:3px solid #bb873e;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-family:Georgia,serif;font-size:clamp(2rem,3vw,3rem);font-weight:500;letter-spacing:-.045em;line-height:1.08;overflow-wrap:anywhere}h2{font-size:1.075rem;letter-spacing:-.02em;font-weight:700}h3{font-size:.94rem}svg{flex-shrink:0;vertical-align:middle}.app-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:var(--forest-deep);color:#f5f7f4;padding:25px 16px 20px;border-right:1px solid #24483c}.brand{display:flex;align-items:center;gap:11px;padding:5px 9px 32px;color:#fff}.brand:hover{text-decoration:none}.brand img{width:43px;height:43px;object-fit:contain}.brand span,.sidebar-footer>span:last-child{display:grid;gap:2px}.brand strong{font-family:Georgia,serif;font-size:1.43rem;font-weight:500;letter-spacing:-.02em}.brand small{color:#e1bb77;font-size:.75rem;letter-spacing:.2em;font-weight:700}.sidebar nav{display:grid;gap:5px}.sidebar nav a{min-height:46px;display:flex;align-items:center;gap:12px;padding:0 13px;border:1px solid transparent;color:#f5f7f4;font-size:.9375rem;font-weight:600;border-radius:7px}.sidebar nav a:hover{background:#1b4135;text-decoration:none}.sidebar nav a.active{color:#fff;background:#255242;border-color:#376857;box-shadow:inset 3px 0 var(--gold)}.sidebar nav a.active svg{color:#e4bc74}.sidebar-footer{display:flex;gap:10px;align-items:center;margin-top:auto;padding:18px 4px 0;border-top:1px solid #315044;font-size:.84rem}.sidebar-footer small{color:#dbe7df;font-size:.8rem}.workspace-mark{display:grid;place-items:center;border:1px solid #6b694b;color:#edc887;border-radius:7px;width:36px;height:36px;flex:none;font-weight:700;font-size:.78rem}.topbar{min-height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3vw,42px);background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:.875rem}.breadcrumb strong{color:var(--forest-deep)}.topbar-date{color:var(--muted);font-size:.875rem}.content{padding:32px clamp(18px,3vw,42px) 52px;margin:0 auto}.mobile-menu,.nav-scrim{display:none!important}.skip-link{position:absolute;left:8px;top:-100px;z-index:20;background:#fff;padding:8px 14px}.skip-link:focus{top:8px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:7px;min-height:42px;padding:8px 15px;border:1px solid transparent;line-height:1.2;font-size:.9rem;font-weight:650;white-space:nowrap}.button:hover{text-decoration:none}.button.primary{background:var(--forest);color:#fff}.button.primary:hover{background:#1c503d}.button.secondary{background:#fff;color:var(--forest);border-color:#cedcd0}.button.secondary:hover{background:#eff5f0}.button.gold{background:var(--gold);color:#252619}.button.gold:hover{background:#edc987}.button.hero-secondary{color:#fff;border-color:#b3cbbd;background:var(--forest)}.button.hero-secondary:hover{background:#20513d}.button.small{min-height:34px;padding:5px 10px}.button-group{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin:0 0 26px}.page-heading p{margin-top:10px;color:var(--muted);line-height:1.5}.back-link{display:inline-flex;align-items:center;gap:3px;margin-bottom:12px;font-size:.9rem;font-weight:600}.nowrap{white-space:nowrap}.connect-page-hero{--hero-shade: linear-gradient(90deg, #082b20e8, #082b20b3 56%, #082b2000 86%);display:flex;justify-content:space-between;gap:18px 24px;min-height:190px;margin-bottom:24px;padding:30px clamp(20px,3vw,36px);border-radius:12px;border-top:3px solid var(--gold);background:var(--hero-shade) center / 100% 100% no-repeat,url(/hero.png) right 43% / cover no-repeat var(--forest-deep)}.connect-page-hero-copy{flex:1;min-width:0;max-width:min(37rem,57%)}.connect-page-hero h1{color:#fff;font-size:clamp(2.25rem,4vw,3.55rem);font-weight:600}.connect-page-hero p{color:#f5f7f4;margin-top:10px;line-height:1.5}.connect-page-hero-actions{flex:none;align-self:end;justify-content:end}.connect-page-hero+.metric-grid{margin-top:0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:18px 0}.metric,.panel{border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 2px 5px #29433708;min-width:0}.metric{padding:18px 19px}.metric-icon,.record-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;color:var(--green);background:#edf4ee;flex:none}.metric-icon{width:37px;height:37px}.metric-gold,.attention-icon{color:#815916;background:#f8eedb}.attention-icon{padding:7px;border-radius:7px;line-height:1}.metric strong{display:block;margin-top:9px;font-size:2rem;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}.metric h2{margin-top:5px;color:var(--muted);font-size:.875rem;font-weight:600;letter-spacing:0}.dashboard-grid,.detail-grid,.participant-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:18px;align-items:start}.dashboard-grid{align-items:stretch}.stack{display:grid;gap:18px}.panel-heading{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 19px;border-bottom:1px solid #e7ede7}.panel-link{white-space:nowrap;font-size:.875rem;font-weight:650}.panel-body{padding:19px}.stage-chart{display:grid;gap:13px;padding:17px 19px 21px}.chart-row{display:grid;grid-template-columns:90px minmax(0,1fr) 28px;gap:11px;align-items:center;font-size:.9rem}.chart-row strong{text-align:right;font-variant-numeric:tabular-nums}.chart-track{height:8px;border-radius:5px;background:#eaf0ea}.chart-bar{height:100%;border-radius:inherit;background:#52856c}.bar-negotiating{background:#ba8844}.bar-won{background:#28634a}.bar-lost{background:#8b6663}.record-list{list-style:none;margin:0;padding:0 19px}.record-list li{padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.record-list li+li{border-top:1px solid #e8ede8}.record-list a{font-weight:650;color:#214735;overflow-wrap:anywhere}.record-list small,.table-name small{display:block;margin-top:3px;color:var(--muted);font-size:.84rem;font-weight:400}.record-with-icon,.table-name{display:flex;align-items:center;gap:10px;min-width:0}.filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:16px 19px;border-bottom:1px solid var(--line)}.filters>.field{flex:0 1 auto;min-width:132px;max-width:240px}.filters .search{flex:1 1 240px}.search{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #cfdbd0;border-radius:7px;background:#fff;color:var(--muted);min-height:42px}.search:focus-within{outline:2px solid #a98749;outline-offset:1px}.search input{width:100%;border:0;background:transparent;min-height:40px;color:#172f24;outline:none}.field{display:grid;gap:6px;color:#233d31;min-width:0}.field>:is(span,label),.classification-field legend{font-size:.875rem;font-weight:650}.field :is(input,select,textarea){min-height:42px;width:100%;min-width:0;border:1px solid #cfdbd0;background-color:#fff;border-radius:7px;padding:8px 11px;color:#172f24}.field select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2353675d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.field textarea{resize:vertical}.field :disabled{background-color:#f4f6f3;color:var(--muted)}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.9rem}th,td{padding:13px 17px;vertical-align:middle}th{white-space:nowrap;background:#f6f8f5;color:#4f6458;font-weight:650}td{border-top:1px solid #e7ede7;min-width:94px;overflow-wrap:anywhere}td:first-child{min-width:195px}tbody tr:hover{background:#f9fbf8}.table-name{color:#1c402e;font-weight:700}.table-footer{border-top:1px solid var(--line);margin:0;padding:11px 19px;color:var(--muted);font-size:.875rem}.tags{display:flex;flex-wrap:wrap;gap:6px}.badge{display:inline-block;width:fit-content;padding:4px 8px;border:1px solid #dae5dc;border-radius:6px;font-size:.84rem;font-weight:650;line-height:1.18;white-space:nowrap;color:#395648;background:#eff4ef}.badge-active,.badge-won{color:#205e3c;background:#e8f5ea;border-color:#cce5d2}.badge-prospect,.badge-identified{color:#295271;background:#eaf2f8;border-color:#d4e3ee}.badge-negotiating,.badge-on-hold,.badge-medium{color:#755011;background:#faf1dd;border-color:#eddfbc}.badge-high,.badge-lost{color:#8e342e;background:#faeae6;border-color:#efd1cb}.badge-inactive,.badge-archived,.badge-low{color:#4f5c55;background:#f0f2ef;border-color:#dfe4de}.badge-qualifying{color:#4f4169;background:#f0edf6;border-color:#e1d9ed}.notice{margin:0 0 14px;padding:11px 13px;border:1px solid;border-radius:7px;font-size:.9rem}.notice.error{color:#8a3029;background:#fff0ed;border-color:#f1d2cc}.notice.success{color:#215841;background:#eaf5ed;border-color:#cfe6d6}div.notice{display:flex;align-items:center;gap:10px}.notice.inset{margin:12px 19px 0}.loading{color:var(--muted);padding:20px 0}.empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:28px 17px;color:var(--muted)}.empty strong{color:#294739}.empty p{max-width:350px;line-height:1.4;font-size:.9rem}.empty svg{margin-bottom:4px;color:#51816b}.form-grid,.classification-field{border:0;margin:0;padding:0;min-width:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.wide{grid-column:1 / -1}.checkboxes{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.checkboxes label{display:flex;gap:6px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:7px 10px;font-size:.875rem}.checkbox-line{display:inline-flex;gap:8px;align-items:center;min-height:42px;align-self:end;font-size:.9rem}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;flex:none}.facts{margin:16px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.facts dt{color:var(--muted);font-size:.875rem}.facts dd{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}.record-notes{padding-top:14px;margin-top:17px;border-top:1px solid var(--line)}.record-notes p,.summary{margin-top:7px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:#40594d}.participant-grid{margin-top:18px}.stage-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.stage-form .field{flex:1 1 135px}.stage-form+.notice{margin:12px 0 0}.history-title{margin-top:18px}.history{list-style:none;padding:0;margin:6px 0 0}.history li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.875rem}.history time{color:var(--muted)}.participants p{color:var(--muted);font-size:.875rem;margin-top:4px;overflow-wrap:anywhere;white-space:pre-wrap}.participant-actions{flex:none;display:flex;gap:4px;align-items:center}.icon-button{border:1px solid transparent;background:transparent;border-radius:6px;color:var(--green);padding:6px}.icon-button:hover{background:#eaf2eb}.icon-button.danger{color:#8b443d}.icon-button.danger:hover{background:#f9ebe8}.participant-form{padding:15px 19px 19px;border-top:1px solid var(--line);display:grid;gap:11px}.view-tabs{display:flex;gap:8px;margin:0 0 14px}.view-tabs button{display:flex;align-items:center;gap:7px;min-height:40px;padding:7px 11px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:7px;font-size:.9rem;font-weight:650}.view-tabs button.selected{background:#e8f0e9;color:var(--forest);border-color:#cbded0}.pipeline-section .filters{border:1px solid var(--line);border-radius:9px;background:#fff;margin-bottom:15px}.pipeline-scroll{overflow-x:auto;padding-bottom:9px}.pipeline-board{display:grid;grid-template-columns:repeat(6,minmax(179px,1fr));gap:11px;min-width:1129px;align-items:stretch}.pipeline-column{min-height:255px;padding:9px;background:#eaf0ea;border:1px solid #d9e4d9;border-radius:9px}.pipeline-column header{display:flex;align-items:center;justify-content:space-between;padding:1px 0 9px}.column-count{font-size:.83rem;color:var(--muted);font-weight:650;padding-right:5px}.pipeline-card{display:grid;gap:7px;padding:10px;margin-bottom:8px;background:#fff;border:1px solid #d8e3d9;border-radius:7px;color:#224735;font-size:.875rem;box-shadow:0 2px 4px #1b39270c}.pipeline-card:hover{border-color:#77a28b;text-decoration:none}.pipeline-card>span{display:flex;align-items:start;gap:5px;color:var(--muted);font-size:.84rem;overflow-wrap:anywhere}.pipeline-card>span svg{margin-top:2px}.pipeline-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px}.pipeline-card-footer b{font-size:.84rem}.column-empty{text-align:center;padding:20px 4px;color:var(--muted);font-size:.85rem}.paused-board{margin:15px 0;padding:14px;border:1px solid #e4dcc8;background:#f6f1e5;border-radius:8px}.paused-board h2 span{color:var(--muted);margin-left:8px}.paused-board>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:8px;margin-top:10px}.paused-board .pipeline-card{margin-bottom:0}@media(max-width:1100px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.connect-page-hero{--hero-shade: linear-gradient(90deg, #082b20f2, #082b20bd 73%, #082b200d 98%);flex-direction:column;min-height:222px;padding-block:25px;background-position:center,right center}.connect-page-hero-copy{max-width:min(30rem,78%)}.connect-page-hero-actions{align-self:start;justify-content:start}.filters>.field{max-width:none}}@media(max-width:850px){.app-shell{display:block}.sidebar{position:fixed;z-index:5;inset:0 auto 0 0;width:232px;visibility:hidden;transform:translate(-100%);transition:transform .18s ease,visibility .18s}.sidebar.menu-open{visibility:visible;transform:translate(0)}.nav-scrim{display:block!important;position:fixed;inset:0;z-index:4;background:#0d281f80;border:0}.mobile-menu{display:inline-flex!important;padding:6px 10px;min-height:37px}.topbar{justify-content:start;gap:11px;min-height:56px}.topbar-date{margin-left:auto}}@media(max-width:620px){.dashboard-grid,.detail-grid,.participant-grid{grid-template-columns:minmax(0,1fr)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:13px}.content{padding-top:22px}.connect-page-hero{--hero-shade: linear-gradient(90deg, #082b20f2, #082b20b8 70%, #082b2066), linear-gradient(0deg, #082b20d9, #082b20a8 60%, #082b2000 100%);min-height:232px;padding-block:20px;gap:14px;background:var(--hero-shade),url(/hero.png) 70% center / auto 100% no-repeat var(--forest-deep)}.connect-page-hero-copy{max-width:100%}.connect-page-hero-actions{align-self:stretch;flex-wrap:nowrap}.connect-page-hero-actions .button{min-width:0;padding-inline:10px;text-align:center;white-space:normal}.page-heading{align-items:start;flex-direction:column;gap:13px}.filters{gap:9px}.filters>.field{flex:1 1 134px}.form-grid{grid-template-columns:minmax(0,1fr)}.topbar-date,.table-scroll .mobile-hidden{display:none}.table-scroll :is(th,td){padding:11px 10px;min-width:0}.table-scroll th{white-space:normal}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.operational-history{display:grid;gap:16px;margin-top:18px}.activity-timeline li{border-left:2px solid #d5e4d9;padding-left:14px}.activity-timeline .tags{margin-bottom:6px}.activity-timeline p{margin:6px 0 0;color:var(--muted);font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}.record-list li>div{min-width:0}.relationship-links{display:grid;gap:4px}.table-secondary,.form-hint{color:var(--muted);font-size:.875rem}.task-due{display:grid;gap:4px}.badge-overdue{color:#8e342e;background:#faeae6;border-color:#efd1cb}.badge-due-soon{color:#755011;background:#faf1dd;border-color:#eddfbc}.badge-completed{color:#205e3c;background:#e8f5ea;border-color:#cce5d2}.links-fieldset,.link-picker{min-width:0;border:1px solid var(--line);border-radius:8px;margin:0;padding:10px 12px 12px}.links-fieldset legend,.link-picker legend{font-size:.9rem;font-weight:650;padding:0 4px}.links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px;align-items:start}.link-filter{width:100%;border:1px solid #cfdbd0;border-radius:6px;padding:7px 9px;color:#172f24}.selected-links{font-size:.84rem;padding-top:8px;color:var(--green);font-weight:650;overflow-wrap:anywhere}.link-options{display:grid;gap:2px;overflow-y:auto;max-height:165px;margin-top:8px}.link-options label{display:flex;gap:6px;align-items:start;font-size:.875rem;padding:4px 3px}.link-options input{margin:2px 0 0}.link-options p{color:var(--muted);font-size:.875rem}.task-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-operational{align-self:start}.metric-link{color:inherit}.metric-link:hover{border-color:#86ac95;text-decoration:none}.record-dialog{width:min(880px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:12px;color:inherit;background:#fff;box-shadow:0 20px 70px #0d281f40;overflow:hidden}.record-dialog[open],.record-dialog-content,.record-modal-form{display:flex;flex-direction:column;min-height:0}.record-dialog::backdrop{background:#0d281f80}body:has(.record-dialog[open]){overflow:hidden}.record-dialog-header,.record-dialog-confirm{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px clamp(14px,3vw,24px);border-bottom:1px solid var(--line)}.record-dialog-header h2{font-size:1.25rem}.record-dialog-header h2:focus{outline:none}.record-dialog-confirm{flex-wrap:wrap;background:#f9f5eb}.record-dialog-content>.notice,.record-dialog-content>.loading{margin:14px clamp(14px,3vw,24px)}.record-dialog-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px clamp(14px,3vw,24px)}.record-dialog-footer{background:#fff;border-top:1px solid var(--line);padding:12px clamp(14px,3vw,24px)}.record-dialog-footer .button-group{justify-content:end}.record-dialog-footer .notice{margin-bottom:10px}.record-save-notice a{margin-inline-start:8px;text-decoration:underline;font-weight:650}@media(max-width:620px){.links-grid{grid-template-columns:minmax(0,1fr)}.task-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-due{font-size:.82rem}.record-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}}
