@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{color-scheme:light;--bg: #f6f6f4;--surface: #ffffff;--surface-soft: #fbfbfb;--surface-soft-2: #f7f7f7;--line: #efefef;--line-strong: #e4e4e4;--text: #363636;--muted: #8d8d8d;--green: #7db84a;--green-dark: #68993b;--danger: #d95c5c;--shadow: 0 18px 40px rgba(92, 122, 42, .22);font-family:Inter,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;color:var(--text);background:var(--bg)}button,input,select,textarea,a{font:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}input,select,textarea{outline:0}svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.app-frame{min-height:100vh;padding:0}.crm-shell{width:100%;min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr);background:#fffffffa;border-radius:0;overflow:hidden;box-shadow:none}.sidebar{display:grid;grid-template-rows:auto 1fr auto;border-right:1px solid var(--line);background:linear-gradient(180deg,#fff,#fdfdfd)}.sidebar__top{border-bottom:1px solid var(--line)}.sidebar__bar{padding:24px 28px 8px;display:flex;align-items:center;justify-content:space-between}.ghost-icon{width:34px;height:34px;display:inline-grid;place-items:center;color:#7e7e7e;border-radius:10px;cursor:pointer;flex:0 0 auto}.ghost-icon:disabled,.primary-action:disabled,.secondary-action:disabled,.danger-action:disabled,.bulk-delete:disabled,.action-icon:disabled{opacity:.45;cursor:not-allowed}.ghost-icon--sidebar{width:28px;height:28px}.profile-card{padding:8px 28px 28px;display:grid;justify-items:center;gap:10px;text-align:center}.profile-card__avatar,.person-cell__avatar{display:grid;place-items:center;color:#fff;font-weight:700;background:linear-gradient(135deg,#b68e73,#8a5b3b);overflow:hidden}.profile-card__avatar{width:42px;height:42px;border-radius:50%;font-size:.85rem}.profile-card strong{font-size:.95rem;font-weight:500}.profile-card p{margin:-4px 0 0;font-size:.78rem;color:var(--muted)}.tag-button{height:24px;padding:0 7px;border-radius:4px;display:inline-flex;align-items:center;gap:4px;background:var(--green);color:#fff;font-size:.71rem;font-weight:600;cursor:pointer}.tag-button svg{width:12px;height:12px}.sidebar__nav{padding:38px 0 0}.sidebar-link{width:100%;min-height:40px;padding:0 28px;display:flex;align-items:center;gap:14px;font-size:.98rem;color:#696969;position:relative;text-align:left;cursor:pointer}.sidebar-link__marker{position:absolute;left:0;width:3px;height:28px;border-radius:999px;background:transparent}.sidebar-link--active{color:#2f2f2f;font-weight:600}.sidebar-link--active .sidebar-link__marker{background:var(--green)}.sidebar__footer{padding:18px 0;border-top:1px solid var(--line)}.sidebar-link--footer{gap:12px}.sidebar-link--footer svg{width:16px;height:16px}.crm-main{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.crm-header{padding:22px 34px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.crm-tabs{display:flex;align-items:center;gap:22px}.crm-tab{position:relative;padding:10px 2px 16px;font-size:.95rem;color:#727272;cursor:pointer}.crm-tab--active{color:#333;font-weight:600}.crm-tab--active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:999px;background:var(--green)}.crm-header__actions{display:flex;align-items:center;gap:10px}.primary-action,.secondary-action,.danger-action,.bulk-delete{height:38px;padding:0 18px;display:inline-flex;align-items:center;gap:10px;border-radius:4px;font-size:.93rem;font-weight:600;cursor:pointer}.primary-action{background:var(--green);color:#fff}.secondary-action{background:var(--surface-soft);color:#5f5f5f}.danger-action{background:var(--danger);color:#fff}.bulk-delete{background:#fff4f4;color:#c14d4d;border:1px solid #f0d3d3}.bulk-delete span:last-child{min-width:18px;text-align:center}.table-card{min-width:0;padding:8px 24px 24px}.table-scroll{min-width:0;overflow:auto}.contacts-table{width:100%;min-width:880px;border-collapse:collapse}.contacts-table th,.contacts-table td{height:56px;padding:0 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:.86rem}.contacts-table th{height:44px;font-size:.74rem;font-weight:500;color:var(--muted)}.contacts-table tbody tr.is-selected{background:#fafdf6}.checkbox-col{width:42px;padding-left:16px!important;padding-right:6px!important}.checkbox{width:18px;height:18px;display:inline-grid;place-items:center;border-radius:2px;border:1px solid var(--line-strong);background:#fff}.checkbox-button{cursor:pointer}.checkbox-button svg{width:12px;height:12px;stroke-width:2.4}.checkbox--checked,.checkbox--indeterminate{border-color:var(--green);background:var(--green);color:#fff}.sortable-head{display:inline-flex;align-items:center;gap:8px}.sortable-head svg{width:13px;height:13px;color:#b1b1b1}.person-cell{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:12px}.person-cell__avatar{width:30px;height:30px;border-radius:50%;font-size:.67rem}.person-cell__copy{min-width:0;display:grid;gap:2px}.person-cell__copy strong,.group-cell span,.mail-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-cell__copy strong{font-weight:500}.person-cell__copy span{color:var(--muted);font-size:.79rem}.group-cell{display:flex;align-items:center;gap:8px;min-width:0}.group-cell small{color:var(--muted);font-size:.75rem}.actions-col{width:150px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.action-icon{width:28px;height:28px;display:inline-grid;place-items:center;border-radius:50%;color:#777;cursor:pointer}.menu-anchor{position:relative}.action-menu{position:absolute;top:36px;right:-38px;width:206px;padding:14px 0 10px;background:#fff;border-radius:4px;box-shadow:0 18px 40px #414d3b2e;z-index:5}.action-menu p{margin:0 16px 10px;font-size:.75rem;color:var(--muted)}.action-menu__item{min-height:34px;padding:0 16px;display:flex;align-items:center;gap:10px;font-size:.92rem}.action-menu__dot{width:18px;height:18px;border-radius:50%;flex:0 0 auto}.empty-state{min-height:220px;display:grid;place-items:center;text-align:center;color:var(--muted)}.empty-state--compact{min-height:180px;padding:24px}.empty-state h3,.empty-state p{margin:0}.empty-state h3{margin-bottom:8px;color:var(--text);font-size:1rem}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#4f632752;z-index:20}.modal-card{width:min(720px,100%);background:#fff;border-radius:10px;box-shadow:0 24px 48px #303b1e38;overflow:hidden}.modal-head{padding:18px 22px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.modal-kicker{display:block;margin-bottom:6px;font-size:.75rem;color:var(--muted)}.modal-head h3{margin:0;font-size:1.2rem;font-weight:600}.contact-form,.confirm-card{padding:22px}.contact-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.form-field{display:grid;gap:8px}.form-field span{font-size:.79rem;font-weight:600;color:#646464}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface-soft-2);padding:12px 13px;color:var(--text)}.form-field textarea{resize:vertical;min-height:110px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.confirm-card{display:grid;gap:18px}.confirm-card p,.confirm-card span{margin:0}.confirm-card span{color:var(--muted)}.toast{position:fixed;right:24px;bottom:24px;z-index:30;padding:12px 14px;border-radius:8px;color:#fff;box-shadow:0 14px 30px #25340d38}.toast--success{background:var(--green-dark)}.toast--error{background:var(--danger)}@media(max-width:1100px){.app-frame{padding:0}.crm-shell{grid-template-columns:1fr}.sidebar{grid-template-rows:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar__nav{padding-top:10px;padding-bottom:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar__footer{display:none}}@media(max-width:720px){.crm-header{padding:18px 18px 0;flex-direction:column;align-items:stretch}.crm-header__actions{justify-content:flex-end;flex-wrap:wrap}.table-card{padding-inline:12px}.sidebar__nav{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}}
