@layer legacy{html body .crew-shell.crew-section-settings .crew-settings-layout,html body .crew-shell.crew-section-system .crew-system-page{min-height:0;overflow-x:hidden;overflow-y:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom))}html body .crew-sidebar-footer{padding-top:8px}html body .crew-label-pill,html body .crew-label-editor button,html body .crew-label-pill-list button{--label-color: var(--cc-primary);min-width:0;border-radius:999px;border:1px solid var(--cc-line);background:var(--cc-surface-soft);color:var(--cc-muted);box-shadow:none}html body .crew-label-pill.active,html body .crew-label-editor button.active,html body .crew-label-pill-list button.active{border-color:color-mix(in srgb,var(--label-color) 42%,transparent);background:color-mix(in srgb,var(--label-color) 14%,var(--cc-surface));color:color-mix(in srgb,var(--label-color) 70%,var(--cc-text))}html body .crew-label-pill.inactive,html body .crew-label-editor button:not(.active){border-color:var(--cc-line);background:var(--cc-surface-soft);color:var(--cc-muted)}html body .crew-empty-state{min-width:0}html body .crew-whatsapp-glyph{color:var(--cc-whatsapp)}@media(max-width:900px){html body .crew-contact-detail-drawer.open,html body .crew-mobile-filter-panel,html body .crew-knowledge-drawer,html body .crew-commerce-drawer{position:fixed;inset:auto 0 0 0;width:100vw;max-width:100vw;max-height:min(84dvh,720px);border-radius:var(--cc-radius-sheet) var(--cc-radius-sheet) 0 0;overflow:hidden}html body .crew-shell.crew-section-knowledge .crew-knowledge-drawer{overflow-x:hidden;overflow-y:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom));scrollbar-width:none}html body .crew-shell.crew-section-knowledge .crew-knowledge-drawer::-webkit-scrollbar{display:none}}@media(prefers-reduced-motion:reduce){html body *{transition-duration:.01ms;animation-duration:.01ms}}@media(max-width:900px){html,body,#root{width:100%;height:100dvh;min-height:100dvh;overflow:hidden;overscroll-behavior:none}html body .crew-shell{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;overflow:hidden}html body .crew-main{min-height:0;height:100dvh;overflow:clip}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page{position:relative;width:100%;height:calc(100dvh - 130px);min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;padding:12px 14px 0;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page>.crew-section-header{display:none;position:absolute;inset:0 auto auto 0;visibility:hidden;pointer-events:none;height:0;min-height:0;width:0;margin:0;padding:0;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-contact-toolbar{display:none;height:0;min-height:0;margin:0;padding:0;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-contact-count-row{grid-row:1;min-height:42px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:0}html body .crew-shell.crew-section-contacts .crew-contact-count-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .crew-shell.crew-section-contacts .crew-contact-count-row button{height:38px;min-height:38px;padding:0 16px;border-radius:999px}html body .crew-shell.crew-section-contacts .crew-contact-directory-layout{grid-row:2;min-height:0;height:100%;display:block;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-contact-table{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;padding:0 0 calc(92px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto}html body .crew-shell.crew-section-contacts .crew-contact-table-head{display:none}html body .crew-shell.crew-section-contacts .crew-contact-row{width:100%;min-height:132px;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;grid-template-areas:"name label" "phone phone" "owner last" "source source";align-items:center;gap:8px 10px;padding:12px;border-radius:var(--cc-radius-3);border:1px solid var(--cc-line-soft);background:var(--cc-surface);overflow:hidden}html body .crew-shell.crew-section-contacts .crew-contact-row>span{display:flex;align-items:center;min-width:0;width:auto;min-height:20px;line-height:1.25;opacity:1;visibility:visible;overflow:hidden;text-overflow:ellipsis}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-name{grid-area:name;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-label{grid-area:label;justify-self:end;max-width:138px;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-phone{grid-area:phone;color:var(--cc-ink);font-weight:650}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-owner{grid-area:owner}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-last{grid-area:last;justify-self:end;text-align:right;max-width:160px}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-source{grid-area:source;color:var(--cc-muted)}html body .crew-shell.crew-section-contacts .crew-contact-cell-label .crew-label-pill,html body .crew-shell.crew-section-contacts .crew-contact-cell-source .crew-source-pill{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-country,html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-email,html body .crew-shell.crew-section-contacts .crew-contact-row>.crew-contact-cell-username{display:none;height:0;min-height:0;width:0;padding:0;margin:0;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-mobile-filter-panel{box-sizing:border-box;width:100vw;max-width:100vw;overflow-x:hidden}}@media(max-width:900px){html body .crew-shell .crew-notification-filters,html body .crew-shell .crew-mobile-stage-tabs{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding-left:2px;padding-right:18px;scroll-padding-inline:2px 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}html body .crew-shell .crew-channel-connect-strip::-webkit-scrollbar,html body .crew-shell .crew-notification-filters::-webkit-scrollbar,html body .crew-shell .crew-mobile-stage-tabs::-webkit-scrollbar{display:none}html body .crew-shell .crew-notification-filters{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:0}html body .crew-shell .crew-notification-filters button{flex:1 1 116px;min-width:0;max-width:100%}html body .crew-shell .crew-channel-connect-strip{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-flow:row;grid-auto-columns:auto;grid-auto-rows:auto;gap:10px;width:100%;max-width:100%;min-width:0;overflow:visible;padding:2px 0 12px}html body .crew-shell .crew-channel-option{width:100%;flex:none;min-width:0;max-width:100%}html body .crew-shell .crew-knowledge-source-card{min-width:0;overflow:hidden}html body .crew-shell .crew-knowledge-source-card>div:not(.crew-knowledge-source-actions),html body .crew-shell .crew-knowledge-source-card p{min-width:0;overflow-wrap:anywhere}html body .crew-shell .crew-knowledge-source-actions{justify-content:stretch;flex-wrap:wrap;width:100%;min-width:0}html body .crew-shell .crew-knowledge-source-actions button{flex:1 1 120px;min-width:0;max-width:100%}html body .crew-shell .crew-template-settings-list,html body .crew-shell .crew-label-settings-list{width:100%;max-width:100%;overflow:hidden}html body .crew-shell .crew-template-settings-row,html body .crew-shell .crew-label-settings-list .crew-template-settings-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:6px}html body .crew-shell .crew-template-settings-row.head{display:none}html body .crew-shell .crew-label-settings-list .crew-template-settings-row>span:last-child{display:flex;width:100%;min-width:0;flex-wrap:wrap;gap:8px}html body .crew-shell .crew-label-settings-list .crew-template-settings-row button{flex:1 1 96px;min-height:36px;border:1px solid var(--cc-line-soft);border-radius:12px;background:var(--cc-surface)}html body .crew-shell .crew-template-settings-actions{width:100%;min-width:0}html body .crew-shell .crew-template-settings-actions>button,html body .crew-shell .crew-template-settings-actions>.crew-primary-btn,html body .crew-shell .crew-template-settings-actions>.crew-secondary-btn{flex:1 1 148px;min-width:0}}@media(min-width:901px){html body .crew-shell .crew-sidebar-backdrop{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s cubic-bezier(.22,1,.36,1),visibility 0s linear .3s}}@media(min-width:901px){html body .crew-shell.crew-section-contacts .crew-contact-detail-scrim{z-index:2990}html body .crew-shell.crew-section-contacts .crew-contact-detail-drawer{position:fixed;inset:0 0 0 auto;right:0;left:auto;width:min(416px,calc(100vw - 68px));max-width:min(416px,calc(100vw - 68px));height:100dvh;max-height:100dvh;border-radius:0;overflow-x:hidden;overflow-y:auto;transform:translate3d(100%,0,0);translate:none;transition:transform .28s cubic-bezier(.22,1,.36,1);z-index:3100;pointer-events:none}html body .crew-shell.crew-section-contacts .crew-contact-detail-drawer.open{right:0;left:auto;transform:translateZ(0);translate:none;pointer-events:auto}}@media(max-width:900px){html body .crew-shell.crew-section-system .crew-system-grid{width:100%;max-width:100%;min-width:0;display:grid;grid-template-columns:1fr;overflow:visible}html body .crew-shell.crew-section-system .crew-system-grid>*{width:auto;min-width:0;max-width:100%}}html body .crew-shell{--cc-ease-standard: cubic-bezier(.22, 1, .36, 1);--cc-sidebar-rail-width: 72px;--cc-sidebar-open-width: 244px;--cc-crm-lane-width: 296px;--cc-crm-lane-gap: 18px}@media(max-width:900px){html,body,#root,html body .crew-shell,html body .crew-main{width:100vw;max-width:100vw;min-width:0;overflow-x:hidden;box-sizing:border-box}}@media(min-width:901px){html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-directory-layout{width:100%;max-width:100%;min-width:0;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-table{--contact-table-width: 1800px;width:100%;max-width:100%;min-width:0;height:100%;display:block;overflow-x:auto;overflow-y:auto;padding:0 0 10px;border:1px solid var(--cc-line-soft);border-radius:16px;background:var(--cc-surface)}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-table-head,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row{width:var(--contact-table-width);min-width:var(--contact-table-width);max-width:none;display:grid;grid-template-columns:260px 210px 160px 170px 120px 250px 180px 170px 220px;grid-template-rows:1fr;grid-template-areas:none;align-items:center;gap:14px;box-sizing:border-box;padding:0 24px}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-table-head{position:sticky;top:0;z-index:5;min-height:54px;height:54px;background:var(--cc-surface);border-bottom:1px solid var(--cc-line-soft)}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-table-head span,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>span{display:flex;min-width:0;width:auto;max-width:none;height:auto;min-height:0;align-items:center;justify-content:flex-start;padding:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;visibility:visible;opacity:1}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row{min-height:68px;height:68px;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row.active,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row:hover{background:color-mix(in srgb,var(--cc-success) 8%,var(--cc-surface))}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-cell-name{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-cell-name strong,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-cell-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-channel-icon{display:none}}@media(min-width:901px){html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-toolbar{display:grid;grid-template-columns:minmax(320px,500px) minmax(0,1fr) repeat(3,minmax(220px,330px));gap:0 clamp(14px,1.4vw,28px);align-items:center;width:100%;max-width:100%;min-width:0;padding:0;margin:0 0 16px;border:0;background:transparent;box-shadow:none}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-toolbar label{width:100%;max-width:none;min-width:0;height:44px;min-height:44px;box-sizing:border-box}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-toolbar label:nth-child(1){grid-column:1}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-toolbar label:nth-child(2){grid-column:3}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-toolbar label:nth-child(3){grid-column:4}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-toolbar label:nth-child(4){grid-column:5}}@media(max-width:900px){html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-table{gap:10px}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row{min-height:104px;height:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(128px,152px);grid-template-rows:auto minmax(24px,auto);grid-template-areas:"name label" "phone last";align-items:center;gap:12px 10px;padding:12px 14px;border-radius:18px;overflow:hidden}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-name{grid-area:name;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-cell-name .crew-avatar{width:40px;height:40px;min-width:40px;font-size:15px;border-radius:16px}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-cell-name strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:20px;font-weight:750;color:var(--cc-text)}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-label{grid-area:label;justify-self:end;align-self:center;max-width:152px;display:flex;min-width:0}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-cell-label .crew-label-pill{max-width:152px;min-height:34px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:750}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-phone{grid-area:phone;display:flex;align-items:center;gap:7px;justify-self:start;align-self:end;width:100%;min-width:0;max-width:100%;color:var(--cc-ink);font-size:14px;line-height:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-phone>span:last-child{display:block;flex:1 1 auto;min-width:0;max-width:calc(100% - 25px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-channel-icon{display:inline-grid;place-items:center;width:18px;height:18px;min-width:18px;color:var(--cc-success)}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-channel-icon svg{width:18px;height:18px}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-last{grid-area:last;justify-self:end;align-self:end;max-width:152px;text-align:right;color:var(--cc-muted);font-size:12px;line-height:18px;font-weight:600;white-space:nowrap}html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-owner,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-source,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-country,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-email,html body .crew-shell.crew-section-contacts .crew-section-panel.crew-contacts-page .crew-contact-row>.crew-contact-cell-username{display:none;width:0;height:0;min-width:0;min-height:0;overflow:hidden}}html body .crew-shell.crew-section-channels .crew-channel-connect-strip{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:14px;padding:2px 2px 16px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}html body .crew-shell.crew-section-channels .crew-channel-connect-strip::-webkit-scrollbar{display:none}html body .crew-shell.crew-section-channels .crew-channel-option{min-height:92px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:14px;border:1px solid var(--cc-line-soft);border-radius:18px;background:var(--cc-surface);box-shadow:var(--cc-shadow-panel)}html body .crew-shell.crew-section-channels .crew-channel-option>span{width:42px;height:42px;min-width:42px;display:grid;place-items:center;border-radius:14px;background:var(--cc-aqua-soft);color:var(--cc-primary)}html body .crew-shell.crew-section-channels .crew-channel-table-card{overflow:auto;border:1px solid var(--cc-line);border-radius:16px;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-channels .crew-channel-table-head{border-radius:0;box-shadow:none}html body .crew-shell.crew-section-channels .crew-channel-row{border-width:0 0 1px;border-radius:0;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-channels .crew-channel-agent,html body .crew-shell.crew-section-channels .crew-channel-owner{min-width:0;color:var(--cc-muted);font-size:13px;line-height:1.25;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html body .crew-shell.crew-section-channels .crew-channel-select select{min-height:42px;border:1px solid var(--cc-line);border-radius:12px;background:var(--cc-surface)}html body .crew-shell.crew-section-channels .crew-channel-actions-clean .ghost{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid var(--cc-line);border-radius:12px;background:var(--cc-surface);color:var(--cc-ink);font-size:13px;font-weight:750}html body .crew-shell.crew-section-channels .crew-channel-actions-clean .ghost:hover{border-color:color-mix(in srgb,var(--cc-success) 24%,var(--cc-line));background:var(--cc-aqua-soft);color:var(--cc-primary)}html body .crew-shell.crew-section-channels .crew-channel-modal.config{width:min(560px,calc(100vw - 32px))}html body .crew-shell.crew-section-channels .crew-channel-config-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;margin:0 0 14px;border:1px solid var(--cc-line);border-radius:16px;background:var(--cc-surface)}html body .crew-shell.crew-section-channels .crew-channel-config-grid{display:grid;gap:12px;margin-top:14px}html body .crew-shell.crew-section-channels .crew-channel-config-field{display:grid;gap:7px}html body .crew-shell.crew-section-channels .crew-channel-config-field>span{color:var(--cc-ink);font-size:13px;font-weight:780}html body .crew-shell.crew-section-channels .crew-channel-config-field code,html body .crew-shell.crew-section-channels .crew-channel-config-field select{width:100%;min-height:44px;display:flex;align-items:center;padding:0 13px;border:1px solid var(--cc-line);border-radius:12px;background:var(--cc-surface-subtle);color:var(--cc-ink);font:inherit;font-size:14px}html body .crew-shell.crew-section-channels .crew-channel-config-field code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .crew-shell.crew-section-channels .crew-channel-config-danger{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;margin-top:16px;border:1px solid color-mix(in srgb,var(--cc-danger) 20%,var(--cc-line));border-radius:16px;background:var(--cc-danger-soft)}html body .crew-shell.crew-section-channels .crew-channel-config-danger strong,html body .crew-shell.crew-section-channels .crew-channel-config-danger span{display:block}html body .crew-shell.crew-section-channels .crew-channel-config-danger strong{color:var(--cc-danger);font-size:14px;font-weight:850}html body .crew-shell.crew-section-channels .crew-channel-config-danger span{margin-top:3px;color:var(--cc-danger);font-size:12px;line-height:1.35}@media(min-width:901px){html body .crew-shell.crew-section-channels .crew-section-panel.crew-channels-page{display:grid;grid-template-columns:300px minmax(0,1fr);column-gap:72px;row-gap:0;align-items:start}html body .crew-shell.crew-section-channels .crew-channel-heading{grid-column:1;grid-row:1;min-height:96px;display:block;padding:0;margin:0 0 32px;border:0;background:transparent}html body .crew-shell.crew-section-channels .crew-channel-heading h2{margin:0;color:var(--cc-ink);font-size:clamp(44px,4vw,58px);line-height:.98;font-weight:850;letter-spacing:0}html body .crew-shell.crew-section-channels .crew-channel-heading p{max-width:330px;margin:12px 0 0;color:var(--cc-muted);font-size:17px;line-height:1.22;font-weight:520}html body .crew-shell.crew-section-channels .crew-channel-metrics{grid-column:2;grid-row:1;align-self:start;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:11px 0 32px;width:100%;max-width:720px;justify-self:start}html body .crew-shell.crew-section-channels .crew-channel-metric{min-height:74px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--cc-line);border-radius:16px;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-channels .crew-channel-metric>span{width:44px;height:44px;min-width:44px;display:grid;place-items:center;border-radius:12px;background:var(--cc-aqua-soft);color:var(--cc-primary);overflow:hidden}html body .crew-shell.crew-section-channels .crew-channel-metric>span svg{width:20px;height:20px;min-width:20px;min-height:20px;display:block;border-radius:0;background:transparent}html body .crew-shell.crew-section-channels .crew-channel-metric strong{color:var(--cc-ink);font-size:18px;line-height:1;font-weight:850}html body .crew-shell.crew-section-channels .crew-channel-metric small{margin-top:4px;color:var(--cc-muted);font-size:12px;line-height:1.1;font-weight:700}html body .crew-shell.crew-section-channels .crew-channel-connect-strip,html body .crew-shell.crew-section-channels .crew-connect-result,html body .crew-shell.crew-section-channels .crew-channel-table-card{grid-column:1 / -1}}@media(max-width:900px){html body .crew-shell.crew-section-channels .crew-channel-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(136px,1fr);grid-template-columns:none;gap:8px;width:100%;max-width:100%;margin:0 0 12px;padding:0 2px 4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}html body .crew-shell.crew-section-channels .crew-channel-metrics::-webkit-scrollbar{display:none}html body .crew-shell.crew-section-channels .crew-channel-metric{min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--cc-line);border-radius:16px;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-channels .crew-channel-metric>span{width:38px;height:38px;min-width:38px;border-radius:11px}html body .crew-shell.crew-section-channels .crew-channel-metric>span svg{width:18px;height:18px;min-width:18px;min-height:18px}html body .crew-shell.crew-section-channels .crew-channel-metric strong{color:var(--cc-ink);font-size:17px;line-height:1;font-weight:850}html body .crew-shell.crew-section-channels .crew-channel-metric small{color:var(--cc-muted);font-size:11px;line-height:1;font-weight:700}html body .crew-shell.crew-section-channels .crew-channel-row .crew-channel-agent{grid-area:agent}html body .crew-shell.crew-section-channels .crew-channel-row .crew-channel-owner{grid-area:owner}html body .crew-shell.crew-section-channels .crew-channel-agent,html body .crew-shell.crew-section-channels .crew-channel-owner{min-height:38px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--cc-line-soft);border-radius:12px;background:var(--cc-surface-soft)}html body .crew-shell.crew-section-channels .crew-channel-config-summary,html body .crew-shell.crew-section-channels .crew-channel-config-danger{grid-template-columns:1fr;align-items:stretch}html body .crew-shell.crew-section-channels .crew-channel-config-danger .crew-danger-btn{width:100%}}html body .crew-shell.crew-section-channels .crew-main .crew-section-panel.crew-channels-page .crew-channel-metric>span{display:grid;place-items:center;overflow:hidden}html body .crew-shell.crew-section-channels .crew-main .crew-section-panel.crew-channels-page .crew-channel-metric>span>svg{display:block;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}html body .crew-channel-brand-icon{width:18px;height:18px;min-width:18px;min-height:18px;display:block;object-fit:contain;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}html body .crew-contact-cell-source .crew-channel-brand-icon{width:16px;height:16px;min-width:16px;min-height:16px}html body .crew-shell.crew-section-channels .crew-channel-status{width:fit-content;max-width:100%;display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;border:1px solid transparent;border-radius:999px;font-size:13px;line-height:1;font-weight:780;white-space:nowrap}html body .crew-shell.crew-section-channels .crew-channel-status.connected{color:var(--cc-success);border-color:color-mix(in srgb,var(--cc-success) 28%,var(--cc-line));background:var(--cc-success-soft)}html body .crew-shell.crew-section-channels .crew-channel-status.future{color:var(--cc-text-muted);border-color:var(--cc-line);background:var(--cc-surface-muted)}html body .crew-shell.crew-section-channels .crew-channel-status.disabled{color:var(--cc-danger);border-color:color-mix(in srgb,var(--cc-danger) 28%,var(--cc-line));background:var(--cc-danger-soft)}html body .crew-shell.crew-section-channels .crew-channel-status.pending{color:var(--cc-warning);border-color:color-mix(in srgb,var(--cc-warning) 28%,var(--cc-line));background:var(--cc-warning-soft)}html body .crew-shell.crew-section-agents .crew-agent-overview{width:100%;display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:0 0 18px}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-agent-metric{min-height:72px;padding:14px 16px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;border:1px solid var(--cc-line);border-radius:12px;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-icon{width:40px;height:40px;min-width:40px;min-height:40px;display:grid;place-items:center;padding:0;border:1px solid color-mix(in srgb,var(--cc-success) 18%,var(--cc-line));border-radius:12px;background:var(--cc-primary-soft);color:var(--cc-primary-2);overflow:hidden}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-icon>svg{width:18px;height:18px;min-width:18px;min-height:18px;display:block;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-agent-metric>div{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-value{color:var(--cc-ink);font-size:18px;line-height:1;font-weight:850}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-label{color:var(--cc-muted);font-size:12px;line-height:1.1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:900px){html body .crew-shell.crew-section-agents .crew-agent-overview{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(136px,1fr);grid-template-columns:none;gap:8px;width:100%;max-width:100%;margin:0 0 12px;padding:0 2px 4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}html body .crew-shell.crew-section-agents .crew-agent-overview::-webkit-scrollbar{display:none}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-agent-metric{min-height:58px;padding:9px 10px;grid-template-columns:38px minmax(0,1fr);gap:9px;border-radius:16px}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-icon{width:38px;height:38px;min-width:38px;min-height:38px;border-radius:11px}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-value{font-size:17px}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-stat-label{font-size:11px}html body .crew-shell.crew-section-channels .crew-channel-modal.config .crew-modal-close{position:absolute;top:18px;right:18px;left:auto}html body .crew-shell.crew-section-channels .crew-channel-modal.config .crew-channel-modal-icon{margin-top:8px}}@keyframes crew-channel-sheet-in{0%{transform:translate3d(0,100%,0)}to{transform:translateZ(0)}}html body .crew-shell.crew-section-agents .crew-agent-modal{position:fixed;inset:0 0 0 auto;width:min(640px,calc(100vw - 96px));max-width:min(640px,calc(100vw - 96px));min-width:min(560px,calc(100vw - 96px));height:100dvh;max-height:100dvh;margin:0;padding:28px 30px;overflow-y:auto;border:0;border-radius:0;background:var(--cc-surface)}html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-form-grid{display:grid;grid-template-columns:1fr;gap:16px}html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-form-grid input,html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-form-grid select,html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-form-grid textarea{min-height:48px;border-radius:15px}html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-form-grid textarea{min-height:96px}html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-knowledge-list{grid-template-columns:1fr}html body .crew-shell.crew-section-agents .crew-agent-modal .crew-agent-runtime-box{margin-top:16px;padding:14px 16px;border:0;border-radius:16px;background:var(--cc-surface-soft)}@media(max-width:900px){html body .crew-shell.crew-section-agents .crew-agent-modal{inset:auto 0 0 0;width:100%;max-width:100%;min-width:0;height:auto;max-height:min(86dvh,760px);padding:24px 24px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:28px 28px 0 0;animation:crew-agent-sheet-in .26s cubic-bezier(.22,1,.36,1) both}}@keyframes crew-agent-sheet-in{0%{transform:translate3d(0,100%,0)}to{transform:translateZ(0)}}html body .crew-shell.crew-section-knowledge .crew-section-panel>.crew-page-heading.crew-knowledge-heading{border-bottom:0;box-shadow:none}html body .crew-shell.crew-section-commerce .crew-commerce-v2{display:block;max-width:none}html body .crew-shell.crew-section-commerce .crew-commerce-tabs{width:fit-content;max-width:100%;display:inline-flex;align-items:center;gap:4px;padding:4px;margin:0 0 18px;border:1px solid var(--cc-line);border-radius:18px;background:var(--cc-surface-soft);overflow-x:auto;scrollbar-width:none}html body .crew-shell.crew-section-commerce .crew-commerce-tabs::-webkit-scrollbar{display:none}html body .crew-shell.crew-section-commerce .crew-commerce-tabs button{min-height:42px;padding:0 18px;border:0;border-radius:14px;background:transparent;color:var(--cc-text);font-size:14px;font-weight:780;white-space:nowrap}html body .crew-shell.crew-section-commerce .crew-commerce-tabs button.active{background:var(--cc-primary-2);color:var(--cc-text-inverse);box-shadow:none}html body .crew-shell.crew-section-commerce .crew-commerce-kpis{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:0 0 20px}html body .crew-shell.crew-section-commerce .crew-commerce-kpis article{min-height:72px;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:12px 14px;border:1px solid var(--cc-line);border-radius:14px;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-commerce .crew-commerce-kpis article>svg{grid-row:1 / 3;width:42px;height:42px;padding:10px;border:1px solid color-mix(in srgb,var(--cc-success) 18%,var(--cc-line));border-radius:12px;background:var(--cc-aqua-soft);color:var(--cc-primary-2)}html body .crew-shell.crew-section-commerce .crew-commerce-kpis strong{grid-column:2;grid-row:1;color:var(--cc-ink);font-size:20px;line-height:1;font-weight:850}html body .crew-shell.crew-section-commerce .crew-commerce-kpis span{grid-column:2;grid-row:2;color:var(--cc-muted);font-size:12px;line-height:1.2;font-weight:700}html body .crew-shell.crew-section-commerce .crew-commerce-toolbar-clean{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}html body .crew-shell.crew-section-commerce .crew-commerce-toolbar-clean label{min-width:min(360px,100%);max-width:420px;min-height:44px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;padding:0 14px;border:1px solid var(--cc-line);border-radius:14px;background:var(--cc-surface)}html body .crew-shell.crew-section-commerce .crew-commerce-toolbar-clean select{width:100%;min-width:0;border:0;background:transparent;color:var(--cc-text);font:inherit;outline:0}html body .crew-shell.crew-section-commerce .crew-product-grid,html body .crew-shell.crew-section-commerce .crew-commerce-template-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:14px}html body .crew-shell.crew-section-commerce .crew-product-card,html body .crew-shell.crew-section-commerce .crew-commerce-template-card,html body .crew-shell.crew-section-commerce .crew-empty-commerce-card,html body .crew-shell.crew-section-commerce .crew-commerce-quick-form,html body .crew-shell.crew-section-commerce .crew-commerce-table-card{border:1px solid var(--cc-line);border-radius:16px;background:var(--cc-surface);box-shadow:none}html body .crew-shell.crew-section-commerce .crew-product-card{min-height:210px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:16px}html body .crew-shell.crew-section-commerce .crew-product-image,html body .crew-shell.crew-section-commerce .crew-commerce-template-card header>span,html body .crew-shell.crew-section-commerce .crew-commerce-quick-form header>span{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:var(--cc-aqua-soft);color:var(--cc-primary-2)}html body .crew-shell.crew-section-commerce .crew-product-copy{display:grid;gap:7px;min-width:0}html body .crew-shell.crew-section-commerce .crew-product-copy strong,html body .crew-shell.crew-section-commerce .crew-commerce-template-card>strong{color:var(--cc-ink);font-size:17px;line-height:1.15;font-weight:850}html body .crew-shell.crew-section-commerce .crew-product-copy small,html body .crew-shell.crew-section-commerce .crew-product-copy span,html body .crew-shell.crew-section-commerce .crew-commerce-template-card p,html body .crew-shell.crew-section-commerce .crew-commerce-template-card small,html body .crew-shell.crew-section-commerce .crew-commerce-quick-form small{color:var(--cc-muted);font-size:13px;line-height:1.35;font-weight:600}html body .crew-shell.crew-section-commerce .crew-product-card footer,html body .crew-shell.crew-section-commerce .crew-commerce-template-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid var(--cc-line-soft)}html body .crew-shell.crew-section-commerce .crew-product-card footer b{color:var(--cc-primary-2);font-size:17px}html body .crew-shell.crew-section-commerce .crew-product-card footer span,html body .crew-shell.crew-section-commerce .crew-commerce-status,html body .crew-shell.crew-section-commerce .crew-commerce-template-card header b{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:var(--cc-success-soft);color:var(--cc-primary-2);font-size:12px;line-height:1;font-weight:800;white-space:nowrap}html body .crew-shell.crew-section-commerce .crew-commerce-status.received,html body .crew-shell.crew-section-commerce .crew-commerce-template-card.pending header b{background:var(--cc-warning-soft);color:var(--cc-warning)}html body .crew-shell.crew-section-commerce .crew-commerce-status.cancelled,html body .crew-shell.crew-section-commerce .crew-commerce-template-card.rejected header b{background:var(--cc-danger-soft);color:var(--cc-danger)}html body .crew-shell.crew-section-commerce .crew-commerce-table-card{overflow-x:auto;scrollbar-width:thin}html body .crew-shell.crew-section-commerce .crew-commerce-table-head,html body .crew-shell.crew-section-commerce .crew-commerce-table-row{min-width:1040px;display:grid;align-items:center;gap:14px;padding:14px 16px}html body .crew-shell.crew-section-commerce .crew-commerce-orders-table .crew-commerce-table-head,html body .crew-shell.crew-section-commerce .crew-commerce-orders-table .crew-commerce-table-row{grid-template-columns:190px minmax(260px,1fr) 130px 120px 170px 130px}html body .crew-shell.crew-section-commerce .crew-commerce-replies-table .crew-commerce-table-head,html body .crew-shell.crew-section-commerce .crew-commerce-replies-table .crew-commerce-table-row{min-width:820px;grid-template-columns:150px minmax(300px,1fr) 130px 180px}html body .crew-shell.crew-section-commerce .crew-commerce-table-head{border-bottom:1px solid var(--cc-line);color:var(--cc-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}html body .crew-shell.crew-section-commerce .crew-commerce-table-row{border-bottom:1px solid var(--cc-line-soft);color:var(--cc-text);font-size:13px}html body .crew-shell.crew-section-commerce .crew-commerce-table-row:last-child{border-bottom:0}html body .crew-shell.crew-section-commerce .crew-commerce-table-row span{min-width:0;overflow:hidden;text-overflow:ellipsis}html body .crew-shell.crew-section-commerce .crew-commerce-table-row strong{display:block;color:var(--cc-ink);font-weight:850}html body .crew-shell.crew-section-commerce .crew-commerce-table-row small{display:block;margin-top:4px;color:var(--cc-muted)}html body .crew-shell.crew-section-commerce .crew-commerce-table-row button,html body .crew-shell.crew-section-commerce .crew-commerce-template-card button{min-height:34px;padding:0 12px;border:1px solid var(--cc-line);border-radius:999px;background:var(--cc-surface);color:var(--cc-primary-2);font-weight:800}html body .crew-shell.crew-section-commerce .crew-commerce-row-actions{display:flex;align-items:center;gap:8px}html body .crew-shell.crew-section-commerce .crew-commerce-row-actions button:last-child{color:var(--cc-danger)}html body .crew-shell.crew-section-commerce .crew-commerce-template-card{min-height:210px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;padding:16px}html body .crew-shell.crew-section-commerce .crew-commerce-template-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}html body .crew-shell.crew-section-commerce .crew-commerce-template-card p{margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}html body .crew-shell.crew-section-commerce .crew-commerce-quick-layout{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:16px;align-items:start}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form{display:grid;gap:14px;padding:16px}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form header{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form header strong{color:var(--cc-ink);font-size:17px;font-weight:850}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form label{display:grid;gap:7px;color:var(--cc-ink);font-size:13px;font-weight:800}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form input,html body .crew-shell.crew-section-commerce .crew-commerce-quick-form textarea{width:100%;min-height:46px;padding:0 14px;border:1px solid var(--cc-line);border-radius:14px;background:var(--cc-surface);color:var(--cc-text);font:inherit;outline:0}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form textarea{min-height:112px;padding-top:12px;resize:vertical}html body .crew-shell.crew-section-commerce .crew-commerce-quick-form footer{display:flex;justify-content:flex-end;gap:10px}@media(max-width:900px){html body .crew-shell.crew-section-commerce .crew-commerce-tabs{width:100%;display:flex}html body .crew-shell.crew-section-commerce .crew-commerce-tabs button{flex:0 0 auto;min-height:40px;padding:0 14px}html body .crew-shell.crew-section-commerce .crew-commerce-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html body .crew-shell.crew-section-commerce .crew-commerce-kpis article{min-height:60px;grid-template-columns:38px minmax(0,1fr);padding:10px}html body .crew-shell.crew-section-commerce .crew-commerce-kpis article>svg{width:38px;height:38px;padding:9px}html body .crew-shell.crew-section-commerce .crew-commerce-toolbar-clean{align-items:stretch;flex-direction:column}html body .crew-shell.crew-section-commerce .crew-commerce-toolbar-clean label,html body .crew-shell.crew-section-commerce .crew-commerce-toolbar-clean .crew-primary-btn{width:100%;max-width:none}html body .crew-shell.crew-section-commerce .crew-product-grid,html body .crew-shell.crew-section-commerce .crew-commerce-template-grid,html body .crew-shell.crew-section-commerce .crew-commerce-quick-layout{grid-template-columns:1fr}html body .crew-shell.crew-section-commerce .crew-commerce-table-head{display:none}html body .crew-shell.crew-section-commerce .crew-commerce-table-row,html body .crew-shell.crew-section-commerce .crew-commerce-orders-table .crew-commerce-table-row,html body .crew-shell.crew-section-commerce .crew-commerce-replies-table .crew-commerce-table-row{min-width:0;grid-template-columns:1fr;gap:8px;padding:14px}html body .crew-shell.crew-section-commerce .crew-commerce-row-actions{justify-content:flex-start}}html body .crew-shell .crew-agent-modal textarea,html body .crew-shell .crew-commerce-quick-form textarea,html body .crew-shell .crew-knowledge-drawer textarea,html body .crew-shell .crew-config-form textarea,html body .crew-shell .crew-mini-form textarea,html body .crew-shell .crew-contact-detail-drawer textarea{border-radius:var(--cc-radius-field)}html body .crew-shell .crew-stat-card,html body .crew-shell .crew-channel-metric,html body .crew-shell .crew-agent-metric,html body .crew-shell .crew-commerce-kpis article,html body .crew-shell .crew-info-card,html body .crew-shell .crew-product-card,html body .crew-shell .crew-commerce-template-card,html body .crew-shell .crew-empty-commerce-card,html body .crew-shell .crew-commerce-table-card,html body .crew-shell .crew-knowledge-source-card,html body .crew-shell .crew-channel-table-card,html body .crew-shell .crew-contact-table-card,html body .crew-shell .crew-settings-card,html body .crew-shell .crew-system-card,html body .crew-shell .crew-notification-detail,html body .crew-shell .crew-notification-row,html body .crew-shell .crew-agent-card,html body .crew-shell .crew-agent-runtime-box,html body .crew-shell .crew-agent-knowledge-list,html body .crew-shell .crew-template-preview,html body .crew-shell .crew-catalog-card{border-radius:var(--cc-radius-card)}html body .crew-shell .crew-contact-card,html body .crew-shell .crew-side-section{border-radius:var(--cc-radius-panel)}html body .crew-shell{background:var(--cc-bg);color:var(--cc-text)}html body .crew-shell :is(p,small,em,.crew-muted,.crew-stat-label){color:var(--cc-muted)}html body .crew-shell :is(input,select,textarea)::placeholder{color:var(--cc-muted-2)}html body .crew-shell .crew-primary-btn,html body .crew-shell button.crew-primary-btn,html body .crew-shell .crew-api-login button,html body .crew-shell .crew-mobile-new-chat-top,html body .crew-shell .crew-list-new-chat{border-color:var(--cc-primary-strong);background:var(--cc-primary-strong);color:var(--cc-surface);box-shadow:none}html body .crew-shell .crew-secondary-btn,html body .crew-shell button.crew-secondary-btn,html body .crew-shell .crew-page-action,html body .crew-shell .crew-page-icon-action,html body .crew-shell .crew-icon-button{border-color:var(--cc-line);background:var(--cc-surface);color:var(--cc-ink);box-shadow:none}html body .crew-shell :is(.crew-primary-btn,button.crew-primary-btn,.crew-api-login button),html body .crew-shell .crew-agent-modal .crew-primary-btn,html body .crew-shell .crew-commerce-quick-form .crew-primary-btn,html body .crew-shell .crew-knowledge-drawer .crew-primary-btn{border-color:var(--cc-black);background:var(--cc-black);color:var(--cc-text-inverse);box-shadow:none}html body .crew-shell :is(.crew-secondary-btn,button.crew-secondary-btn),html body .crew-shell :is(.crew-page-action,.crew-page-icon-action,.crew-icon-button),html body .crew-shell .crew-agent-modal footer button:not(.crew-primary-btn){border:1px solid var(--cc-line);background:transparent;color:var(--cc-ink);box-shadow:none}html body .crew-shell :is(.crew-link-btn,.crew-text-btn){border:0;background:transparent;color:var(--cc-ink);box-shadow:none}html body .crew-shell .crew-template-list button{background:var(--cc-surface);border-color:var(--cc-line-soft);color:var(--cc-ink)}html body .crew-shell .crew-template-list button:hover,html body .crew-shell .crew-template-list button.active{background:var(--cc-primary-soft);color:var(--cc-ink)}html body .crew-shell .crew-agent-form-flags,html body .crew-shell .crew-agent-toggle-row,html body .crew-shell .crew-danger-zone{background:var(--cc-surface-soft);border-color:var(--cc-line)}html body .crew-label-pill:before,html body .crew-label-editor button:before,html body .crew-label-pill-list button:before,html body .crew-mobile-stage-tabs button:before{display:none;content:none}html body .crew-label-pill.active,html body .crew-label-editor button.active,html body .crew-label-pill-list button.active{border-color:color-mix(in srgb,var(--label-color) 52%,var(--cc-text) 12%);background:color-mix(in srgb,var(--label-color) 18%,var(--cc-surface) 82%);color:color-mix(in srgb,var(--label-color) 72%,var(--cc-text) 28%)}html body .crew-label-pill.inactive,html body .crew-label-editor button:not(.active),html body .crew-label-pill-list button:not(.active){border-color:var(--cc-line);background:var(--cc-surface-soft);color:var(--cc-muted)}html body .crew-shell.crew-section-contacts .crew-contact-row:nth-child(2n),html body .crew-shell.crew-section-contacts .crew-contact-row:nth-child(odd){background:var(--cc-surface)}html body .crew-shell.crew-section-contacts .crew-contact-row:hover{background:var(--cc-primary-soft)}html body .crew-shell.crew-section-commerce :is(.crew-product-card footer span,.crew-commerce-template-card header b),html body .crew-shell :is(.crew-status-pill,.crew-channel-status,.crew-agent-status){background:var(--cc-surface-muted);border-color:var(--cc-line);color:var(--cc-ink)}html body .crew-shell :is(.crew-status-pill.active,.crew-channel-status.active,.crew-agent-status.active,.crew-commerce-status.active){background:var(--cc-success-soft);border-color:color-mix(in srgb,var(--cc-success) 24%,var(--cc-line) 76%);color:var(--cc-success)}html body .crew-shell :is(.crew-status-pill.warning,.crew-channel-status.pending,.crew-agent-status.paused,.crew-commerce-status.received){background:var(--cc-warning-soft);border-color:color-mix(in srgb,var(--cc-warning) 24%,var(--cc-line) 76%);color:var(--cc-warning)}html body .crew-shell :is(.crew-status-pill.danger,.crew-channel-status.disabled,.crew-agent-status.disabled,.crew-commerce-status.cancelled){background:var(--cc-danger-soft);border-color:color-mix(in srgb,var(--cc-danger) 22%,var(--cc-line) 78%);color:var(--cc-danger)}html body .crew-shell .crew-ai-badge,html body .crew-shell .crew-bot-badge{background:var(--cc-purple-soft);color:var(--cc-purple);border-color:color-mix(in srgb,var(--cc-purple) 26%,var(--cc-line) 74%)}html body .crew-shell .crew-commerce-kpis article>svg{width:42px;height:42px;padding:11px;border-radius:12px}html body .crew-shell.crew-section-agents .crew-agent-overview .crew-agent-metric{background:var(--cc-surface);border:1px solid var(--cc-line);border-radius:14px}html body .crew-shell :is(.crew-avatar,.crew-agent-avatar){background:var(--cc-surface-muted);border-color:var(--cc-line);color:var(--cc-text)}html body .crew-shell.crew-section-contacts :is(.crew-contact-row,.crew-contact-card-mobile,.crew-contact-cell-name .crew-avatar){background:var(--cc-surface)}html body .crew-shell.crew-section-contacts .crew-contact-cell-name .crew-avatar,html body .crew-shell.crew-section-contacts .crew-contact-card-mobile .crew-avatar{background:var(--cc-surface-muted);border:1px solid var(--cc-line);color:var(--cc-text)}html body .crew-shell :is(.crew-channel-config-danger,.crew-danger-zone){background:var(--cc-danger-soft)}html body .crew-shell.crew-section-commerce :is(.crew-product-card,.crew-commerce-template-card,.crew-commerce-quick-reply-card),html body .crew-shell.crew-section-agents .crew-agent-card,html body .crew-shell.crew-section-channels .crew-channel-row-card{background:var(--cc-surface)}html body .crew-shell.crew-section-commerce :is(.crew-product-card footer span,.crew-commerce-template-card header b,.crew-commerce-status.active),html body .crew-shell.crew-section-agents :is(.crew-agent-card .crew-agent-inbox-list span,.crew-agent-runtime-stat),html body .crew-shell.crew-section-channels :is(.crew-channel-status.active){background:var(--cc-surface-muted);border-color:var(--cc-line);color:var(--cc-ink)}html body .crew-shell.crew-section-channels .crew-channel-status.pending,html body .crew-shell.crew-section-commerce :is(.crew-commerce-status.received,.crew-commerce-template-card.pending header b){background:var(--cc-warning-soft);border-color:color-mix(in srgb,var(--cc-warning) 22%,var(--cc-line) 78%);color:var(--cc-warning)}html body .crew-shell :is(.crew-contact-panel .crew-exclusion-box,.crew-contact-panel .crew-switch-row,.crew-agent-runtime-box,.crew-agent-switch-row,.crew-agent-form-flags,.crew-agent-toggle-row){background:var(--cc-surface-soft);border-color:var(--cc-line)}html body .crew-shell .crew-status-pill i,html body .crew-shell .crew-label-dot{display:none}html body .crew-shell :is(.crew-mini-form label,.crew-agent-modal label,.crew-contact-panel label,.crew-channel-config-sheet label,.crew-commerce-drawer label,.crew-knowledge-drawer label,.crew-settings-card label){font-weight:600}html body :is(.crew-shell,.app-shell,.legal-page,.connect-page,.connect-admin-page,.dashboard-shell) :is(input:not([type=checkbox]):not([type=radio]),textarea:not(.crew-composer-input),select,.crew-rule-json textarea){border-radius:10px}html body :is(.crew-shell,.app-shell,.legal-page,.connect-page,.connect-admin-page,.dashboard-shell) :is(.crew-color-swatch,.crew-checkbox-mark,.crew-radio-mark,.crew-tiny-icon,.crew-mini-icon,.crew-social-icon,.crew-channel-icon,.crew-source-logo){border-radius:8px}.crew-pwa-install-notice{position:fixed;right:18px;bottom:18px;z-index:90;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;width:min(520px,calc(100vw - 36px));align-items:center;gap:12px;padding:12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-card);background:var(--cc-surface);box-shadow:var(--cc-shadow-lg);color:var(--cc-text)}.crew-pwa-install-notice>div{display:grid;min-width:0;gap:2px}.crew-pwa-install-notice span,.crew-pwa-install-notice small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.crew-pwa-install-action,.crew-pwa-install-dismiss{border:0;cursor:pointer}.crew-pwa-install-action{display:inline-flex;min-height:36px;align-items:center;gap:6px;padding:0 12px;border-radius:var(--cc-radius-control);background:var(--cc-black);color:var(--cc-text-inverse);font-weight:750}.crew-pwa-install-dismiss{display:grid;width:34px;height:34px;place-items:center;border-radius:var(--cc-radius-control);background:transparent;color:var(--cc-text-muted)}.crew-pwa-install-dismiss:hover{background:var(--cc-surface-hover);color:var(--cc-text)}@media(max-width:780px){.crew-pwa-install-notice{right:10px;bottom:calc(var(--cc-mobile-nav-height, 64px) + env(safe-area-inset-bottom) + 10px);grid-template-columns:auto minmax(0,1fr) auto;width:calc(100vw - 20px)}.crew-pwa-install-action{grid-column:2;justify-self:start}.crew-pwa-install-dismiss{grid-column:3;grid-row:1}}}:root{color-scheme:light;--cc-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--cc-font-size-xs: 11px;--cc-font-size-sm: 12px;--cc-font-size-md: 14px;--cc-font-size-lg: 18px;--cc-font-size-xl: 24px;--cc-line-height-tight: 1.2;--cc-line-height-body: 1.45;--cc-bg: #f6f6f4;--cc-surface: #ffffff;--cc-surface-muted: #f4f4f2;--cc-surface-hover: #ecece8;--cc-surface-pressed: #e2e2dd;--cc-surface-soft: #f0f0ee;--cc-surface-subtle: #fafaf8;--cc-text: #101010;--cc-text-muted: #62625d;--cc-text-subtle: #81817a;--cc-text-inverse: #ffffff;--cc-line: #deded8;--cc-line-soft: #ecece8;--cc-line-strong: #c8c8c0;--cc-black: #101010;--cc-ink: #101010;--cc-primary: #101010;--cc-primary-strong: #000000;--cc-primary-2: #101010;--cc-primary-soft: #eeeeea;--cc-purple: #7c3aed;--cc-purple-soft: #eee8ff;--cc-ai: #7c3aed;--cc-ai-soft: #eee8ff;--cc-human: #101010;--cc-human-soft: #eeeeea;--cc-muted: var(--cc-text-muted);--cc-muted-2: var(--cc-text-subtle);--cc-whatsapp: #18b765;--cc-danger: #b42318;--cc-danger-soft: #fef3f2;--cc-warning: #8a5a00;--cc-warning-soft: #fff8db;--cc-success: #067647;--cc-success-soft: #ecfdf3;--cc-focus: #7c3aed;--cc-info: #2563eb;--cc-info-soft: #dbeafe;--cc-info-strong: #1d4ed8;--cc-info-on-dark: #bfdbfe;--cc-control-hover: #292929;--cc-control-pressed: #000000;--cc-neutral-inverse: #ffffff;--cc-neutral-ink: #101010;--cc-presence-available: #16a34a;--cc-presence-away: #7c3aed;--cc-presence-inactive: #dc2626;--cc-hot-soft: #edd4d4;--cc-hot-text: #7c2f2f;--cc-followup-soft: #ecdfbc;--cc-followup-text: #6f5209;--cc-ai-chip-soft: #e3d5ff;--cc-ai-chip-text: #512bc0;--cc-warning-text: #7a4b12;--cc-card-translucent: rgba(255, 255, 255, .88);--cc-divider-translucent: rgba(0, 0, 0, .08);--cc-hover-translucent: rgba(16, 16, 16, .035);--cc-backdrop: rgba(17, 19, 18, .34);--cc-map-surface: #dfe3df;--cc-avatar-start: #111111;--cc-avatar-mid: #173c35;--cc-avatar-end: #2d7f67;--cc-overlay-deep: rgba(16, 16, 16, .88);--cc-shadow-color: rgba(16, 16, 16, .12);--cc-scrim: rgba(16, 16, 16, .42);--cc-space-1: 4px;--cc-space-2: 8px;--cc-space-3: 12px;--cc-space-4: 16px;--cc-space-5: 20px;--cc-space-6: 24px;--cc-space-8: 32px;--cc-radius-xs: 4px;--cc-radius-sm: 8px;--cc-radius-card: 8px;--cc-radius-field: 10px;--cc-radius-control: 10px;--cc-radius-panel: 15px;--cc-radius-sheet: 15px;--cc-radius-pill: 100px;--cc-radius-1: 8px;--cc-radius-2: 10px;--cc-radius-3: 15px;--cc-pill: 12px;--cc-pill-radius: 12px;--crew-radius-full: 12px;--crew-radius-sheet: 15px;--cc-radius-xl: 15px;--crew-radius-lg: 15px;--stitch-radius-xl: 15px;--cc-scroll-pad: 10px;--cc-shadow-menu: 0 14px 32px rgba(16, 16, 16, .12);--cc-shadow-panel: 0 10px 30px rgba(16, 16, 16, .1);--cc-control-height: 40px;--cc-touch-target: 48px;--cc-sidebar-width: 72px;--cc-sidebar-open-width: 244px;--cc-mobile-bar-height: 60px;--cc-mobile-nav-height: 68px;--cc-motion: .16s cubic-bezier(.2, 0, 0, 1);--cc-motion-slow: .24s cubic-bezier(.2, 0, 0, 1);--cc-z-nav: 60;--cc-z-scrim: 80;--cc-z-panel: 81;--cc-z-popover: 90}:root[data-theme=dark]{color-scheme:dark;--cc-bg: #101211;--cc-surface: #181a19;--cc-surface-muted: #242725;--cc-surface-hover: #2c302d;--cc-surface-pressed: #353936;--cc-surface-soft: #202321;--cc-surface-subtle: #151716;--cc-text: #f3f4f2;--cc-text-muted: #b8bbb6;--cc-text-subtle: #969b95;--cc-text-inverse: #111312;--cc-line: #3a3e3b;--cc-line-soft: #2c302d;--cc-line-strong: #505551;--cc-black: #f3f4f2;--cc-ink: #f3f4f2;--cc-primary: #f3f4f2;--cc-primary-strong: #ffffff;--cc-primary-2: #f3f4f2;--cc-primary-soft: #2c302d;--cc-purple: #b49afa;--cc-purple-soft: #31264a;--cc-ai: #b49afa;--cc-ai-soft: #31264a;--cc-human: #f3f4f2;--cc-human-soft: #2c302d;--cc-muted: var(--cc-text-muted);--cc-muted-2: var(--cc-text-subtle);--cc-whatsapp: #55d98f;--cc-danger: #ffaaa1;--cc-danger-soft: #421f1d;--cc-warning: #f0c66f;--cc-warning-soft: #3d321b;--cc-success: #72d7a6;--cc-success-soft: #19392b;--cc-focus: #c4b5fd;--cc-info: #8bb8ff;--cc-info-soft: #1d304d;--cc-info-strong: #a9c9ff;--cc-info-on-dark: #bcd5ff;--cc-control-hover: #d9dbd8;--cc-control-pressed: #ffffff;--cc-neutral-inverse: #ffffff;--cc-neutral-ink: #101010;--cc-presence-available: #4ade80;--cc-presence-away: #b49afa;--cc-presence-inactive: #fb7185;--cc-hot-soft: #48282b;--cc-hot-text: #ffb4ba;--cc-followup-soft: #43391f;--cc-followup-text: #f6cf78;--cc-ai-chip-soft: #35274f;--cc-ai-chip-text: #c9b8ff;--cc-warning-text: #f0c66f;--cc-card-translucent: rgba(24, 26, 25, .92);--cc-divider-translucent: rgba(255, 255, 255, .1);--cc-hover-translucent: rgba(255, 255, 255, .055);--cc-backdrop: rgba(0, 0, 0, .62);--cc-map-surface: #252a27;--cc-avatar-start: #eceeeb;--cc-avatar-mid: #9eb8b0;--cc-avatar-end: #4b8d79;--cc-scrim: rgba(0, 0, 0, .68);--cc-overlay-deep: rgba(0, 0, 0, .92);--cc-shadow-color: rgba(0, 0, 0, .46);--cc-shadow-menu: 0 14px 32px var(--cc-shadow-color);--cc-shadow-panel: 0 10px 30px var(--cc-shadow-color)}*,*:before,*:after{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}html{background:var(--cc-bg)}body{overflow:hidden;background:var(--cc-bg);color:var(--cc-text);font-family:var(--cc-font);font-size:var(--cc-font-size-md);line-height:var(--cc-line-height-body);letter-spacing:0;text-rendering:optimizeLegibility}button,input,select,textarea{font:inherit;letter-spacing:0}button{color:inherit;-webkit-tap-highlight-color:transparent}button,[role=button],a,input,select,textarea{touch-action:manipulation}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.52}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--cc-focus);outline-offset:2px}input,select,textarea{min-height:42px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text)}::selection{background:var(--cc-purple-soft);color:var(--cc-text)}.crew-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.crew-shell{min-width:0;min-height:100dvh;background:var(--cc-bg);color:var(--cc-text)}.crew-main{display:block;min-width:0;height:100dvh;margin-left:var(--cc-sidebar-width);padding:0;overflow:hidden;border-radius:0;background:var(--cc-surface)}.crew-sidebar{position:fixed;inset:0 auto 0 0;z-index:80;display:flex;width:var(--cc-sidebar-width);flex-direction:column;overflow:visible;border-right:1px solid var(--cc-line);background:var(--cc-surface);transition:width var(--cc-motion)}.crew-sidebar:hover,.crew-shell.sidebar-pinned .crew-sidebar{width:var(--cc-sidebar-open-width)}.crew-brand{display:flex;min-height:72px;align-items:center;gap:12px;padding:12px 16px;white-space:nowrap}.crew-brand-mark{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;margin:0;padding:7px;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-brand-mark:hover{background:var(--cc-surface-hover)}.crew-brand-icon{display:block;width:26px;height:26px;object-fit:contain;filter:none}:root[data-theme=dark] :is(.crew-brand-icon,.crew-mobile-appbar-mark,.crew-login-mark){filter:brightness(0) invert(1)}.crew-brand-text{display:grid;min-width:0;gap:1px;opacity:0;pointer-events:none;transition:opacity .1s ease}.crew-sidebar:hover .crew-brand-text,.sidebar-pinned .crew-brand-text{opacity:1}.crew-brand-logo{color:var(--cc-text);font-size:20px;font-weight:750}.crew-brand-text small{color:var(--cc-text-muted);font-size:11px}.crew-sidebar-navigation{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;padding:2px 0 10px;overscroll-behavior:contain;scrollbar-width:none}.crew-sidebar-navigation::-webkit-scrollbar{display:none}.crew-nav{display:grid;width:100%;min-width:0;gap:3px;padding:0}.crew-nav>button,.crew-sidebar-account>button{display:grid;width:calc(100% - 16px);min-height:48px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;margin:0 8px;padding:5px 8px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text);box-shadow:none;cursor:pointer;text-align:left;white-space:nowrap}.crew-nav>button:hover,.crew-sidebar-account>button:hover{background:var(--cc-surface-hover)}.crew-nav>button.active,.crew-sidebar-account>button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-sidebar:hover .crew-nav>button.active,.crew-shell.sidebar-pinned .crew-nav>button.active,.crew-sidebar:hover .crew-sidebar-account>button.active,.crew-shell.sidebar-pinned .crew-sidebar-account>button.active{background:var(--cc-surface-muted);color:var(--cc-text)}.crew-nav-icon{display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:inherit;box-shadow:none}.crew-sidebar:hover .crew-nav>button.active .crew-nav-icon,.crew-shell.sidebar-pinned .crew-nav>button.active .crew-nav-icon,.crew-sidebar:hover .crew-sidebar-account>button.active .crew-nav-icon,.crew-shell.sidebar-pinned .crew-sidebar-account>button.active .crew-nav-icon{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-nav-label{min-width:0;overflow:hidden;opacity:0;font-weight:650;text-align:left;text-overflow:ellipsis;transition:opacity .1s ease}.crew-sidebar:hover .crew-nav-label,.sidebar-pinned .crew-nav-label{opacity:1}.crew-nav-group{width:100%;margin-top:10px;border:0}.crew-nav-group>span{display:block;height:24px;padding:6px 18px 4px;overflow:hidden;color:var(--cc-text-muted);font-size:10px;font-weight:700;text-transform:uppercase;white-space:nowrap;opacity:0}.crew-sidebar:hover .crew-nav-group>span,.sidebar-pinned .crew-nav-group>span{opacity:1}.crew-sidebar-footer{flex:0 0 auto;margin-top:auto;padding:8px 0 12px;border-top:1px solid var(--cc-line-soft)}.crew-sidebar-account{position:relative;width:100%}.crew-sidebar-avatar{border-radius:50%;background:linear-gradient(145deg,var(--cc-avatar-start) 0%,var(--cc-avatar-mid) 48%,var(--cc-avatar-end) 100%);color:var(--cc-neutral-inverse);font-weight:750}.crew-presence-avatar{position:relative;overflow:visible}.crew-presence-dot{position:absolute;top:-1px;right:-1px;width:11px;height:11px;border:2px solid var(--cc-surface);border-radius:50%;background:var(--cc-text-muted);box-shadow:none}.crew-presence-avatar.available .crew-presence-dot{background:var(--cc-presence-available)}.crew-presence-avatar.away-ai .crew-presence-dot{background:var(--cc-presence-away)}.crew-presence-avatar.inactive .crew-presence-dot{background:var(--cc-presence-inactive)}.crew-sidebar-user-copy{display:grid;gap:1px;line-height:1.15}.crew-sidebar-user-copy strong,.crew-sidebar-user-copy small{overflow:hidden;text-overflow:ellipsis}.crew-sidebar-user-copy small{color:var(--cc-text-muted);font-size:10px;font-weight:550}.crew-shell:not(.sidebar-pinned) .crew-sidebar:not(:hover) .crew-nav>button,.crew-shell:not(.sidebar-pinned) .crew-sidebar:not(:hover) .crew-sidebar-account>button{width:48px;height:48px;min-height:48px;grid-template-columns:38px;justify-content:center;margin-inline:auto;padding:5px}.crew-shell:not(.sidebar-pinned) .crew-sidebar:not(:hover) .crew-nav>button.active,.crew-shell:not(.sidebar-pinned) .crew-sidebar:not(:hover) .crew-sidebar-account>button.active{background:var(--cc-surface-muted);color:var(--cc-text)}.crew-shell:not(.sidebar-pinned) .crew-sidebar:not(:hover) .crew-nav>button.active .crew-nav-icon{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-shell:not(.sidebar-pinned) .crew-sidebar:not(:hover) .crew-nav-label{display:none}.crew-sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:none;background:var(--cc-backdrop)}.crew-shell.sidebar-pinned .crew-sidebar-backdrop{display:block}.crew-topbar{display:flex;position:static;width:auto;min-height:76px;height:76px;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:14px 24px;border-radius:0;border-bottom:1px solid var(--cc-line);background:var(--cc-surface)}.crew-topbar h1{margin:0;font-size:22px;line-height:1.2}.crew-topbar p{margin:4px 0 0;color:var(--cc-text-muted);font-size:13px}.crew-avatar{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border:0;border-radius:50%;background:linear-gradient(145deg,var(--cc-avatar-start) 0%,var(--cc-avatar-mid) 48%,var(--cc-avatar-end) 100%);color:var(--cc-neutral-inverse);font-weight:750}.crew-account-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:90;width:286px;padding:10px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);box-shadow:var(--cc-shadow-menu)}.crew-account-menu header{display:flex;align-items:center;gap:10px;padding:8px}.crew-account-menu header div{display:grid;min-width:0}.crew-account-menu header small{overflow:hidden;color:var(--cc-text-muted);text-overflow:ellipsis}.crew-account-menu>button{display:flex;width:100%;align-items:center;gap:10px;min-height:40px;margin:2px 0;padding:8px 10px;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-account-menu>button:hover{background:var(--cc-surface-hover)}.crew-account-menu.sidebar-placement{top:auto;right:auto;bottom:0;left:calc(100% + 10px);width:320px}.crew-account-menu.mobile-placement{position:static;width:100%;padding:0;border:0;border-radius:0;box-shadow:none}.crew-account-menu>button.crew-account-logout{margin-top:8px;border-top:1px solid var(--cc-line-soft);border-radius:0}.crew-presence-switch{display:grid;grid-template-columns:1fr;gap:3px;margin:6px 0 10px;padding:4px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-presence-switch button{min-height:34px;border:0;border-radius:7px;background:transparent;cursor:pointer}.crew-presence-switch button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-account-notification-switch{display:grid;min-height:52px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px}.crew-account-notification-switch>span:first-child{display:grid;gap:2px}.crew-account-notification-switch small{color:var(--cc-text-muted);font-size:11px}.crew-account-preference-switch{display:grid;min-height:52px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border-top:1px solid var(--cc-line-soft)}.crew-account-preference-switch>svg{color:var(--cc-text-muted)}.crew-account-preference-switch>span{display:grid;min-width:0;gap:2px}.crew-account-preference-switch small{color:var(--cc-text-muted);font-size:11px}.crew-mode-segment{display:flex;width:auto;min-width:0;height:36px;align-items:center;gap:2px;margin:0;padding:3px;overflow:hidden;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-surface-muted);cursor:pointer}.crew-mode-option{display:flex;width:auto;min-width:40px;height:30px;align-items:center;justify-content:center;gap:4px;padding:0 7px;overflow:hidden;border-radius:var(--cc-radius-pill);color:var(--cc-text-muted);font-size:11px}.crew-mode-option.active.ai{background:var(--cc-purple);color:var(--cc-text-inverse)}.crew-mode-option.active.human{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-mode-option.inactive{background:transparent}.crew-mode-segment.icon-only{width:66px}.crew-mode-segment.icon-only .crew-mode-option{width:30px;min-width:30px;padding:0}.crew-inline-status{display:flex;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid color-mix(in srgb,var(--cc-warning) 32%,var(--cc-line));background:var(--cc-warning-soft);color:var(--cc-warning-text);font-size:12px}.crew-mobile-appbar,.crew-mobile-nav{display:none}.crew-login-page{display:grid;min-height:100dvh;place-items:center;padding:24px;background:var(--cc-bg)}.crew-login-shell{display:grid;width:min(100%,940px);min-height:610px;grid-template-columns:minmax(300px,.82fr) minmax(420px,1.18fr);overflow:hidden;border:1px solid var(--cc-line);border-radius:var(--cc-radius-panel);background:var(--cc-surface);box-shadow:var(--cc-shadow-panel)}.crew-login-brand{display:flex;min-width:0;flex-direction:column;justify-content:space-between;padding:42px;background:#101010;color:#fff}.crew-login-brand-lockup{display:flex;align-items:center;gap:12px;font-size:20px}.crew-login-brand-lockup img{width:38px;height:38px;filter:brightness(0) invert(1)}.crew-login-brand-copy{display:grid;gap:14px}.crew-login-brand-copy>span{width:44px;height:5px;border-radius:var(--cc-radius-pill);background:var(--cc-purple)}.crew-login-brand-copy h2{max-width:290px;margin:0;color:inherit;font-size:36px;line-height:1.08}.crew-login-brand-copy p{max-width:280px;margin:0;color:color-mix(in srgb,currentColor 72%,transparent);font-size:15px;line-height:1.55}.crew-login-brand>small{color:color-mix(in srgb,currentColor 62%,transparent);font-size:11px;font-weight:650;text-transform:uppercase}.crew-login-form-panel{display:grid;min-width:0;place-items:center;padding:36px}.crew-login-card{display:grid;width:min(100%,420px);gap:16px;padding:0;border:0;border-radius:0;background:var(--cc-surface)}.crew-login-mark{width:42px;height:42px;object-fit:contain}.crew-public-auth-page .crew-login-form-panel .crew-login-mark{display:none}.crew-login-kicker{margin:4px 0 -8px;color:var(--cc-text-muted);font-size:12px;font-weight:700}.crew-login-card h1{margin:0;font-size:28px;line-height:1.12}.crew-login-copy{margin:-4px 0 4px;color:var(--cc-text-muted);line-height:1.5}.crew-login-card label{display:grid;gap:6px;font-size:12px;font-weight:650}.crew-login-card input{width:100%;padding:0 12px}.crew-login-password-field{display:grid;position:relative}.crew-login-password-field input{padding-right:46px}.crew-login-password-field button{display:grid;position:absolute;top:0;right:0;width:42px;height:100%;place-items:center;padding:0;border:0;background:transparent;color:var(--cc-text-muted);cursor:pointer}.crew-login-password-field button:hover{color:var(--cc-text)}.crew-login-card>button{display:flex;min-height:44px;align-items:center;justify-content:center;gap:8px;margin-top:4px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);cursor:pointer}.crew-login-card>button:disabled{cursor:wait;opacity:.55}.crew-login-status{margin:0;color:var(--cc-danger);font-size:12px}.crew-login-workspaces{display:grid;gap:10px}.crew-login-workspace{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:12px;min-height:62px;padding:12px 14px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-sm);background:var(--cc-surface-soft);cursor:pointer}.crew-login-workspace input{width:18px;height:18px;margin:0;accent-color:var(--cc-black)}.crew-login-workspace span{display:grid;min-width:0;gap:2px}.crew-login-workspace strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.crew-login-workspace small{overflow:hidden;color:var(--cc-text-muted);text-overflow:ellipsis;white-space:nowrap}.crew-login-card>.crew-login-secondary{min-height:38px;margin-top:-4px;padding:0 8px;border:0;background:transparent;color:var(--cc-text-muted)}.crew-login-card>.crew-login-secondary:hover{background:transparent;color:var(--cc-text)}.cc-button,.crew-primary-btn,.crew-secondary-btn,.crew-secondary-button{display:inline-flex;min-height:var(--cc-control-height);align-items:center;justify-content:center;gap:var(--cc-space-2);padding:0 var(--cc-space-4);border:0;border-radius:var(--cc-radius-sm);background:var(--cc-black);color:var(--cc-text-inverse);box-shadow:none;font-weight:700;cursor:pointer;transition:background var(--cc-motion),color var(--cc-motion),opacity var(--cc-motion)}.cc-button:hover,.crew-primary-btn:hover{background:var(--cc-control-hover)}.cc-button:active,.crew-primary-btn:active{background:var(--cc-control-pressed)}.cc-button.secondary,.crew-secondary-btn,.crew-secondary-button{background:var(--cc-surface-muted);color:var(--cc-text)}.cc-button.secondary:hover,.crew-secondary-btn:hover,.crew-secondary-button:hover{background:var(--cc-surface-hover)}.cc-button.danger,.crew-secondary-btn.danger{background:var(--cc-danger-soft);color:var(--cc-danger)}.cc-icon-button,.crew-panel-close{display:inline-grid;width:var(--cc-control-height);height:var(--cc-control-height);flex:0 0 var(--cc-control-height);place-items:center;margin:0;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text);box-shadow:none;cursor:pointer}.cc-icon-button:hover,.crew-panel-close:hover{background:var(--cc-surface-hover)}.cc-icon-button.success{background:var(--cc-success-soft);color:var(--cc-success)}.cc-icon-button.danger{background:var(--cc-danger-soft);color:var(--cc-danger)}.cc-icon-button:disabled,.cc-button:disabled{opacity:.5;cursor:default}.cc-field{display:grid;min-width:0;gap:6px}.cc-field>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.cc-field input,.cc-field select,.cc-field textarea{width:100%;min-height:var(--cc-control-height);padding:9px 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text);box-shadow:none;font:inherit;font-weight:400}.cc-field textarea{min-height:84px;resize:vertical}.cc-field[data-invalid=true] input,.cc-field[data-invalid=true] select,.cc-field[data-invalid=true] textarea{border-color:var(--cc-danger)}.cc-field small{color:var(--cc-text-subtle);font-size:var(--cc-font-size-xs)}.cc-field[data-invalid=true] small{color:var(--cc-danger)}.cc-badge{display:inline-flex;min-height:24px;align-items:center;gap:5px;padding:3px 8px;border:0;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750}.cc-badge.ai{background:var(--cc-purple-soft);color:var(--cc-purple)}.cc-badge.success{background:var(--cc-success-soft);color:var(--cc-success)}.cc-badge.danger{background:var(--cc-danger-soft);color:var(--cc-danger)}.cc-empty-state,.cc-loading-state,.cc-inline-error{display:grid;min-height:128px;place-items:center;align-content:center;gap:var(--cc-space-2);padding:var(--cc-space-6);color:var(--cc-text-muted);text-align:center}.cc-empty-state strong,.cc-loading-state strong,.cc-inline-error strong{color:var(--cc-text);font-size:var(--cc-font-size-lg)}.cc-inline-error{color:var(--cc-danger)}.crew-clean-overlay,.crew-flat-scrim,.crew-modal-backdrop,.crew-sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--cc-z-scrim);width:100vw;height:100dvh;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:var(--cc-scrim);box-shadow:none;cursor:default}.cc-dialog,.cc-sheet{position:fixed;z-index:var(--cc-z-panel);display:grid;overflow:hidden;background:var(--cc-surface);box-shadow:var(--cc-shadow-panel)}.cc-dialog{inset:50% auto auto 50%;width:min(calc(100vw - 32px),520px);max-height:min(720px,calc(100dvh - 32px));transform:translate(-50%,-50%);border-radius:var(--cc-radius-panel)}.cc-sheet{inset:auto 0 0;max-height:min(78dvh,640px);border-radius:var(--cc-radius-panel) var(--cc-radius-panel) 0 0}.cc-dialog>header,.cc-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:var(--cc-space-3);padding:var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft)}.cc-dialog-body,.cc-sheet-body{min-height:0;overflow:auto;padding:var(--cc-space-4);overscroll-behavior:contain}.cc-dialog>footer,.cc-sheet>footer{display:flex;justify-content:flex-end;gap:var(--cc-space-2);padding:var(--cc-space-3) var(--cc-space-4);border-top:1px solid var(--cc-line-soft)}.cc-overlay-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(--cc-z-panel) + 20)}.cc-overlay-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:var(--cc-scrim);box-shadow:none}.cc-responsive-sheet{position:absolute;inset:0 0 0 auto;z-index:1;display:grid;width:min(480px,calc(100vw - var(--cc-sidebar-width)));min-width:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:0;border-left:1px solid var(--cc-line-soft);border-radius:0;background:var(--cc-surface);box-shadow:var(--cc-shadow-panel)}.cc-responsive-sheet.wide{width:min(560px,calc(100vw - var(--cc-sidebar-width)))}.cc-responsive-sheet-header{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:var(--cc-space-4);padding:var(--cc-space-4) var(--cc-space-5);border-bottom:1px solid var(--cc-line-soft);background:var(--cc-surface)}.cc-responsive-sheet-header>div{display:grid;min-width:0;gap:3px}.cc-responsive-sheet-header strong{color:var(--cc-text);font-size:var(--cc-font-size-lg);line-height:var(--cc-line-height-tight)}.cc-responsive-sheet-header span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);line-height:var(--cc-line-height-body)}.cc-responsive-sheet-header strong,.cc-responsive-sheet-header span{overflow-wrap:anywhere}.cc-responsive-sheet-body{min-height:0;padding:var(--cc-space-5);overflow:auto;overscroll-behavior:contain}.cc-responsive-sheet-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--cc-space-2);padding:var(--cc-space-3) var(--cc-space-5);border-top:1px solid var(--cc-line-soft);background:var(--cc-surface)}.cc-operation-status{position:fixed;bottom:18px;left:50%;z-index:calc(var(--cc-z-panel) + 40);display:flex;width:max-content;max-width:calc(100vw - 32px);min-height:34px;align-items:center;gap:7px;padding:7px 11px;transform:translate(-50%);border:0;border-radius:var(--cc-radius-pill);background:var(--cc-neutral-ink);color:var(--cc-neutral-inverse);box-shadow:0 4px 14px var(--cc-shadow-color)}.cc-operation-status.offline{background:color-mix(in srgb,var(--cc-neutral-ink) 86%,var(--cc-text-muted))}.cc-operation-status.warning{background:var(--cc-warning-soft);color:var(--cc-warning)}.cc-operation-status>span{min-width:0;overflow:hidden;color:inherit;font-size:12px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.cc-switch{position:relative;display:inline-flex;width:42px;height:24px;flex:0 0 42px;align-items:center;margin:0;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;cursor:pointer}.cc-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.cc-switch-track{position:relative;display:block;width:42px;height:24px;border-radius:12px;background:var(--cc-line);transition:background var(--cc-motion)}.cc-switch-track:after{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--cc-surface);content:"";transition:transform var(--cc-motion)}.cc-switch input:checked+.cc-switch-track{background:var(--cc-black)}.cc-switch input:checked+.cc-switch-track:after{transform:translate(18px)}.cc-switch input:focus-visible+.cc-switch-track{outline:2px solid var(--cc-text);outline-offset:2px}.cc-switch[aria-checked=true] .cc-switch-track{background:var(--cc-black)}.cc-switch[aria-checked=true] .cc-switch-track:after{transform:translate(18px)}.cc-switch:focus-visible{outline:2px solid var(--cc-text);outline-offset:2px}.cc-switch:disabled{cursor:default;opacity:.5}.cc-admin-page{height:calc(100dvh - 76px);min-width:0;padding:20px 24px 32px;overflow:auto;background:var(--cc-bg)}.cc-page-toolbar{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.cc-page-toolbar-copy{display:grid;min-width:0;gap:2px}.cc-page-toolbar-copy strong{font-size:var(--cc-font-size-lg);line-height:var(--cc-line-height-tight)}.cc-page-toolbar-copy span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-page-actions{display:flex;align-items:center;gap:8px}.cc-page-segmented{display:flex;min-width:0;gap:3px;padding:3px;overflow-x:auto;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);scrollbar-width:none}.cc-page-segmented::-webkit-scrollbar{display:none}.cc-page-segmented button{min-height:36px;padding:0 12px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text-muted);font-weight:700;white-space:nowrap;cursor:pointer}.cc-page-segmented button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.cc-metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:1px;margin-bottom:16px;overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-line-soft)}.cc-metric-strip>div{display:grid;min-height:64px;align-content:center;gap:2px;padding:10px 14px;background:var(--cc-surface)}.cc-metric-strip strong{font-size:var(--cc-font-size-lg)}.cc-metric-strip span{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-workspace-surface{min-width:0;overflow:hidden;border:0;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.cc-content-block{display:grid;min-width:0;gap:var(--cc-space-4);padding:var(--cc-space-4);border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-content-block>:is(header,h3,h4):first-child{margin-top:0}.cc-editor-stack{display:grid;min-width:0;align-content:start;gap:var(--cc-space-5)}.cc-section-heading{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--cc-line-soft)}.cc-section-heading>div{display:grid;gap:2px}.cc-section-heading strong{font-size:var(--cc-font-size-md)}.cc-section-heading span{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-list-row{display:grid;min-width:0;align-items:center;gap:12px;padding:14px 16px;border:0;border-bottom:1px solid var(--cc-line-soft);background:var(--cc-surface)}.cc-list-row:last-child{border-bottom:0}.cc-list-row:hover{background:var(--cc-surface-hover)}@media(max-width:780px){.cc-admin-page{height:calc(100dvh - var(--cc-mobile-bar-height) - var(--cc-mobile-nav-height));padding:12px 12px 24px}.cc-page-toolbar{min-height:44px;margin-bottom:12px}.cc-page-toolbar-copy span,.cc-page-actions .cc-button span{display:none}.cc-page-toolbar>.cc-button{width:var(--cc-touch-target);padding:0}.cc-page-toolbar>.cc-button span{display:none}.cc-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.cc-metric-strip>div{min-height:56px;padding:8px 12px}}@media(max-width:780px){.cc-responsive-sheet,.cc-responsive-sheet.wide{inset:auto 0 0;width:100%;height:min(90dvh,760px);max-height:none;border:0;border-radius:var(--cc-radius-panel) var(--cc-radius-panel) 0 0}.cc-responsive-sheet.crew-mobile-menu-sheet{height:auto;min-height:min(360px,calc(100dvh - 24px));max-height:min(84dvh,680px)}.cc-responsive-sheet-header{min-height:64px;padding:var(--cc-space-3) var(--cc-space-4)}.cc-responsive-sheet-body{padding:var(--cc-space-4) var(--cc-space-4) calc(var(--cc-space-5) + env(safe-area-inset-bottom))}.cc-responsive-sheet-footer{padding:var(--cc-space-3) var(--cc-space-4) calc(var(--cc-space-3) + env(safe-area-inset-bottom))}.cc-operation-status{top:calc(var(--cc-mobile-bar-height) + env(safe-area-inset-top) + 8px);bottom:auto;max-width:calc(100vw - 24px)}}@media(min-width:781px){.crew-mobile-appbar,.crew-mobile-nav{display:none}.crew-sidebar{display:flex}.crew-main{min-height:100dvh;padding:0}}@media(max-width:780px){body{overflow:hidden}.crew-sidebar,.crew-topbar,.crew-sidebar-backdrop{display:none}.crew-main{height:100dvh;margin-left:0;padding:var(--cc-mobile-bar-height) 0 calc(var(--cc-mobile-nav-height) + env(safe-area-inset-bottom))}.crew-shell.mobile-chat-open .crew-main{padding-bottom:0}.crew-mobile-appbar{position:fixed;inset:0 0 auto;z-index:var(--cc-z-nav);display:grid;height:calc(var(--cc-mobile-bar-height) + env(safe-area-inset-top));grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:var(--cc-space-2);padding:calc(8px + env(safe-area-inset-top)) 12px 8px;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;box-shadow:none;background:var(--cc-surface)}.crew-mobile-appbar button{display:grid;width:40px;height:40px;place-items:center;margin:0;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent}.crew-mobile-appbar button:hover,.crew-mobile-appbar button:active{background:var(--cc-surface-hover)}.crew-mobile-appbar-mark{display:block;width:30px;height:30px;justify-self:center;object-fit:contain}.crew-mobile-appbar>div:nth-child(2){display:grid;min-width:0}.crew-mobile-appbar strong,.crew-mobile-appbar span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-mobile-appbar strong{font-size:var(--cc-font-size-md)}.crew-mobile-appbar span{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.crew-mobile-appbar-actions{display:flex;align-items:center;gap:2px}.crew-mobile-appbar .crew-mode-segment{display:flex;width:66px;min-width:66px;height:36px;padding:2px}.crew-mobile-appbar .crew-mode-option{width:31px;min-width:31px;height:32px;padding:0}.crew-mobile-appbar .crew-mode-option strong{display:none}.crew-mobile-nav{position:fixed;inset:auto 0 0;z-index:58;display:grid;height:calc(var(--cc-mobile-nav-height) + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--cc-line-soft);border-radius:0;box-shadow:none;background:var(--cc-surface)}.crew-mobile-nav button{display:grid;min-width:0;height:52px;place-items:center;align-content:center;gap:3px;margin:0 2px;padding:4px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.crew-mobile-nav button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-mobile-nav button span{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.crew-mobile-more-sheet{display:grid;align-content:start;gap:var(--cc-space-5);padding-top:var(--cc-space-3);overflow-y:auto;scrollbar-width:none}.crew-mobile-more-sheet::-webkit-scrollbar,.crew-mobile-account-sheet::-webkit-scrollbar{display:none}.crew-mobile-account-sheet{overflow-y:auto;scrollbar-width:none}.crew-mobile-more-section{display:grid;align-content:start;gap:var(--cc-space-2)}.crew-mobile-more-section>strong{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);text-transform:uppercase}.crew-mobile-more-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crew-mobile-more-list button{display:grid;min-width:0;min-height:58px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:var(--cc-space-2);margin:0;padding:8px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font-size:var(--cc-font-size-sm);font-weight:650;text-align:left}.crew-mobile-more-list button.active{color:var(--cc-text);font-weight:750}.crew-mobile-more-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text)}.crew-mobile-more-list button.active .crew-mobile-more-icon{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-mobile-more-list button.crew-mobile-account-entry{grid-template-columns:38px minmax(0,1fr)}.crew-mobile-account-avatar{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:linear-gradient(145deg,var(--cc-avatar-start) 0%,var(--cc-avatar-mid) 48%,var(--cc-avatar-end) 100%);color:var(--cc-neutral-inverse);font-weight:750}.crew-mobile-account-copy{display:grid;min-width:0;gap:2px}.crew-mobile-account-copy strong,.crew-mobile-account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-mobile-account-copy small{color:var(--cc-text-muted);font-size:9px;font-weight:550}.crew-mobile-quick-presence{display:grid;gap:var(--cc-space-2);padding-top:var(--cc-space-3);border-top:1px solid var(--cc-line-soft)}.crew-mobile-quick-presence>strong{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);text-transform:uppercase}.crew-mobile-presence-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-mobile-presence-options button{display:grid;min-width:0;min-height:44px;place-items:center;margin:0;padding:6px 8px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text);box-shadow:none;font-size:10px;font-weight:650;line-height:1.15;text-align:center}.crew-mobile-presence-options button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-account-menu.mobile-placement header{padding-inline:0}.cc-dialog{inset:auto 0 0;width:100%;max-height:min(78dvh,640px);transform:none;border-radius:var(--cc-radius-panel) var(--cc-radius-panel) 0 0}.crew-login-page{align-items:stretch;padding:0;background:var(--cc-surface)}.crew-login-shell{display:grid;width:100%;min-height:100dvh;grid-template-columns:1fr;align-items:center;border:0;border-radius:0;box-shadow:none}.crew-login-brand{display:none}.crew-login-form-panel{padding:28px 24px}.crew-login-card{padding:0;border:0;border-radius:0}.crew-public-auth-page .crew-login-form-panel .crew-login-mark{display:block}.cc-button,.crew-primary-btn,.crew-secondary-btn,.crew-secondary-button{min-height:var(--cc-touch-target)}.cc-icon-button,.crew-panel-close{width:var(--cc-touch-target);height:var(--cc-touch-target);flex-basis:var(--cc-touch-target)}}.crew-inbox-layout{display:grid;width:100%;height:100dvh;min-width:0;grid-template-columns:236px 360px minmax(420px,1fr) 320px;grid-template-rows:minmax(0,1fr);overflow:hidden;border-radius:0;background:var(--cc-surface)}.crew-operational-context-scroll{display:grid;max-height:260px;gap:7px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.crew-operational-context-scroll::-webkit-scrollbar{display:none}.crew-inbox-layout.contact-hidden{grid-template-columns:236px 360px minmax(420px,1fr)}.crew-inbox-control-panel,.crew-inbox-rail,.crew-chat-panel,.crew-contact-panel,.crew-chat-search-panel{position:static;inset:auto;z-index:auto;width:auto;max-width:none;height:auto;min-width:0;min-height:0;grid-area:auto;grid-column:auto;grid-row:auto;margin:0;border-radius:0;box-shadow:none;transform:none;background:var(--cc-surface)}.crew-inbox-control-panel{display:flex;flex-direction:column;gap:14px;overflow-y:auto;padding:14px 12px;border-right:1px solid var(--cc-line-soft);opacity:1;visibility:visible;pointer-events:auto}.crew-inbox-rail{display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--cc-line-soft)}.crew-rail-head,.crew-list-head{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:10px}.crew-rail-head{padding:4px 4px 8px}.crew-rail-head>div,.crew-list-head>div{display:grid;min-width:0}.crew-rail-head span,.crew-list-head span{color:var(--cc-text-muted);font-size:11px}.crew-icon-action{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;margin:0;padding:0;border:0;border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse);cursor:pointer}.crew-new-conversation{display:flex;min-height:40px;align-items:center;justify-content:center;gap:8px;margin:0;padding:0 12px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);cursor:pointer}.crew-inbox-menu,.crew-inbox-bandejas,.crew-label-pill-list{display:grid;gap:3px}.crew-label-pill-list{max-height:190px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.crew-label-pill-list::-webkit-scrollbar{display:none}.crew-inbox-menu button,.crew-inbox-bandejas button,.crew-label-pill-list button{display:flex;min-height:38px;align-items:center;gap:9px;margin:0;padding:7px 9px;border:0;border-radius:var(--cc-radius-sm);background:transparent;text-align:left;cursor:pointer}.crew-inbox-menu button:hover,.crew-inbox-bandejas button:hover,.crew-label-pill-list button:hover{background:var(--cc-surface-hover)}.crew-inbox-menu button.active,.crew-inbox-bandejas button.active,.crew-label-pill-list button.active{background:var(--cc-surface-muted);color:var(--cc-text);font-weight:700}.crew-inbox-bandejas button>span{display:flex;min-width:0;flex:1;justify-content:space-between;gap:8px}.crew-inbox-bandejas small{color:inherit;opacity:.65}.crew-control-group{display:grid;gap:6px}.crew-control-group>span{padding:0 9px;color:var(--cc-text-muted);font-size:10px;font-weight:700;text-transform:uppercase}.crew-label-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%}.crew-list-head{padding:10px 16px 8px;border-bottom:1px solid var(--cc-line-soft);border-radius:0}.crew-list-title{display:flex;align-items:center;gap:7px;margin:0;padding:4px 0;border:0;background:transparent;font-size:18px;font-weight:730;cursor:pointer}.crew-list-title>svg{display:none}.crew-list-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 16px 6px}.crew-list-toolbar select{width:100%;min-width:0;padding:0 10px;border-color:transparent;background:var(--cc-surface);font-weight:600}.crew-unanswered-switch{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px}.crew-unanswered-switch input{position:absolute;width:1px;height:1px;opacity:0}.crew-unanswered-switch>span{position:relative;width:38px;height:22px;border-radius:var(--cc-radius-pill);background:var(--cc-line);transition:background var(--cc-motion)}.crew-unanswered-switch>span:after{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--cc-surface);content:"";transition:transform var(--cc-motion)}.crew-unanswered-switch input:checked+span{background:var(--cc-black)}.crew-unanswered-switch input:checked+span:after{transform:translate(16px)}.crew-search{display:flex;min-height:44px;align-items:center;gap:9px;margin:8px 16px 10px;padding:0 12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);color:var(--cc-text-muted)}.crew-search input{width:100%;min-width:0;min-height:38px;padding:0;border:0;background:transparent;outline:0}.crew-thread-list{display:grid;min-height:0;align-content:start;gap:4px;overflow-y:auto;padding:0 12px 18px}.crew-thread-load-more{width:100%;min-height:42px;margin:10px 0 18px;border:0;border-radius:8px;background:var(--cc-surface-muted);color:var(--cc-text);font:inherit;font-weight:700}.crew-thread-load-more:disabled{color:var(--cc-text-subtle)}.crew-thread-row{display:grid;width:100%;min-height:94px;height:auto;max-height:none;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;margin:0;padding:12px 10px;overflow:hidden;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:transparent;text-align:left;cursor:pointer}.crew-thread-row:hover{background:var(--cc-surface-hover)}.crew-thread-row.is-selected{background:transparent}.crew-thread-row.is-selected:hover{background:var(--cc-surface-hover)}.crew-thread-row.has-unread{background:transparent;box-shadow:none}.crew-thread-row.has-unread:hover,.crew-thread-row.has-unread.is-selected:hover{background:var(--cc-surface-hover)}.crew-thread-row.has-unread .crew-thread-name{color:var(--cc-text);font-weight:800}.crew-thread-row.has-unread .crew-thread-preview{color:var(--cc-text);font-weight:600}.crew-thread-row.has-unread .crew-thread-name small{color:var(--cc-purple);font-weight:700}.crew-thread-row:focus-visible{outline-color:var(--cc-black);outline-offset:-2px}.crew-thread-main{display:grid;min-width:0;min-height:0;height:auto;max-height:none;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,auto);align-content:center;gap:5px;overflow:visible}.crew-thread-main>*{min-width:0;order:0}.crew-thread-flags{display:flex;min-height:0;height:auto;align-items:center;gap:5px}.crew-queue-label,.crew-thread-mode{min-height:0;padding:3px 7px;border-radius:5px;background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:9px;font-weight:750;line-height:1.15;text-transform:uppercase}.crew-queue-label.hot{background:var(--cc-hot-soft);color:var(--cc-hot-text)}.crew-queue-label.followup{background:var(--cc-followup-soft);color:var(--cc-followup-text)}.crew-thread-mode.ai{background:var(--cc-ai-chip-soft);color:var(--cc-ai-chip-text)}.crew-thread-mode.human{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-queue-label.closed{background:var(--cc-surface-muted);color:var(--cc-text-muted)}.crew-thread-mode{display:inline-flex;width:24px;height:20px;align-items:center;justify-content:center;padding:0;line-height:0}.crew-thread-mode svg{display:block;flex:0 0 auto;transform:none}.crew-thread-name,.crew-thread-meta{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.crew-thread-name{font-weight:700}.crew-thread-name small,.crew-thread-meta{color:var(--cc-text-muted);font-size:11px;font-weight:450}.crew-thread-preview{overflow:hidden;color:var(--cc-text-muted);white-space:nowrap;text-overflow:ellipsis}.crew-thread-source,.crew-thread-signals{display:flex;min-width:0;align-items:center;gap:5px}.crew-thread-meta{margin-top:3px}.crew-thread-source{overflow:hidden;color:var(--cc-text-muted);white-space:nowrap;text-overflow:ellipsis;opacity:.85}.crew-thread-source .crew-channel-brand-icon{width:14px;height:14px;flex:0 0 14px;border-radius:0;background:transparent}.crew-thread-signals{flex:0 0 auto}.crew-thread-signals b{display:grid;min-width:19px;height:19px;place-items:center;border-radius:50%;background:var(--cc-purple);color:var(--cc-neutral-inverse);font-size:10px}.crew-thread-empty{display:grid;place-items:center;gap:7px;padding:40px 24px;color:var(--cc-text-muted);text-align:center}.crew-thread-empty strong{color:var(--cc-text)}.crew-chat-panel{display:flex;position:relative;flex-direction:column;overflow:hidden}.crew-chat-header{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:14px;padding:9px 16px;border-radius:0;border-bottom:1px solid var(--cc-line-soft)}.crew-chat-title{display:flex;min-width:0;align-items:center;gap:10px}.crew-chat-title>div,.crew-chat-title>span:last-child{display:grid;min-width:0}.crew-chat-title h2{margin:0;font-size:15px;line-height:1.25}.crew-chat-title p{margin:2px 0 0;color:var(--cc-text-muted);font-size:11px}.crew-chat-title strong,.crew-chat-title span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-chat-title span{color:var(--cc-text-muted);font-size:11px}.crew-mobile-back{display:none}.crew-chat-actions{display:flex;flex:0 0 auto;align-items:center;gap:4px}.crew-chat-actions>button:not(.crew-mode-segment),.crew-chat-panel-toggle,.crew-chat-search-trigger{display:grid;width:36px;height:36px;place-items:center;margin:0;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-chat-actions>button:hover,.crew-chat-panel-toggle:hover,.crew-chat-search-trigger:hover{background:var(--cc-surface-hover)}.crew-chat-context{display:flex;min-height:36px;align-items:center;gap:6px;padding:5px 16px;overflow-x:auto;border-bottom:1px solid var(--cc-line-soft)}.crew-chat-context-pill{padding:4px 7px;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:10px;white-space:nowrap}.crew-chat-context-pill.accent{background:var(--cc-purple-soft);color:var(--cc-purple)}.crew-chat-context-pill.closed{background:var(--cc-surface-muted);color:var(--cc-text-muted)}.crew-mode-switch{display:flex;align-items:center;padding:3px;border-radius:var(--cc-radius-pill);background:var(--cc-surface-muted)}.crew-mode-switch button{min-height:28px;padding:0 9px;border:0;border-radius:var(--cc-radius-pill);background:transparent;font-size:11px;font-weight:700;cursor:pointer}.crew-mode-switch button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-mode-switch.ai button.active,.crew-mode-switch button.ai.active{background:var(--cc-purple)}.crew-chat-body{display:flex;min-height:0;flex:1;flex-direction:column;gap:8px;overflow-y:auto;padding:24px clamp(18px,3vw,44px);border-radius:0;background:var(--cc-surface-subtle)}.crew-chat-body>:first-child{margin-top:auto}.crew-message{position:relative;width:fit-content;max-width:min(70%,680px);padding:10px 12px;overflow:visible;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);color:var(--cc-text)}.crew-message.reaction-open{margin-top:50px}.crew-message.has-reaction{margin-bottom:14px}.crew-message.outgoing{align-self:flex-end;background:var(--cc-black);color:var(--cc-text-inverse)}.crew-message.outgoing.ai-sender{background:var(--cc-purple);color:var(--cc-text-inverse)}.crew-message.outgoing :is(.crew-message-author,p,time,strong,small,span){color:inherit}.crew-message.incoming p{color:var(--cc-text)}.crew-message.outgoing .crew-message-author,.crew-message.outgoing time{opacity:.78}.crew-message p{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.crew-message.incoming+.crew-message.outgoing,.crew-message.outgoing+.crew-message.incoming{margin-top:6px}.crew-message.is-emoji-only{max-width:min(260px,70%)}.crew-message.is-emoji-only p{margin:1px 0;font-size:36px;line-height:1.15}.crew-message.is-sticker{width:172px;max-width:172px;padding:4px 6px;background:transparent;color:var(--cc-text)}.crew-message.is-sticker.outgoing{background:transparent;color:var(--cc-text)}.crew-message.is-sticker .crew-message-author,.crew-message.is-sticker .crew-message-footer{width:max-content;max-width:100%;padding:3px 6px;border-radius:var(--cc-radius-xs);background:var(--cc-surface);box-shadow:0 1px 4px var(--cc-shadow-color)}.crew-message.is-sticker .crew-message-footer{justify-self:end;margin-left:auto}.crew-message-author{display:flex;align-items:center;gap:6px;color:inherit;font-size:9px;font-weight:750;opacity:.68}.crew-message-tools{position:absolute;top:-12px;right:4px;z-index:3;display:none;padding:2px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-sm);background:var(--cc-surface);box-shadow:0 5px 14px var(--cc-shadow-color)}.crew-message:hover .crew-message-tools,.crew-message:focus-within .crew-message-tools{display:flex}.crew-message-tools button{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:var(--cc-text)}.crew-message-tools button:hover{background:var(--cc-surface-hover)}.crew-message-tools button:disabled{opacity:.34;cursor:not-allowed}.crew-reaction-picker{position:absolute;bottom:calc(100% + 8px);left:0;z-index:4;display:flex;width:max-content;max-width:min(342px,calc(100vw - 48px));gap:2px;padding:4px;overflow-x:auto;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);box-shadow:var(--cc-shadow-menu);white-space:nowrap}.crew-message.outgoing .crew-reaction-picker{right:0;left:auto}.crew-reaction-picker button{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent}.crew-message-reaction-badge{position:absolute;right:8px;bottom:-12px;z-index:2;display:grid;min-width:26px;height:24px;place-items:center;padding:0 6px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-pill);background:var(--cc-surface)}.crew-message.incoming .crew-message-reaction-badge{right:auto;left:8px}.crew-message.is-system{align-self:center;max-width:min(90%,560px);padding:4px 10px;border-radius:var(--cc-radius-pill);background:var(--cc-surface-hover);color:var(--cc-text-muted);text-align:center}.crew-message.is-system :is(.crew-message-author,.crew-message-tools,.crew-message-footer){display:none}.crew-system-message{font-size:11px}.crew-message-footer{display:flex;min-height:18px;align-items:center;justify-content:flex-end;gap:8px;margin-top:5px;color:inherit;font-size:9px}.crew-message-footer time{color:inherit;opacity:.68}.crew-message-delivery{display:inline-flex;align-items:center;gap:3px;color:inherit;opacity:.76}.crew-message-delivery.pending{color:var(--cc-info-on-dark);opacity:1}.crew-message-delivery.read{color:#c7b6ff;opacity:1}.crew-message-delivery.failed{color:#ffd0cc;opacity:1}.crew-message-delivery button{display:inline-flex;min-height:24px;align-items:center;gap:4px;padding:0 6px;border:0;border-radius:5px;background:#ffffff29;color:inherit;font:inherit;font-weight:700}.crew-attachment-list{display:grid;min-width:0;gap:7px;margin-top:7px}.crew-attachment-card{display:grid;width:100%;min-width:0;margin:0;padding:0;overflow:hidden;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-card-translucent);color:var(--cc-text);text-align:left}.crew-attachment-card.image img,.crew-attachment-card.video video{display:block;width:min(320px,100%);max-height:320px;object-fit:contain;background:var(--cc-surface-hover)}.crew-attachment-card.image.sticker{width:160px;max-width:160px;overflow:hidden;border-radius:var(--cc-radius-sm);background:#fff}.crew-attachment-card.image.sticker img{width:160px;height:160px;max-height:160px;padding:6px;object-fit:contain;background:#fff}.crew-attachment-card.image.gif{width:min(272px,100%)}.crew-attachment-card.image.gif img{width:min(272px,100%);max-height:272px}.crew-attachment-card.image>span,.crew-attachment-card.video>span{padding:7px 9px;color:var(--cc-text)}.crew-attachment-card.media{grid-template-columns:18px minmax(180px,1fr);align-items:center;gap:7px;padding:8px}.crew-attachment-card.media audio{width:100%;min-width:180px;height:36px}.crew-attachment-card.file{grid-template-columns:18px minmax(0,1fr) auto 18px;align-items:center;gap:8px;min-height:48px;padding:8px 10px;text-decoration:none}.crew-attachment-card.file span{overflow:hidden;color:var(--cc-text);white-space:nowrap;text-overflow:ellipsis}.crew-attachment-card.file small{color:var(--cc-text-muted)}.crew-attachment-card.unavailable{opacity:.72}.crew-location-card{display:grid;min-width:min(280px,100%);gap:8px;margin-top:7px;overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-card-translucent);color:var(--cc-text)}.crew-location-copy{display:grid;grid-template-columns:20px minmax(0,1fr);gap:3px 7px;padding:10px}.crew-location-copy>svg{grid-row:1 / span 3}.crew-location-copy span{color:var(--cc-text-muted)}.crew-location-actions{display:flex;align-items:center;gap:6px;margin-top:5px}.crew-location-actions :is(a,button){display:inline-flex;height:34px;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-black);color:var(--cc-text-inverse);font:inherit;font-size:11px;font-weight:700;text-decoration:none}.crew-location-actions button{width:34px;padding:0}.crew-mini-map{width:100%;height:132px;border:0;border-radius:0;background:var(--cc-map-surface)}.crew-message-card{display:grid;min-width:min(260px,100%);gap:0;margin-top:7px;overflow:hidden;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-card-translucent);color:var(--cc-text)}.crew-message-card>strong{padding:9px 10px;border-bottom:1px solid var(--cc-line-soft)}.crew-message-card>:is(span,a){display:flex;min-height:36px;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;border-bottom:1px solid var(--cc-line-soft);color:var(--cc-text);text-decoration:none}.crew-message-card>:is(span,a):last-child{border-bottom:0}.crew-message-card span small{display:block;color:var(--cc-text-muted)}.crew-message-card b{flex:0 0 auto;color:var(--cc-text)}.crew-message-card.compact{min-width:220px}.crew-media-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:130;display:grid;place-items:center;padding:48px 20px 20px;background:var(--cc-overlay-deep)}.crew-media-close{position:absolute;top:12px;right:12px;display:grid;width:40px;height:40px;place-items:center;padding:0;border:0;border-radius:50%;background:var(--cc-neutral-inverse);color:var(--cc-neutral-ink)}.crew-media-viewer-body{display:grid;max-width:min(960px,100%);max-height:100%;place-items:center;gap:8px;color:var(--cc-neutral-inverse)}.crew-media-viewer-body :is(img,video){display:block;max-width:100%;max-height:calc(100dvh - 100px);object-fit:contain}.crew-chat-jump-latest{position:sticky;bottom:6px;align-self:center;min-height:32px;padding:0 10px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);font-size:10px}.crew-composer{display:grid;position:relative;grid-template-columns:minmax(0,1fr);grid-auto-flow:row;gap:7px;margin:0;padding:10px 16px 12px;border-radius:0;border-top:1px solid var(--cc-line-soft);box-shadow:none;background:var(--cc-surface)}.crew-composer-main{display:grid;width:100%;max-width:none;grid-template-columns:minmax(0,1fr);align-items:end;gap:8px;padding:2px 10px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-composer-input{display:block;width:100%;height:56px;min-height:56px;max-height:56px;padding:12px 4px;overflow-y:auto;border:0;border-radius:0;background:transparent;color:var(--cc-text);font:inherit;line-height:22px;resize:none;outline:0;scrollbar-width:thin}.crew-composer-input:focus,.crew-composer-input:focus-visible{border:0;outline:0;box-shadow:none}.crew-composer-actions,.crew-composer-action-left,.crew-composer-action-right{display:flex;align-items:center;gap:3px}.crew-composer-actions{width:100%;max-width:none;justify-content:space-between}.crew-composer-actions button,.crew-composer-icon,.crew-audio-button{display:grid;width:36px;height:36px;place-items:center;margin:0;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-composer-actions button:hover{background:var(--cc-surface-hover)}.crew-composer-actions button.active{background:var(--cc-purple-soft);color:var(--cc-purple)}.crew-composer-actions button:disabled{cursor:not-allowed;opacity:.42}.crew-composer-actions button[type=submit]{display:inline-grid;width:40px;min-width:40px;height:40px;min-height:40px;aspect-ratio:1;padding:0;border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse)}.crew-composer-actions button[type=submit] span{display:none}.crew-composer-notice{width:fit-content;max-width:100%;margin:0;padding:5px 8px;border-radius:6px;background:var(--cc-warning-soft);color:var(--cc-warning-text);font-size:11px}.crew-composer-icon{position:relative;overflow:hidden}.crew-composer-icon input[type=file]{position:absolute;width:1px;min-width:1px;max-width:1px;height:1px;min-height:1px;max-height:1px;margin:-1px;padding:0;overflow:hidden;border:0;opacity:0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.crew-composer.is-recording{display:grid;padding:10px 16px 12px}.crew-recording-row{display:grid;min-width:0;min-height:52px;grid-template-columns:10px auto minmax(72px,1fr) 40px 40px;align-items:center;gap:6px;margin-inline:2px;padding:6px 8px 6px 12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-recording-dot{width:8px;height:8px;border-radius:50%;background:var(--cc-presence-inactive);animation:crew-recording-pulse 1.2s ease-in-out infinite}.crew-recording-label{display:grid;min-width:62px;gap:1px}.crew-recording-label strong{font-size:12px;line-height:1.1}.crew-recording-label small{color:var(--cc-text-muted);font-size:10px;font-variant-numeric:tabular-nums}.crew-recording-waves{display:flex;min-width:0;height:28px;align-items:center;gap:3px;overflow:hidden}.crew-recording-waves i{width:3px;height:22px;flex:0 0 3px;border-radius:2px;background:var(--cc-text);transform-origin:center;transition:transform 80ms linear}.crew-recording-cancel,.crew-recording-send{display:grid;width:40px;height:40px;place-items:center;margin:0;padding:0;border:0;background:transparent}.crew-recording-cancel{border-radius:var(--cc-radius-sm);color:var(--cc-text)}.crew-recording-cancel:hover{background:var(--cc-surface-hover)}.crew-recording-row .crew-recording-send[type=submit]{border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse)}.crew-message-reply-reference{display:flex;max-width:100%;align-items:flex-start;gap:7px;margin:2px 0 7px;padding:7px 9px;border:0;border-left:3px solid currentColor;border-radius:0;background:#ffffff29;opacity:.9}.crew-message-reply-reference>span{display:grid;min-width:0;gap:2px}.crew-message-reply-reference strong,.crew-message-reply-reference small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-message-reply-reference strong,.crew-message-reply-reference small{font-size:11px}@keyframes crew-recording-pulse{50%{opacity:.35}}.crew-reply-preview,.crew-file-preview-strip{display:flex;min-width:0;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-reply-preview>span{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-reply-preview button,.crew-file-preview-strip button{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent}.crew-file-preview-strip{overflow-x:auto}.crew-file-preview-strip>span{display:flex;min-width:0;max-width:260px;align-items:center;gap:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-emoji-picker,.crew-slash-menu,.crew-product-picker{position:absolute;bottom:calc(100% - 2px);left:16px;z-index:42;max-height:320px;margin:0 0 6px;overflow:auto;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);box-shadow:var(--cc-shadow-menu)}.crew-emoji-picker{display:grid;width:auto;grid-template-columns:repeat(6,34px);gap:3px;padding:8px}.crew-emoji-picker button{display:grid;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;font-size:18px}.crew-emoji-picker button:hover{background:var(--cc-surface-hover)}.crew-slash-menu{display:grid;width:min(440px,calc(100% - 32px));max-height:214px;padding:6px;overflow-x:hidden;overflow-y:auto}.crew-slash-menu button{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;min-height:44px;align-items:center;padding:8px 10px;border:0;border-radius:var(--cc-radius-sm);background:transparent;text-align:left}.crew-slash-menu button:hover{background:var(--cc-surface-hover)}.crew-slash-menu span{overflow:hidden;color:var(--cc-text-muted);white-space:nowrap;text-overflow:ellipsis}.crew-slash-menu-state{padding:16px 14px;color:var(--cc-text-muted);text-align:center}.crew-slash-menu-state.error{color:var(--cc-danger)}.crew-product-picker{display:grid;width:min(460px,calc(100% - 32px));padding:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.crew-flow-picker{max-height:264px;overflow-x:hidden;overflow-y:auto}.crew-product-picker>button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:56px;padding:8px;border:0;border-radius:var(--cc-radius-sm);background:transparent;text-align:left}.crew-product-picker>button:hover{background:var(--cc-surface-hover)}.crew-product-picker>button.active{background:var(--cc-ai-soft);box-shadow:inset 3px 0 0 var(--cc-ai)}.crew-product-picker-thumb{display:grid;width:36px;height:36px;place-items:center;overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-product-picker-thumb img{width:100%;height:100%;object-fit:cover}.crew-product-picker>button>span:nth-child(2){display:grid;min-width:0}.crew-product-picker strong,.crew-product-picker small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-product-picker small{color:var(--cc-text-muted)}.crew-product-picker b{font-size:12px}.crew-product-picker-empty{display:grid;gap:4px;padding:18px;color:var(--cc-text-muted);text-align:center}.crew-product-picker-empty strong{color:var(--cc-text)}.crew-product-picker-footer{position:sticky;bottom:-6px;display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:10px;margin:4px -6px -6px;padding:8px 10px;border-top:1px solid var(--cc-line-soft);background:var(--cc-surface)}.crew-product-picker-footer>span{color:var(--cc-text-muted);font-size:11px;font-weight:700}.crew-product-picker-footer .cc-button{min-height:36px}.crew-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;border:0;border-radius:0}.crew-template-picker,.crew-new-chat-modal{position:fixed;top:50%;left:50%;z-index:110;display:grid;width:min(760px,calc(100vw - 40px));max-height:min(720px,calc(100dvh - 40px));overflow:hidden;transform:translate(-50%,-50%);border:1px solid var(--cc-line);border-radius:var(--cc-radius-panel);background:var(--cc-surface);box-shadow:var(--cc-shadow-menu)}.crew-template-picker{grid-template-rows:auto auto auto minmax(0,1fr)}.crew-template-picker>header,.crew-new-chat-modal>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--cc-line-soft)}.crew-template-picker>header>div,.crew-new-chat-modal>header>div{display:grid;gap:3px}.crew-template-picker>header span,.crew-new-chat-modal>header span{color:var(--cc-text-muted);font-size:12px}.crew-template-picker>header button,.crew-new-chat-modal>header button{display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent}.crew-template-search{display:flex;min-height:44px;align-items:center;gap:8px;margin:12px 18px 6px;padding:0 11px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-template-search input{width:100%;min-width:0;border:0;background:transparent;outline:0}.crew-template-filters{display:flex;gap:6px;padding:6px 18px 12px;overflow-x:auto}.crew-template-filters select{width:auto;min-width:160px;min-height:36px;flex:0 0 auto;padding:0 30px 0 10px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-template-picker-body{display:grid;min-height:0;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--cc-line-soft)}.crew-template-list{min-height:0;max-height:280px;overflow-x:hidden;overflow-y:auto;padding:8px;border-right:0}.crew-template-list button{display:grid;width:100%;gap:4px;padding:10px;border:0;border-radius:var(--cc-radius-sm);background:transparent;text-align:left}.crew-template-list button:hover,.crew-template-list button.active{background:var(--cc-surface-muted)}.crew-template-list button>span:last-child{overflow:hidden;color:var(--cc-text-muted);white-space:nowrap;text-overflow:ellipsis}.crew-template-empty{padding:24px 12px;color:var(--cc-text-muted);text-align:center}.crew-template-meta-line{display:flex;gap:5px;color:var(--cc-text-muted)}.crew-template-preview{margin:12px;padding:16px;overflow-y:auto;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-template-picker>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid var(--cc-line-soft)}.crew-template-picker>footer button{display:inline-flex;width:auto;min-width:0;min-height:40px;height:40px;flex:0 0 auto;align-items:center;justify-content:center;padding:0 14px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);white-space:nowrap}.crew-template-picker>footer button:last-child{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-new-chat-modal{width:min(560px,calc(100vw - 40px))}.crew-new-chat-controls{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:8px;padding:14px 18px}.crew-new-chat-controls label{display:flex;align-items:center;gap:8px;padding:0 10px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-new-chat-controls input{width:100%;border:0;background:transparent;outline:0}.crew-new-chat-list{min-height:0;overflow-y:auto;padding:0 10px 12px}.crew-new-chat-list>button{display:grid;width:100%;min-height:58px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent;text-align:left}.crew-new-chat-list>button:hover{background:var(--cc-surface-hover)}.crew-new-chat-list>button>span:nth-child(2){display:grid;min-width:0}.crew-new-chat-list small,.crew-new-chat-list i{color:var(--cc-text-muted);font-size:11px;font-style:normal}.crew-new-chat-list>article{display:grid;place-items:center;gap:6px;padding:32px;color:var(--cc-text-muted);text-align:center}.crew-contact-panel,.crew-chat-search-panel{overflow-y:auto;padding:16px;border-left:1px solid var(--cc-line)}.crew-contact-panel{padding-top:0}.crew-detail-header{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 12px}.crew-panel-close{display:grid;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent}.crew-panel-close:hover{background:var(--cc-surface-hover)}.crew-contact-card{display:flex;align-items:center;gap:12px;padding:4px 0 12px}.crew-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.crew-avatar.large{width:48px;height:48px;flex:0 0 48px;font-size:17px}.crew-contact-card>div{display:grid;min-width:0;gap:2px}.crew-contact-card p,.crew-contact-card small{overflow:hidden;color:var(--cc-text-muted);white-space:nowrap;text-overflow:ellipsis}.crew-contact-edit-link{display:flex;width:100%;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-sm);background:transparent}.crew-contact-edit-link:hover{background:var(--cc-surface-hover)}.crew-intent-card{display:grid;gap:8px;margin:12px 0;padding:12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-purple-soft);color:var(--cc-purple)}.crew-intent-card>div{display:flex;align-items:center;gap:7px;color:var(--cc-purple)}.crew-intent-card p{margin:0;line-height:1.45}.crew-side-section{display:grid;gap:10px;padding:16px 0;border-top:1px solid var(--cc-line-soft)}.crew-side-section h4{margin:0;font-size:12px}.crew-mini-form{display:grid;gap:10px}.crew-mini-form label{display:grid;gap:5px;color:var(--cc-text-muted);font-size:11px;font-weight:650}.crew-mini-form input,.crew-mini-form select,.crew-mini-form textarea{width:100%;min-width:0;padding-inline:10px}.crew-mini-form textarea{min-height:88px;padding-block:9px;resize:vertical}.crew-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crew-inline-fields.single{grid-template-columns:minmax(0,1fr)}.crew-exclusion-box{display:grid;gap:4px;padding:8px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-switch-row{display:grid;min-height:48px;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:10px;padding-inline:12px;color:var(--cc-text)}.crew-switch-row>span{display:grid;gap:2px}.crew-switch-row small{color:var(--cc-text-muted);font-weight:450;line-height:1.3}.crew-switch-row input{position:absolute;width:1px;height:1px;opacity:0}.crew-switch-row i{position:relative;justify-self:end;width:42px;height:24px;border-radius:var(--cc-radius-pill);background:var(--cc-line)}.crew-switch-row i:after{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--cc-surface);content:"";transition:transform var(--cc-motion)}.crew-switch-row input:checked+i{background:var(--cc-black)}.crew-switch-row input:checked+i:after{transform:translate(18px)}.crew-crm-save-button,.crew-mini-form button[type=submit]{min-height:40px;padding:0 12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-black);color:var(--cc-text-inverse)}.crew-side-section dl{display:grid;gap:0;margin:0}.crew-side-section dl>div{display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--cc-line-soft)}.crew-side-section dt{color:var(--cc-text-muted)}.crew-side-section dd{margin:0;overflow:hidden;text-align:right;text-overflow:ellipsis}.crew-label-editor{display:flex;flex-wrap:wrap;gap:6px}.crew-label-editor button{min-height:30px;padding:0 9px;border:0;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);font-size:11px}.crew-label-editor button.active{background:var(--label-color);color:var(--cc-neutral-inverse)}.crew-note{padding:10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-note p{margin:4px 0 0;color:var(--cc-text-muted)}.crew-operational-context{display:grid;gap:7px}.crew-context-resource{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-context-resource>svg{width:30px;height:30px;padding:7px;border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text-muted)}.crew-context-resource>div{display:grid;min-width:0;gap:2px}.crew-context-resource strong,.crew-context-resource span,.crew-context-resource small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-context-resource strong{font-size:12px;text-transform:capitalize}.crew-context-resource span,.crew-context-resource small{color:var(--cc-text-muted);font-size:10px;text-transform:capitalize}.crew-context-resource.payment{background:var(--cc-success-soft)}.crew-context-resource.payment>svg{color:var(--cc-success)}.crew-flow-submissions{gap:8px}.crew-flow-submissions-scroll{display:grid;max-height:440px;gap:8px;overflow-x:hidden;overflow-y:auto;padding-right:2px;overscroll-behavior:contain;scrollbar-width:none}.crew-flow-submissions-scroll::-webkit-scrollbar{display:none}.crew-flow-submission{display:grid;gap:10px;padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-flow-submission.pending_review{background:var(--cc-warning-soft)}.crew-flow-submission.succeeded{background:var(--cc-success-soft)}.crew-flow-submission.failed,.crew-flow-submission.rejected{background:var(--cc-danger-soft)}.crew-flow-submission>header{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:10px}.crew-flow-submission>header>svg{width:30px;height:30px;padding:7px;border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text-muted)}.crew-flow-submission>header>div{display:grid;min-width:0;gap:2px}.crew-flow-submission>header strong,.crew-flow-submission>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-flow-submission>header span,.crew-flow-submission>header small{color:var(--cc-text-muted);font-size:10px}.crew-flow-submission>dl{display:grid;gap:0;margin:0}.crew-flow-submission>dl>div{display:grid;min-height:30px;grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);align-items:center;gap:8px;border-bottom:1px solid var(--cc-divider-translucent)}.crew-flow-submission dt{color:var(--cc-text-muted);font-size:10px;text-transform:capitalize}.crew-flow-submission dd{margin:0;overflow-wrap:anywhere;font-size:11px;font-weight:700;text-align:right}.crew-flow-submission>p{margin:0;color:var(--cc-text-muted);font-size:11px;line-height:1.4}.crew-flow-submission .crew-flow-error{color:var(--cc-danger)}.crew-flow-review-actions{display:flex;justify-content:flex-end;gap:5px}.crew-flow-review-actions .cc-icon-button{width:32px;height:32px;flex-basis:32px;background:var(--cc-surface)}.crew-flow-review-actions .cc-icon-button.success{background:var(--cc-black);color:var(--cc-text-inverse)}.crew-flow-review-actions .cc-icon-button.danger{background:var(--cc-danger-soft);color:var(--cc-danger)}.crew-flow-submission.compact{width:min(360px,100%);margin-top:8px;border:1px solid var(--cc-divider-translucent);background:var(--cc-card-translucent);color:var(--cc-text)}.crew-flow-submission.compact>header small{align-self:center;padding:3px 6px;border-radius:var(--cc-radius-xs);background:var(--cc-surface-hover)}.crew-flow-review-fields{display:grid;gap:12px}.crew-flow-review-fields .cc-field input[type=checkbox]{width:22px;min-height:22px;padding:0}.crew-empty-state{display:grid;min-width:0;place-items:center;background:var(--cc-surface-subtle)}.crew-empty-chat-card{display:grid;max-width:380px;place-items:center;gap:8px;padding:24px;border:0;background:transparent;text-align:center}.crew-empty-chat-card h2{margin:4px 0 0;font-size:22px}.crew-empty-chat-card p{margin:0;color:var(--cc-text-muted);line-height:1.5}.crew-inbox-drawer-dismiss-area{display:none}.crew-inbox-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:89;border:0;border-radius:0;background:var(--cc-backdrop)}.crew-connected-tools{position:static;display:inline-flex}.crew-connected-tools>button{position:relative}.crew-tool-count{position:absolute;top:-5px;right:-5px;display:grid;width:16px;height:16px;place-items:center;border:2px solid var(--cc-surface);border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse);font-size:8px;font-weight:800}.crew-tool-menu{position:absolute;z-index:42;right:auto;bottom:calc(100% - 2px);left:16px;display:grid;width:min(460px,calc(100% - 32px));max-height:min(320px,48dvh);margin:0 0 6px;overflow-x:hidden;overflow-y:auto;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);box-shadow:var(--cc-shadow-menu);scrollbar-width:none}.crew-tool-menu::-webkit-scrollbar{display:none}.crew-tool-menu header{display:grid;gap:2px;padding:13px 14px 10px;border-bottom:1px solid var(--cc-line-soft)}.crew-tool-menu header strong{font-size:13px}.crew-tool-menu header small{color:var(--cc-text-muted);font-size:10px}.crew-tool-menu>button{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;width:100%;height:auto;min-height:60px;align-items:center;gap:10px;padding:8px 10px;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent;text-align:left}.crew-tool-menu>button:hover{background:var(--cc-surface-hover)}.crew-tool-menu-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text)}.crew-tool-menu-copy{display:grid;min-width:0;justify-self:stretch;gap:3px;text-align:left}.crew-tool-menu>button>svg:last-child{justify-self:end}.crew-tool-menu>button strong,.crew-tool-menu>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-tool-menu>button strong{font-size:12px;font-weight:650}.crew-tool-menu>button small{color:var(--cc-text-muted);font-size:10px;line-height:1.35}.crew-tool-form{display:grid;gap:14px}.crew-tool-form label{display:grid;gap:6px;color:var(--cc-text-muted);font-size:12px;font-weight:700}.crew-tool-form input:not([type=checkbox]),.crew-tool-form select,.crew-tool-form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text);font:inherit}.crew-tool-form input:not([type=checkbox]),.crew-tool-form select,.crew-tool-form textarea{font-weight:400}.crew-tool-form textarea{min-height:92px;resize:vertical}.crew-tool-form input[type=checkbox]{width:40px;height:22px;accent-color:var(--cc-black)}.crew-tool-no-fields{margin:0;color:var(--cc-text-muted)}.crew-tool-notice{display:flex;align-items:center;gap:8px;margin-top:16px;padding:10px 12px;border-radius:var(--cc-radius-control);background:var(--cc-success-soft);color:var(--cc-success);font-size:12px;font-weight:700}.crew-tool-notice.error{background:var(--cc-danger-soft);color:var(--cc-danger)}.crew-tool-footer-actions{display:flex;width:100%;align-items:center;justify-content:flex-end;gap:8px}.crew-tool-result{display:grid;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--cc-line-soft)}.crew-tool-result>header{display:flex;align-items:center;justify-content:space-between}.crew-tool-result>header button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:50%;background:var(--cc-surface-subtle)}.crew-tool-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.crew-tool-result-grid>div{min-width:0;padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-control)}.crew-tool-result-grid dt{color:var(--cc-text-muted);font-size:10px;font-weight:700}.crew-tool-result-grid dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:12px}.crew-tool-result-grid a{display:inline-flex;align-items:center;gap:4px;color:var(--cc-text)}.crew-tool-result-list{display:grid;gap:6px}.crew-tool-result-status{display:flex;align-items:center;gap:8px;color:var(--cc-success)}.crew-tool-result-table,.crew-tool-result-timeline{display:grid;gap:8px}.crew-tool-result-list>article,.crew-tool-result-table>article,.crew-tool-result-timeline>article{padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-control);background:var(--cc-surface)}.crew-tool-empty-value{color:var(--cc-text-muted)}@media(max-width:1180px){.crew-inbox-layout,.crew-inbox-layout.contact-hidden{grid-template-columns:330px minmax(360px,1fr) 280px}.crew-inbox-layout.contact-hidden{grid-template-columns:330px minmax(360px,1fr)}.crew-inbox-control-panel{position:fixed;inset:0 auto 0 var(--cc-sidebar-width);z-index:90;width:240px;height:100dvh;border:0;border-right:1px solid var(--cc-line-soft);border-radius:0;box-shadow:none;transform:translate(-110%);transition:transform var(--cc-motion)}.crew-shell.inbox-drawer-open .crew-inbox-control-panel{transform:translate(0)}.crew-shell.inbox-drawer-open .crew-inbox-drawer-dismiss-area{display:block}}@media(max-width:780px){.crew-inbox-layout,.crew-inbox-layout.contact-hidden{display:block;height:calc(100dvh - var(--cc-mobile-bar-height) - var(--cc-mobile-nav-height))}.crew-shell.mobile-chat-open .crew-inbox-layout,.crew-shell.mobile-chat-open .crew-inbox-layout.contact-hidden{height:calc(100dvh - var(--cc-mobile-bar-height))}.crew-inbox-control-panel{inset:0 auto 0 0;z-index:7200;width:min(82vw,304px);height:100dvh;padding:18px 16px;border-right:0}.crew-inbox-drawer-backdrop{z-index:7190}.crew-inbox-rail{width:100%;height:100%;border:0}.crew-inbox-layout.chat-open .crew-inbox-rail{display:none}.crew-chat-panel{width:100%;height:100%}.crew-inbox-layout:not(.chat-open)>.crew-chat-panel,.crew-inbox-layout:not(.chat-open)>.crew-contact-panel,.crew-inbox-layout:not(.chat-open)>.crew-chat-search-panel{display:none}.crew-inbox-layout.chat-open>.crew-contact-panel{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;height:100dvh;border:0;background:var(--cc-surface)}.crew-inbox-layout.chat-open>.crew-chat-search-panel{position:fixed;inset:var(--cc-mobile-bar-height) 0 0;z-index:55;border:0;background:var(--cc-surface)}.crew-list-head{display:none}.crew-list-toolbar{min-height:54px;gap:8px;align-items:center;padding:6px 12px;overflow:visible}.crew-unanswered-switch{width:auto;max-width:none;font-size:10px}.crew-search{margin:7px 12px 8px}.crew-thread-list{padding-inline:12px}.crew-thread-row{min-height:88px;padding-block:10px;gap:10px}.crew-thread-main{gap:4px}.crew-thread-meta{margin-top:5px;align-items:center}.crew-thread-source{max-width:18px;flex:0 0 18px;gap:0;font-size:0}.crew-thread-source .crew-channel-brand-icon{width:18px;height:18px;flex-basis:18px}.crew-thread-signals{gap:6px}.crew-queue-label,.crew-thread-mode{padding:3px 7px;border-radius:5px;font-size:9px}.crew-chat-header{display:none}.crew-mobile-contact-toggle svg{transform:rotate(90deg)}.crew-chat-context{min-height:34px;padding-inline:12px}.crew-chat-body{padding:14px 12px 18px}.crew-message{max-width:88%}.crew-message.is-emoji-only{max-width:72%}.crew-message.is-emoji-only p{font-size:32px}.crew-message.is-sticker{width:144px;max-width:144px}.crew-attachment-card.image.sticker,.crew-attachment-card.image.sticker img{width:132px;max-width:132px;height:132px;max-height:132px}.crew-attachment-card.image.gif,.crew-attachment-card.image.gif img{width:min(232px,100%);max-height:232px}.crew-message-tools{top:-9px;display:none}.crew-message.touch-actions-open .crew-message-tools,.crew-message.reaction-open .crew-message-tools{display:flex}.crew-message.reaction-open{margin-top:48px}.crew-reaction-picker{position:fixed;right:12px;bottom:calc(var(--cc-mobile-nav-height) + 92px);left:12px;width:auto;max-width:none;justify-content:space-between}.crew-message.outgoing .crew-reaction-picker{right:12px;left:12px}.crew-attachment-card.media{grid-template-columns:18px minmax(150px,1fr)}.crew-attachment-card.media audio{min-width:150px}.crew-composer,.crew-composer.is-recording{padding:8px 10px 10px}.crew-composer-main{gap:4px}.crew-empty-state{display:none}.crew-emoji-picker,.crew-product-picker{right:10px;left:10px;width:auto;max-height:min(280px,45dvh)}.crew-flow-submission.compact{width:100%}.crew-slash-menu{right:10px;left:10px;width:auto;max-height:min(214px,45dvh)}.crew-emoji-picker{right:auto;grid-template-columns:repeat(6,34px)}.crew-tool-menu{right:10px;bottom:calc(100% - 2px);left:10px;width:auto;max-height:min(280px,45dvh)}.crew-tool-result-grid{grid-template-columns:minmax(0,1fr)}.crew-tool-footer-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.crew-tool-footer-actions .cc-button{width:100%;min-width:0;padding-inline:8px}.crew-template-picker,.crew-new-chat-modal{top:auto;right:0;bottom:0;left:0;width:100%;max-height:86dvh;transform:none;border-right:0;border-bottom:0;border-left:0;border-radius:var(--cc-radius-panel) var(--cc-radius-panel) 0 0}.crew-template-filters{display:grid;grid-template-columns:minmax(0,1fr);overflow:visible}.crew-template-filters select{width:100%;min-width:0}.crew-template-picker-body{grid-template-columns:minmax(0,1fr)}.crew-template-preview{display:none}.crew-template-list{border-right:0}.crew-new-chat-controls{grid-template-columns:minmax(0,1fr)}}.crew-section-panel{display:block;position:static;width:100%;min-width:0;height:calc(100dvh - 76px);margin:0;overflow:auto;padding:24px;border-radius:0;background:var(--cc-surface)}.crew-section-header{display:flex;width:auto;min-height:0;height:auto;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid var(--cc-line);border-radius:0}.crew-section-header h2{margin:0;font-size:22px;line-height:1.2}.crew-section-header p{max-width:720px;margin:5px 0 0;color:var(--cc-text-muted);line-height:1.45}.crew-settings-layout,.crew-settings-main{display:grid;min-width:0;gap:0}.crew-settings-main{width:100%}.crew-settings-card{min-width:0;margin:0;padding:22px 0;border:0;border-bottom:1px solid var(--cc-line);border-radius:0;box-shadow:none;background:transparent}.crew-settings-card:first-child{padding-top:0}.crew-settings-card h3{margin:0;font-size:16px}.crew-settings-card>p{max-width:700px;margin:5px 0 18px;color:var(--cc-text-muted);line-height:1.45}.crew-module-settings-list{display:grid}.crew-module-settings-row{display:grid;min-height:64px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:10px 0;border-bottom:1px solid var(--cc-line)}.crew-module-settings-row:last-child{border-bottom:0}.crew-module-settings-row>span{display:grid;min-width:0;gap:3px}.crew-module-settings-row strong{font-size:13px}.crew-module-settings-row small{color:var(--cc-text-muted);font-size:11px;line-height:1.35}.crew-setting-switch{display:flex;align-items:center;gap:8px;cursor:pointer}.crew-setting-switch>span{position:relative;width:38px;height:22px;flex:0 0 38px;border-radius:var(--cc-radius-pill);background:var(--cc-line);transition:background var(--cc-motion)}.crew-setting-switch>span:after{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--cc-surface);content:"";transition:transform var(--cc-motion)}.crew-setting-switch input:checked+span:after{transform:translate(16px)}.crew-setting-switch b{min-width:42px;color:var(--cc-text-muted);font-size:10px;font-weight:700}.crew-agent-form-grid,.crew-settings-basic-grid,.crew-template-settings-form,.crew-config-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.crew-agent-form-grid label,.crew-template-settings-form label,.crew-config-form label{display:grid;min-width:0;gap:6px;color:var(--cc-text-muted);font-size:11px;font-weight:650}.crew-agent-form-grid input,.crew-agent-form-grid select,.crew-template-settings-form input,.crew-config-form input,.crew-config-form select{width:100%;padding:0 11px}.crew-primary-btn{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:7px;padding:0 16px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);cursor:pointer}.crew-primary-btn:disabled{cursor:default;opacity:.45}.crew-business-template-control{display:grid;grid-template-columns:minmax(210px,1fr) auto;align-items:end;gap:12px;margin-top:16px}.crew-business-template-control label{display:grid;gap:6px;color:var(--cc-text-muted);font-size:11px;font-weight:650}.crew-business-template-control select{width:100%;padding:0 11px}.crew-member-permissions{margin-top:28px;border-top:1px solid var(--cc-line);padding-top:22px}.crew-member-permissions>h3{margin:0;font-size:16px}.crew-member-permissions>p{margin:5px 0 18px;color:var(--cc-text-muted);font-size:12px}.crew-member-permission-card{padding:14px 0;border-bottom:1px solid var(--cc-line)}.crew-member-permission-card header{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}.crew-member-permission-card header span{color:var(--cc-text-muted);font-size:11px}.crew-member-permission-card>div{display:flex;flex-wrap:wrap;gap:12px 18px}.crew-member-permission-card .crew-setting-switch b{min-width:0;text-transform:capitalize}.crew-member-action-permissions{margin-top:14px;padding-top:12px;border-top:1px solid var(--cc-line)}.crew-member-action-permissions label{display:inline-flex;align-items:center;gap:6px;color:var(--cc-text-muted);font-size:11px}.crew-users-page .crew-table{margin-top:18px}.crew-user-editor{padding:18px 0;border-top:1px solid var(--cc-line);border-bottom:1px solid var(--cc-line)}.crew-user-editor header{display:flex;align-items:center;gap:8px;margin-bottom:14px}.crew-user-editor header span{margin-left:auto;color:var(--cc-text-muted);font-size:11px}.crew-user-editor-fields{display:grid;grid-template-columns:1.1fr 1.4fr .75fr .85fr 1fr;gap:10px}.crew-user-editor-fields label{display:grid;gap:5px;color:var(--cc-text-muted);font-size:10px;font-weight:650}.crew-user-editor-fields :is(input,select){width:100%;min-width:0;padding:0 10px}.crew-user-editor footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.crew-secondary-btn{min-height:42px;padding:0 16px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-pill);background:var(--cc-surface);color:var(--cc-text);cursor:pointer}.crew-secondary-btn:disabled{cursor:default;opacity:.45}@media(max-width:780px){.crew-section-panel{height:calc(100dvh - var(--cc-mobile-bar-height));padding:16px}.crew-section-header{margin-bottom:18px}.crew-section-header h2{font-size:20px}.crew-module-settings-row{gap:10px}.crew-setting-switch b{display:none}.crew-member-permission-card .crew-setting-switch b{display:block}.crew-business-template-control,.crew-user-editor-fields{grid-template-columns:1fr}.crew-user-editor footer{display:grid;grid-template-columns:1fr 1fr}}.crew-crm-pipeline,.crew-contacts-page{min-width:0;overflow:hidden}.crew-pipeline-template-control,.crew-lead-move{display:flex;min-width:0;align-items:center;gap:8px}.crew-pipeline-template-control select{min-width:180px}.crew-pipeline-settings-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-black);color:var(--cc-text-inverse);font:inherit;font-weight:700}.crew-lead-move{width:100%}.crew-lead-move select{width:100%;min-width:88px;min-height:30px;padding:4px 18px 4px 8px;border:0;border-radius:8px;background:var(--cc-surface-muted);color:var(--cc-text);font:inherit;font-size:12px}.crew-consent-fields,.crew-custom-fields{display:grid;gap:10px;margin:0;padding:12px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-consent-fields>h4,.crew-custom-fields>h4{margin:0 0 2px;color:var(--cc-text);font-size:13px;font-weight:700}.crew-custom-field-row{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr) 36px;gap:6px;align-items:center}.crew-custom-field-row button{display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--cc-text-muted)}.crew-custom-field-row button:hover{background:var(--cc-surface);color:var(--cc-text)}@media(max-width:900px){.crew-pipeline-template-control{grid-column:1 / -1}.crew-pipeline-template-control select{width:100%}}.crew-crm-pipeline{display:grid;height:100%;grid-template-rows:auto auto minmax(0,1fr);gap:12px;padding:18px;background:var(--cc-bg)}.crew-crm-pipeline .crew-section-header{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:end;gap:18px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.crew-crm-title-block{display:grid;min-width:0;gap:4px}.crew-crm-title-block h2{margin:0;color:var(--cc-text);font-size:26px;line-height:1.05}.crew-crm-title-block p{max-width:520px;margin:0;color:var(--cc-text-muted);font-size:13px;line-height:1.4}.crew-crm-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.crew-crm-metric-card{display:flex;min-width:0;min-height:54px;align-items:center;gap:9px;margin:0;padding:9px 10px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface);box-shadow:none}.crew-crm-metric-icon{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text)}.crew-crm-metric-card>div{display:grid;min-width:0;gap:1px}.crew-crm-metric-card strong{overflow:hidden;color:var(--cc-text);font-size:14px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.crew-crm-metric-card small{overflow:hidden;color:var(--cc-text-muted);font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.crew-crm-toolbar,.crew-contact-toolbar{align-items:center;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.crew-crm-toolbar{display:flex;min-width:0}.crew-crm-filter-grid{display:grid;min-width:0;flex:1 1 auto;grid-template-columns:minmax(150px,.9fr) minmax(220px,1.35fr) minmax(150px,.9fr) minmax(140px,.8fr) minmax(140px,.8fr);gap:8px}.crew-crm-process-tools{display:flex;flex:0 0 auto;align-items:center;gap:8px}.crew-contact-toolbar{display:grid;grid-template-columns:1.3fr repeat(3,minmax(170px,1fr));overflow:visible}.crew-crm-toolbar label,.crew-contact-toolbar label,.crew-mobile-filter-controls label{display:grid;min-width:0;height:42px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;padding:0 10px;overflow:hidden;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text-muted)}.crew-crm-toolbar :is(input,select),.crew-contact-toolbar :is(input,select),.crew-mobile-filter-controls :is(input,select){width:100%;min-width:0;height:40px;min-height:40px;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:var(--cc-text);font:inherit}.crew-crm-workspace{min-width:0;min-height:0;overflow:auto;border-radius:0}.crew-pipeline-board{display:grid;width:max-content;min-width:100%;min-height:100%;grid-template-columns:repeat(6,280px);gap:10px;padding:0 0 10px;overflow:visible;border-radius:0}.crew-pipeline-column>header i{background:var(--stage-color, var(--cc-text))}.crew-taxonomy-section-title>div{display:grid;min-width:0;gap:3px}.crew-taxonomy-section-title span{color:var(--cc-text-muted);font-size:12px}.crew-taxonomy-body{min-height:0}.crew-taxonomy-body>section{display:grid;gap:12px;padding:0 0 24px}.crew-taxonomy-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.crew-taxonomy-section-title>button,.crew-taxonomy-new-label>button,.crew-taxonomy-fields>button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font:inherit;font-weight:700}.crew-taxonomy-list{display:grid;gap:6px}.crew-taxonomy-item{border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-control);background:var(--cc-surface)}.crew-taxonomy-item>summary{display:grid;min-height:58px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:8px 10px;cursor:pointer;list-style:none}.crew-taxonomy-item>summary::-webkit-details-marker{display:none}.crew-taxonomy-label-icon{width:12px;height:12px;border-radius:50%}.crew-taxonomy-leading{display:flex;min-width:30px;align-items:center;gap:6px}.crew-taxonomy-leading>i{width:12px;height:12px;flex:0 0 12px;border-radius:50%}.crew-taxonomy-item>summary>span{display:grid;min-width:0;gap:1px}.crew-taxonomy-item>summary small{color:var(--cc-text-muted);font-size:11px}.crew-taxonomy-item[open]>summary>svg:last-child{transform:rotate(180deg)}.crew-taxonomy-fields,.crew-taxonomy-new-label{display:grid;gap:10px;padding:4px 14px 14px}.crew-taxonomy-fields label,.crew-taxonomy-new-label label{display:grid;gap:5px;color:var(--cc-text-muted);font-size:12px;font-weight:650}.crew-taxonomy-fields :is(input,textarea),.crew-taxonomy-new-label :is(input,textarea){width:100%;min-height:40px;padding:9px 10px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text);font:inherit}.crew-taxonomy-fields textarea,.crew-taxonomy-new-label textarea{min-height:72px;resize:vertical}.crew-taxonomy-fields input[type=color]{width:52px;padding:4px}.crew-taxonomy-order{display:flex;gap:8px}.crew-taxonomy-order button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:5px;padding:0 12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font:inherit;font-weight:700}.crew-taxonomy-order button:disabled{opacity:.4}.crew-taxonomy-fields .crew-taxonomy-delete{justify-self:start;color:var(--cc-danger);background:var(--cc-danger-soft)}.crew-taxonomy-save{justify-self:end}@media(max-width:900px){.crew-pipeline-settings-button{width:100%}}.crew-pipeline-column,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column{display:flex;min-width:238px;min-height:0;flex-direction:column;overflow:hidden;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface);box-shadow:none}.crew-pipeline-column>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.new>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.engaged>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.followup>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.hot>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.cold>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.customer>header{display:grid;min-height:58px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px 12px;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:var(--cc-surface-muted);color:var(--cc-text);box-shadow:none}.crew-pipeline-column>header>span{display:flex;min-width:0;align-items:center;gap:7px;overflow:hidden;color:inherit;font-size:12px;font-weight:780;text-overflow:ellipsis;white-space:nowrap}.crew-pipeline-column>header i,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header span i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--stage-color, #8a9690);box-shadow:none}.crew-pipeline-column>header b,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header b{display:grid;min-width:28px;height:28px;place-items:center;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text);font-size:11px;box-shadow:none}.crew-pipeline-column>header small,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header small,.crew-pipeline-column>header .crew-pipeline-value-text{grid-column:1 / -1;color:var(--cc-text-muted);font-size:10px;line-height:1.2}.crew-pipeline-cards{display:grid;grid-template-rows:none;grid-auto-rows:max-content;min-height:0;align-content:start;gap:8px;overflow-y:auto;padding:8px}.crew-lead-card,html body .crew-shell.crew-section-crm .crew-lead-card{display:block;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-bg);box-shadow:none;align-self:start;height:max-content}.crew-lead-card.selected,html body .crew-shell.crew-section-crm .crew-lead-card.selected{background:var(--cc-surface-hover)}.crew-lead-select{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;margin:0;padding:11px;overflow:hidden;border:0;border-radius:0;background:transparent;color:var(--cc-text);text-align:left;cursor:pointer}.crew-lead-top{grid-column:1;grid-row:1}.crew-lead-value-row{grid-column:2;grid-row:1;align-self:start;justify-content:flex-end}.crew-lead-date-row,.crew-lead-last-message{grid-column:1 / -1}.crew-lead-select:hover{background:var(--cc-hover-translucent)}.crew-lead-top,.crew-lead-value-row,.crew-lead-date-row,.crew-lead-meta,.crew-lead-actions{display:flex;min-width:0;align-items:center}.crew-lead-top{gap:8px}.crew-lead-top .crew-avatar{border:0;background:linear-gradient(145deg,var(--cc-avatar-start) 0%,var(--cc-avatar-mid) 48%,var(--cc-avatar-end) 100%);color:var(--cc-neutral-inverse)}.crew-lead-top>div{display:grid;min-width:0}.crew-lead-top strong,.crew-lead-top small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-lead-top small,.crew-lead-date-row,.crew-lead-meta{color:var(--cc-text-muted);font-size:10px}.crew-lead-value-row,.crew-lead-date-row{justify-content:space-between;gap:8px}.crew-lead-tag-strip{display:flex;min-width:0;grid-column:1 / -1;gap:4px;overflow:hidden}.crew-lead-value-chip{color:var(--cc-text);font-size:11px;white-space:nowrap}.crew-lead-date-row span,.crew-lead-meta span{display:flex;min-width:0;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-lead-last-message{display:-webkit-box;margin:0;overflow:hidden;color:var(--cc-text-muted);font-size:11px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.crew-lead-meta{padding:0 11px 8px}.crew-lead-actions{display:grid;grid-template-columns:auto minmax(88px,1fr) 32px 32px;align-items:center;gap:6px;padding:8px 10px;border-top:1px solid var(--cc-line-soft)}.crew-lead-origin{display:grid;width:32px;height:32px;place-items:center;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text-muted)}.crew-lead-origin .crew-channel-brand-icon{width:18px;height:18px}.crew-lead-actions .crew-mode-switch{min-width:0}.crew-lead-no-chat{color:var(--cc-text-muted);font-size:11px;white-space:nowrap}.crew-lead-more{display:grid;width:32px;height:32px;place-items:center;margin:0;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-crm-detail-sheet-body{padding:0}.crew-crm-detail-sheet-body>.crew-contact-panel.embedded{width:100%;min-width:0;height:auto;min-height:100%;padding:0 var(--cc-space-5) var(--cc-space-5);overflow:visible;border:0;background:var(--cc-surface)}.crew-crm-detail-sheet-body>.crew-contact-panel.embedded .crew-contact-card{padding-top:var(--cc-space-5)}.crew-lead-more:hover{background:var(--cc-surface-hover)}.crew-pipeline-empty{display:grid;min-height:120px;place-items:center;gap:6px;padding:22px 14px;color:var(--cc-text-muted);font-size:11px;text-align:center}.crew-crm-mobile-filter-row,.crew-mobile-stage-tabs,.crew-contact-count-row>button{display:none}.crew-crm-mobile-hot-summary{display:flex;min-height:38px;align-items:center;gap:7px;padding:0 10px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.crew-crm-hot-emoji{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:var(--cc-surface);color:var(--cc-presence-inactive)}.crew-crm-mobile-hot-summary>span:last-child{display:grid;line-height:1.05}.crew-crm-mobile-hot-summary small{color:var(--cc-text-muted);font-size:10px}.crew-mobile-metrics-empty{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crew-mobile-metrics-empty article{display:grid;gap:2px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-mobile-metrics-empty article strong{overflow:hidden;color:var(--cc-text);text-overflow:ellipsis;white-space:nowrap}.crew-mobile-metrics-empty article span{color:var(--cc-text-muted);font-size:11px}.crew-contact-count-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.crew-contact-count-row strong{font-size:13px}.crew-contact-directory-layout{display:block;width:100%;min-width:0;min-height:0;height:calc(100% - 126px);overflow:auto;border-radius:0}.crew-contact-table{width:max-content;min-width:100%;overflow:hidden;border:0;border-radius:0;background:var(--cc-surface)}.crew-contact-table-head,.crew-contact-row{display:grid;width:1220px;min-width:1220px;max-width:1220px;grid-template-columns:1.35fr 1fr 1fr .9fr .55fr 1.2fr 1fr .8fr .8fr;align-items:center;gap:12px;padding:0 12px}.crew-contact-table-head{min-height:38px;border-bottom:1px solid var(--cc-line-soft);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:9px;font-weight:700;text-transform:uppercase}.crew-contact-row{width:100%;min-height:58px;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent;color:var(--cc-text);text-align:left;cursor:pointer}.crew-contact-row:hover,.crew-contact-row.active{background:var(--cc-surface-hover)}.crew-contact-row>span{min-width:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.crew-contact-cell-name,.crew-contact-cell-phone{display:flex;align-items:center;gap:8px}.crew-detail-header,.crew-crm-detail-head{display:flex;min-height:48px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--cc-line-soft)}.crew-panel-close,.crew-crm-detail-head button{display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-panel-close:hover,.crew-crm-detail-head button:hover{background:var(--cc-surface-hover)}.crew-contact-card{display:flex;align-items:center;gap:12px;padding:18px 0;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent}.crew-contact-card h3,.crew-contact-card p{margin:0}.crew-contact-card p,.crew-contact-card small{color:var(--cc-text-muted)}.crew-side-section,.crew-intent-card{padding:16px 0;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent}.crew-clean-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:81;border:0;border-radius:0;background:var(--cc-backdrop)}@media(max-width:1120px){.crew-crm-pipeline .crew-section-header{grid-template-columns:minmax(0,1fr)}.crew-crm-summary,.crew-crm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crew-crm-toolbar{align-items:flex-end}.crew-crm-process-tools{width:min(340px,40vw)}}@media(max-width:780px){html body .crew-shell.crew-section-crm .crew-main .crew-crm-pipeline,html body .crew-shell.crew-section-crm .crew-main .crew-section-panel.crew-crm-pipeline,.crew-crm-pipeline,.crew-contacts-page{display:block;height:calc(100dvh - var(--cc-mobile-bar-height) - var(--cc-mobile-nav-height));padding:10px 12px 14px;overflow-y:auto;overflow-x:hidden;border:0;border-radius:0;background:var(--cc-surface);box-shadow:none}.crew-crm-pipeline .crew-section-header{display:none}.crew-contacts-page>.crew-section-header{display:none}.crew-crm-toolbar,.crew-contact-toolbar{display:none}html body .crew-shell.crew-section-crm .crew-main .crew-crm-mobile-filter-row,.crew-crm-mobile-filter-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:8px;margin:0 0 10px}html body .crew-shell.crew-section-crm .crew-main .crew-crm-mobile-filter-row.has-settings,.crew-crm-mobile-filter-row.has-settings{grid-template-columns:minmax(0,1fr) 42px 42px}html body .crew-shell.crew-section-crm .crew-main .crew-crm-mobile-filter-row button,.crew-crm-mobile-filter-row button,.crew-contact-count-row button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:6px;margin:0;padding:0 12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-black);color:var(--cc-text-inverse);font-weight:700}html body .crew-shell.crew-section-crm .crew-main .crew-crm-mobile-hot-summary,.crew-crm-mobile-hot-summary{display:none}.crew-crm-mobile-settings-button,.crew-crm-mobile-metrics-button{width:42px;padding:0}html body .crew-shell.crew-section-crm .crew-main .crew-mobile-stage-tabs,.crew-mobile-stage-tabs{display:flex;max-width:100%;gap:6px;margin:0 0 10px;padding:0 0 8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.crew-mobile-stage-tabs::-webkit-scrollbar{display:none}.crew-mobile-stage-tabs button{min-height:34px;flex:0 0 auto;padding:0 11px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);color:var(--cc-text);white-space:nowrap}.crew-mobile-stage-tabs button.active{background:var(--cc-black);color:var(--cc-text-inverse)}html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace,.crew-crm-workspace{width:100%;min-width:0;height:auto;min-height:0;overflow:visible;border:0;border-radius:0}html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace>.crew-pipeline-board,html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace>.crew-pipeline-board.pipeline,html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace>.crew-pipeline-board.list,.crew-pipeline-board{display:block;width:100%;max-width:100%;min-width:0;height:auto;min-height:0;padding:0;overflow:visible;border:0;border-radius:0}html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace .crew-pipeline-board>.crew-pipeline-column,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column{display:none;width:100%;min-width:0;height:auto;min-height:0;grid-template-rows:none;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace .crew-pipeline-board>.crew-pipeline-column.mobile-active,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column.mobile-active{display:block}html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace .crew-pipeline-column.mobile-active>header,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header{display:grid;min-height:46px;grid-template-columns:minmax(0,1fr) auto;padding:8px 0 9px;margin:0;overflow:visible;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent;color:var(--cc-text);box-shadow:none}.crew-pipeline-column>header b{background:var(--cc-surface-muted)}html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header small,html body .crew-shell.crew-section-crm .crew-main .crew-pipeline-column>header .crew-pipeline-value-text,.crew-pipeline-column>header small,.crew-pipeline-column>header .crew-pipeline-value-text{color:var(--cc-text-muted);text-shadow:none}html body .crew-shell.crew-section-crm .crew-main .crew-crm-workspace .crew-pipeline-column.mobile-active .crew-pipeline-cards,.crew-pipeline-cards{display:grid;width:100%;max-height:none;min-height:0;gap:8px;overflow:visible;padding:0}html body .crew-shell.crew-section-crm .crew-main .crew-lead-card,html body .crew-shell.crew-section-crm .crew-lead-card,.crew-lead-card{display:block;width:100%;min-width:0;height:auto;min-height:0;max-height:none;grid-template-rows:none;margin:0;padding:0;overflow:hidden;border:0;border-radius:10px;background:var(--cc-surface-muted);box-shadow:none}html body .crew-shell.crew-section-crm .crew-main .crew-lead-select,.crew-lead-select{display:grid;width:100%;min-height:0;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:10px 11px 7px;overflow:hidden;border:0;border-radius:0;background:transparent}html body .crew-shell.crew-section-crm .crew-main .crew-lead-top,.crew-lead-top{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px}html body .crew-shell.crew-section-crm .crew-main .crew-lead-top .crew-avatar,.crew-lead-top .crew-avatar{width:38px;height:38px}html body .crew-shell.crew-section-crm .crew-main .crew-lead-value-row,html body .crew-shell.crew-section-crm .crew-main .crew-lead-date-row,.crew-lead-value-row,.crew-lead-date-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;overflow:hidden}html body .crew-shell.crew-section-crm .crew-main .crew-lead-last-message,.crew-lead-last-message{width:100%;margin:0;color:var(--cc-text-muted)}html body .crew-shell.crew-section-crm .crew-main .crew-lead-meta,.crew-lead-meta{display:flex;min-width:0;padding:0 11px 7px;overflow:hidden}html body .crew-shell.crew-section-crm .crew-main .crew-lead-meta span,.crew-lead-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .crew-shell.crew-section-crm .crew-main .crew-lead-actions,.crew-lead-actions{display:grid;min-height:40px;grid-template-columns:auto minmax(88px,1fr) 32px 32px;align-items:center;gap:6px;padding:7px 9px;overflow:hidden;border:0;border-top:1px solid var(--cc-line-soft)}.crew-crm-detail-sheet-body>.crew-contact-panel.embedded{padding:0 var(--cc-space-4) var(--cc-space-5)}.crew-pipeline-empty{min-height:220px}.crew-contact-count-row>button{display:inline-flex}.crew-contact-directory-layout{height:auto;overflow:visible}.crew-contact-table{display:grid;width:100%;gap:0}.crew-contact-table-head{display:none}.crew-contact-row{display:grid;min-width:0;min-height:70px;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:10px 0;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:transparent}.crew-contact-cell-name{grid-column:1}.crew-contact-cell-phone{grid-column:1;color:var(--cc-text-muted)}.crew-contact-cell-last{grid-column:2;grid-row:1}.crew-contact-row>span:not(.crew-contact-cell-name):not(.crew-contact-cell-phone):not(.crew-contact-cell-last){display:none}.crew-mobile-filter-panel,.crew-mobile-metrics-panel{position:fixed;inset:auto 0 0;z-index:83;display:grid;max-height:min(72dvh,560px);gap:12px;overflow:auto;padding:16px 18px calc(18px + env(safe-area-inset-bottom));border:0;border-radius:16px 16px 0 0;background:var(--cc-surface);box-shadow:0 -18px 40px var(--cc-shadow-color)}.crew-mobile-filter-panel>span{display:none}.crew-mobile-filter-panel header,.crew-mobile-metrics-panel header{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid var(--cc-line-soft)}.crew-mobile-filter-panel header button,.crew-mobile-metrics-panel header button{display:grid;width:38px;height:38px;place-items:center;padding:0;border:0;border-radius:var(--cc-radius-sm);background:transparent}.crew-mobile-filter-controls{display:grid;gap:8px}}.crew-contacts-page{width:100%;max-width:none;min-width:0;padding:20px 24px;background:var(--cc-surface)}.crew-contacts-page .crew-contact-directory-layout{width:100%;min-width:0;overflow:auto;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-card);background:var(--cc-surface)}.crew-contacts-page .crew-contact-table{display:grid;width:100%;min-width:1180px;gap:4px;padding:4px;background:var(--cc-surface)}.crew-contacts-page .crew-contact-table-head,.crew-contacts-page .crew-contact-row{width:100%;min-width:1180px;max-width:none;grid-template-columns:minmax(210px,1.35fr) minmax(150px,1fr) minmax(140px,.9fr) minmax(120px,.8fr) minmax(80px,.55fr) minmax(190px,1.2fr) minmax(150px,1fr) minmax(120px,.8fr) minmax(120px,.8fr)}.crew-contact-cell-inbox{display:flex;min-width:0;align-items:center;gap:7px}.crew-contact-cell-inbox>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-contact-channel-icon{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted)}.crew-contact-channel-icon .crew-channel-brand-icon{width:15px;height:15px}.crew-contact-detail-sheet-body{padding:0}.crew-contact-detail-content{display:grid;min-width:0;gap:var(--cc-space-4);padding:var(--cc-space-5)}.crew-contact-detail-content .crew-contact-card,.crew-contact-detail-content .crew-side-section{margin:0}.crew-contact-detail-content .crew-mini-form{min-width:0}.crew-contact-detail-content .crew-mini-form input,.crew-contact-detail-content .crew-mini-form select,.crew-contact-detail-content .crew-mini-form textarea{min-width:0;font-weight:400}.crew-contact-advanced-fields,.crew-contact-system-data{min-width:0;border-top:1px solid var(--cc-line-soft)}.crew-contact-advanced-fields summary,.crew-contact-system-data summary{padding:11px 0;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700;cursor:pointer}.crew-contact-advanced-fields[open],.crew-contact-system-data[open]{display:grid;gap:var(--cc-space-3)}.crew-contact-system-data dl{margin:0}.crew-contacts-page .crew-contact-table-head{border:0;border-radius:calc(var(--cc-radius-sm) - 2px);background:var(--cc-surface-muted)}.crew-contacts-page .crew-contact-row{padding-inline:12px;border-bottom:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.crew-contacts-page .crew-contact-row:hover,.crew-contacts-page .crew-contact-row.active{background:var(--cc-surface-hover)}.crew-contacts-page .crew-contact-cell-name .crew-avatar{width:36px;height:36px;min-width:36px;max-width:36px;flex:0 0 36px;overflow:hidden;border-radius:50%;aspect-ratio:1}.crew-contacts-page .crew-contact-cell-name .crew-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}@media(max-width:900px){.crew-contacts-page{padding:12px 14px 0}.crew-contacts-page .crew-contact-table{min-width:0;gap:4px;padding:4px}.crew-contacts-page .crew-contact-row{min-width:0;padding:11px 12px;border-radius:var(--cc-radius-sm)}.crew-contact-detail-content{padding:var(--cc-space-4)}.crew-contact-detail-content .crew-inline-fields,.crew-contact-detail-content .crew-custom-field-row{grid-template-columns:1fr}.crew-contact-detail-content .crew-custom-field-row button{justify-self:end}}.cc-channels-page{display:grid;height:100%;min-width:0;grid-template-rows:auto auto minmax(0,1fr);gap:var(--cc-space-3);padding:var(--cc-space-5);overflow:hidden;background:var(--cc-bg)}.cc-channels-page:has(.cc-channel-notice){grid-template-rows:auto auto auto minmax(0,1fr)}.cc-channels-header{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:var(--cc-space-4)}.cc-channel-notice{display:flex;min-height:44px;align-items:center;gap:var(--cc-space-3);padding:var(--cc-space-3) var(--cc-space-4);border:0;border-radius:var(--cc-radius-control);background:var(--cc-success-soft);color:var(--cc-text);font-size:var(--cc-font-size-sm)}.cc-channel-notice>span{display:flex;flex-wrap:wrap;gap:4px}.cc-channel-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--cc-space-2)}.cc-channel-metric{display:grid;min-width:0;min-height:54px;grid-template-columns:32px auto minmax(0,1fr);align-items:center;gap:var(--cc-space-2);padding:10px 12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-channel-metric>svg{width:32px;height:32px;padding:7px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-channel-metric strong{font-size:var(--cc-font-size-lg)}.cc-channel-metric span{min-width:0;overflow:hidden;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);text-overflow:ellipsis;white-space:nowrap}.cc-channel-directory{min-width:0;min-height:0;overflow:hidden;border:0;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.cc-channel-directory-head,.cc-channel-row{display:grid;grid-template-columns:minmax(190px,1.35fr) minmax(92px,.6fr) minmax(155px,1fr) minmax(130px,.85fr) minmax(140px,.9fr) 56px;align-items:center;gap:var(--cc-space-3)}.cc-channel-directory-head{min-height:44px;padding:0 var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750;text-transform:uppercase}.cc-channel-directory-body{height:calc(100% - 44px);min-height:0;overflow-y:auto;overscroll-behavior:contain}.cc-channel-row{min-height:70px;padding:10px var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft)}.cc-channel-row:last-child{border-bottom:0}.cc-channel-row:hover{background:var(--cc-surface-hover)}.cc-channel-identity{display:flex;min-width:0;align-items:center;gap:var(--cc-space-3)}.cc-channel-identity>span:last-child{display:grid;min-width:0;gap:2px}.cc-channel-identity strong,.cc-channel-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-channel-identity small,.cc-channel-value{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-channel-icon,.cc-channel-provider-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-channel-icon .crew-channel-brand-icon,.cc-channel-provider-icon .crew-channel-brand-icon{width:20px;height:20px;border:0;border-radius:0;background:transparent}.cc-channel-status{display:inline-flex;width:fit-content;min-height:26px;align-items:center;padding:4px 9px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750}.cc-channel-status.success{background:var(--cc-success-soft);color:var(--cc-success)}.cc-channel-status.warning{background:var(--cc-warning-soft);color:var(--cc-warning)}.cc-channel-status.danger{background:var(--cc-danger-soft);color:var(--cc-danger)}.cc-channel-status.muted{background:var(--cc-surface-muted);color:var(--cc-text-muted)}.cc-channel-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-channel-row-action{display:flex;justify-content:flex-end}.cc-channel-empty{display:grid;min-height:280px;place-items:center;align-content:center;gap:var(--cc-space-2);padding:var(--cc-space-5);color:var(--cc-text-muted);text-align:center}.cc-channel-empty strong{color:var(--cc-text)}.cc-channel-empty .cc-button{margin-top:var(--cc-space-2)}.cc-channel-provider-list{display:grid;gap:4px}.cc-channel-provider-list>div{display:grid;width:100%;min-height:62px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:var(--cc-space-3);margin:0;padding:8px 10px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text);text-align:left}.cc-channel-provider-list>div.available{background:var(--cc-surface-muted)}.cc-channel-provider-list>div.unavailable{opacity:.55}.cc-channel-provider-list>div>span:nth-child(2){display:grid;min-width:0;gap:2px}.cc-channel-provider-list small{color:var(--cc-text-muted)}.cc-channel-provider-state{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:700}.cc-channel-onboarding{display:grid;gap:var(--cc-space-4);margin-top:var(--cc-space-5);padding-top:var(--cc-space-5);border-top:1px solid var(--cc-line-soft)}.cc-channel-onboarding-title,.cc-channel-onboarding-title>div{display:flex;min-width:0;gap:var(--cc-space-3)}.cc-channel-onboarding-title>div{flex-direction:column;gap:2px}.cc-channel-onboarding-title span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-channel-onboarding ol{display:grid;gap:var(--cc-space-2);margin:0;padding:0;list-style:none}.cc-channel-onboarding li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:var(--cc-space-3)}.cc-channel-onboarding li>span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse);font-size:var(--cc-font-size-xs);font-weight:750}.cc-channel-onboarding li p{display:grid;gap:2px;margin:0}.cc-channel-onboarding li small{color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-channel-connect-link{display:flex;min-height:42px;align-items:center;justify-content:center;gap:var(--cc-space-2);border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);color:var(--cc-text);font-weight:750;text-decoration:none}.cc-channel-config-summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:var(--cc-space-3);padding-bottom:var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft)}.cc-channel-config-summary>div{display:grid;gap:2px}.cc-channel-config-summary>div span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-channel-config-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cc-space-4);padding-block:var(--cc-space-5)}.cc-channel-config-fields label{display:grid;min-width:0;gap:6px}.cc-channel-config-fields label>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:600}.cc-channel-config-fields>.cc-agent-toggle-row{grid-column:1 / -1}.cc-channel-config-fields select,.cc-channel-config-fields code{display:flex;width:100%;min-height:44px;align-items:center;padding:0 12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);color:var(--cc-text);font:inherit}.cc-channel-config-fields code{overflow-wrap:anywhere}.cc-channel-connection-panel{display:grid;gap:var(--cc-space-4);margin-top:var(--cc-space-2);padding:var(--cc-space-4);border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.cc-channel-connection-panel.needs-attention{background:var(--cc-danger-soft)}.cc-channel-connection-copy{display:flex;min-width:0;align-items:flex-start;gap:var(--cc-space-3)}.cc-channel-connection-copy>span{display:grid;min-width:0;gap:3px}.cc-channel-connection-copy small{color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-channel-connection-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--cc-space-2)}.cc-channel-relink-ready{display:grid;gap:var(--cc-space-2);padding-top:var(--cc-space-3);border-top:1px solid var(--cc-line-soft)}.cc-channel-relink-ready small{color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-channel-connection-error{margin:0;color:var(--cc-danger);font-size:var(--cc-font-size-sm)}.cc-channel-danger-zone,.cc-channel-enable-zone{display:flex;align-items:center;justify-content:space-between;gap:var(--cc-space-4);padding:var(--cc-space-4);border:0;border-radius:var(--cc-radius-control);background:var(--cc-danger-soft)}.cc-channel-enable-zone{background:var(--cc-success-soft)}.cc-channel-danger-zone>div,.cc-channel-enable-zone>div{display:flex;min-width:0;align-items:flex-start;gap:var(--cc-space-3)}.cc-channel-danger-zone>div>span,.cc-channel-enable-zone>div>span{display:grid;gap:2px}.cc-channel-danger-zone small,.cc-channel-enable-zone small{color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-channel-confirmation{display:grid;place-items:center;gap:var(--cc-space-3);min-height:230px;padding:var(--cc-space-5);text-align:center}.cc-channel-confirmation strong{font-size:var(--cc-font-size-lg)}.cc-channel-confirmation p{max-width:390px;margin:0;color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-channel-team-section.cc-agent-editor-section{margin-bottom:var(--cc-space-5)}.cc-channel-team-section.cc-agent-editor-section>header{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:var(--cc-space-3)}.cc-channel-team-section.cc-agent-editor-section>header>span{display:grid;width:30px;height:30px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text)}.cc-channel-team-section.cc-agent-editor-section>header>div{display:grid;min-width:0;gap:3px}.cc-channel-team-section.cc-agent-editor-section>header strong{font-weight:650}.cc-channel-team-section.cc-agent-editor-section>header small{color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-channel-team-list>div{overflow:hidden;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-channel-team-list>div+div{margin-top:var(--cc-space-2)}.cc-channel-team-list>div>label{display:grid;min-height:58px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:var(--cc-space-3);padding:9px 10px;cursor:pointer}.cc-channel-team-list>div>label>input{width:18px;height:18px;margin:0;accent-color:var(--cc-black)}.cc-channel-team-list>div>label>span{display:grid;min-width:0;gap:2px}.cc-channel-team-list>div>label strong{font-weight:650}.cc-channel-team-list>div>label small{color:var(--cc-text-muted)}.cc-channel-team-list>div.selected{border-color:var(--cc-line-strong)}@media(max-width:980px){.cc-channel-directory-head,.cc-channel-row{grid-template-columns:minmax(180px,1.2fr) 90px minmax(130px,1fr) minmax(120px,.8fr) 52px}.cc-channel-directory-head>span:nth-child(5),.cc-channel-row>.cc-channel-value:nth-child(5){display:none}}@media(max-width:780px){.cc-channels-page,.cc-channels-page:has(.cc-channel-notice){display:block;height:calc(100dvh - var(--cc-mobile-bar-height) - var(--cc-mobile-nav-height));padding:12px 14px 18px;overflow-y:auto}.cc-channels-header{justify-content:flex-end;margin-bottom:var(--cc-space-3)}.cc-channels-header .cc-button{width:100%}.cc-channel-notice{margin-bottom:var(--cc-space-3)}.cc-channel-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:var(--cc-space-3)}.cc-channel-metric{grid-template-columns:30px auto minmax(0,1fr);padding:8px 10px}.cc-channel-metric>svg{width:30px;height:30px}.cc-channel-directory{overflow:visible;border-radius:0;background:transparent}.cc-channel-directory-head{display:none}.cc-channel-directory-body{display:grid;height:auto;gap:var(--cc-space-2);overflow:visible}.cc-channel-row{display:grid;min-height:0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity status" "instance instance" "agent action" "owner action";gap:8px 12px;padding:12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface)}.cc-channel-identity{grid-area:identity}.cc-channel-status{grid-area:status;align-self:start}.cc-channel-row>.cc-channel-value:nth-child(3){grid-area:instance}.cc-channel-row>.cc-channel-value:nth-child(4){grid-area:agent}.cc-channel-row>.cc-channel-value:nth-child(5){display:block;grid-area:owner}.cc-channel-value{display:flex;gap:6px;white-space:normal}.cc-channel-value:before{margin-right:2px;color:var(--cc-text-subtle);content:attr(data-label) ":";font-weight:700}.cc-channel-row-action{grid-area:action;align-self:end}.cc-channel-provider-list>div{grid-template-columns:40px minmax(0,1fr)}.cc-channel-provider-state{grid-column:2}.cc-channel-danger-zone,.cc-channel-enable-zone{align-items:stretch;flex-direction:column}.cc-channel-danger-zone .cc-button,.cc-channel-enable-zone .cc-button{width:100%}.cc-channel-connection-actions{display:grid;grid-template-columns:1fr}.cc-channel-connection-actions .cc-button{width:100%}.cc-channel-config-fields{grid-template-columns:1fr}}.cc-channel-member-limits{display:grid;grid-template-columns:repeat(2,minmax(0,100px)) minmax(150px,auto);align-items:end;gap:var(--cc-space-2);padding:0 10px 10px 42px}.cc-channel-member-limits>label{display:grid;gap:4px;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-channel-member-limits input[type=number]{width:100%;min-height:36px;padding:6px 9px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface)}.cc-channel-member-limits .cc-channel-member-accepts{display:flex;min-height:36px;align-items:center;gap:7px;color:var(--cc-text)}.cc-channel-member-limits .cc-channel-member-accepts input{width:18px;height:18px}@media(max-width:780px){.cc-channel-member-limits{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:10px}.cc-channel-member-limits .cc-channel-member-accepts{grid-column:1 / -1}}.crew-rules-page{overflow-y:auto}.crew-rules-page .crew-section-header>div>span{display:block;margin-bottom:5px;color:var(--cc-text-muted);font-size:10px;font-weight:700;text-transform:uppercase}.crew-secondary-button,.crew-secondary-btn{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);cursor:pointer}.crew-secondary-button:hover,.crew-secondary-btn:hover{background:var(--cc-surface-hover)}.crew-rule-command-strip{display:flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0;border:0;background:transparent}.crew-rule-command-strip .cc-page-segmented{flex:0 1 auto}.crew-rule-command-strip label{display:flex;min-width:300px;align-items:center;gap:8px;color:var(--cc-text-muted);font-size:11px}.crew-rule-command-strip select{flex:1;min-width:0;padding:0 9px}.crew-rule-status-copy{color:var(--cc-text-muted);font-size:11px}.crew-rule-status-copy strong{color:var(--cc-text)}.crew-rule-notice{margin:0 0 14px;padding:10px 12px;border-radius:var(--cc-radius-sm);background:var(--cc-purple-soft);color:var(--cc-purple);font-size:11px}.crew-rules-layout{display:grid;min-height:0;grid-template-columns:1fr;align-items:start;gap:16px;overflow:visible;border-radius:0}.crew-rule-editor,.crew-rule-board,.crew-rule-log-panel{min-width:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.crew-rule-editor-head,.crew-rule-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;border-bottom:1px solid var(--cc-line)}.crew-rule-editor-head>div,.crew-rule-board-head>div{display:grid;min-width:0;gap:3px}.crew-rule-editor-head span,.crew-rule-board-head span{color:var(--cc-text-muted);font-size:10px;font-weight:700;text-transform:uppercase}.crew-rule-editor-head strong,.crew-rule-board-head strong{font-size:15px}.crew-rule-template-section,.crew-guided-rule-block,.crew-rule-story,.crew-rule-technical-details{margin:0;padding:18px 0;border:0;border-bottom:1px solid var(--cc-line);border-radius:0;background:transparent}.crew-rule-section-title{display:grid;gap:3px;margin-bottom:10px}.crew-rule-section-title>span{font-size:13px;font-weight:700}.crew-rule-section-title small{color:var(--cc-text-muted);font-size:10px}.crew-rule-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border-radius:0}.crew-rule-template-button{display:grid;min-width:0;min-height:76px;align-content:start;gap:5px;padding:11px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);text-align:left;cursor:pointer}.crew-rule-template-button:hover{background:var(--cc-surface-hover)}.crew-rule-template-button strong{font-size:12px}.crew-rule-template-button span{color:var(--cc-text-muted);font-size:10px;line-height:1.4}.crew-rule-form-grid,.crew-rule-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px 0;border-radius:0}.crew-rule-form-grid{border-bottom:1px solid var(--cc-line)}.crew-rule-form-grid label,.crew-rule-control-grid label,.crew-rule-json{display:grid;min-width:0;gap:6px;color:var(--cc-text-muted);font-size:10px;font-weight:650}.crew-rule-form-grid input,.crew-rule-form-grid select,.crew-rule-control-grid input,.crew-rule-control-grid select{width:100%;padding:0 10px}.crew-rule-check{display:flex;min-height:42px;align-items:center;gap:8px;color:var(--cc-text)}.crew-rule-check input{width:18px;height:18px;min-height:18px;accent-color:var(--cc-black)}.crew-rule-story>div:first-child{display:grid;gap:5px}.crew-rule-story>div:first-child>span{color:var(--cc-purple);font-size:10px;font-weight:700;text-transform:uppercase}.crew-rule-story h3,.crew-rule-story p{margin:0}.crew-rule-story p{color:var(--cc-text-muted);font-size:11px;line-height:1.45}.crew-rule-story-columns,.crew-rule-card-flow{display:grid;gap:8px;margin-top:12px}.crew-rule-story-columns{grid-template-columns:1fr 1fr}.crew-rule-card-flow{grid-template-columns:1fr}.crew-rule-story-columns>div,.crew-rule-card-flow>div{display:grid;align-content:start;gap:5px;padding:10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-rule-story-columns small,.crew-rule-card-flow small{color:var(--cc-text-muted);font-size:9px;font-weight:700;text-transform:uppercase}.crew-rule-story-columns span,.crew-rule-card-flow span{font-size:10px;line-height:1.4}.crew-rule-technical-details summary{cursor:pointer;font-size:11px;font-weight:700}.crew-rule-json{margin-top:10px}.crew-rule-json textarea{width:100%;min-height:150px;padding:10px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;resize:vertical}.crew-template-settings-actions{display:flex;align-items:center;gap:10px;padding:16px 0}.crew-template-settings-actions>button{min-height:40px;padding:0 14px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse)}.crew-template-settings-actions small{color:var(--cc-text-muted);font-size:10px}.crew-rules-layout>.crew-settings-main{display:block;width:100%;margin-inline:0;overflow:visible;border-radius:0}.crew-rule-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cc-space-4)}.crew-rule-board-head{grid-column:1 / -1}.crew-rule-log-panel{padding:18px;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.crew-rule-editor-hint{display:block;padding:14px 0 0;color:var(--cc-text-muted);font-size:11px;line-height:1.45}.cc-responsive-sheet-body .crew-rule-editor{display:block}.crew-rules-page .crew-section-header .crew-secondary-button{margin-left:auto}.crew-rule-card,.crew-rule-log{display:grid;gap:10px;margin:0}.crew-rule-card{align-content:start;padding:16px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.crew-rule-log{padding:13px 0;border:0;border-bottom:1px solid var(--cc-line);border-radius:0;background:transparent}.crew-rule-card>header,.crew-rule-card>footer,.crew-rule-log>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.crew-rule-card>header>div{display:grid;gap:3px}.crew-rule-card>header strong{font-weight:650}.crew-rule-card header span,.crew-rule-log header span{width:fit-content;padding:2px 6px;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:9px;font-weight:700;text-transform:uppercase}.crew-rule-card.active header span{background:var(--cc-success-soft);color:var(--cc-success)}.crew-rule-card.simulation header span{background:var(--cc-purple-soft);color:var(--cc-purple)}.crew-rule-card p,.crew-rule-log p{margin:0;color:var(--cc-text-muted);font-size:11px;line-height:1.45}.crew-rule-card>footer{margin-top:auto;padding-top:4px}.crew-row-actions{display:flex;gap:4px}.crew-row-actions button{min-height:32px;padding:0 8px;border:0;border-radius:var(--cc-radius-sm);background:transparent;font-size:10px}.crew-row-actions button:hover{background:var(--cc-surface-hover)}.crew-rule-log-list{display:grid}.crew-rule-log-meta{display:flex;flex-wrap:wrap;gap:5px}.crew-rule-log-meta span{padding:3px 6px;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:9px}.crew-rule-empty{display:grid;place-items:center;gap:6px;padding:32px 18px;color:var(--cc-text-muted);text-align:center}@media(max-width:780px){.crew-rules-page .crew-section-header{display:flex}.crew-rules-page .crew-section-header h2{font-size:19px}.crew-rule-command-strip{display:grid;gap:8px}.crew-rule-command-strip .cc-page-segmented{width:100%}.crew-rule-command-strip label{width:100%;min-width:0}.crew-rule-command-strip select{min-width:0}.crew-rule-status-copy{padding-inline:2px}.crew-rule-template-grid,.crew-rule-form-grid,.crew-rule-control-grid,.crew-rule-story-columns,.crew-rule-card-flow,.crew-rule-board{grid-template-columns:1fr}.crew-rule-editor-head{align-items:flex-start}.crew-template-settings-actions{align-items:flex-start;flex-direction:column}}.cc-commerce-page{display:grid;height:calc(100dvh - 76px);min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr);gap:var(--cc-space-3);padding:var(--cc-space-4) var(--cc-space-5) var(--cc-space-5);overflow:hidden;background:var(--cc-bg);color:var(--cc-text)}.cc-commerce-tabs{display:flex;min-width:0;max-width:100%;gap:6px;padding:4px;overflow-x:auto;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);scrollbar-width:none}.cc-commerce-tabs::-webkit-scrollbar{display:none}.cc-commerce-tabs button{display:inline-flex;min-width:max-content;min-height:38px;flex:1 0 auto;align-items:center;justify-content:center;gap:7px;margin:0;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--cc-text-muted);font:inherit;font-size:var(--cc-font-size-sm);font-weight:700;cursor:pointer}.cc-commerce-tabs button:hover{background:var(--cc-surface-hover);color:var(--cc-text)}.cc-commerce-tabs button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.cc-commerce-tabs button b{min-width:20px;padding:2px 5px;border-radius:var(--cc-radius-pill);background:var(--cc-divider-translucent);font-size:10px;text-align:center}.cc-commerce-tabs button.active b{background:color-mix(in srgb,currentColor 18%,transparent)}.cc-commerce-workspace{min-width:0;min-height:0;overflow:hidden;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-commerce-section{display:flex;height:100%;min-width:0;min-height:0;flex-direction:column}.cc-commerce-toolbar{display:flex;min-width:0;min-height:62px;flex:0 0 auto;align-items:center;justify-content:space-between;gap:var(--cc-space-3);padding:10px var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft)}.cc-commerce-toolbar>div:first-child{display:grid;min-width:0;gap:2px}.cc-commerce-toolbar>div:first-child>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-commerce-toolbar.filters{justify-content:flex-start}.cc-commerce-result-count{margin-left:auto;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);white-space:nowrap}.cc-commerce-scroll-region{min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;padding:var(--cc-space-3) var(--cc-space-4) var(--cc-space-4)}.cc-commerce-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:var(--cc-space-2)}.cc-commerce-actions select{min-width:132px;min-height:var(--cc-control-height);max-width:164px;padding:0 24px 0 10px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font:inherit}.cc-icon-button.danger{color:var(--cc-danger)}.cc-icon-button.danger:hover{background:var(--cc-danger-soft)}.cc-commerce-notice{display:flex;width:auto;min-height:42px;flex:0 0 auto;align-items:center;margin:var(--cc-space-3) var(--cc-space-4) 0;padding:9px 12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);line-height:var(--cc-line-height-body)}.cc-commerce-error{grid-column:2 / -1;margin:0;color:var(--cc-danger);font-size:var(--cc-font-size-xs);line-height:var(--cc-line-height-body)}.cc-commerce-empty{display:grid;min-height:250px;place-items:center;align-content:center;gap:var(--cc-space-2);padding:var(--cc-space-5);color:var(--cc-text-muted);text-align:center}.cc-commerce-empty svg{margin-bottom:3px}.cc-commerce-empty strong{color:var(--cc-text)}.cc-commerce-empty span{max-width:430px;font-size:var(--cc-font-size-sm);line-height:var(--cc-line-height-body)}.cc-commerce-catalog-list{display:grid}.cc-commerce-catalog{display:grid;min-width:0;min-height:78px;grid-template-columns:42px minmax(220px,1fr) 110px minmax(140px,.7fr) auto;align-items:center;gap:var(--cc-space-3);padding:12px 4px;border-bottom:1px solid var(--cc-line-soft)}.cc-commerce-catalog:last-child{border-bottom:0}.cc-commerce-catalog-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-catalog-copy{display:grid;min-width:0;gap:2px}.cc-commerce-catalog-copy strong,.cc-commerce-catalog-copy span,.cc-commerce-catalog-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-commerce-catalog-copy span,.cc-commerce-catalog-copy small,.cc-commerce-catalog time{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-status{display:inline-flex;width:fit-content;min-height:26px;align-items:center;padding:4px 9px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750;white-space:nowrap}.cc-commerce-status.synced,.cc-commerce-status.completed,.cc-commerce-status.approved,.cc-commerce-status.delivered,.cc-commerce-status.paid,.cc-commerce-status.published{background:var(--cc-success-soft);color:var(--cc-success)}.cc-commerce-status.running,.cc-commerce-status.pending,.cc-commerce-status.payment_pending,.cc-commerce-status.review,.cc-commerce-status.received{background:var(--cc-warning-soft);color:var(--cc-warning)}.cc-commerce-status.error,.cc-commerce-status.failed,.cc-commerce-status.rejected,.cc-commerce-status.cancelled,.cc-commerce-status.deprecated{background:var(--cc-danger-soft);color:var(--cc-danger)}.cc-commerce-search,.cc-commerce-select{display:grid;min-height:var(--cc-control-height);grid-template-columns:20px minmax(0,1fr);align-items:center;gap:var(--cc-space-2);padding:0 12px;border:0;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.cc-commerce-search{width:min(390px,100%)}.cc-commerce-select{width:min(290px,100%)}.cc-commerce-search input,.cc-commerce-select select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--cc-text);font:inherit}.cc-commerce-product-grid,.cc-commerce-message-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--cc-space-3)}.cc-commerce-message-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.cc-commerce-product,.cc-commerce-message-card{display:grid;min-width:0;padding:12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-product{grid-template-columns:58px minmax(0,1fr);align-items:start;gap:var(--cc-space-3)}.cc-commerce-product-image{display:grid;width:58px;aspect-ratio:1;place-items:center;overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text-muted)}.cc-commerce-product-image img{width:100%;height:100%;object-fit:cover}.cc-commerce-product-copy{display:grid;min-width:0;gap:3px}.cc-commerce-product-copy strong,.cc-commerce-product-copy span,.cc-commerce-product-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-commerce-product-copy span,.cc-commerce-product-copy small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-product footer{display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,1fr) auto 36px;align-items:center;gap:var(--cc-space-2);padding-top:10px;border-top:1px solid var(--cc-line-soft)}.cc-commerce-product footer span{color:var(--cc-success);font-size:var(--cc-font-size-xs);font-weight:700}.cc-commerce-product footer span.unavailable{color:var(--cc-danger)}.cc-commerce-order-list,.cc-commerce-reply-list{display:grid}.cc-commerce-order-head,.cc-commerce-order{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(140px,.9fr) 95px 110px minmax(135px,.8fr) minmax(230px,auto);align-items:center;gap:var(--cc-space-3)}.cc-commerce-order-head{min-height:36px;padding:0 4px;border-bottom:1px solid var(--cc-line-soft);color:var(--cc-text-muted);font-size:10px;font-weight:750;text-transform:uppercase}.cc-commerce-order{min-width:0;min-height:70px;padding:10px 4px;border-bottom:1px solid var(--cc-line-soft)}.cc-commerce-order:last-child{border-bottom:0}.cc-commerce-order-customer{display:grid;min-width:0;gap:2px}.cc-commerce-order-customer strong,.cc-commerce-order-customer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-commerce-order-customer span,.cc-commerce-order p,.cc-commerce-order time{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-order p{margin:0}.cc-commerce-message-card{min-height:190px;grid-template-rows:auto auto minmax(0,1fr) auto;gap:var(--cc-space-3)}.cc-commerce-message-card header,.cc-commerce-message-card footer{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:var(--cc-space-3)}.cc-commerce-message-card>p{margin:0;overflow:hidden;color:var(--cc-text-muted);line-height:var(--cc-line-height-body);white-space:pre-wrap}.cc-commerce-message-card footer{align-items:flex-end;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-message-card footer>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-commerce-reply{display:grid;min-width:0;min-height:62px;grid-template-columns:150px minmax(0,1fr) 110px 92px;align-items:center;gap:var(--cc-space-3);padding:9px 4px;border-bottom:1px solid var(--cc-line-soft)}.cc-commerce-reply:last-child{border-bottom:0}.cc-commerce-reply p{margin:0;overflow:hidden;color:var(--cc-text-muted);text-overflow:ellipsis;white-space:nowrap}.cc-commerce-reply time{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-form{display:grid;gap:var(--cc-space-5)}.cc-commerce-form label{display:grid;min-width:0;gap:6px}.cc-commerce-form label>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.cc-commerce-form input,.cc-commerce-form select,.cc-commerce-form textarea{width:100%;min-height:var(--cc-control-height);padding:9px 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);outline:0;background:var(--cc-surface);color:var(--cc-text);font:inherit}.cc-commerce-form textarea{min-height:120px;resize:vertical}.cc-commerce-form input:focus,.cc-commerce-form select:focus,.cc-commerce-form textarea:focus{border-color:var(--cc-black);box-shadow:none}.cc-commerce-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:var(--cc-space-3)}.cc-commerce-form-note{display:grid;grid-template-columns:22px minmax(0,1fr);gap:var(--cc-space-3);padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);line-height:var(--cc-line-height-body)}.cc-commerce-prefix-field{display:grid;min-height:var(--cc-control-height);grid-template-columns:34px minmax(0,1fr);align-items:center;overflow:hidden;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control)}.cc-commerce-prefix-field>span{display:grid;height:100%;place-items:center;background:var(--cc-surface-muted);color:var(--cc-text)}.cc-commerce-prefix-field input{border:0;border-radius:0}.cc-commerce-confirm{margin:0;color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-commerce-confirm strong{color:var(--cc-text)}.cc-commerce-product-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cc-space-3)}.cc-commerce-product-detail-image{display:grid;grid-column:1 / -1;width:100%;max-height:280px;aspect-ratio:16 / 10;place-items:center;overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text-muted)}.cc-commerce-product-detail-image img{width:100%;height:100%;object-fit:contain}.cc-commerce-product-detail>div:not(.cc-commerce-product-detail-image){display:grid;min-width:0;gap:3px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-product-detail>div.wide,.cc-commerce-product-detail>p,.cc-commerce-product-detail>details{grid-column:1 / -1}.cc-commerce-product-detail>div>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-product-detail>div>strong{overflow-wrap:anywhere}.cc-commerce-product-detail>p{margin:0;color:var(--cc-text-muted);line-height:var(--cc-line-height-body)}.cc-commerce-link-button{display:inline-flex;min-height:var(--cc-control-height);align-items:center;justify-content:center;gap:var(--cc-space-2);padding:0 var(--cc-space-4);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font-weight:700;text-decoration:none}.cc-commerce-order-detail{display:grid;gap:var(--cc-space-5)}.cc-commerce-order-detail>header{display:grid;grid-template-columns:1fr 1fr;gap:var(--cc-space-3);padding:14px;border-radius:var(--cc-radius-sm);background:var(--cc-black);color:var(--cc-text-inverse)}.cc-commerce-order-detail>header div{display:grid;gap:3px}.cc-commerce-order-detail>header span{color:color-mix(in srgb,currentColor 68%,transparent);font-size:var(--cc-font-size-xs)}.cc-commerce-order-detail>header strong{font-size:var(--cc-font-size-lg)}.cc-commerce-order-detail>dl{display:grid;grid-template-columns:1fr 1fr;gap:var(--cc-space-3);margin:0}.cc-commerce-order-detail>dl div{display:grid;gap:3px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-order-detail dt{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-order-detail dd{margin:0;font-weight:750}.cc-commerce-order-detail h3{margin:0 0 10px;font-size:var(--cc-font-size-md)}.cc-commerce-order-items{display:grid;border-top:1px solid var(--cc-line-soft)}.cc-commerce-order-items article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--cc-space-3);padding:12px 0;border-bottom:1px solid var(--cc-line-soft)}.cc-commerce-order-items article>div{display:grid;gap:2px}.cc-commerce-order-items article span,.cc-commerce-order-items article small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-order-status-select{min-height:var(--cc-control-height);padding:0 30px 0 12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font:inherit;font-weight:700}.cc-commerce-technical-details{min-width:0;border-top:1px solid var(--cc-line-soft)}.cc-commerce-technical-details summary{padding:12px 0;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700;cursor:pointer}.cc-commerce-technical-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cc-space-2);margin:0}.cc-commerce-technical-details dl>div{display:grid;min-width:0;gap:3px;padding:10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-technical-details dt{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-technical-details dd{margin:0;overflow-wrap:anywhere;font-size:var(--cc-font-size-sm);font-weight:700}.cc-commerce-template-preview,.cc-commerce-flow-readonly{display:grid;gap:var(--cc-space-4)}.cc-commerce-preview-meta{display:flex;min-width:0;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--cc-space-2)}.cc-commerce-preview-meta>span:last-child{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-commerce-template-preview>article{display:grid;grid-template-columns:24px minmax(0,1fr);gap:var(--cc-space-3);padding:var(--cc-space-4);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-template-preview>article p,.cc-commerce-preview-note{margin:0;color:var(--cc-text-muted);line-height:var(--cc-line-height-body);white-space:pre-wrap}.cc-commerce-flow-readonly-fields{display:grid;gap:var(--cc-space-2)}.cc-commerce-flow-readonly-fields>div{display:grid;gap:2px;padding:11px 12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-flow-readonly-fields small{color:var(--cc-text-muted)}.cc-commerce-builder{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--cc-space-6)}.cc-commerce-builder-config,.cc-commerce-template-builder{display:grid;min-width:0;align-content:start;gap:var(--cc-space-5)}.cc-commerce-builder label,.cc-commerce-template-builder label{display:grid;min-width:0;gap:6px}.cc-commerce-builder label>span,.cc-commerce-template-builder label>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.cc-commerce-builder input,.cc-commerce-builder select,.cc-commerce-builder textarea,.cc-commerce-template-builder input,.cc-commerce-template-builder select,.cc-commerce-template-builder textarea{width:100%;min-height:var(--cc-control-height);padding:9px 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);outline:0;background:var(--cc-surface);color:var(--cc-text);font:inherit}.cc-commerce-builder input:focus,.cc-commerce-builder select:focus,.cc-commerce-builder textarea:focus,.cc-commerce-template-builder input:focus,.cc-commerce-template-builder select:focus,.cc-commerce-template-builder textarea:focus{border-color:var(--cc-black);box-shadow:none}.cc-commerce-builder textarea{min-height:76px;resize:vertical}.cc-commerce-builder-heading,.cc-commerce-product-picker-list>header{display:flex;align-items:center;justify-content:space-between;gap:var(--cc-space-3);padding-top:var(--cc-space-2)}.cc-commerce-builder-heading>div,.cc-commerce-product-picker-list>header>div{display:grid;gap:2px}.cc-commerce-builder-heading span,.cc-commerce-product-picker-list header span{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-builder-heading>b,.cc-commerce-product-picker-list header>b{display:grid;min-width:28px;height:28px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-field-list{display:grid;gap:var(--cc-space-3)}.cc-commerce-field-card{display:grid;gap:var(--cc-space-3);padding:12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-field-card>header{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:var(--cc-space-2)}.cc-commerce-field-card>header>div:nth-child(2){display:grid;gap:1px}.cc-commerce-field-card>header small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-field-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-commerce-field-options{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:var(--cc-space-3)}.cc-commerce-check-row{display:flex;min-height:var(--cc-control-height);align-items:center;gap:8px}.cc-commerce-check-row input{width:18px;min-height:18px}.cc-commerce-check-row span{color:var(--cc-text);white-space:nowrap}.cc-commerce-add-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--cc-space-2)}.cc-commerce-data-exchange{display:grid;grid-template-columns:24px minmax(0,1fr);gap:var(--cc-space-3);padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-ai-soft)}.cc-commerce-data-exchange>div{display:grid;gap:5px}.cc-commerce-data-exchange span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);line-height:var(--cc-line-height-body)}.cc-commerce-operation-config{display:grid;gap:var(--cc-space-4);padding-top:var(--cc-space-5);border-top:1px solid var(--cc-line-soft)}.cc-commerce-operation-editor{display:grid;gap:var(--cc-space-4)}.cc-commerce-field-mapping{display:grid;gap:var(--cc-space-2);padding-top:var(--cc-space-2);border-top:1px solid var(--cc-line-soft)}.cc-commerce-field-mapping>label{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);align-items:center;gap:var(--cc-space-3)}.cc-commerce-product-binding{display:grid;max-height:220px;gap:4px;overflow-y:auto;margin:0;padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm)}.cc-commerce-product-binding legend{padding:0 5px;font-size:var(--cc-font-size-sm);font-weight:750}.cc-commerce-product-binding label{display:flex;min-height:34px;align-items:center;gap:8px;padding:4px 6px}.cc-commerce-product-binding input{width:17px;min-height:17px}.cc-commerce-message-card>small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-product-picker-list{display:grid;max-height:280px;gap:5px;overflow-y:auto}.cc-commerce-product-picker-list>label{display:grid;min-height:48px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:var(--cc-space-2);padding:8px 10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-commerce-product-picker-list>label.active{background:var(--cc-ai-soft)}.cc-commerce-product-picker-list>label input{width:18px;min-height:18px;padding:0}.cc-commerce-product-picker-list>label span{overflow:hidden;color:var(--cc-text);text-overflow:ellipsis;white-space:nowrap}.cc-commerce-product-picker-list>label small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-commerce-flow-profile{margin:0 0 var(--cc-space-4);padding:0 0 var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft)}.cc-commerce-flow-profile>label{display:grid;gap:6px;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.cc-commerce-flow-profile input{width:100%;min-height:var(--cc-control-height);padding:9px 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text)}.cc-commerce-flow-profile small{color:var(--cc-text-subtle);font-size:var(--cc-font-size-xs);font-weight:500}@media(max-width:1080px){.cc-commerce-tabs button{flex:0 0 auto}.cc-commerce-catalog{grid-template-columns:42px minmax(180px,1fr) 105px auto}.cc-commerce-catalog time{display:none}.cc-commerce-order-head,.cc-commerce-order{grid-template-columns:minmax(145px,1fr) minmax(130px,.9fr) 90px 105px minmax(210px,auto)}.cc-commerce-order-head>span:nth-child(5),.cc-commerce-order time{display:none}.cc-commerce-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.cc-commerce-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-commerce-builder{grid-template-columns:1fr}}@media(max-width:780px){.cc-commerce-page{height:100%;gap:8px;padding:10px 12px 12px}.cc-commerce-tabs{display:flex;width:100%;scroll-snap-type:x proximity}.cc-commerce-tabs button{min-height:42px;padding:0 11px;scroll-snap-align:start}.cc-commerce-tabs button b{min-width:18px}.cc-commerce-workspace{border-radius:var(--cc-radius-sm)}.cc-commerce-toolbar{min-height:58px;align-items:stretch;flex-direction:column;padding:10px 12px}.cc-commerce-toolbar>.cc-button{width:100%}.cc-commerce-toolbar .cc-commerce-actions{width:100%}.cc-commerce-toolbar .cc-commerce-actions .cc-button{min-width:0;flex:1 1 0;padding-inline:9px}.cc-commerce-toolbar.filters{flex-direction:column}.cc-commerce-search,.cc-commerce-select{width:100%}.cc-commerce-result-count{width:100%;margin:0}.cc-commerce-scroll-region{padding:8px 12px 12px}.cc-commerce-notice{margin:8px 12px 0}.cc-commerce-catalog{grid-template-columns:38px minmax(0,1fr) auto;grid-template-areas:"mark copy status" "error error error" "actions actions actions";gap:8px 10px;padding:12px 0}.cc-commerce-catalog-mark{grid-area:mark;width:36px;height:36px}.cc-commerce-catalog-copy{grid-area:copy}.cc-commerce-catalog>.cc-commerce-status{grid-area:status;align-self:start}.cc-commerce-catalog>.cc-commerce-actions{grid-area:actions;justify-content:flex-start}.cc-commerce-catalog>.cc-commerce-actions .cc-button{flex:1}.cc-commerce-catalog .cc-commerce-error{grid-area:error}.cc-commerce-field-mapping>label{grid-template-columns:1fr;gap:5px}.cc-commerce-product-grid,.cc-commerce-message-grid{grid-template-columns:1fr;gap:8px}.cc-commerce-order-head{display:none}.cc-commerce-order{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"customer total" "content status" "actions actions";gap:8px 12px;padding:12px 0}.cc-commerce-order-customer{grid-area:customer}.cc-commerce-order>p{grid-area:content}.cc-commerce-order>b{grid-area:total}.cc-commerce-order>.cc-commerce-status{grid-area:status;justify-self:end}.cc-commerce-order>.cc-commerce-actions{grid-area:actions;justify-content:flex-start}.cc-commerce-order>.cc-commerce-actions .cc-button{flex:1}.cc-commerce-order>.cc-commerce-actions select{flex:1;max-width:none}.cc-commerce-reply{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"shortcut actions" "copy copy" "date date";gap:6px 10px;padding:12px 0}.cc-commerce-reply>strong{grid-area:shortcut}.cc-commerce-reply>p{grid-area:copy;white-space:normal}.cc-commerce-reply>time{grid-area:date}.cc-commerce-reply>.cc-commerce-actions{grid-area:actions}.cc-commerce-form-columns,.cc-commerce-order-detail>dl{grid-template-columns:1fr}.cc-commerce-product-detail,.cc-commerce-technical-details dl{grid-template-columns:1fr}.cc-commerce-product-detail>div.wide,.cc-commerce-product-detail>p,.cc-commerce-product-detail>details{grid-column:1}.cc-commerce-order-detail>header{grid-template-columns:1fr 1fr}.cc-commerce-field-card>header{grid-template-columns:32px minmax(0,1fr)}.cc-commerce-field-card>header .cc-commerce-actions{grid-column:1 / -1;justify-content:flex-end}.cc-commerce-field-options,.cc-commerce-add-field{grid-template-columns:1fr}.cc-commerce-order-items article{grid-template-columns:minmax(0,1fr) auto}.cc-commerce-order-items article>b{grid-column:2}}.cc-agents-page{display:grid;height:100%;min-width:0;grid-template-rows:auto auto minmax(0,1fr);gap:var(--cc-space-3);padding:var(--cc-space-5);overflow:hidden;background:var(--cc-bg)}.cc-agents-header{display:flex;align-items:center;justify-content:space-between;gap:var(--cc-space-3)}.cc-agents-segmented{display:inline-flex;padding:3px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.cc-agents-segmented button{min-height:34px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:var(--cc-text-muted);font-weight:700}.cc-agents-segmented button.active{background:var(--cc-black);color:var(--cc-text-inverse)}.cc-agent-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--cc-space-2)}.cc-agent-metrics>div{display:grid;min-height:54px;grid-template-columns:32px auto minmax(0,1fr);align-items:center;gap:var(--cc-space-2);padding:10px 12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-agent-metrics svg{width:32px;height:32px;padding:7px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-agent-metrics strong{font-size:var(--cc-font-size-lg)}.cc-agent-metrics span{overflow:hidden;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);text-overflow:ellipsis;white-space:nowrap}.cc-agent-directory{min-height:0;overflow:hidden;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.cc-agent-directory>header{display:flex;min-height:48px;align-items:center;justify-content:space-between;padding:0 var(--cc-space-4);border-bottom:1px solid var(--cc-line-soft)}.cc-agent-directory>header span{display:grid;min-width:28px;height:28px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);font-size:var(--cc-font-size-sm);font-weight:750}.cc-agent-grid{display:grid;height:calc(100% - 48px);min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:var(--cc-space-3);padding:var(--cc-space-4);overflow:auto}.cc-agent-card{display:grid;min-width:0;min-height:230px;grid-template-rows:auto minmax(44px,auto) auto auto;gap:var(--cc-space-3);padding:var(--cc-space-4);border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-agent-card>header{display:grid;min-width:0;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:var(--cc-space-3)}.cc-agent-avatar{display:grid;width:40px;height:40px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-black);color:var(--cc-text-inverse)}.cc-agent-card>header>div{display:grid;min-width:0;gap:2px}.cc-agent-card>header strong,.cc-agent-card>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-agent-card>header>div span,.cc-agent-card>p{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-agent-card>p{display:-webkit-box;margin:0;overflow:hidden;line-height:var(--cc-line-height-body);-webkit-box-orient:vertical;-webkit-line-clamp:2}.cc-agent-card-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.cc-agent-card-metrics>span{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:4px;padding:8px;border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-agent-card-metrics small{grid-column:1 / -1;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-agent-card>footer{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:var(--cc-space-2)}.cc-agent-inboxes{display:flex;min-width:0;gap:4px;overflow:hidden}.cc-agent-inboxes span{max-width:140px;overflow:hidden;padding:4px 7px;border-radius:var(--cc-radius-xs);background:var(--cc-surface);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);text-overflow:ellipsis;white-space:nowrap}.cc-agent-empty{display:grid;min-height:240px;grid-column:1 / -1;place-items:center;align-content:center;gap:var(--cc-space-2);color:var(--cc-text-muted);text-align:center}.cc-agent-empty strong{color:var(--cc-text)}.cc-agent-editor-body{display:grid;align-content:start;gap:var(--cc-space-6)}.cc-agent-editor-section{display:grid;gap:var(--cc-space-4)}.cc-agent-editor-section+.cc-agent-editor-section{padding-top:var(--cc-space-5);border-top:1px solid var(--cc-line-soft)}.cc-agent-editor-section>header{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:var(--cc-space-3)}.cc-agent-editor-section>header>span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse);font-size:var(--cc-font-size-xs);font-weight:800}.cc-agent-editor-section>header>div{display:grid;gap:2px}.cc-agent-editor-section>header small{color:var(--cc-text-muted)}.cc-agent-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cc-space-3)}.cc-agent-form-grid label,.cc-agent-number-grid label{display:grid;min-width:0;gap:6px}.cc-agent-form-grid label.wide{grid-column:1 / -1}.cc-agent-form-grid label>span,.cc-agent-number-grid label>span{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.cc-agent-form-grid input,.cc-agent-form-grid select,.cc-agent-form-grid textarea,.cc-agent-number-grid input{width:100%;min-height:var(--cc-control-height);padding:9px 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text);box-shadow:none}.cc-agent-form-grid textarea{min-height:86px;resize:vertical}.cc-agent-form-grid input:focus,.cc-agent-form-grid select:focus,.cc-agent-form-grid textarea:focus,.cc-agent-number-grid input:focus{border-color:var(--cc-text);outline:0}.cc-agent-number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--cc-space-3)}.cc-agent-number-grid small{color:var(--cc-text-subtle);font-size:var(--cc-font-size-xs)}.cc-agent-toggle-list{display:grid;gap:3px;padding:4px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted)}.cc-agent-toggle-row{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:var(--cc-space-4);padding:8px 10px;border-radius:7px;background:var(--cc-surface)}.cc-agent-toggle-row>span:first-child{display:grid;gap:2px}.cc-agent-toggle-row small{color:var(--cc-text-muted)}.cc-agent-choice-list{display:grid;gap:4px}.cc-agent-choice-list>label{display:grid;min-height:58px;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;gap:var(--cc-space-3);padding:8px 10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);cursor:pointer}.cc-agent-choice-list>label.selected{background:var(--cc-surface-pressed)}.cc-agent-choice-list input{width:18px;height:18px;margin:0;accent-color:var(--cc-black)}.cc-agent-choice-list label>span{display:grid;min-width:0;gap:2px}.cc-agent-choice-list strong,.cc-agent-choice-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-agent-choice-list small,.cc-agent-empty-copy{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-agent-capability-list{display:grid;gap:6px}.cc-agent-capability-list>label{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:12px;padding:9px 10px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-agent-capability-list>label>span{display:grid;min-width:0;gap:2px}.cc-agent-capability-list small{color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-agent-capability-list select{width:100%;min-height:38px;padding:7px 28px 7px 9px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface)}.cc-agent-resource-groups{display:grid;gap:10px;margin-top:14px}.cc-agent-resource-groups>p{margin:0;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);line-height:1.45}.cc-agent-resource-groups fieldset{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm)}.cc-agent-resource-groups legend{padding:0 5px;font-size:11px;font-weight:800}.cc-agent-resource-groups label{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:var(--cc-radius-control);background:var(--cc-surface-muted);font-size:11px}.cc-agent-resource-groups input{width:16px;height:16px;margin:0;accent-color:var(--cc-black)}.cc-agent-resource-groups label[aria-disabled=true]{opacity:.55;cursor:default}@media(max-width:780px){.cc-agent-capability-list>label{grid-template-columns:minmax(0,1fr)}}.cc-agent-empty-copy{margin:0;padding:var(--cc-space-4);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-agent-technical{padding-top:var(--cc-space-5);border-top:1px solid var(--cc-line-soft)}.cc-agent-technical summary{padding:10px 0;font-weight:750;cursor:pointer}.cc-agent-technical .cc-agent-form-grid{margin-top:var(--cc-space-3)}.cc-agent-error{margin:0;padding:var(--cc-space-3);border-radius:var(--cc-radius-sm);background:var(--cc-danger-soft);color:var(--cc-danger)}@media(max-width:1180px){.cc-agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.cc-agents-page{height:100%;grid-template-rows:auto auto minmax(0,1fr);gap:var(--cc-space-2);padding:var(--cc-space-3);padding-bottom:calc(var(--cc-mobile-nav-height) + var(--cc-space-3))}.cc-agents-header .cc-button{width:var(--cc-touch-target);min-width:var(--cc-touch-target);padding:0;font-size:0}.cc-agents-header .cc-button svg{width:20px;height:20px}.cc-agent-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-agent-grid{grid-template-columns:1fr;padding:var(--cc-space-2)}.cc-agent-card{min-height:214px}.cc-agent-form-grid,.cc-agent-number-grid{grid-template-columns:1fr}.cc-agent-form-grid label.wide{grid-column:auto}}.cc-connections-page{min-width:0;color:var(--cc-text);background:var(--cc-bg)}.cc-connections-heading,.cc-connection-summary,.cc-connection-editor>header,.cc-connections-modal>header,.cc-incoming-key,.cc-form-actions,.cc-definition-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--cc-space-4)}.cc-connections-notice{margin:0 0 var(--cc-space-4);padding:10px 12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-sm)}.cc-connections-layout{display:grid;min-height:620px;grid-template-columns:minmax(220px,272px) minmax(0,1fr);align-items:start;gap:var(--cc-space-4);overflow:visible;background:transparent}.cc-connections-list{min-width:0;padding:0}.cc-connections-list>button{display:flex;width:100%;min-height:62px;align-items:center;gap:11px;margin-bottom:8px;padding:10px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface);color:var(--cc-text);text-align:left;cursor:pointer}.cc-connections-list>button:hover{background:var(--cc-surface-hover)}.cc-connections-list>button.active{border-color:var(--cc-line-strong);background:var(--cc-surface)}.cc-connections-list button span:last-child{display:grid;min-width:0;gap:2px}.cc-connections-list button strong,.cc-connections-list button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-connections-list button small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-connection-provider{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:var(--cc-black);color:var(--cc-text-inverse)}.cc-connection-workspace{min-width:0;padding:22px 24px 40px;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.cc-connection-summary{min-height:52px}.cc-connection-summary>div{display:grid;min-width:0;gap:3px}.cc-connection-summary>div>strong{overflow:hidden;font-size:var(--cc-font-size-lg);text-overflow:ellipsis;white-space:nowrap}.cc-connection-summary>div>span{color:var(--cc-text-muted);text-transform:capitalize}.cc-health{display:inline-flex;min-height:34px;align-items:center;gap:7px;padding:6px 9px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:700}.cc-health.healthy{background:var(--cc-success-soft);color:var(--cc-success)}.cc-health.error{background:var(--cc-danger-soft);color:var(--cc-danger)}.cc-connection-tabs{display:flex;gap:2px;margin:16px 0 22px;overflow-x:auto;border-bottom:1px solid var(--cc-line-soft);scrollbar-width:none}.cc-connection-tabs::-webkit-scrollbar{display:none}.cc-connection-tabs button{min-height:42px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--cc-text-muted);font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}.cc-connection-tabs button:hover{color:var(--cc-text)}.cc-connection-tabs button.active{border-bottom-color:var(--cc-black);color:var(--cc-text)}.cc-connection-form,.cc-connection-editor{display:grid;width:100%;gap:24px}.cc-connection-editor>header>div,.cc-action-fields>header>div,.cc-definition-heading>div{display:grid;min-width:0;gap:3px}.cc-connection-editor>header strong{font-size:var(--cc-font-size-lg)}.cc-connection-editor>header span,.cc-action-fields>header span,.cc-definition-heading span,.cc-resource-section header span,.cc-connections-modal header span{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-connection-form label,.cc-connections-modal label,.cc-action-definition label,.cc-component-definition label{display:grid;min-width:0;gap:6px;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:600}.cc-connection-form :is(input,select),.cc-connections-modal :is(input,select),.cc-definition-row :is(input,select),.cc-mapping-row :is(input,select),.cc-credential-row :is(input,select),.cc-test-line input,.cc-simulation-row input,.cc-action-definition :is(input,select),.cc-component-definition :is(input,select){width:100%;min-width:0;min-height:var(--cc-control-height);box-sizing:border-box;padding:9px 11px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text);font:inherit;font-weight:400}.cc-connection-form :is(input,select):focus,.cc-connections-modal :is(input,select):focus,.cc-definition-row :is(input,select):focus,.cc-mapping-row :is(input,select):focus,.cc-credential-row :is(input,select):focus,.cc-action-definition :is(input,select):focus,.cc-component-definition :is(input,select):focus{outline:2px solid var(--cc-text);outline-offset:1px}.cc-field-grid{display:grid;gap:14px}.cc-field-grid.two,.cc-field-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-resource-section{display:grid;gap:14px}.cc-resource-section>header{display:grid;gap:3px}.cc-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cc-resource-grid label{display:flex;min-height:36px;align-items:center;gap:8px;padding:5px 8px;border-radius:var(--cc-radius-xs);background:var(--cc-surface);color:var(--cc-text);font-weight:600}.cc-resource-grid input{width:18px;min-height:18px;margin:0;accent-color:var(--cc-black)}.cc-definition-row,.cc-mapping-row,.cc-credential-row,.cc-simulation-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:10px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-definition-row,.cc-mapping-row,.cc-credential-row{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-definition-row>button:last-child,.cc-mapping-row>button:last-child,.cc-credential-row>button:last-child,.cc-simulation-row>button:last-child{grid-column:2;justify-self:end}.cc-action-definition label.cc-required-check,.cc-component-definition label.cc-required-check,.cc-required-check{display:flex;min-height:40px;align-items:center;gap:7px;color:var(--cc-text);font-weight:600}.cc-action-definition .cc-required-check input,.cc-component-definition .cc-required-check input,.cc-required-check input{width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:var(--cc-black)}.cc-incoming-key{margin-top:6px;padding:14px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-incoming-key>div{display:flex;min-width:0;align-items:center;gap:11px}.cc-incoming-key span{display:grid;min-width:0;gap:2px}.cc-incoming-key small{color:var(--cc-text-muted)}.cc-secret-once{display:grid;gap:8px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-warning-soft);color:var(--cc-warning-text)}.cc-secret-once code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.cc-test-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.cc-simulator{display:grid;gap:12px;margin-top:6px;padding:16px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-simulator header strong{display:block}.cc-simulator header span{color:var(--cc-text-muted)}.cc-simulation-result{display:grid;gap:6px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface)}.cc-simulation-result strong{display:flex;align-items:center;gap:8px}.cc-test-history{display:grid;gap:6px}.cc-test-history>strong{margin-bottom:4px}.cc-test-history>div{display:grid;min-height:42px;grid-template-columns:10px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--cc-line-soft)}.cc-test-history time{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.cc-test-dot{width:8px;height:8px;border-radius:50%;background:var(--cc-line)}.cc-test-dot.passed{background:var(--cc-success)}.cc-test-dot.failed{background:var(--cc-danger)}.cc-log-actions{display:flex;gap:6px;margin-top:5px}.cc-log-actions button{min-height:30px;padding:0 8px;border:0;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text);font:inherit;font-size:var(--cc-font-size-xs);font-weight:700;cursor:pointer}.cc-log-actions button:hover,.cc-log-actions button:first-child{background:var(--cc-black);color:var(--cc-text-inverse)}.cc-action-definition,.cc-component-definition{display:grid;gap:20px;padding:18px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-card);background:var(--cc-surface)}.cc-definition-heading{padding-bottom:12px;border-bottom:1px solid var(--cc-line-soft)}.cc-definition-heading strong{font-size:var(--cc-font-size-md)}.cc-action-main,.cc-action-metadata,.cc-action-field-core,.cc-action-field-details,.cc-component-row,.cc-component-options{display:grid;gap:12px}.cc-action-main,.cc-action-main.secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-action-metadata{grid-template-columns:1.35fr 1fr}.cc-action-fields{display:grid;gap:10px;padding-top:2px}.cc-action-fields>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cc-action-field-row{display:grid;gap:12px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-action-field-row>header{display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:10px}.cc-action-field-core{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-action-field-details{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.cc-definition-empty{margin:0;padding:14px;color:var(--cc-text-muted);text-align:center}.cc-text-action{display:inline-flex;min-height:34px;align-items:center;justify-self:start;gap:7px;padding:0 7px;border:0;border-radius:var(--cc-radius-xs);background:transparent;color:var(--cc-text-muted);font:inherit;font-weight:700;cursor:pointer}.cc-text-action:hover{background:var(--cc-surface-muted);color:var(--cc-text)}.cc-component-row,.cc-component-options{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-component-options .cc-required-check{grid-column:1 / -1}.cc-form-actions{justify-content:flex-end;padding-top:2px}.cc-connections-empty{display:grid;min-height:150px;place-items:center;align-content:center;gap:7px;padding:24px 16px;color:var(--cc-text-muted);text-align:center}.cc-connections-empty.large{align-self:center}.cc-connections-empty strong{color:var(--cc-text)}.cc-connections-modal{display:grid;width:100%;gap:16px}@media(max-width:1100px){.cc-action-field-core,.cc-component-row,.cc-component-options,.cc-action-field-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.cc-connections-layout{display:block;min-height:0;overflow:visible;background:transparent}.cc-connections-list{display:flex;gap:8px;padding:0 0 12px;overflow-x:auto;border:0;scrollbar-width:none}.cc-connections-list::-webkit-scrollbar{display:none}.cc-connections-list>button{min-width:210px;margin:0;background:var(--cc-surface)}.cc-connection-workspace{padding:14px 12px 24px;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.cc-connection-summary{align-items:flex-start}.cc-connection-tabs{margin-inline:-12px;padding-inline:12px}.cc-connection-form,.cc-connection-editor{width:100%;gap:14px}.cc-connection-editor>header{align-items:flex-start}.cc-connection-editor>header span{display:none}.cc-field-grid.two,.cc-field-grid.three,.cc-resource-grid,.cc-action-main,.cc-action-main.secondary,.cc-action-metadata,.cc-action-field-core,.cc-action-field-details,.cc-component-row,.cc-component-options{grid-template-columns:minmax(0,1fr)}.cc-definition-row,.cc-mapping-row,.cc-credential-row{grid-template-columns:minmax(0,1fr);padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.cc-definition-row .cc-icon-button,.cc-mapping-row .cc-icon-button,.cc-credential-row .cc-icon-button{justify-self:end}.cc-action-definition,.cc-component-definition{padding:12px}.cc-component-options .cc-required-check{grid-column:1}.cc-action-fields>header{align-items:flex-start}.cc-incoming-key{align-items:flex-start;flex-direction:column}.cc-test-line{grid-template-columns:minmax(0,1fr)}.cc-simulation-row{grid-template-columns:minmax(0,1fr) 40px}.cc-simulation-row input:nth-child(2){grid-column:1 / -1;grid-row:2}.cc-simulation-row button{grid-column:2;grid-row:1}.cc-test-history>div{grid-template-columns:10px 1fr}.cc-test-history time{grid-column:2}}.crew-notification-feed{min-width:0;overflow:hidden;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.crew-knowledge-source-grid{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--cc-space-4)}.crew-knowledge-source-card{display:grid;min-width:0;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px 12px;margin:0;padding:15px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface);box-shadow:none}.crew-knowledge-source-card:hover{background:var(--cc-surface-hover)}.crew-knowledge-source-icon{display:grid;width:40px;height:40px;grid-row:1 / span 2;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-knowledge-source-card>div:nth-child(2){display:grid;min-width:0;gap:3px}.crew-knowledge-source-card>div:nth-child(2) strong{font-weight:650}.crew-knowledge-source-card strong,.crew-knowledge-source-card small,.crew-knowledge-source-card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-knowledge-source-card small,.crew-knowledge-source-card p{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.crew-knowledge-source-card p{grid-column:2;margin:0}.crew-knowledge-status{grid-column:3;grid-row:1;padding:4px 8px;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750;width:fit-content;max-width:120px;justify-self:end;white-space:nowrap}.crew-knowledge-status.indexed{background:var(--cc-success-soft);color:var(--cc-success)}.crew-knowledge-status.error{background:var(--cc-danger-soft);color:var(--cc-danger)}.crew-knowledge-source-actions{display:flex;grid-column:3;grid-row:2;gap:4px}.crew-knowledge-source-actions button{min-height:30px;padding:0 8px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-text-muted);cursor:pointer}.crew-knowledge-source-actions button:hover{background:var(--cc-surface-muted);color:var(--cc-text)}.crew-knowledge-source-card.empty{min-height:220px;grid-column:1 / -1;grid-template-columns:1fr;place-items:center;align-content:center;text-align:center}.crew-knowledge-source-card.empty p{grid-column:1;white-space:normal}.crew-knowledge-drawer{display:grid;gap:16px}.crew-knowledge-drawer .crew-agent-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.crew-knowledge-drawer label{display:grid;min-width:0;gap:6px;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.crew-knowledge-drawer .crew-agent-objective{grid-column:1 / -1}.crew-knowledge-drawer :is(input,select,textarea){width:100%;min-width:0}.crew-knowledge-drawer :is(input,select,textarea){font-weight:400}.crew-knowledge-drawer input[type=file]{padding:6px;color:var(--cc-text-muted)}.crew-knowledge-drawer input[type=file]::file-selector-button{min-height:34px;margin-right:10px;padding:0 10px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text);font-weight:700;cursor:pointer}.crew-knowledge-drawer textarea{min-height:150px;resize:vertical}.crew-form-error{margin:0;color:var(--cc-danger);font-size:var(--cc-font-size-sm)}.crew-notifications-page{display:block;overflow-y:auto;scrollbar-gutter:stable}.crew-notification-layout,.crew-notification-toolbar{width:100%;margin-inline:0}.crew-notification-layout{display:block;min-width:0;overflow:hidden;border-radius:var(--cc-radius-panel);background:var(--cc-surface)}.crew-notification-toolbar{position:static;padding:0 0 12px;background:transparent}.crew-notification-toolbar .cc-page-segmented{min-width:0;max-width:calc(100% - 52px);overflow-x:auto;scrollbar-width:none}.crew-notification-toolbar .cc-page-segmented::-webkit-scrollbar{display:none}.crew-notification-feed{min-height:240px;background:var(--cc-surface)}.crew-notification-accordion{margin:0;border:0;border-bottom:1px solid var(--cc-line-soft);border-radius:0;background:var(--cc-surface)}.crew-notification-accordion:last-child{border-bottom:0}.crew-notification-accordion.unread{background:var(--cc-info-soft);box-shadow:inset 3px 0 0 var(--cc-info)}.crew-notification-accordion.unread .crew-notification-icon{background:var(--cc-info);color:#fff}.crew-notification-row{display:grid;width:100%;min-height:68px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 16px;border:0;background:transparent;color:var(--cc-text);text-align:left;cursor:pointer}.crew-notification-row:hover{background:var(--cc-surface-hover)}.crew-notification-push-btn.is-active{background:var(--cc-info-soft);color:var(--cc-info-strong)}.crew-notification-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-notification-icon.handoff{background:var(--cc-purple-soft);color:var(--cc-purple)}.crew-notification-row-copy,.crew-notification-row-meta{display:grid;min-width:0;gap:3px}.crew-notification-row-copy small,.crew-notification-row-meta{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.crew-notification-row-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crew-notification-row-meta{justify-items:end}.crew-notification-row-meta em{font-style:normal}.crew-notification-accordion.open .crew-notification-row-meta svg{transform:rotate(180deg)}.crew-notification-accordion-body{display:grid;gap:14px;padding:0 16px 18px 68px}.crew-notification-accordion-body p{margin:0;color:var(--cc-text-muted);line-height:1.5}.crew-notification-detail-head,.crew-contact-detail-head,.crew-notification-actions{display:flex;align-items:center;gap:10px}.crew-notification-detail-head{justify-content:space-between}.crew-contact-detail-head>div{display:grid}.crew-notification-snippet{display:grid;gap:9px;padding:14px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-mini-timeline{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs)}.crew-notification-actions{justify-content:flex-end}.crew-danger-text-btn{display:inline-flex;min-height:36px;align-items:center;gap:6px;padding:0 10px;border:0;border-radius:var(--cc-radius-sm);background:transparent;color:var(--cc-danger);cursor:pointer}@media(max-width:780px){.crew-knowledge-source-grid{grid-template-columns:1fr;gap:var(--cc-space-3)}.crew-knowledge-source-card{grid-template-columns:38px minmax(0,1fr);padding:12px}.crew-knowledge-source-icon{grid-row:1 / span 2}.crew-knowledge-status{grid-column:2;grid-row:auto;justify-self:start}.crew-knowledge-source-card p{grid-column:2}.crew-knowledge-source-actions{grid-column:2;grid-row:auto;justify-content:flex-start}.crew-knowledge-drawer .crew-agent-form-grid{grid-template-columns:1fr}.crew-knowledge-drawer .crew-agent-objective{grid-column:1}.crew-notification-row{grid-template-columns:38px minmax(0,1fr) auto;padding:10px 12px}.crew-notification-row-meta em{display:none}.crew-notification-accordion-body{padding:0 12px 16px}.crew-notification-toolbar{padding-bottom:8px}}.crew-settings-page .crew-settings-layout,.crew-settings-page .crew-settings-main{display:block;min-width:0}.crew-settings-page .crew-settings-card[hidden]{display:none}.crew-settings-page .crew-settings-card{max-width:none;margin:0;padding:4px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}.crew-settings-card>h3{margin:0 0 5px;font-size:var(--cc-font-size-lg)}.crew-settings-card>p{margin:0 0 24px;color:var(--cc-text-muted)}.crew-settings-basic-grid,.crew-template-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crew-settings-card label{display:grid;min-width:0;gap:6px;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:600}.crew-settings-card :is(input,select,textarea){width:100%;min-width:0}.crew-business-template-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:16px}.crew-module-settings-list,.crew-template-settings-list{overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-module-settings-row,.crew-template-settings-row{display:grid;min-height:62px;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--cc-surface);background:transparent}.crew-module-settings-row{grid-template-columns:minmax(0,1fr) auto}.crew-module-settings-row>span:first-child{display:grid;gap:3px}.crew-module-settings-row small{color:var(--cc-text-muted)}.crew-setting-switch{display:flex;min-width:126px;grid-template-columns:none;align-items:center;justify-content:flex-end;gap:8px}.crew-setting-switch input{position:absolute;width:1px;height:1px;opacity:0}.crew-setting-switch>span{position:relative;display:block;width:42px;height:24px;flex:0 0 42px;border-radius:12px;background:var(--cc-line)}.crew-setting-switch>span:after{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--cc-surface);content:"";transition:transform var(--cc-motion)}.crew-setting-switch input:checked+span{background:var(--cc-black)}.crew-setting-switch input:checked+span:after{transform:translate(18px)}.crew-setting-switch b{min-width:72px;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:700}.crew-template-settings-actions{display:flex;align-items:end;justify-content:flex-end}.crew-template-settings-list{margin-top:18px}.crew-template-settings-row{grid-template-columns:minmax(0,1.4fr) minmax(110px,.7fr) minmax(100px,.6fr) auto}.crew-template-settings-row.head{min-height:40px;color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750;text-transform:uppercase}.crew-template-settings-row>span:last-child{display:flex;justify-content:flex-end;gap:4px}.crew-template-settings-row button{min-height:32px;padding:0 8px;border:0;border-radius:var(--cc-radius-sm);background:transparent;cursor:pointer}.crew-template-settings-row button:hover{background:var(--cc-surface)}.crew-template-settings-empty{display:flex;min-height:120px;align-items:center;justify-content:center;gap:8px;color:var(--cc-text-muted)}.crew-users-page>.cc-page-toolbar,.crew-users-page>.cc-metric-strip,.crew-users-page .crew-table{width:100%;margin-inline:0}.crew-users-page .crew-table{display:grid;min-width:0;gap:1px;overflow:hidden;border-radius:var(--cc-radius-panel);background:var(--cc-line-soft)}.crew-user-editor{margin:0;padding:0;border:0;border-radius:0;background:var(--cc-surface);box-shadow:none}.crew-user-editor-summary{display:grid;width:100%;min-height:66px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px;border:0;background:transparent;color:var(--cc-text);text-align:left;cursor:pointer}.crew-user-editor-summary:hover{background:var(--cc-surface-hover)}.crew-user-editor-summary>span:nth-child(2){display:grid;min-width:0;gap:2px}.crew-user-editor-summary small{overflow:hidden;color:var(--cc-text-muted);text-overflow:ellipsis;white-space:nowrap}.crew-user-status{display:flex;align-items:center;gap:8px}.crew-user-status b{padding:4px 8px;border-radius:var(--cc-radius-xs);background:var(--cc-success-soft);color:var(--cc-success);font-size:var(--cc-font-size-xs)}.crew-user-status.disabled b{background:var(--cc-surface-muted);color:var(--cc-text-muted)}.crew-user-editor.expanded .crew-user-status svg{transform:rotate(180deg)}.crew-user-panel-section{border-top:1px solid var(--cc-line-soft)}.crew-user-panel-section>header{display:grid;gap:2px;padding:16px 16px 0}.crew-user-panel-section>header small{color:var(--cc-text-muted)}.crew-user-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px 16px}.crew-user-editor-fields label,.crew-config-form label{display:grid;min-width:0;gap:6px;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.crew-user-editor-fields :is(input,select),.crew-config-form :is(input,select){width:100%;min-width:0}.crew-user-editor footer{display:flex;justify-content:flex-end;gap:8px;padding:16px;border-top:1px solid var(--cc-line-soft)}.crew-config-form{display:grid;gap:14px}.crew-user-access-section{padding-bottom:14px}.crew-user-access-section details{margin:12px 16px 0;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-user-access-section summary{display:flex;min-height:42px;align-items:center;padding:0 12px;font-size:var(--cc-font-size-sm);font-weight:750;cursor:pointer}.crew-user-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border-top:1px solid var(--cc-line-soft);background:var(--cc-line-soft)}.crew-user-permission-row{display:grid;min-height:58px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 12px;background:var(--cc-surface)}.crew-user-permission-row>span{display:grid;min-width:0;gap:2px}.crew-user-permission-row small{color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);line-height:1.35}.crew-user-permission-row .crew-setting-switch{min-width:42px}.crew-user-access-note{display:flex;align-items:center;gap:8px;margin:12px 16px 0;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted);color:var(--cc-text-muted)}.crew-system-page{overflow-y:auto}.crew-system-page>.cc-page-toolbar,.crew-system-page>.cc-metric-strip{width:100%;margin-inline:0}.crew-system-page>.crew-info-card,.crew-system-page>.crew-maintenance-card,.crew-system-page>.crew-card-grid,.crew-system-page>.crew-saved-replies-card{max-width:none;margin:0 0 14px}.crew-system-page .crew-info-card,.crew-system-page .crew-maintenance-card{padding:18px;border:0;border-radius:var(--cc-radius-panel);background:var(--cc-surface);box-shadow:none}.crew-system-page h3{margin:0;font-size:var(--cc-font-size-lg)}.crew-system-page p{margin:4px 0 0;color:var(--cc-text-muted);line-height:1.5}.crew-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.crew-card-heading>div{min-width:0}.crew-maintenance-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.crew-maintenance-head>div{display:grid;gap:2px}.crew-e2e-checklist,.crew-media-coverage-grid,.crew-pwa-grid,.crew-credential-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.crew-e2e-item,.crew-media-coverage-item,.crew-pwa-grid>div,.crew-credential-item{display:grid;min-width:0;gap:4px;padding:12px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-e2e-item>span,.crew-media-coverage-item>span,.crew-pwa-grid>div>span{width:fit-content;padding:3px 6px;border-radius:var(--cc-radius-xs);background:var(--cc-surface);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750}.crew-e2e-item.ready>span,.crew-media-coverage-item.ready>span,.crew-pwa-grid>div.ready>span{background:var(--cc-success-soft);color:var(--cc-success)}.crew-e2e-item small,.crew-media-coverage-item small,.crew-pwa-grid small,.crew-credential-item small{color:var(--cc-text-muted);overflow-wrap:anywhere}.crew-pwa-install-row{display:flex;align-items:center;justify-content:space-between;gap:var(--cc-space-3);margin-top:var(--cc-space-3);padding-top:var(--cc-space-3);border-top:1px solid var(--cc-line-soft)}.crew-pwa-install-row>div{display:grid;gap:3px}.crew-pwa-install-row small{color:var(--cc-text-muted)}.crew-media-coverage-head{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:4px 10px;margin:16px 0 10px}.crew-media-coverage-head strong{font-size:26px}.crew-media-coverage-head small{grid-column:1 / -1;color:var(--cc-text-muted)}.crew-inline-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.crew-maintenance-result{display:grid;gap:5px;padding:12px;border-radius:var(--cc-radius-sm);background:var(--cc-surface-muted)}.crew-maintenance-result ul{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}.crew-maintenance-result li{display:flex;justify-content:space-between;gap:12px;padding-top:6px;border-top:1px solid var(--cc-line-soft)}.crew-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.crew-readiness-card{display:grid;gap:5px;margin:0;padding:14px;border:0;border-radius:var(--cc-radius-sm);background:var(--cc-surface);box-shadow:none}.crew-readiness-card>span{width:fit-content;padding:3px 6px;border-radius:var(--cc-radius-xs);background:var(--cc-surface-muted);color:var(--cc-text-muted);font-size:var(--cc-font-size-xs);font-weight:750}.crew-readiness-card.ready>span{background:var(--cc-success-soft);color:var(--cc-success)}.crew-saved-replies-list{display:grid;gap:1px;margin-top:14px;overflow:hidden;border-radius:var(--cc-radius-sm);background:var(--cc-line-soft)}.crew-saved-replies-list>article{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;background:var(--cc-surface-muted)}.crew-saved-replies-list p{margin:0}.crew-saved-replies-list>article>div{display:flex;align-items:center;justify-content:flex-end;gap:4px}.crew-saved-replies-list .crew-danger-text-btn{min-height:36px}@media(max-width:780px){.crew-settings-page .crew-settings-card{padding:2px 0 0}.crew-settings-basic-grid,.crew-template-settings-form,.crew-business-template-control,.crew-user-editor-fields{grid-template-columns:1fr}.crew-template-settings-row{grid-template-columns:minmax(0,1fr) auto}.crew-template-settings-row.head{display:none}.crew-template-settings-row>span:nth-child(2),.crew-template-settings-row>b{display:none}.crew-user-editor footer{display:grid;grid-template-columns:1fr 1fr}.crew-user-permission-grid{grid-template-columns:1fr}.crew-user-editor-summary{grid-template-columns:34px minmax(0,1fr) auto;padding-inline:12px}.crew-user-status b{display:none}.crew-system-page .crew-info-card,.crew-system-page .crew-maintenance-card{padding:14px}.crew-e2e-checklist,.crew-media-coverage-grid,.crew-pwa-grid,.crew-credential-list{grid-template-columns:1fr}.crew-pwa-install-row{align-items:stretch;flex-direction:column}.crew-saved-replies-list>article{grid-template-columns:1fr}.crew-card-heading{align-items:stretch;flex-direction:column}.crew-card-heading .cc-button{width:100%}.crew-saved-replies-list>article>div{justify-content:flex-start}}.crew-ai-approval-actions{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:12px;border:1px solid var(--cc-line-soft);border-radius:var(--cc-radius-sm)}.crew-ai-approval-actions legend{padding:0 5px;color:var(--cc-text-muted);font-size:var(--cc-font-size-sm);font-weight:700}.crew-ai-approval-actions label{display:flex;align-items:center;gap:7px;color:var(--cc-text);font-size:var(--cc-font-size-sm)}.crew-ai-approval-actions input{width:17px;height:17px;margin:0;accent-color:var(--cc-black)}@media(max-width:780px){.crew-ai-approval-actions{grid-template-columns:1fr}}.crew-public-auth-page .crew-login-shell{width:min(100%,1080px)}.crew-register-form{width:min(100%,540px)}.crew-auth-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crew-login-card select,.crew-onboarding-sheet :is(input,select,textarea){width:100%;min-height:42px;padding:0 12px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-control);background:var(--cc-surface);color:var(--cc-text);font:inherit}.crew-onboarding-sheet textarea{min-height:88px;padding-block:10px;resize:vertical}.crew-auth-consent{grid-template-columns:20px 1fr!important;align-items:start;color:var(--cc-text-muted);line-height:1.45}.crew-auth-consent input{width:18px!important;height:18px;margin:0;accent-color:var(--cc-purple)}.crew-auth-inline-links{display:flex;justify-content:space-between;gap:16px;font-size:13px}.crew-auth-inline-links a,.crew-auth-text-link{color:var(--cc-text-muted);text-decoration:none}.crew-auth-inline-links a:hover,.crew-auth-text-link:hover{color:var(--cc-text)}.crew-auth-primary-link{display:flex;min-height:44px;align-items:center;justify-content:center;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);text-decoration:none}.crew-auth-result>svg{width:42px;height:42px;padding:9px;border-radius:50%;background:color-mix(in srgb,var(--cc-purple) 14%,transparent);color:var(--cc-purple)}.crew-spin{animation:crew-spin .8s linear infinite}@keyframes crew-spin{to{transform:rotate(360deg)}}.crew-auth-plans{display:grid;width:100%;gap:24px}.crew-auth-plans>header{display:grid;gap:7px}.crew-auth-plans h1,.crew-auth-plans h2,.crew-auth-plans p{margin:0}.crew-auth-plans>header>p:last-child{color:var(--cc-text-muted)}.crew-plan-carousel-head{display:flex;align-items:center;justify-content:space-between;color:var(--cc-text-muted);font-size:12px}.crew-plan-carousel-head div{display:flex;gap:7px}.crew-plan-carousel-head button{display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--cc-line);border-radius:50%;background:var(--cc-surface);color:var(--cc-text);cursor:pointer}.crew-plan-carousel-head button:disabled{opacity:.35;cursor:default}.crew-plan-grid{display:grid;grid-auto-columns:minmax(280px,calc(50% - 6px));grid-auto-flow:column;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;scrollbar-width:none}.crew-plan-grid::-webkit-scrollbar{display:none}.crew-plan-option{display:flex;min-width:0;min-height:420px;flex-direction:column;gap:16px;padding:20px;scroll-snap-align:start;border:1px solid var(--cc-line);border-radius:var(--cc-radius-card);background:var(--cc-surface)}.crew-plan-option.featured{border-color:color-mix(in srgb,var(--cc-purple) 55%,var(--cc-line));box-shadow:inset 3px 0 0 var(--cc-purple)}.crew-plan-badge{width:fit-content;padding:5px 8px;border-radius:var(--cc-radius-pill);background:color-mix(in srgb,var(--cc-purple) 12%,var(--cc-surface));color:var(--cc-purple);font-size:11px;font-weight:700}.crew-plan-option p{margin-top:6px;color:var(--cc-text-muted);font-size:13px;line-height:1.45}.crew-plan-option>strong{font-size:14px}.crew-plan-option ul{display:grid;gap:10px;margin:0;padding:0;list-style:none;color:var(--cc-text-muted);font-size:13px}.crew-plan-option li{display:flex;align-items:center;gap:7px}.crew-plan-option li svg{color:var(--cc-purple)}.crew-plan-option button{min-height:42px;margin-top:auto;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);cursor:pointer}.crew-auth-text-link{display:inline-flex;align-items:center;gap:7px;width:fit-content}.crew-plan-compare-trigger{display:inline-flex;width:fit-content;min-height:40px;align-items:center;gap:8px;padding:0 14px;border:1px solid var(--cc-line);border-radius:var(--cc-radius-pill);background:var(--cc-surface);color:var(--cc-text);cursor:pointer}.crew-plan-comparison{display:grid;gap:0;overflow:hidden;border:1px solid var(--cc-line);border-radius:var(--cc-radius-card)}.crew-plan-comparison article{display:grid;grid-template-columns:minmax(170px,.65fr) 1.35fr;gap:18px;padding:18px 20px;border-bottom:1px solid var(--cc-line-soft)}.crew-plan-comparison article:last-child{border-bottom:0}.crew-plan-comparison header{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.crew-plan-comparison header button{min-height:34px;padding:0 13px;border:0;border-radius:var(--cc-radius-pill);background:var(--cc-black);color:var(--cc-text-inverse);cursor:pointer}.crew-plan-comparison ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0;padding:0;list-style:none;color:var(--cc-text-muted);font-size:12px}.crew-plan-comparison li{display:flex;align-items:center;gap:6px}.crew-plan-comparison li svg{flex:0 0 auto;color:var(--cc-purple)}.crew-onboarding-overlay{display:grid;position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;place-items:center;padding:24px;background:var(--cc-overlay-deep)}.crew-onboarding-sheet{display:grid;width:min(100%,900px);max-height:calc(100dvh - 48px);overflow:hidden;border:1px solid var(--cc-line);border-radius:var(--cc-radius-panel);background:var(--cc-surface);color:var(--cc-text);box-shadow:var(--cc-shadow-panel)}.crew-onboarding-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 20px;border-bottom:1px solid var(--cc-line)}.crew-onboarding-sheet>header div{display:grid;gap:5px}.crew-onboarding-sheet>header span{color:var(--cc-purple);font-size:12px;font-weight:700}.crew-onboarding-sheet h1,.crew-onboarding-sheet h2,.crew-onboarding-sheet p{margin:0}.crew-onboarding-sheet h1{font-size:24px}.crew-onboarding-sheet h2{font-size:16px}.crew-onboarding-sheet p{color:var(--cc-text-muted);line-height:1.5}.crew-onboarding-sheet>header button{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--cc-text);cursor:pointer}.crew-onboarding-progress{display:grid;grid-template-columns:repeat(3,1fr);padding:14px 28px;border-bottom:1px solid var(--cc-line)}.crew-onboarding-progress span{display:flex;align-items:center;gap:7px;color:var(--cc-text-muted);font-size:12px}.crew-onboarding-progress svg{width:18px;height:18px;padding:3px;border:1px solid var(--cc-line);border-radius:50%}.crew-onboarding-progress .is-done{color:var(--cc-text)}.crew-onboarding-progress .is-done svg{border-color:var(--cc-purple);color:var(--cc-purple)}.crew-onboarding-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;overflow:auto}.crew-onboarding-content>:is(form,section){display:grid;align-content:start;gap:14px;padding:24px 28px;border-bottom:1px solid var(--cc-line)}.crew-onboarding-content>:nth-child(odd){border-right:1px solid var(--cc-line)}.crew-onboarding-content label{display:grid;gap:6px;color:var(--cc-text-muted);font-size:12px;font-weight:650}.crew-onboarding-sheet :is(.crew-primary-btn,.crew-secondary-btn){display:inline-flex;width:fit-content;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:0 16px;border-radius:var(--cc-radius-pill);cursor:pointer}.crew-onboarding-sheet .crew-primary-btn{border:0;background:var(--cc-black);color:var(--cc-text-inverse)}.crew-onboarding-sheet .crew-secondary-btn{border:1px solid var(--cc-line);background:var(--cc-surface);color:var(--cc-text)}.crew-onboarding-plan dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}.crew-onboarding-plan dl div{padding:10px;border-radius:var(--cc-radius-control);background:var(--cc-surface-subtle)}.crew-onboarding-plan :is(dt,dd){margin:0}.crew-onboarding-plan dt{color:var(--cc-text-muted);font-size:11px}.crew-onboarding-plan dd{margin-top:3px;font-weight:700}.crew-onboarding-sheet>footer{display:flex;min-height:68px;align-items:center;justify-content:space-between;gap:16px;padding:12px 28px;border-top:1px solid var(--cc-line)}.crew-onboarding-sheet>footer span{color:var(--cc-text-muted);font-size:12px}@media(max-width:760px){.crew-auth-field-row,.crew-onboarding-content{grid-template-columns:1fr}.crew-auth-plans{padding-block:12px}.crew-plan-grid{grid-auto-columns:minmax(270px,92%)}.crew-plan-option{min-height:0}.crew-plan-comparison article{grid-template-columns:1fr}.crew-plan-comparison ul{grid-template-columns:1fr}.crew-onboarding-overlay{align-items:end;padding:0}.crew-onboarding-sheet{width:100%;max-height:92dvh;border-width:1px 0 0;border-radius:var(--cc-radius-panel) var(--cc-radius-panel) 0 0}.crew-onboarding-content>:is(form,section){padding:20px;border-right:0}.crew-onboarding-sheet>header,.crew-onboarding-sheet>footer{padding-inline:20px}.crew-onboarding-progress{padding-inline:20px}.crew-onboarding-progress span{font-size:0}.crew-onboarding-progress span:after{font-size:11px}.crew-onboarding-progress span:nth-child(1):after{content:"Negocio"}.crew-onboarding-progress span:nth-child(2):after{content:"WhatsApp"}.crew-onboarding-progress span:nth-child(3):after{content:"Listo"}}.crew-docs-page{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:hidden;padding:24px;color:var(--cc-text)}.crew-docs-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;max-width:1540px;margin:0 auto 24px}.crew-docs-header h1,.crew-docs-header p,.crew-docs-article h2,.crew-docs-article h3,.crew-docs-article p{margin:0}.crew-docs-header h1{margin-top:7px;font-size:28px;line-height:1.15}.crew-docs-header p{margin-top:8px;color:var(--cc-text-muted)}.crew-docs-eyebrow,.crew-docs-version{display:inline-flex;align-items:center;gap:7px;color:var(--cc-primary);font-size:13px;font-weight:700}.crew-docs-version{min-height:34px;padding:0 11px;border:1px solid var(--cc-line);border-radius:6px;background:var(--cc-surface)}.crew-docs-layout{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr) minmax(280px,320px);align-items:start;gap:20px;max-width:1540px;margin:0 auto}.crew-docs-index,.crew-docs-assistant{position:sticky;top:20px;min-width:0}.crew-docs-search{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 11px;border:1px solid var(--cc-line);border-radius:6px;background:var(--cc-surface);color:var(--cc-text-muted)}.crew-docs-search input,.crew-docs-assistant form input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--cc-text);font:inherit}.crew-docs-index nav{display:grid;gap:3px;margin-top:10px}.crew-docs-index nav button{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--cc-text-muted);text-align:left;cursor:pointer}.crew-docs-index nav button:hover,.crew-docs-index nav button.active{background:var(--cc-surface-muted);color:var(--cc-text)}.crew-docs-index nav button.active{box-shadow:inset 3px 0 0 var(--cc-primary);font-weight:700}.crew-docs-empty,.crew-docs-privacy{color:var(--cc-text-muted);font-size:13px}.crew-docs-article{min-width:0;padding:24px;border:1px solid var(--cc-line);border-radius:8px;background:var(--cc-surface)}.crew-docs-article-heading{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(280px,1.2fr);align-items:end;gap:24px;margin-bottom:22px}.crew-docs-article-heading span{display:block;margin-bottom:6px;color:var(--cc-primary);font-size:12px;font-weight:700}.crew-docs-article-heading h2{font-size:23px;line-height:1.2}.crew-docs-article-heading>p{color:var(--cc-text-muted);line-height:1.55}.crew-docs-figure{overflow:hidden;margin:0;border:1px solid var(--cc-line);border-radius:7px;background:var(--cc-surface-muted)}.crew-docs-figure img{display:block;width:100%;aspect-ratio:16 / 9;object-fit:cover;object-position:top left}.crew-docs-figure figcaption{padding:9px 12px;border-top:1px solid var(--cc-line);color:var(--cc-text-muted);font-size:12px}.crew-docs-steps,.crew-docs-concepts{margin-top:28px}.crew-docs-article h3{margin-bottom:13px;font-size:16px}.crew-docs-steps ol{display:grid;gap:11px;margin:0;padding-left:22px}.crew-docs-steps li{padding-left:5px;color:var(--cc-text-muted);line-height:1.48}.crew-docs-steps li::marker{color:var(--cc-primary);font-weight:800}.crew-docs-concepts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.crew-docs-concepts section{min-width:0;padding:14px;border:1px solid var(--cc-line);border-radius:7px;background:var(--cc-surface-muted)}.crew-docs-concepts strong{display:block;margin-bottom:6px;font-size:13px}.crew-docs-concepts p{color:var(--cc-text-muted);font-size:13px;line-height:1.45}.crew-docs-assistant{overflow:hidden;border:1px solid var(--cc-line);border-radius:8px;background:var(--cc-surface)}.crew-docs-assistant>header{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid var(--cc-line)}.crew-docs-assistant>header>span{display:grid;flex:0 0 36px;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--cc-primary-soft);color:var(--cc-primary)}.crew-docs-assistant header div{min-width:0}.crew-docs-assistant header strong,.crew-docs-assistant header small{display:flex;align-items:center;gap:4px}.crew-docs-assistant header small{margin-top:3px;color:var(--cc-text-muted)}.crew-docs-privacy{margin:0;padding:9px 14px;border-bottom:1px solid var(--cc-line)}.crew-docs-chat{display:grid;align-content:start;gap:8px;max-height:285px;padding:14px;overflow-y:auto;scrollbar-width:none}.crew-docs-chat::-webkit-scrollbar{display:none}.crew-docs-message{max-width:92%;padding:9px 10px;border-radius:7px;background:var(--cc-surface-muted);color:var(--cc-text);font-size:13px;line-height:1.4}.crew-docs-message.user{justify-self:end;background:var(--cc-primary-soft)}.crew-docs-message p{margin:0 0 5px}.crew-docs-message p:last-of-type{margin-bottom:0}.crew-docs-message button{display:inline-flex;align-items:center;gap:4px;margin-top:8px;padding:0;border:0;background:transparent;color:var(--cc-primary);font:inherit;font-weight:700;cursor:pointer}.crew-docs-prompts{display:flex;gap:6px;padding:0 14px 12px;overflow-x:auto;scrollbar-width:none}.crew-docs-prompts::-webkit-scrollbar{display:none}.crew-docs-prompts button{flex:0 0 auto;padding:6px 8px;border:1px solid var(--cc-line);border-radius:6px;background:transparent;color:var(--cc-text-muted);font-size:11px;cursor:pointer}.crew-docs-assistant form{display:flex;align-items:center;gap:8px;padding:11px;border-top:1px solid var(--cc-line)}.crew-docs-assistant form input{min-height:36px;padding:0 10px;border:1px solid var(--cc-line);border-radius:6px;background:var(--cc-bg)}.crew-docs-assistant form button{display:grid;flex:0 0 36px;width:36px;height:36px;place-items:center;border:0;border-radius:50%;background:var(--cc-primary);color:var(--cc-text-inverse);cursor:pointer}.crew-docs-assistant form button:disabled{opacity:.4;cursor:default}@media(max-width:1180px){.crew-docs-layout{grid-template-columns:minmax(180px,220px) minmax(0,1fr)}.crew-docs-assistant{position:static;grid-column:2}}@media(max-width:760px){.crew-docs-page{width:auto;padding:14px 12px 92px}.crew-docs-header{align-items:flex-start;margin-bottom:16px}.crew-docs-header h1{font-size:22px}.crew-docs-header p,.crew-docs-version{display:none}.crew-docs-layout{display:block}.crew-docs-index{position:static;margin-bottom:12px}.crew-docs-index nav{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.crew-docs-index nav::-webkit-scrollbar{display:none}.crew-docs-index nav button{flex:0 0 auto;border:1px solid var(--cc-line)}.crew-docs-index nav button svg{display:none}.crew-docs-index nav button.active{border-color:var(--cc-primary);box-shadow:none}.crew-docs-article{width:calc(100vw - 24px);max-width:calc(100vw - 24px);box-sizing:border-box;padding:16px}.crew-docs-article-heading{display:block}.crew-docs-article-heading>p{margin-top:10px}.crew-docs-figure img{aspect-ratio:4 / 3}.crew-docs-concepts>div{grid-template-columns:1fr}.crew-docs-assistant{position:static;width:calc(100vw - 24px);max-width:calc(100vw - 24px);margin-top:12px}}
