/* The approved Business Research palette, without changing sender settings. */
.crm-surface table{min-width:1050px}.crm-surface td{white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;padding:9px 12px;line-height:1.35}.crm-surface .cell-person{min-width:175px}.crm-surface .cell-person small{font-size:10px}.crm-surface .pill{font-size:10px;padding:4px 7px}.crm-surface th{padding:11px 12px}.crm-surface td button{padding:4px 0}.crm-surface .avatar{width:30px;height:30px}.crm-business-menu{position:fixed;z-index:1000;width:285px;max-height:70vh;overflow:auto;background:white;box-shadow:0 16px 48px #16152733;border:1px solid #e6e2f0;padding:9px;border-radius:13px}.crm-business-menu[hidden]{display:none}.crm-business-menu button{display:block;width:100%;background:white;color:#43475f;text-align:left;margin:3px 0}.crm-business-menu button:hover{background:#f0ecff;color:#6558e8}
:root{--purple:#6558e8;--ink:#272b41;--muted:#73778c;--line:#e6e7f0;--bg:#f6f7fb;color:var(--ink);background:var(--bg)}
body{font-family:Inter,"Segoe UI",system-ui,sans-serif}aside{background:#1b1d30;width:232px;padding:28px 18px;overflow-y:auto}main{margin-left:232px;width:calc(100% - 232px);padding:30px 34px}button{background:var(--purple);border-radius:9px;min-height:36px}button.quiet{background:#eeeef7;color:#515675}button.link,a{color:#6558e8}nav button{color:#b9bdd4}nav button:hover,nav button.active{background:#34304e;color:white;box-shadow:inset 3px 0 #a799ff}aside .brand{margin-bottom:18px}aside .eyebrow{margin:14px 10px 8px;color:#9295ad}nav{gap:4px}nav .nav-label{color:#9295ad;font-size:10px;letter-spacing:1.4px;margin:18px 12px 4px;text-transform:uppercase}.nav-crm{position:relative}.nav-crm>button{width:100%}.nav-crm details{padding:0 8px 2px}.nav-crm summary{cursor:pointer;color:#b9bdd4;padding:9px 13px;font-size:12px}.nav-crm details button{font-size:12px;padding:9px 14px;width:100%}.aside-footer{font-size:10px;margin-top:24px}input,select,textarea{border-color:#dcdde8;border-radius:9px;color:var(--ink);accent-color:var(--purple)}label{color:#626783}:focus-visible{outline:3px solid #afa5ff;outline-offset:2px}.panel,.crm-surface,.metric,.job-card{border-color:var(--line);border-radius:14px;box-shadow:0 4px 15px #28224903}.muted,.hint{color:var(--muted)}h1{font-weight:700;letter-spacing:-.8px}.badge,.pill{background:#f0edfc;color:#6d58ae;border-color:#e5ddf8}.pill.stage{background:#e8f5f0;color:#258164}th{background:#f8f8fc;color:#777c96;letter-spacing:.6px;font-size:10px}td{border-color:#eeedf5;padding:11px 14px}dialog{border-color:#e4e1f1;border-radius:19px;box-shadow:0 28px 90px #17152733}dialog::backdrop{background:#1b1d3077;backdrop-filter:blur(4px)}.studio-subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.studio-subnav button{background:white;border:1px solid var(--line);color:#6b7089}.studio-subnav button.selected{color:var(--purple);border-color:#cec5ff;background:#f0ecff}.sync-banner{border:1px solid #d9ede7;background:#f1faf7;color:#28735d;display:flex;gap:12px;align-items:center;padding:13px 17px;border-radius:12px;margin-bottom:18px}.sync-banner .muted{font-size:12px}.sync-banner.warning{border-color:#f2dfbf;background:#fff9ec;color:#966b2b}.hold-label{font-size:11px;color:#8c642b;background:#fff6e6;border:1px solid #f2e2c3;padding:8px 12px;border-radius:30px}.crm-typebar{display:flex;align-items:center;gap:12px;margin-bottom:18px}.crm-typebar select{max-width:280px;margin:0}.crm-typebar label{margin:0}.crm-foot select{display:inline;width:105px;margin:0}.column-row[draggable]{cursor:grab}.column-row.dragging{opacity:.4}.workflow-grid{display:grid;grid-template-columns:1fr;gap:12px}.workflow-item{display:flex;align-items:center;gap:14px;padding:20px;background:white;border:1px solid var(--line);border-radius:14px}.workflow-item h3{margin:0 0 7px}.workflow-item small{color:var(--muted);font-size:12px}.workflow-item .workflow-name{flex:1}.workflow-actions{display:flex;gap:7px;flex-wrap:wrap}.workflow-editor{display:grid;grid-template-columns:240px 1fr;gap:22px}.workflow-path{padding:15px;background:#f7f7fc;border-radius:14px}.workflow-step{position:relative;padding:18px;border:1px solid #e1dcf2;background:white;border-radius:12px;margin:0 0 24px}.workflow-step:not(:last-child):after{content:'↓';position:absolute;bottom:-23px;left:50%;color:#a59bbd}.workflow-step>header{margin:0 0 8px;gap:10px}.workflow-step>header strong{flex:1}.workflow-step input,.workflow-step select{margin-bottom:8px}.workflow-step .quiet{min-height:29px;padding:5px 9px}.studio-empty{text-align:center;padding:55px;color:var(--muted)}.studio-empty h2{color:var(--ink)}.source-detail{margin-top:18px;padding:16px;background:#f7f6fc;border-radius:12px}.person-link{display:block;background:white;border:1px solid var(--line);padding:12px;margin:8px 0;border-radius:9px;text-align:left;color:var(--ink)}.person-link small{color:var(--muted)}.design-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:9px;border:1px solid var(--line);border-radius:9px;margin-bottom:9px}.design-tools select{width:auto;max-width:130px;margin:0;padding:7px}.design-tools input[type=color]{width:35px;height:32px;margin:0;padding:2px}.design-tools button{padding:6px 10px;min-height:32px}.email-design{background:white;min-height:210px;border:1px solid var(--line);padding:20px;outline:none}.workflow-email-source{min-height:200px;font-family:monospace}.sync-mapping{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;align-items:center}.sync-mapping select{margin:7px 0}.crm-subtitle{font-size:13px;color:var(--muted);margin:5px 0 22px}.task-done{text-decoration:line-through;opacity:.65}.spin{display:inline-block;width:14px;height:14px;border:2px solid #cabff3;border-top-color:#6b59db;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spin{animation-duration:2s}}@media(max-width:900px){.workflow-editor{grid-template-columns:1fr}.workflow-item{flex-wrap:wrap}aside{width:190px}main{margin-left:190px;width:calc(100% - 190px);padding:22px}.crm-typebar{flex-wrap:wrap}}@media(max-width:620px){aside{width:100%;position:relative;max-height:230px}main{margin:0;width:100%}nav{display:flex;flex-wrap:wrap}.nav-label{display:none}.workflow-actions{width:100%}}
/* Compact research-style CRM: shared contacts, clear lists and dense rows. */
.crm-smart-tabs{display:flex;gap:22px;overflow-x:auto;border-bottom:1px solid var(--line);margin:0 0 18px;padding:0 3px;scrollbar-width:thin}
.crm-smart-tabs button.quiet{flex-shrink:0;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:13px 4px;color:#666b81;white-space:nowrap}
.crm-smart-tabs button.selected{border-bottom-color:var(--purple);color:var(--purple);font-weight:650}
.crm-workspace .crm-toolbar{gap:10px;flex-wrap:wrap;margin-bottom:12px}
.crm-workspace #crm-count{background:#efecff;color:#6558e8;border-radius:24px;padding:9px 14px;white-space:nowrap;font-weight:600}
.crm-workspace #crm-search{margin-left:auto;max-width:350px;min-width:190px}
.crm-workspace .crm-surface th{font-size:12px;letter-spacing:0;text-transform:none}
.crm-workspace .crm-surface td{font-size:13px;height:44px;padding:7px 12px}
.crm-workspace .crm-surface th button{color:#545b72;font-weight:650}
.crm-workspace .crm-surface .scroll{max-height:calc(100vh - 360px);min-height:230px;overflow:auto}
.crm-workspace .crm-surface thead{position:sticky;top:0;z-index:2}
.crm-workspace .crm-surface tbody tr:hover{background:#f8f7ff}
.crm-workspace .crm-foot{padding:12px 16px}
.crm-workspace .crm-typebar label{font-size:12px;font-weight:600}
@media(max-width:700px){.crm-workspace #crm-search{max-width:none;width:100%;margin-left:0}.crm-workspace .crm-surface .scroll{max-height:65vh}}
